public interface ComputeRoutesResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
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.
|
FallbackInfoOrBuilder |
getFallbackInfoOrBuilder()
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.
|
GeocodingResults |
getGeocodingResults()
Contains geocoding response info for waypoints specified as addresses.
|
GeocodingResultsOrBuilder |
getGeocodingResultsOrBuilder()
Contains geocoding response info for waypoints specified as addresses.
|
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.
|
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.
|
List<Route> |
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.
|
RouteOrBuilder |
getRoutesOrBuilder(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.
|
List<? extends RouteOrBuilder> |
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.
|
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.
|
boolean |
hasGeocodingResults()
Contains geocoding response info for waypoints specified as addresses.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<Route> 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;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;List<? extends RouteOrBuilder> 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;RouteOrBuilder getRoutesOrBuilder(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;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;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;FallbackInfoOrBuilder getFallbackInfoOrBuilder()
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;boolean hasGeocodingResults()
Contains geocoding response info for waypoints specified as addresses.
.google.maps.routing.v2.GeocodingResults geocoding_results = 3;GeocodingResults getGeocodingResults()
Contains geocoding response info for waypoints specified as addresses.
.google.maps.routing.v2.GeocodingResults geocoding_results = 3;GeocodingResultsOrBuilder getGeocodingResultsOrBuilder()
Contains geocoding response info for waypoints specified as addresses.
.google.maps.routing.v2.GeocodingResults geocoding_results = 3;Copyright © 2025 Google LLC. All rights reserved.