plugin.pb.go 18 KB

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