com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-maps-routing-v2 Show documentation
Show all versions of proto-google-maps-routing-v2 Show documentation
Proto library for google-maps-routing
/*
* 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/route.proto
// Protobuf Java Version: 3.25.5
package com.google.maps.routing.v2;
public interface RouteLegTravelAdvisoryOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteLegTravelAdvisory)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Contains information about tolls on the specific `RouteLeg`.
* This field is only populated if we expect there are tolls on the
* `RouteLeg`. If this field is set but the estimated_price subfield is not
* populated, we expect that road contains tolls but we do not know an
* estimated price. If this field does not exist, then there is no toll on the
* `RouteLeg`.
*
*
* .google.maps.routing.v2.TollInfo toll_info = 1;
*
* @return Whether the tollInfo field is set.
*/
boolean hasTollInfo();
/**
*
*
*
* Contains information about tolls on the specific `RouteLeg`.
* This field is only populated if we expect there are tolls on the
* `RouteLeg`. If this field is set but the estimated_price subfield is not
* populated, we expect that road contains tolls but we do not know an
* estimated price. If this field does not exist, then there is no toll on the
* `RouteLeg`.
*
*
* .google.maps.routing.v2.TollInfo toll_info = 1;
*
* @return The tollInfo.
*/
com.google.maps.routing.v2.TollInfo getTollInfo();
/**
*
*
*
* Contains information about tolls on the specific `RouteLeg`.
* This field is only populated if we expect there are tolls on the
* `RouteLeg`. If this field is set but the estimated_price subfield is not
* populated, we expect that road contains tolls but we do not know an
* estimated price. If this field does not exist, then there is no toll on the
* `RouteLeg`.
*
*
* .google.maps.routing.v2.TollInfo toll_info = 1;
*/
com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder();
/**
*
*
*
* Speed reading intervals detailing traffic density. Applicable in case of
* `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
* The intervals cover the entire polyline of the `RouteLeg` without overlap.
* The start point of a specified interval is the same as the end point of the
* preceding interval.
*
* Example:
*
* polyline: A ---- B ---- C ---- D ---- E ---- F ---- G
* speed_reading_intervals: [A,C), [C,D), [D,G).
*
*
* repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
*/
java.util.List getSpeedReadingIntervalsList();
/**
*
*
*
* Speed reading intervals detailing traffic density. Applicable in case of
* `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
* The intervals cover the entire polyline of the `RouteLeg` without overlap.
* The start point of a specified interval is the same as the end point of the
* preceding interval.
*
* Example:
*
* polyline: A ---- B ---- C ---- D ---- E ---- F ---- G
* speed_reading_intervals: [A,C), [C,D), [D,G).
*
*
* repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
*/
com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index);
/**
*
*
*
* Speed reading intervals detailing traffic density. Applicable in case of
* `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
* The intervals cover the entire polyline of the `RouteLeg` without overlap.
* The start point of a specified interval is the same as the end point of the
* preceding interval.
*
* Example:
*
* polyline: A ---- B ---- C ---- D ---- E ---- F ---- G
* speed_reading_intervals: [A,C), [C,D), [D,G).
*
*
* repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
*/
int getSpeedReadingIntervalsCount();
/**
*
*
*
* Speed reading intervals detailing traffic density. Applicable in case of
* `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
* The intervals cover the entire polyline of the `RouteLeg` without overlap.
* The start point of a specified interval is the same as the end point of the
* preceding interval.
*
* Example:
*
* polyline: A ---- B ---- C ---- D ---- E ---- F ---- G
* speed_reading_intervals: [A,C), [C,D), [D,G).
*
*
* repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
*/
java.util.List extends com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>
getSpeedReadingIntervalsOrBuilderList();
/**
*
*
*
* Speed reading intervals detailing traffic density. Applicable in case of
* `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
* The intervals cover the entire polyline of the `RouteLeg` without overlap.
* The start point of a specified interval is the same as the end point of the
* preceding interval.
*
* Example:
*
* polyline: A ---- B ---- C ---- D ---- E ---- F ---- G
* speed_reading_intervals: [A,C), [C,D), [D,G).
*
*
* repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
*/
com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingIntervalsOrBuilder(
int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy