It is a simple matter and the best thing to do if you are a beef eater then you must stay away from India to avoid being killed. The presence of extremist in India are just taking their faith in an extreme level which is also not good. If we are visiting that place we must at all cost respect their cultures and respect their sacred animals to honor their culture and to protect our lives at the same time. Thus that is a win-win solution but if you are not sure and afraid of those realities in India then better to stay away from that country.
Don't be so afraid. Even in the hard-core Hindu states such as Uttar Pradesh and Haryana, buffalo meat is readily available in the Muslim areas. And in moderate states such as Maharashtra and Telengana, you can get cow-meat without much trouble (although it is not 100% legal). And cow meat is legal and easily available in at least half of the Indian states, including Kerala, Tamil Nadu, Meghalaya, West Bengal, Mizoram, Nagaland, Jammu Kashmir, Sikkim.etc.
I noticed your handle. Are you an executive of Tyson Foods?