No.  It's not something people usually need, since normally if you have the
generated code then you have the .proto it was generated from.

On Fri, Dec 4, 2009 at 8:59 PM, Aakash Patel <aakashbpa...@gmail.com> wrote:

> Ah, I was wondering if there was an automated way to :)
>
> On Dec 4, 10:47 pm, Kenton Varda <ken...@google.com> wrote:
> > It should be fairly easy to do this manually.  The generated .py file
> just
> > builds a bunch of descriptors corresponding to the definitions from the
> > file.  You just have to translate the descriptor-building code back to
> > .proto langauge.
> >
> > On Fri, Dec 4, 2009 at 8:29 PM, Aakash Patel <aakashbpa...@gmail.com>
> wrote:
> > > Hello, I have a Protocol Buffer compiler generated python file and
> > > currently do not have the proto file that was used to compile it.  Is
> > > there any way to "reverse" the python file that was compiled to a
> > > proto file?
> >
> > > Thanks a bunch,
> > > Aakash Patel
> >
> > > --
> >
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Protocol Buffers" group.
> > > To post to this group, send email to proto...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > protobuf+unsubscr...@googlegroups.com<protobuf%2bunsubscr...@googlegroups.com>
> <protobuf%2bunsubscr...@googlegroups.com<protobuf%252bunsubscr...@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 proto...@googlegroups.com.
> To unsubscribe from this group, send email to
> protobuf+unsubscr...@googlegroups.com<protobuf%2bunsubscr...@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 proto...@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.


Reply via email to