public static interface GtfsRealtime.VehiclePositionOrBuilder extends com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.VehiclePosition>
Modifier and Type | Method and Description |
---|---|
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; |
getDefaultInstanceForType, getExtension, getExtension, getExtensionCount, hasExtension
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.
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.
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.
boolean hasVehicle()
optional .transit_realtime.VehicleDescriptor vehicle = 8;
Additional information on the vehicle that is serving this trip.
GtfsRealtime.VehicleDescriptor getVehicle()
optional .transit_realtime.VehicleDescriptor vehicle = 8;
Additional information on the vehicle that is serving this trip.
GtfsRealtime.VehicleDescriptorOrBuilder getVehicleOrBuilder()
optional .transit_realtime.VehicleDescriptor vehicle = 8;
Additional information on the vehicle that is serving this trip.
boolean hasPosition()
optional .transit_realtime.Position position = 2;
Current position of this vehicle.
GtfsRealtime.Position getPosition()
optional .transit_realtime.Position position = 2;
Current position of this vehicle.
GtfsRealtime.PositionOrBuilder getPositionOrBuilder()
optional .transit_realtime.Position position = 2;
Current position of this vehicle.
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.
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.
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.
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.
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.
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.
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.
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).
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).
boolean hasCongestionLevel()
optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6;
GtfsRealtime.VehiclePosition.CongestionLevel getCongestionLevel()
optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6;
boolean hasOccupancyStatus()
optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9;
GtfsRealtime.VehiclePosition.OccupancyStatus getOccupancyStatus()
optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9;
Copyright © 2019. All rights reserved.