com.google.maps.routing.v2.PolylineOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/maps/routing/v2/polyline.proto
// Protobuf Java Version: 3.25.3
package com.google.maps.routing.v2;
public interface PolylineOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.maps.routing.v2.Polyline)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The string encoding of the polyline using the [polyline encoding
* algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
*
*
* string encoded_polyline = 1;
*
* @return Whether the encodedPolyline field is set.
*/
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;
*
* @return The encodedPolyline.
*/
java.lang.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;
*
* @return The bytes for encodedPolyline.
*/
com.google.protobuf.ByteString getEncodedPolylineBytes();
/**
*
*
*
* 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;
*
* @return Whether the geoJsonLinestring field is set.
*/
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;
*
* @return The geoJsonLinestring.
*/
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;
*/
com.google.protobuf.StructOrBuilder getGeoJsonLinestringOrBuilder();
com.google.maps.routing.v2.Polyline.PolylineTypeCase getPolylineTypeCase();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy