public static enum ListWorkloadsResponse.ComposerWorkloadType extends Enum<ListWorkloadsResponse.ComposerWorkloadType> implements com.google.protobuf.ProtocolMessageEnum
Supported workload types.Protobuf enum
google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadType| Enum Constant and Description |
|---|
CELERY_WORKER
Celery worker.
|
COMPOSER_WORKLOAD_TYPE_UNSPECIFIED
Not able to determine the type of the workload.
|
DAG_PROCESSOR
Airflow Dag processor.
|
KUBERNETES_OPERATOR_POD
Workload created by Kubernetes Pod Operator.
|
KUBERNETES_WORKER
Kubernetes worker.
|
REDIS
Redis.
|
SCHEDULER
Airflow scheduler.
|
TRIGGERER
Airflow triggerer.
|
UNRECOGNIZED |
WEB_SERVER
Airflow web server UI.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CELERY_WORKER_VALUE
Celery worker.
|
static int |
COMPOSER_WORKLOAD_TYPE_UNSPECIFIED_VALUE
Not able to determine the type of the workload.
|
static int |
DAG_PROCESSOR_VALUE
Airflow Dag processor.
|
static int |
KUBERNETES_OPERATOR_POD_VALUE
Workload created by Kubernetes Pod Operator.
|
static int |
KUBERNETES_WORKER_VALUE
Kubernetes worker.
|
static int |
REDIS_VALUE
Redis.
|
static int |
SCHEDULER_VALUE
Airflow scheduler.
|
static int |
TRIGGERER_VALUE
Airflow triggerer.
|
static int |
WEB_SERVER_VALUE
Airflow web server UI.
|
| Modifier and Type | Method and Description |
|---|---|
static ListWorkloadsResponse.ComposerWorkloadType |
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.ComposerWorkloadType> |
internalGetValueMap() |
static ListWorkloadsResponse.ComposerWorkloadType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ListWorkloadsResponse.ComposerWorkloadType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ListWorkloadsResponse.ComposerWorkloadType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListWorkloadsResponse.ComposerWorkloadType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListWorkloadsResponse.ComposerWorkloadType COMPOSER_WORKLOAD_TYPE_UNSPECIFIED
Not able to determine the type of the workload.
COMPOSER_WORKLOAD_TYPE_UNSPECIFIED = 0;public static final ListWorkloadsResponse.ComposerWorkloadType CELERY_WORKER
Celery worker.
CELERY_WORKER = 1;public static final ListWorkloadsResponse.ComposerWorkloadType KUBERNETES_WORKER
Kubernetes worker.
KUBERNETES_WORKER = 2;public static final ListWorkloadsResponse.ComposerWorkloadType KUBERNETES_OPERATOR_POD
Workload created by Kubernetes Pod Operator.
KUBERNETES_OPERATOR_POD = 3;public static final ListWorkloadsResponse.ComposerWorkloadType SCHEDULER
Airflow scheduler.
SCHEDULER = 4;public static final ListWorkloadsResponse.ComposerWorkloadType DAG_PROCESSOR
Airflow Dag processor.
DAG_PROCESSOR = 5;public static final ListWorkloadsResponse.ComposerWorkloadType TRIGGERER
Airflow triggerer.
TRIGGERER = 6;public static final ListWorkloadsResponse.ComposerWorkloadType WEB_SERVER
Airflow web server UI.
WEB_SERVER = 7;public static final ListWorkloadsResponse.ComposerWorkloadType REDIS
Redis.
REDIS = 8;public static final ListWorkloadsResponse.ComposerWorkloadType UNRECOGNIZED
public static final int COMPOSER_WORKLOAD_TYPE_UNSPECIFIED_VALUE
Not able to determine the type of the workload.
COMPOSER_WORKLOAD_TYPE_UNSPECIFIED = 0;public static final int CELERY_WORKER_VALUE
Celery worker.
CELERY_WORKER = 1;public static final int KUBERNETES_WORKER_VALUE
Kubernetes worker.
KUBERNETES_WORKER = 2;public static final int KUBERNETES_OPERATOR_POD_VALUE
Workload created by Kubernetes Pod Operator.
KUBERNETES_OPERATOR_POD = 3;public static final int SCHEDULER_VALUE
Airflow scheduler.
SCHEDULER = 4;public static final int DAG_PROCESSOR_VALUE
Airflow Dag processor.
DAG_PROCESSOR = 5;public static final int TRIGGERER_VALUE
Airflow triggerer.
TRIGGERER = 6;public static final int WEB_SERVER_VALUE
Airflow web server UI.
WEB_SERVER = 7;public static final int REDIS_VALUE
Redis.
REDIS = 8;public static ListWorkloadsResponse.ComposerWorkloadType[] values()
for (ListWorkloadsResponse.ComposerWorkloadType c : ListWorkloadsResponse.ComposerWorkloadType.values()) System.out.println(c);
public static ListWorkloadsResponse.ComposerWorkloadType 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.ComposerWorkloadType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ListWorkloadsResponse.ComposerWorkloadType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ListWorkloadsResponse.ComposerWorkloadType> 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.ComposerWorkloadType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.