Hong Kong police drew their guns and fired a warning shot Sunday night after protesters attacked officers with sticks and rods, and brought out water cannon trucks for the first time, an escalation in the summerlong protests that have shaken the city's government and residents.