[protobuf] Re: Serializing part of a message and writing to disk

2011-03-08 Thread Linus
Thank you for the response. On Mar 8, 5:59 am, Evan Jones ev...@mit.edu wrote: On Mar 8, 2011, at 2:12 , Linus wrote: At a later stage in the code, the values of (say) Message A are changed by the user. Is there a way of modifying only Message A and updating the file on disk, without

[protobuf] Serializing part of a message and writing to disk

2011-03-07 Thread Linus
by the user. Is there a way of modifying only Message A and updating the file on disk, without loading the composite Message C updating the Message A and flushing entire contents to disk again? Any help appreciated. Thanks, Linus -- You received this message because you are subscribed

[protobuf] Re: Chunking a large message

2011-03-04 Thread Linus
:53 , Linus wrote: I am wondering if there are any examples of chunking large PB messages (about 1MB) into smaller chunks, to transmit over the wire. This is going to be pretty application specific. Typically it involves   taking one message with a huge repeated field and sending it / writing

[protobuf] Chunking a large message

2011-03-03 Thread Linus
Hello, I am wondering if there are any examples of chunking large PB messages (about 1MB) into smaller chunks, to transmit over the wire. Thanks, Linus -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To post to this group, send email

[protobuf] Nested messages using C++

2011-01-13 Thread Linus
::param ). Is there something wrong with how I am structuring my messages? Any help is appreciated. Please let me know if this post is unclear and I will try and explain myself better. Thanks! Linus -- You received this message because you are subscribed to the Google Groups Protocol Buffers

[protobuf] Re: Nested messages using C++

2011-01-13 Thread Linus
{ required nv numVars = 1; repeated dp despar = 2; required Shape db_size = 3; repeated ds dtst = 4; } On Jan 13, 1:48 pm, Linus suram.su...@gmail.com wrote: Hello, I have nested messages like the following (it is a little more complicated, but i am trying

[protobuf] Re: Nested messages using C++

2011-01-13 Thread Linus
, 2011 at 5:38 PM, Linus suram.su...@gmail.com wrote: I am new to PB and I just ran into this. Is it possible that the PB compiler does not generate set_... methods for some nested messages? Here is an example: I don't see set_... methods for ANY of the parameters in the db message