Enum OperationState (3.4.2)

public enum OperationState extends Enum<OperationState> implements ProtocolMessageEnum

Describes the state of the operation.

Protobuf enum google.firestore.admin.v1.OperationState

Implements

ProtocolMessageEnum

Static Fields

NameDescription
CANCELLED

Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation.

CANCELLED = 7;

CANCELLED_VALUE

Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation.

CANCELLED = 7;

CANCELLING

Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.

CANCELLING = 3;

CANCELLING_VALUE

Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.

CANCELLING = 3;

FAILED

Request has finished being processed, but encountered an error.

FAILED = 6;

FAILED_VALUE

Request has finished being processed, but encountered an error.

FAILED = 6;

FINALIZING

Request has been processed and is in its finalization stage.

FINALIZING = 4;

FINALIZING_VALUE

Request has been processed and is in its finalization stage.

FINALIZING = 4;

INITIALIZING

Request is being prepared for processing.

INITIALIZING = 1;

INITIALIZING_VALUE

Request is being prepared for processing.

INITIALIZING = 1;

OPERATION_STATE_UNSPECIFIED

Unspecified.

OPERATION_STATE_UNSPECIFIED = 0;

OPERATION_STATE_UNSPECIFIED_VALUE

Unspecified.

OPERATION_STATE_UNSPECIFIED = 0;

PROCESSING

Request is actively being processed.

PROCESSING = 2;

PROCESSING_VALUE

Request is actively being processed.

PROCESSING = 2;

SUCCESSFUL

Request has completed successfully.

SUCCESSFUL = 5;

SUCCESSFUL_VALUE

Request has completed successfully.

SUCCESSFUL = 5;

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()