The Prime Minister has condemned the violence seen against police officers during protests over the weekend.