王爷 are normally brothers of the emperor, however this title has also been given to people who have done something extraordinary for the country.
中堂 is a general title of those who have the position and power to make decisions on behalf of the country.
大人 simply means people who have been accredited the position/power to work for the government, normally as the head of local government. you can also say 中堂大人.