protobuf.d.ts 124 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276
  1. import * as $protobuf from "@apollo/protobufjs";
  2. /** Properties of a Trace. */
  3. export interface ITrace {
  4. /** Trace startTime */
  5. startTime?: (google.protobuf.ITimestamp|null);
  6. /** Trace endTime */
  7. endTime?: (google.protobuf.ITimestamp|null);
  8. /** Trace durationNs */
  9. durationNs?: (number|null);
  10. /** Trace root */
  11. root?: (Trace.INode|null);
  12. /** Trace isIncomplete */
  13. isIncomplete?: (boolean|null);
  14. /** Trace signature */
  15. signature?: (string|null);
  16. /** Trace unexecutedOperationBody */
  17. unexecutedOperationBody?: (string|null);
  18. /** Trace unexecutedOperationName */
  19. unexecutedOperationName?: (string|null);
  20. /** Trace details */
  21. details?: (Trace.IDetails|null);
  22. /** Trace clientName */
  23. clientName?: (string|null);
  24. /** Trace clientVersion */
  25. clientVersion?: (string|null);
  26. /** Trace http */
  27. http?: (Trace.IHTTP|null);
  28. /** Trace cachePolicy */
  29. cachePolicy?: (Trace.ICachePolicy|null);
  30. /** Trace queryPlan */
  31. queryPlan?: (Trace.IQueryPlanNode|null);
  32. /** Trace fullQueryCacheHit */
  33. fullQueryCacheHit?: (boolean|null);
  34. /** Trace persistedQueryHit */
  35. persistedQueryHit?: (boolean|null);
  36. /** Trace persistedQueryRegister */
  37. persistedQueryRegister?: (boolean|null);
  38. /** Trace registeredOperation */
  39. registeredOperation?: (boolean|null);
  40. /** Trace forbiddenOperation */
  41. forbiddenOperation?: (boolean|null);
  42. /** Trace fieldExecutionWeight */
  43. fieldExecutionWeight?: (number|null);
  44. }
  45. /** Represents a Trace. */
  46. export class Trace implements ITrace {
  47. /**
  48. * Constructs a new Trace.
  49. * @param [properties] Properties to set
  50. */
  51. constructor(properties?: ITrace);
  52. /** Trace startTime. */
  53. public startTime?: (google.protobuf.ITimestamp|null);
  54. /** Trace endTime. */
  55. public endTime?: (google.protobuf.ITimestamp|null);
  56. /** Trace durationNs. */
  57. public durationNs: number;
  58. /** Trace root. */
  59. public root?: (Trace.INode|null);
  60. /** Trace isIncomplete. */
  61. public isIncomplete: boolean;
  62. /** Trace signature. */
  63. public signature: string;
  64. /** Trace unexecutedOperationBody. */
  65. public unexecutedOperationBody: string;
  66. /** Trace unexecutedOperationName. */
  67. public unexecutedOperationName: string;
  68. /** Trace details. */
  69. public details?: (Trace.IDetails|null);
  70. /** Trace clientName. */
  71. public clientName: string;
  72. /** Trace clientVersion. */
  73. public clientVersion: string;
  74. /** Trace http. */
  75. public http?: (Trace.IHTTP|null);
  76. /** Trace cachePolicy. */
  77. public cachePolicy?: (Trace.ICachePolicy|null);
  78. /** Trace queryPlan. */
  79. public queryPlan?: (Trace.IQueryPlanNode|null);
  80. /** Trace fullQueryCacheHit. */
  81. public fullQueryCacheHit: boolean;
  82. /** Trace persistedQueryHit. */
  83. public persistedQueryHit: boolean;
  84. /** Trace persistedQueryRegister. */
  85. public persistedQueryRegister: boolean;
  86. /** Trace registeredOperation. */
  87. public registeredOperation: boolean;
  88. /** Trace forbiddenOperation. */
  89. public forbiddenOperation: boolean;
  90. /** Trace fieldExecutionWeight. */
  91. public fieldExecutionWeight: number;
  92. /**
  93. * Creates a new Trace instance using the specified properties.
  94. * @param [properties] Properties to set
  95. * @returns Trace instance
  96. */
  97. public static create(properties?: ITrace): Trace;
  98. /**
  99. * Encodes the specified Trace message. Does not implicitly {@link Trace.verify|verify} messages.
  100. * @param message Trace message or plain object to encode
  101. * @param [writer] Writer to encode to
  102. * @returns Writer
  103. */
  104. public static encode(message: ITrace, writer?: $protobuf.Writer): $protobuf.Writer;
  105. /**
  106. * Encodes the specified Trace message, length delimited. Does not implicitly {@link Trace.verify|verify} messages.
  107. * @param message Trace message or plain object to encode
  108. * @param [writer] Writer to encode to
  109. * @returns Writer
  110. */
  111. public static encodeDelimited(message: ITrace, writer?: $protobuf.Writer): $protobuf.Writer;
  112. /**
  113. * Decodes a Trace message from the specified reader or buffer.
  114. * @param reader Reader or buffer to decode from
  115. * @param [length] Message length if known beforehand
  116. * @returns Trace
  117. * @throws {Error} If the payload is not a reader or valid buffer
  118. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  119. */
  120. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace;
  121. /**
  122. * Decodes a Trace message from the specified reader or buffer, length delimited.
  123. * @param reader Reader or buffer to decode from
  124. * @returns Trace
  125. * @throws {Error} If the payload is not a reader or valid buffer
  126. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  127. */
  128. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace;
  129. /**
  130. * Verifies a Trace message.
  131. * @param message Plain object to verify
  132. * @returns `null` if valid, otherwise the reason why it is not
  133. */
  134. public static verify(message: { [k: string]: any }): (string|null);
  135. /**
  136. * Creates a plain object from a Trace message. Also converts values to other types if specified.
  137. * @param message Trace
  138. * @param [options] Conversion options
  139. * @returns Plain object
  140. */
  141. public static toObject(message: Trace, options?: $protobuf.IConversionOptions): { [k: string]: any };
  142. /**
  143. * Converts this Trace to JSON.
  144. * @returns JSON object
  145. */
  146. public toJSON(): { [k: string]: any };
  147. }
  148. export namespace Trace {
  149. /** Properties of a CachePolicy. */
  150. interface ICachePolicy {
  151. /** CachePolicy scope */
  152. scope?: (Trace.CachePolicy.Scope|null);
  153. /** CachePolicy maxAgeNs */
  154. maxAgeNs?: (number|null);
  155. }
  156. /** Represents a CachePolicy. */
  157. class CachePolicy implements ICachePolicy {
  158. /**
  159. * Constructs a new CachePolicy.
  160. * @param [properties] Properties to set
  161. */
  162. constructor(properties?: Trace.ICachePolicy);
  163. /** CachePolicy scope. */
  164. public scope: Trace.CachePolicy.Scope;
  165. /** CachePolicy maxAgeNs. */
  166. public maxAgeNs: number;
  167. /**
  168. * Creates a new CachePolicy instance using the specified properties.
  169. * @param [properties] Properties to set
  170. * @returns CachePolicy instance
  171. */
  172. public static create(properties?: Trace.ICachePolicy): Trace.CachePolicy;
  173. /**
  174. * Encodes the specified CachePolicy message. Does not implicitly {@link Trace.CachePolicy.verify|verify} messages.
  175. * @param message CachePolicy message or plain object to encode
  176. * @param [writer] Writer to encode to
  177. * @returns Writer
  178. */
  179. public static encode(message: Trace.ICachePolicy, writer?: $protobuf.Writer): $protobuf.Writer;
  180. /**
  181. * Encodes the specified CachePolicy message, length delimited. Does not implicitly {@link Trace.CachePolicy.verify|verify} messages.
  182. * @param message CachePolicy message or plain object to encode
  183. * @param [writer] Writer to encode to
  184. * @returns Writer
  185. */
  186. public static encodeDelimited(message: Trace.ICachePolicy, writer?: $protobuf.Writer): $protobuf.Writer;
  187. /**
  188. * Decodes a CachePolicy message from the specified reader or buffer.
  189. * @param reader Reader or buffer to decode from
  190. * @param [length] Message length if known beforehand
  191. * @returns CachePolicy
  192. * @throws {Error} If the payload is not a reader or valid buffer
  193. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  194. */
  195. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.CachePolicy;
  196. /**
  197. * Decodes a CachePolicy message from the specified reader or buffer, length delimited.
  198. * @param reader Reader or buffer to decode from
  199. * @returns CachePolicy
  200. * @throws {Error} If the payload is not a reader or valid buffer
  201. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  202. */
  203. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.CachePolicy;
  204. /**
  205. * Verifies a CachePolicy message.
  206. * @param message Plain object to verify
  207. * @returns `null` if valid, otherwise the reason why it is not
  208. */
  209. public static verify(message: { [k: string]: any }): (string|null);
  210. /**
  211. * Creates a plain object from a CachePolicy message. Also converts values to other types if specified.
  212. * @param message CachePolicy
  213. * @param [options] Conversion options
  214. * @returns Plain object
  215. */
  216. public static toObject(message: Trace.CachePolicy, options?: $protobuf.IConversionOptions): { [k: string]: any };
  217. /**
  218. * Converts this CachePolicy to JSON.
  219. * @returns JSON object
  220. */
  221. public toJSON(): { [k: string]: any };
  222. }
  223. namespace CachePolicy {
  224. /** Scope enum. */
  225. enum Scope {
  226. UNKNOWN = 0,
  227. PUBLIC = 1,
  228. PRIVATE = 2
  229. }
  230. }
  231. /** Properties of a Details. */
  232. interface IDetails {
  233. /** Details variablesJson */
  234. variablesJson?: ({ [k: string]: string }|null);
  235. /** Details operationName */
  236. operationName?: (string|null);
  237. }
  238. /** Represents a Details. */
  239. class Details implements IDetails {
  240. /**
  241. * Constructs a new Details.
  242. * @param [properties] Properties to set
  243. */
  244. constructor(properties?: Trace.IDetails);
  245. /** Details variablesJson. */
  246. public variablesJson: { [k: string]: string };
  247. /** Details operationName. */
  248. public operationName: string;
  249. /**
  250. * Creates a new Details instance using the specified properties.
  251. * @param [properties] Properties to set
  252. * @returns Details instance
  253. */
  254. public static create(properties?: Trace.IDetails): Trace.Details;
  255. /**
  256. * Encodes the specified Details message. Does not implicitly {@link Trace.Details.verify|verify} messages.
  257. * @param message Details message or plain object to encode
  258. * @param [writer] Writer to encode to
  259. * @returns Writer
  260. */
  261. public static encode(message: Trace.IDetails, writer?: $protobuf.Writer): $protobuf.Writer;
  262. /**
  263. * Encodes the specified Details message, length delimited. Does not implicitly {@link Trace.Details.verify|verify} messages.
  264. * @param message Details message or plain object to encode
  265. * @param [writer] Writer to encode to
  266. * @returns Writer
  267. */
  268. public static encodeDelimited(message: Trace.IDetails, writer?: $protobuf.Writer): $protobuf.Writer;
  269. /**
  270. * Decodes a Details message from the specified reader or buffer.
  271. * @param reader Reader or buffer to decode from
  272. * @param [length] Message length if known beforehand
  273. * @returns Details
  274. * @throws {Error} If the payload is not a reader or valid buffer
  275. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  276. */
  277. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.Details;
  278. /**
  279. * Decodes a Details message from the specified reader or buffer, length delimited.
  280. * @param reader Reader or buffer to decode from
  281. * @returns Details
  282. * @throws {Error} If the payload is not a reader or valid buffer
  283. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  284. */
  285. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.Details;
  286. /**
  287. * Verifies a Details message.
  288. * @param message Plain object to verify
  289. * @returns `null` if valid, otherwise the reason why it is not
  290. */
  291. public static verify(message: { [k: string]: any }): (string|null);
  292. /**
  293. * Creates a plain object from a Details message. Also converts values to other types if specified.
  294. * @param message Details
  295. * @param [options] Conversion options
  296. * @returns Plain object
  297. */
  298. public static toObject(message: Trace.Details, options?: $protobuf.IConversionOptions): { [k: string]: any };
  299. /**
  300. * Converts this Details to JSON.
  301. * @returns JSON object
  302. */
  303. public toJSON(): { [k: string]: any };
  304. }
  305. /** Properties of an Error. */
  306. interface IError {
  307. /** Error message */
  308. message?: (string|null);
  309. /** Error location */
  310. location?: (Trace.ILocation[]|null);
  311. /** Error timeNs */
  312. timeNs?: (number|null);
  313. /** Error json */
  314. json?: (string|null);
  315. }
  316. /** Represents an Error. */
  317. class Error implements IError {
  318. /**
  319. * Constructs a new Error.
  320. * @param [properties] Properties to set
  321. */
  322. constructor(properties?: Trace.IError);
  323. /** Error message. */
  324. public message: string;
  325. /** Error location. */
  326. public location: Trace.ILocation[];
  327. /** Error timeNs. */
  328. public timeNs: number;
  329. /** Error json. */
  330. public json: string;
  331. /**
  332. * Creates a new Error instance using the specified properties.
  333. * @param [properties] Properties to set
  334. * @returns Error instance
  335. */
  336. public static create(properties?: Trace.IError): Trace.Error;
  337. /**
  338. * Encodes the specified Error message. Does not implicitly {@link Trace.Error.verify|verify} messages.
  339. * @param message Error message or plain object to encode
  340. * @param [writer] Writer to encode to
  341. * @returns Writer
  342. */
  343. public static encode(message: Trace.IError, writer?: $protobuf.Writer): $protobuf.Writer;
  344. /**
  345. * Encodes the specified Error message, length delimited. Does not implicitly {@link Trace.Error.verify|verify} messages.
  346. * @param message Error message or plain object to encode
  347. * @param [writer] Writer to encode to
  348. * @returns Writer
  349. */
  350. public static encodeDelimited(message: Trace.IError, writer?: $protobuf.Writer): $protobuf.Writer;
  351. /**
  352. * Decodes an Error message from the specified reader or buffer.
  353. * @param reader Reader or buffer to decode from
  354. * @param [length] Message length if known beforehand
  355. * @returns Error
  356. * @throws {Error} If the payload is not a reader or valid buffer
  357. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  358. */
  359. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.Error;
  360. /**
  361. * Decodes an Error message from the specified reader or buffer, length delimited.
  362. * @param reader Reader or buffer to decode from
  363. * @returns Error
  364. * @throws {Error} If the payload is not a reader or valid buffer
  365. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  366. */
  367. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.Error;
  368. /**
  369. * Verifies an Error message.
  370. * @param message Plain object to verify
  371. * @returns `null` if valid, otherwise the reason why it is not
  372. */
  373. public static verify(message: { [k: string]: any }): (string|null);
  374. /**
  375. * Creates a plain object from an Error message. Also converts values to other types if specified.
  376. * @param message Error
  377. * @param [options] Conversion options
  378. * @returns Plain object
  379. */
  380. public static toObject(message: Trace.Error, options?: $protobuf.IConversionOptions): { [k: string]: any };
  381. /**
  382. * Converts this Error to JSON.
  383. * @returns JSON object
  384. */
  385. public toJSON(): { [k: string]: any };
  386. }
  387. /** Properties of a HTTP. */
  388. interface IHTTP {
  389. /** HTTP method */
  390. method?: (Trace.HTTP.Method|null);
  391. /** HTTP requestHeaders */
  392. requestHeaders?: ({ [k: string]: Trace.HTTP.IValues }|null);
  393. /** HTTP responseHeaders */
  394. responseHeaders?: ({ [k: string]: Trace.HTTP.IValues }|null);
  395. /** HTTP statusCode */
  396. statusCode?: (number|null);
  397. }
  398. /** Represents a HTTP. */
  399. class HTTP implements IHTTP {
  400. /**
  401. * Constructs a new HTTP.
  402. * @param [properties] Properties to set
  403. */
  404. constructor(properties?: Trace.IHTTP);
  405. /** HTTP method. */
  406. public method: Trace.HTTP.Method;
  407. /** HTTP requestHeaders. */
  408. public requestHeaders: { [k: string]: Trace.HTTP.IValues };
  409. /** HTTP responseHeaders. */
  410. public responseHeaders: { [k: string]: Trace.HTTP.IValues };
  411. /** HTTP statusCode. */
  412. public statusCode: number;
  413. /**
  414. * Creates a new HTTP instance using the specified properties.
  415. * @param [properties] Properties to set
  416. * @returns HTTP instance
  417. */
  418. public static create(properties?: Trace.IHTTP): Trace.HTTP;
  419. /**
  420. * Encodes the specified HTTP message. Does not implicitly {@link Trace.HTTP.verify|verify} messages.
  421. * @param message HTTP message or plain object to encode
  422. * @param [writer] Writer to encode to
  423. * @returns Writer
  424. */
  425. public static encode(message: Trace.IHTTP, writer?: $protobuf.Writer): $protobuf.Writer;
  426. /**
  427. * Encodes the specified HTTP message, length delimited. Does not implicitly {@link Trace.HTTP.verify|verify} messages.
  428. * @param message HTTP message or plain object to encode
  429. * @param [writer] Writer to encode to
  430. * @returns Writer
  431. */
  432. public static encodeDelimited(message: Trace.IHTTP, writer?: $protobuf.Writer): $protobuf.Writer;
  433. /**
  434. * Decodes a HTTP message from the specified reader or buffer.
  435. * @param reader Reader or buffer to decode from
  436. * @param [length] Message length if known beforehand
  437. * @returns HTTP
  438. * @throws {Error} If the payload is not a reader or valid buffer
  439. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  440. */
  441. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.HTTP;
  442. /**
  443. * Decodes a HTTP message from the specified reader or buffer, length delimited.
  444. * @param reader Reader or buffer to decode from
  445. * @returns HTTP
  446. * @throws {Error} If the payload is not a reader or valid buffer
  447. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  448. */
  449. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.HTTP;
  450. /**
  451. * Verifies a HTTP message.
  452. * @param message Plain object to verify
  453. * @returns `null` if valid, otherwise the reason why it is not
  454. */
  455. public static verify(message: { [k: string]: any }): (string|null);
  456. /**
  457. * Creates a plain object from a HTTP message. Also converts values to other types if specified.
  458. * @param message HTTP
  459. * @param [options] Conversion options
  460. * @returns Plain object
  461. */
  462. public static toObject(message: Trace.HTTP, options?: $protobuf.IConversionOptions): { [k: string]: any };
  463. /**
  464. * Converts this HTTP to JSON.
  465. * @returns JSON object
  466. */
  467. public toJSON(): { [k: string]: any };
  468. }
  469. namespace HTTP {
  470. /** Properties of a Values. */
  471. interface IValues {
  472. /** Values value */
  473. value?: (string[]|null);
  474. }
  475. /** Represents a Values. */
  476. class Values implements IValues {
  477. /**
  478. * Constructs a new Values.
  479. * @param [properties] Properties to set
  480. */
  481. constructor(properties?: Trace.HTTP.IValues);
  482. /** Values value. */
  483. public value: string[];
  484. /**
  485. * Creates a new Values instance using the specified properties.
  486. * @param [properties] Properties to set
  487. * @returns Values instance
  488. */
  489. public static create(properties?: Trace.HTTP.IValues): Trace.HTTP.Values;
  490. /**
  491. * Encodes the specified Values message. Does not implicitly {@link Trace.HTTP.Values.verify|verify} messages.
  492. * @param message Values message or plain object to encode
  493. * @param [writer] Writer to encode to
  494. * @returns Writer
  495. */
  496. public static encode(message: Trace.HTTP.IValues, writer?: $protobuf.Writer): $protobuf.Writer;
  497. /**
  498. * Encodes the specified Values message, length delimited. Does not implicitly {@link Trace.HTTP.Values.verify|verify} messages.
  499. * @param message Values message or plain object to encode
  500. * @param [writer] Writer to encode to
  501. * @returns Writer
  502. */
  503. public static encodeDelimited(message: Trace.HTTP.IValues, writer?: $protobuf.Writer): $protobuf.Writer;
  504. /**
  505. * Decodes a Values message from the specified reader or buffer.
  506. * @param reader Reader or buffer to decode from
  507. * @param [length] Message length if known beforehand
  508. * @returns Values
  509. * @throws {Error} If the payload is not a reader or valid buffer
  510. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  511. */
  512. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.HTTP.Values;
  513. /**
  514. * Decodes a Values message from the specified reader or buffer, length delimited.
  515. * @param reader Reader or buffer to decode from
  516. * @returns Values
  517. * @throws {Error} If the payload is not a reader or valid buffer
  518. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  519. */
  520. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.HTTP.Values;
  521. /**
  522. * Verifies a Values message.
  523. * @param message Plain object to verify
  524. * @returns `null` if valid, otherwise the reason why it is not
  525. */
  526. public static verify(message: { [k: string]: any }): (string|null);
  527. /**
  528. * Creates a plain object from a Values message. Also converts values to other types if specified.
  529. * @param message Values
  530. * @param [options] Conversion options
  531. * @returns Plain object
  532. */
  533. public static toObject(message: Trace.HTTP.Values, options?: $protobuf.IConversionOptions): { [k: string]: any };
  534. /**
  535. * Converts this Values to JSON.
  536. * @returns JSON object
  537. */
  538. public toJSON(): { [k: string]: any };
  539. }
  540. /** Method enum. */
  541. enum Method {
  542. UNKNOWN = 0,
  543. OPTIONS = 1,
  544. GET = 2,
  545. HEAD = 3,
  546. POST = 4,
  547. PUT = 5,
  548. DELETE = 6,
  549. TRACE = 7,
  550. CONNECT = 8,
  551. PATCH = 9
  552. }
  553. }
  554. /** Properties of a Location. */
  555. interface ILocation {
  556. /** Location line */
  557. line?: (number|null);
  558. /** Location column */
  559. column?: (number|null);
  560. }
  561. /** Represents a Location. */
  562. class Location implements ILocation {
  563. /**
  564. * Constructs a new Location.
  565. * @param [properties] Properties to set
  566. */
  567. constructor(properties?: Trace.ILocation);
  568. /** Location line. */
  569. public line: number;
  570. /** Location column. */
  571. public column: number;
  572. /**
  573. * Creates a new Location instance using the specified properties.
  574. * @param [properties] Properties to set
  575. * @returns Location instance
  576. */
  577. public static create(properties?: Trace.ILocation): Trace.Location;
  578. /**
  579. * Encodes the specified Location message. Does not implicitly {@link Trace.Location.verify|verify} messages.
  580. * @param message Location message or plain object to encode
  581. * @param [writer] Writer to encode to
  582. * @returns Writer
  583. */
  584. public static encode(message: Trace.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
  585. /**
  586. * Encodes the specified Location message, length delimited. Does not implicitly {@link Trace.Location.verify|verify} messages.
  587. * @param message Location message or plain object to encode
  588. * @param [writer] Writer to encode to
  589. * @returns Writer
  590. */
  591. public static encodeDelimited(message: Trace.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
  592. /**
  593. * Decodes a Location message from the specified reader or buffer.
  594. * @param reader Reader or buffer to decode from
  595. * @param [length] Message length if known beforehand
  596. * @returns Location
  597. * @throws {Error} If the payload is not a reader or valid buffer
  598. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  599. */
  600. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.Location;
  601. /**
  602. * Decodes a Location message from the specified reader or buffer, length delimited.
  603. * @param reader Reader or buffer to decode from
  604. * @returns Location
  605. * @throws {Error} If the payload is not a reader or valid buffer
  606. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  607. */
  608. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.Location;
  609. /**
  610. * Verifies a Location message.
  611. * @param message Plain object to verify
  612. * @returns `null` if valid, otherwise the reason why it is not
  613. */
  614. public static verify(message: { [k: string]: any }): (string|null);
  615. /**
  616. * Creates a plain object from a Location message. Also converts values to other types if specified.
  617. * @param message Location
  618. * @param [options] Conversion options
  619. * @returns Plain object
  620. */
  621. public static toObject(message: Trace.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
  622. /**
  623. * Converts this Location to JSON.
  624. * @returns JSON object
  625. */
  626. public toJSON(): { [k: string]: any };
  627. }
  628. /** Properties of a Node. */
  629. interface INode {
  630. /** Node responseName */
  631. responseName?: (string|null);
  632. /** Node index */
  633. index?: (number|null);
  634. /** Node originalFieldName */
  635. originalFieldName?: (string|null);
  636. /** Node type */
  637. type?: (string|null);
  638. /** Node parentType */
  639. parentType?: (string|null);
  640. /** Node cachePolicy */
  641. cachePolicy?: (Trace.ICachePolicy|null);
  642. /** Node startTime */
  643. startTime?: (number|null);
  644. /** Node endTime */
  645. endTime?: (number|null);
  646. /** Node error */
  647. error?: (Trace.IError[]|null);
  648. /** Node child */
  649. child?: (Trace.INode[]|null);
  650. }
  651. /** Represents a Node. */
  652. class Node implements INode {
  653. /**
  654. * Constructs a new Node.
  655. * @param [properties] Properties to set
  656. */
  657. constructor(properties?: Trace.INode);
  658. /** Node responseName. */
  659. public responseName: string;
  660. /** Node index. */
  661. public index: number;
  662. /** Node originalFieldName. */
  663. public originalFieldName: string;
  664. /** Node type. */
  665. public type: string;
  666. /** Node parentType. */
  667. public parentType: string;
  668. /** Node cachePolicy. */
  669. public cachePolicy?: (Trace.ICachePolicy|null);
  670. /** Node startTime. */
  671. public startTime: number;
  672. /** Node endTime. */
  673. public endTime: number;
  674. /** Node error. */
  675. public error: Trace.IError[];
  676. /** Node child. */
  677. public child: Trace.INode[];
  678. /** Node id. */
  679. public id?: ("responseName"|"index");
  680. /**
  681. * Creates a new Node instance using the specified properties.
  682. * @param [properties] Properties to set
  683. * @returns Node instance
  684. */
  685. public static create(properties?: Trace.INode): Trace.Node;
  686. /**
  687. * Encodes the specified Node message. Does not implicitly {@link Trace.Node.verify|verify} messages.
  688. * @param message Node message or plain object to encode
  689. * @param [writer] Writer to encode to
  690. * @returns Writer
  691. */
  692. public static encode(message: Trace.INode, writer?: $protobuf.Writer): $protobuf.Writer;
  693. /**
  694. * Encodes the specified Node message, length delimited. Does not implicitly {@link Trace.Node.verify|verify} messages.
  695. * @param message Node message or plain object to encode
  696. * @param [writer] Writer to encode to
  697. * @returns Writer
  698. */
  699. public static encodeDelimited(message: Trace.INode, writer?: $protobuf.Writer): $protobuf.Writer;
  700. /**
  701. * Decodes a Node message from the specified reader or buffer.
  702. * @param reader Reader or buffer to decode from
  703. * @param [length] Message length if known beforehand
  704. * @returns Node
  705. * @throws {Error} If the payload is not a reader or valid buffer
  706. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  707. */
  708. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.Node;
  709. /**
  710. * Decodes a Node message from the specified reader or buffer, length delimited.
  711. * @param reader Reader or buffer to decode from
  712. * @returns Node
  713. * @throws {Error} If the payload is not a reader or valid buffer
  714. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  715. */
  716. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.Node;
  717. /**
  718. * Verifies a Node message.
  719. * @param message Plain object to verify
  720. * @returns `null` if valid, otherwise the reason why it is not
  721. */
  722. public static verify(message: { [k: string]: any }): (string|null);
  723. /**
  724. * Creates a plain object from a Node message. Also converts values to other types if specified.
  725. * @param message Node
  726. * @param [options] Conversion options
  727. * @returns Plain object
  728. */
  729. public static toObject(message: Trace.Node, options?: $protobuf.IConversionOptions): { [k: string]: any };
  730. /**
  731. * Converts this Node to JSON.
  732. * @returns JSON object
  733. */
  734. public toJSON(): { [k: string]: any };
  735. }
  736. /** Properties of a QueryPlanNode. */
  737. interface IQueryPlanNode {
  738. /** QueryPlanNode sequence */
  739. sequence?: (Trace.QueryPlanNode.ISequenceNode|null);
  740. /** QueryPlanNode parallel */
  741. parallel?: (Trace.QueryPlanNode.IParallelNode|null);
  742. /** QueryPlanNode fetch */
  743. fetch?: (Trace.QueryPlanNode.IFetchNode|null);
  744. /** QueryPlanNode flatten */
  745. flatten?: (Trace.QueryPlanNode.IFlattenNode|null);
  746. /** QueryPlanNode defer */
  747. defer?: (Trace.QueryPlanNode.IDeferNode|null);
  748. /** QueryPlanNode condition */
  749. condition?: (Trace.QueryPlanNode.IConditionNode|null);
  750. }
  751. /** Represents a QueryPlanNode. */
  752. class QueryPlanNode implements IQueryPlanNode {
  753. /**
  754. * Constructs a new QueryPlanNode.
  755. * @param [properties] Properties to set
  756. */
  757. constructor(properties?: Trace.IQueryPlanNode);
  758. /** QueryPlanNode sequence. */
  759. public sequence?: (Trace.QueryPlanNode.ISequenceNode|null);
  760. /** QueryPlanNode parallel. */
  761. public parallel?: (Trace.QueryPlanNode.IParallelNode|null);
  762. /** QueryPlanNode fetch. */
  763. public fetch?: (Trace.QueryPlanNode.IFetchNode|null);
  764. /** QueryPlanNode flatten. */
  765. public flatten?: (Trace.QueryPlanNode.IFlattenNode|null);
  766. /** QueryPlanNode defer. */
  767. public defer?: (Trace.QueryPlanNode.IDeferNode|null);
  768. /** QueryPlanNode condition. */
  769. public condition?: (Trace.QueryPlanNode.IConditionNode|null);
  770. /** QueryPlanNode node. */
  771. public node?: ("sequence"|"parallel"|"fetch"|"flatten"|"defer"|"condition");
  772. /**
  773. * Creates a new QueryPlanNode instance using the specified properties.
  774. * @param [properties] Properties to set
  775. * @returns QueryPlanNode instance
  776. */
  777. public static create(properties?: Trace.IQueryPlanNode): Trace.QueryPlanNode;
  778. /**
  779. * Encodes the specified QueryPlanNode message. Does not implicitly {@link Trace.QueryPlanNode.verify|verify} messages.
  780. * @param message QueryPlanNode message or plain object to encode
  781. * @param [writer] Writer to encode to
  782. * @returns Writer
  783. */
  784. public static encode(message: Trace.IQueryPlanNode, writer?: $protobuf.Writer): $protobuf.Writer;
  785. /**
  786. * Encodes the specified QueryPlanNode message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.verify|verify} messages.
  787. * @param message QueryPlanNode message or plain object to encode
  788. * @param [writer] Writer to encode to
  789. * @returns Writer
  790. */
  791. public static encodeDelimited(message: Trace.IQueryPlanNode, writer?: $protobuf.Writer): $protobuf.Writer;
  792. /**
  793. * Decodes a QueryPlanNode message from the specified reader or buffer.
  794. * @param reader Reader or buffer to decode from
  795. * @param [length] Message length if known beforehand
  796. * @returns QueryPlanNode
  797. * @throws {Error} If the payload is not a reader or valid buffer
  798. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  799. */
  800. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.QueryPlanNode;
  801. /**
  802. * Decodes a QueryPlanNode message from the specified reader or buffer, length delimited.
  803. * @param reader Reader or buffer to decode from
  804. * @returns QueryPlanNode
  805. * @throws {Error} If the payload is not a reader or valid buffer
  806. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  807. */
  808. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.QueryPlanNode;
  809. /**
  810. * Verifies a QueryPlanNode message.
  811. * @param message Plain object to verify
  812. * @returns `null` if valid, otherwise the reason why it is not
  813. */
  814. public static verify(message: { [k: string]: any }): (string|null);
  815. /**
  816. * Creates a plain object from a QueryPlanNode message. Also converts values to other types if specified.
  817. * @param message QueryPlanNode
  818. * @param [options] Conversion options
  819. * @returns Plain object
  820. */
  821. public static toObject(message: Trace.QueryPlanNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
  822. /**
  823. * Converts this QueryPlanNode to JSON.
  824. * @returns JSON object
  825. */
  826. public toJSON(): { [k: string]: any };
  827. }
  828. namespace QueryPlanNode {
  829. /** Properties of a SequenceNode. */
  830. interface ISequenceNode {
  831. /** SequenceNode nodes */
  832. nodes?: (Trace.IQueryPlanNode[]|null);
  833. }
  834. /** Represents a SequenceNode. */
  835. class SequenceNode implements ISequenceNode {
  836. /**
  837. * Constructs a new SequenceNode.
  838. * @param [properties] Properties to set
  839. */
  840. constructor(properties?: Trace.QueryPlanNode.ISequenceNode);
  841. /** SequenceNode nodes. */
  842. public nodes: Trace.IQueryPlanNode[];
  843. /**
  844. * Creates a new SequenceNode instance using the specified properties.
  845. * @param [properties] Properties to set
  846. * @returns SequenceNode instance
  847. */
  848. public static create(properties?: Trace.QueryPlanNode.ISequenceNode): Trace.QueryPlanNode.SequenceNode;
  849. /**
  850. * Encodes the specified SequenceNode message. Does not implicitly {@link Trace.QueryPlanNode.SequenceNode.verify|verify} messages.
  851. * @param message SequenceNode message or plain object to encode
  852. * @param [writer] Writer to encode to
  853. * @returns Writer
  854. */
  855. public static encode(message: Trace.QueryPlanNode.ISequenceNode, writer?: $protobuf.Writer): $protobuf.Writer;
  856. /**
  857. * Encodes the specified SequenceNode message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.SequenceNode.verify|verify} messages.
  858. * @param message SequenceNode message or plain object to encode
  859. * @param [writer] Writer to encode to
  860. * @returns Writer
  861. */
  862. public static encodeDelimited(message: Trace.QueryPlanNode.ISequenceNode, writer?: $protobuf.Writer): $protobuf.Writer;
  863. /**
  864. * Decodes a SequenceNode message from the specified reader or buffer.
  865. * @param reader Reader or buffer to decode from
  866. * @param [length] Message length if known beforehand
  867. * @returns SequenceNode
  868. * @throws {Error} If the payload is not a reader or valid buffer
  869. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  870. */
  871. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.QueryPlanNode.SequenceNode;
  872. /**
  873. * Decodes a SequenceNode message from the specified reader or buffer, length delimited.
  874. * @param reader Reader or buffer to decode from
  875. * @returns SequenceNode
  876. * @throws {Error} If the payload is not a reader or valid buffer
  877. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  878. */
  879. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.QueryPlanNode.SequenceNode;
  880. /**
  881. * Verifies a SequenceNode message.
  882. * @param message Plain object to verify
  883. * @returns `null` if valid, otherwise the reason why it is not
  884. */
  885. public static verify(message: { [k: string]: any }): (string|null);
  886. /**
  887. * Creates a plain object from a SequenceNode message. Also converts values to other types if specified.
  888. * @param message SequenceNode
  889. * @param [options] Conversion options
  890. * @returns Plain object
  891. */
  892. public static toObject(message: Trace.QueryPlanNode.SequenceNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
  893. /**
  894. * Converts this SequenceNode to JSON.
  895. * @returns JSON object
  896. */
  897. public toJSON(): { [k: string]: any };
  898. }
  899. /** Properties of a ParallelNode. */
  900. interface IParallelNode {
  901. /** ParallelNode nodes */
  902. nodes?: (Trace.IQueryPlanNode[]|null);
  903. }
  904. /** Represents a ParallelNode. */
  905. class ParallelNode implements IParallelNode {
  906. /**
  907. * Constructs a new ParallelNode.
  908. * @param [properties] Properties to set
  909. */
  910. constructor(properties?: Trace.QueryPlanNode.IParallelNode);
  911. /** ParallelNode nodes. */
  912. public nodes: Trace.IQueryPlanNode[];
  913. /**
  914. * Creates a new ParallelNode instance using the specified properties.
  915. * @param [properties] Properties to set
  916. * @returns ParallelNode instance
  917. */
  918. public static create(properties?: Trace.QueryPlanNode.IParallelNode): Trace.QueryPlanNode.ParallelNode;
  919. /**
  920. * Encodes the specified ParallelNode message. Does not implicitly {@link Trace.QueryPlanNode.ParallelNode.verify|verify} messages.
  921. * @param message ParallelNode message or plain object to encode
  922. * @param [writer] Writer to encode to
  923. * @returns Writer
  924. */
  925. public static encode(message: Trace.QueryPlanNode.IParallelNode, writer?: $protobuf.Writer): $protobuf.Writer;
  926. /**
  927. * Encodes the specified ParallelNode message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.ParallelNode.verify|verify} messages.
  928. * @param message ParallelNode message or plain object to encode
  929. * @param [writer] Writer to encode to
  930. * @returns Writer
  931. */
  932. public static encodeDelimited(message: Trace.QueryPlanNode.IParallelNode, writer?: $protobuf.Writer): $protobuf.Writer;
  933. /**
  934. * Decodes a ParallelNode message from the specified reader or buffer.
  935. * @param reader Reader or buffer to decode from
  936. * @param [length] Message length if known beforehand
  937. * @returns ParallelNode
  938. * @throws {Error} If the payload is not a reader or valid buffer
  939. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  940. */
  941. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.QueryPlanNode.ParallelNode;
  942. /**
  943. * Decodes a ParallelNode message from the specified reader or buffer, length delimited.
  944. * @param reader Reader or buffer to decode from
  945. * @returns ParallelNode
  946. * @throws {Error} If the payload is not a reader or valid buffer
  947. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  948. */
  949. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.QueryPlanNode.ParallelNode;
  950. /**
  951. * Verifies a ParallelNode message.
  952. * @param message Plain object to verify
  953. * @returns `null` if valid, otherwise the reason why it is not
  954. */
  955. public static verify(message: { [k: string]: any }): (string|null);
  956. /**
  957. * Creates a plain object from a ParallelNode message. Also converts values to other types if specified.
  958. * @param message ParallelNode
  959. * @param [options] Conversion options
  960. * @returns Plain object
  961. */
  962. public static toObject(message: Trace.QueryPlanNode.ParallelNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
  963. /**
  964. * Converts this ParallelNode to JSON.
  965. * @returns JSON object
  966. */
  967. public toJSON(): { [k: string]: any };
  968. }
  969. /** Properties of a FetchNode. */
  970. interface IFetchNode {
  971. /** FetchNode serviceName */
  972. serviceName?: (string|null);
  973. /** FetchNode traceParsingFailed */
  974. traceParsingFailed?: (boolean|null);
  975. /** FetchNode trace */
  976. trace?: (ITrace|null);
  977. /** FetchNode sentTimeOffset */
  978. sentTimeOffset?: (number|null);
  979. /** FetchNode sentTime */
  980. sentTime?: (google.protobuf.ITimestamp|null);
  981. /** FetchNode receivedTime */
  982. receivedTime?: (google.protobuf.ITimestamp|null);
  983. }
  984. /** Represents a FetchNode. */
  985. class FetchNode implements IFetchNode {
  986. /**
  987. * Constructs a new FetchNode.
  988. * @param [properties] Properties to set
  989. */
  990. constructor(properties?: Trace.QueryPlanNode.IFetchNode);
  991. /** FetchNode serviceName. */
  992. public serviceName: string;
  993. /** FetchNode traceParsingFailed. */
  994. public traceParsingFailed: boolean;
  995. /** FetchNode trace. */
  996. public trace?: (ITrace|null);
  997. /** FetchNode sentTimeOffset. */
  998. public sentTimeOffset: number;
  999. /** FetchNode sentTime. */
  1000. public sentTime?: (google.protobuf.ITimestamp|null);
  1001. /** FetchNode receivedTime. */
  1002. public receivedTime?: (google.protobuf.ITimestamp|null);
  1003. /**
  1004. * Creates a new FetchNode instance using the specified properties.
  1005. * @param [properties] Properties to set
  1006. * @returns FetchNode instance
  1007. */
  1008. public static create(properties?: Trace.QueryPlanNode.IFetchNode): Trace.QueryPlanNode.FetchNode;
  1009. /**
  1010. * Encodes the specified FetchNode message. Does not implicitly {@link Trace.QueryPlanNode.FetchNode.verify|verify} messages.
  1011. * @param message FetchNode message or plain object to encode
  1012. * @param [writer] Writer to encode to
  1013. * @returns Writer
  1014. */
  1015. public static encode(message: Trace.QueryPlanNode.IFetchNode, writer?: $protobuf.Writer): $protobuf.Writer;
  1016. /**
  1017. * Encodes the specified FetchNode message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.FetchNode.verify|verify} messages.
  1018. * @param message FetchNode message or plain object to encode
  1019. * @param [writer] Writer to encode to
  1020. * @returns Writer
  1021. */
  1022. public static encodeDelimited(message: Trace.QueryPlanNode.IFetchNode, writer?: $protobuf.Writer): $protobuf.Writer;
  1023. /**
  1024. * Decodes a FetchNode message from the specified reader or buffer.
  1025. * @param reader Reader or buffer to decode from
  1026. * @param [length] Message length if known beforehand
  1027. * @returns FetchNode
  1028. * @throws {Error} If the payload is not a reader or valid buffer
  1029. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1030. */
  1031. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.QueryPlanNode.FetchNode;
  1032. /**
  1033. * Decodes a FetchNode message from the specified reader or buffer, length delimited.
  1034. * @param reader Reader or buffer to decode from
  1035. * @returns FetchNode
  1036. * @throws {Error} If the payload is not a reader or valid buffer
  1037. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1038. */
  1039. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.QueryPlanNode.FetchNode;
  1040. /**
  1041. * Verifies a FetchNode message.
  1042. * @param message Plain object to verify
  1043. * @returns `null` if valid, otherwise the reason why it is not
  1044. */
  1045. public static verify(message: { [k: string]: any }): (string|null);
  1046. /**
  1047. * Creates a plain object from a FetchNode message. Also converts values to other types if specified.
  1048. * @param message FetchNode
  1049. * @param [options] Conversion options
  1050. * @returns Plain object
  1051. */
  1052. public static toObject(message: Trace.QueryPlanNode.FetchNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1053. /**
  1054. * Converts this FetchNode to JSON.
  1055. * @returns JSON object
  1056. */
  1057. public toJSON(): { [k: string]: any };
  1058. }
  1059. /** Properties of a FlattenNode. */
  1060. interface IFlattenNode {
  1061. /** FlattenNode responsePath */
  1062. responsePath?: (Trace.QueryPlanNode.IResponsePathElement[]|null);
  1063. /** FlattenNode node */
  1064. node?: (Trace.IQueryPlanNode|null);
  1065. }
  1066. /** Represents a FlattenNode. */
  1067. class FlattenNode implements IFlattenNode {
  1068. /**
  1069. * Constructs a new FlattenNode.
  1070. * @param [properties] Properties to set
  1071. */
  1072. constructor(properties?: Trace.QueryPlanNode.IFlattenNode);
  1073. /** FlattenNode responsePath. */
  1074. public responsePath: Trace.QueryPlanNode.IResponsePathElement[];
  1075. /** FlattenNode node. */
  1076. public node?: (Trace.IQueryPlanNode|null);
  1077. /**
  1078. * Creates a new FlattenNode instance using the specified properties.
  1079. * @param [properties] Properties to set
  1080. * @returns FlattenNode instance
  1081. */
  1082. public static create(properties?: Trace.QueryPlanNode.IFlattenNode): Trace.QueryPlanNode.FlattenNode;
  1083. /**
  1084. * Encodes the specified FlattenNode message. Does not implicitly {@link Trace.QueryPlanNode.FlattenNode.verify|verify} messages.
  1085. * @param message FlattenNode message or plain object to encode
  1086. * @param [writer] Writer to encode to
  1087. * @returns Writer
  1088. */
  1089. public static encode(message: Trace.QueryPlanNode.IFlattenNode, writer?: $protobuf.Writer): $protobuf.Writer;
  1090. /**
  1091. * Encodes the specified FlattenNode message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.FlattenNode.verify|verify} messages.
  1092. * @param message FlattenNode message or plain object to encode
  1093. * @param [writer] Writer to encode to
  1094. * @returns Writer
  1095. */
  1096. public static encodeDelimited(message: Trace.QueryPlanNode.IFlattenNode, writer?: $protobuf.Writer): $protobuf.Writer;
  1097. /**
  1098. * Decodes a FlattenNode message from the specified reader or buffer.
  1099. * @param reader Reader or buffer to decode from
  1100. * @param [length] Message length if known beforehand
  1101. * @returns FlattenNode
  1102. * @throws {Error} If the payload is not a reader or valid buffer
  1103. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1104. */
  1105. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.QueryPlanNode.FlattenNode;
  1106. /**
  1107. * Decodes a FlattenNode message from the specified reader or buffer, length delimited.
  1108. * @param reader Reader or buffer to decode from
  1109. * @returns FlattenNode
  1110. * @throws {Error} If the payload is not a reader or valid buffer
  1111. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1112. */
  1113. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.QueryPlanNode.FlattenNode;
  1114. /**
  1115. * Verifies a FlattenNode message.
  1116. * @param message Plain object to verify
  1117. * @returns `null` if valid, otherwise the reason why it is not
  1118. */
  1119. public static verify(message: { [k: string]: any }): (string|null);
  1120. /**
  1121. * Creates a plain object from a FlattenNode message. Also converts values to other types if specified.
  1122. * @param message FlattenNode
  1123. * @param [options] Conversion options
  1124. * @returns Plain object
  1125. */
  1126. public static toObject(message: Trace.QueryPlanNode.FlattenNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1127. /**
  1128. * Converts this FlattenNode to JSON.
  1129. * @returns JSON object
  1130. */
  1131. public toJSON(): { [k: string]: any };
  1132. }
  1133. /** Properties of a DeferNode. */
  1134. interface IDeferNode {
  1135. /** DeferNode primary */
  1136. primary?: (Trace.QueryPlanNode.IDeferNodePrimary|null);
  1137. /** DeferNode deferred */
  1138. deferred?: (Trace.QueryPlanNode.IDeferredNode[]|null);
  1139. }
  1140. /** Represents a DeferNode. */
  1141. class DeferNode implements IDeferNode {
  1142. /**
  1143. * Constructs a new DeferNode.
  1144. * @param [properties] Properties to set
  1145. */
  1146. constructor(properties?: Trace.QueryPlanNode.IDeferNode);
  1147. /** DeferNode primary. */
  1148. public primary?: (Trace.QueryPlanNode.IDeferNodePrimary|null);
  1149. /** DeferNode deferred. */
  1150. public deferred: Trace.QueryPlanNode.IDeferredNode[];
  1151. /**
  1152. * Creates a new DeferNode instance using the specified properties.
  1153. * @param [properties] Properties to set
  1154. * @returns DeferNode instance
  1155. */
  1156. public static create(properties?: Trace.QueryPlanNode.IDeferNode): Trace.QueryPlanNode.DeferNode;
  1157. /**
  1158. * Encodes the specified DeferNode message. Does not implicitly {@link Trace.QueryPlanNode.DeferNode.verify|verify} messages.
  1159. * @param message DeferNode message or plain object to encode
  1160. * @param [writer] Writer to encode to
  1161. * @returns Writer
  1162. */
  1163. public static encode(message: Trace.QueryPlanNode.IDeferNode, writer?: $protobuf.Writer): $protobuf.Writer;
  1164. /**
  1165. * Encodes the specified DeferNode message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.DeferNode.verify|verify} messages.
  1166. * @param message DeferNode message or plain object to encode
  1167. * @param [writer] Writer to encode to
  1168. * @returns Writer
  1169. */
  1170. public static encodeDelimited(message: Trace.QueryPlanNode.IDeferNode, writer?: $protobuf.Writer): $protobuf.Writer;
  1171. /**
  1172. * Decodes a DeferNode message from the specified reader or buffer.
  1173. * @param reader Reader or buffer to decode from
  1174. * @param [length] Message length if known beforehand
  1175. * @returns DeferNode
  1176. * @throws {Error} If the payload is not a reader or valid buffer
  1177. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1178. */
  1179. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.QueryPlanNode.DeferNode;
  1180. /**
  1181. * Decodes a DeferNode message from the specified reader or buffer, length delimited.
  1182. * @param reader Reader or buffer to decode from
  1183. * @returns DeferNode
  1184. * @throws {Error} If the payload is not a reader or valid buffer
  1185. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1186. */
  1187. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.QueryPlanNode.DeferNode;
  1188. /**
  1189. * Verifies a DeferNode message.
  1190. * @param message Plain object to verify
  1191. * @returns `null` if valid, otherwise the reason why it is not
  1192. */
  1193. public static verify(message: { [k: string]: any }): (string|null);
  1194. /**
  1195. * Creates a plain object from a DeferNode message. Also converts values to other types if specified.
  1196. * @param message DeferNode
  1197. * @param [options] Conversion options
  1198. * @returns Plain object
  1199. */
  1200. public static toObject(message: Trace.QueryPlanNode.DeferNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1201. /**
  1202. * Converts this DeferNode to JSON.
  1203. * @returns JSON object
  1204. */
  1205. public toJSON(): { [k: string]: any };
  1206. }
  1207. /** Properties of a ConditionNode. */
  1208. interface IConditionNode {
  1209. /** ConditionNode condition */
  1210. condition?: (string|null);
  1211. /** ConditionNode ifClause */
  1212. ifClause?: (Trace.IQueryPlanNode|null);
  1213. /** ConditionNode elseClause */
  1214. elseClause?: (Trace.IQueryPlanNode|null);
  1215. }
  1216. /** Represents a ConditionNode. */
  1217. class ConditionNode implements IConditionNode {
  1218. /**
  1219. * Constructs a new ConditionNode.
  1220. * @param [properties] Properties to set
  1221. */
  1222. constructor(properties?: Trace.QueryPlanNode.IConditionNode);
  1223. /** ConditionNode condition. */
  1224. public condition: string;
  1225. /** ConditionNode ifClause. */
  1226. public ifClause?: (Trace.IQueryPlanNode|null);
  1227. /** ConditionNode elseClause. */
  1228. public elseClause?: (Trace.IQueryPlanNode|null);
  1229. /**
  1230. * Creates a new ConditionNode instance using the specified properties.
  1231. * @param [properties] Properties to set
  1232. * @returns ConditionNode instance
  1233. */
  1234. public static create(properties?: Trace.QueryPlanNode.IConditionNode): Trace.QueryPlanNode.ConditionNode;
  1235. /**
  1236. * Encodes the specified ConditionNode message. Does not implicitly {@link Trace.QueryPlanNode.ConditionNode.verify|verify} messages.
  1237. * @param message ConditionNode message or plain object to encode
  1238. * @param [writer] Writer to encode to
  1239. * @returns Writer
  1240. */
  1241. public static encode(message: Trace.QueryPlanNode.IConditionNode, writer?: $protobuf.Writer): $protobuf.Writer;
  1242. /**
  1243. * Encodes the specified ConditionNode message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.ConditionNode.verify|verify} messages.
  1244. * @param message ConditionNode message or plain object to encode
  1245. * @param [writer] Writer to encode to
  1246. * @returns Writer
  1247. */
  1248. public static encodeDelimited(message: Trace.QueryPlanNode.IConditionNode, writer?: $protobuf.Writer): $protobuf.Writer;
  1249. /**
  1250. * Decodes a ConditionNode message from the specified reader or buffer.
  1251. * @param reader Reader or buffer to decode from
  1252. * @param [length] Message length if known beforehand
  1253. * @returns ConditionNode
  1254. * @throws {Error} If the payload is not a reader or valid buffer
  1255. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1256. */
  1257. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.QueryPlanNode.ConditionNode;
  1258. /**
  1259. * Decodes a ConditionNode message from the specified reader or buffer, length delimited.
  1260. * @param reader Reader or buffer to decode from
  1261. * @returns ConditionNode
  1262. * @throws {Error} If the payload is not a reader or valid buffer
  1263. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1264. */
  1265. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.QueryPlanNode.ConditionNode;
  1266. /**
  1267. * Verifies a ConditionNode message.
  1268. * @param message Plain object to verify
  1269. * @returns `null` if valid, otherwise the reason why it is not
  1270. */
  1271. public static verify(message: { [k: string]: any }): (string|null);
  1272. /**
  1273. * Creates a plain object from a ConditionNode message. Also converts values to other types if specified.
  1274. * @param message ConditionNode
  1275. * @param [options] Conversion options
  1276. * @returns Plain object
  1277. */
  1278. public static toObject(message: Trace.QueryPlanNode.ConditionNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1279. /**
  1280. * Converts this ConditionNode to JSON.
  1281. * @returns JSON object
  1282. */
  1283. public toJSON(): { [k: string]: any };
  1284. }
  1285. /** Properties of a DeferNodePrimary. */
  1286. interface IDeferNodePrimary {
  1287. /** DeferNodePrimary node */
  1288. node?: (Trace.IQueryPlanNode|null);
  1289. }
  1290. /** Represents a DeferNodePrimary. */
  1291. class DeferNodePrimary implements IDeferNodePrimary {
  1292. /**
  1293. * Constructs a new DeferNodePrimary.
  1294. * @param [properties] Properties to set
  1295. */
  1296. constructor(properties?: Trace.QueryPlanNode.IDeferNodePrimary);
  1297. /** DeferNodePrimary node. */
  1298. public node?: (Trace.IQueryPlanNode|null);
  1299. /**
  1300. * Creates a new DeferNodePrimary instance using the specified properties.
  1301. * @param [properties] Properties to set
  1302. * @returns DeferNodePrimary instance
  1303. */
  1304. public static create(properties?: Trace.QueryPlanNode.IDeferNodePrimary): Trace.QueryPlanNode.DeferNodePrimary;
  1305. /**
  1306. * Encodes the specified DeferNodePrimary message. Does not implicitly {@link Trace.QueryPlanNode.DeferNodePrimary.verify|verify} messages.
  1307. * @param message DeferNodePrimary message or plain object to encode
  1308. * @param [writer] Writer to encode to
  1309. * @returns Writer
  1310. */
  1311. public static encode(message: Trace.QueryPlanNode.IDeferNodePrimary, writer?: $protobuf.Writer): $protobuf.Writer;
  1312. /**
  1313. * Encodes the specified DeferNodePrimary message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.DeferNodePrimary.verify|verify} messages.
  1314. * @param message DeferNodePrimary message or plain object to encode
  1315. * @param [writer] Writer to encode to
  1316. * @returns Writer
  1317. */
  1318. public static encodeDelimited(message: Trace.QueryPlanNode.IDeferNodePrimary, writer?: $protobuf.Writer): $protobuf.Writer;
  1319. /**
  1320. * Decodes a DeferNodePrimary message from the specified reader or buffer.
  1321. * @param reader Reader or buffer to decode from
  1322. * @param [length] Message length if known beforehand
  1323. * @returns DeferNodePrimary
  1324. * @throws {Error} If the payload is not a reader or valid buffer
  1325. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1326. */
  1327. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.QueryPlanNode.DeferNodePrimary;
  1328. /**
  1329. * Decodes a DeferNodePrimary message from the specified reader or buffer, length delimited.
  1330. * @param reader Reader or buffer to decode from
  1331. * @returns DeferNodePrimary
  1332. * @throws {Error} If the payload is not a reader or valid buffer
  1333. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1334. */
  1335. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.QueryPlanNode.DeferNodePrimary;
  1336. /**
  1337. * Verifies a DeferNodePrimary message.
  1338. * @param message Plain object to verify
  1339. * @returns `null` if valid, otherwise the reason why it is not
  1340. */
  1341. public static verify(message: { [k: string]: any }): (string|null);
  1342. /**
  1343. * Creates a plain object from a DeferNodePrimary message. Also converts values to other types if specified.
  1344. * @param message DeferNodePrimary
  1345. * @param [options] Conversion options
  1346. * @returns Plain object
  1347. */
  1348. public static toObject(message: Trace.QueryPlanNode.DeferNodePrimary, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1349. /**
  1350. * Converts this DeferNodePrimary to JSON.
  1351. * @returns JSON object
  1352. */
  1353. public toJSON(): { [k: string]: any };
  1354. }
  1355. /** Properties of a DeferredNode. */
  1356. interface IDeferredNode {
  1357. /** DeferredNode depends */
  1358. depends?: (Trace.QueryPlanNode.IDeferredNodeDepends[]|null);
  1359. /** DeferredNode label */
  1360. label?: (string|null);
  1361. /** DeferredNode path */
  1362. path?: (Trace.QueryPlanNode.IResponsePathElement[]|null);
  1363. /** DeferredNode node */
  1364. node?: (Trace.IQueryPlanNode|null);
  1365. }
  1366. /** Represents a DeferredNode. */
  1367. class DeferredNode implements IDeferredNode {
  1368. /**
  1369. * Constructs a new DeferredNode.
  1370. * @param [properties] Properties to set
  1371. */
  1372. constructor(properties?: Trace.QueryPlanNode.IDeferredNode);
  1373. /** DeferredNode depends. */
  1374. public depends: Trace.QueryPlanNode.IDeferredNodeDepends[];
  1375. /** DeferredNode label. */
  1376. public label: string;
  1377. /** DeferredNode path. */
  1378. public path: Trace.QueryPlanNode.IResponsePathElement[];
  1379. /** DeferredNode node. */
  1380. public node?: (Trace.IQueryPlanNode|null);
  1381. /**
  1382. * Creates a new DeferredNode instance using the specified properties.
  1383. * @param [properties] Properties to set
  1384. * @returns DeferredNode instance
  1385. */
  1386. public static create(properties?: Trace.QueryPlanNode.IDeferredNode): Trace.QueryPlanNode.DeferredNode;
  1387. /**
  1388. * Encodes the specified DeferredNode message. Does not implicitly {@link Trace.QueryPlanNode.DeferredNode.verify|verify} messages.
  1389. * @param message DeferredNode message or plain object to encode
  1390. * @param [writer] Writer to encode to
  1391. * @returns Writer
  1392. */
  1393. public static encode(message: Trace.QueryPlanNode.IDeferredNode, writer?: $protobuf.Writer): $protobuf.Writer;
  1394. /**
  1395. * Encodes the specified DeferredNode message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.DeferredNode.verify|verify} messages.
  1396. * @param message DeferredNode message or plain object to encode
  1397. * @param [writer] Writer to encode to
  1398. * @returns Writer
  1399. */
  1400. public static encodeDelimited(message: Trace.QueryPlanNode.IDeferredNode, writer?: $protobuf.Writer): $protobuf.Writer;
  1401. /**
  1402. * Decodes a DeferredNode message from the specified reader or buffer.
  1403. * @param reader Reader or buffer to decode from
  1404. * @param [length] Message length if known beforehand
  1405. * @returns DeferredNode
  1406. * @throws {Error} If the payload is not a reader or valid buffer
  1407. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1408. */
  1409. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.QueryPlanNode.DeferredNode;
  1410. /**
  1411. * Decodes a DeferredNode message from the specified reader or buffer, length delimited.
  1412. * @param reader Reader or buffer to decode from
  1413. * @returns DeferredNode
  1414. * @throws {Error} If the payload is not a reader or valid buffer
  1415. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1416. */
  1417. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.QueryPlanNode.DeferredNode;
  1418. /**
  1419. * Verifies a DeferredNode message.
  1420. * @param message Plain object to verify
  1421. * @returns `null` if valid, otherwise the reason why it is not
  1422. */
  1423. public static verify(message: { [k: string]: any }): (string|null);
  1424. /**
  1425. * Creates a plain object from a DeferredNode message. Also converts values to other types if specified.
  1426. * @param message DeferredNode
  1427. * @param [options] Conversion options
  1428. * @returns Plain object
  1429. */
  1430. public static toObject(message: Trace.QueryPlanNode.DeferredNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1431. /**
  1432. * Converts this DeferredNode to JSON.
  1433. * @returns JSON object
  1434. */
  1435. public toJSON(): { [k: string]: any };
  1436. }
  1437. /** Properties of a DeferredNodeDepends. */
  1438. interface IDeferredNodeDepends {
  1439. /** DeferredNodeDepends id */
  1440. id?: (string|null);
  1441. /** DeferredNodeDepends deferLabel */
  1442. deferLabel?: (string|null);
  1443. }
  1444. /** Represents a DeferredNodeDepends. */
  1445. class DeferredNodeDepends implements IDeferredNodeDepends {
  1446. /**
  1447. * Constructs a new DeferredNodeDepends.
  1448. * @param [properties] Properties to set
  1449. */
  1450. constructor(properties?: Trace.QueryPlanNode.IDeferredNodeDepends);
  1451. /** DeferredNodeDepends id. */
  1452. public id: string;
  1453. /** DeferredNodeDepends deferLabel. */
  1454. public deferLabel: string;
  1455. /**
  1456. * Creates a new DeferredNodeDepends instance using the specified properties.
  1457. * @param [properties] Properties to set
  1458. * @returns DeferredNodeDepends instance
  1459. */
  1460. public static create(properties?: Trace.QueryPlanNode.IDeferredNodeDepends): Trace.QueryPlanNode.DeferredNodeDepends;
  1461. /**
  1462. * Encodes the specified DeferredNodeDepends message. Does not implicitly {@link Trace.QueryPlanNode.DeferredNodeDepends.verify|verify} messages.
  1463. * @param message DeferredNodeDepends message or plain object to encode
  1464. * @param [writer] Writer to encode to
  1465. * @returns Writer
  1466. */
  1467. public static encode(message: Trace.QueryPlanNode.IDeferredNodeDepends, writer?: $protobuf.Writer): $protobuf.Writer;
  1468. /**
  1469. * Encodes the specified DeferredNodeDepends message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.DeferredNodeDepends.verify|verify} messages.
  1470. * @param message DeferredNodeDepends message or plain object to encode
  1471. * @param [writer] Writer to encode to
  1472. * @returns Writer
  1473. */
  1474. public static encodeDelimited(message: Trace.QueryPlanNode.IDeferredNodeDepends, writer?: $protobuf.Writer): $protobuf.Writer;
  1475. /**
  1476. * Decodes a DeferredNodeDepends message from the specified reader or buffer.
  1477. * @param reader Reader or buffer to decode from
  1478. * @param [length] Message length if known beforehand
  1479. * @returns DeferredNodeDepends
  1480. * @throws {Error} If the payload is not a reader or valid buffer
  1481. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1482. */
  1483. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.QueryPlanNode.DeferredNodeDepends;
  1484. /**
  1485. * Decodes a DeferredNodeDepends message from the specified reader or buffer, length delimited.
  1486. * @param reader Reader or buffer to decode from
  1487. * @returns DeferredNodeDepends
  1488. * @throws {Error} If the payload is not a reader or valid buffer
  1489. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1490. */
  1491. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.QueryPlanNode.DeferredNodeDepends;
  1492. /**
  1493. * Verifies a DeferredNodeDepends message.
  1494. * @param message Plain object to verify
  1495. * @returns `null` if valid, otherwise the reason why it is not
  1496. */
  1497. public static verify(message: { [k: string]: any }): (string|null);
  1498. /**
  1499. * Creates a plain object from a DeferredNodeDepends message. Also converts values to other types if specified.
  1500. * @param message DeferredNodeDepends
  1501. * @param [options] Conversion options
  1502. * @returns Plain object
  1503. */
  1504. public static toObject(message: Trace.QueryPlanNode.DeferredNodeDepends, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1505. /**
  1506. * Converts this DeferredNodeDepends to JSON.
  1507. * @returns JSON object
  1508. */
  1509. public toJSON(): { [k: string]: any };
  1510. }
  1511. /** Properties of a ResponsePathElement. */
  1512. interface IResponsePathElement {
  1513. /** ResponsePathElement fieldName */
  1514. fieldName?: (string|null);
  1515. /** ResponsePathElement index */
  1516. index?: (number|null);
  1517. }
  1518. /** Represents a ResponsePathElement. */
  1519. class ResponsePathElement implements IResponsePathElement {
  1520. /**
  1521. * Constructs a new ResponsePathElement.
  1522. * @param [properties] Properties to set
  1523. */
  1524. constructor(properties?: Trace.QueryPlanNode.IResponsePathElement);
  1525. /** ResponsePathElement fieldName. */
  1526. public fieldName: string;
  1527. /** ResponsePathElement index. */
  1528. public index: number;
  1529. /** ResponsePathElement id. */
  1530. public id?: ("fieldName"|"index");
  1531. /**
  1532. * Creates a new ResponsePathElement instance using the specified properties.
  1533. * @param [properties] Properties to set
  1534. * @returns ResponsePathElement instance
  1535. */
  1536. public static create(properties?: Trace.QueryPlanNode.IResponsePathElement): Trace.QueryPlanNode.ResponsePathElement;
  1537. /**
  1538. * Encodes the specified ResponsePathElement message. Does not implicitly {@link Trace.QueryPlanNode.ResponsePathElement.verify|verify} messages.
  1539. * @param message ResponsePathElement message or plain object to encode
  1540. * @param [writer] Writer to encode to
  1541. * @returns Writer
  1542. */
  1543. public static encode(message: Trace.QueryPlanNode.IResponsePathElement, writer?: $protobuf.Writer): $protobuf.Writer;
  1544. /**
  1545. * Encodes the specified ResponsePathElement message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.ResponsePathElement.verify|verify} messages.
  1546. * @param message ResponsePathElement message or plain object to encode
  1547. * @param [writer] Writer to encode to
  1548. * @returns Writer
  1549. */
  1550. public static encodeDelimited(message: Trace.QueryPlanNode.IResponsePathElement, writer?: $protobuf.Writer): $protobuf.Writer;
  1551. /**
  1552. * Decodes a ResponsePathElement message from the specified reader or buffer.
  1553. * @param reader Reader or buffer to decode from
  1554. * @param [length] Message length if known beforehand
  1555. * @returns ResponsePathElement
  1556. * @throws {Error} If the payload is not a reader or valid buffer
  1557. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1558. */
  1559. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.QueryPlanNode.ResponsePathElement;
  1560. /**
  1561. * Decodes a ResponsePathElement message from the specified reader or buffer, length delimited.
  1562. * @param reader Reader or buffer to decode from
  1563. * @returns ResponsePathElement
  1564. * @throws {Error} If the payload is not a reader or valid buffer
  1565. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1566. */
  1567. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.QueryPlanNode.ResponsePathElement;
  1568. /**
  1569. * Verifies a ResponsePathElement message.
  1570. * @param message Plain object to verify
  1571. * @returns `null` if valid, otherwise the reason why it is not
  1572. */
  1573. public static verify(message: { [k: string]: any }): (string|null);
  1574. /**
  1575. * Creates a plain object from a ResponsePathElement message. Also converts values to other types if specified.
  1576. * @param message ResponsePathElement
  1577. * @param [options] Conversion options
  1578. * @returns Plain object
  1579. */
  1580. public static toObject(message: Trace.QueryPlanNode.ResponsePathElement, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1581. /**
  1582. * Converts this ResponsePathElement to JSON.
  1583. * @returns JSON object
  1584. */
  1585. public toJSON(): { [k: string]: any };
  1586. }
  1587. }
  1588. }
  1589. /** Properties of a ReportHeader. */
  1590. export interface IReportHeader {
  1591. /** ReportHeader graphRef */
  1592. graphRef?: (string|null);
  1593. /** ReportHeader hostname */
  1594. hostname?: (string|null);
  1595. /** ReportHeader agentVersion */
  1596. agentVersion?: (string|null);
  1597. /** ReportHeader serviceVersion */
  1598. serviceVersion?: (string|null);
  1599. /** ReportHeader runtimeVersion */
  1600. runtimeVersion?: (string|null);
  1601. /** ReportHeader uname */
  1602. uname?: (string|null);
  1603. /** ReportHeader executableSchemaId */
  1604. executableSchemaId?: (string|null);
  1605. }
  1606. /** Represents a ReportHeader. */
  1607. export class ReportHeader implements IReportHeader {
  1608. /**
  1609. * Constructs a new ReportHeader.
  1610. * @param [properties] Properties to set
  1611. */
  1612. constructor(properties?: IReportHeader);
  1613. /** ReportHeader graphRef. */
  1614. public graphRef: string;
  1615. /** ReportHeader hostname. */
  1616. public hostname: string;
  1617. /** ReportHeader agentVersion. */
  1618. public agentVersion: string;
  1619. /** ReportHeader serviceVersion. */
  1620. public serviceVersion: string;
  1621. /** ReportHeader runtimeVersion. */
  1622. public runtimeVersion: string;
  1623. /** ReportHeader uname. */
  1624. public uname: string;
  1625. /** ReportHeader executableSchemaId. */
  1626. public executableSchemaId: string;
  1627. /**
  1628. * Creates a new ReportHeader instance using the specified properties.
  1629. * @param [properties] Properties to set
  1630. * @returns ReportHeader instance
  1631. */
  1632. public static create(properties?: IReportHeader): ReportHeader;
  1633. /**
  1634. * Encodes the specified ReportHeader message. Does not implicitly {@link ReportHeader.verify|verify} messages.
  1635. * @param message ReportHeader message or plain object to encode
  1636. * @param [writer] Writer to encode to
  1637. * @returns Writer
  1638. */
  1639. public static encode(message: IReportHeader, writer?: $protobuf.Writer): $protobuf.Writer;
  1640. /**
  1641. * Encodes the specified ReportHeader message, length delimited. Does not implicitly {@link ReportHeader.verify|verify} messages.
  1642. * @param message ReportHeader message or plain object to encode
  1643. * @param [writer] Writer to encode to
  1644. * @returns Writer
  1645. */
  1646. public static encodeDelimited(message: IReportHeader, writer?: $protobuf.Writer): $protobuf.Writer;
  1647. /**
  1648. * Decodes a ReportHeader message from the specified reader or buffer.
  1649. * @param reader Reader or buffer to decode from
  1650. * @param [length] Message length if known beforehand
  1651. * @returns ReportHeader
  1652. * @throws {Error} If the payload is not a reader or valid buffer
  1653. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1654. */
  1655. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReportHeader;
  1656. /**
  1657. * Decodes a ReportHeader message from the specified reader or buffer, length delimited.
  1658. * @param reader Reader or buffer to decode from
  1659. * @returns ReportHeader
  1660. * @throws {Error} If the payload is not a reader or valid buffer
  1661. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1662. */
  1663. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReportHeader;
  1664. /**
  1665. * Verifies a ReportHeader message.
  1666. * @param message Plain object to verify
  1667. * @returns `null` if valid, otherwise the reason why it is not
  1668. */
  1669. public static verify(message: { [k: string]: any }): (string|null);
  1670. /**
  1671. * Creates a plain object from a ReportHeader message. Also converts values to other types if specified.
  1672. * @param message ReportHeader
  1673. * @param [options] Conversion options
  1674. * @returns Plain object
  1675. */
  1676. public static toObject(message: ReportHeader, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1677. /**
  1678. * Converts this ReportHeader to JSON.
  1679. * @returns JSON object
  1680. */
  1681. public toJSON(): { [k: string]: any };
  1682. }
  1683. /** Properties of a PathErrorStats. */
  1684. export interface IPathErrorStats {
  1685. /** PathErrorStats children */
  1686. children?: ({ [k: string]: IPathErrorStats }|null);
  1687. /** PathErrorStats errorsCount */
  1688. errorsCount?: (number|null);
  1689. /** PathErrorStats requestsWithErrorsCount */
  1690. requestsWithErrorsCount?: (number|null);
  1691. }
  1692. /** Represents a PathErrorStats. */
  1693. export class PathErrorStats implements IPathErrorStats {
  1694. /**
  1695. * Constructs a new PathErrorStats.
  1696. * @param [properties] Properties to set
  1697. */
  1698. constructor(properties?: IPathErrorStats);
  1699. /** PathErrorStats children. */
  1700. public children: { [k: string]: IPathErrorStats };
  1701. /** PathErrorStats errorsCount. */
  1702. public errorsCount: number;
  1703. /** PathErrorStats requestsWithErrorsCount. */
  1704. public requestsWithErrorsCount: number;
  1705. /**
  1706. * Creates a new PathErrorStats instance using the specified properties.
  1707. * @param [properties] Properties to set
  1708. * @returns PathErrorStats instance
  1709. */
  1710. public static create(properties?: IPathErrorStats): PathErrorStats;
  1711. /**
  1712. * Encodes the specified PathErrorStats message. Does not implicitly {@link PathErrorStats.verify|verify} messages.
  1713. * @param message PathErrorStats message or plain object to encode
  1714. * @param [writer] Writer to encode to
  1715. * @returns Writer
  1716. */
  1717. public static encode(message: IPathErrorStats, writer?: $protobuf.Writer): $protobuf.Writer;
  1718. /**
  1719. * Encodes the specified PathErrorStats message, length delimited. Does not implicitly {@link PathErrorStats.verify|verify} messages.
  1720. * @param message PathErrorStats message or plain object to encode
  1721. * @param [writer] Writer to encode to
  1722. * @returns Writer
  1723. */
  1724. public static encodeDelimited(message: IPathErrorStats, writer?: $protobuf.Writer): $protobuf.Writer;
  1725. /**
  1726. * Decodes a PathErrorStats message from the specified reader or buffer.
  1727. * @param reader Reader or buffer to decode from
  1728. * @param [length] Message length if known beforehand
  1729. * @returns PathErrorStats
  1730. * @throws {Error} If the payload is not a reader or valid buffer
  1731. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1732. */
  1733. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PathErrorStats;
  1734. /**
  1735. * Decodes a PathErrorStats message from the specified reader or buffer, length delimited.
  1736. * @param reader Reader or buffer to decode from
  1737. * @returns PathErrorStats
  1738. * @throws {Error} If the payload is not a reader or valid buffer
  1739. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1740. */
  1741. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PathErrorStats;
  1742. /**
  1743. * Verifies a PathErrorStats message.
  1744. * @param message Plain object to verify
  1745. * @returns `null` if valid, otherwise the reason why it is not
  1746. */
  1747. public static verify(message: { [k: string]: any }): (string|null);
  1748. /**
  1749. * Creates a plain object from a PathErrorStats message. Also converts values to other types if specified.
  1750. * @param message PathErrorStats
  1751. * @param [options] Conversion options
  1752. * @returns Plain object
  1753. */
  1754. public static toObject(message: PathErrorStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1755. /**
  1756. * Converts this PathErrorStats to JSON.
  1757. * @returns JSON object
  1758. */
  1759. public toJSON(): { [k: string]: any };
  1760. }
  1761. /** Properties of a QueryLatencyStats. */
  1762. export interface IQueryLatencyStats {
  1763. /** QueryLatencyStats latencyCount */
  1764. latencyCount?: ($protobuf.ToArray<number>|number[]|null);
  1765. /** QueryLatencyStats requestCount */
  1766. requestCount?: (number|null);
  1767. /** QueryLatencyStats cacheHits */
  1768. cacheHits?: (number|null);
  1769. /** QueryLatencyStats persistedQueryHits */
  1770. persistedQueryHits?: (number|null);
  1771. /** QueryLatencyStats persistedQueryMisses */
  1772. persistedQueryMisses?: (number|null);
  1773. /** QueryLatencyStats cacheLatencyCount */
  1774. cacheLatencyCount?: ($protobuf.ToArray<number>|number[]|null);
  1775. /** QueryLatencyStats rootErrorStats */
  1776. rootErrorStats?: (IPathErrorStats|null);
  1777. /** QueryLatencyStats requestsWithErrorsCount */
  1778. requestsWithErrorsCount?: (number|null);
  1779. /** QueryLatencyStats publicCacheTtlCount */
  1780. publicCacheTtlCount?: ($protobuf.ToArray<number>|number[]|null);
  1781. /** QueryLatencyStats privateCacheTtlCount */
  1782. privateCacheTtlCount?: ($protobuf.ToArray<number>|number[]|null);
  1783. /** QueryLatencyStats registeredOperationCount */
  1784. registeredOperationCount?: (number|null);
  1785. /** QueryLatencyStats forbiddenOperationCount */
  1786. forbiddenOperationCount?: (number|null);
  1787. /** QueryLatencyStats requestsWithoutFieldInstrumentation */
  1788. requestsWithoutFieldInstrumentation?: (number|null);
  1789. }
  1790. /** Represents a QueryLatencyStats. */
  1791. export class QueryLatencyStats implements IQueryLatencyStats {
  1792. /**
  1793. * Constructs a new QueryLatencyStats.
  1794. * @param [properties] Properties to set
  1795. */
  1796. constructor(properties?: IQueryLatencyStats);
  1797. /** QueryLatencyStats latencyCount. */
  1798. public latencyCount: number[];
  1799. /** QueryLatencyStats requestCount. */
  1800. public requestCount: number;
  1801. /** QueryLatencyStats cacheHits. */
  1802. public cacheHits: number;
  1803. /** QueryLatencyStats persistedQueryHits. */
  1804. public persistedQueryHits: number;
  1805. /** QueryLatencyStats persistedQueryMisses. */
  1806. public persistedQueryMisses: number;
  1807. /** QueryLatencyStats cacheLatencyCount. */
  1808. public cacheLatencyCount: number[];
  1809. /** QueryLatencyStats rootErrorStats. */
  1810. public rootErrorStats?: (IPathErrorStats|null);
  1811. /** QueryLatencyStats requestsWithErrorsCount. */
  1812. public requestsWithErrorsCount: number;
  1813. /** QueryLatencyStats publicCacheTtlCount. */
  1814. public publicCacheTtlCount: number[];
  1815. /** QueryLatencyStats privateCacheTtlCount. */
  1816. public privateCacheTtlCount: number[];
  1817. /** QueryLatencyStats registeredOperationCount. */
  1818. public registeredOperationCount: number;
  1819. /** QueryLatencyStats forbiddenOperationCount. */
  1820. public forbiddenOperationCount: number;
  1821. /** QueryLatencyStats requestsWithoutFieldInstrumentation. */
  1822. public requestsWithoutFieldInstrumentation: number;
  1823. /**
  1824. * Creates a new QueryLatencyStats instance using the specified properties.
  1825. * @param [properties] Properties to set
  1826. * @returns QueryLatencyStats instance
  1827. */
  1828. public static create(properties?: IQueryLatencyStats): QueryLatencyStats;
  1829. /**
  1830. * Encodes the specified QueryLatencyStats message. Does not implicitly {@link QueryLatencyStats.verify|verify} messages.
  1831. * @param message QueryLatencyStats message or plain object to encode
  1832. * @param [writer] Writer to encode to
  1833. * @returns Writer
  1834. */
  1835. public static encode(message: IQueryLatencyStats, writer?: $protobuf.Writer): $protobuf.Writer;
  1836. /**
  1837. * Encodes the specified QueryLatencyStats message, length delimited. Does not implicitly {@link QueryLatencyStats.verify|verify} messages.
  1838. * @param message QueryLatencyStats message or plain object to encode
  1839. * @param [writer] Writer to encode to
  1840. * @returns Writer
  1841. */
  1842. public static encodeDelimited(message: IQueryLatencyStats, writer?: $protobuf.Writer): $protobuf.Writer;
  1843. /**
  1844. * Decodes a QueryLatencyStats message from the specified reader or buffer.
  1845. * @param reader Reader or buffer to decode from
  1846. * @param [length] Message length if known beforehand
  1847. * @returns QueryLatencyStats
  1848. * @throws {Error} If the payload is not a reader or valid buffer
  1849. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1850. */
  1851. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): QueryLatencyStats;
  1852. /**
  1853. * Decodes a QueryLatencyStats message from the specified reader or buffer, length delimited.
  1854. * @param reader Reader or buffer to decode from
  1855. * @returns QueryLatencyStats
  1856. * @throws {Error} If the payload is not a reader or valid buffer
  1857. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1858. */
  1859. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): QueryLatencyStats;
  1860. /**
  1861. * Verifies a QueryLatencyStats message.
  1862. * @param message Plain object to verify
  1863. * @returns `null` if valid, otherwise the reason why it is not
  1864. */
  1865. public static verify(message: { [k: string]: any }): (string|null);
  1866. /**
  1867. * Creates a plain object from a QueryLatencyStats message. Also converts values to other types if specified.
  1868. * @param message QueryLatencyStats
  1869. * @param [options] Conversion options
  1870. * @returns Plain object
  1871. */
  1872. public static toObject(message: QueryLatencyStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1873. /**
  1874. * Converts this QueryLatencyStats to JSON.
  1875. * @returns JSON object
  1876. */
  1877. public toJSON(): { [k: string]: any };
  1878. }
  1879. /** Properties of a StatsContext. */
  1880. export interface IStatsContext {
  1881. /** StatsContext clientName */
  1882. clientName?: (string|null);
  1883. /** StatsContext clientVersion */
  1884. clientVersion?: (string|null);
  1885. }
  1886. /** Represents a StatsContext. */
  1887. export class StatsContext implements IStatsContext {
  1888. /**
  1889. * Constructs a new StatsContext.
  1890. * @param [properties] Properties to set
  1891. */
  1892. constructor(properties?: IStatsContext);
  1893. /** StatsContext clientName. */
  1894. public clientName: string;
  1895. /** StatsContext clientVersion. */
  1896. public clientVersion: string;
  1897. /**
  1898. * Creates a new StatsContext instance using the specified properties.
  1899. * @param [properties] Properties to set
  1900. * @returns StatsContext instance
  1901. */
  1902. public static create(properties?: IStatsContext): StatsContext;
  1903. /**
  1904. * Encodes the specified StatsContext message. Does not implicitly {@link StatsContext.verify|verify} messages.
  1905. * @param message StatsContext message or plain object to encode
  1906. * @param [writer] Writer to encode to
  1907. * @returns Writer
  1908. */
  1909. public static encode(message: IStatsContext, writer?: $protobuf.Writer): $protobuf.Writer;
  1910. /**
  1911. * Encodes the specified StatsContext message, length delimited. Does not implicitly {@link StatsContext.verify|verify} messages.
  1912. * @param message StatsContext message or plain object to encode
  1913. * @param [writer] Writer to encode to
  1914. * @returns Writer
  1915. */
  1916. public static encodeDelimited(message: IStatsContext, writer?: $protobuf.Writer): $protobuf.Writer;
  1917. /**
  1918. * Decodes a StatsContext message from the specified reader or buffer.
  1919. * @param reader Reader or buffer to decode from
  1920. * @param [length] Message length if known beforehand
  1921. * @returns StatsContext
  1922. * @throws {Error} If the payload is not a reader or valid buffer
  1923. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1924. */
  1925. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): StatsContext;
  1926. /**
  1927. * Decodes a StatsContext message from the specified reader or buffer, length delimited.
  1928. * @param reader Reader or buffer to decode from
  1929. * @returns StatsContext
  1930. * @throws {Error} If the payload is not a reader or valid buffer
  1931. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1932. */
  1933. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): StatsContext;
  1934. /**
  1935. * Verifies a StatsContext message.
  1936. * @param message Plain object to verify
  1937. * @returns `null` if valid, otherwise the reason why it is not
  1938. */
  1939. public static verify(message: { [k: string]: any }): (string|null);
  1940. /**
  1941. * Creates a plain object from a StatsContext message. Also converts values to other types if specified.
  1942. * @param message StatsContext
  1943. * @param [options] Conversion options
  1944. * @returns Plain object
  1945. */
  1946. public static toObject(message: StatsContext, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1947. /**
  1948. * Converts this StatsContext to JSON.
  1949. * @returns JSON object
  1950. */
  1951. public toJSON(): { [k: string]: any };
  1952. }
  1953. /** Properties of a ContextualizedQueryLatencyStats. */
  1954. export interface IContextualizedQueryLatencyStats {
  1955. /** ContextualizedQueryLatencyStats queryLatencyStats */
  1956. queryLatencyStats?: (IQueryLatencyStats|null);
  1957. /** ContextualizedQueryLatencyStats context */
  1958. context?: (IStatsContext|null);
  1959. }
  1960. /** Represents a ContextualizedQueryLatencyStats. */
  1961. export class ContextualizedQueryLatencyStats implements IContextualizedQueryLatencyStats {
  1962. /**
  1963. * Constructs a new ContextualizedQueryLatencyStats.
  1964. * @param [properties] Properties to set
  1965. */
  1966. constructor(properties?: IContextualizedQueryLatencyStats);
  1967. /** ContextualizedQueryLatencyStats queryLatencyStats. */
  1968. public queryLatencyStats?: (IQueryLatencyStats|null);
  1969. /** ContextualizedQueryLatencyStats context. */
  1970. public context?: (IStatsContext|null);
  1971. /**
  1972. * Creates a new ContextualizedQueryLatencyStats instance using the specified properties.
  1973. * @param [properties] Properties to set
  1974. * @returns ContextualizedQueryLatencyStats instance
  1975. */
  1976. public static create(properties?: IContextualizedQueryLatencyStats): ContextualizedQueryLatencyStats;
  1977. /**
  1978. * Encodes the specified ContextualizedQueryLatencyStats message. Does not implicitly {@link ContextualizedQueryLatencyStats.verify|verify} messages.
  1979. * @param message ContextualizedQueryLatencyStats message or plain object to encode
  1980. * @param [writer] Writer to encode to
  1981. * @returns Writer
  1982. */
  1983. public static encode(message: IContextualizedQueryLatencyStats, writer?: $protobuf.Writer): $protobuf.Writer;
  1984. /**
  1985. * Encodes the specified ContextualizedQueryLatencyStats message, length delimited. Does not implicitly {@link ContextualizedQueryLatencyStats.verify|verify} messages.
  1986. * @param message ContextualizedQueryLatencyStats message or plain object to encode
  1987. * @param [writer] Writer to encode to
  1988. * @returns Writer
  1989. */
  1990. public static encodeDelimited(message: IContextualizedQueryLatencyStats, writer?: $protobuf.Writer): $protobuf.Writer;
  1991. /**
  1992. * Decodes a ContextualizedQueryLatencyStats message from the specified reader or buffer.
  1993. * @param reader Reader or buffer to decode from
  1994. * @param [length] Message length if known beforehand
  1995. * @returns ContextualizedQueryLatencyStats
  1996. * @throws {Error} If the payload is not a reader or valid buffer
  1997. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1998. */
  1999. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContextualizedQueryLatencyStats;
  2000. /**
  2001. * Decodes a ContextualizedQueryLatencyStats message from the specified reader or buffer, length delimited.
  2002. * @param reader Reader or buffer to decode from
  2003. * @returns ContextualizedQueryLatencyStats
  2004. * @throws {Error} If the payload is not a reader or valid buffer
  2005. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2006. */
  2007. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContextualizedQueryLatencyStats;
  2008. /**
  2009. * Verifies a ContextualizedQueryLatencyStats message.
  2010. * @param message Plain object to verify
  2011. * @returns `null` if valid, otherwise the reason why it is not
  2012. */
  2013. public static verify(message: { [k: string]: any }): (string|null);
  2014. /**
  2015. * Creates a plain object from a ContextualizedQueryLatencyStats message. Also converts values to other types if specified.
  2016. * @param message ContextualizedQueryLatencyStats
  2017. * @param [options] Conversion options
  2018. * @returns Plain object
  2019. */
  2020. public static toObject(message: ContextualizedQueryLatencyStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2021. /**
  2022. * Converts this ContextualizedQueryLatencyStats to JSON.
  2023. * @returns JSON object
  2024. */
  2025. public toJSON(): { [k: string]: any };
  2026. }
  2027. /** Properties of a ContextualizedTypeStats. */
  2028. export interface IContextualizedTypeStats {
  2029. /** ContextualizedTypeStats context */
  2030. context?: (IStatsContext|null);
  2031. /** ContextualizedTypeStats perTypeStat */
  2032. perTypeStat?: ({ [k: string]: ITypeStat }|null);
  2033. }
  2034. /** Represents a ContextualizedTypeStats. */
  2035. export class ContextualizedTypeStats implements IContextualizedTypeStats {
  2036. /**
  2037. * Constructs a new ContextualizedTypeStats.
  2038. * @param [properties] Properties to set
  2039. */
  2040. constructor(properties?: IContextualizedTypeStats);
  2041. /** ContextualizedTypeStats context. */
  2042. public context?: (IStatsContext|null);
  2043. /** ContextualizedTypeStats perTypeStat. */
  2044. public perTypeStat: { [k: string]: ITypeStat };
  2045. /**
  2046. * Creates a new ContextualizedTypeStats instance using the specified properties.
  2047. * @param [properties] Properties to set
  2048. * @returns ContextualizedTypeStats instance
  2049. */
  2050. public static create(properties?: IContextualizedTypeStats): ContextualizedTypeStats;
  2051. /**
  2052. * Encodes the specified ContextualizedTypeStats message. Does not implicitly {@link ContextualizedTypeStats.verify|verify} messages.
  2053. * @param message ContextualizedTypeStats message or plain object to encode
  2054. * @param [writer] Writer to encode to
  2055. * @returns Writer
  2056. */
  2057. public static encode(message: IContextualizedTypeStats, writer?: $protobuf.Writer): $protobuf.Writer;
  2058. /**
  2059. * Encodes the specified ContextualizedTypeStats message, length delimited. Does not implicitly {@link ContextualizedTypeStats.verify|verify} messages.
  2060. * @param message ContextualizedTypeStats message or plain object to encode
  2061. * @param [writer] Writer to encode to
  2062. * @returns Writer
  2063. */
  2064. public static encodeDelimited(message: IContextualizedTypeStats, writer?: $protobuf.Writer): $protobuf.Writer;
  2065. /**
  2066. * Decodes a ContextualizedTypeStats message from the specified reader or buffer.
  2067. * @param reader Reader or buffer to decode from
  2068. * @param [length] Message length if known beforehand
  2069. * @returns ContextualizedTypeStats
  2070. * @throws {Error} If the payload is not a reader or valid buffer
  2071. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2072. */
  2073. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContextualizedTypeStats;
  2074. /**
  2075. * Decodes a ContextualizedTypeStats message from the specified reader or buffer, length delimited.
  2076. * @param reader Reader or buffer to decode from
  2077. * @returns ContextualizedTypeStats
  2078. * @throws {Error} If the payload is not a reader or valid buffer
  2079. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2080. */
  2081. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContextualizedTypeStats;
  2082. /**
  2083. * Verifies a ContextualizedTypeStats message.
  2084. * @param message Plain object to verify
  2085. * @returns `null` if valid, otherwise the reason why it is not
  2086. */
  2087. public static verify(message: { [k: string]: any }): (string|null);
  2088. /**
  2089. * Creates a plain object from a ContextualizedTypeStats message. Also converts values to other types if specified.
  2090. * @param message ContextualizedTypeStats
  2091. * @param [options] Conversion options
  2092. * @returns Plain object
  2093. */
  2094. public static toObject(message: ContextualizedTypeStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2095. /**
  2096. * Converts this ContextualizedTypeStats to JSON.
  2097. * @returns JSON object
  2098. */
  2099. public toJSON(): { [k: string]: any };
  2100. }
  2101. /** Properties of a FieldStat. */
  2102. export interface IFieldStat {
  2103. /** FieldStat returnType */
  2104. returnType?: (string|null);
  2105. /** FieldStat errorsCount */
  2106. errorsCount?: (number|null);
  2107. /** FieldStat observedExecutionCount */
  2108. observedExecutionCount?: (number|null);
  2109. /** FieldStat estimatedExecutionCount */
  2110. estimatedExecutionCount?: (number|null);
  2111. /** FieldStat requestsWithErrorsCount */
  2112. requestsWithErrorsCount?: (number|null);
  2113. /** FieldStat latencyCount */
  2114. latencyCount?: ($protobuf.ToArray<number>|number[]|null);
  2115. }
  2116. /** Represents a FieldStat. */
  2117. export class FieldStat implements IFieldStat {
  2118. /**
  2119. * Constructs a new FieldStat.
  2120. * @param [properties] Properties to set
  2121. */
  2122. constructor(properties?: IFieldStat);
  2123. /** FieldStat returnType. */
  2124. public returnType: string;
  2125. /** FieldStat errorsCount. */
  2126. public errorsCount: number;
  2127. /** FieldStat observedExecutionCount. */
  2128. public observedExecutionCount: number;
  2129. /** FieldStat estimatedExecutionCount. */
  2130. public estimatedExecutionCount: number;
  2131. /** FieldStat requestsWithErrorsCount. */
  2132. public requestsWithErrorsCount: number;
  2133. /** FieldStat latencyCount. */
  2134. public latencyCount: number[];
  2135. /**
  2136. * Creates a new FieldStat instance using the specified properties.
  2137. * @param [properties] Properties to set
  2138. * @returns FieldStat instance
  2139. */
  2140. public static create(properties?: IFieldStat): FieldStat;
  2141. /**
  2142. * Encodes the specified FieldStat message. Does not implicitly {@link FieldStat.verify|verify} messages.
  2143. * @param message FieldStat message or plain object to encode
  2144. * @param [writer] Writer to encode to
  2145. * @returns Writer
  2146. */
  2147. public static encode(message: IFieldStat, writer?: $protobuf.Writer): $protobuf.Writer;
  2148. /**
  2149. * Encodes the specified FieldStat message, length delimited. Does not implicitly {@link FieldStat.verify|verify} messages.
  2150. * @param message FieldStat message or plain object to encode
  2151. * @param [writer] Writer to encode to
  2152. * @returns Writer
  2153. */
  2154. public static encodeDelimited(message: IFieldStat, writer?: $protobuf.Writer): $protobuf.Writer;
  2155. /**
  2156. * Decodes a FieldStat message from the specified reader or buffer.
  2157. * @param reader Reader or buffer to decode from
  2158. * @param [length] Message length if known beforehand
  2159. * @returns FieldStat
  2160. * @throws {Error} If the payload is not a reader or valid buffer
  2161. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2162. */
  2163. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): FieldStat;
  2164. /**
  2165. * Decodes a FieldStat message from the specified reader or buffer, length delimited.
  2166. * @param reader Reader or buffer to decode from
  2167. * @returns FieldStat
  2168. * @throws {Error} If the payload is not a reader or valid buffer
  2169. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2170. */
  2171. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): FieldStat;
  2172. /**
  2173. * Verifies a FieldStat message.
  2174. * @param message Plain object to verify
  2175. * @returns `null` if valid, otherwise the reason why it is not
  2176. */
  2177. public static verify(message: { [k: string]: any }): (string|null);
  2178. /**
  2179. * Creates a plain object from a FieldStat message. Also converts values to other types if specified.
  2180. * @param message FieldStat
  2181. * @param [options] Conversion options
  2182. * @returns Plain object
  2183. */
  2184. public static toObject(message: FieldStat, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2185. /**
  2186. * Converts this FieldStat to JSON.
  2187. * @returns JSON object
  2188. */
  2189. public toJSON(): { [k: string]: any };
  2190. }
  2191. /** Properties of a TypeStat. */
  2192. export interface ITypeStat {
  2193. /** TypeStat perFieldStat */
  2194. perFieldStat?: ({ [k: string]: IFieldStat }|null);
  2195. }
  2196. /** Represents a TypeStat. */
  2197. export class TypeStat implements ITypeStat {
  2198. /**
  2199. * Constructs a new TypeStat.
  2200. * @param [properties] Properties to set
  2201. */
  2202. constructor(properties?: ITypeStat);
  2203. /** TypeStat perFieldStat. */
  2204. public perFieldStat: { [k: string]: IFieldStat };
  2205. /**
  2206. * Creates a new TypeStat instance using the specified properties.
  2207. * @param [properties] Properties to set
  2208. * @returns TypeStat instance
  2209. */
  2210. public static create(properties?: ITypeStat): TypeStat;
  2211. /**
  2212. * Encodes the specified TypeStat message. Does not implicitly {@link TypeStat.verify|verify} messages.
  2213. * @param message TypeStat message or plain object to encode
  2214. * @param [writer] Writer to encode to
  2215. * @returns Writer
  2216. */
  2217. public static encode(message: ITypeStat, writer?: $protobuf.Writer): $protobuf.Writer;
  2218. /**
  2219. * Encodes the specified TypeStat message, length delimited. Does not implicitly {@link TypeStat.verify|verify} messages.
  2220. * @param message TypeStat message or plain object to encode
  2221. * @param [writer] Writer to encode to
  2222. * @returns Writer
  2223. */
  2224. public static encodeDelimited(message: ITypeStat, writer?: $protobuf.Writer): $protobuf.Writer;
  2225. /**
  2226. * Decodes a TypeStat message from the specified reader or buffer.
  2227. * @param reader Reader or buffer to decode from
  2228. * @param [length] Message length if known beforehand
  2229. * @returns TypeStat
  2230. * @throws {Error} If the payload is not a reader or valid buffer
  2231. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2232. */
  2233. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TypeStat;
  2234. /**
  2235. * Decodes a TypeStat message from the specified reader or buffer, length delimited.
  2236. * @param reader Reader or buffer to decode from
  2237. * @returns TypeStat
  2238. * @throws {Error} If the payload is not a reader or valid buffer
  2239. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2240. */
  2241. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): TypeStat;
  2242. /**
  2243. * Verifies a TypeStat message.
  2244. * @param message Plain object to verify
  2245. * @returns `null` if valid, otherwise the reason why it is not
  2246. */
  2247. public static verify(message: { [k: string]: any }): (string|null);
  2248. /**
  2249. * Creates a plain object from a TypeStat message. Also converts values to other types if specified.
  2250. * @param message TypeStat
  2251. * @param [options] Conversion options
  2252. * @returns Plain object
  2253. */
  2254. public static toObject(message: TypeStat, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2255. /**
  2256. * Converts this TypeStat to JSON.
  2257. * @returns JSON object
  2258. */
  2259. public toJSON(): { [k: string]: any };
  2260. }
  2261. /** Properties of a ReferencedFieldsForType. */
  2262. export interface IReferencedFieldsForType {
  2263. /** ReferencedFieldsForType fieldNames */
  2264. fieldNames?: (string[]|null);
  2265. /** ReferencedFieldsForType isInterface */
  2266. isInterface?: (boolean|null);
  2267. }
  2268. /** Represents a ReferencedFieldsForType. */
  2269. export class ReferencedFieldsForType implements IReferencedFieldsForType {
  2270. /**
  2271. * Constructs a new ReferencedFieldsForType.
  2272. * @param [properties] Properties to set
  2273. */
  2274. constructor(properties?: IReferencedFieldsForType);
  2275. /** ReferencedFieldsForType fieldNames. */
  2276. public fieldNames: string[];
  2277. /** ReferencedFieldsForType isInterface. */
  2278. public isInterface: boolean;
  2279. /**
  2280. * Creates a new ReferencedFieldsForType instance using the specified properties.
  2281. * @param [properties] Properties to set
  2282. * @returns ReferencedFieldsForType instance
  2283. */
  2284. public static create(properties?: IReferencedFieldsForType): ReferencedFieldsForType;
  2285. /**
  2286. * Encodes the specified ReferencedFieldsForType message. Does not implicitly {@link ReferencedFieldsForType.verify|verify} messages.
  2287. * @param message ReferencedFieldsForType message or plain object to encode
  2288. * @param [writer] Writer to encode to
  2289. * @returns Writer
  2290. */
  2291. public static encode(message: IReferencedFieldsForType, writer?: $protobuf.Writer): $protobuf.Writer;
  2292. /**
  2293. * Encodes the specified ReferencedFieldsForType message, length delimited. Does not implicitly {@link ReferencedFieldsForType.verify|verify} messages.
  2294. * @param message ReferencedFieldsForType message or plain object to encode
  2295. * @param [writer] Writer to encode to
  2296. * @returns Writer
  2297. */
  2298. public static encodeDelimited(message: IReferencedFieldsForType, writer?: $protobuf.Writer): $protobuf.Writer;
  2299. /**
  2300. * Decodes a ReferencedFieldsForType message from the specified reader or buffer.
  2301. * @param reader Reader or buffer to decode from
  2302. * @param [length] Message length if known beforehand
  2303. * @returns ReferencedFieldsForType
  2304. * @throws {Error} If the payload is not a reader or valid buffer
  2305. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2306. */
  2307. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReferencedFieldsForType;
  2308. /**
  2309. * Decodes a ReferencedFieldsForType message from the specified reader or buffer, length delimited.
  2310. * @param reader Reader or buffer to decode from
  2311. * @returns ReferencedFieldsForType
  2312. * @throws {Error} If the payload is not a reader or valid buffer
  2313. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2314. */
  2315. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReferencedFieldsForType;
  2316. /**
  2317. * Verifies a ReferencedFieldsForType message.
  2318. * @param message Plain object to verify
  2319. * @returns `null` if valid, otherwise the reason why it is not
  2320. */
  2321. public static verify(message: { [k: string]: any }): (string|null);
  2322. /**
  2323. * Creates a plain object from a ReferencedFieldsForType message. Also converts values to other types if specified.
  2324. * @param message ReferencedFieldsForType
  2325. * @param [options] Conversion options
  2326. * @returns Plain object
  2327. */
  2328. public static toObject(message: ReferencedFieldsForType, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2329. /**
  2330. * Converts this ReferencedFieldsForType to JSON.
  2331. * @returns JSON object
  2332. */
  2333. public toJSON(): { [k: string]: any };
  2334. }
  2335. /** Properties of a Report. */
  2336. export interface IReport {
  2337. /** Report header */
  2338. header?: (IReportHeader|null);
  2339. /** Report tracesPerQuery */
  2340. tracesPerQuery?: ({ [k: string]: ITracesAndStats }|null);
  2341. /** Report endTime */
  2342. endTime?: (google.protobuf.ITimestamp|null);
  2343. /** Report operationCount */
  2344. operationCount?: (number|null);
  2345. /** Report tracesPreAggregated */
  2346. tracesPreAggregated?: (boolean|null);
  2347. }
  2348. /** Represents a Report. */
  2349. export class Report implements IReport {
  2350. /**
  2351. * Constructs a new Report.
  2352. * @param [properties] Properties to set
  2353. */
  2354. constructor(properties?: IReport);
  2355. /** Report header. */
  2356. public header?: (IReportHeader|null);
  2357. /** Report tracesPerQuery. */
  2358. public tracesPerQuery: { [k: string]: ITracesAndStats };
  2359. /** Report endTime. */
  2360. public endTime?: (google.protobuf.ITimestamp|null);
  2361. /** Report operationCount. */
  2362. public operationCount: number;
  2363. /** Report tracesPreAggregated. */
  2364. public tracesPreAggregated: boolean;
  2365. /**
  2366. * Creates a new Report instance using the specified properties.
  2367. * @param [properties] Properties to set
  2368. * @returns Report instance
  2369. */
  2370. public static create(properties?: IReport): Report;
  2371. /**
  2372. * Encodes the specified Report message. Does not implicitly {@link Report.verify|verify} messages.
  2373. * @param message Report message or plain object to encode
  2374. * @param [writer] Writer to encode to
  2375. * @returns Writer
  2376. */
  2377. public static encode(message: IReport, writer?: $protobuf.Writer): $protobuf.Writer;
  2378. /**
  2379. * Encodes the specified Report message, length delimited. Does not implicitly {@link Report.verify|verify} messages.
  2380. * @param message Report message or plain object to encode
  2381. * @param [writer] Writer to encode to
  2382. * @returns Writer
  2383. */
  2384. public static encodeDelimited(message: IReport, writer?: $protobuf.Writer): $protobuf.Writer;
  2385. /**
  2386. * Decodes a Report message from the specified reader or buffer.
  2387. * @param reader Reader or buffer to decode from
  2388. * @param [length] Message length if known beforehand
  2389. * @returns Report
  2390. * @throws {Error} If the payload is not a reader or valid buffer
  2391. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2392. */
  2393. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Report;
  2394. /**
  2395. * Decodes a Report message from the specified reader or buffer, length delimited.
  2396. * @param reader Reader or buffer to decode from
  2397. * @returns Report
  2398. * @throws {Error} If the payload is not a reader or valid buffer
  2399. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2400. */
  2401. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Report;
  2402. /**
  2403. * Verifies a Report message.
  2404. * @param message Plain object to verify
  2405. * @returns `null` if valid, otherwise the reason why it is not
  2406. */
  2407. public static verify(message: { [k: string]: any }): (string|null);
  2408. /**
  2409. * Creates a plain object from a Report message. Also converts values to other types if specified.
  2410. * @param message Report
  2411. * @param [options] Conversion options
  2412. * @returns Plain object
  2413. */
  2414. public static toObject(message: Report, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2415. /**
  2416. * Converts this Report to JSON.
  2417. * @returns JSON object
  2418. */
  2419. public toJSON(): { [k: string]: any };
  2420. }
  2421. /** Properties of a ContextualizedStats. */
  2422. export interface IContextualizedStats {
  2423. /** ContextualizedStats context */
  2424. context?: (IStatsContext|null);
  2425. /** ContextualizedStats queryLatencyStats */
  2426. queryLatencyStats?: (IQueryLatencyStats|null);
  2427. /** ContextualizedStats perTypeStat */
  2428. perTypeStat?: ({ [k: string]: ITypeStat }|null);
  2429. }
  2430. /** Represents a ContextualizedStats. */
  2431. export class ContextualizedStats implements IContextualizedStats {
  2432. /**
  2433. * Constructs a new ContextualizedStats.
  2434. * @param [properties] Properties to set
  2435. */
  2436. constructor(properties?: IContextualizedStats);
  2437. /** ContextualizedStats context. */
  2438. public context?: (IStatsContext|null);
  2439. /** ContextualizedStats queryLatencyStats. */
  2440. public queryLatencyStats?: (IQueryLatencyStats|null);
  2441. /** ContextualizedStats perTypeStat. */
  2442. public perTypeStat: { [k: string]: ITypeStat };
  2443. /**
  2444. * Creates a new ContextualizedStats instance using the specified properties.
  2445. * @param [properties] Properties to set
  2446. * @returns ContextualizedStats instance
  2447. */
  2448. public static create(properties?: IContextualizedStats): ContextualizedStats;
  2449. /**
  2450. * Encodes the specified ContextualizedStats message. Does not implicitly {@link ContextualizedStats.verify|verify} messages.
  2451. * @param message ContextualizedStats message or plain object to encode
  2452. * @param [writer] Writer to encode to
  2453. * @returns Writer
  2454. */
  2455. public static encode(message: IContextualizedStats, writer?: $protobuf.Writer): $protobuf.Writer;
  2456. /**
  2457. * Encodes the specified ContextualizedStats message, length delimited. Does not implicitly {@link ContextualizedStats.verify|verify} messages.
  2458. * @param message ContextualizedStats message or plain object to encode
  2459. * @param [writer] Writer to encode to
  2460. * @returns Writer
  2461. */
  2462. public static encodeDelimited(message: IContextualizedStats, writer?: $protobuf.Writer): $protobuf.Writer;
  2463. /**
  2464. * Decodes a ContextualizedStats message from the specified reader or buffer.
  2465. * @param reader Reader or buffer to decode from
  2466. * @param [length] Message length if known beforehand
  2467. * @returns ContextualizedStats
  2468. * @throws {Error} If the payload is not a reader or valid buffer
  2469. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2470. */
  2471. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContextualizedStats;
  2472. /**
  2473. * Decodes a ContextualizedStats message from the specified reader or buffer, length delimited.
  2474. * @param reader Reader or buffer to decode from
  2475. * @returns ContextualizedStats
  2476. * @throws {Error} If the payload is not a reader or valid buffer
  2477. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2478. */
  2479. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContextualizedStats;
  2480. /**
  2481. * Verifies a ContextualizedStats message.
  2482. * @param message Plain object to verify
  2483. * @returns `null` if valid, otherwise the reason why it is not
  2484. */
  2485. public static verify(message: { [k: string]: any }): (string|null);
  2486. /**
  2487. * Creates a plain object from a ContextualizedStats message. Also converts values to other types if specified.
  2488. * @param message ContextualizedStats
  2489. * @param [options] Conversion options
  2490. * @returns Plain object
  2491. */
  2492. public static toObject(message: ContextualizedStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2493. /**
  2494. * Converts this ContextualizedStats to JSON.
  2495. * @returns JSON object
  2496. */
  2497. public toJSON(): { [k: string]: any };
  2498. }
  2499. /** Properties of a TracesAndStats. */
  2500. export interface ITracesAndStats {
  2501. /** TracesAndStats trace */
  2502. trace?: ((ITrace|Uint8Array)[]|null);
  2503. /** TracesAndStats statsWithContext */
  2504. statsWithContext?: ($protobuf.ToArray<IContextualizedStats>|IContextualizedStats[]|null);
  2505. /** TracesAndStats referencedFieldsByType */
  2506. referencedFieldsByType?: ({ [k: string]: IReferencedFieldsForType }|null);
  2507. /** TracesAndStats internalTracesContributingToStats */
  2508. internalTracesContributingToStats?: ((ITrace|Uint8Array)[]|null);
  2509. }
  2510. /** Represents a TracesAndStats. */
  2511. export class TracesAndStats implements ITracesAndStats {
  2512. /**
  2513. * Constructs a new TracesAndStats.
  2514. * @param [properties] Properties to set
  2515. */
  2516. constructor(properties?: ITracesAndStats);
  2517. /** TracesAndStats trace. */
  2518. public trace: (ITrace|Uint8Array)[];
  2519. /** TracesAndStats statsWithContext. */
  2520. public statsWithContext: IContextualizedStats[];
  2521. /** TracesAndStats referencedFieldsByType. */
  2522. public referencedFieldsByType: { [k: string]: IReferencedFieldsForType };
  2523. /** TracesAndStats internalTracesContributingToStats. */
  2524. public internalTracesContributingToStats: (ITrace|Uint8Array)[];
  2525. /**
  2526. * Creates a new TracesAndStats instance using the specified properties.
  2527. * @param [properties] Properties to set
  2528. * @returns TracesAndStats instance
  2529. */
  2530. public static create(properties?: ITracesAndStats): TracesAndStats;
  2531. /**
  2532. * Encodes the specified TracesAndStats message. Does not implicitly {@link TracesAndStats.verify|verify} messages.
  2533. * @param message TracesAndStats message or plain object to encode
  2534. * @param [writer] Writer to encode to
  2535. * @returns Writer
  2536. */
  2537. public static encode(message: ITracesAndStats, writer?: $protobuf.Writer): $protobuf.Writer;
  2538. /**
  2539. * Encodes the specified TracesAndStats message, length delimited. Does not implicitly {@link TracesAndStats.verify|verify} messages.
  2540. * @param message TracesAndStats message or plain object to encode
  2541. * @param [writer] Writer to encode to
  2542. * @returns Writer
  2543. */
  2544. public static encodeDelimited(message: ITracesAndStats, writer?: $protobuf.Writer): $protobuf.Writer;
  2545. /**
  2546. * Decodes a TracesAndStats message from the specified reader or buffer.
  2547. * @param reader Reader or buffer to decode from
  2548. * @param [length] Message length if known beforehand
  2549. * @returns TracesAndStats
  2550. * @throws {Error} If the payload is not a reader or valid buffer
  2551. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2552. */
  2553. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TracesAndStats;
  2554. /**
  2555. * Decodes a TracesAndStats message from the specified reader or buffer, length delimited.
  2556. * @param reader Reader or buffer to decode from
  2557. * @returns TracesAndStats
  2558. * @throws {Error} If the payload is not a reader or valid buffer
  2559. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2560. */
  2561. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): TracesAndStats;
  2562. /**
  2563. * Verifies a TracesAndStats message.
  2564. * @param message Plain object to verify
  2565. * @returns `null` if valid, otherwise the reason why it is not
  2566. */
  2567. public static verify(message: { [k: string]: any }): (string|null);
  2568. /**
  2569. * Creates a plain object from a TracesAndStats message. Also converts values to other types if specified.
  2570. * @param message TracesAndStats
  2571. * @param [options] Conversion options
  2572. * @returns Plain object
  2573. */
  2574. public static toObject(message: TracesAndStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2575. /**
  2576. * Converts this TracesAndStats to JSON.
  2577. * @returns JSON object
  2578. */
  2579. public toJSON(): { [k: string]: any };
  2580. }
  2581. /** Namespace google. */
  2582. export namespace google {
  2583. /** Namespace protobuf. */
  2584. namespace protobuf {
  2585. /** Properties of a Timestamp. */
  2586. interface ITimestamp {
  2587. /** Timestamp seconds */
  2588. seconds?: (number|null);
  2589. /** Timestamp nanos */
  2590. nanos?: (number|null);
  2591. }
  2592. /** Represents a Timestamp. */
  2593. class Timestamp implements ITimestamp {
  2594. /**
  2595. * Constructs a new Timestamp.
  2596. * @param [properties] Properties to set
  2597. */
  2598. constructor(properties?: google.protobuf.ITimestamp);
  2599. /** Timestamp seconds. */
  2600. public seconds: number;
  2601. /** Timestamp nanos. */
  2602. public nanos: number;
  2603. /**
  2604. * Creates a new Timestamp instance using the specified properties.
  2605. * @param [properties] Properties to set
  2606. * @returns Timestamp instance
  2607. */
  2608. public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp;
  2609. /**
  2610. * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
  2611. * @param message Timestamp message or plain object to encode
  2612. * @param [writer] Writer to encode to
  2613. * @returns Writer
  2614. */
  2615. public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
  2616. /**
  2617. * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
  2618. * @param message Timestamp message or plain object to encode
  2619. * @param [writer] Writer to encode to
  2620. * @returns Writer
  2621. */
  2622. public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
  2623. /**
  2624. * Decodes a Timestamp message from the specified reader or buffer.
  2625. * @param reader Reader or buffer to decode from
  2626. * @param [length] Message length if known beforehand
  2627. * @returns Timestamp
  2628. * @throws {Error} If the payload is not a reader or valid buffer
  2629. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2630. */
  2631. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp;
  2632. /**
  2633. * Decodes a Timestamp message from the specified reader or buffer, length delimited.
  2634. * @param reader Reader or buffer to decode from
  2635. * @returns Timestamp
  2636. * @throws {Error} If the payload is not a reader or valid buffer
  2637. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2638. */
  2639. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp;
  2640. /**
  2641. * Verifies a Timestamp message.
  2642. * @param message Plain object to verify
  2643. * @returns `null` if valid, otherwise the reason why it is not
  2644. */
  2645. public static verify(message: { [k: string]: any }): (string|null);
  2646. /**
  2647. * Creates a plain object from a Timestamp message. Also converts values to other types if specified.
  2648. * @param message Timestamp
  2649. * @param [options] Conversion options
  2650. * @returns Plain object
  2651. */
  2652. public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2653. /**
  2654. * Converts this Timestamp to JSON.
  2655. * @returns JSON object
  2656. */
  2657. public toJSON(): { [k: string]: any };
  2658. }
  2659. }
  2660. }