I don't know what airline you were flying on, but it wasn't Qantas...
I can tell you for sure on the A330 & 767 the pilots DO NOT get bunks... at most, on the 767 it is a tiny, crappy little cubicle with a 'high comfort' (read: old first class from the 60's) seat and the compartment is not sound-proofed so you can hear all the goings on from the cabin...
the A330 is better as they have their own compartment somewhere on board but it is not a bunk- merely a seat which reclines *almost* flat...
Yes it is better than what we CC get but then again, they ARE landing the thing at the end of their duty... wouldn't you prefer they be the ones well rested