Interface ShipmentTypeIncompatibilityOrBuilder (1.52.0)

public interface ShipmentTypeIncompatibilityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIncompatibilityMode()

public abstract ShipmentTypeIncompatibility.IncompatibilityMode getIncompatibilityMode()

Mode applied to the incompatibility.

.google.cloud.optimization.v1.ShipmentTypeIncompatibility.IncompatibilityMode incompatibility_mode = 2;

Returns
Type Description
ShipmentTypeIncompatibility.IncompatibilityMode

The incompatibilityMode.

getIncompatibilityModeValue()

public abstract int getIncompatibilityModeValue()

Mode applied to the incompatibility.

.google.cloud.optimization.v1.ShipmentTypeIncompatibility.IncompatibilityMode incompatibility_mode = 2;

Returns
Type Description
int

The enum numeric value on the wire for incompatibilityMode.

getTypes(int index)

public abstract String getTypes(int index)

List of incompatible types. Two shipments having different shipment_types among those listed are "incompatible".

repeated string types = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The types at the given index.

getTypesBytes(int index)

public abstract ByteString getTypesBytes(int index)

List of incompatible types. Two shipments having different shipment_types among those listed are "incompatible".

repeated string types = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the types at the given index.

getTypesCount()

public abstract int getTypesCount()

List of incompatible types. Two shipments having different shipment_types among those listed are "incompatible".

repeated string types = 1;

Returns
Type Description
int

The count of types.

getTypesList()

public abstract List<String> getTypesList()

List of incompatible types. Two shipments having different shipment_types among those listed are "incompatible".

repeated string types = 1;

Returns
Type Description
List<String>

A list containing the types.