score:1
I will have check-in luggage which I need to collect from Qantas and check-in on Virgin Australia to Tonga.
In other words, you have to clear immigration, and thus need a class 771 (transit) visa.
You would not need a visa if staying in the transit zone for max 8 hours, but with separate tickets, this is not possible.