public enum WebRtcIpHandlingPolicy extends java.lang.Enum<WebRtcIpHandlingPolicy> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum teamdev.browsercore.browser.WebRtcIpHandlingPolicy
Enum Constant and Description |
---|
DEFAULT
This is the default behavior.
|
DEFAULT_PUBLIC_AND_PRIVATE_INTERFACES
WebRTC should only use the default route used by HTTP.
|
DEFAULT_PUBLIC_INTERFACES_ONLY
WebRTC should only use the default route used by HTTP.
|
DISABLE_NON_PROXIED_UDP
WebRTC should only use TCP to contact peers or servers unless the proxy
server supports UDP.
|
UNRECOGNIZED |
WEB_RTC_IP_HANDLING_POLICY_UNSPECIFIED
The policy has not been specified.
|
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PUBLIC_AND_PRIVATE_INTERFACES_VALUE
WebRTC should only use the default route used by HTTP.
|
static int |
DEFAULT_PUBLIC_INTERFACES_ONLY_VALUE
WebRTC should only use the default route used by HTTP.
|
static int |
DEFAULT_VALUE
This is the default behavior.
|
static int |
DISABLE_NON_PROXIED_UDP_VALUE
WebRTC should only use TCP to contact peers or servers unless the proxy
server supports UDP.
|
static int |
WEB_RTC_IP_HANDLING_POLICY_UNSPECIFIED_VALUE
The policy has not been specified.
|
Modifier and Type | Method and Description |
---|---|
static WebRtcIpHandlingPolicy |
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<WebRtcIpHandlingPolicy> |
internalGetValueMap() |
static WebRtcIpHandlingPolicy |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static WebRtcIpHandlingPolicy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static WebRtcIpHandlingPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WebRtcIpHandlingPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebRtcIpHandlingPolicy WEB_RTC_IP_HANDLING_POLICY_UNSPECIFIED
public static final WebRtcIpHandlingPolicy DEFAULT
public static final WebRtcIpHandlingPolicy DEFAULT_PUBLIC_INTERFACES_ONLY
public static final WebRtcIpHandlingPolicy DEFAULT_PUBLIC_AND_PRIVATE_INTERFACES
public static final WebRtcIpHandlingPolicy DISABLE_NON_PROXIED_UDP
public static final WebRtcIpHandlingPolicy UNRECOGNIZED
public static final int WEB_RTC_IP_HANDLING_POLICY_UNSPECIFIED_VALUE
public static final int DEFAULT_VALUE
public static final int DEFAULT_PUBLIC_INTERFACES_ONLY_VALUE
public static final int DEFAULT_PUBLIC_AND_PRIVATE_INTERFACES_VALUE
public static final int DISABLE_NON_PROXIED_UDP_VALUE
public static WebRtcIpHandlingPolicy[] values()
for (WebRtcIpHandlingPolicy c : WebRtcIpHandlingPolicy.values()) System.out.println(c);
public static WebRtcIpHandlingPolicy 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 WebRtcIpHandlingPolicy valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static WebRtcIpHandlingPolicy forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<WebRtcIpHandlingPolicy> 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 WebRtcIpHandlingPolicy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)