But ordinarily you parse messages without needing any descriptors--why do
need a descriptor to read your message?

On Tue, Feb 13, 2018 at 9:20 AM, Yaseen Khan <[email protected]>
wrote:

> Trying to create dynamic forms by reading proto msgs.
>
> On 13-Feb-2018 22:48, "Adam Cozzette" <[email protected]> wrote:
>
>> What do you want to do with the descriptors?
>>
>> On Mon, Feb 12, 2018 at 10:15 PM, Yaseen Khan <[email protected]>
>> wrote:
>>
>>> So, could you possibly give me the work around for it? It would be very
>>> helpful. Thanks!
>>>
>>> On Friday, 9 February 2018 17:06:45 UTC+5:30, Yaseen Khan wrote:
>>>>
>>>> I'm trying to get the descriptor for my proto message. In java there is
>>>> this, Message.getDescriptor()
>>>> which does the job but its hard to find something similar in jspb.
>>>>
>>>> syntax = "proto3";
>>>>
>>>> message Master {
>>>> int32 id = 1;
>>>> string name = 2;
>>>> Type type = 3;
>>>> }
>>>>
>>>> enum Type {
>>>> UNKNOWN_TYPE = 0;
>>>> INDUSTRY_TYPE = 1;
>>>> LOCATION_TYPE = 2;
>>>> }
>>>>
>>>> This is the message of which i want the descriptor of.
>>>>
>>> --
>>> 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 https://groups.google.com/group/protobuf.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
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 https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to