On Thu, Dec 19, 2013 at 6:29 AM, Tomas Palenicek <[email protected]>wrote:

> Hello,
>
> 2.5.0 is out for a while and requested features are mentioned within the
> changelog<http://code.google.com/p/protobuf/source/browse/trunk/CHANGES.txt#49>.
> Is there any usage example anywhere please?
>
You can read the unit-tests for these features (e.g.,
descriptor_pool_test.py, message_factory_test.py). They should cover all
APIs of these classes.


>
> Is announced "*Added ParseMessage(descriptor, bytes) to generate a new
> Message instance from a descriptor and a byte string*" a wrapper to
> simplify usege of announced "*Added support for dynamic message creation.
> DescriptorDatabase, DescriptorPool, and MessageFactory work like their C++
> couterparts to simplify Descriptor construction from *DescriptorProtos, and
> MessageFactory provides a message instance from a Descriptor*"?
>
Yes, I think it's just a thin wrapper implemented using MessageFactory.


> Or these two things are intended for different use cases?
>
> Thanks, Tomas
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to