public static enum YamcsManagement.ServiceState extends Enum<YamcsManagement.ServiceState> implements com.google.protobuf.ProtocolMessageEnum
service states coming from guava (numbers have to correspond)Protobuf enum
yamcsManagement.ServiceState| Enum Constant and Description |
|---|
FAILED
FAILED = 5; |
NEW
NEW = 0; |
RUNNING
RUNNING = 2; |
STARTING
STARTING = 1; |
STOPPING
STOPPING = 3; |
TERMINATED
TERMINATED = 4; |
| Modifier and Type | Field and Description |
|---|---|
static int |
FAILED_VALUE
FAILED = 5; |
static int |
NEW_VALUE
NEW = 0; |
static int |
RUNNING_VALUE
RUNNING = 2; |
static int |
STARTING_VALUE
STARTING = 1; |
static int |
STOPPING_VALUE
STOPPING = 3; |
static int |
TERMINATED_VALUE
TERMINATED = 4; |
| Modifier and Type | Method and Description |
|---|---|
static YamcsManagement.ServiceState |
forNumber(int value) |
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<YamcsManagement.ServiceState> |
internalGetValueMap() |
static YamcsManagement.ServiceState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static YamcsManagement.ServiceState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static YamcsManagement.ServiceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YamcsManagement.ServiceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YamcsManagement.ServiceState NEW
NEW = 0;public static final YamcsManagement.ServiceState STARTING
STARTING = 1;public static final YamcsManagement.ServiceState RUNNING
RUNNING = 2;public static final YamcsManagement.ServiceState STOPPING
STOPPING = 3;public static final YamcsManagement.ServiceState TERMINATED
TERMINATED = 4;public static final YamcsManagement.ServiceState FAILED
FAILED = 5;public static final int NEW_VALUE
NEW = 0;public static final int STARTING_VALUE
STARTING = 1;public static final int RUNNING_VALUE
RUNNING = 2;public static final int STOPPING_VALUE
STOPPING = 3;public static final int TERMINATED_VALUE
TERMINATED = 4;public static final int FAILED_VALUE
FAILED = 5;public static YamcsManagement.ServiceState[] values()
for (YamcsManagement.ServiceState c : YamcsManagement.ServiceState.values()) System.out.println(c);
public static YamcsManagement.ServiceState 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.ProtocolMessageEnum@Deprecated public static YamcsManagement.ServiceState valueOf(int value)
forNumber(int) instead.public static YamcsManagement.ServiceState forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<YamcsManagement.ServiceState> 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 YamcsManagement.ServiceState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018 Space Applications Services. All rights reserved.