public enum BatchJobErrorReason extends Enum<BatchJobErrorReason>
Java class for BatchJobError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="BatchJobError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="DISK_QUOTA_EXCEEDED"/>
<enumeration value="FAILED_TO_CREATE_JOB"/>
<enumeration value="INVALID_STATE_CHANGE"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DISK_QUOTA_EXCEEDED
The user exceeded allowed disk quota for in-flight jobs.
|
FAILED_TO_CREATE_JOB
An internal error resulted in a failure to create the job.
|
INVALID_STATE_CHANGE
The requested state change was invalid.
|
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static BatchJobErrorReason |
fromValue(String v) |
String |
value() |
static BatchJobErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BatchJobErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BatchJobErrorReason UNKNOWN
public static final BatchJobErrorReason DISK_QUOTA_EXCEEDED
public static final BatchJobErrorReason FAILED_TO_CREATE_JOB
public static final BatchJobErrorReason INVALID_STATE_CHANGE
public static BatchJobErrorReason[] values()
for (BatchJobErrorReason c : BatchJobErrorReason.values()) System.out.println(c);
public static BatchJobErrorReason 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 BatchJobErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.