The Protobuf object to read from
The end position of the message in the buffer
Optional
endThe stop selector of the last stop of the original trip that is to be affected by this modification.
The selection is inclusive, so if only one stop_time is replaced by that modification, start_stop_selector
and end_stop_selector
must be equivalent.
If no stop_time is replaced, end_stop_selector
must not be provided. It's otherwise required.
Optional
lastThis timestamp identifies the moment when the modification has last been changed. In POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC).
The number of seconds of delay to add to all departure and arrival times following the end of this modification. If multiple modifications apply to the same trip, the delays accumulate as the trip advances.
A list of replacement stops, replacing those of the original trip. The length of the new stop times may be less, the same, or greater than the number of replaced stop times.
Optional
serviceAn id
value from the FeedEntity
message that contains the Alert
describing this Modification
for user-facing communication.
Optional
startThe stop selector of the first stop_time of the original trip that is to be affected by this modification.
Used in conjuction with end_stop_selector
.
start_stop_selector
is required and is used to define the reference stop used with travel_time_to_stop
.
A
Modification
message replaces a span of n stop times from each affected trip starting atstart_stop_selector
.