public static enum HBaseProtos.SnapshotDescription.Type extends Enum<HBaseProtos.SnapshotDescription.Type> implements com.google.protobuf.ProtocolMessageEnum
SnapshotDescription.Type
Enum Constant and Description |
---|
DISABLED
DISABLED = 0; |
FLUSH
FLUSH = 1; |
SKIPFLUSH
SKIPFLUSH = 2; |
Modifier and Type | Field and Description |
---|---|
static int |
DISABLED_VALUE
DISABLED = 0; |
static int |
FLUSH_VALUE
FLUSH = 1; |
static int |
SKIPFLUSH_VALUE
SKIPFLUSH = 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 com.google.protobuf.Internal.EnumLiteMap<HBaseProtos.SnapshotDescription.Type> |
internalGetValueMap() |
static HBaseProtos.SnapshotDescription.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HBaseProtos.SnapshotDescription.Type |
valueOf(int value) |
static HBaseProtos.SnapshotDescription.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HBaseProtos.SnapshotDescription.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HBaseProtos.SnapshotDescription.Type DISABLED
DISABLED = 0;
public static final HBaseProtos.SnapshotDescription.Type FLUSH
FLUSH = 1;
public static final HBaseProtos.SnapshotDescription.Type SKIPFLUSH
SKIPFLUSH = 2;
public static final int DISABLED_VALUE
DISABLED = 0;
public static final int FLUSH_VALUE
FLUSH = 1;
public static final int SKIPFLUSH_VALUE
SKIPFLUSH = 2;
public static HBaseProtos.SnapshotDescription.Type[] values()
for (HBaseProtos.SnapshotDescription.Type c : HBaseProtos.SnapshotDescription.Type.values()) System.out.println(c);
public static HBaseProtos.SnapshotDescription.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()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static HBaseProtos.SnapshotDescription.Type valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<HBaseProtos.SnapshotDescription.Type> 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 HBaseProtos.SnapshotDescription.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.