public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 8: {
                    StmtId = input.ReadUInt32();
                    break;
                }

                case 18: {
                    if (stmt_ == null)
                    {
                        stmt_ = new global::Mysqlx.Prepare.Prepare.Types.OneOfMessage();
                    }
                    input.ReadMessage(stmt_);
                    break;
                }
                }
            }
        }
 public void MergeFrom(Prepare other)
 {
     if (other == null)
     {
         return;
     }
     if (other.StmtId != 0)
     {
         StmtId = other.StmtId;
     }
     if (other.stmt_ != null)
     {
         if (stmt_ == null)
         {
             stmt_ = new global::Mysqlx.Prepare.Prepare.Types.OneOfMessage();
         }
         Stmt.MergeFrom(other.Stmt);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }