com.google.transit.realtime
Class GtfsRealtime.VehiclePosition

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.AbstractMessage
          extended by com.google.protobuf.GeneratedMessage
              extended by com.google.protobuf.GeneratedMessage.ExtendableMessage<GtfsRealtime.VehiclePosition>
                  extended by com.google.transit.realtime.GtfsRealtime.VehiclePosition
All Implemented Interfaces:
com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.VehiclePosition>, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GtfsRealtime.VehiclePositionOrBuilder, Serializable
Enclosing class:
GtfsRealtime

public static final class GtfsRealtime.VehiclePosition
extends com.google.protobuf.GeneratedMessage.ExtendableMessage<GtfsRealtime.VehiclePosition>
implements GtfsRealtime.VehiclePositionOrBuilder

See Also:
Serialized Form

Nested Class Summary
static class GtfsRealtime.VehiclePosition.Builder
           
static class GtfsRealtime.VehiclePosition.CongestionLevel
           
static class GtfsRealtime.VehiclePosition.VehicleStopStatus
           
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage
com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWriter
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
 
Field Summary
static int CONGESTION_LEVEL_FIELD_NUMBER
           
static int CURRENT_STATUS_FIELD_NUMBER
           
static int CURRENT_STOP_SEQUENCE_FIELD_NUMBER
           
static int POSITION_FIELD_NUMBER
           
static int STOP_ID_FIELD_NUMBER
           
static int TIMESTAMP_FIELD_NUMBER
           
static int TRIP_FIELD_NUMBER
           
static int VEHICLE_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
 GtfsRealtime.VehiclePosition.CongestionLevel getCongestionLevel()
           
 GtfsRealtime.VehiclePosition.VehicleStopStatus getCurrentStatus()
           
 int getCurrentStopSequence()
           
static GtfsRealtime.VehiclePosition getDefaultInstance()
           
 GtfsRealtime.VehiclePosition getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 GtfsRealtime.Position getPosition()
           
 GtfsRealtime.PositionOrBuilder getPositionOrBuilder()
           
 int getSerializedSize()
           
 String getStopId()
           
 long getTimestamp()
           
 GtfsRealtime.TripDescriptor getTrip()
           
 GtfsRealtime.TripDescriptorOrBuilder getTripOrBuilder()
           
 GtfsRealtime.VehicleDescriptor getVehicle()
           
 GtfsRealtime.VehicleDescriptorOrBuilder getVehicleOrBuilder()
           
 boolean hasCongestionLevel()
           
 boolean hasCurrentStatus()
           
 boolean hasCurrentStopSequence()
           
 boolean hasPosition()
           
 boolean hasStopId()
           
 boolean hasTimestamp()
           
 boolean hasTrip()
           
 boolean hasVehicle()
           
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static GtfsRealtime.VehiclePosition.Builder newBuilder()
           
static GtfsRealtime.VehiclePosition.Builder newBuilder(GtfsRealtime.VehiclePosition prototype)
           
 GtfsRealtime.VehiclePosition.Builder newBuilderForType()
           
protected  GtfsRealtime.VehiclePosition.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static GtfsRealtime.VehiclePosition parseDelimitedFrom(InputStream input)
           
static GtfsRealtime.VehiclePosition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static GtfsRealtime.VehiclePosition parseFrom(byte[] data)
           
static GtfsRealtime.VehiclePosition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static GtfsRealtime.VehiclePosition parseFrom(com.google.protobuf.ByteString data)
           
static GtfsRealtime.VehiclePosition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static GtfsRealtime.VehiclePosition parseFrom(com.google.protobuf.CodedInputStream input)
           
static GtfsRealtime.VehiclePosition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static GtfsRealtime.VehiclePosition parseFrom(InputStream input)
           
static GtfsRealtime.VehiclePosition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 GtfsRealtime.VehiclePosition.Builder toBuilder()
           
protected  Object writeReplace()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, newExtensionWriter, newMessageSetExtensionWriter
 
Methods inherited from class com.google.protobuf.GeneratedMessage
getDescriptorForType, getUnknownFields, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension
 
Methods inherited from class com.google.protobuf.AbstractMessage
equals, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
 
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getExtension, getExtension, getExtensionCount, hasExtension
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 

Field Detail

TRIP_FIELD_NUMBER

public static final int TRIP_FIELD_NUMBER
See Also:
Constant Field Values

VEHICLE_FIELD_NUMBER

public static final int VEHICLE_FIELD_NUMBER
See Also:
Constant Field Values

POSITION_FIELD_NUMBER

public static final int POSITION_FIELD_NUMBER
See Also:
Constant Field Values

CURRENT_STOP_SEQUENCE_FIELD_NUMBER

public static final int CURRENT_STOP_SEQUENCE_FIELD_NUMBER
See Also:
Constant Field Values

STOP_ID_FIELD_NUMBER

public static final int STOP_ID_FIELD_NUMBER
See Also:
Constant Field Values

CURRENT_STATUS_FIELD_NUMBER

public static final int CURRENT_STATUS_FIELD_NUMBER
See Also:
Constant Field Values

TIMESTAMP_FIELD_NUMBER

public static final int TIMESTAMP_FIELD_NUMBER
See Also:
Constant Field Values

CONGESTION_LEVEL_FIELD_NUMBER

public static final int CONGESTION_LEVEL_FIELD_NUMBER
See Also:
Constant Field Values
Method Detail

getDefaultInstance

public static GtfsRealtime.VehiclePosition getDefaultInstance()

getDefaultInstanceForType

public GtfsRealtime.VehiclePosition getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage

hasTrip

public boolean hasTrip()
Specified by:
hasTrip in interface GtfsRealtime.VehiclePositionOrBuilder

getTrip

public GtfsRealtime.TripDescriptor getTrip()
Specified by:
getTrip in interface GtfsRealtime.VehiclePositionOrBuilder

getTripOrBuilder

public GtfsRealtime.TripDescriptorOrBuilder getTripOrBuilder()
Specified by:
getTripOrBuilder in interface GtfsRealtime.VehiclePositionOrBuilder

hasVehicle

public boolean hasVehicle()
Specified by:
hasVehicle in interface GtfsRealtime.VehiclePositionOrBuilder

getVehicle

public GtfsRealtime.VehicleDescriptor getVehicle()
Specified by:
getVehicle in interface GtfsRealtime.VehiclePositionOrBuilder

getVehicleOrBuilder

public GtfsRealtime.VehicleDescriptorOrBuilder getVehicleOrBuilder()
Specified by:
getVehicleOrBuilder in interface GtfsRealtime.VehiclePositionOrBuilder

hasPosition

public boolean hasPosition()
Specified by:
hasPosition in interface GtfsRealtime.VehiclePositionOrBuilder

getPosition

public GtfsRealtime.Position getPosition()
Specified by:
getPosition in interface GtfsRealtime.VehiclePositionOrBuilder

getPositionOrBuilder

public GtfsRealtime.PositionOrBuilder getPositionOrBuilder()
Specified by:
getPositionOrBuilder in interface GtfsRealtime.VehiclePositionOrBuilder

hasCurrentStopSequence

public boolean hasCurrentStopSequence()
Specified by:
hasCurrentStopSequence in interface GtfsRealtime.VehiclePositionOrBuilder

getCurrentStopSequence

public int getCurrentStopSequence()
Specified by:
getCurrentStopSequence in interface GtfsRealtime.VehiclePositionOrBuilder

hasStopId

public boolean hasStopId()
Specified by:
hasStopId in interface GtfsRealtime.VehiclePositionOrBuilder

getStopId

public String getStopId()
Specified by:
getStopId in interface GtfsRealtime.VehiclePositionOrBuilder

hasCurrentStatus

public boolean hasCurrentStatus()
Specified by:
hasCurrentStatus in interface GtfsRealtime.VehiclePositionOrBuilder

getCurrentStatus

public GtfsRealtime.VehiclePosition.VehicleStopStatus getCurrentStatus()
Specified by:
getCurrentStatus in interface GtfsRealtime.VehiclePositionOrBuilder

hasTimestamp

public boolean hasTimestamp()
Specified by:
hasTimestamp in interface GtfsRealtime.VehiclePositionOrBuilder

getTimestamp

public long getTimestamp()
Specified by:
getTimestamp in interface GtfsRealtime.VehiclePositionOrBuilder

hasCongestionLevel

public boolean hasCongestionLevel()
Specified by:
hasCongestionLevel in interface GtfsRealtime.VehiclePositionOrBuilder

getCongestionLevel

public GtfsRealtime.VehiclePosition.CongestionLevel getCongestionLevel()
Specified by:
getCongestionLevel in interface GtfsRealtime.VehiclePositionOrBuilder

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<GtfsRealtime.VehiclePosition>

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
Specified by:
writeTo in interface com.google.protobuf.MessageLite
Overrides:
writeTo in class com.google.protobuf.AbstractMessage
Throws:
IOException

getSerializedSize

public int getSerializedSize()
Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite
Overrides:
getSerializedSize in class com.google.protobuf.AbstractMessage

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Overrides:
writeReplace in class com.google.protobuf.GeneratedMessage
Throws:
ObjectStreamException

parseFrom

public static GtfsRealtime.VehiclePosition parseFrom(com.google.protobuf.ByteString data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static GtfsRealtime.VehiclePosition parseFrom(com.google.protobuf.ByteString data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static GtfsRealtime.VehiclePosition parseFrom(byte[] data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static GtfsRealtime.VehiclePosition parseFrom(byte[] data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static GtfsRealtime.VehiclePosition parseFrom(InputStream input)
                                              throws IOException
Throws:
IOException

parseFrom

public static GtfsRealtime.VehiclePosition parseFrom(InputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws IOException
Throws:
IOException

parseDelimitedFrom

public static GtfsRealtime.VehiclePosition parseDelimitedFrom(InputStream input)
                                                       throws IOException
Throws:
IOException

parseDelimitedFrom

public static GtfsRealtime.VehiclePosition parseDelimitedFrom(InputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws IOException
Throws:
IOException

parseFrom

public static GtfsRealtime.VehiclePosition parseFrom(com.google.protobuf.CodedInputStream input)
                                              throws IOException
Throws:
IOException

parseFrom

public static GtfsRealtime.VehiclePosition parseFrom(com.google.protobuf.CodedInputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws IOException
Throws:
IOException

newBuilder

public static GtfsRealtime.VehiclePosition.Builder newBuilder()

newBuilderForType

public GtfsRealtime.VehiclePosition.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.Message
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static GtfsRealtime.VehiclePosition.Builder newBuilder(GtfsRealtime.VehiclePosition prototype)

toBuilder

public GtfsRealtime.VehiclePosition.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.Message
Specified by:
toBuilder in interface com.google.protobuf.MessageLite

newBuilderForType

protected GtfsRealtime.VehiclePosition.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
Specified by:
newBuilderForType in class com.google.protobuf.GeneratedMessage


Copyright © 2012 OneBusAway. All Rights Reserved.