Are these POJO's or object generated by protoc? If the former, I would say you 
are SOL. If the latter, you can ask the object for its descriptors and actually 
dump to protocol buffer version of the .proto, at which point making the .proto 
is fairly straightforward.

--Chris

On Mar 18, 2011, at 2:13 AM, ProtoBuffU <sumant...@gmail.com> wrote:

> Does anyone know how to generate a .proto file from existing Java
> objects?
> 
> -- 
> 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.

Reply via email to