Package com.google.maps.routing.v2
Interface PolylineDetails.NarrowRoadInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PolylineDetails.NarrowRoadInfo,PolylineDetails.NarrowRoadInfo.Builder
- Enclosing class:
- PolylineDetails
public static interface PolylineDetails.NarrowRoadInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.intOutput only.The location of narrow road related information along the polyline.The location of narrow road related information along the polyline.booleanThe location of narrow road related information along the polyline.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getNarrowRoadPresenceValue
int getNarrowRoadPresenceValue()Output only. Denotes whether a narrow road exists for a given stretch of the polyline.
.google.maps.routing.v2.PolylineDetails.RoadFeatureState narrow_road_presence = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for narrowRoadPresence.
-
getNarrowRoadPresence
PolylineDetails.RoadFeatureState getNarrowRoadPresence()Output only. Denotes whether a narrow road exists for a given stretch of the polyline.
.google.maps.routing.v2.PolylineDetails.RoadFeatureState narrow_road_presence = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The narrowRoadPresence.
-
hasPolylinePointIndex
boolean hasPolylinePointIndex()The location of narrow road related information along the polyline.
.google.maps.routing.v2.PolylineDetails.PolylinePointIndex polyline_point_index = 2;- Returns:
- Whether the polylinePointIndex field is set.
-
getPolylinePointIndex
PolylineDetails.PolylinePointIndex getPolylinePointIndex()The location of narrow road related information along the polyline.
.google.maps.routing.v2.PolylineDetails.PolylinePointIndex polyline_point_index = 2;- Returns:
- The polylinePointIndex.
-
getPolylinePointIndexOrBuilder
PolylineDetails.PolylinePointIndexOrBuilder getPolylinePointIndexOrBuilder()The location of narrow road related information along the polyline.
.google.maps.routing.v2.PolylineDetails.PolylinePointIndex polyline_point_index = 2;
-