plugin.pb.go 18 KB

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