net.unto.twitter
Enum UtilProtos.Url.Scheme

java.lang.Object
  extended by java.lang.Enum<UtilProtos.Url.Scheme>
      extended by net.unto.twitter.UtilProtos.Url.Scheme
All Implemented Interfaces:
Internal.EnumLite, ProtocolMessageEnum, Serializable, Comparable<UtilProtos.Url.Scheme>
Enclosing class:
UtilProtos.Url

public static enum UtilProtos.Url.Scheme
extends Enum<UtilProtos.Url.Scheme>
implements ProtocolMessageEnum


Enum Constant Summary
HTTP
           
HTTPS
           
 
Method Summary
static Descriptors.EnumDescriptor getDescriptor()
           
 Descriptors.EnumDescriptor getDescriptorForType()
           
 int getNumber()
           
 Descriptors.EnumValueDescriptor getValueDescriptor()
           
static Internal.EnumLiteMap<UtilProtos.Url.Scheme> internalGetValueMap()
           
static UtilProtos.Url.Scheme valueOf(Descriptors.EnumValueDescriptor desc)
           
static UtilProtos.Url.Scheme valueOf(int value)
           
static UtilProtos.Url.Scheme valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UtilProtos.Url.Scheme[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HTTP

public static final UtilProtos.Url.Scheme HTTP

HTTPS

public static final UtilProtos.Url.Scheme HTTPS
Method Detail

values

public static UtilProtos.Url.Scheme[] 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 (UtilProtos.Url.Scheme c : UtilProtos.Url.Scheme.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static UtilProtos.Url.Scheme 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 Internal.EnumLite
Specified by:
getNumber in interface ProtocolMessageEnum

valueOf

public static UtilProtos.Url.Scheme valueOf(int value)

internalGetValueMap

public static Internal.EnumLiteMap<UtilProtos.Url.Scheme> internalGetValueMap()

getValueDescriptor

public final Descriptors.EnumValueDescriptor getValueDescriptor()
Specified by:
getValueDescriptor in interface ProtocolMessageEnum

getDescriptorForType

public final Descriptors.EnumDescriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface ProtocolMessageEnum

getDescriptor

public static final Descriptors.EnumDescriptor getDescriptor()

valueOf

public static UtilProtos.Url.Scheme valueOf(Descriptors.EnumValueDescriptor desc)


Copyright © 2009 DeWitt Clinton. All Rights Reserved.