Re: combine protobuf messages

2009-08-17 Thread Kenton Varda
On Mon, Aug 17, 2009 at 10:21 AM, George Georgiev georgi.georg...@citrix.com wrote: Thanks, Everything looks good now, except default values. I love the fact that if the default value is explicitly stored in the message it override the base value, and it doesn't if it is not. Am I right?

combine protobuf messages

2009-08-14 Thread George Georgiev
Hi, I have a following use case and I'm not sure what will be the best way to go. I have a relatively complex protobuf message that I'm using in my application. It should be correctly initialized my application to works. The problem I have is that the information that makes this complete

Re: combine protobuf messages

2009-08-14 Thread Kenton Varda
On Fri, Aug 14, 2009 at 1:18 PM, George Georgiev georgi.georg...@citrix.com wrote: 1. How to serialize parts from the message without validation Use the Partial serialization and parsing methods, e.g. SerializePartialToString() and ParsePartialFromString(). These do not check required

RE: combine protobuf messages

2009-08-14 Thread George Georgiev
:01 PM To: George Georgiev Cc: Protocol Buffers Subject: Re: combine protobuf messages On Fri, Aug 14, 2009 at 1:18 PM, George Georgiev georgi.georg...@citrix.commailto:georgi.georg...@citrix.com wrote: 1. How to serialize parts from the message without validation Use the Partial serialization

Re: combine protobuf messages

2009-08-14 Thread Kenton Varda
. Thanks -George -- *From:* Kenton Varda [mailto:ken...@google.com] *Sent:* Friday, August 14, 2009 2:01 PM *To:* George Georgiev *Cc:* Protocol Buffers *Subject:* Re: combine protobuf messages On Fri, Aug 14, 2009 at 1:18 PM, George Georgiev georgi.georg