public static enum JobRun.State extends Enum<JobRun.State> implements com.google.protobuf.ProtocolMessageEnum
Valid states of a `JobRun`.Protobuf enum
google.cloud.deploy.v1.JobRun.State| Enum Constant and Description |
|---|
FAILED
The `JobRun` has failed.
|
IN_PROGRESS
The `JobRun` is in progress.
|
STATE_UNSPECIFIED
The `JobRun` has an unspecified state.
|
SUCCEEDED
The `JobRun` has succeeded.
|
TERMINATED
The `JobRun` was terminated.
|
TERMINATING
The `JobRun` is terminating.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FAILED_VALUE
The `JobRun` has failed.
|
static int |
IN_PROGRESS_VALUE
The `JobRun` is in progress.
|
static int |
STATE_UNSPECIFIED_VALUE
The `JobRun` has an unspecified state.
|
static int |
SUCCEEDED_VALUE
The `JobRun` has succeeded.
|
static int |
TERMINATED_VALUE
The `JobRun` was terminated.
|
static int |
TERMINATING_VALUE
The `JobRun` is terminating.
|
| Modifier and Type | Method and Description |
|---|---|
static JobRun.State |
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<JobRun.State> |
internalGetValueMap() |
static JobRun.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static JobRun.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static JobRun.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobRun.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobRun.State STATE_UNSPECIFIED
The `JobRun` has an unspecified state.
STATE_UNSPECIFIED = 0;public static final JobRun.State IN_PROGRESS
The `JobRun` is in progress.
IN_PROGRESS = 1;public static final JobRun.State SUCCEEDED
The `JobRun` has succeeded.
SUCCEEDED = 2;public static final JobRun.State FAILED
The `JobRun` has failed.
FAILED = 3;public static final JobRun.State TERMINATING
The `JobRun` is terminating.
TERMINATING = 4;public static final JobRun.State TERMINATED
The `JobRun` was terminated.
TERMINATED = 5;public static final JobRun.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
The `JobRun` has an unspecified state.
STATE_UNSPECIFIED = 0;public static final int IN_PROGRESS_VALUE
The `JobRun` is in progress.
IN_PROGRESS = 1;public static final int SUCCEEDED_VALUE
The `JobRun` has succeeded.
SUCCEEDED = 2;public static final int FAILED_VALUE
The `JobRun` has failed.
FAILED = 3;public static final int TERMINATING_VALUE
The `JobRun` is terminating.
TERMINATING = 4;public static final int TERMINATED_VALUE
The `JobRun` was terminated.
TERMINATED = 5;public static JobRun.State[] values()
for (JobRun.State c : JobRun.State.values()) System.out.println(c);
public static JobRun.State 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 JobRun.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static JobRun.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<JobRun.State> 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 JobRun.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.