summaryrefslogtreecommitdiffstats
path: root/dom/heapsnapshot/CoreDump.pb.h
blob: 584c2e379599a33887ff38c66d9c238cd7a2c645 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: CoreDump.proto

#ifndef PROTOBUF_CoreDump_2eproto__INCLUDED
#define PROTOBUF_CoreDump_2eproto__INCLUDED

#include <string>

#include <google/protobuf/stubs/common.h>

#if GOOGLE_PROTOBUF_VERSION < 2006000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers.  Please update
#error your headers.
#endif
#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers.  Please
#error regenerate this file with a newer version of protoc.
#endif

#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)

namespace mozilla {
namespace devtools {
namespace protobuf {

// Internal implementation detail -- do not call these.
void  protobuf_AddDesc_CoreDump_2eproto();
void protobuf_AssignDesc_CoreDump_2eproto();
void protobuf_ShutdownFile_CoreDump_2eproto();

class Metadata;
class StackFrame;
class StackFrame_Data;
class Node;
class Edge;

// ===================================================================

class Metadata : public ::google::protobuf::Message {
 public:
  Metadata();
  virtual ~Metadata();

  Metadata(const Metadata& from);

  inline Metadata& operator=(const Metadata& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _unknown_fields_;
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return &_unknown_fields_;
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const Metadata& default_instance();

  void Swap(Metadata* other);

  // implements Message ----------------------------------------------

  Metadata* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const Metadata& from);
  void MergeFrom(const Metadata& from);
  void Clear();
  bool IsInitialized() const;

  int ByteSize() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  public:
  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // optional uint64 timeStamp = 1;
  inline bool has_timestamp() const;
  inline void clear_timestamp();
  static const int kTimeStampFieldNumber = 1;
  inline ::google::protobuf::uint64 timestamp() const;
  inline void set_timestamp(::google::protobuf::uint64 value);

  // @@protoc_insertion_point(class_scope:mozilla.devtools.protobuf.Metadata)
 private:
  inline void set_has_timestamp();
  inline void clear_has_timestamp();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  ::google::protobuf::uint32 _has_bits_[1];
  mutable int _cached_size_;
  ::google::protobuf::uint64 timestamp_;
  friend void  protobuf_AddDesc_CoreDump_2eproto();
  friend void protobuf_AssignDesc_CoreDump_2eproto();
  friend void protobuf_ShutdownFile_CoreDump_2eproto();

  void InitAsDefaultInstance();
  static Metadata* default_instance_;
};
// -------------------------------------------------------------------

class StackFrame_Data : public ::google::protobuf::Message {
 public:
  StackFrame_Data();
  virtual ~StackFrame_Data();

  StackFrame_Data(const StackFrame_Data& from);

  inline StackFrame_Data& operator=(const StackFrame_Data& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _unknown_fields_;
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return &_unknown_fields_;
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const StackFrame_Data& default_instance();

  enum SourceOrRefCase {
    kSource = 5,
    kSourceRef = 6,
    SOURCEORREF_NOT_SET = 0,
  };

  enum FunctionDisplayNameOrRefCase {
    kFunctionDisplayName = 7,
    kFunctionDisplayNameRef = 8,
    FUNCTIONDISPLAYNAMEORREF_NOT_SET = 0,
  };

  void Swap(StackFrame_Data* other);

  // implements Message ----------------------------------------------

  StackFrame_Data* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const StackFrame_Data& from);
  void MergeFrom(const StackFrame_Data& from);
  void Clear();
  bool IsInitialized() const;

  int ByteSize() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  public:
  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // optional uint64 id = 1;
  inline bool has_id() const;
  inline void clear_id();
  static const int kIdFieldNumber = 1;
  inline ::google::protobuf::uint64 id() const;
  inline void set_id(::google::protobuf::uint64 value);

  // optional .mozilla.devtools.protobuf.StackFrame parent = 2;
  inline bool has_parent() const;
  inline void clear_parent();
  static const int kParentFieldNumber = 2;
  inline const ::mozilla::devtools::protobuf::StackFrame& parent() const;
  inline ::mozilla::devtools::protobuf::StackFrame* mutable_parent();
  inline ::mozilla::devtools::protobuf::StackFrame* release_parent();
  inline void set_allocated_parent(::mozilla::devtools::protobuf::StackFrame* parent);

  // optional uint32 line = 3;
  inline bool has_line() const;
  inline void clear_line();
  static const int kLineFieldNumber = 3;
  inline ::google::protobuf::uint32 line() const;
  inline void set_line(::google::protobuf::uint32 value);

  // optional uint32 column = 4;
  inline bool has_column() const;
  inline void clear_column();
  static const int kColumnFieldNumber = 4;
  inline ::google::protobuf::uint32 column() const;
  inline void set_column(::google::protobuf::uint32 value);

  // optional bytes source = 5;
  inline bool has_source() const;
  inline void clear_source();
  static const int kSourceFieldNumber = 5;
  inline const ::std::string& source() const;
  inline void set_source(const ::std::string& value);
  inline void set_source(const char* value);
  inline void set_source(const void* value, size_t size);
  inline ::std::string* mutable_source();
  inline ::std::string* release_source();
  inline void set_allocated_source(::std::string* source);

  // optional uint64 sourceRef = 6;
  inline bool has_sourceref() const;
  inline void clear_sourceref();
  static const int kSourceRefFieldNumber = 6;
  inline ::google::protobuf::uint64 sourceref() const;
  inline void set_sourceref(::google::protobuf::uint64 value);

  // optional bytes functionDisplayName = 7;
  inline bool has_functiondisplayname() const;
  inline void clear_functiondisplayname();
  static const int kFunctionDisplayNameFieldNumber = 7;
  inline const ::std::string& functiondisplayname() const;
  inline void set_functiondisplayname(const ::std::string& value);
  inline void set_functiondisplayname(const char* value);
  inline void set_functiondisplayname(const void* value, size_t size);
  inline ::std::string* mutable_functiondisplayname();
  inline ::std::string* release_functiondisplayname();
  inline void set_allocated_functiondisplayname(::std::string* functiondisplayname);

  // optional uint64 functionDisplayNameRef = 8;
  inline bool has_functiondisplaynameref() const;
  inline void clear_functiondisplaynameref();
  static const int kFunctionDisplayNameRefFieldNumber = 8;
  inline ::google::protobuf::uint64 functiondisplaynameref() const;
  inline void set_functiondisplaynameref(::google::protobuf::uint64 value);

  // optional bool isSystem = 9;
  inline bool has_issystem() const;
  inline void clear_issystem();
  static const int kIsSystemFieldNumber = 9;
  inline bool issystem() const;
  inline void set_issystem(bool value);

  // optional bool isSelfHosted = 10;
  inline bool has_isselfhosted() const;
  inline void clear_isselfhosted();
  static const int kIsSelfHostedFieldNumber = 10;
  inline bool isselfhosted() const;
  inline void set_isselfhosted(bool value);

  inline SourceOrRefCase SourceOrRef_case() const;
  inline FunctionDisplayNameOrRefCase FunctionDisplayNameOrRef_case() const;
  // @@protoc_insertion_point(class_scope:mozilla.devtools.protobuf.StackFrame.Data)
 private:
  inline void set_has_id();
  inline void clear_has_id();
  inline void set_has_parent();
  inline void clear_has_parent();
  inline void set_has_line();
  inline void clear_has_line();
  inline void set_has_column();
  inline void clear_has_column();
  inline void set_has_source();
  inline void set_has_sourceref();
  inline void set_has_functiondisplayname();
  inline void set_has_functiondisplaynameref();
  inline void set_has_issystem();
  inline void clear_has_issystem();
  inline void set_has_isselfhosted();
  inline void clear_has_isselfhosted();

  inline bool has_SourceOrRef();
  void clear_SourceOrRef();
  inline void clear_has_SourceOrRef();

  inline bool has_FunctionDisplayNameOrRef();
  void clear_FunctionDisplayNameOrRef();
  inline void clear_has_FunctionDisplayNameOrRef();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  ::google::protobuf::uint32 _has_bits_[1];
  mutable int _cached_size_;
  ::google::protobuf::uint64 id_;
  ::mozilla::devtools::protobuf::StackFrame* parent_;
  ::google::protobuf::uint32 line_;
  ::google::protobuf::uint32 column_;
  bool issystem_;
  bool isselfhosted_;
  union SourceOrRefUnion {
    ::std::string* source_;
    ::google::protobuf::uint64 sourceref_;
  } SourceOrRef_;
  union FunctionDisplayNameOrRefUnion {
    ::std::string* functiondisplayname_;
    ::google::protobuf::uint64 functiondisplaynameref_;
  } FunctionDisplayNameOrRef_;
  ::google::protobuf::uint32 _oneof_case_[2];

  friend void  protobuf_AddDesc_CoreDump_2eproto();
  friend void protobuf_AssignDesc_CoreDump_2eproto();
  friend void protobuf_ShutdownFile_CoreDump_2eproto();

  void InitAsDefaultInstance();
  static StackFrame_Data* default_instance_;
};
// -------------------------------------------------------------------

class StackFrame : public ::google::protobuf::Message {
 public:
  StackFrame();
  virtual ~StackFrame();

  StackFrame(const StackFrame& from);

  inline StackFrame& operator=(const StackFrame& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _unknown_fields_;
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return &_unknown_fields_;
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const StackFrame& default_instance();

  enum StackFrameTypeCase {
    kData = 1,
    kRef = 2,
    STACKFRAMETYPE_NOT_SET = 0,
  };

  void Swap(StackFrame* other);

  // implements Message ----------------------------------------------

  StackFrame* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const StackFrame& from);
  void MergeFrom(const StackFrame& from);
  void Clear();
  bool IsInitialized() const;

  int ByteSize() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  public:
  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  typedef StackFrame_Data Data;

  // accessors -------------------------------------------------------

  // optional .mozilla.devtools.protobuf.StackFrame.Data data = 1;
  inline bool has_data() const;
  inline void clear_data();
  static const int kDataFieldNumber = 1;
  inline const ::mozilla::devtools::protobuf::StackFrame_Data& data() const;
  inline ::mozilla::devtools::protobuf::StackFrame_Data* mutable_data();
  inline ::mozilla::devtools::protobuf::StackFrame_Data* release_data();
  inline void set_allocated_data(::mozilla::devtools::protobuf::StackFrame_Data* data);

  // optional uint64 ref = 2;
  inline bool has_ref() const;
  inline void clear_ref();
  static const int kRefFieldNumber = 2;
  inline ::google::protobuf::uint64 ref() const;
  inline void set_ref(::google::protobuf::uint64 value);

  inline StackFrameTypeCase StackFrameType_case() const;
  // @@protoc_insertion_point(class_scope:mozilla.devtools.protobuf.StackFrame)
 private:
  inline void set_has_data();
  inline void set_has_ref();

  inline bool has_StackFrameType();
  void clear_StackFrameType();
  inline void clear_has_StackFrameType();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  ::google::protobuf::uint32 _has_bits_[1];
  mutable int _cached_size_;
  union StackFrameTypeUnion {
    ::mozilla::devtools::protobuf::StackFrame_Data* data_;
    ::google::protobuf::uint64 ref_;
  } StackFrameType_;
  ::google::protobuf::uint32 _oneof_case_[1];

  friend void  protobuf_AddDesc_CoreDump_2eproto();
  friend void protobuf_AssignDesc_CoreDump_2eproto();
  friend void protobuf_ShutdownFile_CoreDump_2eproto();

  void InitAsDefaultInstance();
  static StackFrame* default_instance_;
};
// -------------------------------------------------------------------

class Node : public ::google::protobuf::Message {
 public:
  Node();
  virtual ~Node();

  Node(const Node& from);

  inline Node& operator=(const Node& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _unknown_fields_;
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return &_unknown_fields_;
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const Node& default_instance();

  enum TypeNameOrRefCase {
    kTypeName = 2,
    kTypeNameRef = 3,
    TYPENAMEORREF_NOT_SET = 0,
  };

  enum JSObjectClassNameOrRefCase {
    kJsObjectClassName = 7,
    kJsObjectClassNameRef = 8,
    JSOBJECTCLASSNAMEORREF_NOT_SET = 0,
  };

  enum ScriptFilenameOrRefCase {
    kScriptFilename = 10,
    kScriptFilenameRef = 11,
    SCRIPTFILENAMEORREF_NOT_SET = 0,
  };

  void Swap(Node* other);

  // implements Message ----------------------------------------------

  Node* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const Node& from);
  void MergeFrom(const Node& from);
  void Clear();
  bool IsInitialized() const;

  int ByteSize() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  public:
  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // optional uint64 id = 1;
  inline bool has_id() const;
  inline void clear_id();
  static const int kIdFieldNumber = 1;
  inline ::google::protobuf::uint64 id() const;
  inline void set_id(::google::protobuf::uint64 value);

  // optional bytes typeName = 2;
  inline bool has_typename_() const;
  inline void clear_typename_();
  static const int kTypeNameFieldNumber = 2;
  inline const ::std::string& typename_() const;
  inline void set_typename_(const ::std::string& value);
  inline void set_typename_(const char* value);
  inline void set_typename_(const void* value, size_t size);
  inline ::std::string* mutable_typename_();
  inline ::std::string* release_typename_();
  inline void set_allocated_typename_(::std::string* typename_);

  // optional uint64 typeNameRef = 3;
  inline bool has_typenameref() const;
  inline void clear_typenameref();
  static const int kTypeNameRefFieldNumber = 3;
  inline ::google::protobuf::uint64 typenameref() const;
  inline void set_typenameref(::google::protobuf::uint64 value);

  // optional uint64 size = 4;
  inline bool has_size() const;
  inline void clear_size();
  static const int kSizeFieldNumber = 4;
  inline ::google::protobuf::uint64 size() const;
  inline void set_size(::google::protobuf::uint64 value);

  // repeated .mozilla.devtools.protobuf.Edge edges = 5;
  inline int edges_size() const;
  inline void clear_edges();
  static const int kEdgesFieldNumber = 5;
  inline const ::mozilla::devtools::protobuf::Edge& edges(int index) const;
  inline ::mozilla::devtools::protobuf::Edge* mutable_edges(int index);
  inline ::mozilla::devtools::protobuf::Edge* add_edges();
  inline const ::google::protobuf::RepeatedPtrField< ::mozilla::devtools::protobuf::Edge >&
      edges() const;
  inline ::google::protobuf::RepeatedPtrField< ::mozilla::devtools::protobuf::Edge >*
      mutable_edges();

  // optional .mozilla.devtools.protobuf.StackFrame allocationStack = 6;
  inline bool has_allocationstack() const;
  inline void clear_allocationstack();
  static const int kAllocationStackFieldNumber = 6;
  inline const ::mozilla::devtools::protobuf::StackFrame& allocationstack() const;
  inline ::mozilla::devtools::protobuf::StackFrame* mutable_allocationstack();
  inline ::mozilla::devtools::protobuf::StackFrame* release_allocationstack();
  inline void set_allocated_allocationstack(::mozilla::devtools::protobuf::StackFrame* allocationstack);

  // optional bytes jsObjectClassName = 7;
  inline bool has_jsobjectclassname() const;
  inline void clear_jsobjectclassname();
  static const int kJsObjectClassNameFieldNumber = 7;
  inline const ::std::string& jsobjectclassname() const;
  inline void set_jsobjectclassname(const ::std::string& value);
  inline void set_jsobjectclassname(const char* value);
  inline void set_jsobjectclassname(const void* value, size_t size);
  inline ::std::string* mutable_jsobjectclassname();
  inline ::std::string* release_jsobjectclassname();
  inline void set_allocated_jsobjectclassname(::std::string* jsobjectclassname);

  // optional uint64 jsObjectClassNameRef = 8;
  inline bool has_jsobjectclassnameref() const;
  inline void clear_jsobjectclassnameref();
  static const int kJsObjectClassNameRefFieldNumber = 8;
  inline ::google::protobuf::uint64 jsobjectclassnameref() const;
  inline void set_jsobjectclassnameref(::google::protobuf::uint64 value);

  // optional uint32 coarseType = 9 [default = 0];
  inline bool has_coarsetype() const;
  inline void clear_coarsetype();
  static const int kCoarseTypeFieldNumber = 9;
  inline ::google::protobuf::uint32 coarsetype() const;
  inline void set_coarsetype(::google::protobuf::uint32 value);

  // optional bytes scriptFilename = 10;
  inline bool has_scriptfilename() const;
  inline void clear_scriptfilename();
  static const int kScriptFilenameFieldNumber = 10;
  inline const ::std::string& scriptfilename() const;
  inline void set_scriptfilename(const ::std::string& value);
  inline void set_scriptfilename(const char* value);
  inline void set_scriptfilename(const void* value, size_t size);
  inline ::std::string* mutable_scriptfilename();
  inline ::std::string* release_scriptfilename();
  inline void set_allocated_scriptfilename(::std::string* scriptfilename);

  // optional uint64 scriptFilenameRef = 11;
  inline bool has_scriptfilenameref() const;
  inline void clear_scriptfilenameref();
  static const int kScriptFilenameRefFieldNumber = 11;
  inline ::google::protobuf::uint64 scriptfilenameref() const;
  inline void set_scriptfilenameref(::google::protobuf::uint64 value);

  inline TypeNameOrRefCase TypeNameOrRef_case() const;
  inline JSObjectClassNameOrRefCase JSObjectClassNameOrRef_case() const;
  inline ScriptFilenameOrRefCase ScriptFilenameOrRef_case() const;
  // @@protoc_insertion_point(class_scope:mozilla.devtools.protobuf.Node)
 private:
  inline void set_has_id();
  inline void clear_has_id();
  inline void set_has_typename_();
  inline void set_has_typenameref();
  inline void set_has_size();
  inline void clear_has_size();
  inline void set_has_allocationstack();
  inline void clear_has_allocationstack();
  inline void set_has_jsobjectclassname();
  inline void set_has_jsobjectclassnameref();
  inline void set_has_coarsetype();
  inline void clear_has_coarsetype();
  inline void set_has_scriptfilename();
  inline void set_has_scriptfilenameref();

  inline bool has_TypeNameOrRef();
  void clear_TypeNameOrRef();
  inline void clear_has_TypeNameOrRef();

  inline bool has_JSObjectClassNameOrRef();
  void clear_JSObjectClassNameOrRef();
  inline void clear_has_JSObjectClassNameOrRef();

  inline bool has_ScriptFilenameOrRef();
  void clear_ScriptFilenameOrRef();
  inline void clear_has_ScriptFilenameOrRef();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  ::google::protobuf::uint32 _has_bits_[1];
  mutable int _cached_size_;
  ::google::protobuf::uint64 id_;
  ::google::protobuf::uint64 size_;
  ::google::protobuf::RepeatedPtrField< ::mozilla::devtools::protobuf::Edge > edges_;
  ::mozilla::devtools::protobuf::StackFrame* allocationstack_;
  ::google::protobuf::uint32 coarsetype_;
  union TypeNameOrRefUnion {
    ::std::string* typename__;
    ::google::protobuf::uint64 typenameref_;
  } TypeNameOrRef_;
  union JSObjectClassNameOrRefUnion {
    ::std::string* jsobjectclassname_;
    ::google::protobuf::uint64 jsobjectclassnameref_;
  } JSObjectClassNameOrRef_;
  union ScriptFilenameOrRefUnion {
    ::std::string* scriptfilename_;
    ::google::protobuf::uint64 scriptfilenameref_;
  } ScriptFilenameOrRef_;
  ::google::protobuf::uint32 _oneof_case_[3];

  friend void  protobuf_AddDesc_CoreDump_2eproto();
  friend void protobuf_AssignDesc_CoreDump_2eproto();
  friend void protobuf_ShutdownFile_CoreDump_2eproto();

  void InitAsDefaultInstance();
  static Node* default_instance_;
};
// -------------------------------------------------------------------

class Edge : public ::google::protobuf::Message {
 public:
  Edge();
  virtual ~Edge();

  Edge(const Edge& from);

  inline Edge& operator=(const Edge& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _unknown_fields_;
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return &_unknown_fields_;
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const Edge& default_instance();

  enum EdgeNameOrRefCase {
    kName = 2,
    kNameRef = 3,
    EDGENAMEORREF_NOT_SET = 0,
  };

  void Swap(Edge* other);

  // implements Message ----------------------------------------------

  Edge* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const Edge& from);
  void MergeFrom(const Edge& from);
  void Clear();
  bool IsInitialized() const;

  int ByteSize() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  public:
  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // optional uint64 referent = 1;
  inline bool has_referent() const;
  inline void clear_referent();
  static const int kReferentFieldNumber = 1;
  inline ::google::protobuf::uint64 referent() const;
  inline void set_referent(::google::protobuf::uint64 value);

  // optional bytes name = 2;
  inline bool has_name() const;
  inline void clear_name();
  static const int kNameFieldNumber = 2;
  inline const ::std::string& name() const;
  inline void set_name(const ::std::string& value);
  inline void set_name(const char* value);
  inline void set_name(const void* value, size_t size);
  inline ::std::string* mutable_name();
  inline ::std::string* release_name();
  inline void set_allocated_name(::std::string* name);

  // optional uint64 nameRef = 3;
  inline bool has_nameref() const;
  inline void clear_nameref();
  static const int kNameRefFieldNumber = 3;
  inline ::google::protobuf::uint64 nameref() const;
  inline void set_nameref(::google::protobuf::uint64 value);

  inline EdgeNameOrRefCase EdgeNameOrRef_case() const;
  // @@protoc_insertion_point(class_scope:mozilla.devtools.protobuf.Edge)
 private:
  inline void set_has_referent();
  inline void clear_has_referent();
  inline void set_has_name();
  inline void set_has_nameref();

  inline bool has_EdgeNameOrRef();
  void clear_EdgeNameOrRef();
  inline void clear_has_EdgeNameOrRef();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  ::google::protobuf::uint32 _has_bits_[1];
  mutable int _cached_size_;
  ::google::protobuf::uint64 referent_;
  union EdgeNameOrRefUnion {
    ::std::string* name_;
    ::google::protobuf::uint64 nameref_;
  } EdgeNameOrRef_;
  ::google::protobuf::uint32 _oneof_case_[1];

  friend void  protobuf_AddDesc_CoreDump_2eproto();
  friend void protobuf_AssignDesc_CoreDump_2eproto();
  friend void protobuf_ShutdownFile_CoreDump_2eproto();

  void InitAsDefaultInstance();
  static Edge* default_instance_;
};
// ===================================================================


// ===================================================================

// Metadata

// optional uint64 timeStamp = 1;
inline bool Metadata::has_timestamp() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void Metadata::set_has_timestamp() {
  _has_bits_[0] |= 0x00000001u;
}
inline void Metadata::clear_has_timestamp() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void Metadata::clear_timestamp() {
  timestamp_ = GOOGLE_ULONGLONG(0);
  clear_has_timestamp();
}
inline ::google::protobuf::uint64 Metadata::timestamp() const {
  // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Metadata.timeStamp)
  return timestamp_;
}
inline void Metadata::set_timestamp(::google::protobuf::uint64 value) {
  set_has_timestamp();
  timestamp_ = value;
  // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Metadata.timeStamp)
}

// -------------------------------------------------------------------

// StackFrame_Data

// optional uint64 id = 1;
inline bool StackFrame_Data::has_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void StackFrame_Data::set_has_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void StackFrame_Data::clear_has_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void StackFrame_Data::clear_id() {
  id_ = GOOGLE_ULONGLONG(0);
  clear_has_id();
}
inline ::google::protobuf::uint64 StackFrame_Data::id() const {
  // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.id)
  return id_;
}
inline void StackFrame_Data::set_id(::google::protobuf::uint64 value) {
  set_has_id();
  id_ = value;
  // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.id)
}

// optional .mozilla.devtools.protobuf.StackFrame parent = 2;
inline bool StackFrame_Data::has_parent() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void StackFrame_Data::set_has_parent() {
  _has_bits_[0] |= 0x00000002u;
}
inline void StackFrame_Data::clear_has_parent() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void StackFrame_Data::clear_parent() {
  if (parent_ != NULL) parent_->::mozilla::devtools::protobuf::StackFrame::Clear();
  clear_has_parent();
}
inline const ::mozilla::devtools::protobuf::StackFrame& StackFrame_Data::parent() const {
  // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.parent)
  return parent_ != NULL ? *parent_ : *default_instance_->parent_;
}
inline ::mozilla::devtools::protobuf::StackFrame* StackFrame_Data::mutable_parent() {
  set_has_parent();
  if (parent_ == NULL) parent_ = new ::mozilla::devtools::protobuf::StackFrame;
  // @@protoc_insertion_point(field_mutable:mozilla.devtools.protobuf.StackFrame.Data.parent)
  return parent_;
}
inline ::mozilla::devtools::protobuf::StackFrame* StackFrame_Data::release_parent() {
  clear_has_parent();
  ::mozilla::devtools::protobuf::StackFrame* temp = parent_;
  parent_ = NULL;
  return temp;
}
inline void StackFrame_Data::set_allocated_parent(::mozilla::devtools::protobuf::StackFrame* parent) {
  delete parent_;
  parent_ = parent;
  if (parent) {
    set_has_parent();
  } else {
    clear_has_parent();
  }
  // @@protoc_insertion_point(field_set_allocated:mozilla.devtools.protobuf.StackFrame.Data.parent)
}

// optional uint32 line = 3;
inline bool StackFrame_Data::has_line() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void StackFrame_Data::set_has_line() {
  _has_bits_[0] |= 0x00000004u;
}
inline void StackFrame_Data::clear_has_line() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void StackFrame_Data::clear_line() {
  line_ = 0u;
  clear_has_line();
}
inline ::google::protobuf::uint32 StackFrame_Data::line() const {
  // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.line)
  return line_;
}
inline void StackFrame_Data::set_line(::google::protobuf::uint32 value) {
  set_has_line();
  line_ = value;
  // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.line)
}

// optional uint32 column = 4;
inline bool StackFrame_Data::has_column() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void StackFrame_Data::set_has_column() {
  _has_bits_[0] |= 0x00000008u;
}
inline void StackFrame_Data::clear_has_column() {
  _has_bits_[0] &= ~0x00000008u;
}
inline void StackFrame_Data::clear_column() {
  column_ = 0u;
  clear_has_column();
}
inline ::google::protobuf::uint32 StackFrame_Data::column() const {
  // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.column)
  return column_;
}
inline void StackFrame_Data::set_column(::google::protobuf::uint32 value) {
  set_has_column();
  column_ = value;
  // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.column)
}

// optional bytes source = 5;
inline bool StackFrame_Data::has_source() const {
  return SourceOrRef_case() == kSource;
}
inline void StackFrame_Data::set_has_source() {
  _oneof_case_[0] = kSource;
}
inline void StackFrame_Data::clear_source() {
  if (has_source()) {
    delete SourceOrRef_.source_;
    clear_has_SourceOrRef();
  }
}
inline const ::std::string& StackFrame_Data::source() const {
  if (has_source()) {
    return *SourceOrRef_.source_;
  }
  return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
}
inline void StackFrame_Data::set_source(const ::std::string& value) {
  if (!has_source()) {
    clear_SourceOrRef();
    set_has_source();
    SourceOrRef_.source_ = new ::std::string;
  }
  SourceOrRef_.source_->assign(value);
}
inline void StackFrame_Data::set_source(const char* value) {
  if (!has_source()) {
    clear_SourceOrRef();
    set_has_source();
    SourceOrRef_.source_ = new ::std::string;
  }
  SourceOrRef_.source_->assign(value);
}
inline void StackFrame_Data::set_source(const void* value, size_t size) {
  if (!has_source()) {
    clear_SourceOrRef();
    set_has_source();
    SourceOrRef_.source_ = new ::std::string;
  }
  SourceOrRef_.source_->assign(
      reinterpret_cast<const char*>(value), size);
}
inline ::std::string* StackFrame_Data::mutable_source() {
  if (!has_source()) {
    clear_SourceOrRef();
    set_has_source();
    SourceOrRef_.source_ = new ::std::string;
  }
  return SourceOrRef_.source_;
}
inline ::std::string* StackFrame_Data::release_source() {
  if (has_source()) {
    clear_has_SourceOrRef();
    ::std::string* temp = SourceOrRef_.source_;
    SourceOrRef_.source_ = NULL;
    return temp;
  } else {
    return NULL;
  }
}
inline void StackFrame_Data::set_allocated_source(::std::string* source) {
  clear_SourceOrRef();
  if (source) {
    set_has_source();
    SourceOrRef_.source_ = source;
  }
}

// optional uint64 sourceRef = 6;
inline bool StackFrame_Data::has_sourceref() const {
  return SourceOrRef_case() == kSourceRef;
}
inline void StackFrame_Data::set_has_sourceref() {
  _oneof_case_[0] = kSourceRef;
}
inline void StackFrame_Data::clear_sourceref() {
  if (has_sourceref()) {
    SourceOrRef_.sourceref_ = GOOGLE_ULONGLONG(0);
    clear_has_SourceOrRef();
  }
}
inline ::google::protobuf::uint64 StackFrame_Data::sourceref() const {
  if (has_sourceref()) {
    return SourceOrRef_.sourceref_;
  }
  return GOOGLE_ULONGLONG(0);
}
inline void StackFrame_Data::set_sourceref(::google::protobuf::uint64 value) {
  if (!has_sourceref()) {
    clear_SourceOrRef();
    set_has_sourceref();
  }
  SourceOrRef_.sourceref_ = value;
}

// optional bytes functionDisplayName = 7;
inline bool StackFrame_Data::has_functiondisplayname() const {
  return FunctionDisplayNameOrRef_case() == kFunctionDisplayName;
}
inline void StackFrame_Data::set_has_functiondisplayname() {
  _oneof_case_[1] = kFunctionDisplayName;
}
inline void StackFrame_Data::clear_functiondisplayname() {
  if (has_functiondisplayname()) {
    delete FunctionDisplayNameOrRef_.functiondisplayname_;
    clear_has_FunctionDisplayNameOrRef();
  }
}
inline const ::std::string& StackFrame_Data::functiondisplayname() const {
  if (has_functiondisplayname()) {
    return *FunctionDisplayNameOrRef_.functiondisplayname_;
  }
  return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
}
inline void StackFrame_Data::set_functiondisplayname(const ::std::string& value) {
  if (!has_functiondisplayname()) {
    clear_FunctionDisplayNameOrRef();
    set_has_functiondisplayname();
    FunctionDisplayNameOrRef_.functiondisplayname_ = new ::std::string;
  }
  FunctionDisplayNameOrRef_.functiondisplayname_->assign(value);
}
inline void StackFrame_Data::set_functiondisplayname(const char* value) {
  if (!has_functiondisplayname()) {
    clear_FunctionDisplayNameOrRef();
    set_has_functiondisplayname();
    FunctionDisplayNameOrRef_.functiondisplayname_ = new ::std::string;
  }
  FunctionDisplayNameOrRef_.functiondisplayname_->assign(value);
}
inline void StackFrame_Data::set_functiondisplayname(const void* value, size_t size) {
  if (!has_functiondisplayname()) {
    clear_FunctionDisplayNameOrRef();
    set_has_functiondisplayname();
    FunctionDisplayNameOrRef_.functiondisplayname_ = new ::std::string;
  }
  FunctionDisplayNameOrRef_.functiondisplayname_->assign(
      reinterpret_cast<const char*>(value), size);
}
inline ::std::string* StackFrame_Data::mutable_functiondisplayname() {
  if (!has_functiondisplayname()) {
    clear_FunctionDisplayNameOrRef();
    set_has_functiondisplayname();
    FunctionDisplayNameOrRef_.functiondisplayname_ = new ::std::string;
  }
  return FunctionDisplayNameOrRef_.functiondisplayname_;
}
inline ::std::string* StackFrame_Data::release_functiondisplayname() {
  if (has_functiondisplayname()) {
    clear_has_FunctionDisplayNameOrRef();
    ::std::string* temp = FunctionDisplayNameOrRef_.functiondisplayname_;
    FunctionDisplayNameOrRef_.functiondisplayname_ = NULL;
    return temp;
  } else {
    return NULL;
  }
}
inline void StackFrame_Data::set_allocated_functiondisplayname(::std::string* functiondisplayname) {
  clear_FunctionDisplayNameOrRef();
  if (functiondisplayname) {
    set_has_functiondisplayname();
    FunctionDisplayNameOrRef_.functiondisplayname_ = functiondisplayname;
  }
}

// optional uint64 functionDisplayNameRef = 8;
inline bool StackFrame_Data::has_functiondisplaynameref() const {
  return FunctionDisplayNameOrRef_case() == kFunctionDisplayNameRef;
}
inline void StackFrame_Data::set_has_functiondisplaynameref() {
  _oneof_case_[1] = kFunctionDisplayNameRef;
}
inline void StackFrame_Data::clear_functiondisplaynameref() {
  if (has_functiondisplaynameref()) {
    FunctionDisplayNameOrRef_.functiondisplaynameref_ = GOOGLE_ULONGLONG(0);
    clear_has_FunctionDisplayNameOrRef();
  }
}
inline ::google::protobuf::uint64 StackFrame_Data::functiondisplaynameref() const {
  if (has_functiondisplaynameref()) {
    return FunctionDisplayNameOrRef_.functiondisplaynameref_;
  }
  return GOOGLE_ULONGLONG(0);
}
inline void StackFrame_Data::set_functiondisplaynameref(::google::protobuf::uint64 value) {
  if (!has_functiondisplaynameref()) {
    clear_FunctionDisplayNameOrRef();
    set_has_functiondisplaynameref();
  }
  FunctionDisplayNameOrRef_.functiondisplaynameref_ = value;
}

// optional bool isSystem = 9;
inline bool StackFrame_Data::has_issystem() const {
  return (_has_bits_[0] & 0x00000100u) != 0;
}
inline void StackFrame_Data::set_has_issystem() {
  _has_bits_[0] |= 0x00000100u;
}
inline void StackFrame_Data::clear_has_issystem() {
  _has_bits_[0] &= ~0x00000100u;
}
inline void StackFrame_Data::clear_issystem() {
  issystem_ = false;
  clear_has_issystem();
}
inline bool StackFrame_Data::issystem() const {
  // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.isSystem)
  return issystem_;
}
inline void StackFrame_Data::set_issystem(bool value) {
  set_has_issystem();
  issystem_ = value;
  // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.isSystem)
}

// optional bool isSelfHosted = 10;
inline bool StackFrame_Data::has_isselfhosted() const {
  return (_has_bits_[0] & 0x00000200u) != 0;
}
inline void StackFrame_Data::set_has_isselfhosted() {
  _has_bits_[0] |= 0x00000200u;
}
inline void StackFrame_Data::clear_has_isselfhosted() {
  _has_bits_[0] &= ~0x00000200u;
}
inline void StackFrame_Data::clear_isselfhosted() {
  isselfhosted_ = false;
  clear_has_isselfhosted();
}
inline bool StackFrame_Data::isselfhosted() const {
  // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.isSelfHosted)
  return isselfhosted_;
}
inline void StackFrame_Data::set_isselfhosted(bool value) {
  set_has_isselfhosted();
  isselfhosted_ = value;
  // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.isSelfHosted)
}

inline bool StackFrame_Data::has_SourceOrRef() {
  return SourceOrRef_case() != SOURCEORREF_NOT_SET;
}
inline void StackFrame_Data::clear_has_SourceOrRef() {
  _oneof_case_[0] = SOURCEORREF_NOT_SET;
}
inline bool StackFrame_Data::has_FunctionDisplayNameOrRef() {
  return FunctionDisplayNameOrRef_case() != FUNCTIONDISPLAYNAMEORREF_NOT_SET;
}
inline void StackFrame_Data::clear_has_FunctionDisplayNameOrRef() {
  _oneof_case_[1] = FUNCTIONDISPLAYNAMEORREF_NOT_SET;
}
inline StackFrame_Data::SourceOrRefCase StackFrame_Data::SourceOrRef_case() const {
  return StackFrame_Data::SourceOrRefCase(_oneof_case_[0]);
}
inline StackFrame_Data::FunctionDisplayNameOrRefCase StackFrame_Data::FunctionDisplayNameOrRef_case() const {
  return StackFrame_Data::FunctionDisplayNameOrRefCase(_oneof_case_[1]);
}
// -------------------------------------------------------------------

// StackFrame

// optional .mozilla.devtools.protobuf.StackFrame.Data data = 1;
inline bool StackFrame::has_data() const {
  return StackFrameType_case() == kData;
}
inline void StackFrame::set_has_data() {
  _oneof_case_[0] = kData;
}
inline void StackFrame::clear_data() {
  if (has_data()) {
    delete StackFrameType_.data_;
    clear_has_StackFrameType();
  }
}
inline const ::mozilla::devtools::protobuf::StackFrame_Data& StackFrame::data() const {
  return has_data() ? *StackFrameType_.data_
                      : ::mozilla::devtools::protobuf::StackFrame_Data::default_instance();
}
inline ::mozilla::devtools::protobuf::StackFrame_Data* StackFrame::mutable_data() {
  if (!has_data()) {
    clear_StackFrameType();
    set_has_data();
    StackFrameType_.data_ = new ::mozilla::devtools::protobuf::StackFrame_Data;
  }
  return StackFrameType_.data_;
}
inline ::mozilla::devtools::protobuf::StackFrame_Data* StackFrame::release_data() {
  if (has_data()) {
    clear_has_StackFrameType();
    ::mozilla::devtools::protobuf::StackFrame_Data* temp = StackFrameType_.data_;
    StackFrameType_.data_ = NULL;
    return temp;
  } else {
    return NULL;
  }
}
inline void StackFrame::set_allocated_data(::mozilla::devtools::protobuf::StackFrame_Data* data) {
  clear_StackFrameType();
  if (data) {
    set_has_data();
    StackFrameType_.data_ = data;
  }
}

// optional uint64 ref = 2;
inline bool StackFrame::has_ref() const {
  return StackFrameType_case() == kRef;
}
inline void StackFrame::set_has_ref() {
  _oneof_case_[0] = kRef;
}
inline void StackFrame::clear_ref() {
  if (has_ref()) {
    StackFrameType_.ref_ = GOOGLE_ULONGLONG(0);
    clear_has_StackFrameType();
  }
}
inline ::google::protobuf::uint64 StackFrame::ref() const {
  if (has_ref()) {
    return StackFrameType_.ref_;
  }
  return GOOGLE_ULONGLONG(0);
}
inline void StackFrame::set_ref(::google::protobuf::uint64 value) {
  if (!has_ref()) {
    clear_StackFrameType();
    set_has_ref();
  }
  StackFrameType_.ref_ = value;
}

inline bool StackFrame::has_StackFrameType() {
  return StackFrameType_case() != STACKFRAMETYPE_NOT_SET;
}
inline void StackFrame::clear_has_StackFrameType() {
  _oneof_case_[0] = STACKFRAMETYPE_NOT_SET;
}
inline StackFrame::StackFrameTypeCase StackFrame::StackFrameType_case() const {
  return StackFrame::StackFrameTypeCase(_oneof_case_[0]);
}
// -------------------------------------------------------------------

// Node

// optional uint64 id = 1;
inline bool Node::has_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void Node::set_has_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void Node::clear_has_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void Node::clear_id() {
  id_ = GOOGLE_ULONGLONG(0);
  clear_has_id();
}
inline ::google::protobuf::uint64 Node::id() const {
  // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.id)
  return id_;
}
inline void Node::set_id(::google::protobuf::uint64 value) {
  set_has_id();
  id_ = value;
  // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Node.id)
}

// optional bytes typeName = 2;
inline bool Node::has_typename_() const {
  return TypeNameOrRef_case() == kTypeName;
}
inline void Node::set_has_typename_() {
  _oneof_case_[0] = kTypeName;
}
inline void Node::clear_typename_() {
  if (has_typename_()) {
    delete TypeNameOrRef_.typename__;
    clear_has_TypeNameOrRef();
  }
}
inline const ::std::string& Node::typename_() const {
  if (has_typename_()) {
    return *TypeNameOrRef_.typename__;
  }
  return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
}
inline void Node::set_typename_(const ::std::string& value) {
  if (!has_typename_()) {
    clear_TypeNameOrRef();
    set_has_typename_();
    TypeNameOrRef_.typename__ = new ::std::string;
  }
  TypeNameOrRef_.typename__->assign(value);
}
inline void Node::set_typename_(const char* value) {
  if (!has_typename_()) {
    clear_TypeNameOrRef();
    set_has_typename_();
    TypeNameOrRef_.typename__ = new ::std::string;
  }
  TypeNameOrRef_.typename__->assign(value);
}
inline void Node::set_typename_(const void* value, size_t size) {
  if (!has_typename_()) {
    clear_TypeNameOrRef();
    set_has_typename_();
    TypeNameOrRef_.typename__ = new ::std::string;
  }
  TypeNameOrRef_.typename__->assign(
      reinterpret_cast<const char*>(value), size);
}
inline ::std::string* Node::mutable_typename_() {
  if (!has_typename_()) {
    clear_TypeNameOrRef();
    set_has_typename_();
    TypeNameOrRef_.typename__ = new ::std::string;
  }
  return TypeNameOrRef_.typename__;
}
inline ::std::string* Node::release_typename_() {
  if (has_typename_()) {
    clear_has_TypeNameOrRef();
    ::std::string* temp = TypeNameOrRef_.typename__;
    TypeNameOrRef_.typename__ = NULL;
    return temp;
  } else {
    return NULL;
  }
}
inline void Node::set_allocated_typename_(::std::string* typename_) {
  clear_TypeNameOrRef();
  if (typename_) {
    set_has_typename_();
    TypeNameOrRef_.typename__ = typename_;
  }
}

// optional uint64 typeNameRef = 3;
inline bool Node::has_typenameref() const {
  return TypeNameOrRef_case() == kTypeNameRef;
}
inline void Node::set_has_typenameref() {
  _oneof_case_[0] = kTypeNameRef;
}
inline void Node::clear_typenameref() {
  if (has_typenameref()) {
    TypeNameOrRef_.typenameref_ = GOOGLE_ULONGLONG(0);
    clear_has_TypeNameOrRef();
  }
}
inline ::google::protobuf::uint64 Node::typenameref() const {
  if (has_typenameref()) {
    return TypeNameOrRef_.typenameref_;
  }
  return GOOGLE_ULONGLONG(0);
}
inline void Node::set_typenameref(::google::protobuf::uint64 value) {
  if (!has_typenameref()) {
    clear_TypeNameOrRef();
    set_has_typenameref();
  }
  TypeNameOrRef_.typenameref_ = value;
}

// optional uint64 size = 4;
inline bool Node::has_size() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void Node::set_has_size() {
  _has_bits_[0] |= 0x00000008u;
}
inline void Node::clear_has_size() {
  _has_bits_[0] &= ~0x00000008u;
}
inline void Node::clear_size() {
  size_ = GOOGLE_ULONGLONG(0);
  clear_has_size();
}
inline ::google::protobuf::uint64 Node::size() const {
  // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.size)
  return size_;
}
inline void Node::set_size(::google::protobuf::uint64 value) {
  set_has_size();
  size_ = value;
  // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Node.size)
}

// repeated .mozilla.devtools.protobuf.Edge edges = 5;
inline int Node::edges_size() const {
  return edges_.size();
}
inline void Node::clear_edges() {
  edges_.Clear();
}
inline const ::mozilla::devtools::protobuf::Edge& Node::edges(int index) const {
  // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.edges)
  return edges_.Get(index);
}
inline ::mozilla::devtools::protobuf::Edge* Node::mutable_edges(int index) {
  // @@protoc_insertion_point(field_mutable:mozilla.devtools.protobuf.Node.edges)
  return edges_.Mutable(index);
}
inline ::mozilla::devtools::protobuf::Edge* Node::add_edges() {
  // @@protoc_insertion_point(field_add:mozilla.devtools.protobuf.Node.edges)
  return edges_.Add();
}
inline const ::google::protobuf::RepeatedPtrField< ::mozilla::devtools::protobuf::Edge >&
Node::edges() const {
  // @@protoc_insertion_point(field_list:mozilla.devtools.protobuf.Node.edges)
  return edges_;
}
inline ::google::protobuf::RepeatedPtrField< ::mozilla::devtools::protobuf::Edge >*
Node::mutable_edges() {
  // @@protoc_insertion_point(field_mutable_list:mozilla.devtools.protobuf.Node.edges)
  return &edges_;
}

// optional .mozilla.devtools.protobuf.StackFrame allocationStack = 6;
inline bool Node::has_allocationstack() const {
  return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void Node::set_has_allocationstack() {
  _has_bits_[0] |= 0x00000020u;
}
inline void Node::clear_has_allocationstack() {
  _has_bits_[0] &= ~0x00000020u;
}
inline void Node::clear_allocationstack() {
  if (allocationstack_ != NULL) allocationstack_->::mozilla::devtools::protobuf::StackFrame::Clear();
  clear_has_allocationstack();
}
inline const ::mozilla::devtools::protobuf::StackFrame& Node::allocationstack() const {
  // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.allocationStack)
  return allocationstack_ != NULL ? *allocationstack_ : *default_instance_->allocationstack_;
}
inline ::mozilla::devtools::protobuf::StackFrame* Node::mutable_allocationstack() {
  set_has_allocationstack();
  if (allocationstack_ == NULL) allocationstack_ = new ::mozilla::devtools::protobuf::StackFrame;
  // @@protoc_insertion_point(field_mutable:mozilla.devtools.protobuf.Node.allocationStack)
  return allocationstack_;
}
inline ::mozilla::devtools::protobuf::StackFrame* Node::release_allocationstack() {
  clear_has_allocationstack();
  ::mozilla::devtools::protobuf::StackFrame* temp = allocationstack_;
  allocationstack_ = NULL;
  return temp;
}
inline void Node::set_allocated_allocationstack(::mozilla::devtools::protobuf::StackFrame* allocationstack) {
  delete allocationstack_;
  allocationstack_ = allocationstack;
  if (allocationstack) {
    set_has_allocationstack();
  } else {
    clear_has_allocationstack();
  }
  // @@protoc_insertion_point(field_set_allocated:mozilla.devtools.protobuf.Node.allocationStack)
}

// optional bytes jsObjectClassName = 7;
inline bool Node::has_jsobjectclassname() const {
  return JSObjectClassNameOrRef_case() == kJsObjectClassName;
}
inline void Node::set_has_jsobjectclassname() {
  _oneof_case_[1] = kJsObjectClassName;
}
inline void Node::clear_jsobjectclassname() {
  if (has_jsobjectclassname()) {
    delete JSObjectClassNameOrRef_.jsobjectclassname_;
    clear_has_JSObjectClassNameOrRef();
  }
}
inline const ::std::string& Node::jsobjectclassname() const {
  if (has_jsobjectclassname()) {
    return *JSObjectClassNameOrRef_.jsobjectclassname_;
  }
  return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
}
inline void Node::set_jsobjectclassname(const ::std::string& value) {
  if (!has_jsobjectclassname()) {
    clear_JSObjectClassNameOrRef();
    set_has_jsobjectclassname();
    JSObjectClassNameOrRef_.jsobjectclassname_ = new ::std::string;
  }
  JSObjectClassNameOrRef_.jsobjectclassname_->assign(value);
}
inline void Node::set_jsobjectclassname(const char* value) {
  if (!has_jsobjectclassname()) {
    clear_JSObjectClassNameOrRef();
    set_has_jsobjectclassname();
    JSObjectClassNameOrRef_.jsobjectclassname_ = new ::std::string;
  }
  JSObjectClassNameOrRef_.jsobjectclassname_->assign(value);
}
inline void Node::set_jsobjectclassname(const void* value, size_t size) {
  if (!has_jsobjectclassname()) {
    clear_JSObjectClassNameOrRef();
    set_has_jsobjectclassname();
    JSObjectClassNameOrRef_.jsobjectclassname_ = new ::std::string;
  }
  JSObjectClassNameOrRef_.jsobjectclassname_->assign(
      reinterpret_cast<const char*>(value), size);
}
inline ::std::string* Node::mutable_jsobjectclassname() {
  if (!has_jsobjectclassname()) {
    clear_JSObjectClassNameOrRef();
    set_has_jsobjectclassname();
    JSObjectClassNameOrRef_.jsobjectclassname_ = new ::std::string;
  }
  return JSObjectClassNameOrRef_.jsobjectclassname_;
}
inline ::std::string* Node::release_jsobjectclassname() {
  if (has_jsobjectclassname()) {
    clear_has_JSObjectClassNameOrRef();
    ::std::string* temp = JSObjectClassNameOrRef_.jsobjectclassname_;
    JSObjectClassNameOrRef_.jsobjectclassname_ = NULL;
    return temp;
  } else {
    return NULL;
  }
}
inline void Node::set_allocated_jsobjectclassname(::std::string* jsobjectclassname) {
  clear_JSObjectClassNameOrRef();
  if (jsobjectclassname) {
    set_has_jsobjectclassname();
    JSObjectClassNameOrRef_.jsobjectclassname_ = jsobjectclassname;
  }
}

// optional uint64 jsObjectClassNameRef = 8;
inline bool Node::has_jsobjectclassnameref() const {
  return JSObjectClassNameOrRef_case() == kJsObjectClassNameRef;
}
inline void Node::set_has_jsobjectclassnameref() {
  _oneof_case_[1] = kJsObjectClassNameRef;
}
inline void Node::clear_jsobjectclassnameref() {
  if (has_jsobjectclassnameref()) {
    JSObjectClassNameOrRef_.jsobjectclassnameref_ = GOOGLE_ULONGLONG(0);
    clear_has_JSObjectClassNameOrRef();
  }
}
inline ::google::protobuf::uint64 Node::jsobjectclassnameref() const {
  if (has_jsobjectclassnameref()) {
    return JSObjectClassNameOrRef_.jsobjectclassnameref_;
  }
  return GOOGLE_ULONGLONG(0);
}
inline void Node::set_jsobjectclassnameref(::google::protobuf::uint64 value) {
  if (!has_jsobjectclassnameref()) {
    clear_JSObjectClassNameOrRef();
    set_has_jsobjectclassnameref();
  }
  JSObjectClassNameOrRef_.jsobjectclassnameref_ = value;
}

// optional uint32 coarseType = 9 [default = 0];
inline bool Node::has_coarsetype() const {
  return (_has_bits_[0] & 0x00000100u) != 0;
}
inline void Node::set_has_coarsetype() {
  _has_bits_[0] |= 0x00000100u;
}
inline void Node::clear_has_coarsetype() {
  _has_bits_[0] &= ~0x00000100u;
}
inline void Node::clear_coarsetype() {
  coarsetype_ = 0u;
  clear_has_coarsetype();
}
inline ::google::protobuf::uint32 Node::coarsetype() const {
  // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.coarseType)
  return coarsetype_;
}
inline void Node::set_coarsetype(::google::protobuf::uint32 value) {
  set_has_coarsetype();
  coarsetype_ = value;
  // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Node.coarseType)
}

// optional bytes scriptFilename = 10;
inline bool Node::has_scriptfilename() const {
  return ScriptFilenameOrRef_case() == kScriptFilename;
}
inline void Node::set_has_scriptfilename() {
  _oneof_case_[2] = kScriptFilename;
}
inline void Node::clear_scriptfilename() {
  if (has_scriptfilename()) {
    delete ScriptFilenameOrRef_.scriptfilename_;
    clear_has_ScriptFilenameOrRef();
  }
}
inline const ::std::string& Node::scriptfilename() const {
  if (has_scriptfilename()) {
    return *ScriptFilenameOrRef_.scriptfilename_;
  }
  return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
}
inline void Node::set_scriptfilename(const ::std::string& value) {
  if (!has_scriptfilename()) {
    clear_ScriptFilenameOrRef();
    set_has_scriptfilename();
    ScriptFilenameOrRef_.scriptfilename_ = new ::std::string;
  }
  ScriptFilenameOrRef_.scriptfilename_->assign(value);
}
inline void Node::set_scriptfilename(const char* value) {
  if (!has_scriptfilename()) {
    clear_ScriptFilenameOrRef();
    set_has_scriptfilename();
    ScriptFilenameOrRef_.scriptfilename_ = new ::std::string;
  }
  ScriptFilenameOrRef_.scriptfilename_->assign(value);
}
inline void Node::set_scriptfilename(const void* value, size_t size) {
  if (!has_scriptfilename()) {
    clear_ScriptFilenameOrRef();
    set_has_scriptfilename();
    ScriptFilenameOrRef_.scriptfilename_ = new ::std::string;
  }
  ScriptFilenameOrRef_.scriptfilename_->assign(
      reinterpret_cast<const char*>(value), size);
}
inline ::std::string* Node::mutable_scriptfilename() {
  if (!has_scriptfilename()) {
    clear_ScriptFilenameOrRef();
    set_has_scriptfilename();
    ScriptFilenameOrRef_.scriptfilename_ = new ::std::string;
  }
  return ScriptFilenameOrRef_.scriptfilename_;
}
inline ::std::string* Node::release_scriptfilename() {
  if (has_scriptfilename()) {
    clear_has_ScriptFilenameOrRef();
    ::std::string* temp = ScriptFilenameOrRef_.scriptfilename_;
    ScriptFilenameOrRef_.scriptfilename_ = NULL;
    return temp;
  } else {
    return NULL;
  }
}
inline void Node::set_allocated_scriptfilename(::std::string* scriptfilename) {
  clear_ScriptFilenameOrRef();
  if (scriptfilename) {
    set_has_scriptfilename();
    ScriptFilenameOrRef_.scriptfilename_ = scriptfilename;
  }
}

// optional uint64 scriptFilenameRef = 11;
inline bool Node::has_scriptfilenameref() const {
  return ScriptFilenameOrRef_case() == kScriptFilenameRef;
}
inline void Node::set_has_scriptfilenameref() {
  _oneof_case_[2] = kScriptFilenameRef;
}
inline void Node::clear_scriptfilenameref() {
  if (has_scriptfilenameref()) {
    ScriptFilenameOrRef_.scriptfilenameref_ = GOOGLE_ULONGLONG(0);
    clear_has_ScriptFilenameOrRef();
  }
}
inline ::google::protobuf::uint64 Node::scriptfilenameref() const {
  if (has_scriptfilenameref()) {
    return ScriptFilenameOrRef_.scriptfilenameref_;
  }
  return GOOGLE_ULONGLONG(0);
}
inline void Node::set_scriptfilenameref(::google::protobuf::uint64 value) {
  if (!has_scriptfilenameref()) {
    clear_ScriptFilenameOrRef();
    set_has_scriptfilenameref();
  }
  ScriptFilenameOrRef_.scriptfilenameref_ = value;
}

inline bool Node::has_TypeNameOrRef() {
  return TypeNameOrRef_case() != TYPENAMEORREF_NOT_SET;
}
inline void Node::clear_has_TypeNameOrRef() {
  _oneof_case_[0] = TYPENAMEORREF_NOT_SET;
}
inline bool Node::has_JSObjectClassNameOrRef() {
  return JSObjectClassNameOrRef_case() != JSOBJECTCLASSNAMEORREF_NOT_SET;
}
inline void Node::clear_has_JSObjectClassNameOrRef() {
  _oneof_case_[1] = JSOBJECTCLASSNAMEORREF_NOT_SET;
}
inline bool Node::has_ScriptFilenameOrRef() {
  return ScriptFilenameOrRef_case() != SCRIPTFILENAMEORREF_NOT_SET;
}
inline void Node::clear_has_ScriptFilenameOrRef() {
  _oneof_case_[2] = SCRIPTFILENAMEORREF_NOT_SET;
}
inline Node::TypeNameOrRefCase Node::TypeNameOrRef_case() const {
  return Node::TypeNameOrRefCase(_oneof_case_[0]);
}
inline Node::JSObjectClassNameOrRefCase Node::JSObjectClassNameOrRef_case() const {
  return Node::JSObjectClassNameOrRefCase(_oneof_case_[1]);
}
inline Node::ScriptFilenameOrRefCase Node::ScriptFilenameOrRef_case() const {
  return Node::ScriptFilenameOrRefCase(_oneof_case_[2]);
}
// -------------------------------------------------------------------

// Edge

// optional uint64 referent = 1;
inline bool Edge::has_referent() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void Edge::set_has_referent() {
  _has_bits_[0] |= 0x00000001u;
}
inline void Edge::clear_has_referent() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void Edge::clear_referent() {
  referent_ = GOOGLE_ULONGLONG(0);
  clear_has_referent();
}
inline ::google::protobuf::uint64 Edge::referent() const {
  // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Edge.referent)
  return referent_;
}
inline void Edge::set_referent(::google::protobuf::uint64 value) {
  set_has_referent();
  referent_ = value;
  // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Edge.referent)
}

// optional bytes name = 2;
inline bool Edge::has_name() const {
  return EdgeNameOrRef_case() == kName;
}
inline void Edge::set_has_name() {
  _oneof_case_[0] = kName;
}
inline void Edge::clear_name() {
  if (has_name()) {
    delete EdgeNameOrRef_.name_;
    clear_has_EdgeNameOrRef();
  }
}
inline const ::std::string& Edge::name() const {
  if (has_name()) {
    return *EdgeNameOrRef_.name_;
  }
  return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
}
inline void Edge::set_name(const ::std::string& value) {
  if (!has_name()) {
    clear_EdgeNameOrRef();
    set_has_name();
    EdgeNameOrRef_.name_ = new ::std::string;
  }
  EdgeNameOrRef_.name_->assign(value);
}
inline void Edge::set_name(const char* value) {
  if (!has_name()) {
    clear_EdgeNameOrRef();
    set_has_name();
    EdgeNameOrRef_.name_ = new ::std::string;
  }
  EdgeNameOrRef_.name_->assign(value);
}
inline void Edge::set_name(const void* value, size_t size) {
  if (!has_name()) {
    clear_EdgeNameOrRef();
    set_has_name();
    EdgeNameOrRef_.name_ = new ::std::string;
  }
  EdgeNameOrRef_.name_->assign(
      reinterpret_cast<const char*>(value), size);
}
inline ::std::string* Edge::mutable_name() {
  if (!has_name()) {
    clear_EdgeNameOrRef();
    set_has_name();
    EdgeNameOrRef_.name_ = new ::std::string;
  }
  return EdgeNameOrRef_.name_;
}
inline ::std::string* Edge::release_name() {
  if (has_name()) {
    clear_has_EdgeNameOrRef();
    ::std::string* temp = EdgeNameOrRef_.name_;
    EdgeNameOrRef_.name_ = NULL;
    return temp;
  } else {
    return NULL;
  }
}
inline void Edge::set_allocated_name(::std::string* name) {
  clear_EdgeNameOrRef();
  if (name) {
    set_has_name();
    EdgeNameOrRef_.name_ = name;
  }
}

// optional uint64 nameRef = 3;
inline bool Edge::has_nameref() const {
  return EdgeNameOrRef_case() == kNameRef;
}
inline void Edge::set_has_nameref() {
  _oneof_case_[0] = kNameRef;
}
inline void Edge::clear_nameref() {
  if (has_nameref()) {
    EdgeNameOrRef_.nameref_ = GOOGLE_ULONGLONG(0);
    clear_has_EdgeNameOrRef();
  }
}
inline ::google::protobuf::uint64 Edge::nameref() const {
  if (has_nameref()) {
    return EdgeNameOrRef_.nameref_;
  }
  return GOOGLE_ULONGLONG(0);
}
inline void Edge::set_nameref(::google::protobuf::uint64 value) {
  if (!has_nameref()) {
    clear_EdgeNameOrRef();
    set_has_nameref();
  }
  EdgeNameOrRef_.nameref_ = value;
}

inline bool Edge::has_EdgeNameOrRef() {
  return EdgeNameOrRef_case() != EDGENAMEORREF_NOT_SET;
}
inline void Edge::clear_has_EdgeNameOrRef() {
  _oneof_case_[0] = EDGENAMEORREF_NOT_SET;
}
inline Edge::EdgeNameOrRefCase Edge::EdgeNameOrRef_case() const {
  return Edge::EdgeNameOrRefCase(_oneof_case_[0]);
}

// @@protoc_insertion_point(namespace_scope)

}  // namespace protobuf
}  // namespace devtools
}  // namespace mozilla

#ifndef SWIG
namespace google {
namespace protobuf {


}  // namespace google
}  // namespace protobuf
#endif  // SWIG

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_CoreDump_2eproto__INCLUDED