Uses of Class
com.google.genai.types.Content
Packages that use Content
-
Uses of Content in com.google.genai
Methods in com.google.genai with parameters of type ContentModifier and TypeMethodDescriptionAsyncModels.generateContent(String model, Content content, GenerateContentConfig config) Asynchronously generates content given a GenAI model and a content object.Models.generateContent(String model, Content content, GenerateContentConfig config) 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.Models.generateContentStream(String model, Content content, GenerateContentConfig config) Generates content with streaming support given a GenAI model and a content object.Method parameters in com.google.genai with type arguments of type ContentModifier and TypeMethodDescriptionAsyncModels.generateContent(String model, List<Content> contents, GenerateContentConfig config) Asynchronously generates content given a GenAI model and a content object.Models.generateContent(String model, List<Content> contents, GenerateContentConfig config) Generates content given a GenAI model and a content object.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, List<Content> contents, GenerateContentConfig config) Generates content with streaming support given a GenAI model and a content object. -
Uses of Content in com.google.genai.types
Methods in com.google.genai.types that return ContentModifier and TypeMethodDescriptionabstract ContentContent.Builder.build()static ContentDeserializes a JSON string to a Content object.Methods in com.google.genai.types that return types with arguments of type ContentModifier and TypeMethodDescriptionCandidate.content()Contains the multi-part content of the response.GenerateContentParameters.contents()Content of the request.GenerateContentConfig.systemInstruction()Instructions for the model to steer it toward better performance.Methods in com.google.genai.types with parameters of type ContentModifier and TypeMethodDescriptionabstract Candidate.Builderabstract GenerateContentConfig.BuilderGenerateContentConfig.Builder.systemInstruction(Content systemInstruction) Method parameters in com.google.genai.types with type arguments of type Content