Well, back in 1979 China and Vietnam fought a brief border war, and Vietnam gave the PLA a bloody nose. So who can tell?
Not China but the Chinese Communist Party ,they own the military
The question is whether India has the will to face down the Chi-coms if the shooting starts. Indira Gandhi was tough - her successors not so much.