plugin.pb.go 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/protobuf/compiler/plugin.proto
  3. package plugin_proto
  4. import (
  5. bytes "bytes"
  6. gzip "compress/gzip"
  7. proto "github.com/golang/protobuf/proto"
  8. protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
  9. protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
  10. descriptor "github.com/golang/protobuf/v2/types/descriptor"
  11. reflect "reflect"
  12. )
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  18. // The version number of protocol compiler.
  19. type Version struct {
  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. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  27. XXX_unrecognized []byte `json:"-"`
  28. XXX_sizecache int32 `json:"-"`
  29. }
  30. func (m *Version) ProtoReflect() protoreflect.Message {
  31. return xxx_Plugin_protoFile_messageTypes[0].MessageOf(m)
  32. }
  33. func (m *Version) Reset() { *m = Version{} }
  34. func (m *Version) String() string { return proto.CompactTextString(m) }
  35. func (*Version) ProtoMessage() {}
  36. func (*Version) Descriptor() ([]byte, []int) {
  37. return fileDescriptor_3562add825dafed5_gzipped, []int{0}
  38. }
  39. func (m *Version) XXX_Unmarshal(b []byte) error {
  40. return xxx_messageInfo_Version.Unmarshal(m, b)
  41. }
  42. func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  43. return xxx_messageInfo_Version.Marshal(b, m, deterministic)
  44. }
  45. func (m *Version) XXX_Merge(src proto.Message) {
  46. xxx_messageInfo_Version.Merge(m, src)
  47. }
  48. func (m *Version) XXX_Size() int {
  49. return xxx_messageInfo_Version.Size(m)
  50. }
  51. func (m *Version) XXX_DiscardUnknown() {
  52. xxx_messageInfo_Version.DiscardUnknown(m)
  53. }
  54. var xxx_messageInfo_Version proto.InternalMessageInfo
  55. func (m *Version) GetMajor() int32 {
  56. if m != nil && m.Major != nil {
  57. return *m.Major
  58. }
  59. return 0
  60. }
  61. func (m *Version) GetMinor() int32 {
  62. if m != nil && m.Minor != nil {
  63. return *m.Minor
  64. }
  65. return 0
  66. }
  67. func (m *Version) GetPatch() int32 {
  68. if m != nil && m.Patch != nil {
  69. return *m.Patch
  70. }
  71. return 0
  72. }
  73. func (m *Version) GetSuffix() string {
  74. if m != nil && m.Suffix != nil {
  75. return *m.Suffix
  76. }
  77. return ""
  78. }
  79. // An encoded CodeGeneratorRequest is written to the plugin's stdin.
  80. type CodeGeneratorRequest struct {
  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 []*descriptor.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. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  105. XXX_unrecognized []byte `json:"-"`
  106. XXX_sizecache int32 `json:"-"`
  107. }
  108. func (m *CodeGeneratorRequest) ProtoReflect() protoreflect.Message {
  109. return xxx_Plugin_protoFile_messageTypes[1].MessageOf(m)
  110. }
  111. func (m *CodeGeneratorRequest) Reset() { *m = CodeGeneratorRequest{} }
  112. func (m *CodeGeneratorRequest) String() string { return proto.CompactTextString(m) }
  113. func (*CodeGeneratorRequest) ProtoMessage() {}
  114. func (*CodeGeneratorRequest) Descriptor() ([]byte, []int) {
  115. return fileDescriptor_3562add825dafed5_gzipped, []int{1}
  116. }
  117. func (m *CodeGeneratorRequest) XXX_Unmarshal(b []byte) error {
  118. return xxx_messageInfo_CodeGeneratorRequest.Unmarshal(m, b)
  119. }
  120. func (m *CodeGeneratorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  121. return xxx_messageInfo_CodeGeneratorRequest.Marshal(b, m, deterministic)
  122. }
  123. func (m *CodeGeneratorRequest) XXX_Merge(src proto.Message) {
  124. xxx_messageInfo_CodeGeneratorRequest.Merge(m, src)
  125. }
  126. func (m *CodeGeneratorRequest) XXX_Size() int {
  127. return xxx_messageInfo_CodeGeneratorRequest.Size(m)
  128. }
  129. func (m *CodeGeneratorRequest) XXX_DiscardUnknown() {
  130. xxx_messageInfo_CodeGeneratorRequest.DiscardUnknown(m)
  131. }
  132. var xxx_messageInfo_CodeGeneratorRequest proto.InternalMessageInfo
  133. func (m *CodeGeneratorRequest) GetFileToGenerate() []string {
  134. if m != nil {
  135. return m.FileToGenerate
  136. }
  137. return nil
  138. }
  139. func (m *CodeGeneratorRequest) GetParameter() string {
  140. if m != nil && m.Parameter != nil {
  141. return *m.Parameter
  142. }
  143. return ""
  144. }
  145. func (m *CodeGeneratorRequest) GetProtoFile() []*descriptor.FileDescriptorProto {
  146. if m != nil {
  147. return m.ProtoFile
  148. }
  149. return nil
  150. }
  151. func (m *CodeGeneratorRequest) GetCompilerVersion() *Version {
  152. if m != nil {
  153. return m.CompilerVersion
  154. }
  155. return nil
  156. }
  157. // The plugin writes an encoded CodeGeneratorResponse to stdout.
  158. type CodeGeneratorResponse struct {
  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. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  170. XXX_unrecognized []byte `json:"-"`
  171. XXX_sizecache int32 `json:"-"`
  172. }
  173. func (m *CodeGeneratorResponse) ProtoReflect() protoreflect.Message {
  174. return xxx_Plugin_protoFile_messageTypes[2].MessageOf(m)
  175. }
  176. func (m *CodeGeneratorResponse) Reset() { *m = CodeGeneratorResponse{} }
  177. func (m *CodeGeneratorResponse) String() string { return proto.CompactTextString(m) }
  178. func (*CodeGeneratorResponse) ProtoMessage() {}
  179. func (*CodeGeneratorResponse) Descriptor() ([]byte, []int) {
  180. return fileDescriptor_3562add825dafed5_gzipped, []int{2}
  181. }
  182. func (m *CodeGeneratorResponse) XXX_Unmarshal(b []byte) error {
  183. return xxx_messageInfo_CodeGeneratorResponse.Unmarshal(m, b)
  184. }
  185. func (m *CodeGeneratorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  186. return xxx_messageInfo_CodeGeneratorResponse.Marshal(b, m, deterministic)
  187. }
  188. func (m *CodeGeneratorResponse) XXX_Merge(src proto.Message) {
  189. xxx_messageInfo_CodeGeneratorResponse.Merge(m, src)
  190. }
  191. func (m *CodeGeneratorResponse) XXX_Size() int {
  192. return xxx_messageInfo_CodeGeneratorResponse.Size(m)
  193. }
  194. func (m *CodeGeneratorResponse) XXX_DiscardUnknown() {
  195. xxx_messageInfo_CodeGeneratorResponse.DiscardUnknown(m)
  196. }
  197. var xxx_messageInfo_CodeGeneratorResponse proto.InternalMessageInfo
  198. func (m *CodeGeneratorResponse) GetError() string {
  199. if m != nil && m.Error != nil {
  200. return *m.Error
  201. }
  202. return ""
  203. }
  204. func (m *CodeGeneratorResponse) GetFile() []*CodeGeneratorResponse_File {
  205. if m != nil {
  206. return m.File
  207. }
  208. return nil
  209. }
  210. // Represents a single generated file.
  211. type CodeGeneratorResponse_File struct {
  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. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  265. XXX_unrecognized []byte `json:"-"`
  266. XXX_sizecache int32 `json:"-"`
  267. }
  268. func (m *CodeGeneratorResponse_File) ProtoReflect() protoreflect.Message {
  269. return xxx_Plugin_protoFile_messageTypes[3].MessageOf(m)
  270. }
  271. func (m *CodeGeneratorResponse_File) Reset() { *m = CodeGeneratorResponse_File{} }
  272. func (m *CodeGeneratorResponse_File) String() string { return proto.CompactTextString(m) }
  273. func (*CodeGeneratorResponse_File) ProtoMessage() {}
  274. func (*CodeGeneratorResponse_File) Descriptor() ([]byte, []int) {
  275. return fileDescriptor_3562add825dafed5_gzipped, []int{2, 0}
  276. }
  277. func (m *CodeGeneratorResponse_File) XXX_Unmarshal(b []byte) error {
  278. return xxx_messageInfo_CodeGeneratorResponse_File.Unmarshal(m, b)
  279. }
  280. func (m *CodeGeneratorResponse_File) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  281. return xxx_messageInfo_CodeGeneratorResponse_File.Marshal(b, m, deterministic)
  282. }
  283. func (m *CodeGeneratorResponse_File) XXX_Merge(src proto.Message) {
  284. xxx_messageInfo_CodeGeneratorResponse_File.Merge(m, src)
  285. }
  286. func (m *CodeGeneratorResponse_File) XXX_Size() int {
  287. return xxx_messageInfo_CodeGeneratorResponse_File.Size(m)
  288. }
  289. func (m *CodeGeneratorResponse_File) XXX_DiscardUnknown() {
  290. xxx_messageInfo_CodeGeneratorResponse_File.DiscardUnknown(m)
  291. }
  292. var xxx_messageInfo_CodeGeneratorResponse_File proto.InternalMessageInfo
  293. func (m *CodeGeneratorResponse_File) GetName() string {
  294. if m != nil && m.Name != nil {
  295. return *m.Name
  296. }
  297. return ""
  298. }
  299. func (m *CodeGeneratorResponse_File) GetInsertionPoint() string {
  300. if m != nil && m.InsertionPoint != nil {
  301. return *m.InsertionPoint
  302. }
  303. return ""
  304. }
  305. func (m *CodeGeneratorResponse_File) GetContent() string {
  306. if m != nil && m.Content != nil {
  307. return *m.Content
  308. }
  309. return ""
  310. }
  311. func init() {
  312. proto.RegisterFile("google/protobuf/compiler/plugin.proto", fileDescriptor_3562add825dafed5_gzipped)
  313. proto.RegisterType((*Version)(nil), "google.protobuf.compiler.Version")
  314. proto.RegisterType((*CodeGeneratorRequest)(nil), "google.protobuf.compiler.CodeGeneratorRequest")
  315. proto.RegisterType((*CodeGeneratorResponse)(nil), "google.protobuf.compiler.CodeGeneratorResponse")
  316. proto.RegisterType((*CodeGeneratorResponse_File)(nil), "google.protobuf.compiler.CodeGeneratorResponse.File")
  317. }
  318. var fileDescriptor_3562add825dafed5 = []byte{
  319. // 764 bytes of the wire-encoded FileDescriptorProto
  320. 0x0a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  321. 0x66, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69,
  322. 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  323. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65,
  324. 0x72, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  325. 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72,
  326. 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14,
  327. 0x0a, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d,
  328. 0x61, 0x6a, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x18, 0x02, 0x20,
  329. 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61,
  330. 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68,
  331. 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
  332. 0x52, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x22, 0xf1, 0x01, 0x0a, 0x14, 0x43, 0x6f, 0x64,
  333. 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  334. 0x74, 0x12, 0x28, 0x0a, 0x10, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x67, 0x65, 0x6e,
  335. 0x65, 0x72, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x69, 0x6c,
  336. 0x65, 0x54, 0x6f, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70,
  337. 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
  338. 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x43, 0x0a, 0x0a, 0x70, 0x72, 0x6f,
  339. 0x74, 0x6f, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e,
  340. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  341. 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72,
  342. 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x4c,
  343. 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
  344. 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  345. 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x69,
  346. 0x6c, 0x65, 0x72, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x63, 0x6f, 0x6d,
  347. 0x70, 0x69, 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xd6, 0x01, 0x0a,
  348. 0x15, 0x43, 0x6f, 0x64, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65,
  349. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18,
  350. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x48, 0x0a, 0x04,
  351. 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f,
  352. 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d,
  353. 0x70, 0x69, 0x6c, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61,
  354. 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65,
  355. 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x1a, 0x5d, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12,
  356. 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  357. 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
  358. 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x73,
  359. 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63,
  360. 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,
  361. 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x65, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
  362. 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d,
  363. 0x70, 0x69, 0x6c, 0x65, 0x72, 0x42, 0x0c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x6f,
  364. 0x74, 0x6f, 0x73, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
  365. 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
  366. 0x76, 0x32, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x3b,
  367. 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  368. }
  369. var fileDescriptor_3562add825dafed5_gzipped = func() []byte {
  370. bb := new(bytes.Buffer)
  371. zw, _ := gzip.NewWriterLevel(bb, gzip.NoCompression)
  372. zw.Write(fileDescriptor_3562add825dafed5)
  373. zw.Close()
  374. return bb.Bytes()
  375. }()
  376. const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
  377. var Plugin_protoFile protoreflect.FileDescriptor
  378. var xxx_Plugin_protoFile_messageTypes [4]protoimpl.MessageType
  379. var xxx_Plugin_protoFile_goTypes = []interface{}{
  380. (*Version)(nil), // 0: google.protobuf.compiler.Version
  381. (*CodeGeneratorRequest)(nil), // 1: google.protobuf.compiler.CodeGeneratorRequest
  382. (*CodeGeneratorResponse)(nil), // 2: google.protobuf.compiler.CodeGeneratorResponse
  383. (*CodeGeneratorResponse_File)(nil), // 3: google.protobuf.compiler.CodeGeneratorResponse.File
  384. (*descriptor.FileDescriptorProto)(nil), // 4: google.protobuf.FileDescriptorProto
  385. }
  386. var xxx_Plugin_protoFile_depIdxs = []int32{
  387. 4, // google.protobuf.compiler.CodeGeneratorRequest.proto_file:type_name -> google.protobuf.FileDescriptorProto
  388. 0, // google.protobuf.compiler.CodeGeneratorRequest.compiler_version:type_name -> google.protobuf.compiler.Version
  389. 3, // google.protobuf.compiler.CodeGeneratorResponse.file:type_name -> google.protobuf.compiler.CodeGeneratorResponse.File
  390. }
  391. func init() {
  392. var messageTypes [4]protoreflect.MessageType
  393. Plugin_protoFile = protoimpl.FileBuilder{
  394. RawDescriptor: fileDescriptor_3562add825dafed5,
  395. GoTypes: xxx_Plugin_protoFile_goTypes,
  396. DependencyIndexes: xxx_Plugin_protoFile_depIdxs,
  397. MessageOutputTypes: messageTypes[:],
  398. }.Init()
  399. messageGoTypes := xxx_Plugin_protoFile_goTypes[0:][:4]
  400. for i, mt := range messageTypes[:] {
  401. xxx_Plugin_protoFile_messageTypes[i].GoType = reflect.TypeOf(messageGoTypes[i])
  402. xxx_Plugin_protoFile_messageTypes[i].PBType = mt
  403. }
  404. xxx_Plugin_protoFile_goTypes = nil
  405. xxx_Plugin_protoFile_depIdxs = nil
  406. }