An simplified PB message schema for the desired output:
message MessageSchema
{
enum FieldType {
INT32 = 0;
UINT32 = 1;
INT64 = 2;
uiNT64 = 3;
STRING = 4;
ENUM = 5;
NESTED_MESSAGE = 6;
NAME_ENUM = 100;
NAME_NESTED = 101;
}
message Field {
required string name = 1;
required FieldType type = 2;
required int32 number = 3;
}
required string name = 1; // name of message
repeated Field fields = 2; // list of fields in message
}
--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to prot...@googlegroups.com.
To unsubscribe from this group, send email to protobuf+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.