Interface SkippedShipmentOrBuilder (1.28.0)

public interface SkippedShipmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIndex()

public abstract int getIndex()

The index corresponds to the index of the shipment in the source ShipmentModel.

int32 index = 1;

Returns
TypeDescription
int

The index.

getLabel()

public abstract String getLabel()

Copy of the corresponding Shipment.label, if specified in the Shipment.

string label = 2;

Returns
TypeDescription
String

The label.

getLabelBytes()

public abstract ByteString getLabelBytes()

Copy of the corresponding Shipment.label, if specified in the Shipment.

string label = 2;

Returns
TypeDescription
ByteString

The bytes for label.

getReasons(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
SkippedShipment.Reason

getReasonsCount()

public abstract 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;

Returns
TypeDescription
int

getReasonsList()

public abstract 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;

Returns
TypeDescription
List<Reason>

getReasonsOrBuilder(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
SkippedShipment.ReasonOrBuilder

getReasonsOrBuilderList()

public abstract 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;

Returns
TypeDescription
List<? extends com.google.cloud.optimization.v1.SkippedShipment.ReasonOrBuilder>