public override int GetHashCode() { int hash = 1; if (PermissionType.Length != 0) { hash ^= PermissionType.GetHashCode(); } if (Granted != false) { hash ^= Granted.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }