public static enum Operation.Status extends Enum<Operation.Status> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.Protobuf enum
google.cloud.compute.v1.Operation.Status| Enum Constant and Description |
|---|
DONE
DONE = 2104194; |
PENDING
PENDING = 35394935; |
RUNNING
RUNNING = 121282975; |
UNDEFINED_STATUS
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DONE_VALUE
DONE = 2104194; |
static int |
PENDING_VALUE
PENDING = 35394935; |
static int |
RUNNING_VALUE
RUNNING = 121282975; |
static int |
UNDEFINED_STATUS_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static Operation.Status |
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<Operation.Status> |
internalGetValueMap() |
static Operation.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Operation.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Operation.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Operation.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Operation.Status UNDEFINED_STATUS
A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0;public static final Operation.Status DONE
DONE = 2104194;public static final Operation.Status PENDING
PENDING = 35394935;public static final Operation.Status RUNNING
RUNNING = 121282975;public static final Operation.Status UNRECOGNIZED
public static final int UNDEFINED_STATUS_VALUE
A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0;public static final int DONE_VALUE
DONE = 2104194;public static final int PENDING_VALUE
PENDING = 35394935;public static final int RUNNING_VALUE
RUNNING = 121282975;public static Operation.Status[] values()
for (Operation.Status c : Operation.Status.values()) System.out.println(c);
public static Operation.Status 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 Operation.Status valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Operation.Status forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Operation.Status> 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 Operation.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.