Interface ShipmentModel.PrecedenceRuleOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getFirstIndex()
      Shipment index of the "first" event.
      boolean getFirstIsDelivery()
      Indicates if the "first" event is a delivery.
      com.google.protobuf.Duration getOffsetDuration()
      The offset between the "first" and "second" event.
      com.google.protobuf.DurationOrBuilder getOffsetDurationOrBuilder()
      The offset between the "first" and "second" event.
      int getSecondIndex()
      Shipment index of the "second" event.
      boolean getSecondIsDelivery()
      Indicates if the "second" event is a delivery.
      boolean hasFirstIndex()
      Shipment index of the "first" event.
      boolean hasOffsetDuration()
      The offset between the "first" and "second" event.
      boolean hasSecondIndex()
      Shipment index of the "second" event.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasFirstIndex

        boolean hasFirstIndex()
         Shipment index of the "first" event. This field must be specified.
         
        optional int32 first_index = 1;
        Returns:
        Whether the firstIndex field is set.
      • getFirstIndex

        int getFirstIndex()
         Shipment index of the "first" event. This field must be specified.
         
        optional int32 first_index = 1;
        Returns:
        The firstIndex.
      • getFirstIsDelivery

        boolean getFirstIsDelivery()
         Indicates if the "first" event is a delivery.
         
        bool first_is_delivery = 3;
        Returns:
        The firstIsDelivery.
      • hasSecondIndex

        boolean hasSecondIndex()
         Shipment index of the "second" event. This field must be specified.
         
        optional int32 second_index = 2;
        Returns:
        Whether the secondIndex field is set.
      • getSecondIndex

        int getSecondIndex()
         Shipment index of the "second" event. This field must be specified.
         
        optional int32 second_index = 2;
        Returns:
        The secondIndex.
      • getSecondIsDelivery

        boolean getSecondIsDelivery()
         Indicates if the "second" event is a delivery.
         
        bool second_is_delivery = 4;
        Returns:
        The secondIsDelivery.
      • hasOffsetDuration

        boolean hasOffsetDuration()
         The offset between the "first" and "second" event. It can be negative.
         
        .google.protobuf.Duration offset_duration = 5;
        Returns:
        Whether the offsetDuration field is set.
      • getOffsetDuration

        com.google.protobuf.Duration getOffsetDuration()
         The offset between the "first" and "second" event. It can be negative.
         
        .google.protobuf.Duration offset_duration = 5;
        Returns:
        The offsetDuration.
      • getOffsetDurationOrBuilder

        com.google.protobuf.DurationOrBuilder getOffsetDurationOrBuilder()
         The offset between the "first" and "second" event. It can be negative.
         
        .google.protobuf.Duration offset_duration = 5;