枚举 | |
---|---|
STATE_UNSPECIFIED |
|
ACTIVE |
对象处于活动状态,并与其他活动对象一起显示。 |
active |
|
COMPLETED |
|
completed |
|
EXPIRED |
对象已失效(通过了 validTimeInterval )。 |
expired |
|
INACTIVE |
|
inactive |
|
State
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\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! |"]]