public static enum ListWorkloadsResponse.ComposerWorkloadState extends Enum<ListWorkloadsResponse.ComposerWorkloadState> implements com.google.protobuf.ProtocolMessageEnum
Workload states.Protobuf enum
google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadState| Enum Constant and Description |
|---|
COMPOSER_WORKLOAD_STATE_UNSPECIFIED
Not able to determine the status of the workload.
|
ERROR
Workload is not running due to an error.
|
FAILED
Workload has finished execution with failure.
|
OK
Workload is running fine.
|
PENDING
Workload is in pending state and has not yet started.
|
SUCCEEDED
Workload has finished execution with success.
|
UNRECOGNIZED |
WARNING
Workload is running but there are some non-critical problems.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPOSER_WORKLOAD_STATE_UNSPECIFIED_VALUE
Not able to determine the status of the workload.
|
static int |
ERROR_VALUE
Workload is not running due to an error.
|
static int |
FAILED_VALUE
Workload has finished execution with failure.
|
static int |
OK_VALUE
Workload is running fine.
|
static int |
PENDING_VALUE
Workload is in pending state and has not yet started.
|
static int |
SUCCEEDED_VALUE
Workload has finished execution with success.
|
static int |
WARNING_VALUE
Workload is running but there are some non-critical problems.
|
| Modifier and Type | Method and Description |
|---|---|
static ListWorkloadsResponse.ComposerWorkloadState |
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<ListWorkloadsResponse.ComposerWorkloadState> |
internalGetValueMap() |
static ListWorkloadsResponse.ComposerWorkloadState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ListWorkloadsResponse.ComposerWorkloadState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ListWorkloadsResponse.ComposerWorkloadState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListWorkloadsResponse.ComposerWorkloadState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListWorkloadsResponse.ComposerWorkloadState COMPOSER_WORKLOAD_STATE_UNSPECIFIED
Not able to determine the status of the workload.
COMPOSER_WORKLOAD_STATE_UNSPECIFIED = 0;public static final ListWorkloadsResponse.ComposerWorkloadState PENDING
Workload is in pending state and has not yet started.
PENDING = 1;public static final ListWorkloadsResponse.ComposerWorkloadState OK
Workload is running fine.
OK = 2;public static final ListWorkloadsResponse.ComposerWorkloadState WARNING
Workload is running but there are some non-critical problems.
WARNING = 3;public static final ListWorkloadsResponse.ComposerWorkloadState ERROR
Workload is not running due to an error.
ERROR = 4;public static final ListWorkloadsResponse.ComposerWorkloadState SUCCEEDED
Workload has finished execution with success.
SUCCEEDED = 5;public static final ListWorkloadsResponse.ComposerWorkloadState FAILED
Workload has finished execution with failure.
FAILED = 6;public static final ListWorkloadsResponse.ComposerWorkloadState UNRECOGNIZED
public static final int COMPOSER_WORKLOAD_STATE_UNSPECIFIED_VALUE
Not able to determine the status of the workload.
COMPOSER_WORKLOAD_STATE_UNSPECIFIED = 0;public static final int PENDING_VALUE
Workload is in pending state and has not yet started.
PENDING = 1;public static final int OK_VALUE
Workload is running fine.
OK = 2;public static final int WARNING_VALUE
Workload is running but there are some non-critical problems.
WARNING = 3;public static final int ERROR_VALUE
Workload is not running due to an error.
ERROR = 4;public static final int SUCCEEDED_VALUE
Workload has finished execution with success.
SUCCEEDED = 5;public static final int FAILED_VALUE
Workload has finished execution with failure.
FAILED = 6;public static ListWorkloadsResponse.ComposerWorkloadState[] values()
for (ListWorkloadsResponse.ComposerWorkloadState c : ListWorkloadsResponse.ComposerWorkloadState.values()) System.out.println(c);
public static ListWorkloadsResponse.ComposerWorkloadState 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 ListWorkloadsResponse.ComposerWorkloadState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ListWorkloadsResponse.ComposerWorkloadState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ListWorkloadsResponse.ComposerWorkloadState> 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 ListWorkloadsResponse.ComposerWorkloadState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.