Builder
Builder for GenerationConfig.
Functions
Link copied to clipboard
Setter for audioTimestamp.
Link copied to clipboard
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 candidateCount field.
Link copied to clipboard
Clears the value of enableAffectiveDialog 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 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 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 seed 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 temperature field.
Link copied to clipboard
Clears the value of thinkingConfig 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
Setter for enableAffectiveDialog.
Link copied to clipboard
public abstract GenerationConfig.Builder enableEnhancedCivicAnswers(boolean enableEnhancedCivicAnswers)
Setter for enableEnhancedCivicAnswers.
Link copied to clipboard
Setter for frequencyPenalty.
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
public abstract GenerationConfig.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.
@CanIgnoreReturnValue()
Setter for responseModalities given a varargs of known enums.
@CanIgnoreReturnValue()
Setter for responseModalities given a varargs of strings.
Link copied to clipboard
@CanIgnoreReturnValue()
Setter for responseModalities given a list of known enums.
Link copied to clipboard
@CanIgnoreReturnValue()
Setter for responseModalities given a list of strings.
Link copied to clipboard
Setter for responseSchema.
@CanIgnoreReturnValue()
Setter for responseSchema builder.
Link copied to clipboard
Setter for routingConfig.
@CanIgnoreReturnValue()
Setter for routingConfig builder.
Link copied to clipboard
Setter for seed.
Link copied to clipboard
Setter for speechConfig.
@CanIgnoreReturnValue()
Setter for speechConfig builder.
Link copied to clipboard
Setter for stopSequences.
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 topK.
Link copied to clipboard
Setter for topP.