Interface Vehicle.LoadLimit.IntervalOrBuilder (1.52.0)

public static interface Vehicle.LoadLimit.IntervalOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMax()

public abstract long getMax()

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

optional int64 max = 2;

Returns
Type Description
long

The max.

getMin()

public abstract long getMin()

A minimum acceptable load. Must be ≥ 0. If they're both specified, min must be ≤ max.

int64 min = 1;

Returns
Type Description
long

The min.

hasMax()

public abstract boolean hasMax()

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

optional int64 max = 2;

Returns
Type Description
boolean

Whether the max field is set.