"Defending" assumes an attacker, which is the one breaking the principle of non-violence. So no, you're not a hypocrite to defend yourself if you believe in non-violence
Said differently, the belief in non-violence can be stated as "I believe in pursuing non-violent means in absolutely every situation except for those in which another actor acts violently toward me"