Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
13 lines
355 B
13 lines
355 B
syntax = "proto2"; |
|
|
|
package upbc; |
|
|
|
import "src/google/protobuf/compiler/plugin.proto"; |
|
|
|
message CodeGeneratorRequest { |
|
// The pb sent by protoc to its plugins. |
|
optional google.protobuf.compiler.CodeGeneratorRequest request = 1; |
|
|
|
// Mini descriptors for the above pb, keyed by the fully qualified names. |
|
map<string, string> mini_descriptors = 2; |
|
}
|
|
|