Uses of Class
com.google.genai.gaos.GenAI.Builder
Packages that use GenAI.Builder
-
Uses of GenAI.Builder in com.google.genai.gaos
Methods in com.google.genai.gaos that return GenAI.BuilderModifier and TypeMethodDescriptionGenAI.Builder.apiVersion(String apiVersion) Allows setting the apiVersion parameter for all supported operations.GenAI.Builder.asyncRetryScheduler(ScheduledExecutorService retryScheduler) Configures the SDK to use a custom ScheduledExecutorService for async retries.static GenAI.BuilderGenAI.builder()Get a new instance of the SDK builder to configure a new instance of the SDK.GenAI.Builder.client(HTTPClient client) Allows the default HTTP client to be overridden with a custom implementation.GenAI.Builder.enableHTTPDebugLogging(boolean enabled) Enables debug logging for HTTP requests and responses, including JSON body content.GenAI.Builder.retryConfig(RetryConfig retryConfig) Overrides the default configuration for retriesConfigures the SDK to use the provided security details.GenAI.Builder.securitySource(SecuritySource securitySource) Configures the SDK to use a custom security source.GenAI.Builder.serverIndex(int serverIdx) Overrides the default server by index.Overrides the default server URL.Overrides the default server URL with a templated URL populated with the provided parameters.GenAI.Builder.userProject(String userProject) Allows setting the userProject parameter for all supported operations.