No, not at all. The question is whether or not the force is reasonable and proportional.
It's interesting. Sometimes we don't even talk about a discharge of firearms. It could just be the pointing of a firearm, which is otherwise an offence. It's a crime to point a firearm at someone unless you're in a justified circumstance such as self-defence, but no, we're not talking about self-defence linked exclusively to firearms.