I'm not aware of anything in the Java library that provides this functionality.
On Fri, Feb 4, 2011 at 6:45 AM, Ben Wright <compuware...@gmail.com> wrote: > Anyone know if this can be accomplished without resorting to JNI? > > On Feb 3, 4:01 pm, Jason Hsueh <jas...@google.com> wrote: > > C++'s FileDescriptor::DebugString() produces text that is reparsable as a > > .proto file > > > > On Thu, Feb 3, 2011 at 12:52 PM, Ben Wright <compuware...@gmail.com> > wrote: > > > I've started a project generating new FileDescriptors at runtime in > > > Java using FileDescriptorProto in order to dynamically extend a base > > > type. > > > > > I have a class that generates .proto files (StringBuilder) and one > > > that generates FileDescriptorProto. > > > > > What I was wondering was if there was a class (in java or c++ that can > > > turn a FileDescriptor / FileDescriptorProto into a .proto text file. > > > > > -- > > > 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. > > -- 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.