com.opera.core.systems.scope.protos
Enum PrefsProtos.Pref.Type

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

public static enum PrefsProtos.Pref.Type
extends java.lang.Enum<PrefsProtos.Pref.Type>
implements com.google.protobuf.ProtocolMessageEnum


Enum Constant Summary
BOOLEAN
           
COLOR
           
DIRECTORY
           
FILE
           
INTEGER
           
REQUIRED_FILE
           
STRING
           
 
Field Summary
static int BOOLEAN_VALUE
           
static int COLOR_VALUE
           
static int DIRECTORY_VALUE
           
static int FILE_VALUE
           
static int INTEGER_VALUE
           
static int REQUIRED_FILE_VALUE
           
static int STRING_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<PrefsProtos.Pref.Type> internalGetValueMap()
           
static PrefsProtos.Pref.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
           
static PrefsProtos.Pref.Type valueOf(int value)
           
static PrefsProtos.Pref.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PrefsProtos.Pref.Type[] 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

STRING

public static final PrefsProtos.Pref.Type STRING

INTEGER

public static final PrefsProtos.Pref.Type INTEGER

BOOLEAN

public static final PrefsProtos.Pref.Type BOOLEAN

FILE

public static final PrefsProtos.Pref.Type FILE

REQUIRED_FILE

public static final PrefsProtos.Pref.Type REQUIRED_FILE

DIRECTORY

public static final PrefsProtos.Pref.Type DIRECTORY

COLOR

public static final PrefsProtos.Pref.Type COLOR
Field Detail

STRING_VALUE

public static final int STRING_VALUE
See Also:
Constant Field Values

INTEGER_VALUE

public static final int INTEGER_VALUE
See Also:
Constant Field Values

BOOLEAN_VALUE

public static final int BOOLEAN_VALUE
See Also:
Constant Field Values

FILE_VALUE

public static final int FILE_VALUE
See Also:
Constant Field Values

REQUIRED_FILE_VALUE

public static final int REQUIRED_FILE_VALUE
See Also:
Constant Field Values

DIRECTORY_VALUE

public static final int DIRECTORY_VALUE
See Also:
Constant Field Values

COLOR_VALUE

public static final int COLOR_VALUE
See Also:
Constant Field Values
Method Detail

values

public static PrefsProtos.Pref.Type[] 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 (PrefsProtos.Pref.Type c : PrefsProtos.Pref.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PrefsProtos.Pref.Type 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 PrefsProtos.Pref.Type valueOf(int value)

internalGetValueMap

public static com.google.protobuf.Internal.EnumLiteMap<PrefsProtos.Pref.Type> 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 PrefsProtos.Pref.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)


Copyright © 2011. All Rights Reserved.