plugin.pb.go 21 KB

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