Re: [protobuf] Inserting values by tag numbers

2011-07-08 Thread Pherl Liu
Which language are you using? In c++, you can call message::GetDescriptor()->FindFieldByNumber() to get a FieldDescriptor; then call GetReflection()->Set* functions. On Fri, Jul 8, 2011 at 3:58 AM, SM wrote: > Hello, > > Is there a way to set the field value by the tag which we mention in > the

[protobuf] Inserting values by tag numbers

2011-07-07 Thread SM
Hello, Is there a way to set the field value by the tag which we mention in the proto file? Thanks. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this gr