SlotStatus
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Представляет состояние слота.
перечисления |
---|
SLOT_UNSPECIFIED | Резервное значение, когда поле использования не заполнено. |
EMPTY | Указывает, что в слоте нет значений. Этот статус нельзя изменить с помощью ответа. |
INVALID | Указывает, что значение слота недопустимо. Этот статус можно установить через ответ. |
FILLED | Указывает, что слот имеет значение. Этот статус нельзя изменить с помощью ответа. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-29 UTC.
[null,null,["Последнее обновление: 2025-07-29 UTC."],[[["\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. |"]]