Interface ShipmentModel.PrecedenceRuleOrBuilder (1.53.0)

public static interface ShipmentModel.PrecedenceRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFirstIndex()

public abstract int getFirstIndex()

Shipment index of the "first" event. This field must be specified.

optional int32 first_index = 1;

Returns
Type Description
int

The firstIndex.

getFirstIsDelivery()

public abstract boolean getFirstIsDelivery()

Indicates if the "first" event is a delivery.

bool first_is_delivery = 3;

Returns
Type Description
boolean

The firstIsDelivery.

getOffsetDuration()

public abstract Duration getOffsetDuration()

The offset between the "first" and "second" event. It can be negative.

.google.protobuf.Duration offset_duration = 5;

Returns
Type Description
Duration

The offsetDuration.

getOffsetDurationOrBuilder()

public abstract DurationOrBuilder getOffsetDurationOrBuilder()

The offset between the "first" and "second" event. It can be negative.

.google.protobuf.Duration offset_duration = 5;

Returns
Type Description
DurationOrBuilder

getSecondIndex()

public abstract int getSecondIndex()

Shipment index of the "second" event. This field must be specified.

optional int32 second_index = 2;

Returns
Type Description
int

The secondIndex.

getSecondIsDelivery()

public abstract boolean getSecondIsDelivery()

Indicates if the "second" event is a delivery.

bool second_is_delivery = 4;

Returns
Type Description
boolean

The secondIsDelivery.

hasFirstIndex()

public abstract boolean hasFirstIndex()

Shipment index of the "first" event. This field must be specified.

optional int32 first_index = 1;

Returns
Type Description
boolean

Whether the firstIndex field is set.

hasOffsetDuration()

public abstract boolean hasOffsetDuration()

The offset between the "first" and "second" event. It can be negative.

.google.protobuf.Duration offset_duration = 5;

Returns
Type Description
boolean

Whether the offsetDuration field is set.

hasSecondIndex()

public abstract boolean hasSecondIndex()

Shipment index of the "second" event. This field must be specified.

optional int32 second_index = 2;

Returns
Type Description
boolean

Whether the secondIndex field is set.