org.jboss.netty.example.localtime
Enum LocalTimeProtocol.Continent

java.lang.Object
  extended by java.lang.Enum<LocalTimeProtocol.Continent>
      extended by 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


Enum Constant Summary
AFRICA
           
AMERICA
           
ANTARCTICA
           
ARCTIC
           
ASIA
           
ATLANTIC
           
AUSTRALIA
           
EUROPE
           
INDIAN
           
MIDEAST
           
PACIFIC
           
 
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<LocalTimeProtocol.Continent> internalGetValueMap()
           
static LocalTimeProtocol.Continent valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
           
static LocalTimeProtocol.Continent valueOf(int value)
           
static LocalTimeProtocol.Continent valueOf(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.
 
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

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
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(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.