public enum BatchJobProcessingErrorReason extends Enum<BatchJobProcessingErrorReason>
Java class for BatchJobProcessingError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="BatchJobProcessingError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="INPUT_FILE_CORRUPTION"/>
<enumeration value="INTERNAL_ERROR"/>
<enumeration value="DEADLINE_EXCEEDED"/>
<enumeration value="FILE_FORMAT_ERROR"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DEADLINE_EXCEEDED
Unable to complete a batch in the allotted time.
|
FILE_FORMAT_ERROR
The input file had a format error.
|
INPUT_FILE_CORRUPTION
The input file was corrupted.
|
INTERNAL_ERROR
An internal API error occurred while processing the batch.
|
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static BatchJobProcessingErrorReason |
fromValue(String v) |
String |
value() |
static BatchJobProcessingErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BatchJobProcessingErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BatchJobProcessingErrorReason UNKNOWN
public static final BatchJobProcessingErrorReason INPUT_FILE_CORRUPTION
public static final BatchJobProcessingErrorReason INTERNAL_ERROR
public static final BatchJobProcessingErrorReason DEADLINE_EXCEEDED
public static final BatchJobProcessingErrorReason FILE_FORMAT_ERROR
public static BatchJobProcessingErrorReason[] values()
for (BatchJobProcessingErrorReason c : BatchJobProcessingErrorReason.values()) System.out.println(c);
public static BatchJobProcessingErrorReason 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 BatchJobProcessingErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.