Note that Nakama doesn’t support Protobuf (or other buffers) natively using Lua. See forum thread and Github issue.
You’d have to import a third party Lua library to be able to use buffers server side. If that’s your plan, I’d love to hear how you get on!