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 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;