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 <makkapati.suma...@gmail.com> wrote: > 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 group, send email to > protobuf+unsubscr...@googlegroups.com. > For more options, visit this group at > http://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 protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.