On 16 Juli, 00:43, Kenton Varda <> wrote:
> On Wed, Jul 15, 2009 at 10:56 AM, jasonh <> wrote:
> > Foo f = Foo.newBuilder().mergeFrom(...).setCookie(newCookieVal).build
> > ();
> There's actually a shortcut for this:  the toBuilder() method of the Message
> interface returns a Builder that is pre-initialized as a copy of that
> message.
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to