Interface SpeedReadingIntervalOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    SpeedReadingInterval, SpeedReadingInterval.Builder

    public interface SpeedReadingIntervalOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasStartPolylinePointIndex

        boolean hasStartPolylinePointIndex()
         The starting index of this interval in the polyline.
         
        optional int32 start_polyline_point_index = 1;
        Returns:
        Whether the startPolylinePointIndex field is set.
      • getStartPolylinePointIndex

        int getStartPolylinePointIndex()
         The starting index of this interval in the polyline.
         
        optional int32 start_polyline_point_index = 1;
        Returns:
        The startPolylinePointIndex.
      • hasEndPolylinePointIndex

        boolean hasEndPolylinePointIndex()
         The ending index of this interval in the polyline.
         
        optional int32 end_polyline_point_index = 2;
        Returns:
        Whether the endPolylinePointIndex field is set.
      • getEndPolylinePointIndex

        int getEndPolylinePointIndex()
         The ending index of this interval in the polyline.
         
        optional int32 end_polyline_point_index = 2;
        Returns:
        The endPolylinePointIndex.
      • hasSpeed

        boolean hasSpeed()
         Traffic speed in this interval.
         
        .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3;
        Returns:
        Whether the speed field is set.
      • getSpeedValue

        int getSpeedValue()
         Traffic speed in this interval.
         
        .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3;
        Returns:
        The enum numeric value on the wire for speed.
      • getSpeed

        SpeedReadingInterval.Speed getSpeed()
         Traffic speed in this interval.
         
        .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3;
        Returns:
        The speed.