protobuf integration