public static enum Pdpb.CheckPolicy extends Enum<Pdpb.CheckPolicy> implements com.google.protobuf.ProtocolMessageEnum
pdpb.CheckPolicy
Enum Constant and Description |
---|
APPROXIMATE
APPROXIMATE = 1; |
SCAN
SCAN = 0; |
UNRECOGNIZED |
USEKEY
USEKEY = 2; |
Modifier and Type | Field and Description |
---|---|
static int |
APPROXIMATE_VALUE
APPROXIMATE = 1; |
static int |
SCAN_VALUE
SCAN = 0; |
static int |
USEKEY_VALUE
USEKEY = 2; |
Modifier and Type | Method and Description |
---|---|
static Pdpb.CheckPolicy |
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<Pdpb.CheckPolicy> |
internalGetValueMap() |
static Pdpb.CheckPolicy |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Pdpb.CheckPolicy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Pdpb.CheckPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Pdpb.CheckPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pdpb.CheckPolicy SCAN
SCAN = 0;
public static final Pdpb.CheckPolicy APPROXIMATE
APPROXIMATE = 1;
public static final Pdpb.CheckPolicy USEKEY
USEKEY = 2;
public static final Pdpb.CheckPolicy UNRECOGNIZED
public static final int SCAN_VALUE
SCAN = 0;
public static final int APPROXIMATE_VALUE
APPROXIMATE = 1;
public static final int USEKEY_VALUE
USEKEY = 2;
public static Pdpb.CheckPolicy[] values()
for (Pdpb.CheckPolicy c : Pdpb.CheckPolicy.values()) System.out.println(c);
public static Pdpb.CheckPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- 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 Pdpb.CheckPolicy valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Pdpb.CheckPolicy forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Pdpb.CheckPolicy> 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 Pdpb.CheckPolicy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 PingCAP. All rights reserved.