protobuf.d.ts 105 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896
  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 signature */
  13. signature?: (string|null);
  14. /** Trace unexecutedOperationBody */
  15. unexecutedOperationBody?: (string|null);
  16. /** Trace unexecutedOperationName */
  17. unexecutedOperationName?: (string|null);
  18. /** Trace details */
  19. details?: (Trace.IDetails|null);
  20. /** Trace clientName */
  21. clientName?: (string|null);
  22. /** Trace clientVersion */
  23. clientVersion?: (string|null);
  24. /** Trace clientAddress */
  25. clientAddress?: (string|null);
  26. /** Trace clientReferenceId */
  27. clientReferenceId?: (string|null);
  28. /** Trace http */
  29. http?: (Trace.IHTTP|null);
  30. /** Trace cachePolicy */
  31. cachePolicy?: (Trace.ICachePolicy|null);
  32. /** Trace queryPlan */
  33. queryPlan?: (Trace.IQueryPlanNode|null);
  34. /** Trace fullQueryCacheHit */
  35. fullQueryCacheHit?: (boolean|null);
  36. /** Trace persistedQueryHit */
  37. persistedQueryHit?: (boolean|null);
  38. /** Trace persistedQueryRegister */
  39. persistedQueryRegister?: (boolean|null);
  40. /** Trace registeredOperation */
  41. registeredOperation?: (boolean|null);
  42. /** Trace forbiddenOperation */
  43. forbiddenOperation?: (boolean|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 signature. */
  61. public signature: string;
  62. /** Trace unexecutedOperationBody. */
  63. public unexecutedOperationBody: string;
  64. /** Trace unexecutedOperationName. */
  65. public unexecutedOperationName: string;
  66. /** Trace details. */
  67. public details?: (Trace.IDetails|null);
  68. /** Trace clientName. */
  69. public clientName: string;
  70. /** Trace clientVersion. */
  71. public clientVersion: string;
  72. /** Trace clientAddress. */
  73. public clientAddress: string;
  74. /** Trace clientReferenceId. */
  75. public clientReferenceId: string;
  76. /** Trace http. */
  77. public http?: (Trace.IHTTP|null);
  78. /** Trace cachePolicy. */
  79. public cachePolicy?: (Trace.ICachePolicy|null);
  80. /** Trace queryPlan. */
  81. public queryPlan?: (Trace.IQueryPlanNode|null);
  82. /** Trace fullQueryCacheHit. */
  83. public fullQueryCacheHit: boolean;
  84. /** Trace persistedQueryHit. */
  85. public persistedQueryHit: boolean;
  86. /** Trace persistedQueryRegister. */
  87. public persistedQueryRegister: boolean;
  88. /** Trace registeredOperation. */
  89. public registeredOperation: boolean;
  90. /** Trace forbiddenOperation. */
  91. public forbiddenOperation: boolean;
  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 host */
  392. host?: (string|null);
  393. /** HTTP path */
  394. path?: (string|null);
  395. /** HTTP requestHeaders */
  396. requestHeaders?: ({ [k: string]: Trace.HTTP.IValues }|null);
  397. /** HTTP responseHeaders */
  398. responseHeaders?: ({ [k: string]: Trace.HTTP.IValues }|null);
  399. /** HTTP statusCode */
  400. statusCode?: (number|null);
  401. /** HTTP secure */
  402. secure?: (boolean|null);
  403. /** HTTP protocol */
  404. protocol?: (string|null);
  405. }
  406. /** Represents a HTTP. */
  407. class HTTP implements IHTTP {
  408. /**
  409. * Constructs a new HTTP.
  410. * @param [properties] Properties to set
  411. */
  412. constructor(properties?: Trace.IHTTP);
  413. /** HTTP method. */
  414. public method: Trace.HTTP.Method;
  415. /** HTTP host. */
  416. public host: string;
  417. /** HTTP path. */
  418. public path: string;
  419. /** HTTP requestHeaders. */
  420. public requestHeaders: { [k: string]: Trace.HTTP.IValues };
  421. /** HTTP responseHeaders. */
  422. public responseHeaders: { [k: string]: Trace.HTTP.IValues };
  423. /** HTTP statusCode. */
  424. public statusCode: number;
  425. /** HTTP secure. */
  426. public secure: boolean;
  427. /** HTTP protocol. */
  428. public protocol: string;
  429. /**
  430. * Creates a new HTTP instance using the specified properties.
  431. * @param [properties] Properties to set
  432. * @returns HTTP instance
  433. */
  434. public static create(properties?: Trace.IHTTP): Trace.HTTP;
  435. /**
  436. * Encodes the specified HTTP message. Does not implicitly {@link Trace.HTTP.verify|verify} messages.
  437. * @param message HTTP message or plain object to encode
  438. * @param [writer] Writer to encode to
  439. * @returns Writer
  440. */
  441. public static encode(message: Trace.IHTTP, writer?: $protobuf.Writer): $protobuf.Writer;
  442. /**
  443. * Encodes the specified HTTP message, length delimited. Does not implicitly {@link Trace.HTTP.verify|verify} messages.
  444. * @param message HTTP message or plain object to encode
  445. * @param [writer] Writer to encode to
  446. * @returns Writer
  447. */
  448. public static encodeDelimited(message: Trace.IHTTP, writer?: $protobuf.Writer): $protobuf.Writer;
  449. /**
  450. * Decodes a HTTP message from the specified reader or buffer.
  451. * @param reader Reader or buffer to decode from
  452. * @param [length] Message length if known beforehand
  453. * @returns HTTP
  454. * @throws {Error} If the payload is not a reader or valid buffer
  455. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  456. */
  457. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.HTTP;
  458. /**
  459. * Decodes a HTTP message from the specified reader or buffer, length delimited.
  460. * @param reader Reader or buffer to decode from
  461. * @returns HTTP
  462. * @throws {Error} If the payload is not a reader or valid buffer
  463. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  464. */
  465. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.HTTP;
  466. /**
  467. * Verifies a HTTP message.
  468. * @param message Plain object to verify
  469. * @returns `null` if valid, otherwise the reason why it is not
  470. */
  471. public static verify(message: { [k: string]: any }): (string|null);
  472. /**
  473. * Creates a plain object from a HTTP message. Also converts values to other types if specified.
  474. * @param message HTTP
  475. * @param [options] Conversion options
  476. * @returns Plain object
  477. */
  478. public static toObject(message: Trace.HTTP, options?: $protobuf.IConversionOptions): { [k: string]: any };
  479. /**
  480. * Converts this HTTP to JSON.
  481. * @returns JSON object
  482. */
  483. public toJSON(): { [k: string]: any };
  484. }
  485. namespace HTTP {
  486. /** Properties of a Values. */
  487. interface IValues {
  488. /** Values value */
  489. value?: (string[]|null);
  490. }
  491. /** Represents a Values. */
  492. class Values implements IValues {
  493. /**
  494. * Constructs a new Values.
  495. * @param [properties] Properties to set
  496. */
  497. constructor(properties?: Trace.HTTP.IValues);
  498. /** Values value. */
  499. public value: string[];
  500. /**
  501. * Creates a new Values instance using the specified properties.
  502. * @param [properties] Properties to set
  503. * @returns Values instance
  504. */
  505. public static create(properties?: Trace.HTTP.IValues): Trace.HTTP.Values;
  506. /**
  507. * Encodes the specified Values message. Does not implicitly {@link Trace.HTTP.Values.verify|verify} messages.
  508. * @param message Values message or plain object to encode
  509. * @param [writer] Writer to encode to
  510. * @returns Writer
  511. */
  512. public static encode(message: Trace.HTTP.IValues, writer?: $protobuf.Writer): $protobuf.Writer;
  513. /**
  514. * Encodes the specified Values message, length delimited. Does not implicitly {@link Trace.HTTP.Values.verify|verify} messages.
  515. * @param message Values message or plain object to encode
  516. * @param [writer] Writer to encode to
  517. * @returns Writer
  518. */
  519. public static encodeDelimited(message: Trace.HTTP.IValues, writer?: $protobuf.Writer): $protobuf.Writer;
  520. /**
  521. * Decodes a Values message from the specified reader or buffer.
  522. * @param reader Reader or buffer to decode from
  523. * @param [length] Message length if known beforehand
  524. * @returns Values
  525. * @throws {Error} If the payload is not a reader or valid buffer
  526. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  527. */
  528. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.HTTP.Values;
  529. /**
  530. * Decodes a Values message from the specified reader or buffer, length delimited.
  531. * @param reader Reader or buffer to decode from
  532. * @returns Values
  533. * @throws {Error} If the payload is not a reader or valid buffer
  534. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  535. */
  536. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.HTTP.Values;
  537. /**
  538. * Verifies a Values message.
  539. * @param message Plain object to verify
  540. * @returns `null` if valid, otherwise the reason why it is not
  541. */
  542. public static verify(message: { [k: string]: any }): (string|null);
  543. /**
  544. * Creates a plain object from a Values message. Also converts values to other types if specified.
  545. * @param message Values
  546. * @param [options] Conversion options
  547. * @returns Plain object
  548. */
  549. public static toObject(message: Trace.HTTP.Values, options?: $protobuf.IConversionOptions): { [k: string]: any };
  550. /**
  551. * Converts this Values to JSON.
  552. * @returns JSON object
  553. */
  554. public toJSON(): { [k: string]: any };
  555. }
  556. /** Method enum. */
  557. enum Method {
  558. UNKNOWN = 0,
  559. OPTIONS = 1,
  560. GET = 2,
  561. HEAD = 3,
  562. POST = 4,
  563. PUT = 5,
  564. DELETE = 6,
  565. TRACE = 7,
  566. CONNECT = 8,
  567. PATCH = 9
  568. }
  569. }
  570. /** Properties of a Location. */
  571. interface ILocation {
  572. /** Location line */
  573. line?: (number|null);
  574. /** Location column */
  575. column?: (number|null);
  576. }
  577. /** Represents a Location. */
  578. class Location implements ILocation {
  579. /**
  580. * Constructs a new Location.
  581. * @param [properties] Properties to set
  582. */
  583. constructor(properties?: Trace.ILocation);
  584. /** Location line. */
  585. public line: number;
  586. /** Location column. */
  587. public column: number;
  588. /**
  589. * Creates a new Location instance using the specified properties.
  590. * @param [properties] Properties to set
  591. * @returns Location instance
  592. */
  593. public static create(properties?: Trace.ILocation): Trace.Location;
  594. /**
  595. * Encodes the specified Location message. Does not implicitly {@link Trace.Location.verify|verify} messages.
  596. * @param message Location message or plain object to encode
  597. * @param [writer] Writer to encode to
  598. * @returns Writer
  599. */
  600. public static encode(message: Trace.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
  601. /**
  602. * Encodes the specified Location message, length delimited. Does not implicitly {@link Trace.Location.verify|verify} messages.
  603. * @param message Location message or plain object to encode
  604. * @param [writer] Writer to encode to
  605. * @returns Writer
  606. */
  607. public static encodeDelimited(message: Trace.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
  608. /**
  609. * Decodes a Location message from the specified reader or buffer.
  610. * @param reader Reader or buffer to decode from
  611. * @param [length] Message length if known beforehand
  612. * @returns Location
  613. * @throws {Error} If the payload is not a reader or valid buffer
  614. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  615. */
  616. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.Location;
  617. /**
  618. * Decodes a Location message from the specified reader or buffer, length delimited.
  619. * @param reader Reader or buffer to decode from
  620. * @returns Location
  621. * @throws {Error} If the payload is not a reader or valid buffer
  622. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  623. */
  624. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.Location;
  625. /**
  626. * Verifies a Location message.
  627. * @param message Plain object to verify
  628. * @returns `null` if valid, otherwise the reason why it is not
  629. */
  630. public static verify(message: { [k: string]: any }): (string|null);
  631. /**
  632. * Creates a plain object from a Location message. Also converts values to other types if specified.
  633. * @param message Location
  634. * @param [options] Conversion options
  635. * @returns Plain object
  636. */
  637. public static toObject(message: Trace.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
  638. /**
  639. * Converts this Location to JSON.
  640. * @returns JSON object
  641. */
  642. public toJSON(): { [k: string]: any };
  643. }
  644. /** Properties of a Node. */
  645. interface INode {
  646. /** Node responseName */
  647. responseName?: (string|null);
  648. /** Node index */
  649. index?: (number|null);
  650. /** Node originalFieldName */
  651. originalFieldName?: (string|null);
  652. /** Node type */
  653. type?: (string|null);
  654. /** Node parentType */
  655. parentType?: (string|null);
  656. /** Node cachePolicy */
  657. cachePolicy?: (Trace.ICachePolicy|null);
  658. /** Node startTime */
  659. startTime?: (number|null);
  660. /** Node endTime */
  661. endTime?: (number|null);
  662. /** Node error */
  663. error?: (Trace.IError[]|null);
  664. /** Node child */
  665. child?: (Trace.INode[]|null);
  666. }
  667. /** Represents a Node. */
  668. class Node implements INode {
  669. /**
  670. * Constructs a new Node.
  671. * @param [properties] Properties to set
  672. */
  673. constructor(properties?: Trace.INode);
  674. /** Node responseName. */
  675. public responseName: string;
  676. /** Node index. */
  677. public index: number;
  678. /** Node originalFieldName. */
  679. public originalFieldName: string;
  680. /** Node type. */
  681. public type: string;
  682. /** Node parentType. */
  683. public parentType: string;
  684. /** Node cachePolicy. */
  685. public cachePolicy?: (Trace.ICachePolicy|null);
  686. /** Node startTime. */
  687. public startTime: number;
  688. /** Node endTime. */
  689. public endTime: number;
  690. /** Node error. */
  691. public error: Trace.IError[];
  692. /** Node child. */
  693. public child: Trace.INode[];
  694. /** Node id. */
  695. public id?: ("responseName"|"index");
  696. /**
  697. * Creates a new Node instance using the specified properties.
  698. * @param [properties] Properties to set
  699. * @returns Node instance
  700. */
  701. public static create(properties?: Trace.INode): Trace.Node;
  702. /**
  703. * Encodes the specified Node message. Does not implicitly {@link Trace.Node.verify|verify} messages.
  704. * @param message Node message or plain object to encode
  705. * @param [writer] Writer to encode to
  706. * @returns Writer
  707. */
  708. public static encode(message: Trace.INode, writer?: $protobuf.Writer): $protobuf.Writer;
  709. /**
  710. * Encodes the specified Node message, length delimited. Does not implicitly {@link Trace.Node.verify|verify} messages.
  711. * @param message Node message or plain object to encode
  712. * @param [writer] Writer to encode to
  713. * @returns Writer
  714. */
  715. public static encodeDelimited(message: Trace.INode, writer?: $protobuf.Writer): $protobuf.Writer;
  716. /**
  717. * Decodes a Node message from the specified reader or buffer.
  718. * @param reader Reader or buffer to decode from
  719. * @param [length] Message length if known beforehand
  720. * @returns Node
  721. * @throws {Error} If the payload is not a reader or valid buffer
  722. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  723. */
  724. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.Node;
  725. /**
  726. * Decodes a Node message from the specified reader or buffer, length delimited.
  727. * @param reader Reader or buffer to decode from
  728. * @returns Node
  729. * @throws {Error} If the payload is not a reader or valid buffer
  730. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  731. */
  732. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.Node;
  733. /**
  734. * Verifies a Node message.
  735. * @param message Plain object to verify
  736. * @returns `null` if valid, otherwise the reason why it is not
  737. */
  738. public static verify(message: { [k: string]: any }): (string|null);
  739. /**
  740. * Creates a plain object from a Node message. Also converts values to other types if specified.
  741. * @param message Node
  742. * @param [options] Conversion options
  743. * @returns Plain object
  744. */
  745. public static toObject(message: Trace.Node, options?: $protobuf.IConversionOptions): { [k: string]: any };
  746. /**
  747. * Converts this Node to JSON.
  748. * @returns JSON object
  749. */
  750. public toJSON(): { [k: string]: any };
  751. }
  752. /** Properties of a QueryPlanNode. */
  753. interface IQueryPlanNode {
  754. /** QueryPlanNode sequence */
  755. sequence?: (Trace.QueryPlanNode.ISequenceNode|null);
  756. /** QueryPlanNode parallel */
  757. parallel?: (Trace.QueryPlanNode.IParallelNode|null);
  758. /** QueryPlanNode fetch */
  759. fetch?: (Trace.QueryPlanNode.IFetchNode|null);
  760. /** QueryPlanNode flatten */
  761. flatten?: (Trace.QueryPlanNode.IFlattenNode|null);
  762. }
  763. /** Represents a QueryPlanNode. */
  764. class QueryPlanNode implements IQueryPlanNode {
  765. /**
  766. * Constructs a new QueryPlanNode.
  767. * @param [properties] Properties to set
  768. */
  769. constructor(properties?: Trace.IQueryPlanNode);
  770. /** QueryPlanNode sequence. */
  771. public sequence?: (Trace.QueryPlanNode.ISequenceNode|null);
  772. /** QueryPlanNode parallel. */
  773. public parallel?: (Trace.QueryPlanNode.IParallelNode|null);
  774. /** QueryPlanNode fetch. */
  775. public fetch?: (Trace.QueryPlanNode.IFetchNode|null);
  776. /** QueryPlanNode flatten. */
  777. public flatten?: (Trace.QueryPlanNode.IFlattenNode|null);
  778. /** QueryPlanNode node. */
  779. public node?: ("sequence"|"parallel"|"fetch"|"flatten");
  780. /**
  781. * Creates a new QueryPlanNode instance using the specified properties.
  782. * @param [properties] Properties to set
  783. * @returns QueryPlanNode instance
  784. */
  785. public static create(properties?: Trace.IQueryPlanNode): Trace.QueryPlanNode;
  786. /**
  787. * Encodes the specified QueryPlanNode message. Does not implicitly {@link Trace.QueryPlanNode.verify|verify} messages.
  788. * @param message QueryPlanNode message or plain object to encode
  789. * @param [writer] Writer to encode to
  790. * @returns Writer
  791. */
  792. public static encode(message: Trace.IQueryPlanNode, writer?: $protobuf.Writer): $protobuf.Writer;
  793. /**
  794. * Encodes the specified QueryPlanNode message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.verify|verify} messages.
  795. * @param message QueryPlanNode message or plain object to encode
  796. * @param [writer] Writer to encode to
  797. * @returns Writer
  798. */
  799. public static encodeDelimited(message: Trace.IQueryPlanNode, writer?: $protobuf.Writer): $protobuf.Writer;
  800. /**
  801. * Decodes a QueryPlanNode message from the specified reader or buffer.
  802. * @param reader Reader or buffer to decode from
  803. * @param [length] Message length if known beforehand
  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 decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.QueryPlanNode;
  809. /**
  810. * Decodes a QueryPlanNode message from the specified reader or buffer, length delimited.
  811. * @param reader Reader or buffer to decode from
  812. * @returns QueryPlanNode
  813. * @throws {Error} If the payload is not a reader or valid buffer
  814. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  815. */
  816. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.QueryPlanNode;
  817. /**
  818. * Verifies a QueryPlanNode message.
  819. * @param message Plain object to verify
  820. * @returns `null` if valid, otherwise the reason why it is not
  821. */
  822. public static verify(message: { [k: string]: any }): (string|null);
  823. /**
  824. * Creates a plain object from a QueryPlanNode message. Also converts values to other types if specified.
  825. * @param message QueryPlanNode
  826. * @param [options] Conversion options
  827. * @returns Plain object
  828. */
  829. public static toObject(message: Trace.QueryPlanNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
  830. /**
  831. * Converts this QueryPlanNode to JSON.
  832. * @returns JSON object
  833. */
  834. public toJSON(): { [k: string]: any };
  835. }
  836. namespace QueryPlanNode {
  837. /** Properties of a SequenceNode. */
  838. interface ISequenceNode {
  839. /** SequenceNode nodes */
  840. nodes?: (Trace.IQueryPlanNode[]|null);
  841. }
  842. /** Represents a SequenceNode. */
  843. class SequenceNode implements ISequenceNode {
  844. /**
  845. * Constructs a new SequenceNode.
  846. * @param [properties] Properties to set
  847. */
  848. constructor(properties?: Trace.QueryPlanNode.ISequenceNode);
  849. /** SequenceNode nodes. */
  850. public nodes: Trace.IQueryPlanNode[];
  851. /**
  852. * Creates a new SequenceNode instance using the specified properties.
  853. * @param [properties] Properties to set
  854. * @returns SequenceNode instance
  855. */
  856. public static create(properties?: Trace.QueryPlanNode.ISequenceNode): Trace.QueryPlanNode.SequenceNode;
  857. /**
  858. * Encodes the specified SequenceNode message. Does not implicitly {@link Trace.QueryPlanNode.SequenceNode.verify|verify} messages.
  859. * @param message SequenceNode message or plain object to encode
  860. * @param [writer] Writer to encode to
  861. * @returns Writer
  862. */
  863. public static encode(message: Trace.QueryPlanNode.ISequenceNode, writer?: $protobuf.Writer): $protobuf.Writer;
  864. /**
  865. * Encodes the specified SequenceNode message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.SequenceNode.verify|verify} messages.
  866. * @param message SequenceNode message or plain object to encode
  867. * @param [writer] Writer to encode to
  868. * @returns Writer
  869. */
  870. public static encodeDelimited(message: Trace.QueryPlanNode.ISequenceNode, writer?: $protobuf.Writer): $protobuf.Writer;
  871. /**
  872. * Decodes a SequenceNode message from the specified reader or buffer.
  873. * @param reader Reader or buffer to decode from
  874. * @param [length] Message length if known beforehand
  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 decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.QueryPlanNode.SequenceNode;
  880. /**
  881. * Decodes a SequenceNode message from the specified reader or buffer, length delimited.
  882. * @param reader Reader or buffer to decode from
  883. * @returns SequenceNode
  884. * @throws {Error} If the payload is not a reader or valid buffer
  885. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  886. */
  887. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.QueryPlanNode.SequenceNode;
  888. /**
  889. * Verifies a SequenceNode message.
  890. * @param message Plain object to verify
  891. * @returns `null` if valid, otherwise the reason why it is not
  892. */
  893. public static verify(message: { [k: string]: any }): (string|null);
  894. /**
  895. * Creates a plain object from a SequenceNode message. Also converts values to other types if specified.
  896. * @param message SequenceNode
  897. * @param [options] Conversion options
  898. * @returns Plain object
  899. */
  900. public static toObject(message: Trace.QueryPlanNode.SequenceNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
  901. /**
  902. * Converts this SequenceNode to JSON.
  903. * @returns JSON object
  904. */
  905. public toJSON(): { [k: string]: any };
  906. }
  907. /** Properties of a ParallelNode. */
  908. interface IParallelNode {
  909. /** ParallelNode nodes */
  910. nodes?: (Trace.IQueryPlanNode[]|null);
  911. }
  912. /** Represents a ParallelNode. */
  913. class ParallelNode implements IParallelNode {
  914. /**
  915. * Constructs a new ParallelNode.
  916. * @param [properties] Properties to set
  917. */
  918. constructor(properties?: Trace.QueryPlanNode.IParallelNode);
  919. /** ParallelNode nodes. */
  920. public nodes: Trace.IQueryPlanNode[];
  921. /**
  922. * Creates a new ParallelNode instance using the specified properties.
  923. * @param [properties] Properties to set
  924. * @returns ParallelNode instance
  925. */
  926. public static create(properties?: Trace.QueryPlanNode.IParallelNode): Trace.QueryPlanNode.ParallelNode;
  927. /**
  928. * Encodes the specified ParallelNode message. Does not implicitly {@link Trace.QueryPlanNode.ParallelNode.verify|verify} messages.
  929. * @param message ParallelNode message or plain object to encode
  930. * @param [writer] Writer to encode to
  931. * @returns Writer
  932. */
  933. public static encode(message: Trace.QueryPlanNode.IParallelNode, writer?: $protobuf.Writer): $protobuf.Writer;
  934. /**
  935. * Encodes the specified ParallelNode message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.ParallelNode.verify|verify} messages.
  936. * @param message ParallelNode message or plain object to encode
  937. * @param [writer] Writer to encode to
  938. * @returns Writer
  939. */
  940. public static encodeDelimited(message: Trace.QueryPlanNode.IParallelNode, writer?: $protobuf.Writer): $protobuf.Writer;
  941. /**
  942. * Decodes a ParallelNode message from the specified reader or buffer.
  943. * @param reader Reader or buffer to decode from
  944. * @param [length] Message length if known beforehand
  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 decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.QueryPlanNode.ParallelNode;
  950. /**
  951. * Decodes a ParallelNode message from the specified reader or buffer, length delimited.
  952. * @param reader Reader or buffer to decode from
  953. * @returns ParallelNode
  954. * @throws {Error} If the payload is not a reader or valid buffer
  955. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  956. */
  957. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.QueryPlanNode.ParallelNode;
  958. /**
  959. * Verifies a ParallelNode message.
  960. * @param message Plain object to verify
  961. * @returns `null` if valid, otherwise the reason why it is not
  962. */
  963. public static verify(message: { [k: string]: any }): (string|null);
  964. /**
  965. * Creates a plain object from a ParallelNode message. Also converts values to other types if specified.
  966. * @param message ParallelNode
  967. * @param [options] Conversion options
  968. * @returns Plain object
  969. */
  970. public static toObject(message: Trace.QueryPlanNode.ParallelNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
  971. /**
  972. * Converts this ParallelNode to JSON.
  973. * @returns JSON object
  974. */
  975. public toJSON(): { [k: string]: any };
  976. }
  977. /** Properties of a FetchNode. */
  978. interface IFetchNode {
  979. /** FetchNode serviceName */
  980. serviceName?: (string|null);
  981. /** FetchNode traceParsingFailed */
  982. traceParsingFailed?: (boolean|null);
  983. /** FetchNode trace */
  984. trace?: (ITrace|null);
  985. /** FetchNode sentTimeOffset */
  986. sentTimeOffset?: (number|null);
  987. /** FetchNode sentTime */
  988. sentTime?: (google.protobuf.ITimestamp|null);
  989. /** FetchNode receivedTime */
  990. receivedTime?: (google.protobuf.ITimestamp|null);
  991. }
  992. /** Represents a FetchNode. */
  993. class FetchNode implements IFetchNode {
  994. /**
  995. * Constructs a new FetchNode.
  996. * @param [properties] Properties to set
  997. */
  998. constructor(properties?: Trace.QueryPlanNode.IFetchNode);
  999. /** FetchNode serviceName. */
  1000. public serviceName: string;
  1001. /** FetchNode traceParsingFailed. */
  1002. public traceParsingFailed: boolean;
  1003. /** FetchNode trace. */
  1004. public trace?: (ITrace|null);
  1005. /** FetchNode sentTimeOffset. */
  1006. public sentTimeOffset: number;
  1007. /** FetchNode sentTime. */
  1008. public sentTime?: (google.protobuf.ITimestamp|null);
  1009. /** FetchNode receivedTime. */
  1010. public receivedTime?: (google.protobuf.ITimestamp|null);
  1011. /**
  1012. * Creates a new FetchNode instance using the specified properties.
  1013. * @param [properties] Properties to set
  1014. * @returns FetchNode instance
  1015. */
  1016. public static create(properties?: Trace.QueryPlanNode.IFetchNode): Trace.QueryPlanNode.FetchNode;
  1017. /**
  1018. * Encodes the specified FetchNode message. Does not implicitly {@link Trace.QueryPlanNode.FetchNode.verify|verify} messages.
  1019. * @param message FetchNode message or plain object to encode
  1020. * @param [writer] Writer to encode to
  1021. * @returns Writer
  1022. */
  1023. public static encode(message: Trace.QueryPlanNode.IFetchNode, writer?: $protobuf.Writer): $protobuf.Writer;
  1024. /**
  1025. * Encodes the specified FetchNode message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.FetchNode.verify|verify} messages.
  1026. * @param message FetchNode message or plain object to encode
  1027. * @param [writer] Writer to encode to
  1028. * @returns Writer
  1029. */
  1030. public static encodeDelimited(message: Trace.QueryPlanNode.IFetchNode, writer?: $protobuf.Writer): $protobuf.Writer;
  1031. /**
  1032. * Decodes a FetchNode message from the specified reader or buffer.
  1033. * @param reader Reader or buffer to decode from
  1034. * @param [length] Message length if known beforehand
  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 decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.QueryPlanNode.FetchNode;
  1040. /**
  1041. * Decodes a FetchNode message from the specified reader or buffer, length delimited.
  1042. * @param reader Reader or buffer to decode from
  1043. * @returns FetchNode
  1044. * @throws {Error} If the payload is not a reader or valid buffer
  1045. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1046. */
  1047. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.QueryPlanNode.FetchNode;
  1048. /**
  1049. * Verifies a FetchNode message.
  1050. * @param message Plain object to verify
  1051. * @returns `null` if valid, otherwise the reason why it is not
  1052. */
  1053. public static verify(message: { [k: string]: any }): (string|null);
  1054. /**
  1055. * Creates a plain object from a FetchNode message. Also converts values to other types if specified.
  1056. * @param message FetchNode
  1057. * @param [options] Conversion options
  1058. * @returns Plain object
  1059. */
  1060. public static toObject(message: Trace.QueryPlanNode.FetchNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1061. /**
  1062. * Converts this FetchNode to JSON.
  1063. * @returns JSON object
  1064. */
  1065. public toJSON(): { [k: string]: any };
  1066. }
  1067. /** Properties of a FlattenNode. */
  1068. interface IFlattenNode {
  1069. /** FlattenNode responsePath */
  1070. responsePath?: (Trace.QueryPlanNode.IResponsePathElement[]|null);
  1071. /** FlattenNode node */
  1072. node?: (Trace.IQueryPlanNode|null);
  1073. }
  1074. /** Represents a FlattenNode. */
  1075. class FlattenNode implements IFlattenNode {
  1076. /**
  1077. * Constructs a new FlattenNode.
  1078. * @param [properties] Properties to set
  1079. */
  1080. constructor(properties?: Trace.QueryPlanNode.IFlattenNode);
  1081. /** FlattenNode responsePath. */
  1082. public responsePath: Trace.QueryPlanNode.IResponsePathElement[];
  1083. /** FlattenNode node. */
  1084. public node?: (Trace.IQueryPlanNode|null);
  1085. /**
  1086. * Creates a new FlattenNode instance using the specified properties.
  1087. * @param [properties] Properties to set
  1088. * @returns FlattenNode instance
  1089. */
  1090. public static create(properties?: Trace.QueryPlanNode.IFlattenNode): Trace.QueryPlanNode.FlattenNode;
  1091. /**
  1092. * Encodes the specified FlattenNode message. Does not implicitly {@link Trace.QueryPlanNode.FlattenNode.verify|verify} messages.
  1093. * @param message FlattenNode message or plain object to encode
  1094. * @param [writer] Writer to encode to
  1095. * @returns Writer
  1096. */
  1097. public static encode(message: Trace.QueryPlanNode.IFlattenNode, writer?: $protobuf.Writer): $protobuf.Writer;
  1098. /**
  1099. * Encodes the specified FlattenNode message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.FlattenNode.verify|verify} messages.
  1100. * @param message FlattenNode message or plain object to encode
  1101. * @param [writer] Writer to encode to
  1102. * @returns Writer
  1103. */
  1104. public static encodeDelimited(message: Trace.QueryPlanNode.IFlattenNode, writer?: $protobuf.Writer): $protobuf.Writer;
  1105. /**
  1106. * Decodes a FlattenNode message from the specified reader or buffer.
  1107. * @param reader Reader or buffer to decode from
  1108. * @param [length] Message length if known beforehand
  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 decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.QueryPlanNode.FlattenNode;
  1114. /**
  1115. * Decodes a FlattenNode message from the specified reader or buffer, length delimited.
  1116. * @param reader Reader or buffer to decode from
  1117. * @returns FlattenNode
  1118. * @throws {Error} If the payload is not a reader or valid buffer
  1119. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1120. */
  1121. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.QueryPlanNode.FlattenNode;
  1122. /**
  1123. * Verifies a FlattenNode message.
  1124. * @param message Plain object to verify
  1125. * @returns `null` if valid, otherwise the reason why it is not
  1126. */
  1127. public static verify(message: { [k: string]: any }): (string|null);
  1128. /**
  1129. * Creates a plain object from a FlattenNode message. Also converts values to other types if specified.
  1130. * @param message FlattenNode
  1131. * @param [options] Conversion options
  1132. * @returns Plain object
  1133. */
  1134. public static toObject(message: Trace.QueryPlanNode.FlattenNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1135. /**
  1136. * Converts this FlattenNode to JSON.
  1137. * @returns JSON object
  1138. */
  1139. public toJSON(): { [k: string]: any };
  1140. }
  1141. /** Properties of a ResponsePathElement. */
  1142. interface IResponsePathElement {
  1143. /** ResponsePathElement fieldName */
  1144. fieldName?: (string|null);
  1145. /** ResponsePathElement index */
  1146. index?: (number|null);
  1147. }
  1148. /** Represents a ResponsePathElement. */
  1149. class ResponsePathElement implements IResponsePathElement {
  1150. /**
  1151. * Constructs a new ResponsePathElement.
  1152. * @param [properties] Properties to set
  1153. */
  1154. constructor(properties?: Trace.QueryPlanNode.IResponsePathElement);
  1155. /** ResponsePathElement fieldName. */
  1156. public fieldName: string;
  1157. /** ResponsePathElement index. */
  1158. public index: number;
  1159. /** ResponsePathElement id. */
  1160. public id?: ("fieldName"|"index");
  1161. /**
  1162. * Creates a new ResponsePathElement instance using the specified properties.
  1163. * @param [properties] Properties to set
  1164. * @returns ResponsePathElement instance
  1165. */
  1166. public static create(properties?: Trace.QueryPlanNode.IResponsePathElement): Trace.QueryPlanNode.ResponsePathElement;
  1167. /**
  1168. * Encodes the specified ResponsePathElement message. Does not implicitly {@link Trace.QueryPlanNode.ResponsePathElement.verify|verify} messages.
  1169. * @param message ResponsePathElement message or plain object to encode
  1170. * @param [writer] Writer to encode to
  1171. * @returns Writer
  1172. */
  1173. public static encode(message: Trace.QueryPlanNode.IResponsePathElement, writer?: $protobuf.Writer): $protobuf.Writer;
  1174. /**
  1175. * Encodes the specified ResponsePathElement message, length delimited. Does not implicitly {@link Trace.QueryPlanNode.ResponsePathElement.verify|verify} messages.
  1176. * @param message ResponsePathElement message or plain object to encode
  1177. * @param [writer] Writer to encode to
  1178. * @returns Writer
  1179. */
  1180. public static encodeDelimited(message: Trace.QueryPlanNode.IResponsePathElement, writer?: $protobuf.Writer): $protobuf.Writer;
  1181. /**
  1182. * Decodes a ResponsePathElement message from the specified reader or buffer.
  1183. * @param reader Reader or buffer to decode from
  1184. * @param [length] Message length if known beforehand
  1185. * @returns ResponsePathElement
  1186. * @throws {Error} If the payload is not a reader or valid buffer
  1187. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1188. */
  1189. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Trace.QueryPlanNode.ResponsePathElement;
  1190. /**
  1191. * Decodes a ResponsePathElement message from the specified reader or buffer, length delimited.
  1192. * @param reader Reader or buffer to decode from
  1193. * @returns ResponsePathElement
  1194. * @throws {Error} If the payload is not a reader or valid buffer
  1195. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1196. */
  1197. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Trace.QueryPlanNode.ResponsePathElement;
  1198. /**
  1199. * Verifies a ResponsePathElement message.
  1200. * @param message Plain object to verify
  1201. * @returns `null` if valid, otherwise the reason why it is not
  1202. */
  1203. public static verify(message: { [k: string]: any }): (string|null);
  1204. /**
  1205. * Creates a plain object from a ResponsePathElement message. Also converts values to other types if specified.
  1206. * @param message ResponsePathElement
  1207. * @param [options] Conversion options
  1208. * @returns Plain object
  1209. */
  1210. public static toObject(message: Trace.QueryPlanNode.ResponsePathElement, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1211. /**
  1212. * Converts this ResponsePathElement to JSON.
  1213. * @returns JSON object
  1214. */
  1215. public toJSON(): { [k: string]: any };
  1216. }
  1217. }
  1218. }
  1219. /** Properties of a ReportHeader. */
  1220. export interface IReportHeader {
  1221. /** ReportHeader graphRef */
  1222. graphRef?: (string|null);
  1223. /** ReportHeader hostname */
  1224. hostname?: (string|null);
  1225. /** ReportHeader agentVersion */
  1226. agentVersion?: (string|null);
  1227. /** ReportHeader serviceVersion */
  1228. serviceVersion?: (string|null);
  1229. /** ReportHeader runtimeVersion */
  1230. runtimeVersion?: (string|null);
  1231. /** ReportHeader uname */
  1232. uname?: (string|null);
  1233. /** ReportHeader executableSchemaId */
  1234. executableSchemaId?: (string|null);
  1235. }
  1236. /** Represents a ReportHeader. */
  1237. export class ReportHeader implements IReportHeader {
  1238. /**
  1239. * Constructs a new ReportHeader.
  1240. * @param [properties] Properties to set
  1241. */
  1242. constructor(properties?: IReportHeader);
  1243. /** ReportHeader graphRef. */
  1244. public graphRef: string;
  1245. /** ReportHeader hostname. */
  1246. public hostname: string;
  1247. /** ReportHeader agentVersion. */
  1248. public agentVersion: string;
  1249. /** ReportHeader serviceVersion. */
  1250. public serviceVersion: string;
  1251. /** ReportHeader runtimeVersion. */
  1252. public runtimeVersion: string;
  1253. /** ReportHeader uname. */
  1254. public uname: string;
  1255. /** ReportHeader executableSchemaId. */
  1256. public executableSchemaId: string;
  1257. /**
  1258. * Creates a new ReportHeader instance using the specified properties.
  1259. * @param [properties] Properties to set
  1260. * @returns ReportHeader instance
  1261. */
  1262. public static create(properties?: IReportHeader): ReportHeader;
  1263. /**
  1264. * Encodes the specified ReportHeader message. Does not implicitly {@link ReportHeader.verify|verify} messages.
  1265. * @param message ReportHeader message or plain object to encode
  1266. * @param [writer] Writer to encode to
  1267. * @returns Writer
  1268. */
  1269. public static encode(message: IReportHeader, writer?: $protobuf.Writer): $protobuf.Writer;
  1270. /**
  1271. * Encodes the specified ReportHeader message, length delimited. Does not implicitly {@link ReportHeader.verify|verify} messages.
  1272. * @param message ReportHeader message or plain object to encode
  1273. * @param [writer] Writer to encode to
  1274. * @returns Writer
  1275. */
  1276. public static encodeDelimited(message: IReportHeader, writer?: $protobuf.Writer): $protobuf.Writer;
  1277. /**
  1278. * Decodes a ReportHeader message from the specified reader or buffer.
  1279. * @param reader Reader or buffer to decode from
  1280. * @param [length] Message length if known beforehand
  1281. * @returns ReportHeader
  1282. * @throws {Error} If the payload is not a reader or valid buffer
  1283. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1284. */
  1285. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReportHeader;
  1286. /**
  1287. * Decodes a ReportHeader message from the specified reader or buffer, length delimited.
  1288. * @param reader Reader or buffer to decode from
  1289. * @returns ReportHeader
  1290. * @throws {Error} If the payload is not a reader or valid buffer
  1291. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1292. */
  1293. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReportHeader;
  1294. /**
  1295. * Verifies a ReportHeader message.
  1296. * @param message Plain object to verify
  1297. * @returns `null` if valid, otherwise the reason why it is not
  1298. */
  1299. public static verify(message: { [k: string]: any }): (string|null);
  1300. /**
  1301. * Creates a plain object from a ReportHeader message. Also converts values to other types if specified.
  1302. * @param message ReportHeader
  1303. * @param [options] Conversion options
  1304. * @returns Plain object
  1305. */
  1306. public static toObject(message: ReportHeader, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1307. /**
  1308. * Converts this ReportHeader to JSON.
  1309. * @returns JSON object
  1310. */
  1311. public toJSON(): { [k: string]: any };
  1312. }
  1313. /** Properties of a PathErrorStats. */
  1314. export interface IPathErrorStats {
  1315. /** PathErrorStats children */
  1316. children?: ({ [k: string]: IPathErrorStats }|null);
  1317. /** PathErrorStats errorsCount */
  1318. errorsCount?: (number|null);
  1319. /** PathErrorStats requestsWithErrorsCount */
  1320. requestsWithErrorsCount?: (number|null);
  1321. }
  1322. /** Represents a PathErrorStats. */
  1323. export class PathErrorStats implements IPathErrorStats {
  1324. /**
  1325. * Constructs a new PathErrorStats.
  1326. * @param [properties] Properties to set
  1327. */
  1328. constructor(properties?: IPathErrorStats);
  1329. /** PathErrorStats children. */
  1330. public children: { [k: string]: IPathErrorStats };
  1331. /** PathErrorStats errorsCount. */
  1332. public errorsCount: number;
  1333. /** PathErrorStats requestsWithErrorsCount. */
  1334. public requestsWithErrorsCount: number;
  1335. /**
  1336. * Creates a new PathErrorStats instance using the specified properties.
  1337. * @param [properties] Properties to set
  1338. * @returns PathErrorStats instance
  1339. */
  1340. public static create(properties?: IPathErrorStats): PathErrorStats;
  1341. /**
  1342. * Encodes the specified PathErrorStats message. Does not implicitly {@link PathErrorStats.verify|verify} messages.
  1343. * @param message PathErrorStats message or plain object to encode
  1344. * @param [writer] Writer to encode to
  1345. * @returns Writer
  1346. */
  1347. public static encode(message: IPathErrorStats, writer?: $protobuf.Writer): $protobuf.Writer;
  1348. /**
  1349. * Encodes the specified PathErrorStats message, length delimited. Does not implicitly {@link PathErrorStats.verify|verify} messages.
  1350. * @param message PathErrorStats message or plain object to encode
  1351. * @param [writer] Writer to encode to
  1352. * @returns Writer
  1353. */
  1354. public static encodeDelimited(message: IPathErrorStats, writer?: $protobuf.Writer): $protobuf.Writer;
  1355. /**
  1356. * Decodes a PathErrorStats message from the specified reader or buffer.
  1357. * @param reader Reader or buffer to decode from
  1358. * @param [length] Message length if known beforehand
  1359. * @returns PathErrorStats
  1360. * @throws {Error} If the payload is not a reader or valid buffer
  1361. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1362. */
  1363. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PathErrorStats;
  1364. /**
  1365. * Decodes a PathErrorStats message from the specified reader or buffer, length delimited.
  1366. * @param reader Reader or buffer to decode from
  1367. * @returns PathErrorStats
  1368. * @throws {Error} If the payload is not a reader or valid buffer
  1369. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1370. */
  1371. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PathErrorStats;
  1372. /**
  1373. * Verifies a PathErrorStats message.
  1374. * @param message Plain object to verify
  1375. * @returns `null` if valid, otherwise the reason why it is not
  1376. */
  1377. public static verify(message: { [k: string]: any }): (string|null);
  1378. /**
  1379. * Creates a plain object from a PathErrorStats message. Also converts values to other types if specified.
  1380. * @param message PathErrorStats
  1381. * @param [options] Conversion options
  1382. * @returns Plain object
  1383. */
  1384. public static toObject(message: PathErrorStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1385. /**
  1386. * Converts this PathErrorStats to JSON.
  1387. * @returns JSON object
  1388. */
  1389. public toJSON(): { [k: string]: any };
  1390. }
  1391. /** Properties of a QueryLatencyStats. */
  1392. export interface IQueryLatencyStats {
  1393. /** QueryLatencyStats latencyCount */
  1394. latencyCount?: ($protobuf.ToArray<number>|number[]|null);
  1395. /** QueryLatencyStats requestCount */
  1396. requestCount?: (number|null);
  1397. /** QueryLatencyStats cacheHits */
  1398. cacheHits?: (number|null);
  1399. /** QueryLatencyStats persistedQueryHits */
  1400. persistedQueryHits?: (number|null);
  1401. /** QueryLatencyStats persistedQueryMisses */
  1402. persistedQueryMisses?: (number|null);
  1403. /** QueryLatencyStats cacheLatencyCount */
  1404. cacheLatencyCount?: ($protobuf.ToArray<number>|number[]|null);
  1405. /** QueryLatencyStats rootErrorStats */
  1406. rootErrorStats?: (IPathErrorStats|null);
  1407. /** QueryLatencyStats requestsWithErrorsCount */
  1408. requestsWithErrorsCount?: (number|null);
  1409. /** QueryLatencyStats publicCacheTtlCount */
  1410. publicCacheTtlCount?: ($protobuf.ToArray<number>|number[]|null);
  1411. /** QueryLatencyStats privateCacheTtlCount */
  1412. privateCacheTtlCount?: ($protobuf.ToArray<number>|number[]|null);
  1413. /** QueryLatencyStats registeredOperationCount */
  1414. registeredOperationCount?: (number|null);
  1415. /** QueryLatencyStats forbiddenOperationCount */
  1416. forbiddenOperationCount?: (number|null);
  1417. }
  1418. /** Represents a QueryLatencyStats. */
  1419. export class QueryLatencyStats implements IQueryLatencyStats {
  1420. /**
  1421. * Constructs a new QueryLatencyStats.
  1422. * @param [properties] Properties to set
  1423. */
  1424. constructor(properties?: IQueryLatencyStats);
  1425. /** QueryLatencyStats latencyCount. */
  1426. public latencyCount: number[];
  1427. /** QueryLatencyStats requestCount. */
  1428. public requestCount: number;
  1429. /** QueryLatencyStats cacheHits. */
  1430. public cacheHits: number;
  1431. /** QueryLatencyStats persistedQueryHits. */
  1432. public persistedQueryHits: number;
  1433. /** QueryLatencyStats persistedQueryMisses. */
  1434. public persistedQueryMisses: number;
  1435. /** QueryLatencyStats cacheLatencyCount. */
  1436. public cacheLatencyCount: number[];
  1437. /** QueryLatencyStats rootErrorStats. */
  1438. public rootErrorStats?: (IPathErrorStats|null);
  1439. /** QueryLatencyStats requestsWithErrorsCount. */
  1440. public requestsWithErrorsCount: number;
  1441. /** QueryLatencyStats publicCacheTtlCount. */
  1442. public publicCacheTtlCount: number[];
  1443. /** QueryLatencyStats privateCacheTtlCount. */
  1444. public privateCacheTtlCount: number[];
  1445. /** QueryLatencyStats registeredOperationCount. */
  1446. public registeredOperationCount: number;
  1447. /** QueryLatencyStats forbiddenOperationCount. */
  1448. public forbiddenOperationCount: number;
  1449. /**
  1450. * Creates a new QueryLatencyStats instance using the specified properties.
  1451. * @param [properties] Properties to set
  1452. * @returns QueryLatencyStats instance
  1453. */
  1454. public static create(properties?: IQueryLatencyStats): QueryLatencyStats;
  1455. /**
  1456. * Encodes the specified QueryLatencyStats message. Does not implicitly {@link QueryLatencyStats.verify|verify} messages.
  1457. * @param message QueryLatencyStats message or plain object to encode
  1458. * @param [writer] Writer to encode to
  1459. * @returns Writer
  1460. */
  1461. public static encode(message: IQueryLatencyStats, writer?: $protobuf.Writer): $protobuf.Writer;
  1462. /**
  1463. * Encodes the specified QueryLatencyStats message, length delimited. Does not implicitly {@link QueryLatencyStats.verify|verify} messages.
  1464. * @param message QueryLatencyStats message or plain object to encode
  1465. * @param [writer] Writer to encode to
  1466. * @returns Writer
  1467. */
  1468. public static encodeDelimited(message: IQueryLatencyStats, writer?: $protobuf.Writer): $protobuf.Writer;
  1469. /**
  1470. * Decodes a QueryLatencyStats message from the specified reader or buffer.
  1471. * @param reader Reader or buffer to decode from
  1472. * @param [length] Message length if known beforehand
  1473. * @returns QueryLatencyStats
  1474. * @throws {Error} If the payload is not a reader or valid buffer
  1475. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1476. */
  1477. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): QueryLatencyStats;
  1478. /**
  1479. * Decodes a QueryLatencyStats message from the specified reader or buffer, length delimited.
  1480. * @param reader Reader or buffer to decode from
  1481. * @returns QueryLatencyStats
  1482. * @throws {Error} If the payload is not a reader or valid buffer
  1483. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1484. */
  1485. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): QueryLatencyStats;
  1486. /**
  1487. * Verifies a QueryLatencyStats message.
  1488. * @param message Plain object to verify
  1489. * @returns `null` if valid, otherwise the reason why it is not
  1490. */
  1491. public static verify(message: { [k: string]: any }): (string|null);
  1492. /**
  1493. * Creates a plain object from a QueryLatencyStats message. Also converts values to other types if specified.
  1494. * @param message QueryLatencyStats
  1495. * @param [options] Conversion options
  1496. * @returns Plain object
  1497. */
  1498. public static toObject(message: QueryLatencyStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1499. /**
  1500. * Converts this QueryLatencyStats to JSON.
  1501. * @returns JSON object
  1502. */
  1503. public toJSON(): { [k: string]: any };
  1504. }
  1505. /** Properties of a StatsContext. */
  1506. export interface IStatsContext {
  1507. /** StatsContext clientReferenceId */
  1508. clientReferenceId?: (string|null);
  1509. /** StatsContext clientName */
  1510. clientName?: (string|null);
  1511. /** StatsContext clientVersion */
  1512. clientVersion?: (string|null);
  1513. }
  1514. /** Represents a StatsContext. */
  1515. export class StatsContext implements IStatsContext {
  1516. /**
  1517. * Constructs a new StatsContext.
  1518. * @param [properties] Properties to set
  1519. */
  1520. constructor(properties?: IStatsContext);
  1521. /** StatsContext clientReferenceId. */
  1522. public clientReferenceId: string;
  1523. /** StatsContext clientName. */
  1524. public clientName: string;
  1525. /** StatsContext clientVersion. */
  1526. public clientVersion: string;
  1527. /**
  1528. * Creates a new StatsContext instance using the specified properties.
  1529. * @param [properties] Properties to set
  1530. * @returns StatsContext instance
  1531. */
  1532. public static create(properties?: IStatsContext): StatsContext;
  1533. /**
  1534. * Encodes the specified StatsContext message. Does not implicitly {@link StatsContext.verify|verify} messages.
  1535. * @param message StatsContext message or plain object to encode
  1536. * @param [writer] Writer to encode to
  1537. * @returns Writer
  1538. */
  1539. public static encode(message: IStatsContext, writer?: $protobuf.Writer): $protobuf.Writer;
  1540. /**
  1541. * Encodes the specified StatsContext message, length delimited. Does not implicitly {@link StatsContext.verify|verify} messages.
  1542. * @param message StatsContext message or plain object to encode
  1543. * @param [writer] Writer to encode to
  1544. * @returns Writer
  1545. */
  1546. public static encodeDelimited(message: IStatsContext, writer?: $protobuf.Writer): $protobuf.Writer;
  1547. /**
  1548. * Decodes a StatsContext message from the specified reader or buffer.
  1549. * @param reader Reader or buffer to decode from
  1550. * @param [length] Message length if known beforehand
  1551. * @returns StatsContext
  1552. * @throws {Error} If the payload is not a reader or valid buffer
  1553. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1554. */
  1555. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): StatsContext;
  1556. /**
  1557. * Decodes a StatsContext message from the specified reader or buffer, length delimited.
  1558. * @param reader Reader or buffer to decode from
  1559. * @returns StatsContext
  1560. * @throws {Error} If the payload is not a reader or valid buffer
  1561. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1562. */
  1563. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): StatsContext;
  1564. /**
  1565. * Verifies a StatsContext message.
  1566. * @param message Plain object to verify
  1567. * @returns `null` if valid, otherwise the reason why it is not
  1568. */
  1569. public static verify(message: { [k: string]: any }): (string|null);
  1570. /**
  1571. * Creates a plain object from a StatsContext message. Also converts values to other types if specified.
  1572. * @param message StatsContext
  1573. * @param [options] Conversion options
  1574. * @returns Plain object
  1575. */
  1576. public static toObject(message: StatsContext, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1577. /**
  1578. * Converts this StatsContext to JSON.
  1579. * @returns JSON object
  1580. */
  1581. public toJSON(): { [k: string]: any };
  1582. }
  1583. /** Properties of a ContextualizedQueryLatencyStats. */
  1584. export interface IContextualizedQueryLatencyStats {
  1585. /** ContextualizedQueryLatencyStats queryLatencyStats */
  1586. queryLatencyStats?: (IQueryLatencyStats|null);
  1587. /** ContextualizedQueryLatencyStats context */
  1588. context?: (IStatsContext|null);
  1589. }
  1590. /** Represents a ContextualizedQueryLatencyStats. */
  1591. export class ContextualizedQueryLatencyStats implements IContextualizedQueryLatencyStats {
  1592. /**
  1593. * Constructs a new ContextualizedQueryLatencyStats.
  1594. * @param [properties] Properties to set
  1595. */
  1596. constructor(properties?: IContextualizedQueryLatencyStats);
  1597. /** ContextualizedQueryLatencyStats queryLatencyStats. */
  1598. public queryLatencyStats?: (IQueryLatencyStats|null);
  1599. /** ContextualizedQueryLatencyStats context. */
  1600. public context?: (IStatsContext|null);
  1601. /**
  1602. * Creates a new ContextualizedQueryLatencyStats instance using the specified properties.
  1603. * @param [properties] Properties to set
  1604. * @returns ContextualizedQueryLatencyStats instance
  1605. */
  1606. public static create(properties?: IContextualizedQueryLatencyStats): ContextualizedQueryLatencyStats;
  1607. /**
  1608. * Encodes the specified ContextualizedQueryLatencyStats message. Does not implicitly {@link ContextualizedQueryLatencyStats.verify|verify} messages.
  1609. * @param message ContextualizedQueryLatencyStats message or plain object to encode
  1610. * @param [writer] Writer to encode to
  1611. * @returns Writer
  1612. */
  1613. public static encode(message: IContextualizedQueryLatencyStats, writer?: $protobuf.Writer): $protobuf.Writer;
  1614. /**
  1615. * Encodes the specified ContextualizedQueryLatencyStats message, length delimited. Does not implicitly {@link ContextualizedQueryLatencyStats.verify|verify} messages.
  1616. * @param message ContextualizedQueryLatencyStats message or plain object to encode
  1617. * @param [writer] Writer to encode to
  1618. * @returns Writer
  1619. */
  1620. public static encodeDelimited(message: IContextualizedQueryLatencyStats, writer?: $protobuf.Writer): $protobuf.Writer;
  1621. /**
  1622. * Decodes a ContextualizedQueryLatencyStats message from the specified reader or buffer.
  1623. * @param reader Reader or buffer to decode from
  1624. * @param [length] Message length if known beforehand
  1625. * @returns ContextualizedQueryLatencyStats
  1626. * @throws {Error} If the payload is not a reader or valid buffer
  1627. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1628. */
  1629. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContextualizedQueryLatencyStats;
  1630. /**
  1631. * Decodes a ContextualizedQueryLatencyStats message from the specified reader or buffer, length delimited.
  1632. * @param reader Reader or buffer to decode from
  1633. * @returns ContextualizedQueryLatencyStats
  1634. * @throws {Error} If the payload is not a reader or valid buffer
  1635. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1636. */
  1637. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContextualizedQueryLatencyStats;
  1638. /**
  1639. * Verifies a ContextualizedQueryLatencyStats message.
  1640. * @param message Plain object to verify
  1641. * @returns `null` if valid, otherwise the reason why it is not
  1642. */
  1643. public static verify(message: { [k: string]: any }): (string|null);
  1644. /**
  1645. * Creates a plain object from a ContextualizedQueryLatencyStats message. Also converts values to other types if specified.
  1646. * @param message ContextualizedQueryLatencyStats
  1647. * @param [options] Conversion options
  1648. * @returns Plain object
  1649. */
  1650. public static toObject(message: ContextualizedQueryLatencyStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1651. /**
  1652. * Converts this ContextualizedQueryLatencyStats to JSON.
  1653. * @returns JSON object
  1654. */
  1655. public toJSON(): { [k: string]: any };
  1656. }
  1657. /** Properties of a ContextualizedTypeStats. */
  1658. export interface IContextualizedTypeStats {
  1659. /** ContextualizedTypeStats context */
  1660. context?: (IStatsContext|null);
  1661. /** ContextualizedTypeStats perTypeStat */
  1662. perTypeStat?: ({ [k: string]: ITypeStat }|null);
  1663. }
  1664. /** Represents a ContextualizedTypeStats. */
  1665. export class ContextualizedTypeStats implements IContextualizedTypeStats {
  1666. /**
  1667. * Constructs a new ContextualizedTypeStats.
  1668. * @param [properties] Properties to set
  1669. */
  1670. constructor(properties?: IContextualizedTypeStats);
  1671. /** ContextualizedTypeStats context. */
  1672. public context?: (IStatsContext|null);
  1673. /** ContextualizedTypeStats perTypeStat. */
  1674. public perTypeStat: { [k: string]: ITypeStat };
  1675. /**
  1676. * Creates a new ContextualizedTypeStats instance using the specified properties.
  1677. * @param [properties] Properties to set
  1678. * @returns ContextualizedTypeStats instance
  1679. */
  1680. public static create(properties?: IContextualizedTypeStats): ContextualizedTypeStats;
  1681. /**
  1682. * Encodes the specified ContextualizedTypeStats message. Does not implicitly {@link ContextualizedTypeStats.verify|verify} messages.
  1683. * @param message ContextualizedTypeStats message or plain object to encode
  1684. * @param [writer] Writer to encode to
  1685. * @returns Writer
  1686. */
  1687. public static encode(message: IContextualizedTypeStats, writer?: $protobuf.Writer): $protobuf.Writer;
  1688. /**
  1689. * Encodes the specified ContextualizedTypeStats message, length delimited. Does not implicitly {@link ContextualizedTypeStats.verify|verify} messages.
  1690. * @param message ContextualizedTypeStats message or plain object to encode
  1691. * @param [writer] Writer to encode to
  1692. * @returns Writer
  1693. */
  1694. public static encodeDelimited(message: IContextualizedTypeStats, writer?: $protobuf.Writer): $protobuf.Writer;
  1695. /**
  1696. * Decodes a ContextualizedTypeStats message from the specified reader or buffer.
  1697. * @param reader Reader or buffer to decode from
  1698. * @param [length] Message length if known beforehand
  1699. * @returns ContextualizedTypeStats
  1700. * @throws {Error} If the payload is not a reader or valid buffer
  1701. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1702. */
  1703. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContextualizedTypeStats;
  1704. /**
  1705. * Decodes a ContextualizedTypeStats message from the specified reader or buffer, length delimited.
  1706. * @param reader Reader or buffer to decode from
  1707. * @returns ContextualizedTypeStats
  1708. * @throws {Error} If the payload is not a reader or valid buffer
  1709. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1710. */
  1711. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContextualizedTypeStats;
  1712. /**
  1713. * Verifies a ContextualizedTypeStats message.
  1714. * @param message Plain object to verify
  1715. * @returns `null` if valid, otherwise the reason why it is not
  1716. */
  1717. public static verify(message: { [k: string]: any }): (string|null);
  1718. /**
  1719. * Creates a plain object from a ContextualizedTypeStats message. Also converts values to other types if specified.
  1720. * @param message ContextualizedTypeStats
  1721. * @param [options] Conversion options
  1722. * @returns Plain object
  1723. */
  1724. public static toObject(message: ContextualizedTypeStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1725. /**
  1726. * Converts this ContextualizedTypeStats to JSON.
  1727. * @returns JSON object
  1728. */
  1729. public toJSON(): { [k: string]: any };
  1730. }
  1731. /** Properties of a FieldStat. */
  1732. export interface IFieldStat {
  1733. /** FieldStat returnType */
  1734. returnType?: (string|null);
  1735. /** FieldStat errorsCount */
  1736. errorsCount?: (number|null);
  1737. /** FieldStat count */
  1738. count?: (number|null);
  1739. /** FieldStat requestsWithErrorsCount */
  1740. requestsWithErrorsCount?: (number|null);
  1741. /** FieldStat latencyCount */
  1742. latencyCount?: ($protobuf.ToArray<number>|number[]|null);
  1743. }
  1744. /** Represents a FieldStat. */
  1745. export class FieldStat implements IFieldStat {
  1746. /**
  1747. * Constructs a new FieldStat.
  1748. * @param [properties] Properties to set
  1749. */
  1750. constructor(properties?: IFieldStat);
  1751. /** FieldStat returnType. */
  1752. public returnType: string;
  1753. /** FieldStat errorsCount. */
  1754. public errorsCount: number;
  1755. /** FieldStat count. */
  1756. public count: number;
  1757. /** FieldStat requestsWithErrorsCount. */
  1758. public requestsWithErrorsCount: number;
  1759. /** FieldStat latencyCount. */
  1760. public latencyCount: number[];
  1761. /**
  1762. * Creates a new FieldStat instance using the specified properties.
  1763. * @param [properties] Properties to set
  1764. * @returns FieldStat instance
  1765. */
  1766. public static create(properties?: IFieldStat): FieldStat;
  1767. /**
  1768. * Encodes the specified FieldStat message. Does not implicitly {@link FieldStat.verify|verify} messages.
  1769. * @param message FieldStat message or plain object to encode
  1770. * @param [writer] Writer to encode to
  1771. * @returns Writer
  1772. */
  1773. public static encode(message: IFieldStat, writer?: $protobuf.Writer): $protobuf.Writer;
  1774. /**
  1775. * Encodes the specified FieldStat message, length delimited. Does not implicitly {@link FieldStat.verify|verify} messages.
  1776. * @param message FieldStat message or plain object to encode
  1777. * @param [writer] Writer to encode to
  1778. * @returns Writer
  1779. */
  1780. public static encodeDelimited(message: IFieldStat, writer?: $protobuf.Writer): $protobuf.Writer;
  1781. /**
  1782. * Decodes a FieldStat message from the specified reader or buffer.
  1783. * @param reader Reader or buffer to decode from
  1784. * @param [length] Message length if known beforehand
  1785. * @returns FieldStat
  1786. * @throws {Error} If the payload is not a reader or valid buffer
  1787. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1788. */
  1789. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): FieldStat;
  1790. /**
  1791. * Decodes a FieldStat message from the specified reader or buffer, length delimited.
  1792. * @param reader Reader or buffer to decode from
  1793. * @returns FieldStat
  1794. * @throws {Error} If the payload is not a reader or valid buffer
  1795. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1796. */
  1797. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): FieldStat;
  1798. /**
  1799. * Verifies a FieldStat message.
  1800. * @param message Plain object to verify
  1801. * @returns `null` if valid, otherwise the reason why it is not
  1802. */
  1803. public static verify(message: { [k: string]: any }): (string|null);
  1804. /**
  1805. * Creates a plain object from a FieldStat message. Also converts values to other types if specified.
  1806. * @param message FieldStat
  1807. * @param [options] Conversion options
  1808. * @returns Plain object
  1809. */
  1810. public static toObject(message: FieldStat, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1811. /**
  1812. * Converts this FieldStat to JSON.
  1813. * @returns JSON object
  1814. */
  1815. public toJSON(): { [k: string]: any };
  1816. }
  1817. /** Properties of a TypeStat. */
  1818. export interface ITypeStat {
  1819. /** TypeStat perFieldStat */
  1820. perFieldStat?: ({ [k: string]: IFieldStat }|null);
  1821. }
  1822. /** Represents a TypeStat. */
  1823. export class TypeStat implements ITypeStat {
  1824. /**
  1825. * Constructs a new TypeStat.
  1826. * @param [properties] Properties to set
  1827. */
  1828. constructor(properties?: ITypeStat);
  1829. /** TypeStat perFieldStat. */
  1830. public perFieldStat: { [k: string]: IFieldStat };
  1831. /**
  1832. * Creates a new TypeStat instance using the specified properties.
  1833. * @param [properties] Properties to set
  1834. * @returns TypeStat instance
  1835. */
  1836. public static create(properties?: ITypeStat): TypeStat;
  1837. /**
  1838. * Encodes the specified TypeStat message. Does not implicitly {@link TypeStat.verify|verify} messages.
  1839. * @param message TypeStat message or plain object to encode
  1840. * @param [writer] Writer to encode to
  1841. * @returns Writer
  1842. */
  1843. public static encode(message: ITypeStat, writer?: $protobuf.Writer): $protobuf.Writer;
  1844. /**
  1845. * Encodes the specified TypeStat message, length delimited. Does not implicitly {@link TypeStat.verify|verify} messages.
  1846. * @param message TypeStat message or plain object to encode
  1847. * @param [writer] Writer to encode to
  1848. * @returns Writer
  1849. */
  1850. public static encodeDelimited(message: ITypeStat, writer?: $protobuf.Writer): $protobuf.Writer;
  1851. /**
  1852. * Decodes a TypeStat message from the specified reader or buffer.
  1853. * @param reader Reader or buffer to decode from
  1854. * @param [length] Message length if known beforehand
  1855. * @returns TypeStat
  1856. * @throws {Error} If the payload is not a reader or valid buffer
  1857. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1858. */
  1859. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TypeStat;
  1860. /**
  1861. * Decodes a TypeStat message from the specified reader or buffer, length delimited.
  1862. * @param reader Reader or buffer to decode from
  1863. * @returns TypeStat
  1864. * @throws {Error} If the payload is not a reader or valid buffer
  1865. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1866. */
  1867. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): TypeStat;
  1868. /**
  1869. * Verifies a TypeStat message.
  1870. * @param message Plain object to verify
  1871. * @returns `null` if valid, otherwise the reason why it is not
  1872. */
  1873. public static verify(message: { [k: string]: any }): (string|null);
  1874. /**
  1875. * Creates a plain object from a TypeStat message. Also converts values to other types if specified.
  1876. * @param message TypeStat
  1877. * @param [options] Conversion options
  1878. * @returns Plain object
  1879. */
  1880. public static toObject(message: TypeStat, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1881. /**
  1882. * Converts this TypeStat to JSON.
  1883. * @returns JSON object
  1884. */
  1885. public toJSON(): { [k: string]: any };
  1886. }
  1887. /** Properties of a Field. */
  1888. export interface IField {
  1889. /** Field name */
  1890. name?: (string|null);
  1891. /** Field returnType */
  1892. returnType?: (string|null);
  1893. }
  1894. /** Represents a Field. */
  1895. export class Field implements IField {
  1896. /**
  1897. * Constructs a new Field.
  1898. * @param [properties] Properties to set
  1899. */
  1900. constructor(properties?: IField);
  1901. /** Field name. */
  1902. public name: string;
  1903. /** Field returnType. */
  1904. public returnType: string;
  1905. /**
  1906. * Creates a new Field instance using the specified properties.
  1907. * @param [properties] Properties to set
  1908. * @returns Field instance
  1909. */
  1910. public static create(properties?: IField): Field;
  1911. /**
  1912. * Encodes the specified Field message. Does not implicitly {@link Field.verify|verify} messages.
  1913. * @param message Field message or plain object to encode
  1914. * @param [writer] Writer to encode to
  1915. * @returns Writer
  1916. */
  1917. public static encode(message: IField, writer?: $protobuf.Writer): $protobuf.Writer;
  1918. /**
  1919. * Encodes the specified Field message, length delimited. Does not implicitly {@link Field.verify|verify} messages.
  1920. * @param message Field message or plain object to encode
  1921. * @param [writer] Writer to encode to
  1922. * @returns Writer
  1923. */
  1924. public static encodeDelimited(message: IField, writer?: $protobuf.Writer): $protobuf.Writer;
  1925. /**
  1926. * Decodes a Field message from the specified reader or buffer.
  1927. * @param reader Reader or buffer to decode from
  1928. * @param [length] Message length if known beforehand
  1929. * @returns Field
  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 decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Field;
  1934. /**
  1935. * Decodes a Field message from the specified reader or buffer, length delimited.
  1936. * @param reader Reader or buffer to decode from
  1937. * @returns Field
  1938. * @throws {Error} If the payload is not a reader or valid buffer
  1939. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1940. */
  1941. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Field;
  1942. /**
  1943. * Verifies a Field message.
  1944. * @param message Plain object to verify
  1945. * @returns `null` if valid, otherwise the reason why it is not
  1946. */
  1947. public static verify(message: { [k: string]: any }): (string|null);
  1948. /**
  1949. * Creates a plain object from a Field message. Also converts values to other types if specified.
  1950. * @param message Field
  1951. * @param [options] Conversion options
  1952. * @returns Plain object
  1953. */
  1954. public static toObject(message: Field, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1955. /**
  1956. * Converts this Field to JSON.
  1957. * @returns JSON object
  1958. */
  1959. public toJSON(): { [k: string]: any };
  1960. }
  1961. /** Properties of a Type. */
  1962. export interface IType {
  1963. /** Type name */
  1964. name?: (string|null);
  1965. /** Type field */
  1966. field?: (IField[]|null);
  1967. }
  1968. /** Represents a Type. */
  1969. export class Type implements IType {
  1970. /**
  1971. * Constructs a new Type.
  1972. * @param [properties] Properties to set
  1973. */
  1974. constructor(properties?: IType);
  1975. /** Type name. */
  1976. public name: string;
  1977. /** Type field. */
  1978. public field: IField[];
  1979. /**
  1980. * Creates a new Type instance using the specified properties.
  1981. * @param [properties] Properties to set
  1982. * @returns Type instance
  1983. */
  1984. public static create(properties?: IType): Type;
  1985. /**
  1986. * Encodes the specified Type message. Does not implicitly {@link Type.verify|verify} messages.
  1987. * @param message Type message or plain object to encode
  1988. * @param [writer] Writer to encode to
  1989. * @returns Writer
  1990. */
  1991. public static encode(message: IType, writer?: $protobuf.Writer): $protobuf.Writer;
  1992. /**
  1993. * Encodes the specified Type message, length delimited. Does not implicitly {@link Type.verify|verify} messages.
  1994. * @param message Type message or plain object to encode
  1995. * @param [writer] Writer to encode to
  1996. * @returns Writer
  1997. */
  1998. public static encodeDelimited(message: IType, writer?: $protobuf.Writer): $protobuf.Writer;
  1999. /**
  2000. * Decodes a Type message from the specified reader or buffer.
  2001. * @param reader Reader or buffer to decode from
  2002. * @param [length] Message length if known beforehand
  2003. * @returns Type
  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 decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Type;
  2008. /**
  2009. * Decodes a Type message from the specified reader or buffer, length delimited.
  2010. * @param reader Reader or buffer to decode from
  2011. * @returns Type
  2012. * @throws {Error} If the payload is not a reader or valid buffer
  2013. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2014. */
  2015. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Type;
  2016. /**
  2017. * Verifies a Type message.
  2018. * @param message Plain object to verify
  2019. * @returns `null` if valid, otherwise the reason why it is not
  2020. */
  2021. public static verify(message: { [k: string]: any }): (string|null);
  2022. /**
  2023. * Creates a plain object from a Type message. Also converts values to other types if specified.
  2024. * @param message Type
  2025. * @param [options] Conversion options
  2026. * @returns Plain object
  2027. */
  2028. public static toObject(message: Type, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2029. /**
  2030. * Converts this Type to JSON.
  2031. * @returns JSON object
  2032. */
  2033. public toJSON(): { [k: string]: any };
  2034. }
  2035. /** Properties of a Report. */
  2036. export interface IReport {
  2037. /** Report header */
  2038. header?: (IReportHeader|null);
  2039. /** Report tracesPerQuery */
  2040. tracesPerQuery?: ({ [k: string]: ITracesAndStats }|null);
  2041. /** Report endTime */
  2042. endTime?: (google.protobuf.ITimestamp|null);
  2043. }
  2044. /** Represents a Report. */
  2045. export class Report implements IReport {
  2046. /**
  2047. * Constructs a new Report.
  2048. * @param [properties] Properties to set
  2049. */
  2050. constructor(properties?: IReport);
  2051. /** Report header. */
  2052. public header?: (IReportHeader|null);
  2053. /** Report tracesPerQuery. */
  2054. public tracesPerQuery: { [k: string]: ITracesAndStats };
  2055. /** Report endTime. */
  2056. public endTime?: (google.protobuf.ITimestamp|null);
  2057. /**
  2058. * Creates a new Report instance using the specified properties.
  2059. * @param [properties] Properties to set
  2060. * @returns Report instance
  2061. */
  2062. public static create(properties?: IReport): Report;
  2063. /**
  2064. * Encodes the specified Report message. Does not implicitly {@link Report.verify|verify} messages.
  2065. * @param message Report message or plain object to encode
  2066. * @param [writer] Writer to encode to
  2067. * @returns Writer
  2068. */
  2069. public static encode(message: IReport, writer?: $protobuf.Writer): $protobuf.Writer;
  2070. /**
  2071. * Encodes the specified Report message, length delimited. Does not implicitly {@link Report.verify|verify} messages.
  2072. * @param message Report message or plain object to encode
  2073. * @param [writer] Writer to encode to
  2074. * @returns Writer
  2075. */
  2076. public static encodeDelimited(message: IReport, writer?: $protobuf.Writer): $protobuf.Writer;
  2077. /**
  2078. * Decodes a Report message from the specified reader or buffer.
  2079. * @param reader Reader or buffer to decode from
  2080. * @param [length] Message length if known beforehand
  2081. * @returns Report
  2082. * @throws {Error} If the payload is not a reader or valid buffer
  2083. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2084. */
  2085. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Report;
  2086. /**
  2087. * Decodes a Report message from the specified reader or buffer, length delimited.
  2088. * @param reader Reader or buffer to decode from
  2089. * @returns Report
  2090. * @throws {Error} If the payload is not a reader or valid buffer
  2091. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2092. */
  2093. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Report;
  2094. /**
  2095. * Verifies a Report message.
  2096. * @param message Plain object to verify
  2097. * @returns `null` if valid, otherwise the reason why it is not
  2098. */
  2099. public static verify(message: { [k: string]: any }): (string|null);
  2100. /**
  2101. * Creates a plain object from a Report message. Also converts values to other types if specified.
  2102. * @param message Report
  2103. * @param [options] Conversion options
  2104. * @returns Plain object
  2105. */
  2106. public static toObject(message: Report, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2107. /**
  2108. * Converts this Report to JSON.
  2109. * @returns JSON object
  2110. */
  2111. public toJSON(): { [k: string]: any };
  2112. }
  2113. /** Properties of a ContextualizedStats. */
  2114. export interface IContextualizedStats {
  2115. /** ContextualizedStats context */
  2116. context?: (IStatsContext|null);
  2117. /** ContextualizedStats queryLatencyStats */
  2118. queryLatencyStats?: (IQueryLatencyStats|null);
  2119. /** ContextualizedStats perTypeStat */
  2120. perTypeStat?: ({ [k: string]: ITypeStat }|null);
  2121. }
  2122. /** Represents a ContextualizedStats. */
  2123. export class ContextualizedStats implements IContextualizedStats {
  2124. /**
  2125. * Constructs a new ContextualizedStats.
  2126. * @param [properties] Properties to set
  2127. */
  2128. constructor(properties?: IContextualizedStats);
  2129. /** ContextualizedStats context. */
  2130. public context?: (IStatsContext|null);
  2131. /** ContextualizedStats queryLatencyStats. */
  2132. public queryLatencyStats?: (IQueryLatencyStats|null);
  2133. /** ContextualizedStats perTypeStat. */
  2134. public perTypeStat: { [k: string]: ITypeStat };
  2135. /**
  2136. * Creates a new ContextualizedStats instance using the specified properties.
  2137. * @param [properties] Properties to set
  2138. * @returns ContextualizedStats instance
  2139. */
  2140. public static create(properties?: IContextualizedStats): ContextualizedStats;
  2141. /**
  2142. * Encodes the specified ContextualizedStats message. Does not implicitly {@link ContextualizedStats.verify|verify} messages.
  2143. * @param message ContextualizedStats message or plain object to encode
  2144. * @param [writer] Writer to encode to
  2145. * @returns Writer
  2146. */
  2147. public static encode(message: IContextualizedStats, writer?: $protobuf.Writer): $protobuf.Writer;
  2148. /**
  2149. * Encodes the specified ContextualizedStats message, length delimited. Does not implicitly {@link ContextualizedStats.verify|verify} messages.
  2150. * @param message ContextualizedStats message or plain object to encode
  2151. * @param [writer] Writer to encode to
  2152. * @returns Writer
  2153. */
  2154. public static encodeDelimited(message: IContextualizedStats, writer?: $protobuf.Writer): $protobuf.Writer;
  2155. /**
  2156. * Decodes a ContextualizedStats 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 ContextualizedStats
  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): ContextualizedStats;
  2164. /**
  2165. * Decodes a ContextualizedStats message from the specified reader or buffer, length delimited.
  2166. * @param reader Reader or buffer to decode from
  2167. * @returns ContextualizedStats
  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)): ContextualizedStats;
  2172. /**
  2173. * Verifies a ContextualizedStats 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 ContextualizedStats message. Also converts values to other types if specified.
  2180. * @param message ContextualizedStats
  2181. * @param [options] Conversion options
  2182. * @returns Plain object
  2183. */
  2184. public static toObject(message: ContextualizedStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2185. /**
  2186. * Converts this ContextualizedStats to JSON.
  2187. * @returns JSON object
  2188. */
  2189. public toJSON(): { [k: string]: any };
  2190. }
  2191. /** Properties of a TracesAndStats. */
  2192. export interface ITracesAndStats {
  2193. /** TracesAndStats trace */
  2194. trace?: ((ITrace|Uint8Array)[]|null);
  2195. /** TracesAndStats statsWithContext */
  2196. statsWithContext?: ($protobuf.ToArray<IContextualizedStats>|IContextualizedStats[]|null);
  2197. /** TracesAndStats internalTracesContributingToStats */
  2198. internalTracesContributingToStats?: ((ITrace|Uint8Array)[]|null);
  2199. }
  2200. /** Represents a TracesAndStats. */
  2201. export class TracesAndStats implements ITracesAndStats {
  2202. /**
  2203. * Constructs a new TracesAndStats.
  2204. * @param [properties] Properties to set
  2205. */
  2206. constructor(properties?: ITracesAndStats);
  2207. /** TracesAndStats trace. */
  2208. public trace: (ITrace|Uint8Array)[];
  2209. /** TracesAndStats statsWithContext. */
  2210. public statsWithContext: IContextualizedStats[];
  2211. /** TracesAndStats internalTracesContributingToStats. */
  2212. public internalTracesContributingToStats: (ITrace|Uint8Array)[];
  2213. /**
  2214. * Creates a new TracesAndStats instance using the specified properties.
  2215. * @param [properties] Properties to set
  2216. * @returns TracesAndStats instance
  2217. */
  2218. public static create(properties?: ITracesAndStats): TracesAndStats;
  2219. /**
  2220. * Encodes the specified TracesAndStats message. Does not implicitly {@link TracesAndStats.verify|verify} messages.
  2221. * @param message TracesAndStats message or plain object to encode
  2222. * @param [writer] Writer to encode to
  2223. * @returns Writer
  2224. */
  2225. public static encode(message: ITracesAndStats, writer?: $protobuf.Writer): $protobuf.Writer;
  2226. /**
  2227. * Encodes the specified TracesAndStats message, length delimited. Does not implicitly {@link TracesAndStats.verify|verify} messages.
  2228. * @param message TracesAndStats message or plain object to encode
  2229. * @param [writer] Writer to encode to
  2230. * @returns Writer
  2231. */
  2232. public static encodeDelimited(message: ITracesAndStats, writer?: $protobuf.Writer): $protobuf.Writer;
  2233. /**
  2234. * Decodes a TracesAndStats message from the specified reader or buffer.
  2235. * @param reader Reader or buffer to decode from
  2236. * @param [length] Message length if known beforehand
  2237. * @returns TracesAndStats
  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 decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TracesAndStats;
  2242. /**
  2243. * Decodes a TracesAndStats message from the specified reader or buffer, length delimited.
  2244. * @param reader Reader or buffer to decode from
  2245. * @returns TracesAndStats
  2246. * @throws {Error} If the payload is not a reader or valid buffer
  2247. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2248. */
  2249. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): TracesAndStats;
  2250. /**
  2251. * Verifies a TracesAndStats message.
  2252. * @param message Plain object to verify
  2253. * @returns `null` if valid, otherwise the reason why it is not
  2254. */
  2255. public static verify(message: { [k: string]: any }): (string|null);
  2256. /**
  2257. * Creates a plain object from a TracesAndStats message. Also converts values to other types if specified.
  2258. * @param message TracesAndStats
  2259. * @param [options] Conversion options
  2260. * @returns Plain object
  2261. */
  2262. public static toObject(message: TracesAndStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2263. /**
  2264. * Converts this TracesAndStats to JSON.
  2265. * @returns JSON object
  2266. */
  2267. public toJSON(): { [k: string]: any };
  2268. }
  2269. /** Namespace google. */
  2270. export namespace google {
  2271. /** Namespace protobuf. */
  2272. namespace protobuf {
  2273. /** Properties of a Timestamp. */
  2274. interface ITimestamp {
  2275. /** Timestamp seconds */
  2276. seconds?: (number|null);
  2277. /** Timestamp nanos */
  2278. nanos?: (number|null);
  2279. }
  2280. /** Represents a Timestamp. */
  2281. class Timestamp implements ITimestamp {
  2282. /**
  2283. * Constructs a new Timestamp.
  2284. * @param [properties] Properties to set
  2285. */
  2286. constructor(properties?: google.protobuf.ITimestamp);
  2287. /** Timestamp seconds. */
  2288. public seconds: number;
  2289. /** Timestamp nanos. */
  2290. public nanos: number;
  2291. /**
  2292. * Creates a new Timestamp instance using the specified properties.
  2293. * @param [properties] Properties to set
  2294. * @returns Timestamp instance
  2295. */
  2296. public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp;
  2297. /**
  2298. * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
  2299. * @param message Timestamp message or plain object to encode
  2300. * @param [writer] Writer to encode to
  2301. * @returns Writer
  2302. */
  2303. public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
  2304. /**
  2305. * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
  2306. * @param message Timestamp message or plain object to encode
  2307. * @param [writer] Writer to encode to
  2308. * @returns Writer
  2309. */
  2310. public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
  2311. /**
  2312. * Decodes a Timestamp message from the specified reader or buffer.
  2313. * @param reader Reader or buffer to decode from
  2314. * @param [length] Message length if known beforehand
  2315. * @returns Timestamp
  2316. * @throws {Error} If the payload is not a reader or valid buffer
  2317. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2318. */
  2319. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp;
  2320. /**
  2321. * Decodes a Timestamp message from the specified reader or buffer, length delimited.
  2322. * @param reader Reader or buffer to decode from
  2323. * @returns Timestamp
  2324. * @throws {Error} If the payload is not a reader or valid buffer
  2325. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2326. */
  2327. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp;
  2328. /**
  2329. * Verifies a Timestamp message.
  2330. * @param message Plain object to verify
  2331. * @returns `null` if valid, otherwise the reason why it is not
  2332. */
  2333. public static verify(message: { [k: string]: any }): (string|null);
  2334. /**
  2335. * Creates a plain object from a Timestamp message. Also converts values to other types if specified.
  2336. * @param message Timestamp
  2337. * @param [options] Conversion options
  2338. * @returns Plain object
  2339. */
  2340. public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2341. /**
  2342. * Converts this Timestamp to JSON.
  2343. * @returns JSON object
  2344. */
  2345. public toJSON(): { [k: string]: any };
  2346. }
  2347. }
  2348. }