public enum LocationCriterionServiceErrorReason extends Enum<LocationCriterionServiceErrorReason>
Java class for LocationCriterionServiceError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LocationCriterionServiceError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="REQUIRED_LOCATION_CRITERION_PREDICATE_MISSING"/>
<enumeration value="TOO_MANY_LOCATION_CRITERION_PREDICATES_SPECIFIED"/>
<enumeration value="INVALID_COUNTRY_CODE"/>
<enumeration value="LOCATION_NAME_TOO_LARGE"/>
<enumeration value="LOCATION_CRITERION_SERVICE_ERROR"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
INVALID_COUNTRY_CODE |
LOCATION_CRITERION_SERVICE_ERROR
Used for return value only.
|
LOCATION_NAME_TOO_LARGE |
REQUIRED_LOCATION_CRITERION_PREDICATE_MISSING |
TOO_MANY_LOCATION_CRITERION_PREDICATES_SPECIFIED |
| Modifier and Type | Method and Description |
|---|---|
static LocationCriterionServiceErrorReason |
fromValue(String v) |
String |
value() |
static LocationCriterionServiceErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocationCriterionServiceErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocationCriterionServiceErrorReason REQUIRED_LOCATION_CRITERION_PREDICATE_MISSING
public static final LocationCriterionServiceErrorReason TOO_MANY_LOCATION_CRITERION_PREDICATES_SPECIFIED
public static final LocationCriterionServiceErrorReason INVALID_COUNTRY_CODE
public static final LocationCriterionServiceErrorReason LOCATION_NAME_TOO_LARGE
public static final LocationCriterionServiceErrorReason LOCATION_CRITERION_SERVICE_ERROR
public static LocationCriterionServiceErrorReason[] values()
for (LocationCriterionServiceErrorReason c : LocationCriterionServiceErrorReason.values()) System.out.println(c);
public static LocationCriterionServiceErrorReason 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 LocationCriterionServiceErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.