protocol buffers - Where is the (meta) .proto file which describes .desc files? - Stack Overflow
The format is FileDescriptorSet as defined in descriptor.proto:
https://code.google.com/p/protobuf/source/browse/trunk/src/google/protobuf/descriptor.proto
descriptor.proto is typically installed to /usr/include/descriptor.proto or /usr/local/include/descriptor.proto on Unix systems. descriptor.pb.h is installed with the protobuf headers and descriptor.pb.cc is compiled into the protobuf library, so you don't have to generate them yourself if you are using C++. Similarly, in Java, the com.google.protobuf.DescriptorProtos class is compiled into the base library.
Read full article from protocol buffers - Where is the (meta) .proto file which describes .desc files? - Stack Overflow
No comments:
Post a Comment