public enum OperationState extends Enum<OperationState> implements ProtocolMessageEnum
Possible states of long running operations.
Protobuf enum google.cloud.translation.v3.OperationState
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
OPERATION_STATE_CANCELLED |
The operation request was successfully canceled. |
OPERATION_STATE_CANCELLED_VALUE |
The operation request was successfully canceled. |
OPERATION_STATE_CANCELLING |
Request is in the process of being canceled after caller invoked longrunning.Operations.CancelOperation on the request id. |
OPERATION_STATE_CANCELLING_VALUE |
Request is in the process of being canceled after caller invoked longrunning.Operations.CancelOperation on the request id. |
OPERATION_STATE_FAILED |
Failed to process operation. |
OPERATION_STATE_FAILED_VALUE |
Failed to process operation. |
OPERATION_STATE_RUNNING |
Request is being processed. |
OPERATION_STATE_RUNNING_VALUE |
Request is being processed. |
OPERATION_STATE_SUCCEEDED |
The operation was successful. |
OPERATION_STATE_SUCCEEDED_VALUE |
The operation was successful. |
OPERATION_STATE_UNSPECIFIED |
Invalid. |
OPERATION_STATE_UNSPECIFIED_VALUE |
Invalid. |
UNRECOGNIZED |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |