public static interface GtfsRealtime.VehiclePositionOrBuilder extends com.google.protobuf.GeneratedMessageV3.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()
The exact status of the vehicle with respect to the current stop.
|
int |
getCurrentStopSequence()
The stop sequence index of the current stop.
|
GtfsRealtime.VehiclePosition.OccupancyStatus |
getOccupancyStatus()
optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9; |
GtfsRealtime.Position |
getPosition()
Current position of this vehicle.
|
GtfsRealtime.PositionOrBuilder |
getPositionOrBuilder()
Current position of this vehicle.
|
String |
getStopId()
Identifies the current stop.
|
com.google.protobuf.ByteString |
getStopIdBytes()
Identifies the current stop.
|
long |
getTimestamp()
Moment at which the vehicle's position was measured.
|
GtfsRealtime.TripDescriptor |
getTrip()
The Trip that this vehicle is serving.
|
GtfsRealtime.TripDescriptorOrBuilder |
getTripOrBuilder()
The Trip that this vehicle is serving.
|
GtfsRealtime.VehicleDescriptor |
getVehicle()
Additional information on the vehicle that is serving this trip.
|
GtfsRealtime.VehicleDescriptorOrBuilder |
getVehicleOrBuilder()
Additional information on the vehicle that is serving this trip.
|
boolean |
hasCongestionLevel()
optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6; |
boolean |
hasCurrentStatus()
The exact status of the vehicle with respect to the current stop.
|
boolean |
hasCurrentStopSequence()
The stop sequence index of the current stop.
|
boolean |
hasOccupancyStatus()
optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9; |
boolean |
hasPosition()
Current position of this vehicle.
|
boolean |
hasStopId()
Identifies the current stop.
|
boolean |
hasTimestamp()
Moment at which the vehicle's position was measured.
|
boolean |
hasTrip()
The Trip that this vehicle is serving.
|
boolean |
hasVehicle()
Additional information on the vehicle that is serving this trip.
|
getDefaultInstanceForType, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionboolean hasTrip()
The Trip that this vehicle is serving. Can be empty or partial if the vehicle can not be identified with a given trip instance.
optional .transit_realtime.TripDescriptor trip = 1;GtfsRealtime.TripDescriptor getTrip()
The Trip that this vehicle is serving. Can be empty or partial if the vehicle can not be identified with a given trip instance.
optional .transit_realtime.TripDescriptor trip = 1;GtfsRealtime.TripDescriptorOrBuilder getTripOrBuilder()
The Trip that this vehicle is serving. Can be empty or partial if the vehicle can not be identified with a given trip instance.
optional .transit_realtime.TripDescriptor trip = 1;boolean hasVehicle()
Additional information on the vehicle that is serving this trip.
optional .transit_realtime.VehicleDescriptor vehicle = 8;GtfsRealtime.VehicleDescriptor getVehicle()
Additional information on the vehicle that is serving this trip.
optional .transit_realtime.VehicleDescriptor vehicle = 8;GtfsRealtime.VehicleDescriptorOrBuilder getVehicleOrBuilder()
Additional information on the vehicle that is serving this trip.
optional .transit_realtime.VehicleDescriptor vehicle = 8;boolean hasPosition()
Current position of this vehicle.
optional .transit_realtime.Position position = 2;GtfsRealtime.Position getPosition()
Current position of this vehicle.
optional .transit_realtime.Position position = 2;GtfsRealtime.PositionOrBuilder getPositionOrBuilder()
Current position of this vehicle.
optional .transit_realtime.Position position = 2;boolean hasCurrentStopSequence()
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.
optional uint32 current_stop_sequence = 3;int getCurrentStopSequence()
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.
optional uint32 current_stop_sequence = 3;boolean hasStopId()
Identifies the current stop. The value must be the same as in stops.txt in the corresponding GTFS feed.
optional string stop_id = 7;String getStopId()
Identifies the current stop. The value must be the same as in stops.txt in the corresponding GTFS feed.
optional string stop_id = 7;com.google.protobuf.ByteString getStopIdBytes()
Identifies the current stop. The value must be the same as in stops.txt in the corresponding GTFS feed.
optional string stop_id = 7;boolean hasCurrentStatus()
The exact status of the vehicle with respect to the current stop. Ignored if current_stop_sequence is missing.
optional .transit_realtime.VehiclePosition.VehicleStopStatus current_status = 4 [default = IN_TRANSIT_TO];GtfsRealtime.VehiclePosition.VehicleStopStatus getCurrentStatus()
The exact status of the vehicle with respect to the current stop. Ignored if current_stop_sequence is missing.
optional .transit_realtime.VehiclePosition.VehicleStopStatus current_status = 4 [default = IN_TRANSIT_TO];boolean hasTimestamp()
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).
optional uint64 timestamp = 5;long getTimestamp()
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).
optional uint64 timestamp = 5;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.