C/C++ Protocol-buffers Resources