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-09 UTC."],[[["This document details the different versions of `ApiService.State`, a Java enum that represents the lifecycle states of a service, with the latest being version 2.46.1."],["The `ApiService.State` enum defines the lifecycle states of a service, which include `NEW`, `STARTING`, `RUNNING`, `STOPPING`, `TERMINATED`, and `FAILED`."],["The states in the `ApiService.State` enum are ordered such that a transition from state A to state B implies `A.compareTo(B) \u003c 0`, although the reverse is not guaranteed."],["The `ApiService.State` includes static fields and methods, like `valueOf` and `values`, along with inherited members from the `Enum` and `Object` classes in Java."],["Each state of the service has a specific description, for example, `RUNNING` means the service is operational while `TERMINATED` means it has completed execution normally."]]],[]]