docs: Update Traffic-related comments.
PiperOrigin-RevId: 334854494
This commit is contained in:
parent
7ab31c71fd
commit
793cd56ceb
|
|
@ -272,11 +272,10 @@ enum Maneuver {
|
|||
ROUNDABOUT_RIGHT = 18;
|
||||
}
|
||||
|
||||
// Traffic density indicator on a contiguous segment of a polyline.
|
||||
// Given a polyline with polyline points P_0, P_1, ... , P_N
|
||||
// (the indexing is zero-based), the SpeedReadingInterval defines an
|
||||
// interval (including the start, exclusing the end point) and describes the
|
||||
// traffic density on the respective interval using the below style categories.
|
||||
// Traffic density indicator on a contiguous segment of a polyline or path.
|
||||
// Given a path with points P_0, P_1, ... , P_N (zero-based index), the
|
||||
// SpeedReadingInterval defines an interval and describes its traffic using the
|
||||
// following categories.
|
||||
message SpeedReadingInterval {
|
||||
// The classification of polyline speed based on traffic data.
|
||||
enum Speed {
|
||||
|
|
@ -293,16 +292,14 @@ message SpeedReadingInterval {
|
|||
TRAFFIC_JAM = 3;
|
||||
}
|
||||
|
||||
// The index of the starting polyline point of the interval
|
||||
// in the ordered list of polyline points.
|
||||
// The starting index of this interval in the polyline.
|
||||
// In JSON, when the index is 0, the field will appear to be unpopulated.
|
||||
int32 start_polyline_point_index = 1;
|
||||
|
||||
// The index of the ending polyline point of the interval
|
||||
// (with off-by-one ending) in the ordered list of polyline points.
|
||||
// The ending index of this interval in the polyline.
|
||||
// In JSON, when the index is 0, the field will appear to be unpopulated.
|
||||
int32 end_polyline_point_index = 2;
|
||||
|
||||
// Traffic information speed at the interval.
|
||||
// Traffic speed in this interval.
|
||||
Speed speed = 3;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue