Package com.google.maps.routing.v2
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getEndPolylinePointIndex()
The ending index of this interval in the polyline.SpeedReadingInterval.Speed
getSpeed()
Traffic speed in this interval.SpeedReadingInterval.SpeedTypeCase
getSpeedTypeCase()
int
getSpeedValue()
Traffic speed in this interval.int
getStartPolylinePointIndex()
The starting index of this interval in the polyline.boolean
hasEndPolylinePointIndex()
The ending index of this interval in the polyline.boolean
hasSpeed()
Traffic speed in this interval.boolean
hasStartPolylinePointIndex()
The starting index of this interval in the polyline.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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.
-
getSpeedTypeCase
SpeedReadingInterval.SpeedTypeCase getSpeedTypeCase()
-
-