public static enum UmsProtos.Status extends Enum<UmsProtos.Status> implements com.google.protobuf.ProtocolMessageEnum
| Enum Constant and Description |
|---|
BAD_REQUEST |
COMMAND_NOT_FOUND |
INTERNAL_ERROR |
OK |
OUT_OF_MEMORY |
SERVICE_ALREADY_ENABLED |
SERVICE_NOT_ENABLED |
SERVICE_NOT_FOUND |
| Modifier and Type | Field and Description |
|---|---|
static int |
BAD_REQUEST_VALUE |
static int |
COMMAND_NOT_FOUND_VALUE |
static int |
INTERNAL_ERROR_VALUE |
static int |
OK_VALUE |
static int |
OUT_OF_MEMORY_VALUE |
static int |
SERVICE_ALREADY_ENABLED_VALUE |
static int |
SERVICE_NOT_ENABLED_VALUE |
static int |
SERVICE_NOT_FOUND_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<UmsProtos.Status> |
internalGetValueMap() |
static UmsProtos.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UmsProtos.Status |
valueOf(int value) |
static UmsProtos.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UmsProtos.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UmsProtos.Status OK
public static final UmsProtos.Status BAD_REQUEST
public static final UmsProtos.Status INTERNAL_ERROR
public static final UmsProtos.Status COMMAND_NOT_FOUND
public static final UmsProtos.Status SERVICE_NOT_FOUND
public static final UmsProtos.Status OUT_OF_MEMORY
public static final UmsProtos.Status SERVICE_NOT_ENABLED
public static final UmsProtos.Status SERVICE_ALREADY_ENABLED
public static final int OK_VALUE
public static final int BAD_REQUEST_VALUE
public static final int INTERNAL_ERROR_VALUE
public static final int COMMAND_NOT_FOUND_VALUE
public static final int SERVICE_NOT_FOUND_VALUE
public static final int OUT_OF_MEMORY_VALUE
public static final int SERVICE_NOT_ENABLED_VALUE
public static final int SERVICE_ALREADY_ENABLED_VALUE
public static UmsProtos.Status[] values()
for (UmsProtos.Status c : UmsProtos.Status.values()) System.out.println(c);
public static UmsProtos.Status 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 UmsProtos.Status valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<UmsProtos.Status> 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 UmsProtos.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2012. All Rights Reserved.