public override int GetHashCode() { int hash = 1; if (HasCustomSelectShard) { hash ^= CustomSelectShard.GetHashCode(); } if (HasCustomValidator) { hash ^= CustomValidator.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }