public static enum OperationMetadata.Status extends java.lang.Enum<OperationMetadata.Status> implements com.google.protobuf.ProtocolMessageEnum
Code describes the status of one operation step.Protobuf enum
google.api.servicemanagement.v1.OperationMetadata.Status| Enum Constant and Description |
|---|
CANCELLED
The step has completed with cancellation.
|
DONE
The step has completed without errors.
|
FAILED
The step has completed with errors.
|
IN_PROGRESS
The step is in progress.
|
NOT_STARTED
The step has not started yet.
|
STATUS_UNSPECIFIED
Unspecifed code.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CANCELLED_VALUE
The step has completed with cancellation.
|
static int |
DONE_VALUE
The step has completed without errors.
|
static int |
FAILED_VALUE
The step has completed with errors.
|
static int |
IN_PROGRESS_VALUE
The step is in progress.
|
static int |
NOT_STARTED_VALUE
The step has not started yet.
|
static int |
STATUS_UNSPECIFIED_VALUE
Unspecifed code.
|
| Modifier and Type | Method and Description |
|---|---|
static OperationMetadata.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<OperationMetadata.Status> |
internalGetValueMap() |
static OperationMetadata.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static OperationMetadata.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OperationMetadata.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OperationMetadata.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationMetadata.Status STATUS_UNSPECIFIED
Unspecifed code.
STATUS_UNSPECIFIED = 0;public static final OperationMetadata.Status DONE
The step has completed without errors.
DONE = 1;public static final OperationMetadata.Status NOT_STARTED
The step has not started yet.
NOT_STARTED = 2;public static final OperationMetadata.Status IN_PROGRESS
The step is in progress.
IN_PROGRESS = 3;public static final OperationMetadata.Status FAILED
The step has completed with errors.
FAILED = 4;public static final OperationMetadata.Status CANCELLED
The step has completed with cancellation.
CANCELLED = 5;public static final OperationMetadata.Status UNRECOGNIZED
public static final int STATUS_UNSPECIFIED_VALUE
Unspecifed code.
STATUS_UNSPECIFIED = 0;public static final int DONE_VALUE
The step has completed without errors.
DONE = 1;public static final int NOT_STARTED_VALUE
The step has not started yet.
NOT_STARTED = 2;public static final int IN_PROGRESS_VALUE
The step is in progress.
IN_PROGRESS = 3;public static final int FAILED_VALUE
The step has completed with errors.
FAILED = 4;public static final int CANCELLED_VALUE
The step has completed with cancellation.
CANCELLED = 5;public static OperationMetadata.Status[] values()
for (OperationMetadata.Status c : OperationMetadata.Status.values()) System.out.println(c);
public static OperationMetadata.Status valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - 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.Status valueOf(int value)
forNumber(int) instead.public static OperationMetadata.Status forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<OperationMetadata.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 OperationMetadata.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)