com.opera.core.systems.scope.protos
Enum UmsProtos.Status
java.lang.Object
java.lang.Enum<UmsProtos.Status>
com.opera.core.systems.scope.protos.UmsProtos.Status
- All Implemented Interfaces:
- com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<UmsProtos.Status>
- Enclosing class:
- UmsProtos
public static enum UmsProtos.Status
- extends Enum<UmsProtos.Status>
- implements com.google.protobuf.ProtocolMessageEnum
OK
public static final UmsProtos.Status OK
BAD_REQUEST
public static final UmsProtos.Status BAD_REQUEST
INTERNAL_ERROR
public static final UmsProtos.Status INTERNAL_ERROR
COMMAND_NOT_FOUND
public static final UmsProtos.Status COMMAND_NOT_FOUND
SERVICE_NOT_FOUND
public static final UmsProtos.Status SERVICE_NOT_FOUND
OUT_OF_MEMORY
public static final UmsProtos.Status OUT_OF_MEMORY
SERVICE_NOT_ENABLED
public static final UmsProtos.Status SERVICE_NOT_ENABLED
SERVICE_ALREADY_ENABLED
public static final UmsProtos.Status SERVICE_ALREADY_ENABLED
OK_VALUE
public static final int OK_VALUE
- See Also:
- Constant Field Values
BAD_REQUEST_VALUE
public static final int BAD_REQUEST_VALUE
- See Also:
- Constant Field Values
INTERNAL_ERROR_VALUE
public static final int INTERNAL_ERROR_VALUE
- See Also:
- Constant Field Values
COMMAND_NOT_FOUND_VALUE
public static final int COMMAND_NOT_FOUND_VALUE
- See Also:
- Constant Field Values
SERVICE_NOT_FOUND_VALUE
public static final int SERVICE_NOT_FOUND_VALUE
- See Also:
- Constant Field Values
OUT_OF_MEMORY_VALUE
public static final int OUT_OF_MEMORY_VALUE
- See Also:
- Constant Field Values
SERVICE_NOT_ENABLED_VALUE
public static final int SERVICE_NOT_ENABLED_VALUE
- See Also:
- Constant Field Values
SERVICE_ALREADY_ENABLED_VALUE
public static final int SERVICE_ALREADY_ENABLED_VALUE
- See Also:
- Constant Field Values
values
public static UmsProtos.Status[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (UmsProtos.Status c : UmsProtos.Status.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static UmsProtos.Status valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getNumber
public final int getNumber()
- Specified by:
getNumber in interface com.google.protobuf.Internal.EnumLite- Specified by:
getNumber in interface com.google.protobuf.ProtocolMessageEnum
valueOf
public static UmsProtos.Status valueOf(int value)
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<UmsProtos.Status> internalGetValueMap()
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
valueOf
public static UmsProtos.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2012. All Rights Reserved.