Enum OperationResponseMapping (2.7.4)

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

ProtocolMessageEnum

Static Fields

NameDescription
ERROR_CODE

A field in an API-specific (custom) Operation object which carries the same meaning as google.longrunning.Operation.error.code.

ERROR_CODE = 3;

ERROR_CODE_VALUE

A field in an API-specific (custom) Operation object which carries the same meaning as google.longrunning.Operation.error.code.

ERROR_CODE = 3;

ERROR_MESSAGE

A field in an API-specific (custom) Operation object which carries the same meaning as google.longrunning.Operation.error.message.

ERROR_MESSAGE = 4;

ERROR_MESSAGE_VALUE

A field in an API-specific (custom) Operation object which carries the same meaning as google.longrunning.Operation.error.message.

ERROR_MESSAGE = 4;

NAME

A field in an API-specific (custom) Operation object which carries the same meaning as google.longrunning.Operation.name.

NAME = 1;

NAME_VALUE

A field in an API-specific (custom) Operation object which carries the same meaning as google.longrunning.Operation.name.

NAME = 1;

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, annotated_field_name

EnumType.DONE

semantics should be equivalent to Operation.done true. If the annotated field is of type boolean, then it should follow the same semantics as Operation.done. Otherwise, a non-empty value should be treated as Operation.done == true.

STATUS = 2;

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, annotated_field_name

EnumType.DONE

semantics should be equivalent to Operation.done true. If the annotated field is of type boolean, then it should follow the same semantics as Operation.done. Otherwise, a non-empty value should be treated as Operation.done == true.

STATUS = 2;

UNDEFINED

Do not use.

UNDEFINED = 0;

UNDEFINED_VALUE

Do not use.

UNDEFINED = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()