1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896 |
- import * as $protobuf from "@apollo/protobufjs";
- /** Properties of a Trace. */
- export interface ITrace {
- /** Trace startTime */
- startTime?: (google.protobuf.ITimestamp|null);
- /** Trace endTime */
- endTime?: (google.protobuf.ITimestamp|null);
- /** Trace durationNs */
- durationNs?: (number|null);
- /** Trace root */
- root?: (Trace.INode|null);
- /** Trace signature */
- signature?: (string|null);
- /** Trace unexecutedOperationBody */
- unexecutedOperationBody?: (string|null);
- /** Trace unexecutedOperationName */
- unexecutedOperationName?: (string|null);
- /** Trace details */
- details?: (Trace.IDetails|null);
- /** Trace clientName */
- clientName?: (string|null);
- /** Trace clientVersion */
- clientVersion?: (string|null);
- /** Trace clientAddress */
- clientAddress?: (string|null);
- /** Trace clientReferenceId */
- clientReferenceId?: (string|null);
- /** Trace http */
- http?: (Trace.IHTTP|null);
- /** Trace cachePolicy */
- cachePolicy?: (Trace.ICachePolicy|null);
- /** Trace queryPlan */
- queryPlan?: (Trace.IQueryPlanNode|null);
- /** Trace fullQueryCacheHit */
- fullQueryCacheHit?: (boolean|null);
- /** Trace persistedQueryHit */
- persistedQueryHit?: (boolean|null);
- /** Trace persistedQueryRegister */
- persistedQueryRegister?: (boolean|null);
- /** Trace registeredOperation */
- registeredOperation?: (boolean|null);
- /** Trace forbiddenOperation */
- forbiddenOperation?: (boolean|null);
- }
- /** Represents a Trace. */
- export class Trace implements ITrace {
- /**
- * Constructs a new Trace.
- * @param [properties] Properties to set
- */
- constructor(properties?: ITrace);
- /** Trace startTime. */
- public startTime?: (google.protobuf.ITimestamp|null);
- /** Trace endTime. */
- public endTime?: (google.protobuf.ITimestamp|null);
- /** Trace durationNs. */
- public durationNs: number;
- /** Trace root. */
- public root?: (Trace.INode|null);
- /** Trace signature. */
- public signature: string;
- /** Trace unexecutedOperationBody. */
- public unexecutedOperationBody: string;
- /** Trace unexecutedOperationName. */
- public unexecutedOperationName: string;
- /** Trace details. */
- public details?: (Trace.IDetails|null);
- /** Trace clientName. */
- public clientName: string;
- /** Trace clientVersion. */
- public clientVersion: string;
- /** Trace clientAddress. */
- public clientAddress: string;
- /** Trace clientReferenceId. */
- public clientReferenceId: string;
- /** Trace http. */
- public http?: (Trace.IHTTP|null);
- /** Trace cachePolicy. */
- public cachePolicy?: (Trace.ICachePolicy|null);
- /** Trace queryPlan. */
- public queryPlan?: (Trace.IQueryPlanNode|null);
- /** Trace fullQueryCacheHit. */
- public fullQueryCacheHit: boolean;
- /** Trace persistedQueryHit. */
- public persistedQueryHit: boolean;
- /** Trace persistedQueryRegister. */
- public persistedQueryRegister: boolean;
- /** Trace registeredOperation. */
- public registeredOperation: boolean;
- /** Trace forbiddenOperation. */
- public forbiddenOperation: boolean;
- /**
- * Creates a new Trace instance using the specified properties.
- * @param [properties] Properties to set
- * @returns Trace instance
- */
- public static create(properties?: ITrace): Trace;
- /**
- * Encodes the specified Trace message. Does not implicitly {@link Trace.verify|verify} messages.
- * @param message Trace message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: ITrace, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified Trace message, length delimited. Does not implicitly {@link Trace.verify|verify} messages.
- * @param message Trace message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: ITrace, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a Trace message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns Trace
- * @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): Trace;
- /**
- * Decodes a Trace message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns Trace
- * @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)): Trace;
- /**
- * Verifies a Trace 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 plain object from a Trace message. Also converts values to other types if specified.
- * @param message Trace
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: Trace, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this Trace to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- export namespace Trace {
- /** Properties of a CachePolicy. */
- interface ICachePolicy {
- /** CachePolicy scope */
- scope?: (Trace.CachePolicy.Scope|null);
- /** CachePolicy maxAgeNs */
- maxAgeNs?: (number|null);
- }
- /** Represents a CachePolicy. */
- class CachePolicy implements ICachePolicy {
- /**
- * Constructs a new CachePolicy.
- * @param [properties] Properties to set
- */
- constructor(properties?: Trace.ICachePolicy);
- /** CachePolicy scope. */
- public scope: Trace.CachePolicy.Scope;
- /** CachePolicy maxAgeNs. */
- public maxAgeNs: number;
- /**
- * Creates a new CachePolicy instance using the specified properties.
- * @param [properties] Properties to set
- * @returns CachePolicy instance
- */
- public static create(properties?: Trace.ICachePolicy): Trace.CachePolicy;
- /**
- * Encodes the specified CachePolicy message. Does not implicitly {@link Trace.CachePolicy.verify|verify} messages.
- * @param message CachePolicy message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: Trace.ICachePolicy, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified CachePolicy message, length delimited. Does not implicitly {@link Trace.CachePolicy.verify|verify} messages.
- * @param message CachePolicy message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: Trace.ICachePolicy, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a CachePolicy message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns CachePolicy
- * @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): Trace.CachePolicy;
- /**
- * Decodes a CachePolicy message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns CachePolicy
- * @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)): Trace.CachePolicy;
- /**
- * Verifies a CachePolicy 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 plain object from a CachePolicy message. Also converts values to other types if specified.
- * @param message CachePolicy
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: Trace.CachePolicy, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this CachePolicy to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- namespace CachePolicy {
- /** Scope enum. */
- enum Scope {
- UNKNOWN = 0,
- PUBLIC = 1,
- PRIVATE = 2
- }
- }
- /** Properties of a Details. */
- interface IDetails {
- /** Details variablesJson */
- variablesJson?: ({ [k: string]: string }|null);
- /** Details operationName */
- operationName?: (string|null);
- }
- /** Represents a Details. */
- class Details implements IDetails {
- /**
- * Constructs a new Details.
- * @param [properties] Properties to set
- */
- constructor(properties?: Trace.IDetails);
- /** Details variablesJson. */
- public variablesJson: { [k: string]: string };
- /** Details operationName. */
- public operationName: string;
- /**
- * Creates a new Details instance using the specified properties.
- * @param [properties] Properties to set
- * @returns Details instance
- */
- public static create(properties?: Trace.IDetails): Trace.Details;
- /**
- * Encodes the specified Details message. Does not implicitly {@link Trace.Details.verify|verify} messages.
- * @param message Details message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: Trace.IDetails, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified Details message, length delimited. Does not implicitly {@link Trace.Details.verify|verify} messages.
- * @param message Details message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: Trace.IDetails, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a Details message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns Details
- * @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): Trace.Details;
- /**
- * Decodes a Details message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns Details
- * @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)): Trace.Details;
- /**
- * Verifies a Details 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 plain object from a Details message. Also converts values to other types if specified.
- * @param message Details
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: Trace.Details, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this Details to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of an Error. */
- interface IError {
- /** Error message */
- message?: (string|null);
- /** Error location */
- location?: (Trace.ILocation[]|null);
- /** Error timeNs */
- timeNs?: (number|null);
- /** Error json */
- json?: (string|null);
- }
- /** Represents an Error. */
- class Error implements IError {
- /**
- * Constructs a new Error.
- * @param [properties] Properties to set
- */
- constructor(properties?: Trace.IError);
- /** Error message. */
- public message: string;
- /** Error location. */
- public location: Trace.ILocation[];
- /** Error timeNs. */
- public timeNs: number;
- /** Error json. */
- public json: string;
- /**
- * Creates a new Error instance using the specified properties.
- * @param [properties] Properties to set
- * @returns Error instance
- */
- public static create(properties?: Trace.IError): Trace.Error;
- /**
- * Encodes the specified Error message. Does not implicitly {@link Trace.Error.verify|verify} messages.
- * @param message Error message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: Trace.IError, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified Error message, length delimited. Does not implicitly {@link Trace.Error.verify|verify} messages.
- * @param message Error message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: Trace.IError, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes an Error message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns Error
- * @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): Trace.Error;
- /**
- * Decodes an Error message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns Error
- * @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)): Trace.Error;
- /**
- * Verifies an Error 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 plain object from an Error message. Also converts values to other types if specified.
- * @param message Error
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: Trace.Error, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this Error to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a HTTP. */
- interface IHTTP {
- /** HTTP method */
- method?: (Trace.HTTP.Method|null);
- /** HTTP host */
- host?: (string|null);
- /** HTTP path */
- path?: (string|null);
- /** HTTP requestHeaders */
- requestHeaders?: ({ [k: string]: Trace.HTTP.IValues }|null);
- /** HTTP responseHeaders */
- responseHeaders?: ({ [k: string]: Trace.HTTP.IValues }|null);
- /** HTTP statusCode */
- statusCode?: (number|null);
- /** HTTP secure */
- secure?: (boolean|null);
- /** HTTP protocol */
- protocol?: (string|null);
- }
- /** Represents a HTTP. */
- class HTTP implements IHTTP {
- /**
- * Constructs a new HTTP.
- * @param [properties] Properties to set
- */
- constructor(properties?: Trace.IHTTP);
- /** HTTP method. */
- public method: Trace.HTTP.Method;
- /** HTTP host. */
- public host: string;
- /** HTTP path. */
- public path: string;
- /** HTTP requestHeaders. */
- public requestHeaders: { [k: string]: Trace.HTTP.IValues };
- /** HTTP responseHeaders. */
- public responseHeaders: { [k: string]: Trace.HTTP.IValues };
- /** HTTP statusCode. */
- public statusCode: number;
- /** HTTP secure. */
- public secure: boolean;
- /** HTTP protocol. */
- public protocol: string;
- /**
- * Creates a new HTTP instance using the specified properties.
- * @param [properties] Properties to set
- * @returns HTTP instance
- */
- public static create(properties?: Trace.IHTTP): Trace.HTTP;
- /**
- * Encodes the specified HTTP message. Does not implicitly {@link Trace.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: Trace.IHTTP, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified HTTP message, length delimited. Does not implicitly {@link Trace.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: Trace.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): Trace.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)): Trace.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 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: Trace.HTTP, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this HTTP to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- namespace HTTP {
- /** Properties of a Values. */
- interface IValues {
- /** Values value */
- value?: (string[]|null);
- }
- /** Represents a Values. */
- class Values implements IValues {
- /**
- * Constructs a new Values.
- * @param [properties] Properties to set
- */
- constructor(properties?: Trace.HTTP.IValues);
- /** Values value. */
- public value: string[];
- /**
- * Creates a new Values instance using the specified properties.
- * @param [properties] Properties to set
- * @returns Values instance
- */
- public static create(properties?: Trace.HTTP.IValues): Trace.HTTP.Values;
- /**
- * Encodes the specified Values message. Does not implicitly {@link Trace.HTTP.Values.verify|verify} messages.
- * @param message Values message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: Trace.HTTP.IValues, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified Values message, length delimited. Does not implicitly {@link Trace.HTTP.Values.verify|verify} messages.
- * @param message Values message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: Trace.HTTP.IValues, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a Values message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns Values
- * @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): Trace.HTTP.Values;
- /**
- * Decodes a Values message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns Values
- * @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)): Trace.HTTP.Values;
- /**
- * Verifies a Values 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 plain object from a Values message. Also converts values to other types if specified.
- * @param message Values
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: Trace.HTTP.Values, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this Values to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Method enum. */
- enum Method {
- UNKNOWN = 0,
- OPTIONS = 1,
- GET = 2,
- HEAD = 3,
- POST = 4,
- PUT = 5,
- DELETE = 6,
- TRACE = 7,
- CONNECT = 8,
- PATCH = 9
- }
- }
- /** Properties of a Location. */
- interface ILocation {
- /** Location line */
- line?: (number|null);
- /** Location column */
- column?: (number|null);
- }
- /** Represents a Location. */
- class Location implements ILocation {
- /**
- * Constructs a new Location.
- * @param [properties] Properties to set
- */
- constructor(properties?: Trace.ILocation);
- /** Location line. */
- public line: number;
- /** Location column. */
- public column: number;
- /**
- * Creates a new Location instance using the specified properties.
- * @param [properties] Properties to set
- * @returns Location instance
- */
- public static create(properties?: Trace.ILocation): Trace.Location;
- /**
- * Encodes the specified Location message. Does not implicitly {@link Trace.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: Trace.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified Location message, length delimited. Does not implicitly {@link Trace.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: Trace.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): Trace.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)): Trace.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 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: Trace.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this Location to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a Node. */
- interface INode {
- /** Node responseName */
- responseName?: (string|null);
- /** Node index */
- index?: (number|null);
- /** Node originalFieldName */
- originalFieldName?: (string|null);
- /** Node type */
- type?: (string|null);
- /** Node parentType */
- parentType?: (string|null);
- /** Node cachePolicy */
- cachePolicy?: (Trace.ICachePolicy|null);
- /** Node startTime */
- startTime?: (number|null);
- /** Node endTime */
- endTime?: (number|null);
- /** Node error */
- error?: (Trace.IError[]|null);
- /** Node child */
- child?: (Trace.INode[]|null);
- }
- /** Represents a Node. */
- class Node implements INode {
- /**
- * Constructs a new Node.
- * @param [properties] Properties to set
- */
- constructor(properties?: Trace.INode);
- /** Node responseName. */
- public responseName: string;
- /** Node index. */
- public index: number;
- /** Node originalFieldName. */
- public originalFieldName: string;
- /** Node type. */
- public type: string;
- /** Node parentType. */
- public parentType: string;
- /** Node cachePolicy. */
- public cachePolicy?: (Trace.ICachePolicy|null);
- /** Node startTime. */
- public startTime: number;
- /** Node endTime. */
- public endTime: number;
- /** Node error. */
- public error: Trace.IError[];
- /** Node child. */
- public child: Trace.INode[];
- /** Node id. */
- public id?: ("responseName"|"index");
- /**
- * Creates a new Node instance using the specified properties.
- * @param [properties] Properties to set
- * @returns Node instance
- */
- public static create(properties?: Trace.INode): Trace.Node;
- /**
- * Encodes the specified Node message. Does not implicitly {@link Trace.Node.verify|verify} messages.
- * @param message Node message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: Trace.INode, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified Node message, length delimited. Does not implicitly {@link Trace.Node.verify|verify} messages.
- * @param message Node message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: Trace.INode, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a Node message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns Node
- * @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): Trace.Node;
- /**
- * Decodes a Node message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns Node
- * @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)): Trace.Node;
- /**
- * Verifies a Node 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 plain object from a Node message. Also converts values to other types if specified.
- * @param message Node
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: Trace.Node, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this Node to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a QueryPlanNode. */
- interface IQueryPlanNode {
- /** QueryPlanNode sequence */
- sequence?: (Trace.QueryPlanNode.ISequenceNode|null);
- /** QueryPlanNode parallel */
- parallel?: (Trace.QueryPlanNode.IParallelNode|null);
- /** QueryPlanNode fetch */
- fetch?: (Trace.QueryPlanNode.IFetchNode|null);
- /** QueryPlanNode flatten */
- flatten?: (Trace.QueryPlanNode.IFlattenNode|null);
- }
- /** Represents a QueryPlanNode. */
- class QueryPlanNode implements IQueryPlanNode {
- /**
- * Constructs a new QueryPlanNode.
- * @param [properties] Properties to set
- */
- constructor(properties?: Trace.IQueryPlanNode);
- /** QueryPlanNode sequence. */
- public sequence?: (Trace.QueryPlanNode.ISequenceNode|null);
- /** QueryPlanNode parallel. */
- public parallel?: (Trace.QueryPlanNode.IParallelNode|null);
- /** QueryPlanNode fetch. */
- public fetch?: (Trace.QueryPlanNode.IFetchNode|null);
- /** QueryPlanNode flatten. */
- public flatten?: (Trace.QueryPlanNode.IFlattenNode|null);
- /** QueryPlanNode node. */
- public node?: ("sequence"|"parallel"|"fetch"|"flatten");
- /**
- * Creates a new QueryPlanNode instance using the specified properties.
- * @param [properties] Properties to set
- * @returns QueryPlanNode instance
- */
- public static create(properties?: Trace.IQueryPlanNode): Trace.QueryPlanNode;
- /**
- * Encodes the specified QueryPlanNode message. Does not implicitly {@link Trace.QueryPlanNode.verify|verify} messages.
- * @param message QueryPlanNode message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: Trace.IQueryPlanNode, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified QueryPlanNode message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.verify|verify} messages.
- * @param message QueryPlanNode message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: Trace.IQueryPlanNode, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a QueryPlanNode message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns QueryPlanNode
- * @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): Trace.QueryPlanNode;
- /**
- * Decodes a QueryPlanNode message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns QueryPlanNode
- * @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)): Trace.QueryPlanNode;
- /**
- * Verifies a QueryPlanNode 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 plain object from a QueryPlanNode message. Also converts values to other types if specified.
- * @param message QueryPlanNode
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: Trace.QueryPlanNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this QueryPlanNode to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- namespace QueryPlanNode {
- /** Properties of a SequenceNode. */
- interface ISequenceNode {
- /** SequenceNode nodes */
- nodes?: (Trace.IQueryPlanNode[]|null);
- }
- /** Represents a SequenceNode. */
- class SequenceNode implements ISequenceNode {
- /**
- * Constructs a new SequenceNode.
- * @param [properties] Properties to set
- */
- constructor(properties?: Trace.QueryPlanNode.ISequenceNode);
- /** SequenceNode nodes. */
- public nodes: Trace.IQueryPlanNode[];
- /**
- * Creates a new SequenceNode instance using the specified properties.
- * @param [properties] Properties to set
- * @returns SequenceNode instance
- */
- public static create(properties?: Trace.QueryPlanNode.ISequenceNode): Trace.QueryPlanNode.SequenceNode;
- /**
- * Encodes the specified SequenceNode message. Does not implicitly {@link Trace.QueryPlanNode.SequenceNode.verify|verify} messages.
- * @param message SequenceNode message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: Trace.QueryPlanNode.ISequenceNode, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified SequenceNode message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.SequenceNode.verify|verify} messages.
- * @param message SequenceNode message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: Trace.QueryPlanNode.ISequenceNode, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a SequenceNode message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns SequenceNode
- * @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): Trace.QueryPlanNode.SequenceNode;
- /**
- * Decodes a SequenceNode message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns SequenceNode
- * @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)): Trace.QueryPlanNode.SequenceNode;
- /**
- * Verifies a SequenceNode 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 plain object from a SequenceNode message. Also converts values to other types if specified.
- * @param message SequenceNode
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: Trace.QueryPlanNode.SequenceNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this SequenceNode to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a ParallelNode. */
- interface IParallelNode {
- /** ParallelNode nodes */
- nodes?: (Trace.IQueryPlanNode[]|null);
- }
- /** Represents a ParallelNode. */
- class ParallelNode implements IParallelNode {
- /**
- * Constructs a new ParallelNode.
- * @param [properties] Properties to set
- */
- constructor(properties?: Trace.QueryPlanNode.IParallelNode);
- /** ParallelNode nodes. */
- public nodes: Trace.IQueryPlanNode[];
- /**
- * Creates a new ParallelNode instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ParallelNode instance
- */
- public static create(properties?: Trace.QueryPlanNode.IParallelNode): Trace.QueryPlanNode.ParallelNode;
- /**
- * Encodes the specified ParallelNode message. Does not implicitly {@link Trace.QueryPlanNode.ParallelNode.verify|verify} messages.
- * @param message ParallelNode message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: Trace.QueryPlanNode.IParallelNode, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ParallelNode message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.ParallelNode.verify|verify} messages.
- * @param message ParallelNode message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: Trace.QueryPlanNode.IParallelNode, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a ParallelNode message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ParallelNode
- * @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): Trace.QueryPlanNode.ParallelNode;
- /**
- * Decodes a ParallelNode message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ParallelNode
- * @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)): Trace.QueryPlanNode.ParallelNode;
- /**
- * Verifies a ParallelNode 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 plain object from a ParallelNode message. Also converts values to other types if specified.
- * @param message ParallelNode
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: Trace.QueryPlanNode.ParallelNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ParallelNode to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a FetchNode. */
- interface IFetchNode {
- /** FetchNode serviceName */
- serviceName?: (string|null);
- /** FetchNode traceParsingFailed */
- traceParsingFailed?: (boolean|null);
- /** FetchNode trace */
- trace?: (ITrace|null);
- /** FetchNode sentTimeOffset */
- sentTimeOffset?: (number|null);
- /** FetchNode sentTime */
- sentTime?: (google.protobuf.ITimestamp|null);
- /** FetchNode receivedTime */
- receivedTime?: (google.protobuf.ITimestamp|null);
- }
- /** Represents a FetchNode. */
- class FetchNode implements IFetchNode {
- /**
- * Constructs a new FetchNode.
- * @param [properties] Properties to set
- */
- constructor(properties?: Trace.QueryPlanNode.IFetchNode);
- /** FetchNode serviceName. */
- public serviceName: string;
- /** FetchNode traceParsingFailed. */
- public traceParsingFailed: boolean;
- /** FetchNode trace. */
- public trace?: (ITrace|null);
- /** FetchNode sentTimeOffset. */
- public sentTimeOffset: number;
- /** FetchNode sentTime. */
- public sentTime?: (google.protobuf.ITimestamp|null);
- /** FetchNode receivedTime. */
- public receivedTime?: (google.protobuf.ITimestamp|null);
- /**
- * Creates a new FetchNode instance using the specified properties.
- * @param [properties] Properties to set
- * @returns FetchNode instance
- */
- public static create(properties?: Trace.QueryPlanNode.IFetchNode): Trace.QueryPlanNode.FetchNode;
- /**
- * Encodes the specified FetchNode message. Does not implicitly {@link Trace.QueryPlanNode.FetchNode.verify|verify} messages.
- * @param message FetchNode message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: Trace.QueryPlanNode.IFetchNode, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified FetchNode message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.FetchNode.verify|verify} messages.
- * @param message FetchNode message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: Trace.QueryPlanNode.IFetchNode, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a FetchNode message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns FetchNode
- * @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): Trace.QueryPlanNode.FetchNode;
- /**
- * Decodes a FetchNode message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns FetchNode
- * @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)): Trace.QueryPlanNode.FetchNode;
- /**
- * Verifies a FetchNode 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 plain object from a FetchNode message. Also converts values to other types if specified.
- * @param message FetchNode
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: Trace.QueryPlanNode.FetchNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this FetchNode to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a FlattenNode. */
- interface IFlattenNode {
- /** FlattenNode responsePath */
- responsePath?: (Trace.QueryPlanNode.IResponsePathElement[]|null);
- /** FlattenNode node */
- node?: (Trace.IQueryPlanNode|null);
- }
- /** Represents a FlattenNode. */
- class FlattenNode implements IFlattenNode {
- /**
- * Constructs a new FlattenNode.
- * @param [properties] Properties to set
- */
- constructor(properties?: Trace.QueryPlanNode.IFlattenNode);
- /** FlattenNode responsePath. */
- public responsePath: Trace.QueryPlanNode.IResponsePathElement[];
- /** FlattenNode node. */
- public node?: (Trace.IQueryPlanNode|null);
- /**
- * Creates a new FlattenNode instance using the specified properties.
- * @param [properties] Properties to set
- * @returns FlattenNode instance
- */
- public static create(properties?: Trace.QueryPlanNode.IFlattenNode): Trace.QueryPlanNode.FlattenNode;
- /**
- * Encodes the specified FlattenNode message. Does not implicitly {@link Trace.QueryPlanNode.FlattenNode.verify|verify} messages.
- * @param message FlattenNode message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: Trace.QueryPlanNode.IFlattenNode, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified FlattenNode message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.FlattenNode.verify|verify} messages.
- * @param message FlattenNode message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: Trace.QueryPlanNode.IFlattenNode, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a FlattenNode message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns FlattenNode
- * @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): Trace.QueryPlanNode.FlattenNode;
- /**
- * Decodes a FlattenNode message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns FlattenNode
- * @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)): Trace.QueryPlanNode.FlattenNode;
- /**
- * Verifies a FlattenNode 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 plain object from a FlattenNode message. Also converts values to other types if specified.
- * @param message FlattenNode
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: Trace.QueryPlanNode.FlattenNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this FlattenNode to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a ResponsePathElement. */
- interface IResponsePathElement {
- /** ResponsePathElement fieldName */
- fieldName?: (string|null);
- /** ResponsePathElement index */
- index?: (number|null);
- }
- /** Represents a ResponsePathElement. */
- class ResponsePathElement implements IResponsePathElement {
- /**
- * Constructs a new ResponsePathElement.
- * @param [properties] Properties to set
- */
- constructor(properties?: Trace.QueryPlanNode.IResponsePathElement);
- /** ResponsePathElement fieldName. */
- public fieldName: string;
- /** ResponsePathElement index. */
- public index: number;
- /** ResponsePathElement id. */
- public id?: ("fieldName"|"index");
- /**
- * Creates a new ResponsePathElement instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ResponsePathElement instance
- */
- public static create(properties?: Trace.QueryPlanNode.IResponsePathElement): Trace.QueryPlanNode.ResponsePathElement;
- /**
- * Encodes the specified ResponsePathElement message. Does not implicitly {@link Trace.QueryPlanNode.ResponsePathElement.verify|verify} messages.
- * @param message ResponsePathElement message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: Trace.QueryPlanNode.IResponsePathElement, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ResponsePathElement message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.ResponsePathElement.verify|verify} messages.
- * @param message ResponsePathElement message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: Trace.QueryPlanNode.IResponsePathElement, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a ResponsePathElement message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ResponsePathElement
- * @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): Trace.QueryPlanNode.ResponsePathElement;
- /**
- * Decodes a ResponsePathElement message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ResponsePathElement
- * @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)): Trace.QueryPlanNode.ResponsePathElement;
- /**
- * Verifies a ResponsePathElement 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 plain object from a ResponsePathElement message. Also converts values to other types if specified.
- * @param message ResponsePathElement
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: Trace.QueryPlanNode.ResponsePathElement, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ResponsePathElement to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- }
- }
- /** Properties of a ReportHeader. */
- export interface IReportHeader {
- /** ReportHeader graphRef */
- graphRef?: (string|null);
- /** ReportHeader hostname */
- hostname?: (string|null);
- /** ReportHeader agentVersion */
- agentVersion?: (string|null);
- /** ReportHeader serviceVersion */
- serviceVersion?: (string|null);
- /** ReportHeader runtimeVersion */
- runtimeVersion?: (string|null);
- /** ReportHeader uname */
- uname?: (string|null);
- /** ReportHeader executableSchemaId */
- executableSchemaId?: (string|null);
- }
- /** Represents a ReportHeader. */
- export class ReportHeader implements IReportHeader {
- /**
- * Constructs a new ReportHeader.
- * @param [properties] Properties to set
- */
- constructor(properties?: IReportHeader);
- /** ReportHeader graphRef. */
- public graphRef: string;
- /** ReportHeader hostname. */
- public hostname: string;
- /** ReportHeader agentVersion. */
- public agentVersion: string;
- /** ReportHeader serviceVersion. */
- public serviceVersion: string;
- /** ReportHeader runtimeVersion. */
- public runtimeVersion: string;
- /** ReportHeader uname. */
- public uname: string;
- /** ReportHeader executableSchemaId. */
- public executableSchemaId: string;
- /**
- * Creates a new ReportHeader instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ReportHeader instance
- */
- public static create(properties?: IReportHeader): ReportHeader;
- /**
- * Encodes the specified ReportHeader message. Does not implicitly {@link ReportHeader.verify|verify} messages.
- * @param message ReportHeader message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IReportHeader, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ReportHeader message, length delimited. Does not implicitly {@link ReportHeader.verify|verify} messages.
- * @param message ReportHeader message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IReportHeader, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a ReportHeader message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ReportHeader
- * @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): ReportHeader;
- /**
- * Decodes a ReportHeader message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ReportHeader
- * @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)): ReportHeader;
- /**
- * Verifies a ReportHeader 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 plain object from a ReportHeader message. Also converts values to other types if specified.
- * @param message ReportHeader
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: ReportHeader, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ReportHeader to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a PathErrorStats. */
- export interface IPathErrorStats {
- /** PathErrorStats children */
- children?: ({ [k: string]: IPathErrorStats }|null);
- /** PathErrorStats errorsCount */
- errorsCount?: (number|null);
- /** PathErrorStats requestsWithErrorsCount */
- requestsWithErrorsCount?: (number|null);
- }
- /** Represents a PathErrorStats. */
- export class PathErrorStats implements IPathErrorStats {
- /**
- * Constructs a new PathErrorStats.
- * @param [properties] Properties to set
- */
- constructor(properties?: IPathErrorStats);
- /** PathErrorStats children. */
- public children: { [k: string]: IPathErrorStats };
- /** PathErrorStats errorsCount. */
- public errorsCount: number;
- /** PathErrorStats requestsWithErrorsCount. */
- public requestsWithErrorsCount: number;
- /**
- * Creates a new PathErrorStats instance using the specified properties.
- * @param [properties] Properties to set
- * @returns PathErrorStats instance
- */
- public static create(properties?: IPathErrorStats): PathErrorStats;
- /**
- * Encodes the specified PathErrorStats message. Does not implicitly {@link PathErrorStats.verify|verify} messages.
- * @param message PathErrorStats message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IPathErrorStats, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified PathErrorStats message, length delimited. Does not implicitly {@link PathErrorStats.verify|verify} messages.
- * @param message PathErrorStats message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IPathErrorStats, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a PathErrorStats message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns PathErrorStats
- * @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): PathErrorStats;
- /**
- * Decodes a PathErrorStats message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns PathErrorStats
- * @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)): PathErrorStats;
- /**
- * Verifies a PathErrorStats 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 plain object from a PathErrorStats message. Also converts values to other types if specified.
- * @param message PathErrorStats
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: PathErrorStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this PathErrorStats to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a QueryLatencyStats. */
- export interface IQueryLatencyStats {
- /** QueryLatencyStats latencyCount */
- latencyCount?: ($protobuf.ToArray<number>|number[]|null);
- /** QueryLatencyStats requestCount */
- requestCount?: (number|null);
- /** QueryLatencyStats cacheHits */
- cacheHits?: (number|null);
- /** QueryLatencyStats persistedQueryHits */
- persistedQueryHits?: (number|null);
- /** QueryLatencyStats persistedQueryMisses */
- persistedQueryMisses?: (number|null);
- /** QueryLatencyStats cacheLatencyCount */
- cacheLatencyCount?: ($protobuf.ToArray<number>|number[]|null);
- /** QueryLatencyStats rootErrorStats */
- rootErrorStats?: (IPathErrorStats|null);
- /** QueryLatencyStats requestsWithErrorsCount */
- requestsWithErrorsCount?: (number|null);
- /** QueryLatencyStats publicCacheTtlCount */
- publicCacheTtlCount?: ($protobuf.ToArray<number>|number[]|null);
- /** QueryLatencyStats privateCacheTtlCount */
- privateCacheTtlCount?: ($protobuf.ToArray<number>|number[]|null);
- /** QueryLatencyStats registeredOperationCount */
- registeredOperationCount?: (number|null);
- /** QueryLatencyStats forbiddenOperationCount */
- forbiddenOperationCount?: (number|null);
- }
- /** Represents a QueryLatencyStats. */
- export class QueryLatencyStats implements IQueryLatencyStats {
- /**
- * Constructs a new QueryLatencyStats.
- * @param [properties] Properties to set
- */
- constructor(properties?: IQueryLatencyStats);
- /** QueryLatencyStats latencyCount. */
- public latencyCount: number[];
- /** QueryLatencyStats requestCount. */
- public requestCount: number;
- /** QueryLatencyStats cacheHits. */
- public cacheHits: number;
- /** QueryLatencyStats persistedQueryHits. */
- public persistedQueryHits: number;
- /** QueryLatencyStats persistedQueryMisses. */
- public persistedQueryMisses: number;
- /** QueryLatencyStats cacheLatencyCount. */
- public cacheLatencyCount: number[];
- /** QueryLatencyStats rootErrorStats. */
- public rootErrorStats?: (IPathErrorStats|null);
- /** QueryLatencyStats requestsWithErrorsCount. */
- public requestsWithErrorsCount: number;
- /** QueryLatencyStats publicCacheTtlCount. */
- public publicCacheTtlCount: number[];
- /** QueryLatencyStats privateCacheTtlCount. */
- public privateCacheTtlCount: number[];
- /** QueryLatencyStats registeredOperationCount. */
- public registeredOperationCount: number;
- /** QueryLatencyStats forbiddenOperationCount. */
- public forbiddenOperationCount: number;
- /**
- * Creates a new QueryLatencyStats instance using the specified properties.
- * @param [properties] Properties to set
- * @returns QueryLatencyStats instance
- */
- public static create(properties?: IQueryLatencyStats): QueryLatencyStats;
- /**
- * Encodes the specified QueryLatencyStats message. Does not implicitly {@link QueryLatencyStats.verify|verify} messages.
- * @param message QueryLatencyStats message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IQueryLatencyStats, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified QueryLatencyStats message, length delimited. Does not implicitly {@link QueryLatencyStats.verify|verify} messages.
- * @param message QueryLatencyStats message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IQueryLatencyStats, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a QueryLatencyStats message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns QueryLatencyStats
- * @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): QueryLatencyStats;
- /**
- * Decodes a QueryLatencyStats message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns QueryLatencyStats
- * @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)): QueryLatencyStats;
- /**
- * Verifies a QueryLatencyStats 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 plain object from a QueryLatencyStats message. Also converts values to other types if specified.
- * @param message QueryLatencyStats
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: QueryLatencyStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this QueryLatencyStats to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a StatsContext. */
- export interface IStatsContext {
- /** StatsContext clientReferenceId */
- clientReferenceId?: (string|null);
- /** StatsContext clientName */
- clientName?: (string|null);
- /** StatsContext clientVersion */
- clientVersion?: (string|null);
- }
- /** Represents a StatsContext. */
- export class StatsContext implements IStatsContext {
- /**
- * Constructs a new StatsContext.
- * @param [properties] Properties to set
- */
- constructor(properties?: IStatsContext);
- /** StatsContext clientReferenceId. */
- public clientReferenceId: string;
- /** StatsContext clientName. */
- public clientName: string;
- /** StatsContext clientVersion. */
- public clientVersion: string;
- /**
- * Creates a new StatsContext instance using the specified properties.
- * @param [properties] Properties to set
- * @returns StatsContext instance
- */
- public static create(properties?: IStatsContext): StatsContext;
- /**
- * Encodes the specified StatsContext message. Does not implicitly {@link StatsContext.verify|verify} messages.
- * @param message StatsContext message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IStatsContext, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified StatsContext message, length delimited. Does not implicitly {@link StatsContext.verify|verify} messages.
- * @param message StatsContext message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IStatsContext, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a StatsContext message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns StatsContext
- * @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): StatsContext;
- /**
- * Decodes a StatsContext message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns StatsContext
- * @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)): StatsContext;
- /**
- * Verifies a StatsContext 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 plain object from a StatsContext message. Also converts values to other types if specified.
- * @param message StatsContext
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: StatsContext, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this StatsContext to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a ContextualizedQueryLatencyStats. */
- export interface IContextualizedQueryLatencyStats {
- /** ContextualizedQueryLatencyStats queryLatencyStats */
- queryLatencyStats?: (IQueryLatencyStats|null);
- /** ContextualizedQueryLatencyStats context */
- context?: (IStatsContext|null);
- }
- /** Represents a ContextualizedQueryLatencyStats. */
- export class ContextualizedQueryLatencyStats implements IContextualizedQueryLatencyStats {
- /**
- * Constructs a new ContextualizedQueryLatencyStats.
- * @param [properties] Properties to set
- */
- constructor(properties?: IContextualizedQueryLatencyStats);
- /** ContextualizedQueryLatencyStats queryLatencyStats. */
- public queryLatencyStats?: (IQueryLatencyStats|null);
- /** ContextualizedQueryLatencyStats context. */
- public context?: (IStatsContext|null);
- /**
- * Creates a new ContextualizedQueryLatencyStats instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ContextualizedQueryLatencyStats instance
- */
- public static create(properties?: IContextualizedQueryLatencyStats): ContextualizedQueryLatencyStats;
- /**
- * Encodes the specified ContextualizedQueryLatencyStats message. Does not implicitly {@link ContextualizedQueryLatencyStats.verify|verify} messages.
- * @param message ContextualizedQueryLatencyStats message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IContextualizedQueryLatencyStats, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ContextualizedQueryLatencyStats message, length delimited. Does not implicitly {@link ContextualizedQueryLatencyStats.verify|verify} messages.
- * @param message ContextualizedQueryLatencyStats message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IContextualizedQueryLatencyStats, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a ContextualizedQueryLatencyStats message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ContextualizedQueryLatencyStats
- * @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): ContextualizedQueryLatencyStats;
- /**
- * Decodes a ContextualizedQueryLatencyStats message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ContextualizedQueryLatencyStats
- * @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)): ContextualizedQueryLatencyStats;
- /**
- * Verifies a ContextualizedQueryLatencyStats 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 plain object from a ContextualizedQueryLatencyStats message. Also converts values to other types if specified.
- * @param message ContextualizedQueryLatencyStats
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: ContextualizedQueryLatencyStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ContextualizedQueryLatencyStats to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a ContextualizedTypeStats. */
- export interface IContextualizedTypeStats {
- /** ContextualizedTypeStats context */
- context?: (IStatsContext|null);
- /** ContextualizedTypeStats perTypeStat */
- perTypeStat?: ({ [k: string]: ITypeStat }|null);
- }
- /** Represents a ContextualizedTypeStats. */
- export class ContextualizedTypeStats implements IContextualizedTypeStats {
- /**
- * Constructs a new ContextualizedTypeStats.
- * @param [properties] Properties to set
- */
- constructor(properties?: IContextualizedTypeStats);
- /** ContextualizedTypeStats context. */
- public context?: (IStatsContext|null);
- /** ContextualizedTypeStats perTypeStat. */
- public perTypeStat: { [k: string]: ITypeStat };
- /**
- * Creates a new ContextualizedTypeStats instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ContextualizedTypeStats instance
- */
- public static create(properties?: IContextualizedTypeStats): ContextualizedTypeStats;
- /**
- * Encodes the specified ContextualizedTypeStats message. Does not implicitly {@link ContextualizedTypeStats.verify|verify} messages.
- * @param message ContextualizedTypeStats message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IContextualizedTypeStats, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ContextualizedTypeStats message, length delimited. Does not implicitly {@link ContextualizedTypeStats.verify|verify} messages.
- * @param message ContextualizedTypeStats message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IContextualizedTypeStats, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a ContextualizedTypeStats message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ContextualizedTypeStats
- * @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): ContextualizedTypeStats;
- /**
- * Decodes a ContextualizedTypeStats message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ContextualizedTypeStats
- * @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)): ContextualizedTypeStats;
- /**
- * Verifies a ContextualizedTypeStats 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 plain object from a ContextualizedTypeStats message. Also converts values to other types if specified.
- * @param message ContextualizedTypeStats
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: ContextualizedTypeStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ContextualizedTypeStats to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a FieldStat. */
- export interface IFieldStat {
- /** FieldStat returnType */
- returnType?: (string|null);
- /** FieldStat errorsCount */
- errorsCount?: (number|null);
- /** FieldStat count */
- count?: (number|null);
- /** FieldStat requestsWithErrorsCount */
- requestsWithErrorsCount?: (number|null);
- /** FieldStat latencyCount */
- latencyCount?: ($protobuf.ToArray<number>|number[]|null);
- }
- /** Represents a FieldStat. */
- export class FieldStat implements IFieldStat {
- /**
- * Constructs a new FieldStat.
- * @param [properties] Properties to set
- */
- constructor(properties?: IFieldStat);
- /** FieldStat returnType. */
- public returnType: string;
- /** FieldStat errorsCount. */
- public errorsCount: number;
- /** FieldStat count. */
- public count: number;
- /** FieldStat requestsWithErrorsCount. */
- public requestsWithErrorsCount: number;
- /** FieldStat latencyCount. */
- public latencyCount: number[];
- /**
- * Creates a new FieldStat instance using the specified properties.
- * @param [properties] Properties to set
- * @returns FieldStat instance
- */
- public static create(properties?: IFieldStat): FieldStat;
- /**
- * Encodes the specified FieldStat message. Does not implicitly {@link FieldStat.verify|verify} messages.
- * @param message FieldStat message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IFieldStat, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified FieldStat message, length delimited. Does not implicitly {@link FieldStat.verify|verify} messages.
- * @param message FieldStat message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IFieldStat, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a FieldStat message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns FieldStat
- * @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): FieldStat;
- /**
- * Decodes a FieldStat message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns FieldStat
- * @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)): FieldStat;
- /**
- * Verifies a FieldStat 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 plain object from a FieldStat message. Also converts values to other types if specified.
- * @param message FieldStat
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: FieldStat, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this FieldStat to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a TypeStat. */
- export interface ITypeStat {
- /** TypeStat perFieldStat */
- perFieldStat?: ({ [k: string]: IFieldStat }|null);
- }
- /** Represents a TypeStat. */
- export class TypeStat implements ITypeStat {
- /**
- * Constructs a new TypeStat.
- * @param [properties] Properties to set
- */
- constructor(properties?: ITypeStat);
- /** TypeStat perFieldStat. */
- public perFieldStat: { [k: string]: IFieldStat };
- /**
- * Creates a new TypeStat instance using the specified properties.
- * @param [properties] Properties to set
- * @returns TypeStat instance
- */
- public static create(properties?: ITypeStat): TypeStat;
- /**
- * Encodes the specified TypeStat message. Does not implicitly {@link TypeStat.verify|verify} messages.
- * @param message TypeStat message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: ITypeStat, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified TypeStat message, length delimited. Does not implicitly {@link TypeStat.verify|verify} messages.
- * @param message TypeStat message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: ITypeStat, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a TypeStat message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns TypeStat
- * @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): TypeStat;
- /**
- * Decodes a TypeStat message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns TypeStat
- * @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)): TypeStat;
- /**
- * Verifies a TypeStat 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 plain object from a TypeStat message. Also converts values to other types if specified.
- * @param message TypeStat
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: TypeStat, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this TypeStat to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a Field. */
- export interface IField {
- /** Field name */
- name?: (string|null);
- /** Field returnType */
- returnType?: (string|null);
- }
- /** Represents a Field. */
- export class Field implements IField {
- /**
- * Constructs a new Field.
- * @param [properties] Properties to set
- */
- constructor(properties?: IField);
- /** Field name. */
- public name: string;
- /** Field returnType. */
- public returnType: string;
- /**
- * Creates a new Field instance using the specified properties.
- * @param [properties] Properties to set
- * @returns Field instance
- */
- public static create(properties?: IField): Field;
- /**
- * Encodes the specified Field message. Does not implicitly {@link Field.verify|verify} messages.
- * @param message Field message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IField, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified Field message, length delimited. Does not implicitly {@link Field.verify|verify} messages.
- * @param message Field message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IField, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a Field message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns Field
- * @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): Field;
- /**
- * Decodes a Field message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns Field
- * @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)): Field;
- /**
- * Verifies a Field 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 plain object from a Field message. Also converts values to other types if specified.
- * @param message Field
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: Field, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this Field to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a Type. */
- export interface IType {
- /** Type name */
- name?: (string|null);
- /** Type field */
- field?: (IField[]|null);
- }
- /** Represents a Type. */
- export class Type implements IType {
- /**
- * Constructs a new Type.
- * @param [properties] Properties to set
- */
- constructor(properties?: IType);
- /** Type name. */
- public name: string;
- /** Type field. */
- public field: IField[];
- /**
- * Creates a new Type instance using the specified properties.
- * @param [properties] Properties to set
- * @returns Type instance
- */
- public static create(properties?: IType): Type;
- /**
- * Encodes the specified Type message. Does not implicitly {@link Type.verify|verify} messages.
- * @param message Type message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IType, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified Type message, length delimited. Does not implicitly {@link Type.verify|verify} messages.
- * @param message Type message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IType, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a Type message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns Type
- * @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): Type;
- /**
- * Decodes a Type message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns Type
- * @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)): Type;
- /**
- * Verifies a Type 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 plain object from a Type message. Also converts values to other types if specified.
- * @param message Type
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: Type, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this Type to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a Report. */
- export interface IReport {
- /** Report header */
- header?: (IReportHeader|null);
- /** Report tracesPerQuery */
- tracesPerQuery?: ({ [k: string]: ITracesAndStats }|null);
- /** Report endTime */
- endTime?: (google.protobuf.ITimestamp|null);
- }
- /** Represents a Report. */
- export class Report implements IReport {
- /**
- * Constructs a new Report.
- * @param [properties] Properties to set
- */
- constructor(properties?: IReport);
- /** Report header. */
- public header?: (IReportHeader|null);
- /** Report tracesPerQuery. */
- public tracesPerQuery: { [k: string]: ITracesAndStats };
- /** Report endTime. */
- public endTime?: (google.protobuf.ITimestamp|null);
- /**
- * Creates a new Report instance using the specified properties.
- * @param [properties] Properties to set
- * @returns Report instance
- */
- public static create(properties?: IReport): Report;
- /**
- * Encodes the specified Report message. Does not implicitly {@link Report.verify|verify} messages.
- * @param message Report message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IReport, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified Report message, length delimited. Does not implicitly {@link Report.verify|verify} messages.
- * @param message Report message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IReport, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a Report message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns Report
- * @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): Report;
- /**
- * Decodes a Report message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns Report
- * @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)): Report;
- /**
- * Verifies a Report 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 plain object from a Report message. Also converts values to other types if specified.
- * @param message Report
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: Report, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this Report to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a ContextualizedStats. */
- export interface IContextualizedStats {
- /** ContextualizedStats context */
- context?: (IStatsContext|null);
- /** ContextualizedStats queryLatencyStats */
- queryLatencyStats?: (IQueryLatencyStats|null);
- /** ContextualizedStats perTypeStat */
- perTypeStat?: ({ [k: string]: ITypeStat }|null);
- }
- /** Represents a ContextualizedStats. */
- export class ContextualizedStats implements IContextualizedStats {
- /**
- * Constructs a new ContextualizedStats.
- * @param [properties] Properties to set
- */
- constructor(properties?: IContextualizedStats);
- /** ContextualizedStats context. */
- public context?: (IStatsContext|null);
- /** ContextualizedStats queryLatencyStats. */
- public queryLatencyStats?: (IQueryLatencyStats|null);
- /** ContextualizedStats perTypeStat. */
- public perTypeStat: { [k: string]: ITypeStat };
- /**
- * Creates a new ContextualizedStats instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ContextualizedStats instance
- */
- public static create(properties?: IContextualizedStats): ContextualizedStats;
- /**
- * Encodes the specified ContextualizedStats message. Does not implicitly {@link ContextualizedStats.verify|verify} messages.
- * @param message ContextualizedStats message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: IContextualizedStats, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ContextualizedStats message, length delimited. Does not implicitly {@link ContextualizedStats.verify|verify} messages.
- * @param message ContextualizedStats message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: IContextualizedStats, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a ContextualizedStats message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ContextualizedStats
- * @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): ContextualizedStats;
- /**
- * Decodes a ContextualizedStats message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ContextualizedStats
- * @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)): ContextualizedStats;
- /**
- * Verifies a ContextualizedStats 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 plain object from a ContextualizedStats message. Also converts values to other types if specified.
- * @param message ContextualizedStats
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: ContextualizedStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this ContextualizedStats to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Properties of a TracesAndStats. */
- export interface ITracesAndStats {
- /** TracesAndStats trace */
- trace?: ((ITrace|Uint8Array)[]|null);
- /** TracesAndStats statsWithContext */
- statsWithContext?: ($protobuf.ToArray<IContextualizedStats>|IContextualizedStats[]|null);
- /** TracesAndStats internalTracesContributingToStats */
- internalTracesContributingToStats?: ((ITrace|Uint8Array)[]|null);
- }
- /** Represents a TracesAndStats. */
- export class TracesAndStats implements ITracesAndStats {
- /**
- * Constructs a new TracesAndStats.
- * @param [properties] Properties to set
- */
- constructor(properties?: ITracesAndStats);
- /** TracesAndStats trace. */
- public trace: (ITrace|Uint8Array)[];
- /** TracesAndStats statsWithContext. */
- public statsWithContext: IContextualizedStats[];
- /** TracesAndStats internalTracesContributingToStats. */
- public internalTracesContributingToStats: (ITrace|Uint8Array)[];
- /**
- * Creates a new TracesAndStats instance using the specified properties.
- * @param [properties] Properties to set
- * @returns TracesAndStats instance
- */
- public static create(properties?: ITracesAndStats): TracesAndStats;
- /**
- * Encodes the specified TracesAndStats message. Does not implicitly {@link TracesAndStats.verify|verify} messages.
- * @param message TracesAndStats message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: ITracesAndStats, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified TracesAndStats message, length delimited. Does not implicitly {@link TracesAndStats.verify|verify} messages.
- * @param message TracesAndStats message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: ITracesAndStats, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a TracesAndStats message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns TracesAndStats
- * @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): TracesAndStats;
- /**
- * Decodes a TracesAndStats message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns TracesAndStats
- * @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)): TracesAndStats;
- /**
- * Verifies a TracesAndStats 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 plain object from a TracesAndStats message. Also converts values to other types if specified.
- * @param message TracesAndStats
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: TracesAndStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this TracesAndStats to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- /** Namespace google. */
- export namespace google {
- /** Namespace protobuf. */
- namespace protobuf {
- /** Properties of a Timestamp. */
- interface ITimestamp {
- /** Timestamp seconds */
- seconds?: (number|null);
- /** Timestamp nanos */
- nanos?: (number|null);
- }
- /** Represents a Timestamp. */
- class Timestamp implements ITimestamp {
- /**
- * Constructs a new Timestamp.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.protobuf.ITimestamp);
- /** Timestamp seconds. */
- public seconds: number;
- /** Timestamp nanos. */
- public nanos: number;
- /**
- * Creates a new Timestamp instance using the specified properties.
- * @param [properties] Properties to set
- * @returns Timestamp instance
- */
- public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp;
- /**
- * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
- * @param message Timestamp message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
- * @param message Timestamp message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Decodes a Timestamp message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns Timestamp
- * @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.Timestamp;
- /**
- * Decodes a Timestamp message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns Timestamp
- * @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.Timestamp;
- /**
- * Verifies a Timestamp 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 plain object from a Timestamp message. Also converts values to other types if specified.
- * @param message Timestamp
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Converts this Timestamp to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
- }
- }
|