public override int GetHashCode()
        {
            int hash = 1;

            if (Command.Length != 0)
            {
                hash ^= Command.GetHashCode();
            }
            if (SeqId != 0L)
            {
                hash ^= SeqId.GetHashCode();
            }
            if (RetryCount != 0)
            {
                hash ^= RetryCount.GetHashCode();
            }
            if (PayloadData.Length != 0)
            {
                hash ^= PayloadData.GetHashCode();
            }
            if (userInstance_ != null)
            {
                hash ^= UserInstance.GetHashCode();
            }
            if (ErrorCode != 0)
            {
                hash ^= ErrorCode.GetHashCode();
            }
            if (settingInfo_ != null)
            {
                hash ^= SettingInfo.GetHashCode();
            }
            if (requestBasicInfo_ != null)
            {
                hash ^= RequestBasicInfo.GetHashCode();
            }
            if (SubBiz.Length != 0)
            {
                hash ^= SubBiz.GetHashCode();
            }
            if (frontendInfo_ != null)
            {
                hash ^= FrontendInfo.GetHashCode();
            }
            if (Kpn.Length != 0)
            {
                hash ^= Kpn.GetHashCode();
            }
            if (AnonymouseUser != false)
            {
                hash ^= AnonymouseUser.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
 public void MergeFrom(UpstreamPayload other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Command.Length != 0)
     {
         Command = other.Command;
     }
     if (other.SeqId != 0L)
     {
         SeqId = other.SeqId;
     }
     if (other.RetryCount != 0)
     {
         RetryCount = other.RetryCount;
     }
     if (other.PayloadData.Length != 0)
     {
         PayloadData = other.PayloadData;
     }
     if (other.userInstance_ != null)
     {
         if (userInstance_ == null)
         {
             UserInstance = new global::AcFunDanmu.UserInstance();
         }
         UserInstance.MergeFrom(other.UserInstance);
     }
     if (other.ErrorCode != 0)
     {
         ErrorCode = other.ErrorCode;
     }
     if (other.settingInfo_ != null)
     {
         if (settingInfo_ == null)
         {
             SettingInfo = new global::AcFunDanmu.SettingInfo();
         }
         SettingInfo.MergeFrom(other.SettingInfo);
     }
     if (other.requestBasicInfo_ != null)
     {
         if (requestBasicInfo_ == null)
         {
             RequestBasicInfo = new global::AcFunDanmu.RequestBasicInfo();
         }
         RequestBasicInfo.MergeFrom(other.RequestBasicInfo);
     }
     if (other.SubBiz.Length != 0)
     {
         SubBiz = other.SubBiz;
     }
     if (other.frontendInfo_ != null)
     {
         if (frontendInfo_ == null)
         {
             FrontendInfo = new global::AcFunDanmu.FrontendInfo();
         }
         FrontendInfo.MergeFrom(other.FrontendInfo);
     }
     if (other.Kpn.Length != 0)
     {
         Kpn = other.Kpn;
     }
     if (other.AnonymouseUser != false)
     {
         AnonymouseUser = other.AnonymouseUser;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }