Enum Class ProxyType

java.lang.Object
java.lang.Enum<ProxyType>
com.teamdev.jxbrowser.net.proxy.ProxyType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ProxyType>, Constable

@Generated("Generated by the protocol buffer compiler") public enum ProxyType extends Enum<ProxyType> implements com.google.protobuf.ProtocolMessageEnum
The proxy types.

  • Enum Constant Details

    • PROXY_TYPE_UNSPECIFIED

      public static final ProxyType PROXY_TYPE_UNSPECIFIED
      Reserved value.

    • DIRECT

      public static final ProxyType DIRECT
      A direct connection, or the absence of a proxy.

    • HTTP

      public static final ProxyType HTTP
      The proxy for high level protocols such as HTTP or FTP.

    • HTTPS

      public static final ProxyType HTTPS
      The proxy for the HTTPS protocol.

    • SOCKS4

      public static final ProxyType SOCKS4
      The proxy for the SOCKS4 protocol.

    • SOCKS5

      public static final ProxyType SOCKS5
      The proxy for the SOCKS5 protocol.

    • QUIC

      public static final ProxyType QUIC
      The proxy for the HTTP protocol in which QUIC is used as the transport, instead of TCP.

    • UNRECOGNIZED

      public static final ProxyType UNRECOGNIZED
  • Field Details

    • PROXY_TYPE_UNSPECIFIED_VALUE

      public static final int PROXY_TYPE_UNSPECIFIED_VALUE
      Reserved value.

      See Also:
    • DIRECT_VALUE

      public static final int DIRECT_VALUE
      A direct connection, or the absence of a proxy.

      See Also:
    • HTTP_VALUE

      public static final int HTTP_VALUE
      The proxy for high level protocols such as HTTP or FTP.

      See Also:
    • HTTPS_VALUE

      public static final int HTTPS_VALUE
      The proxy for the HTTPS protocol.

      See Also:
    • SOCKS4_VALUE

      public static final int SOCKS4_VALUE
      The proxy for the SOCKS4 protocol.

      See Also:
    • SOCKS5_VALUE

      public static final int SOCKS5_VALUE
      The proxy for the SOCKS5 protocol.

      See Also:
    • QUIC_VALUE

      public static final int QUIC_VALUE
      The proxy for the HTTP protocol in which QUIC is used as the transport, instead of TCP.

      See Also:
  • Method Details

    • values

      public static ProxyType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ProxyType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static ProxyType valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static ProxyType forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<ProxyType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static ProxyType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null