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 content object.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 content object.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 content object.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 content object. -
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.