Enum OperationState (3.20.7)

public enum OperationState extends Enum<OperationState> implements ProtocolMessageEnum

List of different operation states. High level state of the operation. This is used to report the job's current state to the user. Once a long running operation is created, the current state of the operation can be queried even before the operation is finished and the final result is available.

Protobuf enum google.logging.v2.OperationState

Implements

ProtocolMessageEnum

Static Fields

Name Description
OPERATION_STATE_CANCELLED

The operation was cancelled by the user.

OPERATION_STATE_CANCELLED = 6;

OPERATION_STATE_CANCELLED_VALUE

The operation was cancelled by the user.

OPERATION_STATE_CANCELLED = 6;

OPERATION_STATE_FAILED

The operation failed.

OPERATION_STATE_FAILED = 5;

OPERATION_STATE_FAILED_VALUE

The operation failed.

OPERATION_STATE_FAILED = 5;

OPERATION_STATE_RUNNING

The operation is running.

OPERATION_STATE_RUNNING = 3;

OPERATION_STATE_RUNNING_VALUE

The operation is running.

OPERATION_STATE_RUNNING = 3;

OPERATION_STATE_SCHEDULED

The operation is scheduled.

OPERATION_STATE_SCHEDULED = 1;

OPERATION_STATE_SCHEDULED_VALUE

The operation is scheduled.

OPERATION_STATE_SCHEDULED = 1;

OPERATION_STATE_SUCCEEDED

The operation was completed successfully.

OPERATION_STATE_SUCCEEDED = 4;

OPERATION_STATE_SUCCEEDED_VALUE

The operation was completed successfully.

OPERATION_STATE_SUCCEEDED = 4;

OPERATION_STATE_UNSPECIFIED

Should not be used.

OPERATION_STATE_UNSPECIFIED = 0;

OPERATION_STATE_UNSPECIFIED_VALUE

Should not be used.

OPERATION_STATE_UNSPECIFIED = 0;

OPERATION_STATE_WAITING_FOR_PERMISSIONS

Waiting for necessary permissions.

OPERATION_STATE_WAITING_FOR_PERMISSIONS = 2;

OPERATION_STATE_WAITING_FOR_PERMISSIONS_VALUE

Waiting for necessary permissions.

OPERATION_STATE_WAITING_FOR_PERMISSIONS = 2;

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