SlotStatus
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wartości w polu enum |
SLOT_UNSPECIFIED |
Wartość zastępcza, gdy pole wykorzystania nie jest wypełnione. |
EMPTY |
Wskazuje, że boks nie ma żadnych wartości. Tego stanu nie można zmienić w odpowiedzi. |
INVALID |
Wskazuje, że wartość przedziału jest nieprawidłowa. Stan ten można ustawić w odpowiedzi. |
FILLED |
Wskazuje, że boks ma wartość. Tego stanu nie można zmienić w odpowiedzi. |
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-28 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]