SlotMode
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Rappresenta la modalità di uno slot, ossia se è obbligatoria o meno.
Enum |
MODE_UNSPECIFIED |
Valore di riserva quando il campo di utilizzo non è compilato. |
OPTIONAL |
Indica che lo slot non è necessario per completare il riempimento dello slot. |
REQUIRED |
Indica che lo slot è necessario per completare il riempimento dello slot. |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eMODE_UNSPECIFIED\u003c/code\u003e acts as a default when the usage field is not defined.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOPTIONAL\u003c/code\u003e signifies that the slot is not mandatory for completing slot filling.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eREQUIRED\u003c/code\u003e indicates that the slot is necessary for completing slot filling.\u003c/p\u003e\n"]]],["The content defines the operational modes of a slot, specifically regarding whether it's required for slot filling. `MODE_UNSPECIFIED` serves as a default. `OPTIONAL` signifies a slot is not mandatory. Conversely, `REQUIRED` means the slot must be filled for completion. These modes control the necessity of a slot within a process. The information is presented in an enum structure with descriptions of the three potential states.\n"],null,["# SlotMode\n\nRepresents the mode of a slot, that is, if it is required or not.\n\n| Enums ||\n|--------------------|-------------------------------------------------------------------|\n| `MODE_UNSPECIFIED` | Fallback value when the usage field is not populated. |\n| `OPTIONAL` | Indicates that the slot is not required to complete slot filling. |\n| `REQUIRED` | Indicates that the slot is required to complete slot filling. |"]]