you can always write your own plug-in that adds this kind of methods to your generated classes. this plugin can be quite generic as it has access to the FileDecriptor (hence all message's descriptors), which allows it to identify string fields, and use the (well known and documented) insertion points, to add you own methods, which in turn van be built on top of the public API (you don't necessarily have to access the member variable itself).
eyal. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To view this discussion on the web visit https://groups.google.com/d/msg/protobuf/-/IPNk8lex9esJ. 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.