Interface Vehicle.LoadLimit.IntervalOrBuilder (0.1.2)

public static interface Vehicle.LoadLimit.IntervalOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMax()

public abstract long getMax()

A maximum acceptable load. Must be \u2265 0. If unspecified, the maximum load is unrestricted by this message. If they're both specified, min must be \u2264 max.

optional int64 max = 2;

Returns
TypeDescription
long

The max.

getMin()

public abstract long getMin()

A minimum acceptable load. Must be \u2265 0. If they're both specified, min must be \u2264 max.

int64 min = 1;

Returns
TypeDescription
long

The min.

hasMax()

public abstract boolean hasMax()

A maximum acceptable load. Must be \u2265 0. If unspecified, the maximum load is unrestricted by this message. If they're both specified, min must be \u2264 max.

optional int64 max = 2;

Returns
TypeDescription
boolean

Whether the max field is set.