plugin.pb.go 19 KB

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