Enum DlpJob.JobState (3.35.0)

public enum DlpJob.JobState extends Enum<DlpJob.JobState> implements ProtocolMessageEnum

Possible states of a job. New items may be added.

Protobuf enum google.privacy.dlp.v2.DlpJob.JobState

Implements

ProtocolMessageEnum

Static Fields

NameDescription
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;

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;

CANCELED

The job was canceled before it could be completed.

CANCELED = 4;

CANCELED_VALUE

The job was canceled before it could be completed.

CANCELED = 4;

DONE

The job is no longer running.

DONE = 3;

DONE_VALUE

The job is no longer running.

DONE = 3;

FAILED

The job had an error and did not complete.

FAILED = 5;

FAILED_VALUE

The job had an error and did not complete.

FAILED = 5;

JOB_STATE_UNSPECIFIED

Unused.

JOB_STATE_UNSPECIFIED = 0;

JOB_STATE_UNSPECIFIED_VALUE

Unused.

JOB_STATE_UNSPECIFIED = 0;

PENDING

The job has not yet started.

PENDING = 1;

PENDING_VALUE

The job has not yet started.

PENDING = 1;

RUNNING

The job is currently running. Once a job has finished it will transition to FAILED or DONE.

RUNNING = 2;

RUNNING_VALUE

The job is currently running. Once a job has finished it will transition to FAILED or DONE.

RUNNING = 2;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()