Builder
Builder for GenerateContentConfig.
Functions
Link copied to clipboard
Setter for audioTimestamp.
Link copied to clipboard
public abstract GenerateContentConfig.Builder automaticFunctionCalling(AutomaticFunctionCallingConfig automaticFunctionCalling)
Setter for automaticFunctionCalling.
@CanIgnoreReturnValue()
Setter for automaticFunctionCalling builder.
Link copied to clipboard
Link copied to clipboard
Setter for cachedContent.
Link copied to clipboard
Setter for candidateCount.
Link copied to clipboard
Clears the value of audioTimestamp field.
Link copied to clipboard
Clears the value of automaticFunctionCalling field.
Link copied to clipboard
Clears the value of cachedContent field.
Link copied to clipboard
Clears the value of candidateCount field.
Link copied to clipboard
Clears the value of enableEnhancedCivicAnswers field.
Link copied to clipboard
Clears the value of frequencyPenalty field.
Link copied to clipboard
Clears the value of httpOptions field.
Link copied to clipboard
Clears the value of imageConfig field.
Link copied to clipboard
Clears the value of labels field.
Link copied to clipboard
Clears the value of logprobs field.
Link copied to clipboard
Clears the value of maxOutputTokens field.
Link copied to clipboard
Clears the value of mediaResolution field.
Link copied to clipboard
Clears the value of modelArmorConfig field.
Link copied to clipboard
Clears the value of modelSelectionConfig field.
Link copied to clipboard
Clears the value of presencePenalty field.
Link copied to clipboard
Clears the value of responseJsonSchema field.
Link copied to clipboard
Clears the value of responseLogprobs field.
Link copied to clipboard
Clears the value of responseMimeType field.
Link copied to clipboard
Clears the value of responseModalities field.
Link copied to clipboard
Clears the value of responseSchema field.
Link copied to clipboard
Clears the value of routingConfig field.
Link copied to clipboard
Clears the value of safetySettings field.
Link copied to clipboard
Clears the value of seed field.
Link copied to clipboard
Clears the value of serviceTier field.
Link copied to clipboard
Clears the value of shouldReturnHttpResponse field.
Link copied to clipboard
Clears the value of speechConfig field.
Link copied to clipboard
Clears the value of stopSequences field.
Link copied to clipboard
Clears the value of systemInstruction field.
Link copied to clipboard
Clears the value of temperature field.
Link copied to clipboard
Clears the value of thinkingConfig field.
Link copied to clipboard
Clears the value of toolConfig field.
Link copied to clipboard
Clears the value of tools field.
Link copied to clipboard
Clears the value of topK field.
Link copied to clipboard
Clears the value of topP field.
Link copied to clipboard
public abstract GenerateContentConfig.Builder enableEnhancedCivicAnswers(boolean enableEnhancedCivicAnswers)
Setter for enableEnhancedCivicAnswers.
Link copied to clipboard
Setter for frequencyPenalty.
Link copied to clipboard
Setter for httpOptions.
@CanIgnoreReturnValue()
Setter for httpOptions builder.
Link copied to clipboard
Setter for imageConfig.
@CanIgnoreReturnValue()
Setter for imageConfig builder.
Link copied to clipboard
Setter for logprobs.
Link copied to clipboard
Setter for maxOutputTokens.
Link copied to clipboard
Setter for mediaResolution.
@CanIgnoreReturnValue()
Setter for mediaResolution given a known enum.
Setter for mediaResolution given a string.
Link copied to clipboard
Setter for modelArmorConfig.
@CanIgnoreReturnValue()
Setter for modelArmorConfig builder.
Link copied to clipboard
public abstract GenerateContentConfig.Builder modelSelectionConfig(ModelSelectionConfig modelSelectionConfig)
Setter for modelSelectionConfig.
@CanIgnoreReturnValue()
Setter for modelSelectionConfig builder.
Link copied to clipboard
Setter for presencePenalty.
Link copied to clipboard
Setter for responseJsonSchema.
Link copied to clipboard
Setter for responseLogprobs.
Link copied to clipboard
Setter for responseMimeType.
Link copied to clipboard
@CanIgnoreReturnValue()
Setter for responseModalities.
Link copied to clipboard
Setter for responseSchema.
@CanIgnoreReturnValue()
Setter for responseSchema builder.
Link copied to clipboard
public abstract GenerateContentConfig.Builder routingConfig(GenerationConfigRoutingConfig routingConfig)
Setter for routingConfig.
@CanIgnoreReturnValue()
Setter for routingConfig builder.
Link copied to clipboard
@CanIgnoreReturnValue()
Setter for safetySettings.
@CanIgnoreReturnValue()
Setter for safetySettings builder.
Link copied to clipboard
Setter for seed.
Link copied to clipboard
Setter for serviceTier.
@CanIgnoreReturnValue()
Setter for serviceTier given a known enum.
Setter for serviceTier given a string.
Link copied to clipboard
public abstract GenerateContentConfig.Builder shouldReturnHttpResponse(boolean shouldReturnHttpResponse)
Setter for shouldReturnHttpResponse.
Link copied to clipboard
Setter for speechConfig.
@CanIgnoreReturnValue()
Setter for speechConfig builder.
Link copied to clipboard
@CanIgnoreReturnValue()
Setter for stopSequences.
Link copied to clipboard
Setter for systemInstruction.
@CanIgnoreReturnValue()
Setter for systemInstruction builder.
Link copied to clipboard
Setter for temperature.
Link copied to clipboard
Setter for thinkingConfig.
@CanIgnoreReturnValue()
Setter for thinkingConfig builder.
Link copied to clipboard
Setter for toolConfig.
@CanIgnoreReturnValue()
Setter for toolConfig builder.
Link copied to clipboard
Setter for tools.
@CanIgnoreReturnValue()
Setter for tools builder.
Link copied to clipboard
Setter for topK.
Link copied to clipboard
Setter for topP.