public enum DistanceMatrixStatus extends Enum<DistanceMatrixStatus>
Enum Constant and Description |
---|
INVALID_REQUEST
The provided request was invalid.
|
MAX_DIMENSIONS_EXCEEDED
The request contains more than 25 origins, or more than 25 destinations.
|
MAX_ELEMENTS_EXCEEDED
The product of origins and destinations exceeds the per-query limit.
|
OK
The response contains a valid result.
|
OVER_QUERY_LIMIT
Too many elements have been requested within the allowed time period.
|
REQUEST_DENIED
The service denied use of the Distance Matrix service by your web page.
|
UNKNOWN_ERROR
A Distance Matrix request could not be processed due to a server error.
|
Modifier and Type | Method and Description |
---|---|
static DistanceMatrixStatus |
fromValue(String type) |
String |
toString() |
String |
value() |
static DistanceMatrixStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DistanceMatrixStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistanceMatrixStatus INVALID_REQUEST
public static final DistanceMatrixStatus MAX_DIMENSIONS_EXCEEDED
public static final DistanceMatrixStatus MAX_ELEMENTS_EXCEEDED
public static final DistanceMatrixStatus OK
public static final DistanceMatrixStatus OVER_QUERY_LIMIT
public static final DistanceMatrixStatus REQUEST_DENIED
public static final DistanceMatrixStatus UNKNOWN_ERROR
public static DistanceMatrixStatus[] values()
for (DistanceMatrixStatus c : DistanceMatrixStatus.values()) System.out.println(c);
public static DistanceMatrixStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static DistanceMatrixStatus fromValue(String type)
public String toString()
toString
in class Enum<DistanceMatrixStatus>
Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.