public override int GetHashCode() { int hash = 1; if (HasId) { hash ^= Id.GetHashCode(); } if (HasEmoji) { hash ^= Emoji.GetHashCode(); } if (HasContentType) { hash ^= ContentType.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }