Package com.google.genai.types
Class ProxyOptions.Builder
java.lang.Object
com.google.genai.types.ProxyOptions.Builder
- Enclosing class:
- ProxyOptions
Builder for ProxyOptions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ProxyOptionsbuild()Clears the value of host field.Clears the value of password field.Clears the value of port field.Clears the value of type field.Clears the value of username field.abstract ProxyOptions.BuilderSetter for host.abstract ProxyOptions.BuilderSetter for password.abstract ProxyOptions.BuilderSetter for port.abstract ProxyOptions.BuilderSetter for type.type(ProxyType.Known knownType) Setter for type given a known enum.Setter for type given a string.abstract ProxyOptions.BuilderSetter for username.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Setter for type.type: Proxy type. Defaults to HTTP if unspecified.
-
clearType
Clears the value of type field. -
type
Setter for type given a known enum.type: Proxy type. Defaults to HTTP if unspecified.
-
type
Setter for type given a string.type: Proxy type. Defaults to HTTP if unspecified.
-
host
Setter for host.host: Proxy server hostname or IP address.
-
clearHost
Clears the value of host field. -
port
Setter for port.port: Proxy server port.
-
clearPort
Clears the value of port field. -
username
Setter for username.username: Username for proxy authentication. If provided, `password` must also be specified.
-
clearUsername
Clears the value of username field. -
password
Setter for password.password: Password for proxy authentication. If provided, `username` must also be specified.
-
clearPassword
Clears the value of password field. -
build
-