public enum ServiceState extends java.lang.Enum<ServiceState> implements com.google.protobuf.ProtocolMessageEnum
staros.ServiceState| Enum Constant and Description |
|---|
RUNNING
RUNNING = 0; |
SHUTDOWN
SHUTDOWN = 1; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
RUNNING_VALUE
RUNNING = 0; |
static int |
SHUTDOWN_VALUE
SHUTDOWN = 1; |
| Modifier and Type | Method and Description |
|---|---|
static 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<ServiceState> |
internalGetValueMap() |
static ServiceState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ServiceState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ServiceState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServiceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceState RUNNING
RUNNING = 0;public static final ServiceState SHUTDOWN
SHUTDOWN = 1;public static final ServiceState UNRECOGNIZED
public static final int RUNNING_VALUE
RUNNING = 0;public static final int SHUTDOWN_VALUE
SHUTDOWN = 1;public static ServiceState[] values()
for (ServiceState c : ServiceState.values()) System.out.println(c);
public static ServiceState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - 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 ServiceState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ServiceState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<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 ServiceState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024. All rights reserved.