public sealed class Interval : IMessage<Vehicle.Types.LoadLimit.Types.Interval>, IEquatable<Vehicle.Types.LoadLimit.Types.Interval>, IDeepCloneable<Vehicle.Types.LoadLimit.Types.Interval>, IBufferMessage, IMessage
Interval of acceptable load amounts.
Implements
IMessage<Vehicle.Types.LoadLimit.Types.Interval>, IEquatable<Vehicle.Types.LoadLimit.Types.Interval>, IDeepCloneable<Vehicle.Types.LoadLimit.Types.Interval>, IBufferMessage, IMessageNamespace
Google.Cloud.Optimization.V1Assembly
Google.Cloud.Optimization.V1.dll
Constructors
Interval()
public Interval()
Interval(Vehicle.Types.LoadLimit.Types.Interval)
public Interval(Vehicle.Types.LoadLimit.Types.Interval other)
Parameter | |
---|---|
Name | Description |
other | Vehicle.Types.LoadLimit.Types.Interval |
Properties
HasMax
public bool HasMax { get; }
Gets whether the "max" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
Max
public long Max { get; set; }
A maximum acceptable load. Must be ≥ 0. If unspecified, the maximum load is unrestricted by this message. If they're both specified, [min][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval.min] must be ≤ [max][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval.max].
Property Value | |
---|---|
Type | Description |
Int64 |
Min
public long Min { get; set; }
A minimum acceptable load. Must be ≥ 0. If they're both specified, [min][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval.min] must be ≤ [max][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval.max].
Property Value | |
---|---|
Type | Description |
Int64 |