org.jboss.netty.example.localtime
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, Serializable, Comparable<LocalTimeProtocol.Continent>
- Enclosing class:
- LocalTimeProtocol
public static enum LocalTimeProtocol.Continent
- extends Enum<LocalTimeProtocol.Continent>
- implements com.google.protobuf.ProtocolMessageEnum
AFRICA
public static final LocalTimeProtocol.Continent AFRICA
AMERICA
public static final LocalTimeProtocol.Continent AMERICA
ANTARCTICA
public static final LocalTimeProtocol.Continent ANTARCTICA
ARCTIC
public static final LocalTimeProtocol.Continent ARCTIC
ASIA
public static final LocalTimeProtocol.Continent ASIA
ATLANTIC
public static final LocalTimeProtocol.Continent ATLANTIC
AUSTRALIA
public static final LocalTimeProtocol.Continent AUSTRALIA
EUROPE
public static final LocalTimeProtocol.Continent EUROPE
INDIAN
public static final LocalTimeProtocol.Continent INDIAN
MIDEAST
public static final LocalTimeProtocol.Continent MIDEAST
PACIFIC
public static final LocalTimeProtocol.Continent PACIFIC
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(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 name
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 LocalTimeProtocol.Continent valueOf(int value)
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<LocalTimeProtocol.Continent> 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 LocalTimeProtocol.Continent valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2008-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.