Interface PolylineOrBuilder

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

@Generated public interface PolylineOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The string encoding of the polyline using the [polyline encoding algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    com.google.protobuf.ByteString
    The string encoding of the polyline using the [polyline encoding algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    com.google.protobuf.Struct
    Specifies a polyline using the [GeoJSON LineString format](https://tools.ietf.org/html/rfc7946#section-3.1.4).
    com.google.protobuf.StructOrBuilder
    Specifies a polyline using the [GeoJSON LineString format](https://tools.ietf.org/html/rfc7946#section-3.1.4).
     
    boolean
    The string encoding of the polyline using the [polyline encoding algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    boolean
    Specifies a polyline using the [GeoJSON LineString format](https://tools.ietf.org/html/rfc7946#section-3.1.4).

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasEncodedPolyline

      boolean hasEncodedPolyline()
       The string encoding of the polyline using the [polyline encoding
       algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
       
      string encoded_polyline = 1;
      Returns:
      Whether the encodedPolyline field is set.
    • getEncodedPolyline

      String getEncodedPolyline()
       The string encoding of the polyline using the [polyline encoding
       algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
       
      string encoded_polyline = 1;
      Returns:
      The encodedPolyline.
    • getEncodedPolylineBytes

      com.google.protobuf.ByteString getEncodedPolylineBytes()
       The string encoding of the polyline using the [polyline encoding
       algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
       
      string encoded_polyline = 1;
      Returns:
      The bytes for encodedPolyline.
    • hasGeoJsonLinestring

      boolean hasGeoJsonLinestring()
       Specifies a polyline using the [GeoJSON LineString
       format](https://tools.ietf.org/html/rfc7946#section-3.1.4).
       
      .google.protobuf.Struct geo_json_linestring = 2;
      Returns:
      Whether the geoJsonLinestring field is set.
    • getGeoJsonLinestring

      com.google.protobuf.Struct getGeoJsonLinestring()
       Specifies a polyline using the [GeoJSON LineString
       format](https://tools.ietf.org/html/rfc7946#section-3.1.4).
       
      .google.protobuf.Struct geo_json_linestring = 2;
      Returns:
      The geoJsonLinestring.
    • getGeoJsonLinestringOrBuilder

      com.google.protobuf.StructOrBuilder getGeoJsonLinestringOrBuilder()
       Specifies a polyline using the [GeoJSON LineString
       format](https://tools.ietf.org/html/rfc7946#section-3.1.4).
       
      .google.protobuf.Struct geo_json_linestring = 2;
    • getPolylineTypeCase

      Polyline.PolylineTypeCase getPolylineTypeCase()