com.opera.core.systems.scope.protos
Enum UmsProtos.Status

java.lang.Object
  extended by java.lang.Enum<UmsProtos.Status>
      extended by com.opera.core.systems.scope.protos.UmsProtos.Status
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<UmsProtos.Status>
Enclosing class:
UmsProtos

public static enum UmsProtos.Status
extends java.lang.Enum<UmsProtos.Status>
implements com.google.protobuf.ProtocolMessageEnum


Enum Constant Summary
BAD_REQUEST
           
COMMAND_NOT_FOUND
           
INTERNAL_ERROR
           
OK
           
OUT_OF_MEMORY
           
SERVICE_ALREADY_ENABLED
           
SERVICE_NOT_ENABLED
           
SERVICE_NOT_FOUND
           
 
Field Summary
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
           
 
Method Summary
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(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Field Detail

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
Method Detail

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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.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 © 2011. All Rights Reserved.