Class ComputeRoutesResponse
ComputeRoutes the response message.
Implements
Namespace: Google.Maps.Routing.V2
Assembly: Google.Maps.Routing.V2.dll
Syntax
public sealed class ComputeRoutesResponse : IMessage<ComputeRoutesResponse>, IEquatable<ComputeRoutesResponse>, IDeepCloneable<ComputeRoutesResponse>, IBufferMessage, IMessage
Constructors
ComputeRoutesResponse()
Declaration
public ComputeRoutesResponse()
ComputeRoutesResponse(ComputeRoutesResponse)
Declaration
public ComputeRoutesResponse(ComputeRoutesResponse other)
Parameters
Type | Name | Description |
---|---|---|
ComputeRoutesResponse | other |
Properties
FallbackInfo
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.
Declaration
public FallbackInfo FallbackInfo { get; set; }
Property Value
Type | Description |
---|---|
FallbackInfo |
GeocodingResults
Contains geocoding response info for waypoints specified as addresses.
Declaration
public GeocodingResults GeocodingResults { get; set; }
Property Value
Type | Description |
---|---|
GeocodingResults |
Routes
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.
Declaration
public RepeatedField<Route> Routes { get; }
Property Value
Type | Description |
---|---|
RepeatedField<Route> |