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."],[[["The webpage details the `ApiService.State` enum within the Google API Common library, outlining the various lifecycle states a service can be in, such as `NEW`, `RUNNING`, `STARTING`, `STOPPING`, `TERMINATED`, and `FAILED`."],["The `ApiService.State` enum defines an ordering that indicates the direction of a state transition, where a transition from state `A` to `B` implies `A.compareTo(B) \u003c 0`, but the reverse is not necessarily true."],["The page lists links to the documentation for different versions of the API, with version 2.46.1 being the latest and 2.17.1 being the currently displayed version."],["The documentation describes the function and impact of each state on the service's operation and resource consumption, such as `NEW` and `TERMINATED` states consuming minimal resources."],["The `ApiService.State` enum inherits several methods from `Enum` and `Object`, including methods for comparison, class retrieval, and thread control, as well as the static methods `values()` and `valueOf(String name)` for the enum itself."]]],[]]