openapiconfig.pb.go 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0
  4. // protoc v3.15.2
  5. // source: internal/descriptor/openapiconfig/openapiconfig.proto
  6. package openapiconfig
  7. import (
  8. options "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. // OpenAPIFileOption represents OpenAPI options on a file
  21. type OpenAPIFileOption struct {
  22. state protoimpl.MessageState
  23. sizeCache protoimpl.SizeCache
  24. unknownFields protoimpl.UnknownFields
  25. File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
  26. Option *options.Swagger `protobuf:"bytes,2,opt,name=option,proto3" json:"option,omitempty"`
  27. }
  28. func (x *OpenAPIFileOption) Reset() {
  29. *x = OpenAPIFileOption{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *OpenAPIFileOption) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*OpenAPIFileOption) ProtoMessage() {}
  40. func (x *OpenAPIFileOption) ProtoReflect() protoreflect.Message {
  41. mi := &file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[0]
  42. if protoimpl.UnsafeEnabled && x != nil {
  43. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  44. if ms.LoadMessageInfo() == nil {
  45. ms.StoreMessageInfo(mi)
  46. }
  47. return ms
  48. }
  49. return mi.MessageOf(x)
  50. }
  51. // Deprecated: Use OpenAPIFileOption.ProtoReflect.Descriptor instead.
  52. func (*OpenAPIFileOption) Descriptor() ([]byte, []int) {
  53. return file_internal_descriptor_openapiconfig_openapiconfig_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *OpenAPIFileOption) GetFile() string {
  56. if x != nil {
  57. return x.File
  58. }
  59. return ""
  60. }
  61. func (x *OpenAPIFileOption) GetOption() *options.Swagger {
  62. if x != nil {
  63. return x.Option
  64. }
  65. return nil
  66. }
  67. // OpenAPIMethodOption represents OpenAPI options on a method
  68. type OpenAPIMethodOption struct {
  69. state protoimpl.MessageState
  70. sizeCache protoimpl.SizeCache
  71. unknownFields protoimpl.UnknownFields
  72. Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
  73. Option *options.Operation `protobuf:"bytes,2,opt,name=option,proto3" json:"option,omitempty"`
  74. }
  75. func (x *OpenAPIMethodOption) Reset() {
  76. *x = OpenAPIMethodOption{}
  77. if protoimpl.UnsafeEnabled {
  78. mi := &file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[1]
  79. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  80. ms.StoreMessageInfo(mi)
  81. }
  82. }
  83. func (x *OpenAPIMethodOption) String() string {
  84. return protoimpl.X.MessageStringOf(x)
  85. }
  86. func (*OpenAPIMethodOption) ProtoMessage() {}
  87. func (x *OpenAPIMethodOption) ProtoReflect() protoreflect.Message {
  88. mi := &file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[1]
  89. if protoimpl.UnsafeEnabled && x != nil {
  90. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  91. if ms.LoadMessageInfo() == nil {
  92. ms.StoreMessageInfo(mi)
  93. }
  94. return ms
  95. }
  96. return mi.MessageOf(x)
  97. }
  98. // Deprecated: Use OpenAPIMethodOption.ProtoReflect.Descriptor instead.
  99. func (*OpenAPIMethodOption) Descriptor() ([]byte, []int) {
  100. return file_internal_descriptor_openapiconfig_openapiconfig_proto_rawDescGZIP(), []int{1}
  101. }
  102. func (x *OpenAPIMethodOption) GetMethod() string {
  103. if x != nil {
  104. return x.Method
  105. }
  106. return ""
  107. }
  108. func (x *OpenAPIMethodOption) GetOption() *options.Operation {
  109. if x != nil {
  110. return x.Option
  111. }
  112. return nil
  113. }
  114. // OpenAPIMessageOption represents OpenAPI options on a message
  115. type OpenAPIMessageOption struct {
  116. state protoimpl.MessageState
  117. sizeCache protoimpl.SizeCache
  118. unknownFields protoimpl.UnknownFields
  119. Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
  120. Option *options.Schema `protobuf:"bytes,2,opt,name=option,proto3" json:"option,omitempty"`
  121. }
  122. func (x *OpenAPIMessageOption) Reset() {
  123. *x = OpenAPIMessageOption{}
  124. if protoimpl.UnsafeEnabled {
  125. mi := &file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[2]
  126. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  127. ms.StoreMessageInfo(mi)
  128. }
  129. }
  130. func (x *OpenAPIMessageOption) String() string {
  131. return protoimpl.X.MessageStringOf(x)
  132. }
  133. func (*OpenAPIMessageOption) ProtoMessage() {}
  134. func (x *OpenAPIMessageOption) ProtoReflect() protoreflect.Message {
  135. mi := &file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[2]
  136. if protoimpl.UnsafeEnabled && x != nil {
  137. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  138. if ms.LoadMessageInfo() == nil {
  139. ms.StoreMessageInfo(mi)
  140. }
  141. return ms
  142. }
  143. return mi.MessageOf(x)
  144. }
  145. // Deprecated: Use OpenAPIMessageOption.ProtoReflect.Descriptor instead.
  146. func (*OpenAPIMessageOption) Descriptor() ([]byte, []int) {
  147. return file_internal_descriptor_openapiconfig_openapiconfig_proto_rawDescGZIP(), []int{2}
  148. }
  149. func (x *OpenAPIMessageOption) GetMessage() string {
  150. if x != nil {
  151. return x.Message
  152. }
  153. return ""
  154. }
  155. func (x *OpenAPIMessageOption) GetOption() *options.Schema {
  156. if x != nil {
  157. return x.Option
  158. }
  159. return nil
  160. }
  161. // OpenAPIServiceOption represents OpenAPI options on a service
  162. type OpenAPIServiceOption struct {
  163. state protoimpl.MessageState
  164. sizeCache protoimpl.SizeCache
  165. unknownFields protoimpl.UnknownFields
  166. Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // ex: Service
  167. Option *options.Tag `protobuf:"bytes,2,opt,name=option,proto3" json:"option,omitempty"`
  168. }
  169. func (x *OpenAPIServiceOption) Reset() {
  170. *x = OpenAPIServiceOption{}
  171. if protoimpl.UnsafeEnabled {
  172. mi := &file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[3]
  173. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  174. ms.StoreMessageInfo(mi)
  175. }
  176. }
  177. func (x *OpenAPIServiceOption) String() string {
  178. return protoimpl.X.MessageStringOf(x)
  179. }
  180. func (*OpenAPIServiceOption) ProtoMessage() {}
  181. func (x *OpenAPIServiceOption) ProtoReflect() protoreflect.Message {
  182. mi := &file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[3]
  183. if protoimpl.UnsafeEnabled && x != nil {
  184. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  185. if ms.LoadMessageInfo() == nil {
  186. ms.StoreMessageInfo(mi)
  187. }
  188. return ms
  189. }
  190. return mi.MessageOf(x)
  191. }
  192. // Deprecated: Use OpenAPIServiceOption.ProtoReflect.Descriptor instead.
  193. func (*OpenAPIServiceOption) Descriptor() ([]byte, []int) {
  194. return file_internal_descriptor_openapiconfig_openapiconfig_proto_rawDescGZIP(), []int{3}
  195. }
  196. func (x *OpenAPIServiceOption) GetService() string {
  197. if x != nil {
  198. return x.Service
  199. }
  200. return ""
  201. }
  202. func (x *OpenAPIServiceOption) GetOption() *options.Tag {
  203. if x != nil {
  204. return x.Option
  205. }
  206. return nil
  207. }
  208. // OpenAPIFieldOption represents OpenAPI options on a field
  209. type OpenAPIFieldOption struct {
  210. state protoimpl.MessageState
  211. sizeCache protoimpl.SizeCache
  212. unknownFields protoimpl.UnknownFields
  213. Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
  214. Option *options.JSONSchema `protobuf:"bytes,2,opt,name=option,proto3" json:"option,omitempty"`
  215. }
  216. func (x *OpenAPIFieldOption) Reset() {
  217. *x = OpenAPIFieldOption{}
  218. if protoimpl.UnsafeEnabled {
  219. mi := &file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[4]
  220. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  221. ms.StoreMessageInfo(mi)
  222. }
  223. }
  224. func (x *OpenAPIFieldOption) String() string {
  225. return protoimpl.X.MessageStringOf(x)
  226. }
  227. func (*OpenAPIFieldOption) ProtoMessage() {}
  228. func (x *OpenAPIFieldOption) ProtoReflect() protoreflect.Message {
  229. mi := &file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[4]
  230. if protoimpl.UnsafeEnabled && x != nil {
  231. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  232. if ms.LoadMessageInfo() == nil {
  233. ms.StoreMessageInfo(mi)
  234. }
  235. return ms
  236. }
  237. return mi.MessageOf(x)
  238. }
  239. // Deprecated: Use OpenAPIFieldOption.ProtoReflect.Descriptor instead.
  240. func (*OpenAPIFieldOption) Descriptor() ([]byte, []int) {
  241. return file_internal_descriptor_openapiconfig_openapiconfig_proto_rawDescGZIP(), []int{4}
  242. }
  243. func (x *OpenAPIFieldOption) GetField() string {
  244. if x != nil {
  245. return x.Field
  246. }
  247. return ""
  248. }
  249. func (x *OpenAPIFieldOption) GetOption() *options.JSONSchema {
  250. if x != nil {
  251. return x.Option
  252. }
  253. return nil
  254. }
  255. // OpenAPIOptions represents OpenAPI protobuf options
  256. type OpenAPIOptions struct {
  257. state protoimpl.MessageState
  258. sizeCache protoimpl.SizeCache
  259. unknownFields protoimpl.UnknownFields
  260. File []*OpenAPIFileOption `protobuf:"bytes,1,rep,name=file,proto3" json:"file,omitempty"`
  261. Method []*OpenAPIMethodOption `protobuf:"bytes,2,rep,name=method,proto3" json:"method,omitempty"`
  262. Message []*OpenAPIMessageOption `protobuf:"bytes,3,rep,name=message,proto3" json:"message,omitempty"`
  263. Service []*OpenAPIServiceOption `protobuf:"bytes,4,rep,name=service,proto3" json:"service,omitempty"`
  264. Field []*OpenAPIFieldOption `protobuf:"bytes,5,rep,name=field,proto3" json:"field,omitempty"`
  265. }
  266. func (x *OpenAPIOptions) Reset() {
  267. *x = OpenAPIOptions{}
  268. if protoimpl.UnsafeEnabled {
  269. mi := &file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[5]
  270. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  271. ms.StoreMessageInfo(mi)
  272. }
  273. }
  274. func (x *OpenAPIOptions) String() string {
  275. return protoimpl.X.MessageStringOf(x)
  276. }
  277. func (*OpenAPIOptions) ProtoMessage() {}
  278. func (x *OpenAPIOptions) ProtoReflect() protoreflect.Message {
  279. mi := &file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[5]
  280. if protoimpl.UnsafeEnabled && x != nil {
  281. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  282. if ms.LoadMessageInfo() == nil {
  283. ms.StoreMessageInfo(mi)
  284. }
  285. return ms
  286. }
  287. return mi.MessageOf(x)
  288. }
  289. // Deprecated: Use OpenAPIOptions.ProtoReflect.Descriptor instead.
  290. func (*OpenAPIOptions) Descriptor() ([]byte, []int) {
  291. return file_internal_descriptor_openapiconfig_openapiconfig_proto_rawDescGZIP(), []int{5}
  292. }
  293. func (x *OpenAPIOptions) GetFile() []*OpenAPIFileOption {
  294. if x != nil {
  295. return x.File
  296. }
  297. return nil
  298. }
  299. func (x *OpenAPIOptions) GetMethod() []*OpenAPIMethodOption {
  300. if x != nil {
  301. return x.Method
  302. }
  303. return nil
  304. }
  305. func (x *OpenAPIOptions) GetMessage() []*OpenAPIMessageOption {
  306. if x != nil {
  307. return x.Message
  308. }
  309. return nil
  310. }
  311. func (x *OpenAPIOptions) GetService() []*OpenAPIServiceOption {
  312. if x != nil {
  313. return x.Service
  314. }
  315. return nil
  316. }
  317. func (x *OpenAPIOptions) GetField() []*OpenAPIFieldOption {
  318. if x != nil {
  319. return x.Field
  320. }
  321. return nil
  322. }
  323. // OpenAPIConfig represents a set of OpenAPI options
  324. type OpenAPIConfig struct {
  325. state protoimpl.MessageState
  326. sizeCache protoimpl.SizeCache
  327. unknownFields protoimpl.UnknownFields
  328. OpenapiOptions *OpenAPIOptions `protobuf:"bytes,1,opt,name=openapi_options,json=openapiOptions,proto3" json:"openapi_options,omitempty"`
  329. }
  330. func (x *OpenAPIConfig) Reset() {
  331. *x = OpenAPIConfig{}
  332. if protoimpl.UnsafeEnabled {
  333. mi := &file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[6]
  334. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  335. ms.StoreMessageInfo(mi)
  336. }
  337. }
  338. func (x *OpenAPIConfig) String() string {
  339. return protoimpl.X.MessageStringOf(x)
  340. }
  341. func (*OpenAPIConfig) ProtoMessage() {}
  342. func (x *OpenAPIConfig) ProtoReflect() protoreflect.Message {
  343. mi := &file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[6]
  344. if protoimpl.UnsafeEnabled && x != nil {
  345. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  346. if ms.LoadMessageInfo() == nil {
  347. ms.StoreMessageInfo(mi)
  348. }
  349. return ms
  350. }
  351. return mi.MessageOf(x)
  352. }
  353. // Deprecated: Use OpenAPIConfig.ProtoReflect.Descriptor instead.
  354. func (*OpenAPIConfig) Descriptor() ([]byte, []int) {
  355. return file_internal_descriptor_openapiconfig_openapiconfig_proto_rawDescGZIP(), []int{6}
  356. }
  357. func (x *OpenAPIConfig) GetOpenapiOptions() *OpenAPIOptions {
  358. if x != nil {
  359. return x.OpenapiOptions
  360. }
  361. return nil
  362. }
  363. var File_internal_descriptor_openapiconfig_openapiconfig_proto protoreflect.FileDescriptor
  364. var file_internal_descriptor_openapiconfig_openapiconfig_proto_rawDesc = []byte{
  365. 0x0a, 0x35, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72,
  366. 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x63, 0x6f, 0x6e,
  367. 0x66, 0x69, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x63, 0x6f, 0x6e, 0x66, 0x69,
  368. 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61,
  369. 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x64,
  370. 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70,
  371. 0x69, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x2c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d,
  372. 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70,
  373. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e,
  374. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x73, 0x0a, 0x11, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49,
  375. 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69,
  376. 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x4a,
  377. 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32,
  378. 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72,
  379. 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69,
  380. 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x77, 0x61, 0x67, 0x67,
  381. 0x65, 0x72, 0x52, 0x06, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7b, 0x0a, 0x13, 0x4f, 0x70,
  382. 0x65, 0x6e, 0x41, 0x50, 0x49, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f,
  383. 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  384. 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x4c, 0x0a, 0x06, 0x6f, 0x70, 0x74,
  385. 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x72, 0x70, 0x63,
  386. 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f,
  387. 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70,
  388. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
  389. 0x06, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7b, 0x0a, 0x14, 0x4f, 0x70, 0x65, 0x6e, 0x41,
  390. 0x50, 0x49, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12,
  391. 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  392. 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x49, 0x0a, 0x06, 0x6f, 0x70, 0x74,
  393. 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x72, 0x70, 0x63,
  394. 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f,
  395. 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70,
  396. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x06, 0x6f, 0x70,
  397. 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x78, 0x0a, 0x14, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x53,
  398. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07,
  399. 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73,
  400. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x46, 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
  401. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61,
  402. 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e,
  403. 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f,
  404. 0x6e, 0x73, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x06, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x79,
  405. 0x0a, 0x12, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70,
  406. 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20,
  407. 0x01, 0x28, 0x09, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x4d, 0x0a, 0x06, 0x6f, 0x70,
  408. 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x72, 0x70,
  409. 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
  410. 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f,
  411. 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63, 0x68, 0x65, 0x6d,
  412. 0x61, 0x52, 0x06, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xde, 0x03, 0x0a, 0x0e, 0x4f, 0x70,
  413. 0x65, 0x6e, 0x41, 0x50, 0x49, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x55, 0x0a, 0x04,
  414. 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x72, 0x70,
  415. 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
  416. 0x61, 0x6c, 0x2e, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x6f, 0x70,
  417. 0x65, 0x6e, 0x61, 0x70, 0x69, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x6e,
  418. 0x41, 0x50, 0x49, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x66,
  419. 0x69, 0x6c, 0x65, 0x12, 0x5b, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20,
  420. 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77,
  421. 0x61, 0x79, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x64, 0x65, 0x73, 0x63,
  422. 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x63, 0x6f,
  423. 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x4d, 0x65, 0x74, 0x68,
  424. 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64,
  425. 0x12, 0x5e, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28,
  426. 0x0b, 0x32, 0x44, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79,
  427. 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
  428. 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x63, 0x6f, 0x6e, 0x66,
  429. 0x69, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  430. 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  431. 0x12, 0x5e, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28,
  432. 0x0b, 0x32, 0x44, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79,
  433. 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
  434. 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x63, 0x6f, 0x6e, 0x66,
  435. 0x69, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
  436. 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  437. 0x12, 0x58, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
  438. 0x42, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x69,
  439. 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
  440. 0x6f, 0x72, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
  441. 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74,
  442. 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0x78, 0x0a, 0x0d, 0x4f, 0x70,
  443. 0x65, 0x6e, 0x41, 0x50, 0x49, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x67, 0x0a, 0x0f, 0x6f,
  444. 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01,
  445. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65,
  446. 0x77, 0x61, 0x79, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x64, 0x65, 0x73,
  447. 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x63,
  448. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x4f, 0x70, 0x74,
  449. 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0e, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x4f, 0x70, 0x74,
  450. 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x4d, 0x5a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
  451. 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65,
  452. 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x76,
  453. 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72,
  454. 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x63, 0x6f, 0x6e,
  455. 0x66, 0x69, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  456. }
  457. var (
  458. file_internal_descriptor_openapiconfig_openapiconfig_proto_rawDescOnce sync.Once
  459. file_internal_descriptor_openapiconfig_openapiconfig_proto_rawDescData = file_internal_descriptor_openapiconfig_openapiconfig_proto_rawDesc
  460. )
  461. func file_internal_descriptor_openapiconfig_openapiconfig_proto_rawDescGZIP() []byte {
  462. file_internal_descriptor_openapiconfig_openapiconfig_proto_rawDescOnce.Do(func() {
  463. file_internal_descriptor_openapiconfig_openapiconfig_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_descriptor_openapiconfig_openapiconfig_proto_rawDescData)
  464. })
  465. return file_internal_descriptor_openapiconfig_openapiconfig_proto_rawDescData
  466. }
  467. var file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
  468. var file_internal_descriptor_openapiconfig_openapiconfig_proto_goTypes = []interface{}{
  469. (*OpenAPIFileOption)(nil), // 0: grpc.gateway.internal.descriptor.openapiconfig.OpenAPIFileOption
  470. (*OpenAPIMethodOption)(nil), // 1: grpc.gateway.internal.descriptor.openapiconfig.OpenAPIMethodOption
  471. (*OpenAPIMessageOption)(nil), // 2: grpc.gateway.internal.descriptor.openapiconfig.OpenAPIMessageOption
  472. (*OpenAPIServiceOption)(nil), // 3: grpc.gateway.internal.descriptor.openapiconfig.OpenAPIServiceOption
  473. (*OpenAPIFieldOption)(nil), // 4: grpc.gateway.internal.descriptor.openapiconfig.OpenAPIFieldOption
  474. (*OpenAPIOptions)(nil), // 5: grpc.gateway.internal.descriptor.openapiconfig.OpenAPIOptions
  475. (*OpenAPIConfig)(nil), // 6: grpc.gateway.internal.descriptor.openapiconfig.OpenAPIConfig
  476. (*options.Swagger)(nil), // 7: grpc.gateway.protoc_gen_openapiv2.options.Swagger
  477. (*options.Operation)(nil), // 8: grpc.gateway.protoc_gen_openapiv2.options.Operation
  478. (*options.Schema)(nil), // 9: grpc.gateway.protoc_gen_openapiv2.options.Schema
  479. (*options.Tag)(nil), // 10: grpc.gateway.protoc_gen_openapiv2.options.Tag
  480. (*options.JSONSchema)(nil), // 11: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema
  481. }
  482. var file_internal_descriptor_openapiconfig_openapiconfig_proto_depIdxs = []int32{
  483. 7, // 0: grpc.gateway.internal.descriptor.openapiconfig.OpenAPIFileOption.option:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Swagger
  484. 8, // 1: grpc.gateway.internal.descriptor.openapiconfig.OpenAPIMethodOption.option:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Operation
  485. 9, // 2: grpc.gateway.internal.descriptor.openapiconfig.OpenAPIMessageOption.option:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Schema
  486. 10, // 3: grpc.gateway.internal.descriptor.openapiconfig.OpenAPIServiceOption.option:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Tag
  487. 11, // 4: grpc.gateway.internal.descriptor.openapiconfig.OpenAPIFieldOption.option:type_name -> grpc.gateway.protoc_gen_openapiv2.options.JSONSchema
  488. 0, // 5: grpc.gateway.internal.descriptor.openapiconfig.OpenAPIOptions.file:type_name -> grpc.gateway.internal.descriptor.openapiconfig.OpenAPIFileOption
  489. 1, // 6: grpc.gateway.internal.descriptor.openapiconfig.OpenAPIOptions.method:type_name -> grpc.gateway.internal.descriptor.openapiconfig.OpenAPIMethodOption
  490. 2, // 7: grpc.gateway.internal.descriptor.openapiconfig.OpenAPIOptions.message:type_name -> grpc.gateway.internal.descriptor.openapiconfig.OpenAPIMessageOption
  491. 3, // 8: grpc.gateway.internal.descriptor.openapiconfig.OpenAPIOptions.service:type_name -> grpc.gateway.internal.descriptor.openapiconfig.OpenAPIServiceOption
  492. 4, // 9: grpc.gateway.internal.descriptor.openapiconfig.OpenAPIOptions.field:type_name -> grpc.gateway.internal.descriptor.openapiconfig.OpenAPIFieldOption
  493. 5, // 10: grpc.gateway.internal.descriptor.openapiconfig.OpenAPIConfig.openapi_options:type_name -> grpc.gateway.internal.descriptor.openapiconfig.OpenAPIOptions
  494. 11, // [11:11] is the sub-list for method output_type
  495. 11, // [11:11] is the sub-list for method input_type
  496. 11, // [11:11] is the sub-list for extension type_name
  497. 11, // [11:11] is the sub-list for extension extendee
  498. 0, // [0:11] is the sub-list for field type_name
  499. }
  500. func init() { file_internal_descriptor_openapiconfig_openapiconfig_proto_init() }
  501. func file_internal_descriptor_openapiconfig_openapiconfig_proto_init() {
  502. if File_internal_descriptor_openapiconfig_openapiconfig_proto != nil {
  503. return
  504. }
  505. if !protoimpl.UnsafeEnabled {
  506. file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  507. switch v := v.(*OpenAPIFileOption); i {
  508. case 0:
  509. return &v.state
  510. case 1:
  511. return &v.sizeCache
  512. case 2:
  513. return &v.unknownFields
  514. default:
  515. return nil
  516. }
  517. }
  518. file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  519. switch v := v.(*OpenAPIMethodOption); i {
  520. case 0:
  521. return &v.state
  522. case 1:
  523. return &v.sizeCache
  524. case 2:
  525. return &v.unknownFields
  526. default:
  527. return nil
  528. }
  529. }
  530. file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  531. switch v := v.(*OpenAPIMessageOption); i {
  532. case 0:
  533. return &v.state
  534. case 1:
  535. return &v.sizeCache
  536. case 2:
  537. return &v.unknownFields
  538. default:
  539. return nil
  540. }
  541. }
  542. file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  543. switch v := v.(*OpenAPIServiceOption); i {
  544. case 0:
  545. return &v.state
  546. case 1:
  547. return &v.sizeCache
  548. case 2:
  549. return &v.unknownFields
  550. default:
  551. return nil
  552. }
  553. }
  554. file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  555. switch v := v.(*OpenAPIFieldOption); i {
  556. case 0:
  557. return &v.state
  558. case 1:
  559. return &v.sizeCache
  560. case 2:
  561. return &v.unknownFields
  562. default:
  563. return nil
  564. }
  565. }
  566. file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  567. switch v := v.(*OpenAPIOptions); i {
  568. case 0:
  569. return &v.state
  570. case 1:
  571. return &v.sizeCache
  572. case 2:
  573. return &v.unknownFields
  574. default:
  575. return nil
  576. }
  577. }
  578. file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  579. switch v := v.(*OpenAPIConfig); i {
  580. case 0:
  581. return &v.state
  582. case 1:
  583. return &v.sizeCache
  584. case 2:
  585. return &v.unknownFields
  586. default:
  587. return nil
  588. }
  589. }
  590. }
  591. type x struct{}
  592. out := protoimpl.TypeBuilder{
  593. File: protoimpl.DescBuilder{
  594. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  595. RawDescriptor: file_internal_descriptor_openapiconfig_openapiconfig_proto_rawDesc,
  596. NumEnums: 0,
  597. NumMessages: 7,
  598. NumExtensions: 0,
  599. NumServices: 0,
  600. },
  601. GoTypes: file_internal_descriptor_openapiconfig_openapiconfig_proto_goTypes,
  602. DependencyIndexes: file_internal_descriptor_openapiconfig_openapiconfig_proto_depIdxs,
  603. MessageInfos: file_internal_descriptor_openapiconfig_openapiconfig_proto_msgTypes,
  604. }.Build()
  605. File_internal_descriptor_openapiconfig_openapiconfig_proto = out.File
  606. file_internal_descriptor_openapiconfig_openapiconfig_proto_rawDesc = nil
  607. file_internal_descriptor_openapiconfig_openapiconfig_proto_goTypes = nil
  608. file_internal_descriptor_openapiconfig_openapiconfig_proto_depIdxs = nil
  609. }