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-08-28 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eApiService.State\u003c/code\u003e enum within the Google API Common library for Java, covering version 2.26.0 and its predecessors, up to 2.46.1, which is the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eApiService.State\u003c/code\u003e enum defines the various lifecycle states of a service, which are: \u003ccode\u003eFAILED\u003c/code\u003e, \u003ccode\u003eNEW\u003c/code\u003e, \u003ccode\u003eRUNNING\u003c/code\u003e, \u003ccode\u003eSTARTING\u003c/code\u003e, \u003ccode\u003eSTOPPING\u003c/code\u003e, and \u003ccode\u003eTERMINATED\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe enum's state transitions are ordered such that if \u003ccode\u003eA\u003c/code\u003e transitions to \u003ccode\u003eB\u003c/code\u003e, then \u003ccode\u003eA\u003c/code\u003e will be less than \u003ccode\u003eB\u003c/code\u003e when compared, although the converse is not true.\u003c/p\u003e\n"],["\u003cp\u003eThe library is currently in Beta, which means it may have limited support and could undergo changes that are incompatible with other pre-GA versions.\u003c/p\u003e\n"],["\u003cp\u003eThis page lists the inherited members and static methods associated with the \u003ccode\u003eApiService.State\u003c/code\u003e enum, such as \u003ccode\u003evalueOf(String name)\u003c/code\u003e and \u003ccode\u003evalues()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]