openapiv2_protoopaque.pb.go 162 KB

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