public static enum HAServiceProtocolProtos.HAServiceStateProto extends Enum<HAServiceProtocolProtos.HAServiceStateProto> implements com.google.protobuf.ProtocolMessageEnum
Enum Constant and Description |
---|
ACTIVE |
INITIALIZING |
STANDBY |
Modifier and Type | Field and Description |
---|---|
static int |
ACTIVE_VALUE |
static int |
INITIALIZING_VALUE |
static int |
STANDBY_VALUE |
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
public static final HAServiceProtocolProtos.HAServiceStateProto ACTIVE
public static final HAServiceProtocolProtos.HAServiceStateProto STANDBY
public static final int INITIALIZING_VALUE
public static final int ACTIVE_VALUE
public static final int STANDBY_VALUE
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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public 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.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 HAServiceProtocolProtos.HAServiceStateProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2013 Apache Software Foundation. All Rights Reserved.