[protobuf] Self-describing messages in Python

2023-04-07 Thread Jan Machek
Hello, I am trying to build self-describing messages using Python. I read through the documentation https://protobuf.dev/programming-guides/techniques/#self-description as well as through the Python API https://googleapis.dev/python/protobuf/latest/google/protobuf.html, but I am still not

[protobuf] Self describing messages

2011-06-22 Thread slookin
I trying to develop flexible server for reciving message, i'm not able to create java classes for each message type, but I can upload proto descripter on server. Of course client (sender) will use generated java classes for prepare messages: My code (sender): Person.Builder person =

Re: [protobuf] Self describing messages

2011-06-22 Thread Jason Hsueh
On Wed, Jun 22, 2011 at 3:30 AM, slookin sloo...@gmail.com wrote: I trying to develop flexible server for reciving message, i'm not able to create java classes for each message type, but I can upload proto descripter on server. Of course client (sender) will use generated java classes for

[protobuf] Self describing messages

2010-07-23 Thread David
I'm trying to send a self-describing message from a JMS producer to a consumer. On the producer I have something like: Descriptor desc = builder.getDescriptorForType(); DescriptorProto proto = desc.toProto(); Then I send the bytes of the proto and the bytes of the built object