public static enum JobTrigger.Status extends Enum<JobTrigger.Status> implements com.google.protobuf.ProtocolMessageEnum
Whether the trigger is currently active. If PAUSED or CANCELLED, no jobs will be created with this configuration. The service may automatically pause triggers experiencing frequent errors. To restart a job, set the status to HEALTHY after correcting user errors.Protobuf enum
google.privacy.dlp.v2.JobTrigger.Status| Enum Constant and Description |
|---|
CANCELLED
Trigger is cancelled and can not be resumed.
|
HEALTHY
Trigger is healthy.
|
PAUSED
Trigger is temporarily paused.
|
STATUS_UNSPECIFIED
Unused.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CANCELLED_VALUE
Trigger is cancelled and can not be resumed.
|
static int |
HEALTHY_VALUE
Trigger is healthy.
|
static int |
PAUSED_VALUE
Trigger is temporarily paused.
|
static int |
STATUS_UNSPECIFIED_VALUE
Unused.
|
| Modifier and Type | Method and Description |
|---|---|
static JobTrigger.Status |
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<JobTrigger.Status> |
internalGetValueMap() |
static JobTrigger.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static JobTrigger.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static JobTrigger.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobTrigger.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobTrigger.Status STATUS_UNSPECIFIED
Unused.
STATUS_UNSPECIFIED = 0;public static final JobTrigger.Status HEALTHY
Trigger is healthy.
HEALTHY = 1;public static final JobTrigger.Status PAUSED
Trigger is temporarily paused.
PAUSED = 2;public static final JobTrigger.Status CANCELLED
Trigger is cancelled and can not be resumed.
CANCELLED = 3;public static final JobTrigger.Status UNRECOGNIZED
public static final int STATUS_UNSPECIFIED_VALUE
Unused.
STATUS_UNSPECIFIED = 0;public static final int HEALTHY_VALUE
Trigger is healthy.
HEALTHY = 1;public static final int PAUSED_VALUE
Trigger is temporarily paused.
PAUSED = 2;public static final int CANCELLED_VALUE
Trigger is cancelled and can not be resumed.
CANCELLED = 3;public static JobTrigger.Status[] values()
for (JobTrigger.Status c : JobTrigger.Status.values()) System.out.println(c);
public static JobTrigger.Status 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 JobTrigger.Status valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static JobTrigger.Status forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<JobTrigger.Status> 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 JobTrigger.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.