When the neutral is solidly grounded then the generator gets completely protected against earth faults. But when neutral is grounded through earth resistance, then the stator windings gets partly protected against earth faults. The percentage of windings protected depends on the value of earthing resistance and the relay setting.