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 TypeClassDescriptionclassResponseStream<T extends JsonSerializable>An iterable of datatype objects.Methods in com.google.genai with type parameters of type JsonSerializableModifier and TypeMethodDescriptionstatic <T extends JsonSerializable>
TJsonSerializable.fromJsonNode(com.fasterxml.jackson.databind.JsonNode jsonNode, Class<T> clazz) Deserializes a JsonNode to an object of the given type.static <T extends JsonSerializable>
TJsonSerializable.fromJsonString(String jsonString, Class<T> clazz) Deserializes a Json string to an object of the given type. -
Uses of JsonSerializable in com.google.genai.types
Subclasses of JsonSerializable in com.google.genai.typesModifier and TypeClassDescriptionclassContent blob.classA response candidate generated from the model.classSource attributions for content.classCitation information when the model quotes another source.classResult of executing the [ExecutableCode].classContains the multi-part content of a message.classConfiguration for a Control reference image.classA control reference image.classDescribes the options to customize dynamic retrieval.classCode generated by the model that is meant to be executed, and the result returned to the model.classURI based data.classA function call.classFunction calling config.classDefines a function that the model can generate JSON inputs for.classA function response.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.classThe config for generating an images.classThe parameters for generating images.classThe output images response.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.classTool to support Google Search in Model.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 context retrieved by the retrieval tools.classChunk from the web.classMetadata returned to client when grounding is enabled.classGrounding support.classHTTP options to be used in each of the requests.classAn image.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.classA datatype containing media content.classThe configuration for the prebuilt speaker to use.classA raw reference image.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.classMetadata related to retrieval in the grounding flow.classSafety rating corresponding to the generated content.classSafety settings.classSchema that defines the format of input and output data.classGoogle search entry point.classSegment of the content.classThe speech generation configuration.classConfiguration for a Style reference image.classA style reference image.classConfiguration for a Subject reference image.classA subject reference image.classNoneclassNoneclassThe thinking features configuration.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.classUsed to override the default configuration.classAPI config for UpscaleImage with fields not exposed to users.classAPI parameters for UpscaleImage.classConfiguration for upscaling an image.classUser-facing config UpscaleImageParameters.classNoneclassRetrieve from Vertex AI Search datastore for grounding.classRetrieve from Vertex RAG Store for grounding.classThe definition of the Rag resource.classMetadata describes the input video content.classThe configuration for the voice to use.