compute_operations.d.ts 352 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304
  1. // Copyright 2021 Google LLC.
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. import * as $protobuf from "protobufjs";
  15. import Long = require('long');
  16. /** Namespace google. */
  17. export namespace google {
  18. /** Namespace cloud. */
  19. namespace cloud {
  20. /** Namespace compute. */
  21. namespace compute {
  22. /** Namespace v1. */
  23. namespace v1 {
  24. /** Properties of an Operation. */
  25. interface IOperation {
  26. /** Operation clientOperationId */
  27. clientOperationId?: (string|null);
  28. /** Operation creationTimestamp */
  29. creationTimestamp?: (string|null);
  30. /** Operation description */
  31. description?: (string|null);
  32. /** Operation endTime */
  33. endTime?: (string|null);
  34. /** Operation error */
  35. error?: (google.cloud.compute.v1.IError|null);
  36. /** Operation httpErrorMessage */
  37. httpErrorMessage?: (string|null);
  38. /** Operation httpErrorStatusCode */
  39. httpErrorStatusCode?: (number|null);
  40. /** Operation id */
  41. id?: (string|null);
  42. /** Operation insertTime */
  43. insertTime?: (string|null);
  44. /** Operation kind */
  45. kind?: (string|null);
  46. /** Operation name */
  47. name?: (string|null);
  48. /** Operation operationType */
  49. operationType?: (string|null);
  50. /** Operation progress */
  51. progress?: (number|null);
  52. /** Operation region */
  53. region?: (string|null);
  54. /** Operation selfLink */
  55. selfLink?: (string|null);
  56. /** Operation startTime */
  57. startTime?: (string|null);
  58. /** Operation status */
  59. status?: (google.cloud.compute.v1.Operation.Status|null);
  60. /** Operation statusMessage */
  61. statusMessage?: (string|null);
  62. /** Operation targetId */
  63. targetId?: (string|null);
  64. /** Operation targetLink */
  65. targetLink?: (string|null);
  66. /** Operation user */
  67. user?: (string|null);
  68. /** Operation warnings */
  69. warnings?: (google.cloud.compute.v1.IWarnings[]|null);
  70. /** Operation zone */
  71. zone?: (string|null);
  72. }
  73. /** Represents an Operation. */
  74. class Operation implements IOperation {
  75. /**
  76. * Constructs a new Operation.
  77. * @param [properties] Properties to set
  78. */
  79. constructor(properties?: google.cloud.compute.v1.IOperation);
  80. /** Operation clientOperationId. */
  81. public clientOperationId?: (string|null);
  82. /** Operation creationTimestamp. */
  83. public creationTimestamp?: (string|null);
  84. /** Operation description. */
  85. public description?: (string|null);
  86. /** Operation endTime. */
  87. public endTime?: (string|null);
  88. /** Operation error. */
  89. public error?: (google.cloud.compute.v1.IError|null);
  90. /** Operation httpErrorMessage. */
  91. public httpErrorMessage?: (string|null);
  92. /** Operation httpErrorStatusCode. */
  93. public httpErrorStatusCode?: (number|null);
  94. /** Operation id. */
  95. public id?: (string|null);
  96. /** Operation insertTime. */
  97. public insertTime?: (string|null);
  98. /** Operation kind. */
  99. public kind?: (string|null);
  100. /** Operation name. */
  101. public name?: (string|null);
  102. /** Operation operationType. */
  103. public operationType?: (string|null);
  104. /** Operation progress. */
  105. public progress?: (number|null);
  106. /** Operation region. */
  107. public region?: (string|null);
  108. /** Operation selfLink. */
  109. public selfLink?: (string|null);
  110. /** Operation startTime. */
  111. public startTime?: (string|null);
  112. /** Operation status. */
  113. public status?: (google.cloud.compute.v1.Operation.Status|null);
  114. /** Operation statusMessage. */
  115. public statusMessage?: (string|null);
  116. /** Operation targetId. */
  117. public targetId?: (string|null);
  118. /** Operation targetLink. */
  119. public targetLink?: (string|null);
  120. /** Operation user. */
  121. public user?: (string|null);
  122. /** Operation warnings. */
  123. public warnings: google.cloud.compute.v1.IWarnings[];
  124. /** Operation zone. */
  125. public zone?: (string|null);
  126. /** Operation _clientOperationId. */
  127. public _clientOperationId?: "clientOperationId";
  128. /** Operation _creationTimestamp. */
  129. public _creationTimestamp?: "creationTimestamp";
  130. /** Operation _description. */
  131. public _description?: "description";
  132. /** Operation _endTime. */
  133. public _endTime?: "endTime";
  134. /** Operation _error. */
  135. public _error?: "error";
  136. /** Operation _httpErrorMessage. */
  137. public _httpErrorMessage?: "httpErrorMessage";
  138. /** Operation _httpErrorStatusCode. */
  139. public _httpErrorStatusCode?: "httpErrorStatusCode";
  140. /** Operation _id. */
  141. public _id?: "id";
  142. /** Operation _insertTime. */
  143. public _insertTime?: "insertTime";
  144. /** Operation _kind. */
  145. public _kind?: "kind";
  146. /** Operation _name. */
  147. public _name?: "name";
  148. /** Operation _operationType. */
  149. public _operationType?: "operationType";
  150. /** Operation _progress. */
  151. public _progress?: "progress";
  152. /** Operation _region. */
  153. public _region?: "region";
  154. /** Operation _selfLink. */
  155. public _selfLink?: "selfLink";
  156. /** Operation _startTime. */
  157. public _startTime?: "startTime";
  158. /** Operation _status. */
  159. public _status?: "status";
  160. /** Operation _statusMessage. */
  161. public _statusMessage?: "statusMessage";
  162. /** Operation _targetId. */
  163. public _targetId?: "targetId";
  164. /** Operation _targetLink. */
  165. public _targetLink?: "targetLink";
  166. /** Operation _user. */
  167. public _user?: "user";
  168. /** Operation _zone. */
  169. public _zone?: "zone";
  170. /**
  171. * Creates a new Operation instance using the specified properties.
  172. * @param [properties] Properties to set
  173. * @returns Operation instance
  174. */
  175. public static create(properties?: google.cloud.compute.v1.IOperation): google.cloud.compute.v1.Operation;
  176. /**
  177. * Encodes the specified Operation message. Does not implicitly {@link google.cloud.compute.v1.Operation.verify|verify} messages.
  178. * @param message Operation message or plain object to encode
  179. * @param [writer] Writer to encode to
  180. * @returns Writer
  181. */
  182. public static encode(message: google.cloud.compute.v1.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
  183. /**
  184. * Encodes the specified Operation message, length delimited. Does not implicitly {@link google.cloud.compute.v1.Operation.verify|verify} messages.
  185. * @param message Operation message or plain object to encode
  186. * @param [writer] Writer to encode to
  187. * @returns Writer
  188. */
  189. public static encodeDelimited(message: google.cloud.compute.v1.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
  190. /**
  191. * Decodes an Operation message from the specified reader or buffer.
  192. * @param reader Reader or buffer to decode from
  193. * @param [length] Message length if known beforehand
  194. * @returns Operation
  195. * @throws {Error} If the payload is not a reader or valid buffer
  196. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  197. */
  198. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.Operation;
  199. /**
  200. * Decodes an Operation message from the specified reader or buffer, length delimited.
  201. * @param reader Reader or buffer to decode from
  202. * @returns Operation
  203. * @throws {Error} If the payload is not a reader or valid buffer
  204. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  205. */
  206. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.Operation;
  207. /**
  208. * Verifies an Operation message.
  209. * @param message Plain object to verify
  210. * @returns `null` if valid, otherwise the reason why it is not
  211. */
  212. public static verify(message: { [k: string]: any }): (string|null);
  213. /**
  214. * Creates an Operation message from a plain object. Also converts values to their respective internal types.
  215. * @param object Plain object
  216. * @returns Operation
  217. */
  218. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.Operation;
  219. /**
  220. * Creates a plain object from an Operation message. Also converts values to other types if specified.
  221. * @param message Operation
  222. * @param [options] Conversion options
  223. * @returns Plain object
  224. */
  225. public static toObject(message: google.cloud.compute.v1.Operation, options?: $protobuf.IConversionOptions): { [k: string]: any };
  226. /**
  227. * Converts this Operation to JSON.
  228. * @returns JSON object
  229. */
  230. public toJSON(): { [k: string]: any };
  231. }
  232. namespace Operation {
  233. /** Status enum. */
  234. enum Status {
  235. UNDEFINED_STATUS = 0,
  236. DONE = 2104194,
  237. PENDING = 35394935,
  238. RUNNING = 121282975
  239. }
  240. }
  241. /** Properties of an Errors. */
  242. interface IErrors {
  243. /** Errors code */
  244. code?: (string|null);
  245. /** Errors location */
  246. location?: (string|null);
  247. /** Errors message */
  248. message?: (string|null);
  249. }
  250. /** Represents an Errors. */
  251. class Errors implements IErrors {
  252. /**
  253. * Constructs a new Errors.
  254. * @param [properties] Properties to set
  255. */
  256. constructor(properties?: google.cloud.compute.v1.IErrors);
  257. /** Errors code. */
  258. public code?: (string|null);
  259. /** Errors location. */
  260. public location?: (string|null);
  261. /** Errors message. */
  262. public message?: (string|null);
  263. /** Errors _code. */
  264. public _code?: "code";
  265. /** Errors _location. */
  266. public _location?: "location";
  267. /** Errors _message. */
  268. public _message?: "message";
  269. /**
  270. * Creates a new Errors instance using the specified properties.
  271. * @param [properties] Properties to set
  272. * @returns Errors instance
  273. */
  274. public static create(properties?: google.cloud.compute.v1.IErrors): google.cloud.compute.v1.Errors;
  275. /**
  276. * Encodes the specified Errors message. Does not implicitly {@link google.cloud.compute.v1.Errors.verify|verify} messages.
  277. * @param message Errors message or plain object to encode
  278. * @param [writer] Writer to encode to
  279. * @returns Writer
  280. */
  281. public static encode(message: google.cloud.compute.v1.IErrors, writer?: $protobuf.Writer): $protobuf.Writer;
  282. /**
  283. * Encodes the specified Errors message, length delimited. Does not implicitly {@link google.cloud.compute.v1.Errors.verify|verify} messages.
  284. * @param message Errors message or plain object to encode
  285. * @param [writer] Writer to encode to
  286. * @returns Writer
  287. */
  288. public static encodeDelimited(message: google.cloud.compute.v1.IErrors, writer?: $protobuf.Writer): $protobuf.Writer;
  289. /**
  290. * Decodes an Errors message from the specified reader or buffer.
  291. * @param reader Reader or buffer to decode from
  292. * @param [length] Message length if known beforehand
  293. * @returns Errors
  294. * @throws {Error} If the payload is not a reader or valid buffer
  295. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  296. */
  297. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.Errors;
  298. /**
  299. * Decodes an Errors message from the specified reader or buffer, length delimited.
  300. * @param reader Reader or buffer to decode from
  301. * @returns Errors
  302. * @throws {Error} If the payload is not a reader or valid buffer
  303. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  304. */
  305. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.Errors;
  306. /**
  307. * Verifies an Errors message.
  308. * @param message Plain object to verify
  309. * @returns `null` if valid, otherwise the reason why it is not
  310. */
  311. public static verify(message: { [k: string]: any }): (string|null);
  312. /**
  313. * Creates an Errors message from a plain object. Also converts values to their respective internal types.
  314. * @param object Plain object
  315. * @returns Errors
  316. */
  317. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.Errors;
  318. /**
  319. * Creates a plain object from an Errors message. Also converts values to other types if specified.
  320. * @param message Errors
  321. * @param [options] Conversion options
  322. * @returns Plain object
  323. */
  324. public static toObject(message: google.cloud.compute.v1.Errors, options?: $protobuf.IConversionOptions): { [k: string]: any };
  325. /**
  326. * Converts this Errors to JSON.
  327. * @returns JSON object
  328. */
  329. public toJSON(): { [k: string]: any };
  330. }
  331. /** Properties of an Error. */
  332. interface IError {
  333. /** Error errors */
  334. errors?: (google.cloud.compute.v1.IErrors[]|null);
  335. }
  336. /** Represents an Error. */
  337. class Error implements IError {
  338. /**
  339. * Constructs a new Error.
  340. * @param [properties] Properties to set
  341. */
  342. constructor(properties?: google.cloud.compute.v1.IError);
  343. /** Error errors. */
  344. public errors: google.cloud.compute.v1.IErrors[];
  345. /**
  346. * Creates a new Error instance using the specified properties.
  347. * @param [properties] Properties to set
  348. * @returns Error instance
  349. */
  350. public static create(properties?: google.cloud.compute.v1.IError): google.cloud.compute.v1.Error;
  351. /**
  352. * Encodes the specified Error message. Does not implicitly {@link google.cloud.compute.v1.Error.verify|verify} messages.
  353. * @param message Error message or plain object to encode
  354. * @param [writer] Writer to encode to
  355. * @returns Writer
  356. */
  357. public static encode(message: google.cloud.compute.v1.IError, writer?: $protobuf.Writer): $protobuf.Writer;
  358. /**
  359. * Encodes the specified Error message, length delimited. Does not implicitly {@link google.cloud.compute.v1.Error.verify|verify} messages.
  360. * @param message Error message or plain object to encode
  361. * @param [writer] Writer to encode to
  362. * @returns Writer
  363. */
  364. public static encodeDelimited(message: google.cloud.compute.v1.IError, writer?: $protobuf.Writer): $protobuf.Writer;
  365. /**
  366. * Decodes an Error message from the specified reader or buffer.
  367. * @param reader Reader or buffer to decode from
  368. * @param [length] Message length if known beforehand
  369. * @returns Error
  370. * @throws {Error} If the payload is not a reader or valid buffer
  371. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  372. */
  373. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.Error;
  374. /**
  375. * Decodes an Error message from the specified reader or buffer, length delimited.
  376. * @param reader Reader or buffer to decode from
  377. * @returns Error
  378. * @throws {Error} If the payload is not a reader or valid buffer
  379. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  380. */
  381. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.Error;
  382. /**
  383. * Verifies an Error message.
  384. * @param message Plain object to verify
  385. * @returns `null` if valid, otherwise the reason why it is not
  386. */
  387. public static verify(message: { [k: string]: any }): (string|null);
  388. /**
  389. * Creates an Error message from a plain object. Also converts values to their respective internal types.
  390. * @param object Plain object
  391. * @returns Error
  392. */
  393. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.Error;
  394. /**
  395. * Creates a plain object from an Error message. Also converts values to other types if specified.
  396. * @param message Error
  397. * @param [options] Conversion options
  398. * @returns Plain object
  399. */
  400. public static toObject(message: google.cloud.compute.v1.Error, options?: $protobuf.IConversionOptions): { [k: string]: any };
  401. /**
  402. * Converts this Error to JSON.
  403. * @returns JSON object
  404. */
  405. public toJSON(): { [k: string]: any };
  406. }
  407. /** Properties of a Warnings. */
  408. interface IWarnings {
  409. /** Warnings code */
  410. code?: (google.cloud.compute.v1.Warnings.Code|null);
  411. /** Warnings data */
  412. data?: (google.cloud.compute.v1.IData[]|null);
  413. /** Warnings message */
  414. message?: (string|null);
  415. }
  416. /** Represents a Warnings. */
  417. class Warnings implements IWarnings {
  418. /**
  419. * Constructs a new Warnings.
  420. * @param [properties] Properties to set
  421. */
  422. constructor(properties?: google.cloud.compute.v1.IWarnings);
  423. /** Warnings code. */
  424. public code?: (google.cloud.compute.v1.Warnings.Code|null);
  425. /** Warnings data. */
  426. public data: google.cloud.compute.v1.IData[];
  427. /** Warnings message. */
  428. public message?: (string|null);
  429. /** Warnings _code. */
  430. public _code?: "code";
  431. /** Warnings _message. */
  432. public _message?: "message";
  433. /**
  434. * Creates a new Warnings instance using the specified properties.
  435. * @param [properties] Properties to set
  436. * @returns Warnings instance
  437. */
  438. public static create(properties?: google.cloud.compute.v1.IWarnings): google.cloud.compute.v1.Warnings;
  439. /**
  440. * Encodes the specified Warnings message. Does not implicitly {@link google.cloud.compute.v1.Warnings.verify|verify} messages.
  441. * @param message Warnings message or plain object to encode
  442. * @param [writer] Writer to encode to
  443. * @returns Writer
  444. */
  445. public static encode(message: google.cloud.compute.v1.IWarnings, writer?: $protobuf.Writer): $protobuf.Writer;
  446. /**
  447. * Encodes the specified Warnings message, length delimited. Does not implicitly {@link google.cloud.compute.v1.Warnings.verify|verify} messages.
  448. * @param message Warnings message or plain object to encode
  449. * @param [writer] Writer to encode to
  450. * @returns Writer
  451. */
  452. public static encodeDelimited(message: google.cloud.compute.v1.IWarnings, writer?: $protobuf.Writer): $protobuf.Writer;
  453. /**
  454. * Decodes a Warnings message from the specified reader or buffer.
  455. * @param reader Reader or buffer to decode from
  456. * @param [length] Message length if known beforehand
  457. * @returns Warnings
  458. * @throws {Error} If the payload is not a reader or valid buffer
  459. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  460. */
  461. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.Warnings;
  462. /**
  463. * Decodes a Warnings message from the specified reader or buffer, length delimited.
  464. * @param reader Reader or buffer to decode from
  465. * @returns Warnings
  466. * @throws {Error} If the payload is not a reader or valid buffer
  467. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  468. */
  469. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.Warnings;
  470. /**
  471. * Verifies a Warnings message.
  472. * @param message Plain object to verify
  473. * @returns `null` if valid, otherwise the reason why it is not
  474. */
  475. public static verify(message: { [k: string]: any }): (string|null);
  476. /**
  477. * Creates a Warnings message from a plain object. Also converts values to their respective internal types.
  478. * @param object Plain object
  479. * @returns Warnings
  480. */
  481. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.Warnings;
  482. /**
  483. * Creates a plain object from a Warnings message. Also converts values to other types if specified.
  484. * @param message Warnings
  485. * @param [options] Conversion options
  486. * @returns Plain object
  487. */
  488. public static toObject(message: google.cloud.compute.v1.Warnings, options?: $protobuf.IConversionOptions): { [k: string]: any };
  489. /**
  490. * Converts this Warnings to JSON.
  491. * @returns JSON object
  492. */
  493. public toJSON(): { [k: string]: any };
  494. }
  495. namespace Warnings {
  496. /** Code enum. */
  497. enum Code {
  498. UNDEFINED_CODE = 0,
  499. CLEANUP_FAILED = 150308440,
  500. DEPRECATED_RESOURCE_USED = 391835586,
  501. DEPRECATED_TYPE_USED = 346526230,
  502. DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967,
  503. EXPERIMENTAL_TYPE_USED = 451954443,
  504. EXTERNAL_API_WARNING = 175546307,
  505. FIELD_VALUE_OVERRIDEN = 329669423,
  506. INJECTED_KERNELS_DEPRECATED = 417377419,
  507. MISSING_TYPE_DEPENDENCY = 344505463,
  508. NEXT_HOP_ADDRESS_NOT_ASSIGNED = 324964999,
  509. NEXT_HOP_CANNOT_IP_FORWARD = 383382887,
  510. NEXT_HOP_INSTANCE_NOT_FOUND = 464250446,
  511. NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 243758146,
  512. NEXT_HOP_NOT_RUNNING = 417081265,
  513. NOT_CRITICAL_ERROR = 105763924,
  514. NO_RESULTS_ON_PAGE = 30036744,
  515. REQUIRED_TOS_AGREEMENT = 3745539,
  516. RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641,
  517. RESOURCE_NOT_DELETED = 168598460,
  518. SCHEMA_VALIDATION_IGNORED = 275245642,
  519. SINGLE_INSTANCE_PROPERTY_TEMPLATE = 268305617,
  520. UNDECLARED_PROPERTIES = 390513439,
  521. UNREACHABLE = 13328052
  522. }
  523. }
  524. /** Properties of a Warning. */
  525. interface IWarning {
  526. /** Warning code */
  527. code?: (google.cloud.compute.v1.Warning.Code|null);
  528. /** Warning data */
  529. data?: (google.cloud.compute.v1.IData[]|null);
  530. /** Warning message */
  531. message?: (string|null);
  532. }
  533. /** Represents a Warning. */
  534. class Warning implements IWarning {
  535. /**
  536. * Constructs a new Warning.
  537. * @param [properties] Properties to set
  538. */
  539. constructor(properties?: google.cloud.compute.v1.IWarning);
  540. /** Warning code. */
  541. public code?: (google.cloud.compute.v1.Warning.Code|null);
  542. /** Warning data. */
  543. public data: google.cloud.compute.v1.IData[];
  544. /** Warning message. */
  545. public message?: (string|null);
  546. /** Warning _code. */
  547. public _code?: "code";
  548. /** Warning _message. */
  549. public _message?: "message";
  550. /**
  551. * Creates a new Warning instance using the specified properties.
  552. * @param [properties] Properties to set
  553. * @returns Warning instance
  554. */
  555. public static create(properties?: google.cloud.compute.v1.IWarning): google.cloud.compute.v1.Warning;
  556. /**
  557. * Encodes the specified Warning message. Does not implicitly {@link google.cloud.compute.v1.Warning.verify|verify} messages.
  558. * @param message Warning message or plain object to encode
  559. * @param [writer] Writer to encode to
  560. * @returns Writer
  561. */
  562. public static encode(message: google.cloud.compute.v1.IWarning, writer?: $protobuf.Writer): $protobuf.Writer;
  563. /**
  564. * Encodes the specified Warning message, length delimited. Does not implicitly {@link google.cloud.compute.v1.Warning.verify|verify} messages.
  565. * @param message Warning message or plain object to encode
  566. * @param [writer] Writer to encode to
  567. * @returns Writer
  568. */
  569. public static encodeDelimited(message: google.cloud.compute.v1.IWarning, writer?: $protobuf.Writer): $protobuf.Writer;
  570. /**
  571. * Decodes a Warning message from the specified reader or buffer.
  572. * @param reader Reader or buffer to decode from
  573. * @param [length] Message length if known beforehand
  574. * @returns Warning
  575. * @throws {Error} If the payload is not a reader or valid buffer
  576. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  577. */
  578. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.Warning;
  579. /**
  580. * Decodes a Warning message from the specified reader or buffer, length delimited.
  581. * @param reader Reader or buffer to decode from
  582. * @returns Warning
  583. * @throws {Error} If the payload is not a reader or valid buffer
  584. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  585. */
  586. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.Warning;
  587. /**
  588. * Verifies a Warning message.
  589. * @param message Plain object to verify
  590. * @returns `null` if valid, otherwise the reason why it is not
  591. */
  592. public static verify(message: { [k: string]: any }): (string|null);
  593. /**
  594. * Creates a Warning message from a plain object. Also converts values to their respective internal types.
  595. * @param object Plain object
  596. * @returns Warning
  597. */
  598. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.Warning;
  599. /**
  600. * Creates a plain object from a Warning message. Also converts values to other types if specified.
  601. * @param message Warning
  602. * @param [options] Conversion options
  603. * @returns Plain object
  604. */
  605. public static toObject(message: google.cloud.compute.v1.Warning, options?: $protobuf.IConversionOptions): { [k: string]: any };
  606. /**
  607. * Converts this Warning to JSON.
  608. * @returns JSON object
  609. */
  610. public toJSON(): { [k: string]: any };
  611. }
  612. namespace Warning {
  613. /** Code enum. */
  614. enum Code {
  615. UNDEFINED_CODE = 0,
  616. CLEANUP_FAILED = 150308440,
  617. DEPRECATED_RESOURCE_USED = 391835586,
  618. DEPRECATED_TYPE_USED = 346526230,
  619. DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967,
  620. EXPERIMENTAL_TYPE_USED = 451954443,
  621. EXTERNAL_API_WARNING = 175546307,
  622. FIELD_VALUE_OVERRIDEN = 329669423,
  623. INJECTED_KERNELS_DEPRECATED = 417377419,
  624. LARGE_DEPLOYMENT_WARNING = 481440678,
  625. MISSING_TYPE_DEPENDENCY = 344505463,
  626. NEXT_HOP_ADDRESS_NOT_ASSIGNED = 324964999,
  627. NEXT_HOP_CANNOT_IP_FORWARD = 383382887,
  628. NEXT_HOP_INSTANCE_NOT_FOUND = 464250446,
  629. NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 243758146,
  630. NEXT_HOP_NOT_RUNNING = 417081265,
  631. NOT_CRITICAL_ERROR = 105763924,
  632. NO_RESULTS_ON_PAGE = 30036744,
  633. PARTIAL_SUCCESS = 39966469,
  634. REQUIRED_TOS_AGREEMENT = 3745539,
  635. RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641,
  636. RESOURCE_NOT_DELETED = 168598460,
  637. SCHEMA_VALIDATION_IGNORED = 275245642,
  638. SINGLE_INSTANCE_PROPERTY_TEMPLATE = 268305617,
  639. UNDECLARED_PROPERTIES = 390513439,
  640. UNREACHABLE = 13328052
  641. }
  642. }
  643. /** Properties of a Data. */
  644. interface IData {
  645. /** Data key */
  646. key?: (string|null);
  647. /** Data value */
  648. value?: (string|null);
  649. }
  650. /** Represents a Data. */
  651. class Data implements IData {
  652. /**
  653. * Constructs a new Data.
  654. * @param [properties] Properties to set
  655. */
  656. constructor(properties?: google.cloud.compute.v1.IData);
  657. /** Data key. */
  658. public key?: (string|null);
  659. /** Data value. */
  660. public value?: (string|null);
  661. /** Data _key. */
  662. public _key?: "key";
  663. /** Data _value. */
  664. public _value?: "value";
  665. /**
  666. * Creates a new Data instance using the specified properties.
  667. * @param [properties] Properties to set
  668. * @returns Data instance
  669. */
  670. public static create(properties?: google.cloud.compute.v1.IData): google.cloud.compute.v1.Data;
  671. /**
  672. * Encodes the specified Data message. Does not implicitly {@link google.cloud.compute.v1.Data.verify|verify} messages.
  673. * @param message Data message or plain object to encode
  674. * @param [writer] Writer to encode to
  675. * @returns Writer
  676. */
  677. public static encode(message: google.cloud.compute.v1.IData, writer?: $protobuf.Writer): $protobuf.Writer;
  678. /**
  679. * Encodes the specified Data message, length delimited. Does not implicitly {@link google.cloud.compute.v1.Data.verify|verify} messages.
  680. * @param message Data message or plain object to encode
  681. * @param [writer] Writer to encode to
  682. * @returns Writer
  683. */
  684. public static encodeDelimited(message: google.cloud.compute.v1.IData, writer?: $protobuf.Writer): $protobuf.Writer;
  685. /**
  686. * Decodes a Data message from the specified reader or buffer.
  687. * @param reader Reader or buffer to decode from
  688. * @param [length] Message length if known beforehand
  689. * @returns Data
  690. * @throws {Error} If the payload is not a reader or valid buffer
  691. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  692. */
  693. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.Data;
  694. /**
  695. * Decodes a Data message from the specified reader or buffer, length delimited.
  696. * @param reader Reader or buffer to decode from
  697. * @returns Data
  698. * @throws {Error} If the payload is not a reader or valid buffer
  699. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  700. */
  701. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.Data;
  702. /**
  703. * Verifies a Data message.
  704. * @param message Plain object to verify
  705. * @returns `null` if valid, otherwise the reason why it is not
  706. */
  707. public static verify(message: { [k: string]: any }): (string|null);
  708. /**
  709. * Creates a Data message from a plain object. Also converts values to their respective internal types.
  710. * @param object Plain object
  711. * @returns Data
  712. */
  713. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.Data;
  714. /**
  715. * Creates a plain object from a Data message. Also converts values to other types if specified.
  716. * @param message Data
  717. * @param [options] Conversion options
  718. * @returns Plain object
  719. */
  720. public static toObject(message: google.cloud.compute.v1.Data, options?: $protobuf.IConversionOptions): { [k: string]: any };
  721. /**
  722. * Converts this Data to JSON.
  723. * @returns JSON object
  724. */
  725. public toJSON(): { [k: string]: any };
  726. }
  727. /** Properties of an OperationsScopedList. */
  728. interface IOperationsScopedList {
  729. /** OperationsScopedList operations */
  730. operations?: (google.cloud.compute.v1.IOperation[]|null);
  731. /** OperationsScopedList warning */
  732. warning?: (google.cloud.compute.v1.IWarning|null);
  733. }
  734. /** Represents an OperationsScopedList. */
  735. class OperationsScopedList implements IOperationsScopedList {
  736. /**
  737. * Constructs a new OperationsScopedList.
  738. * @param [properties] Properties to set
  739. */
  740. constructor(properties?: google.cloud.compute.v1.IOperationsScopedList);
  741. /** OperationsScopedList operations. */
  742. public operations: google.cloud.compute.v1.IOperation[];
  743. /** OperationsScopedList warning. */
  744. public warning?: (google.cloud.compute.v1.IWarning|null);
  745. /** OperationsScopedList _warning. */
  746. public _warning?: "warning";
  747. /**
  748. * Creates a new OperationsScopedList instance using the specified properties.
  749. * @param [properties] Properties to set
  750. * @returns OperationsScopedList instance
  751. */
  752. public static create(properties?: google.cloud.compute.v1.IOperationsScopedList): google.cloud.compute.v1.OperationsScopedList;
  753. /**
  754. * Encodes the specified OperationsScopedList message. Does not implicitly {@link google.cloud.compute.v1.OperationsScopedList.verify|verify} messages.
  755. * @param message OperationsScopedList message or plain object to encode
  756. * @param [writer] Writer to encode to
  757. * @returns Writer
  758. */
  759. public static encode(message: google.cloud.compute.v1.IOperationsScopedList, writer?: $protobuf.Writer): $protobuf.Writer;
  760. /**
  761. * Encodes the specified OperationsScopedList message, length delimited. Does not implicitly {@link google.cloud.compute.v1.OperationsScopedList.verify|verify} messages.
  762. * @param message OperationsScopedList message or plain object to encode
  763. * @param [writer] Writer to encode to
  764. * @returns Writer
  765. */
  766. public static encodeDelimited(message: google.cloud.compute.v1.IOperationsScopedList, writer?: $protobuf.Writer): $protobuf.Writer;
  767. /**
  768. * Decodes an OperationsScopedList message from the specified reader or buffer.
  769. * @param reader Reader or buffer to decode from
  770. * @param [length] Message length if known beforehand
  771. * @returns OperationsScopedList
  772. * @throws {Error} If the payload is not a reader or valid buffer
  773. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  774. */
  775. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.OperationsScopedList;
  776. /**
  777. * Decodes an OperationsScopedList message from the specified reader or buffer, length delimited.
  778. * @param reader Reader or buffer to decode from
  779. * @returns OperationsScopedList
  780. * @throws {Error} If the payload is not a reader or valid buffer
  781. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  782. */
  783. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.OperationsScopedList;
  784. /**
  785. * Verifies an OperationsScopedList message.
  786. * @param message Plain object to verify
  787. * @returns `null` if valid, otherwise the reason why it is not
  788. */
  789. public static verify(message: { [k: string]: any }): (string|null);
  790. /**
  791. * Creates an OperationsScopedList message from a plain object. Also converts values to their respective internal types.
  792. * @param object Plain object
  793. * @returns OperationsScopedList
  794. */
  795. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.OperationsScopedList;
  796. /**
  797. * Creates a plain object from an OperationsScopedList message. Also converts values to other types if specified.
  798. * @param message OperationsScopedList
  799. * @param [options] Conversion options
  800. * @returns Plain object
  801. */
  802. public static toObject(message: google.cloud.compute.v1.OperationsScopedList, options?: $protobuf.IConversionOptions): { [k: string]: any };
  803. /**
  804. * Converts this OperationsScopedList to JSON.
  805. * @returns JSON object
  806. */
  807. public toJSON(): { [k: string]: any };
  808. }
  809. /** Properties of an OperationAggregatedList. */
  810. interface IOperationAggregatedList {
  811. /** OperationAggregatedList id */
  812. id?: (string|null);
  813. /** OperationAggregatedList items */
  814. items?: ({ [k: string]: google.cloud.compute.v1.IOperationsScopedList }|null);
  815. /** OperationAggregatedList kind */
  816. kind?: (string|null);
  817. /** OperationAggregatedList nextPageToken */
  818. nextPageToken?: (string|null);
  819. /** OperationAggregatedList selfLink */
  820. selfLink?: (string|null);
  821. /** OperationAggregatedList unreachables */
  822. unreachables?: (string[]|null);
  823. /** OperationAggregatedList warning */
  824. warning?: (google.cloud.compute.v1.IWarning|null);
  825. }
  826. /** Represents an OperationAggregatedList. */
  827. class OperationAggregatedList implements IOperationAggregatedList {
  828. /**
  829. * Constructs a new OperationAggregatedList.
  830. * @param [properties] Properties to set
  831. */
  832. constructor(properties?: google.cloud.compute.v1.IOperationAggregatedList);
  833. /** OperationAggregatedList id. */
  834. public id?: (string|null);
  835. /** OperationAggregatedList items. */
  836. public items: { [k: string]: google.cloud.compute.v1.IOperationsScopedList };
  837. /** OperationAggregatedList kind. */
  838. public kind?: (string|null);
  839. /** OperationAggregatedList nextPageToken. */
  840. public nextPageToken?: (string|null);
  841. /** OperationAggregatedList selfLink. */
  842. public selfLink?: (string|null);
  843. /** OperationAggregatedList unreachables. */
  844. public unreachables: string[];
  845. /** OperationAggregatedList warning. */
  846. public warning?: (google.cloud.compute.v1.IWarning|null);
  847. /** OperationAggregatedList _id. */
  848. public _id?: "id";
  849. /** OperationAggregatedList _kind. */
  850. public _kind?: "kind";
  851. /** OperationAggregatedList _nextPageToken. */
  852. public _nextPageToken?: "nextPageToken";
  853. /** OperationAggregatedList _selfLink. */
  854. public _selfLink?: "selfLink";
  855. /** OperationAggregatedList _warning. */
  856. public _warning?: "warning";
  857. /**
  858. * Creates a new OperationAggregatedList instance using the specified properties.
  859. * @param [properties] Properties to set
  860. * @returns OperationAggregatedList instance
  861. */
  862. public static create(properties?: google.cloud.compute.v1.IOperationAggregatedList): google.cloud.compute.v1.OperationAggregatedList;
  863. /**
  864. * Encodes the specified OperationAggregatedList message. Does not implicitly {@link google.cloud.compute.v1.OperationAggregatedList.verify|verify} messages.
  865. * @param message OperationAggregatedList message or plain object to encode
  866. * @param [writer] Writer to encode to
  867. * @returns Writer
  868. */
  869. public static encode(message: google.cloud.compute.v1.IOperationAggregatedList, writer?: $protobuf.Writer): $protobuf.Writer;
  870. /**
  871. * Encodes the specified OperationAggregatedList message, length delimited. Does not implicitly {@link google.cloud.compute.v1.OperationAggregatedList.verify|verify} messages.
  872. * @param message OperationAggregatedList message or plain object to encode
  873. * @param [writer] Writer to encode to
  874. * @returns Writer
  875. */
  876. public static encodeDelimited(message: google.cloud.compute.v1.IOperationAggregatedList, writer?: $protobuf.Writer): $protobuf.Writer;
  877. /**
  878. * Decodes an OperationAggregatedList message from the specified reader or buffer.
  879. * @param reader Reader or buffer to decode from
  880. * @param [length] Message length if known beforehand
  881. * @returns OperationAggregatedList
  882. * @throws {Error} If the payload is not a reader or valid buffer
  883. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  884. */
  885. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.OperationAggregatedList;
  886. /**
  887. * Decodes an OperationAggregatedList message from the specified reader or buffer, length delimited.
  888. * @param reader Reader or buffer to decode from
  889. * @returns OperationAggregatedList
  890. * @throws {Error} If the payload is not a reader or valid buffer
  891. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  892. */
  893. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.OperationAggregatedList;
  894. /**
  895. * Verifies an OperationAggregatedList message.
  896. * @param message Plain object to verify
  897. * @returns `null` if valid, otherwise the reason why it is not
  898. */
  899. public static verify(message: { [k: string]: any }): (string|null);
  900. /**
  901. * Creates an OperationAggregatedList message from a plain object. Also converts values to their respective internal types.
  902. * @param object Plain object
  903. * @returns OperationAggregatedList
  904. */
  905. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.OperationAggregatedList;
  906. /**
  907. * Creates a plain object from an OperationAggregatedList message. Also converts values to other types if specified.
  908. * @param message OperationAggregatedList
  909. * @param [options] Conversion options
  910. * @returns Plain object
  911. */
  912. public static toObject(message: google.cloud.compute.v1.OperationAggregatedList, options?: $protobuf.IConversionOptions): { [k: string]: any };
  913. /**
  914. * Converts this OperationAggregatedList to JSON.
  915. * @returns JSON object
  916. */
  917. public toJSON(): { [k: string]: any };
  918. }
  919. /** Properties of a GetRegionOperationRequest. */
  920. interface IGetRegionOperationRequest {
  921. /** GetRegionOperationRequest operation */
  922. operation?: (string|null);
  923. /** GetRegionOperationRequest project */
  924. project?: (string|null);
  925. /** GetRegionOperationRequest region */
  926. region?: (string|null);
  927. }
  928. /** Represents a GetRegionOperationRequest. */
  929. class GetRegionOperationRequest implements IGetRegionOperationRequest {
  930. /**
  931. * Constructs a new GetRegionOperationRequest.
  932. * @param [properties] Properties to set
  933. */
  934. constructor(properties?: google.cloud.compute.v1.IGetRegionOperationRequest);
  935. /** GetRegionOperationRequest operation. */
  936. public operation: string;
  937. /** GetRegionOperationRequest project. */
  938. public project: string;
  939. /** GetRegionOperationRequest region. */
  940. public region: string;
  941. /**
  942. * Creates a new GetRegionOperationRequest instance using the specified properties.
  943. * @param [properties] Properties to set
  944. * @returns GetRegionOperationRequest instance
  945. */
  946. public static create(properties?: google.cloud.compute.v1.IGetRegionOperationRequest): google.cloud.compute.v1.GetRegionOperationRequest;
  947. /**
  948. * Encodes the specified GetRegionOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.GetRegionOperationRequest.verify|verify} messages.
  949. * @param message GetRegionOperationRequest message or plain object to encode
  950. * @param [writer] Writer to encode to
  951. * @returns Writer
  952. */
  953. public static encode(message: google.cloud.compute.v1.IGetRegionOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  954. /**
  955. * Encodes the specified GetRegionOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.GetRegionOperationRequest.verify|verify} messages.
  956. * @param message GetRegionOperationRequest message or plain object to encode
  957. * @param [writer] Writer to encode to
  958. * @returns Writer
  959. */
  960. public static encodeDelimited(message: google.cloud.compute.v1.IGetRegionOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  961. /**
  962. * Decodes a GetRegionOperationRequest message from the specified reader or buffer.
  963. * @param reader Reader or buffer to decode from
  964. * @param [length] Message length if known beforehand
  965. * @returns GetRegionOperationRequest
  966. * @throws {Error} If the payload is not a reader or valid buffer
  967. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  968. */
  969. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.GetRegionOperationRequest;
  970. /**
  971. * Decodes a GetRegionOperationRequest message from the specified reader or buffer, length delimited.
  972. * @param reader Reader or buffer to decode from
  973. * @returns GetRegionOperationRequest
  974. * @throws {Error} If the payload is not a reader or valid buffer
  975. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  976. */
  977. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.GetRegionOperationRequest;
  978. /**
  979. * Verifies a GetRegionOperationRequest message.
  980. * @param message Plain object to verify
  981. * @returns `null` if valid, otherwise the reason why it is not
  982. */
  983. public static verify(message: { [k: string]: any }): (string|null);
  984. /**
  985. * Creates a GetRegionOperationRequest message from a plain object. Also converts values to their respective internal types.
  986. * @param object Plain object
  987. * @returns GetRegionOperationRequest
  988. */
  989. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.GetRegionOperationRequest;
  990. /**
  991. * Creates a plain object from a GetRegionOperationRequest message. Also converts values to other types if specified.
  992. * @param message GetRegionOperationRequest
  993. * @param [options] Conversion options
  994. * @returns Plain object
  995. */
  996. public static toObject(message: google.cloud.compute.v1.GetRegionOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
  997. /**
  998. * Converts this GetRegionOperationRequest to JSON.
  999. * @returns JSON object
  1000. */
  1001. public toJSON(): { [k: string]: any };
  1002. }
  1003. /** Properties of a DeleteRegionOperationRequest. */
  1004. interface IDeleteRegionOperationRequest {
  1005. /** DeleteRegionOperationRequest operation */
  1006. operation?: (string|null);
  1007. /** DeleteRegionOperationRequest project */
  1008. project?: (string|null);
  1009. /** DeleteRegionOperationRequest region */
  1010. region?: (string|null);
  1011. }
  1012. /** Represents a DeleteRegionOperationRequest. */
  1013. class DeleteRegionOperationRequest implements IDeleteRegionOperationRequest {
  1014. /**
  1015. * Constructs a new DeleteRegionOperationRequest.
  1016. * @param [properties] Properties to set
  1017. */
  1018. constructor(properties?: google.cloud.compute.v1.IDeleteRegionOperationRequest);
  1019. /** DeleteRegionOperationRequest operation. */
  1020. public operation: string;
  1021. /** DeleteRegionOperationRequest project. */
  1022. public project: string;
  1023. /** DeleteRegionOperationRequest region. */
  1024. public region: string;
  1025. /**
  1026. * Creates a new DeleteRegionOperationRequest instance using the specified properties.
  1027. * @param [properties] Properties to set
  1028. * @returns DeleteRegionOperationRequest instance
  1029. */
  1030. public static create(properties?: google.cloud.compute.v1.IDeleteRegionOperationRequest): google.cloud.compute.v1.DeleteRegionOperationRequest;
  1031. /**
  1032. * Encodes the specified DeleteRegionOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.DeleteRegionOperationRequest.verify|verify} messages.
  1033. * @param message DeleteRegionOperationRequest message or plain object to encode
  1034. * @param [writer] Writer to encode to
  1035. * @returns Writer
  1036. */
  1037. public static encode(message: google.cloud.compute.v1.IDeleteRegionOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  1038. /**
  1039. * Encodes the specified DeleteRegionOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.DeleteRegionOperationRequest.verify|verify} messages.
  1040. * @param message DeleteRegionOperationRequest message or plain object to encode
  1041. * @param [writer] Writer to encode to
  1042. * @returns Writer
  1043. */
  1044. public static encodeDelimited(message: google.cloud.compute.v1.IDeleteRegionOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  1045. /**
  1046. * Decodes a DeleteRegionOperationRequest message from the specified reader or buffer.
  1047. * @param reader Reader or buffer to decode from
  1048. * @param [length] Message length if known beforehand
  1049. * @returns DeleteRegionOperationRequest
  1050. * @throws {Error} If the payload is not a reader or valid buffer
  1051. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1052. */
  1053. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.DeleteRegionOperationRequest;
  1054. /**
  1055. * Decodes a DeleteRegionOperationRequest message from the specified reader or buffer, length delimited.
  1056. * @param reader Reader or buffer to decode from
  1057. * @returns DeleteRegionOperationRequest
  1058. * @throws {Error} If the payload is not a reader or valid buffer
  1059. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1060. */
  1061. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.DeleteRegionOperationRequest;
  1062. /**
  1063. * Verifies a DeleteRegionOperationRequest message.
  1064. * @param message Plain object to verify
  1065. * @returns `null` if valid, otherwise the reason why it is not
  1066. */
  1067. public static verify(message: { [k: string]: any }): (string|null);
  1068. /**
  1069. * Creates a DeleteRegionOperationRequest message from a plain object. Also converts values to their respective internal types.
  1070. * @param object Plain object
  1071. * @returns DeleteRegionOperationRequest
  1072. */
  1073. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.DeleteRegionOperationRequest;
  1074. /**
  1075. * Creates a plain object from a DeleteRegionOperationRequest message. Also converts values to other types if specified.
  1076. * @param message DeleteRegionOperationRequest
  1077. * @param [options] Conversion options
  1078. * @returns Plain object
  1079. */
  1080. public static toObject(message: google.cloud.compute.v1.DeleteRegionOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1081. /**
  1082. * Converts this DeleteRegionOperationRequest to JSON.
  1083. * @returns JSON object
  1084. */
  1085. public toJSON(): { [k: string]: any };
  1086. }
  1087. /** Properties of a DeleteRegionOperationResponse. */
  1088. interface IDeleteRegionOperationResponse {
  1089. }
  1090. /** Represents a DeleteRegionOperationResponse. */
  1091. class DeleteRegionOperationResponse implements IDeleteRegionOperationResponse {
  1092. /**
  1093. * Constructs a new DeleteRegionOperationResponse.
  1094. * @param [properties] Properties to set
  1095. */
  1096. constructor(properties?: google.cloud.compute.v1.IDeleteRegionOperationResponse);
  1097. /**
  1098. * Creates a new DeleteRegionOperationResponse instance using the specified properties.
  1099. * @param [properties] Properties to set
  1100. * @returns DeleteRegionOperationResponse instance
  1101. */
  1102. public static create(properties?: google.cloud.compute.v1.IDeleteRegionOperationResponse): google.cloud.compute.v1.DeleteRegionOperationResponse;
  1103. /**
  1104. * Encodes the specified DeleteRegionOperationResponse message. Does not implicitly {@link google.cloud.compute.v1.DeleteRegionOperationResponse.verify|verify} messages.
  1105. * @param message DeleteRegionOperationResponse message or plain object to encode
  1106. * @param [writer] Writer to encode to
  1107. * @returns Writer
  1108. */
  1109. public static encode(message: google.cloud.compute.v1.IDeleteRegionOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
  1110. /**
  1111. * Encodes the specified DeleteRegionOperationResponse message, length delimited. Does not implicitly {@link google.cloud.compute.v1.DeleteRegionOperationResponse.verify|verify} messages.
  1112. * @param message DeleteRegionOperationResponse message or plain object to encode
  1113. * @param [writer] Writer to encode to
  1114. * @returns Writer
  1115. */
  1116. public static encodeDelimited(message: google.cloud.compute.v1.IDeleteRegionOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
  1117. /**
  1118. * Decodes a DeleteRegionOperationResponse message from the specified reader or buffer.
  1119. * @param reader Reader or buffer to decode from
  1120. * @param [length] Message length if known beforehand
  1121. * @returns DeleteRegionOperationResponse
  1122. * @throws {Error} If the payload is not a reader or valid buffer
  1123. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1124. */
  1125. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.DeleteRegionOperationResponse;
  1126. /**
  1127. * Decodes a DeleteRegionOperationResponse message from the specified reader or buffer, length delimited.
  1128. * @param reader Reader or buffer to decode from
  1129. * @returns DeleteRegionOperationResponse
  1130. * @throws {Error} If the payload is not a reader or valid buffer
  1131. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1132. */
  1133. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.DeleteRegionOperationResponse;
  1134. /**
  1135. * Verifies a DeleteRegionOperationResponse message.
  1136. * @param message Plain object to verify
  1137. * @returns `null` if valid, otherwise the reason why it is not
  1138. */
  1139. public static verify(message: { [k: string]: any }): (string|null);
  1140. /**
  1141. * Creates a DeleteRegionOperationResponse message from a plain object. Also converts values to their respective internal types.
  1142. * @param object Plain object
  1143. * @returns DeleteRegionOperationResponse
  1144. */
  1145. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.DeleteRegionOperationResponse;
  1146. /**
  1147. * Creates a plain object from a DeleteRegionOperationResponse message. Also converts values to other types if specified.
  1148. * @param message DeleteRegionOperationResponse
  1149. * @param [options] Conversion options
  1150. * @returns Plain object
  1151. */
  1152. public static toObject(message: google.cloud.compute.v1.DeleteRegionOperationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1153. /**
  1154. * Converts this DeleteRegionOperationResponse to JSON.
  1155. * @returns JSON object
  1156. */
  1157. public toJSON(): { [k: string]: any };
  1158. }
  1159. /** Properties of a ListRegionOperationsRequest. */
  1160. interface IListRegionOperationsRequest {
  1161. /** ListRegionOperationsRequest filter */
  1162. filter?: (string|null);
  1163. /** ListRegionOperationsRequest maxResults */
  1164. maxResults?: (number|null);
  1165. /** ListRegionOperationsRequest orderBy */
  1166. orderBy?: (string|null);
  1167. /** ListRegionOperationsRequest pageToken */
  1168. pageToken?: (string|null);
  1169. /** ListRegionOperationsRequest project */
  1170. project?: (string|null);
  1171. /** ListRegionOperationsRequest region */
  1172. region?: (string|null);
  1173. /** ListRegionOperationsRequest returnPartialSuccess */
  1174. returnPartialSuccess?: (boolean|null);
  1175. }
  1176. /** Represents a ListRegionOperationsRequest. */
  1177. class ListRegionOperationsRequest implements IListRegionOperationsRequest {
  1178. /**
  1179. * Constructs a new ListRegionOperationsRequest.
  1180. * @param [properties] Properties to set
  1181. */
  1182. constructor(properties?: google.cloud.compute.v1.IListRegionOperationsRequest);
  1183. /** ListRegionOperationsRequest filter. */
  1184. public filter?: (string|null);
  1185. /** ListRegionOperationsRequest maxResults. */
  1186. public maxResults?: (number|null);
  1187. /** ListRegionOperationsRequest orderBy. */
  1188. public orderBy?: (string|null);
  1189. /** ListRegionOperationsRequest pageToken. */
  1190. public pageToken?: (string|null);
  1191. /** ListRegionOperationsRequest project. */
  1192. public project: string;
  1193. /** ListRegionOperationsRequest region. */
  1194. public region: string;
  1195. /** ListRegionOperationsRequest returnPartialSuccess. */
  1196. public returnPartialSuccess?: (boolean|null);
  1197. /** ListRegionOperationsRequest _filter. */
  1198. public _filter?: "filter";
  1199. /** ListRegionOperationsRequest _maxResults. */
  1200. public _maxResults?: "maxResults";
  1201. /** ListRegionOperationsRequest _orderBy. */
  1202. public _orderBy?: "orderBy";
  1203. /** ListRegionOperationsRequest _pageToken. */
  1204. public _pageToken?: "pageToken";
  1205. /** ListRegionOperationsRequest _returnPartialSuccess. */
  1206. public _returnPartialSuccess?: "returnPartialSuccess";
  1207. /**
  1208. * Creates a new ListRegionOperationsRequest instance using the specified properties.
  1209. * @param [properties] Properties to set
  1210. * @returns ListRegionOperationsRequest instance
  1211. */
  1212. public static create(properties?: google.cloud.compute.v1.IListRegionOperationsRequest): google.cloud.compute.v1.ListRegionOperationsRequest;
  1213. /**
  1214. * Encodes the specified ListRegionOperationsRequest message. Does not implicitly {@link google.cloud.compute.v1.ListRegionOperationsRequest.verify|verify} messages.
  1215. * @param message ListRegionOperationsRequest message or plain object to encode
  1216. * @param [writer] Writer to encode to
  1217. * @returns Writer
  1218. */
  1219. public static encode(message: google.cloud.compute.v1.IListRegionOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  1220. /**
  1221. * Encodes the specified ListRegionOperationsRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.ListRegionOperationsRequest.verify|verify} messages.
  1222. * @param message ListRegionOperationsRequest message or plain object to encode
  1223. * @param [writer] Writer to encode to
  1224. * @returns Writer
  1225. */
  1226. public static encodeDelimited(message: google.cloud.compute.v1.IListRegionOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  1227. /**
  1228. * Decodes a ListRegionOperationsRequest message from the specified reader or buffer.
  1229. * @param reader Reader or buffer to decode from
  1230. * @param [length] Message length if known beforehand
  1231. * @returns ListRegionOperationsRequest
  1232. * @throws {Error} If the payload is not a reader or valid buffer
  1233. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1234. */
  1235. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.ListRegionOperationsRequest;
  1236. /**
  1237. * Decodes a ListRegionOperationsRequest message from the specified reader or buffer, length delimited.
  1238. * @param reader Reader or buffer to decode from
  1239. * @returns ListRegionOperationsRequest
  1240. * @throws {Error} If the payload is not a reader or valid buffer
  1241. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1242. */
  1243. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.ListRegionOperationsRequest;
  1244. /**
  1245. * Verifies a ListRegionOperationsRequest message.
  1246. * @param message Plain object to verify
  1247. * @returns `null` if valid, otherwise the reason why it is not
  1248. */
  1249. public static verify(message: { [k: string]: any }): (string|null);
  1250. /**
  1251. * Creates a ListRegionOperationsRequest message from a plain object. Also converts values to their respective internal types.
  1252. * @param object Plain object
  1253. * @returns ListRegionOperationsRequest
  1254. */
  1255. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.ListRegionOperationsRequest;
  1256. /**
  1257. * Creates a plain object from a ListRegionOperationsRequest message. Also converts values to other types if specified.
  1258. * @param message ListRegionOperationsRequest
  1259. * @param [options] Conversion options
  1260. * @returns Plain object
  1261. */
  1262. public static toObject(message: google.cloud.compute.v1.ListRegionOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1263. /**
  1264. * Converts this ListRegionOperationsRequest to JSON.
  1265. * @returns JSON object
  1266. */
  1267. public toJSON(): { [k: string]: any };
  1268. }
  1269. /** Properties of an OperationList. */
  1270. interface IOperationList {
  1271. /** OperationList id */
  1272. id?: (string|null);
  1273. /** OperationList items */
  1274. items?: (google.cloud.compute.v1.IOperation[]|null);
  1275. /** OperationList kind */
  1276. kind?: (string|null);
  1277. /** OperationList nextPageToken */
  1278. nextPageToken?: (string|null);
  1279. /** OperationList selfLink */
  1280. selfLink?: (string|null);
  1281. /** OperationList warning */
  1282. warning?: (google.cloud.compute.v1.IWarning|null);
  1283. }
  1284. /** Represents an OperationList. */
  1285. class OperationList implements IOperationList {
  1286. /**
  1287. * Constructs a new OperationList.
  1288. * @param [properties] Properties to set
  1289. */
  1290. constructor(properties?: google.cloud.compute.v1.IOperationList);
  1291. /** OperationList id. */
  1292. public id?: (string|null);
  1293. /** OperationList items. */
  1294. public items: google.cloud.compute.v1.IOperation[];
  1295. /** OperationList kind. */
  1296. public kind?: (string|null);
  1297. /** OperationList nextPageToken. */
  1298. public nextPageToken?: (string|null);
  1299. /** OperationList selfLink. */
  1300. public selfLink?: (string|null);
  1301. /** OperationList warning. */
  1302. public warning?: (google.cloud.compute.v1.IWarning|null);
  1303. /** OperationList _id. */
  1304. public _id?: "id";
  1305. /** OperationList _kind. */
  1306. public _kind?: "kind";
  1307. /** OperationList _nextPageToken. */
  1308. public _nextPageToken?: "nextPageToken";
  1309. /** OperationList _selfLink. */
  1310. public _selfLink?: "selfLink";
  1311. /** OperationList _warning. */
  1312. public _warning?: "warning";
  1313. /**
  1314. * Creates a new OperationList instance using the specified properties.
  1315. * @param [properties] Properties to set
  1316. * @returns OperationList instance
  1317. */
  1318. public static create(properties?: google.cloud.compute.v1.IOperationList): google.cloud.compute.v1.OperationList;
  1319. /**
  1320. * Encodes the specified OperationList message. Does not implicitly {@link google.cloud.compute.v1.OperationList.verify|verify} messages.
  1321. * @param message OperationList message or plain object to encode
  1322. * @param [writer] Writer to encode to
  1323. * @returns Writer
  1324. */
  1325. public static encode(message: google.cloud.compute.v1.IOperationList, writer?: $protobuf.Writer): $protobuf.Writer;
  1326. /**
  1327. * Encodes the specified OperationList message, length delimited. Does not implicitly {@link google.cloud.compute.v1.OperationList.verify|verify} messages.
  1328. * @param message OperationList message or plain object to encode
  1329. * @param [writer] Writer to encode to
  1330. * @returns Writer
  1331. */
  1332. public static encodeDelimited(message: google.cloud.compute.v1.IOperationList, writer?: $protobuf.Writer): $protobuf.Writer;
  1333. /**
  1334. * Decodes an OperationList message from the specified reader or buffer.
  1335. * @param reader Reader or buffer to decode from
  1336. * @param [length] Message length if known beforehand
  1337. * @returns OperationList
  1338. * @throws {Error} If the payload is not a reader or valid buffer
  1339. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1340. */
  1341. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.OperationList;
  1342. /**
  1343. * Decodes an OperationList message from the specified reader or buffer, length delimited.
  1344. * @param reader Reader or buffer to decode from
  1345. * @returns OperationList
  1346. * @throws {Error} If the payload is not a reader or valid buffer
  1347. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1348. */
  1349. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.OperationList;
  1350. /**
  1351. * Verifies an OperationList message.
  1352. * @param message Plain object to verify
  1353. * @returns `null` if valid, otherwise the reason why it is not
  1354. */
  1355. public static verify(message: { [k: string]: any }): (string|null);
  1356. /**
  1357. * Creates an OperationList message from a plain object. Also converts values to their respective internal types.
  1358. * @param object Plain object
  1359. * @returns OperationList
  1360. */
  1361. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.OperationList;
  1362. /**
  1363. * Creates a plain object from an OperationList message. Also converts values to other types if specified.
  1364. * @param message OperationList
  1365. * @param [options] Conversion options
  1366. * @returns Plain object
  1367. */
  1368. public static toObject(message: google.cloud.compute.v1.OperationList, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1369. /**
  1370. * Converts this OperationList to JSON.
  1371. * @returns JSON object
  1372. */
  1373. public toJSON(): { [k: string]: any };
  1374. }
  1375. /** Properties of a WaitRegionOperationRequest. */
  1376. interface IWaitRegionOperationRequest {
  1377. /** WaitRegionOperationRequest operation */
  1378. operation?: (string|null);
  1379. /** WaitRegionOperationRequest project */
  1380. project?: (string|null);
  1381. /** WaitRegionOperationRequest region */
  1382. region?: (string|null);
  1383. }
  1384. /** Represents a WaitRegionOperationRequest. */
  1385. class WaitRegionOperationRequest implements IWaitRegionOperationRequest {
  1386. /**
  1387. * Constructs a new WaitRegionOperationRequest.
  1388. * @param [properties] Properties to set
  1389. */
  1390. constructor(properties?: google.cloud.compute.v1.IWaitRegionOperationRequest);
  1391. /** WaitRegionOperationRequest operation. */
  1392. public operation: string;
  1393. /** WaitRegionOperationRequest project. */
  1394. public project: string;
  1395. /** WaitRegionOperationRequest region. */
  1396. public region: string;
  1397. /**
  1398. * Creates a new WaitRegionOperationRequest instance using the specified properties.
  1399. * @param [properties] Properties to set
  1400. * @returns WaitRegionOperationRequest instance
  1401. */
  1402. public static create(properties?: google.cloud.compute.v1.IWaitRegionOperationRequest): google.cloud.compute.v1.WaitRegionOperationRequest;
  1403. /**
  1404. * Encodes the specified WaitRegionOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.WaitRegionOperationRequest.verify|verify} messages.
  1405. * @param message WaitRegionOperationRequest message or plain object to encode
  1406. * @param [writer] Writer to encode to
  1407. * @returns Writer
  1408. */
  1409. public static encode(message: google.cloud.compute.v1.IWaitRegionOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  1410. /**
  1411. * Encodes the specified WaitRegionOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.WaitRegionOperationRequest.verify|verify} messages.
  1412. * @param message WaitRegionOperationRequest message or plain object to encode
  1413. * @param [writer] Writer to encode to
  1414. * @returns Writer
  1415. */
  1416. public static encodeDelimited(message: google.cloud.compute.v1.IWaitRegionOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  1417. /**
  1418. * Decodes a WaitRegionOperationRequest message from the specified reader or buffer.
  1419. * @param reader Reader or buffer to decode from
  1420. * @param [length] Message length if known beforehand
  1421. * @returns WaitRegionOperationRequest
  1422. * @throws {Error} If the payload is not a reader or valid buffer
  1423. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1424. */
  1425. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.WaitRegionOperationRequest;
  1426. /**
  1427. * Decodes a WaitRegionOperationRequest message from the specified reader or buffer, length delimited.
  1428. * @param reader Reader or buffer to decode from
  1429. * @returns WaitRegionOperationRequest
  1430. * @throws {Error} If the payload is not a reader or valid buffer
  1431. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1432. */
  1433. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.WaitRegionOperationRequest;
  1434. /**
  1435. * Verifies a WaitRegionOperationRequest message.
  1436. * @param message Plain object to verify
  1437. * @returns `null` if valid, otherwise the reason why it is not
  1438. */
  1439. public static verify(message: { [k: string]: any }): (string|null);
  1440. /**
  1441. * Creates a WaitRegionOperationRequest message from a plain object. Also converts values to their respective internal types.
  1442. * @param object Plain object
  1443. * @returns WaitRegionOperationRequest
  1444. */
  1445. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.WaitRegionOperationRequest;
  1446. /**
  1447. * Creates a plain object from a WaitRegionOperationRequest message. Also converts values to other types if specified.
  1448. * @param message WaitRegionOperationRequest
  1449. * @param [options] Conversion options
  1450. * @returns Plain object
  1451. */
  1452. public static toObject(message: google.cloud.compute.v1.WaitRegionOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1453. /**
  1454. * Converts this WaitRegionOperationRequest to JSON.
  1455. * @returns JSON object
  1456. */
  1457. public toJSON(): { [k: string]: any };
  1458. }
  1459. /** Properties of a DeleteZoneOperationRequest. */
  1460. interface IDeleteZoneOperationRequest {
  1461. /** DeleteZoneOperationRequest operation */
  1462. operation?: (string|null);
  1463. /** DeleteZoneOperationRequest project */
  1464. project?: (string|null);
  1465. /** DeleteZoneOperationRequest zone */
  1466. zone?: (string|null);
  1467. }
  1468. /** Represents a DeleteZoneOperationRequest. */
  1469. class DeleteZoneOperationRequest implements IDeleteZoneOperationRequest {
  1470. /**
  1471. * Constructs a new DeleteZoneOperationRequest.
  1472. * @param [properties] Properties to set
  1473. */
  1474. constructor(properties?: google.cloud.compute.v1.IDeleteZoneOperationRequest);
  1475. /** DeleteZoneOperationRequest operation. */
  1476. public operation: string;
  1477. /** DeleteZoneOperationRequest project. */
  1478. public project: string;
  1479. /** DeleteZoneOperationRequest zone. */
  1480. public zone: string;
  1481. /**
  1482. * Creates a new DeleteZoneOperationRequest instance using the specified properties.
  1483. * @param [properties] Properties to set
  1484. * @returns DeleteZoneOperationRequest instance
  1485. */
  1486. public static create(properties?: google.cloud.compute.v1.IDeleteZoneOperationRequest): google.cloud.compute.v1.DeleteZoneOperationRequest;
  1487. /**
  1488. * Encodes the specified DeleteZoneOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.DeleteZoneOperationRequest.verify|verify} messages.
  1489. * @param message DeleteZoneOperationRequest message or plain object to encode
  1490. * @param [writer] Writer to encode to
  1491. * @returns Writer
  1492. */
  1493. public static encode(message: google.cloud.compute.v1.IDeleteZoneOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  1494. /**
  1495. * Encodes the specified DeleteZoneOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.DeleteZoneOperationRequest.verify|verify} messages.
  1496. * @param message DeleteZoneOperationRequest message or plain object to encode
  1497. * @param [writer] Writer to encode to
  1498. * @returns Writer
  1499. */
  1500. public static encodeDelimited(message: google.cloud.compute.v1.IDeleteZoneOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  1501. /**
  1502. * Decodes a DeleteZoneOperationRequest message from the specified reader or buffer.
  1503. * @param reader Reader or buffer to decode from
  1504. * @param [length] Message length if known beforehand
  1505. * @returns DeleteZoneOperationRequest
  1506. * @throws {Error} If the payload is not a reader or valid buffer
  1507. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1508. */
  1509. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.DeleteZoneOperationRequest;
  1510. /**
  1511. * Decodes a DeleteZoneOperationRequest message from the specified reader or buffer, length delimited.
  1512. * @param reader Reader or buffer to decode from
  1513. * @returns DeleteZoneOperationRequest
  1514. * @throws {Error} If the payload is not a reader or valid buffer
  1515. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1516. */
  1517. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.DeleteZoneOperationRequest;
  1518. /**
  1519. * Verifies a DeleteZoneOperationRequest message.
  1520. * @param message Plain object to verify
  1521. * @returns `null` if valid, otherwise the reason why it is not
  1522. */
  1523. public static verify(message: { [k: string]: any }): (string|null);
  1524. /**
  1525. * Creates a DeleteZoneOperationRequest message from a plain object. Also converts values to their respective internal types.
  1526. * @param object Plain object
  1527. * @returns DeleteZoneOperationRequest
  1528. */
  1529. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.DeleteZoneOperationRequest;
  1530. /**
  1531. * Creates a plain object from a DeleteZoneOperationRequest message. Also converts values to other types if specified.
  1532. * @param message DeleteZoneOperationRequest
  1533. * @param [options] Conversion options
  1534. * @returns Plain object
  1535. */
  1536. public static toObject(message: google.cloud.compute.v1.DeleteZoneOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1537. /**
  1538. * Converts this DeleteZoneOperationRequest to JSON.
  1539. * @returns JSON object
  1540. */
  1541. public toJSON(): { [k: string]: any };
  1542. }
  1543. /** Properties of a DeleteZoneOperationResponse. */
  1544. interface IDeleteZoneOperationResponse {
  1545. }
  1546. /** Represents a DeleteZoneOperationResponse. */
  1547. class DeleteZoneOperationResponse implements IDeleteZoneOperationResponse {
  1548. /**
  1549. * Constructs a new DeleteZoneOperationResponse.
  1550. * @param [properties] Properties to set
  1551. */
  1552. constructor(properties?: google.cloud.compute.v1.IDeleteZoneOperationResponse);
  1553. /**
  1554. * Creates a new DeleteZoneOperationResponse instance using the specified properties.
  1555. * @param [properties] Properties to set
  1556. * @returns DeleteZoneOperationResponse instance
  1557. */
  1558. public static create(properties?: google.cloud.compute.v1.IDeleteZoneOperationResponse): google.cloud.compute.v1.DeleteZoneOperationResponse;
  1559. /**
  1560. * Encodes the specified DeleteZoneOperationResponse message. Does not implicitly {@link google.cloud.compute.v1.DeleteZoneOperationResponse.verify|verify} messages.
  1561. * @param message DeleteZoneOperationResponse message or plain object to encode
  1562. * @param [writer] Writer to encode to
  1563. * @returns Writer
  1564. */
  1565. public static encode(message: google.cloud.compute.v1.IDeleteZoneOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
  1566. /**
  1567. * Encodes the specified DeleteZoneOperationResponse message, length delimited. Does not implicitly {@link google.cloud.compute.v1.DeleteZoneOperationResponse.verify|verify} messages.
  1568. * @param message DeleteZoneOperationResponse message or plain object to encode
  1569. * @param [writer] Writer to encode to
  1570. * @returns Writer
  1571. */
  1572. public static encodeDelimited(message: google.cloud.compute.v1.IDeleteZoneOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
  1573. /**
  1574. * Decodes a DeleteZoneOperationResponse message from the specified reader or buffer.
  1575. * @param reader Reader or buffer to decode from
  1576. * @param [length] Message length if known beforehand
  1577. * @returns DeleteZoneOperationResponse
  1578. * @throws {Error} If the payload is not a reader or valid buffer
  1579. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1580. */
  1581. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.DeleteZoneOperationResponse;
  1582. /**
  1583. * Decodes a DeleteZoneOperationResponse message from the specified reader or buffer, length delimited.
  1584. * @param reader Reader or buffer to decode from
  1585. * @returns DeleteZoneOperationResponse
  1586. * @throws {Error} If the payload is not a reader or valid buffer
  1587. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1588. */
  1589. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.DeleteZoneOperationResponse;
  1590. /**
  1591. * Verifies a DeleteZoneOperationResponse message.
  1592. * @param message Plain object to verify
  1593. * @returns `null` if valid, otherwise the reason why it is not
  1594. */
  1595. public static verify(message: { [k: string]: any }): (string|null);
  1596. /**
  1597. * Creates a DeleteZoneOperationResponse message from a plain object. Also converts values to their respective internal types.
  1598. * @param object Plain object
  1599. * @returns DeleteZoneOperationResponse
  1600. */
  1601. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.DeleteZoneOperationResponse;
  1602. /**
  1603. * Creates a plain object from a DeleteZoneOperationResponse message. Also converts values to other types if specified.
  1604. * @param message DeleteZoneOperationResponse
  1605. * @param [options] Conversion options
  1606. * @returns Plain object
  1607. */
  1608. public static toObject(message: google.cloud.compute.v1.DeleteZoneOperationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1609. /**
  1610. * Converts this DeleteZoneOperationResponse to JSON.
  1611. * @returns JSON object
  1612. */
  1613. public toJSON(): { [k: string]: any };
  1614. }
  1615. /** Properties of a GetZoneOperationRequest. */
  1616. interface IGetZoneOperationRequest {
  1617. /** GetZoneOperationRequest operation */
  1618. operation?: (string|null);
  1619. /** GetZoneOperationRequest project */
  1620. project?: (string|null);
  1621. /** GetZoneOperationRequest zone */
  1622. zone?: (string|null);
  1623. }
  1624. /** Represents a GetZoneOperationRequest. */
  1625. class GetZoneOperationRequest implements IGetZoneOperationRequest {
  1626. /**
  1627. * Constructs a new GetZoneOperationRequest.
  1628. * @param [properties] Properties to set
  1629. */
  1630. constructor(properties?: google.cloud.compute.v1.IGetZoneOperationRequest);
  1631. /** GetZoneOperationRequest operation. */
  1632. public operation: string;
  1633. /** GetZoneOperationRequest project. */
  1634. public project: string;
  1635. /** GetZoneOperationRequest zone. */
  1636. public zone: string;
  1637. /**
  1638. * Creates a new GetZoneOperationRequest instance using the specified properties.
  1639. * @param [properties] Properties to set
  1640. * @returns GetZoneOperationRequest instance
  1641. */
  1642. public static create(properties?: google.cloud.compute.v1.IGetZoneOperationRequest): google.cloud.compute.v1.GetZoneOperationRequest;
  1643. /**
  1644. * Encodes the specified GetZoneOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.GetZoneOperationRequest.verify|verify} messages.
  1645. * @param message GetZoneOperationRequest message or plain object to encode
  1646. * @param [writer] Writer to encode to
  1647. * @returns Writer
  1648. */
  1649. public static encode(message: google.cloud.compute.v1.IGetZoneOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  1650. /**
  1651. * Encodes the specified GetZoneOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.GetZoneOperationRequest.verify|verify} messages.
  1652. * @param message GetZoneOperationRequest message or plain object to encode
  1653. * @param [writer] Writer to encode to
  1654. * @returns Writer
  1655. */
  1656. public static encodeDelimited(message: google.cloud.compute.v1.IGetZoneOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  1657. /**
  1658. * Decodes a GetZoneOperationRequest message from the specified reader or buffer.
  1659. * @param reader Reader or buffer to decode from
  1660. * @param [length] Message length if known beforehand
  1661. * @returns GetZoneOperationRequest
  1662. * @throws {Error} If the payload is not a reader or valid buffer
  1663. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1664. */
  1665. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.GetZoneOperationRequest;
  1666. /**
  1667. * Decodes a GetZoneOperationRequest message from the specified reader or buffer, length delimited.
  1668. * @param reader Reader or buffer to decode from
  1669. * @returns GetZoneOperationRequest
  1670. * @throws {Error} If the payload is not a reader or valid buffer
  1671. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1672. */
  1673. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.GetZoneOperationRequest;
  1674. /**
  1675. * Verifies a GetZoneOperationRequest message.
  1676. * @param message Plain object to verify
  1677. * @returns `null` if valid, otherwise the reason why it is not
  1678. */
  1679. public static verify(message: { [k: string]: any }): (string|null);
  1680. /**
  1681. * Creates a GetZoneOperationRequest message from a plain object. Also converts values to their respective internal types.
  1682. * @param object Plain object
  1683. * @returns GetZoneOperationRequest
  1684. */
  1685. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.GetZoneOperationRequest;
  1686. /**
  1687. * Creates a plain object from a GetZoneOperationRequest message. Also converts values to other types if specified.
  1688. * @param message GetZoneOperationRequest
  1689. * @param [options] Conversion options
  1690. * @returns Plain object
  1691. */
  1692. public static toObject(message: google.cloud.compute.v1.GetZoneOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1693. /**
  1694. * Converts this GetZoneOperationRequest to JSON.
  1695. * @returns JSON object
  1696. */
  1697. public toJSON(): { [k: string]: any };
  1698. }
  1699. /** Properties of a ListZoneOperationsRequest. */
  1700. interface IListZoneOperationsRequest {
  1701. /** ListZoneOperationsRequest filter */
  1702. filter?: (string|null);
  1703. /** ListZoneOperationsRequest maxResults */
  1704. maxResults?: (number|null);
  1705. /** ListZoneOperationsRequest orderBy */
  1706. orderBy?: (string|null);
  1707. /** ListZoneOperationsRequest pageToken */
  1708. pageToken?: (string|null);
  1709. /** ListZoneOperationsRequest project */
  1710. project?: (string|null);
  1711. /** ListZoneOperationsRequest returnPartialSuccess */
  1712. returnPartialSuccess?: (boolean|null);
  1713. /** ListZoneOperationsRequest zone */
  1714. zone?: (string|null);
  1715. }
  1716. /** Represents a ListZoneOperationsRequest. */
  1717. class ListZoneOperationsRequest implements IListZoneOperationsRequest {
  1718. /**
  1719. * Constructs a new ListZoneOperationsRequest.
  1720. * @param [properties] Properties to set
  1721. */
  1722. constructor(properties?: google.cloud.compute.v1.IListZoneOperationsRequest);
  1723. /** ListZoneOperationsRequest filter. */
  1724. public filter?: (string|null);
  1725. /** ListZoneOperationsRequest maxResults. */
  1726. public maxResults?: (number|null);
  1727. /** ListZoneOperationsRequest orderBy. */
  1728. public orderBy?: (string|null);
  1729. /** ListZoneOperationsRequest pageToken. */
  1730. public pageToken?: (string|null);
  1731. /** ListZoneOperationsRequest project. */
  1732. public project: string;
  1733. /** ListZoneOperationsRequest returnPartialSuccess. */
  1734. public returnPartialSuccess?: (boolean|null);
  1735. /** ListZoneOperationsRequest zone. */
  1736. public zone: string;
  1737. /** ListZoneOperationsRequest _filter. */
  1738. public _filter?: "filter";
  1739. /** ListZoneOperationsRequest _maxResults. */
  1740. public _maxResults?: "maxResults";
  1741. /** ListZoneOperationsRequest _orderBy. */
  1742. public _orderBy?: "orderBy";
  1743. /** ListZoneOperationsRequest _pageToken. */
  1744. public _pageToken?: "pageToken";
  1745. /** ListZoneOperationsRequest _returnPartialSuccess. */
  1746. public _returnPartialSuccess?: "returnPartialSuccess";
  1747. /**
  1748. * Creates a new ListZoneOperationsRequest instance using the specified properties.
  1749. * @param [properties] Properties to set
  1750. * @returns ListZoneOperationsRequest instance
  1751. */
  1752. public static create(properties?: google.cloud.compute.v1.IListZoneOperationsRequest): google.cloud.compute.v1.ListZoneOperationsRequest;
  1753. /**
  1754. * Encodes the specified ListZoneOperationsRequest message. Does not implicitly {@link google.cloud.compute.v1.ListZoneOperationsRequest.verify|verify} messages.
  1755. * @param message ListZoneOperationsRequest message or plain object to encode
  1756. * @param [writer] Writer to encode to
  1757. * @returns Writer
  1758. */
  1759. public static encode(message: google.cloud.compute.v1.IListZoneOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  1760. /**
  1761. * Encodes the specified ListZoneOperationsRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.ListZoneOperationsRequest.verify|verify} messages.
  1762. * @param message ListZoneOperationsRequest message or plain object to encode
  1763. * @param [writer] Writer to encode to
  1764. * @returns Writer
  1765. */
  1766. public static encodeDelimited(message: google.cloud.compute.v1.IListZoneOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  1767. /**
  1768. * Decodes a ListZoneOperationsRequest message from the specified reader or buffer.
  1769. * @param reader Reader or buffer to decode from
  1770. * @param [length] Message length if known beforehand
  1771. * @returns ListZoneOperationsRequest
  1772. * @throws {Error} If the payload is not a reader or valid buffer
  1773. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1774. */
  1775. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.ListZoneOperationsRequest;
  1776. /**
  1777. * Decodes a ListZoneOperationsRequest message from the specified reader or buffer, length delimited.
  1778. * @param reader Reader or buffer to decode from
  1779. * @returns ListZoneOperationsRequest
  1780. * @throws {Error} If the payload is not a reader or valid buffer
  1781. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1782. */
  1783. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.ListZoneOperationsRequest;
  1784. /**
  1785. * Verifies a ListZoneOperationsRequest message.
  1786. * @param message Plain object to verify
  1787. * @returns `null` if valid, otherwise the reason why it is not
  1788. */
  1789. public static verify(message: { [k: string]: any }): (string|null);
  1790. /**
  1791. * Creates a ListZoneOperationsRequest message from a plain object. Also converts values to their respective internal types.
  1792. * @param object Plain object
  1793. * @returns ListZoneOperationsRequest
  1794. */
  1795. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.ListZoneOperationsRequest;
  1796. /**
  1797. * Creates a plain object from a ListZoneOperationsRequest message. Also converts values to other types if specified.
  1798. * @param message ListZoneOperationsRequest
  1799. * @param [options] Conversion options
  1800. * @returns Plain object
  1801. */
  1802. public static toObject(message: google.cloud.compute.v1.ListZoneOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1803. /**
  1804. * Converts this ListZoneOperationsRequest to JSON.
  1805. * @returns JSON object
  1806. */
  1807. public toJSON(): { [k: string]: any };
  1808. }
  1809. /** Properties of a WaitZoneOperationRequest. */
  1810. interface IWaitZoneOperationRequest {
  1811. /** WaitZoneOperationRequest operation */
  1812. operation?: (string|null);
  1813. /** WaitZoneOperationRequest project */
  1814. project?: (string|null);
  1815. /** WaitZoneOperationRequest zone */
  1816. zone?: (string|null);
  1817. }
  1818. /** Represents a WaitZoneOperationRequest. */
  1819. class WaitZoneOperationRequest implements IWaitZoneOperationRequest {
  1820. /**
  1821. * Constructs a new WaitZoneOperationRequest.
  1822. * @param [properties] Properties to set
  1823. */
  1824. constructor(properties?: google.cloud.compute.v1.IWaitZoneOperationRequest);
  1825. /** WaitZoneOperationRequest operation. */
  1826. public operation: string;
  1827. /** WaitZoneOperationRequest project. */
  1828. public project: string;
  1829. /** WaitZoneOperationRequest zone. */
  1830. public zone: string;
  1831. /**
  1832. * Creates a new WaitZoneOperationRequest instance using the specified properties.
  1833. * @param [properties] Properties to set
  1834. * @returns WaitZoneOperationRequest instance
  1835. */
  1836. public static create(properties?: google.cloud.compute.v1.IWaitZoneOperationRequest): google.cloud.compute.v1.WaitZoneOperationRequest;
  1837. /**
  1838. * Encodes the specified WaitZoneOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.WaitZoneOperationRequest.verify|verify} messages.
  1839. * @param message WaitZoneOperationRequest message or plain object to encode
  1840. * @param [writer] Writer to encode to
  1841. * @returns Writer
  1842. */
  1843. public static encode(message: google.cloud.compute.v1.IWaitZoneOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  1844. /**
  1845. * Encodes the specified WaitZoneOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.WaitZoneOperationRequest.verify|verify} messages.
  1846. * @param message WaitZoneOperationRequest message or plain object to encode
  1847. * @param [writer] Writer to encode to
  1848. * @returns Writer
  1849. */
  1850. public static encodeDelimited(message: google.cloud.compute.v1.IWaitZoneOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  1851. /**
  1852. * Decodes a WaitZoneOperationRequest message from the specified reader or buffer.
  1853. * @param reader Reader or buffer to decode from
  1854. * @param [length] Message length if known beforehand
  1855. * @returns WaitZoneOperationRequest
  1856. * @throws {Error} If the payload is not a reader or valid buffer
  1857. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1858. */
  1859. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.WaitZoneOperationRequest;
  1860. /**
  1861. * Decodes a WaitZoneOperationRequest message from the specified reader or buffer, length delimited.
  1862. * @param reader Reader or buffer to decode from
  1863. * @returns WaitZoneOperationRequest
  1864. * @throws {Error} If the payload is not a reader or valid buffer
  1865. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1866. */
  1867. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.WaitZoneOperationRequest;
  1868. /**
  1869. * Verifies a WaitZoneOperationRequest message.
  1870. * @param message Plain object to verify
  1871. * @returns `null` if valid, otherwise the reason why it is not
  1872. */
  1873. public static verify(message: { [k: string]: any }): (string|null);
  1874. /**
  1875. * Creates a WaitZoneOperationRequest message from a plain object. Also converts values to their respective internal types.
  1876. * @param object Plain object
  1877. * @returns WaitZoneOperationRequest
  1878. */
  1879. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.WaitZoneOperationRequest;
  1880. /**
  1881. * Creates a plain object from a WaitZoneOperationRequest message. Also converts values to other types if specified.
  1882. * @param message WaitZoneOperationRequest
  1883. * @param [options] Conversion options
  1884. * @returns Plain object
  1885. */
  1886. public static toObject(message: google.cloud.compute.v1.WaitZoneOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1887. /**
  1888. * Converts this WaitZoneOperationRequest to JSON.
  1889. * @returns JSON object
  1890. */
  1891. public toJSON(): { [k: string]: any };
  1892. }
  1893. /** Properties of an AggregatedListGlobalOperationsRequest. */
  1894. interface IAggregatedListGlobalOperationsRequest {
  1895. /** AggregatedListGlobalOperationsRequest filter */
  1896. filter?: (string|null);
  1897. /** AggregatedListGlobalOperationsRequest includeAllScopes */
  1898. includeAllScopes?: (boolean|null);
  1899. /** AggregatedListGlobalOperationsRequest maxResults */
  1900. maxResults?: (number|null);
  1901. /** AggregatedListGlobalOperationsRequest orderBy */
  1902. orderBy?: (string|null);
  1903. /** AggregatedListGlobalOperationsRequest pageToken */
  1904. pageToken?: (string|null);
  1905. /** AggregatedListGlobalOperationsRequest project */
  1906. project?: (string|null);
  1907. /** AggregatedListGlobalOperationsRequest returnPartialSuccess */
  1908. returnPartialSuccess?: (boolean|null);
  1909. }
  1910. /** Represents an AggregatedListGlobalOperationsRequest. */
  1911. class AggregatedListGlobalOperationsRequest implements IAggregatedListGlobalOperationsRequest {
  1912. /**
  1913. * Constructs a new AggregatedListGlobalOperationsRequest.
  1914. * @param [properties] Properties to set
  1915. */
  1916. constructor(properties?: google.cloud.compute.v1.IAggregatedListGlobalOperationsRequest);
  1917. /** AggregatedListGlobalOperationsRequest filter. */
  1918. public filter?: (string|null);
  1919. /** AggregatedListGlobalOperationsRequest includeAllScopes. */
  1920. public includeAllScopes?: (boolean|null);
  1921. /** AggregatedListGlobalOperationsRequest maxResults. */
  1922. public maxResults?: (number|null);
  1923. /** AggregatedListGlobalOperationsRequest orderBy. */
  1924. public orderBy?: (string|null);
  1925. /** AggregatedListGlobalOperationsRequest pageToken. */
  1926. public pageToken?: (string|null);
  1927. /** AggregatedListGlobalOperationsRequest project. */
  1928. public project: string;
  1929. /** AggregatedListGlobalOperationsRequest returnPartialSuccess. */
  1930. public returnPartialSuccess?: (boolean|null);
  1931. /** AggregatedListGlobalOperationsRequest _filter. */
  1932. public _filter?: "filter";
  1933. /** AggregatedListGlobalOperationsRequest _includeAllScopes. */
  1934. public _includeAllScopes?: "includeAllScopes";
  1935. /** AggregatedListGlobalOperationsRequest _maxResults. */
  1936. public _maxResults?: "maxResults";
  1937. /** AggregatedListGlobalOperationsRequest _orderBy. */
  1938. public _orderBy?: "orderBy";
  1939. /** AggregatedListGlobalOperationsRequest _pageToken. */
  1940. public _pageToken?: "pageToken";
  1941. /** AggregatedListGlobalOperationsRequest _returnPartialSuccess. */
  1942. public _returnPartialSuccess?: "returnPartialSuccess";
  1943. /**
  1944. * Creates a new AggregatedListGlobalOperationsRequest instance using the specified properties.
  1945. * @param [properties] Properties to set
  1946. * @returns AggregatedListGlobalOperationsRequest instance
  1947. */
  1948. public static create(properties?: google.cloud.compute.v1.IAggregatedListGlobalOperationsRequest): google.cloud.compute.v1.AggregatedListGlobalOperationsRequest;
  1949. /**
  1950. * Encodes the specified AggregatedListGlobalOperationsRequest message. Does not implicitly {@link google.cloud.compute.v1.AggregatedListGlobalOperationsRequest.verify|verify} messages.
  1951. * @param message AggregatedListGlobalOperationsRequest message or plain object to encode
  1952. * @param [writer] Writer to encode to
  1953. * @returns Writer
  1954. */
  1955. public static encode(message: google.cloud.compute.v1.IAggregatedListGlobalOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  1956. /**
  1957. * Encodes the specified AggregatedListGlobalOperationsRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.AggregatedListGlobalOperationsRequest.verify|verify} messages.
  1958. * @param message AggregatedListGlobalOperationsRequest message or plain object to encode
  1959. * @param [writer] Writer to encode to
  1960. * @returns Writer
  1961. */
  1962. public static encodeDelimited(message: google.cloud.compute.v1.IAggregatedListGlobalOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  1963. /**
  1964. * Decodes an AggregatedListGlobalOperationsRequest message from the specified reader or buffer.
  1965. * @param reader Reader or buffer to decode from
  1966. * @param [length] Message length if known beforehand
  1967. * @returns AggregatedListGlobalOperationsRequest
  1968. * @throws {Error} If the payload is not a reader or valid buffer
  1969. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1970. */
  1971. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.AggregatedListGlobalOperationsRequest;
  1972. /**
  1973. * Decodes an AggregatedListGlobalOperationsRequest message from the specified reader or buffer, length delimited.
  1974. * @param reader Reader or buffer to decode from
  1975. * @returns AggregatedListGlobalOperationsRequest
  1976. * @throws {Error} If the payload is not a reader or valid buffer
  1977. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1978. */
  1979. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.AggregatedListGlobalOperationsRequest;
  1980. /**
  1981. * Verifies an AggregatedListGlobalOperationsRequest message.
  1982. * @param message Plain object to verify
  1983. * @returns `null` if valid, otherwise the reason why it is not
  1984. */
  1985. public static verify(message: { [k: string]: any }): (string|null);
  1986. /**
  1987. * Creates an AggregatedListGlobalOperationsRequest message from a plain object. Also converts values to their respective internal types.
  1988. * @param object Plain object
  1989. * @returns AggregatedListGlobalOperationsRequest
  1990. */
  1991. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.AggregatedListGlobalOperationsRequest;
  1992. /**
  1993. * Creates a plain object from an AggregatedListGlobalOperationsRequest message. Also converts values to other types if specified.
  1994. * @param message AggregatedListGlobalOperationsRequest
  1995. * @param [options] Conversion options
  1996. * @returns Plain object
  1997. */
  1998. public static toObject(message: google.cloud.compute.v1.AggregatedListGlobalOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1999. /**
  2000. * Converts this AggregatedListGlobalOperationsRequest to JSON.
  2001. * @returns JSON object
  2002. */
  2003. public toJSON(): { [k: string]: any };
  2004. }
  2005. /** Properties of a DeleteGlobalOperationRequest. */
  2006. interface IDeleteGlobalOperationRequest {
  2007. /** DeleteGlobalOperationRequest operation */
  2008. operation?: (string|null);
  2009. /** DeleteGlobalOperationRequest project */
  2010. project?: (string|null);
  2011. }
  2012. /** Represents a DeleteGlobalOperationRequest. */
  2013. class DeleteGlobalOperationRequest implements IDeleteGlobalOperationRequest {
  2014. /**
  2015. * Constructs a new DeleteGlobalOperationRequest.
  2016. * @param [properties] Properties to set
  2017. */
  2018. constructor(properties?: google.cloud.compute.v1.IDeleteGlobalOperationRequest);
  2019. /** DeleteGlobalOperationRequest operation. */
  2020. public operation: string;
  2021. /** DeleteGlobalOperationRequest project. */
  2022. public project: string;
  2023. /**
  2024. * Creates a new DeleteGlobalOperationRequest instance using the specified properties.
  2025. * @param [properties] Properties to set
  2026. * @returns DeleteGlobalOperationRequest instance
  2027. */
  2028. public static create(properties?: google.cloud.compute.v1.IDeleteGlobalOperationRequest): google.cloud.compute.v1.DeleteGlobalOperationRequest;
  2029. /**
  2030. * Encodes the specified DeleteGlobalOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.DeleteGlobalOperationRequest.verify|verify} messages.
  2031. * @param message DeleteGlobalOperationRequest message or plain object to encode
  2032. * @param [writer] Writer to encode to
  2033. * @returns Writer
  2034. */
  2035. public static encode(message: google.cloud.compute.v1.IDeleteGlobalOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  2036. /**
  2037. * Encodes the specified DeleteGlobalOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.DeleteGlobalOperationRequest.verify|verify} messages.
  2038. * @param message DeleteGlobalOperationRequest message or plain object to encode
  2039. * @param [writer] Writer to encode to
  2040. * @returns Writer
  2041. */
  2042. public static encodeDelimited(message: google.cloud.compute.v1.IDeleteGlobalOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  2043. /**
  2044. * Decodes a DeleteGlobalOperationRequest message from the specified reader or buffer.
  2045. * @param reader Reader or buffer to decode from
  2046. * @param [length] Message length if known beforehand
  2047. * @returns DeleteGlobalOperationRequest
  2048. * @throws {Error} If the payload is not a reader or valid buffer
  2049. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2050. */
  2051. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.DeleteGlobalOperationRequest;
  2052. /**
  2053. * Decodes a DeleteGlobalOperationRequest message from the specified reader or buffer, length delimited.
  2054. * @param reader Reader or buffer to decode from
  2055. * @returns DeleteGlobalOperationRequest
  2056. * @throws {Error} If the payload is not a reader or valid buffer
  2057. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2058. */
  2059. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.DeleteGlobalOperationRequest;
  2060. /**
  2061. * Verifies a DeleteGlobalOperationRequest message.
  2062. * @param message Plain object to verify
  2063. * @returns `null` if valid, otherwise the reason why it is not
  2064. */
  2065. public static verify(message: { [k: string]: any }): (string|null);
  2066. /**
  2067. * Creates a DeleteGlobalOperationRequest message from a plain object. Also converts values to their respective internal types.
  2068. * @param object Plain object
  2069. * @returns DeleteGlobalOperationRequest
  2070. */
  2071. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.DeleteGlobalOperationRequest;
  2072. /**
  2073. * Creates a plain object from a DeleteGlobalOperationRequest message. Also converts values to other types if specified.
  2074. * @param message DeleteGlobalOperationRequest
  2075. * @param [options] Conversion options
  2076. * @returns Plain object
  2077. */
  2078. public static toObject(message: google.cloud.compute.v1.DeleteGlobalOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2079. /**
  2080. * Converts this DeleteGlobalOperationRequest to JSON.
  2081. * @returns JSON object
  2082. */
  2083. public toJSON(): { [k: string]: any };
  2084. }
  2085. /** Properties of a DeleteGlobalOperationResponse. */
  2086. interface IDeleteGlobalOperationResponse {
  2087. }
  2088. /** Represents a DeleteGlobalOperationResponse. */
  2089. class DeleteGlobalOperationResponse implements IDeleteGlobalOperationResponse {
  2090. /**
  2091. * Constructs a new DeleteGlobalOperationResponse.
  2092. * @param [properties] Properties to set
  2093. */
  2094. constructor(properties?: google.cloud.compute.v1.IDeleteGlobalOperationResponse);
  2095. /**
  2096. * Creates a new DeleteGlobalOperationResponse instance using the specified properties.
  2097. * @param [properties] Properties to set
  2098. * @returns DeleteGlobalOperationResponse instance
  2099. */
  2100. public static create(properties?: google.cloud.compute.v1.IDeleteGlobalOperationResponse): google.cloud.compute.v1.DeleteGlobalOperationResponse;
  2101. /**
  2102. * Encodes the specified DeleteGlobalOperationResponse message. Does not implicitly {@link google.cloud.compute.v1.DeleteGlobalOperationResponse.verify|verify} messages.
  2103. * @param message DeleteGlobalOperationResponse message or plain object to encode
  2104. * @param [writer] Writer to encode to
  2105. * @returns Writer
  2106. */
  2107. public static encode(message: google.cloud.compute.v1.IDeleteGlobalOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
  2108. /**
  2109. * Encodes the specified DeleteGlobalOperationResponse message, length delimited. Does not implicitly {@link google.cloud.compute.v1.DeleteGlobalOperationResponse.verify|verify} messages.
  2110. * @param message DeleteGlobalOperationResponse message or plain object to encode
  2111. * @param [writer] Writer to encode to
  2112. * @returns Writer
  2113. */
  2114. public static encodeDelimited(message: google.cloud.compute.v1.IDeleteGlobalOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
  2115. /**
  2116. * Decodes a DeleteGlobalOperationResponse message from the specified reader or buffer.
  2117. * @param reader Reader or buffer to decode from
  2118. * @param [length] Message length if known beforehand
  2119. * @returns DeleteGlobalOperationResponse
  2120. * @throws {Error} If the payload is not a reader or valid buffer
  2121. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2122. */
  2123. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.DeleteGlobalOperationResponse;
  2124. /**
  2125. * Decodes a DeleteGlobalOperationResponse message from the specified reader or buffer, length delimited.
  2126. * @param reader Reader or buffer to decode from
  2127. * @returns DeleteGlobalOperationResponse
  2128. * @throws {Error} If the payload is not a reader or valid buffer
  2129. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2130. */
  2131. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.DeleteGlobalOperationResponse;
  2132. /**
  2133. * Verifies a DeleteGlobalOperationResponse message.
  2134. * @param message Plain object to verify
  2135. * @returns `null` if valid, otherwise the reason why it is not
  2136. */
  2137. public static verify(message: { [k: string]: any }): (string|null);
  2138. /**
  2139. * Creates a DeleteGlobalOperationResponse message from a plain object. Also converts values to their respective internal types.
  2140. * @param object Plain object
  2141. * @returns DeleteGlobalOperationResponse
  2142. */
  2143. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.DeleteGlobalOperationResponse;
  2144. /**
  2145. * Creates a plain object from a DeleteGlobalOperationResponse message. Also converts values to other types if specified.
  2146. * @param message DeleteGlobalOperationResponse
  2147. * @param [options] Conversion options
  2148. * @returns Plain object
  2149. */
  2150. public static toObject(message: google.cloud.compute.v1.DeleteGlobalOperationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2151. /**
  2152. * Converts this DeleteGlobalOperationResponse to JSON.
  2153. * @returns JSON object
  2154. */
  2155. public toJSON(): { [k: string]: any };
  2156. }
  2157. /** Properties of a GetGlobalOperationRequest. */
  2158. interface IGetGlobalOperationRequest {
  2159. /** GetGlobalOperationRequest operation */
  2160. operation?: (string|null);
  2161. /** GetGlobalOperationRequest project */
  2162. project?: (string|null);
  2163. }
  2164. /** Represents a GetGlobalOperationRequest. */
  2165. class GetGlobalOperationRequest implements IGetGlobalOperationRequest {
  2166. /**
  2167. * Constructs a new GetGlobalOperationRequest.
  2168. * @param [properties] Properties to set
  2169. */
  2170. constructor(properties?: google.cloud.compute.v1.IGetGlobalOperationRequest);
  2171. /** GetGlobalOperationRequest operation. */
  2172. public operation: string;
  2173. /** GetGlobalOperationRequest project. */
  2174. public project: string;
  2175. /**
  2176. * Creates a new GetGlobalOperationRequest instance using the specified properties.
  2177. * @param [properties] Properties to set
  2178. * @returns GetGlobalOperationRequest instance
  2179. */
  2180. public static create(properties?: google.cloud.compute.v1.IGetGlobalOperationRequest): google.cloud.compute.v1.GetGlobalOperationRequest;
  2181. /**
  2182. * Encodes the specified GetGlobalOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.GetGlobalOperationRequest.verify|verify} messages.
  2183. * @param message GetGlobalOperationRequest message or plain object to encode
  2184. * @param [writer] Writer to encode to
  2185. * @returns Writer
  2186. */
  2187. public static encode(message: google.cloud.compute.v1.IGetGlobalOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  2188. /**
  2189. * Encodes the specified GetGlobalOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.GetGlobalOperationRequest.verify|verify} messages.
  2190. * @param message GetGlobalOperationRequest message or plain object to encode
  2191. * @param [writer] Writer to encode to
  2192. * @returns Writer
  2193. */
  2194. public static encodeDelimited(message: google.cloud.compute.v1.IGetGlobalOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  2195. /**
  2196. * Decodes a GetGlobalOperationRequest message from the specified reader or buffer.
  2197. * @param reader Reader or buffer to decode from
  2198. * @param [length] Message length if known beforehand
  2199. * @returns GetGlobalOperationRequest
  2200. * @throws {Error} If the payload is not a reader or valid buffer
  2201. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2202. */
  2203. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.GetGlobalOperationRequest;
  2204. /**
  2205. * Decodes a GetGlobalOperationRequest message from the specified reader or buffer, length delimited.
  2206. * @param reader Reader or buffer to decode from
  2207. * @returns GetGlobalOperationRequest
  2208. * @throws {Error} If the payload is not a reader or valid buffer
  2209. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2210. */
  2211. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.GetGlobalOperationRequest;
  2212. /**
  2213. * Verifies a GetGlobalOperationRequest message.
  2214. * @param message Plain object to verify
  2215. * @returns `null` if valid, otherwise the reason why it is not
  2216. */
  2217. public static verify(message: { [k: string]: any }): (string|null);
  2218. /**
  2219. * Creates a GetGlobalOperationRequest message from a plain object. Also converts values to their respective internal types.
  2220. * @param object Plain object
  2221. * @returns GetGlobalOperationRequest
  2222. */
  2223. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.GetGlobalOperationRequest;
  2224. /**
  2225. * Creates a plain object from a GetGlobalOperationRequest message. Also converts values to other types if specified.
  2226. * @param message GetGlobalOperationRequest
  2227. * @param [options] Conversion options
  2228. * @returns Plain object
  2229. */
  2230. public static toObject(message: google.cloud.compute.v1.GetGlobalOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2231. /**
  2232. * Converts this GetGlobalOperationRequest to JSON.
  2233. * @returns JSON object
  2234. */
  2235. public toJSON(): { [k: string]: any };
  2236. }
  2237. /** Properties of a ListGlobalOperationsRequest. */
  2238. interface IListGlobalOperationsRequest {
  2239. /** ListGlobalOperationsRequest filter */
  2240. filter?: (string|null);
  2241. /** ListGlobalOperationsRequest maxResults */
  2242. maxResults?: (number|null);
  2243. /** ListGlobalOperationsRequest orderBy */
  2244. orderBy?: (string|null);
  2245. /** ListGlobalOperationsRequest pageToken */
  2246. pageToken?: (string|null);
  2247. /** ListGlobalOperationsRequest project */
  2248. project?: (string|null);
  2249. /** ListGlobalOperationsRequest returnPartialSuccess */
  2250. returnPartialSuccess?: (boolean|null);
  2251. }
  2252. /** Represents a ListGlobalOperationsRequest. */
  2253. class ListGlobalOperationsRequest implements IListGlobalOperationsRequest {
  2254. /**
  2255. * Constructs a new ListGlobalOperationsRequest.
  2256. * @param [properties] Properties to set
  2257. */
  2258. constructor(properties?: google.cloud.compute.v1.IListGlobalOperationsRequest);
  2259. /** ListGlobalOperationsRequest filter. */
  2260. public filter?: (string|null);
  2261. /** ListGlobalOperationsRequest maxResults. */
  2262. public maxResults?: (number|null);
  2263. /** ListGlobalOperationsRequest orderBy. */
  2264. public orderBy?: (string|null);
  2265. /** ListGlobalOperationsRequest pageToken. */
  2266. public pageToken?: (string|null);
  2267. /** ListGlobalOperationsRequest project. */
  2268. public project: string;
  2269. /** ListGlobalOperationsRequest returnPartialSuccess. */
  2270. public returnPartialSuccess?: (boolean|null);
  2271. /** ListGlobalOperationsRequest _filter. */
  2272. public _filter?: "filter";
  2273. /** ListGlobalOperationsRequest _maxResults. */
  2274. public _maxResults?: "maxResults";
  2275. /** ListGlobalOperationsRequest _orderBy. */
  2276. public _orderBy?: "orderBy";
  2277. /** ListGlobalOperationsRequest _pageToken. */
  2278. public _pageToken?: "pageToken";
  2279. /** ListGlobalOperationsRequest _returnPartialSuccess. */
  2280. public _returnPartialSuccess?: "returnPartialSuccess";
  2281. /**
  2282. * Creates a new ListGlobalOperationsRequest instance using the specified properties.
  2283. * @param [properties] Properties to set
  2284. * @returns ListGlobalOperationsRequest instance
  2285. */
  2286. public static create(properties?: google.cloud.compute.v1.IListGlobalOperationsRequest): google.cloud.compute.v1.ListGlobalOperationsRequest;
  2287. /**
  2288. * Encodes the specified ListGlobalOperationsRequest message. Does not implicitly {@link google.cloud.compute.v1.ListGlobalOperationsRequest.verify|verify} messages.
  2289. * @param message ListGlobalOperationsRequest message or plain object to encode
  2290. * @param [writer] Writer to encode to
  2291. * @returns Writer
  2292. */
  2293. public static encode(message: google.cloud.compute.v1.IListGlobalOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  2294. /**
  2295. * Encodes the specified ListGlobalOperationsRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.ListGlobalOperationsRequest.verify|verify} messages.
  2296. * @param message ListGlobalOperationsRequest message or plain object to encode
  2297. * @param [writer] Writer to encode to
  2298. * @returns Writer
  2299. */
  2300. public static encodeDelimited(message: google.cloud.compute.v1.IListGlobalOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  2301. /**
  2302. * Decodes a ListGlobalOperationsRequest message from the specified reader or buffer.
  2303. * @param reader Reader or buffer to decode from
  2304. * @param [length] Message length if known beforehand
  2305. * @returns ListGlobalOperationsRequest
  2306. * @throws {Error} If the payload is not a reader or valid buffer
  2307. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2308. */
  2309. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.ListGlobalOperationsRequest;
  2310. /**
  2311. * Decodes a ListGlobalOperationsRequest message from the specified reader or buffer, length delimited.
  2312. * @param reader Reader or buffer to decode from
  2313. * @returns ListGlobalOperationsRequest
  2314. * @throws {Error} If the payload is not a reader or valid buffer
  2315. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2316. */
  2317. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.ListGlobalOperationsRequest;
  2318. /**
  2319. * Verifies a ListGlobalOperationsRequest message.
  2320. * @param message Plain object to verify
  2321. * @returns `null` if valid, otherwise the reason why it is not
  2322. */
  2323. public static verify(message: { [k: string]: any }): (string|null);
  2324. /**
  2325. * Creates a ListGlobalOperationsRequest message from a plain object. Also converts values to their respective internal types.
  2326. * @param object Plain object
  2327. * @returns ListGlobalOperationsRequest
  2328. */
  2329. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.ListGlobalOperationsRequest;
  2330. /**
  2331. * Creates a plain object from a ListGlobalOperationsRequest message. Also converts values to other types if specified.
  2332. * @param message ListGlobalOperationsRequest
  2333. * @param [options] Conversion options
  2334. * @returns Plain object
  2335. */
  2336. public static toObject(message: google.cloud.compute.v1.ListGlobalOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2337. /**
  2338. * Converts this ListGlobalOperationsRequest to JSON.
  2339. * @returns JSON object
  2340. */
  2341. public toJSON(): { [k: string]: any };
  2342. }
  2343. /** Properties of a WaitGlobalOperationRequest. */
  2344. interface IWaitGlobalOperationRequest {
  2345. /** WaitGlobalOperationRequest operation */
  2346. operation?: (string|null);
  2347. /** WaitGlobalOperationRequest project */
  2348. project?: (string|null);
  2349. }
  2350. /** Represents a WaitGlobalOperationRequest. */
  2351. class WaitGlobalOperationRequest implements IWaitGlobalOperationRequest {
  2352. /**
  2353. * Constructs a new WaitGlobalOperationRequest.
  2354. * @param [properties] Properties to set
  2355. */
  2356. constructor(properties?: google.cloud.compute.v1.IWaitGlobalOperationRequest);
  2357. /** WaitGlobalOperationRequest operation. */
  2358. public operation: string;
  2359. /** WaitGlobalOperationRequest project. */
  2360. public project: string;
  2361. /**
  2362. * Creates a new WaitGlobalOperationRequest instance using the specified properties.
  2363. * @param [properties] Properties to set
  2364. * @returns WaitGlobalOperationRequest instance
  2365. */
  2366. public static create(properties?: google.cloud.compute.v1.IWaitGlobalOperationRequest): google.cloud.compute.v1.WaitGlobalOperationRequest;
  2367. /**
  2368. * Encodes the specified WaitGlobalOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.WaitGlobalOperationRequest.verify|verify} messages.
  2369. * @param message WaitGlobalOperationRequest message or plain object to encode
  2370. * @param [writer] Writer to encode to
  2371. * @returns Writer
  2372. */
  2373. public static encode(message: google.cloud.compute.v1.IWaitGlobalOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  2374. /**
  2375. * Encodes the specified WaitGlobalOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.WaitGlobalOperationRequest.verify|verify} messages.
  2376. * @param message WaitGlobalOperationRequest message or plain object to encode
  2377. * @param [writer] Writer to encode to
  2378. * @returns Writer
  2379. */
  2380. public static encodeDelimited(message: google.cloud.compute.v1.IWaitGlobalOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  2381. /**
  2382. * Decodes a WaitGlobalOperationRequest message from the specified reader or buffer.
  2383. * @param reader Reader or buffer to decode from
  2384. * @param [length] Message length if known beforehand
  2385. * @returns WaitGlobalOperationRequest
  2386. * @throws {Error} If the payload is not a reader or valid buffer
  2387. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2388. */
  2389. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.WaitGlobalOperationRequest;
  2390. /**
  2391. * Decodes a WaitGlobalOperationRequest message from the specified reader or buffer, length delimited.
  2392. * @param reader Reader or buffer to decode from
  2393. * @returns WaitGlobalOperationRequest
  2394. * @throws {Error} If the payload is not a reader or valid buffer
  2395. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2396. */
  2397. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.WaitGlobalOperationRequest;
  2398. /**
  2399. * Verifies a WaitGlobalOperationRequest message.
  2400. * @param message Plain object to verify
  2401. * @returns `null` if valid, otherwise the reason why it is not
  2402. */
  2403. public static verify(message: { [k: string]: any }): (string|null);
  2404. /**
  2405. * Creates a WaitGlobalOperationRequest message from a plain object. Also converts values to their respective internal types.
  2406. * @param object Plain object
  2407. * @returns WaitGlobalOperationRequest
  2408. */
  2409. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.WaitGlobalOperationRequest;
  2410. /**
  2411. * Creates a plain object from a WaitGlobalOperationRequest message. Also converts values to other types if specified.
  2412. * @param message WaitGlobalOperationRequest
  2413. * @param [options] Conversion options
  2414. * @returns Plain object
  2415. */
  2416. public static toObject(message: google.cloud.compute.v1.WaitGlobalOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2417. /**
  2418. * Converts this WaitGlobalOperationRequest to JSON.
  2419. * @returns JSON object
  2420. */
  2421. public toJSON(): { [k: string]: any };
  2422. }
  2423. /** Properties of a DeleteGlobalOrganizationOperationRequest. */
  2424. interface IDeleteGlobalOrganizationOperationRequest {
  2425. /** DeleteGlobalOrganizationOperationRequest operation */
  2426. operation?: (string|null);
  2427. /** DeleteGlobalOrganizationOperationRequest parentId */
  2428. parentId?: (string|null);
  2429. }
  2430. /** Represents a DeleteGlobalOrganizationOperationRequest. */
  2431. class DeleteGlobalOrganizationOperationRequest implements IDeleteGlobalOrganizationOperationRequest {
  2432. /**
  2433. * Constructs a new DeleteGlobalOrganizationOperationRequest.
  2434. * @param [properties] Properties to set
  2435. */
  2436. constructor(properties?: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationRequest);
  2437. /** DeleteGlobalOrganizationOperationRequest operation. */
  2438. public operation: string;
  2439. /** DeleteGlobalOrganizationOperationRequest parentId. */
  2440. public parentId?: (string|null);
  2441. /** DeleteGlobalOrganizationOperationRequest _parentId. */
  2442. public _parentId?: "parentId";
  2443. /**
  2444. * Creates a new DeleteGlobalOrganizationOperationRequest instance using the specified properties.
  2445. * @param [properties] Properties to set
  2446. * @returns DeleteGlobalOrganizationOperationRequest instance
  2447. */
  2448. public static create(properties?: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationRequest): google.cloud.compute.v1.DeleteGlobalOrganizationOperationRequest;
  2449. /**
  2450. * Encodes the specified DeleteGlobalOrganizationOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.DeleteGlobalOrganizationOperationRequest.verify|verify} messages.
  2451. * @param message DeleteGlobalOrganizationOperationRequest message or plain object to encode
  2452. * @param [writer] Writer to encode to
  2453. * @returns Writer
  2454. */
  2455. public static encode(message: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  2456. /**
  2457. * Encodes the specified DeleteGlobalOrganizationOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.DeleteGlobalOrganizationOperationRequest.verify|verify} messages.
  2458. * @param message DeleteGlobalOrganizationOperationRequest message or plain object to encode
  2459. * @param [writer] Writer to encode to
  2460. * @returns Writer
  2461. */
  2462. public static encodeDelimited(message: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  2463. /**
  2464. * Decodes a DeleteGlobalOrganizationOperationRequest message from the specified reader or buffer.
  2465. * @param reader Reader or buffer to decode from
  2466. * @param [length] Message length if known beforehand
  2467. * @returns DeleteGlobalOrganizationOperationRequest
  2468. * @throws {Error} If the payload is not a reader or valid buffer
  2469. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2470. */
  2471. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.DeleteGlobalOrganizationOperationRequest;
  2472. /**
  2473. * Decodes a DeleteGlobalOrganizationOperationRequest message from the specified reader or buffer, length delimited.
  2474. * @param reader Reader or buffer to decode from
  2475. * @returns DeleteGlobalOrganizationOperationRequest
  2476. * @throws {Error} If the payload is not a reader or valid buffer
  2477. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2478. */
  2479. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.DeleteGlobalOrganizationOperationRequest;
  2480. /**
  2481. * Verifies a DeleteGlobalOrganizationOperationRequest message.
  2482. * @param message Plain object to verify
  2483. * @returns `null` if valid, otherwise the reason why it is not
  2484. */
  2485. public static verify(message: { [k: string]: any }): (string|null);
  2486. /**
  2487. * Creates a DeleteGlobalOrganizationOperationRequest message from a plain object. Also converts values to their respective internal types.
  2488. * @param object Plain object
  2489. * @returns DeleteGlobalOrganizationOperationRequest
  2490. */
  2491. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.DeleteGlobalOrganizationOperationRequest;
  2492. /**
  2493. * Creates a plain object from a DeleteGlobalOrganizationOperationRequest message. Also converts values to other types if specified.
  2494. * @param message DeleteGlobalOrganizationOperationRequest
  2495. * @param [options] Conversion options
  2496. * @returns Plain object
  2497. */
  2498. public static toObject(message: google.cloud.compute.v1.DeleteGlobalOrganizationOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2499. /**
  2500. * Converts this DeleteGlobalOrganizationOperationRequest to JSON.
  2501. * @returns JSON object
  2502. */
  2503. public toJSON(): { [k: string]: any };
  2504. }
  2505. /** Properties of a DeleteGlobalOrganizationOperationResponse. */
  2506. interface IDeleteGlobalOrganizationOperationResponse {
  2507. }
  2508. /** Represents a DeleteGlobalOrganizationOperationResponse. */
  2509. class DeleteGlobalOrganizationOperationResponse implements IDeleteGlobalOrganizationOperationResponse {
  2510. /**
  2511. * Constructs a new DeleteGlobalOrganizationOperationResponse.
  2512. * @param [properties] Properties to set
  2513. */
  2514. constructor(properties?: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationResponse);
  2515. /**
  2516. * Creates a new DeleteGlobalOrganizationOperationResponse instance using the specified properties.
  2517. * @param [properties] Properties to set
  2518. * @returns DeleteGlobalOrganizationOperationResponse instance
  2519. */
  2520. public static create(properties?: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationResponse): google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse;
  2521. /**
  2522. * Encodes the specified DeleteGlobalOrganizationOperationResponse message. Does not implicitly {@link google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse.verify|verify} messages.
  2523. * @param message DeleteGlobalOrganizationOperationResponse message or plain object to encode
  2524. * @param [writer] Writer to encode to
  2525. * @returns Writer
  2526. */
  2527. public static encode(message: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
  2528. /**
  2529. * Encodes the specified DeleteGlobalOrganizationOperationResponse message, length delimited. Does not implicitly {@link google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse.verify|verify} messages.
  2530. * @param message DeleteGlobalOrganizationOperationResponse message or plain object to encode
  2531. * @param [writer] Writer to encode to
  2532. * @returns Writer
  2533. */
  2534. public static encodeDelimited(message: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
  2535. /**
  2536. * Decodes a DeleteGlobalOrganizationOperationResponse message from the specified reader or buffer.
  2537. * @param reader Reader or buffer to decode from
  2538. * @param [length] Message length if known beforehand
  2539. * @returns DeleteGlobalOrganizationOperationResponse
  2540. * @throws {Error} If the payload is not a reader or valid buffer
  2541. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2542. */
  2543. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse;
  2544. /**
  2545. * Decodes a DeleteGlobalOrganizationOperationResponse message from the specified reader or buffer, length delimited.
  2546. * @param reader Reader or buffer to decode from
  2547. * @returns DeleteGlobalOrganizationOperationResponse
  2548. * @throws {Error} If the payload is not a reader or valid buffer
  2549. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2550. */
  2551. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse;
  2552. /**
  2553. * Verifies a DeleteGlobalOrganizationOperationResponse message.
  2554. * @param message Plain object to verify
  2555. * @returns `null` if valid, otherwise the reason why it is not
  2556. */
  2557. public static verify(message: { [k: string]: any }): (string|null);
  2558. /**
  2559. * Creates a DeleteGlobalOrganizationOperationResponse message from a plain object. Also converts values to their respective internal types.
  2560. * @param object Plain object
  2561. * @returns DeleteGlobalOrganizationOperationResponse
  2562. */
  2563. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse;
  2564. /**
  2565. * Creates a plain object from a DeleteGlobalOrganizationOperationResponse message. Also converts values to other types if specified.
  2566. * @param message DeleteGlobalOrganizationOperationResponse
  2567. * @param [options] Conversion options
  2568. * @returns Plain object
  2569. */
  2570. public static toObject(message: google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2571. /**
  2572. * Converts this DeleteGlobalOrganizationOperationResponse to JSON.
  2573. * @returns JSON object
  2574. */
  2575. public toJSON(): { [k: string]: any };
  2576. }
  2577. /** Properties of a GetGlobalOrganizationOperationRequest. */
  2578. interface IGetGlobalOrganizationOperationRequest {
  2579. /** GetGlobalOrganizationOperationRequest operation */
  2580. operation?: (string|null);
  2581. /** GetGlobalOrganizationOperationRequest parentId */
  2582. parentId?: (string|null);
  2583. }
  2584. /** Represents a GetGlobalOrganizationOperationRequest. */
  2585. class GetGlobalOrganizationOperationRequest implements IGetGlobalOrganizationOperationRequest {
  2586. /**
  2587. * Constructs a new GetGlobalOrganizationOperationRequest.
  2588. * @param [properties] Properties to set
  2589. */
  2590. constructor(properties?: google.cloud.compute.v1.IGetGlobalOrganizationOperationRequest);
  2591. /** GetGlobalOrganizationOperationRequest operation. */
  2592. public operation: string;
  2593. /** GetGlobalOrganizationOperationRequest parentId. */
  2594. public parentId?: (string|null);
  2595. /** GetGlobalOrganizationOperationRequest _parentId. */
  2596. public _parentId?: "parentId";
  2597. /**
  2598. * Creates a new GetGlobalOrganizationOperationRequest instance using the specified properties.
  2599. * @param [properties] Properties to set
  2600. * @returns GetGlobalOrganizationOperationRequest instance
  2601. */
  2602. public static create(properties?: google.cloud.compute.v1.IGetGlobalOrganizationOperationRequest): google.cloud.compute.v1.GetGlobalOrganizationOperationRequest;
  2603. /**
  2604. * Encodes the specified GetGlobalOrganizationOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.GetGlobalOrganizationOperationRequest.verify|verify} messages.
  2605. * @param message GetGlobalOrganizationOperationRequest message or plain object to encode
  2606. * @param [writer] Writer to encode to
  2607. * @returns Writer
  2608. */
  2609. public static encode(message: google.cloud.compute.v1.IGetGlobalOrganizationOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  2610. /**
  2611. * Encodes the specified GetGlobalOrganizationOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.GetGlobalOrganizationOperationRequest.verify|verify} messages.
  2612. * @param message GetGlobalOrganizationOperationRequest message or plain object to encode
  2613. * @param [writer] Writer to encode to
  2614. * @returns Writer
  2615. */
  2616. public static encodeDelimited(message: google.cloud.compute.v1.IGetGlobalOrganizationOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  2617. /**
  2618. * Decodes a GetGlobalOrganizationOperationRequest message from the specified reader or buffer.
  2619. * @param reader Reader or buffer to decode from
  2620. * @param [length] Message length if known beforehand
  2621. * @returns GetGlobalOrganizationOperationRequest
  2622. * @throws {Error} If the payload is not a reader or valid buffer
  2623. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2624. */
  2625. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.GetGlobalOrganizationOperationRequest;
  2626. /**
  2627. * Decodes a GetGlobalOrganizationOperationRequest message from the specified reader or buffer, length delimited.
  2628. * @param reader Reader or buffer to decode from
  2629. * @returns GetGlobalOrganizationOperationRequest
  2630. * @throws {Error} If the payload is not a reader or valid buffer
  2631. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2632. */
  2633. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.GetGlobalOrganizationOperationRequest;
  2634. /**
  2635. * Verifies a GetGlobalOrganizationOperationRequest message.
  2636. * @param message Plain object to verify
  2637. * @returns `null` if valid, otherwise the reason why it is not
  2638. */
  2639. public static verify(message: { [k: string]: any }): (string|null);
  2640. /**
  2641. * Creates a GetGlobalOrganizationOperationRequest message from a plain object. Also converts values to their respective internal types.
  2642. * @param object Plain object
  2643. * @returns GetGlobalOrganizationOperationRequest
  2644. */
  2645. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.GetGlobalOrganizationOperationRequest;
  2646. /**
  2647. * Creates a plain object from a GetGlobalOrganizationOperationRequest message. Also converts values to other types if specified.
  2648. * @param message GetGlobalOrganizationOperationRequest
  2649. * @param [options] Conversion options
  2650. * @returns Plain object
  2651. */
  2652. public static toObject(message: google.cloud.compute.v1.GetGlobalOrganizationOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2653. /**
  2654. * Converts this GetGlobalOrganizationOperationRequest to JSON.
  2655. * @returns JSON object
  2656. */
  2657. public toJSON(): { [k: string]: any };
  2658. }
  2659. /** Properties of a ListGlobalOrganizationOperationsRequest. */
  2660. interface IListGlobalOrganizationOperationsRequest {
  2661. /** ListGlobalOrganizationOperationsRequest filter */
  2662. filter?: (string|null);
  2663. /** ListGlobalOrganizationOperationsRequest maxResults */
  2664. maxResults?: (number|null);
  2665. /** ListGlobalOrganizationOperationsRequest orderBy */
  2666. orderBy?: (string|null);
  2667. /** ListGlobalOrganizationOperationsRequest pageToken */
  2668. pageToken?: (string|null);
  2669. /** ListGlobalOrganizationOperationsRequest parentId */
  2670. parentId?: (string|null);
  2671. /** ListGlobalOrganizationOperationsRequest returnPartialSuccess */
  2672. returnPartialSuccess?: (boolean|null);
  2673. }
  2674. /** Represents a ListGlobalOrganizationOperationsRequest. */
  2675. class ListGlobalOrganizationOperationsRequest implements IListGlobalOrganizationOperationsRequest {
  2676. /**
  2677. * Constructs a new ListGlobalOrganizationOperationsRequest.
  2678. * @param [properties] Properties to set
  2679. */
  2680. constructor(properties?: google.cloud.compute.v1.IListGlobalOrganizationOperationsRequest);
  2681. /** ListGlobalOrganizationOperationsRequest filter. */
  2682. public filter?: (string|null);
  2683. /** ListGlobalOrganizationOperationsRequest maxResults. */
  2684. public maxResults?: (number|null);
  2685. /** ListGlobalOrganizationOperationsRequest orderBy. */
  2686. public orderBy?: (string|null);
  2687. /** ListGlobalOrganizationOperationsRequest pageToken. */
  2688. public pageToken?: (string|null);
  2689. /** ListGlobalOrganizationOperationsRequest parentId. */
  2690. public parentId?: (string|null);
  2691. /** ListGlobalOrganizationOperationsRequest returnPartialSuccess. */
  2692. public returnPartialSuccess?: (boolean|null);
  2693. /** ListGlobalOrganizationOperationsRequest _filter. */
  2694. public _filter?: "filter";
  2695. /** ListGlobalOrganizationOperationsRequest _maxResults. */
  2696. public _maxResults?: "maxResults";
  2697. /** ListGlobalOrganizationOperationsRequest _orderBy. */
  2698. public _orderBy?: "orderBy";
  2699. /** ListGlobalOrganizationOperationsRequest _pageToken. */
  2700. public _pageToken?: "pageToken";
  2701. /** ListGlobalOrganizationOperationsRequest _parentId. */
  2702. public _parentId?: "parentId";
  2703. /** ListGlobalOrganizationOperationsRequest _returnPartialSuccess. */
  2704. public _returnPartialSuccess?: "returnPartialSuccess";
  2705. /**
  2706. * Creates a new ListGlobalOrganizationOperationsRequest instance using the specified properties.
  2707. * @param [properties] Properties to set
  2708. * @returns ListGlobalOrganizationOperationsRequest instance
  2709. */
  2710. public static create(properties?: google.cloud.compute.v1.IListGlobalOrganizationOperationsRequest): google.cloud.compute.v1.ListGlobalOrganizationOperationsRequest;
  2711. /**
  2712. * Encodes the specified ListGlobalOrganizationOperationsRequest message. Does not implicitly {@link google.cloud.compute.v1.ListGlobalOrganizationOperationsRequest.verify|verify} messages.
  2713. * @param message ListGlobalOrganizationOperationsRequest message or plain object to encode
  2714. * @param [writer] Writer to encode to
  2715. * @returns Writer
  2716. */
  2717. public static encode(message: google.cloud.compute.v1.IListGlobalOrganizationOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  2718. /**
  2719. * Encodes the specified ListGlobalOrganizationOperationsRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.ListGlobalOrganizationOperationsRequest.verify|verify} messages.
  2720. * @param message ListGlobalOrganizationOperationsRequest message or plain object to encode
  2721. * @param [writer] Writer to encode to
  2722. * @returns Writer
  2723. */
  2724. public static encodeDelimited(message: google.cloud.compute.v1.IListGlobalOrganizationOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
  2725. /**
  2726. * Decodes a ListGlobalOrganizationOperationsRequest message from the specified reader or buffer.
  2727. * @param reader Reader or buffer to decode from
  2728. * @param [length] Message length if known beforehand
  2729. * @returns ListGlobalOrganizationOperationsRequest
  2730. * @throws {Error} If the payload is not a reader or valid buffer
  2731. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2732. */
  2733. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.ListGlobalOrganizationOperationsRequest;
  2734. /**
  2735. * Decodes a ListGlobalOrganizationOperationsRequest message from the specified reader or buffer, length delimited.
  2736. * @param reader Reader or buffer to decode from
  2737. * @returns ListGlobalOrganizationOperationsRequest
  2738. * @throws {Error} If the payload is not a reader or valid buffer
  2739. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2740. */
  2741. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.ListGlobalOrganizationOperationsRequest;
  2742. /**
  2743. * Verifies a ListGlobalOrganizationOperationsRequest message.
  2744. * @param message Plain object to verify
  2745. * @returns `null` if valid, otherwise the reason why it is not
  2746. */
  2747. public static verify(message: { [k: string]: any }): (string|null);
  2748. /**
  2749. * Creates a ListGlobalOrganizationOperationsRequest message from a plain object. Also converts values to their respective internal types.
  2750. * @param object Plain object
  2751. * @returns ListGlobalOrganizationOperationsRequest
  2752. */
  2753. public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.ListGlobalOrganizationOperationsRequest;
  2754. /**
  2755. * Creates a plain object from a ListGlobalOrganizationOperationsRequest message. Also converts values to other types if specified.
  2756. * @param message ListGlobalOrganizationOperationsRequest
  2757. * @param [options] Conversion options
  2758. * @returns Plain object
  2759. */
  2760. public static toObject(message: google.cloud.compute.v1.ListGlobalOrganizationOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2761. /**
  2762. * Converts this ListGlobalOrganizationOperationsRequest to JSON.
  2763. * @returns JSON object
  2764. */
  2765. public toJSON(): { [k: string]: any };
  2766. }
  2767. /** Represents a RegionOperations */
  2768. class RegionOperations extends $protobuf.rpc.Service {
  2769. /**
  2770. * Constructs a new RegionOperations service.
  2771. * @param rpcImpl RPC implementation
  2772. * @param [requestDelimited=false] Whether requests are length-delimited
  2773. * @param [responseDelimited=false] Whether responses are length-delimited
  2774. */
  2775. constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
  2776. /**
  2777. * Creates new RegionOperations service using the specified rpc implementation.
  2778. * @param rpcImpl RPC implementation
  2779. * @param [requestDelimited=false] Whether requests are length-delimited
  2780. * @param [responseDelimited=false] Whether responses are length-delimited
  2781. * @returns RPC service. Useful where requests and/or responses are streamed.
  2782. */
  2783. public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): RegionOperations;
  2784. /**
  2785. * Calls Delete.
  2786. * @param request DeleteRegionOperationRequest message or plain object
  2787. * @param callback Node-style callback called with the error, if any, and DeleteRegionOperationResponse
  2788. */
  2789. public delete(request: google.cloud.compute.v1.IDeleteRegionOperationRequest, callback: google.cloud.compute.v1.RegionOperations.DeleteCallback): void;
  2790. /**
  2791. * Calls Delete.
  2792. * @param request DeleteRegionOperationRequest message or plain object
  2793. * @returns Promise
  2794. */
  2795. public delete(request: google.cloud.compute.v1.IDeleteRegionOperationRequest): Promise<google.cloud.compute.v1.DeleteRegionOperationResponse>;
  2796. /**
  2797. * Calls Get.
  2798. * @param request GetRegionOperationRequest message or plain object
  2799. * @param callback Node-style callback called with the error, if any, and Operation
  2800. */
  2801. public get(request: google.cloud.compute.v1.IGetRegionOperationRequest, callback: google.cloud.compute.v1.RegionOperations.GetCallback): void;
  2802. /**
  2803. * Calls Get.
  2804. * @param request GetRegionOperationRequest message or plain object
  2805. * @returns Promise
  2806. */
  2807. public get(request: google.cloud.compute.v1.IGetRegionOperationRequest): Promise<google.cloud.compute.v1.Operation>;
  2808. /**
  2809. * Calls List.
  2810. * @param request ListRegionOperationsRequest message or plain object
  2811. * @param callback Node-style callback called with the error, if any, and OperationList
  2812. */
  2813. public list(request: google.cloud.compute.v1.IListRegionOperationsRequest, callback: google.cloud.compute.v1.RegionOperations.ListCallback): void;
  2814. /**
  2815. * Calls List.
  2816. * @param request ListRegionOperationsRequest message or plain object
  2817. * @returns Promise
  2818. */
  2819. public list(request: google.cloud.compute.v1.IListRegionOperationsRequest): Promise<google.cloud.compute.v1.OperationList>;
  2820. /**
  2821. * Calls Wait.
  2822. * @param request WaitRegionOperationRequest message or plain object
  2823. * @param callback Node-style callback called with the error, if any, and Operation
  2824. */
  2825. public wait(request: google.cloud.compute.v1.IWaitRegionOperationRequest, callback: google.cloud.compute.v1.RegionOperations.WaitCallback): void;
  2826. /**
  2827. * Calls Wait.
  2828. * @param request WaitRegionOperationRequest message or plain object
  2829. * @returns Promise
  2830. */
  2831. public wait(request: google.cloud.compute.v1.IWaitRegionOperationRequest): Promise<google.cloud.compute.v1.Operation>;
  2832. }
  2833. namespace RegionOperations {
  2834. /**
  2835. * Callback as used by {@link google.cloud.compute.v1.RegionOperations#delete_}.
  2836. * @param error Error, if any
  2837. * @param [response] DeleteRegionOperationResponse
  2838. */
  2839. type DeleteCallback = (error: (Error|null), response?: google.cloud.compute.v1.DeleteRegionOperationResponse) => void;
  2840. /**
  2841. * Callback as used by {@link google.cloud.compute.v1.RegionOperations#get}.
  2842. * @param error Error, if any
  2843. * @param [response] Operation
  2844. */
  2845. type GetCallback = (error: (Error|null), response?: google.cloud.compute.v1.Operation) => void;
  2846. /**
  2847. * Callback as used by {@link google.cloud.compute.v1.RegionOperations#list}.
  2848. * @param error Error, if any
  2849. * @param [response] OperationList
  2850. */
  2851. type ListCallback = (error: (Error|null), response?: google.cloud.compute.v1.OperationList) => void;
  2852. /**
  2853. * Callback as used by {@link google.cloud.compute.v1.RegionOperations#wait}.
  2854. * @param error Error, if any
  2855. * @param [response] Operation
  2856. */
  2857. type WaitCallback = (error: (Error|null), response?: google.cloud.compute.v1.Operation) => void;
  2858. }
  2859. /** Represents a ZoneOperations */
  2860. class ZoneOperations extends $protobuf.rpc.Service {
  2861. /**
  2862. * Constructs a new ZoneOperations service.
  2863. * @param rpcImpl RPC implementation
  2864. * @param [requestDelimited=false] Whether requests are length-delimited
  2865. * @param [responseDelimited=false] Whether responses are length-delimited
  2866. */
  2867. constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
  2868. /**
  2869. * Creates new ZoneOperations service using the specified rpc implementation.
  2870. * @param rpcImpl RPC implementation
  2871. * @param [requestDelimited=false] Whether requests are length-delimited
  2872. * @param [responseDelimited=false] Whether responses are length-delimited
  2873. * @returns RPC service. Useful where requests and/or responses are streamed.
  2874. */
  2875. public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ZoneOperations;
  2876. /**
  2877. * Calls Delete.
  2878. * @param request DeleteZoneOperationRequest message or plain object
  2879. * @param callback Node-style callback called with the error, if any, and DeleteZoneOperationResponse
  2880. */
  2881. public delete(request: google.cloud.compute.v1.IDeleteZoneOperationRequest, callback: google.cloud.compute.v1.ZoneOperations.DeleteCallback): void;
  2882. /**
  2883. * Calls Delete.
  2884. * @param request DeleteZoneOperationRequest message or plain object
  2885. * @returns Promise
  2886. */
  2887. public delete(request: google.cloud.compute.v1.IDeleteZoneOperationRequest): Promise<google.cloud.compute.v1.DeleteZoneOperationResponse>;
  2888. /**
  2889. * Calls Get.
  2890. * @param request GetZoneOperationRequest message or plain object
  2891. * @param callback Node-style callback called with the error, if any, and Operation
  2892. */
  2893. public get(request: google.cloud.compute.v1.IGetZoneOperationRequest, callback: google.cloud.compute.v1.ZoneOperations.GetCallback): void;
  2894. /**
  2895. * Calls Get.
  2896. * @param request GetZoneOperationRequest message or plain object
  2897. * @returns Promise
  2898. */
  2899. public get(request: google.cloud.compute.v1.IGetZoneOperationRequest): Promise<google.cloud.compute.v1.Operation>;
  2900. /**
  2901. * Calls List.
  2902. * @param request ListZoneOperationsRequest message or plain object
  2903. * @param callback Node-style callback called with the error, if any, and OperationList
  2904. */
  2905. public list(request: google.cloud.compute.v1.IListZoneOperationsRequest, callback: google.cloud.compute.v1.ZoneOperations.ListCallback): void;
  2906. /**
  2907. * Calls List.
  2908. * @param request ListZoneOperationsRequest message or plain object
  2909. * @returns Promise
  2910. */
  2911. public list(request: google.cloud.compute.v1.IListZoneOperationsRequest): Promise<google.cloud.compute.v1.OperationList>;
  2912. /**
  2913. * Calls Wait.
  2914. * @param request WaitZoneOperationRequest message or plain object
  2915. * @param callback Node-style callback called with the error, if any, and Operation
  2916. */
  2917. public wait(request: google.cloud.compute.v1.IWaitZoneOperationRequest, callback: google.cloud.compute.v1.ZoneOperations.WaitCallback): void;
  2918. /**
  2919. * Calls Wait.
  2920. * @param request WaitZoneOperationRequest message or plain object
  2921. * @returns Promise
  2922. */
  2923. public wait(request: google.cloud.compute.v1.IWaitZoneOperationRequest): Promise<google.cloud.compute.v1.Operation>;
  2924. }
  2925. namespace ZoneOperations {
  2926. /**
  2927. * Callback as used by {@link google.cloud.compute.v1.ZoneOperations#delete_}.
  2928. * @param error Error, if any
  2929. * @param [response] DeleteZoneOperationResponse
  2930. */
  2931. type DeleteCallback = (error: (Error|null), response?: google.cloud.compute.v1.DeleteZoneOperationResponse) => void;
  2932. /**
  2933. * Callback as used by {@link google.cloud.compute.v1.ZoneOperations#get}.
  2934. * @param error Error, if any
  2935. * @param [response] Operation
  2936. */
  2937. type GetCallback = (error: (Error|null), response?: google.cloud.compute.v1.Operation) => void;
  2938. /**
  2939. * Callback as used by {@link google.cloud.compute.v1.ZoneOperations#list}.
  2940. * @param error Error, if any
  2941. * @param [response] OperationList
  2942. */
  2943. type ListCallback = (error: (Error|null), response?: google.cloud.compute.v1.OperationList) => void;
  2944. /**
  2945. * Callback as used by {@link google.cloud.compute.v1.ZoneOperations#wait}.
  2946. * @param error Error, if any
  2947. * @param [response] Operation
  2948. */
  2949. type WaitCallback = (error: (Error|null), response?: google.cloud.compute.v1.Operation) => void;
  2950. }
  2951. /** Represents a GlobalOperations */
  2952. class GlobalOperations extends $protobuf.rpc.Service {
  2953. /**
  2954. * Constructs a new GlobalOperations service.
  2955. * @param rpcImpl RPC implementation
  2956. * @param [requestDelimited=false] Whether requests are length-delimited
  2957. * @param [responseDelimited=false] Whether responses are length-delimited
  2958. */
  2959. constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
  2960. /**
  2961. * Creates new GlobalOperations service using the specified rpc implementation.
  2962. * @param rpcImpl RPC implementation
  2963. * @param [requestDelimited=false] Whether requests are length-delimited
  2964. * @param [responseDelimited=false] Whether responses are length-delimited
  2965. * @returns RPC service. Useful where requests and/or responses are streamed.
  2966. */
  2967. public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): GlobalOperations;
  2968. /**
  2969. * Calls AggregatedList.
  2970. * @param request AggregatedListGlobalOperationsRequest message or plain object
  2971. * @param callback Node-style callback called with the error, if any, and OperationAggregatedList
  2972. */
  2973. public aggregatedList(request: google.cloud.compute.v1.IAggregatedListGlobalOperationsRequest, callback: google.cloud.compute.v1.GlobalOperations.AggregatedListCallback): void;
  2974. /**
  2975. * Calls AggregatedList.
  2976. * @param request AggregatedListGlobalOperationsRequest message or plain object
  2977. * @returns Promise
  2978. */
  2979. public aggregatedList(request: google.cloud.compute.v1.IAggregatedListGlobalOperationsRequest): Promise<google.cloud.compute.v1.OperationAggregatedList>;
  2980. /**
  2981. * Calls Delete.
  2982. * @param request DeleteGlobalOperationRequest message or plain object
  2983. * @param callback Node-style callback called with the error, if any, and DeleteGlobalOperationResponse
  2984. */
  2985. public delete(request: google.cloud.compute.v1.IDeleteGlobalOperationRequest, callback: google.cloud.compute.v1.GlobalOperations.DeleteCallback): void;
  2986. /**
  2987. * Calls Delete.
  2988. * @param request DeleteGlobalOperationRequest message or plain object
  2989. * @returns Promise
  2990. */
  2991. public delete(request: google.cloud.compute.v1.IDeleteGlobalOperationRequest): Promise<google.cloud.compute.v1.DeleteGlobalOperationResponse>;
  2992. /**
  2993. * Calls Get.
  2994. * @param request GetGlobalOperationRequest message or plain object
  2995. * @param callback Node-style callback called with the error, if any, and Operation
  2996. */
  2997. public get(request: google.cloud.compute.v1.IGetGlobalOperationRequest, callback: google.cloud.compute.v1.GlobalOperations.GetCallback): void;
  2998. /**
  2999. * Calls Get.
  3000. * @param request GetGlobalOperationRequest message or plain object
  3001. * @returns Promise
  3002. */
  3003. public get(request: google.cloud.compute.v1.IGetGlobalOperationRequest): Promise<google.cloud.compute.v1.Operation>;
  3004. /**
  3005. * Calls List.
  3006. * @param request ListGlobalOperationsRequest message or plain object
  3007. * @param callback Node-style callback called with the error, if any, and OperationList
  3008. */
  3009. public list(request: google.cloud.compute.v1.IListGlobalOperationsRequest, callback: google.cloud.compute.v1.GlobalOperations.ListCallback): void;
  3010. /**
  3011. * Calls List.
  3012. * @param request ListGlobalOperationsRequest message or plain object
  3013. * @returns Promise
  3014. */
  3015. public list(request: google.cloud.compute.v1.IListGlobalOperationsRequest): Promise<google.cloud.compute.v1.OperationList>;
  3016. /**
  3017. * Calls Wait.
  3018. * @param request WaitGlobalOperationRequest message or plain object
  3019. * @param callback Node-style callback called with the error, if any, and Operation
  3020. */
  3021. public wait(request: google.cloud.compute.v1.IWaitGlobalOperationRequest, callback: google.cloud.compute.v1.GlobalOperations.WaitCallback): void;
  3022. /**
  3023. * Calls Wait.
  3024. * @param request WaitGlobalOperationRequest message or plain object
  3025. * @returns Promise
  3026. */
  3027. public wait(request: google.cloud.compute.v1.IWaitGlobalOperationRequest): Promise<google.cloud.compute.v1.Operation>;
  3028. }
  3029. namespace GlobalOperations {
  3030. /**
  3031. * Callback as used by {@link google.cloud.compute.v1.GlobalOperations#aggregatedList}.
  3032. * @param error Error, if any
  3033. * @param [response] OperationAggregatedList
  3034. */
  3035. type AggregatedListCallback = (error: (Error|null), response?: google.cloud.compute.v1.OperationAggregatedList) => void;
  3036. /**
  3037. * Callback as used by {@link google.cloud.compute.v1.GlobalOperations#delete_}.
  3038. * @param error Error, if any
  3039. * @param [response] DeleteGlobalOperationResponse
  3040. */
  3041. type DeleteCallback = (error: (Error|null), response?: google.cloud.compute.v1.DeleteGlobalOperationResponse) => void;
  3042. /**
  3043. * Callback as used by {@link google.cloud.compute.v1.GlobalOperations#get}.
  3044. * @param error Error, if any
  3045. * @param [response] Operation
  3046. */
  3047. type GetCallback = (error: (Error|null), response?: google.cloud.compute.v1.Operation) => void;
  3048. /**
  3049. * Callback as used by {@link google.cloud.compute.v1.GlobalOperations#list}.
  3050. * @param error Error, if any
  3051. * @param [response] OperationList
  3052. */
  3053. type ListCallback = (error: (Error|null), response?: google.cloud.compute.v1.OperationList) => void;
  3054. /**
  3055. * Callback as used by {@link google.cloud.compute.v1.GlobalOperations#wait}.
  3056. * @param error Error, if any
  3057. * @param [response] Operation
  3058. */
  3059. type WaitCallback = (error: (Error|null), response?: google.cloud.compute.v1.Operation) => void;
  3060. }
  3061. /** Represents a GlobalOrganizationOperations */
  3062. class GlobalOrganizationOperations extends $protobuf.rpc.Service {
  3063. /**
  3064. * Constructs a new GlobalOrganizationOperations service.
  3065. * @param rpcImpl RPC implementation
  3066. * @param [requestDelimited=false] Whether requests are length-delimited
  3067. * @param [responseDelimited=false] Whether responses are length-delimited
  3068. */
  3069. constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
  3070. /**
  3071. * Creates new GlobalOrganizationOperations service using the specified rpc implementation.
  3072. * @param rpcImpl RPC implementation
  3073. * @param [requestDelimited=false] Whether requests are length-delimited
  3074. * @param [responseDelimited=false] Whether responses are length-delimited
  3075. * @returns RPC service. Useful where requests and/or responses are streamed.
  3076. */
  3077. public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): GlobalOrganizationOperations;
  3078. /**
  3079. * Calls Delete.
  3080. * @param request DeleteGlobalOrganizationOperationRequest message or plain object
  3081. * @param callback Node-style callback called with the error, if any, and DeleteGlobalOrganizationOperationResponse
  3082. */
  3083. public delete(request: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationRequest, callback: google.cloud.compute.v1.GlobalOrganizationOperations.DeleteCallback): void;
  3084. /**
  3085. * Calls Delete.
  3086. * @param request DeleteGlobalOrganizationOperationRequest message or plain object
  3087. * @returns Promise
  3088. */
  3089. public delete(request: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationRequest): Promise<google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse>;
  3090. /**
  3091. * Calls Get.
  3092. * @param request GetGlobalOrganizationOperationRequest message or plain object
  3093. * @param callback Node-style callback called with the error, if any, and Operation
  3094. */
  3095. public get(request: google.cloud.compute.v1.IGetGlobalOrganizationOperationRequest, callback: google.cloud.compute.v1.GlobalOrganizationOperations.GetCallback): void;
  3096. /**
  3097. * Calls Get.
  3098. * @param request GetGlobalOrganizationOperationRequest message or plain object
  3099. * @returns Promise
  3100. */
  3101. public get(request: google.cloud.compute.v1.IGetGlobalOrganizationOperationRequest): Promise<google.cloud.compute.v1.Operation>;
  3102. /**
  3103. * Calls List.
  3104. * @param request ListGlobalOrganizationOperationsRequest message or plain object
  3105. * @param callback Node-style callback called with the error, if any, and OperationList
  3106. */
  3107. public list(request: google.cloud.compute.v1.IListGlobalOrganizationOperationsRequest, callback: google.cloud.compute.v1.GlobalOrganizationOperations.ListCallback): void;
  3108. /**
  3109. * Calls List.
  3110. * @param request ListGlobalOrganizationOperationsRequest message or plain object
  3111. * @returns Promise
  3112. */
  3113. public list(request: google.cloud.compute.v1.IListGlobalOrganizationOperationsRequest): Promise<google.cloud.compute.v1.OperationList>;
  3114. }
  3115. namespace GlobalOrganizationOperations {
  3116. /**
  3117. * Callback as used by {@link google.cloud.compute.v1.GlobalOrganizationOperations#delete_}.
  3118. * @param error Error, if any
  3119. * @param [response] DeleteGlobalOrganizationOperationResponse
  3120. */
  3121. type DeleteCallback = (error: (Error|null), response?: google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse) => void;
  3122. /**
  3123. * Callback as used by {@link google.cloud.compute.v1.GlobalOrganizationOperations#get}.
  3124. * @param error Error, if any
  3125. * @param [response] Operation
  3126. */
  3127. type GetCallback = (error: (Error|null), response?: google.cloud.compute.v1.Operation) => void;
  3128. /**
  3129. * Callback as used by {@link google.cloud.compute.v1.GlobalOrganizationOperations#list}.
  3130. * @param error Error, if any
  3131. * @param [response] OperationList
  3132. */
  3133. type ListCallback = (error: (Error|null), response?: google.cloud.compute.v1.OperationList) => void;
  3134. }
  3135. }
  3136. }
  3137. }
  3138. /** Namespace api. */
  3139. namespace api {
  3140. /** Properties of a Http. */
  3141. interface IHttp {
  3142. /** Http rules */
  3143. rules?: (google.api.IHttpRule[]|null);
  3144. /** Http fullyDecodeReservedExpansion */
  3145. fullyDecodeReservedExpansion?: (boolean|null);
  3146. }
  3147. /** Represents a Http. */
  3148. class Http implements IHttp {
  3149. /**
  3150. * Constructs a new Http.
  3151. * @param [properties] Properties to set
  3152. */
  3153. constructor(properties?: google.api.IHttp);
  3154. /** Http rules. */
  3155. public rules: google.api.IHttpRule[];
  3156. /** Http fullyDecodeReservedExpansion. */
  3157. public fullyDecodeReservedExpansion: boolean;
  3158. /**
  3159. * Creates a new Http instance using the specified properties.
  3160. * @param [properties] Properties to set
  3161. * @returns Http instance
  3162. */
  3163. public static create(properties?: google.api.IHttp): google.api.Http;
  3164. /**
  3165. * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
  3166. * @param message Http message or plain object to encode
  3167. * @param [writer] Writer to encode to
  3168. * @returns Writer
  3169. */
  3170. public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
  3171. /**
  3172. * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
  3173. * @param message Http message or plain object to encode
  3174. * @param [writer] Writer to encode to
  3175. * @returns Writer
  3176. */
  3177. public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
  3178. /**
  3179. * Decodes a Http message from the specified reader or buffer.
  3180. * @param reader Reader or buffer to decode from
  3181. * @param [length] Message length if known beforehand
  3182. * @returns Http
  3183. * @throws {Error} If the payload is not a reader or valid buffer
  3184. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  3185. */
  3186. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
  3187. /**
  3188. * Decodes a Http message from the specified reader or buffer, length delimited.
  3189. * @param reader Reader or buffer to decode from
  3190. * @returns Http
  3191. * @throws {Error} If the payload is not a reader or valid buffer
  3192. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  3193. */
  3194. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
  3195. /**
  3196. * Verifies a Http message.
  3197. * @param message Plain object to verify
  3198. * @returns `null` if valid, otherwise the reason why it is not
  3199. */
  3200. public static verify(message: { [k: string]: any }): (string|null);
  3201. /**
  3202. * Creates a Http message from a plain object. Also converts values to their respective internal types.
  3203. * @param object Plain object
  3204. * @returns Http
  3205. */
  3206. public static fromObject(object: { [k: string]: any }): google.api.Http;
  3207. /**
  3208. * Creates a plain object from a Http message. Also converts values to other types if specified.
  3209. * @param message Http
  3210. * @param [options] Conversion options
  3211. * @returns Plain object
  3212. */
  3213. public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
  3214. /**
  3215. * Converts this Http to JSON.
  3216. * @returns JSON object
  3217. */
  3218. public toJSON(): { [k: string]: any };
  3219. }
  3220. /** Properties of a HttpRule. */
  3221. interface IHttpRule {
  3222. /** HttpRule selector */
  3223. selector?: (string|null);
  3224. /** HttpRule get */
  3225. get?: (string|null);
  3226. /** HttpRule put */
  3227. put?: (string|null);
  3228. /** HttpRule post */
  3229. post?: (string|null);
  3230. /** HttpRule delete */
  3231. "delete"?: (string|null);
  3232. /** HttpRule patch */
  3233. patch?: (string|null);
  3234. /** HttpRule custom */
  3235. custom?: (google.api.ICustomHttpPattern|null);
  3236. /** HttpRule body */
  3237. body?: (string|null);
  3238. /** HttpRule responseBody */
  3239. responseBody?: (string|null);
  3240. /** HttpRule additionalBindings */
  3241. additionalBindings?: (google.api.IHttpRule[]|null);
  3242. }
  3243. /** Represents a HttpRule. */
  3244. class HttpRule implements IHttpRule {
  3245. /**
  3246. * Constructs a new HttpRule.
  3247. * @param [properties] Properties to set
  3248. */
  3249. constructor(properties?: google.api.IHttpRule);
  3250. /** HttpRule selector. */
  3251. public selector: string;
  3252. /** HttpRule get. */
  3253. public get?: (string|null);
  3254. /** HttpRule put. */
  3255. public put?: (string|null);
  3256. /** HttpRule post. */
  3257. public post?: (string|null);
  3258. /** HttpRule delete. */
  3259. public delete?: (string|null);
  3260. /** HttpRule patch. */
  3261. public patch?: (string|null);
  3262. /** HttpRule custom. */
  3263. public custom?: (google.api.ICustomHttpPattern|null);
  3264. /** HttpRule body. */
  3265. public body: string;
  3266. /** HttpRule responseBody. */
  3267. public responseBody: string;
  3268. /** HttpRule additionalBindings. */
  3269. public additionalBindings: google.api.IHttpRule[];
  3270. /** HttpRule pattern. */
  3271. public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
  3272. /**
  3273. * Creates a new HttpRule instance using the specified properties.
  3274. * @param [properties] Properties to set
  3275. * @returns HttpRule instance
  3276. */
  3277. public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
  3278. /**
  3279. * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
  3280. * @param message HttpRule message or plain object to encode
  3281. * @param [writer] Writer to encode to
  3282. * @returns Writer
  3283. */
  3284. public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
  3285. /**
  3286. * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
  3287. * @param message HttpRule message or plain object to encode
  3288. * @param [writer] Writer to encode to
  3289. * @returns Writer
  3290. */
  3291. public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
  3292. /**
  3293. * Decodes a HttpRule message from the specified reader or buffer.
  3294. * @param reader Reader or buffer to decode from
  3295. * @param [length] Message length if known beforehand
  3296. * @returns HttpRule
  3297. * @throws {Error} If the payload is not a reader or valid buffer
  3298. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  3299. */
  3300. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
  3301. /**
  3302. * Decodes a HttpRule message from the specified reader or buffer, length delimited.
  3303. * @param reader Reader or buffer to decode from
  3304. * @returns HttpRule
  3305. * @throws {Error} If the payload is not a reader or valid buffer
  3306. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  3307. */
  3308. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
  3309. /**
  3310. * Verifies a HttpRule message.
  3311. * @param message Plain object to verify
  3312. * @returns `null` if valid, otherwise the reason why it is not
  3313. */
  3314. public static verify(message: { [k: string]: any }): (string|null);
  3315. /**
  3316. * Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
  3317. * @param object Plain object
  3318. * @returns HttpRule
  3319. */
  3320. public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
  3321. /**
  3322. * Creates a plain object from a HttpRule message. Also converts values to other types if specified.
  3323. * @param message HttpRule
  3324. * @param [options] Conversion options
  3325. * @returns Plain object
  3326. */
  3327. public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
  3328. /**
  3329. * Converts this HttpRule to JSON.
  3330. * @returns JSON object
  3331. */
  3332. public toJSON(): { [k: string]: any };
  3333. }
  3334. /** Properties of a CustomHttpPattern. */
  3335. interface ICustomHttpPattern {
  3336. /** CustomHttpPattern kind */
  3337. kind?: (string|null);
  3338. /** CustomHttpPattern path */
  3339. path?: (string|null);
  3340. }
  3341. /** Represents a CustomHttpPattern. */
  3342. class CustomHttpPattern implements ICustomHttpPattern {
  3343. /**
  3344. * Constructs a new CustomHttpPattern.
  3345. * @param [properties] Properties to set
  3346. */
  3347. constructor(properties?: google.api.ICustomHttpPattern);
  3348. /** CustomHttpPattern kind. */
  3349. public kind: string;
  3350. /** CustomHttpPattern path. */
  3351. public path: string;
  3352. /**
  3353. * Creates a new CustomHttpPattern instance using the specified properties.
  3354. * @param [properties] Properties to set
  3355. * @returns CustomHttpPattern instance
  3356. */
  3357. public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
  3358. /**
  3359. * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
  3360. * @param message CustomHttpPattern message or plain object to encode
  3361. * @param [writer] Writer to encode to
  3362. * @returns Writer
  3363. */
  3364. public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
  3365. /**
  3366. * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
  3367. * @param message CustomHttpPattern message or plain object to encode
  3368. * @param [writer] Writer to encode to
  3369. * @returns Writer
  3370. */
  3371. public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
  3372. /**
  3373. * Decodes a CustomHttpPattern message from the specified reader or buffer.
  3374. * @param reader Reader or buffer to decode from
  3375. * @param [length] Message length if known beforehand
  3376. * @returns CustomHttpPattern
  3377. * @throws {Error} If the payload is not a reader or valid buffer
  3378. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  3379. */
  3380. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
  3381. /**
  3382. * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
  3383. * @param reader Reader or buffer to decode from
  3384. * @returns CustomHttpPattern
  3385. * @throws {Error} If the payload is not a reader or valid buffer
  3386. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  3387. */
  3388. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
  3389. /**
  3390. * Verifies a CustomHttpPattern message.
  3391. * @param message Plain object to verify
  3392. * @returns `null` if valid, otherwise the reason why it is not
  3393. */
  3394. public static verify(message: { [k: string]: any }): (string|null);
  3395. /**
  3396. * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
  3397. * @param object Plain object
  3398. * @returns CustomHttpPattern
  3399. */
  3400. public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
  3401. /**
  3402. * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
  3403. * @param message CustomHttpPattern
  3404. * @param [options] Conversion options
  3405. * @returns Plain object
  3406. */
  3407. public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
  3408. /**
  3409. * Converts this CustomHttpPattern to JSON.
  3410. * @returns JSON object
  3411. */
  3412. public toJSON(): { [k: string]: any };
  3413. }
  3414. }
  3415. /** Namespace protobuf. */
  3416. namespace protobuf {
  3417. /** Properties of a FileDescriptorSet. */
  3418. interface IFileDescriptorSet {
  3419. /** FileDescriptorSet file */
  3420. file?: (google.protobuf.IFileDescriptorProto[]|null);
  3421. }
  3422. /** Represents a FileDescriptorSet. */
  3423. class FileDescriptorSet implements IFileDescriptorSet {
  3424. /**
  3425. * Constructs a new FileDescriptorSet.
  3426. * @param [properties] Properties to set
  3427. */
  3428. constructor(properties?: google.protobuf.IFileDescriptorSet);
  3429. /** FileDescriptorSet file. */
  3430. public file: google.protobuf.IFileDescriptorProto[];
  3431. /**
  3432. * Creates a new FileDescriptorSet instance using the specified properties.
  3433. * @param [properties] Properties to set
  3434. * @returns FileDescriptorSet instance
  3435. */
  3436. public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
  3437. /**
  3438. * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
  3439. * @param message FileDescriptorSet message or plain object to encode
  3440. * @param [writer] Writer to encode to
  3441. * @returns Writer
  3442. */
  3443. public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
  3444. /**
  3445. * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
  3446. * @param message FileDescriptorSet message or plain object to encode
  3447. * @param [writer] Writer to encode to
  3448. * @returns Writer
  3449. */
  3450. public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
  3451. /**
  3452. * Decodes a FileDescriptorSet message from the specified reader or buffer.
  3453. * @param reader Reader or buffer to decode from
  3454. * @param [length] Message length if known beforehand
  3455. * @returns FileDescriptorSet
  3456. * @throws {Error} If the payload is not a reader or valid buffer
  3457. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  3458. */
  3459. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet;
  3460. /**
  3461. * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
  3462. * @param reader Reader or buffer to decode from
  3463. * @returns FileDescriptorSet
  3464. * @throws {Error} If the payload is not a reader or valid buffer
  3465. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  3466. */
  3467. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet;
  3468. /**
  3469. * Verifies a FileDescriptorSet message.
  3470. * @param message Plain object to verify
  3471. * @returns `null` if valid, otherwise the reason why it is not
  3472. */
  3473. public static verify(message: { [k: string]: any }): (string|null);
  3474. /**
  3475. * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
  3476. * @param object Plain object
  3477. * @returns FileDescriptorSet
  3478. */
  3479. public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
  3480. /**
  3481. * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
  3482. * @param message FileDescriptorSet
  3483. * @param [options] Conversion options
  3484. * @returns Plain object
  3485. */
  3486. public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
  3487. /**
  3488. * Converts this FileDescriptorSet to JSON.
  3489. * @returns JSON object
  3490. */
  3491. public toJSON(): { [k: string]: any };
  3492. }
  3493. /** Properties of a FileDescriptorProto. */
  3494. interface IFileDescriptorProto {
  3495. /** FileDescriptorProto name */
  3496. name?: (string|null);
  3497. /** FileDescriptorProto package */
  3498. "package"?: (string|null);
  3499. /** FileDescriptorProto dependency */
  3500. dependency?: (string[]|null);
  3501. /** FileDescriptorProto publicDependency */
  3502. publicDependency?: (number[]|null);
  3503. /** FileDescriptorProto weakDependency */
  3504. weakDependency?: (number[]|null);
  3505. /** FileDescriptorProto messageType */
  3506. messageType?: (google.protobuf.IDescriptorProto[]|null);
  3507. /** FileDescriptorProto enumType */
  3508. enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
  3509. /** FileDescriptorProto service */
  3510. service?: (google.protobuf.IServiceDescriptorProto[]|null);
  3511. /** FileDescriptorProto extension */
  3512. extension?: (google.protobuf.IFieldDescriptorProto[]|null);
  3513. /** FileDescriptorProto options */
  3514. options?: (google.protobuf.IFileOptions|null);
  3515. /** FileDescriptorProto sourceCodeInfo */
  3516. sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
  3517. /** FileDescriptorProto syntax */
  3518. syntax?: (string|null);
  3519. }
  3520. /** Represents a FileDescriptorProto. */
  3521. class FileDescriptorProto implements IFileDescriptorProto {
  3522. /**
  3523. * Constructs a new FileDescriptorProto.
  3524. * @param [properties] Properties to set
  3525. */
  3526. constructor(properties?: google.protobuf.IFileDescriptorProto);
  3527. /** FileDescriptorProto name. */
  3528. public name: string;
  3529. /** FileDescriptorProto package. */
  3530. public package: string;
  3531. /** FileDescriptorProto dependency. */
  3532. public dependency: string[];
  3533. /** FileDescriptorProto publicDependency. */
  3534. public publicDependency: number[];
  3535. /** FileDescriptorProto weakDependency. */
  3536. public weakDependency: number[];
  3537. /** FileDescriptorProto messageType. */
  3538. public messageType: google.protobuf.IDescriptorProto[];
  3539. /** FileDescriptorProto enumType. */
  3540. public enumType: google.protobuf.IEnumDescriptorProto[];
  3541. /** FileDescriptorProto service. */
  3542. public service: google.protobuf.IServiceDescriptorProto[];
  3543. /** FileDescriptorProto extension. */
  3544. public extension: google.protobuf.IFieldDescriptorProto[];
  3545. /** FileDescriptorProto options. */
  3546. public options?: (google.protobuf.IFileOptions|null);
  3547. /** FileDescriptorProto sourceCodeInfo. */
  3548. public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
  3549. /** FileDescriptorProto syntax. */
  3550. public syntax: string;
  3551. /**
  3552. * Creates a new FileDescriptorProto instance using the specified properties.
  3553. * @param [properties] Properties to set
  3554. * @returns FileDescriptorProto instance
  3555. */
  3556. public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto;
  3557. /**
  3558. * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
  3559. * @param message FileDescriptorProto message or plain object to encode
  3560. * @param [writer] Writer to encode to
  3561. * @returns Writer
  3562. */
  3563. public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
  3564. /**
  3565. * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
  3566. * @param message FileDescriptorProto message or plain object to encode
  3567. * @param [writer] Writer to encode to
  3568. * @returns Writer
  3569. */
  3570. public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
  3571. /**
  3572. * Decodes a FileDescriptorProto message from the specified reader or buffer.
  3573. * @param reader Reader or buffer to decode from
  3574. * @param [length] Message length if known beforehand
  3575. * @returns FileDescriptorProto
  3576. * @throws {Error} If the payload is not a reader or valid buffer
  3577. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  3578. */
  3579. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto;
  3580. /**
  3581. * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited.
  3582. * @param reader Reader or buffer to decode from
  3583. * @returns FileDescriptorProto
  3584. * @throws {Error} If the payload is not a reader or valid buffer
  3585. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  3586. */
  3587. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto;
  3588. /**
  3589. * Verifies a FileDescriptorProto message.
  3590. * @param message Plain object to verify
  3591. * @returns `null` if valid, otherwise the reason why it is not
  3592. */
  3593. public static verify(message: { [k: string]: any }): (string|null);
  3594. /**
  3595. * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types.
  3596. * @param object Plain object
  3597. * @returns FileDescriptorProto
  3598. */
  3599. public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto;
  3600. /**
  3601. * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
  3602. * @param message FileDescriptorProto
  3603. * @param [options] Conversion options
  3604. * @returns Plain object
  3605. */
  3606. public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
  3607. /**
  3608. * Converts this FileDescriptorProto to JSON.
  3609. * @returns JSON object
  3610. */
  3611. public toJSON(): { [k: string]: any };
  3612. }
  3613. /** Properties of a DescriptorProto. */
  3614. interface IDescriptorProto {
  3615. /** DescriptorProto name */
  3616. name?: (string|null);
  3617. /** DescriptorProto field */
  3618. field?: (google.protobuf.IFieldDescriptorProto[]|null);
  3619. /** DescriptorProto extension */
  3620. extension?: (google.protobuf.IFieldDescriptorProto[]|null);
  3621. /** DescriptorProto nestedType */
  3622. nestedType?: (google.protobuf.IDescriptorProto[]|null);
  3623. /** DescriptorProto enumType */
  3624. enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
  3625. /** DescriptorProto extensionRange */
  3626. extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null);
  3627. /** DescriptorProto oneofDecl */
  3628. oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null);
  3629. /** DescriptorProto options */
  3630. options?: (google.protobuf.IMessageOptions|null);
  3631. /** DescriptorProto reservedRange */
  3632. reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null);
  3633. /** DescriptorProto reservedName */
  3634. reservedName?: (string[]|null);
  3635. }
  3636. /** Represents a DescriptorProto. */
  3637. class DescriptorProto implements IDescriptorProto {
  3638. /**
  3639. * Constructs a new DescriptorProto.
  3640. * @param [properties] Properties to set
  3641. */
  3642. constructor(properties?: google.protobuf.IDescriptorProto);
  3643. /** DescriptorProto name. */
  3644. public name: string;
  3645. /** DescriptorProto field. */
  3646. public field: google.protobuf.IFieldDescriptorProto[];
  3647. /** DescriptorProto extension. */
  3648. public extension: google.protobuf.IFieldDescriptorProto[];
  3649. /** DescriptorProto nestedType. */
  3650. public nestedType: google.protobuf.IDescriptorProto[];
  3651. /** DescriptorProto enumType. */
  3652. public enumType: google.protobuf.IEnumDescriptorProto[];
  3653. /** DescriptorProto extensionRange. */
  3654. public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[];
  3655. /** DescriptorProto oneofDecl. */
  3656. public oneofDecl: google.protobuf.IOneofDescriptorProto[];
  3657. /** DescriptorProto options. */
  3658. public options?: (google.protobuf.IMessageOptions|null);
  3659. /** DescriptorProto reservedRange. */
  3660. public reservedRange: google.protobuf.DescriptorProto.IReservedRange[];
  3661. /** DescriptorProto reservedName. */
  3662. public reservedName: string[];
  3663. /**
  3664. * Creates a new DescriptorProto instance using the specified properties.
  3665. * @param [properties] Properties to set
  3666. * @returns DescriptorProto instance
  3667. */
  3668. public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto;
  3669. /**
  3670. * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
  3671. * @param message DescriptorProto message or plain object to encode
  3672. * @param [writer] Writer to encode to
  3673. * @returns Writer
  3674. */
  3675. public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
  3676. /**
  3677. * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
  3678. * @param message DescriptorProto message or plain object to encode
  3679. * @param [writer] Writer to encode to
  3680. * @returns Writer
  3681. */
  3682. public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
  3683. /**
  3684. * Decodes a DescriptorProto message from the specified reader or buffer.
  3685. * @param reader Reader or buffer to decode from
  3686. * @param [length] Message length if known beforehand
  3687. * @returns DescriptorProto
  3688. * @throws {Error} If the payload is not a reader or valid buffer
  3689. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  3690. */
  3691. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto;
  3692. /**
  3693. * Decodes a DescriptorProto message from the specified reader or buffer, length delimited.
  3694. * @param reader Reader or buffer to decode from
  3695. * @returns DescriptorProto
  3696. * @throws {Error} If the payload is not a reader or valid buffer
  3697. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  3698. */
  3699. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto;
  3700. /**
  3701. * Verifies a DescriptorProto message.
  3702. * @param message Plain object to verify
  3703. * @returns `null` if valid, otherwise the reason why it is not
  3704. */
  3705. public static verify(message: { [k: string]: any }): (string|null);
  3706. /**
  3707. * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types.
  3708. * @param object Plain object
  3709. * @returns DescriptorProto
  3710. */
  3711. public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto;
  3712. /**
  3713. * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified.
  3714. * @param message DescriptorProto
  3715. * @param [options] Conversion options
  3716. * @returns Plain object
  3717. */
  3718. public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
  3719. /**
  3720. * Converts this DescriptorProto to JSON.
  3721. * @returns JSON object
  3722. */
  3723. public toJSON(): { [k: string]: any };
  3724. }
  3725. namespace DescriptorProto {
  3726. /** Properties of an ExtensionRange. */
  3727. interface IExtensionRange {
  3728. /** ExtensionRange start */
  3729. start?: (number|null);
  3730. /** ExtensionRange end */
  3731. end?: (number|null);
  3732. /** ExtensionRange options */
  3733. options?: (google.protobuf.IExtensionRangeOptions|null);
  3734. }
  3735. /** Represents an ExtensionRange. */
  3736. class ExtensionRange implements IExtensionRange {
  3737. /**
  3738. * Constructs a new ExtensionRange.
  3739. * @param [properties] Properties to set
  3740. */
  3741. constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange);
  3742. /** ExtensionRange start. */
  3743. public start: number;
  3744. /** ExtensionRange end. */
  3745. public end: number;
  3746. /** ExtensionRange options. */
  3747. public options?: (google.protobuf.IExtensionRangeOptions|null);
  3748. /**
  3749. * Creates a new ExtensionRange instance using the specified properties.
  3750. * @param [properties] Properties to set
  3751. * @returns ExtensionRange instance
  3752. */
  3753. public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange;
  3754. /**
  3755. * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
  3756. * @param message ExtensionRange message or plain object to encode
  3757. * @param [writer] Writer to encode to
  3758. * @returns Writer
  3759. */
  3760. public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
  3761. /**
  3762. * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
  3763. * @param message ExtensionRange message or plain object to encode
  3764. * @param [writer] Writer to encode to
  3765. * @returns Writer
  3766. */
  3767. public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
  3768. /**
  3769. * Decodes an ExtensionRange message from the specified reader or buffer.
  3770. * @param reader Reader or buffer to decode from
  3771. * @param [length] Message length if known beforehand
  3772. * @returns ExtensionRange
  3773. * @throws {Error} If the payload is not a reader or valid buffer
  3774. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  3775. */
  3776. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange;
  3777. /**
  3778. * Decodes an ExtensionRange message from the specified reader or buffer, length delimited.
  3779. * @param reader Reader or buffer to decode from
  3780. * @returns ExtensionRange
  3781. * @throws {Error} If the payload is not a reader or valid buffer
  3782. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  3783. */
  3784. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange;
  3785. /**
  3786. * Verifies an ExtensionRange message.
  3787. * @param message Plain object to verify
  3788. * @returns `null` if valid, otherwise the reason why it is not
  3789. */
  3790. public static verify(message: { [k: string]: any }): (string|null);
  3791. /**
  3792. * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types.
  3793. * @param object Plain object
  3794. * @returns ExtensionRange
  3795. */
  3796. public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange;
  3797. /**
  3798. * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified.
  3799. * @param message ExtensionRange
  3800. * @param [options] Conversion options
  3801. * @returns Plain object
  3802. */
  3803. public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
  3804. /**
  3805. * Converts this ExtensionRange to JSON.
  3806. * @returns JSON object
  3807. */
  3808. public toJSON(): { [k: string]: any };
  3809. }
  3810. /** Properties of a ReservedRange. */
  3811. interface IReservedRange {
  3812. /** ReservedRange start */
  3813. start?: (number|null);
  3814. /** ReservedRange end */
  3815. end?: (number|null);
  3816. }
  3817. /** Represents a ReservedRange. */
  3818. class ReservedRange implements IReservedRange {
  3819. /**
  3820. * Constructs a new ReservedRange.
  3821. * @param [properties] Properties to set
  3822. */
  3823. constructor(properties?: google.protobuf.DescriptorProto.IReservedRange);
  3824. /** ReservedRange start. */
  3825. public start: number;
  3826. /** ReservedRange end. */
  3827. public end: number;
  3828. /**
  3829. * Creates a new ReservedRange instance using the specified properties.
  3830. * @param [properties] Properties to set
  3831. * @returns ReservedRange instance
  3832. */
  3833. public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange;
  3834. /**
  3835. * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
  3836. * @param message ReservedRange message or plain object to encode
  3837. * @param [writer] Writer to encode to
  3838. * @returns Writer
  3839. */
  3840. public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
  3841. /**
  3842. * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
  3843. * @param message ReservedRange message or plain object to encode
  3844. * @param [writer] Writer to encode to
  3845. * @returns Writer
  3846. */
  3847. public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
  3848. /**
  3849. * Decodes a ReservedRange message from the specified reader or buffer.
  3850. * @param reader Reader or buffer to decode from
  3851. * @param [length] Message length if known beforehand
  3852. * @returns ReservedRange
  3853. * @throws {Error} If the payload is not a reader or valid buffer
  3854. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  3855. */
  3856. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange;
  3857. /**
  3858. * Decodes a ReservedRange message from the specified reader or buffer, length delimited.
  3859. * @param reader Reader or buffer to decode from
  3860. * @returns ReservedRange
  3861. * @throws {Error} If the payload is not a reader or valid buffer
  3862. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  3863. */
  3864. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange;
  3865. /**
  3866. * Verifies a ReservedRange message.
  3867. * @param message Plain object to verify
  3868. * @returns `null` if valid, otherwise the reason why it is not
  3869. */
  3870. public static verify(message: { [k: string]: any }): (string|null);
  3871. /**
  3872. * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types.
  3873. * @param object Plain object
  3874. * @returns ReservedRange
  3875. */
  3876. public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange;
  3877. /**
  3878. * Creates a plain object from a ReservedRange message. Also converts values to other types if specified.
  3879. * @param message ReservedRange
  3880. * @param [options] Conversion options
  3881. * @returns Plain object
  3882. */
  3883. public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
  3884. /**
  3885. * Converts this ReservedRange to JSON.
  3886. * @returns JSON object
  3887. */
  3888. public toJSON(): { [k: string]: any };
  3889. }
  3890. }
  3891. /** Properties of an ExtensionRangeOptions. */
  3892. interface IExtensionRangeOptions {
  3893. /** ExtensionRangeOptions uninterpretedOption */
  3894. uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
  3895. }
  3896. /** Represents an ExtensionRangeOptions. */
  3897. class ExtensionRangeOptions implements IExtensionRangeOptions {
  3898. /**
  3899. * Constructs a new ExtensionRangeOptions.
  3900. * @param [properties] Properties to set
  3901. */
  3902. constructor(properties?: google.protobuf.IExtensionRangeOptions);
  3903. /** ExtensionRangeOptions uninterpretedOption. */
  3904. public uninterpretedOption: google.protobuf.IUninterpretedOption[];
  3905. /**
  3906. * Creates a new ExtensionRangeOptions instance using the specified properties.
  3907. * @param [properties] Properties to set
  3908. * @returns ExtensionRangeOptions instance
  3909. */
  3910. public static create(properties?: google.protobuf.IExtensionRangeOptions): google.protobuf.ExtensionRangeOptions;
  3911. /**
  3912. * Encodes the specified ExtensionRangeOptions message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
  3913. * @param message ExtensionRangeOptions message or plain object to encode
  3914. * @param [writer] Writer to encode to
  3915. * @returns Writer
  3916. */
  3917. public static encode(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
  3918. /**
  3919. * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
  3920. * @param message ExtensionRangeOptions message or plain object to encode
  3921. * @param [writer] Writer to encode to
  3922. * @returns Writer
  3923. */
  3924. public static encodeDelimited(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
  3925. /**
  3926. * Decodes an ExtensionRangeOptions message from the specified reader or buffer.
  3927. * @param reader Reader or buffer to decode from
  3928. * @param [length] Message length if known beforehand
  3929. * @returns ExtensionRangeOptions
  3930. * @throws {Error} If the payload is not a reader or valid buffer
  3931. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  3932. */
  3933. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions;
  3934. /**
  3935. * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited.
  3936. * @param reader Reader or buffer to decode from
  3937. * @returns ExtensionRangeOptions
  3938. * @throws {Error} If the payload is not a reader or valid buffer
  3939. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  3940. */
  3941. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions;
  3942. /**
  3943. * Verifies an ExtensionRangeOptions message.
  3944. * @param message Plain object to verify
  3945. * @returns `null` if valid, otherwise the reason why it is not
  3946. */
  3947. public static verify(message: { [k: string]: any }): (string|null);
  3948. /**
  3949. * Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types.
  3950. * @param object Plain object
  3951. * @returns ExtensionRangeOptions
  3952. */
  3953. public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions;
  3954. /**
  3955. * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified.
  3956. * @param message ExtensionRangeOptions
  3957. * @param [options] Conversion options
  3958. * @returns Plain object
  3959. */
  3960. public static toObject(message: google.protobuf.ExtensionRangeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
  3961. /**
  3962. * Converts this ExtensionRangeOptions to JSON.
  3963. * @returns JSON object
  3964. */
  3965. public toJSON(): { [k: string]: any };
  3966. }
  3967. /** Properties of a FieldDescriptorProto. */
  3968. interface IFieldDescriptorProto {
  3969. /** FieldDescriptorProto name */
  3970. name?: (string|null);
  3971. /** FieldDescriptorProto number */
  3972. number?: (number|null);
  3973. /** FieldDescriptorProto label */
  3974. label?: (google.protobuf.FieldDescriptorProto.Label|null);
  3975. /** FieldDescriptorProto type */
  3976. type?: (google.protobuf.FieldDescriptorProto.Type|null);
  3977. /** FieldDescriptorProto typeName */
  3978. typeName?: (string|null);
  3979. /** FieldDescriptorProto extendee */
  3980. extendee?: (string|null);
  3981. /** FieldDescriptorProto defaultValue */
  3982. defaultValue?: (string|null);
  3983. /** FieldDescriptorProto oneofIndex */
  3984. oneofIndex?: (number|null);
  3985. /** FieldDescriptorProto jsonName */
  3986. jsonName?: (string|null);
  3987. /** FieldDescriptorProto options */
  3988. options?: (google.protobuf.IFieldOptions|null);
  3989. /** FieldDescriptorProto proto3Optional */
  3990. proto3Optional?: (boolean|null);
  3991. }
  3992. /** Represents a FieldDescriptorProto. */
  3993. class FieldDescriptorProto implements IFieldDescriptorProto {
  3994. /**
  3995. * Constructs a new FieldDescriptorProto.
  3996. * @param [properties] Properties to set
  3997. */
  3998. constructor(properties?: google.protobuf.IFieldDescriptorProto);
  3999. /** FieldDescriptorProto name. */
  4000. public name: string;
  4001. /** FieldDescriptorProto number. */
  4002. public number: number;
  4003. /** FieldDescriptorProto label. */
  4004. public label: google.protobuf.FieldDescriptorProto.Label;
  4005. /** FieldDescriptorProto type. */
  4006. public type: google.protobuf.FieldDescriptorProto.Type;
  4007. /** FieldDescriptorProto typeName. */
  4008. public typeName: string;
  4009. /** FieldDescriptorProto extendee. */
  4010. public extendee: string;
  4011. /** FieldDescriptorProto defaultValue. */
  4012. public defaultValue: string;
  4013. /** FieldDescriptorProto oneofIndex. */
  4014. public oneofIndex: number;
  4015. /** FieldDescriptorProto jsonName. */
  4016. public jsonName: string;
  4017. /** FieldDescriptorProto options. */
  4018. public options?: (google.protobuf.IFieldOptions|null);
  4019. /** FieldDescriptorProto proto3Optional. */
  4020. public proto3Optional: boolean;
  4021. /**
  4022. * Creates a new FieldDescriptorProto instance using the specified properties.
  4023. * @param [properties] Properties to set
  4024. * @returns FieldDescriptorProto instance
  4025. */
  4026. public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto;
  4027. /**
  4028. * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
  4029. * @param message FieldDescriptorProto message or plain object to encode
  4030. * @param [writer] Writer to encode to
  4031. * @returns Writer
  4032. */
  4033. public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
  4034. /**
  4035. * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
  4036. * @param message FieldDescriptorProto message or plain object to encode
  4037. * @param [writer] Writer to encode to
  4038. * @returns Writer
  4039. */
  4040. public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
  4041. /**
  4042. * Decodes a FieldDescriptorProto message from the specified reader or buffer.
  4043. * @param reader Reader or buffer to decode from
  4044. * @param [length] Message length if known beforehand
  4045. * @returns FieldDescriptorProto
  4046. * @throws {Error} If the payload is not a reader or valid buffer
  4047. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4048. */
  4049. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto;
  4050. /**
  4051. * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited.
  4052. * @param reader Reader or buffer to decode from
  4053. * @returns FieldDescriptorProto
  4054. * @throws {Error} If the payload is not a reader or valid buffer
  4055. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4056. */
  4057. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto;
  4058. /**
  4059. * Verifies a FieldDescriptorProto message.
  4060. * @param message Plain object to verify
  4061. * @returns `null` if valid, otherwise the reason why it is not
  4062. */
  4063. public static verify(message: { [k: string]: any }): (string|null);
  4064. /**
  4065. * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.
  4066. * @param object Plain object
  4067. * @returns FieldDescriptorProto
  4068. */
  4069. public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto;
  4070. /**
  4071. * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
  4072. * @param message FieldDescriptorProto
  4073. * @param [options] Conversion options
  4074. * @returns Plain object
  4075. */
  4076. public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
  4077. /**
  4078. * Converts this FieldDescriptorProto to JSON.
  4079. * @returns JSON object
  4080. */
  4081. public toJSON(): { [k: string]: any };
  4082. }
  4083. namespace FieldDescriptorProto {
  4084. /** Type enum. */
  4085. enum Type {
  4086. TYPE_DOUBLE = 1,
  4087. TYPE_FLOAT = 2,
  4088. TYPE_INT64 = 3,
  4089. TYPE_UINT64 = 4,
  4090. TYPE_INT32 = 5,
  4091. TYPE_FIXED64 = 6,
  4092. TYPE_FIXED32 = 7,
  4093. TYPE_BOOL = 8,
  4094. TYPE_STRING = 9,
  4095. TYPE_GROUP = 10,
  4096. TYPE_MESSAGE = 11,
  4097. TYPE_BYTES = 12,
  4098. TYPE_UINT32 = 13,
  4099. TYPE_ENUM = 14,
  4100. TYPE_SFIXED32 = 15,
  4101. TYPE_SFIXED64 = 16,
  4102. TYPE_SINT32 = 17,
  4103. TYPE_SINT64 = 18
  4104. }
  4105. /** Label enum. */
  4106. enum Label {
  4107. LABEL_OPTIONAL = 1,
  4108. LABEL_REQUIRED = 2,
  4109. LABEL_REPEATED = 3
  4110. }
  4111. }
  4112. /** Properties of an OneofDescriptorProto. */
  4113. interface IOneofDescriptorProto {
  4114. /** OneofDescriptorProto name */
  4115. name?: (string|null);
  4116. /** OneofDescriptorProto options */
  4117. options?: (google.protobuf.IOneofOptions|null);
  4118. }
  4119. /** Represents an OneofDescriptorProto. */
  4120. class OneofDescriptorProto implements IOneofDescriptorProto {
  4121. /**
  4122. * Constructs a new OneofDescriptorProto.
  4123. * @param [properties] Properties to set
  4124. */
  4125. constructor(properties?: google.protobuf.IOneofDescriptorProto);
  4126. /** OneofDescriptorProto name. */
  4127. public name: string;
  4128. /** OneofDescriptorProto options. */
  4129. public options?: (google.protobuf.IOneofOptions|null);
  4130. /**
  4131. * Creates a new OneofDescriptorProto instance using the specified properties.
  4132. * @param [properties] Properties to set
  4133. * @returns OneofDescriptorProto instance
  4134. */
  4135. public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto;
  4136. /**
  4137. * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
  4138. * @param message OneofDescriptorProto message or plain object to encode
  4139. * @param [writer] Writer to encode to
  4140. * @returns Writer
  4141. */
  4142. public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
  4143. /**
  4144. * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
  4145. * @param message OneofDescriptorProto message or plain object to encode
  4146. * @param [writer] Writer to encode to
  4147. * @returns Writer
  4148. */
  4149. public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
  4150. /**
  4151. * Decodes an OneofDescriptorProto message from the specified reader or buffer.
  4152. * @param reader Reader or buffer to decode from
  4153. * @param [length] Message length if known beforehand
  4154. * @returns OneofDescriptorProto
  4155. * @throws {Error} If the payload is not a reader or valid buffer
  4156. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4157. */
  4158. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto;
  4159. /**
  4160. * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited.
  4161. * @param reader Reader or buffer to decode from
  4162. * @returns OneofDescriptorProto
  4163. * @throws {Error} If the payload is not a reader or valid buffer
  4164. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4165. */
  4166. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto;
  4167. /**
  4168. * Verifies an OneofDescriptorProto message.
  4169. * @param message Plain object to verify
  4170. * @returns `null` if valid, otherwise the reason why it is not
  4171. */
  4172. public static verify(message: { [k: string]: any }): (string|null);
  4173. /**
  4174. * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types.
  4175. * @param object Plain object
  4176. * @returns OneofDescriptorProto
  4177. */
  4178. public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto;
  4179. /**
  4180. * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified.
  4181. * @param message OneofDescriptorProto
  4182. * @param [options] Conversion options
  4183. * @returns Plain object
  4184. */
  4185. public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
  4186. /**
  4187. * Converts this OneofDescriptorProto to JSON.
  4188. * @returns JSON object
  4189. */
  4190. public toJSON(): { [k: string]: any };
  4191. }
  4192. /** Properties of an EnumDescriptorProto. */
  4193. interface IEnumDescriptorProto {
  4194. /** EnumDescriptorProto name */
  4195. name?: (string|null);
  4196. /** EnumDescriptorProto value */
  4197. value?: (google.protobuf.IEnumValueDescriptorProto[]|null);
  4198. /** EnumDescriptorProto options */
  4199. options?: (google.protobuf.IEnumOptions|null);
  4200. /** EnumDescriptorProto reservedRange */
  4201. reservedRange?: (google.protobuf.EnumDescriptorProto.IEnumReservedRange[]|null);
  4202. /** EnumDescriptorProto reservedName */
  4203. reservedName?: (string[]|null);
  4204. }
  4205. /** Represents an EnumDescriptorProto. */
  4206. class EnumDescriptorProto implements IEnumDescriptorProto {
  4207. /**
  4208. * Constructs a new EnumDescriptorProto.
  4209. * @param [properties] Properties to set
  4210. */
  4211. constructor(properties?: google.protobuf.IEnumDescriptorProto);
  4212. /** EnumDescriptorProto name. */
  4213. public name: string;
  4214. /** EnumDescriptorProto value. */
  4215. public value: google.protobuf.IEnumValueDescriptorProto[];
  4216. /** EnumDescriptorProto options. */
  4217. public options?: (google.protobuf.IEnumOptions|null);
  4218. /** EnumDescriptorProto reservedRange. */
  4219. public reservedRange: google.protobuf.EnumDescriptorProto.IEnumReservedRange[];
  4220. /** EnumDescriptorProto reservedName. */
  4221. public reservedName: string[];
  4222. /**
  4223. * Creates a new EnumDescriptorProto instance using the specified properties.
  4224. * @param [properties] Properties to set
  4225. * @returns EnumDescriptorProto instance
  4226. */
  4227. public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto;
  4228. /**
  4229. * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
  4230. * @param message EnumDescriptorProto message or plain object to encode
  4231. * @param [writer] Writer to encode to
  4232. * @returns Writer
  4233. */
  4234. public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
  4235. /**
  4236. * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
  4237. * @param message EnumDescriptorProto message or plain object to encode
  4238. * @param [writer] Writer to encode to
  4239. * @returns Writer
  4240. */
  4241. public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
  4242. /**
  4243. * Decodes an EnumDescriptorProto message from the specified reader or buffer.
  4244. * @param reader Reader or buffer to decode from
  4245. * @param [length] Message length if known beforehand
  4246. * @returns EnumDescriptorProto
  4247. * @throws {Error} If the payload is not a reader or valid buffer
  4248. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4249. */
  4250. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto;
  4251. /**
  4252. * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited.
  4253. * @param reader Reader or buffer to decode from
  4254. * @returns EnumDescriptorProto
  4255. * @throws {Error} If the payload is not a reader or valid buffer
  4256. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4257. */
  4258. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto;
  4259. /**
  4260. * Verifies an EnumDescriptorProto message.
  4261. * @param message Plain object to verify
  4262. * @returns `null` if valid, otherwise the reason why it is not
  4263. */
  4264. public static verify(message: { [k: string]: any }): (string|null);
  4265. /**
  4266. * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types.
  4267. * @param object Plain object
  4268. * @returns EnumDescriptorProto
  4269. */
  4270. public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto;
  4271. /**
  4272. * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified.
  4273. * @param message EnumDescriptorProto
  4274. * @param [options] Conversion options
  4275. * @returns Plain object
  4276. */
  4277. public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
  4278. /**
  4279. * Converts this EnumDescriptorProto to JSON.
  4280. * @returns JSON object
  4281. */
  4282. public toJSON(): { [k: string]: any };
  4283. }
  4284. namespace EnumDescriptorProto {
  4285. /** Properties of an EnumReservedRange. */
  4286. interface IEnumReservedRange {
  4287. /** EnumReservedRange start */
  4288. start?: (number|null);
  4289. /** EnumReservedRange end */
  4290. end?: (number|null);
  4291. }
  4292. /** Represents an EnumReservedRange. */
  4293. class EnumReservedRange implements IEnumReservedRange {
  4294. /**
  4295. * Constructs a new EnumReservedRange.
  4296. * @param [properties] Properties to set
  4297. */
  4298. constructor(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange);
  4299. /** EnumReservedRange start. */
  4300. public start: number;
  4301. /** EnumReservedRange end. */
  4302. public end: number;
  4303. /**
  4304. * Creates a new EnumReservedRange instance using the specified properties.
  4305. * @param [properties] Properties to set
  4306. * @returns EnumReservedRange instance
  4307. */
  4308. public static create(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange): google.protobuf.EnumDescriptorProto.EnumReservedRange;
  4309. /**
  4310. * Encodes the specified EnumReservedRange message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
  4311. * @param message EnumReservedRange message or plain object to encode
  4312. * @param [writer] Writer to encode to
  4313. * @returns Writer
  4314. */
  4315. public static encode(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
  4316. /**
  4317. * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
  4318. * @param message EnumReservedRange message or plain object to encode
  4319. * @param [writer] Writer to encode to
  4320. * @returns Writer
  4321. */
  4322. public static encodeDelimited(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
  4323. /**
  4324. * Decodes an EnumReservedRange message from the specified reader or buffer.
  4325. * @param reader Reader or buffer to decode from
  4326. * @param [length] Message length if known beforehand
  4327. * @returns EnumReservedRange
  4328. * @throws {Error} If the payload is not a reader or valid buffer
  4329. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4330. */
  4331. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto.EnumReservedRange;
  4332. /**
  4333. * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited.
  4334. * @param reader Reader or buffer to decode from
  4335. * @returns EnumReservedRange
  4336. * @throws {Error} If the payload is not a reader or valid buffer
  4337. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4338. */
  4339. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto.EnumReservedRange;
  4340. /**
  4341. * Verifies an EnumReservedRange message.
  4342. * @param message Plain object to verify
  4343. * @returns `null` if valid, otherwise the reason why it is not
  4344. */
  4345. public static verify(message: { [k: string]: any }): (string|null);
  4346. /**
  4347. * Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types.
  4348. * @param object Plain object
  4349. * @returns EnumReservedRange
  4350. */
  4351. public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto.EnumReservedRange;
  4352. /**
  4353. * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified.
  4354. * @param message EnumReservedRange
  4355. * @param [options] Conversion options
  4356. * @returns Plain object
  4357. */
  4358. public static toObject(message: google.protobuf.EnumDescriptorProto.EnumReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
  4359. /**
  4360. * Converts this EnumReservedRange to JSON.
  4361. * @returns JSON object
  4362. */
  4363. public toJSON(): { [k: string]: any };
  4364. }
  4365. }
  4366. /** Properties of an EnumValueDescriptorProto. */
  4367. interface IEnumValueDescriptorProto {
  4368. /** EnumValueDescriptorProto name */
  4369. name?: (string|null);
  4370. /** EnumValueDescriptorProto number */
  4371. number?: (number|null);
  4372. /** EnumValueDescriptorProto options */
  4373. options?: (google.protobuf.IEnumValueOptions|null);
  4374. }
  4375. /** Represents an EnumValueDescriptorProto. */
  4376. class EnumValueDescriptorProto implements IEnumValueDescriptorProto {
  4377. /**
  4378. * Constructs a new EnumValueDescriptorProto.
  4379. * @param [properties] Properties to set
  4380. */
  4381. constructor(properties?: google.protobuf.IEnumValueDescriptorProto);
  4382. /** EnumValueDescriptorProto name. */
  4383. public name: string;
  4384. /** EnumValueDescriptorProto number. */
  4385. public number: number;
  4386. /** EnumValueDescriptorProto options. */
  4387. public options?: (google.protobuf.IEnumValueOptions|null);
  4388. /**
  4389. * Creates a new EnumValueDescriptorProto instance using the specified properties.
  4390. * @param [properties] Properties to set
  4391. * @returns EnumValueDescriptorProto instance
  4392. */
  4393. public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto;
  4394. /**
  4395. * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
  4396. * @param message EnumValueDescriptorProto message or plain object to encode
  4397. * @param [writer] Writer to encode to
  4398. * @returns Writer
  4399. */
  4400. public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
  4401. /**
  4402. * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
  4403. * @param message EnumValueDescriptorProto message or plain object to encode
  4404. * @param [writer] Writer to encode to
  4405. * @returns Writer
  4406. */
  4407. public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
  4408. /**
  4409. * Decodes an EnumValueDescriptorProto message from the specified reader or buffer.
  4410. * @param reader Reader or buffer to decode from
  4411. * @param [length] Message length if known beforehand
  4412. * @returns EnumValueDescriptorProto
  4413. * @throws {Error} If the payload is not a reader or valid buffer
  4414. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4415. */
  4416. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto;
  4417. /**
  4418. * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited.
  4419. * @param reader Reader or buffer to decode from
  4420. * @returns EnumValueDescriptorProto
  4421. * @throws {Error} If the payload is not a reader or valid buffer
  4422. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4423. */
  4424. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto;
  4425. /**
  4426. * Verifies an EnumValueDescriptorProto message.
  4427. * @param message Plain object to verify
  4428. * @returns `null` if valid, otherwise the reason why it is not
  4429. */
  4430. public static verify(message: { [k: string]: any }): (string|null);
  4431. /**
  4432. * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types.
  4433. * @param object Plain object
  4434. * @returns EnumValueDescriptorProto
  4435. */
  4436. public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto;
  4437. /**
  4438. * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified.
  4439. * @param message EnumValueDescriptorProto
  4440. * @param [options] Conversion options
  4441. * @returns Plain object
  4442. */
  4443. public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
  4444. /**
  4445. * Converts this EnumValueDescriptorProto to JSON.
  4446. * @returns JSON object
  4447. */
  4448. public toJSON(): { [k: string]: any };
  4449. }
  4450. /** Properties of a ServiceDescriptorProto. */
  4451. interface IServiceDescriptorProto {
  4452. /** ServiceDescriptorProto name */
  4453. name?: (string|null);
  4454. /** ServiceDescriptorProto method */
  4455. method?: (google.protobuf.IMethodDescriptorProto[]|null);
  4456. /** ServiceDescriptorProto options */
  4457. options?: (google.protobuf.IServiceOptions|null);
  4458. }
  4459. /** Represents a ServiceDescriptorProto. */
  4460. class ServiceDescriptorProto implements IServiceDescriptorProto {
  4461. /**
  4462. * Constructs a new ServiceDescriptorProto.
  4463. * @param [properties] Properties to set
  4464. */
  4465. constructor(properties?: google.protobuf.IServiceDescriptorProto);
  4466. /** ServiceDescriptorProto name. */
  4467. public name: string;
  4468. /** ServiceDescriptorProto method. */
  4469. public method: google.protobuf.IMethodDescriptorProto[];
  4470. /** ServiceDescriptorProto options. */
  4471. public options?: (google.protobuf.IServiceOptions|null);
  4472. /**
  4473. * Creates a new ServiceDescriptorProto instance using the specified properties.
  4474. * @param [properties] Properties to set
  4475. * @returns ServiceDescriptorProto instance
  4476. */
  4477. public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto;
  4478. /**
  4479. * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
  4480. * @param message ServiceDescriptorProto message or plain object to encode
  4481. * @param [writer] Writer to encode to
  4482. * @returns Writer
  4483. */
  4484. public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
  4485. /**
  4486. * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
  4487. * @param message ServiceDescriptorProto message or plain object to encode
  4488. * @param [writer] Writer to encode to
  4489. * @returns Writer
  4490. */
  4491. public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
  4492. /**
  4493. * Decodes a ServiceDescriptorProto message from the specified reader or buffer.
  4494. * @param reader Reader or buffer to decode from
  4495. * @param [length] Message length if known beforehand
  4496. * @returns ServiceDescriptorProto
  4497. * @throws {Error} If the payload is not a reader or valid buffer
  4498. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4499. */
  4500. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto;
  4501. /**
  4502. * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited.
  4503. * @param reader Reader or buffer to decode from
  4504. * @returns ServiceDescriptorProto
  4505. * @throws {Error} If the payload is not a reader or valid buffer
  4506. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4507. */
  4508. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto;
  4509. /**
  4510. * Verifies a ServiceDescriptorProto message.
  4511. * @param message Plain object to verify
  4512. * @returns `null` if valid, otherwise the reason why it is not
  4513. */
  4514. public static verify(message: { [k: string]: any }): (string|null);
  4515. /**
  4516. * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types.
  4517. * @param object Plain object
  4518. * @returns ServiceDescriptorProto
  4519. */
  4520. public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto;
  4521. /**
  4522. * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified.
  4523. * @param message ServiceDescriptorProto
  4524. * @param [options] Conversion options
  4525. * @returns Plain object
  4526. */
  4527. public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
  4528. /**
  4529. * Converts this ServiceDescriptorProto to JSON.
  4530. * @returns JSON object
  4531. */
  4532. public toJSON(): { [k: string]: any };
  4533. }
  4534. /** Properties of a MethodDescriptorProto. */
  4535. interface IMethodDescriptorProto {
  4536. /** MethodDescriptorProto name */
  4537. name?: (string|null);
  4538. /** MethodDescriptorProto inputType */
  4539. inputType?: (string|null);
  4540. /** MethodDescriptorProto outputType */
  4541. outputType?: (string|null);
  4542. /** MethodDescriptorProto options */
  4543. options?: (google.protobuf.IMethodOptions|null);
  4544. /** MethodDescriptorProto clientStreaming */
  4545. clientStreaming?: (boolean|null);
  4546. /** MethodDescriptorProto serverStreaming */
  4547. serverStreaming?: (boolean|null);
  4548. }
  4549. /** Represents a MethodDescriptorProto. */
  4550. class MethodDescriptorProto implements IMethodDescriptorProto {
  4551. /**
  4552. * Constructs a new MethodDescriptorProto.
  4553. * @param [properties] Properties to set
  4554. */
  4555. constructor(properties?: google.protobuf.IMethodDescriptorProto);
  4556. /** MethodDescriptorProto name. */
  4557. public name: string;
  4558. /** MethodDescriptorProto inputType. */
  4559. public inputType: string;
  4560. /** MethodDescriptorProto outputType. */
  4561. public outputType: string;
  4562. /** MethodDescriptorProto options. */
  4563. public options?: (google.protobuf.IMethodOptions|null);
  4564. /** MethodDescriptorProto clientStreaming. */
  4565. public clientStreaming: boolean;
  4566. /** MethodDescriptorProto serverStreaming. */
  4567. public serverStreaming: boolean;
  4568. /**
  4569. * Creates a new MethodDescriptorProto instance using the specified properties.
  4570. * @param [properties] Properties to set
  4571. * @returns MethodDescriptorProto instance
  4572. */
  4573. public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto;
  4574. /**
  4575. * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
  4576. * @param message MethodDescriptorProto message or plain object to encode
  4577. * @param [writer] Writer to encode to
  4578. * @returns Writer
  4579. */
  4580. public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
  4581. /**
  4582. * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
  4583. * @param message MethodDescriptorProto message or plain object to encode
  4584. * @param [writer] Writer to encode to
  4585. * @returns Writer
  4586. */
  4587. public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
  4588. /**
  4589. * Decodes a MethodDescriptorProto message from the specified reader or buffer.
  4590. * @param reader Reader or buffer to decode from
  4591. * @param [length] Message length if known beforehand
  4592. * @returns MethodDescriptorProto
  4593. * @throws {Error} If the payload is not a reader or valid buffer
  4594. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4595. */
  4596. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto;
  4597. /**
  4598. * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited.
  4599. * @param reader Reader or buffer to decode from
  4600. * @returns MethodDescriptorProto
  4601. * @throws {Error} If the payload is not a reader or valid buffer
  4602. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4603. */
  4604. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto;
  4605. /**
  4606. * Verifies a MethodDescriptorProto message.
  4607. * @param message Plain object to verify
  4608. * @returns `null` if valid, otherwise the reason why it is not
  4609. */
  4610. public static verify(message: { [k: string]: any }): (string|null);
  4611. /**
  4612. * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
  4613. * @param object Plain object
  4614. * @returns MethodDescriptorProto
  4615. */
  4616. public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto;
  4617. /**
  4618. * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
  4619. * @param message MethodDescriptorProto
  4620. * @param [options] Conversion options
  4621. * @returns Plain object
  4622. */
  4623. public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
  4624. /**
  4625. * Converts this MethodDescriptorProto to JSON.
  4626. * @returns JSON object
  4627. */
  4628. public toJSON(): { [k: string]: any };
  4629. }
  4630. /** Properties of a FileOptions. */
  4631. interface IFileOptions {
  4632. /** FileOptions javaPackage */
  4633. javaPackage?: (string|null);
  4634. /** FileOptions javaOuterClassname */
  4635. javaOuterClassname?: (string|null);
  4636. /** FileOptions javaMultipleFiles */
  4637. javaMultipleFiles?: (boolean|null);
  4638. /** FileOptions javaGenerateEqualsAndHash */
  4639. javaGenerateEqualsAndHash?: (boolean|null);
  4640. /** FileOptions javaStringCheckUtf8 */
  4641. javaStringCheckUtf8?: (boolean|null);
  4642. /** FileOptions optimizeFor */
  4643. optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|null);
  4644. /** FileOptions goPackage */
  4645. goPackage?: (string|null);
  4646. /** FileOptions ccGenericServices */
  4647. ccGenericServices?: (boolean|null);
  4648. /** FileOptions javaGenericServices */
  4649. javaGenericServices?: (boolean|null);
  4650. /** FileOptions pyGenericServices */
  4651. pyGenericServices?: (boolean|null);
  4652. /** FileOptions phpGenericServices */
  4653. phpGenericServices?: (boolean|null);
  4654. /** FileOptions deprecated */
  4655. deprecated?: (boolean|null);
  4656. /** FileOptions ccEnableArenas */
  4657. ccEnableArenas?: (boolean|null);
  4658. /** FileOptions objcClassPrefix */
  4659. objcClassPrefix?: (string|null);
  4660. /** FileOptions csharpNamespace */
  4661. csharpNamespace?: (string|null);
  4662. /** FileOptions swiftPrefix */
  4663. swiftPrefix?: (string|null);
  4664. /** FileOptions phpClassPrefix */
  4665. phpClassPrefix?: (string|null);
  4666. /** FileOptions phpNamespace */
  4667. phpNamespace?: (string|null);
  4668. /** FileOptions phpMetadataNamespace */
  4669. phpMetadataNamespace?: (string|null);
  4670. /** FileOptions rubyPackage */
  4671. rubyPackage?: (string|null);
  4672. /** FileOptions uninterpretedOption */
  4673. uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
  4674. }
  4675. /** Represents a FileOptions. */
  4676. class FileOptions implements IFileOptions {
  4677. /**
  4678. * Constructs a new FileOptions.
  4679. * @param [properties] Properties to set
  4680. */
  4681. constructor(properties?: google.protobuf.IFileOptions);
  4682. /** FileOptions javaPackage. */
  4683. public javaPackage: string;
  4684. /** FileOptions javaOuterClassname. */
  4685. public javaOuterClassname: string;
  4686. /** FileOptions javaMultipleFiles. */
  4687. public javaMultipleFiles: boolean;
  4688. /** FileOptions javaGenerateEqualsAndHash. */
  4689. public javaGenerateEqualsAndHash: boolean;
  4690. /** FileOptions javaStringCheckUtf8. */
  4691. public javaStringCheckUtf8: boolean;
  4692. /** FileOptions optimizeFor. */
  4693. public optimizeFor: google.protobuf.FileOptions.OptimizeMode;
  4694. /** FileOptions goPackage. */
  4695. public goPackage: string;
  4696. /** FileOptions ccGenericServices. */
  4697. public ccGenericServices: boolean;
  4698. /** FileOptions javaGenericServices. */
  4699. public javaGenericServices: boolean;
  4700. /** FileOptions pyGenericServices. */
  4701. public pyGenericServices: boolean;
  4702. /** FileOptions phpGenericServices. */
  4703. public phpGenericServices: boolean;
  4704. /** FileOptions deprecated. */
  4705. public deprecated: boolean;
  4706. /** FileOptions ccEnableArenas. */
  4707. public ccEnableArenas: boolean;
  4708. /** FileOptions objcClassPrefix. */
  4709. public objcClassPrefix: string;
  4710. /** FileOptions csharpNamespace. */
  4711. public csharpNamespace: string;
  4712. /** FileOptions swiftPrefix. */
  4713. public swiftPrefix: string;
  4714. /** FileOptions phpClassPrefix. */
  4715. public phpClassPrefix: string;
  4716. /** FileOptions phpNamespace. */
  4717. public phpNamespace: string;
  4718. /** FileOptions phpMetadataNamespace. */
  4719. public phpMetadataNamespace: string;
  4720. /** FileOptions rubyPackage. */
  4721. public rubyPackage: string;
  4722. /** FileOptions uninterpretedOption. */
  4723. public uninterpretedOption: google.protobuf.IUninterpretedOption[];
  4724. /**
  4725. * Creates a new FileOptions instance using the specified properties.
  4726. * @param [properties] Properties to set
  4727. * @returns FileOptions instance
  4728. */
  4729. public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions;
  4730. /**
  4731. * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
  4732. * @param message FileOptions message or plain object to encode
  4733. * @param [writer] Writer to encode to
  4734. * @returns Writer
  4735. */
  4736. public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
  4737. /**
  4738. * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
  4739. * @param message FileOptions message or plain object to encode
  4740. * @param [writer] Writer to encode to
  4741. * @returns Writer
  4742. */
  4743. public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
  4744. /**
  4745. * Decodes a FileOptions message from the specified reader or buffer.
  4746. * @param reader Reader or buffer to decode from
  4747. * @param [length] Message length if known beforehand
  4748. * @returns FileOptions
  4749. * @throws {Error} If the payload is not a reader or valid buffer
  4750. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4751. */
  4752. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions;
  4753. /**
  4754. * Decodes a FileOptions message from the specified reader or buffer, length delimited.
  4755. * @param reader Reader or buffer to decode from
  4756. * @returns FileOptions
  4757. * @throws {Error} If the payload is not a reader or valid buffer
  4758. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4759. */
  4760. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions;
  4761. /**
  4762. * Verifies a FileOptions message.
  4763. * @param message Plain object to verify
  4764. * @returns `null` if valid, otherwise the reason why it is not
  4765. */
  4766. public static verify(message: { [k: string]: any }): (string|null);
  4767. /**
  4768. * Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
  4769. * @param object Plain object
  4770. * @returns FileOptions
  4771. */
  4772. public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions;
  4773. /**
  4774. * Creates a plain object from a FileOptions message. Also converts values to other types if specified.
  4775. * @param message FileOptions
  4776. * @param [options] Conversion options
  4777. * @returns Plain object
  4778. */
  4779. public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
  4780. /**
  4781. * Converts this FileOptions to JSON.
  4782. * @returns JSON object
  4783. */
  4784. public toJSON(): { [k: string]: any };
  4785. }
  4786. namespace FileOptions {
  4787. /** OptimizeMode enum. */
  4788. enum OptimizeMode {
  4789. SPEED = 1,
  4790. CODE_SIZE = 2,
  4791. LITE_RUNTIME = 3
  4792. }
  4793. }
  4794. /** Properties of a MessageOptions. */
  4795. interface IMessageOptions {
  4796. /** MessageOptions messageSetWireFormat */
  4797. messageSetWireFormat?: (boolean|null);
  4798. /** MessageOptions noStandardDescriptorAccessor */
  4799. noStandardDescriptorAccessor?: (boolean|null);
  4800. /** MessageOptions deprecated */
  4801. deprecated?: (boolean|null);
  4802. /** MessageOptions mapEntry */
  4803. mapEntry?: (boolean|null);
  4804. /** MessageOptions uninterpretedOption */
  4805. uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
  4806. }
  4807. /** Represents a MessageOptions. */
  4808. class MessageOptions implements IMessageOptions {
  4809. /**
  4810. * Constructs a new MessageOptions.
  4811. * @param [properties] Properties to set
  4812. */
  4813. constructor(properties?: google.protobuf.IMessageOptions);
  4814. /** MessageOptions messageSetWireFormat. */
  4815. public messageSetWireFormat: boolean;
  4816. /** MessageOptions noStandardDescriptorAccessor. */
  4817. public noStandardDescriptorAccessor: boolean;
  4818. /** MessageOptions deprecated. */
  4819. public deprecated: boolean;
  4820. /** MessageOptions mapEntry. */
  4821. public mapEntry: boolean;
  4822. /** MessageOptions uninterpretedOption. */
  4823. public uninterpretedOption: google.protobuf.IUninterpretedOption[];
  4824. /**
  4825. * Creates a new MessageOptions instance using the specified properties.
  4826. * @param [properties] Properties to set
  4827. * @returns MessageOptions instance
  4828. */
  4829. public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions;
  4830. /**
  4831. * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
  4832. * @param message MessageOptions message or plain object to encode
  4833. * @param [writer] Writer to encode to
  4834. * @returns Writer
  4835. */
  4836. public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
  4837. /**
  4838. * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
  4839. * @param message MessageOptions message or plain object to encode
  4840. * @param [writer] Writer to encode to
  4841. * @returns Writer
  4842. */
  4843. public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
  4844. /**
  4845. * Decodes a MessageOptions message from the specified reader or buffer.
  4846. * @param reader Reader or buffer to decode from
  4847. * @param [length] Message length if known beforehand
  4848. * @returns MessageOptions
  4849. * @throws {Error} If the payload is not a reader or valid buffer
  4850. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4851. */
  4852. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions;
  4853. /**
  4854. * Decodes a MessageOptions message from the specified reader or buffer, length delimited.
  4855. * @param reader Reader or buffer to decode from
  4856. * @returns MessageOptions
  4857. * @throws {Error} If the payload is not a reader or valid buffer
  4858. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4859. */
  4860. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions;
  4861. /**
  4862. * Verifies a MessageOptions message.
  4863. * @param message Plain object to verify
  4864. * @returns `null` if valid, otherwise the reason why it is not
  4865. */
  4866. public static verify(message: { [k: string]: any }): (string|null);
  4867. /**
  4868. * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types.
  4869. * @param object Plain object
  4870. * @returns MessageOptions
  4871. */
  4872. public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions;
  4873. /**
  4874. * Creates a plain object from a MessageOptions message. Also converts values to other types if specified.
  4875. * @param message MessageOptions
  4876. * @param [options] Conversion options
  4877. * @returns Plain object
  4878. */
  4879. public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
  4880. /**
  4881. * Converts this MessageOptions to JSON.
  4882. * @returns JSON object
  4883. */
  4884. public toJSON(): { [k: string]: any };
  4885. }
  4886. /** Properties of a FieldOptions. */
  4887. interface IFieldOptions {
  4888. /** FieldOptions ctype */
  4889. ctype?: (google.protobuf.FieldOptions.CType|null);
  4890. /** FieldOptions packed */
  4891. packed?: (boolean|null);
  4892. /** FieldOptions jstype */
  4893. jstype?: (google.protobuf.FieldOptions.JSType|null);
  4894. /** FieldOptions lazy */
  4895. lazy?: (boolean|null);
  4896. /** FieldOptions deprecated */
  4897. deprecated?: (boolean|null);
  4898. /** FieldOptions weak */
  4899. weak?: (boolean|null);
  4900. /** FieldOptions uninterpretedOption */
  4901. uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
  4902. }
  4903. /** Represents a FieldOptions. */
  4904. class FieldOptions implements IFieldOptions {
  4905. /**
  4906. * Constructs a new FieldOptions.
  4907. * @param [properties] Properties to set
  4908. */
  4909. constructor(properties?: google.protobuf.IFieldOptions);
  4910. /** FieldOptions ctype. */
  4911. public ctype: google.protobuf.FieldOptions.CType;
  4912. /** FieldOptions packed. */
  4913. public packed: boolean;
  4914. /** FieldOptions jstype. */
  4915. public jstype: google.protobuf.FieldOptions.JSType;
  4916. /** FieldOptions lazy. */
  4917. public lazy: boolean;
  4918. /** FieldOptions deprecated. */
  4919. public deprecated: boolean;
  4920. /** FieldOptions weak. */
  4921. public weak: boolean;
  4922. /** FieldOptions uninterpretedOption. */
  4923. public uninterpretedOption: google.protobuf.IUninterpretedOption[];
  4924. /**
  4925. * Creates a new FieldOptions instance using the specified properties.
  4926. * @param [properties] Properties to set
  4927. * @returns FieldOptions instance
  4928. */
  4929. public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions;
  4930. /**
  4931. * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
  4932. * @param message FieldOptions message or plain object to encode
  4933. * @param [writer] Writer to encode to
  4934. * @returns Writer
  4935. */
  4936. public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
  4937. /**
  4938. * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
  4939. * @param message FieldOptions message or plain object to encode
  4940. * @param [writer] Writer to encode to
  4941. * @returns Writer
  4942. */
  4943. public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
  4944. /**
  4945. * Decodes a FieldOptions message from the specified reader or buffer.
  4946. * @param reader Reader or buffer to decode from
  4947. * @param [length] Message length if known beforehand
  4948. * @returns FieldOptions
  4949. * @throws {Error} If the payload is not a reader or valid buffer
  4950. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4951. */
  4952. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions;
  4953. /**
  4954. * Decodes a FieldOptions message from the specified reader or buffer, length delimited.
  4955. * @param reader Reader or buffer to decode from
  4956. * @returns FieldOptions
  4957. * @throws {Error} If the payload is not a reader or valid buffer
  4958. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  4959. */
  4960. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions;
  4961. /**
  4962. * Verifies a FieldOptions message.
  4963. * @param message Plain object to verify
  4964. * @returns `null` if valid, otherwise the reason why it is not
  4965. */
  4966. public static verify(message: { [k: string]: any }): (string|null);
  4967. /**
  4968. * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types.
  4969. * @param object Plain object
  4970. * @returns FieldOptions
  4971. */
  4972. public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions;
  4973. /**
  4974. * Creates a plain object from a FieldOptions message. Also converts values to other types if specified.
  4975. * @param message FieldOptions
  4976. * @param [options] Conversion options
  4977. * @returns Plain object
  4978. */
  4979. public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
  4980. /**
  4981. * Converts this FieldOptions to JSON.
  4982. * @returns JSON object
  4983. */
  4984. public toJSON(): { [k: string]: any };
  4985. }
  4986. namespace FieldOptions {
  4987. /** CType enum. */
  4988. enum CType {
  4989. STRING = 0,
  4990. CORD = 1,
  4991. STRING_PIECE = 2
  4992. }
  4993. /** JSType enum. */
  4994. enum JSType {
  4995. JS_NORMAL = 0,
  4996. JS_STRING = 1,
  4997. JS_NUMBER = 2
  4998. }
  4999. }
  5000. /** Properties of an OneofOptions. */
  5001. interface IOneofOptions {
  5002. /** OneofOptions uninterpretedOption */
  5003. uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
  5004. }
  5005. /** Represents an OneofOptions. */
  5006. class OneofOptions implements IOneofOptions {
  5007. /**
  5008. * Constructs a new OneofOptions.
  5009. * @param [properties] Properties to set
  5010. */
  5011. constructor(properties?: google.protobuf.IOneofOptions);
  5012. /** OneofOptions uninterpretedOption. */
  5013. public uninterpretedOption: google.protobuf.IUninterpretedOption[];
  5014. /**
  5015. * Creates a new OneofOptions instance using the specified properties.
  5016. * @param [properties] Properties to set
  5017. * @returns OneofOptions instance
  5018. */
  5019. public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions;
  5020. /**
  5021. * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
  5022. * @param message OneofOptions message or plain object to encode
  5023. * @param [writer] Writer to encode to
  5024. * @returns Writer
  5025. */
  5026. public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
  5027. /**
  5028. * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
  5029. * @param message OneofOptions message or plain object to encode
  5030. * @param [writer] Writer to encode to
  5031. * @returns Writer
  5032. */
  5033. public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
  5034. /**
  5035. * Decodes an OneofOptions message from the specified reader or buffer.
  5036. * @param reader Reader or buffer to decode from
  5037. * @param [length] Message length if known beforehand
  5038. * @returns OneofOptions
  5039. * @throws {Error} If the payload is not a reader or valid buffer
  5040. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5041. */
  5042. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions;
  5043. /**
  5044. * Decodes an OneofOptions message from the specified reader or buffer, length delimited.
  5045. * @param reader Reader or buffer to decode from
  5046. * @returns OneofOptions
  5047. * @throws {Error} If the payload is not a reader or valid buffer
  5048. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5049. */
  5050. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions;
  5051. /**
  5052. * Verifies an OneofOptions message.
  5053. * @param message Plain object to verify
  5054. * @returns `null` if valid, otherwise the reason why it is not
  5055. */
  5056. public static verify(message: { [k: string]: any }): (string|null);
  5057. /**
  5058. * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types.
  5059. * @param object Plain object
  5060. * @returns OneofOptions
  5061. */
  5062. public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions;
  5063. /**
  5064. * Creates a plain object from an OneofOptions message. Also converts values to other types if specified.
  5065. * @param message OneofOptions
  5066. * @param [options] Conversion options
  5067. * @returns Plain object
  5068. */
  5069. public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
  5070. /**
  5071. * Converts this OneofOptions to JSON.
  5072. * @returns JSON object
  5073. */
  5074. public toJSON(): { [k: string]: any };
  5075. }
  5076. /** Properties of an EnumOptions. */
  5077. interface IEnumOptions {
  5078. /** EnumOptions allowAlias */
  5079. allowAlias?: (boolean|null);
  5080. /** EnumOptions deprecated */
  5081. deprecated?: (boolean|null);
  5082. /** EnumOptions uninterpretedOption */
  5083. uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
  5084. }
  5085. /** Represents an EnumOptions. */
  5086. class EnumOptions implements IEnumOptions {
  5087. /**
  5088. * Constructs a new EnumOptions.
  5089. * @param [properties] Properties to set
  5090. */
  5091. constructor(properties?: google.protobuf.IEnumOptions);
  5092. /** EnumOptions allowAlias. */
  5093. public allowAlias: boolean;
  5094. /** EnumOptions deprecated. */
  5095. public deprecated: boolean;
  5096. /** EnumOptions uninterpretedOption. */
  5097. public uninterpretedOption: google.protobuf.IUninterpretedOption[];
  5098. /**
  5099. * Creates a new EnumOptions instance using the specified properties.
  5100. * @param [properties] Properties to set
  5101. * @returns EnumOptions instance
  5102. */
  5103. public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions;
  5104. /**
  5105. * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
  5106. * @param message EnumOptions message or plain object to encode
  5107. * @param [writer] Writer to encode to
  5108. * @returns Writer
  5109. */
  5110. public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
  5111. /**
  5112. * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
  5113. * @param message EnumOptions message or plain object to encode
  5114. * @param [writer] Writer to encode to
  5115. * @returns Writer
  5116. */
  5117. public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
  5118. /**
  5119. * Decodes an EnumOptions message from the specified reader or buffer.
  5120. * @param reader Reader or buffer to decode from
  5121. * @param [length] Message length if known beforehand
  5122. * @returns EnumOptions
  5123. * @throws {Error} If the payload is not a reader or valid buffer
  5124. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5125. */
  5126. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions;
  5127. /**
  5128. * Decodes an EnumOptions message from the specified reader or buffer, length delimited.
  5129. * @param reader Reader or buffer to decode from
  5130. * @returns EnumOptions
  5131. * @throws {Error} If the payload is not a reader or valid buffer
  5132. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5133. */
  5134. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions;
  5135. /**
  5136. * Verifies an EnumOptions message.
  5137. * @param message Plain object to verify
  5138. * @returns `null` if valid, otherwise the reason why it is not
  5139. */
  5140. public static verify(message: { [k: string]: any }): (string|null);
  5141. /**
  5142. * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types.
  5143. * @param object Plain object
  5144. * @returns EnumOptions
  5145. */
  5146. public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions;
  5147. /**
  5148. * Creates a plain object from an EnumOptions message. Also converts values to other types if specified.
  5149. * @param message EnumOptions
  5150. * @param [options] Conversion options
  5151. * @returns Plain object
  5152. */
  5153. public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
  5154. /**
  5155. * Converts this EnumOptions to JSON.
  5156. * @returns JSON object
  5157. */
  5158. public toJSON(): { [k: string]: any };
  5159. }
  5160. /** Properties of an EnumValueOptions. */
  5161. interface IEnumValueOptions {
  5162. /** EnumValueOptions deprecated */
  5163. deprecated?: (boolean|null);
  5164. /** EnumValueOptions uninterpretedOption */
  5165. uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
  5166. }
  5167. /** Represents an EnumValueOptions. */
  5168. class EnumValueOptions implements IEnumValueOptions {
  5169. /**
  5170. * Constructs a new EnumValueOptions.
  5171. * @param [properties] Properties to set
  5172. */
  5173. constructor(properties?: google.protobuf.IEnumValueOptions);
  5174. /** EnumValueOptions deprecated. */
  5175. public deprecated: boolean;
  5176. /** EnumValueOptions uninterpretedOption. */
  5177. public uninterpretedOption: google.protobuf.IUninterpretedOption[];
  5178. /**
  5179. * Creates a new EnumValueOptions instance using the specified properties.
  5180. * @param [properties] Properties to set
  5181. * @returns EnumValueOptions instance
  5182. */
  5183. public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions;
  5184. /**
  5185. * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
  5186. * @param message EnumValueOptions message or plain object to encode
  5187. * @param [writer] Writer to encode to
  5188. * @returns Writer
  5189. */
  5190. public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
  5191. /**
  5192. * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
  5193. * @param message EnumValueOptions message or plain object to encode
  5194. * @param [writer] Writer to encode to
  5195. * @returns Writer
  5196. */
  5197. public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
  5198. /**
  5199. * Decodes an EnumValueOptions message from the specified reader or buffer.
  5200. * @param reader Reader or buffer to decode from
  5201. * @param [length] Message length if known beforehand
  5202. * @returns EnumValueOptions
  5203. * @throws {Error} If the payload is not a reader or valid buffer
  5204. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5205. */
  5206. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions;
  5207. /**
  5208. * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited.
  5209. * @param reader Reader or buffer to decode from
  5210. * @returns EnumValueOptions
  5211. * @throws {Error} If the payload is not a reader or valid buffer
  5212. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5213. */
  5214. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions;
  5215. /**
  5216. * Verifies an EnumValueOptions message.
  5217. * @param message Plain object to verify
  5218. * @returns `null` if valid, otherwise the reason why it is not
  5219. */
  5220. public static verify(message: { [k: string]: any }): (string|null);
  5221. /**
  5222. * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types.
  5223. * @param object Plain object
  5224. * @returns EnumValueOptions
  5225. */
  5226. public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions;
  5227. /**
  5228. * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified.
  5229. * @param message EnumValueOptions
  5230. * @param [options] Conversion options
  5231. * @returns Plain object
  5232. */
  5233. public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
  5234. /**
  5235. * Converts this EnumValueOptions to JSON.
  5236. * @returns JSON object
  5237. */
  5238. public toJSON(): { [k: string]: any };
  5239. }
  5240. /** Properties of a ServiceOptions. */
  5241. interface IServiceOptions {
  5242. /** ServiceOptions deprecated */
  5243. deprecated?: (boolean|null);
  5244. /** ServiceOptions uninterpretedOption */
  5245. uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
  5246. }
  5247. /** Represents a ServiceOptions. */
  5248. class ServiceOptions implements IServiceOptions {
  5249. /**
  5250. * Constructs a new ServiceOptions.
  5251. * @param [properties] Properties to set
  5252. */
  5253. constructor(properties?: google.protobuf.IServiceOptions);
  5254. /** ServiceOptions deprecated. */
  5255. public deprecated: boolean;
  5256. /** ServiceOptions uninterpretedOption. */
  5257. public uninterpretedOption: google.protobuf.IUninterpretedOption[];
  5258. /**
  5259. * Creates a new ServiceOptions instance using the specified properties.
  5260. * @param [properties] Properties to set
  5261. * @returns ServiceOptions instance
  5262. */
  5263. public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions;
  5264. /**
  5265. * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
  5266. * @param message ServiceOptions message or plain object to encode
  5267. * @param [writer] Writer to encode to
  5268. * @returns Writer
  5269. */
  5270. public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
  5271. /**
  5272. * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
  5273. * @param message ServiceOptions message or plain object to encode
  5274. * @param [writer] Writer to encode to
  5275. * @returns Writer
  5276. */
  5277. public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
  5278. /**
  5279. * Decodes a ServiceOptions message from the specified reader or buffer.
  5280. * @param reader Reader or buffer to decode from
  5281. * @param [length] Message length if known beforehand
  5282. * @returns ServiceOptions
  5283. * @throws {Error} If the payload is not a reader or valid buffer
  5284. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5285. */
  5286. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions;
  5287. /**
  5288. * Decodes a ServiceOptions message from the specified reader or buffer, length delimited.
  5289. * @param reader Reader or buffer to decode from
  5290. * @returns ServiceOptions
  5291. * @throws {Error} If the payload is not a reader or valid buffer
  5292. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5293. */
  5294. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions;
  5295. /**
  5296. * Verifies a ServiceOptions message.
  5297. * @param message Plain object to verify
  5298. * @returns `null` if valid, otherwise the reason why it is not
  5299. */
  5300. public static verify(message: { [k: string]: any }): (string|null);
  5301. /**
  5302. * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types.
  5303. * @param object Plain object
  5304. * @returns ServiceOptions
  5305. */
  5306. public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions;
  5307. /**
  5308. * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified.
  5309. * @param message ServiceOptions
  5310. * @param [options] Conversion options
  5311. * @returns Plain object
  5312. */
  5313. public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
  5314. /**
  5315. * Converts this ServiceOptions to JSON.
  5316. * @returns JSON object
  5317. */
  5318. public toJSON(): { [k: string]: any };
  5319. }
  5320. /** Properties of a MethodOptions. */
  5321. interface IMethodOptions {
  5322. /** MethodOptions deprecated */
  5323. deprecated?: (boolean|null);
  5324. /** MethodOptions idempotencyLevel */
  5325. idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|null);
  5326. /** MethodOptions uninterpretedOption */
  5327. uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
  5328. /** MethodOptions .google.api.http */
  5329. ".google.api.http"?: (google.api.IHttpRule|null);
  5330. }
  5331. /** Represents a MethodOptions. */
  5332. class MethodOptions implements IMethodOptions {
  5333. /**
  5334. * Constructs a new MethodOptions.
  5335. * @param [properties] Properties to set
  5336. */
  5337. constructor(properties?: google.protobuf.IMethodOptions);
  5338. /** MethodOptions deprecated. */
  5339. public deprecated: boolean;
  5340. /** MethodOptions idempotencyLevel. */
  5341. public idempotencyLevel: google.protobuf.MethodOptions.IdempotencyLevel;
  5342. /** MethodOptions uninterpretedOption. */
  5343. public uninterpretedOption: google.protobuf.IUninterpretedOption[];
  5344. /**
  5345. * Creates a new MethodOptions instance using the specified properties.
  5346. * @param [properties] Properties to set
  5347. * @returns MethodOptions instance
  5348. */
  5349. public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions;
  5350. /**
  5351. * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
  5352. * @param message MethodOptions message or plain object to encode
  5353. * @param [writer] Writer to encode to
  5354. * @returns Writer
  5355. */
  5356. public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
  5357. /**
  5358. * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
  5359. * @param message MethodOptions message or plain object to encode
  5360. * @param [writer] Writer to encode to
  5361. * @returns Writer
  5362. */
  5363. public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
  5364. /**
  5365. * Decodes a MethodOptions message from the specified reader or buffer.
  5366. * @param reader Reader or buffer to decode from
  5367. * @param [length] Message length if known beforehand
  5368. * @returns MethodOptions
  5369. * @throws {Error} If the payload is not a reader or valid buffer
  5370. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5371. */
  5372. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions;
  5373. /**
  5374. * Decodes a MethodOptions message from the specified reader or buffer, length delimited.
  5375. * @param reader Reader or buffer to decode from
  5376. * @returns MethodOptions
  5377. * @throws {Error} If the payload is not a reader or valid buffer
  5378. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5379. */
  5380. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions;
  5381. /**
  5382. * Verifies a MethodOptions message.
  5383. * @param message Plain object to verify
  5384. * @returns `null` if valid, otherwise the reason why it is not
  5385. */
  5386. public static verify(message: { [k: string]: any }): (string|null);
  5387. /**
  5388. * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types.
  5389. * @param object Plain object
  5390. * @returns MethodOptions
  5391. */
  5392. public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions;
  5393. /**
  5394. * Creates a plain object from a MethodOptions message. Also converts values to other types if specified.
  5395. * @param message MethodOptions
  5396. * @param [options] Conversion options
  5397. * @returns Plain object
  5398. */
  5399. public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
  5400. /**
  5401. * Converts this MethodOptions to JSON.
  5402. * @returns JSON object
  5403. */
  5404. public toJSON(): { [k: string]: any };
  5405. }
  5406. namespace MethodOptions {
  5407. /** IdempotencyLevel enum. */
  5408. enum IdempotencyLevel {
  5409. IDEMPOTENCY_UNKNOWN = 0,
  5410. NO_SIDE_EFFECTS = 1,
  5411. IDEMPOTENT = 2
  5412. }
  5413. }
  5414. /** Properties of an UninterpretedOption. */
  5415. interface IUninterpretedOption {
  5416. /** UninterpretedOption name */
  5417. name?: (google.protobuf.UninterpretedOption.INamePart[]|null);
  5418. /** UninterpretedOption identifierValue */
  5419. identifierValue?: (string|null);
  5420. /** UninterpretedOption positiveIntValue */
  5421. positiveIntValue?: (number|Long|null);
  5422. /** UninterpretedOption negativeIntValue */
  5423. negativeIntValue?: (number|Long|null);
  5424. /** UninterpretedOption doubleValue */
  5425. doubleValue?: (number|null);
  5426. /** UninterpretedOption stringValue */
  5427. stringValue?: (Uint8Array|null);
  5428. /** UninterpretedOption aggregateValue */
  5429. aggregateValue?: (string|null);
  5430. }
  5431. /** Represents an UninterpretedOption. */
  5432. class UninterpretedOption implements IUninterpretedOption {
  5433. /**
  5434. * Constructs a new UninterpretedOption.
  5435. * @param [properties] Properties to set
  5436. */
  5437. constructor(properties?: google.protobuf.IUninterpretedOption);
  5438. /** UninterpretedOption name. */
  5439. public name: google.protobuf.UninterpretedOption.INamePart[];
  5440. /** UninterpretedOption identifierValue. */
  5441. public identifierValue: string;
  5442. /** UninterpretedOption positiveIntValue. */
  5443. public positiveIntValue: (number|Long);
  5444. /** UninterpretedOption negativeIntValue. */
  5445. public negativeIntValue: (number|Long);
  5446. /** UninterpretedOption doubleValue. */
  5447. public doubleValue: number;
  5448. /** UninterpretedOption stringValue. */
  5449. public stringValue: Uint8Array;
  5450. /** UninterpretedOption aggregateValue. */
  5451. public aggregateValue: string;
  5452. /**
  5453. * Creates a new UninterpretedOption instance using the specified properties.
  5454. * @param [properties] Properties to set
  5455. * @returns UninterpretedOption instance
  5456. */
  5457. public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption;
  5458. /**
  5459. * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
  5460. * @param message UninterpretedOption message or plain object to encode
  5461. * @param [writer] Writer to encode to
  5462. * @returns Writer
  5463. */
  5464. public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
  5465. /**
  5466. * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
  5467. * @param message UninterpretedOption message or plain object to encode
  5468. * @param [writer] Writer to encode to
  5469. * @returns Writer
  5470. */
  5471. public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
  5472. /**
  5473. * Decodes an UninterpretedOption message from the specified reader or buffer.
  5474. * @param reader Reader or buffer to decode from
  5475. * @param [length] Message length if known beforehand
  5476. * @returns UninterpretedOption
  5477. * @throws {Error} If the payload is not a reader or valid buffer
  5478. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5479. */
  5480. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption;
  5481. /**
  5482. * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited.
  5483. * @param reader Reader or buffer to decode from
  5484. * @returns UninterpretedOption
  5485. * @throws {Error} If the payload is not a reader or valid buffer
  5486. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5487. */
  5488. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption;
  5489. /**
  5490. * Verifies an UninterpretedOption message.
  5491. * @param message Plain object to verify
  5492. * @returns `null` if valid, otherwise the reason why it is not
  5493. */
  5494. public static verify(message: { [k: string]: any }): (string|null);
  5495. /**
  5496. * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types.
  5497. * @param object Plain object
  5498. * @returns UninterpretedOption
  5499. */
  5500. public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption;
  5501. /**
  5502. * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified.
  5503. * @param message UninterpretedOption
  5504. * @param [options] Conversion options
  5505. * @returns Plain object
  5506. */
  5507. public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
  5508. /**
  5509. * Converts this UninterpretedOption to JSON.
  5510. * @returns JSON object
  5511. */
  5512. public toJSON(): { [k: string]: any };
  5513. }
  5514. namespace UninterpretedOption {
  5515. /** Properties of a NamePart. */
  5516. interface INamePart {
  5517. /** NamePart namePart */
  5518. namePart: string;
  5519. /** NamePart isExtension */
  5520. isExtension: boolean;
  5521. }
  5522. /** Represents a NamePart. */
  5523. class NamePart implements INamePart {
  5524. /**
  5525. * Constructs a new NamePart.
  5526. * @param [properties] Properties to set
  5527. */
  5528. constructor(properties?: google.protobuf.UninterpretedOption.INamePart);
  5529. /** NamePart namePart. */
  5530. public namePart: string;
  5531. /** NamePart isExtension. */
  5532. public isExtension: boolean;
  5533. /**
  5534. * Creates a new NamePart instance using the specified properties.
  5535. * @param [properties] Properties to set
  5536. * @returns NamePart instance
  5537. */
  5538. public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart;
  5539. /**
  5540. * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
  5541. * @param message NamePart message or plain object to encode
  5542. * @param [writer] Writer to encode to
  5543. * @returns Writer
  5544. */
  5545. public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
  5546. /**
  5547. * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
  5548. * @param message NamePart message or plain object to encode
  5549. * @param [writer] Writer to encode to
  5550. * @returns Writer
  5551. */
  5552. public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
  5553. /**
  5554. * Decodes a NamePart message from the specified reader or buffer.
  5555. * @param reader Reader or buffer to decode from
  5556. * @param [length] Message length if known beforehand
  5557. * @returns NamePart
  5558. * @throws {Error} If the payload is not a reader or valid buffer
  5559. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5560. */
  5561. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart;
  5562. /**
  5563. * Decodes a NamePart message from the specified reader or buffer, length delimited.
  5564. * @param reader Reader or buffer to decode from
  5565. * @returns NamePart
  5566. * @throws {Error} If the payload is not a reader or valid buffer
  5567. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5568. */
  5569. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart;
  5570. /**
  5571. * Verifies a NamePart message.
  5572. * @param message Plain object to verify
  5573. * @returns `null` if valid, otherwise the reason why it is not
  5574. */
  5575. public static verify(message: { [k: string]: any }): (string|null);
  5576. /**
  5577. * Creates a NamePart message from a plain object. Also converts values to their respective internal types.
  5578. * @param object Plain object
  5579. * @returns NamePart
  5580. */
  5581. public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart;
  5582. /**
  5583. * Creates a plain object from a NamePart message. Also converts values to other types if specified.
  5584. * @param message NamePart
  5585. * @param [options] Conversion options
  5586. * @returns Plain object
  5587. */
  5588. public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any };
  5589. /**
  5590. * Converts this NamePart to JSON.
  5591. * @returns JSON object
  5592. */
  5593. public toJSON(): { [k: string]: any };
  5594. }
  5595. }
  5596. /** Properties of a SourceCodeInfo. */
  5597. interface ISourceCodeInfo {
  5598. /** SourceCodeInfo location */
  5599. location?: (google.protobuf.SourceCodeInfo.ILocation[]|null);
  5600. }
  5601. /** Represents a SourceCodeInfo. */
  5602. class SourceCodeInfo implements ISourceCodeInfo {
  5603. /**
  5604. * Constructs a new SourceCodeInfo.
  5605. * @param [properties] Properties to set
  5606. */
  5607. constructor(properties?: google.protobuf.ISourceCodeInfo);
  5608. /** SourceCodeInfo location. */
  5609. public location: google.protobuf.SourceCodeInfo.ILocation[];
  5610. /**
  5611. * Creates a new SourceCodeInfo instance using the specified properties.
  5612. * @param [properties] Properties to set
  5613. * @returns SourceCodeInfo instance
  5614. */
  5615. public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
  5616. /**
  5617. * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
  5618. * @param message SourceCodeInfo message or plain object to encode
  5619. * @param [writer] Writer to encode to
  5620. * @returns Writer
  5621. */
  5622. public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  5623. /**
  5624. * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
  5625. * @param message SourceCodeInfo message or plain object to encode
  5626. * @param [writer] Writer to encode to
  5627. * @returns Writer
  5628. */
  5629. public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  5630. /**
  5631. * Decodes a SourceCodeInfo message from the specified reader or buffer.
  5632. * @param reader Reader or buffer to decode from
  5633. * @param [length] Message length if known beforehand
  5634. * @returns SourceCodeInfo
  5635. * @throws {Error} If the payload is not a reader or valid buffer
  5636. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5637. */
  5638. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo;
  5639. /**
  5640. * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
  5641. * @param reader Reader or buffer to decode from
  5642. * @returns SourceCodeInfo
  5643. * @throws {Error} If the payload is not a reader or valid buffer
  5644. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5645. */
  5646. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo;
  5647. /**
  5648. * Verifies a SourceCodeInfo message.
  5649. * @param message Plain object to verify
  5650. * @returns `null` if valid, otherwise the reason why it is not
  5651. */
  5652. public static verify(message: { [k: string]: any }): (string|null);
  5653. /**
  5654. * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
  5655. * @param object Plain object
  5656. * @returns SourceCodeInfo
  5657. */
  5658. public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
  5659. /**
  5660. * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
  5661. * @param message SourceCodeInfo
  5662. * @param [options] Conversion options
  5663. * @returns Plain object
  5664. */
  5665. public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
  5666. /**
  5667. * Converts this SourceCodeInfo to JSON.
  5668. * @returns JSON object
  5669. */
  5670. public toJSON(): { [k: string]: any };
  5671. }
  5672. namespace SourceCodeInfo {
  5673. /** Properties of a Location. */
  5674. interface ILocation {
  5675. /** Location path */
  5676. path?: (number[]|null);
  5677. /** Location span */
  5678. span?: (number[]|null);
  5679. /** Location leadingComments */
  5680. leadingComments?: (string|null);
  5681. /** Location trailingComments */
  5682. trailingComments?: (string|null);
  5683. /** Location leadingDetachedComments */
  5684. leadingDetachedComments?: (string[]|null);
  5685. }
  5686. /** Represents a Location. */
  5687. class Location implements ILocation {
  5688. /**
  5689. * Constructs a new Location.
  5690. * @param [properties] Properties to set
  5691. */
  5692. constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
  5693. /** Location path. */
  5694. public path: number[];
  5695. /** Location span. */
  5696. public span: number[];
  5697. /** Location leadingComments. */
  5698. public leadingComments: string;
  5699. /** Location trailingComments. */
  5700. public trailingComments: string;
  5701. /** Location leadingDetachedComments. */
  5702. public leadingDetachedComments: string[];
  5703. /**
  5704. * Creates a new Location instance using the specified properties.
  5705. * @param [properties] Properties to set
  5706. * @returns Location instance
  5707. */
  5708. public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location;
  5709. /**
  5710. * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
  5711. * @param message Location message or plain object to encode
  5712. * @param [writer] Writer to encode to
  5713. * @returns Writer
  5714. */
  5715. public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
  5716. /**
  5717. * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
  5718. * @param message Location message or plain object to encode
  5719. * @param [writer] Writer to encode to
  5720. * @returns Writer
  5721. */
  5722. public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
  5723. /**
  5724. * Decodes a Location message from the specified reader or buffer.
  5725. * @param reader Reader or buffer to decode from
  5726. * @param [length] Message length if known beforehand
  5727. * @returns Location
  5728. * @throws {Error} If the payload is not a reader or valid buffer
  5729. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5730. */
  5731. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location;
  5732. /**
  5733. * Decodes a Location message from the specified reader or buffer, length delimited.
  5734. * @param reader Reader or buffer to decode from
  5735. * @returns Location
  5736. * @throws {Error} If the payload is not a reader or valid buffer
  5737. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5738. */
  5739. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location;
  5740. /**
  5741. * Verifies a Location message.
  5742. * @param message Plain object to verify
  5743. * @returns `null` if valid, otherwise the reason why it is not
  5744. */
  5745. public static verify(message: { [k: string]: any }): (string|null);
  5746. /**
  5747. * Creates a Location message from a plain object. Also converts values to their respective internal types.
  5748. * @param object Plain object
  5749. * @returns Location
  5750. */
  5751. public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location;
  5752. /**
  5753. * Creates a plain object from a Location message. Also converts values to other types if specified.
  5754. * @param message Location
  5755. * @param [options] Conversion options
  5756. * @returns Plain object
  5757. */
  5758. public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
  5759. /**
  5760. * Converts this Location to JSON.
  5761. * @returns JSON object
  5762. */
  5763. public toJSON(): { [k: string]: any };
  5764. }
  5765. }
  5766. /** Properties of a GeneratedCodeInfo. */
  5767. interface IGeneratedCodeInfo {
  5768. /** GeneratedCodeInfo annotation */
  5769. annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null);
  5770. }
  5771. /** Represents a GeneratedCodeInfo. */
  5772. class GeneratedCodeInfo implements IGeneratedCodeInfo {
  5773. /**
  5774. * Constructs a new GeneratedCodeInfo.
  5775. * @param [properties] Properties to set
  5776. */
  5777. constructor(properties?: google.protobuf.IGeneratedCodeInfo);
  5778. /** GeneratedCodeInfo annotation. */
  5779. public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[];
  5780. /**
  5781. * Creates a new GeneratedCodeInfo instance using the specified properties.
  5782. * @param [properties] Properties to set
  5783. * @returns GeneratedCodeInfo instance
  5784. */
  5785. public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo;
  5786. /**
  5787. * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
  5788. * @param message GeneratedCodeInfo message or plain object to encode
  5789. * @param [writer] Writer to encode to
  5790. * @returns Writer
  5791. */
  5792. public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  5793. /**
  5794. * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
  5795. * @param message GeneratedCodeInfo message or plain object to encode
  5796. * @param [writer] Writer to encode to
  5797. * @returns Writer
  5798. */
  5799. public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  5800. /**
  5801. * Decodes a GeneratedCodeInfo message from the specified reader or buffer.
  5802. * @param reader Reader or buffer to decode from
  5803. * @param [length] Message length if known beforehand
  5804. * @returns GeneratedCodeInfo
  5805. * @throws {Error} If the payload is not a reader or valid buffer
  5806. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5807. */
  5808. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo;
  5809. /**
  5810. * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited.
  5811. * @param reader Reader or buffer to decode from
  5812. * @returns GeneratedCodeInfo
  5813. * @throws {Error} If the payload is not a reader or valid buffer
  5814. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5815. */
  5816. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo;
  5817. /**
  5818. * Verifies a GeneratedCodeInfo message.
  5819. * @param message Plain object to verify
  5820. * @returns `null` if valid, otherwise the reason why it is not
  5821. */
  5822. public static verify(message: { [k: string]: any }): (string|null);
  5823. /**
  5824. * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types.
  5825. * @param object Plain object
  5826. * @returns GeneratedCodeInfo
  5827. */
  5828. public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo;
  5829. /**
  5830. * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified.
  5831. * @param message GeneratedCodeInfo
  5832. * @param [options] Conversion options
  5833. * @returns Plain object
  5834. */
  5835. public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
  5836. /**
  5837. * Converts this GeneratedCodeInfo to JSON.
  5838. * @returns JSON object
  5839. */
  5840. public toJSON(): { [k: string]: any };
  5841. }
  5842. namespace GeneratedCodeInfo {
  5843. /** Properties of an Annotation. */
  5844. interface IAnnotation {
  5845. /** Annotation path */
  5846. path?: (number[]|null);
  5847. /** Annotation sourceFile */
  5848. sourceFile?: (string|null);
  5849. /** Annotation begin */
  5850. begin?: (number|null);
  5851. /** Annotation end */
  5852. end?: (number|null);
  5853. }
  5854. /** Represents an Annotation. */
  5855. class Annotation implements IAnnotation {
  5856. /**
  5857. * Constructs a new Annotation.
  5858. * @param [properties] Properties to set
  5859. */
  5860. constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation);
  5861. /** Annotation path. */
  5862. public path: number[];
  5863. /** Annotation sourceFile. */
  5864. public sourceFile: string;
  5865. /** Annotation begin. */
  5866. public begin: number;
  5867. /** Annotation end. */
  5868. public end: number;
  5869. /**
  5870. * Creates a new Annotation instance using the specified properties.
  5871. * @param [properties] Properties to set
  5872. * @returns Annotation instance
  5873. */
  5874. public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation;
  5875. /**
  5876. * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
  5877. * @param message Annotation message or plain object to encode
  5878. * @param [writer] Writer to encode to
  5879. * @returns Writer
  5880. */
  5881. public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
  5882. /**
  5883. * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
  5884. * @param message Annotation message or plain object to encode
  5885. * @param [writer] Writer to encode to
  5886. * @returns Writer
  5887. */
  5888. public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
  5889. /**
  5890. * Decodes an Annotation message from the specified reader or buffer.
  5891. * @param reader Reader or buffer to decode from
  5892. * @param [length] Message length if known beforehand
  5893. * @returns Annotation
  5894. * @throws {Error} If the payload is not a reader or valid buffer
  5895. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5896. */
  5897. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation;
  5898. /**
  5899. * Decodes an Annotation message from the specified reader or buffer, length delimited.
  5900. * @param reader Reader or buffer to decode from
  5901. * @returns Annotation
  5902. * @throws {Error} If the payload is not a reader or valid buffer
  5903. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  5904. */
  5905. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation;
  5906. /**
  5907. * Verifies an Annotation message.
  5908. * @param message Plain object to verify
  5909. * @returns `null` if valid, otherwise the reason why it is not
  5910. */
  5911. public static verify(message: { [k: string]: any }): (string|null);
  5912. /**
  5913. * Creates an Annotation message from a plain object. Also converts values to their respective internal types.
  5914. * @param object Plain object
  5915. * @returns Annotation
  5916. */
  5917. public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation;
  5918. /**
  5919. * Creates a plain object from an Annotation message. Also converts values to other types if specified.
  5920. * @param message Annotation
  5921. * @param [options] Conversion options
  5922. * @returns Plain object
  5923. */
  5924. public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
  5925. /**
  5926. * Converts this Annotation to JSON.
  5927. * @returns JSON object
  5928. */
  5929. public toJSON(): { [k: string]: any };
  5930. }
  5931. }
  5932. }
  5933. }