public static enum ZooKeeperProtos.SplitLogTask.RecoveryMode extends Enum<ZooKeeperProtos.SplitLogTask.RecoveryMode> implements com.google.protobuf.ProtocolMessageEnum
SplitLogTask.RecoveryMode| Enum Constant and Description |
|---|
LOG_REPLAY
LOG_REPLAY = 2; |
LOG_SPLITTING
LOG_SPLITTING = 1; |
UNKNOWN
UNKNOWN = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
LOG_REPLAY_VALUE
LOG_REPLAY = 2; |
static int |
LOG_SPLITTING_VALUE
LOG_SPLITTING = 1; |
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
| 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<ZooKeeperProtos.SplitLogTask.RecoveryMode> |
internalGetValueMap() |
static ZooKeeperProtos.SplitLogTask.RecoveryMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ZooKeeperProtos.SplitLogTask.RecoveryMode |
valueOf(int value) |
static ZooKeeperProtos.SplitLogTask.RecoveryMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZooKeeperProtos.SplitLogTask.RecoveryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZooKeeperProtos.SplitLogTask.RecoveryMode UNKNOWN
UNKNOWN = 0;public static final ZooKeeperProtos.SplitLogTask.RecoveryMode LOG_SPLITTING
LOG_SPLITTING = 1;public static final ZooKeeperProtos.SplitLogTask.RecoveryMode LOG_REPLAY
LOG_REPLAY = 2;public static final int UNKNOWN_VALUE
UNKNOWN = 0;public static final int LOG_SPLITTING_VALUE
LOG_SPLITTING = 1;public static final int LOG_REPLAY_VALUE
LOG_REPLAY = 2;public static ZooKeeperProtos.SplitLogTask.RecoveryMode[] values()
for (ZooKeeperProtos.SplitLogTask.RecoveryMode c : ZooKeeperProtos.SplitLogTask.RecoveryMode.values()) System.out.println(c);
public static ZooKeeperProtos.SplitLogTask.RecoveryMode 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 ZooKeeperProtos.SplitLogTask.RecoveryMode valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ZooKeeperProtos.SplitLogTask.RecoveryMode> 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 ZooKeeperProtos.SplitLogTask.RecoveryMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2014 The Apache Software Foundation. All rights reserved.