All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.maps.routing.v2.ComputeRoutesResponseOrBuilder 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/routes_service.proto

// Protobuf Java Version: 3.25.3
package com.google.maps.routing.v2;

public interface ComputeRoutesResponseOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.ComputeRoutesResponse)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Contains an array of computed routes (up to three) when you specify
   * `compute_alternatives_routes`, and contains just one route when you don't.
   * When this array contains multiple entries, the first one is the most
   * recommended route. If the array is empty, then it means no route could be
   * found.
   * 
* * repeated .google.maps.routing.v2.Route routes = 1; */ java.util.List getRoutesList(); /** * * *
   * Contains an array of computed routes (up to three) when you specify
   * `compute_alternatives_routes`, and contains just one route when you don't.
   * When this array contains multiple entries, the first one is the most
   * recommended route. If the array is empty, then it means no route could be
   * found.
   * 
* * repeated .google.maps.routing.v2.Route routes = 1; */ com.google.maps.routing.v2.Route getRoutes(int index); /** * * *
   * Contains an array of computed routes (up to three) when you specify
   * `compute_alternatives_routes`, and contains just one route when you don't.
   * When this array contains multiple entries, the first one is the most
   * recommended route. If the array is empty, then it means no route could be
   * found.
   * 
* * repeated .google.maps.routing.v2.Route routes = 1; */ int getRoutesCount(); /** * * *
   * Contains an array of computed routes (up to three) when you specify
   * `compute_alternatives_routes`, and contains just one route when you don't.
   * When this array contains multiple entries, the first one is the most
   * recommended route. If the array is empty, then it means no route could be
   * found.
   * 
* * repeated .google.maps.routing.v2.Route routes = 1; */ java.util.List getRoutesOrBuilderList(); /** * * *
   * Contains an array of computed routes (up to three) when you specify
   * `compute_alternatives_routes`, and contains just one route when you don't.
   * When this array contains multiple entries, the first one is the most
   * recommended route. If the array is empty, then it means no route could be
   * found.
   * 
* * repeated .google.maps.routing.v2.Route routes = 1; */ com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index); /** * * *
   * In some cases when the server is not able to compute the route results with
   * all of the input preferences, it may fallback to using a different way of
   * computation. When fallback mode is used, this field contains detailed info
   * about the fallback response. Otherwise this field is unset.
   * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; * * @return Whether the fallbackInfo field is set. */ boolean hasFallbackInfo(); /** * * *
   * In some cases when the server is not able to compute the route results with
   * all of the input preferences, it may fallback to using a different way of
   * computation. When fallback mode is used, this field contains detailed info
   * about the fallback response. Otherwise this field is unset.
   * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; * * @return The fallbackInfo. */ com.google.maps.routing.v2.FallbackInfo getFallbackInfo(); /** * * *
   * In some cases when the server is not able to compute the route results with
   * all of the input preferences, it may fallback to using a different way of
   * computation. When fallback mode is used, this field contains detailed info
   * about the fallback response. Otherwise this field is unset.
   * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; */ com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder(); /** * * *
   * Contains geocoding response info for waypoints specified as addresses.
   * 
* * .google.maps.routing.v2.GeocodingResults geocoding_results = 3; * * @return Whether the geocodingResults field is set. */ boolean hasGeocodingResults(); /** * * *
   * Contains geocoding response info for waypoints specified as addresses.
   * 
* * .google.maps.routing.v2.GeocodingResults geocoding_results = 3; * * @return The geocodingResults. */ com.google.maps.routing.v2.GeocodingResults getGeocodingResults(); /** * * *
   * Contains geocoding response info for waypoints specified as addresses.
   * 
* * .google.maps.routing.v2.GeocodingResults geocoding_results = 3; */ com.google.maps.routing.v2.GeocodingResultsOrBuilder getGeocodingResultsOrBuilder(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy