Status: New
Owner: [email protected]
Labels: Type-Defect Priority-Medium
New issue 334 by pop.atry: Let ExtendableMessage.getExtensionFields() be
public for Java runtime!
http://code.google.com/p/protobuf/issues/detail?id=334
As the document said(
http://code.google.com/apis/protocolbuffers/docs/techniques.html#union ),
`If you have a very large number of possible types, listing every one of
them in your container type may be unwieldy. Instead, you should consider
using extensions`
I need a way to iterator all extensions. Yes, I could use
ExtendableMessage.getAllFields() and filter out all non-extension fields.
But it is realy ugly and there is some unnecessary wrapping code in
getAllFields implementation.
Please just let ExtendableMessage.getExtensionFields() be public to avoid
workarounds, thanks.
--
You received this message because you are subscribed to the Google Groups "Protocol
Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.