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.