Class PolylineDetails

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.maps.routing.v2.PolylineDetails
All Implemented Interfaces:
PolylineDetailsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class PolylineDetails extends com.google.protobuf.GeneratedMessage implements PolylineDetailsOrBuilder
 Details corresponding to a given index or contiguous segment of a polyline.
 Given a polyline with points P_0, P_1, ... , P_N (zero-based index), the
 `PolylineDetails` defines an interval and associated metadata.
 
Protobuf type google.maps.routing.v2.PolylineDetails
See Also:
  • Field Details

    • FLYOVER_INFO_FIELD_NUMBER

      public static final int FLYOVER_INFO_FIELD_NUMBER
      See Also:
    • NARROW_ROAD_INFO_FIELD_NUMBER

      public static final int NARROW_ROAD_INFO_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getFlyoverInfoList

      public List<PolylineDetails.FlyoverInfo> getFlyoverInfoList()
       Flyover details along the polyline.
       
      repeated .google.maps.routing.v2.PolylineDetails.FlyoverInfo flyover_info = 12;
      Specified by:
      getFlyoverInfoList in interface PolylineDetailsOrBuilder
    • getFlyoverInfoOrBuilderList

      public List<? extends PolylineDetails.FlyoverInfoOrBuilder> getFlyoverInfoOrBuilderList()
       Flyover details along the polyline.
       
      repeated .google.maps.routing.v2.PolylineDetails.FlyoverInfo flyover_info = 12;
      Specified by:
      getFlyoverInfoOrBuilderList in interface PolylineDetailsOrBuilder
    • getFlyoverInfoCount

      public int getFlyoverInfoCount()
       Flyover details along the polyline.
       
      repeated .google.maps.routing.v2.PolylineDetails.FlyoverInfo flyover_info = 12;
      Specified by:
      getFlyoverInfoCount in interface PolylineDetailsOrBuilder
    • getFlyoverInfo

      public PolylineDetails.FlyoverInfo getFlyoverInfo(int index)
       Flyover details along the polyline.
       
      repeated .google.maps.routing.v2.PolylineDetails.FlyoverInfo flyover_info = 12;
      Specified by:
      getFlyoverInfo in interface PolylineDetailsOrBuilder
    • getFlyoverInfoOrBuilder

      public PolylineDetails.FlyoverInfoOrBuilder getFlyoverInfoOrBuilder(int index)
       Flyover details along the polyline.
       
      repeated .google.maps.routing.v2.PolylineDetails.FlyoverInfo flyover_info = 12;
      Specified by:
      getFlyoverInfoOrBuilder in interface PolylineDetailsOrBuilder
    • getNarrowRoadInfoList

      public List<PolylineDetails.NarrowRoadInfo> getNarrowRoadInfoList()
       Narrow road details along the polyline.
       
      repeated .google.maps.routing.v2.PolylineDetails.NarrowRoadInfo narrow_road_info = 13;
      Specified by:
      getNarrowRoadInfoList in interface PolylineDetailsOrBuilder
    • getNarrowRoadInfoOrBuilderList

      public List<? extends PolylineDetails.NarrowRoadInfoOrBuilder> getNarrowRoadInfoOrBuilderList()
       Narrow road details along the polyline.
       
      repeated .google.maps.routing.v2.PolylineDetails.NarrowRoadInfo narrow_road_info = 13;
      Specified by:
      getNarrowRoadInfoOrBuilderList in interface PolylineDetailsOrBuilder
    • getNarrowRoadInfoCount

      public int getNarrowRoadInfoCount()
       Narrow road details along the polyline.
       
      repeated .google.maps.routing.v2.PolylineDetails.NarrowRoadInfo narrow_road_info = 13;
      Specified by:
      getNarrowRoadInfoCount in interface PolylineDetailsOrBuilder
    • getNarrowRoadInfo

      public PolylineDetails.NarrowRoadInfo getNarrowRoadInfo(int index)
       Narrow road details along the polyline.
       
      repeated .google.maps.routing.v2.PolylineDetails.NarrowRoadInfo narrow_road_info = 13;
      Specified by:
      getNarrowRoadInfo in interface PolylineDetailsOrBuilder
    • getNarrowRoadInfoOrBuilder

      public PolylineDetails.NarrowRoadInfoOrBuilder getNarrowRoadInfoOrBuilder(int index)
       Narrow road details along the polyline.
       
      repeated .google.maps.routing.v2.PolylineDetails.NarrowRoadInfo narrow_road_info = 13;
      Specified by:
      getNarrowRoadInfoOrBuilder in interface PolylineDetailsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static PolylineDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolylineDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolylineDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolylineDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolylineDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolylineDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolylineDetails parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PolylineDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PolylineDetails parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PolylineDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PolylineDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PolylineDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public PolylineDetails.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PolylineDetails.Builder newBuilder()
    • newBuilder

      public static PolylineDetails.Builder newBuilder(PolylineDetails prototype)
    • toBuilder

      public PolylineDetails.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PolylineDetails.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static PolylineDetails getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PolylineDetails> parser()
    • getParserForType

      public com.google.protobuf.Parser<PolylineDetails> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public PolylineDetails getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder