public static enum DlpJob.JobState extends java.lang.Enum<DlpJob.JobState> implements ProtocolMessageEnum
google.privacy.dlp.v2beta2.DlpJob.JobState| Enum Constant and Description |
|---|
CANCELED
The job was canceled before it could complete.
|
DONE
The job is no longer running.
|
FAILED
The job had an error and did not complete.
|
JOB_STATE_UNSPECIFIED
JOB_STATE_UNSPECIFIED = 0; |
PENDING
The job has not yet started.
|
RUNNING
The job is currently running.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CANCELED_VALUE
The job was canceled before it could complete.
|
static int |
DONE_VALUE
The job is no longer running.
|
static int |
FAILED_VALUE
The job had an error and did not complete.
|
static int |
JOB_STATE_UNSPECIFIED_VALUE
JOB_STATE_UNSPECIFIED = 0; |
static int |
PENDING_VALUE
The job has not yet started.
|
static int |
RUNNING_VALUE
The job is currently running.
|
| Modifier and Type | Method and Description |
|---|---|
static DlpJob.JobState |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<DlpJob.JobState> |
internalGetValueMap() |
static DlpJob.JobState |
valueOf(Descriptors.EnumValueDescriptor desc) |
static DlpJob.JobState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DlpJob.JobState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DlpJob.JobState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DlpJob.JobState JOB_STATE_UNSPECIFIED
JOB_STATE_UNSPECIFIED = 0;public static final DlpJob.JobState PENDING
The job has not yet started.
PENDING = 1;public static final DlpJob.JobState RUNNING
The job is currently running.
RUNNING = 2;public static final DlpJob.JobState DONE
The job is no longer running.
DONE = 3;public static final DlpJob.JobState CANCELED
The job was canceled before it could complete.
CANCELED = 4;public static final DlpJob.JobState FAILED
The job had an error and did not complete.
FAILED = 5;public static final DlpJob.JobState UNRECOGNIZED
public static final int JOB_STATE_UNSPECIFIED_VALUE
JOB_STATE_UNSPECIFIED = 0;public static final int PENDING_VALUE
The job has not yet started.
PENDING = 1;public static final int RUNNING_VALUE
The job is currently running.
RUNNING = 2;public static final int DONE_VALUE
The job is no longer running.
DONE = 3;public static final int CANCELED_VALUE
The job was canceled before it could complete.
CANCELED = 4;public static final int FAILED_VALUE
The job had an error and did not complete.
FAILED = 5;public static DlpJob.JobState[] values()
for (DlpJob.JobState c : DlpJob.JobState.values()) System.out.println(c);
public static DlpJob.JobState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface Internal.EnumLitegetNumber in interface ProtocolMessageEnum@Deprecated public static DlpJob.JobState valueOf(int value)
forNumber(int) instead.public static DlpJob.JobState forNumber(int value)
public static Internal.EnumLiteMap<DlpJob.JobState> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface ProtocolMessageEnumpublic final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface ProtocolMessageEnumpublic static final Descriptors.EnumDescriptor getDescriptor()
public static DlpJob.JobState valueOf(Descriptors.EnumValueDescriptor desc)