public static enum ClusterStatusProtos.Option extends Enum<ClusterStatusProtos.Option> implements org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnum
hbase.pb.Option| 枚举常量和说明 |
|---|
BACKUP_MASTERS
BACKUP_MASTERS = 5; |
BALANCER_ON
BALANCER_ON = 8; |
CLUSTER_ID
CLUSTER_ID = 1; |
DEAD_SERVERS
DEAD_SERVERS = 3; |
HBASE_VERSION
HBASE_VERSION = 0; |
LIVE_SERVERS
LIVE_SERVERS = 2; |
MASTER
MASTER = 4; |
MASTER_COPROCESSORS
MASTER_COPROCESSORS = 6; |
MASTER_INFO_PORT
MASTER_INFO_PORT = 9; |
REGIONS_IN_TRANSITION
REGIONS_IN_TRANSITION = 7; |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
BACKUP_MASTERS_VALUE
BACKUP_MASTERS = 5; |
static int |
BALANCER_ON_VALUE
BALANCER_ON = 8; |
static int |
CLUSTER_ID_VALUE
CLUSTER_ID = 1; |
static int |
DEAD_SERVERS_VALUE
DEAD_SERVERS = 3; |
static int |
HBASE_VERSION_VALUE
HBASE_VERSION = 0; |
static int |
LIVE_SERVERS_VALUE
LIVE_SERVERS = 2; |
static int |
MASTER_COPROCESSORS_VALUE
MASTER_COPROCESSORS = 6; |
static int |
MASTER_INFO_PORT_VALUE
MASTER_INFO_PORT = 9; |
static int |
MASTER_VALUE
MASTER = 4; |
static int |
REGIONS_IN_TRANSITION_VALUE
REGIONS_IN_TRANSITION = 7; |
| 限定符和类型 | 方法和说明 |
|---|---|
static ClusterStatusProtos.Option |
forNumber(int value) |
static org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLiteMap<ClusterStatusProtos.Option> |
internalGetValueMap() |
static ClusterStatusProtos.Option |
valueOf(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ClusterStatusProtos.Option |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static ClusterStatusProtos.Option |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ClusterStatusProtos.Option[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ClusterStatusProtos.Option HBASE_VERSION
HBASE_VERSION = 0;public static final ClusterStatusProtos.Option CLUSTER_ID
CLUSTER_ID = 1;public static final ClusterStatusProtos.Option LIVE_SERVERS
LIVE_SERVERS = 2;public static final ClusterStatusProtos.Option DEAD_SERVERS
DEAD_SERVERS = 3;public static final ClusterStatusProtos.Option MASTER
MASTER = 4;public static final ClusterStatusProtos.Option BACKUP_MASTERS
BACKUP_MASTERS = 5;public static final ClusterStatusProtos.Option MASTER_COPROCESSORS
MASTER_COPROCESSORS = 6;public static final ClusterStatusProtos.Option REGIONS_IN_TRANSITION
REGIONS_IN_TRANSITION = 7;public static final ClusterStatusProtos.Option BALANCER_ON
BALANCER_ON = 8;public static final ClusterStatusProtos.Option MASTER_INFO_PORT
MASTER_INFO_PORT = 9;public static final int HBASE_VERSION_VALUE
HBASE_VERSION = 0;public static final int CLUSTER_ID_VALUE
CLUSTER_ID = 1;public static final int LIVE_SERVERS_VALUE
LIVE_SERVERS = 2;public static final int DEAD_SERVERS_VALUE
DEAD_SERVERS = 3;public static final int MASTER_VALUE
MASTER = 4;public static final int BACKUP_MASTERS_VALUE
BACKUP_MASTERS = 5;public static final int MASTER_COPROCESSORS_VALUE
MASTER_COPROCESSORS = 6;public static final int REGIONS_IN_TRANSITION_VALUE
REGIONS_IN_TRANSITION = 7;public static final int BALANCER_ON_VALUE
BALANCER_ON = 8;public static final int MASTER_INFO_PORT_VALUE
MASTER_INFO_PORT = 9;public static ClusterStatusProtos.Option[] values()
for (ClusterStatusProtos.Option c : ClusterStatusProtos.Option.values()) System.out.println(c);
public static ClusterStatusProtos.Option valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLitegetNumber 在接口中 org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnum@Deprecated public static ClusterStatusProtos.Option valueOf(int value)
forNumber(int) instead.public static ClusterStatusProtos.Option forNumber(int value)
public static org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLiteMap<ClusterStatusProtos.Option> internalGetValueMap()
public final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor 在接口中 org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnumpublic final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnumpublic static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ClusterStatusProtos.Option valueOf(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2007–2019. All rights reserved.