plugin.pb.go 21 KB

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