Esempio n. 1
0
 public void MergeFrom(Request other)
 {
     if (other == null)
     {
         return;
     }
     if (other.protoHead_ != null)
     {
         if (protoHead_ == null)
         {
             protoHead_ = new global::Arknoah.Request.Types.head();
         }
         ProtoHead.MergeFrom(other.ProtoHead);
     }
 }
Esempio 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 (protoHead_ == null)
                    {
                        protoHead_ = new global::Arknoah.Request.Types.head();
                    }
                    input.ReadMessage(protoHead_);
                    break;
                }
                }
            }
        }