I'd say it wasn't the gluten. While the time till response varies a bit in people if you have an active response to gluten consumption it's probably going to happen within the first 24 hours. If sharp pain was accompanying gluten reactions there's no way you'd be done with it in just a day. Those pains go on for days till they start dieing down.
Aside from that however it does sound like you ate a large number of various items that could cause pain. Might be worth it to stick to clean eating for another week and then reattempt one at a time some of the things you've eaten in these past 2 days. W/e leads up to a reaction you might want to be more diligent about avoiding in the future.
"You can demonstrate the purpose and limits of human digestion with a simple experiment: eat a steak with some whole corn kernels, and see what comes out the other end. It won’t be the steak."