Package com.google.cloud.optimization.v1
Interface ShipmentTypeIncompatibilityOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ShipmentTypeIncompatibility
,ShipmentTypeIncompatibility.Builder
public interface ShipmentTypeIncompatibilityOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ShipmentTypeIncompatibility.IncompatibilityMode
getIncompatibilityMode()
Mode applied to the incompatibility.int
getIncompatibilityModeValue()
Mode applied to the incompatibility.String
getTypes(int index)
List of incompatible types.com.google.protobuf.ByteString
getTypesBytes(int index)
List of incompatible types.int
getTypesCount()
List of incompatible types.List<String>
getTypesList()
List of incompatible types.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTypesList
List<String> getTypesList()
List of incompatible types. Two shipments having different `shipment_types` among those listed are "incompatible".
repeated string types = 1;
- Returns:
- A list containing the types.
-
getTypesCount
int getTypesCount()
List of incompatible types. Two shipments having different `shipment_types` among those listed are "incompatible".
repeated string types = 1;
- Returns:
- The count of types.
-
getTypes
String getTypes(int index)
List of incompatible types. Two shipments having different `shipment_types` among those listed are "incompatible".
repeated string types = 1;
- Parameters:
index
- The index of the element to return.- Returns:
- The types at the given index.
-
getTypesBytes
com.google.protobuf.ByteString getTypesBytes(int index)
List of incompatible types. Two shipments having different `shipment_types` among those listed are "incompatible".
repeated string types = 1;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the types at the given index.
-
getIncompatibilityModeValue
int getIncompatibilityModeValue()
Mode applied to the incompatibility.
.google.cloud.optimization.v1.ShipmentTypeIncompatibility.IncompatibilityMode incompatibility_mode = 2;
- Returns:
- The enum numeric value on the wire for incompatibilityMode.
-
getIncompatibilityMode
ShipmentTypeIncompatibility.IncompatibilityMode getIncompatibilityMode()
Mode applied to the incompatibility.
.google.cloud.optimization.v1.ShipmentTypeIncompatibility.IncompatibilityMode incompatibility_mode = 2;
- Returns:
- The incompatibilityMode.
-
-