@google-cloud/profiler 5.0.0 → 5.0.1

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.
@@ -0,0 +1,945 @@
1
+ import * as $protobuf from "protobufjs";
2
+
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[];
14
+
15
+ /** Profile sample */
16
+ sample?: perftools.profiles.ISample[];
17
+
18
+ /** Profile mapping */
19
+ mapping?: perftools.profiles.IMapping[];
20
+
21
+ /** Profile location */
22
+ location?: perftools.profiles.ILocation[];
23
+
24
+ /** Profile function */
25
+ "function"?: perftools.profiles.IFunction[];
26
+
27
+ /** Profile stringTable */
28
+ stringTable?: string[];
29
+
30
+ /** Profile dropFrames */
31
+ dropFrames?: (number|Long);
32
+
33
+ /** Profile keepFrames */
34
+ keepFrames?: (number|Long);
35
+
36
+ /** Profile timeNanos */
37
+ timeNanos?: (number|Long);
38
+
39
+ /** Profile durationNanos */
40
+ durationNanos?: (number|Long);
41
+
42
+ /** Profile periodType */
43
+ periodType?: perftools.profiles.IValueType;
44
+
45
+ /** Profile period */
46
+ period?: (number|Long);
47
+
48
+ /** Profile comment */
49
+ comment?: (number|Long)[];
50
+
51
+ /** Profile defaultSampleType */
52
+ defaultSampleType?: (number|Long);
53
+ }
54
+
55
+ /** Represents a Profile. */
56
+ class Profile {
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
+ /** Properties of a ValueType. */
178
+ interface IValueType {
179
+
180
+ /** ValueType type */
181
+ type?: (number|Long);
182
+
183
+ /** ValueType unit */
184
+ unit?: (number|Long);
185
+ }
186
+
187
+ /** Represents a ValueType. */
188
+ class ValueType {
189
+
190
+ /**
191
+ * Constructs a new ValueType.
192
+ * @param [properties] Properties to set
193
+ */
194
+ constructor(properties?: perftools.profiles.IValueType);
195
+
196
+ /** ValueType type. */
197
+ public type: (number|Long);
198
+
199
+ /** ValueType unit. */
200
+ public unit: (number|Long);
201
+
202
+ /**
203
+ * Creates a new ValueType instance using the specified properties.
204
+ * @param [properties] Properties to set
205
+ * @returns ValueType instance
206
+ */
207
+ public static create(properties?: perftools.profiles.IValueType): perftools.profiles.ValueType;
208
+
209
+ /**
210
+ * Encodes the specified ValueType message. Does not implicitly {@link perftools.profiles.ValueType.verify|verify} messages.
211
+ * @param message ValueType message or plain object to encode
212
+ * @param [writer] Writer to encode to
213
+ * @returns Writer
214
+ */
215
+ public static encode(message: perftools.profiles.IValueType, writer?: $protobuf.Writer): $protobuf.Writer;
216
+
217
+ /**
218
+ * Encodes the specified ValueType message, length delimited. Does not implicitly {@link perftools.profiles.ValueType.verify|verify} messages.
219
+ * @param message ValueType message or plain object to encode
220
+ * @param [writer] Writer to encode to
221
+ * @returns Writer
222
+ */
223
+ public static encodeDelimited(message: perftools.profiles.IValueType, writer?: $protobuf.Writer): $protobuf.Writer;
224
+
225
+ /**
226
+ * Decodes a ValueType message from the specified reader or buffer.
227
+ * @param reader Reader or buffer to decode from
228
+ * @param [length] Message length if known beforehand
229
+ * @returns ValueType
230
+ * @throws {Error} If the payload is not a reader or valid buffer
231
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
232
+ */
233
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): perftools.profiles.ValueType;
234
+
235
+ /**
236
+ * Decodes a ValueType message from the specified reader or buffer, length delimited.
237
+ * @param reader Reader or buffer to decode from
238
+ * @returns ValueType
239
+ * @throws {Error} If the payload is not a reader or valid buffer
240
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
241
+ */
242
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): perftools.profiles.ValueType;
243
+
244
+ /**
245
+ * Verifies a ValueType message.
246
+ * @param message Plain object to verify
247
+ * @returns `null` if valid, otherwise the reason why it is not
248
+ */
249
+ public static verify(message: { [k: string]: any }): (string|null);
250
+
251
+ /**
252
+ * Creates a ValueType message from a plain object. Also converts values to their respective internal types.
253
+ * @param object Plain object
254
+ * @returns ValueType
255
+ */
256
+ public static fromObject(object: { [k: string]: any }): perftools.profiles.ValueType;
257
+
258
+ /**
259
+ * Creates a plain object from a ValueType message. Also converts values to other types if specified.
260
+ * @param message ValueType
261
+ * @param [options] Conversion options
262
+ * @returns Plain object
263
+ */
264
+ public static toObject(message: perftools.profiles.ValueType, options?: $protobuf.IConversionOptions): { [k: string]: any };
265
+
266
+ /**
267
+ * Converts this ValueType to JSON.
268
+ * @returns JSON object
269
+ */
270
+ public toJSON(): { [k: string]: any };
271
+ }
272
+
273
+ /** Properties of a Sample. */
274
+ interface ISample {
275
+
276
+ /** Sample locationId */
277
+ locationId?: (number|Long)[];
278
+
279
+ /** Sample value */
280
+ value?: (number|Long)[];
281
+
282
+ /** Sample label */
283
+ label?: perftools.profiles.ILabel[];
284
+ }
285
+
286
+ /** Represents a Sample. */
287
+ class Sample {
288
+
289
+ /**
290
+ * Constructs a new Sample.
291
+ * @param [properties] Properties to set
292
+ */
293
+ constructor(properties?: perftools.profiles.ISample);
294
+
295
+ /** Sample locationId. */
296
+ public locationId: (number|Long)[];
297
+
298
+ /** Sample value. */
299
+ public value: (number|Long)[];
300
+
301
+ /** Sample label. */
302
+ public label: perftools.profiles.ILabel[];
303
+
304
+ /**
305
+ * Creates a new Sample instance using the specified properties.
306
+ * @param [properties] Properties to set
307
+ * @returns Sample instance
308
+ */
309
+ public static create(properties?: perftools.profiles.ISample): perftools.profiles.Sample;
310
+
311
+ /**
312
+ * Encodes the specified Sample message. Does not implicitly {@link perftools.profiles.Sample.verify|verify} messages.
313
+ * @param message Sample message or plain object to encode
314
+ * @param [writer] Writer to encode to
315
+ * @returns Writer
316
+ */
317
+ public static encode(message: perftools.profiles.ISample, writer?: $protobuf.Writer): $protobuf.Writer;
318
+
319
+ /**
320
+ * Encodes the specified Sample message, length delimited. Does not implicitly {@link perftools.profiles.Sample.verify|verify} messages.
321
+ * @param message Sample message or plain object to encode
322
+ * @param [writer] Writer to encode to
323
+ * @returns Writer
324
+ */
325
+ public static encodeDelimited(message: perftools.profiles.ISample, writer?: $protobuf.Writer): $protobuf.Writer;
326
+
327
+ /**
328
+ * Decodes a Sample message from the specified reader or buffer.
329
+ * @param reader Reader or buffer to decode from
330
+ * @param [length] Message length if known beforehand
331
+ * @returns Sample
332
+ * @throws {Error} If the payload is not a reader or valid buffer
333
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
334
+ */
335
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): perftools.profiles.Sample;
336
+
337
+ /**
338
+ * Decodes a Sample message from the specified reader or buffer, length delimited.
339
+ * @param reader Reader or buffer to decode from
340
+ * @returns Sample
341
+ * @throws {Error} If the payload is not a reader or valid buffer
342
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
343
+ */
344
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): perftools.profiles.Sample;
345
+
346
+ /**
347
+ * Verifies a Sample message.
348
+ * @param message Plain object to verify
349
+ * @returns `null` if valid, otherwise the reason why it is not
350
+ */
351
+ public static verify(message: { [k: string]: any }): (string|null);
352
+
353
+ /**
354
+ * Creates a Sample message from a plain object. Also converts values to their respective internal types.
355
+ * @param object Plain object
356
+ * @returns Sample
357
+ */
358
+ public static fromObject(object: { [k: string]: any }): perftools.profiles.Sample;
359
+
360
+ /**
361
+ * Creates a plain object from a Sample message. Also converts values to other types if specified.
362
+ * @param message Sample
363
+ * @param [options] Conversion options
364
+ * @returns Plain object
365
+ */
366
+ public static toObject(message: perftools.profiles.Sample, options?: $protobuf.IConversionOptions): { [k: string]: any };
367
+
368
+ /**
369
+ * Converts this Sample to JSON.
370
+ * @returns JSON object
371
+ */
372
+ public toJSON(): { [k: string]: any };
373
+ }
374
+
375
+ /** Properties of a Label. */
376
+ interface ILabel {
377
+
378
+ /** Label key */
379
+ key?: (number|Long);
380
+
381
+ /** Label str */
382
+ str?: (number|Long);
383
+
384
+ /** Label num */
385
+ num?: (number|Long);
386
+
387
+ /** Label numUnit */
388
+ numUnit?: (number|Long);
389
+ }
390
+
391
+ /** Represents a Label. */
392
+ class Label {
393
+
394
+ /**
395
+ * Constructs a new Label.
396
+ * @param [properties] Properties to set
397
+ */
398
+ constructor(properties?: perftools.profiles.ILabel);
399
+
400
+ /** Label key. */
401
+ public key: (number|Long);
402
+
403
+ /** Label str. */
404
+ public str: (number|Long);
405
+
406
+ /** Label num. */
407
+ public num: (number|Long);
408
+
409
+ /** Label numUnit. */
410
+ public numUnit: (number|Long);
411
+
412
+ /**
413
+ * Creates a new Label instance using the specified properties.
414
+ * @param [properties] Properties to set
415
+ * @returns Label instance
416
+ */
417
+ public static create(properties?: perftools.profiles.ILabel): perftools.profiles.Label;
418
+
419
+ /**
420
+ * Encodes the specified Label message. Does not implicitly {@link perftools.profiles.Label.verify|verify} messages.
421
+ * @param message Label message or plain object to encode
422
+ * @param [writer] Writer to encode to
423
+ * @returns Writer
424
+ */
425
+ public static encode(message: perftools.profiles.ILabel, writer?: $protobuf.Writer): $protobuf.Writer;
426
+
427
+ /**
428
+ * Encodes the specified Label message, length delimited. Does not implicitly {@link perftools.profiles.Label.verify|verify} messages.
429
+ * @param message Label message or plain object to encode
430
+ * @param [writer] Writer to encode to
431
+ * @returns Writer
432
+ */
433
+ public static encodeDelimited(message: perftools.profiles.ILabel, writer?: $protobuf.Writer): $protobuf.Writer;
434
+
435
+ /**
436
+ * Decodes a Label message from the specified reader or buffer.
437
+ * @param reader Reader or buffer to decode from
438
+ * @param [length] Message length if known beforehand
439
+ * @returns Label
440
+ * @throws {Error} If the payload is not a reader or valid buffer
441
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
442
+ */
443
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): perftools.profiles.Label;
444
+
445
+ /**
446
+ * Decodes a Label message from the specified reader or buffer, length delimited.
447
+ * @param reader Reader or buffer to decode from
448
+ * @returns Label
449
+ * @throws {Error} If the payload is not a reader or valid buffer
450
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
451
+ */
452
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): perftools.profiles.Label;
453
+
454
+ /**
455
+ * Verifies a Label message.
456
+ * @param message Plain object to verify
457
+ * @returns `null` if valid, otherwise the reason why it is not
458
+ */
459
+ public static verify(message: { [k: string]: any }): (string|null);
460
+
461
+ /**
462
+ * Creates a Label message from a plain object. Also converts values to their respective internal types.
463
+ * @param object Plain object
464
+ * @returns Label
465
+ */
466
+ public static fromObject(object: { [k: string]: any }): perftools.profiles.Label;
467
+
468
+ /**
469
+ * Creates a plain object from a Label message. Also converts values to other types if specified.
470
+ * @param message Label
471
+ * @param [options] Conversion options
472
+ * @returns Plain object
473
+ */
474
+ public static toObject(message: perftools.profiles.Label, options?: $protobuf.IConversionOptions): { [k: string]: any };
475
+
476
+ /**
477
+ * Converts this Label to JSON.
478
+ * @returns JSON object
479
+ */
480
+ public toJSON(): { [k: string]: any };
481
+ }
482
+
483
+ /** Properties of a Mapping. */
484
+ interface IMapping {
485
+
486
+ /** Mapping id */
487
+ id?: (number|Long);
488
+
489
+ /** Mapping memoryStart */
490
+ memoryStart?: (number|Long);
491
+
492
+ /** Mapping memoryLimit */
493
+ memoryLimit?: (number|Long);
494
+
495
+ /** Mapping fileOffset */
496
+ fileOffset?: (number|Long);
497
+
498
+ /** Mapping filename */
499
+ filename?: (number|Long);
500
+
501
+ /** Mapping buildId */
502
+ buildId?: (number|Long);
503
+
504
+ /** Mapping hasFunctions */
505
+ hasFunctions?: boolean;
506
+
507
+ /** Mapping hasFilenames */
508
+ hasFilenames?: boolean;
509
+
510
+ /** Mapping hasLineNumbers */
511
+ hasLineNumbers?: boolean;
512
+
513
+ /** Mapping hasInlineFrames */
514
+ hasInlineFrames?: boolean;
515
+ }
516
+
517
+ /** Represents a Mapping. */
518
+ class Mapping {
519
+
520
+ /**
521
+ * Constructs a new Mapping.
522
+ * @param [properties] Properties to set
523
+ */
524
+ constructor(properties?: perftools.profiles.IMapping);
525
+
526
+ /** Mapping id. */
527
+ public id: (number|Long);
528
+
529
+ /** Mapping memoryStart. */
530
+ public memoryStart: (number|Long);
531
+
532
+ /** Mapping memoryLimit. */
533
+ public memoryLimit: (number|Long);
534
+
535
+ /** Mapping fileOffset. */
536
+ public fileOffset: (number|Long);
537
+
538
+ /** Mapping filename. */
539
+ public filename: (number|Long);
540
+
541
+ /** Mapping buildId. */
542
+ public buildId: (number|Long);
543
+
544
+ /** Mapping hasFunctions. */
545
+ public hasFunctions: boolean;
546
+
547
+ /** Mapping hasFilenames. */
548
+ public hasFilenames: boolean;
549
+
550
+ /** Mapping hasLineNumbers. */
551
+ public hasLineNumbers: boolean;
552
+
553
+ /** Mapping hasInlineFrames. */
554
+ public hasInlineFrames: boolean;
555
+
556
+ /**
557
+ * Creates a new Mapping instance using the specified properties.
558
+ * @param [properties] Properties to set
559
+ * @returns Mapping instance
560
+ */
561
+ public static create(properties?: perftools.profiles.IMapping): perftools.profiles.Mapping;
562
+
563
+ /**
564
+ * Encodes the specified Mapping message. Does not implicitly {@link perftools.profiles.Mapping.verify|verify} messages.
565
+ * @param message Mapping message or plain object to encode
566
+ * @param [writer] Writer to encode to
567
+ * @returns Writer
568
+ */
569
+ public static encode(message: perftools.profiles.IMapping, writer?: $protobuf.Writer): $protobuf.Writer;
570
+
571
+ /**
572
+ * Encodes the specified Mapping message, length delimited. Does not implicitly {@link perftools.profiles.Mapping.verify|verify} messages.
573
+ * @param message Mapping message or plain object to encode
574
+ * @param [writer] Writer to encode to
575
+ * @returns Writer
576
+ */
577
+ public static encodeDelimited(message: perftools.profiles.IMapping, writer?: $protobuf.Writer): $protobuf.Writer;
578
+
579
+ /**
580
+ * Decodes a Mapping message from the specified reader or buffer.
581
+ * @param reader Reader or buffer to decode from
582
+ * @param [length] Message length if known beforehand
583
+ * @returns Mapping
584
+ * @throws {Error} If the payload is not a reader or valid buffer
585
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
586
+ */
587
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): perftools.profiles.Mapping;
588
+
589
+ /**
590
+ * Decodes a Mapping message from the specified reader or buffer, length delimited.
591
+ * @param reader Reader or buffer to decode from
592
+ * @returns Mapping
593
+ * @throws {Error} If the payload is not a reader or valid buffer
594
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
595
+ */
596
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): perftools.profiles.Mapping;
597
+
598
+ /**
599
+ * Verifies a Mapping message.
600
+ * @param message Plain object to verify
601
+ * @returns `null` if valid, otherwise the reason why it is not
602
+ */
603
+ public static verify(message: { [k: string]: any }): (string|null);
604
+
605
+ /**
606
+ * Creates a Mapping message from a plain object. Also converts values to their respective internal types.
607
+ * @param object Plain object
608
+ * @returns Mapping
609
+ */
610
+ public static fromObject(object: { [k: string]: any }): perftools.profiles.Mapping;
611
+
612
+ /**
613
+ * Creates a plain object from a Mapping message. Also converts values to other types if specified.
614
+ * @param message Mapping
615
+ * @param [options] Conversion options
616
+ * @returns Plain object
617
+ */
618
+ public static toObject(message: perftools.profiles.Mapping, options?: $protobuf.IConversionOptions): { [k: string]: any };
619
+
620
+ /**
621
+ * Converts this Mapping to JSON.
622
+ * @returns JSON object
623
+ */
624
+ public toJSON(): { [k: string]: any };
625
+ }
626
+
627
+ /** Properties of a Location. */
628
+ interface ILocation {
629
+
630
+ /** Location id */
631
+ id?: (number|Long);
632
+
633
+ /** Location mappingId */
634
+ mappingId?: (number|Long);
635
+
636
+ /** Location address */
637
+ address?: (number|Long);
638
+
639
+ /** Location line */
640
+ line?: perftools.profiles.ILine[];
641
+ }
642
+
643
+ /** Represents a Location. */
644
+ class Location {
645
+
646
+ /**
647
+ * Constructs a new Location.
648
+ * @param [properties] Properties to set
649
+ */
650
+ constructor(properties?: perftools.profiles.ILocation);
651
+
652
+ /** Location id. */
653
+ public id: (number|Long);
654
+
655
+ /** Location mappingId. */
656
+ public mappingId: (number|Long);
657
+
658
+ /** Location address. */
659
+ public address: (number|Long);
660
+
661
+ /** Location line. */
662
+ public line: perftools.profiles.ILine[];
663
+
664
+ /**
665
+ * Creates a new Location instance using the specified properties.
666
+ * @param [properties] Properties to set
667
+ * @returns Location instance
668
+ */
669
+ public static create(properties?: perftools.profiles.ILocation): perftools.profiles.Location;
670
+
671
+ /**
672
+ * Encodes the specified Location message. Does not implicitly {@link perftools.profiles.Location.verify|verify} messages.
673
+ * @param message Location message or plain object to encode
674
+ * @param [writer] Writer to encode to
675
+ * @returns Writer
676
+ */
677
+ public static encode(message: perftools.profiles.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
678
+
679
+ /**
680
+ * Encodes the specified Location message, length delimited. Does not implicitly {@link perftools.profiles.Location.verify|verify} messages.
681
+ * @param message Location message or plain object to encode
682
+ * @param [writer] Writer to encode to
683
+ * @returns Writer
684
+ */
685
+ public static encodeDelimited(message: perftools.profiles.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
686
+
687
+ /**
688
+ * Decodes a Location message from the specified reader or buffer.
689
+ * @param reader Reader or buffer to decode from
690
+ * @param [length] Message length if known beforehand
691
+ * @returns Location
692
+ * @throws {Error} If the payload is not a reader or valid buffer
693
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
694
+ */
695
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): perftools.profiles.Location;
696
+
697
+ /**
698
+ * Decodes a Location message from the specified reader or buffer, length delimited.
699
+ * @param reader Reader or buffer to decode from
700
+ * @returns Location
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 decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): perftools.profiles.Location;
705
+
706
+ /**
707
+ * Verifies a Location message.
708
+ * @param message Plain object to verify
709
+ * @returns `null` if valid, otherwise the reason why it is not
710
+ */
711
+ public static verify(message: { [k: string]: any }): (string|null);
712
+
713
+ /**
714
+ * Creates a Location message from a plain object. Also converts values to their respective internal types.
715
+ * @param object Plain object
716
+ * @returns Location
717
+ */
718
+ public static fromObject(object: { [k: string]: any }): perftools.profiles.Location;
719
+
720
+ /**
721
+ * Creates a plain object from a Location message. Also converts values to other types if specified.
722
+ * @param message Location
723
+ * @param [options] Conversion options
724
+ * @returns Plain object
725
+ */
726
+ public static toObject(message: perftools.profiles.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
727
+
728
+ /**
729
+ * Converts this Location to JSON.
730
+ * @returns JSON object
731
+ */
732
+ public toJSON(): { [k: string]: any };
733
+ }
734
+
735
+ /** Properties of a Line. */
736
+ interface ILine {
737
+
738
+ /** Line functionId */
739
+ functionId?: (number|Long);
740
+
741
+ /** Line line */
742
+ line?: (number|Long);
743
+ }
744
+
745
+ /** Represents a Line. */
746
+ class Line {
747
+
748
+ /**
749
+ * Constructs a new Line.
750
+ * @param [properties] Properties to set
751
+ */
752
+ constructor(properties?: perftools.profiles.ILine);
753
+
754
+ /** Line functionId. */
755
+ public functionId: (number|Long);
756
+
757
+ /** Line line. */
758
+ public line: (number|Long);
759
+
760
+ /**
761
+ * Creates a new Line instance using the specified properties.
762
+ * @param [properties] Properties to set
763
+ * @returns Line instance
764
+ */
765
+ public static create(properties?: perftools.profiles.ILine): perftools.profiles.Line;
766
+
767
+ /**
768
+ * Encodes the specified Line message. Does not implicitly {@link perftools.profiles.Line.verify|verify} messages.
769
+ * @param message Line message or plain object to encode
770
+ * @param [writer] Writer to encode to
771
+ * @returns Writer
772
+ */
773
+ public static encode(message: perftools.profiles.ILine, writer?: $protobuf.Writer): $protobuf.Writer;
774
+
775
+ /**
776
+ * Encodes the specified Line message, length delimited. Does not implicitly {@link perftools.profiles.Line.verify|verify} messages.
777
+ * @param message Line message or plain object to encode
778
+ * @param [writer] Writer to encode to
779
+ * @returns Writer
780
+ */
781
+ public static encodeDelimited(message: perftools.profiles.ILine, writer?: $protobuf.Writer): $protobuf.Writer;
782
+
783
+ /**
784
+ * Decodes a Line message from the specified reader or buffer.
785
+ * @param reader Reader or buffer to decode from
786
+ * @param [length] Message length if known beforehand
787
+ * @returns Line
788
+ * @throws {Error} If the payload is not a reader or valid buffer
789
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
790
+ */
791
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): perftools.profiles.Line;
792
+
793
+ /**
794
+ * Decodes a Line message from the specified reader or buffer, length delimited.
795
+ * @param reader Reader or buffer to decode from
796
+ * @returns Line
797
+ * @throws {Error} If the payload is not a reader or valid buffer
798
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
799
+ */
800
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): perftools.profiles.Line;
801
+
802
+ /**
803
+ * Verifies a Line message.
804
+ * @param message Plain object to verify
805
+ * @returns `null` if valid, otherwise the reason why it is not
806
+ */
807
+ public static verify(message: { [k: string]: any }): (string|null);
808
+
809
+ /**
810
+ * Creates a Line message from a plain object. Also converts values to their respective internal types.
811
+ * @param object Plain object
812
+ * @returns Line
813
+ */
814
+ public static fromObject(object: { [k: string]: any }): perftools.profiles.Line;
815
+
816
+ /**
817
+ * Creates a plain object from a Line message. Also converts values to other types if specified.
818
+ * @param message Line
819
+ * @param [options] Conversion options
820
+ * @returns Plain object
821
+ */
822
+ public static toObject(message: perftools.profiles.Line, options?: $protobuf.IConversionOptions): { [k: string]: any };
823
+
824
+ /**
825
+ * Converts this Line to JSON.
826
+ * @returns JSON object
827
+ */
828
+ public toJSON(): { [k: string]: any };
829
+ }
830
+
831
+ /** Properties of a Function. */
832
+ interface IFunction {
833
+
834
+ /** Function id */
835
+ id?: (number|Long);
836
+
837
+ /** Function name */
838
+ name?: (number|Long);
839
+
840
+ /** Function systemName */
841
+ systemName?: (number|Long);
842
+
843
+ /** Function filename */
844
+ filename?: (number|Long);
845
+
846
+ /** Function startLine */
847
+ startLine?: (number|Long);
848
+ }
849
+
850
+ /** Represents a Function. */
851
+ class Function {
852
+
853
+ /**
854
+ * Constructs a new Function.
855
+ * @param [properties] Properties to set
856
+ */
857
+ constructor(properties?: perftools.profiles.IFunction);
858
+
859
+ /** Function id. */
860
+ public id: (number|Long);
861
+
862
+ /** Function name. */
863
+ public name: (number|Long);
864
+
865
+ /** Function systemName. */
866
+ public systemName: (number|Long);
867
+
868
+ /** Function filename. */
869
+ public filename: (number|Long);
870
+
871
+ /** Function startLine. */
872
+ public startLine: (number|Long);
873
+
874
+ /**
875
+ * Creates a new Function instance using the specified properties.
876
+ * @param [properties] Properties to set
877
+ * @returns Function instance
878
+ */
879
+ public static create(properties?: perftools.profiles.IFunction): perftools.profiles.Function;
880
+
881
+ /**
882
+ * Encodes the specified Function message. Does not implicitly {@link perftools.profiles.Function.verify|verify} messages.
883
+ * @param message Function message or plain object to encode
884
+ * @param [writer] Writer to encode to
885
+ * @returns Writer
886
+ */
887
+ public static encode(message: perftools.profiles.IFunction, writer?: $protobuf.Writer): $protobuf.Writer;
888
+
889
+ /**
890
+ * Encodes the specified Function message, length delimited. Does not implicitly {@link perftools.profiles.Function.verify|verify} messages.
891
+ * @param message Function message or plain object to encode
892
+ * @param [writer] Writer to encode to
893
+ * @returns Writer
894
+ */
895
+ public static encodeDelimited(message: perftools.profiles.IFunction, writer?: $protobuf.Writer): $protobuf.Writer;
896
+
897
+ /**
898
+ * Decodes a Function message from the specified reader or buffer.
899
+ * @param reader Reader or buffer to decode from
900
+ * @param [length] Message length if known beforehand
901
+ * @returns Function
902
+ * @throws {Error} If the payload is not a reader or valid buffer
903
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
904
+ */
905
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): perftools.profiles.Function;
906
+
907
+ /**
908
+ * Decodes a Function message from the specified reader or buffer, length delimited.
909
+ * @param reader Reader or buffer to decode from
910
+ * @returns Function
911
+ * @throws {Error} If the payload is not a reader or valid buffer
912
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
913
+ */
914
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): perftools.profiles.Function;
915
+
916
+ /**
917
+ * Verifies a Function message.
918
+ * @param message Plain object to verify
919
+ * @returns `null` if valid, otherwise the reason why it is not
920
+ */
921
+ public static verify(message: { [k: string]: any }): (string|null);
922
+
923
+ /**
924
+ * Creates a Function message from a plain object. Also converts values to their respective internal types.
925
+ * @param object Plain object
926
+ * @returns Function
927
+ */
928
+ public static fromObject(object: { [k: string]: any }): perftools.profiles.Function;
929
+
930
+ /**
931
+ * Creates a plain object from a Function message. Also converts values to other types if specified.
932
+ * @param message Function
933
+ * @param [options] Conversion options
934
+ * @returns Plain object
935
+ */
936
+ public static toObject(message: perftools.profiles.Function, options?: $protobuf.IConversionOptions): { [k: string]: any };
937
+
938
+ /**
939
+ * Converts this Function to JSON.
940
+ * @returns JSON object
941
+ */
942
+ public toJSON(): { [k: string]: any };
943
+ }
944
+ }
945
+ }