The ordering of the State enum is defined such that if there is a state transition
from A -> B then A.compareTo(B) < 0. N.B. The converse is not true, i.e. if
A.compareTo(B) < 0 then there is not guaranteed to be a valid state transition
A -> B.
[[["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 2025-04-17 UTC."],[[["This webpage details the `ApiService.State` enum within the Google API Core library, outlining the lifecycle states a service can be in."],["The `ApiService.State` enum defines six possible states: `NEW`, `STARTING`, `RUNNING`, `STOPPING`, `TERMINATED`, and `FAILED`, each indicating a distinct phase in a service's operation."],["Version 2.46.1 is the latest version documented, and there is a list of various versions, from 2.46.1 down to 2.1.2, of the `ApiService.State` that can be referenced."],["The ordering of the states within the `ApiService.State` enum reflects the direction of valid state transitions, where `A.compareTo(B) \u003c 0` indicates a transition from state A to B."],["The page provides information on inherited members and static methods of `ApiService.State` including `valueOf`, `values` and members inherited from the Enum and Object classes."]]],[]]