automatic proto handler generate & func binding