Uses of Class
com.google.genai.Client.Builder
Packages that use Client.Builder
-
Uses of Client.Builder in com.google.genai
Methods in com.google.genai that return Client.BuilderModifier and TypeMethodDescriptionSets the API key for the Gemini Developer API or the Gemini Enterprise API.Client.Builder.asyncRetryScheduler(ScheduledExecutorService asyncRetryScheduler) Sets theScheduledExecutorServicefor async retries in GAOS.static Client.BuilderClient.builder()Returns aClient.BuilderforClient.Client.Builder.clientOptions(ClientOptions clientOptions) Sets theClientOptionsfor the API client.Client.Builder.credentials(com.google.auth.oauth2.GoogleCredentials credentials) Sets theGoogleCredentialsfor the Gemini Enterprise API.Client.Builder.enterprise(boolean enterprise) Sets whether to use the Gemini Enterprise API.Client.Builder.httpOptions(HttpOptions httpOptions) Sets theHttpOptionsfor the API client.Sets the location for the Gemini Enterprise API.Sets the project ID for the Gemini Enterprise API.Client.Builder.vertexAI(boolean vertexAI) Sets whether to use the Gemini Enterprise API.