maxOutputTokens

public abstract GenerateContentConfig.Builder maxOutputTokens(Integer maxOutputTokens)

Setter for maxOutputTokens.

maxOutputTokens: Maximum number of tokens that can be generated in the response.