OperationState class
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.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns this enum's
nameor thevalueif names are not represented.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → OperationState?
Constants
- OPERATION_STATE_CANCELLED → const OperationState
- The operation was cancelled by the user.
- OPERATION_STATE_FAILED → const OperationState
- The operation failed.
- OPERATION_STATE_RUNNING → const OperationState
- The operation is running.
- OPERATION_STATE_SCHEDULED → const OperationState
- The operation is scheduled.
- OPERATION_STATE_SUCCEEDED → const OperationState
- The operation was completed successfully.
- OPERATION_STATE_UNSPECIFIED → const OperationState
- Should not be used.
- OPERATION_STATE_WAITING_FOR_PERMISSIONS → const OperationState
- Waiting for necessary permissions.
-
values
→ const List<
OperationState>