Package com.google.genai.types
Class ClientOptions.Builder
-
- All Implemented Interfaces:
public abstract class ClientOptions.BuilderBuilder for ClientOptions.
-
-
Constructor Summary
Constructors Constructor Description ClientOptions.Builder()
-
Method Summary
Modifier and Type Method Description abstract ClientOptions.BuildermaxConnections(Integer maxConnections)Setter for maxConnections. ClientOptions.BuilderclearMaxConnections()Clears the value of maxConnections field. abstract ClientOptions.BuildermaxConnectionsPerHost(Integer maxConnectionsPerHost)Setter for maxConnectionsPerHost. ClientOptions.BuilderclearMaxConnectionsPerHost()Clears the value of maxConnectionsPerHost field. abstract ClientOptions.BuilderproxyOptions(ProxyOptions proxyOptions)Setter for proxyOptions. ClientOptions.BuilderproxyOptions(ProxyOptions.Builder proxyOptionsBuilder)Setter for proxyOptions builder. ClientOptions.BuilderclearProxyOptions()Clears the value of proxyOptions field. abstract ClientOptionsbuild()-
-
Method Detail
-
maxConnections
abstract ClientOptions.Builder maxConnections(Integer maxConnections)
Setter for maxConnections.
maxConnections: The maximum number of connections allowed in the pool.
-
clearMaxConnections
@CanIgnoreReturnValue() ClientOptions.Builder clearMaxConnections()
Clears the value of maxConnections field.
-
maxConnectionsPerHost
abstract ClientOptions.Builder maxConnectionsPerHost(Integer maxConnectionsPerHost)
Setter for maxConnectionsPerHost.
maxConnectionsPerHost: The maximum number of connections allowed per host.
-
clearMaxConnectionsPerHost
@CanIgnoreReturnValue() ClientOptions.Builder clearMaxConnectionsPerHost()
Clears the value of maxConnectionsPerHost field.
-
proxyOptions
abstract ClientOptions.Builder proxyOptions(ProxyOptions proxyOptions)
Setter for proxyOptions.
proxyOptions: Proxy configuration to be used in the client.
-
proxyOptions
@CanIgnoreReturnValue() ClientOptions.Builder proxyOptions(ProxyOptions.Builder proxyOptionsBuilder)
Setter for proxyOptions builder.
proxyOptions: Proxy configuration to be used in the client.
-
clearProxyOptions
@CanIgnoreReturnValue() ClientOptions.Builder clearProxyOptions()
Clears the value of proxyOptions field.
-
build
abstract ClientOptions build()
-
-
-
-