@datadog/pprof 1.1.1 → 2.0.0-pre-b7ce6e3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/out/src/cpu-profiler.d.ts +1 -1
  2. package/out/src/cpu-profiler.js +10 -5
  3. package/out/src/cpu-profiler.js.map +1 -1
  4. package/out/src/heap-profiler.d.ts +2 -2
  5. package/out/src/profile-encoder.d.ts +3 -3
  6. package/out/src/profile-encoder.js +2 -5
  7. package/out/src/profile-encoder.js.map +1 -1
  8. package/out/src/profile-serializer.d.ts +4 -4
  9. package/out/src/profile-serializer.js +42 -71
  10. package/out/src/profile-serializer.js.map +1 -1
  11. package/out/src/sourcemapper/sourcemapper.js +38 -3
  12. package/out/src/sourcemapper/sourcemapper.js.map +1 -1
  13. package/out/src/time-profiler.d.ts +2 -2
  14. package/out/src/v8-types.d.ts +5 -1
  15. package/package.json +3 -6
  16. package/prebuilds/darwin-arm64/node-102.node +0 -0
  17. package/prebuilds/darwin-arm64/node-108.node +0 -0
  18. package/prebuilds/darwin-arm64/node-111.node +0 -0
  19. package/prebuilds/darwin-arm64/node-72.node +0 -0
  20. package/prebuilds/darwin-arm64/node-79.node +0 -0
  21. package/prebuilds/darwin-arm64/node-83.node +0 -0
  22. package/prebuilds/darwin-arm64/node-88.node +0 -0
  23. package/prebuilds/darwin-arm64/node-93.node +0 -0
  24. package/prebuilds/darwin-x64/node-102.node +0 -0
  25. package/prebuilds/darwin-x64/node-108.node +0 -0
  26. package/prebuilds/darwin-x64/node-111.node +0 -0
  27. package/prebuilds/darwin-x64/node-72.node +0 -0
  28. package/prebuilds/darwin-x64/node-79.node +0 -0
  29. package/prebuilds/darwin-x64/node-83.node +0 -0
  30. package/prebuilds/darwin-x64/node-88.node +0 -0
  31. package/prebuilds/darwin-x64/node-93.node +0 -0
  32. package/prebuilds/linux-arm/node-102.node +0 -0
  33. package/prebuilds/linux-arm/node-108.node +0 -0
  34. package/prebuilds/linux-arm/node-111.node +0 -0
  35. package/prebuilds/linux-arm/node-72.node +0 -0
  36. package/prebuilds/linux-arm/node-79.node +0 -0
  37. package/prebuilds/linux-arm/node-83.node +0 -0
  38. package/prebuilds/linux-arm/node-88.node +0 -0
  39. package/prebuilds/linux-arm/node-93.node +0 -0
  40. package/prebuilds/linux-arm64/node-102.node +0 -0
  41. package/prebuilds/linux-arm64/node-108.node +0 -0
  42. package/prebuilds/linux-arm64/node-111.node +0 -0
  43. package/prebuilds/linux-arm64/node-72.node +0 -0
  44. package/prebuilds/linux-arm64/node-79.node +0 -0
  45. package/prebuilds/linux-arm64/node-83.node +0 -0
  46. package/prebuilds/linux-arm64/node-88.node +0 -0
  47. package/prebuilds/linux-arm64/node-93.node +0 -0
  48. package/prebuilds/linux-ia32/node-72.node +0 -0
  49. package/prebuilds/linux-ia32/node-79.node +0 -0
  50. package/prebuilds/linux-x64/node-102.node +0 -0
  51. package/prebuilds/linux-x64/node-108.node +0 -0
  52. package/prebuilds/linux-x64/node-111.node +0 -0
  53. package/prebuilds/linux-x64/node-72.node +0 -0
  54. package/prebuilds/linux-x64/node-79.node +0 -0
  55. package/prebuilds/linux-x64/node-83.node +0 -0
  56. package/prebuilds/linux-x64/node-88.node +0 -0
  57. package/prebuilds/linux-x64/node-93.node +0 -0
  58. package/prebuilds/linuxmusl-x64/node-102.node +0 -0
  59. package/prebuilds/linuxmusl-x64/node-108.node +0 -0
  60. package/prebuilds/linuxmusl-x64/node-111.node +0 -0
  61. package/prebuilds/linuxmusl-x64/node-72.node +0 -0
  62. package/prebuilds/linuxmusl-x64/node-79.node +0 -0
  63. package/prebuilds/linuxmusl-x64/node-83.node +0 -0
  64. package/prebuilds/linuxmusl-x64/node-88.node +0 -0
  65. package/prebuilds/linuxmusl-x64/node-93.node +0 -0
  66. package/prebuilds/win32-ia32/node-102.node +0 -0
  67. package/prebuilds/win32-ia32/node-72.node +0 -0
  68. package/prebuilds/win32-ia32/node-79.node +0 -0
  69. package/prebuilds/win32-ia32/node-83.node +0 -0
  70. package/prebuilds/win32-ia32/node-88.node +0 -0
  71. package/prebuilds/win32-ia32/node-93.node +0 -0
  72. package/prebuilds/win32-x64/node-102.node +0 -0
  73. package/prebuilds/win32-x64/node-108.node +0 -0
  74. package/prebuilds/win32-x64/node-111.node +0 -0
  75. package/prebuilds/win32-x64/node-72.node +0 -0
  76. package/prebuilds/win32-x64/node-79.node +0 -0
  77. package/prebuilds/win32-x64/node-83.node +0 -0
  78. package/prebuilds/win32-x64/node-88.node +0 -0
  79. package/prebuilds/win32-x64/node-93.node +0 -0
  80. package/out/third_party/cloud-debug-nodejs/src/agent/io/scanner.d.ts +0 -29
  81. package/out/third_party/cloud-debug-nodejs/src/agent/io/scanner.js +0 -214
  82. package/out/third_party/cloud-debug-nodejs/src/agent/io/scanner.js.map +0 -1
  83. package/proto/README.md +0 -3
  84. package/proto/profile.d.ts +0 -1001
  85. package/proto/profile.js +0 -3161
@@ -1,1001 +0,0 @@
1
- import * as $protobuf from "protobufjs";
2
- import Long = require("long");
3
- /** Namespace perftools. */
4
- export namespace perftools {
5
-
6
- /** Namespace profiles. */
7
- namespace profiles {
8
-
9
- /** Properties of a Profile. */
10
- interface IProfile {
11
-
12
- /** Profile sampleType */
13
- sampleType?: (perftools.profiles.IValueType[]|null);
14
-
15
- /** Profile sample */
16
- sample?: (perftools.profiles.ISample[]|null);
17
-
18
- /** Profile mapping */
19
- mapping?: (perftools.profiles.IMapping[]|null);
20
-
21
- /** Profile location */
22
- location?: (perftools.profiles.ILocation[]|null);
23
-
24
- /** Profile function */
25
- "function"?: (perftools.profiles.IFunction[]|null);
26
-
27
- /** Profile stringTable */
28
- stringTable?: (string[]|null);
29
-
30
- /** Profile dropFrames */
31
- dropFrames?: (number|Long|null);
32
-
33
- /** Profile keepFrames */
34
- keepFrames?: (number|Long|null);
35
-
36
- /** Profile timeNanos */
37
- timeNanos?: (number|Long|null);
38
-
39
- /** Profile durationNanos */
40
- durationNanos?: (number|Long|null);
41
-
42
- /** Profile periodType */
43
- periodType?: (perftools.profiles.IValueType|null);
44
-
45
- /** Profile period */
46
- period?: (number|Long|null);
47
-
48
- /** Profile comment */
49
- comment?: ((number|Long)[]|null);
50
-
51
- /** Profile defaultSampleType */
52
- defaultSampleType?: (number|Long|null);
53
- }
54
-
55
- /** Represents a Profile. */
56
- class Profile implements IProfile {
57
-
58
- /**
59
- * Constructs a new Profile.
60
- * @param [properties] Properties to set
61
- */
62
- constructor(properties?: perftools.profiles.IProfile);
63
-
64
- /** Profile sampleType. */
65
- public sampleType: perftools.profiles.IValueType[];
66
-
67
- /** Profile sample. */
68
- public sample: perftools.profiles.ISample[];
69
-
70
- /** Profile mapping. */
71
- public mapping: perftools.profiles.IMapping[];
72
-
73
- /** Profile location. */
74
- public location: perftools.profiles.ILocation[];
75
-
76
- /** Profile function. */
77
- public function: perftools.profiles.IFunction[];
78
-
79
- /** Profile stringTable. */
80
- public stringTable: string[];
81
-
82
- /** Profile dropFrames. */
83
- public dropFrames: (number|Long);
84
-
85
- /** Profile keepFrames. */
86
- public keepFrames: (number|Long);
87
-
88
- /** Profile timeNanos. */
89
- public timeNanos: (number|Long);
90
-
91
- /** Profile durationNanos. */
92
- public durationNanos: (number|Long);
93
-
94
- /** Profile periodType. */
95
- public periodType?: (perftools.profiles.IValueType|null);
96
-
97
- /** Profile period. */
98
- public period: (number|Long);
99
-
100
- /** Profile comment. */
101
- public comment: (number|Long)[];
102
-
103
- /** Profile defaultSampleType. */
104
- public defaultSampleType: (number|Long);
105
-
106
- /**
107
- * Creates a new Profile instance using the specified properties.
108
- * @param [properties] Properties to set
109
- * @returns Profile instance
110
- */
111
- public static create(properties?: perftools.profiles.IProfile): perftools.profiles.Profile;
112
-
113
- /**
114
- * Encodes the specified Profile message. Does not implicitly {@link perftools.profiles.Profile.verify|verify} messages.
115
- * @param message Profile message or plain object to encode
116
- * @param [writer] Writer to encode to
117
- * @returns Writer
118
- */
119
- public static encode(message: perftools.profiles.IProfile, writer?: $protobuf.Writer): $protobuf.Writer;
120
-
121
- /**
122
- * Encodes the specified Profile message, length delimited. Does not implicitly {@link perftools.profiles.Profile.verify|verify} messages.
123
- * @param message Profile message or plain object to encode
124
- * @param [writer] Writer to encode to
125
- * @returns Writer
126
- */
127
- public static encodeDelimited(message: perftools.profiles.IProfile, writer?: $protobuf.Writer): $protobuf.Writer;
128
-
129
- /**
130
- * Decodes a Profile message from the specified reader or buffer.
131
- * @param reader Reader or buffer to decode from
132
- * @param [length] Message length if known beforehand
133
- * @returns Profile
134
- * @throws {Error} If the payload is not a reader or valid buffer
135
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
136
- */
137
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): perftools.profiles.Profile;
138
-
139
- /**
140
- * Decodes a Profile message from the specified reader or buffer, length delimited.
141
- * @param reader Reader or buffer to decode from
142
- * @returns Profile
143
- * @throws {Error} If the payload is not a reader or valid buffer
144
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
145
- */
146
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): perftools.profiles.Profile;
147
-
148
- /**
149
- * Verifies a Profile message.
150
- * @param message Plain object to verify
151
- * @returns `null` if valid, otherwise the reason why it is not
152
- */
153
- public static verify(message: { [k: string]: any }): (string|null);
154
-
155
- /**
156
- * Creates a Profile message from a plain object. Also converts values to their respective internal types.
157
- * @param object Plain object
158
- * @returns Profile
159
- */
160
- public static fromObject(object: { [k: string]: any }): perftools.profiles.Profile;
161
-
162
- /**
163
- * Creates a plain object from a Profile message. Also converts values to other types if specified.
164
- * @param message Profile
165
- * @param [options] Conversion options
166
- * @returns Plain object
167
- */
168
- public static toObject(message: perftools.profiles.Profile, options?: $protobuf.IConversionOptions): { [k: string]: any };
169
-
170
- /**
171
- * Converts this Profile to JSON.
172
- * @returns JSON object
173
- */
174
- public toJSON(): { [k: string]: any };
175
-
176
- /**
177
- * Gets the default type url for Profile
178
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
179
- * @returns The default type url
180
- */
181
- public static getTypeUrl(typeUrlPrefix?: string): string;
182
- }
183
-
184
- /** Properties of a ValueType. */
185
- interface IValueType {
186
-
187
- /** ValueType type */
188
- type?: (number|Long|null);
189
-
190
- /** ValueType unit */
191
- unit?: (number|Long|null);
192
- }
193
-
194
- /** Represents a ValueType. */
195
- class ValueType implements IValueType {
196
-
197
- /**
198
- * Constructs a new ValueType.
199
- * @param [properties] Properties to set
200
- */
201
- constructor(properties?: perftools.profiles.IValueType);
202
-
203
- /** ValueType type. */
204
- public type: (number|Long);
205
-
206
- /** ValueType unit. */
207
- public unit: (number|Long);
208
-
209
- /**
210
- * Creates a new ValueType instance using the specified properties.
211
- * @param [properties] Properties to set
212
- * @returns ValueType instance
213
- */
214
- public static create(properties?: perftools.profiles.IValueType): perftools.profiles.ValueType;
215
-
216
- /**
217
- * Encodes the specified ValueType message. Does not implicitly {@link perftools.profiles.ValueType.verify|verify} messages.
218
- * @param message ValueType message or plain object to encode
219
- * @param [writer] Writer to encode to
220
- * @returns Writer
221
- */
222
- public static encode(message: perftools.profiles.IValueType, writer?: $protobuf.Writer): $protobuf.Writer;
223
-
224
- /**
225
- * Encodes the specified ValueType message, length delimited. Does not implicitly {@link perftools.profiles.ValueType.verify|verify} messages.
226
- * @param message ValueType message or plain object to encode
227
- * @param [writer] Writer to encode to
228
- * @returns Writer
229
- */
230
- public static encodeDelimited(message: perftools.profiles.IValueType, writer?: $protobuf.Writer): $protobuf.Writer;
231
-
232
- /**
233
- * Decodes a ValueType message from the specified reader or buffer.
234
- * @param reader Reader or buffer to decode from
235
- * @param [length] Message length if known beforehand
236
- * @returns ValueType
237
- * @throws {Error} If the payload is not a reader or valid buffer
238
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
239
- */
240
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): perftools.profiles.ValueType;
241
-
242
- /**
243
- * Decodes a ValueType message from the specified reader or buffer, length delimited.
244
- * @param reader Reader or buffer to decode from
245
- * @returns ValueType
246
- * @throws {Error} If the payload is not a reader or valid buffer
247
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
248
- */
249
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): perftools.profiles.ValueType;
250
-
251
- /**
252
- * Verifies a ValueType message.
253
- * @param message Plain object to verify
254
- * @returns `null` if valid, otherwise the reason why it is not
255
- */
256
- public static verify(message: { [k: string]: any }): (string|null);
257
-
258
- /**
259
- * Creates a ValueType message from a plain object. Also converts values to their respective internal types.
260
- * @param object Plain object
261
- * @returns ValueType
262
- */
263
- public static fromObject(object: { [k: string]: any }): perftools.profiles.ValueType;
264
-
265
- /**
266
- * Creates a plain object from a ValueType message. Also converts values to other types if specified.
267
- * @param message ValueType
268
- * @param [options] Conversion options
269
- * @returns Plain object
270
- */
271
- public static toObject(message: perftools.profiles.ValueType, options?: $protobuf.IConversionOptions): { [k: string]: any };
272
-
273
- /**
274
- * Converts this ValueType to JSON.
275
- * @returns JSON object
276
- */
277
- public toJSON(): { [k: string]: any };
278
-
279
- /**
280
- * Gets the default type url for ValueType
281
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
282
- * @returns The default type url
283
- */
284
- public static getTypeUrl(typeUrlPrefix?: string): string;
285
- }
286
-
287
- /** Properties of a Sample. */
288
- interface ISample {
289
-
290
- /** Sample locationId */
291
- locationId?: ((number|Long)[]|null);
292
-
293
- /** Sample value */
294
- value?: ((number|Long)[]|null);
295
-
296
- /** Sample label */
297
- label?: (perftools.profiles.ILabel[]|null);
298
- }
299
-
300
- /** Represents a Sample. */
301
- class Sample implements ISample {
302
-
303
- /**
304
- * Constructs a new Sample.
305
- * @param [properties] Properties to set
306
- */
307
- constructor(properties?: perftools.profiles.ISample);
308
-
309
- /** Sample locationId. */
310
- public locationId: (number|Long)[];
311
-
312
- /** Sample value. */
313
- public value: (number|Long)[];
314
-
315
- /** Sample label. */
316
- public label: perftools.profiles.ILabel[];
317
-
318
- /**
319
- * Creates a new Sample instance using the specified properties.
320
- * @param [properties] Properties to set
321
- * @returns Sample instance
322
- */
323
- public static create(properties?: perftools.profiles.ISample): perftools.profiles.Sample;
324
-
325
- /**
326
- * Encodes the specified Sample message. Does not implicitly {@link perftools.profiles.Sample.verify|verify} messages.
327
- * @param message Sample message or plain object to encode
328
- * @param [writer] Writer to encode to
329
- * @returns Writer
330
- */
331
- public static encode(message: perftools.profiles.ISample, writer?: $protobuf.Writer): $protobuf.Writer;
332
-
333
- /**
334
- * Encodes the specified Sample message, length delimited. Does not implicitly {@link perftools.profiles.Sample.verify|verify} messages.
335
- * @param message Sample message or plain object to encode
336
- * @param [writer] Writer to encode to
337
- * @returns Writer
338
- */
339
- public static encodeDelimited(message: perftools.profiles.ISample, writer?: $protobuf.Writer): $protobuf.Writer;
340
-
341
- /**
342
- * Decodes a Sample message from the specified reader or buffer.
343
- * @param reader Reader or buffer to decode from
344
- * @param [length] Message length if known beforehand
345
- * @returns Sample
346
- * @throws {Error} If the payload is not a reader or valid buffer
347
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
348
- */
349
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): perftools.profiles.Sample;
350
-
351
- /**
352
- * Decodes a Sample message from the specified reader or buffer, length delimited.
353
- * @param reader Reader or buffer to decode from
354
- * @returns Sample
355
- * @throws {Error} If the payload is not a reader or valid buffer
356
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
357
- */
358
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): perftools.profiles.Sample;
359
-
360
- /**
361
- * Verifies a Sample message.
362
- * @param message Plain object to verify
363
- * @returns `null` if valid, otherwise the reason why it is not
364
- */
365
- public static verify(message: { [k: string]: any }): (string|null);
366
-
367
- /**
368
- * Creates a Sample message from a plain object. Also converts values to their respective internal types.
369
- * @param object Plain object
370
- * @returns Sample
371
- */
372
- public static fromObject(object: { [k: string]: any }): perftools.profiles.Sample;
373
-
374
- /**
375
- * Creates a plain object from a Sample message. Also converts values to other types if specified.
376
- * @param message Sample
377
- * @param [options] Conversion options
378
- * @returns Plain object
379
- */
380
- public static toObject(message: perftools.profiles.Sample, options?: $protobuf.IConversionOptions): { [k: string]: any };
381
-
382
- /**
383
- * Converts this Sample to JSON.
384
- * @returns JSON object
385
- */
386
- public toJSON(): { [k: string]: any };
387
-
388
- /**
389
- * Gets the default type url for Sample
390
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
391
- * @returns The default type url
392
- */
393
- public static getTypeUrl(typeUrlPrefix?: string): string;
394
- }
395
-
396
- /** Properties of a Label. */
397
- interface ILabel {
398
-
399
- /** Label key */
400
- key?: (number|Long|null);
401
-
402
- /** Label str */
403
- str?: (number|Long|null);
404
-
405
- /** Label num */
406
- num?: (number|Long|null);
407
-
408
- /** Label numUnit */
409
- numUnit?: (number|Long|null);
410
- }
411
-
412
- /** Represents a Label. */
413
- class Label implements ILabel {
414
-
415
- /**
416
- * Constructs a new Label.
417
- * @param [properties] Properties to set
418
- */
419
- constructor(properties?: perftools.profiles.ILabel);
420
-
421
- /** Label key. */
422
- public key: (number|Long);
423
-
424
- /** Label str. */
425
- public str: (number|Long);
426
-
427
- /** Label num. */
428
- public num: (number|Long);
429
-
430
- /** Label numUnit. */
431
- public numUnit: (number|Long);
432
-
433
- /**
434
- * Creates a new Label instance using the specified properties.
435
- * @param [properties] Properties to set
436
- * @returns Label instance
437
- */
438
- public static create(properties?: perftools.profiles.ILabel): perftools.profiles.Label;
439
-
440
- /**
441
- * Encodes the specified Label message. Does not implicitly {@link perftools.profiles.Label.verify|verify} messages.
442
- * @param message Label message or plain object to encode
443
- * @param [writer] Writer to encode to
444
- * @returns Writer
445
- */
446
- public static encode(message: perftools.profiles.ILabel, writer?: $protobuf.Writer): $protobuf.Writer;
447
-
448
- /**
449
- * Encodes the specified Label message, length delimited. Does not implicitly {@link perftools.profiles.Label.verify|verify} messages.
450
- * @param message Label message or plain object to encode
451
- * @param [writer] Writer to encode to
452
- * @returns Writer
453
- */
454
- public static encodeDelimited(message: perftools.profiles.ILabel, writer?: $protobuf.Writer): $protobuf.Writer;
455
-
456
- /**
457
- * Decodes a Label message from the specified reader or buffer.
458
- * @param reader Reader or buffer to decode from
459
- * @param [length] Message length if known beforehand
460
- * @returns Label
461
- * @throws {Error} If the payload is not a reader or valid buffer
462
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
463
- */
464
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): perftools.profiles.Label;
465
-
466
- /**
467
- * Decodes a Label message from the specified reader or buffer, length delimited.
468
- * @param reader Reader or buffer to decode from
469
- * @returns Label
470
- * @throws {Error} If the payload is not a reader or valid buffer
471
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
472
- */
473
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): perftools.profiles.Label;
474
-
475
- /**
476
- * Verifies a Label message.
477
- * @param message Plain object to verify
478
- * @returns `null` if valid, otherwise the reason why it is not
479
- */
480
- public static verify(message: { [k: string]: any }): (string|null);
481
-
482
- /**
483
- * Creates a Label message from a plain object. Also converts values to their respective internal types.
484
- * @param object Plain object
485
- * @returns Label
486
- */
487
- public static fromObject(object: { [k: string]: any }): perftools.profiles.Label;
488
-
489
- /**
490
- * Creates a plain object from a Label message. Also converts values to other types if specified.
491
- * @param message Label
492
- * @param [options] Conversion options
493
- * @returns Plain object
494
- */
495
- public static toObject(message: perftools.profiles.Label, options?: $protobuf.IConversionOptions): { [k: string]: any };
496
-
497
- /**
498
- * Converts this Label to JSON.
499
- * @returns JSON object
500
- */
501
- public toJSON(): { [k: string]: any };
502
-
503
- /**
504
- * Gets the default type url for Label
505
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
506
- * @returns The default type url
507
- */
508
- public static getTypeUrl(typeUrlPrefix?: string): string;
509
- }
510
-
511
- /** Properties of a Mapping. */
512
- interface IMapping {
513
-
514
- /** Mapping id */
515
- id?: (number|Long|null);
516
-
517
- /** Mapping memoryStart */
518
- memoryStart?: (number|Long|null);
519
-
520
- /** Mapping memoryLimit */
521
- memoryLimit?: (number|Long|null);
522
-
523
- /** Mapping fileOffset */
524
- fileOffset?: (number|Long|null);
525
-
526
- /** Mapping filename */
527
- filename?: (number|Long|null);
528
-
529
- /** Mapping buildId */
530
- buildId?: (number|Long|null);
531
-
532
- /** Mapping hasFunctions */
533
- hasFunctions?: (boolean|null);
534
-
535
- /** Mapping hasFilenames */
536
- hasFilenames?: (boolean|null);
537
-
538
- /** Mapping hasLineNumbers */
539
- hasLineNumbers?: (boolean|null);
540
-
541
- /** Mapping hasInlineFrames */
542
- hasInlineFrames?: (boolean|null);
543
- }
544
-
545
- /** Represents a Mapping. */
546
- class Mapping implements IMapping {
547
-
548
- /**
549
- * Constructs a new Mapping.
550
- * @param [properties] Properties to set
551
- */
552
- constructor(properties?: perftools.profiles.IMapping);
553
-
554
- /** Mapping id. */
555
- public id: (number|Long);
556
-
557
- /** Mapping memoryStart. */
558
- public memoryStart: (number|Long);
559
-
560
- /** Mapping memoryLimit. */
561
- public memoryLimit: (number|Long);
562
-
563
- /** Mapping fileOffset. */
564
- public fileOffset: (number|Long);
565
-
566
- /** Mapping filename. */
567
- public filename: (number|Long);
568
-
569
- /** Mapping buildId. */
570
- public buildId: (number|Long);
571
-
572
- /** Mapping hasFunctions. */
573
- public hasFunctions: boolean;
574
-
575
- /** Mapping hasFilenames. */
576
- public hasFilenames: boolean;
577
-
578
- /** Mapping hasLineNumbers. */
579
- public hasLineNumbers: boolean;
580
-
581
- /** Mapping hasInlineFrames. */
582
- public hasInlineFrames: boolean;
583
-
584
- /**
585
- * Creates a new Mapping instance using the specified properties.
586
- * @param [properties] Properties to set
587
- * @returns Mapping instance
588
- */
589
- public static create(properties?: perftools.profiles.IMapping): perftools.profiles.Mapping;
590
-
591
- /**
592
- * Encodes the specified Mapping message. Does not implicitly {@link perftools.profiles.Mapping.verify|verify} messages.
593
- * @param message Mapping message or plain object to encode
594
- * @param [writer] Writer to encode to
595
- * @returns Writer
596
- */
597
- public static encode(message: perftools.profiles.IMapping, writer?: $protobuf.Writer): $protobuf.Writer;
598
-
599
- /**
600
- * Encodes the specified Mapping message, length delimited. Does not implicitly {@link perftools.profiles.Mapping.verify|verify} messages.
601
- * @param message Mapping message or plain object to encode
602
- * @param [writer] Writer to encode to
603
- * @returns Writer
604
- */
605
- public static encodeDelimited(message: perftools.profiles.IMapping, writer?: $protobuf.Writer): $protobuf.Writer;
606
-
607
- /**
608
- * Decodes a Mapping message from the specified reader or buffer.
609
- * @param reader Reader or buffer to decode from
610
- * @param [length] Message length if known beforehand
611
- * @returns Mapping
612
- * @throws {Error} If the payload is not a reader or valid buffer
613
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
614
- */
615
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): perftools.profiles.Mapping;
616
-
617
- /**
618
- * Decodes a Mapping message from the specified reader or buffer, length delimited.
619
- * @param reader Reader or buffer to decode from
620
- * @returns Mapping
621
- * @throws {Error} If the payload is not a reader or valid buffer
622
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
623
- */
624
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): perftools.profiles.Mapping;
625
-
626
- /**
627
- * Verifies a Mapping message.
628
- * @param message Plain object to verify
629
- * @returns `null` if valid, otherwise the reason why it is not
630
- */
631
- public static verify(message: { [k: string]: any }): (string|null);
632
-
633
- /**
634
- * Creates a Mapping message from a plain object. Also converts values to their respective internal types.
635
- * @param object Plain object
636
- * @returns Mapping
637
- */
638
- public static fromObject(object: { [k: string]: any }): perftools.profiles.Mapping;
639
-
640
- /**
641
- * Creates a plain object from a Mapping message. Also converts values to other types if specified.
642
- * @param message Mapping
643
- * @param [options] Conversion options
644
- * @returns Plain object
645
- */
646
- public static toObject(message: perftools.profiles.Mapping, options?: $protobuf.IConversionOptions): { [k: string]: any };
647
-
648
- /**
649
- * Converts this Mapping to JSON.
650
- * @returns JSON object
651
- */
652
- public toJSON(): { [k: string]: any };
653
-
654
- /**
655
- * Gets the default type url for Mapping
656
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
657
- * @returns The default type url
658
- */
659
- public static getTypeUrl(typeUrlPrefix?: string): string;
660
- }
661
-
662
- /** Properties of a Location. */
663
- interface ILocation {
664
-
665
- /** Location id */
666
- id?: (number|Long|null);
667
-
668
- /** Location mappingId */
669
- mappingId?: (number|Long|null);
670
-
671
- /** Location address */
672
- address?: (number|Long|null);
673
-
674
- /** Location line */
675
- line?: (perftools.profiles.ILine[]|null);
676
- }
677
-
678
- /** Represents a Location. */
679
- class Location implements ILocation {
680
-
681
- /**
682
- * Constructs a new Location.
683
- * @param [properties] Properties to set
684
- */
685
- constructor(properties?: perftools.profiles.ILocation);
686
-
687
- /** Location id. */
688
- public id: (number|Long);
689
-
690
- /** Location mappingId. */
691
- public mappingId: (number|Long);
692
-
693
- /** Location address. */
694
- public address: (number|Long);
695
-
696
- /** Location line. */
697
- public line: perftools.profiles.ILine[];
698
-
699
- /**
700
- * Creates a new Location instance using the specified properties.
701
- * @param [properties] Properties to set
702
- * @returns Location instance
703
- */
704
- public static create(properties?: perftools.profiles.ILocation): perftools.profiles.Location;
705
-
706
- /**
707
- * Encodes the specified Location message. Does not implicitly {@link perftools.profiles.Location.verify|verify} messages.
708
- * @param message Location message or plain object to encode
709
- * @param [writer] Writer to encode to
710
- * @returns Writer
711
- */
712
- public static encode(message: perftools.profiles.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
713
-
714
- /**
715
- * Encodes the specified Location message, length delimited. Does not implicitly {@link perftools.profiles.Location.verify|verify} messages.
716
- * @param message Location message or plain object to encode
717
- * @param [writer] Writer to encode to
718
- * @returns Writer
719
- */
720
- public static encodeDelimited(message: perftools.profiles.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
721
-
722
- /**
723
- * Decodes a Location message from the specified reader or buffer.
724
- * @param reader Reader or buffer to decode from
725
- * @param [length] Message length if known beforehand
726
- * @returns Location
727
- * @throws {Error} If the payload is not a reader or valid buffer
728
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
729
- */
730
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): perftools.profiles.Location;
731
-
732
- /**
733
- * Decodes a Location message from the specified reader or buffer, length delimited.
734
- * @param reader Reader or buffer to decode from
735
- * @returns Location
736
- * @throws {Error} If the payload is not a reader or valid buffer
737
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
738
- */
739
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): perftools.profiles.Location;
740
-
741
- /**
742
- * Verifies a Location message.
743
- * @param message Plain object to verify
744
- * @returns `null` if valid, otherwise the reason why it is not
745
- */
746
- public static verify(message: { [k: string]: any }): (string|null);
747
-
748
- /**
749
- * Creates a Location message from a plain object. Also converts values to their respective internal types.
750
- * @param object Plain object
751
- * @returns Location
752
- */
753
- public static fromObject(object: { [k: string]: any }): perftools.profiles.Location;
754
-
755
- /**
756
- * Creates a plain object from a Location message. Also converts values to other types if specified.
757
- * @param message Location
758
- * @param [options] Conversion options
759
- * @returns Plain object
760
- */
761
- public static toObject(message: perftools.profiles.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
762
-
763
- /**
764
- * Converts this Location to JSON.
765
- * @returns JSON object
766
- */
767
- public toJSON(): { [k: string]: any };
768
-
769
- /**
770
- * Gets the default type url for Location
771
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
772
- * @returns The default type url
773
- */
774
- public static getTypeUrl(typeUrlPrefix?: string): string;
775
- }
776
-
777
- /** Properties of a Line. */
778
- interface ILine {
779
-
780
- /** Line functionId */
781
- functionId?: (number|Long|null);
782
-
783
- /** Line line */
784
- line?: (number|Long|null);
785
- }
786
-
787
- /** Represents a Line. */
788
- class Line implements ILine {
789
-
790
- /**
791
- * Constructs a new Line.
792
- * @param [properties] Properties to set
793
- */
794
- constructor(properties?: perftools.profiles.ILine);
795
-
796
- /** Line functionId. */
797
- public functionId: (number|Long);
798
-
799
- /** Line line. */
800
- public line: (number|Long);
801
-
802
- /**
803
- * Creates a new Line instance using the specified properties.
804
- * @param [properties] Properties to set
805
- * @returns Line instance
806
- */
807
- public static create(properties?: perftools.profiles.ILine): perftools.profiles.Line;
808
-
809
- /**
810
- * Encodes the specified Line message. Does not implicitly {@link perftools.profiles.Line.verify|verify} messages.
811
- * @param message Line message or plain object to encode
812
- * @param [writer] Writer to encode to
813
- * @returns Writer
814
- */
815
- public static encode(message: perftools.profiles.ILine, writer?: $protobuf.Writer): $protobuf.Writer;
816
-
817
- /**
818
- * Encodes the specified Line message, length delimited. Does not implicitly {@link perftools.profiles.Line.verify|verify} messages.
819
- * @param message Line message or plain object to encode
820
- * @param [writer] Writer to encode to
821
- * @returns Writer
822
- */
823
- public static encodeDelimited(message: perftools.profiles.ILine, writer?: $protobuf.Writer): $protobuf.Writer;
824
-
825
- /**
826
- * Decodes a Line message from the specified reader or buffer.
827
- * @param reader Reader or buffer to decode from
828
- * @param [length] Message length if known beforehand
829
- * @returns Line
830
- * @throws {Error} If the payload is not a reader or valid buffer
831
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
832
- */
833
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): perftools.profiles.Line;
834
-
835
- /**
836
- * Decodes a Line message from the specified reader or buffer, length delimited.
837
- * @param reader Reader or buffer to decode from
838
- * @returns Line
839
- * @throws {Error} If the payload is not a reader or valid buffer
840
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
841
- */
842
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): perftools.profiles.Line;
843
-
844
- /**
845
- * Verifies a Line message.
846
- * @param message Plain object to verify
847
- * @returns `null` if valid, otherwise the reason why it is not
848
- */
849
- public static verify(message: { [k: string]: any }): (string|null);
850
-
851
- /**
852
- * Creates a Line message from a plain object. Also converts values to their respective internal types.
853
- * @param object Plain object
854
- * @returns Line
855
- */
856
- public static fromObject(object: { [k: string]: any }): perftools.profiles.Line;
857
-
858
- /**
859
- * Creates a plain object from a Line message. Also converts values to other types if specified.
860
- * @param message Line
861
- * @param [options] Conversion options
862
- * @returns Plain object
863
- */
864
- public static toObject(message: perftools.profiles.Line, options?: $protobuf.IConversionOptions): { [k: string]: any };
865
-
866
- /**
867
- * Converts this Line to JSON.
868
- * @returns JSON object
869
- */
870
- public toJSON(): { [k: string]: any };
871
-
872
- /**
873
- * Gets the default type url for Line
874
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
875
- * @returns The default type url
876
- */
877
- public static getTypeUrl(typeUrlPrefix?: string): string;
878
- }
879
-
880
- /** Properties of a Function. */
881
- interface IFunction {
882
-
883
- /** Function id */
884
- id?: (number|Long|null);
885
-
886
- /** Function name */
887
- name?: (number|Long|null);
888
-
889
- /** Function systemName */
890
- systemName?: (number|Long|null);
891
-
892
- /** Function filename */
893
- filename?: (number|Long|null);
894
-
895
- /** Function startLine */
896
- startLine?: (number|Long|null);
897
- }
898
-
899
- /** Represents a Function. */
900
- class Function implements IFunction {
901
-
902
- /**
903
- * Constructs a new Function.
904
- * @param [properties] Properties to set
905
- */
906
- constructor(properties?: perftools.profiles.IFunction);
907
-
908
- /** Function id. */
909
- public id: (number|Long);
910
-
911
- /** Function name. */
912
- public name: (number|Long);
913
-
914
- /** Function systemName. */
915
- public systemName: (number|Long);
916
-
917
- /** Function filename. */
918
- public filename: (number|Long);
919
-
920
- /** Function startLine. */
921
- public startLine: (number|Long);
922
-
923
- /**
924
- * Creates a new Function instance using the specified properties.
925
- * @param [properties] Properties to set
926
- * @returns Function instance
927
- */
928
- public static create(properties?: perftools.profiles.IFunction): perftools.profiles.Function;
929
-
930
- /**
931
- * Encodes the specified Function message. Does not implicitly {@link perftools.profiles.Function.verify|verify} messages.
932
- * @param message Function message or plain object to encode
933
- * @param [writer] Writer to encode to
934
- * @returns Writer
935
- */
936
- public static encode(message: perftools.profiles.IFunction, writer?: $protobuf.Writer): $protobuf.Writer;
937
-
938
- /**
939
- * Encodes the specified Function message, length delimited. Does not implicitly {@link perftools.profiles.Function.verify|verify} messages.
940
- * @param message Function message or plain object to encode
941
- * @param [writer] Writer to encode to
942
- * @returns Writer
943
- */
944
- public static encodeDelimited(message: perftools.profiles.IFunction, writer?: $protobuf.Writer): $protobuf.Writer;
945
-
946
- /**
947
- * Decodes a Function message from the specified reader or buffer.
948
- * @param reader Reader or buffer to decode from
949
- * @param [length] Message length if known beforehand
950
- * @returns Function
951
- * @throws {Error} If the payload is not a reader or valid buffer
952
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
953
- */
954
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): perftools.profiles.Function;
955
-
956
- /**
957
- * Decodes a Function message from the specified reader or buffer, length delimited.
958
- * @param reader Reader or buffer to decode from
959
- * @returns Function
960
- * @throws {Error} If the payload is not a reader or valid buffer
961
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
962
- */
963
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): perftools.profiles.Function;
964
-
965
- /**
966
- * Verifies a Function message.
967
- * @param message Plain object to verify
968
- * @returns `null` if valid, otherwise the reason why it is not
969
- */
970
- public static verify(message: { [k: string]: any }): (string|null);
971
-
972
- /**
973
- * Creates a Function message from a plain object. Also converts values to their respective internal types.
974
- * @param object Plain object
975
- * @returns Function
976
- */
977
- public static fromObject(object: { [k: string]: any }): perftools.profiles.Function;
978
-
979
- /**
980
- * Creates a plain object from a Function message. Also converts values to other types if specified.
981
- * @param message Function
982
- * @param [options] Conversion options
983
- * @returns Plain object
984
- */
985
- public static toObject(message: perftools.profiles.Function, options?: $protobuf.IConversionOptions): { [k: string]: any };
986
-
987
- /**
988
- * Converts this Function to JSON.
989
- * @returns JSON object
990
- */
991
- public toJSON(): { [k: string]: any };
992
-
993
- /**
994
- * Gets the default type url for Function
995
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
996
- * @returns The default type url
997
- */
998
- public static getTypeUrl(typeUrlPrefix?: string): string;
999
- }
1000
- }
1001
- }