public enum ProxyType extends java.lang.Enum<ProxyType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum teamdev.browsercore.net.ProxyType
Enum Constant and Description |
---|
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.
|
PROXY_TYPE_UNSPECIFIED
Reserved value.
|
QUIC
The proxy for the HTTP protocol in which QUIC is used as the transport, instead of TCP.
|
SOCKS4
The proxy for the SOCKS4 protocol.
|
SOCKS5
The proxy for the SOCKS5 protocol.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
DIRECT_VALUE
A direct connection, or the absence of a proxy.
|
static int |
HTTP_VALUE
The proxy for high level protocols such as HTTP or FTP.
|
static int |
HTTPS_VALUE
The proxy for the HTTPS protocol.
|
static int |
PROXY_TYPE_UNSPECIFIED_VALUE
Reserved value.
|
static int |
QUIC_VALUE
The proxy for the HTTP protocol in which QUIC is used as the transport, instead of TCP.
|
static int |
SOCKS4_VALUE
The proxy for the SOCKS4 protocol.
|
static int |
SOCKS5_VALUE
The proxy for the SOCKS5 protocol.
|
Modifier and Type | Method and Description |
---|---|
static ProxyType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ProxyType> |
internalGetValueMap() |
static ProxyType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ProxyType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ProxyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProxyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxyType PROXY_TYPE_UNSPECIFIED
public static final ProxyType DIRECT
public static final ProxyType HTTP
public static final ProxyType HTTPS
public static final ProxyType SOCKS4
public static final ProxyType SOCKS5
public static final ProxyType QUIC
public static final ProxyType UNRECOGNIZED
public static final int PROXY_TYPE_UNSPECIFIED_VALUE
public static final int DIRECT_VALUE
public static final int HTTP_VALUE
public static final int HTTPS_VALUE
public static final int SOCKS4_VALUE
public static final int SOCKS5_VALUE
public static final int QUIC_VALUE
public static ProxyType[] values()
for (ProxyType c : ProxyType.values()) System.out.println(c);
public static ProxyType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static ProxyType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static ProxyType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ProxyType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ProxyType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)