[protobuf] oneof encoding specification

2015-10-28 Thread cerealizer
Hello, I would like to learn about how oneof's are encoded in binary and what the serialization and deserialization cost maybe. To provide with some context, I am experimenting with a streaming rpc service. To be specific it is a client side streaming, something akin to the grpc documentation:

[protobuf] Using Protobuf with Visual Studio 2013/2015

2015-10-28 Thread Vanderlan Dupont de Oliveira
Hello, I'm trying to use the protobuf in VS C ++ but I can not. There are a number of outbuildings and the libs do not perform properly. Does anyone have an example or some tutorial to use protobuf in Visual Studio? -- You received this message because you are subscribed to the Google Groups

[protobuf] Converting a ProtoBuf data to a Relational Structure.

2015-10-28 Thread Satish SD
Hello!, I'm very new to ProtoBuf. I come from a relational database world and would like to know if there is a technique or tool to convert a given serialized ProtoBuf message into a structured and Normalized relational model? - I have access to .proto files. Requirement is to map multiple

[protobuf] How to use map in protobuf3 more convenient?

2015-10-28 Thread 桂勇
Hi,all I hava a simple .proto file like this: test.proto### syntax = "proto3"; package test; message RowInfo { string key = 1; map fields = 2; } test.proto### But I have to assign RowInfo with mutable_fields() method which return

[protobuf] How to serializate and deserializate map more convenient and efficient.

2015-10-28 Thread 桂勇
Hi,all I have a simple .proto file like this: /***/ syntax = "proto3"; package test; message RowInfo { string key = 1; map fields = 2; } /***/ My program needs to serialize RowInfo and save the serialized

Re: [protobuf] oneof encoding specification

2015-10-28 Thread 'Feng Xiao' via Protocol Buffers
On Tue, Oct 27, 2015 at 5:02 AM, wrote: > Hello, > > I would like to learn about how oneof's are encoded in binary and what the > serialization and deserialization cost maybe. To provide with some context, > I am experimenting with a streaming rpc service. To be specific it