plugin.pb.go 23 KB

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