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 intAFRICA_VALUEAFRICA = 0;static intAMERICA_VALUEAMERICA = 1;static intANTARCTICA_VALUEANTARCTICA = 2;static intARCTIC_VALUEARCTIC = 3;static intASIA_VALUEASIA = 4;static intATLANTIC_VALUEATLANTIC = 5;static intAUSTRALIA_VALUEAUSTRALIA = 6;static intEUROPE_VALUEEUROPE = 7;static intINDIAN_VALUEINDIAN = 8;private static com.google.protobuf.Internal.EnumLiteMap<LocalTimeProtocol.Continent>internalValueMapstatic intMIDEAST_VALUEMIDEAST = 9;static intPACIFIC_VALUEPACIFIC = 10;private intvalueprivate static LocalTimeProtocol.Continent[]VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateContinent(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LocalTimeProtocol.ContinentforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<LocalTimeProtocol.Continent>internalGetValueMap()static LocalTimeProtocol.ContinentvalueOf(int value)Deprecated.static LocalTimeProtocol.ContinentvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static LocalTimeProtocol.ContinentvalueOf(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 final com.google.protobuf.Internal.EnumLiteMap<LocalTimeProtocol.Continent> internalValueMap
-
VALUES
private static final LocalTimeProtocol.Continent[] VALUES
-
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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static LocalTimeProtocol.Continent 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static LocalTimeProtocol.Continent 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<LocalTimeProtocol.Continent> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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
-
-