public static enum Condition.ExecutionReason extends Enum<Condition.ExecutionReason> implements com.google.protobuf.ProtocolMessageEnum
Reasons specific to Execution resource.Protobuf enum
google.cloud.run.v2.Condition.ExecutionReason| Enum Constant and Description |
|---|
CANCELLED
The execution was cancelled by users.
|
CANCELLING
The execution is in the process of being cancelled.
|
DELETED
The execution was deleted.
|
EXECUTION_REASON_UNDEFINED
Default value.
|
JOB_STATUS_SERVICE_POLLING_ERROR
Internal system error getting execution status.
|
NON_ZERO_EXIT_CODE
A task reached its retry limit and the last attempt failed due to the
user container exiting with a non-zero exit code.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CANCELLED_VALUE
The execution was cancelled by users.
|
static int |
CANCELLING_VALUE
The execution is in the process of being cancelled.
|
static int |
DELETED_VALUE
The execution was deleted.
|
static int |
EXECUTION_REASON_UNDEFINED_VALUE
Default value.
|
static int |
JOB_STATUS_SERVICE_POLLING_ERROR_VALUE
Internal system error getting execution status.
|
static int |
NON_ZERO_EXIT_CODE_VALUE
A task reached its retry limit and the last attempt failed due to the
user container exiting with a non-zero exit code.
|
| Modifier and Type | Method and Description |
|---|---|
static Condition.ExecutionReason |
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<Condition.ExecutionReason> |
internalGetValueMap() |
static Condition.ExecutionReason |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Condition.ExecutionReason |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Condition.ExecutionReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Condition.ExecutionReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Condition.ExecutionReason EXECUTION_REASON_UNDEFINED
Default value.
EXECUTION_REASON_UNDEFINED = 0;public static final Condition.ExecutionReason JOB_STATUS_SERVICE_POLLING_ERROR
Internal system error getting execution status. System will retry.
JOB_STATUS_SERVICE_POLLING_ERROR = 1;public static final Condition.ExecutionReason NON_ZERO_EXIT_CODE
A task reached its retry limit and the last attempt failed due to the user container exiting with a non-zero exit code.
NON_ZERO_EXIT_CODE = 2;public static final Condition.ExecutionReason CANCELLED
The execution was cancelled by users.
CANCELLED = 3;public static final Condition.ExecutionReason CANCELLING
The execution is in the process of being cancelled.
CANCELLING = 4;public static final Condition.ExecutionReason DELETED
The execution was deleted.
DELETED = 5;public static final Condition.ExecutionReason UNRECOGNIZED
public static final int EXECUTION_REASON_UNDEFINED_VALUE
Default value.
EXECUTION_REASON_UNDEFINED = 0;public static final int JOB_STATUS_SERVICE_POLLING_ERROR_VALUE
Internal system error getting execution status. System will retry.
JOB_STATUS_SERVICE_POLLING_ERROR = 1;public static final int NON_ZERO_EXIT_CODE_VALUE
A task reached its retry limit and the last attempt failed due to the user container exiting with a non-zero exit code.
NON_ZERO_EXIT_CODE = 2;public static final int CANCELLED_VALUE
The execution was cancelled by users.
CANCELLED = 3;public static final int CANCELLING_VALUE
The execution is in the process of being cancelled.
CANCELLING = 4;public static final int DELETED_VALUE
The execution was deleted.
DELETED = 5;public static Condition.ExecutionReason[] values()
for (Condition.ExecutionReason c : Condition.ExecutionReason.values()) System.out.println(c);
public static Condition.ExecutionReason 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 Condition.ExecutionReason valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Condition.ExecutionReason forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Condition.ExecutionReason> 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 Condition.ExecutionReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.