openapiv2.pb.go 140 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.30.0
  4. // protoc (unknown)
  5. // source: protoc-gen-openapiv2/options/openapiv2.proto
  6. package options
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. structpb "google.golang.org/protobuf/types/known/structpb"
  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. // Scheme describes the schemes supported by the OpenAPI Swagger
  21. // and Operation objects.
  22. type Scheme int32
  23. const (
  24. Scheme_UNKNOWN Scheme = 0
  25. Scheme_HTTP Scheme = 1
  26. Scheme_HTTPS Scheme = 2
  27. Scheme_WS Scheme = 3
  28. Scheme_WSS Scheme = 4
  29. )
  30. // Enum value maps for Scheme.
  31. var (
  32. Scheme_name = map[int32]string{
  33. 0: "UNKNOWN",
  34. 1: "HTTP",
  35. 2: "HTTPS",
  36. 3: "WS",
  37. 4: "WSS",
  38. }
  39. Scheme_value = map[string]int32{
  40. "UNKNOWN": 0,
  41. "HTTP": 1,
  42. "HTTPS": 2,
  43. "WS": 3,
  44. "WSS": 4,
  45. }
  46. )
  47. func (x Scheme) Enum() *Scheme {
  48. p := new(Scheme)
  49. *p = x
  50. return p
  51. }
  52. func (x Scheme) String() string {
  53. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  54. }
  55. func (Scheme) Descriptor() protoreflect.EnumDescriptor {
  56. return file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[0].Descriptor()
  57. }
  58. func (Scheme) Type() protoreflect.EnumType {
  59. return &file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[0]
  60. }
  61. func (x Scheme) Number() protoreflect.EnumNumber {
  62. return protoreflect.EnumNumber(x)
  63. }
  64. // Deprecated: Use Scheme.Descriptor instead.
  65. func (Scheme) EnumDescriptor() ([]byte, []int) {
  66. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{0}
  67. }
  68. // `Type` is a supported HTTP header type.
  69. // See https://swagger.io/specification/v2/#parameterType.
  70. type HeaderParameter_Type int32
  71. const (
  72. HeaderParameter_UNKNOWN HeaderParameter_Type = 0
  73. HeaderParameter_STRING HeaderParameter_Type = 1
  74. HeaderParameter_NUMBER HeaderParameter_Type = 2
  75. HeaderParameter_INTEGER HeaderParameter_Type = 3
  76. HeaderParameter_BOOLEAN HeaderParameter_Type = 4
  77. )
  78. // Enum value maps for HeaderParameter_Type.
  79. var (
  80. HeaderParameter_Type_name = map[int32]string{
  81. 0: "UNKNOWN",
  82. 1: "STRING",
  83. 2: "NUMBER",
  84. 3: "INTEGER",
  85. 4: "BOOLEAN",
  86. }
  87. HeaderParameter_Type_value = map[string]int32{
  88. "UNKNOWN": 0,
  89. "STRING": 1,
  90. "NUMBER": 2,
  91. "INTEGER": 3,
  92. "BOOLEAN": 4,
  93. }
  94. )
  95. func (x HeaderParameter_Type) Enum() *HeaderParameter_Type {
  96. p := new(HeaderParameter_Type)
  97. *p = x
  98. return p
  99. }
  100. func (x HeaderParameter_Type) String() string {
  101. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  102. }
  103. func (HeaderParameter_Type) Descriptor() protoreflect.EnumDescriptor {
  104. return file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[1].Descriptor()
  105. }
  106. func (HeaderParameter_Type) Type() protoreflect.EnumType {
  107. return &file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[1]
  108. }
  109. func (x HeaderParameter_Type) Number() protoreflect.EnumNumber {
  110. return protoreflect.EnumNumber(x)
  111. }
  112. // Deprecated: Use HeaderParameter_Type.Descriptor instead.
  113. func (HeaderParameter_Type) EnumDescriptor() ([]byte, []int) {
  114. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{3, 0}
  115. }
  116. type JSONSchema_JSONSchemaSimpleTypes int32
  117. const (
  118. JSONSchema_UNKNOWN JSONSchema_JSONSchemaSimpleTypes = 0
  119. JSONSchema_ARRAY JSONSchema_JSONSchemaSimpleTypes = 1
  120. JSONSchema_BOOLEAN JSONSchema_JSONSchemaSimpleTypes = 2
  121. JSONSchema_INTEGER JSONSchema_JSONSchemaSimpleTypes = 3
  122. JSONSchema_NULL JSONSchema_JSONSchemaSimpleTypes = 4
  123. JSONSchema_NUMBER JSONSchema_JSONSchemaSimpleTypes = 5
  124. JSONSchema_OBJECT JSONSchema_JSONSchemaSimpleTypes = 6
  125. JSONSchema_STRING JSONSchema_JSONSchemaSimpleTypes = 7
  126. )
  127. // Enum value maps for JSONSchema_JSONSchemaSimpleTypes.
  128. var (
  129. JSONSchema_JSONSchemaSimpleTypes_name = map[int32]string{
  130. 0: "UNKNOWN",
  131. 1: "ARRAY",
  132. 2: "BOOLEAN",
  133. 3: "INTEGER",
  134. 4: "NULL",
  135. 5: "NUMBER",
  136. 6: "OBJECT",
  137. 7: "STRING",
  138. }
  139. JSONSchema_JSONSchemaSimpleTypes_value = map[string]int32{
  140. "UNKNOWN": 0,
  141. "ARRAY": 1,
  142. "BOOLEAN": 2,
  143. "INTEGER": 3,
  144. "NULL": 4,
  145. "NUMBER": 5,
  146. "OBJECT": 6,
  147. "STRING": 7,
  148. }
  149. )
  150. func (x JSONSchema_JSONSchemaSimpleTypes) Enum() *JSONSchema_JSONSchemaSimpleTypes {
  151. p := new(JSONSchema_JSONSchemaSimpleTypes)
  152. *p = x
  153. return p
  154. }
  155. func (x JSONSchema_JSONSchemaSimpleTypes) String() string {
  156. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  157. }
  158. func (JSONSchema_JSONSchemaSimpleTypes) Descriptor() protoreflect.EnumDescriptor {
  159. return file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[2].Descriptor()
  160. }
  161. func (JSONSchema_JSONSchemaSimpleTypes) Type() protoreflect.EnumType {
  162. return &file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[2]
  163. }
  164. func (x JSONSchema_JSONSchemaSimpleTypes) Number() protoreflect.EnumNumber {
  165. return protoreflect.EnumNumber(x)
  166. }
  167. // Deprecated: Use JSONSchema_JSONSchemaSimpleTypes.Descriptor instead.
  168. func (JSONSchema_JSONSchemaSimpleTypes) EnumDescriptor() ([]byte, []int) {
  169. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{11, 0}
  170. }
  171. // The type of the security scheme. Valid values are "basic",
  172. // "apiKey" or "oauth2".
  173. type SecurityScheme_Type int32
  174. const (
  175. SecurityScheme_TYPE_INVALID SecurityScheme_Type = 0
  176. SecurityScheme_TYPE_BASIC SecurityScheme_Type = 1
  177. SecurityScheme_TYPE_API_KEY SecurityScheme_Type = 2
  178. SecurityScheme_TYPE_OAUTH2 SecurityScheme_Type = 3
  179. )
  180. // Enum value maps for SecurityScheme_Type.
  181. var (
  182. SecurityScheme_Type_name = map[int32]string{
  183. 0: "TYPE_INVALID",
  184. 1: "TYPE_BASIC",
  185. 2: "TYPE_API_KEY",
  186. 3: "TYPE_OAUTH2",
  187. }
  188. SecurityScheme_Type_value = map[string]int32{
  189. "TYPE_INVALID": 0,
  190. "TYPE_BASIC": 1,
  191. "TYPE_API_KEY": 2,
  192. "TYPE_OAUTH2": 3,
  193. }
  194. )
  195. func (x SecurityScheme_Type) Enum() *SecurityScheme_Type {
  196. p := new(SecurityScheme_Type)
  197. *p = x
  198. return p
  199. }
  200. func (x SecurityScheme_Type) String() string {
  201. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  202. }
  203. func (SecurityScheme_Type) Descriptor() protoreflect.EnumDescriptor {
  204. return file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[3].Descriptor()
  205. }
  206. func (SecurityScheme_Type) Type() protoreflect.EnumType {
  207. return &file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[3]
  208. }
  209. func (x SecurityScheme_Type) Number() protoreflect.EnumNumber {
  210. return protoreflect.EnumNumber(x)
  211. }
  212. // Deprecated: Use SecurityScheme_Type.Descriptor instead.
  213. func (SecurityScheme_Type) EnumDescriptor() ([]byte, []int) {
  214. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{14, 0}
  215. }
  216. // The location of the API key. Valid values are "query" or "header".
  217. type SecurityScheme_In int32
  218. const (
  219. SecurityScheme_IN_INVALID SecurityScheme_In = 0
  220. SecurityScheme_IN_QUERY SecurityScheme_In = 1
  221. SecurityScheme_IN_HEADER SecurityScheme_In = 2
  222. )
  223. // Enum value maps for SecurityScheme_In.
  224. var (
  225. SecurityScheme_In_name = map[int32]string{
  226. 0: "IN_INVALID",
  227. 1: "IN_QUERY",
  228. 2: "IN_HEADER",
  229. }
  230. SecurityScheme_In_value = map[string]int32{
  231. "IN_INVALID": 0,
  232. "IN_QUERY": 1,
  233. "IN_HEADER": 2,
  234. }
  235. )
  236. func (x SecurityScheme_In) Enum() *SecurityScheme_In {
  237. p := new(SecurityScheme_In)
  238. *p = x
  239. return p
  240. }
  241. func (x SecurityScheme_In) String() string {
  242. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  243. }
  244. func (SecurityScheme_In) Descriptor() protoreflect.EnumDescriptor {
  245. return file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[4].Descriptor()
  246. }
  247. func (SecurityScheme_In) Type() protoreflect.EnumType {
  248. return &file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[4]
  249. }
  250. func (x SecurityScheme_In) Number() protoreflect.EnumNumber {
  251. return protoreflect.EnumNumber(x)
  252. }
  253. // Deprecated: Use SecurityScheme_In.Descriptor instead.
  254. func (SecurityScheme_In) EnumDescriptor() ([]byte, []int) {
  255. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{14, 1}
  256. }
  257. // The flow used by the OAuth2 security scheme. Valid values are
  258. // "implicit", "password", "application" or "accessCode".
  259. type SecurityScheme_Flow int32
  260. const (
  261. SecurityScheme_FLOW_INVALID SecurityScheme_Flow = 0
  262. SecurityScheme_FLOW_IMPLICIT SecurityScheme_Flow = 1
  263. SecurityScheme_FLOW_PASSWORD SecurityScheme_Flow = 2
  264. SecurityScheme_FLOW_APPLICATION SecurityScheme_Flow = 3
  265. SecurityScheme_FLOW_ACCESS_CODE SecurityScheme_Flow = 4
  266. )
  267. // Enum value maps for SecurityScheme_Flow.
  268. var (
  269. SecurityScheme_Flow_name = map[int32]string{
  270. 0: "FLOW_INVALID",
  271. 1: "FLOW_IMPLICIT",
  272. 2: "FLOW_PASSWORD",
  273. 3: "FLOW_APPLICATION",
  274. 4: "FLOW_ACCESS_CODE",
  275. }
  276. SecurityScheme_Flow_value = map[string]int32{
  277. "FLOW_INVALID": 0,
  278. "FLOW_IMPLICIT": 1,
  279. "FLOW_PASSWORD": 2,
  280. "FLOW_APPLICATION": 3,
  281. "FLOW_ACCESS_CODE": 4,
  282. }
  283. )
  284. func (x SecurityScheme_Flow) Enum() *SecurityScheme_Flow {
  285. p := new(SecurityScheme_Flow)
  286. *p = x
  287. return p
  288. }
  289. func (x SecurityScheme_Flow) String() string {
  290. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  291. }
  292. func (SecurityScheme_Flow) Descriptor() protoreflect.EnumDescriptor {
  293. return file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[5].Descriptor()
  294. }
  295. func (SecurityScheme_Flow) Type() protoreflect.EnumType {
  296. return &file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[5]
  297. }
  298. func (x SecurityScheme_Flow) Number() protoreflect.EnumNumber {
  299. return protoreflect.EnumNumber(x)
  300. }
  301. // Deprecated: Use SecurityScheme_Flow.Descriptor instead.
  302. func (SecurityScheme_Flow) EnumDescriptor() ([]byte, []int) {
  303. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{14, 2}
  304. }
  305. // `Swagger` is a representation of OpenAPI v2 specification's Swagger object.
  306. //
  307. // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#swaggerObject
  308. //
  309. // Example:
  310. //
  311. // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
  312. // info: {
  313. // title: "Echo API";
  314. // version: "1.0";
  315. // description: "";
  316. // contact: {
  317. // name: "gRPC-Gateway project";
  318. // url: "https://github.com/grpc-ecosystem/grpc-gateway";
  319. // email: "none@example.com";
  320. // };
  321. // license: {
  322. // name: "BSD 3-Clause License";
  323. // url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/main/LICENSE";
  324. // };
  325. // };
  326. // schemes: HTTPS;
  327. // consumes: "application/json";
  328. // produces: "application/json";
  329. // };
  330. //
  331. type Swagger struct {
  332. state protoimpl.MessageState
  333. sizeCache protoimpl.SizeCache
  334. unknownFields protoimpl.UnknownFields
  335. // Specifies the OpenAPI Specification version being used. It can be
  336. // used by the OpenAPI UI and other clients to interpret the API listing. The
  337. // value MUST be "2.0".
  338. Swagger string `protobuf:"bytes,1,opt,name=swagger,proto3" json:"swagger,omitempty"`
  339. // Provides metadata about the API. The metadata can be used by the
  340. // clients if needed.
  341. Info *Info `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
  342. // The host (name or ip) serving the API. This MUST be the host only and does
  343. // not include the scheme nor sub-paths. It MAY include a port. If the host is
  344. // not included, the host serving the documentation is to be used (including
  345. // the port). The host does not support path templating.
  346. Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
  347. // The base path on which the API is served, which is relative to the host. If
  348. // it is not included, the API is served directly under the host. The value
  349. // MUST start with a leading slash (/). The basePath does not support path
  350. // templating.
  351. // Note that using `base_path` does not change the endpoint paths that are
  352. // generated in the resulting OpenAPI file. If you wish to use `base_path`
  353. // with relatively generated OpenAPI paths, the `base_path` prefix must be
  354. // manually removed from your `google.api.http` paths and your code changed to
  355. // serve the API from the `base_path`.
  356. BasePath string `protobuf:"bytes,4,opt,name=base_path,json=basePath,proto3" json:"base_path,omitempty"`
  357. // The transfer protocol of the API. Values MUST be from the list: "http",
  358. // "https", "ws", "wss". If the schemes is not included, the default scheme to
  359. // be used is the one used to access the OpenAPI definition itself.
  360. Schemes []Scheme `protobuf:"varint,5,rep,packed,name=schemes,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.Scheme" json:"schemes,omitempty"`
  361. // A list of MIME types the APIs can consume. This is global to all APIs but
  362. // can be overridden on specific API calls. Value MUST be as described under
  363. // Mime Types.
  364. Consumes []string `protobuf:"bytes,6,rep,name=consumes,proto3" json:"consumes,omitempty"`
  365. // A list of MIME types the APIs can produce. This is global to all APIs but
  366. // can be overridden on specific API calls. Value MUST be as described under
  367. // Mime Types.
  368. Produces []string `protobuf:"bytes,7,rep,name=produces,proto3" json:"produces,omitempty"`
  369. // An object to hold responses that can be used across operations. This
  370. // property does not define global responses for all operations.
  371. Responses map[string]*Response `protobuf:"bytes,10,rep,name=responses,proto3" json:"responses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  372. // Security scheme definitions that can be used across the specification.
  373. SecurityDefinitions *SecurityDefinitions `protobuf:"bytes,11,opt,name=security_definitions,json=securityDefinitions,proto3" json:"security_definitions,omitempty"`
  374. // A declaration of which security schemes are applied for the API as a whole.
  375. // The list of values describes alternative security schemes that can be used
  376. // (that is, there is a logical OR between the security requirements).
  377. // Individual operations can override this definition.
  378. Security []*SecurityRequirement `protobuf:"bytes,12,rep,name=security,proto3" json:"security,omitempty"`
  379. // A list of tags for API documentation control. Tags can be used for logical
  380. // grouping of operations by resources or any other qualifier.
  381. Tags []*Tag `protobuf:"bytes,13,rep,name=tags,proto3" json:"tags,omitempty"`
  382. // Additional external documentation.
  383. ExternalDocs *ExternalDocumentation `protobuf:"bytes,14,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
  384. // Custom properties that start with "x-" such as "x-foo" used to describe
  385. // extra functionality that is not covered by the standard OpenAPI Specification.
  386. // See: https://swagger.io/docs/specification/2-0/swagger-extensions/
  387. Extensions map[string]*structpb.Value `protobuf:"bytes,15,rep,name=extensions,proto3" json:"extensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  388. }
  389. func (x *Swagger) Reset() {
  390. *x = Swagger{}
  391. if protoimpl.UnsafeEnabled {
  392. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[0]
  393. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  394. ms.StoreMessageInfo(mi)
  395. }
  396. }
  397. func (x *Swagger) String() string {
  398. return protoimpl.X.MessageStringOf(x)
  399. }
  400. func (*Swagger) ProtoMessage() {}
  401. func (x *Swagger) ProtoReflect() protoreflect.Message {
  402. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[0]
  403. if protoimpl.UnsafeEnabled && x != nil {
  404. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  405. if ms.LoadMessageInfo() == nil {
  406. ms.StoreMessageInfo(mi)
  407. }
  408. return ms
  409. }
  410. return mi.MessageOf(x)
  411. }
  412. // Deprecated: Use Swagger.ProtoReflect.Descriptor instead.
  413. func (*Swagger) Descriptor() ([]byte, []int) {
  414. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{0}
  415. }
  416. func (x *Swagger) GetSwagger() string {
  417. if x != nil {
  418. return x.Swagger
  419. }
  420. return ""
  421. }
  422. func (x *Swagger) GetInfo() *Info {
  423. if x != nil {
  424. return x.Info
  425. }
  426. return nil
  427. }
  428. func (x *Swagger) GetHost() string {
  429. if x != nil {
  430. return x.Host
  431. }
  432. return ""
  433. }
  434. func (x *Swagger) GetBasePath() string {
  435. if x != nil {
  436. return x.BasePath
  437. }
  438. return ""
  439. }
  440. func (x *Swagger) GetSchemes() []Scheme {
  441. if x != nil {
  442. return x.Schemes
  443. }
  444. return nil
  445. }
  446. func (x *Swagger) GetConsumes() []string {
  447. if x != nil {
  448. return x.Consumes
  449. }
  450. return nil
  451. }
  452. func (x *Swagger) GetProduces() []string {
  453. if x != nil {
  454. return x.Produces
  455. }
  456. return nil
  457. }
  458. func (x *Swagger) GetResponses() map[string]*Response {
  459. if x != nil {
  460. return x.Responses
  461. }
  462. return nil
  463. }
  464. func (x *Swagger) GetSecurityDefinitions() *SecurityDefinitions {
  465. if x != nil {
  466. return x.SecurityDefinitions
  467. }
  468. return nil
  469. }
  470. func (x *Swagger) GetSecurity() []*SecurityRequirement {
  471. if x != nil {
  472. return x.Security
  473. }
  474. return nil
  475. }
  476. func (x *Swagger) GetTags() []*Tag {
  477. if x != nil {
  478. return x.Tags
  479. }
  480. return nil
  481. }
  482. func (x *Swagger) GetExternalDocs() *ExternalDocumentation {
  483. if x != nil {
  484. return x.ExternalDocs
  485. }
  486. return nil
  487. }
  488. func (x *Swagger) GetExtensions() map[string]*structpb.Value {
  489. if x != nil {
  490. return x.Extensions
  491. }
  492. return nil
  493. }
  494. // `Operation` is a representation of OpenAPI v2 specification's Operation object.
  495. //
  496. // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#operationObject
  497. //
  498. // Example:
  499. //
  500. // service EchoService {
  501. // rpc Echo(SimpleMessage) returns (SimpleMessage) {
  502. // option (google.api.http) = {
  503. // get: "/v1/example/echo/{id}"
  504. // };
  505. //
  506. // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
  507. // summary: "Get a message.";
  508. // operation_id: "getMessage";
  509. // tags: "echo";
  510. // responses: {
  511. // key: "200"
  512. // value: {
  513. // description: "OK";
  514. // }
  515. // }
  516. // };
  517. // }
  518. // }
  519. type Operation struct {
  520. state protoimpl.MessageState
  521. sizeCache protoimpl.SizeCache
  522. unknownFields protoimpl.UnknownFields
  523. // A list of tags for API documentation control. Tags can be used for logical
  524. // grouping of operations by resources or any other qualifier.
  525. Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
  526. // A short summary of what the operation does. For maximum readability in the
  527. // swagger-ui, this field SHOULD be less than 120 characters.
  528. Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
  529. // A verbose explanation of the operation behavior. GFM syntax can be used for
  530. // rich text representation.
  531. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
  532. // Additional external documentation for this operation.
  533. ExternalDocs *ExternalDocumentation `protobuf:"bytes,4,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
  534. // Unique string used to identify the operation. The id MUST be unique among
  535. // all operations described in the API. Tools and libraries MAY use the
  536. // operationId to uniquely identify an operation, therefore, it is recommended
  537. // to follow common programming naming conventions.
  538. OperationId string `protobuf:"bytes,5,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
  539. // A list of MIME types the operation can consume. This overrides the consumes
  540. // definition at the OpenAPI Object. An empty value MAY be used to clear the
  541. // global definition. Value MUST be as described under Mime Types.
  542. Consumes []string `protobuf:"bytes,6,rep,name=consumes,proto3" json:"consumes,omitempty"`
  543. // A list of MIME types the operation can produce. This overrides the produces
  544. // definition at the OpenAPI Object. An empty value MAY be used to clear the
  545. // global definition. Value MUST be as described under Mime Types.
  546. Produces []string `protobuf:"bytes,7,rep,name=produces,proto3" json:"produces,omitempty"`
  547. // The list of possible responses as they are returned from executing this
  548. // operation.
  549. Responses map[string]*Response `protobuf:"bytes,9,rep,name=responses,proto3" json:"responses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  550. // The transfer protocol for the operation. Values MUST be from the list:
  551. // "http", "https", "ws", "wss". The value overrides the OpenAPI Object
  552. // schemes definition.
  553. Schemes []Scheme `protobuf:"varint,10,rep,packed,name=schemes,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.Scheme" json:"schemes,omitempty"`
  554. // Declares this operation to be deprecated. Usage of the declared operation
  555. // should be refrained. Default value is false.
  556. Deprecated bool `protobuf:"varint,11,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
  557. // A declaration of which security schemes are applied for this operation. The
  558. // list of values describes alternative security schemes that can be used
  559. // (that is, there is a logical OR between the security requirements). This
  560. // definition overrides any declared top-level security. To remove a top-level
  561. // security declaration, an empty array can be used.
  562. Security []*SecurityRequirement `protobuf:"bytes,12,rep,name=security,proto3" json:"security,omitempty"`
  563. // Custom properties that start with "x-" such as "x-foo" used to describe
  564. // extra functionality that is not covered by the standard OpenAPI Specification.
  565. // See: https://swagger.io/docs/specification/2-0/swagger-extensions/
  566. Extensions map[string]*structpb.Value `protobuf:"bytes,13,rep,name=extensions,proto3" json:"extensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  567. // Custom parameters such as HTTP request headers.
  568. // See: https://swagger.io/docs/specification/2-0/describing-parameters/
  569. // and https://swagger.io/specification/v2/#parameter-object.
  570. Parameters *Parameters `protobuf:"bytes,14,opt,name=parameters,proto3" json:"parameters,omitempty"`
  571. }
  572. func (x *Operation) Reset() {
  573. *x = Operation{}
  574. if protoimpl.UnsafeEnabled {
  575. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[1]
  576. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  577. ms.StoreMessageInfo(mi)
  578. }
  579. }
  580. func (x *Operation) String() string {
  581. return protoimpl.X.MessageStringOf(x)
  582. }
  583. func (*Operation) ProtoMessage() {}
  584. func (x *Operation) ProtoReflect() protoreflect.Message {
  585. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[1]
  586. if protoimpl.UnsafeEnabled && x != nil {
  587. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  588. if ms.LoadMessageInfo() == nil {
  589. ms.StoreMessageInfo(mi)
  590. }
  591. return ms
  592. }
  593. return mi.MessageOf(x)
  594. }
  595. // Deprecated: Use Operation.ProtoReflect.Descriptor instead.
  596. func (*Operation) Descriptor() ([]byte, []int) {
  597. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{1}
  598. }
  599. func (x *Operation) GetTags() []string {
  600. if x != nil {
  601. return x.Tags
  602. }
  603. return nil
  604. }
  605. func (x *Operation) GetSummary() string {
  606. if x != nil {
  607. return x.Summary
  608. }
  609. return ""
  610. }
  611. func (x *Operation) GetDescription() string {
  612. if x != nil {
  613. return x.Description
  614. }
  615. return ""
  616. }
  617. func (x *Operation) GetExternalDocs() *ExternalDocumentation {
  618. if x != nil {
  619. return x.ExternalDocs
  620. }
  621. return nil
  622. }
  623. func (x *Operation) GetOperationId() string {
  624. if x != nil {
  625. return x.OperationId
  626. }
  627. return ""
  628. }
  629. func (x *Operation) GetConsumes() []string {
  630. if x != nil {
  631. return x.Consumes
  632. }
  633. return nil
  634. }
  635. func (x *Operation) GetProduces() []string {
  636. if x != nil {
  637. return x.Produces
  638. }
  639. return nil
  640. }
  641. func (x *Operation) GetResponses() map[string]*Response {
  642. if x != nil {
  643. return x.Responses
  644. }
  645. return nil
  646. }
  647. func (x *Operation) GetSchemes() []Scheme {
  648. if x != nil {
  649. return x.Schemes
  650. }
  651. return nil
  652. }
  653. func (x *Operation) GetDeprecated() bool {
  654. if x != nil {
  655. return x.Deprecated
  656. }
  657. return false
  658. }
  659. func (x *Operation) GetSecurity() []*SecurityRequirement {
  660. if x != nil {
  661. return x.Security
  662. }
  663. return nil
  664. }
  665. func (x *Operation) GetExtensions() map[string]*structpb.Value {
  666. if x != nil {
  667. return x.Extensions
  668. }
  669. return nil
  670. }
  671. func (x *Operation) GetParameters() *Parameters {
  672. if x != nil {
  673. return x.Parameters
  674. }
  675. return nil
  676. }
  677. // `Parameters` is a representation of OpenAPI v2 specification's parameters object.
  678. // Note: This technically breaks compatibility with the OpenAPI 2 definition structure as we only
  679. // allow header parameters to be set here since we do not want users specifying custom non-header
  680. // parameters beyond those inferred from the Protobuf schema.
  681. // See: https://swagger.io/specification/v2/#parameter-object
  682. type Parameters struct {
  683. state protoimpl.MessageState
  684. sizeCache protoimpl.SizeCache
  685. unknownFields protoimpl.UnknownFields
  686. // `Headers` is one or more HTTP header parameter.
  687. // See: https://swagger.io/docs/specification/2-0/describing-parameters/#header-parameters
  688. Headers []*HeaderParameter `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
  689. }
  690. func (x *Parameters) Reset() {
  691. *x = Parameters{}
  692. if protoimpl.UnsafeEnabled {
  693. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[2]
  694. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  695. ms.StoreMessageInfo(mi)
  696. }
  697. }
  698. func (x *Parameters) String() string {
  699. return protoimpl.X.MessageStringOf(x)
  700. }
  701. func (*Parameters) ProtoMessage() {}
  702. func (x *Parameters) ProtoReflect() protoreflect.Message {
  703. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[2]
  704. if protoimpl.UnsafeEnabled && x != nil {
  705. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  706. if ms.LoadMessageInfo() == nil {
  707. ms.StoreMessageInfo(mi)
  708. }
  709. return ms
  710. }
  711. return mi.MessageOf(x)
  712. }
  713. // Deprecated: Use Parameters.ProtoReflect.Descriptor instead.
  714. func (*Parameters) Descriptor() ([]byte, []int) {
  715. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{2}
  716. }
  717. func (x *Parameters) GetHeaders() []*HeaderParameter {
  718. if x != nil {
  719. return x.Headers
  720. }
  721. return nil
  722. }
  723. // `HeaderParameter` a HTTP header parameter.
  724. // See: https://swagger.io/specification/v2/#parameter-object
  725. type HeaderParameter struct {
  726. state protoimpl.MessageState
  727. sizeCache protoimpl.SizeCache
  728. unknownFields protoimpl.UnknownFields
  729. // `Name` is the header name.
  730. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  731. // `Description` is a short description of the header.
  732. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
  733. // `Type` is the type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported.
  734. // See: https://swagger.io/specification/v2/#parameterType.
  735. Type HeaderParameter_Type `protobuf:"varint,3,opt,name=type,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter_Type" json:"type,omitempty"`
  736. // `Format` The extending format for the previously mentioned type.
  737. Format string `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"`
  738. // `Required` indicates if the header is optional
  739. Required bool `protobuf:"varint,5,opt,name=required,proto3" json:"required,omitempty"`
  740. }
  741. func (x *HeaderParameter) Reset() {
  742. *x = HeaderParameter{}
  743. if protoimpl.UnsafeEnabled {
  744. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[3]
  745. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  746. ms.StoreMessageInfo(mi)
  747. }
  748. }
  749. func (x *HeaderParameter) String() string {
  750. return protoimpl.X.MessageStringOf(x)
  751. }
  752. func (*HeaderParameter) ProtoMessage() {}
  753. func (x *HeaderParameter) ProtoReflect() protoreflect.Message {
  754. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[3]
  755. if protoimpl.UnsafeEnabled && x != nil {
  756. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  757. if ms.LoadMessageInfo() == nil {
  758. ms.StoreMessageInfo(mi)
  759. }
  760. return ms
  761. }
  762. return mi.MessageOf(x)
  763. }
  764. // Deprecated: Use HeaderParameter.ProtoReflect.Descriptor instead.
  765. func (*HeaderParameter) Descriptor() ([]byte, []int) {
  766. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{3}
  767. }
  768. func (x *HeaderParameter) GetName() string {
  769. if x != nil {
  770. return x.Name
  771. }
  772. return ""
  773. }
  774. func (x *HeaderParameter) GetDescription() string {
  775. if x != nil {
  776. return x.Description
  777. }
  778. return ""
  779. }
  780. func (x *HeaderParameter) GetType() HeaderParameter_Type {
  781. if x != nil {
  782. return x.Type
  783. }
  784. return HeaderParameter_UNKNOWN
  785. }
  786. func (x *HeaderParameter) GetFormat() string {
  787. if x != nil {
  788. return x.Format
  789. }
  790. return ""
  791. }
  792. func (x *HeaderParameter) GetRequired() bool {
  793. if x != nil {
  794. return x.Required
  795. }
  796. return false
  797. }
  798. // `Header` is a representation of OpenAPI v2 specification's Header object.
  799. //
  800. // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#headerObject
  801. //
  802. type Header struct {
  803. state protoimpl.MessageState
  804. sizeCache protoimpl.SizeCache
  805. unknownFields protoimpl.UnknownFields
  806. // `Description` is a short description of the header.
  807. Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
  808. // The type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported.
  809. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
  810. // `Format` The extending format for the previously mentioned type.
  811. Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"`
  812. // `Default` Declares the value of the header that the server will use if none is provided.
  813. // See: https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-6.2.
  814. // Unlike JSON Schema this value MUST conform to the defined type for the header.
  815. Default string `protobuf:"bytes,6,opt,name=default,proto3" json:"default,omitempty"`
  816. // 'Pattern' See https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.2.3.
  817. Pattern string `protobuf:"bytes,13,opt,name=pattern,proto3" json:"pattern,omitempty"`
  818. }
  819. func (x *Header) Reset() {
  820. *x = Header{}
  821. if protoimpl.UnsafeEnabled {
  822. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[4]
  823. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  824. ms.StoreMessageInfo(mi)
  825. }
  826. }
  827. func (x *Header) String() string {
  828. return protoimpl.X.MessageStringOf(x)
  829. }
  830. func (*Header) ProtoMessage() {}
  831. func (x *Header) ProtoReflect() protoreflect.Message {
  832. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[4]
  833. if protoimpl.UnsafeEnabled && x != nil {
  834. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  835. if ms.LoadMessageInfo() == nil {
  836. ms.StoreMessageInfo(mi)
  837. }
  838. return ms
  839. }
  840. return mi.MessageOf(x)
  841. }
  842. // Deprecated: Use Header.ProtoReflect.Descriptor instead.
  843. func (*Header) Descriptor() ([]byte, []int) {
  844. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{4}
  845. }
  846. func (x *Header) GetDescription() string {
  847. if x != nil {
  848. return x.Description
  849. }
  850. return ""
  851. }
  852. func (x *Header) GetType() string {
  853. if x != nil {
  854. return x.Type
  855. }
  856. return ""
  857. }
  858. func (x *Header) GetFormat() string {
  859. if x != nil {
  860. return x.Format
  861. }
  862. return ""
  863. }
  864. func (x *Header) GetDefault() string {
  865. if x != nil {
  866. return x.Default
  867. }
  868. return ""
  869. }
  870. func (x *Header) GetPattern() string {
  871. if x != nil {
  872. return x.Pattern
  873. }
  874. return ""
  875. }
  876. // `Response` is a representation of OpenAPI v2 specification's Response object.
  877. //
  878. // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#responseObject
  879. //
  880. type Response struct {
  881. state protoimpl.MessageState
  882. sizeCache protoimpl.SizeCache
  883. unknownFields protoimpl.UnknownFields
  884. // `Description` is a short description of the response.
  885. // GFM syntax can be used for rich text representation.
  886. Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
  887. // `Schema` optionally defines the structure of the response.
  888. // If `Schema` is not provided, it means there is no content to the response.
  889. Schema *Schema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
  890. // `Headers` A list of headers that are sent with the response.
  891. // `Header` name is expected to be a string in the canonical format of the MIME header key
  892. // See: https://golang.org/pkg/net/textproto/#CanonicalMIMEHeaderKey
  893. Headers map[string]*Header `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  894. // `Examples` gives per-mimetype response examples.
  895. // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#example-object
  896. Examples map[string]string `protobuf:"bytes,4,rep,name=examples,proto3" json:"examples,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  897. // Custom properties that start with "x-" such as "x-foo" used to describe
  898. // extra functionality that is not covered by the standard OpenAPI Specification.
  899. // See: https://swagger.io/docs/specification/2-0/swagger-extensions/
  900. Extensions map[string]*structpb.Value `protobuf:"bytes,5,rep,name=extensions,proto3" json:"extensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  901. }
  902. func (x *Response) Reset() {
  903. *x = Response{}
  904. if protoimpl.UnsafeEnabled {
  905. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[5]
  906. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  907. ms.StoreMessageInfo(mi)
  908. }
  909. }
  910. func (x *Response) String() string {
  911. return protoimpl.X.MessageStringOf(x)
  912. }
  913. func (*Response) ProtoMessage() {}
  914. func (x *Response) ProtoReflect() protoreflect.Message {
  915. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[5]
  916. if protoimpl.UnsafeEnabled && x != nil {
  917. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  918. if ms.LoadMessageInfo() == nil {
  919. ms.StoreMessageInfo(mi)
  920. }
  921. return ms
  922. }
  923. return mi.MessageOf(x)
  924. }
  925. // Deprecated: Use Response.ProtoReflect.Descriptor instead.
  926. func (*Response) Descriptor() ([]byte, []int) {
  927. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{5}
  928. }
  929. func (x *Response) GetDescription() string {
  930. if x != nil {
  931. return x.Description
  932. }
  933. return ""
  934. }
  935. func (x *Response) GetSchema() *Schema {
  936. if x != nil {
  937. return x.Schema
  938. }
  939. return nil
  940. }
  941. func (x *Response) GetHeaders() map[string]*Header {
  942. if x != nil {
  943. return x.Headers
  944. }
  945. return nil
  946. }
  947. func (x *Response) GetExamples() map[string]string {
  948. if x != nil {
  949. return x.Examples
  950. }
  951. return nil
  952. }
  953. func (x *Response) GetExtensions() map[string]*structpb.Value {
  954. if x != nil {
  955. return x.Extensions
  956. }
  957. return nil
  958. }
  959. // `Info` is a representation of OpenAPI v2 specification's Info object.
  960. //
  961. // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#infoObject
  962. //
  963. // Example:
  964. //
  965. // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
  966. // info: {
  967. // title: "Echo API";
  968. // version: "1.0";
  969. // description: "";
  970. // contact: {
  971. // name: "gRPC-Gateway project";
  972. // url: "https://github.com/grpc-ecosystem/grpc-gateway";
  973. // email: "none@example.com";
  974. // };
  975. // license: {
  976. // name: "BSD 3-Clause License";
  977. // url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/main/LICENSE";
  978. // };
  979. // };
  980. // ...
  981. // };
  982. //
  983. type Info struct {
  984. state protoimpl.MessageState
  985. sizeCache protoimpl.SizeCache
  986. unknownFields protoimpl.UnknownFields
  987. // The title of the application.
  988. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
  989. // A short description of the application. GFM syntax can be used for rich
  990. // text representation.
  991. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
  992. // The Terms of Service for the API.
  993. TermsOfService string `protobuf:"bytes,3,opt,name=terms_of_service,json=termsOfService,proto3" json:"terms_of_service,omitempty"`
  994. // The contact information for the exposed API.
  995. Contact *Contact `protobuf:"bytes,4,opt,name=contact,proto3" json:"contact,omitempty"`
  996. // The license information for the exposed API.
  997. License *License `protobuf:"bytes,5,opt,name=license,proto3" json:"license,omitempty"`
  998. // Provides the version of the application API (not to be confused
  999. // with the specification version).
  1000. Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
  1001. // Custom properties that start with "x-" such as "x-foo" used to describe
  1002. // extra functionality that is not covered by the standard OpenAPI Specification.
  1003. // See: https://swagger.io/docs/specification/2-0/swagger-extensions/
  1004. Extensions map[string]*structpb.Value `protobuf:"bytes,7,rep,name=extensions,proto3" json:"extensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  1005. }
  1006. func (x *Info) Reset() {
  1007. *x = Info{}
  1008. if protoimpl.UnsafeEnabled {
  1009. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[6]
  1010. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1011. ms.StoreMessageInfo(mi)
  1012. }
  1013. }
  1014. func (x *Info) String() string {
  1015. return protoimpl.X.MessageStringOf(x)
  1016. }
  1017. func (*Info) ProtoMessage() {}
  1018. func (x *Info) ProtoReflect() protoreflect.Message {
  1019. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[6]
  1020. if protoimpl.UnsafeEnabled && x != nil {
  1021. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1022. if ms.LoadMessageInfo() == nil {
  1023. ms.StoreMessageInfo(mi)
  1024. }
  1025. return ms
  1026. }
  1027. return mi.MessageOf(x)
  1028. }
  1029. // Deprecated: Use Info.ProtoReflect.Descriptor instead.
  1030. func (*Info) Descriptor() ([]byte, []int) {
  1031. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{6}
  1032. }
  1033. func (x *Info) GetTitle() string {
  1034. if x != nil {
  1035. return x.Title
  1036. }
  1037. return ""
  1038. }
  1039. func (x *Info) GetDescription() string {
  1040. if x != nil {
  1041. return x.Description
  1042. }
  1043. return ""
  1044. }
  1045. func (x *Info) GetTermsOfService() string {
  1046. if x != nil {
  1047. return x.TermsOfService
  1048. }
  1049. return ""
  1050. }
  1051. func (x *Info) GetContact() *Contact {
  1052. if x != nil {
  1053. return x.Contact
  1054. }
  1055. return nil
  1056. }
  1057. func (x *Info) GetLicense() *License {
  1058. if x != nil {
  1059. return x.License
  1060. }
  1061. return nil
  1062. }
  1063. func (x *Info) GetVersion() string {
  1064. if x != nil {
  1065. return x.Version
  1066. }
  1067. return ""
  1068. }
  1069. func (x *Info) GetExtensions() map[string]*structpb.Value {
  1070. if x != nil {
  1071. return x.Extensions
  1072. }
  1073. return nil
  1074. }
  1075. // `Contact` is a representation of OpenAPI v2 specification's Contact object.
  1076. //
  1077. // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#contactObject
  1078. //
  1079. // Example:
  1080. //
  1081. // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
  1082. // info: {
  1083. // ...
  1084. // contact: {
  1085. // name: "gRPC-Gateway project";
  1086. // url: "https://github.com/grpc-ecosystem/grpc-gateway";
  1087. // email: "none@example.com";
  1088. // };
  1089. // ...
  1090. // };
  1091. // ...
  1092. // };
  1093. //
  1094. type Contact struct {
  1095. state protoimpl.MessageState
  1096. sizeCache protoimpl.SizeCache
  1097. unknownFields protoimpl.UnknownFields
  1098. // The identifying name of the contact person/organization.
  1099. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1100. // The URL pointing to the contact information. MUST be in the format of a
  1101. // URL.
  1102. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
  1103. // The email address of the contact person/organization. MUST be in the format
  1104. // of an email address.
  1105. Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
  1106. }
  1107. func (x *Contact) Reset() {
  1108. *x = Contact{}
  1109. if protoimpl.UnsafeEnabled {
  1110. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[7]
  1111. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1112. ms.StoreMessageInfo(mi)
  1113. }
  1114. }
  1115. func (x *Contact) String() string {
  1116. return protoimpl.X.MessageStringOf(x)
  1117. }
  1118. func (*Contact) ProtoMessage() {}
  1119. func (x *Contact) ProtoReflect() protoreflect.Message {
  1120. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[7]
  1121. if protoimpl.UnsafeEnabled && x != nil {
  1122. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1123. if ms.LoadMessageInfo() == nil {
  1124. ms.StoreMessageInfo(mi)
  1125. }
  1126. return ms
  1127. }
  1128. return mi.MessageOf(x)
  1129. }
  1130. // Deprecated: Use Contact.ProtoReflect.Descriptor instead.
  1131. func (*Contact) Descriptor() ([]byte, []int) {
  1132. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{7}
  1133. }
  1134. func (x *Contact) GetName() string {
  1135. if x != nil {
  1136. return x.Name
  1137. }
  1138. return ""
  1139. }
  1140. func (x *Contact) GetUrl() string {
  1141. if x != nil {
  1142. return x.Url
  1143. }
  1144. return ""
  1145. }
  1146. func (x *Contact) GetEmail() string {
  1147. if x != nil {
  1148. return x.Email
  1149. }
  1150. return ""
  1151. }
  1152. // `License` is a representation of OpenAPI v2 specification's License object.
  1153. //
  1154. // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#licenseObject
  1155. //
  1156. // Example:
  1157. //
  1158. // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
  1159. // info: {
  1160. // ...
  1161. // license: {
  1162. // name: "BSD 3-Clause License";
  1163. // url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/main/LICENSE";
  1164. // };
  1165. // ...
  1166. // };
  1167. // ...
  1168. // };
  1169. //
  1170. type License struct {
  1171. state protoimpl.MessageState
  1172. sizeCache protoimpl.SizeCache
  1173. unknownFields protoimpl.UnknownFields
  1174. // The license name used for the API.
  1175. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1176. // A URL to the license used for the API. MUST be in the format of a URL.
  1177. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
  1178. }
  1179. func (x *License) Reset() {
  1180. *x = License{}
  1181. if protoimpl.UnsafeEnabled {
  1182. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[8]
  1183. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1184. ms.StoreMessageInfo(mi)
  1185. }
  1186. }
  1187. func (x *License) String() string {
  1188. return protoimpl.X.MessageStringOf(x)
  1189. }
  1190. func (*License) ProtoMessage() {}
  1191. func (x *License) ProtoReflect() protoreflect.Message {
  1192. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[8]
  1193. if protoimpl.UnsafeEnabled && x != nil {
  1194. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1195. if ms.LoadMessageInfo() == nil {
  1196. ms.StoreMessageInfo(mi)
  1197. }
  1198. return ms
  1199. }
  1200. return mi.MessageOf(x)
  1201. }
  1202. // Deprecated: Use License.ProtoReflect.Descriptor instead.
  1203. func (*License) Descriptor() ([]byte, []int) {
  1204. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{8}
  1205. }
  1206. func (x *License) GetName() string {
  1207. if x != nil {
  1208. return x.Name
  1209. }
  1210. return ""
  1211. }
  1212. func (x *License) GetUrl() string {
  1213. if x != nil {
  1214. return x.Url
  1215. }
  1216. return ""
  1217. }
  1218. // `ExternalDocumentation` is a representation of OpenAPI v2 specification's
  1219. // ExternalDocumentation object.
  1220. //
  1221. // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#externalDocumentationObject
  1222. //
  1223. // Example:
  1224. //
  1225. // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
  1226. // ...
  1227. // external_docs: {
  1228. // description: "More about gRPC-Gateway";
  1229. // url: "https://github.com/grpc-ecosystem/grpc-gateway";
  1230. // }
  1231. // ...
  1232. // };
  1233. //
  1234. type ExternalDocumentation struct {
  1235. state protoimpl.MessageState
  1236. sizeCache protoimpl.SizeCache
  1237. unknownFields protoimpl.UnknownFields
  1238. // A short description of the target documentation. GFM syntax can be used for
  1239. // rich text representation.
  1240. Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
  1241. // The URL for the target documentation. Value MUST be in the format
  1242. // of a URL.
  1243. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
  1244. }
  1245. func (x *ExternalDocumentation) Reset() {
  1246. *x = ExternalDocumentation{}
  1247. if protoimpl.UnsafeEnabled {
  1248. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[9]
  1249. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1250. ms.StoreMessageInfo(mi)
  1251. }
  1252. }
  1253. func (x *ExternalDocumentation) String() string {
  1254. return protoimpl.X.MessageStringOf(x)
  1255. }
  1256. func (*ExternalDocumentation) ProtoMessage() {}
  1257. func (x *ExternalDocumentation) ProtoReflect() protoreflect.Message {
  1258. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[9]
  1259. if protoimpl.UnsafeEnabled && x != nil {
  1260. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1261. if ms.LoadMessageInfo() == nil {
  1262. ms.StoreMessageInfo(mi)
  1263. }
  1264. return ms
  1265. }
  1266. return mi.MessageOf(x)
  1267. }
  1268. // Deprecated: Use ExternalDocumentation.ProtoReflect.Descriptor instead.
  1269. func (*ExternalDocumentation) Descriptor() ([]byte, []int) {
  1270. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{9}
  1271. }
  1272. func (x *ExternalDocumentation) GetDescription() string {
  1273. if x != nil {
  1274. return x.Description
  1275. }
  1276. return ""
  1277. }
  1278. func (x *ExternalDocumentation) GetUrl() string {
  1279. if x != nil {
  1280. return x.Url
  1281. }
  1282. return ""
  1283. }
  1284. // `Schema` is a representation of OpenAPI v2 specification's Schema object.
  1285. //
  1286. // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject
  1287. //
  1288. type Schema struct {
  1289. state protoimpl.MessageState
  1290. sizeCache protoimpl.SizeCache
  1291. unknownFields protoimpl.UnknownFields
  1292. JsonSchema *JSONSchema `protobuf:"bytes,1,opt,name=json_schema,json=jsonSchema,proto3" json:"json_schema,omitempty"`
  1293. // Adds support for polymorphism. The discriminator is the schema property
  1294. // name that is used to differentiate between other schema that inherit this
  1295. // schema. The property name used MUST be defined at this schema and it MUST
  1296. // be in the required property list. When used, the value MUST be the name of
  1297. // this schema or any schema that inherits it.
  1298. Discriminator string `protobuf:"bytes,2,opt,name=discriminator,proto3" json:"discriminator,omitempty"`
  1299. // Relevant only for Schema "properties" definitions. Declares the property as
  1300. // "read only". This means that it MAY be sent as part of a response but MUST
  1301. // NOT be sent as part of the request. Properties marked as readOnly being
  1302. // true SHOULD NOT be in the required list of the defined schema. Default
  1303. // value is false.
  1304. ReadOnly bool `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
  1305. // Additional external documentation for this schema.
  1306. ExternalDocs *ExternalDocumentation `protobuf:"bytes,5,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
  1307. // A free-form property to include an example of an instance for this schema in JSON.
  1308. // This is copied verbatim to the output.
  1309. Example string `protobuf:"bytes,6,opt,name=example,proto3" json:"example,omitempty"`
  1310. }
  1311. func (x *Schema) Reset() {
  1312. *x = Schema{}
  1313. if protoimpl.UnsafeEnabled {
  1314. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[10]
  1315. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1316. ms.StoreMessageInfo(mi)
  1317. }
  1318. }
  1319. func (x *Schema) String() string {
  1320. return protoimpl.X.MessageStringOf(x)
  1321. }
  1322. func (*Schema) ProtoMessage() {}
  1323. func (x *Schema) ProtoReflect() protoreflect.Message {
  1324. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[10]
  1325. if protoimpl.UnsafeEnabled && x != nil {
  1326. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1327. if ms.LoadMessageInfo() == nil {
  1328. ms.StoreMessageInfo(mi)
  1329. }
  1330. return ms
  1331. }
  1332. return mi.MessageOf(x)
  1333. }
  1334. // Deprecated: Use Schema.ProtoReflect.Descriptor instead.
  1335. func (*Schema) Descriptor() ([]byte, []int) {
  1336. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{10}
  1337. }
  1338. func (x *Schema) GetJsonSchema() *JSONSchema {
  1339. if x != nil {
  1340. return x.JsonSchema
  1341. }
  1342. return nil
  1343. }
  1344. func (x *Schema) GetDiscriminator() string {
  1345. if x != nil {
  1346. return x.Discriminator
  1347. }
  1348. return ""
  1349. }
  1350. func (x *Schema) GetReadOnly() bool {
  1351. if x != nil {
  1352. return x.ReadOnly
  1353. }
  1354. return false
  1355. }
  1356. func (x *Schema) GetExternalDocs() *ExternalDocumentation {
  1357. if x != nil {
  1358. return x.ExternalDocs
  1359. }
  1360. return nil
  1361. }
  1362. func (x *Schema) GetExample() string {
  1363. if x != nil {
  1364. return x.Example
  1365. }
  1366. return ""
  1367. }
  1368. // `JSONSchema` represents properties from JSON Schema taken, and as used, in
  1369. // the OpenAPI v2 spec.
  1370. //
  1371. // This includes changes made by OpenAPI v2.
  1372. //
  1373. // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject
  1374. //
  1375. // See also: https://cswr.github.io/JsonSchema/spec/basic_types/,
  1376. // https://github.com/json-schema-org/json-schema-spec/blob/master/schema.json
  1377. //
  1378. // Example:
  1379. //
  1380. // message SimpleMessage {
  1381. // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
  1382. // json_schema: {
  1383. // title: "SimpleMessage"
  1384. // description: "A simple message."
  1385. // required: ["id"]
  1386. // }
  1387. // };
  1388. //
  1389. // // Id represents the message identifier.
  1390. // string id = 1; [
  1391. // (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  1392. // description: "The unique identifier of the simple message."
  1393. // }];
  1394. // }
  1395. //
  1396. type JSONSchema struct {
  1397. state protoimpl.MessageState
  1398. sizeCache protoimpl.SizeCache
  1399. unknownFields protoimpl.UnknownFields
  1400. // Ref is used to define an external reference to include in the message.
  1401. // This could be a fully qualified proto message reference, and that type must
  1402. // be imported into the protofile. If no message is identified, the Ref will
  1403. // be used verbatim in the output.
  1404. // For example:
  1405. // `ref: ".google.protobuf.Timestamp"`.
  1406. Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
  1407. // The title of the schema.
  1408. Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
  1409. // A short description of the schema.
  1410. Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
  1411. Default string `protobuf:"bytes,7,opt,name=default,proto3" json:"default,omitempty"`
  1412. ReadOnly bool `protobuf:"varint,8,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
  1413. // A free-form property to include a JSON example of this field. This is copied
  1414. // verbatim to the output swagger.json. Quotes must be escaped.
  1415. // This property is the same for 2.0 and 3.0.0 https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/3.0.0.md#schemaObject https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject
  1416. Example string `protobuf:"bytes,9,opt,name=example,proto3" json:"example,omitempty"`
  1417. MultipleOf float64 `protobuf:"fixed64,10,opt,name=multiple_of,json=multipleOf,proto3" json:"multiple_of,omitempty"`
  1418. // Maximum represents an inclusive upper limit for a numeric instance. The
  1419. // value of MUST be a number,
  1420. Maximum float64 `protobuf:"fixed64,11,opt,name=maximum,proto3" json:"maximum,omitempty"`
  1421. ExclusiveMaximum bool `protobuf:"varint,12,opt,name=exclusive_maximum,json=exclusiveMaximum,proto3" json:"exclusive_maximum,omitempty"`
  1422. // minimum represents an inclusive lower limit for a numeric instance. The
  1423. // value of MUST be a number,
  1424. Minimum float64 `protobuf:"fixed64,13,opt,name=minimum,proto3" json:"minimum,omitempty"`
  1425. ExclusiveMinimum bool `protobuf:"varint,14,opt,name=exclusive_minimum,json=exclusiveMinimum,proto3" json:"exclusive_minimum,omitempty"`
  1426. MaxLength uint64 `protobuf:"varint,15,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"`
  1427. MinLength uint64 `protobuf:"varint,16,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"`
  1428. Pattern string `protobuf:"bytes,17,opt,name=pattern,proto3" json:"pattern,omitempty"`
  1429. MaxItems uint64 `protobuf:"varint,20,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"`
  1430. MinItems uint64 `protobuf:"varint,21,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"`
  1431. UniqueItems bool `protobuf:"varint,22,opt,name=unique_items,json=uniqueItems,proto3" json:"unique_items,omitempty"`
  1432. MaxProperties uint64 `protobuf:"varint,24,opt,name=max_properties,json=maxProperties,proto3" json:"max_properties,omitempty"`
  1433. MinProperties uint64 `protobuf:"varint,25,opt,name=min_properties,json=minProperties,proto3" json:"min_properties,omitempty"`
  1434. Required []string `protobuf:"bytes,26,rep,name=required,proto3" json:"required,omitempty"`
  1435. // Items in 'array' must be unique.
  1436. Array []string `protobuf:"bytes,34,rep,name=array,proto3" json:"array,omitempty"`
  1437. Type []JSONSchema_JSONSchemaSimpleTypes `protobuf:"varint,35,rep,packed,name=type,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.JSONSchema_JSONSchemaSimpleTypes" json:"type,omitempty"`
  1438. // `Format`
  1439. Format string `protobuf:"bytes,36,opt,name=format,proto3" json:"format,omitempty"`
  1440. // Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
  1441. Enum []string `protobuf:"bytes,46,rep,name=enum,proto3" json:"enum,omitempty"`
  1442. // Additional field level properties used when generating the OpenAPI v2 file.
  1443. FieldConfiguration *JSONSchema_FieldConfiguration `protobuf:"bytes,1001,opt,name=field_configuration,json=fieldConfiguration,proto3" json:"field_configuration,omitempty"`
  1444. // Custom properties that start with "x-" such as "x-foo" used to describe
  1445. // extra functionality that is not covered by the standard OpenAPI Specification.
  1446. // See: https://swagger.io/docs/specification/2-0/swagger-extensions/
  1447. Extensions map[string]*structpb.Value `protobuf:"bytes,48,rep,name=extensions,proto3" json:"extensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  1448. }
  1449. func (x *JSONSchema) Reset() {
  1450. *x = JSONSchema{}
  1451. if protoimpl.UnsafeEnabled {
  1452. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[11]
  1453. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1454. ms.StoreMessageInfo(mi)
  1455. }
  1456. }
  1457. func (x *JSONSchema) String() string {
  1458. return protoimpl.X.MessageStringOf(x)
  1459. }
  1460. func (*JSONSchema) ProtoMessage() {}
  1461. func (x *JSONSchema) ProtoReflect() protoreflect.Message {
  1462. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[11]
  1463. if protoimpl.UnsafeEnabled && x != nil {
  1464. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1465. if ms.LoadMessageInfo() == nil {
  1466. ms.StoreMessageInfo(mi)
  1467. }
  1468. return ms
  1469. }
  1470. return mi.MessageOf(x)
  1471. }
  1472. // Deprecated: Use JSONSchema.ProtoReflect.Descriptor instead.
  1473. func (*JSONSchema) Descriptor() ([]byte, []int) {
  1474. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{11}
  1475. }
  1476. func (x *JSONSchema) GetRef() string {
  1477. if x != nil {
  1478. return x.Ref
  1479. }
  1480. return ""
  1481. }
  1482. func (x *JSONSchema) GetTitle() string {
  1483. if x != nil {
  1484. return x.Title
  1485. }
  1486. return ""
  1487. }
  1488. func (x *JSONSchema) GetDescription() string {
  1489. if x != nil {
  1490. return x.Description
  1491. }
  1492. return ""
  1493. }
  1494. func (x *JSONSchema) GetDefault() string {
  1495. if x != nil {
  1496. return x.Default
  1497. }
  1498. return ""
  1499. }
  1500. func (x *JSONSchema) GetReadOnly() bool {
  1501. if x != nil {
  1502. return x.ReadOnly
  1503. }
  1504. return false
  1505. }
  1506. func (x *JSONSchema) GetExample() string {
  1507. if x != nil {
  1508. return x.Example
  1509. }
  1510. return ""
  1511. }
  1512. func (x *JSONSchema) GetMultipleOf() float64 {
  1513. if x != nil {
  1514. return x.MultipleOf
  1515. }
  1516. return 0
  1517. }
  1518. func (x *JSONSchema) GetMaximum() float64 {
  1519. if x != nil {
  1520. return x.Maximum
  1521. }
  1522. return 0
  1523. }
  1524. func (x *JSONSchema) GetExclusiveMaximum() bool {
  1525. if x != nil {
  1526. return x.ExclusiveMaximum
  1527. }
  1528. return false
  1529. }
  1530. func (x *JSONSchema) GetMinimum() float64 {
  1531. if x != nil {
  1532. return x.Minimum
  1533. }
  1534. return 0
  1535. }
  1536. func (x *JSONSchema) GetExclusiveMinimum() bool {
  1537. if x != nil {
  1538. return x.ExclusiveMinimum
  1539. }
  1540. return false
  1541. }
  1542. func (x *JSONSchema) GetMaxLength() uint64 {
  1543. if x != nil {
  1544. return x.MaxLength
  1545. }
  1546. return 0
  1547. }
  1548. func (x *JSONSchema) GetMinLength() uint64 {
  1549. if x != nil {
  1550. return x.MinLength
  1551. }
  1552. return 0
  1553. }
  1554. func (x *JSONSchema) GetPattern() string {
  1555. if x != nil {
  1556. return x.Pattern
  1557. }
  1558. return ""
  1559. }
  1560. func (x *JSONSchema) GetMaxItems() uint64 {
  1561. if x != nil {
  1562. return x.MaxItems
  1563. }
  1564. return 0
  1565. }
  1566. func (x *JSONSchema) GetMinItems() uint64 {
  1567. if x != nil {
  1568. return x.MinItems
  1569. }
  1570. return 0
  1571. }
  1572. func (x *JSONSchema) GetUniqueItems() bool {
  1573. if x != nil {
  1574. return x.UniqueItems
  1575. }
  1576. return false
  1577. }
  1578. func (x *JSONSchema) GetMaxProperties() uint64 {
  1579. if x != nil {
  1580. return x.MaxProperties
  1581. }
  1582. return 0
  1583. }
  1584. func (x *JSONSchema) GetMinProperties() uint64 {
  1585. if x != nil {
  1586. return x.MinProperties
  1587. }
  1588. return 0
  1589. }
  1590. func (x *JSONSchema) GetRequired() []string {
  1591. if x != nil {
  1592. return x.Required
  1593. }
  1594. return nil
  1595. }
  1596. func (x *JSONSchema) GetArray() []string {
  1597. if x != nil {
  1598. return x.Array
  1599. }
  1600. return nil
  1601. }
  1602. func (x *JSONSchema) GetType() []JSONSchema_JSONSchemaSimpleTypes {
  1603. if x != nil {
  1604. return x.Type
  1605. }
  1606. return nil
  1607. }
  1608. func (x *JSONSchema) GetFormat() string {
  1609. if x != nil {
  1610. return x.Format
  1611. }
  1612. return ""
  1613. }
  1614. func (x *JSONSchema) GetEnum() []string {
  1615. if x != nil {
  1616. return x.Enum
  1617. }
  1618. return nil
  1619. }
  1620. func (x *JSONSchema) GetFieldConfiguration() *JSONSchema_FieldConfiguration {
  1621. if x != nil {
  1622. return x.FieldConfiguration
  1623. }
  1624. return nil
  1625. }
  1626. func (x *JSONSchema) GetExtensions() map[string]*structpb.Value {
  1627. if x != nil {
  1628. return x.Extensions
  1629. }
  1630. return nil
  1631. }
  1632. // `Tag` is a representation of OpenAPI v2 specification's Tag object.
  1633. //
  1634. // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#tagObject
  1635. //
  1636. type Tag struct {
  1637. state protoimpl.MessageState
  1638. sizeCache protoimpl.SizeCache
  1639. unknownFields protoimpl.UnknownFields
  1640. // The name of the tag. Use it to allow override of the name of a
  1641. // global Tag object, then use that name to reference the tag throughout the
  1642. // OpenAPI file.
  1643. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1644. // A short description for the tag. GFM syntax can be used for rich text
  1645. // representation.
  1646. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
  1647. // Additional external documentation for this tag.
  1648. ExternalDocs *ExternalDocumentation `protobuf:"bytes,3,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
  1649. // Custom properties that start with "x-" such as "x-foo" used to describe
  1650. // extra functionality that is not covered by the standard OpenAPI Specification.
  1651. // See: https://swagger.io/docs/specification/2-0/swagger-extensions/
  1652. Extensions map[string]*structpb.Value `protobuf:"bytes,4,rep,name=extensions,proto3" json:"extensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  1653. }
  1654. func (x *Tag) Reset() {
  1655. *x = Tag{}
  1656. if protoimpl.UnsafeEnabled {
  1657. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[12]
  1658. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1659. ms.StoreMessageInfo(mi)
  1660. }
  1661. }
  1662. func (x *Tag) String() string {
  1663. return protoimpl.X.MessageStringOf(x)
  1664. }
  1665. func (*Tag) ProtoMessage() {}
  1666. func (x *Tag) ProtoReflect() protoreflect.Message {
  1667. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[12]
  1668. if protoimpl.UnsafeEnabled && x != nil {
  1669. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1670. if ms.LoadMessageInfo() == nil {
  1671. ms.StoreMessageInfo(mi)
  1672. }
  1673. return ms
  1674. }
  1675. return mi.MessageOf(x)
  1676. }
  1677. // Deprecated: Use Tag.ProtoReflect.Descriptor instead.
  1678. func (*Tag) Descriptor() ([]byte, []int) {
  1679. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{12}
  1680. }
  1681. func (x *Tag) GetName() string {
  1682. if x != nil {
  1683. return x.Name
  1684. }
  1685. return ""
  1686. }
  1687. func (x *Tag) GetDescription() string {
  1688. if x != nil {
  1689. return x.Description
  1690. }
  1691. return ""
  1692. }
  1693. func (x *Tag) GetExternalDocs() *ExternalDocumentation {
  1694. if x != nil {
  1695. return x.ExternalDocs
  1696. }
  1697. return nil
  1698. }
  1699. func (x *Tag) GetExtensions() map[string]*structpb.Value {
  1700. if x != nil {
  1701. return x.Extensions
  1702. }
  1703. return nil
  1704. }
  1705. // `SecurityDefinitions` is a representation of OpenAPI v2 specification's
  1706. // Security Definitions object.
  1707. //
  1708. // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securityDefinitionsObject
  1709. //
  1710. // A declaration of the security schemes available to be used in the
  1711. // specification. This does not enforce the security schemes on the operations
  1712. // and only serves to provide the relevant details for each scheme.
  1713. type SecurityDefinitions struct {
  1714. state protoimpl.MessageState
  1715. sizeCache protoimpl.SizeCache
  1716. unknownFields protoimpl.UnknownFields
  1717. // A single security scheme definition, mapping a "name" to the scheme it
  1718. // defines.
  1719. Security map[string]*SecurityScheme `protobuf:"bytes,1,rep,name=security,proto3" json:"security,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  1720. }
  1721. func (x *SecurityDefinitions) Reset() {
  1722. *x = SecurityDefinitions{}
  1723. if protoimpl.UnsafeEnabled {
  1724. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[13]
  1725. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1726. ms.StoreMessageInfo(mi)
  1727. }
  1728. }
  1729. func (x *SecurityDefinitions) String() string {
  1730. return protoimpl.X.MessageStringOf(x)
  1731. }
  1732. func (*SecurityDefinitions) ProtoMessage() {}
  1733. func (x *SecurityDefinitions) ProtoReflect() protoreflect.Message {
  1734. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[13]
  1735. if protoimpl.UnsafeEnabled && x != nil {
  1736. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1737. if ms.LoadMessageInfo() == nil {
  1738. ms.StoreMessageInfo(mi)
  1739. }
  1740. return ms
  1741. }
  1742. return mi.MessageOf(x)
  1743. }
  1744. // Deprecated: Use SecurityDefinitions.ProtoReflect.Descriptor instead.
  1745. func (*SecurityDefinitions) Descriptor() ([]byte, []int) {
  1746. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{13}
  1747. }
  1748. func (x *SecurityDefinitions) GetSecurity() map[string]*SecurityScheme {
  1749. if x != nil {
  1750. return x.Security
  1751. }
  1752. return nil
  1753. }
  1754. // `SecurityScheme` is a representation of OpenAPI v2 specification's
  1755. // Security Scheme object.
  1756. //
  1757. // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securitySchemeObject
  1758. //
  1759. // Allows the definition of a security scheme that can be used by the
  1760. // operations. Supported schemes are basic authentication, an API key (either as
  1761. // a header or as a query parameter) and OAuth2's common flows (implicit,
  1762. // password, application and access code).
  1763. type SecurityScheme struct {
  1764. state protoimpl.MessageState
  1765. sizeCache protoimpl.SizeCache
  1766. unknownFields protoimpl.UnknownFields
  1767. // The type of the security scheme. Valid values are "basic",
  1768. // "apiKey" or "oauth2".
  1769. Type SecurityScheme_Type `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme_Type" json:"type,omitempty"`
  1770. // A short description for security scheme.
  1771. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
  1772. // The name of the header or query parameter to be used.
  1773. // Valid for apiKey.
  1774. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  1775. // The location of the API key. Valid values are "query" or
  1776. // "header".
  1777. // Valid for apiKey.
  1778. In SecurityScheme_In `protobuf:"varint,4,opt,name=in,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme_In" json:"in,omitempty"`
  1779. // The flow used by the OAuth2 security scheme. Valid values are
  1780. // "implicit", "password", "application" or "accessCode".
  1781. // Valid for oauth2.
  1782. Flow SecurityScheme_Flow `protobuf:"varint,5,opt,name=flow,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme_Flow" json:"flow,omitempty"`
  1783. // The authorization URL to be used for this flow. This SHOULD be in
  1784. // the form of a URL.
  1785. // Valid for oauth2/implicit and oauth2/accessCode.
  1786. AuthorizationUrl string `protobuf:"bytes,6,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"`
  1787. // The token URL to be used for this flow. This SHOULD be in the
  1788. // form of a URL.
  1789. // Valid for oauth2/password, oauth2/application and oauth2/accessCode.
  1790. TokenUrl string `protobuf:"bytes,7,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
  1791. // The available scopes for the OAuth2 security scheme.
  1792. // Valid for oauth2.
  1793. Scopes *Scopes `protobuf:"bytes,8,opt,name=scopes,proto3" json:"scopes,omitempty"`
  1794. // Custom properties that start with "x-" such as "x-foo" used to describe
  1795. // extra functionality that is not covered by the standard OpenAPI Specification.
  1796. // See: https://swagger.io/docs/specification/2-0/swagger-extensions/
  1797. Extensions map[string]*structpb.Value `protobuf:"bytes,9,rep,name=extensions,proto3" json:"extensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  1798. }
  1799. func (x *SecurityScheme) Reset() {
  1800. *x = SecurityScheme{}
  1801. if protoimpl.UnsafeEnabled {
  1802. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[14]
  1803. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1804. ms.StoreMessageInfo(mi)
  1805. }
  1806. }
  1807. func (x *SecurityScheme) String() string {
  1808. return protoimpl.X.MessageStringOf(x)
  1809. }
  1810. func (*SecurityScheme) ProtoMessage() {}
  1811. func (x *SecurityScheme) ProtoReflect() protoreflect.Message {
  1812. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[14]
  1813. if protoimpl.UnsafeEnabled && x != nil {
  1814. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1815. if ms.LoadMessageInfo() == nil {
  1816. ms.StoreMessageInfo(mi)
  1817. }
  1818. return ms
  1819. }
  1820. return mi.MessageOf(x)
  1821. }
  1822. // Deprecated: Use SecurityScheme.ProtoReflect.Descriptor instead.
  1823. func (*SecurityScheme) Descriptor() ([]byte, []int) {
  1824. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{14}
  1825. }
  1826. func (x *SecurityScheme) GetType() SecurityScheme_Type {
  1827. if x != nil {
  1828. return x.Type
  1829. }
  1830. return SecurityScheme_TYPE_INVALID
  1831. }
  1832. func (x *SecurityScheme) GetDescription() string {
  1833. if x != nil {
  1834. return x.Description
  1835. }
  1836. return ""
  1837. }
  1838. func (x *SecurityScheme) GetName() string {
  1839. if x != nil {
  1840. return x.Name
  1841. }
  1842. return ""
  1843. }
  1844. func (x *SecurityScheme) GetIn() SecurityScheme_In {
  1845. if x != nil {
  1846. return x.In
  1847. }
  1848. return SecurityScheme_IN_INVALID
  1849. }
  1850. func (x *SecurityScheme) GetFlow() SecurityScheme_Flow {
  1851. if x != nil {
  1852. return x.Flow
  1853. }
  1854. return SecurityScheme_FLOW_INVALID
  1855. }
  1856. func (x *SecurityScheme) GetAuthorizationUrl() string {
  1857. if x != nil {
  1858. return x.AuthorizationUrl
  1859. }
  1860. return ""
  1861. }
  1862. func (x *SecurityScheme) GetTokenUrl() string {
  1863. if x != nil {
  1864. return x.TokenUrl
  1865. }
  1866. return ""
  1867. }
  1868. func (x *SecurityScheme) GetScopes() *Scopes {
  1869. if x != nil {
  1870. return x.Scopes
  1871. }
  1872. return nil
  1873. }
  1874. func (x *SecurityScheme) GetExtensions() map[string]*structpb.Value {
  1875. if x != nil {
  1876. return x.Extensions
  1877. }
  1878. return nil
  1879. }
  1880. // `SecurityRequirement` is a representation of OpenAPI v2 specification's
  1881. // Security Requirement object.
  1882. //
  1883. // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securityRequirementObject
  1884. //
  1885. // Lists the required security schemes to execute this operation. The object can
  1886. // have multiple security schemes declared in it which are all required (that
  1887. // is, there is a logical AND between the schemes).
  1888. //
  1889. // The name used for each property MUST correspond to a security scheme
  1890. // declared in the Security Definitions.
  1891. type SecurityRequirement struct {
  1892. state protoimpl.MessageState
  1893. sizeCache protoimpl.SizeCache
  1894. unknownFields protoimpl.UnknownFields
  1895. // Each name must correspond to a security scheme which is declared in
  1896. // the Security Definitions. If the security scheme is of type "oauth2",
  1897. // then the value is a list of scope names required for the execution.
  1898. // For other security scheme types, the array MUST be empty.
  1899. SecurityRequirement map[string]*SecurityRequirement_SecurityRequirementValue `protobuf:"bytes,1,rep,name=security_requirement,json=securityRequirement,proto3" json:"security_requirement,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  1900. }
  1901. func (x *SecurityRequirement) Reset() {
  1902. *x = SecurityRequirement{}
  1903. if protoimpl.UnsafeEnabled {
  1904. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[15]
  1905. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1906. ms.StoreMessageInfo(mi)
  1907. }
  1908. }
  1909. func (x *SecurityRequirement) String() string {
  1910. return protoimpl.X.MessageStringOf(x)
  1911. }
  1912. func (*SecurityRequirement) ProtoMessage() {}
  1913. func (x *SecurityRequirement) ProtoReflect() protoreflect.Message {
  1914. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[15]
  1915. if protoimpl.UnsafeEnabled && x != nil {
  1916. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1917. if ms.LoadMessageInfo() == nil {
  1918. ms.StoreMessageInfo(mi)
  1919. }
  1920. return ms
  1921. }
  1922. return mi.MessageOf(x)
  1923. }
  1924. // Deprecated: Use SecurityRequirement.ProtoReflect.Descriptor instead.
  1925. func (*SecurityRequirement) Descriptor() ([]byte, []int) {
  1926. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{15}
  1927. }
  1928. func (x *SecurityRequirement) GetSecurityRequirement() map[string]*SecurityRequirement_SecurityRequirementValue {
  1929. if x != nil {
  1930. return x.SecurityRequirement
  1931. }
  1932. return nil
  1933. }
  1934. // `Scopes` is a representation of OpenAPI v2 specification's Scopes object.
  1935. //
  1936. // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#scopesObject
  1937. //
  1938. // Lists the available scopes for an OAuth2 security scheme.
  1939. type Scopes struct {
  1940. state protoimpl.MessageState
  1941. sizeCache protoimpl.SizeCache
  1942. unknownFields protoimpl.UnknownFields
  1943. // Maps between a name of a scope to a short description of it (as the value
  1944. // of the property).
  1945. Scope map[string]string `protobuf:"bytes,1,rep,name=scope,proto3" json:"scope,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  1946. }
  1947. func (x *Scopes) Reset() {
  1948. *x = Scopes{}
  1949. if protoimpl.UnsafeEnabled {
  1950. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[16]
  1951. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1952. ms.StoreMessageInfo(mi)
  1953. }
  1954. }
  1955. func (x *Scopes) String() string {
  1956. return protoimpl.X.MessageStringOf(x)
  1957. }
  1958. func (*Scopes) ProtoMessage() {}
  1959. func (x *Scopes) ProtoReflect() protoreflect.Message {
  1960. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[16]
  1961. if protoimpl.UnsafeEnabled && x != nil {
  1962. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1963. if ms.LoadMessageInfo() == nil {
  1964. ms.StoreMessageInfo(mi)
  1965. }
  1966. return ms
  1967. }
  1968. return mi.MessageOf(x)
  1969. }
  1970. // Deprecated: Use Scopes.ProtoReflect.Descriptor instead.
  1971. func (*Scopes) Descriptor() ([]byte, []int) {
  1972. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{16}
  1973. }
  1974. func (x *Scopes) GetScope() map[string]string {
  1975. if x != nil {
  1976. return x.Scope
  1977. }
  1978. return nil
  1979. }
  1980. // 'FieldConfiguration' provides additional field level properties used when generating the OpenAPI v2 file.
  1981. // These properties are not defined by OpenAPIv2, but they are used to control the generation.
  1982. type JSONSchema_FieldConfiguration struct {
  1983. state protoimpl.MessageState
  1984. sizeCache protoimpl.SizeCache
  1985. unknownFields protoimpl.UnknownFields
  1986. // Alternative parameter name when used as path parameter. If set, this will
  1987. // be used as the complete parameter name when this field is used as a path
  1988. // parameter. Use this to avoid having auto generated path parameter names
  1989. // for overlapping paths.
  1990. PathParamName string `protobuf:"bytes,47,opt,name=path_param_name,json=pathParamName,proto3" json:"path_param_name,omitempty"`
  1991. }
  1992. func (x *JSONSchema_FieldConfiguration) Reset() {
  1993. *x = JSONSchema_FieldConfiguration{}
  1994. if protoimpl.UnsafeEnabled {
  1995. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[25]
  1996. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1997. ms.StoreMessageInfo(mi)
  1998. }
  1999. }
  2000. func (x *JSONSchema_FieldConfiguration) String() string {
  2001. return protoimpl.X.MessageStringOf(x)
  2002. }
  2003. func (*JSONSchema_FieldConfiguration) ProtoMessage() {}
  2004. func (x *JSONSchema_FieldConfiguration) ProtoReflect() protoreflect.Message {
  2005. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[25]
  2006. if protoimpl.UnsafeEnabled && x != nil {
  2007. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2008. if ms.LoadMessageInfo() == nil {
  2009. ms.StoreMessageInfo(mi)
  2010. }
  2011. return ms
  2012. }
  2013. return mi.MessageOf(x)
  2014. }
  2015. // Deprecated: Use JSONSchema_FieldConfiguration.ProtoReflect.Descriptor instead.
  2016. func (*JSONSchema_FieldConfiguration) Descriptor() ([]byte, []int) {
  2017. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{11, 0}
  2018. }
  2019. func (x *JSONSchema_FieldConfiguration) GetPathParamName() string {
  2020. if x != nil {
  2021. return x.PathParamName
  2022. }
  2023. return ""
  2024. }
  2025. // If the security scheme is of type "oauth2", then the value is a list of
  2026. // scope names required for the execution. For other security scheme types,
  2027. // the array MUST be empty.
  2028. type SecurityRequirement_SecurityRequirementValue struct {
  2029. state protoimpl.MessageState
  2030. sizeCache protoimpl.SizeCache
  2031. unknownFields protoimpl.UnknownFields
  2032. Scope []string `protobuf:"bytes,1,rep,name=scope,proto3" json:"scope,omitempty"`
  2033. }
  2034. func (x *SecurityRequirement_SecurityRequirementValue) Reset() {
  2035. *x = SecurityRequirement_SecurityRequirementValue{}
  2036. if protoimpl.UnsafeEnabled {
  2037. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[30]
  2038. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2039. ms.StoreMessageInfo(mi)
  2040. }
  2041. }
  2042. func (x *SecurityRequirement_SecurityRequirementValue) String() string {
  2043. return protoimpl.X.MessageStringOf(x)
  2044. }
  2045. func (*SecurityRequirement_SecurityRequirementValue) ProtoMessage() {}
  2046. func (x *SecurityRequirement_SecurityRequirementValue) ProtoReflect() protoreflect.Message {
  2047. mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[30]
  2048. if protoimpl.UnsafeEnabled && x != nil {
  2049. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2050. if ms.LoadMessageInfo() == nil {
  2051. ms.StoreMessageInfo(mi)
  2052. }
  2053. return ms
  2054. }
  2055. return mi.MessageOf(x)
  2056. }
  2057. // Deprecated: Use SecurityRequirement_SecurityRequirementValue.ProtoReflect.Descriptor instead.
  2058. func (*SecurityRequirement_SecurityRequirementValue) Descriptor() ([]byte, []int) {
  2059. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{15, 0}
  2060. }
  2061. func (x *SecurityRequirement_SecurityRequirementValue) GetScope() []string {
  2062. if x != nil {
  2063. return x.Scope
  2064. }
  2065. return nil
  2066. }
  2067. var File_protoc_gen_openapiv2_options_openapiv2_proto protoreflect.FileDescriptor
  2068. var file_protoc_gen_openapiv2_options_openapiv2_proto_rawDesc = []byte{
  2069. 0x0a, 0x2c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65,
  2070. 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6f,
  2071. 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x29,
  2072. 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f,
  2073. 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76,
  2074. 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  2075. 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63,
  2076. 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb3, 0x08, 0x0a, 0x07, 0x53, 0x77, 0x61, 0x67,
  2077. 0x67, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x18, 0x01,
  2078. 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x12, 0x43, 0x0a,
  2079. 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x72,
  2080. 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  2081. 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e,
  2082. 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e,
  2083. 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  2084. 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x70,
  2085. 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x73, 0x65, 0x50,
  2086. 0x61, 0x74, 0x68, 0x12, 0x4b, 0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x73, 0x18, 0x05,
  2087. 0x20, 0x03, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65,
  2088. 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f,
  2089. 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  2090. 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x52, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x73,
  2091. 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03,
  2092. 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08,
  2093. 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08,
  2094. 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x73, 0x12, 0x5f, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x70,
  2095. 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x72,
  2096. 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  2097. 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e,
  2098. 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x2e,
  2099. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09,
  2100. 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x12, 0x71, 0x0a, 0x14, 0x73, 0x65, 0x63,
  2101. 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  2102. 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67,
  2103. 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65,
  2104. 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69,
  2105. 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x44, 0x65, 0x66, 0x69,
  2106. 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x13, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
  2107. 0x79, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5a, 0x0a, 0x08,
  2108. 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e,
  2109. 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72,
  2110. 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69,
  2111. 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72,
  2112. 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08,
  2113. 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x12, 0x42, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73,
  2114. 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61,
  2115. 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e,
  2116. 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f,
  2117. 0x6e, 0x73, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x65, 0x0a, 0x0d,
  2118. 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x6f, 0x63, 0x73, 0x18, 0x0e, 0x20,
  2119. 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77,
  2120. 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70,
  2121. 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
  2122. 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
  2123. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44,
  2124. 0x6f, 0x63, 0x73, 0x12, 0x62, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
  2125. 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67,
  2126. 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65,
  2127. 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69,
  2128. 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x2e, 0x45, 0x78, 0x74, 0x65,
  2129. 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74,
  2130. 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x71, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x70, 0x6f,
  2131. 0x6e, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
  2132. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x49, 0x0a, 0x05, 0x76,
  2133. 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x72, 0x70,
  2134. 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
  2135. 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f,
  2136. 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52,
  2137. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x55, 0x0a, 0x0f, 0x45, 0x78,
  2138. 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
  2139. 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
  2140. 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
  2141. 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  2142. 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
  2143. 0x01, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x22, 0xd6, 0x07,
  2144. 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74,
  2145. 0x61, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12,
  2146. 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  2147. 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73,
  2148. 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
  2149. 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x65, 0x0a, 0x0d, 0x65,
  2150. 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x6f, 0x63, 0x73, 0x18, 0x04, 0x20, 0x01,
  2151. 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61,
  2152. 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65,
  2153. 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x45,
  2154. 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61,
  2155. 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f,
  2156. 0x63, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
  2157. 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  2158. 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65,
  2159. 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65,
  2160. 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x73, 0x18, 0x07, 0x20,
  2161. 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x73, 0x12, 0x61, 0x0a,
  2162. 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b,
  2163. 0x32, 0x43, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e,
  2164. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61,
  2165. 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x65,
  2166. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73,
  2167. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73,
  2168. 0x12, 0x4b, 0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28,
  2169. 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79,
  2170. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e,
  2171. 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x63,
  2172. 0x68, 0x65, 0x6d, 0x65, 0x52, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x73, 0x12, 0x1e, 0x0a,
  2173. 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28,
  2174. 0x08, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x5a, 0x0a,
  2175. 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32,
  2176. 0x3e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70,
  2177. 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70,
  2178. 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75,
  2179. 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52,
  2180. 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x12, 0x64, 0x0a, 0x0a, 0x65, 0x78, 0x74,
  2181. 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x44, 0x2e,
  2182. 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f,
  2183. 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76,
  2184. 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
  2185. 0x69, 0x6f, 0x6e, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e,
  2186. 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12,
  2187. 0x55, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x0e, 0x20,
  2188. 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77,
  2189. 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70,
  2190. 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
  2191. 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61,
  2192. 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x71, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  2193. 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
  2194. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x49, 0x0a, 0x05, 0x76, 0x61,
  2195. 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x72, 0x70, 0x63,
  2196. 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f,
  2197. 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70,
  2198. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05,
  2199. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x55, 0x0a, 0x0f, 0x45, 0x78, 0x74,
  2200. 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
  2201. 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c,
  2202. 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e,
  2203. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  2204. 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
  2205. 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x22, 0x62, 0x0a, 0x0a, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65,
  2206. 0x74, 0x65, 0x72, 0x73, 0x12, 0x54, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18,
  2207. 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74,
  2208. 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f,
  2209. 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
  2210. 0x73, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65,
  2211. 0x72, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x22, 0xa3, 0x02, 0x0a, 0x0f, 0x48,
  2212. 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x12,
  2213. 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  2214. 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
  2215. 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
  2216. 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01,
  2217. 0x28, 0x0e, 0x32, 0x3f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61,
  2218. 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65,
  2219. 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x48,
  2220. 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x2e, 0x54,
  2221. 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72,
  2222. 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61,
  2223. 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x05, 0x20,
  2224. 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0x45, 0x0a,
  2225. 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
  2226. 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0a,
  2227. 0x0a, 0x06, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e,
  2228. 0x54, 0x45, 0x47, 0x45, 0x52, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45,
  2229. 0x41, 0x4e, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08,
  2230. 0x22, 0xd8, 0x01, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x64,
  2231. 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  2232. 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a,
  2233. 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70,
  2234. 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
  2235. 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x66,
  2236. 0x61, 0x75, 0x6c, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61,
  2237. 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x0d,
  2238. 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x4a, 0x04, 0x08,
  2239. 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x4a,
  2240. 0x04, 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x4a, 0x04, 0x08, 0x0a, 0x10,
  2241. 0x0b, 0x4a, 0x04, 0x08, 0x0b, 0x10, 0x0c, 0x4a, 0x04, 0x08, 0x0c, 0x10, 0x0d, 0x4a, 0x04, 0x08,
  2242. 0x0e, 0x10, 0x0f, 0x4a, 0x04, 0x08, 0x0f, 0x10, 0x10, 0x4a, 0x04, 0x08, 0x10, 0x10, 0x11, 0x4a,
  2243. 0x04, 0x08, 0x11, 0x10, 0x12, 0x4a, 0x04, 0x08, 0x12, 0x10, 0x13, 0x22, 0x9a, 0x05, 0x0a, 0x08,
  2244. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63,
  2245. 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
  2246. 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x06, 0x73, 0x63,
  2247. 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x72, 0x70,
  2248. 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
  2249. 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f,
  2250. 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x06, 0x73,
  2251. 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x5a, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73,
  2252. 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61,
  2253. 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e,
  2254. 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f,
  2255. 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64,
  2256. 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
  2257. 0x73, 0x12, 0x5d, 0x0a, 0x08, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20,
  2258. 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77,
  2259. 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70,
  2260. 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
  2261. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65,
  2262. 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73,
  2263. 0x12, 0x63, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05,
  2264. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65,
  2265. 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f,
  2266. 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  2267. 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
  2268. 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e,
  2269. 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x6d, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73,
  2270. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
  2271. 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x47, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  2272. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61,
  2273. 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e,
  2274. 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f,
  2275. 0x6e, 0x73, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  2276. 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3b, 0x0a, 0x0d, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73,
  2277. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
  2278. 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  2279. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
  2280. 0x01, 0x1a, 0x55, 0x0a, 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45,
  2281. 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
  2282. 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
  2283. 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
  2284. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76,
  2285. 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd6, 0x03, 0x0a, 0x04, 0x49, 0x6e, 0x66,
  2286. 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  2287. 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
  2288. 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65,
  2289. 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x65, 0x72,
  2290. 0x6d, 0x73, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20,
  2291. 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76,
  2292. 0x69, 0x63, 0x65, 0x12, 0x4c, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x18, 0x04,
  2293. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65,
  2294. 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f,
  2295. 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  2296. 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63,
  2297. 0x74, 0x12, 0x4c, 0x0a, 0x07, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01,
  2298. 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61,
  2299. 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65,
  2300. 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4c,
  2301. 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x52, 0x07, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x12,
  2302. 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
  2303. 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x5f, 0x0a, 0x0a, 0x65, 0x78, 0x74,
  2304. 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e,
  2305. 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f,
  2306. 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76,
  2307. 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x45,
  2308. 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a,
  2309. 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x55, 0x0a, 0x0f, 0x45, 0x78,
  2310. 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
  2311. 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
  2312. 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
  2313. 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  2314. 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
  2315. 0x01, 0x22, 0x45, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04,
  2316. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  2317. 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75,
  2318. 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28,
  2319. 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x2f, 0x0a, 0x07, 0x4c, 0x69, 0x63, 0x65,
  2320. 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  2321. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02,
  2322. 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x4b, 0x0a, 0x15, 0x45, 0x78, 0x74,
  2323. 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69,
  2324. 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
  2325. 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
  2326. 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
  2327. 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0xaa, 0x02, 0x0a, 0x06, 0x53, 0x63, 0x68, 0x65, 0x6d,
  2328. 0x61, 0x12, 0x56, 0x0a, 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
  2329. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61,
  2330. 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e,
  2331. 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f,
  2332. 0x6e, 0x73, 0x2e, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x0a, 0x6a,
  2333. 0x73, 0x6f, 0x6e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x69, 0x73,
  2334. 0x63, 0x72, 0x69, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  2335. 0x52, 0x0d, 0x64, 0x69, 0x73, 0x63, 0x72, 0x69, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x12,
  2336. 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01,
  2337. 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x65, 0x0a, 0x0d,
  2338. 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x6f, 0x63, 0x73, 0x18, 0x05, 0x20,
  2339. 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77,
  2340. 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70,
  2341. 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
  2342. 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
  2343. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44,
  2344. 0x6f, 0x63, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x06,
  2345. 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x4a, 0x04, 0x08,
  2346. 0x04, 0x10, 0x05, 0x22, 0xd7, 0x0a, 0x0a, 0x0a, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63, 0x68, 0x65,
  2347. 0x6d, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  2348. 0x03, 0x72, 0x65, 0x66, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20,
  2349. 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65,
  2350. 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
  2351. 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07,
  2352. 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64,
  2353. 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f,
  2354. 0x6e, 0x6c, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f,
  2355. 0x6e, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x09,
  2356. 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x1f, 0x0a,
  2357. 0x0b, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x5f, 0x6f, 0x66, 0x18, 0x0a, 0x20, 0x01,
  2358. 0x28, 0x01, 0x52, 0x0a, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x4f, 0x66, 0x12, 0x18,
  2359. 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52,
  2360. 0x07, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x78, 0x63, 0x6c,
  2361. 0x75, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x0c, 0x20,
  2362. 0x01, 0x28, 0x08, 0x52, 0x10, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x4d, 0x61,
  2363. 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d,
  2364. 0x18, 0x0d, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x12,
  2365. 0x2b, 0x0a, 0x11, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x69, 0x6e,
  2366. 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x65, 0x78, 0x63, 0x6c,
  2367. 0x75, 0x73, 0x69, 0x76, 0x65, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a,
  2368. 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04,
  2369. 0x52, 0x09, 0x6d, 0x61, 0x78, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x6d,
  2370. 0x69, 0x6e, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x10, 0x20, 0x01, 0x28, 0x04, 0x52,
  2371. 0x09, 0x6d, 0x69, 0x6e, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61,
  2372. 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x74,
  2373. 0x74, 0x65, 0x72, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x69, 0x74, 0x65, 0x6d,
  2374. 0x73, 0x18, 0x14, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x49, 0x74, 0x65, 0x6d,
  2375. 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x15,
  2376. 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x21,
  2377. 0x0a, 0x0c, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x16,
  2378. 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x74, 0x65, 0x6d,
  2379. 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
  2380. 0x69, 0x65, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x50, 0x72,
  2381. 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x69, 0x6e, 0x5f,
  2382. 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x19, 0x20, 0x01, 0x28, 0x04,
  2383. 0x52, 0x0d, 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12,
  2384. 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x1a, 0x20, 0x03, 0x28,
  2385. 0x09, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61,
  2386. 0x72, 0x72, 0x61, 0x79, 0x18, 0x22, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x61, 0x72, 0x72, 0x61,
  2387. 0x79, 0x12, 0x5f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x23, 0x20, 0x03, 0x28, 0x0e, 0x32,
  2388. 0x4b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70,
  2389. 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70,
  2390. 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4a, 0x53, 0x4f, 0x4e,
  2391. 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63, 0x68, 0x65, 0x6d,
  2392. 0x61, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x04, 0x74, 0x79,
  2393. 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x24, 0x20, 0x01,
  2394. 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x6e,
  2395. 0x75, 0x6d, 0x18, 0x2e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x7a,
  2396. 0x0a, 0x13, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72,
  2397. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x67,
  2398. 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  2399. 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32,
  2400. 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63, 0x68,
  2401. 0x65, 0x6d, 0x61, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75,
  2402. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x6f, 0x6e,
  2403. 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x65, 0x0a, 0x0a, 0x65, 0x78,
  2404. 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x30, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45,
  2405. 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72,
  2406. 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69,
  2407. 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4a, 0x53, 0x4f, 0x4e, 0x53,
  2408. 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
  2409. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
  2410. 0x73, 0x1a, 0x3c, 0x0a, 0x12, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
  2411. 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x61, 0x74, 0x68, 0x5f,
  2412. 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x2f, 0x20, 0x01, 0x28, 0x09,
  2413. 0x52, 0x0d, 0x70, 0x61, 0x74, 0x68, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x1a,
  2414. 0x55, 0x0a, 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74,
  2415. 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  2416. 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
  2417. 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  2418. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c,
  2419. 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x77, 0x0a, 0x15, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63,
  2420. 0x68, 0x65, 0x6d, 0x61, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12,
  2421. 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05,
  2422. 0x41, 0x52, 0x52, 0x41, 0x59, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45,
  2423. 0x41, 0x4e, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x45, 0x52, 0x10,
  2424. 0x03, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x55, 0x4c, 0x4c, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x4e,
  2425. 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x42, 0x4a, 0x45, 0x43,
  2426. 0x54, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x07, 0x4a,
  2427. 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x04, 0x10,
  2428. 0x05, 0x4a, 0x04, 0x08, 0x12, 0x10, 0x13, 0x4a, 0x04, 0x08, 0x13, 0x10, 0x14, 0x4a, 0x04, 0x08,
  2429. 0x17, 0x10, 0x18, 0x4a, 0x04, 0x08, 0x1b, 0x10, 0x1c, 0x4a, 0x04, 0x08, 0x1c, 0x10, 0x1d, 0x4a,
  2430. 0x04, 0x08, 0x1d, 0x10, 0x1e, 0x4a, 0x04, 0x08, 0x1e, 0x10, 0x22, 0x4a, 0x04, 0x08, 0x25, 0x10,
  2431. 0x2a, 0x4a, 0x04, 0x08, 0x2a, 0x10, 0x2b, 0x4a, 0x04, 0x08, 0x2b, 0x10, 0x2e, 0x22, 0xd9, 0x02,
  2432. 0x0a, 0x03, 0x54, 0x61, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
  2433. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73,
  2434. 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
  2435. 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x65, 0x0a, 0x0d, 0x65,
  2436. 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x6f, 0x63, 0x73, 0x18, 0x03, 0x20, 0x01,
  2437. 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61,
  2438. 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65,
  2439. 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x45,
  2440. 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61,
  2441. 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f,
  2442. 0x63, 0x73, 0x12, 0x5e, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
  2443. 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61,
  2444. 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e,
  2445. 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f,
  2446. 0x6e, 0x73, 0x2e, 0x54, 0x61, 0x67, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
  2447. 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
  2448. 0x6e, 0x73, 0x1a, 0x55, 0x0a, 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
  2449. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
  2450. 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  2451. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  2452. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05,
  2453. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xf7, 0x01, 0x0a, 0x13, 0x53, 0x65,
  2454. 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  2455. 0x73, 0x12, 0x68, 0x0a, 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20,
  2456. 0x03, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77,
  2457. 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70,
  2458. 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
  2459. 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69,
  2460. 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72,
  2461. 0x79, 0x52, 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x1a, 0x76, 0x0a, 0x0d, 0x53,
  2462. 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
  2463. 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x4f,
  2464. 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e,
  2465. 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f,
  2466. 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76,
  2467. 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69,
  2468. 0x74, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
  2469. 0x02, 0x38, 0x01, 0x22, 0xff, 0x06, 0x0a, 0x0e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
  2470. 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x52, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
  2471. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65,
  2472. 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f,
  2473. 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  2474. 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x2e,
  2475. 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65,
  2476. 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  2477. 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04,
  2478. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  2479. 0x12, 0x4c, 0x0a, 0x02, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x67,
  2480. 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  2481. 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32,
  2482. 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
  2483. 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x2e, 0x49, 0x6e, 0x52, 0x02, 0x69, 0x6e, 0x12, 0x52,
  2484. 0x0a, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x67,
  2485. 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  2486. 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32,
  2487. 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
  2488. 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x04, 0x66, 0x6c,
  2489. 0x6f, 0x77, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74,
  2490. 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61,
  2491. 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x72, 0x6c, 0x12,
  2492. 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x07, 0x20, 0x01,
  2493. 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x72, 0x6c, 0x12, 0x49, 0x0a, 0x06,
  2494. 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67,
  2495. 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  2496. 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32,
  2497. 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52,
  2498. 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x69, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e,
  2499. 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x49, 0x2e, 0x67, 0x72,
  2500. 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  2501. 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e,
  2502. 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
  2503. 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
  2504. 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
  2505. 0x6e, 0x73, 0x1a, 0x55, 0x0a, 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
  2506. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
  2507. 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  2508. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  2509. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05,
  2510. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4b, 0x0a, 0x04, 0x54, 0x79, 0x70,
  2511. 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49,
  2512. 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x41, 0x53, 0x49,
  2513. 0x43, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x50, 0x49, 0x5f,
  2514. 0x4b, 0x45, 0x59, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x41,
  2515. 0x55, 0x54, 0x48, 0x32, 0x10, 0x03, 0x22, 0x31, 0x0a, 0x02, 0x49, 0x6e, 0x12, 0x0e, 0x0a, 0x0a,
  2516. 0x49, 0x4e, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08,
  2517. 0x49, 0x4e, 0x5f, 0x51, 0x55, 0x45, 0x52, 0x59, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x4e,
  2518. 0x5f, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x10, 0x02, 0x22, 0x6a, 0x0a, 0x04, 0x46, 0x6c, 0x6f,
  2519. 0x77, 0x12, 0x10, 0x0a, 0x0c, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49,
  2520. 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x49, 0x4d, 0x50, 0x4c,
  2521. 0x49, 0x43, 0x49, 0x54, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x50,
  2522. 0x41, 0x53, 0x53, 0x57, 0x4f, 0x52, 0x44, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x4c, 0x4f,
  2523. 0x57, 0x5f, 0x41, 0x50, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x12,
  2524. 0x14, 0x0a, 0x10, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x43,
  2525. 0x4f, 0x44, 0x45, 0x10, 0x04, 0x22, 0xf6, 0x02, 0x0a, 0x13, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69,
  2526. 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x8a, 0x01,
  2527. 0x0a, 0x14, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69,
  2528. 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x57, 0x2e, 0x67,
  2529. 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  2530. 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32,
  2531. 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
  2532. 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x63,
  2533. 0x75, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74,
  2534. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x52,
  2535. 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x1a, 0x30, 0x0a, 0x18, 0x53, 0x65,
  2536. 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e,
  2537. 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18,
  2538. 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x1a, 0x9f, 0x01, 0x0a,
  2539. 0x18, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
  2540. 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
  2541. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x6d, 0x0a, 0x05, 0x76,
  2542. 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x57, 0x2e, 0x67, 0x72, 0x70,
  2543. 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
  2544. 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f,
  2545. 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x52,
  2546. 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72,
  2547. 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61,
  2548. 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x96,
  2549. 0x01, 0x0a, 0x06, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x52, 0x0a, 0x05, 0x73, 0x63, 0x6f,
  2550. 0x70, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e,
  2551. 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67,
  2552. 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74,
  2553. 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x63, 0x6f, 0x70,
  2554. 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x1a, 0x38, 0x0a,
  2555. 0x0a, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
  2556. 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
  2557. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
  2558. 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x3b, 0x0a, 0x06, 0x53, 0x63, 0x68, 0x65, 0x6d,
  2559. 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08,
  2560. 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x48, 0x54, 0x54, 0x50,
  2561. 0x53, 0x10, 0x02, 0x12, 0x06, 0x0a, 0x02, 0x57, 0x53, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x57,
  2562. 0x53, 0x53, 0x10, 0x04, 0x42, 0xc0, 0x02, 0x0a, 0x2d, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x72, 0x70,
  2563. 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
  2564. 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f,
  2565. 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x0e, 0x4f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76,
  2566. 0x32, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
  2567. 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x73, 0x67, 0x75, 0x79, 0x64, 0x63, 0x68, 0x2f, 0x64, 0x69,
  2568. 0x6f, 0x73, 0x70, 0x72, 0x6f, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x72, 0x6f,
  2569. 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76,
  2570. 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0xa2, 0x02, 0x04, 0x47, 0x47, 0x50, 0x4f,
  2571. 0xaa, 0x02, 0x27, 0x47, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e,
  2572. 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x47, 0x65, 0x6e, 0x4f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69,
  2573. 0x76, 0x32, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0xca, 0x02, 0x27, 0x47, 0x72, 0x70,
  2574. 0x63, 0x5c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63,
  2575. 0x47, 0x65, 0x6e, 0x4f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x5c, 0x4f, 0x70, 0x74,
  2576. 0x69, 0x6f, 0x6e, 0x73, 0xe2, 0x02, 0x33, 0x47, 0x72, 0x70, 0x63, 0x5c, 0x47, 0x61, 0x74, 0x65,
  2577. 0x77, 0x61, 0x79, 0x5c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x47, 0x65, 0x6e, 0x4f, 0x70, 0x65,
  2578. 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x5c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x47,
  2579. 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x2a, 0x47, 0x72, 0x70,
  2580. 0x63, 0x3a, 0x3a, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74,
  2581. 0x6f, 0x63, 0x47, 0x65, 0x6e, 0x4f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x3a, 0x3a,
  2582. 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  2583. }
  2584. var (
  2585. file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescOnce sync.Once
  2586. file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescData = file_protoc_gen_openapiv2_options_openapiv2_proto_rawDesc
  2587. )
  2588. func file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP() []byte {
  2589. file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescOnce.Do(func() {
  2590. file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescData = protoimpl.X.CompressGZIP(file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescData)
  2591. })
  2592. return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescData
  2593. }
  2594. var file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
  2595. var file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes = make([]protoimpl.MessageInfo, 33)
  2596. var file_protoc_gen_openapiv2_options_openapiv2_proto_goTypes = []interface{}{
  2597. (Scheme)(0), // 0: grpc.gateway.protoc_gen_openapiv2.options.Scheme
  2598. (HeaderParameter_Type)(0), // 1: grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter.Type
  2599. (JSONSchema_JSONSchemaSimpleTypes)(0), // 2: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes
  2600. (SecurityScheme_Type)(0), // 3: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type
  2601. (SecurityScheme_In)(0), // 4: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In
  2602. (SecurityScheme_Flow)(0), // 5: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow
  2603. (*Swagger)(nil), // 6: grpc.gateway.protoc_gen_openapiv2.options.Swagger
  2604. (*Operation)(nil), // 7: grpc.gateway.protoc_gen_openapiv2.options.Operation
  2605. (*Parameters)(nil), // 8: grpc.gateway.protoc_gen_openapiv2.options.Parameters
  2606. (*HeaderParameter)(nil), // 9: grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter
  2607. (*Header)(nil), // 10: grpc.gateway.protoc_gen_openapiv2.options.Header
  2608. (*Response)(nil), // 11: grpc.gateway.protoc_gen_openapiv2.options.Response
  2609. (*Info)(nil), // 12: grpc.gateway.protoc_gen_openapiv2.options.Info
  2610. (*Contact)(nil), // 13: grpc.gateway.protoc_gen_openapiv2.options.Contact
  2611. (*License)(nil), // 14: grpc.gateway.protoc_gen_openapiv2.options.License
  2612. (*ExternalDocumentation)(nil), // 15: grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation
  2613. (*Schema)(nil), // 16: grpc.gateway.protoc_gen_openapiv2.options.Schema
  2614. (*JSONSchema)(nil), // 17: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema
  2615. (*Tag)(nil), // 18: grpc.gateway.protoc_gen_openapiv2.options.Tag
  2616. (*SecurityDefinitions)(nil), // 19: grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions
  2617. (*SecurityScheme)(nil), // 20: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme
  2618. (*SecurityRequirement)(nil), // 21: grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement
  2619. (*Scopes)(nil), // 22: grpc.gateway.protoc_gen_openapiv2.options.Scopes
  2620. nil, // 23: grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry
  2621. nil, // 24: grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry
  2622. nil, // 25: grpc.gateway.protoc_gen_openapiv2.options.Operation.ResponsesEntry
  2623. nil, // 26: grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry
  2624. nil, // 27: grpc.gateway.protoc_gen_openapiv2.options.Response.HeadersEntry
  2625. nil, // 28: grpc.gateway.protoc_gen_openapiv2.options.Response.ExamplesEntry
  2626. nil, // 29: grpc.gateway.protoc_gen_openapiv2.options.Response.ExtensionsEntry
  2627. nil, // 30: grpc.gateway.protoc_gen_openapiv2.options.Info.ExtensionsEntry
  2628. (*JSONSchema_FieldConfiguration)(nil), // 31: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration
  2629. nil, // 32: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ExtensionsEntry
  2630. nil, // 33: grpc.gateway.protoc_gen_openapiv2.options.Tag.ExtensionsEntry
  2631. nil, // 34: grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.SecurityEntry
  2632. nil, // 35: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.ExtensionsEntry
  2633. (*SecurityRequirement_SecurityRequirementValue)(nil), // 36: grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue
  2634. nil, // 37: grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementEntry
  2635. nil, // 38: grpc.gateway.protoc_gen_openapiv2.options.Scopes.ScopeEntry
  2636. (*structpb.Value)(nil), // 39: google.protobuf.Value
  2637. }
  2638. var file_protoc_gen_openapiv2_options_openapiv2_proto_depIdxs = []int32{
  2639. 12, // 0: grpc.gateway.protoc_gen_openapiv2.options.Swagger.info:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Info
  2640. 0, // 1: grpc.gateway.protoc_gen_openapiv2.options.Swagger.schemes:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Scheme
  2641. 23, // 2: grpc.gateway.protoc_gen_openapiv2.options.Swagger.responses:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry
  2642. 19, // 3: grpc.gateway.protoc_gen_openapiv2.options.Swagger.security_definitions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions
  2643. 21, // 4: grpc.gateway.protoc_gen_openapiv2.options.Swagger.security:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement
  2644. 18, // 5: grpc.gateway.protoc_gen_openapiv2.options.Swagger.tags:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Tag
  2645. 15, // 6: grpc.gateway.protoc_gen_openapiv2.options.Swagger.external_docs:type_name -> grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation
  2646. 24, // 7: grpc.gateway.protoc_gen_openapiv2.options.Swagger.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry
  2647. 15, // 8: grpc.gateway.protoc_gen_openapiv2.options.Operation.external_docs:type_name -> grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation
  2648. 25, // 9: grpc.gateway.protoc_gen_openapiv2.options.Operation.responses:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Operation.ResponsesEntry
  2649. 0, // 10: grpc.gateway.protoc_gen_openapiv2.options.Operation.schemes:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Scheme
  2650. 21, // 11: grpc.gateway.protoc_gen_openapiv2.options.Operation.security:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement
  2651. 26, // 12: grpc.gateway.protoc_gen_openapiv2.options.Operation.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry
  2652. 8, // 13: grpc.gateway.protoc_gen_openapiv2.options.Operation.parameters:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Parameters
  2653. 9, // 14: grpc.gateway.protoc_gen_openapiv2.options.Parameters.headers:type_name -> grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter
  2654. 1, // 15: grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter.type:type_name -> grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter.Type
  2655. 16, // 16: grpc.gateway.protoc_gen_openapiv2.options.Response.schema:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Schema
  2656. 27, // 17: grpc.gateway.protoc_gen_openapiv2.options.Response.headers:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Response.HeadersEntry
  2657. 28, // 18: grpc.gateway.protoc_gen_openapiv2.options.Response.examples:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Response.ExamplesEntry
  2658. 29, // 19: grpc.gateway.protoc_gen_openapiv2.options.Response.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Response.ExtensionsEntry
  2659. 13, // 20: grpc.gateway.protoc_gen_openapiv2.options.Info.contact:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Contact
  2660. 14, // 21: grpc.gateway.protoc_gen_openapiv2.options.Info.license:type_name -> grpc.gateway.protoc_gen_openapiv2.options.License
  2661. 30, // 22: grpc.gateway.protoc_gen_openapiv2.options.Info.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Info.ExtensionsEntry
  2662. 17, // 23: grpc.gateway.protoc_gen_openapiv2.options.Schema.json_schema:type_name -> grpc.gateway.protoc_gen_openapiv2.options.JSONSchema
  2663. 15, // 24: grpc.gateway.protoc_gen_openapiv2.options.Schema.external_docs:type_name -> grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation
  2664. 2, // 25: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.type:type_name -> grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes
  2665. 31, // 26: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.field_configuration:type_name -> grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration
  2666. 32, // 27: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ExtensionsEntry
  2667. 15, // 28: grpc.gateway.protoc_gen_openapiv2.options.Tag.external_docs:type_name -> grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation
  2668. 33, // 29: grpc.gateway.protoc_gen_openapiv2.options.Tag.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Tag.ExtensionsEntry
  2669. 34, // 30: grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.security:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.SecurityEntry
  2670. 3, // 31: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.type:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type
  2671. 4, // 32: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.in:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In
  2672. 5, // 33: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.flow:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow
  2673. 22, // 34: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.scopes:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Scopes
  2674. 35, // 35: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.ExtensionsEntry
  2675. 37, // 36: grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.security_requirement:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementEntry
  2676. 38, // 37: grpc.gateway.protoc_gen_openapiv2.options.Scopes.scope:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Scopes.ScopeEntry
  2677. 11, // 38: grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry.value:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Response
  2678. 39, // 39: grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry.value:type_name -> google.protobuf.Value
  2679. 11, // 40: grpc.gateway.protoc_gen_openapiv2.options.Operation.ResponsesEntry.value:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Response
  2680. 39, // 41: grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry.value:type_name -> google.protobuf.Value
  2681. 10, // 42: grpc.gateway.protoc_gen_openapiv2.options.Response.HeadersEntry.value:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Header
  2682. 39, // 43: grpc.gateway.protoc_gen_openapiv2.options.Response.ExtensionsEntry.value:type_name -> google.protobuf.Value
  2683. 39, // 44: grpc.gateway.protoc_gen_openapiv2.options.Info.ExtensionsEntry.value:type_name -> google.protobuf.Value
  2684. 39, // 45: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ExtensionsEntry.value:type_name -> google.protobuf.Value
  2685. 39, // 46: grpc.gateway.protoc_gen_openapiv2.options.Tag.ExtensionsEntry.value:type_name -> google.protobuf.Value
  2686. 20, // 47: grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.SecurityEntry.value:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme
  2687. 39, // 48: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.ExtensionsEntry.value:type_name -> google.protobuf.Value
  2688. 36, // 49: grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementEntry.value:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue
  2689. 50, // [50:50] is the sub-list for method output_type
  2690. 50, // [50:50] is the sub-list for method input_type
  2691. 50, // [50:50] is the sub-list for extension type_name
  2692. 50, // [50:50] is the sub-list for extension extendee
  2693. 0, // [0:50] is the sub-list for field type_name
  2694. }
  2695. func init() { file_protoc_gen_openapiv2_options_openapiv2_proto_init() }
  2696. func file_protoc_gen_openapiv2_options_openapiv2_proto_init() {
  2697. if File_protoc_gen_openapiv2_options_openapiv2_proto != nil {
  2698. return
  2699. }
  2700. if !protoimpl.UnsafeEnabled {
  2701. file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  2702. switch v := v.(*Swagger); i {
  2703. case 0:
  2704. return &v.state
  2705. case 1:
  2706. return &v.sizeCache
  2707. case 2:
  2708. return &v.unknownFields
  2709. default:
  2710. return nil
  2711. }
  2712. }
  2713. file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  2714. switch v := v.(*Operation); i {
  2715. case 0:
  2716. return &v.state
  2717. case 1:
  2718. return &v.sizeCache
  2719. case 2:
  2720. return &v.unknownFields
  2721. default:
  2722. return nil
  2723. }
  2724. }
  2725. file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  2726. switch v := v.(*Parameters); i {
  2727. case 0:
  2728. return &v.state
  2729. case 1:
  2730. return &v.sizeCache
  2731. case 2:
  2732. return &v.unknownFields
  2733. default:
  2734. return nil
  2735. }
  2736. }
  2737. file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  2738. switch v := v.(*HeaderParameter); i {
  2739. case 0:
  2740. return &v.state
  2741. case 1:
  2742. return &v.sizeCache
  2743. case 2:
  2744. return &v.unknownFields
  2745. default:
  2746. return nil
  2747. }
  2748. }
  2749. file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  2750. switch v := v.(*Header); i {
  2751. case 0:
  2752. return &v.state
  2753. case 1:
  2754. return &v.sizeCache
  2755. case 2:
  2756. return &v.unknownFields
  2757. default:
  2758. return nil
  2759. }
  2760. }
  2761. file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  2762. switch v := v.(*Response); i {
  2763. case 0:
  2764. return &v.state
  2765. case 1:
  2766. return &v.sizeCache
  2767. case 2:
  2768. return &v.unknownFields
  2769. default:
  2770. return nil
  2771. }
  2772. }
  2773. file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  2774. switch v := v.(*Info); i {
  2775. case 0:
  2776. return &v.state
  2777. case 1:
  2778. return &v.sizeCache
  2779. case 2:
  2780. return &v.unknownFields
  2781. default:
  2782. return nil
  2783. }
  2784. }
  2785. file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  2786. switch v := v.(*Contact); i {
  2787. case 0:
  2788. return &v.state
  2789. case 1:
  2790. return &v.sizeCache
  2791. case 2:
  2792. return &v.unknownFields
  2793. default:
  2794. return nil
  2795. }
  2796. }
  2797. file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  2798. switch v := v.(*License); i {
  2799. case 0:
  2800. return &v.state
  2801. case 1:
  2802. return &v.sizeCache
  2803. case 2:
  2804. return &v.unknownFields
  2805. default:
  2806. return nil
  2807. }
  2808. }
  2809. file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2810. switch v := v.(*ExternalDocumentation); i {
  2811. case 0:
  2812. return &v.state
  2813. case 1:
  2814. return &v.sizeCache
  2815. case 2:
  2816. return &v.unknownFields
  2817. default:
  2818. return nil
  2819. }
  2820. }
  2821. file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2822. switch v := v.(*Schema); i {
  2823. case 0:
  2824. return &v.state
  2825. case 1:
  2826. return &v.sizeCache
  2827. case 2:
  2828. return &v.unknownFields
  2829. default:
  2830. return nil
  2831. }
  2832. }
  2833. file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2834. switch v := v.(*JSONSchema); i {
  2835. case 0:
  2836. return &v.state
  2837. case 1:
  2838. return &v.sizeCache
  2839. case 2:
  2840. return &v.unknownFields
  2841. default:
  2842. return nil
  2843. }
  2844. }
  2845. file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2846. switch v := v.(*Tag); i {
  2847. case 0:
  2848. return &v.state
  2849. case 1:
  2850. return &v.sizeCache
  2851. case 2:
  2852. return &v.unknownFields
  2853. default:
  2854. return nil
  2855. }
  2856. }
  2857. file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2858. switch v := v.(*SecurityDefinitions); i {
  2859. case 0:
  2860. return &v.state
  2861. case 1:
  2862. return &v.sizeCache
  2863. case 2:
  2864. return &v.unknownFields
  2865. default:
  2866. return nil
  2867. }
  2868. }
  2869. file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2870. switch v := v.(*SecurityScheme); i {
  2871. case 0:
  2872. return &v.state
  2873. case 1:
  2874. return &v.sizeCache
  2875. case 2:
  2876. return &v.unknownFields
  2877. default:
  2878. return nil
  2879. }
  2880. }
  2881. file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2882. switch v := v.(*SecurityRequirement); i {
  2883. case 0:
  2884. return &v.state
  2885. case 1:
  2886. return &v.sizeCache
  2887. case 2:
  2888. return &v.unknownFields
  2889. default:
  2890. return nil
  2891. }
  2892. }
  2893. file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2894. switch v := v.(*Scopes); i {
  2895. case 0:
  2896. return &v.state
  2897. case 1:
  2898. return &v.sizeCache
  2899. case 2:
  2900. return &v.unknownFields
  2901. default:
  2902. return nil
  2903. }
  2904. }
  2905. file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  2906. switch v := v.(*JSONSchema_FieldConfiguration); i {
  2907. case 0:
  2908. return &v.state
  2909. case 1:
  2910. return &v.sizeCache
  2911. case 2:
  2912. return &v.unknownFields
  2913. default:
  2914. return nil
  2915. }
  2916. }
  2917. file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
  2918. switch v := v.(*SecurityRequirement_SecurityRequirementValue); i {
  2919. case 0:
  2920. return &v.state
  2921. case 1:
  2922. return &v.sizeCache
  2923. case 2:
  2924. return &v.unknownFields
  2925. default:
  2926. return nil
  2927. }
  2928. }
  2929. }
  2930. type x struct{}
  2931. out := protoimpl.TypeBuilder{
  2932. File: protoimpl.DescBuilder{
  2933. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2934. RawDescriptor: file_protoc_gen_openapiv2_options_openapiv2_proto_rawDesc,
  2935. NumEnums: 6,
  2936. NumMessages: 33,
  2937. NumExtensions: 0,
  2938. NumServices: 0,
  2939. },
  2940. GoTypes: file_protoc_gen_openapiv2_options_openapiv2_proto_goTypes,
  2941. DependencyIndexes: file_protoc_gen_openapiv2_options_openapiv2_proto_depIdxs,
  2942. EnumInfos: file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes,
  2943. MessageInfos: file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes,
  2944. }.Build()
  2945. File_protoc_gen_openapiv2_options_openapiv2_proto = out.File
  2946. file_protoc_gen_openapiv2_options_openapiv2_proto_rawDesc = nil
  2947. file_protoc_gen_openapiv2_options_openapiv2_proto_goTypes = nil
  2948. file_protoc_gen_openapiv2_options_openapiv2_proto_depIdxs = nil
  2949. }