public static enum ClusterStatusProtos.Option extends Enum<ClusterStatusProtos.Option> implements com.google.protobuf.ProtocolMessageEnum
hbase.pb.Option
Enum Constant and Description |
---|
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; |
REGIONS_IN_TRANSITION
REGIONS_IN_TRANSITION = 7; |
Modifier and Type | Field and Description |
---|---|
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_VALUE
MASTER = 4; |
static int |
REGIONS_IN_TRANSITION_VALUE
REGIONS_IN_TRANSITION = 7; |
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<ClusterStatusProtos.Option> |
internalGetValueMap() |
static ClusterStatusProtos.Option |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ClusterStatusProtos.Option |
valueOf(int value) |
static ClusterStatusProtos.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterStatusProtos.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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 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 ClusterStatusProtos.Option[] values()
for (ClusterStatusProtos.Option c : ClusterStatusProtos.Option.values()) System.out.println(c);
public static ClusterStatusProtos.Option 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 ClusterStatusProtos.Option valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ClusterStatusProtos.Option> 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 ClusterStatusProtos.Option valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2007–2019 Cloudera. All rights reserved.