public static enum MasterProcedureProtos.PeerModificationType extends Enum<MasterProcedureProtos.PeerModificationType> implements org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnum
hbase.pb.PeerModificationType| Enum Constant and Description |
|---|
ADD_PEER
ADD_PEER = 1; |
DISABLE_PEER
DISABLE_PEER = 4; |
ENABLE_PEER
ENABLE_PEER = 3; |
REMOVE_PEER
REMOVE_PEER = 2; |
UPDATE_PEER_CONFIG
UPDATE_PEER_CONFIG = 5; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ADD_PEER_VALUE
ADD_PEER = 1; |
static int |
DISABLE_PEER_VALUE
DISABLE_PEER = 4; |
static int |
ENABLE_PEER_VALUE
ENABLE_PEER = 3; |
static int |
REMOVE_PEER_VALUE
REMOVE_PEER = 2; |
static int |
UPDATE_PEER_CONFIG_VALUE
UPDATE_PEER_CONFIG = 5; |
| Modifier and Type | Method and Description |
|---|---|
static MasterProcedureProtos.PeerModificationType |
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<MasterProcedureProtos.PeerModificationType> |
internalGetValueMap() |
static MasterProcedureProtos.PeerModificationType |
valueOf(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MasterProcedureProtos.PeerModificationType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MasterProcedureProtos.PeerModificationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MasterProcedureProtos.PeerModificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MasterProcedureProtos.PeerModificationType ADD_PEER
ADD_PEER = 1;public static final MasterProcedureProtos.PeerModificationType REMOVE_PEER
REMOVE_PEER = 2;public static final MasterProcedureProtos.PeerModificationType ENABLE_PEER
ENABLE_PEER = 3;public static final MasterProcedureProtos.PeerModificationType DISABLE_PEER
DISABLE_PEER = 4;public static final MasterProcedureProtos.PeerModificationType UPDATE_PEER_CONFIG
UPDATE_PEER_CONFIG = 5;public static final int ADD_PEER_VALUE
ADD_PEER = 1;public static final int REMOVE_PEER_VALUE
REMOVE_PEER = 2;public static final int ENABLE_PEER_VALUE
ENABLE_PEER = 3;public static final int DISABLE_PEER_VALUE
DISABLE_PEER = 4;public static final int UPDATE_PEER_CONFIG_VALUE
UPDATE_PEER_CONFIG = 5;public static MasterProcedureProtos.PeerModificationType[] values()
for (MasterProcedureProtos.PeerModificationType c : MasterProcedureProtos.PeerModificationType.values()) System.out.println(c);
public static MasterProcedureProtos.PeerModificationType 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 org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLitegetNumber in interface org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnum@Deprecated public static MasterProcedureProtos.PeerModificationType valueOf(int value)
forNumber(int) instead.public static MasterProcedureProtos.PeerModificationType forNumber(int value)
public static org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLiteMap<MasterProcedureProtos.PeerModificationType> internalGetValueMap()
public final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnumpublic final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnumpublic static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static MasterProcedureProtos.PeerModificationType valueOf(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2007–2019 Cloudera. All rights reserved.