State
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
STATE_UNSPECIFIED |
默认。用于未指定或无法识别的任务状态。 |
OPEN |
任务尚未分配给交付车辆,或交付车辆尚未越过 Task 分配的车辆停靠站。 |
CLOSED |
当车辆通过该任务的停车位置时。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[[["\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. |"]]