|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DistanceMatrixStatus>
com.google.gwt.maps.client.services.DistanceMatrixStatus
public enum DistanceMatrixStatus
The top-level status about the request in general returned by the DistanceMatrixService upon completion of a distance matrix request.
See DistanceMatrixStatus API Doc
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic String value()
public static DistanceMatrixStatus fromValue(String type)
public String toString()
toString
in class Enum<DistanceMatrixStatus>
|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |