public static enum DlpJob.JobState extends Enum<DlpJob.JobState> implements com.google.protobuf.ProtocolMessageEnum
Possible states of a job. New items may be added.Protobuf enum
google.privacy.dlp.v2.DlpJob.JobState| Enum Constant and Description |
|---|
ACTIVE
The job is currently accepting findings via hybridInspect.
|
CANCELED
The job was canceled before it could be completed.
|
DONE
The job is no longer running.
|
FAILED
The job had an error and did not complete.
|
JOB_STATE_UNSPECIFIED
Unused.
|
PENDING
The job has not yet started.
|
RUNNING
The job is currently running.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
The job is currently accepting findings via hybridInspect.
|
static int |
CANCELED_VALUE
The job was canceled before it could be completed.
|
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
Unused.
|
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 com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<DlpJob.JobState> |
internalGetValueMap() |
static DlpJob.JobState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DlpJob.JobState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DlpJob.JobState |
valueOf(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
Unused.
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. Once a job has finished it will transition to FAILED or DONE.
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 be completed.
CANCELED = 4;public static final DlpJob.JobState FAILED
The job had an error and did not complete.
FAILED = 5;public static final DlpJob.JobState ACTIVE
The job is currently accepting findings via hybridInspect. A hybrid job in ACTIVE state may continue to have findings added to it through the calling of hybridInspect. After the job has finished no more calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.
ACTIVE = 6;public static final DlpJob.JobState UNRECOGNIZED
public static final int JOB_STATE_UNSPECIFIED_VALUE
Unused.
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. Once a job has finished it will transition to FAILED or DONE.
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 be completed.
CANCELED = 4;public static final int FAILED_VALUE
The job had an error and did not complete.
FAILED = 5;public static final int ACTIVE_VALUE
The job is currently accepting findings via hybridInspect. A hybrid job in ACTIVE state may continue to have findings added to it through the calling of hybridInspect. After the job has finished no more calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.
ACTIVE = 6;public static DlpJob.JobState[] values()
for (DlpJob.JobState c : DlpJob.JobState.values()) System.out.println(c);
public static DlpJob.JobState 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 final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static DlpJob.JobState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DlpJob.JobState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DlpJob.JobState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static DlpJob.JobState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.