public enum SizeLimitErrorReason extends Enum<SizeLimitErrorReason>
Java class for SizeLimitError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="SizeLimitError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="REQUEST_SIZE_LIMIT_EXCEEDED"/>
<enumeration value="RESPONSE_SIZE_LIMIT_EXCEEDED"/>
<enumeration value="INTERNAL_STORAGE_ERROR"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
INTERNAL_STORAGE_ERROR
The account is too large to load.
|
REQUEST_SIZE_LIMIT_EXCEEDED
The number of entries in the request exceeds the system limit.
|
RESPONSE_SIZE_LIMIT_EXCEEDED
The number of entries in the response exceeds the system limit.
|
UNKNOWN
Used for return value only.
|
| Modifier and Type | Method and Description |
|---|---|
static SizeLimitErrorReason |
fromValue(String v) |
String |
value() |
static SizeLimitErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SizeLimitErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SizeLimitErrorReason REQUEST_SIZE_LIMIT_EXCEEDED
public static final SizeLimitErrorReason RESPONSE_SIZE_LIMIT_EXCEEDED
public static final SizeLimitErrorReason INTERNAL_STORAGE_ERROR
public static final SizeLimitErrorReason UNKNOWN
public static SizeLimitErrorReason[] values()
for (SizeLimitErrorReason c : SizeLimitErrorReason.values()) System.out.println(c);
public static SizeLimitErrorReason 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 SizeLimitErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.