public enum RequiredNumberErrorReason extends Enum<RequiredNumberErrorReason>
Java class for RequiredNumberError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RequiredNumberError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="REQUIRED"/>
<enumeration value="TOO_LARGE"/>
<enumeration value="TOO_SMALL"/>
<enumeration value="TOO_LARGE_WITH_DETAILS"/>
<enumeration value="TOO_SMALL_WITH_DETAILS"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
REQUIRED |
TOO_LARGE |
TOO_LARGE_WITH_DETAILS |
TOO_SMALL |
TOO_SMALL_WITH_DETAILS |
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static RequiredNumberErrorReason |
fromValue(String v) |
String |
value() |
static RequiredNumberErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequiredNumberErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequiredNumberErrorReason REQUIRED
public static final RequiredNumberErrorReason TOO_LARGE
public static final RequiredNumberErrorReason TOO_SMALL
public static final RequiredNumberErrorReason TOO_LARGE_WITH_DETAILS
public static final RequiredNumberErrorReason TOO_SMALL_WITH_DETAILS
public static final RequiredNumberErrorReason UNKNOWN
public static RequiredNumberErrorReason[] values()
for (RequiredNumberErrorReason c : RequiredNumberErrorReason.values()) System.out.println(c);
public static RequiredNumberErrorReason 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 RequiredNumberErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.