# Uses of Class
com.google.adk.models.Gemini.Builder

Packages that use Gemini.Builder
Package
Description
com.google.adk.models

- ## Uses of Gemini.Builder in com.google.adk.models

  Methods in com.google.adk.models that return Gemini.Builder
  Modifier and Type
  Method
  Description
  `Gemini.Builder`
  Gemini.Builder.`apiClient(com.google.genai.Client apiClient)`
  Sets the explicit `Client` instance for making API calls.
  `Gemini.Builder`
  Gemini.Builder.`apiKey(String apiKey)`
  Sets the Google Gemini API key.
  `static Gemini.Builder`
  Gemini.`builder()`
  Returns a new Builder instance for constructing Gemini objects.
  `Gemini.Builder`
  Gemini.Builder.`modelName(String modelName)`
  Sets the name of the Gemini model to use.
  `Gemini.Builder`
  Gemini.Builder.`vertexCredentials(VertexCredentials vertexCredentials)`
  Sets the Vertex AI credentials.