add two demo for protobuf