Enum LocalTimeProtocol.Continent
- java.lang.Object
-
- java.lang.Enum<LocalTimeProtocol.Continent>
-
- org.jboss.netty.example.localtime.LocalTimeProtocol.Continent
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<LocalTimeProtocol.Continent>
- Enclosing class:
- LocalTimeProtocol
public static enum LocalTimeProtocol.Continent extends java.lang.Enum<LocalTimeProtocol.Continent> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumorg.jboss.netty.example.localtime.Continent
-
-
Field Summary
Fields Modifier and Type Field Description static int
AFRICA_VALUE
AFRICA = 0;
static int
AMERICA_VALUE
AMERICA = 1;
static int
ANTARCTICA_VALUE
ANTARCTICA = 2;
static int
ARCTIC_VALUE
ARCTIC = 3;
static int
ASIA_VALUE
ASIA = 4;
static int
ATLANTIC_VALUE
ATLANTIC = 5;
static int
AUSTRALIA_VALUE
AUSTRALIA = 6;
static int
EUROPE_VALUE
EUROPE = 7;
private int
index
static int
INDIAN_VALUE
INDIAN = 8;
private static com.google.protobuf.Internal.EnumLiteMap<LocalTimeProtocol.Continent>
internalValueMap
static int
MIDEAST_VALUE
MIDEAST = 9;
static int
PACIFIC_VALUE
PACIFIC = 10;
private int
value
private static LocalTimeProtocol.Continent[]
VALUES
-
Constructor Summary
Constructors Modifier Constructor Description private
Continent(int index, int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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<LocalTimeProtocol.Continent>
internalGetValueMap()
static LocalTimeProtocol.Continent
valueOf(int value)
Returns the enum constant of this type with the specified name.static LocalTimeProtocol.Continent
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static LocalTimeProtocol.Continent
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LocalTimeProtocol.Continent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AFRICA
public static final LocalTimeProtocol.Continent AFRICA
AFRICA = 0;
-
AMERICA
public static final LocalTimeProtocol.Continent AMERICA
AMERICA = 1;
-
ANTARCTICA
public static final LocalTimeProtocol.Continent ANTARCTICA
ANTARCTICA = 2;
-
ARCTIC
public static final LocalTimeProtocol.Continent ARCTIC
ARCTIC = 3;
-
ASIA
public static final LocalTimeProtocol.Continent ASIA
ASIA = 4;
-
ATLANTIC
public static final LocalTimeProtocol.Continent ATLANTIC
ATLANTIC = 5;
-
AUSTRALIA
public static final LocalTimeProtocol.Continent AUSTRALIA
AUSTRALIA = 6;
-
EUROPE
public static final LocalTimeProtocol.Continent EUROPE
EUROPE = 7;
-
INDIAN
public static final LocalTimeProtocol.Continent INDIAN
INDIAN = 8;
-
MIDEAST
public static final LocalTimeProtocol.Continent MIDEAST
MIDEAST = 9;
-
PACIFIC
public static final LocalTimeProtocol.Continent PACIFIC
PACIFIC = 10;
-
-
Field Detail
-
AFRICA_VALUE
public static final int AFRICA_VALUE
AFRICA = 0;
- See Also:
- Constant Field Values
-
AMERICA_VALUE
public static final int AMERICA_VALUE
AMERICA = 1;
- See Also:
- Constant Field Values
-
ANTARCTICA_VALUE
public static final int ANTARCTICA_VALUE
ANTARCTICA = 2;
- See Also:
- Constant Field Values
-
ARCTIC_VALUE
public static final int ARCTIC_VALUE
ARCTIC = 3;
- See Also:
- Constant Field Values
-
ASIA_VALUE
public static final int ASIA_VALUE
ASIA = 4;
- See Also:
- Constant Field Values
-
ATLANTIC_VALUE
public static final int ATLANTIC_VALUE
ATLANTIC = 5;
- See Also:
- Constant Field Values
-
AUSTRALIA_VALUE
public static final int AUSTRALIA_VALUE
AUSTRALIA = 6;
- See Also:
- Constant Field Values
-
EUROPE_VALUE
public static final int EUROPE_VALUE
EUROPE = 7;
- See Also:
- Constant Field Values
-
INDIAN_VALUE
public static final int INDIAN_VALUE
INDIAN = 8;
- See Also:
- Constant Field Values
-
MIDEAST_VALUE
public static final int MIDEAST_VALUE
MIDEAST = 9;
- See Also:
- Constant Field Values
-
PACIFIC_VALUE
public static final int PACIFIC_VALUE
PACIFIC = 10;
- See Also:
- Constant Field Values
-
internalValueMap
private static com.google.protobuf.Internal.EnumLiteMap<LocalTimeProtocol.Continent> internalValueMap
-
VALUES
private static final LocalTimeProtocol.Continent[] VALUES
-
index
private final int index
-
value
private final int value
-
-
Method Detail
-
values
public static LocalTimeProtocol.Continent[] 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 (LocalTimeProtocol.Continent c : LocalTimeProtocol.Continent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LocalTimeProtocol.Continent 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 namejava.lang.NullPointerException
- 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
public static LocalTimeProtocol.Continent valueOf(int value)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<LocalTimeProtocol.Continent> 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 LocalTimeProtocol.Continent 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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-