What do you want to do with the descriptors?

On Mon, Feb 12, 2018 at 10:15 PM, Yaseen Khan <khan.charlie...@gmail.com>
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 protobuf+unsubscr...@googlegroups.com.
> To post to this group, send email to protobuf@googlegroups.com.
> 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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to