The various *Descriptor classes provide type-definition information. Check
out the API reference for your specific language (for C++ it's in
descriptor.h, Java is Descriptors.java, etc)
On Sun, Sep 16, 2012 at 12:51 AM, JP wrote:
> Hi All,
> I searched the documentation and could not find
Hi All,
I searched the documentation and could not find any thing. I want to
find out from a program how a field is defined
(required/optional/repeated). Is it possible.
I understand I can look at the .proto file. But I would like to know if I
can do that from the program
Thanks
JP
--
Y