Load
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
光顾实体店时,如果车辆为上车点,则需在车辆装载量的基础上增加预定义的金额;若为送货,则需减去预定义的金额。此消息定义了此类金额。请参阅 loadDemands
。
JSON 表示法 |
{
"amount": string
} |
字段 |
amount |
string (int64 format)
执行相应访问的车辆的重量会有所不同。由于它是整数,因此建议用户选择合适的单位,以免精度丢失。必须大于或等于 0。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-29。
[null,null,["最后更新时间 (UTC):2025-08-29。"],[[["\u003cp\u003eThe provided data describes how to represent an adjustment amount for vehicle load in JSON format.\u003c/p\u003e\n"],["\u003cp\u003eThe adjustment amount is a string representing a 64-bit integer and is used to modify the vehicle's load during a visit.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eamount\u003c/code\u003e field specifies the quantity the vehicle's load will change during the corresponding visit, and it must be greater than or equal to zero.\u003c/p\u003e\n"],["\u003cp\u003eThe load adjustment can either add to the load of the vehicle if it is a pickup, or subtract from the load if it is a delivery.\u003c/p\u003e\n"]]],[],null,["# Load\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nWhen performing a visit, a predefined amount may be added to the vehicle load if it's a pickup, or subtracted if it's a delivery. This message defines such amount. See [loadDemands](/maps/tt/route-optimization/experimental/u-turn-avoidance/reference/rest/v1/ShipmentModel#Shipment.FIELDS.load_demands).\n\n| JSON representation |\n|------------------------------|\n| ``` { \"amount\": string } ``` |\n\n| Fields ||\n|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `amount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The amount by which the load of the vehicle performing the corresponding visit will vary. Since it is an integer, users are advised to choose an appropriate unit to avoid loss of precision. Must be ≥ 0. |"]]