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