Load
光顾实体店时,如果车辆为上车点,则需在车辆装载量的基础上增加预定义的金额;若为送货,则需减去预定义的金额。此消息定义了此类金额。请参阅 loadDemands
。
JSON 表示法 |
{
"amount": string
} |
字段 |
amount |
string (int64 format)
执行相应访问的车辆的重量会有所不同。由于它是一个整数,因此建议用户选择适当的单位,以避免精度损失。必须 ≥ 0。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-21。
[null,null,["最后更新时间 (UTC):2024-08-21。"],[[["The `Shipment.Load` message defines the amount added or subtracted from a vehicle's load during a pickup or delivery."],["This amount is represented by the `amount` field in the JSON representation, which is a string formatted as an `int64`."],["The `amount` value must be non-negative and users should choose an appropriate unit to maintain precision."],["Refer to `loadDemands` for how this message is used within the broader context of route optimization."]]],["The provided content describes the \"amount\" field within a JSON representation used for vehicle load adjustments during visits. This \"amount\" is a string representing an integer that modifies a vehicle's load. During a pickup, the amount is added, and during a delivery, it's subtracted. The amount must be greater than or equal to zero. The content advises users to select an appropriate unit of measure for precision, given that this is an integer.\n"]]