Uses of Class
com.google.genai.types.GenerateContentResponse
Packages that use GenerateContentResponse
-
Uses of GenerateContentResponse in com.google.genai
Methods in com.google.genai that return GenerateContentResponseModifier and TypeMethodDescriptionModels.generateContent(String model, Content content, GenerateContentConfig config) Generates content given a GenAI model and a content object.Models.generateContent(String model, String text, GenerateContentConfig config) Generates content given a GenAI model and a text string.Models.generateContent(String model, List<Content> contents, GenerateContentConfig config) Generates content given a GenAI model and a list of content.Chat.sendMessage(Content content) Sends a message to the model in the current multi-turn chat session and returns the model's response.Chat.sendMessage(Content content, GenerateContentConfig config) Sends a message to the model in the current multi-turn chat session and returns the model's response.Chat.sendMessage(String text) Sends a message to the model in the current multi-turn chat session and returns the model's response.Chat.sendMessage(String text, GenerateContentConfig config) Sends a message to the model in the current multi-turn chat session and returns the model's response.Chat.sendMessage(List<Content> contents) Sends a message to the model in the current multi-turn chat session and returns the model's response.Chat.sendMessage(List<Content> contents, GenerateContentConfig config) Sends a message to the model in the current multi-turn chat session and returns the model's response.Methods in com.google.genai that return types with arguments of type GenerateContentResponseModifier and TypeMethodDescriptionAsyncModels.generateContent(String model, Content content, GenerateContentConfig config) Asynchronously generates content given a GenAI model and a content object.AsyncModels.generateContent(String model, String text, GenerateContentConfig config) Asynchronously generates content given a GenAI model and a text string.AsyncModels.generateContent(String model, List<Content> contents, GenerateContentConfig config) Asynchronously generates content given a GenAI model and a list of content.AsyncModels.generateContentStream(String model, Content content, GenerateContentConfig config) Asynchronously generates content with streaming support given a GenAI model and a content object.AsyncModels.generateContentStream(String model, String text, GenerateContentConfig config) Asynchronously generates content with streaming support given a GenAI model and a text string.AsyncModels.generateContentStream(String model, List<Content> contents, GenerateContentConfig config) Asynchronously generates content with streaming support given a GenAI model and a list of content.Models.generateContentStream(String model, Content content, GenerateContentConfig config) Generates content with streaming support given a GenAI model and a content object.Models.generateContentStream(String model, String text, GenerateContentConfig config) Generates content with streaming support given a GenAI model and a text string.Models.generateContentStream(String model, List<Content> contents, GenerateContentConfig config) Generates content with streaming support given a GenAI model and a list of content.AsyncChat.sendMessage(Content content) Asynchronously sends a message to the model in the current multi-turn chat session and returns the model's response.AsyncChat.sendMessage(Content content, GenerateContentConfig config) Asynchronously sends a message to the model in the current multi-turn chat session and returns the model's response.AsyncChat.sendMessage(String text) Asynchronously sends a message to the model in the current multi-turn chat session and returns the model's response.AsyncChat.sendMessage(String text, GenerateContentConfig config) Asynchronously sends a message to the model in the current multi-turn chat session and returns the model's response.AsyncChat.sendMessage(List<Content> contents) Asynchronously sends a message to the model in the current multi-turn chat session and returns the model's response.AsyncChat.sendMessage(List<Content> contents, GenerateContentConfig config) Asynchronously sends a message to the model in the current multi-turn chat session and returns the model's response.AsyncChat.sendMessageStream(Content content) Asynchronously sends a message to the model in the current multi-turn chat session and returns a stream of responses.AsyncChat.sendMessageStream(Content content, GenerateContentConfig config) Asynchronously sends a message to the model in the current multi-turn chat session and returns a stream of responses.AsyncChat.sendMessageStream(String text) Asynchronously sends a message to the model in the current multi-turn chat session and returns a stream of responses.AsyncChat.sendMessageStream(String text, GenerateContentConfig config) Asynchronously sends a message to the model in the current multi-turn chat session and returns a stream of responses.AsyncChat.sendMessageStream(List<Content> contents) Sends a message to the model in the current multi-turn chat session and returns the model's response.AsyncChat.sendMessageStream(List<Content> contents, GenerateContentConfig config) Asynchronously sends a message to the model in the current multi-turn chat session and returns a stream of responses.Chat.sendMessageStream(Content content) Sends a message to the model in the current multi-turn chat session and returns a stream of responses.Chat.sendMessageStream(Content content, GenerateContentConfig config) Sends a message to the model in the current multi-turn chat session and returns a stream of responses.Chat.sendMessageStream(String text) Sends a message to the model in the current multi-turn chat session and returns a stream of responses.Chat.sendMessageStream(String text, GenerateContentConfig config) Sends a message to the model in the current multi-turn chat session and returns a stream of responses.Chat.sendMessageStream(List<Content> contents) Sends a message to the model in the current multi-turn chat session and returns the model's response.Chat.sendMessageStream(List<Content> contents, GenerateContentConfig config) Sends a message to the model in the current multi-turn chat session and returns a stream of responses. -
Uses of GenerateContentResponse in com.google.genai.types
Methods in com.google.genai.types that return GenerateContentResponseModifier and TypeMethodDescriptionabstract GenerateContentResponseGenerateContentResponse.Builder.build()static GenerateContentResponseDeserializes a JSON string to a GenerateContentResponse object.Methods in com.google.genai.types that return types with arguments of type GenerateContentResponseModifier and TypeMethodDescriptionabstract Optional<GenerateContentResponse>InlinedResponse.response()The response to the request.Methods in com.google.genai.types with parameters of type GenerateContentResponseModifier and TypeMethodDescriptionabstract InlinedResponse.BuilderInlinedResponse.Builder.response(GenerateContentResponse response) Setter for response.