China vowed to take all necessary measures to protect its "sovereignty" over the South China Sea and said it had the right to set up an air defence zone, after rejecting an international tribunal's ruling denying its claims to the energy-rich waters.