"No one should expect China to swallow anything that undermines its interests," Xi told delegates at Beijing's hulking Great Hall of the People.