China vows a necessary response if any actions harm its interests.