public enum DistanceMatrixElementStatus extends java.lang.Enum<DistanceMatrixElementStatus>
DistanceMatrixElement
.Enum Constant and Description |
---|
NOT_FOUND
NOT_FOUND indicates that the origin and/or destination of this pairing could not be
geocoded. |
OK
OK indicates the response contains a valid result. |
ZERO_RESULTS
ZERO_RESULTS indicates no route could be found between the origin and destination. |
Modifier and Type | Method and Description |
---|---|
static DistanceMatrixElementStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DistanceMatrixElementStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistanceMatrixElementStatus OK
OK
indicates the response contains a valid result.public static final DistanceMatrixElementStatus NOT_FOUND
NOT_FOUND
indicates that the origin and/or destination of this pairing could not be
geocoded.public static final DistanceMatrixElementStatus ZERO_RESULTS
ZERO_RESULTS
indicates no route could be found between the origin and destination.public static DistanceMatrixElementStatus[] values()
for (DistanceMatrixElementStatus c : DistanceMatrixElementStatus.values()) System.out.println(c);
public static DistanceMatrixElementStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null