codegen_response.proto 550 B

123456789101112131415161718
  1. // Vendored subset of google/protobuf/compiler/codegen_response.proto.
  2. // The plugin writes a CodeGeneratorResponse to stdout; protoc reads the
  3. // `file` entries. Field numbers match the canonical proto.
  4. syntax = "proto2";
  5. package google.protobuf.compiler;
  6. import "codegen_request.proto";
  7. message CodeGeneratorResponse {
  8. optional string error = 1;
  9. optional string generated_code_info = 2;
  10. repeated File file = 15;
  11. message File {
  12. optional string name = 1;
  13. optional string insertion_point = 2;
  14. optional string content = 15;
  15. }
  16. }