public sealed class ShipmentRoute.Types.VehicleLoad : IMessage<ShipmentRoute.Types.VehicleLoad>, IEquatable<ShipmentRoute.Types.VehicleLoad>, IDeepCloneable<ShipmentRoute.Types.VehicleLoad>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Optimization v1 API class ShipmentRoute.Types.VehicleLoad.
Reports the actual load of the vehicle at some point along the route,
for a given type (see
[Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]).
The amount of load on the vehicle, for the given type. The unit of load
is usually indicated by the type. See
[Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation page covers the \u003ccode\u003eShipmentRoute.Types.VehicleLoad\u003c/code\u003e class within the Google Cloud Optimization v1 API, specifically version 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eShipmentRoute.Types.VehicleLoad\u003c/code\u003e reports the actual load of a vehicle at a specific point along its route, which is detailed in \u003ccode\u003eTransition.vehicle_loads\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing it to be used in various ways within the API.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, a default one and one that takes an existing \u003ccode\u003eVehicleLoad\u003c/code\u003e object for copying.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAmount\u003c/code\u003e property of type \u003ccode\u003elong\u003c/code\u003e specifies the load on the vehicle, and its measurement unit depends on the load type.\u003c/p\u003e\n"]]],[],null,[]]