public static enum Wtclient.PolicyType extends java.lang.Enum<Wtclient.PolicyType> implements com.google.protobuf.ProtocolMessageEnum
wtclientrpc.PolicyType| Enum Constant and Description |
|---|
ANCHOR
Selects the policy from the anchor tower client.
|
LEGACY
Selects the policy from the legacy tower client.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ANCHOR_VALUE
Selects the policy from the anchor tower client.
|
static int |
LEGACY_VALUE
Selects the policy from the legacy tower client.
|
| Modifier and Type | Method and Description |
|---|---|
static Wtclient.PolicyType |
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<Wtclient.PolicyType> |
internalGetValueMap() |
static Wtclient.PolicyType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Wtclient.PolicyType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Wtclient.PolicyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Wtclient.PolicyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Wtclient.PolicyType LEGACY
Selects the policy from the legacy tower client.
LEGACY = 0;public static final Wtclient.PolicyType ANCHOR
Selects the policy from the anchor tower client.
ANCHOR = 1;public static final Wtclient.PolicyType UNRECOGNIZED
public static final int LEGACY_VALUE
Selects the policy from the legacy tower client.
LEGACY = 0;public static final int ANCHOR_VALUE
Selects the policy from the anchor tower client.
ANCHOR = 1;public static Wtclient.PolicyType[] values()
for (Wtclient.PolicyType c : Wtclient.PolicyType.values()) System.out.println(c);
public static Wtclient.PolicyType 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Wtclient.PolicyType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Wtclient.PolicyType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Wtclient.PolicyType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Wtclient.PolicyType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)