12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.0
- // protoc (unknown)
- // source: protoc-gen-openapiv2/options/openapiv2.proto
- //go:build protoopaque
- package options
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- structpb "google.golang.org/protobuf/types/known/structpb"
- reflect "reflect"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- // Scheme describes the schemes supported by the OpenAPI Swagger
- // and Operation objects.
- type Scheme int32
- const (
- Scheme_UNKNOWN Scheme = 0
- Scheme_HTTP Scheme = 1
- Scheme_HTTPS Scheme = 2
- Scheme_WS Scheme = 3
- Scheme_WSS Scheme = 4
- )
- // Enum value maps for Scheme.
- var (
- Scheme_name = map[int32]string{
- 0: "UNKNOWN",
- 1: "HTTP",
- 2: "HTTPS",
- 3: "WS",
- 4: "WSS",
- }
- Scheme_value = map[string]int32{
- "UNKNOWN": 0,
- "HTTP": 1,
- "HTTPS": 2,
- "WS": 3,
- "WSS": 4,
- }
- )
- func (x Scheme) Enum() *Scheme {
- p := new(Scheme)
- *p = x
- return p
- }
- func (x Scheme) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (Scheme) Descriptor() protoreflect.EnumDescriptor {
- return file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[0].Descriptor()
- }
- func (Scheme) Type() protoreflect.EnumType {
- return &file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[0]
- }
- func (x Scheme) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // `Type` is a supported HTTP header type.
- // See https://swagger.io/specification/v2/#parameterType.
- type HeaderParameter_Type int32
- const (
- HeaderParameter_UNKNOWN HeaderParameter_Type = 0
- HeaderParameter_STRING HeaderParameter_Type = 1
- HeaderParameter_NUMBER HeaderParameter_Type = 2
- HeaderParameter_INTEGER HeaderParameter_Type = 3
- HeaderParameter_BOOLEAN HeaderParameter_Type = 4
- )
- // Enum value maps for HeaderParameter_Type.
- var (
- HeaderParameter_Type_name = map[int32]string{
- 0: "UNKNOWN",
- 1: "STRING",
- 2: "NUMBER",
- 3: "INTEGER",
- 4: "BOOLEAN",
- }
- HeaderParameter_Type_value = map[string]int32{
- "UNKNOWN": 0,
- "STRING": 1,
- "NUMBER": 2,
- "INTEGER": 3,
- "BOOLEAN": 4,
- }
- )
- func (x HeaderParameter_Type) Enum() *HeaderParameter_Type {
- p := new(HeaderParameter_Type)
- *p = x
- return p
- }
- func (x HeaderParameter_Type) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (HeaderParameter_Type) Descriptor() protoreflect.EnumDescriptor {
- return file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[1].Descriptor()
- }
- func (HeaderParameter_Type) Type() protoreflect.EnumType {
- return &file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[1]
- }
- func (x HeaderParameter_Type) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- type JSONSchema_JSONSchemaSimpleTypes int32
- const (
- JSONSchema_UNKNOWN JSONSchema_JSONSchemaSimpleTypes = 0
- JSONSchema_ARRAY JSONSchema_JSONSchemaSimpleTypes = 1
- JSONSchema_BOOLEAN JSONSchema_JSONSchemaSimpleTypes = 2
- JSONSchema_INTEGER JSONSchema_JSONSchemaSimpleTypes = 3
- JSONSchema_NULL JSONSchema_JSONSchemaSimpleTypes = 4
- JSONSchema_NUMBER JSONSchema_JSONSchemaSimpleTypes = 5
- JSONSchema_OBJECT JSONSchema_JSONSchemaSimpleTypes = 6
- JSONSchema_STRING JSONSchema_JSONSchemaSimpleTypes = 7
- )
- // Enum value maps for JSONSchema_JSONSchemaSimpleTypes.
- var (
- JSONSchema_JSONSchemaSimpleTypes_name = map[int32]string{
- 0: "UNKNOWN",
- 1: "ARRAY",
- 2: "BOOLEAN",
- 3: "INTEGER",
- 4: "NULL",
- 5: "NUMBER",
- 6: "OBJECT",
- 7: "STRING",
- }
- JSONSchema_JSONSchemaSimpleTypes_value = map[string]int32{
- "UNKNOWN": 0,
- "ARRAY": 1,
- "BOOLEAN": 2,
- "INTEGER": 3,
- "NULL": 4,
- "NUMBER": 5,
- "OBJECT": 6,
- "STRING": 7,
- }
- )
- func (x JSONSchema_JSONSchemaSimpleTypes) Enum() *JSONSchema_JSONSchemaSimpleTypes {
- p := new(JSONSchema_JSONSchemaSimpleTypes)
- *p = x
- return p
- }
- func (x JSONSchema_JSONSchemaSimpleTypes) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (JSONSchema_JSONSchemaSimpleTypes) Descriptor() protoreflect.EnumDescriptor {
- return file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[2].Descriptor()
- }
- func (JSONSchema_JSONSchemaSimpleTypes) Type() protoreflect.EnumType {
- return &file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[2]
- }
- func (x JSONSchema_JSONSchemaSimpleTypes) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // The type of the security scheme. Valid values are "basic",
- // "apiKey" or "oauth2".
- type SecurityScheme_Type int32
- const (
- SecurityScheme_TYPE_INVALID SecurityScheme_Type = 0
- SecurityScheme_TYPE_BASIC SecurityScheme_Type = 1
- SecurityScheme_TYPE_API_KEY SecurityScheme_Type = 2
- SecurityScheme_TYPE_OAUTH2 SecurityScheme_Type = 3
- )
- // Enum value maps for SecurityScheme_Type.
- var (
- SecurityScheme_Type_name = map[int32]string{
- 0: "TYPE_INVALID",
- 1: "TYPE_BASIC",
- 2: "TYPE_API_KEY",
- 3: "TYPE_OAUTH2",
- }
- SecurityScheme_Type_value = map[string]int32{
- "TYPE_INVALID": 0,
- "TYPE_BASIC": 1,
- "TYPE_API_KEY": 2,
- "TYPE_OAUTH2": 3,
- }
- )
- func (x SecurityScheme_Type) Enum() *SecurityScheme_Type {
- p := new(SecurityScheme_Type)
- *p = x
- return p
- }
- func (x SecurityScheme_Type) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (SecurityScheme_Type) Descriptor() protoreflect.EnumDescriptor {
- return file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[3].Descriptor()
- }
- func (SecurityScheme_Type) Type() protoreflect.EnumType {
- return &file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[3]
- }
- func (x SecurityScheme_Type) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // The location of the API key. Valid values are "query" or "header".
- type SecurityScheme_In int32
- const (
- SecurityScheme_IN_INVALID SecurityScheme_In = 0
- SecurityScheme_IN_QUERY SecurityScheme_In = 1
- SecurityScheme_IN_HEADER SecurityScheme_In = 2
- )
- // Enum value maps for SecurityScheme_In.
- var (
- SecurityScheme_In_name = map[int32]string{
- 0: "IN_INVALID",
- 1: "IN_QUERY",
- 2: "IN_HEADER",
- }
- SecurityScheme_In_value = map[string]int32{
- "IN_INVALID": 0,
- "IN_QUERY": 1,
- "IN_HEADER": 2,
- }
- )
- func (x SecurityScheme_In) Enum() *SecurityScheme_In {
- p := new(SecurityScheme_In)
- *p = x
- return p
- }
- func (x SecurityScheme_In) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (SecurityScheme_In) Descriptor() protoreflect.EnumDescriptor {
- return file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[4].Descriptor()
- }
- func (SecurityScheme_In) Type() protoreflect.EnumType {
- return &file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[4]
- }
- func (x SecurityScheme_In) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // The flow used by the OAuth2 security scheme. Valid values are
- // "implicit", "password", "application" or "accessCode".
- type SecurityScheme_Flow int32
- const (
- SecurityScheme_FLOW_INVALID SecurityScheme_Flow = 0
- SecurityScheme_FLOW_IMPLICIT SecurityScheme_Flow = 1
- SecurityScheme_FLOW_PASSWORD SecurityScheme_Flow = 2
- SecurityScheme_FLOW_APPLICATION SecurityScheme_Flow = 3
- SecurityScheme_FLOW_ACCESS_CODE SecurityScheme_Flow = 4
- )
- // Enum value maps for SecurityScheme_Flow.
- var (
- SecurityScheme_Flow_name = map[int32]string{
- 0: "FLOW_INVALID",
- 1: "FLOW_IMPLICIT",
- 2: "FLOW_PASSWORD",
- 3: "FLOW_APPLICATION",
- 4: "FLOW_ACCESS_CODE",
- }
- SecurityScheme_Flow_value = map[string]int32{
- "FLOW_INVALID": 0,
- "FLOW_IMPLICIT": 1,
- "FLOW_PASSWORD": 2,
- "FLOW_APPLICATION": 3,
- "FLOW_ACCESS_CODE": 4,
- }
- )
- func (x SecurityScheme_Flow) Enum() *SecurityScheme_Flow {
- p := new(SecurityScheme_Flow)
- *p = x
- return p
- }
- func (x SecurityScheme_Flow) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (SecurityScheme_Flow) Descriptor() protoreflect.EnumDescriptor {
- return file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[5].Descriptor()
- }
- func (SecurityScheme_Flow) Type() protoreflect.EnumType {
- return &file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[5]
- }
- func (x SecurityScheme_Flow) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // `Swagger` is a representation of OpenAPI v2 specification's Swagger object.
- //
- // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#swaggerObject
- //
- // Example:
- //
- // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
- // info: {
- // title: "Echo API";
- // version: "1.0";
- // description: "";
- // contact: {
- // name: "gRPC-Gateway project";
- // url: "https://github.com/grpc-ecosystem/grpc-gateway";
- // email: "none@example.com";
- // };
- // license: {
- // name: "BSD 3-Clause License";
- // url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/main/LICENSE";
- // };
- // };
- // schemes: HTTPS;
- // consumes: "application/json";
- // produces: "application/json";
- // };
- type Swagger struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- xxx_hidden_Swagger string `protobuf:"bytes,1,opt,name=swagger,proto3" json:"swagger,omitempty"`
- xxx_hidden_Info *Info `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
- xxx_hidden_Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
- xxx_hidden_BasePath string `protobuf:"bytes,4,opt,name=base_path,json=basePath,proto3" json:"base_path,omitempty"`
- xxx_hidden_Schemes []Scheme `protobuf:"varint,5,rep,packed,name=schemes,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.Scheme" json:"schemes,omitempty"`
- xxx_hidden_Consumes []string `protobuf:"bytes,6,rep,name=consumes,proto3" json:"consumes,omitempty"`
- xxx_hidden_Produces []string `protobuf:"bytes,7,rep,name=produces,proto3" json:"produces,omitempty"`
- 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"`
- xxx_hidden_SecurityDefinitions *SecurityDefinitions `protobuf:"bytes,11,opt,name=security_definitions,json=securityDefinitions,proto3" json:"security_definitions,omitempty"`
- xxx_hidden_Security *[]*SecurityRequirement `protobuf:"bytes,12,rep,name=security,proto3" json:"security,omitempty"`
- xxx_hidden_Tags *[]*Tag `protobuf:"bytes,13,rep,name=tags,proto3" json:"tags,omitempty"`
- xxx_hidden_ExternalDocs *ExternalDocumentation `protobuf:"bytes,14,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
- 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"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Swagger) Reset() {
- *x = Swagger{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Swagger) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Swagger) ProtoMessage() {}
- func (x *Swagger) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *Swagger) GetSwagger() string {
- if x != nil {
- return x.xxx_hidden_Swagger
- }
- return ""
- }
- func (x *Swagger) GetInfo() *Info {
- if x != nil {
- return x.xxx_hidden_Info
- }
- return nil
- }
- func (x *Swagger) GetHost() string {
- if x != nil {
- return x.xxx_hidden_Host
- }
- return ""
- }
- func (x *Swagger) GetBasePath() string {
- if x != nil {
- return x.xxx_hidden_BasePath
- }
- return ""
- }
- func (x *Swagger) GetSchemes() []Scheme {
- if x != nil {
- return x.xxx_hidden_Schemes
- }
- return nil
- }
- func (x *Swagger) GetConsumes() []string {
- if x != nil {
- return x.xxx_hidden_Consumes
- }
- return nil
- }
- func (x *Swagger) GetProduces() []string {
- if x != nil {
- return x.xxx_hidden_Produces
- }
- return nil
- }
- func (x *Swagger) GetResponses() map[string]*Response {
- if x != nil {
- return x.xxx_hidden_Responses
- }
- return nil
- }
- func (x *Swagger) GetSecurityDefinitions() *SecurityDefinitions {
- if x != nil {
- return x.xxx_hidden_SecurityDefinitions
- }
- return nil
- }
- func (x *Swagger) GetSecurity() []*SecurityRequirement {
- if x != nil {
- if x.xxx_hidden_Security != nil {
- return *x.xxx_hidden_Security
- }
- }
- return nil
- }
- func (x *Swagger) GetTags() []*Tag {
- if x != nil {
- if x.xxx_hidden_Tags != nil {
- return *x.xxx_hidden_Tags
- }
- }
- return nil
- }
- func (x *Swagger) GetExternalDocs() *ExternalDocumentation {
- if x != nil {
- return x.xxx_hidden_ExternalDocs
- }
- return nil
- }
- func (x *Swagger) GetExtensions() map[string]*structpb.Value {
- if x != nil {
- return x.xxx_hidden_Extensions
- }
- return nil
- }
- func (x *Swagger) SetSwagger(v string) {
- x.xxx_hidden_Swagger = v
- }
- func (x *Swagger) SetInfo(v *Info) {
- x.xxx_hidden_Info = v
- }
- func (x *Swagger) SetHost(v string) {
- x.xxx_hidden_Host = v
- }
- func (x *Swagger) SetBasePath(v string) {
- x.xxx_hidden_BasePath = v
- }
- func (x *Swagger) SetSchemes(v []Scheme) {
- x.xxx_hidden_Schemes = v
- }
- func (x *Swagger) SetConsumes(v []string) {
- x.xxx_hidden_Consumes = v
- }
- func (x *Swagger) SetProduces(v []string) {
- x.xxx_hidden_Produces = v
- }
- func (x *Swagger) SetResponses(v map[string]*Response) {
- x.xxx_hidden_Responses = v
- }
- func (x *Swagger) SetSecurityDefinitions(v *SecurityDefinitions) {
- x.xxx_hidden_SecurityDefinitions = v
- }
- func (x *Swagger) SetSecurity(v []*SecurityRequirement) {
- x.xxx_hidden_Security = &v
- }
- func (x *Swagger) SetTags(v []*Tag) {
- x.xxx_hidden_Tags = &v
- }
- func (x *Swagger) SetExternalDocs(v *ExternalDocumentation) {
- x.xxx_hidden_ExternalDocs = v
- }
- func (x *Swagger) SetExtensions(v map[string]*structpb.Value) {
- x.xxx_hidden_Extensions = v
- }
- func (x *Swagger) HasInfo() bool {
- if x == nil {
- return false
- }
- return x.xxx_hidden_Info != nil
- }
- func (x *Swagger) HasSecurityDefinitions() bool {
- if x == nil {
- return false
- }
- return x.xxx_hidden_SecurityDefinitions != nil
- }
- func (x *Swagger) HasExternalDocs() bool {
- if x == nil {
- return false
- }
- return x.xxx_hidden_ExternalDocs != nil
- }
- func (x *Swagger) ClearInfo() {
- x.xxx_hidden_Info = nil
- }
- func (x *Swagger) ClearSecurityDefinitions() {
- x.xxx_hidden_SecurityDefinitions = nil
- }
- func (x *Swagger) ClearExternalDocs() {
- x.xxx_hidden_ExternalDocs = nil
- }
- type Swagger_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- // Specifies the OpenAPI Specification version being used. It can be
- // used by the OpenAPI UI and other clients to interpret the API listing. The
- // value MUST be "2.0".
- Swagger string
- // Provides metadata about the API. The metadata can be used by the
- // clients if needed.
- Info *Info
- // The host (name or ip) serving the API. This MUST be the host only and does
- // not include the scheme nor sub-paths. It MAY include a port. If the host is
- // not included, the host serving the documentation is to be used (including
- // the port). The host does not support path templating.
- Host string
- // The base path on which the API is served, which is relative to the host. If
- // it is not included, the API is served directly under the host. The value
- // MUST start with a leading slash (/). The basePath does not support path
- // templating.
- // Note that using `base_path` does not change the endpoint paths that are
- // generated in the resulting OpenAPI file. If you wish to use `base_path`
- // with relatively generated OpenAPI paths, the `base_path` prefix must be
- // manually removed from your `google.api.http` paths and your code changed to
- // serve the API from the `base_path`.
- BasePath string
- // The transfer protocol of the API. Values MUST be from the list: "http",
- // "https", "ws", "wss". If the schemes is not included, the default scheme to
- // be used is the one used to access the OpenAPI definition itself.
- Schemes []Scheme
- // A list of MIME types the APIs can consume. This is global to all APIs but
- // can be overridden on specific API calls. Value MUST be as described under
- // Mime Types.
- Consumes []string
- // A list of MIME types the APIs can produce. This is global to all APIs but
- // can be overridden on specific API calls. Value MUST be as described under
- // Mime Types.
- Produces []string
- // An object to hold responses that can be used across operations. This
- // property does not define global responses for all operations.
- Responses map[string]*Response
- // Security scheme definitions that can be used across the specification.
- SecurityDefinitions *SecurityDefinitions
- // A declaration of which security schemes are applied for the API as a whole.
- // The list of values describes alternative security schemes that can be used
- // (that is, there is a logical OR between the security requirements).
- // Individual operations can override this definition.
- Security []*SecurityRequirement
- // A list of tags for API documentation control. Tags can be used for logical
- // grouping of operations by resources or any other qualifier.
- Tags []*Tag
- // Additional external documentation.
- ExternalDocs *ExternalDocumentation
- // Custom properties that start with "x-" such as "x-foo" used to describe
- // extra functionality that is not covered by the standard OpenAPI Specification.
- // See: https://swagger.io/docs/specification/2-0/swagger-extensions/
- Extensions map[string]*structpb.Value
- }
- func (b0 Swagger_builder) Build() *Swagger {
- m0 := &Swagger{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_Swagger = b.Swagger
- x.xxx_hidden_Info = b.Info
- x.xxx_hidden_Host = b.Host
- x.xxx_hidden_BasePath = b.BasePath
- x.xxx_hidden_Schemes = b.Schemes
- x.xxx_hidden_Consumes = b.Consumes
- x.xxx_hidden_Produces = b.Produces
- x.xxx_hidden_Responses = b.Responses
- x.xxx_hidden_SecurityDefinitions = b.SecurityDefinitions
- x.xxx_hidden_Security = &b.Security
- x.xxx_hidden_Tags = &b.Tags
- x.xxx_hidden_ExternalDocs = b.ExternalDocs
- x.xxx_hidden_Extensions = b.Extensions
- return m0
- }
- // `Operation` is a representation of OpenAPI v2 specification's Operation object.
- //
- // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#operationObject
- //
- // Example:
- //
- // service EchoService {
- // rpc Echo(SimpleMessage) returns (SimpleMessage) {
- // option (google.api.http) = {
- // get: "/v1/example/echo/{id}"
- // };
- //
- // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
- // summary: "Get a message.";
- // operation_id: "getMessage";
- // tags: "echo";
- // responses: {
- // key: "200"
- // value: {
- // description: "OK";
- // }
- // }
- // };
- // }
- // }
- type Operation struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- xxx_hidden_Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
- xxx_hidden_Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
- xxx_hidden_Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
- xxx_hidden_ExternalDocs *ExternalDocumentation `protobuf:"bytes,4,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
- xxx_hidden_OperationId string `protobuf:"bytes,5,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
- xxx_hidden_Consumes []string `protobuf:"bytes,6,rep,name=consumes,proto3" json:"consumes,omitempty"`
- xxx_hidden_Produces []string `protobuf:"bytes,7,rep,name=produces,proto3" json:"produces,omitempty"`
- 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"`
- xxx_hidden_Schemes []Scheme `protobuf:"varint,10,rep,packed,name=schemes,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.Scheme" json:"schemes,omitempty"`
- xxx_hidden_Deprecated bool `protobuf:"varint,11,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
- xxx_hidden_Security *[]*SecurityRequirement `protobuf:"bytes,12,rep,name=security,proto3" json:"security,omitempty"`
- 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"`
- xxx_hidden_Parameters *Parameters `protobuf:"bytes,14,opt,name=parameters,proto3" json:"parameters,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Operation) Reset() {
- *x = Operation{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Operation) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Operation) ProtoMessage() {}
- func (x *Operation) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[1]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *Operation) GetTags() []string {
- if x != nil {
- return x.xxx_hidden_Tags
- }
- return nil
- }
- func (x *Operation) GetSummary() string {
- if x != nil {
- return x.xxx_hidden_Summary
- }
- return ""
- }
- func (x *Operation) GetDescription() string {
- if x != nil {
- return x.xxx_hidden_Description
- }
- return ""
- }
- func (x *Operation) GetExternalDocs() *ExternalDocumentation {
- if x != nil {
- return x.xxx_hidden_ExternalDocs
- }
- return nil
- }
- func (x *Operation) GetOperationId() string {
- if x != nil {
- return x.xxx_hidden_OperationId
- }
- return ""
- }
- func (x *Operation) GetConsumes() []string {
- if x != nil {
- return x.xxx_hidden_Consumes
- }
- return nil
- }
- func (x *Operation) GetProduces() []string {
- if x != nil {
- return x.xxx_hidden_Produces
- }
- return nil
- }
- func (x *Operation) GetResponses() map[string]*Response {
- if x != nil {
- return x.xxx_hidden_Responses
- }
- return nil
- }
- func (x *Operation) GetSchemes() []Scheme {
- if x != nil {
- return x.xxx_hidden_Schemes
- }
- return nil
- }
- func (x *Operation) GetDeprecated() bool {
- if x != nil {
- return x.xxx_hidden_Deprecated
- }
- return false
- }
- func (x *Operation) GetSecurity() []*SecurityRequirement {
- if x != nil {
- if x.xxx_hidden_Security != nil {
- return *x.xxx_hidden_Security
- }
- }
- return nil
- }
- func (x *Operation) GetExtensions() map[string]*structpb.Value {
- if x != nil {
- return x.xxx_hidden_Extensions
- }
- return nil
- }
- func (x *Operation) GetParameters() *Parameters {
- if x != nil {
- return x.xxx_hidden_Parameters
- }
- return nil
- }
- func (x *Operation) SetTags(v []string) {
- x.xxx_hidden_Tags = v
- }
- func (x *Operation) SetSummary(v string) {
- x.xxx_hidden_Summary = v
- }
- func (x *Operation) SetDescription(v string) {
- x.xxx_hidden_Description = v
- }
- func (x *Operation) SetExternalDocs(v *ExternalDocumentation) {
- x.xxx_hidden_ExternalDocs = v
- }
- func (x *Operation) SetOperationId(v string) {
- x.xxx_hidden_OperationId = v
- }
- func (x *Operation) SetConsumes(v []string) {
- x.xxx_hidden_Consumes = v
- }
- func (x *Operation) SetProduces(v []string) {
- x.xxx_hidden_Produces = v
- }
- func (x *Operation) SetResponses(v map[string]*Response) {
- x.xxx_hidden_Responses = v
- }
- func (x *Operation) SetSchemes(v []Scheme) {
- x.xxx_hidden_Schemes = v
- }
- func (x *Operation) SetDeprecated(v bool) {
- x.xxx_hidden_Deprecated = v
- }
- func (x *Operation) SetSecurity(v []*SecurityRequirement) {
- x.xxx_hidden_Security = &v
- }
- func (x *Operation) SetExtensions(v map[string]*structpb.Value) {
- x.xxx_hidden_Extensions = v
- }
- func (x *Operation) SetParameters(v *Parameters) {
- x.xxx_hidden_Parameters = v
- }
- func (x *Operation) HasExternalDocs() bool {
- if x == nil {
- return false
- }
- return x.xxx_hidden_ExternalDocs != nil
- }
- func (x *Operation) HasParameters() bool {
- if x == nil {
- return false
- }
- return x.xxx_hidden_Parameters != nil
- }
- func (x *Operation) ClearExternalDocs() {
- x.xxx_hidden_ExternalDocs = nil
- }
- func (x *Operation) ClearParameters() {
- x.xxx_hidden_Parameters = nil
- }
- type Operation_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- // A list of tags for API documentation control. Tags can be used for logical
- // grouping of operations by resources or any other qualifier.
- Tags []string
- // A short summary of what the operation does. For maximum readability in the
- // swagger-ui, this field SHOULD be less than 120 characters.
- Summary string
- // A verbose explanation of the operation behavior. GFM syntax can be used for
- // rich text representation.
- Description string
- // Additional external documentation for this operation.
- ExternalDocs *ExternalDocumentation
- // Unique string used to identify the operation. The id MUST be unique among
- // all operations described in the API. Tools and libraries MAY use the
- // operationId to uniquely identify an operation, therefore, it is recommended
- // to follow common programming naming conventions.
- OperationId string
- // A list of MIME types the operation can consume. This overrides the consumes
- // definition at the OpenAPI Object. An empty value MAY be used to clear the
- // global definition. Value MUST be as described under Mime Types.
- Consumes []string
- // A list of MIME types the operation can produce. This overrides the produces
- // definition at the OpenAPI Object. An empty value MAY be used to clear the
- // global definition. Value MUST be as described under Mime Types.
- Produces []string
- // The list of possible responses as they are returned from executing this
- // operation.
- Responses map[string]*Response
- // The transfer protocol for the operation. Values MUST be from the list:
- // "http", "https", "ws", "wss". The value overrides the OpenAPI Object
- // schemes definition.
- Schemes []Scheme
- // Declares this operation to be deprecated. Usage of the declared operation
- // should be refrained. Default value is false.
- Deprecated bool
- // A declaration of which security schemes are applied for this operation. The
- // list of values describes alternative security schemes that can be used
- // (that is, there is a logical OR between the security requirements). This
- // definition overrides any declared top-level security. To remove a top-level
- // security declaration, an empty array can be used.
- Security []*SecurityRequirement
- // Custom properties that start with "x-" such as "x-foo" used to describe
- // extra functionality that is not covered by the standard OpenAPI Specification.
- // See: https://swagger.io/docs/specification/2-0/swagger-extensions/
- Extensions map[string]*structpb.Value
- // Custom parameters such as HTTP request headers.
- // See: https://swagger.io/docs/specification/2-0/describing-parameters/
- // and https://swagger.io/specification/v2/#parameter-object.
- Parameters *Parameters
- }
- func (b0 Operation_builder) Build() *Operation {
- m0 := &Operation{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_Tags = b.Tags
- x.xxx_hidden_Summary = b.Summary
- x.xxx_hidden_Description = b.Description
- x.xxx_hidden_ExternalDocs = b.ExternalDocs
- x.xxx_hidden_OperationId = b.OperationId
- x.xxx_hidden_Consumes = b.Consumes
- x.xxx_hidden_Produces = b.Produces
- x.xxx_hidden_Responses = b.Responses
- x.xxx_hidden_Schemes = b.Schemes
- x.xxx_hidden_Deprecated = b.Deprecated
- x.xxx_hidden_Security = &b.Security
- x.xxx_hidden_Extensions = b.Extensions
- x.xxx_hidden_Parameters = b.Parameters
- return m0
- }
- // `Parameters` is a representation of OpenAPI v2 specification's parameters object.
- // Note: This technically breaks compatibility with the OpenAPI 2 definition structure as we only
- // allow header parameters to be set here since we do not want users specifying custom non-header
- // parameters beyond those inferred from the Protobuf schema.
- // See: https://swagger.io/specification/v2/#parameter-object
- type Parameters struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- xxx_hidden_Headers *[]*HeaderParameter `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Parameters) Reset() {
- *x = Parameters{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Parameters) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Parameters) ProtoMessage() {}
- func (x *Parameters) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[2]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *Parameters) GetHeaders() []*HeaderParameter {
- if x != nil {
- if x.xxx_hidden_Headers != nil {
- return *x.xxx_hidden_Headers
- }
- }
- return nil
- }
- func (x *Parameters) SetHeaders(v []*HeaderParameter) {
- x.xxx_hidden_Headers = &v
- }
- type Parameters_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- // `Headers` is one or more HTTP header parameter.
- // See: https://swagger.io/docs/specification/2-0/describing-parameters/#header-parameters
- Headers []*HeaderParameter
- }
- func (b0 Parameters_builder) Build() *Parameters {
- m0 := &Parameters{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_Headers = &b.Headers
- return m0
- }
- // `HeaderParameter` a HTTP header parameter.
- // See: https://swagger.io/specification/v2/#parameter-object
- type HeaderParameter struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- xxx_hidden_Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- xxx_hidden_Type HeaderParameter_Type `protobuf:"varint,3,opt,name=type,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter_Type" json:"type,omitempty"`
- xxx_hidden_Format string `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"`
- xxx_hidden_Required bool `protobuf:"varint,5,opt,name=required,proto3" json:"required,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *HeaderParameter) Reset() {
- *x = HeaderParameter{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *HeaderParameter) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*HeaderParameter) ProtoMessage() {}
- func (x *HeaderParameter) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[3]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *HeaderParameter) GetName() string {
- if x != nil {
- return x.xxx_hidden_Name
- }
- return ""
- }
- func (x *HeaderParameter) GetDescription() string {
- if x != nil {
- return x.xxx_hidden_Description
- }
- return ""
- }
- func (x *HeaderParameter) GetType() HeaderParameter_Type {
- if x != nil {
- return x.xxx_hidden_Type
- }
- return HeaderParameter_UNKNOWN
- }
- func (x *HeaderParameter) GetFormat() string {
- if x != nil {
- return x.xxx_hidden_Format
- }
- return ""
- }
- func (x *HeaderParameter) GetRequired() bool {
- if x != nil {
- return x.xxx_hidden_Required
- }
- return false
- }
- func (x *HeaderParameter) SetName(v string) {
- x.xxx_hidden_Name = v
- }
- func (x *HeaderParameter) SetDescription(v string) {
- x.xxx_hidden_Description = v
- }
- func (x *HeaderParameter) SetType(v HeaderParameter_Type) {
- x.xxx_hidden_Type = v
- }
- func (x *HeaderParameter) SetFormat(v string) {
- x.xxx_hidden_Format = v
- }
- func (x *HeaderParameter) SetRequired(v bool) {
- x.xxx_hidden_Required = v
- }
- type HeaderParameter_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- // `Name` is the header name.
- Name string
- // `Description` is a short description of the header.
- Description string
- // `Type` is the type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported.
- // See: https://swagger.io/specification/v2/#parameterType.
- Type HeaderParameter_Type
- // `Format` The extending format for the previously mentioned type.
- Format string
- // `Required` indicates if the header is optional
- Required bool
- }
- func (b0 HeaderParameter_builder) Build() *HeaderParameter {
- m0 := &HeaderParameter{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_Name = b.Name
- x.xxx_hidden_Description = b.Description
- x.xxx_hidden_Type = b.Type
- x.xxx_hidden_Format = b.Format
- x.xxx_hidden_Required = b.Required
- return m0
- }
- // `Header` is a representation of OpenAPI v2 specification's Header object.
- //
- // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#headerObject
- type Header struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- xxx_hidden_Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
- xxx_hidden_Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
- xxx_hidden_Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"`
- xxx_hidden_Default string `protobuf:"bytes,6,opt,name=default,proto3" json:"default,omitempty"`
- xxx_hidden_Pattern string `protobuf:"bytes,13,opt,name=pattern,proto3" json:"pattern,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Header) Reset() {
- *x = Header{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Header) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Header) ProtoMessage() {}
- func (x *Header) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[4]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *Header) GetDescription() string {
- if x != nil {
- return x.xxx_hidden_Description
- }
- return ""
- }
- func (x *Header) GetType() string {
- if x != nil {
- return x.xxx_hidden_Type
- }
- return ""
- }
- func (x *Header) GetFormat() string {
- if x != nil {
- return x.xxx_hidden_Format
- }
- return ""
- }
- func (x *Header) GetDefault() string {
- if x != nil {
- return x.xxx_hidden_Default
- }
- return ""
- }
- func (x *Header) GetPattern() string {
- if x != nil {
- return x.xxx_hidden_Pattern
- }
- return ""
- }
- func (x *Header) SetDescription(v string) {
- x.xxx_hidden_Description = v
- }
- func (x *Header) SetType(v string) {
- x.xxx_hidden_Type = v
- }
- func (x *Header) SetFormat(v string) {
- x.xxx_hidden_Format = v
- }
- func (x *Header) SetDefault(v string) {
- x.xxx_hidden_Default = v
- }
- func (x *Header) SetPattern(v string) {
- x.xxx_hidden_Pattern = v
- }
- type Header_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- // `Description` is a short description of the header.
- Description string
- // The type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported.
- Type string
- // `Format` The extending format for the previously mentioned type.
- Format string
- // `Default` Declares the value of the header that the server will use if none is provided.
- // See: https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-6.2.
- // Unlike JSON Schema this value MUST conform to the defined type for the header.
- Default string
- // 'Pattern' See https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.2.3.
- Pattern string
- }
- func (b0 Header_builder) Build() *Header {
- m0 := &Header{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_Description = b.Description
- x.xxx_hidden_Type = b.Type
- x.xxx_hidden_Format = b.Format
- x.xxx_hidden_Default = b.Default
- x.xxx_hidden_Pattern = b.Pattern
- return m0
- }
- // `Response` is a representation of OpenAPI v2 specification's Response object.
- //
- // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#responseObject
- type Response struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- xxx_hidden_Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
- xxx_hidden_Schema *Schema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
- 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"`
- 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"`
- 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"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Response) Reset() {
- *x = Response{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Response) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Response) ProtoMessage() {}
- func (x *Response) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[5]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *Response) GetDescription() string {
- if x != nil {
- return x.xxx_hidden_Description
- }
- return ""
- }
- func (x *Response) GetSchema() *Schema {
- if x != nil {
- return x.xxx_hidden_Schema
- }
- return nil
- }
- func (x *Response) GetHeaders() map[string]*Header {
- if x != nil {
- return x.xxx_hidden_Headers
- }
- return nil
- }
- func (x *Response) GetExamples() map[string]string {
- if x != nil {
- return x.xxx_hidden_Examples
- }
- return nil
- }
- func (x *Response) GetExtensions() map[string]*structpb.Value {
- if x != nil {
- return x.xxx_hidden_Extensions
- }
- return nil
- }
- func (x *Response) SetDescription(v string) {
- x.xxx_hidden_Description = v
- }
- func (x *Response) SetSchema(v *Schema) {
- x.xxx_hidden_Schema = v
- }
- func (x *Response) SetHeaders(v map[string]*Header) {
- x.xxx_hidden_Headers = v
- }
- func (x *Response) SetExamples(v map[string]string) {
- x.xxx_hidden_Examples = v
- }
- func (x *Response) SetExtensions(v map[string]*structpb.Value) {
- x.xxx_hidden_Extensions = v
- }
- func (x *Response) HasSchema() bool {
- if x == nil {
- return false
- }
- return x.xxx_hidden_Schema != nil
- }
- func (x *Response) ClearSchema() {
- x.xxx_hidden_Schema = nil
- }
- type Response_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- // `Description` is a short description of the response.
- // GFM syntax can be used for rich text representation.
- Description string
- // `Schema` optionally defines the structure of the response.
- // If `Schema` is not provided, it means there is no content to the response.
- Schema *Schema
- // `Headers` A list of headers that are sent with the response.
- // `Header` name is expected to be a string in the canonical format of the MIME header key
- // See: https://golang.org/pkg/net/textproto/#CanonicalMIMEHeaderKey
- Headers map[string]*Header
- // `Examples` gives per-mimetype response examples.
- // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#example-object
- Examples map[string]string
- // Custom properties that start with "x-" such as "x-foo" used to describe
- // extra functionality that is not covered by the standard OpenAPI Specification.
- // See: https://swagger.io/docs/specification/2-0/swagger-extensions/
- Extensions map[string]*structpb.Value
- }
- func (b0 Response_builder) Build() *Response {
- m0 := &Response{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_Description = b.Description
- x.xxx_hidden_Schema = b.Schema
- x.xxx_hidden_Headers = b.Headers
- x.xxx_hidden_Examples = b.Examples
- x.xxx_hidden_Extensions = b.Extensions
- return m0
- }
- // `Info` is a representation of OpenAPI v2 specification's Info object.
- //
- // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#infoObject
- //
- // Example:
- //
- // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
- // info: {
- // title: "Echo API";
- // version: "1.0";
- // description: "";
- // contact: {
- // name: "gRPC-Gateway project";
- // url: "https://github.com/grpc-ecosystem/grpc-gateway";
- // email: "none@example.com";
- // };
- // license: {
- // name: "BSD 3-Clause License";
- // url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/main/LICENSE";
- // };
- // };
- // ...
- // };
- type Info struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- xxx_hidden_Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- xxx_hidden_Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- xxx_hidden_TermsOfService string `protobuf:"bytes,3,opt,name=terms_of_service,json=termsOfService,proto3" json:"terms_of_service,omitempty"`
- xxx_hidden_Contact *Contact `protobuf:"bytes,4,opt,name=contact,proto3" json:"contact,omitempty"`
- xxx_hidden_License *License `protobuf:"bytes,5,opt,name=license,proto3" json:"license,omitempty"`
- xxx_hidden_Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
- 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"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Info) Reset() {
- *x = Info{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Info) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Info) ProtoMessage() {}
- func (x *Info) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[6]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *Info) GetTitle() string {
- if x != nil {
- return x.xxx_hidden_Title
- }
- return ""
- }
- func (x *Info) GetDescription() string {
- if x != nil {
- return x.xxx_hidden_Description
- }
- return ""
- }
- func (x *Info) GetTermsOfService() string {
- if x != nil {
- return x.xxx_hidden_TermsOfService
- }
- return ""
- }
- func (x *Info) GetContact() *Contact {
- if x != nil {
- return x.xxx_hidden_Contact
- }
- return nil
- }
- func (x *Info) GetLicense() *License {
- if x != nil {
- return x.xxx_hidden_License
- }
- return nil
- }
- func (x *Info) GetVersion() string {
- if x != nil {
- return x.xxx_hidden_Version
- }
- return ""
- }
- func (x *Info) GetExtensions() map[string]*structpb.Value {
- if x != nil {
- return x.xxx_hidden_Extensions
- }
- return nil
- }
- func (x *Info) SetTitle(v string) {
- x.xxx_hidden_Title = v
- }
- func (x *Info) SetDescription(v string) {
- x.xxx_hidden_Description = v
- }
- func (x *Info) SetTermsOfService(v string) {
- x.xxx_hidden_TermsOfService = v
- }
- func (x *Info) SetContact(v *Contact) {
- x.xxx_hidden_Contact = v
- }
- func (x *Info) SetLicense(v *License) {
- x.xxx_hidden_License = v
- }
- func (x *Info) SetVersion(v string) {
- x.xxx_hidden_Version = v
- }
- func (x *Info) SetExtensions(v map[string]*structpb.Value) {
- x.xxx_hidden_Extensions = v
- }
- func (x *Info) HasContact() bool {
- if x == nil {
- return false
- }
- return x.xxx_hidden_Contact != nil
- }
- func (x *Info) HasLicense() bool {
- if x == nil {
- return false
- }
- return x.xxx_hidden_License != nil
- }
- func (x *Info) ClearContact() {
- x.xxx_hidden_Contact = nil
- }
- func (x *Info) ClearLicense() {
- x.xxx_hidden_License = nil
- }
- type Info_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- // The title of the application.
- Title string
- // A short description of the application. GFM syntax can be used for rich
- // text representation.
- Description string
- // The Terms of Service for the API.
- TermsOfService string
- // The contact information for the exposed API.
- Contact *Contact
- // The license information for the exposed API.
- License *License
- // Provides the version of the application API (not to be confused
- // with the specification version).
- Version string
- // Custom properties that start with "x-" such as "x-foo" used to describe
- // extra functionality that is not covered by the standard OpenAPI Specification.
- // See: https://swagger.io/docs/specification/2-0/swagger-extensions/
- Extensions map[string]*structpb.Value
- }
- func (b0 Info_builder) Build() *Info {
- m0 := &Info{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_Title = b.Title
- x.xxx_hidden_Description = b.Description
- x.xxx_hidden_TermsOfService = b.TermsOfService
- x.xxx_hidden_Contact = b.Contact
- x.xxx_hidden_License = b.License
- x.xxx_hidden_Version = b.Version
- x.xxx_hidden_Extensions = b.Extensions
- return m0
- }
- // `Contact` is a representation of OpenAPI v2 specification's Contact object.
- //
- // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#contactObject
- //
- // Example:
- //
- // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
- // info: {
- // ...
- // contact: {
- // name: "gRPC-Gateway project";
- // url: "https://github.com/grpc-ecosystem/grpc-gateway";
- // email: "none@example.com";
- // };
- // ...
- // };
- // ...
- // };
- type Contact struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- xxx_hidden_Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
- xxx_hidden_Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Contact) Reset() {
- *x = Contact{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Contact) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Contact) ProtoMessage() {}
- func (x *Contact) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[7]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *Contact) GetName() string {
- if x != nil {
- return x.xxx_hidden_Name
- }
- return ""
- }
- func (x *Contact) GetUrl() string {
- if x != nil {
- return x.xxx_hidden_Url
- }
- return ""
- }
- func (x *Contact) GetEmail() string {
- if x != nil {
- return x.xxx_hidden_Email
- }
- return ""
- }
- func (x *Contact) SetName(v string) {
- x.xxx_hidden_Name = v
- }
- func (x *Contact) SetUrl(v string) {
- x.xxx_hidden_Url = v
- }
- func (x *Contact) SetEmail(v string) {
- x.xxx_hidden_Email = v
- }
- type Contact_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- // The identifying name of the contact person/organization.
- Name string
- // The URL pointing to the contact information. MUST be in the format of a
- // URL.
- Url string
- // The email address of the contact person/organization. MUST be in the format
- // of an email address.
- Email string
- }
- func (b0 Contact_builder) Build() *Contact {
- m0 := &Contact{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_Name = b.Name
- x.xxx_hidden_Url = b.Url
- x.xxx_hidden_Email = b.Email
- return m0
- }
- // `License` is a representation of OpenAPI v2 specification's License object.
- //
- // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#licenseObject
- //
- // Example:
- //
- // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
- // info: {
- // ...
- // license: {
- // name: "BSD 3-Clause License";
- // url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/main/LICENSE";
- // };
- // ...
- // };
- // ...
- // };
- type License struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- xxx_hidden_Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *License) Reset() {
- *x = License{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *License) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*License) ProtoMessage() {}
- func (x *License) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[8]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *License) GetName() string {
- if x != nil {
- return x.xxx_hidden_Name
- }
- return ""
- }
- func (x *License) GetUrl() string {
- if x != nil {
- return x.xxx_hidden_Url
- }
- return ""
- }
- func (x *License) SetName(v string) {
- x.xxx_hidden_Name = v
- }
- func (x *License) SetUrl(v string) {
- x.xxx_hidden_Url = v
- }
- type License_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- // The license name used for the API.
- Name string
- // A URL to the license used for the API. MUST be in the format of a URL.
- Url string
- }
- func (b0 License_builder) Build() *License {
- m0 := &License{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_Name = b.Name
- x.xxx_hidden_Url = b.Url
- return m0
- }
- // `ExternalDocumentation` is a representation of OpenAPI v2 specification's
- // ExternalDocumentation object.
- //
- // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#externalDocumentationObject
- //
- // Example:
- //
- // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
- // ...
- // external_docs: {
- // description: "More about gRPC-Gateway";
- // url: "https://github.com/grpc-ecosystem/grpc-gateway";
- // }
- // ...
- // };
- type ExternalDocumentation struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- xxx_hidden_Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
- xxx_hidden_Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ExternalDocumentation) Reset() {
- *x = ExternalDocumentation{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ExternalDocumentation) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ExternalDocumentation) ProtoMessage() {}
- func (x *ExternalDocumentation) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[9]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *ExternalDocumentation) GetDescription() string {
- if x != nil {
- return x.xxx_hidden_Description
- }
- return ""
- }
- func (x *ExternalDocumentation) GetUrl() string {
- if x != nil {
- return x.xxx_hidden_Url
- }
- return ""
- }
- func (x *ExternalDocumentation) SetDescription(v string) {
- x.xxx_hidden_Description = v
- }
- func (x *ExternalDocumentation) SetUrl(v string) {
- x.xxx_hidden_Url = v
- }
- type ExternalDocumentation_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- // A short description of the target documentation. GFM syntax can be used for
- // rich text representation.
- Description string
- // The URL for the target documentation. Value MUST be in the format
- // of a URL.
- Url string
- }
- func (b0 ExternalDocumentation_builder) Build() *ExternalDocumentation {
- m0 := &ExternalDocumentation{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_Description = b.Description
- x.xxx_hidden_Url = b.Url
- return m0
- }
- // `Schema` is a representation of OpenAPI v2 specification's Schema object.
- //
- // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject
- type Schema struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- xxx_hidden_JsonSchema *JSONSchema `protobuf:"bytes,1,opt,name=json_schema,json=jsonSchema,proto3" json:"json_schema,omitempty"`
- xxx_hidden_Discriminator string `protobuf:"bytes,2,opt,name=discriminator,proto3" json:"discriminator,omitempty"`
- xxx_hidden_ReadOnly bool `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
- xxx_hidden_ExternalDocs *ExternalDocumentation `protobuf:"bytes,5,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
- xxx_hidden_Example string `protobuf:"bytes,6,opt,name=example,proto3" json:"example,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Schema) Reset() {
- *x = Schema{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Schema) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Schema) ProtoMessage() {}
- func (x *Schema) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[10]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *Schema) GetJsonSchema() *JSONSchema {
- if x != nil {
- return x.xxx_hidden_JsonSchema
- }
- return nil
- }
- func (x *Schema) GetDiscriminator() string {
- if x != nil {
- return x.xxx_hidden_Discriminator
- }
- return ""
- }
- func (x *Schema) GetReadOnly() bool {
- if x != nil {
- return x.xxx_hidden_ReadOnly
- }
- return false
- }
- func (x *Schema) GetExternalDocs() *ExternalDocumentation {
- if x != nil {
- return x.xxx_hidden_ExternalDocs
- }
- return nil
- }
- func (x *Schema) GetExample() string {
- if x != nil {
- return x.xxx_hidden_Example
- }
- return ""
- }
- func (x *Schema) SetJsonSchema(v *JSONSchema) {
- x.xxx_hidden_JsonSchema = v
- }
- func (x *Schema) SetDiscriminator(v string) {
- x.xxx_hidden_Discriminator = v
- }
- func (x *Schema) SetReadOnly(v bool) {
- x.xxx_hidden_ReadOnly = v
- }
- func (x *Schema) SetExternalDocs(v *ExternalDocumentation) {
- x.xxx_hidden_ExternalDocs = v
- }
- func (x *Schema) SetExample(v string) {
- x.xxx_hidden_Example = v
- }
- func (x *Schema) HasJsonSchema() bool {
- if x == nil {
- return false
- }
- return x.xxx_hidden_JsonSchema != nil
- }
- func (x *Schema) HasExternalDocs() bool {
- if x == nil {
- return false
- }
- return x.xxx_hidden_ExternalDocs != nil
- }
- func (x *Schema) ClearJsonSchema() {
- x.xxx_hidden_JsonSchema = nil
- }
- func (x *Schema) ClearExternalDocs() {
- x.xxx_hidden_ExternalDocs = nil
- }
- type Schema_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- JsonSchema *JSONSchema
- // Adds support for polymorphism. The discriminator is the schema property
- // name that is used to differentiate between other schema that inherit this
- // schema. The property name used MUST be defined at this schema and it MUST
- // be in the required property list. When used, the value MUST be the name of
- // this schema or any schema that inherits it.
- Discriminator string
- // Relevant only for Schema "properties" definitions. Declares the property as
- // "read only". This means that it MAY be sent as part of a response but MUST
- // NOT be sent as part of the request. Properties marked as readOnly being
- // true SHOULD NOT be in the required list of the defined schema. Default
- // value is false.
- ReadOnly bool
- // Additional external documentation for this schema.
- ExternalDocs *ExternalDocumentation
- // A free-form property to include an example of an instance for this schema in JSON.
- // This is copied verbatim to the output.
- Example string
- }
- func (b0 Schema_builder) Build() *Schema {
- m0 := &Schema{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_JsonSchema = b.JsonSchema
- x.xxx_hidden_Discriminator = b.Discriminator
- x.xxx_hidden_ReadOnly = b.ReadOnly
- x.xxx_hidden_ExternalDocs = b.ExternalDocs
- x.xxx_hidden_Example = b.Example
- return m0
- }
- // `EnumSchema` is subset of fields from the OpenAPI v2 specification's Schema object.
- // Only fields that are applicable to Enums are included
- // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject
- //
- // Example:
- //
- // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_enum) = {
- // ...
- // title: "MyEnum";
- // description:"This is my nice enum";
- // example: "ZERO";
- // required: true;
- // ...
- // };
- type EnumSchema struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- xxx_hidden_Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
- xxx_hidden_Default string `protobuf:"bytes,2,opt,name=default,proto3" json:"default,omitempty"`
- xxx_hidden_Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
- xxx_hidden_Required bool `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"`
- xxx_hidden_ReadOnly bool `protobuf:"varint,5,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
- xxx_hidden_ExternalDocs *ExternalDocumentation `protobuf:"bytes,6,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
- xxx_hidden_Example string `protobuf:"bytes,7,opt,name=example,proto3" json:"example,omitempty"`
- xxx_hidden_Ref string `protobuf:"bytes,8,opt,name=ref,proto3" json:"ref,omitempty"`
- 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"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *EnumSchema) Reset() {
- *x = EnumSchema{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *EnumSchema) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*EnumSchema) ProtoMessage() {}
- func (x *EnumSchema) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[11]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *EnumSchema) GetDescription() string {
- if x != nil {
- return x.xxx_hidden_Description
- }
- return ""
- }
- func (x *EnumSchema) GetDefault() string {
- if x != nil {
- return x.xxx_hidden_Default
- }
- return ""
- }
- func (x *EnumSchema) GetTitle() string {
- if x != nil {
- return x.xxx_hidden_Title
- }
- return ""
- }
- func (x *EnumSchema) GetRequired() bool {
- if x != nil {
- return x.xxx_hidden_Required
- }
- return false
- }
- func (x *EnumSchema) GetReadOnly() bool {
- if x != nil {
- return x.xxx_hidden_ReadOnly
- }
- return false
- }
- func (x *EnumSchema) GetExternalDocs() *ExternalDocumentation {
- if x != nil {
- return x.xxx_hidden_ExternalDocs
- }
- return nil
- }
- func (x *EnumSchema) GetExample() string {
- if x != nil {
- return x.xxx_hidden_Example
- }
- return ""
- }
- func (x *EnumSchema) GetRef() string {
- if x != nil {
- return x.xxx_hidden_Ref
- }
- return ""
- }
- func (x *EnumSchema) GetExtensions() map[string]*structpb.Value {
- if x != nil {
- return x.xxx_hidden_Extensions
- }
- return nil
- }
- func (x *EnumSchema) SetDescription(v string) {
- x.xxx_hidden_Description = v
- }
- func (x *EnumSchema) SetDefault(v string) {
- x.xxx_hidden_Default = v
- }
- func (x *EnumSchema) SetTitle(v string) {
- x.xxx_hidden_Title = v
- }
- func (x *EnumSchema) SetRequired(v bool) {
- x.xxx_hidden_Required = v
- }
- func (x *EnumSchema) SetReadOnly(v bool) {
- x.xxx_hidden_ReadOnly = v
- }
- func (x *EnumSchema) SetExternalDocs(v *ExternalDocumentation) {
- x.xxx_hidden_ExternalDocs = v
- }
- func (x *EnumSchema) SetExample(v string) {
- x.xxx_hidden_Example = v
- }
- func (x *EnumSchema) SetRef(v string) {
- x.xxx_hidden_Ref = v
- }
- func (x *EnumSchema) SetExtensions(v map[string]*structpb.Value) {
- x.xxx_hidden_Extensions = v
- }
- func (x *EnumSchema) HasExternalDocs() bool {
- if x == nil {
- return false
- }
- return x.xxx_hidden_ExternalDocs != nil
- }
- func (x *EnumSchema) ClearExternalDocs() {
- x.xxx_hidden_ExternalDocs = nil
- }
- type EnumSchema_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- // A short description of the schema.
- Description string
- Default string
- // The title of the schema.
- Title string
- Required bool
- ReadOnly bool
- // Additional external documentation for this schema.
- ExternalDocs *ExternalDocumentation
- Example string
- // Ref is used to define an external reference to include in the message.
- // This could be a fully qualified proto message reference, and that type must
- // be imported into the protofile. If no message is identified, the Ref will
- // be used verbatim in the output.
- // For example:
- //
- // `ref: ".google.protobuf.Timestamp"`.
- Ref string
- // Custom properties that start with "x-" such as "x-foo" used to describe
- // extra functionality that is not covered by the standard OpenAPI Specification.
- // See: https://swagger.io/docs/specification/2-0/swagger-extensions/
- Extensions map[string]*structpb.Value
- }
- func (b0 EnumSchema_builder) Build() *EnumSchema {
- m0 := &EnumSchema{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_Description = b.Description
- x.xxx_hidden_Default = b.Default
- x.xxx_hidden_Title = b.Title
- x.xxx_hidden_Required = b.Required
- x.xxx_hidden_ReadOnly = b.ReadOnly
- x.xxx_hidden_ExternalDocs = b.ExternalDocs
- x.xxx_hidden_Example = b.Example
- x.xxx_hidden_Ref = b.Ref
- x.xxx_hidden_Extensions = b.Extensions
- return m0
- }
- // `JSONSchema` represents properties from JSON Schema taken, and as used, in
- // the OpenAPI v2 spec.
- //
- // This includes changes made by OpenAPI v2.
- //
- // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject
- //
- // See also: https://cswr.github.io/JsonSchema/spec/basic_types/,
- // https://github.com/json-schema-org/json-schema-spec/blob/master/schema.json
- //
- // Example:
- //
- // message SimpleMessage {
- // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
- // json_schema: {
- // title: "SimpleMessage"
- // description: "A simple message."
- // required: ["id"]
- // }
- // };
- //
- // // Id represents the message identifier.
- // string id = 1; [
- // (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
- // description: "The unique identifier of the simple message."
- // }];
- // }
- type JSONSchema struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- xxx_hidden_Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
- xxx_hidden_Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
- xxx_hidden_Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
- xxx_hidden_Default string `protobuf:"bytes,7,opt,name=default,proto3" json:"default,omitempty"`
- xxx_hidden_ReadOnly bool `protobuf:"varint,8,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
- xxx_hidden_Example string `protobuf:"bytes,9,opt,name=example,proto3" json:"example,omitempty"`
- xxx_hidden_MultipleOf float64 `protobuf:"fixed64,10,opt,name=multiple_of,json=multipleOf,proto3" json:"multiple_of,omitempty"`
- xxx_hidden_Maximum float64 `protobuf:"fixed64,11,opt,name=maximum,proto3" json:"maximum,omitempty"`
- xxx_hidden_ExclusiveMaximum bool `protobuf:"varint,12,opt,name=exclusive_maximum,json=exclusiveMaximum,proto3" json:"exclusive_maximum,omitempty"`
- xxx_hidden_Minimum float64 `protobuf:"fixed64,13,opt,name=minimum,proto3" json:"minimum,omitempty"`
- xxx_hidden_ExclusiveMinimum bool `protobuf:"varint,14,opt,name=exclusive_minimum,json=exclusiveMinimum,proto3" json:"exclusive_minimum,omitempty"`
- xxx_hidden_MaxLength uint64 `protobuf:"varint,15,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"`
- xxx_hidden_MinLength uint64 `protobuf:"varint,16,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"`
- xxx_hidden_Pattern string `protobuf:"bytes,17,opt,name=pattern,proto3" json:"pattern,omitempty"`
- xxx_hidden_MaxItems uint64 `protobuf:"varint,20,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"`
- xxx_hidden_MinItems uint64 `protobuf:"varint,21,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"`
- xxx_hidden_UniqueItems bool `protobuf:"varint,22,opt,name=unique_items,json=uniqueItems,proto3" json:"unique_items,omitempty"`
- xxx_hidden_MaxProperties uint64 `protobuf:"varint,24,opt,name=max_properties,json=maxProperties,proto3" json:"max_properties,omitempty"`
- xxx_hidden_MinProperties uint64 `protobuf:"varint,25,opt,name=min_properties,json=minProperties,proto3" json:"min_properties,omitempty"`
- xxx_hidden_Required []string `protobuf:"bytes,26,rep,name=required,proto3" json:"required,omitempty"`
- xxx_hidden_Array []string `protobuf:"bytes,34,rep,name=array,proto3" json:"array,omitempty"`
- 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"`
- xxx_hidden_Format string `protobuf:"bytes,36,opt,name=format,proto3" json:"format,omitempty"`
- xxx_hidden_Enum []string `protobuf:"bytes,46,rep,name=enum,proto3" json:"enum,omitempty"`
- xxx_hidden_FieldConfiguration *JSONSchema_FieldConfiguration `protobuf:"bytes,1001,opt,name=field_configuration,json=fieldConfiguration,proto3" json:"field_configuration,omitempty"`
- 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"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *JSONSchema) Reset() {
- *x = JSONSchema{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *JSONSchema) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*JSONSchema) ProtoMessage() {}
- func (x *JSONSchema) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[12]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *JSONSchema) GetRef() string {
- if x != nil {
- return x.xxx_hidden_Ref
- }
- return ""
- }
- func (x *JSONSchema) GetTitle() string {
- if x != nil {
- return x.xxx_hidden_Title
- }
- return ""
- }
- func (x *JSONSchema) GetDescription() string {
- if x != nil {
- return x.xxx_hidden_Description
- }
- return ""
- }
- func (x *JSONSchema) GetDefault() string {
- if x != nil {
- return x.xxx_hidden_Default
- }
- return ""
- }
- func (x *JSONSchema) GetReadOnly() bool {
- if x != nil {
- return x.xxx_hidden_ReadOnly
- }
- return false
- }
- func (x *JSONSchema) GetExample() string {
- if x != nil {
- return x.xxx_hidden_Example
- }
- return ""
- }
- func (x *JSONSchema) GetMultipleOf() float64 {
- if x != nil {
- return x.xxx_hidden_MultipleOf
- }
- return 0
- }
- func (x *JSONSchema) GetMaximum() float64 {
- if x != nil {
- return x.xxx_hidden_Maximum
- }
- return 0
- }
- func (x *JSONSchema) GetExclusiveMaximum() bool {
- if x != nil {
- return x.xxx_hidden_ExclusiveMaximum
- }
- return false
- }
- func (x *JSONSchema) GetMinimum() float64 {
- if x != nil {
- return x.xxx_hidden_Minimum
- }
- return 0
- }
- func (x *JSONSchema) GetExclusiveMinimum() bool {
- if x != nil {
- return x.xxx_hidden_ExclusiveMinimum
- }
- return false
- }
- func (x *JSONSchema) GetMaxLength() uint64 {
- if x != nil {
- return x.xxx_hidden_MaxLength
- }
- return 0
- }
- func (x *JSONSchema) GetMinLength() uint64 {
- if x != nil {
- return x.xxx_hidden_MinLength
- }
- return 0
- }
- func (x *JSONSchema) GetPattern() string {
- if x != nil {
- return x.xxx_hidden_Pattern
- }
- return ""
- }
- func (x *JSONSchema) GetMaxItems() uint64 {
- if x != nil {
- return x.xxx_hidden_MaxItems
- }
- return 0
- }
- func (x *JSONSchema) GetMinItems() uint64 {
- if x != nil {
- return x.xxx_hidden_MinItems
- }
- return 0
- }
- func (x *JSONSchema) GetUniqueItems() bool {
- if x != nil {
- return x.xxx_hidden_UniqueItems
- }
- return false
- }
- func (x *JSONSchema) GetMaxProperties() uint64 {
- if x != nil {
- return x.xxx_hidden_MaxProperties
- }
- return 0
- }
- func (x *JSONSchema) GetMinProperties() uint64 {
- if x != nil {
- return x.xxx_hidden_MinProperties
- }
- return 0
- }
- func (x *JSONSchema) GetRequired() []string {
- if x != nil {
- return x.xxx_hidden_Required
- }
- return nil
- }
- func (x *JSONSchema) GetArray() []string {
- if x != nil {
- return x.xxx_hidden_Array
- }
- return nil
- }
- func (x *JSONSchema) GetType() []JSONSchema_JSONSchemaSimpleTypes {
- if x != nil {
- return x.xxx_hidden_Type
- }
- return nil
- }
- func (x *JSONSchema) GetFormat() string {
- if x != nil {
- return x.xxx_hidden_Format
- }
- return ""
- }
- func (x *JSONSchema) GetEnum() []string {
- if x != nil {
- return x.xxx_hidden_Enum
- }
- return nil
- }
- func (x *JSONSchema) GetFieldConfiguration() *JSONSchema_FieldConfiguration {
- if x != nil {
- return x.xxx_hidden_FieldConfiguration
- }
- return nil
- }
- func (x *JSONSchema) GetExtensions() map[string]*structpb.Value {
- if x != nil {
- return x.xxx_hidden_Extensions
- }
- return nil
- }
- func (x *JSONSchema) SetRef(v string) {
- x.xxx_hidden_Ref = v
- }
- func (x *JSONSchema) SetTitle(v string) {
- x.xxx_hidden_Title = v
- }
- func (x *JSONSchema) SetDescription(v string) {
- x.xxx_hidden_Description = v
- }
- func (x *JSONSchema) SetDefault(v string) {
- x.xxx_hidden_Default = v
- }
- func (x *JSONSchema) SetReadOnly(v bool) {
- x.xxx_hidden_ReadOnly = v
- }
- func (x *JSONSchema) SetExample(v string) {
- x.xxx_hidden_Example = v
- }
- func (x *JSONSchema) SetMultipleOf(v float64) {
- x.xxx_hidden_MultipleOf = v
- }
- func (x *JSONSchema) SetMaximum(v float64) {
- x.xxx_hidden_Maximum = v
- }
- func (x *JSONSchema) SetExclusiveMaximum(v bool) {
- x.xxx_hidden_ExclusiveMaximum = v
- }
- func (x *JSONSchema) SetMinimum(v float64) {
- x.xxx_hidden_Minimum = v
- }
- func (x *JSONSchema) SetExclusiveMinimum(v bool) {
- x.xxx_hidden_ExclusiveMinimum = v
- }
- func (x *JSONSchema) SetMaxLength(v uint64) {
- x.xxx_hidden_MaxLength = v
- }
- func (x *JSONSchema) SetMinLength(v uint64) {
- x.xxx_hidden_MinLength = v
- }
- func (x *JSONSchema) SetPattern(v string) {
- x.xxx_hidden_Pattern = v
- }
- func (x *JSONSchema) SetMaxItems(v uint64) {
- x.xxx_hidden_MaxItems = v
- }
- func (x *JSONSchema) SetMinItems(v uint64) {
- x.xxx_hidden_MinItems = v
- }
- func (x *JSONSchema) SetUniqueItems(v bool) {
- x.xxx_hidden_UniqueItems = v
- }
- func (x *JSONSchema) SetMaxProperties(v uint64) {
- x.xxx_hidden_MaxProperties = v
- }
- func (x *JSONSchema) SetMinProperties(v uint64) {
- x.xxx_hidden_MinProperties = v
- }
- func (x *JSONSchema) SetRequired(v []string) {
- x.xxx_hidden_Required = v
- }
- func (x *JSONSchema) SetArray(v []string) {
- x.xxx_hidden_Array = v
- }
- func (x *JSONSchema) SetType(v []JSONSchema_JSONSchemaSimpleTypes) {
- x.xxx_hidden_Type = v
- }
- func (x *JSONSchema) SetFormat(v string) {
- x.xxx_hidden_Format = v
- }
- func (x *JSONSchema) SetEnum(v []string) {
- x.xxx_hidden_Enum = v
- }
- func (x *JSONSchema) SetFieldConfiguration(v *JSONSchema_FieldConfiguration) {
- x.xxx_hidden_FieldConfiguration = v
- }
- func (x *JSONSchema) SetExtensions(v map[string]*structpb.Value) {
- x.xxx_hidden_Extensions = v
- }
- func (x *JSONSchema) HasFieldConfiguration() bool {
- if x == nil {
- return false
- }
- return x.xxx_hidden_FieldConfiguration != nil
- }
- func (x *JSONSchema) ClearFieldConfiguration() {
- x.xxx_hidden_FieldConfiguration = nil
- }
- type JSONSchema_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- // Ref is used to define an external reference to include in the message.
- // This could be a fully qualified proto message reference, and that type must
- // be imported into the protofile. If no message is identified, the Ref will
- // be used verbatim in the output.
- // For example:
- //
- // `ref: ".google.protobuf.Timestamp"`.
- Ref string
- // The title of the schema.
- Title string
- // A short description of the schema.
- Description string
- Default string
- ReadOnly bool
- // A free-form property to include a JSON example of this field. This is copied
- // verbatim to the output swagger.json. Quotes must be escaped.
- // 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
- Example string
- MultipleOf float64
- // Maximum represents an inclusive upper limit for a numeric instance. The
- // value of MUST be a number,
- Maximum float64
- ExclusiveMaximum bool
- // minimum represents an inclusive lower limit for a numeric instance. The
- // value of MUST be a number,
- Minimum float64
- ExclusiveMinimum bool
- MaxLength uint64
- MinLength uint64
- Pattern string
- MaxItems uint64
- MinItems uint64
- UniqueItems bool
- MaxProperties uint64
- MinProperties uint64
- Required []string
- // Items in 'array' must be unique.
- Array []string
- Type []JSONSchema_JSONSchemaSimpleTypes
- // `Format`
- Format string
- // Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
- Enum []string
- // Additional field level properties used when generating the OpenAPI v2 file.
- FieldConfiguration *JSONSchema_FieldConfiguration
- // Custom properties that start with "x-" such as "x-foo" used to describe
- // extra functionality that is not covered by the standard OpenAPI Specification.
- // See: https://swagger.io/docs/specification/2-0/swagger-extensions/
- Extensions map[string]*structpb.Value
- }
- func (b0 JSONSchema_builder) Build() *JSONSchema {
- m0 := &JSONSchema{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_Ref = b.Ref
- x.xxx_hidden_Title = b.Title
- x.xxx_hidden_Description = b.Description
- x.xxx_hidden_Default = b.Default
- x.xxx_hidden_ReadOnly = b.ReadOnly
- x.xxx_hidden_Example = b.Example
- x.xxx_hidden_MultipleOf = b.MultipleOf
- x.xxx_hidden_Maximum = b.Maximum
- x.xxx_hidden_ExclusiveMaximum = b.ExclusiveMaximum
- x.xxx_hidden_Minimum = b.Minimum
- x.xxx_hidden_ExclusiveMinimum = b.ExclusiveMinimum
- x.xxx_hidden_MaxLength = b.MaxLength
- x.xxx_hidden_MinLength = b.MinLength
- x.xxx_hidden_Pattern = b.Pattern
- x.xxx_hidden_MaxItems = b.MaxItems
- x.xxx_hidden_MinItems = b.MinItems
- x.xxx_hidden_UniqueItems = b.UniqueItems
- x.xxx_hidden_MaxProperties = b.MaxProperties
- x.xxx_hidden_MinProperties = b.MinProperties
- x.xxx_hidden_Required = b.Required
- x.xxx_hidden_Array = b.Array
- x.xxx_hidden_Type = b.Type
- x.xxx_hidden_Format = b.Format
- x.xxx_hidden_Enum = b.Enum
- x.xxx_hidden_FieldConfiguration = b.FieldConfiguration
- x.xxx_hidden_Extensions = b.Extensions
- return m0
- }
- // `Tag` is a representation of OpenAPI v2 specification's Tag object.
- //
- // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#tagObject
- type Tag struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- xxx_hidden_Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- xxx_hidden_ExternalDocs *ExternalDocumentation `protobuf:"bytes,3,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
- 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"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Tag) Reset() {
- *x = Tag{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Tag) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Tag) ProtoMessage() {}
- func (x *Tag) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[13]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *Tag) GetName() string {
- if x != nil {
- return x.xxx_hidden_Name
- }
- return ""
- }
- func (x *Tag) GetDescription() string {
- if x != nil {
- return x.xxx_hidden_Description
- }
- return ""
- }
- func (x *Tag) GetExternalDocs() *ExternalDocumentation {
- if x != nil {
- return x.xxx_hidden_ExternalDocs
- }
- return nil
- }
- func (x *Tag) GetExtensions() map[string]*structpb.Value {
- if x != nil {
- return x.xxx_hidden_Extensions
- }
- return nil
- }
- func (x *Tag) SetName(v string) {
- x.xxx_hidden_Name = v
- }
- func (x *Tag) SetDescription(v string) {
- x.xxx_hidden_Description = v
- }
- func (x *Tag) SetExternalDocs(v *ExternalDocumentation) {
- x.xxx_hidden_ExternalDocs = v
- }
- func (x *Tag) SetExtensions(v map[string]*structpb.Value) {
- x.xxx_hidden_Extensions = v
- }
- func (x *Tag) HasExternalDocs() bool {
- if x == nil {
- return false
- }
- return x.xxx_hidden_ExternalDocs != nil
- }
- func (x *Tag) ClearExternalDocs() {
- x.xxx_hidden_ExternalDocs = nil
- }
- type Tag_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- // The name of the tag. Use it to allow override of the name of a
- // global Tag object, then use that name to reference the tag throughout the
- // OpenAPI file.
- Name string
- // A short description for the tag. GFM syntax can be used for rich text
- // representation.
- Description string
- // Additional external documentation for this tag.
- ExternalDocs *ExternalDocumentation
- // Custom properties that start with "x-" such as "x-foo" used to describe
- // extra functionality that is not covered by the standard OpenAPI Specification.
- // See: https://swagger.io/docs/specification/2-0/swagger-extensions/
- Extensions map[string]*structpb.Value
- }
- func (b0 Tag_builder) Build() *Tag {
- m0 := &Tag{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_Name = b.Name
- x.xxx_hidden_Description = b.Description
- x.xxx_hidden_ExternalDocs = b.ExternalDocs
- x.xxx_hidden_Extensions = b.Extensions
- return m0
- }
- // `SecurityDefinitions` is a representation of OpenAPI v2 specification's
- // Security Definitions object.
- //
- // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securityDefinitionsObject
- //
- // A declaration of the security schemes available to be used in the
- // specification. This does not enforce the security schemes on the operations
- // and only serves to provide the relevant details for each scheme.
- type SecurityDefinitions struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- 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"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SecurityDefinitions) Reset() {
- *x = SecurityDefinitions{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SecurityDefinitions) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SecurityDefinitions) ProtoMessage() {}
- func (x *SecurityDefinitions) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[14]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *SecurityDefinitions) GetSecurity() map[string]*SecurityScheme {
- if x != nil {
- return x.xxx_hidden_Security
- }
- return nil
- }
- func (x *SecurityDefinitions) SetSecurity(v map[string]*SecurityScheme) {
- x.xxx_hidden_Security = v
- }
- type SecurityDefinitions_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- // A single security scheme definition, mapping a "name" to the scheme it
- // defines.
- Security map[string]*SecurityScheme
- }
- func (b0 SecurityDefinitions_builder) Build() *SecurityDefinitions {
- m0 := &SecurityDefinitions{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_Security = b.Security
- return m0
- }
- // `SecurityScheme` is a representation of OpenAPI v2 specification's
- // Security Scheme object.
- //
- // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securitySchemeObject
- //
- // Allows the definition of a security scheme that can be used by the
- // operations. Supported schemes are basic authentication, an API key (either as
- // a header or as a query parameter) and OAuth2's common flows (implicit,
- // password, application and access code).
- type SecurityScheme struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- xxx_hidden_Type SecurityScheme_Type `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme_Type" json:"type,omitempty"`
- xxx_hidden_Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- xxx_hidden_Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
- xxx_hidden_In SecurityScheme_In `protobuf:"varint,4,opt,name=in,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme_In" json:"in,omitempty"`
- xxx_hidden_Flow SecurityScheme_Flow `protobuf:"varint,5,opt,name=flow,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme_Flow" json:"flow,omitempty"`
- xxx_hidden_AuthorizationUrl string `protobuf:"bytes,6,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"`
- xxx_hidden_TokenUrl string `protobuf:"bytes,7,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
- xxx_hidden_Scopes *Scopes `protobuf:"bytes,8,opt,name=scopes,proto3" json:"scopes,omitempty"`
- 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"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SecurityScheme) Reset() {
- *x = SecurityScheme{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SecurityScheme) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SecurityScheme) ProtoMessage() {}
- func (x *SecurityScheme) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[15]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *SecurityScheme) GetType() SecurityScheme_Type {
- if x != nil {
- return x.xxx_hidden_Type
- }
- return SecurityScheme_TYPE_INVALID
- }
- func (x *SecurityScheme) GetDescription() string {
- if x != nil {
- return x.xxx_hidden_Description
- }
- return ""
- }
- func (x *SecurityScheme) GetName() string {
- if x != nil {
- return x.xxx_hidden_Name
- }
- return ""
- }
- func (x *SecurityScheme) GetIn() SecurityScheme_In {
- if x != nil {
- return x.xxx_hidden_In
- }
- return SecurityScheme_IN_INVALID
- }
- func (x *SecurityScheme) GetFlow() SecurityScheme_Flow {
- if x != nil {
- return x.xxx_hidden_Flow
- }
- return SecurityScheme_FLOW_INVALID
- }
- func (x *SecurityScheme) GetAuthorizationUrl() string {
- if x != nil {
- return x.xxx_hidden_AuthorizationUrl
- }
- return ""
- }
- func (x *SecurityScheme) GetTokenUrl() string {
- if x != nil {
- return x.xxx_hidden_TokenUrl
- }
- return ""
- }
- func (x *SecurityScheme) GetScopes() *Scopes {
- if x != nil {
- return x.xxx_hidden_Scopes
- }
- return nil
- }
- func (x *SecurityScheme) GetExtensions() map[string]*structpb.Value {
- if x != nil {
- return x.xxx_hidden_Extensions
- }
- return nil
- }
- func (x *SecurityScheme) SetType(v SecurityScheme_Type) {
- x.xxx_hidden_Type = v
- }
- func (x *SecurityScheme) SetDescription(v string) {
- x.xxx_hidden_Description = v
- }
- func (x *SecurityScheme) SetName(v string) {
- x.xxx_hidden_Name = v
- }
- func (x *SecurityScheme) SetIn(v SecurityScheme_In) {
- x.xxx_hidden_In = v
- }
- func (x *SecurityScheme) SetFlow(v SecurityScheme_Flow) {
- x.xxx_hidden_Flow = v
- }
- func (x *SecurityScheme) SetAuthorizationUrl(v string) {
- x.xxx_hidden_AuthorizationUrl = v
- }
- func (x *SecurityScheme) SetTokenUrl(v string) {
- x.xxx_hidden_TokenUrl = v
- }
- func (x *SecurityScheme) SetScopes(v *Scopes) {
- x.xxx_hidden_Scopes = v
- }
- func (x *SecurityScheme) SetExtensions(v map[string]*structpb.Value) {
- x.xxx_hidden_Extensions = v
- }
- func (x *SecurityScheme) HasScopes() bool {
- if x == nil {
- return false
- }
- return x.xxx_hidden_Scopes != nil
- }
- func (x *SecurityScheme) ClearScopes() {
- x.xxx_hidden_Scopes = nil
- }
- type SecurityScheme_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- // The type of the security scheme. Valid values are "basic",
- // "apiKey" or "oauth2".
- Type SecurityScheme_Type
- // A short description for security scheme.
- Description string
- // The name of the header or query parameter to be used.
- // Valid for apiKey.
- Name string
- // The location of the API key. Valid values are "query" or
- // "header".
- // Valid for apiKey.
- In SecurityScheme_In
- // The flow used by the OAuth2 security scheme. Valid values are
- // "implicit", "password", "application" or "accessCode".
- // Valid for oauth2.
- Flow SecurityScheme_Flow
- // The authorization URL to be used for this flow. This SHOULD be in
- // the form of a URL.
- // Valid for oauth2/implicit and oauth2/accessCode.
- AuthorizationUrl string
- // The token URL to be used for this flow. This SHOULD be in the
- // form of a URL.
- // Valid for oauth2/password, oauth2/application and oauth2/accessCode.
- TokenUrl string
- // The available scopes for the OAuth2 security scheme.
- // Valid for oauth2.
- Scopes *Scopes
- // Custom properties that start with "x-" such as "x-foo" used to describe
- // extra functionality that is not covered by the standard OpenAPI Specification.
- // See: https://swagger.io/docs/specification/2-0/swagger-extensions/
- Extensions map[string]*structpb.Value
- }
- func (b0 SecurityScheme_builder) Build() *SecurityScheme {
- m0 := &SecurityScheme{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_Type = b.Type
- x.xxx_hidden_Description = b.Description
- x.xxx_hidden_Name = b.Name
- x.xxx_hidden_In = b.In
- x.xxx_hidden_Flow = b.Flow
- x.xxx_hidden_AuthorizationUrl = b.AuthorizationUrl
- x.xxx_hidden_TokenUrl = b.TokenUrl
- x.xxx_hidden_Scopes = b.Scopes
- x.xxx_hidden_Extensions = b.Extensions
- return m0
- }
- // `SecurityRequirement` is a representation of OpenAPI v2 specification's
- // Security Requirement object.
- //
- // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securityRequirementObject
- //
- // Lists the required security schemes to execute this operation. The object can
- // have multiple security schemes declared in it which are all required (that
- // is, there is a logical AND between the schemes).
- //
- // The name used for each property MUST correspond to a security scheme
- // declared in the Security Definitions.
- type SecurityRequirement struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- 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"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SecurityRequirement) Reset() {
- *x = SecurityRequirement{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SecurityRequirement) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SecurityRequirement) ProtoMessage() {}
- func (x *SecurityRequirement) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[16]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *SecurityRequirement) GetSecurityRequirement() map[string]*SecurityRequirement_SecurityRequirementValue {
- if x != nil {
- return x.xxx_hidden_SecurityRequirement
- }
- return nil
- }
- func (x *SecurityRequirement) SetSecurityRequirement(v map[string]*SecurityRequirement_SecurityRequirementValue) {
- x.xxx_hidden_SecurityRequirement = v
- }
- type SecurityRequirement_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- // Each name must correspond to a security scheme which is declared in
- // the Security Definitions. If the security scheme is of type "oauth2",
- // then the value is a list of scope names required for the execution.
- // For other security scheme types, the array MUST be empty.
- SecurityRequirement map[string]*SecurityRequirement_SecurityRequirementValue
- }
- func (b0 SecurityRequirement_builder) Build() *SecurityRequirement {
- m0 := &SecurityRequirement{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_SecurityRequirement = b.SecurityRequirement
- return m0
- }
- // `Scopes` is a representation of OpenAPI v2 specification's Scopes object.
- //
- // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#scopesObject
- //
- // Lists the available scopes for an OAuth2 security scheme.
- type Scopes struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- 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"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Scopes) Reset() {
- *x = Scopes{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Scopes) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Scopes) ProtoMessage() {}
- func (x *Scopes) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[17]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *Scopes) GetScope() map[string]string {
- if x != nil {
- return x.xxx_hidden_Scope
- }
- return nil
- }
- func (x *Scopes) SetScope(v map[string]string) {
- x.xxx_hidden_Scope = v
- }
- type Scopes_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- // Maps between a name of a scope to a short description of it (as the value
- // of the property).
- Scope map[string]string
- }
- func (b0 Scopes_builder) Build() *Scopes {
- m0 := &Scopes{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_Scope = b.Scope
- return m0
- }
- // 'FieldConfiguration' provides additional field level properties used when generating the OpenAPI v2 file.
- // These properties are not defined by OpenAPIv2, but they are used to control the generation.
- type JSONSchema_FieldConfiguration struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- xxx_hidden_PathParamName string `protobuf:"bytes,47,opt,name=path_param_name,json=pathParamName,proto3" json:"path_param_name,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *JSONSchema_FieldConfiguration) Reset() {
- *x = JSONSchema_FieldConfiguration{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[27]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *JSONSchema_FieldConfiguration) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*JSONSchema_FieldConfiguration) ProtoMessage() {}
- func (x *JSONSchema_FieldConfiguration) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[27]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *JSONSchema_FieldConfiguration) GetPathParamName() string {
- if x != nil {
- return x.xxx_hidden_PathParamName
- }
- return ""
- }
- func (x *JSONSchema_FieldConfiguration) SetPathParamName(v string) {
- x.xxx_hidden_PathParamName = v
- }
- type JSONSchema_FieldConfiguration_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- // Alternative parameter name when used as path parameter. If set, this will
- // be used as the complete parameter name when this field is used as a path
- // parameter. Use this to avoid having auto generated path parameter names
- // for overlapping paths.
- PathParamName string
- }
- func (b0 JSONSchema_FieldConfiguration_builder) Build() *JSONSchema_FieldConfiguration {
- m0 := &JSONSchema_FieldConfiguration{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_PathParamName = b.PathParamName
- return m0
- }
- // If the security scheme is of type "oauth2", then the value is a list of
- // scope names required for the execution. For other security scheme types,
- // the array MUST be empty.
- type SecurityRequirement_SecurityRequirementValue struct {
- state protoimpl.MessageState `protogen:"opaque.v1"`
- xxx_hidden_Scope []string `protobuf:"bytes,1,rep,name=scope,proto3" json:"scope,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SecurityRequirement_SecurityRequirementValue) Reset() {
- *x = SecurityRequirement_SecurityRequirementValue{}
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[32]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SecurityRequirement_SecurityRequirementValue) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SecurityRequirement_SecurityRequirementValue) ProtoMessage() {}
- func (x *SecurityRequirement_SecurityRequirementValue) ProtoReflect() protoreflect.Message {
- mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[32]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- func (x *SecurityRequirement_SecurityRequirementValue) GetScope() []string {
- if x != nil {
- return x.xxx_hidden_Scope
- }
- return nil
- }
- func (x *SecurityRequirement_SecurityRequirementValue) SetScope(v []string) {
- x.xxx_hidden_Scope = v
- }
- type SecurityRequirement_SecurityRequirementValue_builder struct {
- _ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
- Scope []string
- }
- func (b0 SecurityRequirement_SecurityRequirementValue_builder) Build() *SecurityRequirement_SecurityRequirementValue {
- m0 := &SecurityRequirement_SecurityRequirementValue{}
- b, x := &b0, m0
- _, _ = b, x
- x.xxx_hidden_Scope = b.Scope
- return m0
- }
- var File_protoc_gen_openapiv2_options_openapiv2_proto protoreflect.FileDescriptor
- var file_protoc_gen_openapiv2_options_openapiv2_proto_rawDesc = []byte{
- 0x0a, 0x2c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65,
- 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6f,
- 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x29,
- 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76,
- 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63,
- 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb3, 0x08, 0x0a, 0x07, 0x53, 0x77, 0x61, 0x67,
- 0x67, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x12, 0x43, 0x0a,
- 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x72,
- 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e,
- 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e,
- 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x70,
- 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x73, 0x65, 0x50,
- 0x61, 0x74, 0x68, 0x12, 0x4b, 0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x73, 0x18, 0x05,
- 0x20, 0x03, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65,
- 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f,
- 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x52, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x73,
- 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03,
- 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08,
- 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08,
- 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x73, 0x12, 0x5f, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x72,
- 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e,
- 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x2e,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09,
- 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x12, 0x71, 0x0a, 0x14, 0x73, 0x65, 0x63,
- 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67,
- 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65,
- 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x44, 0x65, 0x66, 0x69,
- 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x13, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
- 0x79, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5a, 0x0a, 0x08,
- 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e,
- 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69,
- 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72,
- 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08,
- 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x12, 0x42, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73,
- 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61,
- 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e,
- 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x65, 0x0a, 0x0d,
- 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x6f, 0x63, 0x73, 0x18, 0x0e, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77,
- 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70,
- 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
- 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44,
- 0x6f, 0x63, 0x73, 0x12, 0x62, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
- 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67,
- 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65,
- 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x2e, 0x45, 0x78, 0x74, 0x65,
- 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74,
- 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x71, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x49, 0x0a, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x72, 0x70,
- 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
- 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52,
- 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x55, 0x0a, 0x0f, 0x45, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
- 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
- 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
- 0x01, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x22, 0xd6, 0x07,
- 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74,
- 0x61, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12,
- 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73,
- 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
- 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x65, 0x0a, 0x0d, 0x65,
- 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x6f, 0x63, 0x73, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61,
- 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65,
- 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x45,
- 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f,
- 0x63, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
- 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65,
- 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65,
- 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x73, 0x18, 0x07, 0x20,
- 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x73, 0x12, 0x61, 0x0a,
- 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x43, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61,
- 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x65,
- 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73,
- 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73,
- 0x12, 0x4b, 0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28,
- 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e,
- 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x63,
- 0x68, 0x65, 0x6d, 0x65, 0x52, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x73, 0x12, 0x1e, 0x0a,
- 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28,
- 0x08, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x5a, 0x0a,
- 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x3e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70,
- 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75,
- 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52,
- 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x12, 0x64, 0x0a, 0x0a, 0x65, 0x78, 0x74,
- 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x44, 0x2e,
- 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76,
- 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e,
- 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12,
- 0x55, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x0e, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77,
- 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70,
- 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
- 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61,
- 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x71, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x49, 0x0a, 0x05, 0x76, 0x61,
- 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x72, 0x70, 0x63,
- 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f,
- 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05,
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x55, 0x0a, 0x0f, 0x45, 0x78, 0x74,
- 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
- 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c,
- 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
- 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x22, 0x62, 0x0a, 0x0a, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65,
- 0x74, 0x65, 0x72, 0x73, 0x12, 0x54, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18,
- 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74,
- 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f,
- 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65,
- 0x72, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x22, 0xa3, 0x02, 0x0a, 0x0f, 0x48,
- 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x12,
- 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x0e, 0x32, 0x3f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61,
- 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65,
- 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x48,
- 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x2e, 0x54,
- 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72,
- 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61,
- 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0x45, 0x0a,
- 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
- 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0a,
- 0x0a, 0x06, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e,
- 0x54, 0x45, 0x47, 0x45, 0x52, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45,
- 0x41, 0x4e, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08,
- 0x22, 0xd8, 0x01, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x64,
- 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a,
- 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70,
- 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x66,
- 0x61, 0x75, 0x6c, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61,
- 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x0d,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x4a, 0x04, 0x08,
- 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x4a,
- 0x04, 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x4a, 0x04, 0x08, 0x0a, 0x10,
- 0x0b, 0x4a, 0x04, 0x08, 0x0b, 0x10, 0x0c, 0x4a, 0x04, 0x08, 0x0c, 0x10, 0x0d, 0x4a, 0x04, 0x08,
- 0x0e, 0x10, 0x0f, 0x4a, 0x04, 0x08, 0x0f, 0x10, 0x10, 0x4a, 0x04, 0x08, 0x10, 0x10, 0x11, 0x4a,
- 0x04, 0x08, 0x11, 0x10, 0x12, 0x4a, 0x04, 0x08, 0x12, 0x10, 0x13, 0x22, 0x9a, 0x05, 0x0a, 0x08,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63,
- 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
- 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x06, 0x73, 0x63,
- 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x72, 0x70,
- 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
- 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x06, 0x73,
- 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x5a, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73,
- 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61,
- 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e,
- 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64,
- 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
- 0x73, 0x12, 0x5d, 0x0a, 0x08, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77,
- 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70,
- 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65,
- 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73,
- 0x12, 0x63, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65,
- 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f,
- 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
- 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e,
- 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x6d, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73,
- 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x47, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61,
- 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e,
- 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3b, 0x0a, 0x0d, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73,
- 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
- 0x01, 0x1a, 0x55, 0x0a, 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45,
- 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd6, 0x03, 0x0a, 0x04, 0x49, 0x6e, 0x66,
- 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
- 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65,
- 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x65, 0x72,
- 0x6d, 0x73, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76,
- 0x69, 0x63, 0x65, 0x12, 0x4c, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65,
- 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f,
- 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63,
- 0x74, 0x12, 0x4c, 0x0a, 0x07, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61,
- 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65,
- 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4c,
- 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x52, 0x07, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x12,
- 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x5f, 0x0a, 0x0a, 0x65, 0x78, 0x74,
- 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e,
- 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76,
- 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x45,
- 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a,
- 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x55, 0x0a, 0x0f, 0x45, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
- 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
- 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
- 0x01, 0x22, 0x45, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75,
- 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x2f, 0x0a, 0x07, 0x4c, 0x69, 0x63, 0x65,
- 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x4b, 0x0a, 0x15, 0x45, 0x78, 0x74,
- 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0xaa, 0x02, 0x0a, 0x06, 0x53, 0x63, 0x68, 0x65, 0x6d,
- 0x61, 0x12, 0x56, 0x0a, 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61,
- 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e,
- 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x2e, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x0a, 0x6a,
- 0x73, 0x6f, 0x6e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x69, 0x73,
- 0x63, 0x72, 0x69, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0d, 0x64, 0x69, 0x73, 0x63, 0x72, 0x69, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x12,
- 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x65, 0x0a, 0x0d,
- 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x6f, 0x63, 0x73, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77,
- 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70,
- 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
- 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44,
- 0x6f, 0x63, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x06,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x4a, 0x04, 0x08,
- 0x04, 0x10, 0x05, 0x22, 0xe8, 0x03, 0x0a, 0x0a, 0x45, 0x6e, 0x75, 0x6d, 0x53, 0x63, 0x68, 0x65,
- 0x6d, 0x61, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x14,
- 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74,
- 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
- 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x65, 0x0a,
- 0x0d, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x6f, 0x63, 0x73, 0x18, 0x06,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65,
- 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f,
- 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
- 0x44, 0x6f, 0x63, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x18,
- 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x10,
- 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x72, 0x65, 0x66,
- 0x12, 0x65, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65,
- 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f,
- 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x45, 0x78, 0x74, 0x65,
- 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74,
- 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x55, 0x0a, 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e,
- 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
- 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05,
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61,
- 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd7,
- 0x0a, 0x0a, 0x0a, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x10, 0x0a,
- 0x03, 0x72, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12,
- 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
- 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63,
- 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75,
- 0x6c, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c,
- 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x08,
- 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x18,
- 0x0a, 0x07, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x07, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x75, 0x6c, 0x74,
- 0x69, 0x70, 0x6c, 0x65, 0x5f, 0x6f, 0x66, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x6d,
- 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x4f, 0x66, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x78,
- 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x69,
- 0x6d, 0x75, 0x6d, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65,
- 0x5f, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10,
- 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d,
- 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28,
- 0x01, 0x52, 0x07, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x78,
- 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x18,
- 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65,
- 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x6c,
- 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6d, 0x61, 0x78,
- 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x69, 0x6e, 0x5f, 0x6c, 0x65,
- 0x6e, 0x67, 0x74, 0x68, 0x18, 0x10, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6d, 0x69, 0x6e, 0x4c,
- 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e,
- 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12,
- 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x14, 0x20, 0x01,
- 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x1b, 0x0a, 0x09,
- 0x6d, 0x69, 0x6e, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x04, 0x52,
- 0x08, 0x6d, 0x69, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x6e, 0x69,
- 0x71, 0x75, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x08, 0x52,
- 0x0b, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x25, 0x0a, 0x0e,
- 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x18,
- 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
- 0x69, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65,
- 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x19, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x6d, 0x69, 0x6e,
- 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65,
- 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x1a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65,
- 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x72, 0x72, 0x61, 0x79, 0x18,
- 0x22, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x61, 0x72, 0x72, 0x61, 0x79, 0x12, 0x5f, 0x0a, 0x04,
- 0x74, 0x79, 0x70, 0x65, 0x18, 0x23, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x4b, 0x2e, 0x67, 0x72, 0x70,
- 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
- 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63, 0x68, 0x65, 0x6d,
- 0x61, 0x2e, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x69, 0x6d, 0x70,
- 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a,
- 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x24, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66,
- 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x2e, 0x20,
- 0x03, 0x28, 0x09, 0x52, 0x04, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x7a, 0x0a, 0x13, 0x66, 0x69, 0x65,
- 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67,
- 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65,
- 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x2e, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x46,
- 0x69, 0x65, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x52, 0x12, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x65, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
- 0x6f, 0x6e, 0x73, 0x18, 0x30, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x67, 0x72, 0x70, 0x63,
- 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f,
- 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
- 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
- 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3c, 0x0a, 0x12,
- 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d,
- 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x2f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x61, 0x74,
- 0x68, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x55, 0x0a, 0x0f, 0x45, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
- 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
- 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
- 0x01, 0x22, 0x77, 0x0a, 0x15, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53,
- 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e,
- 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x52, 0x52, 0x41, 0x59,
- 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x02, 0x12,
- 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x45, 0x52, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04,
- 0x4e, 0x55, 0x4c, 0x4c, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52,
- 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x06, 0x12, 0x0a,
- 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02,
- 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x12,
- 0x10, 0x13, 0x4a, 0x04, 0x08, 0x13, 0x10, 0x14, 0x4a, 0x04, 0x08, 0x17, 0x10, 0x18, 0x4a, 0x04,
- 0x08, 0x1b, 0x10, 0x1c, 0x4a, 0x04, 0x08, 0x1c, 0x10, 0x1d, 0x4a, 0x04, 0x08, 0x1d, 0x10, 0x1e,
- 0x4a, 0x04, 0x08, 0x1e, 0x10, 0x22, 0x4a, 0x04, 0x08, 0x25, 0x10, 0x2a, 0x4a, 0x04, 0x08, 0x2a,
- 0x10, 0x2b, 0x4a, 0x04, 0x08, 0x2b, 0x10, 0x2e, 0x22, 0xd9, 0x02, 0x0a, 0x03, 0x54, 0x61, 0x67,
- 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
- 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x65, 0x0a, 0x0d, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e,
- 0x61, 0x6c, 0x5f, 0x64, 0x6f, 0x63, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e,
- 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76,
- 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e,
- 0x61, 0x6c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
- 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x63, 0x73, 0x12, 0x5e, 0x0a,
- 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e,
- 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x54, 0x61,
- 0x67, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72,
- 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x55, 0x0a,
- 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
- 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
- 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x3a, 0x02, 0x38, 0x01, 0x22, 0xf7, 0x01, 0x0a, 0x13, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
- 0x79, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x68, 0x0a, 0x08,
- 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4c,
- 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69,
- 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72,
- 0x69, 0x74, 0x79, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53,
- 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x73, 0x65,
- 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x1a, 0x76, 0x0a, 0x0d, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69,
- 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x4f, 0x0a, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e,
- 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67,
- 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68,
- 0x65, 0x6d, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xff,
- 0x06, 0x0a, 0x0e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d,
- 0x65, 0x12, 0x52, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
- 0x3e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70,
- 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75,
- 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52,
- 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63,
- 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x02, 0x69,
- 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67,
- 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65,
- 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65,
- 0x6d, 0x65, 0x2e, 0x49, 0x6e, 0x52, 0x02, 0x69, 0x6e, 0x12, 0x52, 0x0a, 0x04, 0x66, 0x6c, 0x6f,
- 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67,
- 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65,
- 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65,
- 0x6d, 0x65, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x2b, 0x0a,
- 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75,
- 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72,
- 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x72, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f,
- 0x6b, 0x65, 0x6e, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74,
- 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x72, 0x6c, 0x12, 0x49, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65,
- 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67,
- 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65,
- 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70,
- 0x65, 0x73, 0x12, 0x69, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
- 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x49, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61,
- 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e,
- 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d,
- 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72,
- 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x55, 0x0a,
- 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
- 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
- 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4b, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c,
- 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x0e,
- 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x10,
- 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x02,
- 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x41, 0x55, 0x54, 0x48, 0x32, 0x10,
- 0x03, 0x22, 0x31, 0x0a, 0x02, 0x49, 0x6e, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x4e, 0x5f, 0x49, 0x4e,
- 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x5f, 0x51, 0x55,
- 0x45, 0x52, 0x59, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x4e, 0x5f, 0x48, 0x45, 0x41, 0x44,
- 0x45, 0x52, 0x10, 0x02, 0x22, 0x6a, 0x0a, 0x04, 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x10, 0x0a, 0x0c,
- 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x11,
- 0x0a, 0x0d, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x49, 0x4d, 0x50, 0x4c, 0x49, 0x43, 0x49, 0x54, 0x10,
- 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x57, 0x4f,
- 0x52, 0x44, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x41, 0x50, 0x50,
- 0x4c, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x4c,
- 0x4f, 0x57, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x04,
- 0x22, 0xf6, 0x02, 0x0a, 0x13, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71,
- 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x8a, 0x01, 0x0a, 0x14, 0x73, 0x65, 0x63,
- 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e,
- 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x57, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67,
- 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65,
- 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75,
- 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
- 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79,
- 0x52, 0x13, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
- 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x1a, 0x30, 0x0a, 0x18, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
- 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75,
- 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
- 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x1a, 0x9f, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x63, 0x75,
- 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x45,
- 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x6d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x57, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74,
- 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f,
- 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
- 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65,
- 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05,
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x96, 0x01, 0x0a, 0x06, 0x53, 0x63,
- 0x6f, 0x70, 0x65, 0x73, 0x12, 0x52, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77,
- 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70,
- 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
- 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x45, 0x6e, 0x74, 0x72,
- 0x79, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x1a, 0x38, 0x0a, 0x0a, 0x53, 0x63, 0x6f, 0x70,
- 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
- 0x38, 0x01, 0x2a, 0x3b, 0x0a, 0x06, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x0b, 0x0a, 0x07,
- 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x54,
- 0x50, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x48, 0x54, 0x54, 0x50, 0x53, 0x10, 0x02, 0x12, 0x06,
- 0x0a, 0x02, 0x57, 0x53, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x57, 0x53, 0x53, 0x10, 0x04, 0x42,
- 0x48, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72,
- 0x70, 0x63, 0x2d, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x67, 0x72, 0x70,
- 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76,
- 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x33,
- }
- var file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
- var file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes = make([]protoimpl.MessageInfo, 35)
- var file_protoc_gen_openapiv2_options_openapiv2_proto_goTypes = []any{
- (Scheme)(0), // 0: grpc.gateway.protoc_gen_openapiv2.options.Scheme
- (HeaderParameter_Type)(0), // 1: grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter.Type
- (JSONSchema_JSONSchemaSimpleTypes)(0), // 2: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes
- (SecurityScheme_Type)(0), // 3: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type
- (SecurityScheme_In)(0), // 4: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In
- (SecurityScheme_Flow)(0), // 5: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow
- (*Swagger)(nil), // 6: grpc.gateway.protoc_gen_openapiv2.options.Swagger
- (*Operation)(nil), // 7: grpc.gateway.protoc_gen_openapiv2.options.Operation
- (*Parameters)(nil), // 8: grpc.gateway.protoc_gen_openapiv2.options.Parameters
- (*HeaderParameter)(nil), // 9: grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter
- (*Header)(nil), // 10: grpc.gateway.protoc_gen_openapiv2.options.Header
- (*Response)(nil), // 11: grpc.gateway.protoc_gen_openapiv2.options.Response
- (*Info)(nil), // 12: grpc.gateway.protoc_gen_openapiv2.options.Info
- (*Contact)(nil), // 13: grpc.gateway.protoc_gen_openapiv2.options.Contact
- (*License)(nil), // 14: grpc.gateway.protoc_gen_openapiv2.options.License
- (*ExternalDocumentation)(nil), // 15: grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation
- (*Schema)(nil), // 16: grpc.gateway.protoc_gen_openapiv2.options.Schema
- (*EnumSchema)(nil), // 17: grpc.gateway.protoc_gen_openapiv2.options.EnumSchema
- (*JSONSchema)(nil), // 18: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema
- (*Tag)(nil), // 19: grpc.gateway.protoc_gen_openapiv2.options.Tag
- (*SecurityDefinitions)(nil), // 20: grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions
- (*SecurityScheme)(nil), // 21: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme
- (*SecurityRequirement)(nil), // 22: grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement
- (*Scopes)(nil), // 23: grpc.gateway.protoc_gen_openapiv2.options.Scopes
- nil, // 24: grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry
- nil, // 25: grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry
- nil, // 26: grpc.gateway.protoc_gen_openapiv2.options.Operation.ResponsesEntry
- nil, // 27: grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry
- nil, // 28: grpc.gateway.protoc_gen_openapiv2.options.Response.HeadersEntry
- nil, // 29: grpc.gateway.protoc_gen_openapiv2.options.Response.ExamplesEntry
- nil, // 30: grpc.gateway.protoc_gen_openapiv2.options.Response.ExtensionsEntry
- nil, // 31: grpc.gateway.protoc_gen_openapiv2.options.Info.ExtensionsEntry
- nil, // 32: grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.ExtensionsEntry
- (*JSONSchema_FieldConfiguration)(nil), // 33: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration
- nil, // 34: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ExtensionsEntry
- nil, // 35: grpc.gateway.protoc_gen_openapiv2.options.Tag.ExtensionsEntry
- nil, // 36: grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.SecurityEntry
- nil, // 37: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.ExtensionsEntry
- (*SecurityRequirement_SecurityRequirementValue)(nil), // 38: grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue
- nil, // 39: grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementEntry
- nil, // 40: grpc.gateway.protoc_gen_openapiv2.options.Scopes.ScopeEntry
- (*structpb.Value)(nil), // 41: google.protobuf.Value
- }
- var file_protoc_gen_openapiv2_options_openapiv2_proto_depIdxs = []int32{
- 12, // 0: grpc.gateway.protoc_gen_openapiv2.options.Swagger.info:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Info
- 0, // 1: grpc.gateway.protoc_gen_openapiv2.options.Swagger.schemes:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Scheme
- 24, // 2: grpc.gateway.protoc_gen_openapiv2.options.Swagger.responses:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry
- 20, // 3: grpc.gateway.protoc_gen_openapiv2.options.Swagger.security_definitions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions
- 22, // 4: grpc.gateway.protoc_gen_openapiv2.options.Swagger.security:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement
- 19, // 5: grpc.gateway.protoc_gen_openapiv2.options.Swagger.tags:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Tag
- 15, // 6: grpc.gateway.protoc_gen_openapiv2.options.Swagger.external_docs:type_name -> grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation
- 25, // 7: grpc.gateway.protoc_gen_openapiv2.options.Swagger.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry
- 15, // 8: grpc.gateway.protoc_gen_openapiv2.options.Operation.external_docs:type_name -> grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation
- 26, // 9: grpc.gateway.protoc_gen_openapiv2.options.Operation.responses:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Operation.ResponsesEntry
- 0, // 10: grpc.gateway.protoc_gen_openapiv2.options.Operation.schemes:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Scheme
- 22, // 11: grpc.gateway.protoc_gen_openapiv2.options.Operation.security:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement
- 27, // 12: grpc.gateway.protoc_gen_openapiv2.options.Operation.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry
- 8, // 13: grpc.gateway.protoc_gen_openapiv2.options.Operation.parameters:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Parameters
- 9, // 14: grpc.gateway.protoc_gen_openapiv2.options.Parameters.headers:type_name -> grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter
- 1, // 15: grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter.type:type_name -> grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter.Type
- 16, // 16: grpc.gateway.protoc_gen_openapiv2.options.Response.schema:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Schema
- 28, // 17: grpc.gateway.protoc_gen_openapiv2.options.Response.headers:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Response.HeadersEntry
- 29, // 18: grpc.gateway.protoc_gen_openapiv2.options.Response.examples:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Response.ExamplesEntry
- 30, // 19: grpc.gateway.protoc_gen_openapiv2.options.Response.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Response.ExtensionsEntry
- 13, // 20: grpc.gateway.protoc_gen_openapiv2.options.Info.contact:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Contact
- 14, // 21: grpc.gateway.protoc_gen_openapiv2.options.Info.license:type_name -> grpc.gateway.protoc_gen_openapiv2.options.License
- 31, // 22: grpc.gateway.protoc_gen_openapiv2.options.Info.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Info.ExtensionsEntry
- 18, // 23: grpc.gateway.protoc_gen_openapiv2.options.Schema.json_schema:type_name -> grpc.gateway.protoc_gen_openapiv2.options.JSONSchema
- 15, // 24: grpc.gateway.protoc_gen_openapiv2.options.Schema.external_docs:type_name -> grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation
- 15, // 25: grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.external_docs:type_name -> grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation
- 32, // 26: grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.ExtensionsEntry
- 2, // 27: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.type:type_name -> grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes
- 33, // 28: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.field_configuration:type_name -> grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration
- 34, // 29: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ExtensionsEntry
- 15, // 30: grpc.gateway.protoc_gen_openapiv2.options.Tag.external_docs:type_name -> grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation
- 35, // 31: grpc.gateway.protoc_gen_openapiv2.options.Tag.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Tag.ExtensionsEntry
- 36, // 32: grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.security:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.SecurityEntry
- 3, // 33: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.type:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type
- 4, // 34: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.in:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In
- 5, // 35: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.flow:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow
- 23, // 36: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.scopes:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Scopes
- 37, // 37: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.ExtensionsEntry
- 39, // 38: grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.security_requirement:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementEntry
- 40, // 39: grpc.gateway.protoc_gen_openapiv2.options.Scopes.scope:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Scopes.ScopeEntry
- 11, // 40: grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry.value:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Response
- 41, // 41: grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry.value:type_name -> google.protobuf.Value
- 11, // 42: grpc.gateway.protoc_gen_openapiv2.options.Operation.ResponsesEntry.value:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Response
- 41, // 43: grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry.value:type_name -> google.protobuf.Value
- 10, // 44: grpc.gateway.protoc_gen_openapiv2.options.Response.HeadersEntry.value:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Header
- 41, // 45: grpc.gateway.protoc_gen_openapiv2.options.Response.ExtensionsEntry.value:type_name -> google.protobuf.Value
- 41, // 46: grpc.gateway.protoc_gen_openapiv2.options.Info.ExtensionsEntry.value:type_name -> google.protobuf.Value
- 41, // 47: grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.ExtensionsEntry.value:type_name -> google.protobuf.Value
- 41, // 48: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ExtensionsEntry.value:type_name -> google.protobuf.Value
- 41, // 49: grpc.gateway.protoc_gen_openapiv2.options.Tag.ExtensionsEntry.value:type_name -> google.protobuf.Value
- 21, // 50: grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.SecurityEntry.value:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme
- 41, // 51: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.ExtensionsEntry.value:type_name -> google.protobuf.Value
- 38, // 52: grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementEntry.value:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue
- 53, // [53:53] is the sub-list for method output_type
- 53, // [53:53] is the sub-list for method input_type
- 53, // [53:53] is the sub-list for extension type_name
- 53, // [53:53] is the sub-list for extension extendee
- 0, // [0:53] is the sub-list for field type_name
- }
- func init() { file_protoc_gen_openapiv2_options_openapiv2_proto_init() }
- func file_protoc_gen_openapiv2_options_openapiv2_proto_init() {
- if File_protoc_gen_openapiv2_options_openapiv2_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_protoc_gen_openapiv2_options_openapiv2_proto_rawDesc,
- NumEnums: 6,
- NumMessages: 35,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_protoc_gen_openapiv2_options_openapiv2_proto_goTypes,
- DependencyIndexes: file_protoc_gen_openapiv2_options_openapiv2_proto_depIdxs,
- EnumInfos: file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes,
- MessageInfos: file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes,
- }.Build()
- File_protoc_gen_openapiv2_options_openapiv2_proto = out.File
- file_protoc_gen_openapiv2_options_openapiv2_proto_rawDesc = nil
- file_protoc_gen_openapiv2_options_openapiv2_proto_goTypes = nil
- file_protoc_gen_openapiv2_options_openapiv2_proto_depIdxs = nil
- }
|