Interface ShipmentModel.PrecedenceRuleOrBuilder (1.30.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
TypeDescription
int

The firstIndex.

getFirstIsDelivery()

public abstract boolean getFirstIsDelivery()

Indicates if the "first" event is a delivery.

bool first_is_delivery = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DurationOrBuilder

getSecondIndex()

public abstract int getSecondIndex()

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

optional int32 second_index = 2;

Returns
TypeDescription
int

The secondIndex.

getSecondIsDelivery()

public abstract boolean getSecondIsDelivery()

Indicates if the "second" event is a delivery.

bool second_is_delivery = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the secondIndex field is set.