plugin.pb.go 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/protobuf/compiler/plugin.proto
  3. package plugin_proto
  4. import (
  5. proto "github.com/golang/protobuf/proto"
  6. protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
  7. prototype "github.com/golang/protobuf/v2/reflect/prototype"
  8. protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
  9. descriptor "github.com/golang/protobuf/v2/types/descriptor"
  10. )
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the proto package it is being compiled against.
  13. // A compilation error at this line likely means your copy of the
  14. // proto package needs to be updated.
  15. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  16. // The version number of protocol compiler.
  17. type Version struct {
  18. Major *int32 `protobuf:"varint,1,opt,name=major" json:"major,omitempty"`
  19. Minor *int32 `protobuf:"varint,2,opt,name=minor" json:"minor,omitempty"`
  20. Patch *int32 `protobuf:"varint,3,opt,name=patch" json:"patch,omitempty"`
  21. // A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2". It should
  22. // be empty for mainline stable releases.
  23. Suffix *string `protobuf:"bytes,4,opt,name=suffix" json:"suffix,omitempty"`
  24. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  25. XXX_unrecognized []byte `json:"-"`
  26. XXX_sizecache int32 `json:"-"`
  27. }
  28. type xxx_Version struct{ m *Version }
  29. func (m *Version) ProtoReflect() protoreflect.Message {
  30. return xxx_Version{m}
  31. }
  32. func (m xxx_Version) Type() protoreflect.MessageType {
  33. return xxx_Plugin_ProtoFile_MessageTypes[0].Type
  34. }
  35. func (m xxx_Version) KnownFields() protoreflect.KnownFields {
  36. return xxx_Plugin_ProtoFile_MessageTypes[0].KnownFieldsOf(m.m)
  37. }
  38. func (m xxx_Version) UnknownFields() protoreflect.UnknownFields {
  39. return xxx_Plugin_ProtoFile_MessageTypes[0].UnknownFieldsOf(m.m)
  40. }
  41. func (m xxx_Version) Interface() protoreflect.ProtoMessage {
  42. return m.m
  43. }
  44. func (m *Version) Reset() { *m = Version{} }
  45. func (m *Version) String() string { return proto.CompactTextString(m) }
  46. func (*Version) ProtoMessage() {}
  47. func (*Version) Descriptor() ([]byte, []int) {
  48. return fileDescriptor_3562add825dafed5, []int{0}
  49. }
  50. func (m *Version) XXX_Unmarshal(b []byte) error {
  51. return xxx_messageInfo_Version.Unmarshal(m, b)
  52. }
  53. func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  54. return xxx_messageInfo_Version.Marshal(b, m, deterministic)
  55. }
  56. func (m *Version) XXX_Merge(src proto.Message) {
  57. xxx_messageInfo_Version.Merge(m, src)
  58. }
  59. func (m *Version) XXX_Size() int {
  60. return xxx_messageInfo_Version.Size(m)
  61. }
  62. func (m *Version) XXX_DiscardUnknown() {
  63. xxx_messageInfo_Version.DiscardUnknown(m)
  64. }
  65. var xxx_messageInfo_Version proto.InternalMessageInfo
  66. func (m *Version) GetMajor() int32 {
  67. if m != nil && m.Major != nil {
  68. return *m.Major
  69. }
  70. return 0
  71. }
  72. func (m *Version) GetMinor() int32 {
  73. if m != nil && m.Minor != nil {
  74. return *m.Minor
  75. }
  76. return 0
  77. }
  78. func (m *Version) GetPatch() int32 {
  79. if m != nil && m.Patch != nil {
  80. return *m.Patch
  81. }
  82. return 0
  83. }
  84. func (m *Version) GetSuffix() string {
  85. if m != nil && m.Suffix != nil {
  86. return *m.Suffix
  87. }
  88. return ""
  89. }
  90. // An encoded CodeGeneratorRequest is written to the plugin's stdin.
  91. type CodeGeneratorRequest struct {
  92. // The .proto files that were explicitly listed on the command-line. The
  93. // code generator should generate code only for these files. Each file's
  94. // descriptor will be included in proto_file, below.
  95. FileToGenerate []string `protobuf:"bytes,1,rep,name=file_to_generate,json=fileToGenerate" json:"file_to_generate,omitempty"`
  96. // The generator parameter passed on the command-line.
  97. Parameter *string `protobuf:"bytes,2,opt,name=parameter" json:"parameter,omitempty"`
  98. // FileDescriptorProtos for all files in files_to_generate and everything
  99. // they import. The files will appear in topological order, so each file
  100. // appears before any file that imports it.
  101. //
  102. // protoc guarantees that all proto_files will be written after
  103. // the fields above, even though this is not technically guaranteed by the
  104. // protobuf wire format. This theoretically could allow a plugin to stream
  105. // in the FileDescriptorProtos and handle them one by one rather than read
  106. // the entire set into memory at once. However, as of this writing, this
  107. // is not similarly optimized on protoc's end -- it will store all fields in
  108. // memory at once before sending them to the plugin.
  109. //
  110. // Type names of fields and extensions in the FileDescriptorProto are always
  111. // fully qualified.
  112. ProtoFile []*descriptor.FileDescriptorProto `protobuf:"bytes,15,rep,name=proto_file,json=protoFile" json:"proto_file,omitempty"`
  113. // The version number of protocol compiler.
  114. CompilerVersion *Version `protobuf:"bytes,3,opt,name=compiler_version,json=compilerVersion" json:"compiler_version,omitempty"`
  115. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  116. XXX_unrecognized []byte `json:"-"`
  117. XXX_sizecache int32 `json:"-"`
  118. }
  119. type xxx_CodeGeneratorRequest struct{ m *CodeGeneratorRequest }
  120. func (m *CodeGeneratorRequest) ProtoReflect() protoreflect.Message {
  121. return xxx_CodeGeneratorRequest{m}
  122. }
  123. func (m xxx_CodeGeneratorRequest) Type() protoreflect.MessageType {
  124. return xxx_Plugin_ProtoFile_MessageTypes[1].Type
  125. }
  126. func (m xxx_CodeGeneratorRequest) KnownFields() protoreflect.KnownFields {
  127. return xxx_Plugin_ProtoFile_MessageTypes[1].KnownFieldsOf(m.m)
  128. }
  129. func (m xxx_CodeGeneratorRequest) UnknownFields() protoreflect.UnknownFields {
  130. return xxx_Plugin_ProtoFile_MessageTypes[1].UnknownFieldsOf(m.m)
  131. }
  132. func (m xxx_CodeGeneratorRequest) Interface() protoreflect.ProtoMessage {
  133. return m.m
  134. }
  135. func (m *CodeGeneratorRequest) Reset() { *m = CodeGeneratorRequest{} }
  136. func (m *CodeGeneratorRequest) String() string { return proto.CompactTextString(m) }
  137. func (*CodeGeneratorRequest) ProtoMessage() {}
  138. func (*CodeGeneratorRequest) Descriptor() ([]byte, []int) {
  139. return fileDescriptor_3562add825dafed5, []int{1}
  140. }
  141. func (m *CodeGeneratorRequest) XXX_Unmarshal(b []byte) error {
  142. return xxx_messageInfo_CodeGeneratorRequest.Unmarshal(m, b)
  143. }
  144. func (m *CodeGeneratorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  145. return xxx_messageInfo_CodeGeneratorRequest.Marshal(b, m, deterministic)
  146. }
  147. func (m *CodeGeneratorRequest) XXX_Merge(src proto.Message) {
  148. xxx_messageInfo_CodeGeneratorRequest.Merge(m, src)
  149. }
  150. func (m *CodeGeneratorRequest) XXX_Size() int {
  151. return xxx_messageInfo_CodeGeneratorRequest.Size(m)
  152. }
  153. func (m *CodeGeneratorRequest) XXX_DiscardUnknown() {
  154. xxx_messageInfo_CodeGeneratorRequest.DiscardUnknown(m)
  155. }
  156. var xxx_messageInfo_CodeGeneratorRequest proto.InternalMessageInfo
  157. func (m *CodeGeneratorRequest) GetFileToGenerate() []string {
  158. if m != nil {
  159. return m.FileToGenerate
  160. }
  161. return nil
  162. }
  163. func (m *CodeGeneratorRequest) GetParameter() string {
  164. if m != nil && m.Parameter != nil {
  165. return *m.Parameter
  166. }
  167. return ""
  168. }
  169. func (m *CodeGeneratorRequest) GetProtoFile() []*descriptor.FileDescriptorProto {
  170. if m != nil {
  171. return m.ProtoFile
  172. }
  173. return nil
  174. }
  175. func (m *CodeGeneratorRequest) GetCompilerVersion() *Version {
  176. if m != nil {
  177. return m.CompilerVersion
  178. }
  179. return nil
  180. }
  181. // The plugin writes an encoded CodeGeneratorResponse to stdout.
  182. type CodeGeneratorResponse struct {
  183. // Error message. If non-empty, code generation failed. The plugin process
  184. // should exit with status code zero even if it reports an error in this way.
  185. //
  186. // This should be used to indicate errors in .proto files which prevent the
  187. // code generator from generating correct code. Errors which indicate a
  188. // problem in protoc itself -- such as the input CodeGeneratorRequest being
  189. // unparseable -- should be reported by writing a message to stderr and
  190. // exiting with a non-zero status code.
  191. Error *string `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
  192. File []*CodeGeneratorResponse_File `protobuf:"bytes,15,rep,name=file" json:"file,omitempty"`
  193. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  194. XXX_unrecognized []byte `json:"-"`
  195. XXX_sizecache int32 `json:"-"`
  196. }
  197. type xxx_CodeGeneratorResponse struct{ m *CodeGeneratorResponse }
  198. func (m *CodeGeneratorResponse) ProtoReflect() protoreflect.Message {
  199. return xxx_CodeGeneratorResponse{m}
  200. }
  201. func (m xxx_CodeGeneratorResponse) Type() protoreflect.MessageType {
  202. return xxx_Plugin_ProtoFile_MessageTypes[2].Type
  203. }
  204. func (m xxx_CodeGeneratorResponse) KnownFields() protoreflect.KnownFields {
  205. return xxx_Plugin_ProtoFile_MessageTypes[2].KnownFieldsOf(m.m)
  206. }
  207. func (m xxx_CodeGeneratorResponse) UnknownFields() protoreflect.UnknownFields {
  208. return xxx_Plugin_ProtoFile_MessageTypes[2].UnknownFieldsOf(m.m)
  209. }
  210. func (m xxx_CodeGeneratorResponse) Interface() protoreflect.ProtoMessage {
  211. return m.m
  212. }
  213. func (m *CodeGeneratorResponse) Reset() { *m = CodeGeneratorResponse{} }
  214. func (m *CodeGeneratorResponse) String() string { return proto.CompactTextString(m) }
  215. func (*CodeGeneratorResponse) ProtoMessage() {}
  216. func (*CodeGeneratorResponse) Descriptor() ([]byte, []int) {
  217. return fileDescriptor_3562add825dafed5, []int{2}
  218. }
  219. func (m *CodeGeneratorResponse) XXX_Unmarshal(b []byte) error {
  220. return xxx_messageInfo_CodeGeneratorResponse.Unmarshal(m, b)
  221. }
  222. func (m *CodeGeneratorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  223. return xxx_messageInfo_CodeGeneratorResponse.Marshal(b, m, deterministic)
  224. }
  225. func (m *CodeGeneratorResponse) XXX_Merge(src proto.Message) {
  226. xxx_messageInfo_CodeGeneratorResponse.Merge(m, src)
  227. }
  228. func (m *CodeGeneratorResponse) XXX_Size() int {
  229. return xxx_messageInfo_CodeGeneratorResponse.Size(m)
  230. }
  231. func (m *CodeGeneratorResponse) XXX_DiscardUnknown() {
  232. xxx_messageInfo_CodeGeneratorResponse.DiscardUnknown(m)
  233. }
  234. var xxx_messageInfo_CodeGeneratorResponse proto.InternalMessageInfo
  235. func (m *CodeGeneratorResponse) GetError() string {
  236. if m != nil && m.Error != nil {
  237. return *m.Error
  238. }
  239. return ""
  240. }
  241. func (m *CodeGeneratorResponse) GetFile() []*CodeGeneratorResponse_File {
  242. if m != nil {
  243. return m.File
  244. }
  245. return nil
  246. }
  247. // Represents a single generated file.
  248. type CodeGeneratorResponse_File struct {
  249. // The file name, relative to the output directory. The name must not
  250. // contain "." or ".." components and must be relative, not be absolute (so,
  251. // the file cannot lie outside the output directory). "/" must be used as
  252. // the path separator, not "\".
  253. //
  254. // If the name is omitted, the content will be appended to the previous
  255. // file. This allows the generator to break large files into small chunks,
  256. // and allows the generated text to be streamed back to protoc so that large
  257. // files need not reside completely in memory at one time. Note that as of
  258. // this writing protoc does not optimize for this -- it will read the entire
  259. // CodeGeneratorResponse before writing files to disk.
  260. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  261. // If non-empty, indicates that the named file should already exist, and the
  262. // content here is to be inserted into that file at a defined insertion
  263. // point. This feature allows a code generator to extend the output
  264. // produced by another code generator. The original generator may provide
  265. // insertion points by placing special annotations in the file that look
  266. // like:
  267. // @@protoc_insertion_point(NAME)
  268. // The annotation can have arbitrary text before and after it on the line,
  269. // which allows it to be placed in a comment. NAME should be replaced with
  270. // an identifier naming the point -- this is what other generators will use
  271. // as the insertion_point. Code inserted at this point will be placed
  272. // immediately above the line containing the insertion point (thus multiple
  273. // insertions to the same point will come out in the order they were added).
  274. // The double-@ is intended to make it unlikely that the generated code
  275. // could contain things that look like insertion points by accident.
  276. //
  277. // For example, the C++ code generator places the following line in the
  278. // .pb.h files that it generates:
  279. // // @@protoc_insertion_point(namespace_scope)
  280. // This line appears within the scope of the file's package namespace, but
  281. // outside of any particular class. Another plugin can then specify the
  282. // insertion_point "namespace_scope" to generate additional classes or
  283. // other declarations that should be placed in this scope.
  284. //
  285. // Note that if the line containing the insertion point begins with
  286. // whitespace, the same whitespace will be added to every line of the
  287. // inserted text. This is useful for languages like Python, where
  288. // indentation matters. In these languages, the insertion point comment
  289. // should be indented the same amount as any inserted code will need to be
  290. // in order to work correctly in that context.
  291. //
  292. // The code generator that generates the initial file and the one which
  293. // inserts into it must both run as part of a single invocation of protoc.
  294. // Code generators are executed in the order in which they appear on the
  295. // command line.
  296. //
  297. // If |insertion_point| is present, |name| must also be present.
  298. InsertionPoint *string `protobuf:"bytes,2,opt,name=insertion_point,json=insertionPoint" json:"insertion_point,omitempty"`
  299. // The file contents.
  300. Content *string `protobuf:"bytes,15,opt,name=content" json:"content,omitempty"`
  301. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  302. XXX_unrecognized []byte `json:"-"`
  303. XXX_sizecache int32 `json:"-"`
  304. }
  305. type xxx_CodeGeneratorResponse_File struct{ m *CodeGeneratorResponse_File }
  306. func (m *CodeGeneratorResponse_File) ProtoReflect() protoreflect.Message {
  307. return xxx_CodeGeneratorResponse_File{m}
  308. }
  309. func (m xxx_CodeGeneratorResponse_File) Type() protoreflect.MessageType {
  310. return xxx_Plugin_ProtoFile_MessageTypes[3].Type
  311. }
  312. func (m xxx_CodeGeneratorResponse_File) KnownFields() protoreflect.KnownFields {
  313. return xxx_Plugin_ProtoFile_MessageTypes[3].KnownFieldsOf(m.m)
  314. }
  315. func (m xxx_CodeGeneratorResponse_File) UnknownFields() protoreflect.UnknownFields {
  316. return xxx_Plugin_ProtoFile_MessageTypes[3].UnknownFieldsOf(m.m)
  317. }
  318. func (m xxx_CodeGeneratorResponse_File) Interface() protoreflect.ProtoMessage {
  319. return m.m
  320. }
  321. func (m *CodeGeneratorResponse_File) Reset() { *m = CodeGeneratorResponse_File{} }
  322. func (m *CodeGeneratorResponse_File) String() string { return proto.CompactTextString(m) }
  323. func (*CodeGeneratorResponse_File) ProtoMessage() {}
  324. func (*CodeGeneratorResponse_File) Descriptor() ([]byte, []int) {
  325. return fileDescriptor_3562add825dafed5, []int{2, 0}
  326. }
  327. func (m *CodeGeneratorResponse_File) XXX_Unmarshal(b []byte) error {
  328. return xxx_messageInfo_CodeGeneratorResponse_File.Unmarshal(m, b)
  329. }
  330. func (m *CodeGeneratorResponse_File) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  331. return xxx_messageInfo_CodeGeneratorResponse_File.Marshal(b, m, deterministic)
  332. }
  333. func (m *CodeGeneratorResponse_File) XXX_Merge(src proto.Message) {
  334. xxx_messageInfo_CodeGeneratorResponse_File.Merge(m, src)
  335. }
  336. func (m *CodeGeneratorResponse_File) XXX_Size() int {
  337. return xxx_messageInfo_CodeGeneratorResponse_File.Size(m)
  338. }
  339. func (m *CodeGeneratorResponse_File) XXX_DiscardUnknown() {
  340. xxx_messageInfo_CodeGeneratorResponse_File.DiscardUnknown(m)
  341. }
  342. var xxx_messageInfo_CodeGeneratorResponse_File proto.InternalMessageInfo
  343. func (m *CodeGeneratorResponse_File) GetName() string {
  344. if m != nil && m.Name != nil {
  345. return *m.Name
  346. }
  347. return ""
  348. }
  349. func (m *CodeGeneratorResponse_File) GetInsertionPoint() string {
  350. if m != nil && m.InsertionPoint != nil {
  351. return *m.InsertionPoint
  352. }
  353. return ""
  354. }
  355. func (m *CodeGeneratorResponse_File) GetContent() string {
  356. if m != nil && m.Content != nil {
  357. return *m.Content
  358. }
  359. return ""
  360. }
  361. func init() {
  362. proto.RegisterFile("google/protobuf/compiler/plugin.proto", fileDescriptor_3562add825dafed5)
  363. proto.RegisterType((*Version)(nil), "google.protobuf.compiler.Version")
  364. proto.RegisterType((*CodeGeneratorRequest)(nil), "google.protobuf.compiler.CodeGeneratorRequest")
  365. proto.RegisterType((*CodeGeneratorResponse)(nil), "google.protobuf.compiler.CodeGeneratorResponse")
  366. proto.RegisterType((*CodeGeneratorResponse_File)(nil), "google.protobuf.compiler.CodeGeneratorResponse.File")
  367. }
  368. var fileDescriptor_3562add825dafed5 = []byte{
  369. // 416 bytes of a gzipped FileDescriptorProto
  370. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xcf, 0x6a, 0xd5, 0x40,
  371. 0x14, 0xc6, 0x89, 0xbd, 0xb5, 0xe4, 0x54, 0x7a, 0xcb, 0x50, 0x65, 0x28, 0x5d, 0xc4, 0x8b, 0x62,
  372. 0x56, 0x09, 0x5c, 0x04, 0x17, 0xee, 0x5a, 0x51, 0x17, 0x2e, 0x2e, 0x83, 0xb8, 0x10, 0x24, 0xa4,
  373. 0xe9, 0xb9, 0xe9, 0x48, 0x32, 0x67, 0x9c, 0x99, 0x14, 0x7d, 0x51, 0xdf, 0xc3, 0x37, 0x90, 0xf9,
  374. 0x93, 0x56, 0x2e, 0xde, 0x55, 0xf2, 0xfd, 0xbe, 0x33, 0x33, 0xe7, 0x7c, 0x1c, 0x78, 0xd9, 0x13,
  375. 0xf5, 0x03, 0xd6, 0xda, 0x90, 0xa3, 0xeb, 0x69, 0x5b, 0x77, 0x34, 0x6a, 0x39, 0xa0, 0xa9, 0xf5,
  376. 0x30, 0xf5, 0x52, 0x55, 0xc1, 0x60, 0x3c, 0x96, 0x55, 0x73, 0x59, 0x35, 0x97, 0x9d, 0x17, 0xbb,
  377. 0x17, 0xdc, 0xa0, 0xed, 0x8c, 0xd4, 0x8e, 0x4c, 0xac, 0x5e, 0x75, 0x70, 0xf4, 0x05, 0x8d, 0x95,
  378. 0xa4, 0xd8, 0x19, 0x1c, 0x8e, 0xed, 0x77, 0x32, 0x3c, 0x2b, 0xb2, 0xf2, 0x50, 0x44, 0x11, 0xa8,
  379. 0x54, 0x64, 0xf8, 0xa3, 0x44, 0xbd, 0xf0, 0x54, 0xb7, 0xae, 0xbb, 0xe5, 0x07, 0x91, 0x06, 0xc1,
  380. 0x9e, 0xc1, 0x63, 0x3b, 0x6d, 0xb7, 0xf2, 0x27, 0x5f, 0x14, 0x59, 0x99, 0x8b, 0xa4, 0x56, 0x7f,
  381. 0x32, 0x38, 0xbb, 0xa2, 0x1b, 0xfc, 0x80, 0x0a, 0x4d, 0xeb, 0xc8, 0x08, 0xfc, 0x31, 0xa1, 0x75,
  382. 0xac, 0x84, 0xd3, 0xad, 0x1c, 0xb0, 0x71, 0xd4, 0xf4, 0xd1, 0x43, 0x9e, 0x15, 0x07, 0x65, 0x2e,
  383. 0x4e, 0x3c, 0xff, 0x4c, 0xe9, 0x04, 0xb2, 0x0b, 0xc8, 0x75, 0x6b, 0xda, 0x11, 0x1d, 0xc6, 0x56,
  384. 0x72, 0xf1, 0x00, 0xd8, 0x15, 0x40, 0x18, 0xa7, 0xf1, 0xa7, 0xf8, 0xb2, 0x38, 0x28, 0x8f, 0xd7,
  385. 0x2f, 0xaa, 0xdd, 0x58, 0xde, 0xcb, 0x01, 0xdf, 0xdd, 0x07, 0xb0, 0xf1, 0x58, 0xe4, 0xc1, 0xf5,
  386. 0x0e, 0xfb, 0x04, 0xa7, 0x73, 0x70, 0xcd, 0x5d, 0xcc, 0x24, 0x8c, 0x77, 0xbc, 0x7e, 0x5e, 0xed,
  387. 0x4b, 0xb8, 0x4a, 0xe1, 0x89, 0xe5, 0x4c, 0x12, 0x58, 0xfd, 0xce, 0xe0, 0xe9, 0xce, 0xcc, 0x56,
  388. 0x93, 0xb2, 0xe8, 0xb3, 0x43, 0x63, 0x52, 0xce, 0xb9, 0x88, 0x82, 0x7d, 0x84, 0xc5, 0x3f, 0xcd,
  389. 0xbf, 0xde, 0xff, 0xe2, 0x7f, 0x2f, 0x0d, 0xb3, 0x89, 0x70, 0xc3, 0xf9, 0x37, 0x58, 0x84, 0x79,
  390. 0x18, 0x2c, 0x54, 0x3b, 0x62, 0x7a, 0x26, 0xfc, 0xb3, 0x57, 0xb0, 0x94, 0xca, 0xa2, 0x71, 0x92,
  391. 0x54, 0xa3, 0x49, 0x2a, 0x97, 0xc2, 0x3c, 0xb9, 0xc7, 0x1b, 0x4f, 0x19, 0x87, 0xa3, 0x8e, 0x94,
  392. 0x43, 0xe5, 0xf8, 0x32, 0x14, 0xcc, 0xf2, 0x12, 0xe1, 0xa2, 0xa3, 0x71, 0x6f, 0x7f, 0x97, 0x4f,
  393. 0x36, 0x61, 0x37, 0x43, 0xbc, 0xf6, 0xeb, 0x9b, 0x5e, 0xba, 0xdb, 0xe9, 0xda, 0xdb, 0x75, 0x4f,
  394. 0x43, 0xab, 0xfa, 0x87, 0x65, 0xbc, 0x5b, 0xd7, 0xee, 0x97, 0x46, 0x9b, 0xb6, 0xf9, 0x6d, 0xfc,
  395. 0x34, 0xc1, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xa3, 0xfc, 0xb6, 0x26, 0xfc, 0x02, 0x00, 0x00,
  396. }
  397. func init() {
  398. xxx_Plugin_ProtoFile_FileDesc.Messages = xxx_Plugin_ProtoFile_MessageDescs[0:3]
  399. xxx_Plugin_ProtoFile_MessageDescs[2].Messages = xxx_Plugin_ProtoFile_MessageDescs[3:4]
  400. xxx_Plugin_ProtoFile_MessageDescs[1].Fields[2].MessageType = protoimpl.X.MessageTypeOf((*descriptor.FileDescriptorProto)(nil))
  401. xxx_Plugin_ProtoFile_MessageDescs[1].Fields[3].MessageType = xxx_Plugin_ProtoFile_MessageTypes[0].Type
  402. xxx_Plugin_ProtoFile_MessageDescs[2].Fields[1].MessageType = xxx_Plugin_ProtoFile_MessageTypes[3].Type
  403. var err error
  404. Plugin_ProtoFile, err = prototype.NewFile(&xxx_Plugin_ProtoFile_FileDesc)
  405. if err != nil {
  406. panic(err)
  407. }
  408. }
  409. const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
  410. var Plugin_ProtoFile protoreflect.FileDescriptor
  411. var xxx_Plugin_ProtoFile_FileDesc = prototype.File{
  412. Syntax: protoreflect.Proto2,
  413. Path: "google/protobuf/compiler/plugin.proto",
  414. Package: "google.protobuf.compiler",
  415. Imports: []protoreflect.FileImport{
  416. {FileDescriptor: prototype.PlaceholderFile("google/protobuf/descriptor.proto", "google.protobuf")},
  417. },
  418. }
  419. var xxx_Plugin_ProtoFile_MessageTypes = [4]protoimpl.MessageType{
  420. {Type: prototype.GoMessage(
  421. xxx_Plugin_ProtoFile_MessageDescs[0].Reference(),
  422. func(protoreflect.MessageType) protoreflect.ProtoMessage {
  423. return new(Version)
  424. },
  425. )},
  426. {Type: prototype.GoMessage(
  427. xxx_Plugin_ProtoFile_MessageDescs[1].Reference(),
  428. func(protoreflect.MessageType) protoreflect.ProtoMessage {
  429. return new(CodeGeneratorRequest)
  430. },
  431. )},
  432. {Type: prototype.GoMessage(
  433. xxx_Plugin_ProtoFile_MessageDescs[2].Reference(),
  434. func(protoreflect.MessageType) protoreflect.ProtoMessage {
  435. return new(CodeGeneratorResponse)
  436. },
  437. )},
  438. {Type: prototype.GoMessage(
  439. xxx_Plugin_ProtoFile_MessageDescs[3].Reference(),
  440. func(protoreflect.MessageType) protoreflect.ProtoMessage {
  441. return new(CodeGeneratorResponse_File)
  442. },
  443. )},
  444. }
  445. var xxx_Plugin_ProtoFile_MessageDescs = [4]prototype.Message{
  446. {
  447. Name: "Version",
  448. Fields: []prototype.Field{
  449. {
  450. Name: "major",
  451. Number: 1,
  452. Cardinality: protoreflect.Optional,
  453. Kind: protoreflect.Int32Kind,
  454. JSONName: "major",
  455. },
  456. {
  457. Name: "minor",
  458. Number: 2,
  459. Cardinality: protoreflect.Optional,
  460. Kind: protoreflect.Int32Kind,
  461. JSONName: "minor",
  462. },
  463. {
  464. Name: "patch",
  465. Number: 3,
  466. Cardinality: protoreflect.Optional,
  467. Kind: protoreflect.Int32Kind,
  468. JSONName: "patch",
  469. },
  470. {
  471. Name: "suffix",
  472. Number: 4,
  473. Cardinality: protoreflect.Optional,
  474. Kind: protoreflect.StringKind,
  475. JSONName: "suffix",
  476. },
  477. },
  478. },
  479. {
  480. Name: "CodeGeneratorRequest",
  481. Fields: []prototype.Field{
  482. {
  483. Name: "file_to_generate",
  484. Number: 1,
  485. Cardinality: protoreflect.Repeated,
  486. Kind: protoreflect.StringKind,
  487. JSONName: "fileToGenerate",
  488. },
  489. {
  490. Name: "parameter",
  491. Number: 2,
  492. Cardinality: protoreflect.Optional,
  493. Kind: protoreflect.StringKind,
  494. JSONName: "parameter",
  495. },
  496. {
  497. Name: "proto_file",
  498. Number: 15,
  499. Cardinality: protoreflect.Repeated,
  500. Kind: protoreflect.MessageKind,
  501. JSONName: "protoFile",
  502. },
  503. {
  504. Name: "compiler_version",
  505. Number: 3,
  506. Cardinality: protoreflect.Optional,
  507. Kind: protoreflect.MessageKind,
  508. JSONName: "compilerVersion",
  509. },
  510. },
  511. },
  512. {
  513. Name: "CodeGeneratorResponse",
  514. Fields: []prototype.Field{
  515. {
  516. Name: "error",
  517. Number: 1,
  518. Cardinality: protoreflect.Optional,
  519. Kind: protoreflect.StringKind,
  520. JSONName: "error",
  521. },
  522. {
  523. Name: "file",
  524. Number: 15,
  525. Cardinality: protoreflect.Repeated,
  526. Kind: protoreflect.MessageKind,
  527. JSONName: "file",
  528. },
  529. },
  530. },
  531. {
  532. Name: "File",
  533. Fields: []prototype.Field{
  534. {
  535. Name: "name",
  536. Number: 1,
  537. Cardinality: protoreflect.Optional,
  538. Kind: protoreflect.StringKind,
  539. JSONName: "name",
  540. },
  541. {
  542. Name: "insertion_point",
  543. Number: 2,
  544. Cardinality: protoreflect.Optional,
  545. Kind: protoreflect.StringKind,
  546. JSONName: "insertionPoint",
  547. },
  548. {
  549. Name: "content",
  550. Number: 15,
  551. Cardinality: protoreflect.Optional,
  552. Kind: protoreflect.StringKind,
  553. JSONName: "content",
  554. },
  555. },
  556. },
  557. }