Exemplo n.º 1
0
 public void MergeFrom(SendReportRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.report_ != null)
     {
         if (report_ == null)
         {
             report_ = new Bgs.Protocol.Report.V1.Report();
         }
         Report.MergeFrom(other.Report);
     }
 }
Exemplo n.º 2
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (report_ == null)
                    {
                        report_ = new Bgs.Protocol.Report.V1.Report();
                    }
                    input.ReadMessage(report_);
                    break;
                }
                }
            }
        }