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 to convert string to ByteString when using protobuf?

I want to convert a string object to ByteString.I have tried to use ByteString.CopyFrom() function to convert,but …

c# protocol-buffers protobuf-csharp-port
How to solve "AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key"?

I encountered it while executing from object_detection.utils import label_map_util in jupyter notebook. It is actually the …

python tensorflow protocol-buffers object-detection-api proto
How can I use protocol buffers for Python on windows?

I have been trying to use protocol buffers in my Python program, but cannot get it to work. I'm running …

python protocol-buffers protoc
How to model HashMap/Dictionary in the ProtoBuf efficiently

I have a protobuf file serialized by .NET code and I would like to consume it into Java. In the .…

java serialization protocol-buffers protobuf-net
protobuf vs gRPC

I try to understand protobuf and gRPC and how I can use both. Could you help me understand the following: …

networking protocol-buffers grpc
Protobuf RPC Service method without parameters

I'm trying to describe an RPC service using Google's Protocol Buffers service WhoamiService { rpc WhoAreYou() returns (Whoami) {} } message Whoami { optional …

protocol-buffers protorpc
Splitting protocol buffer definitions into multiple .proto files

I would like to include a protocol definition file in another protocol file. For example: // base.proto: message P_EndPoint { …

c++ protocol-buffers
Getting all field names from a protocol buffer?

I want to get all the field names of a proto into a list. Is there a way to do …

python protocol-buffers
Protobuf 3.0 Any Type pack/unpack

I would like to know how to transform a Protobuf Any Type to the original Protobuf message type and vice …

protocol-buffers pack unpack any
Examining a protobuf message - how to get field values by name?

I seem unable to find a way to verify the value of a field inside a protobuf message without explicitly …

java protocol-buffers