com.google.transit.realtime
Enum GtfsRealtime.VehiclePosition.VehicleStopStatus

java.lang.Object
  extended by java.lang.Enum<GtfsRealtime.VehiclePosition.VehicleStopStatus>
      extended by com.google.transit.realtime.GtfsRealtime.VehiclePosition.VehicleStopStatus
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<GtfsRealtime.VehiclePosition.VehicleStopStatus>
Enclosing class:
GtfsRealtime.VehiclePosition

public static enum GtfsRealtime.VehiclePosition.VehicleStopStatus
extends Enum<GtfsRealtime.VehiclePosition.VehicleStopStatus>
implements com.google.protobuf.ProtocolMessageEnum

Protobuf enum transit_realtime.VehiclePosition.VehicleStopStatus


Enum Constant Summary
IN_TRANSIT_TO
          IN_TRANSIT_TO = 2;
INCOMING_AT
          INCOMING_AT = 0;
STOPPED_AT
          STOPPED_AT = 1;
 
Field Summary
static int IN_TRANSIT_TO_VALUE
          IN_TRANSIT_TO = 2;
static int INCOMING_AT_VALUE
          INCOMING_AT = 0;
static int STOPPED_AT_VALUE
          STOPPED_AT = 1;
 
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<GtfsRealtime.VehiclePosition.VehicleStopStatus> internalGetValueMap()
           
static GtfsRealtime.VehiclePosition.VehicleStopStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
           
static GtfsRealtime.VehiclePosition.VehicleStopStatus valueOf(int value)
           
static GtfsRealtime.VehiclePosition.VehicleStopStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GtfsRealtime.VehiclePosition.VehicleStopStatus[] 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

INCOMING_AT

public static final GtfsRealtime.VehiclePosition.VehicleStopStatus INCOMING_AT
INCOMING_AT = 0;
 The vehicle is just about to arrive at the stop (on a stop
 display, the vehicle symbol typically flashes).
 


STOPPED_AT

public static final GtfsRealtime.VehiclePosition.VehicleStopStatus STOPPED_AT
STOPPED_AT = 1;
 The vehicle is standing at the stop.
 


IN_TRANSIT_TO

public static final GtfsRealtime.VehiclePosition.VehicleStopStatus IN_TRANSIT_TO
IN_TRANSIT_TO = 2;
 The vehicle has departed and is in transit to the next stop.
 

Field Detail

INCOMING_AT_VALUE

public static final int INCOMING_AT_VALUE
INCOMING_AT = 0;
 The vehicle is just about to arrive at the stop (on a stop
 display, the vehicle symbol typically flashes).
 

See Also:
Constant Field Values

STOPPED_AT_VALUE

public static final int STOPPED_AT_VALUE
STOPPED_AT = 1;
 The vehicle is standing at the stop.
 

See Also:
Constant Field Values

IN_TRANSIT_TO_VALUE

public static final int IN_TRANSIT_TO_VALUE
IN_TRANSIT_TO = 2;
 The vehicle has departed and is in transit to the next stop.
 

See Also:
Constant Field Values
Method Detail

values

public static GtfsRealtime.VehiclePosition.VehicleStopStatus[] 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 (GtfsRealtime.VehiclePosition.VehicleStopStatus c : GtfsRealtime.VehiclePosition.VehicleStopStatus.values())
    System.out.println(c);

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

valueOf

public static GtfsRealtime.VehiclePosition.VehicleStopStatus 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 GtfsRealtime.VehiclePosition.VehicleStopStatus valueOf(int value)

internalGetValueMap

public static com.google.protobuf.Internal.EnumLiteMap<GtfsRealtime.VehiclePosition.VehicleStopStatus> 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 GtfsRealtime.VehiclePosition.VehicleStopStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)


Copyright © 2015. All Rights Reserved.