123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263 |
- // 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:"hybrid.v1"`
- // 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 `protobuf:"bytes,1,opt,name=swagger,proto3" json:"swagger,omitempty"`
- // Provides metadata about the API. The metadata can be used by the
- // clients if needed.
- Info *Info `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
- // 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 `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
- // 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 `protobuf:"bytes,4,opt,name=base_path,json=basePath,proto3" json:"base_path,omitempty"`
- // 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 `protobuf:"varint,5,rep,packed,name=schemes,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.Scheme" json:"schemes,omitempty"`
- // 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 `protobuf:"bytes,6,rep,name=consumes,proto3" json:"consumes,omitempty"`
- // 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 `protobuf:"bytes,7,rep,name=produces,proto3" json:"produces,omitempty"`
- // 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 `protobuf:"bytes,10,rep,name=responses,proto3" json:"responses,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- // Security scheme definitions that can be used across the specification.
- SecurityDefinitions *SecurityDefinitions `protobuf:"bytes,11,opt,name=security_definitions,json=securityDefinitions,proto3" json:"security_definitions,omitempty"`
- // 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 `protobuf:"bytes,12,rep,name=security,proto3" json:"security,omitempty"`
- // 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 `protobuf:"bytes,13,rep,name=tags,proto3" json:"tags,omitempty"`
- // Additional external documentation.
- ExternalDocs *ExternalDocumentation `protobuf:"bytes,14,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
- // 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 `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.Swagger
- }
- return ""
- }
- func (x *Swagger) GetInfo() *Info {
- if x != nil {
- return x.Info
- }
- return nil
- }
- func (x *Swagger) GetHost() string {
- if x != nil {
- return x.Host
- }
- return ""
- }
- func (x *Swagger) GetBasePath() string {
- if x != nil {
- return x.BasePath
- }
- return ""
- }
- func (x *Swagger) GetSchemes() []Scheme {
- if x != nil {
- return x.Schemes
- }
- return nil
- }
- func (x *Swagger) GetConsumes() []string {
- if x != nil {
- return x.Consumes
- }
- return nil
- }
- func (x *Swagger) GetProduces() []string {
- if x != nil {
- return x.Produces
- }
- return nil
- }
- func (x *Swagger) GetResponses() map[string]*Response {
- if x != nil {
- return x.Responses
- }
- return nil
- }
- func (x *Swagger) GetSecurityDefinitions() *SecurityDefinitions {
- if x != nil {
- return x.SecurityDefinitions
- }
- return nil
- }
- func (x *Swagger) GetSecurity() []*SecurityRequirement {
- if x != nil {
- return x.Security
- }
- return nil
- }
- func (x *Swagger) GetTags() []*Tag {
- if x != nil {
- return x.Tags
- }
- return nil
- }
- func (x *Swagger) GetExternalDocs() *ExternalDocumentation {
- if x != nil {
- return x.ExternalDocs
- }
- return nil
- }
- func (x *Swagger) GetExtensions() map[string]*structpb.Value {
- if x != nil {
- return x.Extensions
- }
- return nil
- }
- func (x *Swagger) SetSwagger(v string) {
- x.Swagger = v
- }
- func (x *Swagger) SetInfo(v *Info) {
- x.Info = v
- }
- func (x *Swagger) SetHost(v string) {
- x.Host = v
- }
- func (x *Swagger) SetBasePath(v string) {
- x.BasePath = v
- }
- func (x *Swagger) SetSchemes(v []Scheme) {
- x.Schemes = v
- }
- func (x *Swagger) SetConsumes(v []string) {
- x.Consumes = v
- }
- func (x *Swagger) SetProduces(v []string) {
- x.Produces = v
- }
- func (x *Swagger) SetResponses(v map[string]*Response) {
- x.Responses = v
- }
- func (x *Swagger) SetSecurityDefinitions(v *SecurityDefinitions) {
- x.SecurityDefinitions = v
- }
- func (x *Swagger) SetSecurity(v []*SecurityRequirement) {
- x.Security = v
- }
- func (x *Swagger) SetTags(v []*Tag) {
- x.Tags = v
- }
- func (x *Swagger) SetExternalDocs(v *ExternalDocumentation) {
- x.ExternalDocs = v
- }
- func (x *Swagger) SetExtensions(v map[string]*structpb.Value) {
- x.Extensions = v
- }
- func (x *Swagger) HasInfo() bool {
- if x == nil {
- return false
- }
- return x.Info != nil
- }
- func (x *Swagger) HasSecurityDefinitions() bool {
- if x == nil {
- return false
- }
- return x.SecurityDefinitions != nil
- }
- func (x *Swagger) HasExternalDocs() bool {
- if x == nil {
- return false
- }
- return x.ExternalDocs != nil
- }
- func (x *Swagger) ClearInfo() {
- x.Info = nil
- }
- func (x *Swagger) ClearSecurityDefinitions() {
- x.SecurityDefinitions = nil
- }
- func (x *Swagger) ClearExternalDocs() {
- x.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.Swagger = b.Swagger
- x.Info = b.Info
- x.Host = b.Host
- x.BasePath = b.BasePath
- x.Schemes = b.Schemes
- x.Consumes = b.Consumes
- x.Produces = b.Produces
- x.Responses = b.Responses
- x.SecurityDefinitions = b.SecurityDefinitions
- x.Security = b.Security
- x.Tags = b.Tags
- x.ExternalDocs = b.ExternalDocs
- x.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:"hybrid.v1"`
- // 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 `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
- // 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 `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
- // A verbose explanation of the operation behavior. GFM syntax can be used for
- // rich text representation.
- Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
- // Additional external documentation for this operation.
- ExternalDocs *ExternalDocumentation `protobuf:"bytes,4,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
- // 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 `protobuf:"bytes,5,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
- // 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 `protobuf:"bytes,6,rep,name=consumes,proto3" json:"consumes,omitempty"`
- // 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 `protobuf:"bytes,7,rep,name=produces,proto3" json:"produces,omitempty"`
- // The list of possible responses as they are returned from executing this
- // operation.
- 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"`
- // 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 `protobuf:"varint,10,rep,packed,name=schemes,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.Scheme" json:"schemes,omitempty"`
- // Declares this operation to be deprecated. Usage of the declared operation
- // should be refrained. Default value is false.
- Deprecated bool `protobuf:"varint,11,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
- // 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 `protobuf:"bytes,12,rep,name=security,proto3" json:"security,omitempty"`
- // 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 `protobuf:"bytes,13,rep,name=extensions,proto3" json:"extensions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=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 `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.Tags
- }
- return nil
- }
- func (x *Operation) GetSummary() string {
- if x != nil {
- return x.Summary
- }
- return ""
- }
- func (x *Operation) GetDescription() string {
- if x != nil {
- return x.Description
- }
- return ""
- }
- func (x *Operation) GetExternalDocs() *ExternalDocumentation {
- if x != nil {
- return x.ExternalDocs
- }
- return nil
- }
- func (x *Operation) GetOperationId() string {
- if x != nil {
- return x.OperationId
- }
- return ""
- }
- func (x *Operation) GetConsumes() []string {
- if x != nil {
- return x.Consumes
- }
- return nil
- }
- func (x *Operation) GetProduces() []string {
- if x != nil {
- return x.Produces
- }
- return nil
- }
- func (x *Operation) GetResponses() map[string]*Response {
- if x != nil {
- return x.Responses
- }
- return nil
- }
- func (x *Operation) GetSchemes() []Scheme {
- if x != nil {
- return x.Schemes
- }
- return nil
- }
- func (x *Operation) GetDeprecated() bool {
- if x != nil {
- return x.Deprecated
- }
- return false
- }
- func (x *Operation) GetSecurity() []*SecurityRequirement {
- if x != nil {
- return x.Security
- }
- return nil
- }
- func (x *Operation) GetExtensions() map[string]*structpb.Value {
- if x != nil {
- return x.Extensions
- }
- return nil
- }
- func (x *Operation) GetParameters() *Parameters {
- if x != nil {
- return x.Parameters
- }
- return nil
- }
- func (x *Operation) SetTags(v []string) {
- x.Tags = v
- }
- func (x *Operation) SetSummary(v string) {
- x.Summary = v
- }
- func (x *Operation) SetDescription(v string) {
- x.Description = v
- }
- func (x *Operation) SetExternalDocs(v *ExternalDocumentation) {
- x.ExternalDocs = v
- }
- func (x *Operation) SetOperationId(v string) {
- x.OperationId = v
- }
- func (x *Operation) SetConsumes(v []string) {
- x.Consumes = v
- }
- func (x *Operation) SetProduces(v []string) {
- x.Produces = v
- }
- func (x *Operation) SetResponses(v map[string]*Response) {
- x.Responses = v
- }
- func (x *Operation) SetSchemes(v []Scheme) {
- x.Schemes = v
- }
- func (x *Operation) SetDeprecated(v bool) {
- x.Deprecated = v
- }
- func (x *Operation) SetSecurity(v []*SecurityRequirement) {
- x.Security = v
- }
- func (x *Operation) SetExtensions(v map[string]*structpb.Value) {
- x.Extensions = v
- }
- func (x *Operation) SetParameters(v *Parameters) {
- x.Parameters = v
- }
- func (x *Operation) HasExternalDocs() bool {
- if x == nil {
- return false
- }
- return x.ExternalDocs != nil
- }
- func (x *Operation) HasParameters() bool {
- if x == nil {
- return false
- }
- return x.Parameters != nil
- }
- func (x *Operation) ClearExternalDocs() {
- x.ExternalDocs = nil
- }
- func (x *Operation) ClearParameters() {
- x.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.Tags = b.Tags
- x.Summary = b.Summary
- x.Description = b.Description
- x.ExternalDocs = b.ExternalDocs
- x.OperationId = b.OperationId
- x.Consumes = b.Consumes
- x.Produces = b.Produces
- x.Responses = b.Responses
- x.Schemes = b.Schemes
- x.Deprecated = b.Deprecated
- x.Security = b.Security
- x.Extensions = b.Extensions
- x.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:"hybrid.v1"`
- // `Headers` is one or more HTTP header parameter.
- // See: https://swagger.io/docs/specification/2-0/describing-parameters/#header-parameters
- 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 {
- return x.Headers
- }
- return nil
- }
- func (x *Parameters) SetHeaders(v []*HeaderParameter) {
- x.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.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:"hybrid.v1"`
- // `Name` is the header name.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // `Description` is a short description of the header.
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- // `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 `protobuf:"varint,3,opt,name=type,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter_Type" json:"type,omitempty"`
- // `Format` The extending format for the previously mentioned type.
- Format string `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"`
- // `Required` indicates if the header is optional
- 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.Name
- }
- return ""
- }
- func (x *HeaderParameter) GetDescription() string {
- if x != nil {
- return x.Description
- }
- return ""
- }
- func (x *HeaderParameter) GetType() HeaderParameter_Type {
- if x != nil {
- return x.Type
- }
- return HeaderParameter_UNKNOWN
- }
- func (x *HeaderParameter) GetFormat() string {
- if x != nil {
- return x.Format
- }
- return ""
- }
- func (x *HeaderParameter) GetRequired() bool {
- if x != nil {
- return x.Required
- }
- return false
- }
- func (x *HeaderParameter) SetName(v string) {
- x.Name = v
- }
- func (x *HeaderParameter) SetDescription(v string) {
- x.Description = v
- }
- func (x *HeaderParameter) SetType(v HeaderParameter_Type) {
- x.Type = v
- }
- func (x *HeaderParameter) SetFormat(v string) {
- x.Format = v
- }
- func (x *HeaderParameter) SetRequired(v bool) {
- x.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.Name = b.Name
- x.Description = b.Description
- x.Type = b.Type
- x.Format = b.Format
- x.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:"hybrid.v1"`
- // `Description` is a short description of the header.
- Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
- // The type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported.
- Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
- // `Format` The extending format for the previously mentioned type.
- Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"`
- // `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 `protobuf:"bytes,6,opt,name=default,proto3" json:"default,omitempty"`
- // 'Pattern' See https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.2.3.
- 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.Description
- }
- return ""
- }
- func (x *Header) GetType() string {
- if x != nil {
- return x.Type
- }
- return ""
- }
- func (x *Header) GetFormat() string {
- if x != nil {
- return x.Format
- }
- return ""
- }
- func (x *Header) GetDefault() string {
- if x != nil {
- return x.Default
- }
- return ""
- }
- func (x *Header) GetPattern() string {
- if x != nil {
- return x.Pattern
- }
- return ""
- }
- func (x *Header) SetDescription(v string) {
- x.Description = v
- }
- func (x *Header) SetType(v string) {
- x.Type = v
- }
- func (x *Header) SetFormat(v string) {
- x.Format = v
- }
- func (x *Header) SetDefault(v string) {
- x.Default = v
- }
- func (x *Header) SetPattern(v string) {
- x.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.Description = b.Description
- x.Type = b.Type
- x.Format = b.Format
- x.Default = b.Default
- x.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:"hybrid.v1"`
- // `Description` is a short description of the response.
- // GFM syntax can be used for rich text representation.
- Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
- // `Schema` optionally defines the structure of the response.
- // If `Schema` is not provided, it means there is no content to the response.
- Schema *Schema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
- // `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 `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- // `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 `protobuf:"bytes,4,rep,name=examples,proto3" json:"examples,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- // 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 `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.Description
- }
- return ""
- }
- func (x *Response) GetSchema() *Schema {
- if x != nil {
- return x.Schema
- }
- return nil
- }
- func (x *Response) GetHeaders() map[string]*Header {
- if x != nil {
- return x.Headers
- }
- return nil
- }
- func (x *Response) GetExamples() map[string]string {
- if x != nil {
- return x.Examples
- }
- return nil
- }
- func (x *Response) GetExtensions() map[string]*structpb.Value {
- if x != nil {
- return x.Extensions
- }
- return nil
- }
- func (x *Response) SetDescription(v string) {
- x.Description = v
- }
- func (x *Response) SetSchema(v *Schema) {
- x.Schema = v
- }
- func (x *Response) SetHeaders(v map[string]*Header) {
- x.Headers = v
- }
- func (x *Response) SetExamples(v map[string]string) {
- x.Examples = v
- }
- func (x *Response) SetExtensions(v map[string]*structpb.Value) {
- x.Extensions = v
- }
- func (x *Response) HasSchema() bool {
- if x == nil {
- return false
- }
- return x.Schema != nil
- }
- func (x *Response) ClearSchema() {
- x.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.Description = b.Description
- x.Schema = b.Schema
- x.Headers = b.Headers
- x.Examples = b.Examples
- x.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:"hybrid.v1"`
- // The title of the application.
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- // A short description of the application. GFM syntax can be used for rich
- // text representation.
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- // The Terms of Service for the API.
- TermsOfService string `protobuf:"bytes,3,opt,name=terms_of_service,json=termsOfService,proto3" json:"terms_of_service,omitempty"`
- // The contact information for the exposed API.
- Contact *Contact `protobuf:"bytes,4,opt,name=contact,proto3" json:"contact,omitempty"`
- // The license information for the exposed API.
- License *License `protobuf:"bytes,5,opt,name=license,proto3" json:"license,omitempty"`
- // Provides the version of the application API (not to be confused
- // with the specification version).
- Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
- // 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 `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.Title
- }
- return ""
- }
- func (x *Info) GetDescription() string {
- if x != nil {
- return x.Description
- }
- return ""
- }
- func (x *Info) GetTermsOfService() string {
- if x != nil {
- return x.TermsOfService
- }
- return ""
- }
- func (x *Info) GetContact() *Contact {
- if x != nil {
- return x.Contact
- }
- return nil
- }
- func (x *Info) GetLicense() *License {
- if x != nil {
- return x.License
- }
- return nil
- }
- func (x *Info) GetVersion() string {
- if x != nil {
- return x.Version
- }
- return ""
- }
- func (x *Info) GetExtensions() map[string]*structpb.Value {
- if x != nil {
- return x.Extensions
- }
- return nil
- }
- func (x *Info) SetTitle(v string) {
- x.Title = v
- }
- func (x *Info) SetDescription(v string) {
- x.Description = v
- }
- func (x *Info) SetTermsOfService(v string) {
- x.TermsOfService = v
- }
- func (x *Info) SetContact(v *Contact) {
- x.Contact = v
- }
- func (x *Info) SetLicense(v *License) {
- x.License = v
- }
- func (x *Info) SetVersion(v string) {
- x.Version = v
- }
- func (x *Info) SetExtensions(v map[string]*structpb.Value) {
- x.Extensions = v
- }
- func (x *Info) HasContact() bool {
- if x == nil {
- return false
- }
- return x.Contact != nil
- }
- func (x *Info) HasLicense() bool {
- if x == nil {
- return false
- }
- return x.License != nil
- }
- func (x *Info) ClearContact() {
- x.Contact = nil
- }
- func (x *Info) ClearLicense() {
- x.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.Title = b.Title
- x.Description = b.Description
- x.TermsOfService = b.TermsOfService
- x.Contact = b.Contact
- x.License = b.License
- x.Version = b.Version
- x.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:"hybrid.v1"`
- // The identifying name of the contact person/organization.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The URL pointing to the contact information. MUST be in the format of a
- // URL.
- Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
- // The email address of the contact person/organization. MUST be in the format
- // of an email address.
- 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.Name
- }
- return ""
- }
- func (x *Contact) GetUrl() string {
- if x != nil {
- return x.Url
- }
- return ""
- }
- func (x *Contact) GetEmail() string {
- if x != nil {
- return x.Email
- }
- return ""
- }
- func (x *Contact) SetName(v string) {
- x.Name = v
- }
- func (x *Contact) SetUrl(v string) {
- x.Url = v
- }
- func (x *Contact) SetEmail(v string) {
- x.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.Name = b.Name
- x.Url = b.Url
- x.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:"hybrid.v1"`
- // The license name used for the API.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // A URL to the license used for the API. MUST be in the format of a URL.
- 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.Name
- }
- return ""
- }
- func (x *License) GetUrl() string {
- if x != nil {
- return x.Url
- }
- return ""
- }
- func (x *License) SetName(v string) {
- x.Name = v
- }
- func (x *License) SetUrl(v string) {
- x.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.Name = b.Name
- x.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:"hybrid.v1"`
- // A short description of the target documentation. GFM syntax can be used for
- // rich text representation.
- Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
- // The URL for the target documentation. Value MUST be in the format
- // of a URL.
- 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.Description
- }
- return ""
- }
- func (x *ExternalDocumentation) GetUrl() string {
- if x != nil {
- return x.Url
- }
- return ""
- }
- func (x *ExternalDocumentation) SetDescription(v string) {
- x.Description = v
- }
- func (x *ExternalDocumentation) SetUrl(v string) {
- x.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.Description = b.Description
- x.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:"hybrid.v1"`
- JsonSchema *JSONSchema `protobuf:"bytes,1,opt,name=json_schema,json=jsonSchema,proto3" json:"json_schema,omitempty"`
- // 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 `protobuf:"bytes,2,opt,name=discriminator,proto3" json:"discriminator,omitempty"`
- // 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 `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
- // Additional external documentation for this schema.
- ExternalDocs *ExternalDocumentation `protobuf:"bytes,5,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
- // 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 `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.JsonSchema
- }
- return nil
- }
- func (x *Schema) GetDiscriminator() string {
- if x != nil {
- return x.Discriminator
- }
- return ""
- }
- func (x *Schema) GetReadOnly() bool {
- if x != nil {
- return x.ReadOnly
- }
- return false
- }
- func (x *Schema) GetExternalDocs() *ExternalDocumentation {
- if x != nil {
- return x.ExternalDocs
- }
- return nil
- }
- func (x *Schema) GetExample() string {
- if x != nil {
- return x.Example
- }
- return ""
- }
- func (x *Schema) SetJsonSchema(v *JSONSchema) {
- x.JsonSchema = v
- }
- func (x *Schema) SetDiscriminator(v string) {
- x.Discriminator = v
- }
- func (x *Schema) SetReadOnly(v bool) {
- x.ReadOnly = v
- }
- func (x *Schema) SetExternalDocs(v *ExternalDocumentation) {
- x.ExternalDocs = v
- }
- func (x *Schema) SetExample(v string) {
- x.Example = v
- }
- func (x *Schema) HasJsonSchema() bool {
- if x == nil {
- return false
- }
- return x.JsonSchema != nil
- }
- func (x *Schema) HasExternalDocs() bool {
- if x == nil {
- return false
- }
- return x.ExternalDocs != nil
- }
- func (x *Schema) ClearJsonSchema() {
- x.JsonSchema = nil
- }
- func (x *Schema) ClearExternalDocs() {
- x.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.JsonSchema = b.JsonSchema
- x.Discriminator = b.Discriminator
- x.ReadOnly = b.ReadOnly
- x.ExternalDocs = b.ExternalDocs
- x.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:"hybrid.v1"`
- // A short description of the schema.
- Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
- Default string `protobuf:"bytes,2,opt,name=default,proto3" json:"default,omitempty"`
- // The title of the schema.
- Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
- Required bool `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"`
- ReadOnly bool `protobuf:"varint,5,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
- // Additional external documentation for this schema.
- ExternalDocs *ExternalDocumentation `protobuf:"bytes,6,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
- Example string `protobuf:"bytes,7,opt,name=example,proto3" json:"example,omitempty"`
- // 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 `protobuf:"bytes,8,opt,name=ref,proto3" json:"ref,omitempty"`
- // 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 `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.Description
- }
- return ""
- }
- func (x *EnumSchema) GetDefault() string {
- if x != nil {
- return x.Default
- }
- return ""
- }
- func (x *EnumSchema) GetTitle() string {
- if x != nil {
- return x.Title
- }
- return ""
- }
- func (x *EnumSchema) GetRequired() bool {
- if x != nil {
- return x.Required
- }
- return false
- }
- func (x *EnumSchema) GetReadOnly() bool {
- if x != nil {
- return x.ReadOnly
- }
- return false
- }
- func (x *EnumSchema) GetExternalDocs() *ExternalDocumentation {
- if x != nil {
- return x.ExternalDocs
- }
- return nil
- }
- func (x *EnumSchema) GetExample() string {
- if x != nil {
- return x.Example
- }
- return ""
- }
- func (x *EnumSchema) GetRef() string {
- if x != nil {
- return x.Ref
- }
- return ""
- }
- func (x *EnumSchema) GetExtensions() map[string]*structpb.Value {
- if x != nil {
- return x.Extensions
- }
- return nil
- }
- func (x *EnumSchema) SetDescription(v string) {
- x.Description = v
- }
- func (x *EnumSchema) SetDefault(v string) {
- x.Default = v
- }
- func (x *EnumSchema) SetTitle(v string) {
- x.Title = v
- }
- func (x *EnumSchema) SetRequired(v bool) {
- x.Required = v
- }
- func (x *EnumSchema) SetReadOnly(v bool) {
- x.ReadOnly = v
- }
- func (x *EnumSchema) SetExternalDocs(v *ExternalDocumentation) {
- x.ExternalDocs = v
- }
- func (x *EnumSchema) SetExample(v string) {
- x.Example = v
- }
- func (x *EnumSchema) SetRef(v string) {
- x.Ref = v
- }
- func (x *EnumSchema) SetExtensions(v map[string]*structpb.Value) {
- x.Extensions = v
- }
- func (x *EnumSchema) HasExternalDocs() bool {
- if x == nil {
- return false
- }
- return x.ExternalDocs != nil
- }
- func (x *EnumSchema) ClearExternalDocs() {
- x.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.Description = b.Description
- x.Default = b.Default
- x.Title = b.Title
- x.Required = b.Required
- x.ReadOnly = b.ReadOnly
- x.ExternalDocs = b.ExternalDocs
- x.Example = b.Example
- x.Ref = b.Ref
- x.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:"hybrid.v1"`
- // 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 `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
- // The title of the schema.
- Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
- // A short description of the schema.
- Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
- Default string `protobuf:"bytes,7,opt,name=default,proto3" json:"default,omitempty"`
- ReadOnly bool `protobuf:"varint,8,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
- // 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 `protobuf:"bytes,9,opt,name=example,proto3" json:"example,omitempty"`
- MultipleOf float64 `protobuf:"fixed64,10,opt,name=multiple_of,json=multipleOf,proto3" json:"multiple_of,omitempty"`
- // Maximum represents an inclusive upper limit for a numeric instance. The
- // value of MUST be a number,
- Maximum float64 `protobuf:"fixed64,11,opt,name=maximum,proto3" json:"maximum,omitempty"`
- ExclusiveMaximum bool `protobuf:"varint,12,opt,name=exclusive_maximum,json=exclusiveMaximum,proto3" json:"exclusive_maximum,omitempty"`
- // minimum represents an inclusive lower limit for a numeric instance. The
- // value of MUST be a number,
- Minimum float64 `protobuf:"fixed64,13,opt,name=minimum,proto3" json:"minimum,omitempty"`
- ExclusiveMinimum bool `protobuf:"varint,14,opt,name=exclusive_minimum,json=exclusiveMinimum,proto3" json:"exclusive_minimum,omitempty"`
- MaxLength uint64 `protobuf:"varint,15,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"`
- MinLength uint64 `protobuf:"varint,16,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"`
- Pattern string `protobuf:"bytes,17,opt,name=pattern,proto3" json:"pattern,omitempty"`
- MaxItems uint64 `protobuf:"varint,20,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"`
- MinItems uint64 `protobuf:"varint,21,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"`
- UniqueItems bool `protobuf:"varint,22,opt,name=unique_items,json=uniqueItems,proto3" json:"unique_items,omitempty"`
- MaxProperties uint64 `protobuf:"varint,24,opt,name=max_properties,json=maxProperties,proto3" json:"max_properties,omitempty"`
- MinProperties uint64 `protobuf:"varint,25,opt,name=min_properties,json=minProperties,proto3" json:"min_properties,omitempty"`
- Required []string `protobuf:"bytes,26,rep,name=required,proto3" json:"required,omitempty"`
- // Items in 'array' must be unique.
- Array []string `protobuf:"bytes,34,rep,name=array,proto3" json:"array,omitempty"`
- Type []JSONSchema_JSONSchemaSimpleTypes `protobuf:"varint,35,rep,packed,name=type,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.JSONSchema_JSONSchemaSimpleTypes" json:"type,omitempty"`
- // `Format`
- Format string `protobuf:"bytes,36,opt,name=format,proto3" json:"format,omitempty"`
- // Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
- Enum []string `protobuf:"bytes,46,rep,name=enum,proto3" json:"enum,omitempty"`
- // Additional field level properties used when generating the OpenAPI v2 file.
- FieldConfiguration *JSONSchema_FieldConfiguration `protobuf:"bytes,1001,opt,name=field_configuration,json=fieldConfiguration,proto3" json:"field_configuration,omitempty"`
- // 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 `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.Ref
- }
- return ""
- }
- func (x *JSONSchema) GetTitle() string {
- if x != nil {
- return x.Title
- }
- return ""
- }
- func (x *JSONSchema) GetDescription() string {
- if x != nil {
- return x.Description
- }
- return ""
- }
- func (x *JSONSchema) GetDefault() string {
- if x != nil {
- return x.Default
- }
- return ""
- }
- func (x *JSONSchema) GetReadOnly() bool {
- if x != nil {
- return x.ReadOnly
- }
- return false
- }
- func (x *JSONSchema) GetExample() string {
- if x != nil {
- return x.Example
- }
- return ""
- }
- func (x *JSONSchema) GetMultipleOf() float64 {
- if x != nil {
- return x.MultipleOf
- }
- return 0
- }
- func (x *JSONSchema) GetMaximum() float64 {
- if x != nil {
- return x.Maximum
- }
- return 0
- }
- func (x *JSONSchema) GetExclusiveMaximum() bool {
- if x != nil {
- return x.ExclusiveMaximum
- }
- return false
- }
- func (x *JSONSchema) GetMinimum() float64 {
- if x != nil {
- return x.Minimum
- }
- return 0
- }
- func (x *JSONSchema) GetExclusiveMinimum() bool {
- if x != nil {
- return x.ExclusiveMinimum
- }
- return false
- }
- func (x *JSONSchema) GetMaxLength() uint64 {
- if x != nil {
- return x.MaxLength
- }
- return 0
- }
- func (x *JSONSchema) GetMinLength() uint64 {
- if x != nil {
- return x.MinLength
- }
- return 0
- }
- func (x *JSONSchema) GetPattern() string {
- if x != nil {
- return x.Pattern
- }
- return ""
- }
- func (x *JSONSchema) GetMaxItems() uint64 {
- if x != nil {
- return x.MaxItems
- }
- return 0
- }
- func (x *JSONSchema) GetMinItems() uint64 {
- if x != nil {
- return x.MinItems
- }
- return 0
- }
- func (x *JSONSchema) GetUniqueItems() bool {
- if x != nil {
- return x.UniqueItems
- }
- return false
- }
- func (x *JSONSchema) GetMaxProperties() uint64 {
- if x != nil {
- return x.MaxProperties
- }
- return 0
- }
- func (x *JSONSchema) GetMinProperties() uint64 {
- if x != nil {
- return x.MinProperties
- }
- return 0
- }
- func (x *JSONSchema) GetRequired() []string {
- if x != nil {
- return x.Required
- }
- return nil
- }
- func (x *JSONSchema) GetArray() []string {
- if x != nil {
- return x.Array
- }
- return nil
- }
- func (x *JSONSchema) GetType() []JSONSchema_JSONSchemaSimpleTypes {
- if x != nil {
- return x.Type
- }
- return nil
- }
- func (x *JSONSchema) GetFormat() string {
- if x != nil {
- return x.Format
- }
- return ""
- }
- func (x *JSONSchema) GetEnum() []string {
- if x != nil {
- return x.Enum
- }
- return nil
- }
- func (x *JSONSchema) GetFieldConfiguration() *JSONSchema_FieldConfiguration {
- if x != nil {
- return x.FieldConfiguration
- }
- return nil
- }
- func (x *JSONSchema) GetExtensions() map[string]*structpb.Value {
- if x != nil {
- return x.Extensions
- }
- return nil
- }
- func (x *JSONSchema) SetRef(v string) {
- x.Ref = v
- }
- func (x *JSONSchema) SetTitle(v string) {
- x.Title = v
- }
- func (x *JSONSchema) SetDescription(v string) {
- x.Description = v
- }
- func (x *JSONSchema) SetDefault(v string) {
- x.Default = v
- }
- func (x *JSONSchema) SetReadOnly(v bool) {
- x.ReadOnly = v
- }
- func (x *JSONSchema) SetExample(v string) {
- x.Example = v
- }
- func (x *JSONSchema) SetMultipleOf(v float64) {
- x.MultipleOf = v
- }
- func (x *JSONSchema) SetMaximum(v float64) {
- x.Maximum = v
- }
- func (x *JSONSchema) SetExclusiveMaximum(v bool) {
- x.ExclusiveMaximum = v
- }
- func (x *JSONSchema) SetMinimum(v float64) {
- x.Minimum = v
- }
- func (x *JSONSchema) SetExclusiveMinimum(v bool) {
- x.ExclusiveMinimum = v
- }
- func (x *JSONSchema) SetMaxLength(v uint64) {
- x.MaxLength = v
- }
- func (x *JSONSchema) SetMinLength(v uint64) {
- x.MinLength = v
- }
- func (x *JSONSchema) SetPattern(v string) {
- x.Pattern = v
- }
- func (x *JSONSchema) SetMaxItems(v uint64) {
- x.MaxItems = v
- }
- func (x *JSONSchema) SetMinItems(v uint64) {
- x.MinItems = v
- }
- func (x *JSONSchema) SetUniqueItems(v bool) {
- x.UniqueItems = v
- }
- func (x *JSONSchema) SetMaxProperties(v uint64) {
- x.MaxProperties = v
- }
- func (x *JSONSchema) SetMinProperties(v uint64) {
- x.MinProperties = v
- }
- func (x *JSONSchema) SetRequired(v []string) {
- x.Required = v
- }
- func (x *JSONSchema) SetArray(v []string) {
- x.Array = v
- }
- func (x *JSONSchema) SetType(v []JSONSchema_JSONSchemaSimpleTypes) {
- x.Type = v
- }
- func (x *JSONSchema) SetFormat(v string) {
- x.Format = v
- }
- func (x *JSONSchema) SetEnum(v []string) {
- x.Enum = v
- }
- func (x *JSONSchema) SetFieldConfiguration(v *JSONSchema_FieldConfiguration) {
- x.FieldConfiguration = v
- }
- func (x *JSONSchema) SetExtensions(v map[string]*structpb.Value) {
- x.Extensions = v
- }
- func (x *JSONSchema) HasFieldConfiguration() bool {
- if x == nil {
- return false
- }
- return x.FieldConfiguration != nil
- }
- func (x *JSONSchema) ClearFieldConfiguration() {
- x.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.Ref = b.Ref
- x.Title = b.Title
- x.Description = b.Description
- x.Default = b.Default
- x.ReadOnly = b.ReadOnly
- x.Example = b.Example
- x.MultipleOf = b.MultipleOf
- x.Maximum = b.Maximum
- x.ExclusiveMaximum = b.ExclusiveMaximum
- x.Minimum = b.Minimum
- x.ExclusiveMinimum = b.ExclusiveMinimum
- x.MaxLength = b.MaxLength
- x.MinLength = b.MinLength
- x.Pattern = b.Pattern
- x.MaxItems = b.MaxItems
- x.MinItems = b.MinItems
- x.UniqueItems = b.UniqueItems
- x.MaxProperties = b.MaxProperties
- x.MinProperties = b.MinProperties
- x.Required = b.Required
- x.Array = b.Array
- x.Type = b.Type
- x.Format = b.Format
- x.Enum = b.Enum
- x.FieldConfiguration = b.FieldConfiguration
- x.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:"hybrid.v1"`
- // 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 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // A short description for the tag. GFM syntax can be used for rich text
- // representation.
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- // Additional external documentation for this tag.
- ExternalDocs *ExternalDocumentation `protobuf:"bytes,3,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
- // 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 `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.Name
- }
- return ""
- }
- func (x *Tag) GetDescription() string {
- if x != nil {
- return x.Description
- }
- return ""
- }
- func (x *Tag) GetExternalDocs() *ExternalDocumentation {
- if x != nil {
- return x.ExternalDocs
- }
- return nil
- }
- func (x *Tag) GetExtensions() map[string]*structpb.Value {
- if x != nil {
- return x.Extensions
- }
- return nil
- }
- func (x *Tag) SetName(v string) {
- x.Name = v
- }
- func (x *Tag) SetDescription(v string) {
- x.Description = v
- }
- func (x *Tag) SetExternalDocs(v *ExternalDocumentation) {
- x.ExternalDocs = v
- }
- func (x *Tag) SetExtensions(v map[string]*structpb.Value) {
- x.Extensions = v
- }
- func (x *Tag) HasExternalDocs() bool {
- if x == nil {
- return false
- }
- return x.ExternalDocs != nil
- }
- func (x *Tag) ClearExternalDocs() {
- x.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.Name = b.Name
- x.Description = b.Description
- x.ExternalDocs = b.ExternalDocs
- x.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:"hybrid.v1"`
- // A single security scheme definition, mapping a "name" to the scheme it
- // defines.
- 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.Security
- }
- return nil
- }
- func (x *SecurityDefinitions) SetSecurity(v map[string]*SecurityScheme) {
- x.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.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:"hybrid.v1"`
- // The type of the security scheme. Valid values are "basic",
- // "apiKey" or "oauth2".
- Type SecurityScheme_Type `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme_Type" json:"type,omitempty"`
- // A short description for security scheme.
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- // The name of the header or query parameter to be used.
- // Valid for apiKey.
- Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
- // The location of the API key. Valid values are "query" or
- // "header".
- // Valid for apiKey.
- In SecurityScheme_In `protobuf:"varint,4,opt,name=in,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme_In" json:"in,omitempty"`
- // The flow used by the OAuth2 security scheme. Valid values are
- // "implicit", "password", "application" or "accessCode".
- // Valid for oauth2.
- Flow SecurityScheme_Flow `protobuf:"varint,5,opt,name=flow,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme_Flow" json:"flow,omitempty"`
- // 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 `protobuf:"bytes,6,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"`
- // 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 `protobuf:"bytes,7,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
- // The available scopes for the OAuth2 security scheme.
- // Valid for oauth2.
- Scopes *Scopes `protobuf:"bytes,8,opt,name=scopes,proto3" json:"scopes,omitempty"`
- // 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 `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.Type
- }
- return SecurityScheme_TYPE_INVALID
- }
- func (x *SecurityScheme) GetDescription() string {
- if x != nil {
- return x.Description
- }
- return ""
- }
- func (x *SecurityScheme) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *SecurityScheme) GetIn() SecurityScheme_In {
- if x != nil {
- return x.In
- }
- return SecurityScheme_IN_INVALID
- }
- func (x *SecurityScheme) GetFlow() SecurityScheme_Flow {
- if x != nil {
- return x.Flow
- }
- return SecurityScheme_FLOW_INVALID
- }
- func (x *SecurityScheme) GetAuthorizationUrl() string {
- if x != nil {
- return x.AuthorizationUrl
- }
- return ""
- }
- func (x *SecurityScheme) GetTokenUrl() string {
- if x != nil {
- return x.TokenUrl
- }
- return ""
- }
- func (x *SecurityScheme) GetScopes() *Scopes {
- if x != nil {
- return x.Scopes
- }
- return nil
- }
- func (x *SecurityScheme) GetExtensions() map[string]*structpb.Value {
- if x != nil {
- return x.Extensions
- }
- return nil
- }
- func (x *SecurityScheme) SetType(v SecurityScheme_Type) {
- x.Type = v
- }
- func (x *SecurityScheme) SetDescription(v string) {
- x.Description = v
- }
- func (x *SecurityScheme) SetName(v string) {
- x.Name = v
- }
- func (x *SecurityScheme) SetIn(v SecurityScheme_In) {
- x.In = v
- }
- func (x *SecurityScheme) SetFlow(v SecurityScheme_Flow) {
- x.Flow = v
- }
- func (x *SecurityScheme) SetAuthorizationUrl(v string) {
- x.AuthorizationUrl = v
- }
- func (x *SecurityScheme) SetTokenUrl(v string) {
- x.TokenUrl = v
- }
- func (x *SecurityScheme) SetScopes(v *Scopes) {
- x.Scopes = v
- }
- func (x *SecurityScheme) SetExtensions(v map[string]*structpb.Value) {
- x.Extensions = v
- }
- func (x *SecurityScheme) HasScopes() bool {
- if x == nil {
- return false
- }
- return x.Scopes != nil
- }
- func (x *SecurityScheme) ClearScopes() {
- x.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.Type = b.Type
- x.Description = b.Description
- x.Name = b.Name
- x.In = b.In
- x.Flow = b.Flow
- x.AuthorizationUrl = b.AuthorizationUrl
- x.TokenUrl = b.TokenUrl
- x.Scopes = b.Scopes
- x.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:"hybrid.v1"`
- // 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 `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.SecurityRequirement
- }
- return nil
- }
- func (x *SecurityRequirement) SetSecurityRequirement(v map[string]*SecurityRequirement_SecurityRequirementValue) {
- x.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.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:"hybrid.v1"`
- // Maps between a name of a scope to a short description of it (as the value
- // of the property).
- 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.Scope
- }
- return nil
- }
- func (x *Scopes) SetScope(v map[string]string) {
- x.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.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:"hybrid.v1"`
- // 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 `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.PathParamName
- }
- return ""
- }
- func (x *JSONSchema_FieldConfiguration) SetPathParamName(v string) {
- x.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.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:"hybrid.v1"`
- 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.Scope
- }
- return nil
- }
- func (x *SecurityRequirement_SecurityRequirementValue) SetScope(v []string) {
- x.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.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
- }
|