AI-generated Key Takeaways
- 
          
SpeedReadingIntervalindicates traffic density on a path segment using start and end points. - 
          
It classifies traffic speed into categories:
NORMAL,SLOW, andTRAFFIC_JAM. - 
          
The interval is represented in JSON format including start/end point indexes and speed information.
 
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.
| JSON representation | 
|---|
{ "startPolylinePointIndex": integer, "endPolylinePointIndex": integer, // Union field  | 
            
| Fields | |
|---|---|
startPolylinePointIndex | 
              
                 
 The starting index of this interval in the polyline.  | 
            
endPolylinePointIndex | 
              
                 
 The ending index of this interval in the polyline.  | 
            
Union field speed_type. The type of speed in this interval. speed_type can be only one of the following: | 
            |
speed | 
              
                 
 Traffic speed in this interval.  | 
            
Speed
The classification of polyline speed based on traffic data.
| Enums | |
|---|---|
SPEED_UNSPECIFIED | 
                Default value. This value is unused. | 
NORMAL | 
                Normal speed, no traffic delays. | 
SLOW | 
                Slowdown detected, medium amount of traffic. | 
TRAFFIC_JAM | 
                Traffic delays. |