我们通过extend
google.protobuf.MessageOptions的方式,扩展一个msgid用于在message的设计阶段便设定消息的固定id 。
使用protoc的--descriptor_set_out,将定义好的proto文件导出。此时导出的文件便是FileDescriptorSet
,但是最终不知道怎么生成c#脚本
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe fro
Hello
I am using protobuf v2 for many years.
Recently I had to add a new required string attribute to the existing
message.
Everything compiles and builds using centos 7.
But the set method throws from inside the libstdc when doing the assign.
(gdb) bt
#0 0x7f5c07d9ad39 in std::string::assign(
Hello,
New to protobuf. Like to implement it in our existing code base. We
currently use cereal to serialiaze the data. We have over 100
structs/classes send over TCP/IP. However reading about protobuf I came
across an issue that I wounder if other have tackled and found a solution
for.
My