1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783 |
- /**
- * Copyright 2021 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- import Long = require('long');
- import * as $protobuf from "protobufjs";
- /** Namespace google. */
- export namespace google {
- /** Namespace longrunning. */
- namespace longrunning {
- /** Represents an Operations */
- class Operations extends $protobuf.rpc.Service {
- /**
- * Constructs a new Operations service.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
- */
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
- /**
- * Creates new Operations service using the specified rpc implementation.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
- * @returns RPC service. Useful where requests and/or responses are streamed.
- */
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Operations;
- /**
- * Calls ListOperations.
- * @param request ListOperationsRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and ListOperationsResponse
- */
- public listOperations(request: google.longrunning.IListOperationsRequest, callback: google.longrunning.Operations.ListOperationsCallback): void;
- /**
- * Calls ListOperations.
- * @param request ListOperationsRequest message or plain object
- * @returns Promise
- */
- public listOperations(request: google.longrunning.IListOperationsRequest): Promise<google.longrunning.ListOperationsResponse>;
- /**
- * Calls GetOperation.
- * @param request GetOperationRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and Operation
- */
- public getOperation(request: google.longrunning.IGetOperationRequest, callback: google.longrunning.Operations.GetOperationCallback): void;
- /**
- * Calls GetOperation.
- * @param request GetOperationRequest message or plain object
- * @returns Promise
- */
- public getOperation(request: google.longrunning.IGetOperationRequest): Promise<google.longrunning.Operation>;
- /**
- * Calls DeleteOperation.
- * @param request DeleteOperationRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and Empty
- */
- public deleteOperation(request: google.longrunning.IDeleteOperationRequest, callback: google.longrunning.Operations.DeleteOperationCallback): void;
- /**
- * Calls DeleteOperation.
- * @param request DeleteOperationRequest message or plain object
- * @returns Promise
- */
- public deleteOperation(request: google.longrunning.IDeleteOperationRequest): Promise<google.protobuf.Empty>;
- /**
- * Calls CancelOperation.
- * @param request CancelOperationRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and Empty
- */
- public cancelOperation(request: google.longrunning.ICancelOperationRequest, callback: google.longrunning.Operations.CancelOperationCallback): void;
- /**
- * Calls CancelOperation.
- * @param request CancelOperationRequest message or plain object
- * @returns Promise
- */
- public cancelOperation(request: google.longrunning.ICancelOperationRequest): Promise<google.protobuf.Empty>;
- /**
- * Calls WaitOperation.
- * @param request WaitOperationRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and Operation
- */
- public waitOperation(request: google.longrunning.IWaitOperationRequest, callback: google.longrunning.Operations.WaitOperationCallback): void;
- /**
- * Calls WaitOperation.
- * @param request WaitOperationRequest message or plain object
- * @returns Promise
- */
- public waitOperation(request: google.longrunning.IWaitOperationRequest): Promise<google.longrunning.Operation>;
- }
- namespace Operations {
- /**
- * Callback as used by {@link google.longrunning.Operations#listOperations}.
- * @param error Error, if any
- * @param [response] ListOperationsResponse
- */
- type ListOperationsCallback = (error: (Error|null), response?: google.longrunning.ListOperationsResponse) => void;
- /**
- * Callback as used by {@link google.longrunning.Operations#getOperation}.
- * @param error Error, if any
- * @param [response] Operation
- */
- type GetOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
- /**
- * Callback as used by {@link google.longrunning.Operations#deleteOperation}.
- * @param error Error, if any
- * @param [response] Empty
- */
- type DeleteOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
- /**
- * Callback as used by {@link google.longrunning.Operations#cancelOperation}.
- * @param error Error, if any
- * @param [response] Empty
- */
- type CancelOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
- /**
- * Callback as used by {@link google.longrunning.Operations#waitOperation}.
- * @param error Error, if any
- * @param [response] Operation
- */
- type WaitOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
- }
- /** Properties of an Operation. */
- interface IOperation {
- /** Operation name */
- name?: (string|null);
- /** Operation metadata */
- metadata?: (google.protobuf.IAny|null);
- /** Operation done */
- done?: (boolean|null);
- /** Operation error */
- error?: (google.rpc.IStatus|null);
- /** Operation response */
- response?: (google.protobuf.IAny|null);
- }
- /** Represents an Operation. */
- class Operation implements IOperation {
- /**
- * Constructs a new Operation.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.longrunning.IOperation);
- /** Operation name. */
- public name: string;
- /** Operation metadata. */
- public metadata?: (google.protobuf.IAny|null);
- /** Operation done. */
- public done: boolean;
- /** Operation error. */
- public error?: (google.rpc.IStatus|null);
- /** Operation response. */
- public response?: (google.protobuf.IAny|null);
- /** Operation result. */
- public result?: ("error"|"response");
- /**
- * Creates a new Operation instance using the specified properties.
- * @param [properties] Properties to set
- * @returns Operation instance
- */
- public static create(properties?: google.longrunning.IOperation): google.longrunning.Operation;
- /**
- * Encodes the specified Operation message. Does not implicitly {@link google.longrunning.Operation.verify|verify} messages.
- * @param message Operation message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified Operation message, length delimited. Does not implicitly {@link google.longrunning.Operation.verify|verify} messages.
- * @param message Operation message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an Operation message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns Operation
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.Operation;
- /**
- * Decodes an Operation message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns Operation
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.Operation;
- /**
- * Verifies an Operation message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an Operation message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns Operation
- */
- public static fromObject(object: { [k: string]: any }): google.longrunning.Operation;
- /**
- * Creates a plain object from an Operation message. Also converts values to other types if specified.
- * @param message Operation
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.longrunning.Operation, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this Operation to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a GetOperationRequest. */
- interface IGetOperationRequest {
- /** GetOperationRequest name */
- name?: (string|null);
- }
- /** Represents a GetOperationRequest. */
- class GetOperationRequest implements IGetOperationRequest {
- /**
- * Constructs a new GetOperationRequest.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.longrunning.IGetOperationRequest);
- /** GetOperationRequest name. */
- public name: string;
- /**
- * Creates a new GetOperationRequest instance using the specified properties.
- * @param [properties] Properties to set
- * @returns GetOperationRequest instance
- */
- public static create(properties?: google.longrunning.IGetOperationRequest): google.longrunning.GetOperationRequest;
- /**
- * Encodes the specified GetOperationRequest message. Does not implicitly {@link google.longrunning.GetOperationRequest.verify|verify} messages.
- * @param message GetOperationRequest message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified GetOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.GetOperationRequest.verify|verify} messages.
- * @param message GetOperationRequest message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a GetOperationRequest message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns GetOperationRequest
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.GetOperationRequest;
- /**
- * Decodes a GetOperationRequest message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns GetOperationRequest
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.GetOperationRequest;
- /**
- * Verifies a GetOperationRequest message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a GetOperationRequest message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns GetOperationRequest
- */
- public static fromObject(object: { [k: string]: any }): google.longrunning.GetOperationRequest;
- /**
- * Creates a plain object from a GetOperationRequest message. Also converts values to other types if specified.
- * @param message GetOperationRequest
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.longrunning.GetOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this GetOperationRequest to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a ListOperationsRequest. */
- interface IListOperationsRequest {
- /** ListOperationsRequest name */
- name?: (string|null);
- /** ListOperationsRequest filter */
- filter?: (string|null);
- /** ListOperationsRequest pageSize */
- pageSize?: (number|null);
- /** ListOperationsRequest pageToken */
- pageToken?: (string|null);
- }
- /** Represents a ListOperationsRequest. */
- class ListOperationsRequest implements IListOperationsRequest {
- /**
- * Constructs a new ListOperationsRequest.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.longrunning.IListOperationsRequest);
- /** ListOperationsRequest name. */
- public name: string;
- /** ListOperationsRequest filter. */
- public filter: string;
- /** ListOperationsRequest pageSize. */
- public pageSize: number;
- /** ListOperationsRequest pageToken. */
- public pageToken: string;
- /**
- * Creates a new ListOperationsRequest instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ListOperationsRequest instance
- */
- public static create(properties?: google.longrunning.IListOperationsRequest): google.longrunning.ListOperationsRequest;
- /**
- * Encodes the specified ListOperationsRequest message. Does not implicitly {@link google.longrunning.ListOperationsRequest.verify|verify} messages.
- * @param message ListOperationsRequest message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ListOperationsRequest message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsRequest.verify|verify} messages.
- * @param message ListOperationsRequest message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a ListOperationsRequest message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ListOperationsRequest
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsRequest;
- /**
- * Decodes a ListOperationsRequest message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ListOperationsRequest
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsRequest;
- /**
- * Verifies a ListOperationsRequest message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a ListOperationsRequest message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns ListOperationsRequest
- */
- public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsRequest;
- /**
- * Creates a plain object from a ListOperationsRequest message. Also converts values to other types if specified.
- * @param message ListOperationsRequest
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.longrunning.ListOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ListOperationsRequest to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a ListOperationsResponse. */
- interface IListOperationsResponse {
- /** ListOperationsResponse operations */
- operations?: (google.longrunning.IOperation[]|null);
- /** ListOperationsResponse nextPageToken */
- nextPageToken?: (string|null);
- }
- /** Represents a ListOperationsResponse. */
- class ListOperationsResponse implements IListOperationsResponse {
- /**
- * Constructs a new ListOperationsResponse.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.longrunning.IListOperationsResponse);
- /** ListOperationsResponse operations. */
- public operations: google.longrunning.IOperation[];
- /** ListOperationsResponse nextPageToken. */
- public nextPageToken: string;
- /**
- * Creates a new ListOperationsResponse instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ListOperationsResponse instance
- */
- public static create(properties?: google.longrunning.IListOperationsResponse): google.longrunning.ListOperationsResponse;
- /**
- * Encodes the specified ListOperationsResponse message. Does not implicitly {@link google.longrunning.ListOperationsResponse.verify|verify} messages.
- * @param message ListOperationsResponse message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ListOperationsResponse message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsResponse.verify|verify} messages.
- * @param message ListOperationsResponse message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a ListOperationsResponse message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ListOperationsResponse
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsResponse;
- /**
- * Decodes a ListOperationsResponse message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ListOperationsResponse
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsResponse;
- /**
- * Verifies a ListOperationsResponse message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a ListOperationsResponse message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns ListOperationsResponse
- */
- public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsResponse;
- /**
- * Creates a plain object from a ListOperationsResponse message. Also converts values to other types if specified.
- * @param message ListOperationsResponse
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.longrunning.ListOperationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ListOperationsResponse to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a CancelOperationRequest. */
- interface ICancelOperationRequest {
- /** CancelOperationRequest name */
- name?: (string|null);
- }
- /** Represents a CancelOperationRequest. */
- class CancelOperationRequest implements ICancelOperationRequest {
- /**
- * Constructs a new CancelOperationRequest.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.longrunning.ICancelOperationRequest);
- /** CancelOperationRequest name. */
- public name: string;
- /**
- * Creates a new CancelOperationRequest instance using the specified properties.
- * @param [properties] Properties to set
- * @returns CancelOperationRequest instance
- */
- public static create(properties?: google.longrunning.ICancelOperationRequest): google.longrunning.CancelOperationRequest;
- /**
- * Encodes the specified CancelOperationRequest message. Does not implicitly {@link google.longrunning.CancelOperationRequest.verify|verify} messages.
- * @param message CancelOperationRequest message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified CancelOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.CancelOperationRequest.verify|verify} messages.
- * @param message CancelOperationRequest message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a CancelOperationRequest message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns CancelOperationRequest
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.CancelOperationRequest;
- /**
- * Decodes a CancelOperationRequest message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns CancelOperationRequest
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.CancelOperationRequest;
- /**
- * Verifies a CancelOperationRequest message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a CancelOperationRequest message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns CancelOperationRequest
- */
- public static fromObject(object: { [k: string]: any }): google.longrunning.CancelOperationRequest;
- /**
- * Creates a plain object from a CancelOperationRequest message. Also converts values to other types if specified.
- * @param message CancelOperationRequest
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.longrunning.CancelOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this CancelOperationRequest to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a DeleteOperationRequest. */
- interface IDeleteOperationRequest {
- /** DeleteOperationRequest name */
- name?: (string|null);
- }
- /** Represents a DeleteOperationRequest. */
- class DeleteOperationRequest implements IDeleteOperationRequest {
- /**
- * Constructs a new DeleteOperationRequest.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.longrunning.IDeleteOperationRequest);
- /** DeleteOperationRequest name. */
- public name: string;
- /**
- * Creates a new DeleteOperationRequest instance using the specified properties.
- * @param [properties] Properties to set
- * @returns DeleteOperationRequest instance
- */
- public static create(properties?: google.longrunning.IDeleteOperationRequest): google.longrunning.DeleteOperationRequest;
- /**
- * Encodes the specified DeleteOperationRequest message. Does not implicitly {@link google.longrunning.DeleteOperationRequest.verify|verify} messages.
- * @param message DeleteOperationRequest message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified DeleteOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.DeleteOperationRequest.verify|verify} messages.
- * @param message DeleteOperationRequest message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a DeleteOperationRequest message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns DeleteOperationRequest
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.DeleteOperationRequest;
- /**
- * Decodes a DeleteOperationRequest message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns DeleteOperationRequest
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.DeleteOperationRequest;
- /**
- * Verifies a DeleteOperationRequest message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a DeleteOperationRequest message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns DeleteOperationRequest
- */
- public static fromObject(object: { [k: string]: any }): google.longrunning.DeleteOperationRequest;
- /**
- * Creates a plain object from a DeleteOperationRequest message. Also converts values to other types if specified.
- * @param message DeleteOperationRequest
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.longrunning.DeleteOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this DeleteOperationRequest to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a WaitOperationRequest. */
- interface IWaitOperationRequest {
- /** WaitOperationRequest name */
- name?: (string|null);
- /** WaitOperationRequest timeout */
- timeout?: (google.protobuf.IDuration|null);
- }
- /** Represents a WaitOperationRequest. */
- class WaitOperationRequest implements IWaitOperationRequest {
- /**
- * Constructs a new WaitOperationRequest.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.longrunning.IWaitOperationRequest);
- /** WaitOperationRequest name. */
- public name: string;
- /** WaitOperationRequest timeout. */
- public timeout?: (google.protobuf.IDuration|null);
- /**
- * Creates a new WaitOperationRequest instance using the specified properties.
- * @param [properties] Properties to set
- * @returns WaitOperationRequest instance
- */
- public static create(properties?: google.longrunning.IWaitOperationRequest): google.longrunning.WaitOperationRequest;
- /**
- * Encodes the specified WaitOperationRequest message. Does not implicitly {@link google.longrunning.WaitOperationRequest.verify|verify} messages.
- * @param message WaitOperationRequest message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified WaitOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.WaitOperationRequest.verify|verify} messages.
- * @param message WaitOperationRequest message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a WaitOperationRequest message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns WaitOperationRequest
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.WaitOperationRequest;
- /**
- * Decodes a WaitOperationRequest message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns WaitOperationRequest
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.WaitOperationRequest;
- /**
- * Verifies a WaitOperationRequest message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a WaitOperationRequest message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns WaitOperationRequest
- */
- public static fromObject(object: { [k: string]: any }): google.longrunning.WaitOperationRequest;
- /**
- * Creates a plain object from a WaitOperationRequest message. Also converts values to other types if specified.
- * @param message WaitOperationRequest
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.longrunning.WaitOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this WaitOperationRequest to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of an OperationInfo. */
- interface IOperationInfo {
- /** OperationInfo responseType */
- responseType?: (string|null);
- /** OperationInfo metadataType */
- metadataType?: (string|null);
- }
- /** Represents an OperationInfo. */
- class OperationInfo implements IOperationInfo {
- /**
- * Constructs a new OperationInfo.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.longrunning.IOperationInfo);
- /** OperationInfo responseType. */
- public responseType: string;
- /** OperationInfo metadataType. */
- public metadataType: string;
- /**
- * Creates a new OperationInfo instance using the specified properties.
- * @param [properties] Properties to set
- * @returns OperationInfo instance
- */
- public static create(properties?: google.longrunning.IOperationInfo): google.longrunning.OperationInfo;
- /**
- * Encodes the specified OperationInfo message. Does not implicitly {@link google.longrunning.OperationInfo.verify|verify} messages.
- * @param message OperationInfo message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified OperationInfo message, length delimited. Does not implicitly {@link google.longrunning.OperationInfo.verify|verify} messages.
- * @param message OperationInfo message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an OperationInfo message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns OperationInfo
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.OperationInfo;
- /**
- * Decodes an OperationInfo message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns OperationInfo
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.OperationInfo;
- /**
- * Verifies an OperationInfo message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an OperationInfo message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns OperationInfo
- */
- public static fromObject(object: { [k: string]: any }): google.longrunning.OperationInfo;
- /**
- * Creates a plain object from an OperationInfo message. Also converts values to other types if specified.
- * @param message OperationInfo
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.longrunning.OperationInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this OperationInfo to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- }
- /** Namespace api. */
- namespace api {
- /** Properties of a Http. */
- interface IHttp {
- /** Http rules */
- rules?: (google.api.IHttpRule[]|null);
- /** Http fullyDecodeReservedExpansion */
- fullyDecodeReservedExpansion?: (boolean|null);
- }
- /** Represents a Http. */
- class Http implements IHttp {
- /**
- * Constructs a new Http.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.api.IHttp);
- /** Http rules. */
- public rules: google.api.IHttpRule[];
- /** Http fullyDecodeReservedExpansion. */
- public fullyDecodeReservedExpansion: boolean;
- /**
- * Creates a new Http instance using the specified properties.
- * @param [properties] Properties to set
- * @returns Http instance
- */
- public static create(properties?: google.api.IHttp): google.api.Http;
- /**
- * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
- * @param message Http message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
- * @param message Http message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a Http message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns Http
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
- /**
- * Decodes a Http message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns Http
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
- /**
- * Verifies a Http message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a Http message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns Http
- */
- public static fromObject(object: { [k: string]: any }): google.api.Http;
- /**
- * Creates a plain object from a Http message. Also converts values to other types if specified.
- * @param message Http
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this Http to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a HttpRule. */
- interface IHttpRule {
- /** HttpRule selector */
- selector?: (string|null);
- /** HttpRule get */
- get?: (string|null);
- /** HttpRule put */
- put?: (string|null);
- /** HttpRule post */
- post?: (string|null);
- /** HttpRule delete */
- "delete"?: (string|null);
- /** HttpRule patch */
- patch?: (string|null);
- /** HttpRule custom */
- custom?: (google.api.ICustomHttpPattern|null);
- /** HttpRule body */
- body?: (string|null);
- /** HttpRule responseBody */
- responseBody?: (string|null);
- /** HttpRule additionalBindings */
- additionalBindings?: (google.api.IHttpRule[]|null);
- }
- /** Represents a HttpRule. */
- class HttpRule implements IHttpRule {
- /**
- * Constructs a new HttpRule.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.api.IHttpRule);
- /** HttpRule selector. */
- public selector: string;
- /** HttpRule get. */
- public get: string;
- /** HttpRule put. */
- public put: string;
- /** HttpRule post. */
- public post: string;
- /** HttpRule delete. */
- public delete: string;
- /** HttpRule patch. */
- public patch: string;
- /** HttpRule custom. */
- public custom?: (google.api.ICustomHttpPattern|null);
- /** HttpRule body. */
- public body: string;
- /** HttpRule responseBody. */
- public responseBody: string;
- /** HttpRule additionalBindings. */
- public additionalBindings: google.api.IHttpRule[];
- /** HttpRule pattern. */
- public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
- /**
- * Creates a new HttpRule instance using the specified properties.
- * @param [properties] Properties to set
- * @returns HttpRule instance
- */
- public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
- /**
- * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
- * @param message HttpRule message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
- * @param message HttpRule message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a HttpRule message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns HttpRule
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
- /**
- * Decodes a HttpRule message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns HttpRule
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
- /**
- * Verifies a HttpRule message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns HttpRule
- */
- public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
- /**
- * Creates a plain object from a HttpRule message. Also converts values to other types if specified.
- * @param message HttpRule
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this HttpRule to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a CustomHttpPattern. */
- interface ICustomHttpPattern {
- /** CustomHttpPattern kind */
- kind?: (string|null);
- /** CustomHttpPattern path */
- path?: (string|null);
- }
- /** Represents a CustomHttpPattern. */
- class CustomHttpPattern implements ICustomHttpPattern {
- /**
- * Constructs a new CustomHttpPattern.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.api.ICustomHttpPattern);
- /** CustomHttpPattern kind. */
- public kind: string;
- /** CustomHttpPattern path. */
- public path: string;
- /**
- * Creates a new CustomHttpPattern instance using the specified properties.
- * @param [properties] Properties to set
- * @returns CustomHttpPattern instance
- */
- public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
- /**
- * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
- * @param message CustomHttpPattern message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
- * @param message CustomHttpPattern message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a CustomHttpPattern message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns CustomHttpPattern
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
- /**
- * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns CustomHttpPattern
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
- /**
- * Verifies a CustomHttpPattern message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns CustomHttpPattern
- */
- public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
- /**
- * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
- * @param message CustomHttpPattern
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this CustomHttpPattern to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- }
- /** Namespace protobuf. */
- namespace protobuf {
- /** Properties of a FileDescriptorSet. */
- interface IFileDescriptorSet {
- /** FileDescriptorSet file */
- file?: (google.protobuf.IFileDescriptorProto[]|null);
- }
- /** Represents a FileDescriptorSet. */
- class FileDescriptorSet implements IFileDescriptorSet {
- /**
- * Constructs a new FileDescriptorSet.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IFileDescriptorSet);
- /** FileDescriptorSet file. */
- public file: google.protobuf.IFileDescriptorProto[];
- /**
- * Creates a new FileDescriptorSet instance using the specified properties.
- * @param [properties] Properties to set
- * @returns FileDescriptorSet instance
- */
- public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
- /**
- * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
- * @param message FileDescriptorSet message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
- * @param message FileDescriptorSet message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a FileDescriptorSet message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns FileDescriptorSet
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet;
- /**
- * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns FileDescriptorSet
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet;
- /**
- * Verifies a FileDescriptorSet message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns FileDescriptorSet
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
- /**
- * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
- * @param message FileDescriptorSet
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this FileDescriptorSet to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a FileDescriptorProto. */
- interface IFileDescriptorProto {
- /** FileDescriptorProto name */
- name?: (string|null);
- /** FileDescriptorProto package */
- "package"?: (string|null);
- /** FileDescriptorProto dependency */
- dependency?: (string[]|null);
- /** FileDescriptorProto publicDependency */
- publicDependency?: (number[]|null);
- /** FileDescriptorProto weakDependency */
- weakDependency?: (number[]|null);
- /** FileDescriptorProto messageType */
- messageType?: (google.protobuf.IDescriptorProto[]|null);
- /** FileDescriptorProto enumType */
- enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
- /** FileDescriptorProto service */
- service?: (google.protobuf.IServiceDescriptorProto[]|null);
- /** FileDescriptorProto extension */
- extension?: (google.protobuf.IFieldDescriptorProto[]|null);
- /** FileDescriptorProto options */
- options?: (google.protobuf.IFileOptions|null);
- /** FileDescriptorProto sourceCodeInfo */
- sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
- /** FileDescriptorProto syntax */
- syntax?: (string|null);
- }
- /** Represents a FileDescriptorProto. */
- class FileDescriptorProto implements IFileDescriptorProto {
- /**
- * Constructs a new FileDescriptorProto.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IFileDescriptorProto);
- /** FileDescriptorProto name. */
- public name: string;
- /** FileDescriptorProto package. */
- public package: string;
- /** FileDescriptorProto dependency. */
- public dependency: string[];
- /** FileDescriptorProto publicDependency. */
- public publicDependency: number[];
- /** FileDescriptorProto weakDependency. */
- public weakDependency: number[];
- /** FileDescriptorProto messageType. */
- public messageType: google.protobuf.IDescriptorProto[];
- /** FileDescriptorProto enumType. */
- public enumType: google.protobuf.IEnumDescriptorProto[];
- /** FileDescriptorProto service. */
- public service: google.protobuf.IServiceDescriptorProto[];
- /** FileDescriptorProto extension. */
- public extension: google.protobuf.IFieldDescriptorProto[];
- /** FileDescriptorProto options. */
- public options?: (google.protobuf.IFileOptions|null);
- /** FileDescriptorProto sourceCodeInfo. */
- public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
- /** FileDescriptorProto syntax. */
- public syntax: string;
- /**
- * Creates a new FileDescriptorProto instance using the specified properties.
- * @param [properties] Properties to set
- * @returns FileDescriptorProto instance
- */
- public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto;
- /**
- * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
- * @param message FileDescriptorProto message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
- * @param message FileDescriptorProto message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a FileDescriptorProto message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns FileDescriptorProto
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto;
- /**
- * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns FileDescriptorProto
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto;
- /**
- * Verifies a FileDescriptorProto message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns FileDescriptorProto
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto;
- /**
- * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
- * @param message FileDescriptorProto
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this FileDescriptorProto to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a DescriptorProto. */
- interface IDescriptorProto {
- /** DescriptorProto name */
- name?: (string|null);
- /** DescriptorProto field */
- field?: (google.protobuf.IFieldDescriptorProto[]|null);
- /** DescriptorProto extension */
- extension?: (google.protobuf.IFieldDescriptorProto[]|null);
- /** DescriptorProto nestedType */
- nestedType?: (google.protobuf.IDescriptorProto[]|null);
- /** DescriptorProto enumType */
- enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
- /** DescriptorProto extensionRange */
- extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null);
- /** DescriptorProto oneofDecl */
- oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null);
- /** DescriptorProto options */
- options?: (google.protobuf.IMessageOptions|null);
- /** DescriptorProto reservedRange */
- reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null);
- /** DescriptorProto reservedName */
- reservedName?: (string[]|null);
- }
- /** Represents a DescriptorProto. */
- class DescriptorProto implements IDescriptorProto {
- /**
- * Constructs a new DescriptorProto.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IDescriptorProto);
- /** DescriptorProto name. */
- public name: string;
- /** DescriptorProto field. */
- public field: google.protobuf.IFieldDescriptorProto[];
- /** DescriptorProto extension. */
- public extension: google.protobuf.IFieldDescriptorProto[];
- /** DescriptorProto nestedType. */
- public nestedType: google.protobuf.IDescriptorProto[];
- /** DescriptorProto enumType. */
- public enumType: google.protobuf.IEnumDescriptorProto[];
- /** DescriptorProto extensionRange. */
- public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[];
- /** DescriptorProto oneofDecl. */
- public oneofDecl: google.protobuf.IOneofDescriptorProto[];
- /** DescriptorProto options. */
- public options?: (google.protobuf.IMessageOptions|null);
- /** DescriptorProto reservedRange. */
- public reservedRange: google.protobuf.DescriptorProto.IReservedRange[];
- /** DescriptorProto reservedName. */
- public reservedName: string[];
- /**
- * Creates a new DescriptorProto instance using the specified properties.
- * @param [properties] Properties to set
- * @returns DescriptorProto instance
- */
- public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto;
- /**
- * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
- * @param message DescriptorProto message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
- * @param message DescriptorProto message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a DescriptorProto message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns DescriptorProto
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto;
- /**
- * Decodes a DescriptorProto message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns DescriptorProto
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto;
- /**
- * Verifies a DescriptorProto message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns DescriptorProto
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto;
- /**
- * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified.
- * @param message DescriptorProto
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this DescriptorProto to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- namespace DescriptorProto {
- /** Properties of an ExtensionRange. */
- interface IExtensionRange {
- /** ExtensionRange start */
- start?: (number|null);
- /** ExtensionRange end */
- end?: (number|null);
- /** ExtensionRange options */
- options?: (google.protobuf.IExtensionRangeOptions|null);
- }
- /** Represents an ExtensionRange. */
- class ExtensionRange implements IExtensionRange {
- /**
- * Constructs a new ExtensionRange.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange);
- /** ExtensionRange start. */
- public start: number;
- /** ExtensionRange end. */
- public end: number;
- /** ExtensionRange options. */
- public options?: (google.protobuf.IExtensionRangeOptions|null);
- /**
- * Creates a new ExtensionRange instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ExtensionRange instance
- */
- public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange;
- /**
- * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
- * @param message ExtensionRange message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
- * @param message ExtensionRange message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an ExtensionRange message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ExtensionRange
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange;
- /**
- * Decodes an ExtensionRange message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ExtensionRange
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange;
- /**
- * Verifies an ExtensionRange message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns ExtensionRange
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange;
- /**
- * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified.
- * @param message ExtensionRange
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ExtensionRange to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a ReservedRange. */
- interface IReservedRange {
- /** ReservedRange start */
- start?: (number|null);
- /** ReservedRange end */
- end?: (number|null);
- }
- /** Represents a ReservedRange. */
- class ReservedRange implements IReservedRange {
- /**
- * Constructs a new ReservedRange.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.DescriptorProto.IReservedRange);
- /** ReservedRange start. */
- public start: number;
- /** ReservedRange end. */
- public end: number;
- /**
- * Creates a new ReservedRange instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ReservedRange instance
- */
- public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange;
- /**
- * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
- * @param message ReservedRange message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
- * @param message ReservedRange message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a ReservedRange message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ReservedRange
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange;
- /**
- * Decodes a ReservedRange message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ReservedRange
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange;
- /**
- * Verifies a ReservedRange message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns ReservedRange
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange;
- /**
- * Creates a plain object from a ReservedRange message. Also converts values to other types if specified.
- * @param message ReservedRange
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ReservedRange to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- }
- /** Properties of an ExtensionRangeOptions. */
- interface IExtensionRangeOptions {
- /** ExtensionRangeOptions uninterpretedOption */
- uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
- }
- /** Represents an ExtensionRangeOptions. */
- class ExtensionRangeOptions implements IExtensionRangeOptions {
- /**
- * Constructs a new ExtensionRangeOptions.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IExtensionRangeOptions);
- /** ExtensionRangeOptions uninterpretedOption. */
- public uninterpretedOption: google.protobuf.IUninterpretedOption[];
- /**
- * Creates a new ExtensionRangeOptions instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ExtensionRangeOptions instance
- */
- public static create(properties?: google.protobuf.IExtensionRangeOptions): google.protobuf.ExtensionRangeOptions;
- /**
- * Encodes the specified ExtensionRangeOptions message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
- * @param message ExtensionRangeOptions message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
- * @param message ExtensionRangeOptions message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an ExtensionRangeOptions message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ExtensionRangeOptions
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions;
- /**
- * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ExtensionRangeOptions
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions;
- /**
- * Verifies an ExtensionRangeOptions message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns ExtensionRangeOptions
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions;
- /**
- * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified.
- * @param message ExtensionRangeOptions
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.ExtensionRangeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ExtensionRangeOptions to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a FieldDescriptorProto. */
- interface IFieldDescriptorProto {
- /** FieldDescriptorProto name */
- name?: (string|null);
- /** FieldDescriptorProto number */
- number?: (number|null);
- /** FieldDescriptorProto label */
- label?: (google.protobuf.FieldDescriptorProto.Label|null);
- /** FieldDescriptorProto type */
- type?: (google.protobuf.FieldDescriptorProto.Type|null);
- /** FieldDescriptorProto typeName */
- typeName?: (string|null);
- /** FieldDescriptorProto extendee */
- extendee?: (string|null);
- /** FieldDescriptorProto defaultValue */
- defaultValue?: (string|null);
- /** FieldDescriptorProto oneofIndex */
- oneofIndex?: (number|null);
- /** FieldDescriptorProto jsonName */
- jsonName?: (string|null);
- /** FieldDescriptorProto options */
- options?: (google.protobuf.IFieldOptions|null);
- /** FieldDescriptorProto proto3Optional */
- proto3Optional?: (boolean|null);
- }
- /** Represents a FieldDescriptorProto. */
- class FieldDescriptorProto implements IFieldDescriptorProto {
- /**
- * Constructs a new FieldDescriptorProto.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IFieldDescriptorProto);
- /** FieldDescriptorProto name. */
- public name: string;
- /** FieldDescriptorProto number. */
- public number: number;
- /** FieldDescriptorProto label. */
- public label: google.protobuf.FieldDescriptorProto.Label;
- /** FieldDescriptorProto type. */
- public type: google.protobuf.FieldDescriptorProto.Type;
- /** FieldDescriptorProto typeName. */
- public typeName: string;
- /** FieldDescriptorProto extendee. */
- public extendee: string;
- /** FieldDescriptorProto defaultValue. */
- public defaultValue: string;
- /** FieldDescriptorProto oneofIndex. */
- public oneofIndex: number;
- /** FieldDescriptorProto jsonName. */
- public jsonName: string;
- /** FieldDescriptorProto options. */
- public options?: (google.protobuf.IFieldOptions|null);
- /** FieldDescriptorProto proto3Optional. */
- public proto3Optional: boolean;
- /**
- * Creates a new FieldDescriptorProto instance using the specified properties.
- * @param [properties] Properties to set
- * @returns FieldDescriptorProto instance
- */
- public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto;
- /**
- * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
- * @param message FieldDescriptorProto message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
- * @param message FieldDescriptorProto message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a FieldDescriptorProto message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns FieldDescriptorProto
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto;
- /**
- * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns FieldDescriptorProto
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto;
- /**
- * Verifies a FieldDescriptorProto message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns FieldDescriptorProto
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto;
- /**
- * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
- * @param message FieldDescriptorProto
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this FieldDescriptorProto to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- namespace FieldDescriptorProto {
- /** Type enum. */
- enum Type {
- TYPE_DOUBLE = 1,
- TYPE_FLOAT = 2,
- TYPE_INT64 = 3,
- TYPE_UINT64 = 4,
- TYPE_INT32 = 5,
- TYPE_FIXED64 = 6,
- TYPE_FIXED32 = 7,
- TYPE_BOOL = 8,
- TYPE_STRING = 9,
- TYPE_GROUP = 10,
- TYPE_MESSAGE = 11,
- TYPE_BYTES = 12,
- TYPE_UINT32 = 13,
- TYPE_ENUM = 14,
- TYPE_SFIXED32 = 15,
- TYPE_SFIXED64 = 16,
- TYPE_SINT32 = 17,
- TYPE_SINT64 = 18
- }
- /** Label enum. */
- enum Label {
- LABEL_OPTIONAL = 1,
- LABEL_REQUIRED = 2,
- LABEL_REPEATED = 3
- }
- }
- /** Properties of an OneofDescriptorProto. */
- interface IOneofDescriptorProto {
- /** OneofDescriptorProto name */
- name?: (string|null);
- /** OneofDescriptorProto options */
- options?: (google.protobuf.IOneofOptions|null);
- }
- /** Represents an OneofDescriptorProto. */
- class OneofDescriptorProto implements IOneofDescriptorProto {
- /**
- * Constructs a new OneofDescriptorProto.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IOneofDescriptorProto);
- /** OneofDescriptorProto name. */
- public name: string;
- /** OneofDescriptorProto options. */
- public options?: (google.protobuf.IOneofOptions|null);
- /**
- * Creates a new OneofDescriptorProto instance using the specified properties.
- * @param [properties] Properties to set
- * @returns OneofDescriptorProto instance
- */
- public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto;
- /**
- * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
- * @param message OneofDescriptorProto message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
- * @param message OneofDescriptorProto message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an OneofDescriptorProto message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns OneofDescriptorProto
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto;
- /**
- * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns OneofDescriptorProto
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto;
- /**
- * Verifies an OneofDescriptorProto message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns OneofDescriptorProto
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto;
- /**
- * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified.
- * @param message OneofDescriptorProto
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this OneofDescriptorProto to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of an EnumDescriptorProto. */
- interface IEnumDescriptorProto {
- /** EnumDescriptorProto name */
- name?: (string|null);
- /** EnumDescriptorProto value */
- value?: (google.protobuf.IEnumValueDescriptorProto[]|null);
- /** EnumDescriptorProto options */
- options?: (google.protobuf.IEnumOptions|null);
- /** EnumDescriptorProto reservedRange */
- reservedRange?: (google.protobuf.EnumDescriptorProto.IEnumReservedRange[]|null);
- /** EnumDescriptorProto reservedName */
- reservedName?: (string[]|null);
- }
- /** Represents an EnumDescriptorProto. */
- class EnumDescriptorProto implements IEnumDescriptorProto {
- /**
- * Constructs a new EnumDescriptorProto.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IEnumDescriptorProto);
- /** EnumDescriptorProto name. */
- public name: string;
- /** EnumDescriptorProto value. */
- public value: google.protobuf.IEnumValueDescriptorProto[];
- /** EnumDescriptorProto options. */
- public options?: (google.protobuf.IEnumOptions|null);
- /** EnumDescriptorProto reservedRange. */
- public reservedRange: google.protobuf.EnumDescriptorProto.IEnumReservedRange[];
- /** EnumDescriptorProto reservedName. */
- public reservedName: string[];
- /**
- * Creates a new EnumDescriptorProto instance using the specified properties.
- * @param [properties] Properties to set
- * @returns EnumDescriptorProto instance
- */
- public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto;
- /**
- * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
- * @param message EnumDescriptorProto message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
- * @param message EnumDescriptorProto message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an EnumDescriptorProto message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns EnumDescriptorProto
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto;
- /**
- * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns EnumDescriptorProto
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto;
- /**
- * Verifies an EnumDescriptorProto message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns EnumDescriptorProto
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto;
- /**
- * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified.
- * @param message EnumDescriptorProto
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this EnumDescriptorProto to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- namespace EnumDescriptorProto {
- /** Properties of an EnumReservedRange. */
- interface IEnumReservedRange {
- /** EnumReservedRange start */
- start?: (number|null);
- /** EnumReservedRange end */
- end?: (number|null);
- }
- /** Represents an EnumReservedRange. */
- class EnumReservedRange implements IEnumReservedRange {
- /**
- * Constructs a new EnumReservedRange.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange);
- /** EnumReservedRange start. */
- public start: number;
- /** EnumReservedRange end. */
- public end: number;
- /**
- * Creates a new EnumReservedRange instance using the specified properties.
- * @param [properties] Properties to set
- * @returns EnumReservedRange instance
- */
- public static create(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange): google.protobuf.EnumDescriptorProto.EnumReservedRange;
- /**
- * Encodes the specified EnumReservedRange message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
- * @param message EnumReservedRange message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
- * @param message EnumReservedRange message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an EnumReservedRange message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns EnumReservedRange
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto.EnumReservedRange;
- /**
- * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns EnumReservedRange
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto.EnumReservedRange;
- /**
- * Verifies an EnumReservedRange message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns EnumReservedRange
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto.EnumReservedRange;
- /**
- * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified.
- * @param message EnumReservedRange
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.EnumDescriptorProto.EnumReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this EnumReservedRange to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- }
- /** Properties of an EnumValueDescriptorProto. */
- interface IEnumValueDescriptorProto {
- /** EnumValueDescriptorProto name */
- name?: (string|null);
- /** EnumValueDescriptorProto number */
- number?: (number|null);
- /** EnumValueDescriptorProto options */
- options?: (google.protobuf.IEnumValueOptions|null);
- }
- /** Represents an EnumValueDescriptorProto. */
- class EnumValueDescriptorProto implements IEnumValueDescriptorProto {
- /**
- * Constructs a new EnumValueDescriptorProto.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IEnumValueDescriptorProto);
- /** EnumValueDescriptorProto name. */
- public name: string;
- /** EnumValueDescriptorProto number. */
- public number: number;
- /** EnumValueDescriptorProto options. */
- public options?: (google.protobuf.IEnumValueOptions|null);
- /**
- * Creates a new EnumValueDescriptorProto instance using the specified properties.
- * @param [properties] Properties to set
- * @returns EnumValueDescriptorProto instance
- */
- public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto;
- /**
- * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
- * @param message EnumValueDescriptorProto message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
- * @param message EnumValueDescriptorProto message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an EnumValueDescriptorProto message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns EnumValueDescriptorProto
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto;
- /**
- * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns EnumValueDescriptorProto
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto;
- /**
- * Verifies an EnumValueDescriptorProto message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns EnumValueDescriptorProto
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto;
- /**
- * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified.
- * @param message EnumValueDescriptorProto
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this EnumValueDescriptorProto to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a ServiceDescriptorProto. */
- interface IServiceDescriptorProto {
- /** ServiceDescriptorProto name */
- name?: (string|null);
- /** ServiceDescriptorProto method */
- method?: (google.protobuf.IMethodDescriptorProto[]|null);
- /** ServiceDescriptorProto options */
- options?: (google.protobuf.IServiceOptions|null);
- }
- /** Represents a ServiceDescriptorProto. */
- class ServiceDescriptorProto implements IServiceDescriptorProto {
- /**
- * Constructs a new ServiceDescriptorProto.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IServiceDescriptorProto);
- /** ServiceDescriptorProto name. */
- public name: string;
- /** ServiceDescriptorProto method. */
- public method: google.protobuf.IMethodDescriptorProto[];
- /** ServiceDescriptorProto options. */
- public options?: (google.protobuf.IServiceOptions|null);
- /**
- * Creates a new ServiceDescriptorProto instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ServiceDescriptorProto instance
- */
- public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto;
- /**
- * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
- * @param message ServiceDescriptorProto message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
- * @param message ServiceDescriptorProto message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a ServiceDescriptorProto message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ServiceDescriptorProto
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto;
- /**
- * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ServiceDescriptorProto
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto;
- /**
- * Verifies a ServiceDescriptorProto message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns ServiceDescriptorProto
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto;
- /**
- * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified.
- * @param message ServiceDescriptorProto
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ServiceDescriptorProto to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a MethodDescriptorProto. */
- interface IMethodDescriptorProto {
- /** MethodDescriptorProto name */
- name?: (string|null);
- /** MethodDescriptorProto inputType */
- inputType?: (string|null);
- /** MethodDescriptorProto outputType */
- outputType?: (string|null);
- /** MethodDescriptorProto options */
- options?: (google.protobuf.IMethodOptions|null);
- /** MethodDescriptorProto clientStreaming */
- clientStreaming?: (boolean|null);
- /** MethodDescriptorProto serverStreaming */
- serverStreaming?: (boolean|null);
- }
- /** Represents a MethodDescriptorProto. */
- class MethodDescriptorProto implements IMethodDescriptorProto {
- /**
- * Constructs a new MethodDescriptorProto.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IMethodDescriptorProto);
- /** MethodDescriptorProto name. */
- public name: string;
- /** MethodDescriptorProto inputType. */
- public inputType: string;
- /** MethodDescriptorProto outputType. */
- public outputType: string;
- /** MethodDescriptorProto options. */
- public options?: (google.protobuf.IMethodOptions|null);
- /** MethodDescriptorProto clientStreaming. */
- public clientStreaming: boolean;
- /** MethodDescriptorProto serverStreaming. */
- public serverStreaming: boolean;
- /**
- * Creates a new MethodDescriptorProto instance using the specified properties.
- * @param [properties] Properties to set
- * @returns MethodDescriptorProto instance
- */
- public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto;
- /**
- * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
- * @param message MethodDescriptorProto message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
- * @param message MethodDescriptorProto message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a MethodDescriptorProto message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns MethodDescriptorProto
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto;
- /**
- * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns MethodDescriptorProto
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto;
- /**
- * Verifies a MethodDescriptorProto message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns MethodDescriptorProto
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto;
- /**
- * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
- * @param message MethodDescriptorProto
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this MethodDescriptorProto to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a FileOptions. */
- interface IFileOptions {
- /** FileOptions javaPackage */
- javaPackage?: (string|null);
- /** FileOptions javaOuterClassname */
- javaOuterClassname?: (string|null);
- /** FileOptions javaMultipleFiles */
- javaMultipleFiles?: (boolean|null);
- /** FileOptions javaGenerateEqualsAndHash */
- javaGenerateEqualsAndHash?: (boolean|null);
- /** FileOptions javaStringCheckUtf8 */
- javaStringCheckUtf8?: (boolean|null);
- /** FileOptions optimizeFor */
- optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|null);
- /** FileOptions goPackage */
- goPackage?: (string|null);
- /** FileOptions ccGenericServices */
- ccGenericServices?: (boolean|null);
- /** FileOptions javaGenericServices */
- javaGenericServices?: (boolean|null);
- /** FileOptions pyGenericServices */
- pyGenericServices?: (boolean|null);
- /** FileOptions phpGenericServices */
- phpGenericServices?: (boolean|null);
- /** FileOptions deprecated */
- deprecated?: (boolean|null);
- /** FileOptions ccEnableArenas */
- ccEnableArenas?: (boolean|null);
- /** FileOptions objcClassPrefix */
- objcClassPrefix?: (string|null);
- /** FileOptions csharpNamespace */
- csharpNamespace?: (string|null);
- /** FileOptions swiftPrefix */
- swiftPrefix?: (string|null);
- /** FileOptions phpClassPrefix */
- phpClassPrefix?: (string|null);
- /** FileOptions phpNamespace */
- phpNamespace?: (string|null);
- /** FileOptions phpMetadataNamespace */
- phpMetadataNamespace?: (string|null);
- /** FileOptions rubyPackage */
- rubyPackage?: (string|null);
- /** FileOptions uninterpretedOption */
- uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
- }
- /** Represents a FileOptions. */
- class FileOptions implements IFileOptions {
- /**
- * Constructs a new FileOptions.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IFileOptions);
- /** FileOptions javaPackage. */
- public javaPackage: string;
- /** FileOptions javaOuterClassname. */
- public javaOuterClassname: string;
- /** FileOptions javaMultipleFiles. */
- public javaMultipleFiles: boolean;
- /** FileOptions javaGenerateEqualsAndHash. */
- public javaGenerateEqualsAndHash: boolean;
- /** FileOptions javaStringCheckUtf8. */
- public javaStringCheckUtf8: boolean;
- /** FileOptions optimizeFor. */
- public optimizeFor: google.protobuf.FileOptions.OptimizeMode;
- /** FileOptions goPackage. */
- public goPackage: string;
- /** FileOptions ccGenericServices. */
- public ccGenericServices: boolean;
- /** FileOptions javaGenericServices. */
- public javaGenericServices: boolean;
- /** FileOptions pyGenericServices. */
- public pyGenericServices: boolean;
- /** FileOptions phpGenericServices. */
- public phpGenericServices: boolean;
- /** FileOptions deprecated. */
- public deprecated: boolean;
- /** FileOptions ccEnableArenas. */
- public ccEnableArenas: boolean;
- /** FileOptions objcClassPrefix. */
- public objcClassPrefix: string;
- /** FileOptions csharpNamespace. */
- public csharpNamespace: string;
- /** FileOptions swiftPrefix. */
- public swiftPrefix: string;
- /** FileOptions phpClassPrefix. */
- public phpClassPrefix: string;
- /** FileOptions phpNamespace. */
- public phpNamespace: string;
- /** FileOptions phpMetadataNamespace. */
- public phpMetadataNamespace: string;
- /** FileOptions rubyPackage. */
- public rubyPackage: string;
- /** FileOptions uninterpretedOption. */
- public uninterpretedOption: google.protobuf.IUninterpretedOption[];
- /**
- * Creates a new FileOptions instance using the specified properties.
- * @param [properties] Properties to set
- * @returns FileOptions instance
- */
- public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions;
- /**
- * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
- * @param message FileOptions message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
- * @param message FileOptions message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a FileOptions message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns FileOptions
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions;
- /**
- * Decodes a FileOptions message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns FileOptions
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions;
- /**
- * Verifies a FileOptions message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns FileOptions
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions;
- /**
- * Creates a plain object from a FileOptions message. Also converts values to other types if specified.
- * @param message FileOptions
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this FileOptions to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- namespace FileOptions {
- /** OptimizeMode enum. */
- enum OptimizeMode {
- SPEED = 1,
- CODE_SIZE = 2,
- LITE_RUNTIME = 3
- }
- }
- /** Properties of a MessageOptions. */
- interface IMessageOptions {
- /** MessageOptions messageSetWireFormat */
- messageSetWireFormat?: (boolean|null);
- /** MessageOptions noStandardDescriptorAccessor */
- noStandardDescriptorAccessor?: (boolean|null);
- /** MessageOptions deprecated */
- deprecated?: (boolean|null);
- /** MessageOptions mapEntry */
- mapEntry?: (boolean|null);
- /** MessageOptions uninterpretedOption */
- uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
- }
- /** Represents a MessageOptions. */
- class MessageOptions implements IMessageOptions {
- /**
- * Constructs a new MessageOptions.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IMessageOptions);
- /** MessageOptions messageSetWireFormat. */
- public messageSetWireFormat: boolean;
- /** MessageOptions noStandardDescriptorAccessor. */
- public noStandardDescriptorAccessor: boolean;
- /** MessageOptions deprecated. */
- public deprecated: boolean;
- /** MessageOptions mapEntry. */
- public mapEntry: boolean;
- /** MessageOptions uninterpretedOption. */
- public uninterpretedOption: google.protobuf.IUninterpretedOption[];
- /**
- * Creates a new MessageOptions instance using the specified properties.
- * @param [properties] Properties to set
- * @returns MessageOptions instance
- */
- public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions;
- /**
- * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
- * @param message MessageOptions message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
- * @param message MessageOptions message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a MessageOptions message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns MessageOptions
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions;
- /**
- * Decodes a MessageOptions message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns MessageOptions
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions;
- /**
- * Verifies a MessageOptions message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns MessageOptions
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions;
- /**
- * Creates a plain object from a MessageOptions message. Also converts values to other types if specified.
- * @param message MessageOptions
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this MessageOptions to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a FieldOptions. */
- interface IFieldOptions {
- /** FieldOptions ctype */
- ctype?: (google.protobuf.FieldOptions.CType|null);
- /** FieldOptions packed */
- packed?: (boolean|null);
- /** FieldOptions jstype */
- jstype?: (google.protobuf.FieldOptions.JSType|null);
- /** FieldOptions lazy */
- lazy?: (boolean|null);
- /** FieldOptions deprecated */
- deprecated?: (boolean|null);
- /** FieldOptions weak */
- weak?: (boolean|null);
- /** FieldOptions uninterpretedOption */
- uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
- }
- /** Represents a FieldOptions. */
- class FieldOptions implements IFieldOptions {
- /**
- * Constructs a new FieldOptions.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IFieldOptions);
- /** FieldOptions ctype. */
- public ctype: google.protobuf.FieldOptions.CType;
- /** FieldOptions packed. */
- public packed: boolean;
- /** FieldOptions jstype. */
- public jstype: google.protobuf.FieldOptions.JSType;
- /** FieldOptions lazy. */
- public lazy: boolean;
- /** FieldOptions deprecated. */
- public deprecated: boolean;
- /** FieldOptions weak. */
- public weak: boolean;
- /** FieldOptions uninterpretedOption. */
- public uninterpretedOption: google.protobuf.IUninterpretedOption[];
- /**
- * Creates a new FieldOptions instance using the specified properties.
- * @param [properties] Properties to set
- * @returns FieldOptions instance
- */
- public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions;
- /**
- * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
- * @param message FieldOptions message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
- * @param message FieldOptions message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a FieldOptions message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns FieldOptions
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions;
- /**
- * Decodes a FieldOptions message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns FieldOptions
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions;
- /**
- * Verifies a FieldOptions message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns FieldOptions
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions;
- /**
- * Creates a plain object from a FieldOptions message. Also converts values to other types if specified.
- * @param message FieldOptions
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this FieldOptions to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- namespace FieldOptions {
- /** CType enum. */
- enum CType {
- STRING = 0,
- CORD = 1,
- STRING_PIECE = 2
- }
- /** JSType enum. */
- enum JSType {
- JS_NORMAL = 0,
- JS_STRING = 1,
- JS_NUMBER = 2
- }
- }
- /** Properties of an OneofOptions. */
- interface IOneofOptions {
- /** OneofOptions uninterpretedOption */
- uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
- }
- /** Represents an OneofOptions. */
- class OneofOptions implements IOneofOptions {
- /**
- * Constructs a new OneofOptions.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IOneofOptions);
- /** OneofOptions uninterpretedOption. */
- public uninterpretedOption: google.protobuf.IUninterpretedOption[];
- /**
- * Creates a new OneofOptions instance using the specified properties.
- * @param [properties] Properties to set
- * @returns OneofOptions instance
- */
- public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions;
- /**
- * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
- * @param message OneofOptions message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
- * @param message OneofOptions message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an OneofOptions message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns OneofOptions
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions;
- /**
- * Decodes an OneofOptions message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns OneofOptions
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions;
- /**
- * Verifies an OneofOptions message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns OneofOptions
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions;
- /**
- * Creates a plain object from an OneofOptions message. Also converts values to other types if specified.
- * @param message OneofOptions
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this OneofOptions to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of an EnumOptions. */
- interface IEnumOptions {
- /** EnumOptions allowAlias */
- allowAlias?: (boolean|null);
- /** EnumOptions deprecated */
- deprecated?: (boolean|null);
- /** EnumOptions uninterpretedOption */
- uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
- }
- /** Represents an EnumOptions. */
- class EnumOptions implements IEnumOptions {
- /**
- * Constructs a new EnumOptions.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IEnumOptions);
- /** EnumOptions allowAlias. */
- public allowAlias: boolean;
- /** EnumOptions deprecated. */
- public deprecated: boolean;
- /** EnumOptions uninterpretedOption. */
- public uninterpretedOption: google.protobuf.IUninterpretedOption[];
- /**
- * Creates a new EnumOptions instance using the specified properties.
- * @param [properties] Properties to set
- * @returns EnumOptions instance
- */
- public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions;
- /**
- * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
- * @param message EnumOptions message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
- * @param message EnumOptions message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an EnumOptions message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns EnumOptions
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions;
- /**
- * Decodes an EnumOptions message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns EnumOptions
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions;
- /**
- * Verifies an EnumOptions message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns EnumOptions
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions;
- /**
- * Creates a plain object from an EnumOptions message. Also converts values to other types if specified.
- * @param message EnumOptions
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this EnumOptions to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of an EnumValueOptions. */
- interface IEnumValueOptions {
- /** EnumValueOptions deprecated */
- deprecated?: (boolean|null);
- /** EnumValueOptions uninterpretedOption */
- uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
- }
- /** Represents an EnumValueOptions. */
- class EnumValueOptions implements IEnumValueOptions {
- /**
- * Constructs a new EnumValueOptions.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IEnumValueOptions);
- /** EnumValueOptions deprecated. */
- public deprecated: boolean;
- /** EnumValueOptions uninterpretedOption. */
- public uninterpretedOption: google.protobuf.IUninterpretedOption[];
- /**
- * Creates a new EnumValueOptions instance using the specified properties.
- * @param [properties] Properties to set
- * @returns EnumValueOptions instance
- */
- public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions;
- /**
- * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
- * @param message EnumValueOptions message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
- * @param message EnumValueOptions message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an EnumValueOptions message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns EnumValueOptions
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions;
- /**
- * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns EnumValueOptions
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions;
- /**
- * Verifies an EnumValueOptions message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns EnumValueOptions
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions;
- /**
- * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified.
- * @param message EnumValueOptions
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this EnumValueOptions to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a ServiceOptions. */
- interface IServiceOptions {
- /** ServiceOptions deprecated */
- deprecated?: (boolean|null);
- /** ServiceOptions uninterpretedOption */
- uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
- /** ServiceOptions .google.api.defaultHost */
- ".google.api.defaultHost"?: (string|null);
- /** ServiceOptions .google.api.oauthScopes */
- ".google.api.oauthScopes"?: (string|null);
- }
- /** Represents a ServiceOptions. */
- class ServiceOptions implements IServiceOptions {
- /**
- * Constructs a new ServiceOptions.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IServiceOptions);
- /** ServiceOptions deprecated. */
- public deprecated: boolean;
- /** ServiceOptions uninterpretedOption. */
- public uninterpretedOption: google.protobuf.IUninterpretedOption[];
- /**
- * Creates a new ServiceOptions instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ServiceOptions instance
- */
- public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions;
- /**
- * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
- * @param message ServiceOptions message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
- * @param message ServiceOptions message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a ServiceOptions message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ServiceOptions
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions;
- /**
- * Decodes a ServiceOptions message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ServiceOptions
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions;
- /**
- * Verifies a ServiceOptions message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns ServiceOptions
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions;
- /**
- * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified.
- * @param message ServiceOptions
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ServiceOptions to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a MethodOptions. */
- interface IMethodOptions {
- /** MethodOptions deprecated */
- deprecated?: (boolean|null);
- /** MethodOptions idempotencyLevel */
- idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|null);
- /** MethodOptions uninterpretedOption */
- uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
- /** MethodOptions .google.longrunning.operationInfo */
- ".google.longrunning.operationInfo"?: (google.longrunning.IOperationInfo|null);
- /** MethodOptions .google.api.http */
- ".google.api.http"?: (google.api.IHttpRule|null);
- /** MethodOptions .google.api.methodSignature */
- ".google.api.methodSignature"?: (string[]|null);
- }
- /** Represents a MethodOptions. */
- class MethodOptions implements IMethodOptions {
- /**
- * Constructs a new MethodOptions.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IMethodOptions);
- /** MethodOptions deprecated. */
- public deprecated: boolean;
- /** MethodOptions idempotencyLevel. */
- public idempotencyLevel: google.protobuf.MethodOptions.IdempotencyLevel;
- /** MethodOptions uninterpretedOption. */
- public uninterpretedOption: google.protobuf.IUninterpretedOption[];
- /**
- * Creates a new MethodOptions instance using the specified properties.
- * @param [properties] Properties to set
- * @returns MethodOptions instance
- */
- public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions;
- /**
- * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
- * @param message MethodOptions message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
- * @param message MethodOptions message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a MethodOptions message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns MethodOptions
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions;
- /**
- * Decodes a MethodOptions message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns MethodOptions
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions;
- /**
- * Verifies a MethodOptions message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns MethodOptions
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions;
- /**
- * Creates a plain object from a MethodOptions message. Also converts values to other types if specified.
- * @param message MethodOptions
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this MethodOptions to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- namespace MethodOptions {
- /** IdempotencyLevel enum. */
- enum IdempotencyLevel {
- IDEMPOTENCY_UNKNOWN = 0,
- NO_SIDE_EFFECTS = 1,
- IDEMPOTENT = 2
- }
- }
- /** Properties of an UninterpretedOption. */
- interface IUninterpretedOption {
- /** UninterpretedOption name */
- name?: (google.protobuf.UninterpretedOption.INamePart[]|null);
- /** UninterpretedOption identifierValue */
- identifierValue?: (string|null);
- /** UninterpretedOption positiveIntValue */
- positiveIntValue?: (number|Long|null);
- /** UninterpretedOption negativeIntValue */
- negativeIntValue?: (number|Long|null);
- /** UninterpretedOption doubleValue */
- doubleValue?: (number|null);
- /** UninterpretedOption stringValue */
- stringValue?: (Uint8Array|null);
- /** UninterpretedOption aggregateValue */
- aggregateValue?: (string|null);
- }
- /** Represents an UninterpretedOption. */
- class UninterpretedOption implements IUninterpretedOption {
- /**
- * Constructs a new UninterpretedOption.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IUninterpretedOption);
- /** UninterpretedOption name. */
- public name: google.protobuf.UninterpretedOption.INamePart[];
- /** UninterpretedOption identifierValue. */
- public identifierValue: string;
- /** UninterpretedOption positiveIntValue. */
- public positiveIntValue: (number|Long);
- /** UninterpretedOption negativeIntValue. */
- public negativeIntValue: (number|Long);
- /** UninterpretedOption doubleValue. */
- public doubleValue: number;
- /** UninterpretedOption stringValue. */
- public stringValue: Uint8Array;
- /** UninterpretedOption aggregateValue. */
- public aggregateValue: string;
- /**
- * Creates a new UninterpretedOption instance using the specified properties.
- * @param [properties] Properties to set
- * @returns UninterpretedOption instance
- */
- public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption;
- /**
- * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
- * @param message UninterpretedOption message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
- * @param message UninterpretedOption message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an UninterpretedOption message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns UninterpretedOption
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption;
- /**
- * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns UninterpretedOption
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption;
- /**
- * Verifies an UninterpretedOption message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns UninterpretedOption
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption;
- /**
- * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified.
- * @param message UninterpretedOption
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this UninterpretedOption to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- namespace UninterpretedOption {
- /** Properties of a NamePart. */
- interface INamePart {
- /** NamePart namePart */
- namePart: string;
- /** NamePart isExtension */
- isExtension: boolean;
- }
- /** Represents a NamePart. */
- class NamePart implements INamePart {
- /**
- * Constructs a new NamePart.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.UninterpretedOption.INamePart);
- /** NamePart namePart. */
- public namePart: string;
- /** NamePart isExtension. */
- public isExtension: boolean;
- /**
- * Creates a new NamePart instance using the specified properties.
- * @param [properties] Properties to set
- * @returns NamePart instance
- */
- public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart;
- /**
- * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
- * @param message NamePart message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
- * @param message NamePart message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a NamePart message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns NamePart
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart;
- /**
- * Decodes a NamePart message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns NamePart
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart;
- /**
- * Verifies a NamePart message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a NamePart message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns NamePart
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart;
- /**
- * Creates a plain object from a NamePart message. Also converts values to other types if specified.
- * @param message NamePart
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this NamePart to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- }
- /** Properties of a SourceCodeInfo. */
- interface ISourceCodeInfo {
- /** SourceCodeInfo location */
- location?: (google.protobuf.SourceCodeInfo.ILocation[]|null);
- }
- /** Represents a SourceCodeInfo. */
- class SourceCodeInfo implements ISourceCodeInfo {
- /**
- * Constructs a new SourceCodeInfo.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.ISourceCodeInfo);
- /** SourceCodeInfo location. */
- public location: google.protobuf.SourceCodeInfo.ILocation[];
- /**
- * Creates a new SourceCodeInfo instance using the specified properties.
- * @param [properties] Properties to set
- * @returns SourceCodeInfo instance
- */
- public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
- /**
- * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
- * @param message SourceCodeInfo message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
- * @param message SourceCodeInfo message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a SourceCodeInfo message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns SourceCodeInfo
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo;
- /**
- * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns SourceCodeInfo
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo;
- /**
- * Verifies a SourceCodeInfo message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns SourceCodeInfo
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
- /**
- * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
- * @param message SourceCodeInfo
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this SourceCodeInfo to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- namespace SourceCodeInfo {
- /** Properties of a Location. */
- interface ILocation {
- /** Location path */
- path?: (number[]|null);
- /** Location span */
- span?: (number[]|null);
- /** Location leadingComments */
- leadingComments?: (string|null);
- /** Location trailingComments */
- trailingComments?: (string|null);
- /** Location leadingDetachedComments */
- leadingDetachedComments?: (string[]|null);
- }
- /** Represents a Location. */
- class Location implements ILocation {
- /**
- * Constructs a new Location.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
- /** Location path. */
- public path: number[];
- /** Location span. */
- public span: number[];
- /** Location leadingComments. */
- public leadingComments: string;
- /** Location trailingComments. */
- public trailingComments: string;
- /** Location leadingDetachedComments. */
- public leadingDetachedComments: string[];
- /**
- * Creates a new Location instance using the specified properties.
- * @param [properties] Properties to set
- * @returns Location instance
- */
- public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location;
- /**
- * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
- * @param message Location message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
- * @param message Location message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a Location message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns Location
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location;
- /**
- * Decodes a Location message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns Location
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location;
- /**
- * Verifies a Location message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a Location message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns Location
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location;
- /**
- * Creates a plain object from a Location message. Also converts values to other types if specified.
- * @param message Location
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this Location to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- }
- /** Properties of a GeneratedCodeInfo. */
- interface IGeneratedCodeInfo {
- /** GeneratedCodeInfo annotation */
- annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null);
- }
- /** Represents a GeneratedCodeInfo. */
- class GeneratedCodeInfo implements IGeneratedCodeInfo {
- /**
- * Constructs a new GeneratedCodeInfo.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IGeneratedCodeInfo);
- /** GeneratedCodeInfo annotation. */
- public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[];
- /**
- * Creates a new GeneratedCodeInfo instance using the specified properties.
- * @param [properties] Properties to set
- * @returns GeneratedCodeInfo instance
- */
- public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo;
- /**
- * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
- * @param message GeneratedCodeInfo message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
- * @param message GeneratedCodeInfo message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a GeneratedCodeInfo message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns GeneratedCodeInfo
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo;
- /**
- * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns GeneratedCodeInfo
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo;
- /**
- * Verifies a GeneratedCodeInfo message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns GeneratedCodeInfo
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo;
- /**
- * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified.
- * @param message GeneratedCodeInfo
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this GeneratedCodeInfo to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- namespace GeneratedCodeInfo {
- /** Properties of an Annotation. */
- interface IAnnotation {
- /** Annotation path */
- path?: (number[]|null);
- /** Annotation sourceFile */
- sourceFile?: (string|null);
- /** Annotation begin */
- begin?: (number|null);
- /** Annotation end */
- end?: (number|null);
- }
- /** Represents an Annotation. */
- class Annotation implements IAnnotation {
- /**
- * Constructs a new Annotation.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation);
- /** Annotation path. */
- public path: number[];
- /** Annotation sourceFile. */
- public sourceFile: string;
- /** Annotation begin. */
- public begin: number;
- /** Annotation end. */
- public end: number;
- /**
- * Creates a new Annotation instance using the specified properties.
- * @param [properties] Properties to set
- * @returns Annotation instance
- */
- public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation;
- /**
- * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
- * @param message Annotation message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
- * @param message Annotation message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an Annotation message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns Annotation
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation;
- /**
- * Decodes an Annotation message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns Annotation
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation;
- /**
- * Verifies an Annotation message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an Annotation message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns Annotation
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation;
- /**
- * Creates a plain object from an Annotation message. Also converts values to other types if specified.
- * @param message Annotation
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this Annotation to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- }
- /** Properties of an Any. */
- interface IAny {
- /** Any type_url */
- type_url?: (string|null);
- /** Any value */
- value?: (Uint8Array|null);
- }
- /** Represents an Any. */
- class Any implements IAny {
- /**
- * Constructs a new Any.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IAny);
- /** Any type_url. */
- public type_url: string;
- /** Any value. */
- public value: Uint8Array;
- /**
- * Creates a new Any instance using the specified properties.
- * @param [properties] Properties to set
- * @returns Any instance
- */
- public static create(properties?: google.protobuf.IAny): google.protobuf.Any;
- /**
- * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
- * @param message Any message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
- * @param message Any message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an Any message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns Any
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any;
- /**
- * Decodes an Any message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns Any
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Any;
- /**
- * Verifies an Any message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an Any message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns Any
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.Any;
- /**
- * Creates a plain object from an Any message. Also converts values to other types if specified.
- * @param message Any
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this Any to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a Duration. */
- interface IDuration {
- /** Duration seconds */
- seconds?: (number|Long|null);
- /** Duration nanos */
- nanos?: (number|null);
- }
- /** Represents a Duration. */
- class Duration implements IDuration {
- /**
- * Constructs a new Duration.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IDuration);
- /** Duration seconds. */
- public seconds: (number|Long);
- /** Duration nanos. */
- public nanos: number;
- /**
- * Creates a new Duration instance using the specified properties.
- * @param [properties] Properties to set
- * @returns Duration instance
- */
- public static create(properties?: google.protobuf.IDuration): google.protobuf.Duration;
- /**
- * Encodes the specified Duration message. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
- * @param message Duration message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified Duration message, length delimited. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
- * @param message Duration message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a Duration message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns Duration
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Duration;
- /**
- * Decodes a Duration message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns Duration
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Duration;
- /**
- * Verifies a Duration message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a Duration message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns Duration
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.Duration;
- /**
- * Creates a plain object from a Duration message. Also converts values to other types if specified.
- * @param message Duration
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this Duration to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of an Empty. */
- interface IEmpty {
- }
- /** Represents an Empty. */
- class Empty implements IEmpty {
- /**
- * Constructs a new Empty.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.IEmpty);
- /**
- * Creates a new Empty instance using the specified properties.
- * @param [properties] Properties to set
- * @returns Empty instance
- */
- public static create(properties?: google.protobuf.IEmpty): google.protobuf.Empty;
- /**
- * Encodes the specified Empty message. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
- * @param message Empty message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified Empty message, length delimited. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
- * @param message Empty message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an Empty message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns Empty
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Empty;
- /**
- * Decodes an Empty message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns Empty
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Empty;
- /**
- * Verifies an Empty message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates an Empty message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns Empty
- */
- public static fromObject(object: { [k: string]: any }): google.protobuf.Empty;
- /**
- * Creates a plain object from an Empty message. Also converts values to other types if specified.
- * @param message Empty
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.Empty, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this Empty to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- }
- /** Namespace rpc. */
- namespace rpc {
- /** Properties of a Status. */
- interface IStatus {
- /** Status code */
- code?: (number|null);
- /** Status message */
- message?: (string|null);
- /** Status details */
- details?: (google.protobuf.IAny[]|null);
- }
- /** Represents a Status. */
- class Status implements IStatus {
- /**
- * Constructs a new Status.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.rpc.IStatus);
- /** Status code. */
- public code: number;
- /** Status message. */
- public message: string;
- /** Status details. */
- public details: google.protobuf.IAny[];
- /**
- * Creates a new Status instance using the specified properties.
- * @param [properties] Properties to set
- * @returns Status instance
- */
- public static create(properties?: google.rpc.IStatus): google.rpc.Status;
- /**
- * Encodes the specified Status message. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
- * @param message Status message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified Status message, length delimited. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
- * @param message Status message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a Status message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns Status
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.rpc.Status;
- /**
- * Decodes a Status message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns Status
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.rpc.Status;
- /**
- * Verifies a Status message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Creates a Status message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns Status
- */
- public static fromObject(object: { [k: string]: any }): google.rpc.Status;
- /**
- * Creates a plain object from a Status message. Also converts values to other types if specified.
- * @param message Status
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.rpc.Status, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this Status to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- }
- }
|