public static enum SnapshotProtos.SnapshotFileInfo.Type extends Enum<SnapshotProtos.SnapshotFileInfo.Type>
SnapshotFileInfo.Type
Modifier and Type | Field and Description |
---|---|
static int |
HFILE_VALUE
HFILE = 1; |
static int |
WAL_VALUE
WAL = 2; |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static <any> |
internalGetValueMap() |
static SnapshotProtos.SnapshotFileInfo.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SnapshotProtos.SnapshotFileInfo.Type |
valueOf(int value) |
static SnapshotProtos.SnapshotFileInfo.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnapshotProtos.SnapshotFileInfo.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnapshotProtos.SnapshotFileInfo.Type HFILE
HFILE = 1;
public static final SnapshotProtos.SnapshotFileInfo.Type WAL
WAL = 2;
public static final int HFILE_VALUE
HFILE = 1;
public static final int WAL_VALUE
WAL = 2;
public static SnapshotProtos.SnapshotFileInfo.Type[] values()
for (SnapshotProtos.SnapshotFileInfo.Type c : SnapshotProtos.SnapshotFileInfo.Type.values()) System.out.println(c);
public static SnapshotProtos.SnapshotFileInfo.Type 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()
public static SnapshotProtos.SnapshotFileInfo.Type valueOf(int value)
public static <any> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SnapshotProtos.SnapshotFileInfo.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)