Line data Source code
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 :
58 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
59 0 : return _unknown_fields_;
60 : }
61 :
62 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
63 0 : 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;
87 0 : 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 :
137 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
138 0 : return _unknown_fields_;
139 : }
140 :
141 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
142 0 : 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;
178 0 : 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 :
342 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
343 0 : return _unknown_fields_;
344 : }
345 :
346 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
347 0 : 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;
377 0 : 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 :
448 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
449 0 : return _unknown_fields_;
450 : }
451 :
452 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
453 0 : 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;
495 0 : 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 :
682 0 : inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
683 0 : return _unknown_fields_;
684 : }
685 :
686 0 : inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
687 0 : 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;
717 0 : 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;
793 0 : inline bool Metadata::has_timestamp() const {
794 0 : return (_has_bits_[0] & 0x00000001u) != 0;
795 : }
796 0 : inline void Metadata::set_has_timestamp() {
797 0 : _has_bits_[0] |= 0x00000001u;
798 0 : }
799 : inline void Metadata::clear_has_timestamp() {
800 : _has_bits_[0] &= ~0x00000001u;
801 : }
802 : inline void Metadata::clear_timestamp() {
803 : timestamp_ = GOOGLE_ULONGLONG(0);
804 : clear_has_timestamp();
805 : }
806 0 : inline ::google::protobuf::uint64 Metadata::timestamp() const {
807 : // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Metadata.timeStamp)
808 0 : return timestamp_;
809 : }
810 0 : inline void Metadata::set_timestamp(::google::protobuf::uint64 value) {
811 0 : set_has_timestamp();
812 0 : timestamp_ = value;
813 : // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Metadata.timeStamp)
814 0 : }
815 :
816 : // -------------------------------------------------------------------
817 :
818 : // StackFrame_Data
819 :
820 : // optional uint64 id = 1;
821 0 : inline bool StackFrame_Data::has_id() const {
822 0 : return (_has_bits_[0] & 0x00000001u) != 0;
823 : }
824 0 : inline void StackFrame_Data::set_has_id() {
825 0 : _has_bits_[0] |= 0x00000001u;
826 0 : }
827 : inline void StackFrame_Data::clear_has_id() {
828 : _has_bits_[0] &= ~0x00000001u;
829 : }
830 : inline void StackFrame_Data::clear_id() {
831 : id_ = GOOGLE_ULONGLONG(0);
832 : clear_has_id();
833 : }
834 0 : inline ::google::protobuf::uint64 StackFrame_Data::id() const {
835 : // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.id)
836 0 : return id_;
837 : }
838 0 : inline void StackFrame_Data::set_id(::google::protobuf::uint64 value) {
839 0 : set_has_id();
840 0 : id_ = value;
841 : // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.id)
842 0 : }
843 :
844 : // optional .mozilla.devtools.protobuf.StackFrame parent = 2;
845 0 : inline bool StackFrame_Data::has_parent() const {
846 0 : return (_has_bits_[0] & 0x00000002u) != 0;
847 : }
848 0 : inline void StackFrame_Data::set_has_parent() {
849 0 : _has_bits_[0] |= 0x00000002u;
850 0 : }
851 0 : inline void StackFrame_Data::clear_has_parent() {
852 0 : _has_bits_[0] &= ~0x00000002u;
853 0 : }
854 : inline void StackFrame_Data::clear_parent() {
855 : if (parent_ != NULL) parent_->::mozilla::devtools::protobuf::StackFrame::Clear();
856 : clear_has_parent();
857 : }
858 0 : inline const ::mozilla::devtools::protobuf::StackFrame& StackFrame_Data::parent() const {
859 : // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.parent)
860 0 : return parent_ != NULL ? *parent_ : *default_instance_->parent_;
861 : }
862 0 : inline ::mozilla::devtools::protobuf::StackFrame* StackFrame_Data::mutable_parent() {
863 0 : set_has_parent();
864 0 : if (parent_ == NULL) parent_ = new ::mozilla::devtools::protobuf::StackFrame;
865 : // @@protoc_insertion_point(field_mutable:mozilla.devtools.protobuf.StackFrame.Data.parent)
866 0 : return parent_;
867 : }
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 : }
874 0 : inline void StackFrame_Data::set_allocated_parent(::mozilla::devtools::protobuf::StackFrame* parent) {
875 0 : delete parent_;
876 0 : parent_ = parent;
877 0 : if (parent) {
878 0 : set_has_parent();
879 : } else {
880 0 : clear_has_parent();
881 : }
882 : // @@protoc_insertion_point(field_set_allocated:mozilla.devtools.protobuf.StackFrame.Data.parent)
883 0 : }
884 :
885 : // optional uint32 line = 3;
886 0 : inline bool StackFrame_Data::has_line() const {
887 0 : return (_has_bits_[0] & 0x00000004u) != 0;
888 : }
889 0 : inline void StackFrame_Data::set_has_line() {
890 0 : _has_bits_[0] |= 0x00000004u;
891 0 : }
892 : inline void StackFrame_Data::clear_has_line() {
893 : _has_bits_[0] &= ~0x00000004u;
894 : }
895 : inline void StackFrame_Data::clear_line() {
896 : line_ = 0u;
897 : clear_has_line();
898 : }
899 0 : inline ::google::protobuf::uint32 StackFrame_Data::line() const {
900 : // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.line)
901 0 : return line_;
902 : }
903 0 : inline void StackFrame_Data::set_line(::google::protobuf::uint32 value) {
904 0 : set_has_line();
905 0 : line_ = value;
906 : // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.line)
907 0 : }
908 :
909 : // optional uint32 column = 4;
910 0 : inline bool StackFrame_Data::has_column() const {
911 0 : return (_has_bits_[0] & 0x00000008u) != 0;
912 : }
913 0 : inline void StackFrame_Data::set_has_column() {
914 0 : _has_bits_[0] |= 0x00000008u;
915 0 : }
916 : inline void StackFrame_Data::clear_has_column() {
917 : _has_bits_[0] &= ~0x00000008u;
918 : }
919 : inline void StackFrame_Data::clear_column() {
920 : column_ = 0u;
921 : clear_has_column();
922 : }
923 0 : inline ::google::protobuf::uint32 StackFrame_Data::column() const {
924 : // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.column)
925 0 : return column_;
926 : }
927 0 : inline void StackFrame_Data::set_column(::google::protobuf::uint32 value) {
928 0 : set_has_column();
929 0 : column_ = value;
930 : // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.column)
931 0 : }
932 :
933 : // optional bytes source = 5;
934 0 : inline bool StackFrame_Data::has_source() const {
935 0 : return SourceOrRef_case() == kSource;
936 : }
937 0 : inline void StackFrame_Data::set_has_source() {
938 0 : _oneof_case_[0] = kSource;
939 0 : }
940 : inline void StackFrame_Data::clear_source() {
941 : if (has_source()) {
942 : delete SourceOrRef_.source_;
943 : clear_has_SourceOrRef();
944 : }
945 : }
946 0 : inline const ::std::string& StackFrame_Data::source() const {
947 0 : if (has_source()) {
948 0 : return *SourceOrRef_.source_;
949 : }
950 0 : return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
951 : }
952 0 : inline void StackFrame_Data::set_source(const ::std::string& value) {
953 0 : if (!has_source()) {
954 0 : clear_SourceOrRef();
955 0 : set_has_source();
956 0 : SourceOrRef_.source_ = new ::std::string;
957 : }
958 0 : SourceOrRef_.source_->assign(value);
959 0 : }
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 : }
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 : }
977 0 : inline ::std::string* StackFrame_Data::mutable_source() {
978 0 : if (!has_source()) {
979 0 : clear_SourceOrRef();
980 0 : set_has_source();
981 0 : SourceOrRef_.source_ = new ::std::string;
982 : }
983 0 : return SourceOrRef_.source_;
984 : }
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 : }
995 0 : inline void StackFrame_Data::set_allocated_source(::std::string* source) {
996 0 : clear_SourceOrRef();
997 0 : if (source) {
998 0 : set_has_source();
999 0 : SourceOrRef_.source_ = source;
1000 : }
1001 0 : }
1002 :
1003 : // optional uint64 sourceRef = 6;
1004 0 : inline bool StackFrame_Data::has_sourceref() const {
1005 0 : return SourceOrRef_case() == kSourceRef;
1006 : }
1007 0 : inline void StackFrame_Data::set_has_sourceref() {
1008 0 : _oneof_case_[0] = kSourceRef;
1009 0 : }
1010 : inline void StackFrame_Data::clear_sourceref() {
1011 : if (has_sourceref()) {
1012 : SourceOrRef_.sourceref_ = GOOGLE_ULONGLONG(0);
1013 : clear_has_SourceOrRef();
1014 : }
1015 : }
1016 0 : inline ::google::protobuf::uint64 StackFrame_Data::sourceref() const {
1017 0 : if (has_sourceref()) {
1018 0 : return SourceOrRef_.sourceref_;
1019 : }
1020 0 : return GOOGLE_ULONGLONG(0);
1021 : }
1022 0 : inline void StackFrame_Data::set_sourceref(::google::protobuf::uint64 value) {
1023 0 : if (!has_sourceref()) {
1024 0 : clear_SourceOrRef();
1025 0 : set_has_sourceref();
1026 : }
1027 0 : SourceOrRef_.sourceref_ = value;
1028 0 : }
1029 :
1030 : // optional bytes functionDisplayName = 7;
1031 0 : inline bool StackFrame_Data::has_functiondisplayname() const {
1032 0 : return FunctionDisplayNameOrRef_case() == kFunctionDisplayName;
1033 : }
1034 0 : inline void StackFrame_Data::set_has_functiondisplayname() {
1035 0 : _oneof_case_[1] = kFunctionDisplayName;
1036 0 : }
1037 : inline void StackFrame_Data::clear_functiondisplayname() {
1038 : if (has_functiondisplayname()) {
1039 : delete FunctionDisplayNameOrRef_.functiondisplayname_;
1040 : clear_has_FunctionDisplayNameOrRef();
1041 : }
1042 : }
1043 0 : inline const ::std::string& StackFrame_Data::functiondisplayname() const {
1044 0 : if (has_functiondisplayname()) {
1045 0 : return *FunctionDisplayNameOrRef_.functiondisplayname_;
1046 : }
1047 0 : return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
1048 : }
1049 0 : inline void StackFrame_Data::set_functiondisplayname(const ::std::string& value) {
1050 0 : if (!has_functiondisplayname()) {
1051 0 : clear_FunctionDisplayNameOrRef();
1052 0 : set_has_functiondisplayname();
1053 0 : FunctionDisplayNameOrRef_.functiondisplayname_ = new ::std::string;
1054 : }
1055 0 : FunctionDisplayNameOrRef_.functiondisplayname_->assign(value);
1056 0 : }
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 : }
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 : }
1074 0 : inline ::std::string* StackFrame_Data::mutable_functiondisplayname() {
1075 0 : if (!has_functiondisplayname()) {
1076 0 : clear_FunctionDisplayNameOrRef();
1077 0 : set_has_functiondisplayname();
1078 0 : FunctionDisplayNameOrRef_.functiondisplayname_ = new ::std::string;
1079 : }
1080 0 : return FunctionDisplayNameOrRef_.functiondisplayname_;
1081 : }
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 : }
1092 0 : inline void StackFrame_Data::set_allocated_functiondisplayname(::std::string* functiondisplayname) {
1093 0 : clear_FunctionDisplayNameOrRef();
1094 0 : if (functiondisplayname) {
1095 0 : set_has_functiondisplayname();
1096 0 : FunctionDisplayNameOrRef_.functiondisplayname_ = functiondisplayname;
1097 : }
1098 0 : }
1099 :
1100 : // optional uint64 functionDisplayNameRef = 8;
1101 0 : inline bool StackFrame_Data::has_functiondisplaynameref() const {
1102 0 : return FunctionDisplayNameOrRef_case() == kFunctionDisplayNameRef;
1103 : }
1104 0 : inline void StackFrame_Data::set_has_functiondisplaynameref() {
1105 0 : _oneof_case_[1] = kFunctionDisplayNameRef;
1106 0 : }
1107 : inline void StackFrame_Data::clear_functiondisplaynameref() {
1108 : if (has_functiondisplaynameref()) {
1109 : FunctionDisplayNameOrRef_.functiondisplaynameref_ = GOOGLE_ULONGLONG(0);
1110 : clear_has_FunctionDisplayNameOrRef();
1111 : }
1112 : }
1113 0 : inline ::google::protobuf::uint64 StackFrame_Data::functiondisplaynameref() const {
1114 0 : if (has_functiondisplaynameref()) {
1115 0 : return FunctionDisplayNameOrRef_.functiondisplaynameref_;
1116 : }
1117 0 : return GOOGLE_ULONGLONG(0);
1118 : }
1119 0 : inline void StackFrame_Data::set_functiondisplaynameref(::google::protobuf::uint64 value) {
1120 0 : if (!has_functiondisplaynameref()) {
1121 0 : clear_FunctionDisplayNameOrRef();
1122 0 : set_has_functiondisplaynameref();
1123 : }
1124 0 : FunctionDisplayNameOrRef_.functiondisplaynameref_ = value;
1125 0 : }
1126 :
1127 : // optional bool isSystem = 9;
1128 0 : inline bool StackFrame_Data::has_issystem() const {
1129 0 : return (_has_bits_[0] & 0x00000100u) != 0;
1130 : }
1131 0 : inline void StackFrame_Data::set_has_issystem() {
1132 0 : _has_bits_[0] |= 0x00000100u;
1133 0 : }
1134 : inline void StackFrame_Data::clear_has_issystem() {
1135 : _has_bits_[0] &= ~0x00000100u;
1136 : }
1137 : inline void StackFrame_Data::clear_issystem() {
1138 : issystem_ = false;
1139 : clear_has_issystem();
1140 : }
1141 0 : inline bool StackFrame_Data::issystem() const {
1142 : // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.isSystem)
1143 0 : return issystem_;
1144 : }
1145 0 : inline void StackFrame_Data::set_issystem(bool value) {
1146 0 : set_has_issystem();
1147 0 : issystem_ = value;
1148 : // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.isSystem)
1149 0 : }
1150 :
1151 : // optional bool isSelfHosted = 10;
1152 0 : inline bool StackFrame_Data::has_isselfhosted() const {
1153 0 : return (_has_bits_[0] & 0x00000200u) != 0;
1154 : }
1155 0 : inline void StackFrame_Data::set_has_isselfhosted() {
1156 0 : _has_bits_[0] |= 0x00000200u;
1157 0 : }
1158 : inline void StackFrame_Data::clear_has_isselfhosted() {
1159 : _has_bits_[0] &= ~0x00000200u;
1160 : }
1161 : inline void StackFrame_Data::clear_isselfhosted() {
1162 : isselfhosted_ = false;
1163 : clear_has_isselfhosted();
1164 : }
1165 0 : inline bool StackFrame_Data::isselfhosted() const {
1166 : // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.isSelfHosted)
1167 0 : return isselfhosted_;
1168 : }
1169 0 : inline void StackFrame_Data::set_isselfhosted(bool value) {
1170 0 : set_has_isselfhosted();
1171 0 : isselfhosted_ = value;
1172 : // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.isSelfHosted)
1173 0 : }
1174 :
1175 0 : inline bool StackFrame_Data::has_SourceOrRef() {
1176 0 : return SourceOrRef_case() != SOURCEORREF_NOT_SET;
1177 : }
1178 3 : inline void StackFrame_Data::clear_has_SourceOrRef() {
1179 3 : _oneof_case_[0] = SOURCEORREF_NOT_SET;
1180 3 : }
1181 0 : inline bool StackFrame_Data::has_FunctionDisplayNameOrRef() {
1182 0 : return FunctionDisplayNameOrRef_case() != FUNCTIONDISPLAYNAMEORREF_NOT_SET;
1183 : }
1184 3 : inline void StackFrame_Data::clear_has_FunctionDisplayNameOrRef() {
1185 3 : _oneof_case_[1] = FUNCTIONDISPLAYNAMEORREF_NOT_SET;
1186 3 : }
1187 0 : inline StackFrame_Data::SourceOrRefCase StackFrame_Data::SourceOrRef_case() const {
1188 0 : return StackFrame_Data::SourceOrRefCase(_oneof_case_[0]);
1189 : }
1190 0 : inline StackFrame_Data::FunctionDisplayNameOrRefCase StackFrame_Data::FunctionDisplayNameOrRef_case() const {
1191 0 : return StackFrame_Data::FunctionDisplayNameOrRefCase(_oneof_case_[1]);
1192 : }
1193 : // -------------------------------------------------------------------
1194 :
1195 : // StackFrame
1196 :
1197 : // optional .mozilla.devtools.protobuf.StackFrame.Data data = 1;
1198 0 : inline bool StackFrame::has_data() const {
1199 0 : return StackFrameType_case() == kData;
1200 : }
1201 0 : inline void StackFrame::set_has_data() {
1202 0 : _oneof_case_[0] = kData;
1203 0 : }
1204 : inline void StackFrame::clear_data() {
1205 : if (has_data()) {
1206 : delete StackFrameType_.data_;
1207 : clear_has_StackFrameType();
1208 : }
1209 : }
1210 0 : inline const ::mozilla::devtools::protobuf::StackFrame_Data& StackFrame::data() const {
1211 0 : return has_data() ? *StackFrameType_.data_
1212 0 : : ::mozilla::devtools::protobuf::StackFrame_Data::default_instance();
1213 : }
1214 0 : inline ::mozilla::devtools::protobuf::StackFrame_Data* StackFrame::mutable_data() {
1215 0 : if (!has_data()) {
1216 0 : clear_StackFrameType();
1217 0 : set_has_data();
1218 0 : StackFrameType_.data_ = new ::mozilla::devtools::protobuf::StackFrame_Data;
1219 : }
1220 0 : return StackFrameType_.data_;
1221 : }
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 : }
1232 0 : inline void StackFrame::set_allocated_data(::mozilla::devtools::protobuf::StackFrame_Data* data) {
1233 0 : clear_StackFrameType();
1234 0 : if (data) {
1235 0 : set_has_data();
1236 0 : StackFrameType_.data_ = data;
1237 : }
1238 0 : }
1239 :
1240 : // optional uint64 ref = 2;
1241 0 : inline bool StackFrame::has_ref() const {
1242 0 : return StackFrameType_case() == kRef;
1243 : }
1244 0 : inline void StackFrame::set_has_ref() {
1245 0 : _oneof_case_[0] = kRef;
1246 0 : }
1247 : inline void StackFrame::clear_ref() {
1248 : if (has_ref()) {
1249 : StackFrameType_.ref_ = GOOGLE_ULONGLONG(0);
1250 : clear_has_StackFrameType();
1251 : }
1252 : }
1253 0 : inline ::google::protobuf::uint64 StackFrame::ref() const {
1254 0 : if (has_ref()) {
1255 0 : return StackFrameType_.ref_;
1256 : }
1257 0 : return GOOGLE_ULONGLONG(0);
1258 : }
1259 0 : inline void StackFrame::set_ref(::google::protobuf::uint64 value) {
1260 0 : if (!has_ref()) {
1261 0 : clear_StackFrameType();
1262 0 : set_has_ref();
1263 : }
1264 0 : StackFrameType_.ref_ = value;
1265 0 : }
1266 :
1267 0 : inline bool StackFrame::has_StackFrameType() {
1268 0 : return StackFrameType_case() != STACKFRAMETYPE_NOT_SET;
1269 : }
1270 3 : inline void StackFrame::clear_has_StackFrameType() {
1271 3 : _oneof_case_[0] = STACKFRAMETYPE_NOT_SET;
1272 3 : }
1273 0 : inline StackFrame::StackFrameTypeCase StackFrame::StackFrameType_case() const {
1274 0 : return StackFrame::StackFrameTypeCase(_oneof_case_[0]);
1275 : }
1276 : // -------------------------------------------------------------------
1277 :
1278 : // Node
1279 :
1280 : // optional uint64 id = 1;
1281 0 : inline bool Node::has_id() const {
1282 0 : return (_has_bits_[0] & 0x00000001u) != 0;
1283 : }
1284 0 : inline void Node::set_has_id() {
1285 0 : _has_bits_[0] |= 0x00000001u;
1286 0 : }
1287 : inline void Node::clear_has_id() {
1288 : _has_bits_[0] &= ~0x00000001u;
1289 : }
1290 : inline void Node::clear_id() {
1291 : id_ = GOOGLE_ULONGLONG(0);
1292 : clear_has_id();
1293 : }
1294 0 : inline ::google::protobuf::uint64 Node::id() const {
1295 : // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.id)
1296 0 : return id_;
1297 : }
1298 0 : inline void Node::set_id(::google::protobuf::uint64 value) {
1299 0 : set_has_id();
1300 0 : id_ = value;
1301 : // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Node.id)
1302 0 : }
1303 :
1304 : // optional bytes typeName = 2;
1305 0 : inline bool Node::has_typename_() const {
1306 0 : return TypeNameOrRef_case() == kTypeName;
1307 : }
1308 0 : inline void Node::set_has_typename_() {
1309 0 : _oneof_case_[0] = kTypeName;
1310 0 : }
1311 : inline void Node::clear_typename_() {
1312 : if (has_typename_()) {
1313 : delete TypeNameOrRef_.typename__;
1314 : clear_has_TypeNameOrRef();
1315 : }
1316 : }
1317 0 : inline const ::std::string& Node::typename_() const {
1318 0 : if (has_typename_()) {
1319 0 : return *TypeNameOrRef_.typename__;
1320 : }
1321 0 : return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
1322 : }
1323 0 : inline void Node::set_typename_(const ::std::string& value) {
1324 0 : if (!has_typename_()) {
1325 0 : clear_TypeNameOrRef();
1326 0 : set_has_typename_();
1327 0 : TypeNameOrRef_.typename__ = new ::std::string;
1328 : }
1329 0 : TypeNameOrRef_.typename__->assign(value);
1330 0 : }
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 : }
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 : }
1348 0 : inline ::std::string* Node::mutable_typename_() {
1349 0 : if (!has_typename_()) {
1350 0 : clear_TypeNameOrRef();
1351 0 : set_has_typename_();
1352 0 : TypeNameOrRef_.typename__ = new ::std::string;
1353 : }
1354 0 : return TypeNameOrRef_.typename__;
1355 : }
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 : }
1366 0 : inline void Node::set_allocated_typename_(::std::string* typename_) {
1367 0 : clear_TypeNameOrRef();
1368 0 : if (typename_) {
1369 0 : set_has_typename_();
1370 0 : TypeNameOrRef_.typename__ = typename_;
1371 : }
1372 0 : }
1373 :
1374 : // optional uint64 typeNameRef = 3;
1375 0 : inline bool Node::has_typenameref() const {
1376 0 : return TypeNameOrRef_case() == kTypeNameRef;
1377 : }
1378 0 : inline void Node::set_has_typenameref() {
1379 0 : _oneof_case_[0] = kTypeNameRef;
1380 0 : }
1381 : inline void Node::clear_typenameref() {
1382 : if (has_typenameref()) {
1383 : TypeNameOrRef_.typenameref_ = GOOGLE_ULONGLONG(0);
1384 : clear_has_TypeNameOrRef();
1385 : }
1386 : }
1387 0 : inline ::google::protobuf::uint64 Node::typenameref() const {
1388 0 : if (has_typenameref()) {
1389 0 : return TypeNameOrRef_.typenameref_;
1390 : }
1391 0 : return GOOGLE_ULONGLONG(0);
1392 : }
1393 0 : inline void Node::set_typenameref(::google::protobuf::uint64 value) {
1394 0 : if (!has_typenameref()) {
1395 0 : clear_TypeNameOrRef();
1396 0 : set_has_typenameref();
1397 : }
1398 0 : TypeNameOrRef_.typenameref_ = value;
1399 0 : }
1400 :
1401 : // optional uint64 size = 4;
1402 0 : inline bool Node::has_size() const {
1403 0 : return (_has_bits_[0] & 0x00000008u) != 0;
1404 : }
1405 0 : inline void Node::set_has_size() {
1406 0 : _has_bits_[0] |= 0x00000008u;
1407 0 : }
1408 : inline void Node::clear_has_size() {
1409 : _has_bits_[0] &= ~0x00000008u;
1410 : }
1411 : inline void Node::clear_size() {
1412 : size_ = GOOGLE_ULONGLONG(0);
1413 : clear_has_size();
1414 : }
1415 0 : inline ::google::protobuf::uint64 Node::size() const {
1416 : // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.size)
1417 0 : return size_;
1418 : }
1419 0 : inline void Node::set_size(::google::protobuf::uint64 value) {
1420 0 : set_has_size();
1421 0 : size_ = value;
1422 : // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Node.size)
1423 0 : }
1424 :
1425 : // repeated .mozilla.devtools.protobuf.Edge edges = 5;
1426 0 : inline int Node::edges_size() const {
1427 0 : return edges_.size();
1428 : }
1429 : inline void Node::clear_edges() {
1430 : edges_.Clear();
1431 : }
1432 0 : inline const ::mozilla::devtools::protobuf::Edge& Node::edges(int index) const {
1433 : // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.edges)
1434 0 : return edges_.Get(index);
1435 : }
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 : }
1440 0 : inline ::mozilla::devtools::protobuf::Edge* Node::add_edges() {
1441 : // @@protoc_insertion_point(field_add:mozilla.devtools.protobuf.Node.edges)
1442 0 : return edges_.Add();
1443 : }
1444 : inline const ::google::protobuf::RepeatedPtrField< ::mozilla::devtools::protobuf::Edge >&
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 >*
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;
1456 0 : inline bool Node::has_allocationstack() const {
1457 0 : return (_has_bits_[0] & 0x00000020u) != 0;
1458 : }
1459 0 : inline void Node::set_has_allocationstack() {
1460 0 : _has_bits_[0] |= 0x00000020u;
1461 0 : }
1462 0 : inline void Node::clear_has_allocationstack() {
1463 0 : _has_bits_[0] &= ~0x00000020u;
1464 0 : }
1465 : inline void Node::clear_allocationstack() {
1466 : if (allocationstack_ != NULL) allocationstack_->::mozilla::devtools::protobuf::StackFrame::Clear();
1467 : clear_has_allocationstack();
1468 : }
1469 0 : inline const ::mozilla::devtools::protobuf::StackFrame& Node::allocationstack() const {
1470 : // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.allocationStack)
1471 0 : return allocationstack_ != NULL ? *allocationstack_ : *default_instance_->allocationstack_;
1472 : }
1473 0 : inline ::mozilla::devtools::protobuf::StackFrame* Node::mutable_allocationstack() {
1474 0 : set_has_allocationstack();
1475 0 : if (allocationstack_ == NULL) allocationstack_ = new ::mozilla::devtools::protobuf::StackFrame;
1476 : // @@protoc_insertion_point(field_mutable:mozilla.devtools.protobuf.Node.allocationStack)
1477 0 : return allocationstack_;
1478 : }
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 : }
1485 0 : inline void Node::set_allocated_allocationstack(::mozilla::devtools::protobuf::StackFrame* allocationstack) {
1486 0 : delete allocationstack_;
1487 0 : allocationstack_ = allocationstack;
1488 0 : if (allocationstack) {
1489 0 : set_has_allocationstack();
1490 : } else {
1491 0 : clear_has_allocationstack();
1492 : }
1493 : // @@protoc_insertion_point(field_set_allocated:mozilla.devtools.protobuf.Node.allocationStack)
1494 0 : }
1495 :
1496 : // optional bytes jsObjectClassName = 7;
1497 0 : inline bool Node::has_jsobjectclassname() const {
1498 0 : return JSObjectClassNameOrRef_case() == kJsObjectClassName;
1499 : }
1500 0 : inline void Node::set_has_jsobjectclassname() {
1501 0 : _oneof_case_[1] = kJsObjectClassName;
1502 0 : }
1503 : inline void Node::clear_jsobjectclassname() {
1504 : if (has_jsobjectclassname()) {
1505 : delete JSObjectClassNameOrRef_.jsobjectclassname_;
1506 : clear_has_JSObjectClassNameOrRef();
1507 : }
1508 : }
1509 0 : inline const ::std::string& Node::jsobjectclassname() const {
1510 0 : if (has_jsobjectclassname()) {
1511 0 : return *JSObjectClassNameOrRef_.jsobjectclassname_;
1512 : }
1513 0 : return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
1514 : }
1515 0 : inline void Node::set_jsobjectclassname(const ::std::string& value) {
1516 0 : if (!has_jsobjectclassname()) {
1517 0 : clear_JSObjectClassNameOrRef();
1518 0 : set_has_jsobjectclassname();
1519 0 : JSObjectClassNameOrRef_.jsobjectclassname_ = new ::std::string;
1520 : }
1521 0 : JSObjectClassNameOrRef_.jsobjectclassname_->assign(value);
1522 0 : }
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 : }
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 : }
1540 0 : inline ::std::string* Node::mutable_jsobjectclassname() {
1541 0 : if (!has_jsobjectclassname()) {
1542 0 : clear_JSObjectClassNameOrRef();
1543 0 : set_has_jsobjectclassname();
1544 0 : JSObjectClassNameOrRef_.jsobjectclassname_ = new ::std::string;
1545 : }
1546 0 : return JSObjectClassNameOrRef_.jsobjectclassname_;
1547 : }
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 : }
1558 0 : inline void Node::set_allocated_jsobjectclassname(::std::string* jsobjectclassname) {
1559 0 : clear_JSObjectClassNameOrRef();
1560 0 : if (jsobjectclassname) {
1561 0 : set_has_jsobjectclassname();
1562 0 : JSObjectClassNameOrRef_.jsobjectclassname_ = jsobjectclassname;
1563 : }
1564 0 : }
1565 :
1566 : // optional uint64 jsObjectClassNameRef = 8;
1567 0 : inline bool Node::has_jsobjectclassnameref() const {
1568 0 : return JSObjectClassNameOrRef_case() == kJsObjectClassNameRef;
1569 : }
1570 0 : inline void Node::set_has_jsobjectclassnameref() {
1571 0 : _oneof_case_[1] = kJsObjectClassNameRef;
1572 0 : }
1573 : inline void Node::clear_jsobjectclassnameref() {
1574 : if (has_jsobjectclassnameref()) {
1575 : JSObjectClassNameOrRef_.jsobjectclassnameref_ = GOOGLE_ULONGLONG(0);
1576 : clear_has_JSObjectClassNameOrRef();
1577 : }
1578 : }
1579 0 : inline ::google::protobuf::uint64 Node::jsobjectclassnameref() const {
1580 0 : if (has_jsobjectclassnameref()) {
1581 0 : return JSObjectClassNameOrRef_.jsobjectclassnameref_;
1582 : }
1583 0 : return GOOGLE_ULONGLONG(0);
1584 : }
1585 0 : inline void Node::set_jsobjectclassnameref(::google::protobuf::uint64 value) {
1586 0 : if (!has_jsobjectclassnameref()) {
1587 0 : clear_JSObjectClassNameOrRef();
1588 0 : set_has_jsobjectclassnameref();
1589 : }
1590 0 : JSObjectClassNameOrRef_.jsobjectclassnameref_ = value;
1591 0 : }
1592 :
1593 : // optional uint32 coarseType = 9 [default = 0];
1594 0 : inline bool Node::has_coarsetype() const {
1595 0 : return (_has_bits_[0] & 0x00000100u) != 0;
1596 : }
1597 0 : inline void Node::set_has_coarsetype() {
1598 0 : _has_bits_[0] |= 0x00000100u;
1599 0 : }
1600 : inline void Node::clear_has_coarsetype() {
1601 : _has_bits_[0] &= ~0x00000100u;
1602 : }
1603 : inline void Node::clear_coarsetype() {
1604 : coarsetype_ = 0u;
1605 : clear_has_coarsetype();
1606 : }
1607 0 : inline ::google::protobuf::uint32 Node::coarsetype() const {
1608 : // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.coarseType)
1609 0 : return coarsetype_;
1610 : }
1611 0 : inline void Node::set_coarsetype(::google::protobuf::uint32 value) {
1612 0 : set_has_coarsetype();
1613 0 : coarsetype_ = value;
1614 : // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Node.coarseType)
1615 0 : }
1616 :
1617 : // optional bytes scriptFilename = 10;
1618 0 : inline bool Node::has_scriptfilename() const {
1619 0 : return ScriptFilenameOrRef_case() == kScriptFilename;
1620 : }
1621 0 : inline void Node::set_has_scriptfilename() {
1622 0 : _oneof_case_[2] = kScriptFilename;
1623 0 : }
1624 : inline void Node::clear_scriptfilename() {
1625 : if (has_scriptfilename()) {
1626 : delete ScriptFilenameOrRef_.scriptfilename_;
1627 : clear_has_ScriptFilenameOrRef();
1628 : }
1629 : }
1630 0 : inline const ::std::string& Node::scriptfilename() const {
1631 0 : if (has_scriptfilename()) {
1632 0 : return *ScriptFilenameOrRef_.scriptfilename_;
1633 : }
1634 0 : return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
1635 : }
1636 0 : inline void Node::set_scriptfilename(const ::std::string& value) {
1637 0 : if (!has_scriptfilename()) {
1638 0 : clear_ScriptFilenameOrRef();
1639 0 : set_has_scriptfilename();
1640 0 : ScriptFilenameOrRef_.scriptfilename_ = new ::std::string;
1641 : }
1642 0 : ScriptFilenameOrRef_.scriptfilename_->assign(value);
1643 0 : }
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 : }
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 : }
1661 0 : inline ::std::string* Node::mutable_scriptfilename() {
1662 0 : if (!has_scriptfilename()) {
1663 0 : clear_ScriptFilenameOrRef();
1664 0 : set_has_scriptfilename();
1665 0 : ScriptFilenameOrRef_.scriptfilename_ = new ::std::string;
1666 : }
1667 0 : return ScriptFilenameOrRef_.scriptfilename_;
1668 : }
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 : }
1679 0 : inline void Node::set_allocated_scriptfilename(::std::string* scriptfilename) {
1680 0 : clear_ScriptFilenameOrRef();
1681 0 : if (scriptfilename) {
1682 0 : set_has_scriptfilename();
1683 0 : ScriptFilenameOrRef_.scriptfilename_ = scriptfilename;
1684 : }
1685 0 : }
1686 :
1687 : // optional uint64 scriptFilenameRef = 11;
1688 0 : inline bool Node::has_scriptfilenameref() const {
1689 0 : return ScriptFilenameOrRef_case() == kScriptFilenameRef;
1690 : }
1691 0 : inline void Node::set_has_scriptfilenameref() {
1692 0 : _oneof_case_[2] = kScriptFilenameRef;
1693 0 : }
1694 : inline void Node::clear_scriptfilenameref() {
1695 : if (has_scriptfilenameref()) {
1696 : ScriptFilenameOrRef_.scriptfilenameref_ = GOOGLE_ULONGLONG(0);
1697 : clear_has_ScriptFilenameOrRef();
1698 : }
1699 : }
1700 0 : inline ::google::protobuf::uint64 Node::scriptfilenameref() const {
1701 0 : if (has_scriptfilenameref()) {
1702 0 : return ScriptFilenameOrRef_.scriptfilenameref_;
1703 : }
1704 0 : return GOOGLE_ULONGLONG(0);
1705 : }
1706 0 : inline void Node::set_scriptfilenameref(::google::protobuf::uint64 value) {
1707 0 : if (!has_scriptfilenameref()) {
1708 0 : clear_ScriptFilenameOrRef();
1709 0 : set_has_scriptfilenameref();
1710 : }
1711 0 : ScriptFilenameOrRef_.scriptfilenameref_ = value;
1712 0 : }
1713 :
1714 0 : inline bool Node::has_TypeNameOrRef() {
1715 0 : return TypeNameOrRef_case() != TYPENAMEORREF_NOT_SET;
1716 : }
1717 3 : inline void Node::clear_has_TypeNameOrRef() {
1718 3 : _oneof_case_[0] = TYPENAMEORREF_NOT_SET;
1719 3 : }
1720 0 : inline bool Node::has_JSObjectClassNameOrRef() {
1721 0 : return JSObjectClassNameOrRef_case() != JSOBJECTCLASSNAMEORREF_NOT_SET;
1722 : }
1723 3 : inline void Node::clear_has_JSObjectClassNameOrRef() {
1724 3 : _oneof_case_[1] = JSOBJECTCLASSNAMEORREF_NOT_SET;
1725 3 : }
1726 0 : inline bool Node::has_ScriptFilenameOrRef() {
1727 0 : return ScriptFilenameOrRef_case() != SCRIPTFILENAMEORREF_NOT_SET;
1728 : }
1729 3 : inline void Node::clear_has_ScriptFilenameOrRef() {
1730 3 : _oneof_case_[2] = SCRIPTFILENAMEORREF_NOT_SET;
1731 3 : }
1732 0 : inline Node::TypeNameOrRefCase Node::TypeNameOrRef_case() const {
1733 0 : return Node::TypeNameOrRefCase(_oneof_case_[0]);
1734 : }
1735 0 : inline Node::JSObjectClassNameOrRefCase Node::JSObjectClassNameOrRef_case() const {
1736 0 : return Node::JSObjectClassNameOrRefCase(_oneof_case_[1]);
1737 : }
1738 0 : inline Node::ScriptFilenameOrRefCase Node::ScriptFilenameOrRef_case() const {
1739 0 : return Node::ScriptFilenameOrRefCase(_oneof_case_[2]);
1740 : }
1741 : // -------------------------------------------------------------------
1742 :
1743 : // Edge
1744 :
1745 : // optional uint64 referent = 1;
1746 0 : inline bool Edge::has_referent() const {
1747 0 : return (_has_bits_[0] & 0x00000001u) != 0;
1748 : }
1749 0 : inline void Edge::set_has_referent() {
1750 0 : _has_bits_[0] |= 0x00000001u;
1751 0 : }
1752 : inline void Edge::clear_has_referent() {
1753 : _has_bits_[0] &= ~0x00000001u;
1754 : }
1755 : inline void Edge::clear_referent() {
1756 : referent_ = GOOGLE_ULONGLONG(0);
1757 : clear_has_referent();
1758 : }
1759 0 : inline ::google::protobuf::uint64 Edge::referent() const {
1760 : // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Edge.referent)
1761 0 : return referent_;
1762 : }
1763 0 : inline void Edge::set_referent(::google::protobuf::uint64 value) {
1764 0 : set_has_referent();
1765 0 : referent_ = value;
1766 : // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Edge.referent)
1767 0 : }
1768 :
1769 : // optional bytes name = 2;
1770 0 : inline bool Edge::has_name() const {
1771 0 : return EdgeNameOrRef_case() == kName;
1772 : }
1773 0 : inline void Edge::set_has_name() {
1774 0 : _oneof_case_[0] = kName;
1775 0 : }
1776 : inline void Edge::clear_name() {
1777 : if (has_name()) {
1778 : delete EdgeNameOrRef_.name_;
1779 : clear_has_EdgeNameOrRef();
1780 : }
1781 : }
1782 0 : inline const ::std::string& Edge::name() const {
1783 0 : if (has_name()) {
1784 0 : return *EdgeNameOrRef_.name_;
1785 : }
1786 0 : return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
1787 : }
1788 0 : inline void Edge::set_name(const ::std::string& value) {
1789 0 : if (!has_name()) {
1790 0 : clear_EdgeNameOrRef();
1791 0 : set_has_name();
1792 0 : EdgeNameOrRef_.name_ = new ::std::string;
1793 : }
1794 0 : EdgeNameOrRef_.name_->assign(value);
1795 0 : }
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 : }
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 : }
1813 0 : inline ::std::string* Edge::mutable_name() {
1814 0 : if (!has_name()) {
1815 0 : clear_EdgeNameOrRef();
1816 0 : set_has_name();
1817 0 : EdgeNameOrRef_.name_ = new ::std::string;
1818 : }
1819 0 : return EdgeNameOrRef_.name_;
1820 : }
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 : }
1831 0 : inline void Edge::set_allocated_name(::std::string* name) {
1832 0 : clear_EdgeNameOrRef();
1833 0 : if (name) {
1834 0 : set_has_name();
1835 0 : EdgeNameOrRef_.name_ = name;
1836 : }
1837 0 : }
1838 :
1839 : // optional uint64 nameRef = 3;
1840 0 : inline bool Edge::has_nameref() const {
1841 0 : return EdgeNameOrRef_case() == kNameRef;
1842 : }
1843 0 : inline void Edge::set_has_nameref() {
1844 0 : _oneof_case_[0] = kNameRef;
1845 0 : }
1846 : inline void Edge::clear_nameref() {
1847 : if (has_nameref()) {
1848 : EdgeNameOrRef_.nameref_ = GOOGLE_ULONGLONG(0);
1849 : clear_has_EdgeNameOrRef();
1850 : }
1851 : }
1852 0 : inline ::google::protobuf::uint64 Edge::nameref() const {
1853 0 : if (has_nameref()) {
1854 0 : return EdgeNameOrRef_.nameref_;
1855 : }
1856 0 : return GOOGLE_ULONGLONG(0);
1857 : }
1858 0 : inline void Edge::set_nameref(::google::protobuf::uint64 value) {
1859 0 : if (!has_nameref()) {
1860 0 : clear_EdgeNameOrRef();
1861 0 : set_has_nameref();
1862 : }
1863 0 : EdgeNameOrRef_.nameref_ = value;
1864 0 : }
1865 :
1866 0 : inline bool Edge::has_EdgeNameOrRef() {
1867 0 : return EdgeNameOrRef_case() != EDGENAMEORREF_NOT_SET;
1868 : }
1869 3 : inline void Edge::clear_has_EdgeNameOrRef() {
1870 3 : _oneof_case_[0] = EDGENAMEORREF_NOT_SET;
1871 3 : }
1872 0 : inline Edge::EdgeNameOrRefCase Edge::EdgeNameOrRef_case() const {
1873 0 : 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
|