protbuf recipe