public static enum HBaseProtos.TimeUnit extends Enum<HBaseProtos.TimeUnit> implements com.google.protobuf.ProtocolMessageEnum
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 |
|---|---|
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.TimeUnit> |
internalGetValueMap() |
static HBaseProtos.TimeUnit |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HBaseProtos.TimeUnit |
valueOf(int value) |
static HBaseProtos.TimeUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HBaseProtos.TimeUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HBaseProtos.TimeUnit NANOSECONDS
NANOSECONDS = 1;public static final HBaseProtos.TimeUnit MICROSECONDS
MICROSECONDS = 2;public static final HBaseProtos.TimeUnit MILLISECONDS
MILLISECONDS = 3;public static final HBaseProtos.TimeUnit SECONDS
SECONDS = 4;public static final HBaseProtos.TimeUnit MINUTES
MINUTES = 5;public static final HBaseProtos.TimeUnit HOURS
HOURS = 6;public static final HBaseProtos.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 HBaseProtos.TimeUnit[] values()
for (HBaseProtos.TimeUnit c : HBaseProtos.TimeUnit.values()) System.out.println(c);
public static HBaseProtos.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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static HBaseProtos.TimeUnit valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<HBaseProtos.TimeUnit> 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 HBaseProtos.TimeUnit valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.