1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: CoreDump.proto
3
4 #ifndef PROTOBUF_CoreDump_2eproto__INCLUDED
5 #define PROTOBUF_CoreDump_2eproto__INCLUDED
6
7 #include <string>
8
9 #include <google/protobuf/stubs/common.h>
10
11 #if GOOGLE_PROTOBUF_VERSION < 2006000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21
22 #include <google/protobuf/generated_message_util.h>
23 #include <google/protobuf/message.h>
24 #include <google/protobuf/repeated_field.h>
25 #include <google/protobuf/extension_set.h>
26 #include <google/protobuf/unknown_field_set.h>
27 // @@protoc_insertion_point(includes)
28
29 namespace mozilla {
30 namespace devtools {
31 namespace protobuf {
32
33 // Internal implementation detail -- do not call these.
34 void protobuf_AddDesc_CoreDump_2eproto();
35 void protobuf_AssignDesc_CoreDump_2eproto();
36 void protobuf_ShutdownFile_CoreDump_2eproto();
37
38 class Metadata;
39 class StackFrame;
40 class StackFrame_Data;
41 class Node;
42 class Edge;
43
44 // ===================================================================
45
46 class Metadata : public ::google::protobuf::Message {
47 public:
48 Metadata();
49 virtual ~Metadata();
50
51 Metadata(const Metadata& from);
52
53 inline Metadata& operator=(const Metadata& from) {
54 CopyFrom(from);
55 return *this;
56 }
57
unknown_fields()58 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
59 return _unknown_fields_;
60 }
61
mutable_unknown_fields()62 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
63 return &_unknown_fields_;
64 }
65
66 static const ::google::protobuf::Descriptor* descriptor();
67 static const Metadata& default_instance();
68
69 void Swap(Metadata* other);
70
71 // implements Message ----------------------------------------------
72
73 Metadata* New() const;
74 void CopyFrom(const ::google::protobuf::Message& from);
75 void MergeFrom(const ::google::protobuf::Message& from);
76 void CopyFrom(const Metadata& from);
77 void MergeFrom(const Metadata& from);
78 void Clear();
79 bool IsInitialized() const;
80
81 int ByteSize() const;
82 bool MergePartialFromCodedStream(
83 ::google::protobuf::io::CodedInputStream* input);
84 void SerializeWithCachedSizes(
85 ::google::protobuf::io::CodedOutputStream* output) const;
86 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()87 int GetCachedSize() const { return _cached_size_; }
88 private:
89 void SharedCtor();
90 void SharedDtor();
91 void SetCachedSize(int size) const;
92 public:
93 ::google::protobuf::Metadata GetMetadata() const;
94
95 // nested types ----------------------------------------------------
96
97 // accessors -------------------------------------------------------
98
99 // optional uint64 timeStamp = 1;
100 inline bool has_timestamp() const;
101 inline void clear_timestamp();
102 static const int kTimeStampFieldNumber = 1;
103 inline ::google::protobuf::uint64 timestamp() const;
104 inline void set_timestamp(::google::protobuf::uint64 value);
105
106 // @@protoc_insertion_point(class_scope:mozilla.devtools.protobuf.Metadata)
107 private:
108 inline void set_has_timestamp();
109 inline void clear_has_timestamp();
110
111 ::google::protobuf::UnknownFieldSet _unknown_fields_;
112
113 ::google::protobuf::uint32 _has_bits_[1];
114 mutable int _cached_size_;
115 ::google::protobuf::uint64 timestamp_;
116 friend void protobuf_AddDesc_CoreDump_2eproto();
117 friend void protobuf_AssignDesc_CoreDump_2eproto();
118 friend void protobuf_ShutdownFile_CoreDump_2eproto();
119
120 void InitAsDefaultInstance();
121 static Metadata* default_instance_;
122 };
123 // -------------------------------------------------------------------
124
125 class StackFrame_Data : public ::google::protobuf::Message {
126 public:
127 StackFrame_Data();
128 virtual ~StackFrame_Data();
129
130 StackFrame_Data(const StackFrame_Data& from);
131
132 inline StackFrame_Data& operator=(const StackFrame_Data& from) {
133 CopyFrom(from);
134 return *this;
135 }
136
unknown_fields()137 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
138 return _unknown_fields_;
139 }
140
mutable_unknown_fields()141 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
142 return &_unknown_fields_;
143 }
144
145 static const ::google::protobuf::Descriptor* descriptor();
146 static const StackFrame_Data& default_instance();
147
148 enum SourceOrRefCase {
149 kSource = 5,
150 kSourceRef = 6,
151 SOURCEORREF_NOT_SET = 0,
152 };
153
154 enum FunctionDisplayNameOrRefCase {
155 kFunctionDisplayName = 7,
156 kFunctionDisplayNameRef = 8,
157 FUNCTIONDISPLAYNAMEORREF_NOT_SET = 0,
158 };
159
160 void Swap(StackFrame_Data* other);
161
162 // implements Message ----------------------------------------------
163
164 StackFrame_Data* New() const;
165 void CopyFrom(const ::google::protobuf::Message& from);
166 void MergeFrom(const ::google::protobuf::Message& from);
167 void CopyFrom(const StackFrame_Data& from);
168 void MergeFrom(const StackFrame_Data& from);
169 void Clear();
170 bool IsInitialized() const;
171
172 int ByteSize() const;
173 bool MergePartialFromCodedStream(
174 ::google::protobuf::io::CodedInputStream* input);
175 void SerializeWithCachedSizes(
176 ::google::protobuf::io::CodedOutputStream* output) const;
177 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()178 int GetCachedSize() const { return _cached_size_; }
179 private:
180 void SharedCtor();
181 void SharedDtor();
182 void SetCachedSize(int size) const;
183 public:
184 ::google::protobuf::Metadata GetMetadata() const;
185
186 // nested types ----------------------------------------------------
187
188 // accessors -------------------------------------------------------
189
190 // optional uint64 id = 1;
191 inline bool has_id() const;
192 inline void clear_id();
193 static const int kIdFieldNumber = 1;
194 inline ::google::protobuf::uint64 id() const;
195 inline void set_id(::google::protobuf::uint64 value);
196
197 // optional .mozilla.devtools.protobuf.StackFrame parent = 2;
198 inline bool has_parent() const;
199 inline void clear_parent();
200 static const int kParentFieldNumber = 2;
201 inline const ::mozilla::devtools::protobuf::StackFrame& parent() const;
202 inline ::mozilla::devtools::protobuf::StackFrame* mutable_parent();
203 inline ::mozilla::devtools::protobuf::StackFrame* release_parent();
204 inline void set_allocated_parent(::mozilla::devtools::protobuf::StackFrame* parent);
205
206 // optional uint32 line = 3;
207 inline bool has_line() const;
208 inline void clear_line();
209 static const int kLineFieldNumber = 3;
210 inline ::google::protobuf::uint32 line() const;
211 inline void set_line(::google::protobuf::uint32 value);
212
213 // optional uint32 column = 4;
214 inline bool has_column() const;
215 inline void clear_column();
216 static const int kColumnFieldNumber = 4;
217 inline ::google::protobuf::uint32 column() const;
218 inline void set_column(::google::protobuf::uint32 value);
219
220 // optional bytes source = 5;
221 inline bool has_source() const;
222 inline void clear_source();
223 static const int kSourceFieldNumber = 5;
224 inline const ::std::string& source() const;
225 inline void set_source(const ::std::string& value);
226 inline void set_source(const char* value);
227 inline void set_source(const void* value, size_t size);
228 inline ::std::string* mutable_source();
229 inline ::std::string* release_source();
230 inline void set_allocated_source(::std::string* source);
231
232 // optional uint64 sourceRef = 6;
233 inline bool has_sourceref() const;
234 inline void clear_sourceref();
235 static const int kSourceRefFieldNumber = 6;
236 inline ::google::protobuf::uint64 sourceref() const;
237 inline void set_sourceref(::google::protobuf::uint64 value);
238
239 // optional bytes functionDisplayName = 7;
240 inline bool has_functiondisplayname() const;
241 inline void clear_functiondisplayname();
242 static const int kFunctionDisplayNameFieldNumber = 7;
243 inline const ::std::string& functiondisplayname() const;
244 inline void set_functiondisplayname(const ::std::string& value);
245 inline void set_functiondisplayname(const char* value);
246 inline void set_functiondisplayname(const void* value, size_t size);
247 inline ::std::string* mutable_functiondisplayname();
248 inline ::std::string* release_functiondisplayname();
249 inline void set_allocated_functiondisplayname(::std::string* functiondisplayname);
250
251 // optional uint64 functionDisplayNameRef = 8;
252 inline bool has_functiondisplaynameref() const;
253 inline void clear_functiondisplaynameref();
254 static const int kFunctionDisplayNameRefFieldNumber = 8;
255 inline ::google::protobuf::uint64 functiondisplaynameref() const;
256 inline void set_functiondisplaynameref(::google::protobuf::uint64 value);
257
258 // optional bool isSystem = 9;
259 inline bool has_issystem() const;
260 inline void clear_issystem();
261 static const int kIsSystemFieldNumber = 9;
262 inline bool issystem() const;
263 inline void set_issystem(bool value);
264
265 // optional bool isSelfHosted = 10;
266 inline bool has_isselfhosted() const;
267 inline void clear_isselfhosted();
268 static const int kIsSelfHostedFieldNumber = 10;
269 inline bool isselfhosted() const;
270 inline void set_isselfhosted(bool value);
271
272 inline SourceOrRefCase SourceOrRef_case() const;
273 inline FunctionDisplayNameOrRefCase FunctionDisplayNameOrRef_case() const;
274 // @@protoc_insertion_point(class_scope:mozilla.devtools.protobuf.StackFrame.Data)
275 private:
276 inline void set_has_id();
277 inline void clear_has_id();
278 inline void set_has_parent();
279 inline void clear_has_parent();
280 inline void set_has_line();
281 inline void clear_has_line();
282 inline void set_has_column();
283 inline void clear_has_column();
284 inline void set_has_source();
285 inline void set_has_sourceref();
286 inline void set_has_functiondisplayname();
287 inline void set_has_functiondisplaynameref();
288 inline void set_has_issystem();
289 inline void clear_has_issystem();
290 inline void set_has_isselfhosted();
291 inline void clear_has_isselfhosted();
292
293 inline bool has_SourceOrRef();
294 void clear_SourceOrRef();
295 inline void clear_has_SourceOrRef();
296
297 inline bool has_FunctionDisplayNameOrRef();
298 void clear_FunctionDisplayNameOrRef();
299 inline void clear_has_FunctionDisplayNameOrRef();
300
301 ::google::protobuf::UnknownFieldSet _unknown_fields_;
302
303 ::google::protobuf::uint32 _has_bits_[1];
304 mutable int _cached_size_;
305 ::google::protobuf::uint64 id_;
306 ::mozilla::devtools::protobuf::StackFrame* parent_;
307 ::google::protobuf::uint32 line_;
308 ::google::protobuf::uint32 column_;
309 bool issystem_;
310 bool isselfhosted_;
311 union SourceOrRefUnion {
312 ::std::string* source_;
313 ::google::protobuf::uint64 sourceref_;
314 } SourceOrRef_;
315 union FunctionDisplayNameOrRefUnion {
316 ::std::string* functiondisplayname_;
317 ::google::protobuf::uint64 functiondisplaynameref_;
318 } FunctionDisplayNameOrRef_;
319 ::google::protobuf::uint32 _oneof_case_[2];
320
321 friend void protobuf_AddDesc_CoreDump_2eproto();
322 friend void protobuf_AssignDesc_CoreDump_2eproto();
323 friend void protobuf_ShutdownFile_CoreDump_2eproto();
324
325 void InitAsDefaultInstance();
326 static StackFrame_Data* default_instance_;
327 };
328 // -------------------------------------------------------------------
329
330 class StackFrame : public ::google::protobuf::Message {
331 public:
332 StackFrame();
333 virtual ~StackFrame();
334
335 StackFrame(const StackFrame& from);
336
337 inline StackFrame& operator=(const StackFrame& from) {
338 CopyFrom(from);
339 return *this;
340 }
341
unknown_fields()342 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
343 return _unknown_fields_;
344 }
345
mutable_unknown_fields()346 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
347 return &_unknown_fields_;
348 }
349
350 static const ::google::protobuf::Descriptor* descriptor();
351 static const StackFrame& default_instance();
352
353 enum StackFrameTypeCase {
354 kData = 1,
355 kRef = 2,
356 STACKFRAMETYPE_NOT_SET = 0,
357 };
358
359 void Swap(StackFrame* other);
360
361 // implements Message ----------------------------------------------
362
363 StackFrame* New() const;
364 void CopyFrom(const ::google::protobuf::Message& from);
365 void MergeFrom(const ::google::protobuf::Message& from);
366 void CopyFrom(const StackFrame& from);
367 void MergeFrom(const StackFrame& from);
368 void Clear();
369 bool IsInitialized() const;
370
371 int ByteSize() const;
372 bool MergePartialFromCodedStream(
373 ::google::protobuf::io::CodedInputStream* input);
374 void SerializeWithCachedSizes(
375 ::google::protobuf::io::CodedOutputStream* output) const;
376 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()377 int GetCachedSize() const { return _cached_size_; }
378 private:
379 void SharedCtor();
380 void SharedDtor();
381 void SetCachedSize(int size) const;
382 public:
383 ::google::protobuf::Metadata GetMetadata() const;
384
385 // nested types ----------------------------------------------------
386
387 typedef StackFrame_Data Data;
388
389 // accessors -------------------------------------------------------
390
391 // optional .mozilla.devtools.protobuf.StackFrame.Data data = 1;
392 inline bool has_data() const;
393 inline void clear_data();
394 static const int kDataFieldNumber = 1;
395 inline const ::mozilla::devtools::protobuf::StackFrame_Data& data() const;
396 inline ::mozilla::devtools::protobuf::StackFrame_Data* mutable_data();
397 inline ::mozilla::devtools::protobuf::StackFrame_Data* release_data();
398 inline void set_allocated_data(::mozilla::devtools::protobuf::StackFrame_Data* data);
399
400 // optional uint64 ref = 2;
401 inline bool has_ref() const;
402 inline void clear_ref();
403 static const int kRefFieldNumber = 2;
404 inline ::google::protobuf::uint64 ref() const;
405 inline void set_ref(::google::protobuf::uint64 value);
406
407 inline StackFrameTypeCase StackFrameType_case() const;
408 // @@protoc_insertion_point(class_scope:mozilla.devtools.protobuf.StackFrame)
409 private:
410 inline void set_has_data();
411 inline void set_has_ref();
412
413 inline bool has_StackFrameType();
414 void clear_StackFrameType();
415 inline void clear_has_StackFrameType();
416
417 ::google::protobuf::UnknownFieldSet _unknown_fields_;
418
419 ::google::protobuf::uint32 _has_bits_[1];
420 mutable int _cached_size_;
421 union StackFrameTypeUnion {
422 ::mozilla::devtools::protobuf::StackFrame_Data* data_;
423 ::google::protobuf::uint64 ref_;
424 } StackFrameType_;
425 ::google::protobuf::uint32 _oneof_case_[1];
426
427 friend void protobuf_AddDesc_CoreDump_2eproto();
428 friend void protobuf_AssignDesc_CoreDump_2eproto();
429 friend void protobuf_ShutdownFile_CoreDump_2eproto();
430
431 void InitAsDefaultInstance();
432 static StackFrame* default_instance_;
433 };
434 // -------------------------------------------------------------------
435
436 class Node : public ::google::protobuf::Message {
437 public:
438 Node();
439 virtual ~Node();
440
441 Node(const Node& from);
442
443 inline Node& operator=(const Node& from) {
444 CopyFrom(from);
445 return *this;
446 }
447
unknown_fields()448 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
449 return _unknown_fields_;
450 }
451
mutable_unknown_fields()452 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
453 return &_unknown_fields_;
454 }
455
456 static const ::google::protobuf::Descriptor* descriptor();
457 static const Node& default_instance();
458
459 enum TypeNameOrRefCase {
460 kTypeName = 2,
461 kTypeNameRef = 3,
462 TYPENAMEORREF_NOT_SET = 0,
463 };
464
465 enum JSObjectClassNameOrRefCase {
466 kJsObjectClassName = 7,
467 kJsObjectClassNameRef = 8,
468 JSOBJECTCLASSNAMEORREF_NOT_SET = 0,
469 };
470
471 enum ScriptFilenameOrRefCase {
472 kScriptFilename = 10,
473 kScriptFilenameRef = 11,
474 SCRIPTFILENAMEORREF_NOT_SET = 0,
475 };
476
477 void Swap(Node* other);
478
479 // implements Message ----------------------------------------------
480
481 Node* New() const;
482 void CopyFrom(const ::google::protobuf::Message& from);
483 void MergeFrom(const ::google::protobuf::Message& from);
484 void CopyFrom(const Node& from);
485 void MergeFrom(const Node& from);
486 void Clear();
487 bool IsInitialized() const;
488
489 int ByteSize() const;
490 bool MergePartialFromCodedStream(
491 ::google::protobuf::io::CodedInputStream* input);
492 void SerializeWithCachedSizes(
493 ::google::protobuf::io::CodedOutputStream* output) const;
494 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()495 int GetCachedSize() const { return _cached_size_; }
496 private:
497 void SharedCtor();
498 void SharedDtor();
499 void SetCachedSize(int size) const;
500 public:
501 ::google::protobuf::Metadata GetMetadata() const;
502
503 // nested types ----------------------------------------------------
504
505 // accessors -------------------------------------------------------
506
507 // optional uint64 id = 1;
508 inline bool has_id() const;
509 inline void clear_id();
510 static const int kIdFieldNumber = 1;
511 inline ::google::protobuf::uint64 id() const;
512 inline void set_id(::google::protobuf::uint64 value);
513
514 // optional bytes typeName = 2;
515 inline bool has_typename_() const;
516 inline void clear_typename_();
517 static const int kTypeNameFieldNumber = 2;
518 inline const ::std::string& typename_() const;
519 inline void set_typename_(const ::std::string& value);
520 inline void set_typename_(const char* value);
521 inline void set_typename_(const void* value, size_t size);
522 inline ::std::string* mutable_typename_();
523 inline ::std::string* release_typename_();
524 inline void set_allocated_typename_(::std::string* typename_);
525
526 // optional uint64 typeNameRef = 3;
527 inline bool has_typenameref() const;
528 inline void clear_typenameref();
529 static const int kTypeNameRefFieldNumber = 3;
530 inline ::google::protobuf::uint64 typenameref() const;
531 inline void set_typenameref(::google::protobuf::uint64 value);
532
533 // optional uint64 size = 4;
534 inline bool has_size() const;
535 inline void clear_size();
536 static const int kSizeFieldNumber = 4;
537 inline ::google::protobuf::uint64 size() const;
538 inline void set_size(::google::protobuf::uint64 value);
539
540 // repeated .mozilla.devtools.protobuf.Edge edges = 5;
541 inline int edges_size() const;
542 inline void clear_edges();
543 static const int kEdgesFieldNumber = 5;
544 inline const ::mozilla::devtools::protobuf::Edge& edges(int index) const;
545 inline ::mozilla::devtools::protobuf::Edge* mutable_edges(int index);
546 inline ::mozilla::devtools::protobuf::Edge* add_edges();
547 inline const ::google::protobuf::RepeatedPtrField< ::mozilla::devtools::protobuf::Edge >&
548 edges() const;
549 inline ::google::protobuf::RepeatedPtrField< ::mozilla::devtools::protobuf::Edge >*
550 mutable_edges();
551
552 // optional .mozilla.devtools.protobuf.StackFrame allocationStack = 6;
553 inline bool has_allocationstack() const;
554 inline void clear_allocationstack();
555 static const int kAllocationStackFieldNumber = 6;
556 inline const ::mozilla::devtools::protobuf::StackFrame& allocationstack() const;
557 inline ::mozilla::devtools::protobuf::StackFrame* mutable_allocationstack();
558 inline ::mozilla::devtools::protobuf::StackFrame* release_allocationstack();
559 inline void set_allocated_allocationstack(::mozilla::devtools::protobuf::StackFrame* allocationstack);
560
561 // optional bytes jsObjectClassName = 7;
562 inline bool has_jsobjectclassname() const;
563 inline void clear_jsobjectclassname();
564 static const int kJsObjectClassNameFieldNumber = 7;
565 inline const ::std::string& jsobjectclassname() const;
566 inline void set_jsobjectclassname(const ::std::string& value);
567 inline void set_jsobjectclassname(const char* value);
568 inline void set_jsobjectclassname(const void* value, size_t size);
569 inline ::std::string* mutable_jsobjectclassname();
570 inline ::std::string* release_jsobjectclassname();
571 inline void set_allocated_jsobjectclassname(::std::string* jsobjectclassname);
572
573 // optional uint64 jsObjectClassNameRef = 8;
574 inline bool has_jsobjectclassnameref() const;
575 inline void clear_jsobjectclassnameref();
576 static const int kJsObjectClassNameRefFieldNumber = 8;
577 inline ::google::protobuf::uint64 jsobjectclassnameref() const;
578 inline void set_jsobjectclassnameref(::google::protobuf::uint64 value);
579
580 // optional uint32 coarseType = 9 [default = 0];
581 inline bool has_coarsetype() const;
582 inline void clear_coarsetype();
583 static const int kCoarseTypeFieldNumber = 9;
584 inline ::google::protobuf::uint32 coarsetype() const;
585 inline void set_coarsetype(::google::protobuf::uint32 value);
586
587 // optional bytes scriptFilename = 10;
588 inline bool has_scriptfilename() const;
589 inline void clear_scriptfilename();
590 static const int kScriptFilenameFieldNumber = 10;
591 inline const ::std::string& scriptfilename() const;
592 inline void set_scriptfilename(const ::std::string& value);
593 inline void set_scriptfilename(const char* value);
594 inline void set_scriptfilename(const void* value, size_t size);
595 inline ::std::string* mutable_scriptfilename();
596 inline ::std::string* release_scriptfilename();
597 inline void set_allocated_scriptfilename(::std::string* scriptfilename);
598
599 // optional uint64 scriptFilenameRef = 11;
600 inline bool has_scriptfilenameref() const;
601 inline void clear_scriptfilenameref();
602 static const int kScriptFilenameRefFieldNumber = 11;
603 inline ::google::protobuf::uint64 scriptfilenameref() const;
604 inline void set_scriptfilenameref(::google::protobuf::uint64 value);
605
606 inline TypeNameOrRefCase TypeNameOrRef_case() const;
607 inline JSObjectClassNameOrRefCase JSObjectClassNameOrRef_case() const;
608 inline ScriptFilenameOrRefCase ScriptFilenameOrRef_case() const;
609 // @@protoc_insertion_point(class_scope:mozilla.devtools.protobuf.Node)
610 private:
611 inline void set_has_id();
612 inline void clear_has_id();
613 inline void set_has_typename_();
614 inline void set_has_typenameref();
615 inline void set_has_size();
616 inline void clear_has_size();
617 inline void set_has_allocationstack();
618 inline void clear_has_allocationstack();
619 inline void set_has_jsobjectclassname();
620 inline void set_has_jsobjectclassnameref();
621 inline void set_has_coarsetype();
622 inline void clear_has_coarsetype();
623 inline void set_has_scriptfilename();
624 inline void set_has_scriptfilenameref();
625
626 inline bool has_TypeNameOrRef();
627 void clear_TypeNameOrRef();
628 inline void clear_has_TypeNameOrRef();
629
630 inline bool has_JSObjectClassNameOrRef();
631 void clear_JSObjectClassNameOrRef();
632 inline void clear_has_JSObjectClassNameOrRef();
633
634 inline bool has_ScriptFilenameOrRef();
635 void clear_ScriptFilenameOrRef();
636 inline void clear_has_ScriptFilenameOrRef();
637
638 ::google::protobuf::UnknownFieldSet _unknown_fields_;
639
640 ::google::protobuf::uint32 _has_bits_[1];
641 mutable int _cached_size_;
642 ::google::protobuf::uint64 id_;
643 ::google::protobuf::uint64 size_;
644 ::google::protobuf::RepeatedPtrField< ::mozilla::devtools::protobuf::Edge > edges_;
645 ::mozilla::devtools::protobuf::StackFrame* allocationstack_;
646 ::google::protobuf::uint32 coarsetype_;
647 union TypeNameOrRefUnion {
648 ::std::string* typename__;
649 ::google::protobuf::uint64 typenameref_;
650 } TypeNameOrRef_;
651 union JSObjectClassNameOrRefUnion {
652 ::std::string* jsobjectclassname_;
653 ::google::protobuf::uint64 jsobjectclassnameref_;
654 } JSObjectClassNameOrRef_;
655 union ScriptFilenameOrRefUnion {
656 ::std::string* scriptfilename_;
657 ::google::protobuf::uint64 scriptfilenameref_;
658 } ScriptFilenameOrRef_;
659 ::google::protobuf::uint32 _oneof_case_[3];
660
661 friend void protobuf_AddDesc_CoreDump_2eproto();
662 friend void protobuf_AssignDesc_CoreDump_2eproto();
663 friend void protobuf_ShutdownFile_CoreDump_2eproto();
664
665 void InitAsDefaultInstance();
666 static Node* default_instance_;
667 };
668 // -------------------------------------------------------------------
669
670 class Edge : public ::google::protobuf::Message {
671 public:
672 Edge();
673 virtual ~Edge();
674
675 Edge(const Edge& from);
676
677 inline Edge& operator=(const Edge& from) {
678 CopyFrom(from);
679 return *this;
680 }
681
unknown_fields()682 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
683 return _unknown_fields_;
684 }
685
mutable_unknown_fields()686 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
687 return &_unknown_fields_;
688 }
689
690 static const ::google::protobuf::Descriptor* descriptor();
691 static const Edge& default_instance();
692
693 enum EdgeNameOrRefCase {
694 kName = 2,
695 kNameRef = 3,
696 EDGENAMEORREF_NOT_SET = 0,
697 };
698
699 void Swap(Edge* other);
700
701 // implements Message ----------------------------------------------
702
703 Edge* New() const;
704 void CopyFrom(const ::google::protobuf::Message& from);
705 void MergeFrom(const ::google::protobuf::Message& from);
706 void CopyFrom(const Edge& from);
707 void MergeFrom(const Edge& from);
708 void Clear();
709 bool IsInitialized() const;
710
711 int ByteSize() const;
712 bool MergePartialFromCodedStream(
713 ::google::protobuf::io::CodedInputStream* input);
714 void SerializeWithCachedSizes(
715 ::google::protobuf::io::CodedOutputStream* output) const;
716 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()717 int GetCachedSize() const { return _cached_size_; }
718 private:
719 void SharedCtor();
720 void SharedDtor();
721 void SetCachedSize(int size) const;
722 public:
723 ::google::protobuf::Metadata GetMetadata() const;
724
725 // nested types ----------------------------------------------------
726
727 // accessors -------------------------------------------------------
728
729 // optional uint64 referent = 1;
730 inline bool has_referent() const;
731 inline void clear_referent();
732 static const int kReferentFieldNumber = 1;
733 inline ::google::protobuf::uint64 referent() const;
734 inline void set_referent(::google::protobuf::uint64 value);
735
736 // optional bytes name = 2;
737 inline bool has_name() const;
738 inline void clear_name();
739 static const int kNameFieldNumber = 2;
740 inline const ::std::string& name() const;
741 inline void set_name(const ::std::string& value);
742 inline void set_name(const char* value);
743 inline void set_name(const void* value, size_t size);
744 inline ::std::string* mutable_name();
745 inline ::std::string* release_name();
746 inline void set_allocated_name(::std::string* name);
747
748 // optional uint64 nameRef = 3;
749 inline bool has_nameref() const;
750 inline void clear_nameref();
751 static const int kNameRefFieldNumber = 3;
752 inline ::google::protobuf::uint64 nameref() const;
753 inline void set_nameref(::google::protobuf::uint64 value);
754
755 inline EdgeNameOrRefCase EdgeNameOrRef_case() const;
756 // @@protoc_insertion_point(class_scope:mozilla.devtools.protobuf.Edge)
757 private:
758 inline void set_has_referent();
759 inline void clear_has_referent();
760 inline void set_has_name();
761 inline void set_has_nameref();
762
763 inline bool has_EdgeNameOrRef();
764 void clear_EdgeNameOrRef();
765 inline void clear_has_EdgeNameOrRef();
766
767 ::google::protobuf::UnknownFieldSet _unknown_fields_;
768
769 ::google::protobuf::uint32 _has_bits_[1];
770 mutable int _cached_size_;
771 ::google::protobuf::uint64 referent_;
772 union EdgeNameOrRefUnion {
773 ::std::string* name_;
774 ::google::protobuf::uint64 nameref_;
775 } EdgeNameOrRef_;
776 ::google::protobuf::uint32 _oneof_case_[1];
777
778 friend void protobuf_AddDesc_CoreDump_2eproto();
779 friend void protobuf_AssignDesc_CoreDump_2eproto();
780 friend void protobuf_ShutdownFile_CoreDump_2eproto();
781
782 void InitAsDefaultInstance();
783 static Edge* default_instance_;
784 };
785 // ===================================================================
786
787
788 // ===================================================================
789
790 // Metadata
791
792 // optional uint64 timeStamp = 1;
has_timestamp()793 inline bool Metadata::has_timestamp() const {
794 return (_has_bits_[0] & 0x00000001u) != 0;
795 }
set_has_timestamp()796 inline void Metadata::set_has_timestamp() {
797 _has_bits_[0] |= 0x00000001u;
798 }
clear_has_timestamp()799 inline void Metadata::clear_has_timestamp() {
800 _has_bits_[0] &= ~0x00000001u;
801 }
clear_timestamp()802 inline void Metadata::clear_timestamp() {
803 timestamp_ = GOOGLE_ULONGLONG(0);
804 clear_has_timestamp();
805 }
timestamp()806 inline ::google::protobuf::uint64 Metadata::timestamp() const {
807 // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Metadata.timeStamp)
808 return timestamp_;
809 }
set_timestamp(::google::protobuf::uint64 value)810 inline void Metadata::set_timestamp(::google::protobuf::uint64 value) {
811 set_has_timestamp();
812 timestamp_ = value;
813 // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Metadata.timeStamp)
814 }
815
816 // -------------------------------------------------------------------
817
818 // StackFrame_Data
819
820 // optional uint64 id = 1;
has_id()821 inline bool StackFrame_Data::has_id() const {
822 return (_has_bits_[0] & 0x00000001u) != 0;
823 }
set_has_id()824 inline void StackFrame_Data::set_has_id() {
825 _has_bits_[0] |= 0x00000001u;
826 }
clear_has_id()827 inline void StackFrame_Data::clear_has_id() {
828 _has_bits_[0] &= ~0x00000001u;
829 }
clear_id()830 inline void StackFrame_Data::clear_id() {
831 id_ = GOOGLE_ULONGLONG(0);
832 clear_has_id();
833 }
id()834 inline ::google::protobuf::uint64 StackFrame_Data::id() const {
835 // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.id)
836 return id_;
837 }
set_id(::google::protobuf::uint64 value)838 inline void StackFrame_Data::set_id(::google::protobuf::uint64 value) {
839 set_has_id();
840 id_ = value;
841 // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.id)
842 }
843
844 // optional .mozilla.devtools.protobuf.StackFrame parent = 2;
has_parent()845 inline bool StackFrame_Data::has_parent() const {
846 return (_has_bits_[0] & 0x00000002u) != 0;
847 }
set_has_parent()848 inline void StackFrame_Data::set_has_parent() {
849 _has_bits_[0] |= 0x00000002u;
850 }
clear_has_parent()851 inline void StackFrame_Data::clear_has_parent() {
852 _has_bits_[0] &= ~0x00000002u;
853 }
clear_parent()854 inline void StackFrame_Data::clear_parent() {
855 if (parent_ != NULL) parent_->::mozilla::devtools::protobuf::StackFrame::Clear();
856 clear_has_parent();
857 }
parent()858 inline const ::mozilla::devtools::protobuf::StackFrame& StackFrame_Data::parent() const {
859 // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.parent)
860 return parent_ != NULL ? *parent_ : *default_instance_->parent_;
861 }
mutable_parent()862 inline ::mozilla::devtools::protobuf::StackFrame* StackFrame_Data::mutable_parent() {
863 set_has_parent();
864 if (parent_ == NULL) parent_ = new ::mozilla::devtools::protobuf::StackFrame;
865 // @@protoc_insertion_point(field_mutable:mozilla.devtools.protobuf.StackFrame.Data.parent)
866 return parent_;
867 }
release_parent()868 inline ::mozilla::devtools::protobuf::StackFrame* StackFrame_Data::release_parent() {
869 clear_has_parent();
870 ::mozilla::devtools::protobuf::StackFrame* temp = parent_;
871 parent_ = NULL;
872 return temp;
873 }
set_allocated_parent(::mozilla::devtools::protobuf::StackFrame * parent)874 inline void StackFrame_Data::set_allocated_parent(::mozilla::devtools::protobuf::StackFrame* parent) {
875 delete parent_;
876 parent_ = parent;
877 if (parent) {
878 set_has_parent();
879 } else {
880 clear_has_parent();
881 }
882 // @@protoc_insertion_point(field_set_allocated:mozilla.devtools.protobuf.StackFrame.Data.parent)
883 }
884
885 // optional uint32 line = 3;
has_line()886 inline bool StackFrame_Data::has_line() const {
887 return (_has_bits_[0] & 0x00000004u) != 0;
888 }
set_has_line()889 inline void StackFrame_Data::set_has_line() {
890 _has_bits_[0] |= 0x00000004u;
891 }
clear_has_line()892 inline void StackFrame_Data::clear_has_line() {
893 _has_bits_[0] &= ~0x00000004u;
894 }
clear_line()895 inline void StackFrame_Data::clear_line() {
896 line_ = 0u;
897 clear_has_line();
898 }
line()899 inline ::google::protobuf::uint32 StackFrame_Data::line() const {
900 // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.line)
901 return line_;
902 }
set_line(::google::protobuf::uint32 value)903 inline void StackFrame_Data::set_line(::google::protobuf::uint32 value) {
904 set_has_line();
905 line_ = value;
906 // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.line)
907 }
908
909 // optional uint32 column = 4;
has_column()910 inline bool StackFrame_Data::has_column() const {
911 return (_has_bits_[0] & 0x00000008u) != 0;
912 }
set_has_column()913 inline void StackFrame_Data::set_has_column() {
914 _has_bits_[0] |= 0x00000008u;
915 }
clear_has_column()916 inline void StackFrame_Data::clear_has_column() {
917 _has_bits_[0] &= ~0x00000008u;
918 }
clear_column()919 inline void StackFrame_Data::clear_column() {
920 column_ = 0u;
921 clear_has_column();
922 }
column()923 inline ::google::protobuf::uint32 StackFrame_Data::column() const {
924 // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.column)
925 return column_;
926 }
set_column(::google::protobuf::uint32 value)927 inline void StackFrame_Data::set_column(::google::protobuf::uint32 value) {
928 set_has_column();
929 column_ = value;
930 // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.column)
931 }
932
933 // optional bytes source = 5;
has_source()934 inline bool StackFrame_Data::has_source() const {
935 return SourceOrRef_case() == kSource;
936 }
set_has_source()937 inline void StackFrame_Data::set_has_source() {
938 _oneof_case_[0] = kSource;
939 }
clear_source()940 inline void StackFrame_Data::clear_source() {
941 if (has_source()) {
942 delete SourceOrRef_.source_;
943 clear_has_SourceOrRef();
944 }
945 }
source()946 inline const ::std::string& StackFrame_Data::source() const {
947 if (has_source()) {
948 return *SourceOrRef_.source_;
949 }
950 return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
951 }
set_source(const::std::string & value)952 inline void StackFrame_Data::set_source(const ::std::string& value) {
953 if (!has_source()) {
954 clear_SourceOrRef();
955 set_has_source();
956 SourceOrRef_.source_ = new ::std::string;
957 }
958 SourceOrRef_.source_->assign(value);
959 }
set_source(const char * value)960 inline void StackFrame_Data::set_source(const char* value) {
961 if (!has_source()) {
962 clear_SourceOrRef();
963 set_has_source();
964 SourceOrRef_.source_ = new ::std::string;
965 }
966 SourceOrRef_.source_->assign(value);
967 }
set_source(const void * value,size_t size)968 inline void StackFrame_Data::set_source(const void* value, size_t size) {
969 if (!has_source()) {
970 clear_SourceOrRef();
971 set_has_source();
972 SourceOrRef_.source_ = new ::std::string;
973 }
974 SourceOrRef_.source_->assign(
975 reinterpret_cast<const char*>(value), size);
976 }
mutable_source()977 inline ::std::string* StackFrame_Data::mutable_source() {
978 if (!has_source()) {
979 clear_SourceOrRef();
980 set_has_source();
981 SourceOrRef_.source_ = new ::std::string;
982 }
983 return SourceOrRef_.source_;
984 }
release_source()985 inline ::std::string* StackFrame_Data::release_source() {
986 if (has_source()) {
987 clear_has_SourceOrRef();
988 ::std::string* temp = SourceOrRef_.source_;
989 SourceOrRef_.source_ = NULL;
990 return temp;
991 } else {
992 return NULL;
993 }
994 }
set_allocated_source(::std::string * source)995 inline void StackFrame_Data::set_allocated_source(::std::string* source) {
996 clear_SourceOrRef();
997 if (source) {
998 set_has_source();
999 SourceOrRef_.source_ = source;
1000 }
1001 }
1002
1003 // optional uint64 sourceRef = 6;
has_sourceref()1004 inline bool StackFrame_Data::has_sourceref() const {
1005 return SourceOrRef_case() == kSourceRef;
1006 }
set_has_sourceref()1007 inline void StackFrame_Data::set_has_sourceref() {
1008 _oneof_case_[0] = kSourceRef;
1009 }
clear_sourceref()1010 inline void StackFrame_Data::clear_sourceref() {
1011 if (has_sourceref()) {
1012 SourceOrRef_.sourceref_ = GOOGLE_ULONGLONG(0);
1013 clear_has_SourceOrRef();
1014 }
1015 }
sourceref()1016 inline ::google::protobuf::uint64 StackFrame_Data::sourceref() const {
1017 if (has_sourceref()) {
1018 return SourceOrRef_.sourceref_;
1019 }
1020 return GOOGLE_ULONGLONG(0);
1021 }
set_sourceref(::google::protobuf::uint64 value)1022 inline void StackFrame_Data::set_sourceref(::google::protobuf::uint64 value) {
1023 if (!has_sourceref()) {
1024 clear_SourceOrRef();
1025 set_has_sourceref();
1026 }
1027 SourceOrRef_.sourceref_ = value;
1028 }
1029
1030 // optional bytes functionDisplayName = 7;
has_functiondisplayname()1031 inline bool StackFrame_Data::has_functiondisplayname() const {
1032 return FunctionDisplayNameOrRef_case() == kFunctionDisplayName;
1033 }
set_has_functiondisplayname()1034 inline void StackFrame_Data::set_has_functiondisplayname() {
1035 _oneof_case_[1] = kFunctionDisplayName;
1036 }
clear_functiondisplayname()1037 inline void StackFrame_Data::clear_functiondisplayname() {
1038 if (has_functiondisplayname()) {
1039 delete FunctionDisplayNameOrRef_.functiondisplayname_;
1040 clear_has_FunctionDisplayNameOrRef();
1041 }
1042 }
functiondisplayname()1043 inline const ::std::string& StackFrame_Data::functiondisplayname() const {
1044 if (has_functiondisplayname()) {
1045 return *FunctionDisplayNameOrRef_.functiondisplayname_;
1046 }
1047 return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
1048 }
set_functiondisplayname(const::std::string & value)1049 inline void StackFrame_Data::set_functiondisplayname(const ::std::string& value) {
1050 if (!has_functiondisplayname()) {
1051 clear_FunctionDisplayNameOrRef();
1052 set_has_functiondisplayname();
1053 FunctionDisplayNameOrRef_.functiondisplayname_ = new ::std::string;
1054 }
1055 FunctionDisplayNameOrRef_.functiondisplayname_->assign(value);
1056 }
set_functiondisplayname(const char * value)1057 inline void StackFrame_Data::set_functiondisplayname(const char* value) {
1058 if (!has_functiondisplayname()) {
1059 clear_FunctionDisplayNameOrRef();
1060 set_has_functiondisplayname();
1061 FunctionDisplayNameOrRef_.functiondisplayname_ = new ::std::string;
1062 }
1063 FunctionDisplayNameOrRef_.functiondisplayname_->assign(value);
1064 }
set_functiondisplayname(const void * value,size_t size)1065 inline void StackFrame_Data::set_functiondisplayname(const void* value, size_t size) {
1066 if (!has_functiondisplayname()) {
1067 clear_FunctionDisplayNameOrRef();
1068 set_has_functiondisplayname();
1069 FunctionDisplayNameOrRef_.functiondisplayname_ = new ::std::string;
1070 }
1071 FunctionDisplayNameOrRef_.functiondisplayname_->assign(
1072 reinterpret_cast<const char*>(value), size);
1073 }
mutable_functiondisplayname()1074 inline ::std::string* StackFrame_Data::mutable_functiondisplayname() {
1075 if (!has_functiondisplayname()) {
1076 clear_FunctionDisplayNameOrRef();
1077 set_has_functiondisplayname();
1078 FunctionDisplayNameOrRef_.functiondisplayname_ = new ::std::string;
1079 }
1080 return FunctionDisplayNameOrRef_.functiondisplayname_;
1081 }
release_functiondisplayname()1082 inline ::std::string* StackFrame_Data::release_functiondisplayname() {
1083 if (has_functiondisplayname()) {
1084 clear_has_FunctionDisplayNameOrRef();
1085 ::std::string* temp = FunctionDisplayNameOrRef_.functiondisplayname_;
1086 FunctionDisplayNameOrRef_.functiondisplayname_ = NULL;
1087 return temp;
1088 } else {
1089 return NULL;
1090 }
1091 }
set_allocated_functiondisplayname(::std::string * functiondisplayname)1092 inline void StackFrame_Data::set_allocated_functiondisplayname(::std::string* functiondisplayname) {
1093 clear_FunctionDisplayNameOrRef();
1094 if (functiondisplayname) {
1095 set_has_functiondisplayname();
1096 FunctionDisplayNameOrRef_.functiondisplayname_ = functiondisplayname;
1097 }
1098 }
1099
1100 // optional uint64 functionDisplayNameRef = 8;
has_functiondisplaynameref()1101 inline bool StackFrame_Data::has_functiondisplaynameref() const {
1102 return FunctionDisplayNameOrRef_case() == kFunctionDisplayNameRef;
1103 }
set_has_functiondisplaynameref()1104 inline void StackFrame_Data::set_has_functiondisplaynameref() {
1105 _oneof_case_[1] = kFunctionDisplayNameRef;
1106 }
clear_functiondisplaynameref()1107 inline void StackFrame_Data::clear_functiondisplaynameref() {
1108 if (has_functiondisplaynameref()) {
1109 FunctionDisplayNameOrRef_.functiondisplaynameref_ = GOOGLE_ULONGLONG(0);
1110 clear_has_FunctionDisplayNameOrRef();
1111 }
1112 }
functiondisplaynameref()1113 inline ::google::protobuf::uint64 StackFrame_Data::functiondisplaynameref() const {
1114 if (has_functiondisplaynameref()) {
1115 return FunctionDisplayNameOrRef_.functiondisplaynameref_;
1116 }
1117 return GOOGLE_ULONGLONG(0);
1118 }
set_functiondisplaynameref(::google::protobuf::uint64 value)1119 inline void StackFrame_Data::set_functiondisplaynameref(::google::protobuf::uint64 value) {
1120 if (!has_functiondisplaynameref()) {
1121 clear_FunctionDisplayNameOrRef();
1122 set_has_functiondisplaynameref();
1123 }
1124 FunctionDisplayNameOrRef_.functiondisplaynameref_ = value;
1125 }
1126
1127 // optional bool isSystem = 9;
has_issystem()1128 inline bool StackFrame_Data::has_issystem() const {
1129 return (_has_bits_[0] & 0x00000100u) != 0;
1130 }
set_has_issystem()1131 inline void StackFrame_Data::set_has_issystem() {
1132 _has_bits_[0] |= 0x00000100u;
1133 }
clear_has_issystem()1134 inline void StackFrame_Data::clear_has_issystem() {
1135 _has_bits_[0] &= ~0x00000100u;
1136 }
clear_issystem()1137 inline void StackFrame_Data::clear_issystem() {
1138 issystem_ = false;
1139 clear_has_issystem();
1140 }
issystem()1141 inline bool StackFrame_Data::issystem() const {
1142 // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.isSystem)
1143 return issystem_;
1144 }
set_issystem(bool value)1145 inline void StackFrame_Data::set_issystem(bool value) {
1146 set_has_issystem();
1147 issystem_ = value;
1148 // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.isSystem)
1149 }
1150
1151 // optional bool isSelfHosted = 10;
has_isselfhosted()1152 inline bool StackFrame_Data::has_isselfhosted() const {
1153 return (_has_bits_[0] & 0x00000200u) != 0;
1154 }
set_has_isselfhosted()1155 inline void StackFrame_Data::set_has_isselfhosted() {
1156 _has_bits_[0] |= 0x00000200u;
1157 }
clear_has_isselfhosted()1158 inline void StackFrame_Data::clear_has_isselfhosted() {
1159 _has_bits_[0] &= ~0x00000200u;
1160 }
clear_isselfhosted()1161 inline void StackFrame_Data::clear_isselfhosted() {
1162 isselfhosted_ = false;
1163 clear_has_isselfhosted();
1164 }
isselfhosted()1165 inline bool StackFrame_Data::isselfhosted() const {
1166 // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.isSelfHosted)
1167 return isselfhosted_;
1168 }
set_isselfhosted(bool value)1169 inline void StackFrame_Data::set_isselfhosted(bool value) {
1170 set_has_isselfhosted();
1171 isselfhosted_ = value;
1172 // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.isSelfHosted)
1173 }
1174
has_SourceOrRef()1175 inline bool StackFrame_Data::has_SourceOrRef() {
1176 return SourceOrRef_case() != SOURCEORREF_NOT_SET;
1177 }
clear_has_SourceOrRef()1178 inline void StackFrame_Data::clear_has_SourceOrRef() {
1179 _oneof_case_[0] = SOURCEORREF_NOT_SET;
1180 }
has_FunctionDisplayNameOrRef()1181 inline bool StackFrame_Data::has_FunctionDisplayNameOrRef() {
1182 return FunctionDisplayNameOrRef_case() != FUNCTIONDISPLAYNAMEORREF_NOT_SET;
1183 }
clear_has_FunctionDisplayNameOrRef()1184 inline void StackFrame_Data::clear_has_FunctionDisplayNameOrRef() {
1185 _oneof_case_[1] = FUNCTIONDISPLAYNAMEORREF_NOT_SET;
1186 }
SourceOrRef_case()1187 inline StackFrame_Data::SourceOrRefCase StackFrame_Data::SourceOrRef_case() const {
1188 return StackFrame_Data::SourceOrRefCase(_oneof_case_[0]);
1189 }
FunctionDisplayNameOrRef_case()1190 inline StackFrame_Data::FunctionDisplayNameOrRefCase StackFrame_Data::FunctionDisplayNameOrRef_case() const {
1191 return StackFrame_Data::FunctionDisplayNameOrRefCase(_oneof_case_[1]);
1192 }
1193 // -------------------------------------------------------------------
1194
1195 // StackFrame
1196
1197 // optional .mozilla.devtools.protobuf.StackFrame.Data data = 1;
has_data()1198 inline bool StackFrame::has_data() const {
1199 return StackFrameType_case() == kData;
1200 }
set_has_data()1201 inline void StackFrame::set_has_data() {
1202 _oneof_case_[0] = kData;
1203 }
clear_data()1204 inline void StackFrame::clear_data() {
1205 if (has_data()) {
1206 delete StackFrameType_.data_;
1207 clear_has_StackFrameType();
1208 }
1209 }
data()1210 inline const ::mozilla::devtools::protobuf::StackFrame_Data& StackFrame::data() const {
1211 return has_data() ? *StackFrameType_.data_
1212 : ::mozilla::devtools::protobuf::StackFrame_Data::default_instance();
1213 }
mutable_data()1214 inline ::mozilla::devtools::protobuf::StackFrame_Data* StackFrame::mutable_data() {
1215 if (!has_data()) {
1216 clear_StackFrameType();
1217 set_has_data();
1218 StackFrameType_.data_ = new ::mozilla::devtools::protobuf::StackFrame_Data;
1219 }
1220 return StackFrameType_.data_;
1221 }
release_data()1222 inline ::mozilla::devtools::protobuf::StackFrame_Data* StackFrame::release_data() {
1223 if (has_data()) {
1224 clear_has_StackFrameType();
1225 ::mozilla::devtools::protobuf::StackFrame_Data* temp = StackFrameType_.data_;
1226 StackFrameType_.data_ = NULL;
1227 return temp;
1228 } else {
1229 return NULL;
1230 }
1231 }
set_allocated_data(::mozilla::devtools::protobuf::StackFrame_Data * data)1232 inline void StackFrame::set_allocated_data(::mozilla::devtools::protobuf::StackFrame_Data* data) {
1233 clear_StackFrameType();
1234 if (data) {
1235 set_has_data();
1236 StackFrameType_.data_ = data;
1237 }
1238 }
1239
1240 // optional uint64 ref = 2;
has_ref()1241 inline bool StackFrame::has_ref() const {
1242 return StackFrameType_case() == kRef;
1243 }
set_has_ref()1244 inline void StackFrame::set_has_ref() {
1245 _oneof_case_[0] = kRef;
1246 }
clear_ref()1247 inline void StackFrame::clear_ref() {
1248 if (has_ref()) {
1249 StackFrameType_.ref_ = GOOGLE_ULONGLONG(0);
1250 clear_has_StackFrameType();
1251 }
1252 }
ref()1253 inline ::google::protobuf::uint64 StackFrame::ref() const {
1254 if (has_ref()) {
1255 return StackFrameType_.ref_;
1256 }
1257 return GOOGLE_ULONGLONG(0);
1258 }
set_ref(::google::protobuf::uint64 value)1259 inline void StackFrame::set_ref(::google::protobuf::uint64 value) {
1260 if (!has_ref()) {
1261 clear_StackFrameType();
1262 set_has_ref();
1263 }
1264 StackFrameType_.ref_ = value;
1265 }
1266
has_StackFrameType()1267 inline bool StackFrame::has_StackFrameType() {
1268 return StackFrameType_case() != STACKFRAMETYPE_NOT_SET;
1269 }
clear_has_StackFrameType()1270 inline void StackFrame::clear_has_StackFrameType() {
1271 _oneof_case_[0] = STACKFRAMETYPE_NOT_SET;
1272 }
StackFrameType_case()1273 inline StackFrame::StackFrameTypeCase StackFrame::StackFrameType_case() const {
1274 return StackFrame::StackFrameTypeCase(_oneof_case_[0]);
1275 }
1276 // -------------------------------------------------------------------
1277
1278 // Node
1279
1280 // optional uint64 id = 1;
has_id()1281 inline bool Node::has_id() const {
1282 return (_has_bits_[0] & 0x00000001u) != 0;
1283 }
set_has_id()1284 inline void Node::set_has_id() {
1285 _has_bits_[0] |= 0x00000001u;
1286 }
clear_has_id()1287 inline void Node::clear_has_id() {
1288 _has_bits_[0] &= ~0x00000001u;
1289 }
clear_id()1290 inline void Node::clear_id() {
1291 id_ = GOOGLE_ULONGLONG(0);
1292 clear_has_id();
1293 }
id()1294 inline ::google::protobuf::uint64 Node::id() const {
1295 // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.id)
1296 return id_;
1297 }
set_id(::google::protobuf::uint64 value)1298 inline void Node::set_id(::google::protobuf::uint64 value) {
1299 set_has_id();
1300 id_ = value;
1301 // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Node.id)
1302 }
1303
1304 // optional bytes typeName = 2;
has_typename_()1305 inline bool Node::has_typename_() const {
1306 return TypeNameOrRef_case() == kTypeName;
1307 }
set_has_typename_()1308 inline void Node::set_has_typename_() {
1309 _oneof_case_[0] = kTypeName;
1310 }
clear_typename_()1311 inline void Node::clear_typename_() {
1312 if (has_typename_()) {
1313 delete TypeNameOrRef_.typename__;
1314 clear_has_TypeNameOrRef();
1315 }
1316 }
typename_()1317 inline const ::std::string& Node::typename_() const {
1318 if (has_typename_()) {
1319 return *TypeNameOrRef_.typename__;
1320 }
1321 return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
1322 }
set_typename_(const::std::string & value)1323 inline void Node::set_typename_(const ::std::string& value) {
1324 if (!has_typename_()) {
1325 clear_TypeNameOrRef();
1326 set_has_typename_();
1327 TypeNameOrRef_.typename__ = new ::std::string;
1328 }
1329 TypeNameOrRef_.typename__->assign(value);
1330 }
set_typename_(const char * value)1331 inline void Node::set_typename_(const char* value) {
1332 if (!has_typename_()) {
1333 clear_TypeNameOrRef();
1334 set_has_typename_();
1335 TypeNameOrRef_.typename__ = new ::std::string;
1336 }
1337 TypeNameOrRef_.typename__->assign(value);
1338 }
set_typename_(const void * value,size_t size)1339 inline void Node::set_typename_(const void* value, size_t size) {
1340 if (!has_typename_()) {
1341 clear_TypeNameOrRef();
1342 set_has_typename_();
1343 TypeNameOrRef_.typename__ = new ::std::string;
1344 }
1345 TypeNameOrRef_.typename__->assign(
1346 reinterpret_cast<const char*>(value), size);
1347 }
mutable_typename_()1348 inline ::std::string* Node::mutable_typename_() {
1349 if (!has_typename_()) {
1350 clear_TypeNameOrRef();
1351 set_has_typename_();
1352 TypeNameOrRef_.typename__ = new ::std::string;
1353 }
1354 return TypeNameOrRef_.typename__;
1355 }
release_typename_()1356 inline ::std::string* Node::release_typename_() {
1357 if (has_typename_()) {
1358 clear_has_TypeNameOrRef();
1359 ::std::string* temp = TypeNameOrRef_.typename__;
1360 TypeNameOrRef_.typename__ = NULL;
1361 return temp;
1362 } else {
1363 return NULL;
1364 }
1365 }
set_allocated_typename_(::std::string * typename_)1366 inline void Node::set_allocated_typename_(::std::string* typename_) {
1367 clear_TypeNameOrRef();
1368 if (typename_) {
1369 set_has_typename_();
1370 TypeNameOrRef_.typename__ = typename_;
1371 }
1372 }
1373
1374 // optional uint64 typeNameRef = 3;
has_typenameref()1375 inline bool Node::has_typenameref() const {
1376 return TypeNameOrRef_case() == kTypeNameRef;
1377 }
set_has_typenameref()1378 inline void Node::set_has_typenameref() {
1379 _oneof_case_[0] = kTypeNameRef;
1380 }
clear_typenameref()1381 inline void Node::clear_typenameref() {
1382 if (has_typenameref()) {
1383 TypeNameOrRef_.typenameref_ = GOOGLE_ULONGLONG(0);
1384 clear_has_TypeNameOrRef();
1385 }
1386 }
typenameref()1387 inline ::google::protobuf::uint64 Node::typenameref() const {
1388 if (has_typenameref()) {
1389 return TypeNameOrRef_.typenameref_;
1390 }
1391 return GOOGLE_ULONGLONG(0);
1392 }
set_typenameref(::google::protobuf::uint64 value)1393 inline void Node::set_typenameref(::google::protobuf::uint64 value) {
1394 if (!has_typenameref()) {
1395 clear_TypeNameOrRef();
1396 set_has_typenameref();
1397 }
1398 TypeNameOrRef_.typenameref_ = value;
1399 }
1400
1401 // optional uint64 size = 4;
has_size()1402 inline bool Node::has_size() const {
1403 return (_has_bits_[0] & 0x00000008u) != 0;
1404 }
set_has_size()1405 inline void Node::set_has_size() {
1406 _has_bits_[0] |= 0x00000008u;
1407 }
clear_has_size()1408 inline void Node::clear_has_size() {
1409 _has_bits_[0] &= ~0x00000008u;
1410 }
clear_size()1411 inline void Node::clear_size() {
1412 size_ = GOOGLE_ULONGLONG(0);
1413 clear_has_size();
1414 }
size()1415 inline ::google::protobuf::uint64 Node::size() const {
1416 // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.size)
1417 return size_;
1418 }
set_size(::google::protobuf::uint64 value)1419 inline void Node::set_size(::google::protobuf::uint64 value) {
1420 set_has_size();
1421 size_ = value;
1422 // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Node.size)
1423 }
1424
1425 // repeated .mozilla.devtools.protobuf.Edge edges = 5;
edges_size()1426 inline int Node::edges_size() const {
1427 return edges_.size();
1428 }
clear_edges()1429 inline void Node::clear_edges() {
1430 edges_.Clear();
1431 }
edges(int index)1432 inline const ::mozilla::devtools::protobuf::Edge& Node::edges(int index) const {
1433 // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.edges)
1434 return edges_.Get(index);
1435 }
mutable_edges(int index)1436 inline ::mozilla::devtools::protobuf::Edge* Node::mutable_edges(int index) {
1437 // @@protoc_insertion_point(field_mutable:mozilla.devtools.protobuf.Node.edges)
1438 return edges_.Mutable(index);
1439 }
add_edges()1440 inline ::mozilla::devtools::protobuf::Edge* Node::add_edges() {
1441 // @@protoc_insertion_point(field_add:mozilla.devtools.protobuf.Node.edges)
1442 return edges_.Add();
1443 }
1444 inline const ::google::protobuf::RepeatedPtrField< ::mozilla::devtools::protobuf::Edge >&
edges()1445 Node::edges() const {
1446 // @@protoc_insertion_point(field_list:mozilla.devtools.protobuf.Node.edges)
1447 return edges_;
1448 }
1449 inline ::google::protobuf::RepeatedPtrField< ::mozilla::devtools::protobuf::Edge >*
mutable_edges()1450 Node::mutable_edges() {
1451 // @@protoc_insertion_point(field_mutable_list:mozilla.devtools.protobuf.Node.edges)
1452 return &edges_;
1453 }
1454
1455 // optional .mozilla.devtools.protobuf.StackFrame allocationStack = 6;
has_allocationstack()1456 inline bool Node::has_allocationstack() const {
1457 return (_has_bits_[0] & 0x00000020u) != 0;
1458 }
set_has_allocationstack()1459 inline void Node::set_has_allocationstack() {
1460 _has_bits_[0] |= 0x00000020u;
1461 }
clear_has_allocationstack()1462 inline void Node::clear_has_allocationstack() {
1463 _has_bits_[0] &= ~0x00000020u;
1464 }
clear_allocationstack()1465 inline void Node::clear_allocationstack() {
1466 if (allocationstack_ != NULL) allocationstack_->::mozilla::devtools::protobuf::StackFrame::Clear();
1467 clear_has_allocationstack();
1468 }
allocationstack()1469 inline const ::mozilla::devtools::protobuf::StackFrame& Node::allocationstack() const {
1470 // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.allocationStack)
1471 return allocationstack_ != NULL ? *allocationstack_ : *default_instance_->allocationstack_;
1472 }
mutable_allocationstack()1473 inline ::mozilla::devtools::protobuf::StackFrame* Node::mutable_allocationstack() {
1474 set_has_allocationstack();
1475 if (allocationstack_ == NULL) allocationstack_ = new ::mozilla::devtools::protobuf::StackFrame;
1476 // @@protoc_insertion_point(field_mutable:mozilla.devtools.protobuf.Node.allocationStack)
1477 return allocationstack_;
1478 }
release_allocationstack()1479 inline ::mozilla::devtools::protobuf::StackFrame* Node::release_allocationstack() {
1480 clear_has_allocationstack();
1481 ::mozilla::devtools::protobuf::StackFrame* temp = allocationstack_;
1482 allocationstack_ = NULL;
1483 return temp;
1484 }
set_allocated_allocationstack(::mozilla::devtools::protobuf::StackFrame * allocationstack)1485 inline void Node::set_allocated_allocationstack(::mozilla::devtools::protobuf::StackFrame* allocationstack) {
1486 delete allocationstack_;
1487 allocationstack_ = allocationstack;
1488 if (allocationstack) {
1489 set_has_allocationstack();
1490 } else {
1491 clear_has_allocationstack();
1492 }
1493 // @@protoc_insertion_point(field_set_allocated:mozilla.devtools.protobuf.Node.allocationStack)
1494 }
1495
1496 // optional bytes jsObjectClassName = 7;
has_jsobjectclassname()1497 inline bool Node::has_jsobjectclassname() const {
1498 return JSObjectClassNameOrRef_case() == kJsObjectClassName;
1499 }
set_has_jsobjectclassname()1500 inline void Node::set_has_jsobjectclassname() {
1501 _oneof_case_[1] = kJsObjectClassName;
1502 }
clear_jsobjectclassname()1503 inline void Node::clear_jsobjectclassname() {
1504 if (has_jsobjectclassname()) {
1505 delete JSObjectClassNameOrRef_.jsobjectclassname_;
1506 clear_has_JSObjectClassNameOrRef();
1507 }
1508 }
jsobjectclassname()1509 inline const ::std::string& Node::jsobjectclassname() const {
1510 if (has_jsobjectclassname()) {
1511 return *JSObjectClassNameOrRef_.jsobjectclassname_;
1512 }
1513 return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
1514 }
set_jsobjectclassname(const::std::string & value)1515 inline void Node::set_jsobjectclassname(const ::std::string& value) {
1516 if (!has_jsobjectclassname()) {
1517 clear_JSObjectClassNameOrRef();
1518 set_has_jsobjectclassname();
1519 JSObjectClassNameOrRef_.jsobjectclassname_ = new ::std::string;
1520 }
1521 JSObjectClassNameOrRef_.jsobjectclassname_->assign(value);
1522 }
set_jsobjectclassname(const char * value)1523 inline void Node::set_jsobjectclassname(const char* value) {
1524 if (!has_jsobjectclassname()) {
1525 clear_JSObjectClassNameOrRef();
1526 set_has_jsobjectclassname();
1527 JSObjectClassNameOrRef_.jsobjectclassname_ = new ::std::string;
1528 }
1529 JSObjectClassNameOrRef_.jsobjectclassname_->assign(value);
1530 }
set_jsobjectclassname(const void * value,size_t size)1531 inline void Node::set_jsobjectclassname(const void* value, size_t size) {
1532 if (!has_jsobjectclassname()) {
1533 clear_JSObjectClassNameOrRef();
1534 set_has_jsobjectclassname();
1535 JSObjectClassNameOrRef_.jsobjectclassname_ = new ::std::string;
1536 }
1537 JSObjectClassNameOrRef_.jsobjectclassname_->assign(
1538 reinterpret_cast<const char*>(value), size);
1539 }
mutable_jsobjectclassname()1540 inline ::std::string* Node::mutable_jsobjectclassname() {
1541 if (!has_jsobjectclassname()) {
1542 clear_JSObjectClassNameOrRef();
1543 set_has_jsobjectclassname();
1544 JSObjectClassNameOrRef_.jsobjectclassname_ = new ::std::string;
1545 }
1546 return JSObjectClassNameOrRef_.jsobjectclassname_;
1547 }
release_jsobjectclassname()1548 inline ::std::string* Node::release_jsobjectclassname() {
1549 if (has_jsobjectclassname()) {
1550 clear_has_JSObjectClassNameOrRef();
1551 ::std::string* temp = JSObjectClassNameOrRef_.jsobjectclassname_;
1552 JSObjectClassNameOrRef_.jsobjectclassname_ = NULL;
1553 return temp;
1554 } else {
1555 return NULL;
1556 }
1557 }
set_allocated_jsobjectclassname(::std::string * jsobjectclassname)1558 inline void Node::set_allocated_jsobjectclassname(::std::string* jsobjectclassname) {
1559 clear_JSObjectClassNameOrRef();
1560 if (jsobjectclassname) {
1561 set_has_jsobjectclassname();
1562 JSObjectClassNameOrRef_.jsobjectclassname_ = jsobjectclassname;
1563 }
1564 }
1565
1566 // optional uint64 jsObjectClassNameRef = 8;
has_jsobjectclassnameref()1567 inline bool Node::has_jsobjectclassnameref() const {
1568 return JSObjectClassNameOrRef_case() == kJsObjectClassNameRef;
1569 }
set_has_jsobjectclassnameref()1570 inline void Node::set_has_jsobjectclassnameref() {
1571 _oneof_case_[1] = kJsObjectClassNameRef;
1572 }
clear_jsobjectclassnameref()1573 inline void Node::clear_jsobjectclassnameref() {
1574 if (has_jsobjectclassnameref()) {
1575 JSObjectClassNameOrRef_.jsobjectclassnameref_ = GOOGLE_ULONGLONG(0);
1576 clear_has_JSObjectClassNameOrRef();
1577 }
1578 }
jsobjectclassnameref()1579 inline ::google::protobuf::uint64 Node::jsobjectclassnameref() const {
1580 if (has_jsobjectclassnameref()) {
1581 return JSObjectClassNameOrRef_.jsobjectclassnameref_;
1582 }
1583 return GOOGLE_ULONGLONG(0);
1584 }
set_jsobjectclassnameref(::google::protobuf::uint64 value)1585 inline void Node::set_jsobjectclassnameref(::google::protobuf::uint64 value) {
1586 if (!has_jsobjectclassnameref()) {
1587 clear_JSObjectClassNameOrRef();
1588 set_has_jsobjectclassnameref();
1589 }
1590 JSObjectClassNameOrRef_.jsobjectclassnameref_ = value;
1591 }
1592
1593 // optional uint32 coarseType = 9 [default = 0];
has_coarsetype()1594 inline bool Node::has_coarsetype() const {
1595 return (_has_bits_[0] & 0x00000100u) != 0;
1596 }
set_has_coarsetype()1597 inline void Node::set_has_coarsetype() {
1598 _has_bits_[0] |= 0x00000100u;
1599 }
clear_has_coarsetype()1600 inline void Node::clear_has_coarsetype() {
1601 _has_bits_[0] &= ~0x00000100u;
1602 }
clear_coarsetype()1603 inline void Node::clear_coarsetype() {
1604 coarsetype_ = 0u;
1605 clear_has_coarsetype();
1606 }
coarsetype()1607 inline ::google::protobuf::uint32 Node::coarsetype() const {
1608 // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.coarseType)
1609 return coarsetype_;
1610 }
set_coarsetype(::google::protobuf::uint32 value)1611 inline void Node::set_coarsetype(::google::protobuf::uint32 value) {
1612 set_has_coarsetype();
1613 coarsetype_ = value;
1614 // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Node.coarseType)
1615 }
1616
1617 // optional bytes scriptFilename = 10;
has_scriptfilename()1618 inline bool Node::has_scriptfilename() const {
1619 return ScriptFilenameOrRef_case() == kScriptFilename;
1620 }
set_has_scriptfilename()1621 inline void Node::set_has_scriptfilename() {
1622 _oneof_case_[2] = kScriptFilename;
1623 }
clear_scriptfilename()1624 inline void Node::clear_scriptfilename() {
1625 if (has_scriptfilename()) {
1626 delete ScriptFilenameOrRef_.scriptfilename_;
1627 clear_has_ScriptFilenameOrRef();
1628 }
1629 }
scriptfilename()1630 inline const ::std::string& Node::scriptfilename() const {
1631 if (has_scriptfilename()) {
1632 return *ScriptFilenameOrRef_.scriptfilename_;
1633 }
1634 return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
1635 }
set_scriptfilename(const::std::string & value)1636 inline void Node::set_scriptfilename(const ::std::string& value) {
1637 if (!has_scriptfilename()) {
1638 clear_ScriptFilenameOrRef();
1639 set_has_scriptfilename();
1640 ScriptFilenameOrRef_.scriptfilename_ = new ::std::string;
1641 }
1642 ScriptFilenameOrRef_.scriptfilename_->assign(value);
1643 }
set_scriptfilename(const char * value)1644 inline void Node::set_scriptfilename(const char* value) {
1645 if (!has_scriptfilename()) {
1646 clear_ScriptFilenameOrRef();
1647 set_has_scriptfilename();
1648 ScriptFilenameOrRef_.scriptfilename_ = new ::std::string;
1649 }
1650 ScriptFilenameOrRef_.scriptfilename_->assign(value);
1651 }
set_scriptfilename(const void * value,size_t size)1652 inline void Node::set_scriptfilename(const void* value, size_t size) {
1653 if (!has_scriptfilename()) {
1654 clear_ScriptFilenameOrRef();
1655 set_has_scriptfilename();
1656 ScriptFilenameOrRef_.scriptfilename_ = new ::std::string;
1657 }
1658 ScriptFilenameOrRef_.scriptfilename_->assign(
1659 reinterpret_cast<const char*>(value), size);
1660 }
mutable_scriptfilename()1661 inline ::std::string* Node::mutable_scriptfilename() {
1662 if (!has_scriptfilename()) {
1663 clear_ScriptFilenameOrRef();
1664 set_has_scriptfilename();
1665 ScriptFilenameOrRef_.scriptfilename_ = new ::std::string;
1666 }
1667 return ScriptFilenameOrRef_.scriptfilename_;
1668 }
release_scriptfilename()1669 inline ::std::string* Node::release_scriptfilename() {
1670 if (has_scriptfilename()) {
1671 clear_has_ScriptFilenameOrRef();
1672 ::std::string* temp = ScriptFilenameOrRef_.scriptfilename_;
1673 ScriptFilenameOrRef_.scriptfilename_ = NULL;
1674 return temp;
1675 } else {
1676 return NULL;
1677 }
1678 }
set_allocated_scriptfilename(::std::string * scriptfilename)1679 inline void Node::set_allocated_scriptfilename(::std::string* scriptfilename) {
1680 clear_ScriptFilenameOrRef();
1681 if (scriptfilename) {
1682 set_has_scriptfilename();
1683 ScriptFilenameOrRef_.scriptfilename_ = scriptfilename;
1684 }
1685 }
1686
1687 // optional uint64 scriptFilenameRef = 11;
has_scriptfilenameref()1688 inline bool Node::has_scriptfilenameref() const {
1689 return ScriptFilenameOrRef_case() == kScriptFilenameRef;
1690 }
set_has_scriptfilenameref()1691 inline void Node::set_has_scriptfilenameref() {
1692 _oneof_case_[2] = kScriptFilenameRef;
1693 }
clear_scriptfilenameref()1694 inline void Node::clear_scriptfilenameref() {
1695 if (has_scriptfilenameref()) {
1696 ScriptFilenameOrRef_.scriptfilenameref_ = GOOGLE_ULONGLONG(0);
1697 clear_has_ScriptFilenameOrRef();
1698 }
1699 }
scriptfilenameref()1700 inline ::google::protobuf::uint64 Node::scriptfilenameref() const {
1701 if (has_scriptfilenameref()) {
1702 return ScriptFilenameOrRef_.scriptfilenameref_;
1703 }
1704 return GOOGLE_ULONGLONG(0);
1705 }
set_scriptfilenameref(::google::protobuf::uint64 value)1706 inline void Node::set_scriptfilenameref(::google::protobuf::uint64 value) {
1707 if (!has_scriptfilenameref()) {
1708 clear_ScriptFilenameOrRef();
1709 set_has_scriptfilenameref();
1710 }
1711 ScriptFilenameOrRef_.scriptfilenameref_ = value;
1712 }
1713
has_TypeNameOrRef()1714 inline bool Node::has_TypeNameOrRef() {
1715 return TypeNameOrRef_case() != TYPENAMEORREF_NOT_SET;
1716 }
clear_has_TypeNameOrRef()1717 inline void Node::clear_has_TypeNameOrRef() {
1718 _oneof_case_[0] = TYPENAMEORREF_NOT_SET;
1719 }
has_JSObjectClassNameOrRef()1720 inline bool Node::has_JSObjectClassNameOrRef() {
1721 return JSObjectClassNameOrRef_case() != JSOBJECTCLASSNAMEORREF_NOT_SET;
1722 }
clear_has_JSObjectClassNameOrRef()1723 inline void Node::clear_has_JSObjectClassNameOrRef() {
1724 _oneof_case_[1] = JSOBJECTCLASSNAMEORREF_NOT_SET;
1725 }
has_ScriptFilenameOrRef()1726 inline bool Node::has_ScriptFilenameOrRef() {
1727 return ScriptFilenameOrRef_case() != SCRIPTFILENAMEORREF_NOT_SET;
1728 }
clear_has_ScriptFilenameOrRef()1729 inline void Node::clear_has_ScriptFilenameOrRef() {
1730 _oneof_case_[2] = SCRIPTFILENAMEORREF_NOT_SET;
1731 }
TypeNameOrRef_case()1732 inline Node::TypeNameOrRefCase Node::TypeNameOrRef_case() const {
1733 return Node::TypeNameOrRefCase(_oneof_case_[0]);
1734 }
JSObjectClassNameOrRef_case()1735 inline Node::JSObjectClassNameOrRefCase Node::JSObjectClassNameOrRef_case() const {
1736 return Node::JSObjectClassNameOrRefCase(_oneof_case_[1]);
1737 }
ScriptFilenameOrRef_case()1738 inline Node::ScriptFilenameOrRefCase Node::ScriptFilenameOrRef_case() const {
1739 return Node::ScriptFilenameOrRefCase(_oneof_case_[2]);
1740 }
1741 // -------------------------------------------------------------------
1742
1743 // Edge
1744
1745 // optional uint64 referent = 1;
has_referent()1746 inline bool Edge::has_referent() const {
1747 return (_has_bits_[0] & 0x00000001u) != 0;
1748 }
set_has_referent()1749 inline void Edge::set_has_referent() {
1750 _has_bits_[0] |= 0x00000001u;
1751 }
clear_has_referent()1752 inline void Edge::clear_has_referent() {
1753 _has_bits_[0] &= ~0x00000001u;
1754 }
clear_referent()1755 inline void Edge::clear_referent() {
1756 referent_ = GOOGLE_ULONGLONG(0);
1757 clear_has_referent();
1758 }
referent()1759 inline ::google::protobuf::uint64 Edge::referent() const {
1760 // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Edge.referent)
1761 return referent_;
1762 }
set_referent(::google::protobuf::uint64 value)1763 inline void Edge::set_referent(::google::protobuf::uint64 value) {
1764 set_has_referent();
1765 referent_ = value;
1766 // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Edge.referent)
1767 }
1768
1769 // optional bytes name = 2;
has_name()1770 inline bool Edge::has_name() const {
1771 return EdgeNameOrRef_case() == kName;
1772 }
set_has_name()1773 inline void Edge::set_has_name() {
1774 _oneof_case_[0] = kName;
1775 }
clear_name()1776 inline void Edge::clear_name() {
1777 if (has_name()) {
1778 delete EdgeNameOrRef_.name_;
1779 clear_has_EdgeNameOrRef();
1780 }
1781 }
name()1782 inline const ::std::string& Edge::name() const {
1783 if (has_name()) {
1784 return *EdgeNameOrRef_.name_;
1785 }
1786 return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
1787 }
set_name(const::std::string & value)1788 inline void Edge::set_name(const ::std::string& value) {
1789 if (!has_name()) {
1790 clear_EdgeNameOrRef();
1791 set_has_name();
1792 EdgeNameOrRef_.name_ = new ::std::string;
1793 }
1794 EdgeNameOrRef_.name_->assign(value);
1795 }
set_name(const char * value)1796 inline void Edge::set_name(const char* value) {
1797 if (!has_name()) {
1798 clear_EdgeNameOrRef();
1799 set_has_name();
1800 EdgeNameOrRef_.name_ = new ::std::string;
1801 }
1802 EdgeNameOrRef_.name_->assign(value);
1803 }
set_name(const void * value,size_t size)1804 inline void Edge::set_name(const void* value, size_t size) {
1805 if (!has_name()) {
1806 clear_EdgeNameOrRef();
1807 set_has_name();
1808 EdgeNameOrRef_.name_ = new ::std::string;
1809 }
1810 EdgeNameOrRef_.name_->assign(
1811 reinterpret_cast<const char*>(value), size);
1812 }
mutable_name()1813 inline ::std::string* Edge::mutable_name() {
1814 if (!has_name()) {
1815 clear_EdgeNameOrRef();
1816 set_has_name();
1817 EdgeNameOrRef_.name_ = new ::std::string;
1818 }
1819 return EdgeNameOrRef_.name_;
1820 }
release_name()1821 inline ::std::string* Edge::release_name() {
1822 if (has_name()) {
1823 clear_has_EdgeNameOrRef();
1824 ::std::string* temp = EdgeNameOrRef_.name_;
1825 EdgeNameOrRef_.name_ = NULL;
1826 return temp;
1827 } else {
1828 return NULL;
1829 }
1830 }
set_allocated_name(::std::string * name)1831 inline void Edge::set_allocated_name(::std::string* name) {
1832 clear_EdgeNameOrRef();
1833 if (name) {
1834 set_has_name();
1835 EdgeNameOrRef_.name_ = name;
1836 }
1837 }
1838
1839 // optional uint64 nameRef = 3;
has_nameref()1840 inline bool Edge::has_nameref() const {
1841 return EdgeNameOrRef_case() == kNameRef;
1842 }
set_has_nameref()1843 inline void Edge::set_has_nameref() {
1844 _oneof_case_[0] = kNameRef;
1845 }
clear_nameref()1846 inline void Edge::clear_nameref() {
1847 if (has_nameref()) {
1848 EdgeNameOrRef_.nameref_ = GOOGLE_ULONGLONG(0);
1849 clear_has_EdgeNameOrRef();
1850 }
1851 }
nameref()1852 inline ::google::protobuf::uint64 Edge::nameref() const {
1853 if (has_nameref()) {
1854 return EdgeNameOrRef_.nameref_;
1855 }
1856 return GOOGLE_ULONGLONG(0);
1857 }
set_nameref(::google::protobuf::uint64 value)1858 inline void Edge::set_nameref(::google::protobuf::uint64 value) {
1859 if (!has_nameref()) {
1860 clear_EdgeNameOrRef();
1861 set_has_nameref();
1862 }
1863 EdgeNameOrRef_.nameref_ = value;
1864 }
1865
has_EdgeNameOrRef()1866 inline bool Edge::has_EdgeNameOrRef() {
1867 return EdgeNameOrRef_case() != EDGENAMEORREF_NOT_SET;
1868 }
clear_has_EdgeNameOrRef()1869 inline void Edge::clear_has_EdgeNameOrRef() {
1870 _oneof_case_[0] = EDGENAMEORREF_NOT_SET;
1871 }
EdgeNameOrRef_case()1872 inline Edge::EdgeNameOrRefCase Edge::EdgeNameOrRef_case() const {
1873 return Edge::EdgeNameOrRefCase(_oneof_case_[0]);
1874 }
1875
1876 // @@protoc_insertion_point(namespace_scope)
1877
1878 } // namespace protobuf
1879 } // namespace devtools
1880 } // namespace mozilla
1881
1882 #ifndef SWIG
1883 namespace google {
1884 namespace protobuf {
1885
1886
1887 } // namespace google
1888 } // namespace protobuf
1889 #endif // SWIG
1890
1891 // @@protoc_insertion_point(global_scope)
1892
1893 #endif // PROTOBUF_CoreDump_2eproto__INCLUDED
1894