Interface ShipmentTypeIncompatibilityOrBuilder

    • 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.