Package com.teamdev.jxbrowser.net.proxy
Enum Class 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA direct connection, or the absence of a proxy.The proxy for high level protocols such as HTTP or FTP.The proxy for the HTTPS protocol.Reserved value.The proxy for the HTTP protocol in which QUIC is used as the transport, instead of TCP.The proxy for the SOCKS4 protocol.The proxy for the SOCKS5 protocol. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
A direct connection, or the absence of a proxy.static final int
The proxy for high level protocols such as HTTP or FTP.static final int
The proxy for the HTTPS protocol.static final int
Reserved value.static final int
The proxy for the HTTP protocol in which QUIC is used as the transport, instead of TCP.static final int
The proxy for the SOCKS4 protocol.static final int
The proxy for the SOCKS5 protocol. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProxyType
forNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap<ProxyType>
static ProxyType
valueOf
(int value) Deprecated.static ProxyType
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static ProxyType
Returns the enum constant of this class with the specified name.static ProxyType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
PROXY_TYPE_UNSPECIFIED
Reserved value. -
DIRECT
A direct connection, or the absence of a proxy. -
HTTP
The proxy for high level protocols such as HTTP or FTP. -
HTTPS
The proxy for the HTTPS protocol. -
SOCKS4
The proxy for the SOCKS4 protocol. -
SOCKS5
The proxy for the SOCKS5 protocol. -
QUIC
The proxy for the HTTP protocol in which QUIC is used as the transport, instead of TCP. -
UNRECOGNIZED
-
-
Field Details
-
PROXY_TYPE_UNSPECIFIED_VALUE
public static final int PROXY_TYPE_UNSPECIFIED_VALUEReserved value.- See Also:
-
DIRECT_VALUE
public static final int DIRECT_VALUEA direct connection, or the absence of a proxy.- See Also:
-
HTTP_VALUE
public static final int HTTP_VALUEThe proxy for high level protocols such as HTTP or FTP.- See Also:
-
HTTPS_VALUE
public static final int HTTPS_VALUEThe proxy for the HTTPS protocol.- See Also:
-
SOCKS4_VALUE
public static final int SOCKS4_VALUEThe proxy for the SOCKS4 protocol.- See Also:
-
SOCKS5_VALUE
public static final int SOCKS5_VALUEThe proxy for the SOCKS5 protocol.- See Also:
-
QUIC_VALUE
public static final int QUIC_VALUEThe proxy for the HTTP protocol in which QUIC is used as the transport, instead of TCP.- See Also:
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException
- if the argument is null
-
forNumber
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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 nameNullPointerException
- if the argument is null
-