Class GoogleMapsDirectionsStatusCodes


  • public class GoogleMapsDirectionsStatusCodes
    extends java.lang.Object
    Google Maps Directions API - Status Codes
    Since:
    3.1.3
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String INVALID_REQUEST
      Indicates that the provided request was invalid.
      static java.lang.String MAX_ROUTE_LENGTH_EXCEEDED
      Indicates the requested route is too long and cannot be processed.
      static java.lang.String MAX_WAYPOINTS_EXCEEDED
      Indicates that too many waypoints were provided in the request.
      static java.lang.String NOT_FOUND
      Indicates at least one of the locations specified in the request's origin, destination, or waypoints could not be geocoded
      static java.lang.String OK
      Indicates the response contains a valid result
      static java.lang.String OVER_DAILY_LIMIT
      Indicates any of the following: The API key is missing or invalid Billing has not been enabled on your account A self-imposed usage cap has been exceeded The provided method of payment is no longer valid (for example, a credit card has expired)
      static java.lang.String OVER_QUERY_LIMIT
      Indicates the service has received too many requests from your application within the allowed time period.
      static java.lang.String REQUEST_DENIED
      Indicates that the service denied use of the directions service by your application
      static java.lang.String UNKNOWN_ERROR
      Indicates a directions request could not be processed due to a server error.
      static java.lang.String ZERO_RESULTS
      Indicates no route could be found between the origin and destination
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • OK

        public static final java.lang.String OK
        Indicates the response contains a valid result
        See Also:
        Constant Field Values
      • NOT_FOUND

        public static final java.lang.String NOT_FOUND
        Indicates at least one of the locations specified in the request's origin, destination, or waypoints could not be geocoded
        See Also:
        Constant Field Values
      • ZERO_RESULTS

        public static final java.lang.String ZERO_RESULTS
        Indicates no route could be found between the origin and destination
        See Also:
        Constant Field Values
      • MAX_WAYPOINTS_EXCEEDED

        public static final java.lang.String MAX_WAYPOINTS_EXCEEDED
        Indicates that too many waypoints were provided in the request. For applications using the Directions API as a web service, or the directions service in the Maps JavaScript API, the maximum allowed number of waypoints is 23, plus the origin and destination
        See Also:
        Constant Field Values
      • MAX_ROUTE_LENGTH_EXCEEDED

        public static final java.lang.String MAX_ROUTE_LENGTH_EXCEEDED
        Indicates the requested route is too long and cannot be processed. This error occurs when more complex directions are returned. Try reducing the number of waypoints, turns, or instructions
        See Also:
        Constant Field Values
      • INVALID_REQUEST

        public static final java.lang.String INVALID_REQUEST
        Indicates that the provided request was invalid. Common causes of this status include an invalid parameter or parameter value
        See Also:
        Constant Field Values
      • OVER_DAILY_LIMIT

        public static final java.lang.String OVER_DAILY_LIMIT
        Indicates any of the following:
        • The API key is missing or invalid
        • Billing has not been enabled on your account
        • A self-imposed usage cap has been exceeded
        • The provided method of payment is no longer valid (for example, a credit card has expired)
        See Also:
        Constant Field Values
      • OVER_QUERY_LIMIT

        public static final java.lang.String OVER_QUERY_LIMIT
        Indicates the service has received too many requests from your application within the allowed time period.
        See Also:
        Constant Field Values
      • REQUEST_DENIED

        public static final java.lang.String REQUEST_DENIED
        Indicates that the service denied use of the directions service by your application
        See Also:
        Constant Field Values
      • UNKNOWN_ERROR

        public static final java.lang.String UNKNOWN_ERROR
        Indicates a directions request could not be processed due to a server error. The request may succeed if you try again
        See Also:
        Constant Field Values
    • Constructor Detail

      • GoogleMapsDirectionsStatusCodes

        public GoogleMapsDirectionsStatusCodes()