public static enum HAServiceProtocolProtos.HAServiceStateProto extends Enum<HAServiceProtocolProtos.HAServiceStateProto> implements com.google.protobuf.ProtocolMessageEnum
hadoop.common.HAServiceStateProto| Enum Constant and Description | 
|---|
| ACTIVEACTIVE = 1; | 
| INITIALIZINGINITIALIZING = 0; | 
| STANDBYSTANDBY = 2; | 
| Modifier and Type | Field and Description | 
|---|---|
| static int | ACTIVE_VALUEACTIVE = 1; | 
| static int | INITIALIZING_VALUEINITIALIZING = 0; | 
| static int | STANDBY_VALUESTANDBY = 2; | 
| 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<HAServiceProtocolProtos.HAServiceStateProto> | internalGetValueMap() | 
| static HAServiceProtocolProtos.HAServiceStateProto | valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) | 
| static HAServiceProtocolProtos.HAServiceStateProto | valueOf(int value) | 
| static HAServiceProtocolProtos.HAServiceStateProto | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static HAServiceProtocolProtos.HAServiceStateProto[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final HAServiceProtocolProtos.HAServiceStateProto INITIALIZING
INITIALIZING = 0;public static final HAServiceProtocolProtos.HAServiceStateProto ACTIVE
ACTIVE = 1;public static final HAServiceProtocolProtos.HAServiceStateProto STANDBY
STANDBY = 2;public static final int INITIALIZING_VALUE
INITIALIZING = 0;public static final int ACTIVE_VALUE
ACTIVE = 1;public static final int STANDBY_VALUE
STANDBY = 2;public static HAServiceProtocolProtos.HAServiceStateProto[] values()
for (HAServiceProtocolProtos.HAServiceStateProto c : HAServiceProtocolProtos.HAServiceStateProto.values()) System.out.println(c);
public static HAServiceProtocolProtos.HAServiceStateProto 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 HAServiceProtocolProtos.HAServiceStateProto valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<HAServiceProtocolProtos.HAServiceStateProto> 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 HAServiceProtocolProtos.HAServiceStateProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018 Apache Software Foundation. All Rights Reserved.