public enum OperationResponseMapping extends Enum<OperationResponseMapping> implements ProtocolMessageEnum
An enum to be used to mark the essential (for polling) fields in an API-specific Operation object. A custom Operation object may contain many different fields, but only few of them are essential to conduct a successful polling process.
Protobuf enum google.cloud.OperationResponseMapping
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
ERROR_CODE |
A field in an API-specific (custom) Operation object which carries the same meaning as google.longrunning.Operation.error.code. |
ERROR_CODE_VALUE |
A field in an API-specific (custom) Operation object which carries the same meaning as google.longrunning.Operation.error.code. |
ERROR_MESSAGE |
A field in an API-specific (custom) Operation object which carries the same meaning as google.longrunning.Operation.error.message. |
ERROR_MESSAGE_VALUE |
A field in an API-specific (custom) Operation object which carries the same meaning as google.longrunning.Operation.error.message. |
NAME |
A field in an API-specific (custom) Operation object which carries the same meaning as google.longrunning.Operation.name. |
NAME_VALUE |
A field in an API-specific (custom) Operation object which carries the same meaning as google.longrunning.Operation.name. |
STATUS |
A field in an API-specific (custom) Operation object which carries the same
meaning as google.longrunning.Operation.done. If the annotated field is of
an enum type, |
STATUS_VALUE |
A field in an API-specific (custom) Operation object which carries the same
meaning as google.longrunning.Operation.done. If the annotated field is of
an enum type, |
UNDEFINED |
Do not use. |
UNDEFINED_VALUE |
Do not use. |
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() |