[protobuf] attributeError - cannot write to readonly attribute. Right way to access fields in multi level messages

2013-12-11 Thread Aditya Sakhuja
oauth_app_id = 2001; optional string response_code = 2002; optional int64 response_length = 2003; optional bool static = 2004; } } Would appreciate any inputs on this. -- Regards, -Aditya Sakhuja -- You received this message because you are subscribed to the Google

[protobuf] AttributeError: 'event_template' object attribute 'appname' is read-only and modeling questions

2013-12-11 Thread Aditya Sakhuja
I am trying to correctly model a container queue_object using protobufs. It wraps ‘args’ message object and acts as the container for ‘eventing_template’ message object. Finally, ‘Data’ message object is extended by ‘admin’ and ‘analytics’ message object. Couple of things I am head heavy

[protobuf] Extensions attr not showing up when on ListFields(), after assigning to them successfully.

2013-12-16 Thread Aditya Sakhuja
.. -- Regards, -Aditya Sakhuja -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf

[protobuf] Re: Extensions attr not showing up when on ListFields(), after assigning to them successfully.

2013-12-16 Thread Aditya Sakhuja
:34 PM, Aditya Sakhuja aditya.sakh...@gmail.comwrote: hi, When I serialize a message using SerializeToString(), the extended attributes apparently do not get serialized, since they do not show up when I parseFromString() it back. Only the top level message's attr are persisted. Am i missing