Interface SkippedShipmentOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SkippedShipment, SkippedShipment.Builder

@Generated public interface SkippedShipmentOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The index corresponds to the index of the shipment in the source `ShipmentModel`.
    Copy of the corresponding [Shipment.label][google.cloud.optimization.v1.Shipment.label], if specified in the `Shipment`.
    com.google.protobuf.ByteString
    Copy of the corresponding [Shipment.label][google.cloud.optimization.v1.Shipment.label], if specified in the `Shipment`.
    getReasons(int index)
    A list of reasons that explain why the shipment was skipped.
    int
    A list of reasons that explain why the shipment was skipped.
    A list of reasons that explain why the shipment was skipped.
    A list of reasons that explain why the shipment was skipped.
    A list of reasons that explain why the shipment was skipped.

    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 Details

    • getIndex

      int getIndex()
       The index corresponds to the index of the shipment in the source
       `ShipmentModel`.
       
      int32 index = 1;
      Returns:
      The index.
    • getLabel

      String getLabel()
       Copy of the corresponding
       [Shipment.label][google.cloud.optimization.v1.Shipment.label], if specified
       in the `Shipment`.
       
      string label = 2;
      Returns:
      The label.
    • getLabelBytes

      com.google.protobuf.ByteString getLabelBytes()
       Copy of the corresponding
       [Shipment.label][google.cloud.optimization.v1.Shipment.label], if specified
       in the `Shipment`.
       
      string label = 2;
      Returns:
      The bytes for label.
    • getReasonsList

      List<SkippedShipment.Reason> getReasonsList()
       A list of reasons that explain why the shipment was skipped. See comment
       above `Reason`.
       
      repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
    • getReasons

      SkippedShipment.Reason getReasons(int index)
       A list of reasons that explain why the shipment was skipped. See comment
       above `Reason`.
       
      repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
    • getReasonsCount

      int getReasonsCount()
       A list of reasons that explain why the shipment was skipped. See comment
       above `Reason`.
       
      repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
    • getReasonsOrBuilderList

      List<? extends SkippedShipment.ReasonOrBuilder> getReasonsOrBuilderList()
       A list of reasons that explain why the shipment was skipped. See comment
       above `Reason`.
       
      repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
    • getReasonsOrBuilder

      SkippedShipment.ReasonOrBuilder getReasonsOrBuilder(int index)
       A list of reasons that explain why the shipment was skipped. See comment
       above `Reason`.
       
      repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;