Interface ComputeRoutesResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ComputeRoutesResponse, ComputeRoutesResponse.Builder

@Generated public interface ComputeRoutesResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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.
    Contains geocoding response info for waypoints specified as addresses.
    Contains geocoding response info for waypoints specified as addresses.
    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
    Contains an array of computed routes (up to three) when you specify `compute_alternatives_routes`, and contains just one route when you don't.
    Contains an array of computed routes (up to three) when you specify `compute_alternatives_routes`, and contains just one route when you don't.
    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>
    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
    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
    Contains geocoding response info for waypoints specified as addresses.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getRoutesList

      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.
       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;
    • getRoutes

      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;
    • getRoutesCount

      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;
    • getRoutesOrBuilderList

      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;
    • getRoutesOrBuilder

      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;
    • hasFallbackInfo

      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;
      Returns:
      Whether the fallbackInfo field is set.
    • getFallbackInfo

      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;
      Returns:
      The fallbackInfo.
    • getFallbackInfoOrBuilder

      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;
    • hasGeocodingResults

      boolean hasGeocodingResults()
       Contains geocoding response info for waypoints specified as addresses.
       
      .google.maps.routing.v2.GeocodingResults geocoding_results = 3;
      Returns:
      Whether the geocodingResults field is set.
    • getGeocodingResults

      GeocodingResults getGeocodingResults()
       Contains geocoding response info for waypoints specified as addresses.
       
      .google.maps.routing.v2.GeocodingResults geocoding_results = 3;
      Returns:
      The geocodingResults.
    • getGeocodingResultsOrBuilder

      GeocodingResultsOrBuilder getGeocodingResultsOrBuilder()
       Contains geocoding response info for waypoints specified as addresses.
       
      .google.maps.routing.v2.GeocodingResults geocoding_results = 3;