[protobuf] Max number of repeated fields?

2010-08-26 Thread Louis Marascio
Hi there, I have a simple message defined with a repeated field. The repeated field type is another message type. For example: Message A { repeated B b = 1; } Message B { required uint32 x = 1; } I'm building up a single A message in memory with quite a few B's. I am constantly receveiving

Re: [protobuf] Status of protobufs

2010-08-26 Thread Evan Jones
On Aug 26, 2010, at 12:07 , Jean-Sebastien Stoezel wrote: More specifically how they are parsed from real time datastreams? You should manually insert a leading length of next message field into the data stream. The Java implementation even has a shortcut methods for this (see below). In

[protobuf] Re: Get enum as string in Python

2010-08-26 Thread Mike
Got it, Thanks! In your first statement, I believe the method is actually enum_types_by_name - at least that's what worked for me. On Aug 26, 12:29 am, Jason Hsueh jas...@google.com wrote: You can pull this from the descriptors: my_enum_descriptor =

Re: [protobuf] Re: Get enum as string in Python

2010-08-26 Thread Jason Hsueh
Oh, indeed enum_types_by_name is what you want - my bad! On Thu, Aug 26, 2010 at 5:51 PM, Mike mspie...@gmail.com wrote: Got it, Thanks! In your first statement, I believe the method is actually enum_types_by_name - at least that's what worked for me. On Aug 26, 12:29 am, Jason Hsueh