Interface ShipmentTypeIncompatibilityOrBuilder (1.1.2)

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
TypeDescription
ShipmentTypeIncompatibility.IncompatibilityMode

The incompatibilityMode.

getIncompatibilityModeValue()

public abstract int getIncompatibilityModeValue()

Mode applied to the incompatibility.

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

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<String>

A list containing the types.