public void MergeFrom(FriendshipData other)
 {
     if (other == null)
     {
         return;
     }
     if (other.friendshipLevelData_ != null)
     {
         if (friendshipLevelData_ == null)
         {
             friendshipLevelData_ = new global::POGOProtos.Data.Friends.FriendshipLevelData();
         }
         FriendshipLevelData.MergeFrom(other.FriendshipLevelData);
     }
     giftboxDetails_.Add(other.giftboxDetails_);
     if (other.Codename.Length != 0)
     {
         Codename = other.Codename;
     }
     if (other.Nickname.Length != 0)
     {
         Nickname = other.Nickname;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (friendshipLevelData_ != null)
            {
                hash ^= FriendshipLevelData.GetHashCode();
            }
            hash ^= giftboxDetails_.GetHashCode();
            if (Codename.Length != 0)
            {
                hash ^= Codename.GetHashCode();
            }
            if (Nickname.Length != 0)
            {
                hash ^= Nickname.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }