Package com.google.genai.types
Class GenerateContentConfig.Builder
java.lang.Object
com.google.genai.types.GenerateContentConfig.Builder
- Enclosing class:
- GenerateContentConfig
Builder for GenerateContentConfig.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract GenerateContentConfig.BuilderaudioTimestamp(boolean audioTimestamp) abstract GenerateContentConfigbuild()abstract GenerateContentConfig.BuildercachedContent(String cachedContent) abstract GenerateContentConfig.BuildercandidateCount(Integer candidateCount) abstract GenerateContentConfig.BuilderfrequencyPenalty(Float frequencyPenalty) abstract GenerateContentConfig.Builderabstract GenerateContentConfig.Builderabstract GenerateContentConfig.BuildermaxOutputTokens(Integer maxOutputTokens) abstract GenerateContentConfig.BuildermediaResolution(String mediaResolution) abstract GenerateContentConfig.BuilderpresencePenalty(Float presencePenalty) abstract GenerateContentConfig.BuilderresponseLogprobs(boolean responseLogprobs) abstract GenerateContentConfig.BuilderresponseMimeType(String responseMimeType) abstract GenerateContentConfig.BuilderresponseModalities(List<String> responseModalities) abstract GenerateContentConfig.BuilderresponseSchema(Schema responseSchema) abstract GenerateContentConfig.BuilderroutingConfig(GenerationConfigRoutingConfig routingConfig) abstract GenerateContentConfig.BuildersafetySettings(List<SafetySetting> safetySettings) abstract GenerateContentConfig.Builderabstract GenerateContentConfig.BuilderspeechConfig(SpeechConfig speechConfig) abstract GenerateContentConfig.BuilderstopSequences(List<String> stopSequences) abstract GenerateContentConfig.BuildersystemInstruction(Content systemInstruction) abstract GenerateContentConfig.Buildertemperature(Float temperature) abstract GenerateContentConfig.BuilderthinkingConfig(ThinkingConfig thinkingConfig) abstract GenerateContentConfig.BuildertoolConfig(ToolConfig toolConfig) abstract GenerateContentConfig.Builderabstract GenerateContentConfig.Builderabstract GenerateContentConfig.Builder
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
systemInstruction
-
temperature
-
topP
-
topK
-
candidateCount
-
maxOutputTokens
-
stopSequences
-
responseLogprobs
-
logprobs
-
presencePenalty
-
frequencyPenalty
-
seed
-
responseMimeType
-
responseSchema
-
routingConfig
public abstract GenerateContentConfig.Builder routingConfig(GenerationConfigRoutingConfig routingConfig) -
safetySettings
-
tools
-
toolConfig
-
labels
-
cachedContent
-
responseModalities
-
mediaResolution
-
speechConfig
-
audioTimestamp
-
thinkingConfig
-
build
-