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 content outlines the lifecycle states of a service using the `ApiService.State` enum, which includes states such as `NEW`, `RUNNING`, `STARTING`, `STOPPING`, `TERMINATED`, and `FAILED`."],["The `ApiService.State` enum defines an order that represents valid state transitions, where `A.compareTo(B) \u003c 0` signifies a possible transition from state A to state B, but not the reverse."],["There are multiple versions of the Java documentation provided, from version 2.1.2 all the way to 2.46.1, with 2.46.1 being the latest."],["The `ApiService.State` class also contains inherited members from the `Enum` and `Object` classes, such as `compareTo`, `equals`, `hashCode`, and `toString`."],["There are two static methods, `values()` and `valueOf(String name)`, and six static fields of `FAILED`, `NEW`, `RUNNING`, `STARTING`, `STOPPING`, and `TERMINATED` that describe the service states."]]],[]]