public static enum HBaseProtos.TimeUnit extends Enum<HBaseProtos.TimeUnit> implements com.google.protobuf.ProtocolMessageEnum
hbase.pb.TimeUnit| 枚举常量和说明 |
|---|
DAYS
DAYS = 7; |
HOURS
HOURS = 6; |
MICROSECONDS
MICROSECONDS = 2; |
MILLISECONDS
MILLISECONDS = 3; |
MINUTES
MINUTES = 5; |
NANOSECONDS
NANOSECONDS = 1; |
SECONDS
SECONDS = 4; |
| 限定符和类型 | 字段和说明 |
|---|---|
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; |
| 限定符和类型 | 方法和说明 |
|---|---|
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)
返回带有指定名称的该类型的枚举常量。
|
static HBaseProtos.TimeUnit[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 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 在接口中 com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 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–2019. All rights reserved.