Interface SkippedShipmentOrBuilder (1.40.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
Type Description
int

The index.

getLabel()

public abstract String getLabel()

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

string label = 2;

Returns
Type Description
String

The label.

getLabelBytes()

public abstract ByteString getLabelBytes()

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

string label = 2;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.optimization.v1.SkippedShipment.ReasonOrBuilder>