Hi all, is there a convenient way to extract the name of Java (generated) class that represents the Message from Descriptors.Descriptor?
What I need is a method with the following signature: public Class<? extends Message> extractJavaClass(Descriptors.Descriptor d); I can derive class name using file/message descriptors methods, but that seems quite difficult, since I have to take java_package_name and java_outer_class_name options into account, and I have to convert underscores in proto file name to camel case Thanks for answer, Ondrej -- 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/-/ZDBENWpTLVlYdDhK. 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.