Yeah you were right I am using C++ and the mutable functions work perfectly for what I want. Thanks a lot
On Aug 19, 5:17 pm, Henner Zeller <[email protected]> wrote: > 2010/8/19 Julian González <[email protected]>: > > > I have the following: > > > message Configuration > > { > > required LogInfo logInfo = 1; > > required ApmCfg apmCfg = 2; > > repeated Rail rail = 3; > > required TriggerInfo triggerInfo = 4; > > } > > > I have an object of type Configuration, but I do not see any setter > > for logInfo, apmCfg or triggerInfo or a way to access those members, > > just a way to read them. > > which language ? > In C++ you can access the instances with the mutable_XX() accessors > that return a pointer to the object in question: > > config_object->mutable_loginfo()->set_field_in_loginf() > > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Protocol Buffers" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/protobuf?hl=en. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
