SlotMode
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงโหมดของช่อง กล่าวคือ จําเป็นหรือไม่
Enum |
MODE_UNSPECIFIED |
ค่าสํารองเมื่อไม่ได้เติมข้อมูลในช่องการใช้งาน |
OPTIONAL |
บ่งบอกว่าไม่จําเป็นต้องกําหนดให้ช่องเติมช่องโฆษณาให้เสร็จสมบูรณ์ |
REQUIRED |
บ่งบอกว่าจําเป็นต้องใช้ช่องโฆษณาเพื่อเติมช่องโฆษณาให้เสร็จสมบูรณ์ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]