add proto buffers examples code