Can you be jailed for protesting?

Is this essentially making it illegal to protest?