public static enum OperationMetadata.State extends Enum<OperationMetadata.State> implements com.google.protobuf.ProtocolMessageEnum
An enum describing the overall state of an operation.Protobuf enum
google.cloud.orchestration.airflow.service.v1.OperationMetadata.State| Enum Constant and Description |
|---|
FAILED
The operation is no longer running but did not succeed.
|
PENDING
The operation has been created but is not yet started.
|
RUNNING
The operation is underway.
|
STATE_UNSPECIFIED
Unused.
|
SUCCEEDED
The operation completed successfully.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FAILED_VALUE
The operation is no longer running but did not succeed.
|
static int |
PENDING_VALUE
The operation has been created but is not yet started.
|
static int |
RUNNING_VALUE
The operation is underway.
|
static int |
STATE_UNSPECIFIED_VALUE
Unused.
|
static int |
SUCCEEDED_VALUE
The operation completed successfully.
|
static OperationMetadata.State |
SUCCESSFUL
SUCCESSFUL = 3; |
static int |
SUCCESSFUL_VALUE
SUCCESSFUL = 3; |
| Modifier and Type | Method and Description |
|---|---|
static OperationMetadata.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<OperationMetadata.State> |
internalGetValueMap() |
static OperationMetadata.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static OperationMetadata.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OperationMetadata.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationMetadata.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationMetadata.State STATE_UNSPECIFIED
Unused.
STATE_UNSPECIFIED = 0;public static final OperationMetadata.State PENDING
The operation has been created but is not yet started.
PENDING = 1;public static final OperationMetadata.State RUNNING
The operation is underway.
RUNNING = 2;public static final OperationMetadata.State SUCCEEDED
The operation completed successfully.
SUCCEEDED = 3;public static final OperationMetadata.State FAILED
The operation is no longer running but did not succeed.
FAILED = 4;public static final OperationMetadata.State UNRECOGNIZED
public static final OperationMetadata.State SUCCESSFUL
SUCCESSFUL = 3;public static final int STATE_UNSPECIFIED_VALUE
Unused.
STATE_UNSPECIFIED = 0;public static final int PENDING_VALUE
The operation has been created but is not yet started.
PENDING = 1;public static final int RUNNING_VALUE
The operation is underway.
RUNNING = 2;public static final int SUCCEEDED_VALUE
The operation completed successfully.
SUCCEEDED = 3;public static final int SUCCESSFUL_VALUE
SUCCESSFUL = 3;public static final int FAILED_VALUE
The operation is no longer running but did not succeed.
FAILED = 4;public static OperationMetadata.State[] values()
for (OperationMetadata.State c : OperationMetadata.State.values()) System.out.println(c);
public static OperationMetadata.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 OperationMetadata.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static OperationMetadata.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<OperationMetadata.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 OperationMetadata.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.