SlotStatus
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
SLOT_UNSPECIFIED |
未填充用法字段时的后备值。 |
EMPTY |
表示该槽没有任何值。此状态无法通过响应修改。 |
INVALID |
表示槽位值无效。可通过响应设置此状态。 |
FILLED |
表示槽位有一个值。此状态无法通过响应修改。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-28。
[null,null,["最后更新时间 (UTC):2025-07-28。"],[[["\u003cp\u003eRepresents the current status of a slot, such as whether it's empty, filled with a valid value, or contains an invalid value.\u003c/p\u003e\n"],["\u003cp\u003eIncludes statuses like \u003ccode\u003eEMPTY\u003c/code\u003e, \u003ccode\u003eINVALID\u003c/code\u003e, and \u003ccode\u003eFILLED\u003c/code\u003e alongside a fallback value \u003ccode\u003eSLOT_UNSPECIFIED\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eWhile \u003ccode\u003eEMPTY\u003c/code\u003e and \u003ccode\u003eFILLED\u003c/code\u003e statuses reflect the actual slot content and cannot be changed directly through responses, the \u003ccode\u003eINVALID\u003c/code\u003e status can be set to indicate an issue with the provided value.\u003c/p\u003e\n"]]],["The provided content defines the possible statuses of a \"slot.\" `SLOT_UNSPECIFIED` is the default when status is unknown. `EMPTY` signifies no value, unchangeable via response. `INVALID` denotes an erroneous value, and can be set through a response. `FILLED` means a slot has a valid value and cannot be changed by a response. These four enums define a slot's state and whether it can be updated remotely.\n"],null,["# SlotStatus\n\nRepresents the status of a slot.\n\n| Enums ||\n|--------------------|--------------------------------------------------------------------------------------------------------|\n| `SLOT_UNSPECIFIED` | Fallback value when the usage field is not populated. |\n| `EMPTY` | Indicates that the slot does not have any values. This status cannot be modified through the response. |\n| `INVALID` | Indicates that the slot value is invalid. This status can be set through the response. |\n| `FILLED` | Indicates that the slot has a value. This status cannot be modified through the response. |"]]