Wartości w polu enum | |
---|---|
STATE_UNSPECIFIED |
|
ACTIVE |
Obiekt jest aktywny i wyświetlany razem z innymi aktywnymi obiektami. |
active |
Starsza wersja aliasu dla |
COMPLETED |
|
completed |
Starsza wersja aliasu dla |
EXPIRED |
Obiekt nie jest już prawidłowy (okres validTimeInterval upłynął). |
expired |
Starsza wersja aliasu dla |
INACTIVE |
|
inactive |
Starsza wersja aliasu dla |
State
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003eThis enum defines the various states an object can be in, such as active, completed, expired, or inactive.\u003c/p\u003e\n"],["\u003cp\u003eLegacy aliases using lowercase lettering are deprecated and should be replaced with their uppercase counterparts.\u003c/p\u003e\n"],["\u003cp\u003eObjects transition to \u003ccode\u003eEXPIRED\u003c/code\u003e state once their \u003ccode\u003evalidTimeInterval\u003c/code\u003e has elapsed.\u003c/p\u003e\n"]]],["The provided content defines enums for object states. `ACTIVE` indicates an object is currently in use and visible. `COMPLETED` signifies a finished state. `EXPIRED` means the object's validity period has ended. `INACTIVE` is another state. Legacy aliases (`active`, `completed`, `expired`, `inactive`) are provided for each respective state but are deprecated. `STATE_UNSPECIFIED` is also an enum. Each of the deprecated legacy items is noted as such.\n"],null,["# State\n\n| Enums ||\n|---------------------|----------------------------------------------------------------------|\n| `STATE_UNSPECIFIED` | |\n| `ACTIVE` | Object is active and displayed to with other active objects. |\n| `active` | Legacy alias for `ACTIVE`. Deprecated. | This item is deprecated! |\n| `COMPLETED` | |\n| `completed` | Legacy alias for `COMPLETED`. Deprecated. | This item is deprecated! |\n| `EXPIRED` | Object is no longer valid (`validTimeInterval` passed). |\n| `expired` | Legacy alias for `EXPIRED`. Deprecated. | This item is deprecated! |\n| `INACTIVE` | |\n| `inactive` | Legacy alias for `INACTIVE`. Deprecated. | This item is deprecated! |"]]