Top "Protocol-buffers" questions

Protocol Buffers is a language-neutral and platform-neutral way of encoding structured data in an efficient yet extensible format.

How do I represent a UUID in a protobuf message?

I want to attach a UUID to a field in my protobuf User message example. message User { // field containing id …

protocol-buffers uuid
raw decoder for protobufs format

I'd like to find a way to convert a binary protobuf message into a human readable description of the contained …

protocol-buffers
Upgrading protobuf from version 2 to 3 - incompatible with protobuf default values

Im trying to upgrade to using protobuf version 3, and stay backwards compatible with version 2. Seems to work except for one …

protocol-buffers
google protobuf maximum size

I have some repeating elements in my protobuf message. At runtime the length of the message could be anything - …

protocol-buffers
Check if a field has been set in protocol buffer 3

I am migrating a java application from protocol buffers 2 to protocol buffer 3. In proto 2 to check if a field is …

java protocol-buffers proto3
Correct format of protoc go_package?

I have an existing project in Go where I'm using Protocol buffers / gRPC. Until recent the go_package option was …

protocol-buffers protoc grpc-go
Why are there no custom default values in proto3?

The proto2 version of Protocol Buffers allows to specify default values for message elements: optional double scaling_factor = 3 [default = 1.0]; Why …

protocol-buffers proto3
Thrift, Avro, Protocolbuffers - Are they all dead?

Working on a pet project (cassandra, spark, hadoop, kafka) I need a data serialization framework. Checking out the common three …

hadoop serialization protocol-buffers thrift avro
boost serialization vs google protocol buffers?

Does anyone with experience with these libraries have any comment on which one they preferred? Were there any performance differences …

c++ performance serialization protocol-buffers boost-serialization
How does protocol buffer handle versioning?

How does protocol buffers handle type versioning? For example, when I need to change a type definition over time? Like …

protocol-buffers protobuf-net