public static enum HBasePB.TimeUnit extends Enum<HBasePB.TimeUnit> implements com.google.protobuf.Internal.EnumLite
TimeUnit
Enum Constant and Description |
---|
DAYS
DAYS = 7; |
HOURS
HOURS = 6; |
MICROSECONDS
MICROSECONDS = 2; |
MILLISECONDS
MILLISECONDS = 3; |
MINUTES
MINUTES = 5; |
NANOSECONDS
NANOSECONDS = 1; |
SECONDS
SECONDS = 4; |
Modifier and Type | Field and Description |
---|---|
static int |
DAYS_VALUE
DAYS = 7; |
static int |
HOURS_VALUE
HOURS = 6; |
static int |
MICROSECONDS_VALUE
MICROSECONDS = 2; |
static int |
MILLISECONDS_VALUE
MILLISECONDS = 3; |
static int |
MINUTES_VALUE
MINUTES = 5; |
static int |
NANOSECONDS_VALUE
NANOSECONDS = 1; |
static int |
SECONDS_VALUE
SECONDS = 4; |
Modifier and Type | Method and Description |
---|---|
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<HBasePB.TimeUnit> |
internalGetValueMap() |
static HBasePB.TimeUnit |
valueOf(int value) |
static HBasePB.TimeUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HBasePB.TimeUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HBasePB.TimeUnit NANOSECONDS
NANOSECONDS = 1;
public static final HBasePB.TimeUnit MICROSECONDS
MICROSECONDS = 2;
public static final HBasePB.TimeUnit MILLISECONDS
MILLISECONDS = 3;
public static final HBasePB.TimeUnit SECONDS
SECONDS = 4;
public static final HBasePB.TimeUnit MINUTES
MINUTES = 5;
public static final HBasePB.TimeUnit HOURS
HOURS = 6;
public static final HBasePB.TimeUnit DAYS
DAYS = 7;
public static final int NANOSECONDS_VALUE
NANOSECONDS = 1;
public static final int MICROSECONDS_VALUE
MICROSECONDS = 2;
public static final int MILLISECONDS_VALUE
MILLISECONDS = 3;
public static final int SECONDS_VALUE
SECONDS = 4;
public static final int MINUTES_VALUE
MINUTES = 5;
public static final int HOURS_VALUE
HOURS = 6;
public static final int DAYS_VALUE
DAYS = 7;
public static HBasePB.TimeUnit[] values()
for (HBasePB.TimeUnit c : HBasePB.TimeUnit.values()) System.out.println(c);
public static HBasePB.TimeUnit 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
public static HBasePB.TimeUnit valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<HBasePB.TimeUnit> internalGetValueMap()
Copyright © 2010-2017, The Async HBase Authors