Uses of Class
com.google.genai.types.GenerateContentConfig
Packages that use GenerateContentConfig
-
Uses of GenerateContentConfig in com.google.genai
Methods in com.google.genai with parameters of type GenerateContentConfigModifier and TypeMethodDescriptionAsyncChats.create
(String model, GenerateContentConfig config) Creates a new async chat session.Chats.create
(String model, GenerateContentConfig config) Creates a new chat session.AsyncModels.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.Models.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.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, 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, 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, GenerateContentConfig config) Asynchronously 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, 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, GenerateContentConfig config) Sends a message to the model in the current multi-turn chat session and returns the model's response.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, 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, 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, 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, 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, GenerateContentConfig config) Sends a message to the model in the current multi-turn chat session and returns a stream of responses. -
Uses of GenerateContentConfig in com.google.genai.types
Methods in com.google.genai.types that return GenerateContentConfigModifier and TypeMethodDescriptionabstract GenerateContentConfig
GenerateContentConfig.Builder.build()
static GenerateContentConfig
Deserializes a JSON string to a GenerateContentConfig object.Methods in com.google.genai.types that return types with arguments of type GenerateContentConfigModifier and TypeMethodDescriptionabstract Optional<GenerateContentConfig>
GenerateContentParameters.config()
Configuration that contains optional model parameters.abstract Optional<GenerateContentConfig>
InlinedRequest.config()
Configuration that contains optional model parameters.Methods in com.google.genai.types with parameters of type GenerateContentConfigModifier and TypeMethodDescriptionabstract GenerateContentParameters.Builder
GenerateContentParameters.Builder.config
(GenerateContentConfig config) Setter for config.abstract InlinedRequest.Builder
InlinedRequest.Builder.config
(GenerateContentConfig config) Setter for config.