SlotStatus
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Thể hiện trạng thái của một khe.
Enum |
SLOT_UNSPECIFIED |
Giá trị dự phòng khi trường sử dụng không được điền. |
EMPTY |
Cho biết vùng không có bất kỳ giá trị nào. Không thể sửa đổi trạng thái này qua phản hồi. |
INVALID |
Cho biết giá trị vị trí không hợp lệ. Bạn có thể đặt trạng thái này qua phản hồi. |
FILLED |
Cho biết vị trí có giá trị. Không thể sửa đổi trạng thái này qua phản hồi. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-28 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-28 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. |"]]