Example #1
0
 public void MergeFrom(ReqUserUpdate other)
 {
     if (other == null)
     {
         return;
     }
     if (other.user_ != null)
     {
         if (user_ == null)
         {
             user_ = new global::Google.Protobuf.User();
         }
         User.MergeFrom(other.User);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #2
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (user_ == null)
                    {
                        user_ = new global::Google.Protobuf.User();
                    }
                    input.ReadMessage(user_);
                    break;
                }
                }
            }
        }