State
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
列挙型 |
STATE_UNSPECIFIED |
デフォルト。未指定または認識できないタスクの状態に使用されます。 |
OPEN |
タスクがまだ配達車両に割り当てられていないか、配達車両が Task に割り当てられた車両停車地をまだ通過していません。 |
CLOSED |
このタスクの車両が停車地点を通過したとき。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-31 UTC。
[null,null,["最終更新日 2025-08-31 UTC。"],[[["\u003cp\u003eTask state indicates the progress of a task, such as whether it's unassigned, in progress, or completed.\u003c/p\u003e\n"],["\u003cp\u003eTasks can have three states: \u003ccode\u003eSTATE_UNSPECIFIED\u003c/code\u003e (default/unrecognized), \u003ccode\u003eOPEN\u003c/code\u003e (unassigned or not yet reached), and \u003ccode\u003eCLOSED\u003c/code\u003e (vehicle passed the task's stop).\u003c/p\u003e\n"]]],["Task states indicate a task's progress. `STATE_UNSPECIFIED` is the default for unknown states. `OPEN` signifies the task is unassigned or the vehicle hasn't reached its stop. `CLOSED` indicates the vehicle has passed the task's designated stop. These states track the transition from unassigned or pending to a completed stage based on vehicle movement.\n"],null,["# State\n\nThe state of a Task. This indicates the Tasks's progress.\n\n| Enums ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| `STATE_UNSPECIFIED` | Default. Used for an unspecified or unrecognized Task state. |\n| `OPEN` | Either the Task has not yet been assigned to a delivery vehicle, or the delivery vehicle has not yet passed the `Task`'s assigned vehicle stop. |\n| `CLOSED` | When the vehicle passes the vehicle stop for this Task. |"]]