Package com.google.cloud.optimization.v1
Interface SkippedShipmentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SkippedShipment
,SkippedShipment.Builder
public interface SkippedShipmentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getIndex()
The index corresponds to the index of the shipment in the source `ShipmentModel`.String
getLabel()
Copy of the corresponding [Shipment.label][google.cloud.optimization.v1.Shipment.label], if specified in the `Shipment`.com.google.protobuf.ByteString
getLabelBytes()
Copy of the corresponding [Shipment.label][google.cloud.optimization.v1.Shipment.label], if specified in the `Shipment`.SkippedShipment.Reason
getReasons(int index)
A list of reasons that explain why the shipment was skipped.int
getReasonsCount()
A list of reasons that explain why the shipment was skipped.List<SkippedShipment.Reason>
getReasonsList()
A list of reasons that explain why the shipment was skipped.SkippedShipment.ReasonOrBuilder
getReasonsOrBuilder(int index)
A list of reasons that explain why the shipment was skipped.List<? extends SkippedShipment.ReasonOrBuilder>
getReasonsOrBuilderList()
A list of reasons that explain why the shipment was skipped.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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;
-
-