public enum LoadJobState extends Enum<LoadJobState>
Enum Constant and Description |
---|
FAILED |
LOADING |
STOPPED |
SUCCEEDED |
VERIFYING |
Modifier and Type | Method and Description |
---|---|
static LoadJobState |
fromProto(Job.PJobState jobStatus)
Convert PJobStatus to LoadStatus.
|
static Job.PJobState |
toProto(LoadJobState state)
Convert LoadStatus to PJobStatus.
|
static LoadJobState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadJobState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadJobState LOADING
public static final LoadJobState VERIFYING
public static final LoadJobState STOPPED
public static final LoadJobState SUCCEEDED
public static final LoadJobState FAILED
public static LoadJobState[] values()
for (LoadJobState c : LoadJobState.values()) System.out.println(c);
public static LoadJobState 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 static Job.PJobState toProto(LoadJobState state)
state
- load job statepublic static LoadJobState fromProto(Job.PJobState jobStatus)
jobStatus
- protobuf job statusCopyright © 2023. All Rights Reserved.