Package net.sf.okapi.proto
Enum Note.Priority
- java.lang.Object
-
- java.lang.Enum<Note.Priority>
-
- net.sf.okapi.proto.Note.Priority
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Note.Priority>
- Enclosing class:
- Note
public static enum Note.Priority extends Enum<Note.Priority> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumNote.Priority
-
-
Field Summary
Fields Modifier and Type Field Description static int
EIGHT_VALUE
EIGHT = 7;
static int
FIVE_VALUE
FIVE = 4;
static int
FOUR_VALUE
FOUR = 3;
static int
NINE_VALUE
NINE = 8;
static int
ONE_VALUE
ONE = 0;
static int
SEVEN_VALUE
SEVEN = 6;
static int
SIX_VALUE
SIX = 5;
static int
TEN_VALUE
TEN = 9;
static int
THREE_VALUE
THREE = 2;
static int
TWO_VALUE
TWO = 1;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Note.Priority
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<Note.Priority>
internalGetValueMap()
static Note.Priority
valueOf(int value)
Deprecated.static Note.Priority
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Note.Priority
valueOf(String name)
Returns the enum constant of this type with the specified name.static Note.Priority[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ONE
public static final Note.Priority ONE
ONE = 0;
-
TWO
public static final Note.Priority TWO
TWO = 1;
-
THREE
public static final Note.Priority THREE
THREE = 2;
-
FOUR
public static final Note.Priority FOUR
FOUR = 3;
-
FIVE
public static final Note.Priority FIVE
FIVE = 4;
-
SIX
public static final Note.Priority SIX
SIX = 5;
-
SEVEN
public static final Note.Priority SEVEN
SEVEN = 6;
-
EIGHT
public static final Note.Priority EIGHT
EIGHT = 7;
-
NINE
public static final Note.Priority NINE
NINE = 8;
-
TEN
public static final Note.Priority TEN
TEN = 9;
-
UNRECOGNIZED
public static final Note.Priority UNRECOGNIZED
-
-
Field Detail
-
ONE_VALUE
public static final int ONE_VALUE
ONE = 0;
- See Also:
- Constant Field Values
-
TWO_VALUE
public static final int TWO_VALUE
TWO = 1;
- See Also:
- Constant Field Values
-
THREE_VALUE
public static final int THREE_VALUE
THREE = 2;
- See Also:
- Constant Field Values
-
FOUR_VALUE
public static final int FOUR_VALUE
FOUR = 3;
- See Also:
- Constant Field Values
-
FIVE_VALUE
public static final int FIVE_VALUE
FIVE = 4;
- See Also:
- Constant Field Values
-
SIX_VALUE
public static final int SIX_VALUE
SIX = 5;
- See Also:
- Constant Field Values
-
SEVEN_VALUE
public static final int SEVEN_VALUE
SEVEN = 6;
- See Also:
- Constant Field Values
-
EIGHT_VALUE
public static final int EIGHT_VALUE
EIGHT = 7;
- See Also:
- Constant Field Values
-
NINE_VALUE
public static final int NINE_VALUE
NINE = 8;
- See Also:
- Constant Field Values
-
TEN_VALUE
public static final int TEN_VALUE
TEN = 9;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Note.Priority[] 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 (Note.Priority c : Note.Priority.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Note.Priority 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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Note.Priority valueOf(int value)
Deprecated.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:
value
- 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 nameNullPointerException
- if the argument is null
-
forNumber
public static Note.Priority forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Note.Priority> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Note.Priority valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc
- 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 nameNullPointerException
- if the argument is null
-
-