Wanted to hear the community thoughts on adding another option to
support java_implement_interface.

I think it would be very beneficial to be able to have the protoc
generate code
that would be implementing some signature interfaces in the Java
world.

Unlike Python or Ruby, where if the method exists on an object, you
can
call it, in Java the methods must be declared on the classes, so it
makes
it difficult to write methods that could take multiple types of
objects
which are of Protocol Buffers type without being able to mark them
with an
Interface.

I've opened an Issue 59 regarding this change and want to gauge the
community thoughts on the usefulness of this option.

--

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