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
@Generated
public interface SkippedShipmentOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()The index corresponds to the index of the shipment in the source `ShipmentModel`.getLabel()Copy of the corresponding [Shipment.label][google.cloud.optimization.v1.Shipment.label], if specified in the `Shipment`.com.google.protobuf.ByteStringCopy 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.intA list of reasons that explain why the shipment was skipped.A list of reasons that explain why the shipment was skipped.getReasonsOrBuilder(int index) A list of reasons that explain why the shipment was skipped.List<? extends SkippedShipment.ReasonOrBuilder>A list of reasons that explain why the shipment was skipped.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
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
A list of reasons that explain why the shipment was skipped. See comment above `Reason`.
repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
-