public static interface ShipmentModel.PrecedenceRuleOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getFirstIndex()
public abstract int getFirstIndex()
Shipment index of the "first" event. This field must be specified.
optional int32 first_index = 1;
Type | Description |
int | The firstIndex. |
getFirstIsDelivery()
public abstract boolean getFirstIsDelivery()
Indicates if the "first" event is a delivery.
bool first_is_delivery = 3;
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;
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;
Type | Description |
DurationOrBuilder |
getSecondIndex()
public abstract int getSecondIndex()
Shipment index of the "second" event. This field must be specified.
optional int32 second_index = 2;
Type | Description |
int | The secondIndex. |
getSecondIsDelivery()
public abstract boolean getSecondIsDelivery()
Indicates if the "second" event is a delivery.
bool second_is_delivery = 4;
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;
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;
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;
Type | Description |
boolean | Whether the secondIndex field is set. |