plugin.pb.go 21 KB

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