Class ProxyOptions

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public abstract class ProxyOptions.Builder

      Builder for ProxyOptions.

    • Constructor Summary

      Constructors 
      Constructor Description
      ProxyOptions()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Optional<ProxyType> type() Proxy type.
      abstract Optional<String> host() Proxy server hostname or IP address.
      abstract Optional<Integer> port() Proxy server port.
      abstract Optional<String> username() Username for proxy authentication.
      abstract Optional<String> password() Password for proxy authentication.
      static ProxyOptions.Builder builder() Instantiates a builder for ProxyOptions.
      abstract ProxyOptions.Builder toBuilder() Creates a builder with the same values as this instance.
      static ProxyOptions fromJson(String jsonString) Deserializes a JSON string to a ProxyOptions object.
      • Methods inherited from class com.google.genai.JsonSerializable

        fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait