com.google.transit.realtime
Interface GtfsRealtime.VehiclePositionOrBuilder

All Superinterfaces:
com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.VehiclePosition>, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GtfsRealtime.VehiclePosition, GtfsRealtime.VehiclePosition.Builder
Enclosing class:
GtfsRealtime

public static interface GtfsRealtime.VehiclePositionOrBuilder
extends com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.VehiclePosition>


Method Summary
 GtfsRealtime.VehiclePosition.CongestionLevel getCongestionLevel()
          optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6;
 GtfsRealtime.VehiclePosition.VehicleStopStatus getCurrentStatus()
          optional .transit_realtime.VehiclePosition.VehicleStopStatus current_status = 4 [default = IN_TRANSIT_TO];
 int getCurrentStopSequence()
          optional uint32 current_stop_sequence = 3;
 GtfsRealtime.VehiclePosition.OccupancyStatus getOccupancyStatus()
          optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9;
 GtfsRealtime.Position getPosition()
          optional .transit_realtime.Position position = 2;
 GtfsRealtime.PositionOrBuilder getPositionOrBuilder()
          optional .transit_realtime.Position position = 2;
 String getStopId()
          optional string stop_id = 7;
 com.google.protobuf.ByteString getStopIdBytes()
          optional string stop_id = 7;
 long getTimestamp()
          optional uint64 timestamp = 5;
 GtfsRealtime.TripDescriptor getTrip()
          optional .transit_realtime.TripDescriptor trip = 1;
 GtfsRealtime.TripDescriptorOrBuilder getTripOrBuilder()
          optional .transit_realtime.TripDescriptor trip = 1;
 GtfsRealtime.VehicleDescriptor getVehicle()
          optional .transit_realtime.VehicleDescriptor vehicle = 8;
 GtfsRealtime.VehicleDescriptorOrBuilder getVehicleOrBuilder()
          optional .transit_realtime.VehicleDescriptor vehicle = 8;
 boolean hasCongestionLevel()
          optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6;
 boolean hasCurrentStatus()
          optional .transit_realtime.VehiclePosition.VehicleStopStatus current_status = 4 [default = IN_TRANSIT_TO];
 boolean hasCurrentStopSequence()
          optional uint32 current_stop_sequence = 3;
 boolean hasOccupancyStatus()
          optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9;
 boolean hasPosition()
          optional .transit_realtime.Position position = 2;
 boolean hasStopId()
          optional string stop_id = 7;
 boolean hasTimestamp()
          optional uint64 timestamp = 5;
 boolean hasTrip()
          optional .transit_realtime.TripDescriptor trip = 1;
 boolean hasVehicle()
          optional .transit_realtime.VehicleDescriptor vehicle = 8;
 
Methods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getDefaultInstanceForType, getExtension, getExtension, getExtensionCount, hasExtension
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
 
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
 

Method Detail

hasTrip

boolean hasTrip()
optional .transit_realtime.TripDescriptor trip = 1;
 The Trip that this vehicle is serving.
 Can be empty or partial if the vehicle can not be identified with a given
 trip instance.
 


getTrip

GtfsRealtime.TripDescriptor getTrip()
optional .transit_realtime.TripDescriptor trip = 1;
 The Trip that this vehicle is serving.
 Can be empty or partial if the vehicle can not be identified with a given
 trip instance.
 


getTripOrBuilder

GtfsRealtime.TripDescriptorOrBuilder getTripOrBuilder()
optional .transit_realtime.TripDescriptor trip = 1;
 The Trip that this vehicle is serving.
 Can be empty or partial if the vehicle can not be identified with a given
 trip instance.
 


hasVehicle

boolean hasVehicle()
optional .transit_realtime.VehicleDescriptor vehicle = 8;
 Additional information on the vehicle that is serving this trip.
 


getVehicle

GtfsRealtime.VehicleDescriptor getVehicle()
optional .transit_realtime.VehicleDescriptor vehicle = 8;
 Additional information on the vehicle that is serving this trip.
 


getVehicleOrBuilder

GtfsRealtime.VehicleDescriptorOrBuilder getVehicleOrBuilder()
optional .transit_realtime.VehicleDescriptor vehicle = 8;
 Additional information on the vehicle that is serving this trip.
 


hasPosition

boolean hasPosition()
optional .transit_realtime.Position position = 2;
 Current position of this vehicle.
 


getPosition

GtfsRealtime.Position getPosition()
optional .transit_realtime.Position position = 2;
 Current position of this vehicle.
 


getPositionOrBuilder

GtfsRealtime.PositionOrBuilder getPositionOrBuilder()
optional .transit_realtime.Position position = 2;
 Current position of this vehicle.
 


hasCurrentStopSequence

boolean hasCurrentStopSequence()
optional uint32 current_stop_sequence = 3;
 The stop sequence index of the current stop. The meaning of
 current_stop_sequence (i.e., the stop that it refers to) is determined by
 current_status.
 If current_status is missing IN_TRANSIT_TO is assumed.
 


getCurrentStopSequence

int getCurrentStopSequence()
optional uint32 current_stop_sequence = 3;
 The stop sequence index of the current stop. The meaning of
 current_stop_sequence (i.e., the stop that it refers to) is determined by
 current_status.
 If current_status is missing IN_TRANSIT_TO is assumed.
 


hasStopId

boolean hasStopId()
optional string stop_id = 7;
 Identifies the current stop. The value must be the same as in stops.txt in
 the corresponding GTFS feed.
 


getStopId

String getStopId()
optional string stop_id = 7;
 Identifies the current stop. The value must be the same as in stops.txt in
 the corresponding GTFS feed.
 


getStopIdBytes

com.google.protobuf.ByteString getStopIdBytes()
optional string stop_id = 7;
 Identifies the current stop. The value must be the same as in stops.txt in
 the corresponding GTFS feed.
 


hasCurrentStatus

boolean hasCurrentStatus()
optional .transit_realtime.VehiclePosition.VehicleStopStatus current_status = 4 [default = IN_TRANSIT_TO];
 The exact status of the vehicle with respect to the current stop.
 Ignored if current_stop_sequence is missing.
 


getCurrentStatus

GtfsRealtime.VehiclePosition.VehicleStopStatus getCurrentStatus()
optional .transit_realtime.VehiclePosition.VehicleStopStatus current_status = 4 [default = IN_TRANSIT_TO];
 The exact status of the vehicle with respect to the current stop.
 Ignored if current_stop_sequence is missing.
 


hasTimestamp

boolean hasTimestamp()
optional uint64 timestamp = 5;
 Moment at which the vehicle's position was measured. In POSIX time
 (i.e., number of seconds since January 1st 1970 00:00:00 UTC).
 


getTimestamp

long getTimestamp()
optional uint64 timestamp = 5;
 Moment at which the vehicle's position was measured. In POSIX time
 (i.e., number of seconds since January 1st 1970 00:00:00 UTC).
 


hasCongestionLevel

boolean hasCongestionLevel()
optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6;


getCongestionLevel

GtfsRealtime.VehiclePosition.CongestionLevel getCongestionLevel()
optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6;


hasOccupancyStatus

boolean hasOccupancyStatus()
optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9;


getOccupancyStatus

GtfsRealtime.VehiclePosition.OccupancyStatus getOccupancyStatus()
optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9;



Copyright © 2015. All Rights Reserved.