public static enum Environment.State extends Enum<Environment.State> implements com.google.protobuf.ProtocolMessageEnum
State of the environment.Protobuf enum
google.cloud.orchestration.airflow.service.v1.Environment.State| Enum Constant and Description |
|---|
CREATING
The environment is in the process of being created.
|
DELETING
The environment is undergoing deletion.
|
ERROR
The environment has encountered an error and cannot be used.
|
RUNNING
The environment is currently running and healthy.
|
STATE_UNSPECIFIED
The state of the environment is unknown.
|
UNRECOGNIZED |
UPDATING
The environment is being updated.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATING_VALUE
The environment is in the process of being created.
|
static int |
DELETING_VALUE
The environment is undergoing deletion.
|
static int |
ERROR_VALUE
The environment has encountered an error and cannot be used.
|
static int |
RUNNING_VALUE
The environment is currently running and healthy.
|
static int |
STATE_UNSPECIFIED_VALUE
The state of the environment is unknown.
|
static int |
UPDATING_VALUE
The environment is being updated.
|
| Modifier and Type | Method and Description |
|---|---|
static Environment.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<Environment.State> |
internalGetValueMap() |
static Environment.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Environment.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Environment.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Environment.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Environment.State STATE_UNSPECIFIED
The state of the environment is unknown.
STATE_UNSPECIFIED = 0;public static final Environment.State CREATING
The environment is in the process of being created.
CREATING = 1;public static final Environment.State RUNNING
The environment is currently running and healthy. It is ready for use.
RUNNING = 2;public static final Environment.State UPDATING
The environment is being updated. It remains usable but cannot receive additional update requests or be deleted at this time.
UPDATING = 3;public static final Environment.State DELETING
The environment is undergoing deletion. It cannot be used.
DELETING = 4;public static final Environment.State ERROR
The environment has encountered an error and cannot be used.
ERROR = 5;public static final Environment.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
The state of the environment is unknown.
STATE_UNSPECIFIED = 0;public static final int CREATING_VALUE
The environment is in the process of being created.
CREATING = 1;public static final int RUNNING_VALUE
The environment is currently running and healthy. It is ready for use.
RUNNING = 2;public static final int UPDATING_VALUE
The environment is being updated. It remains usable but cannot receive additional update requests or be deleted at this time.
UPDATING = 3;public static final int DELETING_VALUE
The environment is undergoing deletion. It cannot be used.
DELETING = 4;public static final int ERROR_VALUE
The environment has encountered an error and cannot be used.
ERROR = 5;public static Environment.State[] values()
for (Environment.State c : Environment.State.values()) System.out.println(c);
public static Environment.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 Environment.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Environment.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Environment.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 Environment.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.