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 provides documentation for `ApiService.State`, a Java enum that defines the lifecycle states of a service."],["The `ApiService.State` enum includes states such as `NEW`, `STARTING`, `RUNNING`, `STOPPING`, `TERMINATED`, and `FAILED`, each representing a different phase in a service's lifecycle."],["The ordering of the `ApiService.State` enum values indicates the direction of state transitions, with `A.compareTo(B) \u003c 0` suggesting a possible transition from state `A` to `B`."],["The page lists links to documentation for various past versions, ranging from version 2.1.2 to the latest version, 2.46.1, of the `com.google.api.core.ApiService.State` class."],["The documentation includes tables detailing the static fields (state names and descriptions) and static methods of the `ApiService.State` enum."]]],[]]