plugin.pb.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/protobuf/compiler/plugin.proto
  3. package plugin_proto
  4. import (
  5. protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
  6. protoregistry "github.com/golang/protobuf/v2/reflect/protoregistry"
  7. protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
  8. descriptor "github.com/golang/protobuf/v2/types/descriptor"
  9. )
  10. // The version number of protocol compiler.
  11. type Version struct {
  12. Major *int32 `protobuf:"varint,1,opt,name=major" json:"major,omitempty"`
  13. Minor *int32 `protobuf:"varint,2,opt,name=minor" json:"minor,omitempty"`
  14. Patch *int32 `protobuf:"varint,3,opt,name=patch" json:"patch,omitempty"`
  15. // A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2". It should
  16. // be empty for mainline stable releases.
  17. Suffix *string `protobuf:"bytes,4,opt,name=suffix" json:"suffix,omitempty"`
  18. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  19. XXX_unrecognized []byte `json:"-"`
  20. XXX_sizecache int32 `json:"-"`
  21. }
  22. func (m *Version) ProtoReflect() protoreflect.Message {
  23. return xxx_File_google_protobuf_compiler_plugin_proto_messageTypes[0].MessageOf(m)
  24. }
  25. func (m *Version) Reset() { *m = Version{} }
  26. func (m *Version) String() string { return protoimpl.X.MessageStringOf(m) }
  27. func (*Version) ProtoMessage() {}
  28. // Deprecated: Use Version.ProtoReflect.Type instead.
  29. func (*Version) Descriptor() ([]byte, []int) {
  30. return xxx_File_google_protobuf_compiler_plugin_proto_rawdesc_gzipped, []int{0}
  31. }
  32. func (m *Version) GetMajor() int32 {
  33. if m != nil && m.Major != nil {
  34. return *m.Major
  35. }
  36. return 0
  37. }
  38. func (m *Version) GetMinor() int32 {
  39. if m != nil && m.Minor != nil {
  40. return *m.Minor
  41. }
  42. return 0
  43. }
  44. func (m *Version) GetPatch() int32 {
  45. if m != nil && m.Patch != nil {
  46. return *m.Patch
  47. }
  48. return 0
  49. }
  50. func (m *Version) GetSuffix() string {
  51. if m != nil && m.Suffix != nil {
  52. return *m.Suffix
  53. }
  54. return ""
  55. }
  56. // An encoded CodeGeneratorRequest is written to the plugin's stdin.
  57. type CodeGeneratorRequest struct {
  58. // The .proto files that were explicitly listed on the command-line. The
  59. // code generator should generate code only for these files. Each file's
  60. // descriptor will be included in proto_file, below.
  61. FileToGenerate []string `protobuf:"bytes,1,rep,name=file_to_generate,json=fileToGenerate" json:"file_to_generate,omitempty"`
  62. // The generator parameter passed on the command-line.
  63. Parameter *string `protobuf:"bytes,2,opt,name=parameter" json:"parameter,omitempty"`
  64. // FileDescriptorProtos for all files in files_to_generate and everything
  65. // they import. The files will appear in topological order, so each file
  66. // appears before any file that imports it.
  67. //
  68. // protoc guarantees that all proto_files will be written after
  69. // the fields above, even though this is not technically guaranteed by the
  70. // protobuf wire format. This theoretically could allow a plugin to stream
  71. // in the FileDescriptorProtos and handle them one by one rather than read
  72. // the entire set into memory at once. However, as of this writing, this
  73. // is not similarly optimized on protoc's end -- it will store all fields in
  74. // memory at once before sending them to the plugin.
  75. //
  76. // Type names of fields and extensions in the FileDescriptorProto are always
  77. // fully qualified.
  78. ProtoFile []*descriptor.FileDescriptorProto `protobuf:"bytes,15,rep,name=proto_file,json=protoFile" json:"proto_file,omitempty"`
  79. // The version number of protocol compiler.
  80. CompilerVersion *Version `protobuf:"bytes,3,opt,name=compiler_version,json=compilerVersion" json:"compiler_version,omitempty"`
  81. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  82. XXX_unrecognized []byte `json:"-"`
  83. XXX_sizecache int32 `json:"-"`
  84. }
  85. func (m *CodeGeneratorRequest) ProtoReflect() protoreflect.Message {
  86. return xxx_File_google_protobuf_compiler_plugin_proto_messageTypes[1].MessageOf(m)
  87. }
  88. func (m *CodeGeneratorRequest) Reset() { *m = CodeGeneratorRequest{} }
  89. func (m *CodeGeneratorRequest) String() string { return protoimpl.X.MessageStringOf(m) }
  90. func (*CodeGeneratorRequest) ProtoMessage() {}
  91. // Deprecated: Use CodeGeneratorRequest.ProtoReflect.Type instead.
  92. func (*CodeGeneratorRequest) Descriptor() ([]byte, []int) {
  93. return xxx_File_google_protobuf_compiler_plugin_proto_rawdesc_gzipped, []int{1}
  94. }
  95. func (m *CodeGeneratorRequest) GetFileToGenerate() []string {
  96. if m != nil {
  97. return m.FileToGenerate
  98. }
  99. return nil
  100. }
  101. func (m *CodeGeneratorRequest) GetParameter() string {
  102. if m != nil && m.Parameter != nil {
  103. return *m.Parameter
  104. }
  105. return ""
  106. }
  107. func (m *CodeGeneratorRequest) GetProtoFile() []*descriptor.FileDescriptorProto {
  108. if m != nil {
  109. return m.ProtoFile
  110. }
  111. return nil
  112. }
  113. func (m *CodeGeneratorRequest) GetCompilerVersion() *Version {
  114. if m != nil {
  115. return m.CompilerVersion
  116. }
  117. return nil
  118. }
  119. // The plugin writes an encoded CodeGeneratorResponse to stdout.
  120. type CodeGeneratorResponse struct {
  121. // Error message. If non-empty, code generation failed. The plugin process
  122. // should exit with status code zero even if it reports an error in this way.
  123. //
  124. // This should be used to indicate errors in .proto files which prevent the
  125. // code generator from generating correct code. Errors which indicate a
  126. // problem in protoc itself -- such as the input CodeGeneratorRequest being
  127. // unparseable -- should be reported by writing a message to stderr and
  128. // exiting with a non-zero status code.
  129. Error *string `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
  130. File []*CodeGeneratorResponse_File `protobuf:"bytes,15,rep,name=file" json:"file,omitempty"`
  131. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  132. XXX_unrecognized []byte `json:"-"`
  133. XXX_sizecache int32 `json:"-"`
  134. }
  135. func (m *CodeGeneratorResponse) ProtoReflect() protoreflect.Message {
  136. return xxx_File_google_protobuf_compiler_plugin_proto_messageTypes[2].MessageOf(m)
  137. }
  138. func (m *CodeGeneratorResponse) Reset() { *m = CodeGeneratorResponse{} }
  139. func (m *CodeGeneratorResponse) String() string { return protoimpl.X.MessageStringOf(m) }
  140. func (*CodeGeneratorResponse) ProtoMessage() {}
  141. // Deprecated: Use CodeGeneratorResponse.ProtoReflect.Type instead.
  142. func (*CodeGeneratorResponse) Descriptor() ([]byte, []int) {
  143. return xxx_File_google_protobuf_compiler_plugin_proto_rawdesc_gzipped, []int{2}
  144. }
  145. func (m *CodeGeneratorResponse) GetError() string {
  146. if m != nil && m.Error != nil {
  147. return *m.Error
  148. }
  149. return ""
  150. }
  151. func (m *CodeGeneratorResponse) GetFile() []*CodeGeneratorResponse_File {
  152. if m != nil {
  153. return m.File
  154. }
  155. return nil
  156. }
  157. // Represents a single generated file.
  158. type CodeGeneratorResponse_File struct {
  159. // The file name, relative to the output directory. The name must not
  160. // contain "." or ".." components and must be relative, not be absolute (so,
  161. // the file cannot lie outside the output directory). "/" must be used as
  162. // the path separator, not "\".
  163. //
  164. // If the name is omitted, the content will be appended to the previous
  165. // file. This allows the generator to break large files into small chunks,
  166. // and allows the generated text to be streamed back to protoc so that large
  167. // files need not reside completely in memory at one time. Note that as of
  168. // this writing protoc does not optimize for this -- it will read the entire
  169. // CodeGeneratorResponse before writing files to disk.
  170. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  171. // If non-empty, indicates that the named file should already exist, and the
  172. // content here is to be inserted into that file at a defined insertion
  173. // point. This feature allows a code generator to extend the output
  174. // produced by another code generator. The original generator may provide
  175. // insertion points by placing special annotations in the file that look
  176. // like:
  177. // @@protoc_insertion_point(NAME)
  178. // The annotation can have arbitrary text before and after it on the line,
  179. // which allows it to be placed in a comment. NAME should be replaced with
  180. // an identifier naming the point -- this is what other generators will use
  181. // as the insertion_point. Code inserted at this point will be placed
  182. // immediately above the line containing the insertion point (thus multiple
  183. // insertions to the same point will come out in the order they were added).
  184. // The double-@ is intended to make it unlikely that the generated code
  185. // could contain things that look like insertion points by accident.
  186. //
  187. // For example, the C++ code generator places the following line in the
  188. // .pb.h files that it generates:
  189. // // @@protoc_insertion_point(namespace_scope)
  190. // This line appears within the scope of the file's package namespace, but
  191. // outside of any particular class. Another plugin can then specify the
  192. // insertion_point "namespace_scope" to generate additional classes or
  193. // other declarations that should be placed in this scope.
  194. //
  195. // Note that if the line containing the insertion point begins with
  196. // whitespace, the same whitespace will be added to every line of the
  197. // inserted text. This is useful for languages like Python, where
  198. // indentation matters. In these languages, the insertion point comment
  199. // should be indented the same amount as any inserted code will need to be
  200. // in order to work correctly in that context.
  201. //
  202. // The code generator that generates the initial file and the one which
  203. // inserts into it must both run as part of a single invocation of protoc.
  204. // Code generators are executed in the order in which they appear on the
  205. // command line.
  206. //
  207. // If |insertion_point| is present, |name| must also be present.
  208. InsertionPoint *string `protobuf:"bytes,2,opt,name=insertion_point,json=insertionPoint" json:"insertion_point,omitempty"`
  209. // The file contents.
  210. Content *string `protobuf:"bytes,15,opt,name=content" json:"content,omitempty"`
  211. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  212. XXX_unrecognized []byte `json:"-"`
  213. XXX_sizecache int32 `json:"-"`
  214. }
  215. func (m *CodeGeneratorResponse_File) ProtoReflect() protoreflect.Message {
  216. return xxx_File_google_protobuf_compiler_plugin_proto_messageTypes[3].MessageOf(m)
  217. }
  218. func (m *CodeGeneratorResponse_File) Reset() { *m = CodeGeneratorResponse_File{} }
  219. func (m *CodeGeneratorResponse_File) String() string { return protoimpl.X.MessageStringOf(m) }
  220. func (*CodeGeneratorResponse_File) ProtoMessage() {}
  221. // Deprecated: Use CodeGeneratorResponse_File.ProtoReflect.Type instead.
  222. func (*CodeGeneratorResponse_File) Descriptor() ([]byte, []int) {
  223. return xxx_File_google_protobuf_compiler_plugin_proto_rawdesc_gzipped, []int{2, 0}
  224. }
  225. func (m *CodeGeneratorResponse_File) GetName() string {
  226. if m != nil && m.Name != nil {
  227. return *m.Name
  228. }
  229. return ""
  230. }
  231. func (m *CodeGeneratorResponse_File) GetInsertionPoint() string {
  232. if m != nil && m.InsertionPoint != nil {
  233. return *m.InsertionPoint
  234. }
  235. return ""
  236. }
  237. func (m *CodeGeneratorResponse_File) GetContent() string {
  238. if m != nil && m.Content != nil {
  239. return *m.Content
  240. }
  241. return ""
  242. }
  243. var xxx_File_google_protobuf_compiler_plugin_proto_rawdesc = []byte{
  244. // 764 bytes of the wire-encoded FileDescriptorProto
  245. 0x0a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  246. 0x66, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69,
  247. 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  248. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65,
  249. 0x72, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  250. 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72,
  251. 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14,
  252. 0x0a, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d,
  253. 0x61, 0x6a, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x18, 0x02, 0x20,
  254. 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61,
  255. 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68,
  256. 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
  257. 0x52, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x22, 0xf1, 0x01, 0x0a, 0x14, 0x43, 0x6f, 0x64,
  258. 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  259. 0x74, 0x12, 0x28, 0x0a, 0x10, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x67, 0x65, 0x6e,
  260. 0x65, 0x72, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x69, 0x6c,
  261. 0x65, 0x54, 0x6f, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70,
  262. 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
  263. 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x43, 0x0a, 0x0a, 0x70, 0x72, 0x6f,
  264. 0x74, 0x6f, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e,
  265. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  266. 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72,
  267. 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x4c,
  268. 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
  269. 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  270. 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x69,
  271. 0x6c, 0x65, 0x72, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x63, 0x6f, 0x6d,
  272. 0x70, 0x69, 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xd6, 0x01, 0x0a,
  273. 0x15, 0x43, 0x6f, 0x64, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65,
  274. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18,
  275. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x48, 0x0a, 0x04,
  276. 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f,
  277. 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d,
  278. 0x70, 0x69, 0x6c, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61,
  279. 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65,
  280. 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x1a, 0x5d, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12,
  281. 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  282. 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
  283. 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x73,
  284. 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63,
  285. 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,
  286. 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x65, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
  287. 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d,
  288. 0x70, 0x69, 0x6c, 0x65, 0x72, 0x42, 0x0c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x6f,
  289. 0x74, 0x6f, 0x73, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
  290. 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
  291. 0x76, 0x32, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x3b,
  292. 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  293. }
  294. var xxx_File_google_protobuf_compiler_plugin_proto_rawdesc_gzipped = protoimpl.X.CompressGZIP(xxx_File_google_protobuf_compiler_plugin_proto_rawdesc)
  295. const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
  296. var File_google_protobuf_compiler_plugin_proto protoreflect.FileDescriptor
  297. var xxx_File_google_protobuf_compiler_plugin_proto_messageTypes = make([]protoimpl.MessageType, 4)
  298. var xxx_File_google_protobuf_compiler_plugin_proto_goTypes = []interface{}{
  299. (*Version)(nil), // 0: google.protobuf.compiler.Version
  300. (*CodeGeneratorRequest)(nil), // 1: google.protobuf.compiler.CodeGeneratorRequest
  301. (*CodeGeneratorResponse)(nil), // 2: google.protobuf.compiler.CodeGeneratorResponse
  302. (*CodeGeneratorResponse_File)(nil), // 3: google.protobuf.compiler.CodeGeneratorResponse.File
  303. (*descriptor.FileDescriptorProto)(nil), // 4: google.protobuf.FileDescriptorProto
  304. }
  305. var xxx_File_google_protobuf_compiler_plugin_proto_depIdxs = []int32{
  306. 4, // google.protobuf.compiler.CodeGeneratorRequest.proto_file:type_name -> google.protobuf.FileDescriptorProto
  307. 0, // google.protobuf.compiler.CodeGeneratorRequest.compiler_version:type_name -> google.protobuf.compiler.Version
  308. 3, // google.protobuf.compiler.CodeGeneratorResponse.file:type_name -> google.protobuf.compiler.CodeGeneratorResponse.File
  309. }
  310. func init() { xxx_File_google_protobuf_compiler_plugin_proto_init() }
  311. func xxx_File_google_protobuf_compiler_plugin_proto_init() {
  312. if File_google_protobuf_compiler_plugin_proto != nil {
  313. return
  314. }
  315. File_google_protobuf_compiler_plugin_proto = protoimpl.FileBuilder{
  316. RawDescriptor: xxx_File_google_protobuf_compiler_plugin_proto_rawdesc,
  317. GoTypes: xxx_File_google_protobuf_compiler_plugin_proto_goTypes,
  318. DependencyIndexes: xxx_File_google_protobuf_compiler_plugin_proto_depIdxs,
  319. MessageOutputTypes: xxx_File_google_protobuf_compiler_plugin_proto_messageTypes,
  320. FilesRegistry: protoregistry.GlobalFiles,
  321. TypesRegistry: protoregistry.GlobalTypes,
  322. }.Init()
  323. xxx_File_google_protobuf_compiler_plugin_proto_goTypes = nil
  324. xxx_File_google_protobuf_compiler_plugin_proto_depIdxs = nil
  325. }