public sealed class Load : IMessage<Shipment.Types.Load>, IEquatable<Shipment.Types.Load>, IDeepCloneable<Shipment.Types.Load>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Optimization v1 API class Shipment.Types.Load.
When 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
[load_demands][google.cloud.optimization.v1.Shipment.load_demands].
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.
[[["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 webpage provides reference documentation and code samples for the \u003ccode\u003eShipment.Types.Load\u003c/code\u003e class within the Cloud Optimization v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eShipment.Types.Load\u003c/code\u003e class defines the amount by which a vehicle's load changes during a visit, with separate amounts added for pickups and subtracted for deliveries.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eShipment.Types.Load\u003c/code\u003e inherits from Object and implements IMessage<Shipment.Types.Load>, IEquatable<Shipment.Types.Load>, IDeepCloneable<Shipment.Types.Load>, IBufferMessage, IMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class available is 2.6.0, and older versions back to 1.0.0-beta01 are also documented.\u003c/p\u003e\n"],["\u003cp\u003eThe property \u003ccode\u003eAmount\u003c/code\u003e is of type Int64 and represents the amount by which the load of the vehicle performing the corresponding visit will vary.\u003c/p\u003e\n"]]],[],null,[]]