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