public static interface GtfsRealtime.TripUpdateOrBuilder extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<GtfsRealtime.TripUpdate>
| Modifier and Type | Method and Description |
|---|---|
int |
getDelay()
The current schedule deviation for the trip.
|
GtfsRealtime.TripUpdate.StopTimeUpdate |
getStopTimeUpdate(int index)
Updates to StopTimes for the trip (both future, i.e., predictions, and in
some cases, past ones, i.e., those that already happened).
|
int |
getStopTimeUpdateCount()
Updates to StopTimes for the trip (both future, i.e., predictions, and in
some cases, past ones, i.e., those that already happened).
|
List<GtfsRealtime.TripUpdate.StopTimeUpdate> |
getStopTimeUpdateList()
Updates to StopTimes for the trip (both future, i.e., predictions, and in
some cases, past ones, i.e., those that already happened).
|
GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder |
getStopTimeUpdateOrBuilder(int index)
Updates to StopTimes for the trip (both future, i.e., predictions, and in
some cases, past ones, i.e., those that already happened).
|
List<? extends GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder> |
getStopTimeUpdateOrBuilderList()
Updates to StopTimes for the trip (both future, i.e., predictions, and in
some cases, past ones, i.e., those that already happened).
|
long |
getTimestamp()
Moment at which the vehicle's real-time progress was measured.
|
GtfsRealtime.TripDescriptor |
getTrip()
The Trip that this message applies to.
|
GtfsRealtime.TripDescriptorOrBuilder |
getTripOrBuilder()
The Trip that this message applies to.
|
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 |
hasDelay()
The current schedule deviation for the trip.
|
boolean |
hasTimestamp()
Moment at which the vehicle's real-time progress was measured.
|
boolean |
hasTrip()
The Trip that this message applies to.
|
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 message applies to. There can be at most one TripUpdate entity for each actual trip instance. If there is none, that means there is no prediction information available. It does *not* mean that the trip is progressing according to schedule.
required .transit_realtime.TripDescriptor trip = 1;GtfsRealtime.TripDescriptor getTrip()
The Trip that this message applies to. There can be at most one TripUpdate entity for each actual trip instance. If there is none, that means there is no prediction information available. It does *not* mean that the trip is progressing according to schedule.
required .transit_realtime.TripDescriptor trip = 1;GtfsRealtime.TripDescriptorOrBuilder getTripOrBuilder()
The Trip that this message applies to. There can be at most one TripUpdate entity for each actual trip instance. If there is none, that means there is no prediction information available. It does *not* mean that the trip is progressing according to schedule.
required .transit_realtime.TripDescriptor trip = 1;boolean hasVehicle()
Additional information on the vehicle that is serving this trip.
optional .transit_realtime.VehicleDescriptor vehicle = 3;GtfsRealtime.VehicleDescriptor getVehicle()
Additional information on the vehicle that is serving this trip.
optional .transit_realtime.VehicleDescriptor vehicle = 3;GtfsRealtime.VehicleDescriptorOrBuilder getVehicleOrBuilder()
Additional information on the vehicle that is serving this trip.
optional .transit_realtime.VehicleDescriptor vehicle = 3;List<GtfsRealtime.TripUpdate.StopTimeUpdate> getStopTimeUpdateList()
Updates to StopTimes for the trip (both future, i.e., predictions, and in some cases, past ones, i.e., those that already happened). The updates must be sorted by stop_sequence, and apply for all the following stops of the trip up to the next specified one. Example 1: For a trip with 20 stops, a StopTimeUpdate with arrival delay and departure delay of 0 for stop_sequence of the current stop means that the trip is exactly on time. Example 2: For the same trip instance, 3 StopTimeUpdates are provided: - delay of 5 min for stop_sequence 3 - delay of 1 min for stop_sequence 8 - delay of unspecified duration for stop_sequence 10 This will be interpreted as: - stop_sequences 3,4,5,6,7 have delay of 5 min. - stop_sequences 8,9 have delay of 1 min. - stop_sequences 10,... have unknown delay.
repeated .transit_realtime.TripUpdate.StopTimeUpdate stop_time_update = 2;GtfsRealtime.TripUpdate.StopTimeUpdate getStopTimeUpdate(int index)
Updates to StopTimes for the trip (both future, i.e., predictions, and in some cases, past ones, i.e., those that already happened). The updates must be sorted by stop_sequence, and apply for all the following stops of the trip up to the next specified one. Example 1: For a trip with 20 stops, a StopTimeUpdate with arrival delay and departure delay of 0 for stop_sequence of the current stop means that the trip is exactly on time. Example 2: For the same trip instance, 3 StopTimeUpdates are provided: - delay of 5 min for stop_sequence 3 - delay of 1 min for stop_sequence 8 - delay of unspecified duration for stop_sequence 10 This will be interpreted as: - stop_sequences 3,4,5,6,7 have delay of 5 min. - stop_sequences 8,9 have delay of 1 min. - stop_sequences 10,... have unknown delay.
repeated .transit_realtime.TripUpdate.StopTimeUpdate stop_time_update = 2;int getStopTimeUpdateCount()
Updates to StopTimes for the trip (both future, i.e., predictions, and in some cases, past ones, i.e., those that already happened). The updates must be sorted by stop_sequence, and apply for all the following stops of the trip up to the next specified one. Example 1: For a trip with 20 stops, a StopTimeUpdate with arrival delay and departure delay of 0 for stop_sequence of the current stop means that the trip is exactly on time. Example 2: For the same trip instance, 3 StopTimeUpdates are provided: - delay of 5 min for stop_sequence 3 - delay of 1 min for stop_sequence 8 - delay of unspecified duration for stop_sequence 10 This will be interpreted as: - stop_sequences 3,4,5,6,7 have delay of 5 min. - stop_sequences 8,9 have delay of 1 min. - stop_sequences 10,... have unknown delay.
repeated .transit_realtime.TripUpdate.StopTimeUpdate stop_time_update = 2;List<? extends GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder> getStopTimeUpdateOrBuilderList()
Updates to StopTimes for the trip (both future, i.e., predictions, and in some cases, past ones, i.e., those that already happened). The updates must be sorted by stop_sequence, and apply for all the following stops of the trip up to the next specified one. Example 1: For a trip with 20 stops, a StopTimeUpdate with arrival delay and departure delay of 0 for stop_sequence of the current stop means that the trip is exactly on time. Example 2: For the same trip instance, 3 StopTimeUpdates are provided: - delay of 5 min for stop_sequence 3 - delay of 1 min for stop_sequence 8 - delay of unspecified duration for stop_sequence 10 This will be interpreted as: - stop_sequences 3,4,5,6,7 have delay of 5 min. - stop_sequences 8,9 have delay of 1 min. - stop_sequences 10,... have unknown delay.
repeated .transit_realtime.TripUpdate.StopTimeUpdate stop_time_update = 2;GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder getStopTimeUpdateOrBuilder(int index)
Updates to StopTimes for the trip (both future, i.e., predictions, and in some cases, past ones, i.e., those that already happened). The updates must be sorted by stop_sequence, and apply for all the following stops of the trip up to the next specified one. Example 1: For a trip with 20 stops, a StopTimeUpdate with arrival delay and departure delay of 0 for stop_sequence of the current stop means that the trip is exactly on time. Example 2: For the same trip instance, 3 StopTimeUpdates are provided: - delay of 5 min for stop_sequence 3 - delay of 1 min for stop_sequence 8 - delay of unspecified duration for stop_sequence 10 This will be interpreted as: - stop_sequences 3,4,5,6,7 have delay of 5 min. - stop_sequences 8,9 have delay of 1 min. - stop_sequences 10,... have unknown delay.
repeated .transit_realtime.TripUpdate.StopTimeUpdate stop_time_update = 2;boolean hasTimestamp()
Moment at which the vehicle's real-time progress was measured. In POSIX time (i.e., the number of seconds since January 1st 1970 00:00:00 UTC).
optional uint64 timestamp = 4;long getTimestamp()
Moment at which the vehicle's real-time progress was measured. In POSIX time (i.e., the number of seconds since January 1st 1970 00:00:00 UTC).
optional uint64 timestamp = 4;boolean hasDelay()
The current schedule deviation for the trip. Delay should only be specified when the prediction is given relative to some existing schedule in GTFS. Delay (in seconds) can be positive (meaning that the vehicle is late) or negative (meaning that the vehicle is ahead of schedule). Delay of 0 means that the vehicle is exactly on time. Delay information in StopTimeUpdates take precedent of trip-level delay information, such that trip-level delay is only propagated until the next stop along the trip with a StopTimeUpdate delay value specified. Feed providers are strongly encouraged to provide a TripUpdate.timestamp value indicating when the delay value was last updated, in order to evaluate the freshness of the data. NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
optional int32 delay = 5;int getDelay()
The current schedule deviation for the trip. Delay should only be specified when the prediction is given relative to some existing schedule in GTFS. Delay (in seconds) can be positive (meaning that the vehicle is late) or negative (meaning that the vehicle is ahead of schedule). Delay of 0 means that the vehicle is exactly on time. Delay information in StopTimeUpdates take precedent of trip-level delay information, such that trip-level delay is only propagated until the next stop along the trip with a StopTimeUpdate delay value specified. Feed providers are strongly encouraged to provide a TripUpdate.timestamp value indicating when the delay value was last updated, in order to evaluate the freshness of the data. NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
optional int32 delay = 5;Copyright © 2019. All rights reserved.