public sealed class Shipment.Types.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].
Implements
IMessageShipmentTypesLoad, IEquatableShipmentTypesLoad, IDeepCloneableShipmentTypesLoad, IBufferMessage, IMessageNamespace
Google.Cloud.Optimization.V1Assembly
Google.Cloud.Optimization.V1.dll
Constructors
Load()
public Load()
Load(Load)
public Load(Shipment.Types.Load other)
Parameter | |
---|---|
Name | Description |
other | ShipmentTypesLoad |
Properties
Amount
public long Amount { get; set; }
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.
Property Value | |
---|---|
Type | Description |
long |