Send feedback
Enum OperationState (3.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.8.0 keyboard_arrow_down
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
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()
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-19 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-19 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-19 UTC."]]