1// Generated by Cap'n Proto compiler, DO NOT EDIT
2// source: schema.capnp
3
4#pragma once
5
6#include <capnp/generated-header-support.h>
7#include <kj/windows-sanity.h>
8
9#if CAPNP_VERSION != 8000
10#error "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library."
11#endif
12
13
14namespace capnp {
15namespace schemas {
16
17CAPNP_DECLARE_SCHEMA(e682ab4cf923a417);
18CAPNP_DECLARE_SCHEMA(b9521bccf10fa3b1);
19CAPNP_DECLARE_SCHEMA(debf55bbfa0fc242);
20CAPNP_DECLARE_SCHEMA(f38e1de3041357ae);
21CAPNP_DECLARE_SCHEMA(c2ba9038898e1fa2);
22CAPNP_DECLARE_SCHEMA(9ea0b19b37fb4435);
23CAPNP_DECLARE_SCHEMA(b54ab3364333f598);
24CAPNP_DECLARE_SCHEMA(e82753cff0c2218f);
25CAPNP_DECLARE_SCHEMA(b18aa5ac7a0d9420);
26CAPNP_DECLARE_SCHEMA(ec1619d4400a0290);
27CAPNP_DECLARE_SCHEMA(9aad50a41f4af45f);
28CAPNP_DECLARE_SCHEMA(97b14cbe7cfec712);
29CAPNP_DECLARE_SCHEMA(c42305476bb4746f);
30CAPNP_DECLARE_SCHEMA(cafccddb68db1d11);
31CAPNP_DECLARE_SCHEMA(bb90d5c287870be6);
32CAPNP_DECLARE_SCHEMA(978a7cebdc549a4d);
33CAPNP_DECLARE_SCHEMA(a9962a9ed0a4d7f8);
34CAPNP_DECLARE_SCHEMA(9500cce23b334d80);
35CAPNP_DECLARE_SCHEMA(d07378ede1f9cc60);
36CAPNP_DECLARE_SCHEMA(87e739250a60ea97);
37CAPNP_DECLARE_SCHEMA(9e0e78711a7f87a9);
38CAPNP_DECLARE_SCHEMA(ac3a6f60ef4cc6d3);
39CAPNP_DECLARE_SCHEMA(ed8bca69f7fb0cbf);
40CAPNP_DECLARE_SCHEMA(c2573fe8a23e49f1);
41CAPNP_DECLARE_SCHEMA(8e3b5f79fe593656);
42CAPNP_DECLARE_SCHEMA(9dd1f724f4614a85);
43CAPNP_DECLARE_SCHEMA(baefc9120c56e274);
44CAPNP_DECLARE_SCHEMA(903455f06065422b);
45CAPNP_DECLARE_SCHEMA(abd73485a9636bc9);
46CAPNP_DECLARE_SCHEMA(c863cd16969ee7fc);
47CAPNP_DECLARE_SCHEMA(ce23dcd2d7b00c9b);
48CAPNP_DECLARE_SCHEMA(f1c8950dab257542);
49CAPNP_DECLARE_SCHEMA(d1958f7dba521926);
50enum class ElementSize_d1958f7dba521926: uint16_t {
51 EMPTY,
52 BIT,
53 BYTE,
54 TWO_BYTES,
55 FOUR_BYTES,
56 EIGHT_BYTES,
57 POINTER,
58 INLINE_COMPOSITE,
59};
60CAPNP_DECLARE_ENUM(ElementSize, d1958f7dba521926);
61CAPNP_DECLARE_SCHEMA(d85d305b7d839963);
62CAPNP_DECLARE_SCHEMA(bfc546f6210ad7ce);
63CAPNP_DECLARE_SCHEMA(cfea0eb02e810062);
64CAPNP_DECLARE_SCHEMA(ae504193122357e5);
65
66} // namespace schemas
67} // namespace capnp
68
69namespace capnp {
70namespace schema {
71
72struct Node {
73 Node() = delete;
74
75 class Reader;
76 class Builder;
77 class Pipeline;
78 enum Which: uint16_t {
79 FILE,
80 STRUCT,
81 ENUM,
82 INTERFACE,
83 CONST,
84 ANNOTATION,
85 };
86 struct Parameter;
87 struct NestedNode;
88 struct SourceInfo;
89 struct Struct;
90 struct Enum;
91 struct Interface;
92 struct Const;
93 struct Annotation;
94
95 struct _capnpPrivate {
96 CAPNP_DECLARE_STRUCT_HEADER(e682ab4cf923a417, 5, 6)
97 #if !CAPNP_LITE
98 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
99 #endif // !CAPNP_LITE
100 };
101};
102
103struct Node::Parameter {
104 Parameter() = delete;
105
106 class Reader;
107 class Builder;
108 class Pipeline;
109
110 struct _capnpPrivate {
111 CAPNP_DECLARE_STRUCT_HEADER(b9521bccf10fa3b1, 0, 1)
112 #if !CAPNP_LITE
113 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
114 #endif // !CAPNP_LITE
115 };
116};
117
118struct Node::NestedNode {
119 NestedNode() = delete;
120
121 class Reader;
122 class Builder;
123 class Pipeline;
124
125 struct _capnpPrivate {
126 CAPNP_DECLARE_STRUCT_HEADER(debf55bbfa0fc242, 1, 1)
127 #if !CAPNP_LITE
128 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
129 #endif // !CAPNP_LITE
130 };
131};
132
133struct Node::SourceInfo {
134 SourceInfo() = delete;
135
136 class Reader;
137 class Builder;
138 class Pipeline;
139 struct Member;
140
141 struct _capnpPrivate {
142 CAPNP_DECLARE_STRUCT_HEADER(f38e1de3041357ae, 1, 2)
143 #if !CAPNP_LITE
144 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
145 #endif // !CAPNP_LITE
146 };
147};
148
149struct Node::SourceInfo::Member {
150 Member() = delete;
151
152 class Reader;
153 class Builder;
154 class Pipeline;
155
156 struct _capnpPrivate {
157 CAPNP_DECLARE_STRUCT_HEADER(c2ba9038898e1fa2, 0, 1)
158 #if !CAPNP_LITE
159 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
160 #endif // !CAPNP_LITE
161 };
162};
163
164struct Node::Struct {
165 Struct() = delete;
166
167 class Reader;
168 class Builder;
169 class Pipeline;
170
171 struct _capnpPrivate {
172 CAPNP_DECLARE_STRUCT_HEADER(9ea0b19b37fb4435, 5, 6)
173 #if !CAPNP_LITE
174 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
175 #endif // !CAPNP_LITE
176 };
177};
178
179struct Node::Enum {
180 Enum() = delete;
181
182 class Reader;
183 class Builder;
184 class Pipeline;
185
186 struct _capnpPrivate {
187 CAPNP_DECLARE_STRUCT_HEADER(b54ab3364333f598, 5, 6)
188 #if !CAPNP_LITE
189 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
190 #endif // !CAPNP_LITE
191 };
192};
193
194struct Node::Interface {
195 Interface() = delete;
196
197 class Reader;
198 class Builder;
199 class Pipeline;
200
201 struct _capnpPrivate {
202 CAPNP_DECLARE_STRUCT_HEADER(e82753cff0c2218f, 5, 6)
203 #if !CAPNP_LITE
204 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
205 #endif // !CAPNP_LITE
206 };
207};
208
209struct Node::Const {
210 Const() = delete;
211
212 class Reader;
213 class Builder;
214 class Pipeline;
215
216 struct _capnpPrivate {
217 CAPNP_DECLARE_STRUCT_HEADER(b18aa5ac7a0d9420, 5, 6)
218 #if !CAPNP_LITE
219 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
220 #endif // !CAPNP_LITE
221 };
222};
223
224struct Node::Annotation {
225 Annotation() = delete;
226
227 class Reader;
228 class Builder;
229 class Pipeline;
230
231 struct _capnpPrivate {
232 CAPNP_DECLARE_STRUCT_HEADER(ec1619d4400a0290, 5, 6)
233 #if !CAPNP_LITE
234 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
235 #endif // !CAPNP_LITE
236 };
237};
238
239struct Field {
240 Field() = delete;
241
242 class Reader;
243 class Builder;
244 class Pipeline;
245 enum Which: uint16_t {
246 SLOT,
247 GROUP,
248 };
249 static constexpr ::uint16_t NO_DISCRIMINANT = 65535u;
250 struct Slot;
251 struct Group;
252 struct Ordinal;
253
254 struct _capnpPrivate {
255 CAPNP_DECLARE_STRUCT_HEADER(9aad50a41f4af45f, 3, 4)
256 #if !CAPNP_LITE
257 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
258 #endif // !CAPNP_LITE
259 };
260};
261
262struct Field::Slot {
263 Slot() = delete;
264
265 class Reader;
266 class Builder;
267 class Pipeline;
268
269 struct _capnpPrivate {
270 CAPNP_DECLARE_STRUCT_HEADER(c42305476bb4746f, 3, 4)
271 #if !CAPNP_LITE
272 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
273 #endif // !CAPNP_LITE
274 };
275};
276
277struct Field::Group {
278 Group() = delete;
279
280 class Reader;
281 class Builder;
282 class Pipeline;
283
284 struct _capnpPrivate {
285 CAPNP_DECLARE_STRUCT_HEADER(cafccddb68db1d11, 3, 4)
286 #if !CAPNP_LITE
287 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
288 #endif // !CAPNP_LITE
289 };
290};
291
292struct Field::Ordinal {
293 Ordinal() = delete;
294
295 class Reader;
296 class Builder;
297 class Pipeline;
298 enum Which: uint16_t {
299 IMPLICIT,
300 EXPLICIT,
301 };
302
303 struct _capnpPrivate {
304 CAPNP_DECLARE_STRUCT_HEADER(bb90d5c287870be6, 3, 4)
305 #if !CAPNP_LITE
306 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
307 #endif // !CAPNP_LITE
308 };
309};
310
311struct Enumerant {
312 Enumerant() = delete;
313
314 class Reader;
315 class Builder;
316 class Pipeline;
317
318 struct _capnpPrivate {
319 CAPNP_DECLARE_STRUCT_HEADER(978a7cebdc549a4d, 1, 2)
320 #if !CAPNP_LITE
321 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
322 #endif // !CAPNP_LITE
323 };
324};
325
326struct Superclass {
327 Superclass() = delete;
328
329 class Reader;
330 class Builder;
331 class Pipeline;
332
333 struct _capnpPrivate {
334 CAPNP_DECLARE_STRUCT_HEADER(a9962a9ed0a4d7f8, 1, 1)
335 #if !CAPNP_LITE
336 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
337 #endif // !CAPNP_LITE
338 };
339};
340
341struct Method {
342 Method() = delete;
343
344 class Reader;
345 class Builder;
346 class Pipeline;
347
348 struct _capnpPrivate {
349 CAPNP_DECLARE_STRUCT_HEADER(9500cce23b334d80, 3, 5)
350 #if !CAPNP_LITE
351 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
352 #endif // !CAPNP_LITE
353 };
354};
355
356struct Type {
357 Type() = delete;
358
359 class Reader;
360 class Builder;
361 class Pipeline;
362 enum Which: uint16_t {
363 VOID,
364 BOOL,
365 INT8,
366 INT16,
367 INT32,
368 INT64,
369 UINT8,
370 UINT16,
371 UINT32,
372 UINT64,
373 FLOAT32,
374 FLOAT64,
375 TEXT,
376 DATA,
377 LIST,
378 ENUM,
379 STRUCT,
380 INTERFACE,
381 ANY_POINTER,
382 };
383 struct List;
384 struct Enum;
385 struct Struct;
386 struct Interface;
387 struct AnyPointer;
388
389 struct _capnpPrivate {
390 CAPNP_DECLARE_STRUCT_HEADER(d07378ede1f9cc60, 3, 1)
391 #if !CAPNP_LITE
392 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
393 #endif // !CAPNP_LITE
394 };
395};
396
397struct Type::List {
398 List() = delete;
399
400 class Reader;
401 class Builder;
402 class Pipeline;
403
404 struct _capnpPrivate {
405 CAPNP_DECLARE_STRUCT_HEADER(87e739250a60ea97, 3, 1)
406 #if !CAPNP_LITE
407 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
408 #endif // !CAPNP_LITE
409 };
410};
411
412struct Type::Enum {
413 Enum() = delete;
414
415 class Reader;
416 class Builder;
417 class Pipeline;
418
419 struct _capnpPrivate {
420 CAPNP_DECLARE_STRUCT_HEADER(9e0e78711a7f87a9, 3, 1)
421 #if !CAPNP_LITE
422 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
423 #endif // !CAPNP_LITE
424 };
425};
426
427struct Type::Struct {
428 Struct() = delete;
429
430 class Reader;
431 class Builder;
432 class Pipeline;
433
434 struct _capnpPrivate {
435 CAPNP_DECLARE_STRUCT_HEADER(ac3a6f60ef4cc6d3, 3, 1)
436 #if !CAPNP_LITE
437 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
438 #endif // !CAPNP_LITE
439 };
440};
441
442struct Type::Interface {
443 Interface() = delete;
444
445 class Reader;
446 class Builder;
447 class Pipeline;
448
449 struct _capnpPrivate {
450 CAPNP_DECLARE_STRUCT_HEADER(ed8bca69f7fb0cbf, 3, 1)
451 #if !CAPNP_LITE
452 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
453 #endif // !CAPNP_LITE
454 };
455};
456
457struct Type::AnyPointer {
458 AnyPointer() = delete;
459
460 class Reader;
461 class Builder;
462 class Pipeline;
463 enum Which: uint16_t {
464 UNCONSTRAINED,
465 PARAMETER,
466 IMPLICIT_METHOD_PARAMETER,
467 };
468 struct Unconstrained;
469 struct Parameter;
470 struct ImplicitMethodParameter;
471
472 struct _capnpPrivate {
473 CAPNP_DECLARE_STRUCT_HEADER(c2573fe8a23e49f1, 3, 1)
474 #if !CAPNP_LITE
475 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
476 #endif // !CAPNP_LITE
477 };
478};
479
480struct Type::AnyPointer::Unconstrained {
481 Unconstrained() = delete;
482
483 class Reader;
484 class Builder;
485 class Pipeline;
486 enum Which: uint16_t {
487 ANY_KIND,
488 STRUCT,
489 LIST,
490 CAPABILITY,
491 };
492
493 struct _capnpPrivate {
494 CAPNP_DECLARE_STRUCT_HEADER(8e3b5f79fe593656, 3, 1)
495 #if !CAPNP_LITE
496 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
497 #endif // !CAPNP_LITE
498 };
499};
500
501struct Type::AnyPointer::Parameter {
502 Parameter() = delete;
503
504 class Reader;
505 class Builder;
506 class Pipeline;
507
508 struct _capnpPrivate {
509 CAPNP_DECLARE_STRUCT_HEADER(9dd1f724f4614a85, 3, 1)
510 #if !CAPNP_LITE
511 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
512 #endif // !CAPNP_LITE
513 };
514};
515
516struct Type::AnyPointer::ImplicitMethodParameter {
517 ImplicitMethodParameter() = delete;
518
519 class Reader;
520 class Builder;
521 class Pipeline;
522
523 struct _capnpPrivate {
524 CAPNP_DECLARE_STRUCT_HEADER(baefc9120c56e274, 3, 1)
525 #if !CAPNP_LITE
526 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
527 #endif // !CAPNP_LITE
528 };
529};
530
531struct Brand {
532 Brand() = delete;
533
534 class Reader;
535 class Builder;
536 class Pipeline;
537 struct Scope;
538 struct Binding;
539
540 struct _capnpPrivate {
541 CAPNP_DECLARE_STRUCT_HEADER(903455f06065422b, 0, 1)
542 #if !CAPNP_LITE
543 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
544 #endif // !CAPNP_LITE
545 };
546};
547
548struct Brand::Scope {
549 Scope() = delete;
550
551 class Reader;
552 class Builder;
553 class Pipeline;
554 enum Which: uint16_t {
555 BIND,
556 INHERIT,
557 };
558
559 struct _capnpPrivate {
560 CAPNP_DECLARE_STRUCT_HEADER(abd73485a9636bc9, 2, 1)
561 #if !CAPNP_LITE
562 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
563 #endif // !CAPNP_LITE
564 };
565};
566
567struct Brand::Binding {
568 Binding() = delete;
569
570 class Reader;
571 class Builder;
572 class Pipeline;
573 enum Which: uint16_t {
574 UNBOUND,
575 TYPE,
576 };
577
578 struct _capnpPrivate {
579 CAPNP_DECLARE_STRUCT_HEADER(c863cd16969ee7fc, 1, 1)
580 #if !CAPNP_LITE
581 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
582 #endif // !CAPNP_LITE
583 };
584};
585
586struct Value {
587 Value() = delete;
588
589 class Reader;
590 class Builder;
591 class Pipeline;
592 enum Which: uint16_t {
593 VOID,
594 BOOL,
595 INT8,
596 INT16,
597 INT32,
598 INT64,
599 UINT8,
600 UINT16,
601 UINT32,
602 UINT64,
603 FLOAT32,
604 FLOAT64,
605 TEXT,
606 DATA,
607 LIST,
608 ENUM,
609 STRUCT,
610 INTERFACE,
611 ANY_POINTER,
612 };
613
614 struct _capnpPrivate {
615 CAPNP_DECLARE_STRUCT_HEADER(ce23dcd2d7b00c9b, 2, 1)
616 #if !CAPNP_LITE
617 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
618 #endif // !CAPNP_LITE
619 };
620};
621
622struct Annotation {
623 Annotation() = delete;
624
625 class Reader;
626 class Builder;
627 class Pipeline;
628
629 struct _capnpPrivate {
630 CAPNP_DECLARE_STRUCT_HEADER(f1c8950dab257542, 1, 2)
631 #if !CAPNP_LITE
632 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
633 #endif // !CAPNP_LITE
634 };
635};
636
637typedef ::capnp::schemas::ElementSize_d1958f7dba521926 ElementSize;
638
639struct CapnpVersion {
640 CapnpVersion() = delete;
641
642 class Reader;
643 class Builder;
644 class Pipeline;
645
646 struct _capnpPrivate {
647 CAPNP_DECLARE_STRUCT_HEADER(d85d305b7d839963, 1, 0)
648 #if !CAPNP_LITE
649 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
650 #endif // !CAPNP_LITE
651 };
652};
653
654struct CodeGeneratorRequest {
655 CodeGeneratorRequest() = delete;
656
657 class Reader;
658 class Builder;
659 class Pipeline;
660 struct RequestedFile;
661
662 struct _capnpPrivate {
663 CAPNP_DECLARE_STRUCT_HEADER(bfc546f6210ad7ce, 0, 4)
664 #if !CAPNP_LITE
665 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
666 #endif // !CAPNP_LITE
667 };
668};
669
670struct CodeGeneratorRequest::RequestedFile {
671 RequestedFile() = delete;
672
673 class Reader;
674 class Builder;
675 class Pipeline;
676 struct Import;
677
678 struct _capnpPrivate {
679 CAPNP_DECLARE_STRUCT_HEADER(cfea0eb02e810062, 1, 2)
680 #if !CAPNP_LITE
681 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
682 #endif // !CAPNP_LITE
683 };
684};
685
686struct CodeGeneratorRequest::RequestedFile::Import {
687 Import() = delete;
688
689 class Reader;
690 class Builder;
691 class Pipeline;
692
693 struct _capnpPrivate {
694 CAPNP_DECLARE_STRUCT_HEADER(ae504193122357e5, 1, 1)
695 #if !CAPNP_LITE
696 static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
697 #endif // !CAPNP_LITE
698 };
699};
700
701// =======================================================================================
702
703class Node::Reader {
704public:
705 typedef Node Reads;
706
707 Reader() = default;
708 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
709
710 inline ::capnp::MessageSize totalSize() const {
711 return _reader.totalSize().asPublic();
712 }
713
714#if !CAPNP_LITE
715 inline ::kj::StringTree toString() const {
716 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
717 }
718#endif // !CAPNP_LITE
719
720 inline Which which() const;
721 inline ::uint64_t getId() const;
722
723 inline bool hasDisplayName() const;
724 inline ::capnp::Text::Reader getDisplayName() const;
725
726 inline ::uint32_t getDisplayNamePrefixLength() const;
727
728 inline ::uint64_t getScopeId() const;
729
730 inline bool hasNestedNodes() const;
731 inline ::capnp::List< ::capnp::schema::Node::NestedNode, ::capnp::Kind::STRUCT>::Reader getNestedNodes() const;
732
733 inline bool hasAnnotations() const;
734 inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Reader getAnnotations() const;
735
736 inline bool isFile() const;
737 inline ::capnp::Void getFile() const;
738
739 inline bool isStruct() const;
740 inline typename Struct::Reader getStruct() const;
741
742 inline bool isEnum() const;
743 inline typename Enum::Reader getEnum() const;
744
745 inline bool isInterface() const;
746 inline typename Interface::Reader getInterface() const;
747
748 inline bool isConst() const;
749 inline typename Const::Reader getConst() const;
750
751 inline bool isAnnotation() const;
752 inline typename Annotation::Reader getAnnotation() const;
753
754 inline bool hasParameters() const;
755 inline ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>::Reader getParameters() const;
756
757 inline bool getIsGeneric() const;
758
759private:
760 ::capnp::_::StructReader _reader;
761 template <typename, ::capnp::Kind>
762 friend struct ::capnp::ToDynamic_;
763 template <typename, ::capnp::Kind>
764 friend struct ::capnp::_::PointerHelpers;
765 template <typename, ::capnp::Kind>
766 friend struct ::capnp::List;
767 friend class ::capnp::MessageBuilder;
768 friend class ::capnp::Orphanage;
769};
770
771class Node::Builder {
772public:
773 typedef Node Builds;
774
775 Builder() = delete; // Deleted to discourage incorrect usage.
776 // You can explicitly initialize to nullptr instead.
777 inline Builder(decltype(nullptr)) {}
778 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
779 inline operator Reader() const { return Reader(_builder.asReader()); }
780 inline Reader asReader() const { return *this; }
781
782 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
783#if !CAPNP_LITE
784 inline ::kj::StringTree toString() const { return asReader().toString(); }
785#endif // !CAPNP_LITE
786
787 inline Which which();
788 inline ::uint64_t getId();
789 inline void setId( ::uint64_t value);
790
791 inline bool hasDisplayName();
792 inline ::capnp::Text::Builder getDisplayName();
793 inline void setDisplayName( ::capnp::Text::Reader value);
794 inline ::capnp::Text::Builder initDisplayName(unsigned int size);
795 inline void adoptDisplayName(::capnp::Orphan< ::capnp::Text>&& value);
796 inline ::capnp::Orphan< ::capnp::Text> disownDisplayName();
797
798 inline ::uint32_t getDisplayNamePrefixLength();
799 inline void setDisplayNamePrefixLength( ::uint32_t value);
800
801 inline ::uint64_t getScopeId();
802 inline void setScopeId( ::uint64_t value);
803
804 inline bool hasNestedNodes();
805 inline ::capnp::List< ::capnp::schema::Node::NestedNode, ::capnp::Kind::STRUCT>::Builder getNestedNodes();
806 inline void setNestedNodes( ::capnp::List< ::capnp::schema::Node::NestedNode, ::capnp::Kind::STRUCT>::Reader value);
807 inline ::capnp::List< ::capnp::schema::Node::NestedNode, ::capnp::Kind::STRUCT>::Builder initNestedNodes(unsigned int size);
808 inline void adoptNestedNodes(::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::NestedNode, ::capnp::Kind::STRUCT>>&& value);
809 inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::NestedNode, ::capnp::Kind::STRUCT>> disownNestedNodes();
810
811 inline bool hasAnnotations();
812 inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Builder getAnnotations();
813 inline void setAnnotations( ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Reader value);
814 inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Builder initAnnotations(unsigned int size);
815 inline void adoptAnnotations(::capnp::Orphan< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>&& value);
816 inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>> disownAnnotations();
817
818 inline bool isFile();
819 inline ::capnp::Void getFile();
820 inline void setFile( ::capnp::Void value = ::capnp::VOID);
821
822 inline bool isStruct();
823 inline typename Struct::Builder getStruct();
824 inline typename Struct::Builder initStruct();
825
826 inline bool isEnum();
827 inline typename Enum::Builder getEnum();
828 inline typename Enum::Builder initEnum();
829
830 inline bool isInterface();
831 inline typename Interface::Builder getInterface();
832 inline typename Interface::Builder initInterface();
833
834 inline bool isConst();
835 inline typename Const::Builder getConst();
836 inline typename Const::Builder initConst();
837
838 inline bool isAnnotation();
839 inline typename Annotation::Builder getAnnotation();
840 inline typename Annotation::Builder initAnnotation();
841
842 inline bool hasParameters();
843 inline ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>::Builder getParameters();
844 inline void setParameters( ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>::Reader value);
845 inline ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>::Builder initParameters(unsigned int size);
846 inline void adoptParameters(::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>>&& value);
847 inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>> disownParameters();
848
849 inline bool getIsGeneric();
850 inline void setIsGeneric(bool value);
851
852private:
853 ::capnp::_::StructBuilder _builder;
854 template <typename, ::capnp::Kind>
855 friend struct ::capnp::ToDynamic_;
856 friend class ::capnp::Orphanage;
857 template <typename, ::capnp::Kind>
858 friend struct ::capnp::_::PointerHelpers;
859};
860
861#if !CAPNP_LITE
862class Node::Pipeline {
863public:
864 typedef Node Pipelines;
865
866 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
867 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
868 : _typeless(kj::mv(typeless)) {}
869
870private:
871 ::capnp::AnyPointer::Pipeline _typeless;
872 friend class ::capnp::PipelineHook;
873 template <typename, ::capnp::Kind>
874 friend struct ::capnp::ToDynamic_;
875};
876#endif // !CAPNP_LITE
877
878class Node::Parameter::Reader {
879public:
880 typedef Parameter Reads;
881
882 Reader() = default;
883 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
884
885 inline ::capnp::MessageSize totalSize() const {
886 return _reader.totalSize().asPublic();
887 }
888
889#if !CAPNP_LITE
890 inline ::kj::StringTree toString() const {
891 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
892 }
893#endif // !CAPNP_LITE
894
895 inline bool hasName() const;
896 inline ::capnp::Text::Reader getName() const;
897
898private:
899 ::capnp::_::StructReader _reader;
900 template <typename, ::capnp::Kind>
901 friend struct ::capnp::ToDynamic_;
902 template <typename, ::capnp::Kind>
903 friend struct ::capnp::_::PointerHelpers;
904 template <typename, ::capnp::Kind>
905 friend struct ::capnp::List;
906 friend class ::capnp::MessageBuilder;
907 friend class ::capnp::Orphanage;
908};
909
910class Node::Parameter::Builder {
911public:
912 typedef Parameter Builds;
913
914 Builder() = delete; // Deleted to discourage incorrect usage.
915 // You can explicitly initialize to nullptr instead.
916 inline Builder(decltype(nullptr)) {}
917 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
918 inline operator Reader() const { return Reader(_builder.asReader()); }
919 inline Reader asReader() const { return *this; }
920
921 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
922#if !CAPNP_LITE
923 inline ::kj::StringTree toString() const { return asReader().toString(); }
924#endif // !CAPNP_LITE
925
926 inline bool hasName();
927 inline ::capnp::Text::Builder getName();
928 inline void setName( ::capnp::Text::Reader value);
929 inline ::capnp::Text::Builder initName(unsigned int size);
930 inline void adoptName(::capnp::Orphan< ::capnp::Text>&& value);
931 inline ::capnp::Orphan< ::capnp::Text> disownName();
932
933private:
934 ::capnp::_::StructBuilder _builder;
935 template <typename, ::capnp::Kind>
936 friend struct ::capnp::ToDynamic_;
937 friend class ::capnp::Orphanage;
938 template <typename, ::capnp::Kind>
939 friend struct ::capnp::_::PointerHelpers;
940};
941
942#if !CAPNP_LITE
943class Node::Parameter::Pipeline {
944public:
945 typedef Parameter Pipelines;
946
947 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
948 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
949 : _typeless(kj::mv(typeless)) {}
950
951private:
952 ::capnp::AnyPointer::Pipeline _typeless;
953 friend class ::capnp::PipelineHook;
954 template <typename, ::capnp::Kind>
955 friend struct ::capnp::ToDynamic_;
956};
957#endif // !CAPNP_LITE
958
959class Node::NestedNode::Reader {
960public:
961 typedef NestedNode Reads;
962
963 Reader() = default;
964 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
965
966 inline ::capnp::MessageSize totalSize() const {
967 return _reader.totalSize().asPublic();
968 }
969
970#if !CAPNP_LITE
971 inline ::kj::StringTree toString() const {
972 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
973 }
974#endif // !CAPNP_LITE
975
976 inline bool hasName() const;
977 inline ::capnp::Text::Reader getName() const;
978
979 inline ::uint64_t getId() const;
980
981private:
982 ::capnp::_::StructReader _reader;
983 template <typename, ::capnp::Kind>
984 friend struct ::capnp::ToDynamic_;
985 template <typename, ::capnp::Kind>
986 friend struct ::capnp::_::PointerHelpers;
987 template <typename, ::capnp::Kind>
988 friend struct ::capnp::List;
989 friend class ::capnp::MessageBuilder;
990 friend class ::capnp::Orphanage;
991};
992
993class Node::NestedNode::Builder {
994public:
995 typedef NestedNode Builds;
996
997 Builder() = delete; // Deleted to discourage incorrect usage.
998 // You can explicitly initialize to nullptr instead.
999 inline Builder(decltype(nullptr)) {}
1000 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1001 inline operator Reader() const { return Reader(_builder.asReader()); }
1002 inline Reader asReader() const { return *this; }
1003
1004 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1005#if !CAPNP_LITE
1006 inline ::kj::StringTree toString() const { return asReader().toString(); }
1007#endif // !CAPNP_LITE
1008
1009 inline bool hasName();
1010 inline ::capnp::Text::Builder getName();
1011 inline void setName( ::capnp::Text::Reader value);
1012 inline ::capnp::Text::Builder initName(unsigned int size);
1013 inline void adoptName(::capnp::Orphan< ::capnp::Text>&& value);
1014 inline ::capnp::Orphan< ::capnp::Text> disownName();
1015
1016 inline ::uint64_t getId();
1017 inline void setId( ::uint64_t value);
1018
1019private:
1020 ::capnp::_::StructBuilder _builder;
1021 template <typename, ::capnp::Kind>
1022 friend struct ::capnp::ToDynamic_;
1023 friend class ::capnp::Orphanage;
1024 template <typename, ::capnp::Kind>
1025 friend struct ::capnp::_::PointerHelpers;
1026};
1027
1028#if !CAPNP_LITE
1029class Node::NestedNode::Pipeline {
1030public:
1031 typedef NestedNode Pipelines;
1032
1033 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1034 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1035 : _typeless(kj::mv(typeless)) {}
1036
1037private:
1038 ::capnp::AnyPointer::Pipeline _typeless;
1039 friend class ::capnp::PipelineHook;
1040 template <typename, ::capnp::Kind>
1041 friend struct ::capnp::ToDynamic_;
1042};
1043#endif // !CAPNP_LITE
1044
1045class Node::SourceInfo::Reader {
1046public:
1047 typedef SourceInfo Reads;
1048
1049 Reader() = default;
1050 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1051
1052 inline ::capnp::MessageSize totalSize() const {
1053 return _reader.totalSize().asPublic();
1054 }
1055
1056#if !CAPNP_LITE
1057 inline ::kj::StringTree toString() const {
1058 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1059 }
1060#endif // !CAPNP_LITE
1061
1062 inline ::uint64_t getId() const;
1063
1064 inline bool hasDocComment() const;
1065 inline ::capnp::Text::Reader getDocComment() const;
1066
1067 inline bool hasMembers() const;
1068 inline ::capnp::List< ::capnp::schema::Node::SourceInfo::Member, ::capnp::Kind::STRUCT>::Reader getMembers() const;
1069
1070private:
1071 ::capnp::_::StructReader _reader;
1072 template <typename, ::capnp::Kind>
1073 friend struct ::capnp::ToDynamic_;
1074 template <typename, ::capnp::Kind>
1075 friend struct ::capnp::_::PointerHelpers;
1076 template <typename, ::capnp::Kind>
1077 friend struct ::capnp::List;
1078 friend class ::capnp::MessageBuilder;
1079 friend class ::capnp::Orphanage;
1080};
1081
1082class Node::SourceInfo::Builder {
1083public:
1084 typedef SourceInfo Builds;
1085
1086 Builder() = delete; // Deleted to discourage incorrect usage.
1087 // You can explicitly initialize to nullptr instead.
1088 inline Builder(decltype(nullptr)) {}
1089 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1090 inline operator Reader() const { return Reader(_builder.asReader()); }
1091 inline Reader asReader() const { return *this; }
1092
1093 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1094#if !CAPNP_LITE
1095 inline ::kj::StringTree toString() const { return asReader().toString(); }
1096#endif // !CAPNP_LITE
1097
1098 inline ::uint64_t getId();
1099 inline void setId( ::uint64_t value);
1100
1101 inline bool hasDocComment();
1102 inline ::capnp::Text::Builder getDocComment();
1103 inline void setDocComment( ::capnp::Text::Reader value);
1104 inline ::capnp::Text::Builder initDocComment(unsigned int size);
1105 inline void adoptDocComment(::capnp::Orphan< ::capnp::Text>&& value);
1106 inline ::capnp::Orphan< ::capnp::Text> disownDocComment();
1107
1108 inline bool hasMembers();
1109 inline ::capnp::List< ::capnp::schema::Node::SourceInfo::Member, ::capnp::Kind::STRUCT>::Builder getMembers();
1110 inline void setMembers( ::capnp::List< ::capnp::schema::Node::SourceInfo::Member, ::capnp::Kind::STRUCT>::Reader value);
1111 inline ::capnp::List< ::capnp::schema::Node::SourceInfo::Member, ::capnp::Kind::STRUCT>::Builder initMembers(unsigned int size);
1112 inline void adoptMembers(::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::SourceInfo::Member, ::capnp::Kind::STRUCT>>&& value);
1113 inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::SourceInfo::Member, ::capnp::Kind::STRUCT>> disownMembers();
1114
1115private:
1116 ::capnp::_::StructBuilder _builder;
1117 template <typename, ::capnp::Kind>
1118 friend struct ::capnp::ToDynamic_;
1119 friend class ::capnp::Orphanage;
1120 template <typename, ::capnp::Kind>
1121 friend struct ::capnp::_::PointerHelpers;
1122};
1123
1124#if !CAPNP_LITE
1125class Node::SourceInfo::Pipeline {
1126public:
1127 typedef SourceInfo Pipelines;
1128
1129 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1130 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1131 : _typeless(kj::mv(typeless)) {}
1132
1133private:
1134 ::capnp::AnyPointer::Pipeline _typeless;
1135 friend class ::capnp::PipelineHook;
1136 template <typename, ::capnp::Kind>
1137 friend struct ::capnp::ToDynamic_;
1138};
1139#endif // !CAPNP_LITE
1140
1141class Node::SourceInfo::Member::Reader {
1142public:
1143 typedef Member Reads;
1144
1145 Reader() = default;
1146 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1147
1148 inline ::capnp::MessageSize totalSize() const {
1149 return _reader.totalSize().asPublic();
1150 }
1151
1152#if !CAPNP_LITE
1153 inline ::kj::StringTree toString() const {
1154 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1155 }
1156#endif // !CAPNP_LITE
1157
1158 inline bool hasDocComment() const;
1159 inline ::capnp::Text::Reader getDocComment() const;
1160
1161private:
1162 ::capnp::_::StructReader _reader;
1163 template <typename, ::capnp::Kind>
1164 friend struct ::capnp::ToDynamic_;
1165 template <typename, ::capnp::Kind>
1166 friend struct ::capnp::_::PointerHelpers;
1167 template <typename, ::capnp::Kind>
1168 friend struct ::capnp::List;
1169 friend class ::capnp::MessageBuilder;
1170 friend class ::capnp::Orphanage;
1171};
1172
1173class Node::SourceInfo::Member::Builder {
1174public:
1175 typedef Member Builds;
1176
1177 Builder() = delete; // Deleted to discourage incorrect usage.
1178 // You can explicitly initialize to nullptr instead.
1179 inline Builder(decltype(nullptr)) {}
1180 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1181 inline operator Reader() const { return Reader(_builder.asReader()); }
1182 inline Reader asReader() const { return *this; }
1183
1184 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1185#if !CAPNP_LITE
1186 inline ::kj::StringTree toString() const { return asReader().toString(); }
1187#endif // !CAPNP_LITE
1188
1189 inline bool hasDocComment();
1190 inline ::capnp::Text::Builder getDocComment();
1191 inline void setDocComment( ::capnp::Text::Reader value);
1192 inline ::capnp::Text::Builder initDocComment(unsigned int size);
1193 inline void adoptDocComment(::capnp::Orphan< ::capnp::Text>&& value);
1194 inline ::capnp::Orphan< ::capnp::Text> disownDocComment();
1195
1196private:
1197 ::capnp::_::StructBuilder _builder;
1198 template <typename, ::capnp::Kind>
1199 friend struct ::capnp::ToDynamic_;
1200 friend class ::capnp::Orphanage;
1201 template <typename, ::capnp::Kind>
1202 friend struct ::capnp::_::PointerHelpers;
1203};
1204
1205#if !CAPNP_LITE
1206class Node::SourceInfo::Member::Pipeline {
1207public:
1208 typedef Member Pipelines;
1209
1210 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1211 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1212 : _typeless(kj::mv(typeless)) {}
1213
1214private:
1215 ::capnp::AnyPointer::Pipeline _typeless;
1216 friend class ::capnp::PipelineHook;
1217 template <typename, ::capnp::Kind>
1218 friend struct ::capnp::ToDynamic_;
1219};
1220#endif // !CAPNP_LITE
1221
1222class Node::Struct::Reader {
1223public:
1224 typedef Struct Reads;
1225
1226 Reader() = default;
1227 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1228
1229 inline ::capnp::MessageSize totalSize() const {
1230 return _reader.totalSize().asPublic();
1231 }
1232
1233#if !CAPNP_LITE
1234 inline ::kj::StringTree toString() const {
1235 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1236 }
1237#endif // !CAPNP_LITE
1238
1239 inline ::uint16_t getDataWordCount() const;
1240
1241 inline ::uint16_t getPointerCount() const;
1242
1243 inline ::capnp::schema::ElementSize getPreferredListEncoding() const;
1244
1245 inline bool getIsGroup() const;
1246
1247 inline ::uint16_t getDiscriminantCount() const;
1248
1249 inline ::uint32_t getDiscriminantOffset() const;
1250
1251 inline bool hasFields() const;
1252 inline ::capnp::List< ::capnp::schema::Field, ::capnp::Kind::STRUCT>::Reader getFields() const;
1253
1254private:
1255 ::capnp::_::StructReader _reader;
1256 template <typename, ::capnp::Kind>
1257 friend struct ::capnp::ToDynamic_;
1258 template <typename, ::capnp::Kind>
1259 friend struct ::capnp::_::PointerHelpers;
1260 template <typename, ::capnp::Kind>
1261 friend struct ::capnp::List;
1262 friend class ::capnp::MessageBuilder;
1263 friend class ::capnp::Orphanage;
1264};
1265
1266class Node::Struct::Builder {
1267public:
1268 typedef Struct Builds;
1269
1270 Builder() = delete; // Deleted to discourage incorrect usage.
1271 // You can explicitly initialize to nullptr instead.
1272 inline Builder(decltype(nullptr)) {}
1273 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1274 inline operator Reader() const { return Reader(_builder.asReader()); }
1275 inline Reader asReader() const { return *this; }
1276
1277 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1278#if !CAPNP_LITE
1279 inline ::kj::StringTree toString() const { return asReader().toString(); }
1280#endif // !CAPNP_LITE
1281
1282 inline ::uint16_t getDataWordCount();
1283 inline void setDataWordCount( ::uint16_t value);
1284
1285 inline ::uint16_t getPointerCount();
1286 inline void setPointerCount( ::uint16_t value);
1287
1288 inline ::capnp::schema::ElementSize getPreferredListEncoding();
1289 inline void setPreferredListEncoding( ::capnp::schema::ElementSize value);
1290
1291 inline bool getIsGroup();
1292 inline void setIsGroup(bool value);
1293
1294 inline ::uint16_t getDiscriminantCount();
1295 inline void setDiscriminantCount( ::uint16_t value);
1296
1297 inline ::uint32_t getDiscriminantOffset();
1298 inline void setDiscriminantOffset( ::uint32_t value);
1299
1300 inline bool hasFields();
1301 inline ::capnp::List< ::capnp::schema::Field, ::capnp::Kind::STRUCT>::Builder getFields();
1302 inline void setFields( ::capnp::List< ::capnp::schema::Field, ::capnp::Kind::STRUCT>::Reader value);
1303 inline ::capnp::List< ::capnp::schema::Field, ::capnp::Kind::STRUCT>::Builder initFields(unsigned int size);
1304 inline void adoptFields(::capnp::Orphan< ::capnp::List< ::capnp::schema::Field, ::capnp::Kind::STRUCT>>&& value);
1305 inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Field, ::capnp::Kind::STRUCT>> disownFields();
1306
1307private:
1308 ::capnp::_::StructBuilder _builder;
1309 template <typename, ::capnp::Kind>
1310 friend struct ::capnp::ToDynamic_;
1311 friend class ::capnp::Orphanage;
1312 template <typename, ::capnp::Kind>
1313 friend struct ::capnp::_::PointerHelpers;
1314};
1315
1316#if !CAPNP_LITE
1317class Node::Struct::Pipeline {
1318public:
1319 typedef Struct Pipelines;
1320
1321 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1322 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1323 : _typeless(kj::mv(typeless)) {}
1324
1325private:
1326 ::capnp::AnyPointer::Pipeline _typeless;
1327 friend class ::capnp::PipelineHook;
1328 template <typename, ::capnp::Kind>
1329 friend struct ::capnp::ToDynamic_;
1330};
1331#endif // !CAPNP_LITE
1332
1333class Node::Enum::Reader {
1334public:
1335 typedef Enum Reads;
1336
1337 Reader() = default;
1338 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1339
1340 inline ::capnp::MessageSize totalSize() const {
1341 return _reader.totalSize().asPublic();
1342 }
1343
1344#if !CAPNP_LITE
1345 inline ::kj::StringTree toString() const {
1346 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1347 }
1348#endif // !CAPNP_LITE
1349
1350 inline bool hasEnumerants() const;
1351 inline ::capnp::List< ::capnp::schema::Enumerant, ::capnp::Kind::STRUCT>::Reader getEnumerants() const;
1352
1353private:
1354 ::capnp::_::StructReader _reader;
1355 template <typename, ::capnp::Kind>
1356 friend struct ::capnp::ToDynamic_;
1357 template <typename, ::capnp::Kind>
1358 friend struct ::capnp::_::PointerHelpers;
1359 template <typename, ::capnp::Kind>
1360 friend struct ::capnp::List;
1361 friend class ::capnp::MessageBuilder;
1362 friend class ::capnp::Orphanage;
1363};
1364
1365class Node::Enum::Builder {
1366public:
1367 typedef Enum Builds;
1368
1369 Builder() = delete; // Deleted to discourage incorrect usage.
1370 // You can explicitly initialize to nullptr instead.
1371 inline Builder(decltype(nullptr)) {}
1372 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1373 inline operator Reader() const { return Reader(_builder.asReader()); }
1374 inline Reader asReader() const { return *this; }
1375
1376 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1377#if !CAPNP_LITE
1378 inline ::kj::StringTree toString() const { return asReader().toString(); }
1379#endif // !CAPNP_LITE
1380
1381 inline bool hasEnumerants();
1382 inline ::capnp::List< ::capnp::schema::Enumerant, ::capnp::Kind::STRUCT>::Builder getEnumerants();
1383 inline void setEnumerants( ::capnp::List< ::capnp::schema::Enumerant, ::capnp::Kind::STRUCT>::Reader value);
1384 inline ::capnp::List< ::capnp::schema::Enumerant, ::capnp::Kind::STRUCT>::Builder initEnumerants(unsigned int size);
1385 inline void adoptEnumerants(::capnp::Orphan< ::capnp::List< ::capnp::schema::Enumerant, ::capnp::Kind::STRUCT>>&& value);
1386 inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Enumerant, ::capnp::Kind::STRUCT>> disownEnumerants();
1387
1388private:
1389 ::capnp::_::StructBuilder _builder;
1390 template <typename, ::capnp::Kind>
1391 friend struct ::capnp::ToDynamic_;
1392 friend class ::capnp::Orphanage;
1393 template <typename, ::capnp::Kind>
1394 friend struct ::capnp::_::PointerHelpers;
1395};
1396
1397#if !CAPNP_LITE
1398class Node::Enum::Pipeline {
1399public:
1400 typedef Enum Pipelines;
1401
1402 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1403 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1404 : _typeless(kj::mv(typeless)) {}
1405
1406private:
1407 ::capnp::AnyPointer::Pipeline _typeless;
1408 friend class ::capnp::PipelineHook;
1409 template <typename, ::capnp::Kind>
1410 friend struct ::capnp::ToDynamic_;
1411};
1412#endif // !CAPNP_LITE
1413
1414class Node::Interface::Reader {
1415public:
1416 typedef Interface Reads;
1417
1418 Reader() = default;
1419 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1420
1421 inline ::capnp::MessageSize totalSize() const {
1422 return _reader.totalSize().asPublic();
1423 }
1424
1425#if !CAPNP_LITE
1426 inline ::kj::StringTree toString() const {
1427 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1428 }
1429#endif // !CAPNP_LITE
1430
1431 inline bool hasMethods() const;
1432 inline ::capnp::List< ::capnp::schema::Method, ::capnp::Kind::STRUCT>::Reader getMethods() const;
1433
1434 inline bool hasSuperclasses() const;
1435 inline ::capnp::List< ::capnp::schema::Superclass, ::capnp::Kind::STRUCT>::Reader getSuperclasses() const;
1436
1437private:
1438 ::capnp::_::StructReader _reader;
1439 template <typename, ::capnp::Kind>
1440 friend struct ::capnp::ToDynamic_;
1441 template <typename, ::capnp::Kind>
1442 friend struct ::capnp::_::PointerHelpers;
1443 template <typename, ::capnp::Kind>
1444 friend struct ::capnp::List;
1445 friend class ::capnp::MessageBuilder;
1446 friend class ::capnp::Orphanage;
1447};
1448
1449class Node::Interface::Builder {
1450public:
1451 typedef Interface Builds;
1452
1453 Builder() = delete; // Deleted to discourage incorrect usage.
1454 // You can explicitly initialize to nullptr instead.
1455 inline Builder(decltype(nullptr)) {}
1456 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1457 inline operator Reader() const { return Reader(_builder.asReader()); }
1458 inline Reader asReader() const { return *this; }
1459
1460 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1461#if !CAPNP_LITE
1462 inline ::kj::StringTree toString() const { return asReader().toString(); }
1463#endif // !CAPNP_LITE
1464
1465 inline bool hasMethods();
1466 inline ::capnp::List< ::capnp::schema::Method, ::capnp::Kind::STRUCT>::Builder getMethods();
1467 inline void setMethods( ::capnp::List< ::capnp::schema::Method, ::capnp::Kind::STRUCT>::Reader value);
1468 inline ::capnp::List< ::capnp::schema::Method, ::capnp::Kind::STRUCT>::Builder initMethods(unsigned int size);
1469 inline void adoptMethods(::capnp::Orphan< ::capnp::List< ::capnp::schema::Method, ::capnp::Kind::STRUCT>>&& value);
1470 inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Method, ::capnp::Kind::STRUCT>> disownMethods();
1471
1472 inline bool hasSuperclasses();
1473 inline ::capnp::List< ::capnp::schema::Superclass, ::capnp::Kind::STRUCT>::Builder getSuperclasses();
1474 inline void setSuperclasses( ::capnp::List< ::capnp::schema::Superclass, ::capnp::Kind::STRUCT>::Reader value);
1475 inline ::capnp::List< ::capnp::schema::Superclass, ::capnp::Kind::STRUCT>::Builder initSuperclasses(unsigned int size);
1476 inline void adoptSuperclasses(::capnp::Orphan< ::capnp::List< ::capnp::schema::Superclass, ::capnp::Kind::STRUCT>>&& value);
1477 inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Superclass, ::capnp::Kind::STRUCT>> disownSuperclasses();
1478
1479private:
1480 ::capnp::_::StructBuilder _builder;
1481 template <typename, ::capnp::Kind>
1482 friend struct ::capnp::ToDynamic_;
1483 friend class ::capnp::Orphanage;
1484 template <typename, ::capnp::Kind>
1485 friend struct ::capnp::_::PointerHelpers;
1486};
1487
1488#if !CAPNP_LITE
1489class Node::Interface::Pipeline {
1490public:
1491 typedef Interface Pipelines;
1492
1493 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1494 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1495 : _typeless(kj::mv(typeless)) {}
1496
1497private:
1498 ::capnp::AnyPointer::Pipeline _typeless;
1499 friend class ::capnp::PipelineHook;
1500 template <typename, ::capnp::Kind>
1501 friend struct ::capnp::ToDynamic_;
1502};
1503#endif // !CAPNP_LITE
1504
1505class Node::Const::Reader {
1506public:
1507 typedef Const Reads;
1508
1509 Reader() = default;
1510 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1511
1512 inline ::capnp::MessageSize totalSize() const {
1513 return _reader.totalSize().asPublic();
1514 }
1515
1516#if !CAPNP_LITE
1517 inline ::kj::StringTree toString() const {
1518 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1519 }
1520#endif // !CAPNP_LITE
1521
1522 inline bool hasType() const;
1523 inline ::capnp::schema::Type::Reader getType() const;
1524
1525 inline bool hasValue() const;
1526 inline ::capnp::schema::Value::Reader getValue() const;
1527
1528private:
1529 ::capnp::_::StructReader _reader;
1530 template <typename, ::capnp::Kind>
1531 friend struct ::capnp::ToDynamic_;
1532 template <typename, ::capnp::Kind>
1533 friend struct ::capnp::_::PointerHelpers;
1534 template <typename, ::capnp::Kind>
1535 friend struct ::capnp::List;
1536 friend class ::capnp::MessageBuilder;
1537 friend class ::capnp::Orphanage;
1538};
1539
1540class Node::Const::Builder {
1541public:
1542 typedef Const Builds;
1543
1544 Builder() = delete; // Deleted to discourage incorrect usage.
1545 // You can explicitly initialize to nullptr instead.
1546 inline Builder(decltype(nullptr)) {}
1547 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1548 inline operator Reader() const { return Reader(_builder.asReader()); }
1549 inline Reader asReader() const { return *this; }
1550
1551 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1552#if !CAPNP_LITE
1553 inline ::kj::StringTree toString() const { return asReader().toString(); }
1554#endif // !CAPNP_LITE
1555
1556 inline bool hasType();
1557 inline ::capnp::schema::Type::Builder getType();
1558 inline void setType( ::capnp::schema::Type::Reader value);
1559 inline ::capnp::schema::Type::Builder initType();
1560 inline void adoptType(::capnp::Orphan< ::capnp::schema::Type>&& value);
1561 inline ::capnp::Orphan< ::capnp::schema::Type> disownType();
1562
1563 inline bool hasValue();
1564 inline ::capnp::schema::Value::Builder getValue();
1565 inline void setValue( ::capnp::schema::Value::Reader value);
1566 inline ::capnp::schema::Value::Builder initValue();
1567 inline void adoptValue(::capnp::Orphan< ::capnp::schema::Value>&& value);
1568 inline ::capnp::Orphan< ::capnp::schema::Value> disownValue();
1569
1570private:
1571 ::capnp::_::StructBuilder _builder;
1572 template <typename, ::capnp::Kind>
1573 friend struct ::capnp::ToDynamic_;
1574 friend class ::capnp::Orphanage;
1575 template <typename, ::capnp::Kind>
1576 friend struct ::capnp::_::PointerHelpers;
1577};
1578
1579#if !CAPNP_LITE
1580class Node::Const::Pipeline {
1581public:
1582 typedef Const Pipelines;
1583
1584 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1585 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1586 : _typeless(kj::mv(typeless)) {}
1587
1588 inline ::capnp::schema::Type::Pipeline getType();
1589 inline ::capnp::schema::Value::Pipeline getValue();
1590private:
1591 ::capnp::AnyPointer::Pipeline _typeless;
1592 friend class ::capnp::PipelineHook;
1593 template <typename, ::capnp::Kind>
1594 friend struct ::capnp::ToDynamic_;
1595};
1596#endif // !CAPNP_LITE
1597
1598class Node::Annotation::Reader {
1599public:
1600 typedef Annotation Reads;
1601
1602 Reader() = default;
1603 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1604
1605 inline ::capnp::MessageSize totalSize() const {
1606 return _reader.totalSize().asPublic();
1607 }
1608
1609#if !CAPNP_LITE
1610 inline ::kj::StringTree toString() const {
1611 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1612 }
1613#endif // !CAPNP_LITE
1614
1615 inline bool hasType() const;
1616 inline ::capnp::schema::Type::Reader getType() const;
1617
1618 inline bool getTargetsFile() const;
1619
1620 inline bool getTargetsConst() const;
1621
1622 inline bool getTargetsEnum() const;
1623
1624 inline bool getTargetsEnumerant() const;
1625
1626 inline bool getTargetsStruct() const;
1627
1628 inline bool getTargetsField() const;
1629
1630 inline bool getTargetsUnion() const;
1631
1632 inline bool getTargetsGroup() const;
1633
1634 inline bool getTargetsInterface() const;
1635
1636 inline bool getTargetsMethod() const;
1637
1638 inline bool getTargetsParam() const;
1639
1640 inline bool getTargetsAnnotation() const;
1641
1642private:
1643 ::capnp::_::StructReader _reader;
1644 template <typename, ::capnp::Kind>
1645 friend struct ::capnp::ToDynamic_;
1646 template <typename, ::capnp::Kind>
1647 friend struct ::capnp::_::PointerHelpers;
1648 template <typename, ::capnp::Kind>
1649 friend struct ::capnp::List;
1650 friend class ::capnp::MessageBuilder;
1651 friend class ::capnp::Orphanage;
1652};
1653
1654class Node::Annotation::Builder {
1655public:
1656 typedef Annotation Builds;
1657
1658 Builder() = delete; // Deleted to discourage incorrect usage.
1659 // You can explicitly initialize to nullptr instead.
1660 inline Builder(decltype(nullptr)) {}
1661 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1662 inline operator Reader() const { return Reader(_builder.asReader()); }
1663 inline Reader asReader() const { return *this; }
1664
1665 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1666#if !CAPNP_LITE
1667 inline ::kj::StringTree toString() const { return asReader().toString(); }
1668#endif // !CAPNP_LITE
1669
1670 inline bool hasType();
1671 inline ::capnp::schema::Type::Builder getType();
1672 inline void setType( ::capnp::schema::Type::Reader value);
1673 inline ::capnp::schema::Type::Builder initType();
1674 inline void adoptType(::capnp::Orphan< ::capnp::schema::Type>&& value);
1675 inline ::capnp::Orphan< ::capnp::schema::Type> disownType();
1676
1677 inline bool getTargetsFile();
1678 inline void setTargetsFile(bool value);
1679
1680 inline bool getTargetsConst();
1681 inline void setTargetsConst(bool value);
1682
1683 inline bool getTargetsEnum();
1684 inline void setTargetsEnum(bool value);
1685
1686 inline bool getTargetsEnumerant();
1687 inline void setTargetsEnumerant(bool value);
1688
1689 inline bool getTargetsStruct();
1690 inline void setTargetsStruct(bool value);
1691
1692 inline bool getTargetsField();
1693 inline void setTargetsField(bool value);
1694
1695 inline bool getTargetsUnion();
1696 inline void setTargetsUnion(bool value);
1697
1698 inline bool getTargetsGroup();
1699 inline void setTargetsGroup(bool value);
1700
1701 inline bool getTargetsInterface();
1702 inline void setTargetsInterface(bool value);
1703
1704 inline bool getTargetsMethod();
1705 inline void setTargetsMethod(bool value);
1706
1707 inline bool getTargetsParam();
1708 inline void setTargetsParam(bool value);
1709
1710 inline bool getTargetsAnnotation();
1711 inline void setTargetsAnnotation(bool value);
1712
1713private:
1714 ::capnp::_::StructBuilder _builder;
1715 template <typename, ::capnp::Kind>
1716 friend struct ::capnp::ToDynamic_;
1717 friend class ::capnp::Orphanage;
1718 template <typename, ::capnp::Kind>
1719 friend struct ::capnp::_::PointerHelpers;
1720};
1721
1722#if !CAPNP_LITE
1723class Node::Annotation::Pipeline {
1724public:
1725 typedef Annotation Pipelines;
1726
1727 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1728 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1729 : _typeless(kj::mv(typeless)) {}
1730
1731 inline ::capnp::schema::Type::Pipeline getType();
1732private:
1733 ::capnp::AnyPointer::Pipeline _typeless;
1734 friend class ::capnp::PipelineHook;
1735 template <typename, ::capnp::Kind>
1736 friend struct ::capnp::ToDynamic_;
1737};
1738#endif // !CAPNP_LITE
1739
1740class Field::Reader {
1741public:
1742 typedef Field Reads;
1743
1744 Reader() = default;
1745 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1746
1747 inline ::capnp::MessageSize totalSize() const {
1748 return _reader.totalSize().asPublic();
1749 }
1750
1751#if !CAPNP_LITE
1752 inline ::kj::StringTree toString() const {
1753 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1754 }
1755#endif // !CAPNP_LITE
1756
1757 inline Which which() const;
1758 inline bool hasName() const;
1759 inline ::capnp::Text::Reader getName() const;
1760
1761 inline ::uint16_t getCodeOrder() const;
1762
1763 inline bool hasAnnotations() const;
1764 inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Reader getAnnotations() const;
1765
1766 inline ::uint16_t getDiscriminantValue() const;
1767
1768 inline bool isSlot() const;
1769 inline typename Slot::Reader getSlot() const;
1770
1771 inline bool isGroup() const;
1772 inline typename Group::Reader getGroup() const;
1773
1774 inline typename Ordinal::Reader getOrdinal() const;
1775
1776private:
1777 ::capnp::_::StructReader _reader;
1778 template <typename, ::capnp::Kind>
1779 friend struct ::capnp::ToDynamic_;
1780 template <typename, ::capnp::Kind>
1781 friend struct ::capnp::_::PointerHelpers;
1782 template <typename, ::capnp::Kind>
1783 friend struct ::capnp::List;
1784 friend class ::capnp::MessageBuilder;
1785 friend class ::capnp::Orphanage;
1786};
1787
1788class Field::Builder {
1789public:
1790 typedef Field Builds;
1791
1792 Builder() = delete; // Deleted to discourage incorrect usage.
1793 // You can explicitly initialize to nullptr instead.
1794 inline Builder(decltype(nullptr)) {}
1795 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1796 inline operator Reader() const { return Reader(_builder.asReader()); }
1797 inline Reader asReader() const { return *this; }
1798
1799 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1800#if !CAPNP_LITE
1801 inline ::kj::StringTree toString() const { return asReader().toString(); }
1802#endif // !CAPNP_LITE
1803
1804 inline Which which();
1805 inline bool hasName();
1806 inline ::capnp::Text::Builder getName();
1807 inline void setName( ::capnp::Text::Reader value);
1808 inline ::capnp::Text::Builder initName(unsigned int size);
1809 inline void adoptName(::capnp::Orphan< ::capnp::Text>&& value);
1810 inline ::capnp::Orphan< ::capnp::Text> disownName();
1811
1812 inline ::uint16_t getCodeOrder();
1813 inline void setCodeOrder( ::uint16_t value);
1814
1815 inline bool hasAnnotations();
1816 inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Builder getAnnotations();
1817 inline void setAnnotations( ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Reader value);
1818 inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Builder initAnnotations(unsigned int size);
1819 inline void adoptAnnotations(::capnp::Orphan< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>&& value);
1820 inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>> disownAnnotations();
1821
1822 inline ::uint16_t getDiscriminantValue();
1823 inline void setDiscriminantValue( ::uint16_t value);
1824
1825 inline bool isSlot();
1826 inline typename Slot::Builder getSlot();
1827 inline typename Slot::Builder initSlot();
1828
1829 inline bool isGroup();
1830 inline typename Group::Builder getGroup();
1831 inline typename Group::Builder initGroup();
1832
1833 inline typename Ordinal::Builder getOrdinal();
1834 inline typename Ordinal::Builder initOrdinal();
1835
1836private:
1837 ::capnp::_::StructBuilder _builder;
1838 template <typename, ::capnp::Kind>
1839 friend struct ::capnp::ToDynamic_;
1840 friend class ::capnp::Orphanage;
1841 template <typename, ::capnp::Kind>
1842 friend struct ::capnp::_::PointerHelpers;
1843};
1844
1845#if !CAPNP_LITE
1846class Field::Pipeline {
1847public:
1848 typedef Field Pipelines;
1849
1850 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1851 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1852 : _typeless(kj::mv(typeless)) {}
1853
1854 inline typename Ordinal::Pipeline getOrdinal();
1855private:
1856 ::capnp::AnyPointer::Pipeline _typeless;
1857 friend class ::capnp::PipelineHook;
1858 template <typename, ::capnp::Kind>
1859 friend struct ::capnp::ToDynamic_;
1860};
1861#endif // !CAPNP_LITE
1862
1863class Field::Slot::Reader {
1864public:
1865 typedef Slot Reads;
1866
1867 Reader() = default;
1868 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1869
1870 inline ::capnp::MessageSize totalSize() const {
1871 return _reader.totalSize().asPublic();
1872 }
1873
1874#if !CAPNP_LITE
1875 inline ::kj::StringTree toString() const {
1876 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1877 }
1878#endif // !CAPNP_LITE
1879
1880 inline ::uint32_t getOffset() const;
1881
1882 inline bool hasType() const;
1883 inline ::capnp::schema::Type::Reader getType() const;
1884
1885 inline bool hasDefaultValue() const;
1886 inline ::capnp::schema::Value::Reader getDefaultValue() const;
1887
1888 inline bool getHadExplicitDefault() const;
1889
1890private:
1891 ::capnp::_::StructReader _reader;
1892 template <typename, ::capnp::Kind>
1893 friend struct ::capnp::ToDynamic_;
1894 template <typename, ::capnp::Kind>
1895 friend struct ::capnp::_::PointerHelpers;
1896 template <typename, ::capnp::Kind>
1897 friend struct ::capnp::List;
1898 friend class ::capnp::MessageBuilder;
1899 friend class ::capnp::Orphanage;
1900};
1901
1902class Field::Slot::Builder {
1903public:
1904 typedef Slot Builds;
1905
1906 Builder() = delete; // Deleted to discourage incorrect usage.
1907 // You can explicitly initialize to nullptr instead.
1908 inline Builder(decltype(nullptr)) {}
1909 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1910 inline operator Reader() const { return Reader(_builder.asReader()); }
1911 inline Reader asReader() const { return *this; }
1912
1913 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1914#if !CAPNP_LITE
1915 inline ::kj::StringTree toString() const { return asReader().toString(); }
1916#endif // !CAPNP_LITE
1917
1918 inline ::uint32_t getOffset();
1919 inline void setOffset( ::uint32_t value);
1920
1921 inline bool hasType();
1922 inline ::capnp::schema::Type::Builder getType();
1923 inline void setType( ::capnp::schema::Type::Reader value);
1924 inline ::capnp::schema::Type::Builder initType();
1925 inline void adoptType(::capnp::Orphan< ::capnp::schema::Type>&& value);
1926 inline ::capnp::Orphan< ::capnp::schema::Type> disownType();
1927
1928 inline bool hasDefaultValue();
1929 inline ::capnp::schema::Value::Builder getDefaultValue();
1930 inline void setDefaultValue( ::capnp::schema::Value::Reader value);
1931 inline ::capnp::schema::Value::Builder initDefaultValue();
1932 inline void adoptDefaultValue(::capnp::Orphan< ::capnp::schema::Value>&& value);
1933 inline ::capnp::Orphan< ::capnp::schema::Value> disownDefaultValue();
1934
1935 inline bool getHadExplicitDefault();
1936 inline void setHadExplicitDefault(bool value);
1937
1938private:
1939 ::capnp::_::StructBuilder _builder;
1940 template <typename, ::capnp::Kind>
1941 friend struct ::capnp::ToDynamic_;
1942 friend class ::capnp::Orphanage;
1943 template <typename, ::capnp::Kind>
1944 friend struct ::capnp::_::PointerHelpers;
1945};
1946
1947#if !CAPNP_LITE
1948class Field::Slot::Pipeline {
1949public:
1950 typedef Slot Pipelines;
1951
1952 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1953 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1954 : _typeless(kj::mv(typeless)) {}
1955
1956 inline ::capnp::schema::Type::Pipeline getType();
1957 inline ::capnp::schema::Value::Pipeline getDefaultValue();
1958private:
1959 ::capnp::AnyPointer::Pipeline _typeless;
1960 friend class ::capnp::PipelineHook;
1961 template <typename, ::capnp::Kind>
1962 friend struct ::capnp::ToDynamic_;
1963};
1964#endif // !CAPNP_LITE
1965
1966class Field::Group::Reader {
1967public:
1968 typedef Group Reads;
1969
1970 Reader() = default;
1971 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1972
1973 inline ::capnp::MessageSize totalSize() const {
1974 return _reader.totalSize().asPublic();
1975 }
1976
1977#if !CAPNP_LITE
1978 inline ::kj::StringTree toString() const {
1979 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
1980 }
1981#endif // !CAPNP_LITE
1982
1983 inline ::uint64_t getTypeId() const;
1984
1985private:
1986 ::capnp::_::StructReader _reader;
1987 template <typename, ::capnp::Kind>
1988 friend struct ::capnp::ToDynamic_;
1989 template <typename, ::capnp::Kind>
1990 friend struct ::capnp::_::PointerHelpers;
1991 template <typename, ::capnp::Kind>
1992 friend struct ::capnp::List;
1993 friend class ::capnp::MessageBuilder;
1994 friend class ::capnp::Orphanage;
1995};
1996
1997class Field::Group::Builder {
1998public:
1999 typedef Group Builds;
2000
2001 Builder() = delete; // Deleted to discourage incorrect usage.
2002 // You can explicitly initialize to nullptr instead.
2003 inline Builder(decltype(nullptr)) {}
2004 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2005 inline operator Reader() const { return Reader(_builder.asReader()); }
2006 inline Reader asReader() const { return *this; }
2007
2008 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2009#if !CAPNP_LITE
2010 inline ::kj::StringTree toString() const { return asReader().toString(); }
2011#endif // !CAPNP_LITE
2012
2013 inline ::uint64_t getTypeId();
2014 inline void setTypeId( ::uint64_t value);
2015
2016private:
2017 ::capnp::_::StructBuilder _builder;
2018 template <typename, ::capnp::Kind>
2019 friend struct ::capnp::ToDynamic_;
2020 friend class ::capnp::Orphanage;
2021 template <typename, ::capnp::Kind>
2022 friend struct ::capnp::_::PointerHelpers;
2023};
2024
2025#if !CAPNP_LITE
2026class Field::Group::Pipeline {
2027public:
2028 typedef Group Pipelines;
2029
2030 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2031 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2032 : _typeless(kj::mv(typeless)) {}
2033
2034private:
2035 ::capnp::AnyPointer::Pipeline _typeless;
2036 friend class ::capnp::PipelineHook;
2037 template <typename, ::capnp::Kind>
2038 friend struct ::capnp::ToDynamic_;
2039};
2040#endif // !CAPNP_LITE
2041
2042class Field::Ordinal::Reader {
2043public:
2044 typedef Ordinal Reads;
2045
2046 Reader() = default;
2047 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2048
2049 inline ::capnp::MessageSize totalSize() const {
2050 return _reader.totalSize().asPublic();
2051 }
2052
2053#if !CAPNP_LITE
2054 inline ::kj::StringTree toString() const {
2055 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2056 }
2057#endif // !CAPNP_LITE
2058
2059 inline Which which() const;
2060 inline bool isImplicit() const;
2061 inline ::capnp::Void getImplicit() const;
2062
2063 inline bool isExplicit() const;
2064 inline ::uint16_t getExplicit() const;
2065
2066private:
2067 ::capnp::_::StructReader _reader;
2068 template <typename, ::capnp::Kind>
2069 friend struct ::capnp::ToDynamic_;
2070 template <typename, ::capnp::Kind>
2071 friend struct ::capnp::_::PointerHelpers;
2072 template <typename, ::capnp::Kind>
2073 friend struct ::capnp::List;
2074 friend class ::capnp::MessageBuilder;
2075 friend class ::capnp::Orphanage;
2076};
2077
2078class Field::Ordinal::Builder {
2079public:
2080 typedef Ordinal Builds;
2081
2082 Builder() = delete; // Deleted to discourage incorrect usage.
2083 // You can explicitly initialize to nullptr instead.
2084 inline Builder(decltype(nullptr)) {}
2085 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2086 inline operator Reader() const { return Reader(_builder.asReader()); }
2087 inline Reader asReader() const { return *this; }
2088
2089 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2090#if !CAPNP_LITE
2091 inline ::kj::StringTree toString() const { return asReader().toString(); }
2092#endif // !CAPNP_LITE
2093
2094 inline Which which();
2095 inline bool isImplicit();
2096 inline ::capnp::Void getImplicit();
2097 inline void setImplicit( ::capnp::Void value = ::capnp::VOID);
2098
2099 inline bool isExplicit();
2100 inline ::uint16_t getExplicit();
2101 inline void setExplicit( ::uint16_t value);
2102
2103private:
2104 ::capnp::_::StructBuilder _builder;
2105 template <typename, ::capnp::Kind>
2106 friend struct ::capnp::ToDynamic_;
2107 friend class ::capnp::Orphanage;
2108 template <typename, ::capnp::Kind>
2109 friend struct ::capnp::_::PointerHelpers;
2110};
2111
2112#if !CAPNP_LITE
2113class Field::Ordinal::Pipeline {
2114public:
2115 typedef Ordinal Pipelines;
2116
2117 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2118 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2119 : _typeless(kj::mv(typeless)) {}
2120
2121private:
2122 ::capnp::AnyPointer::Pipeline _typeless;
2123 friend class ::capnp::PipelineHook;
2124 template <typename, ::capnp::Kind>
2125 friend struct ::capnp::ToDynamic_;
2126};
2127#endif // !CAPNP_LITE
2128
2129class Enumerant::Reader {
2130public:
2131 typedef Enumerant Reads;
2132
2133 Reader() = default;
2134 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2135
2136 inline ::capnp::MessageSize totalSize() const {
2137 return _reader.totalSize().asPublic();
2138 }
2139
2140#if !CAPNP_LITE
2141 inline ::kj::StringTree toString() const {
2142 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2143 }
2144#endif // !CAPNP_LITE
2145
2146 inline bool hasName() const;
2147 inline ::capnp::Text::Reader getName() const;
2148
2149 inline ::uint16_t getCodeOrder() const;
2150
2151 inline bool hasAnnotations() const;
2152 inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Reader getAnnotations() const;
2153
2154private:
2155 ::capnp::_::StructReader _reader;
2156 template <typename, ::capnp::Kind>
2157 friend struct ::capnp::ToDynamic_;
2158 template <typename, ::capnp::Kind>
2159 friend struct ::capnp::_::PointerHelpers;
2160 template <typename, ::capnp::Kind>
2161 friend struct ::capnp::List;
2162 friend class ::capnp::MessageBuilder;
2163 friend class ::capnp::Orphanage;
2164};
2165
2166class Enumerant::Builder {
2167public:
2168 typedef Enumerant Builds;
2169
2170 Builder() = delete; // Deleted to discourage incorrect usage.
2171 // You can explicitly initialize to nullptr instead.
2172 inline Builder(decltype(nullptr)) {}
2173 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2174 inline operator Reader() const { return Reader(_builder.asReader()); }
2175 inline Reader asReader() const { return *this; }
2176
2177 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2178#if !CAPNP_LITE
2179 inline ::kj::StringTree toString() const { return asReader().toString(); }
2180#endif // !CAPNP_LITE
2181
2182 inline bool hasName();
2183 inline ::capnp::Text::Builder getName();
2184 inline void setName( ::capnp::Text::Reader value);
2185 inline ::capnp::Text::Builder initName(unsigned int size);
2186 inline void adoptName(::capnp::Orphan< ::capnp::Text>&& value);
2187 inline ::capnp::Orphan< ::capnp::Text> disownName();
2188
2189 inline ::uint16_t getCodeOrder();
2190 inline void setCodeOrder( ::uint16_t value);
2191
2192 inline bool hasAnnotations();
2193 inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Builder getAnnotations();
2194 inline void setAnnotations( ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Reader value);
2195 inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Builder initAnnotations(unsigned int size);
2196 inline void adoptAnnotations(::capnp::Orphan< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>&& value);
2197 inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>> disownAnnotations();
2198
2199private:
2200 ::capnp::_::StructBuilder _builder;
2201 template <typename, ::capnp::Kind>
2202 friend struct ::capnp::ToDynamic_;
2203 friend class ::capnp::Orphanage;
2204 template <typename, ::capnp::Kind>
2205 friend struct ::capnp::_::PointerHelpers;
2206};
2207
2208#if !CAPNP_LITE
2209class Enumerant::Pipeline {
2210public:
2211 typedef Enumerant Pipelines;
2212
2213 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2214 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2215 : _typeless(kj::mv(typeless)) {}
2216
2217private:
2218 ::capnp::AnyPointer::Pipeline _typeless;
2219 friend class ::capnp::PipelineHook;
2220 template <typename, ::capnp::Kind>
2221 friend struct ::capnp::ToDynamic_;
2222};
2223#endif // !CAPNP_LITE
2224
2225class Superclass::Reader {
2226public:
2227 typedef Superclass Reads;
2228
2229 Reader() = default;
2230 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2231
2232 inline ::capnp::MessageSize totalSize() const {
2233 return _reader.totalSize().asPublic();
2234 }
2235
2236#if !CAPNP_LITE
2237 inline ::kj::StringTree toString() const {
2238 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2239 }
2240#endif // !CAPNP_LITE
2241
2242 inline ::uint64_t getId() const;
2243
2244 inline bool hasBrand() const;
2245 inline ::capnp::schema::Brand::Reader getBrand() const;
2246
2247private:
2248 ::capnp::_::StructReader _reader;
2249 template <typename, ::capnp::Kind>
2250 friend struct ::capnp::ToDynamic_;
2251 template <typename, ::capnp::Kind>
2252 friend struct ::capnp::_::PointerHelpers;
2253 template <typename, ::capnp::Kind>
2254 friend struct ::capnp::List;
2255 friend class ::capnp::MessageBuilder;
2256 friend class ::capnp::Orphanage;
2257};
2258
2259class Superclass::Builder {
2260public:
2261 typedef Superclass Builds;
2262
2263 Builder() = delete; // Deleted to discourage incorrect usage.
2264 // You can explicitly initialize to nullptr instead.
2265 inline Builder(decltype(nullptr)) {}
2266 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2267 inline operator Reader() const { return Reader(_builder.asReader()); }
2268 inline Reader asReader() const { return *this; }
2269
2270 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2271#if !CAPNP_LITE
2272 inline ::kj::StringTree toString() const { return asReader().toString(); }
2273#endif // !CAPNP_LITE
2274
2275 inline ::uint64_t getId();
2276 inline void setId( ::uint64_t value);
2277
2278 inline bool hasBrand();
2279 inline ::capnp::schema::Brand::Builder getBrand();
2280 inline void setBrand( ::capnp::schema::Brand::Reader value);
2281 inline ::capnp::schema::Brand::Builder initBrand();
2282 inline void adoptBrand(::capnp::Orphan< ::capnp::schema::Brand>&& value);
2283 inline ::capnp::Orphan< ::capnp::schema::Brand> disownBrand();
2284
2285private:
2286 ::capnp::_::StructBuilder _builder;
2287 template <typename, ::capnp::Kind>
2288 friend struct ::capnp::ToDynamic_;
2289 friend class ::capnp::Orphanage;
2290 template <typename, ::capnp::Kind>
2291 friend struct ::capnp::_::PointerHelpers;
2292};
2293
2294#if !CAPNP_LITE
2295class Superclass::Pipeline {
2296public:
2297 typedef Superclass Pipelines;
2298
2299 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2300 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2301 : _typeless(kj::mv(typeless)) {}
2302
2303 inline ::capnp::schema::Brand::Pipeline getBrand();
2304private:
2305 ::capnp::AnyPointer::Pipeline _typeless;
2306 friend class ::capnp::PipelineHook;
2307 template <typename, ::capnp::Kind>
2308 friend struct ::capnp::ToDynamic_;
2309};
2310#endif // !CAPNP_LITE
2311
2312class Method::Reader {
2313public:
2314 typedef Method Reads;
2315
2316 Reader() = default;
2317 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2318
2319 inline ::capnp::MessageSize totalSize() const {
2320 return _reader.totalSize().asPublic();
2321 }
2322
2323#if !CAPNP_LITE
2324 inline ::kj::StringTree toString() const {
2325 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2326 }
2327#endif // !CAPNP_LITE
2328
2329 inline bool hasName() const;
2330 inline ::capnp::Text::Reader getName() const;
2331
2332 inline ::uint16_t getCodeOrder() const;
2333
2334 inline ::uint64_t getParamStructType() const;
2335
2336 inline ::uint64_t getResultStructType() const;
2337
2338 inline bool hasAnnotations() const;
2339 inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Reader getAnnotations() const;
2340
2341 inline bool hasParamBrand() const;
2342 inline ::capnp::schema::Brand::Reader getParamBrand() const;
2343
2344 inline bool hasResultBrand() const;
2345 inline ::capnp::schema::Brand::Reader getResultBrand() const;
2346
2347 inline bool hasImplicitParameters() const;
2348 inline ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>::Reader getImplicitParameters() const;
2349
2350private:
2351 ::capnp::_::StructReader _reader;
2352 template <typename, ::capnp::Kind>
2353 friend struct ::capnp::ToDynamic_;
2354 template <typename, ::capnp::Kind>
2355 friend struct ::capnp::_::PointerHelpers;
2356 template <typename, ::capnp::Kind>
2357 friend struct ::capnp::List;
2358 friend class ::capnp::MessageBuilder;
2359 friend class ::capnp::Orphanage;
2360};
2361
2362class Method::Builder {
2363public:
2364 typedef Method Builds;
2365
2366 Builder() = delete; // Deleted to discourage incorrect usage.
2367 // You can explicitly initialize to nullptr instead.
2368 inline Builder(decltype(nullptr)) {}
2369 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2370 inline operator Reader() const { return Reader(_builder.asReader()); }
2371 inline Reader asReader() const { return *this; }
2372
2373 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2374#if !CAPNP_LITE
2375 inline ::kj::StringTree toString() const { return asReader().toString(); }
2376#endif // !CAPNP_LITE
2377
2378 inline bool hasName();
2379 inline ::capnp::Text::Builder getName();
2380 inline void setName( ::capnp::Text::Reader value);
2381 inline ::capnp::Text::Builder initName(unsigned int size);
2382 inline void adoptName(::capnp::Orphan< ::capnp::Text>&& value);
2383 inline ::capnp::Orphan< ::capnp::Text> disownName();
2384
2385 inline ::uint16_t getCodeOrder();
2386 inline void setCodeOrder( ::uint16_t value);
2387
2388 inline ::uint64_t getParamStructType();
2389 inline void setParamStructType( ::uint64_t value);
2390
2391 inline ::uint64_t getResultStructType();
2392 inline void setResultStructType( ::uint64_t value);
2393
2394 inline bool hasAnnotations();
2395 inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Builder getAnnotations();
2396 inline void setAnnotations( ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Reader value);
2397 inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Builder initAnnotations(unsigned int size);
2398 inline void adoptAnnotations(::capnp::Orphan< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>&& value);
2399 inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>> disownAnnotations();
2400
2401 inline bool hasParamBrand();
2402 inline ::capnp::schema::Brand::Builder getParamBrand();
2403 inline void setParamBrand( ::capnp::schema::Brand::Reader value);
2404 inline ::capnp::schema::Brand::Builder initParamBrand();
2405 inline void adoptParamBrand(::capnp::Orphan< ::capnp::schema::Brand>&& value);
2406 inline ::capnp::Orphan< ::capnp::schema::Brand> disownParamBrand();
2407
2408 inline bool hasResultBrand();
2409 inline ::capnp::schema::Brand::Builder getResultBrand();
2410 inline void setResultBrand( ::capnp::schema::Brand::Reader value);
2411 inline ::capnp::schema::Brand::Builder initResultBrand();
2412 inline void adoptResultBrand(::capnp::Orphan< ::capnp::schema::Brand>&& value);
2413 inline ::capnp::Orphan< ::capnp::schema::Brand> disownResultBrand();
2414
2415 inline bool hasImplicitParameters();
2416 inline ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>::Builder getImplicitParameters();
2417 inline void setImplicitParameters( ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>::Reader value);
2418 inline ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>::Builder initImplicitParameters(unsigned int size);
2419 inline void adoptImplicitParameters(::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>>&& value);
2420 inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>> disownImplicitParameters();
2421
2422private:
2423 ::capnp::_::StructBuilder _builder;
2424 template <typename, ::capnp::Kind>
2425 friend struct ::capnp::ToDynamic_;
2426 friend class ::capnp::Orphanage;
2427 template <typename, ::capnp::Kind>
2428 friend struct ::capnp::_::PointerHelpers;
2429};
2430
2431#if !CAPNP_LITE
2432class Method::Pipeline {
2433public:
2434 typedef Method Pipelines;
2435
2436 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2437 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2438 : _typeless(kj::mv(typeless)) {}
2439
2440 inline ::capnp::schema::Brand::Pipeline getParamBrand();
2441 inline ::capnp::schema::Brand::Pipeline getResultBrand();
2442private:
2443 ::capnp::AnyPointer::Pipeline _typeless;
2444 friend class ::capnp::PipelineHook;
2445 template <typename, ::capnp::Kind>
2446 friend struct ::capnp::ToDynamic_;
2447};
2448#endif // !CAPNP_LITE
2449
2450class Type::Reader {
2451public:
2452 typedef Type Reads;
2453
2454 Reader() = default;
2455 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2456
2457 inline ::capnp::MessageSize totalSize() const {
2458 return _reader.totalSize().asPublic();
2459 }
2460
2461#if !CAPNP_LITE
2462 inline ::kj::StringTree toString() const {
2463 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2464 }
2465#endif // !CAPNP_LITE
2466
2467 inline Which which() const;
2468 inline bool isVoid() const;
2469 inline ::capnp::Void getVoid() const;
2470
2471 inline bool isBool() const;
2472 inline ::capnp::Void getBool() const;
2473
2474 inline bool isInt8() const;
2475 inline ::capnp::Void getInt8() const;
2476
2477 inline bool isInt16() const;
2478 inline ::capnp::Void getInt16() const;
2479
2480 inline bool isInt32() const;
2481 inline ::capnp::Void getInt32() const;
2482
2483 inline bool isInt64() const;
2484 inline ::capnp::Void getInt64() const;
2485
2486 inline bool isUint8() const;
2487 inline ::capnp::Void getUint8() const;
2488
2489 inline bool isUint16() const;
2490 inline ::capnp::Void getUint16() const;
2491
2492 inline bool isUint32() const;
2493 inline ::capnp::Void getUint32() const;
2494
2495 inline bool isUint64() const;
2496 inline ::capnp::Void getUint64() const;
2497
2498 inline bool isFloat32() const;
2499 inline ::capnp::Void getFloat32() const;
2500
2501 inline bool isFloat64() const;
2502 inline ::capnp::Void getFloat64() const;
2503
2504 inline bool isText() const;
2505 inline ::capnp::Void getText() const;
2506
2507 inline bool isData() const;
2508 inline ::capnp::Void getData() const;
2509
2510 inline bool isList() const;
2511 inline typename List::Reader getList() const;
2512
2513 inline bool isEnum() const;
2514 inline typename Enum::Reader getEnum() const;
2515
2516 inline bool isStruct() const;
2517 inline typename Struct::Reader getStruct() const;
2518
2519 inline bool isInterface() const;
2520 inline typename Interface::Reader getInterface() const;
2521
2522 inline bool isAnyPointer() const;
2523 inline typename AnyPointer::Reader getAnyPointer() const;
2524
2525private:
2526 ::capnp::_::StructReader _reader;
2527 template <typename, ::capnp::Kind>
2528 friend struct ::capnp::ToDynamic_;
2529 template <typename, ::capnp::Kind>
2530 friend struct ::capnp::_::PointerHelpers;
2531 template <typename, ::capnp::Kind>
2532 friend struct ::capnp::List;
2533 friend class ::capnp::MessageBuilder;
2534 friend class ::capnp::Orphanage;
2535};
2536
2537class Type::Builder {
2538public:
2539 typedef Type Builds;
2540
2541 Builder() = delete; // Deleted to discourage incorrect usage.
2542 // You can explicitly initialize to nullptr instead.
2543 inline Builder(decltype(nullptr)) {}
2544 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2545 inline operator Reader() const { return Reader(_builder.asReader()); }
2546 inline Reader asReader() const { return *this; }
2547
2548 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2549#if !CAPNP_LITE
2550 inline ::kj::StringTree toString() const { return asReader().toString(); }
2551#endif // !CAPNP_LITE
2552
2553 inline Which which();
2554 inline bool isVoid();
2555 inline ::capnp::Void getVoid();
2556 inline void setVoid( ::capnp::Void value = ::capnp::VOID);
2557
2558 inline bool isBool();
2559 inline ::capnp::Void getBool();
2560 inline void setBool( ::capnp::Void value = ::capnp::VOID);
2561
2562 inline bool isInt8();
2563 inline ::capnp::Void getInt8();
2564 inline void setInt8( ::capnp::Void value = ::capnp::VOID);
2565
2566 inline bool isInt16();
2567 inline ::capnp::Void getInt16();
2568 inline void setInt16( ::capnp::Void value = ::capnp::VOID);
2569
2570 inline bool isInt32();
2571 inline ::capnp::Void getInt32();
2572 inline void setInt32( ::capnp::Void value = ::capnp::VOID);
2573
2574 inline bool isInt64();
2575 inline ::capnp::Void getInt64();
2576 inline void setInt64( ::capnp::Void value = ::capnp::VOID);
2577
2578 inline bool isUint8();
2579 inline ::capnp::Void getUint8();
2580 inline void setUint8( ::capnp::Void value = ::capnp::VOID);
2581
2582 inline bool isUint16();
2583 inline ::capnp::Void getUint16();
2584 inline void setUint16( ::capnp::Void value = ::capnp::VOID);
2585
2586 inline bool isUint32();
2587 inline ::capnp::Void getUint32();
2588 inline void setUint32( ::capnp::Void value = ::capnp::VOID);
2589
2590 inline bool isUint64();
2591 inline ::capnp::Void getUint64();
2592 inline void setUint64( ::capnp::Void value = ::capnp::VOID);
2593
2594 inline bool isFloat32();
2595 inline ::capnp::Void getFloat32();
2596 inline void setFloat32( ::capnp::Void value = ::capnp::VOID);
2597
2598 inline bool isFloat64();
2599 inline ::capnp::Void getFloat64();
2600 inline void setFloat64( ::capnp::Void value = ::capnp::VOID);
2601
2602 inline bool isText();
2603 inline ::capnp::Void getText();
2604 inline void setText( ::capnp::Void value = ::capnp::VOID);
2605
2606 inline bool isData();
2607 inline ::capnp::Void getData();
2608 inline void setData( ::capnp::Void value = ::capnp::VOID);
2609
2610 inline bool isList();
2611 inline typename List::Builder getList();
2612 inline typename List::Builder initList();
2613
2614 inline bool isEnum();
2615 inline typename Enum::Builder getEnum();
2616 inline typename Enum::Builder initEnum();
2617
2618 inline bool isStruct();
2619 inline typename Struct::Builder getStruct();
2620 inline typename Struct::Builder initStruct();
2621
2622 inline bool isInterface();
2623 inline typename Interface::Builder getInterface();
2624 inline typename Interface::Builder initInterface();
2625
2626 inline bool isAnyPointer();
2627 inline typename AnyPointer::Builder getAnyPointer();
2628 inline typename AnyPointer::Builder initAnyPointer();
2629
2630private:
2631 ::capnp::_::StructBuilder _builder;
2632 template <typename, ::capnp::Kind>
2633 friend struct ::capnp::ToDynamic_;
2634 friend class ::capnp::Orphanage;
2635 template <typename, ::capnp::Kind>
2636 friend struct ::capnp::_::PointerHelpers;
2637};
2638
2639#if !CAPNP_LITE
2640class Type::Pipeline {
2641public:
2642 typedef Type Pipelines;
2643
2644 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2645 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2646 : _typeless(kj::mv(typeless)) {}
2647
2648private:
2649 ::capnp::AnyPointer::Pipeline _typeless;
2650 friend class ::capnp::PipelineHook;
2651 template <typename, ::capnp::Kind>
2652 friend struct ::capnp::ToDynamic_;
2653};
2654#endif // !CAPNP_LITE
2655
2656class Type::List::Reader {
2657public:
2658 typedef List Reads;
2659
2660 Reader() = default;
2661 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2662
2663 inline ::capnp::MessageSize totalSize() const {
2664 return _reader.totalSize().asPublic();
2665 }
2666
2667#if !CAPNP_LITE
2668 inline ::kj::StringTree toString() const {
2669 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2670 }
2671#endif // !CAPNP_LITE
2672
2673 inline bool hasElementType() const;
2674 inline ::capnp::schema::Type::Reader getElementType() const;
2675
2676private:
2677 ::capnp::_::StructReader _reader;
2678 template <typename, ::capnp::Kind>
2679 friend struct ::capnp::ToDynamic_;
2680 template <typename, ::capnp::Kind>
2681 friend struct ::capnp::_::PointerHelpers;
2682 template <typename, ::capnp::Kind>
2683 friend struct ::capnp::List;
2684 friend class ::capnp::MessageBuilder;
2685 friend class ::capnp::Orphanage;
2686};
2687
2688class Type::List::Builder {
2689public:
2690 typedef List Builds;
2691
2692 Builder() = delete; // Deleted to discourage incorrect usage.
2693 // You can explicitly initialize to nullptr instead.
2694 inline Builder(decltype(nullptr)) {}
2695 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2696 inline operator Reader() const { return Reader(_builder.asReader()); }
2697 inline Reader asReader() const { return *this; }
2698
2699 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2700#if !CAPNP_LITE
2701 inline ::kj::StringTree toString() const { return asReader().toString(); }
2702#endif // !CAPNP_LITE
2703
2704 inline bool hasElementType();
2705 inline ::capnp::schema::Type::Builder getElementType();
2706 inline void setElementType( ::capnp::schema::Type::Reader value);
2707 inline ::capnp::schema::Type::Builder initElementType();
2708 inline void adoptElementType(::capnp::Orphan< ::capnp::schema::Type>&& value);
2709 inline ::capnp::Orphan< ::capnp::schema::Type> disownElementType();
2710
2711private:
2712 ::capnp::_::StructBuilder _builder;
2713 template <typename, ::capnp::Kind>
2714 friend struct ::capnp::ToDynamic_;
2715 friend class ::capnp::Orphanage;
2716 template <typename, ::capnp::Kind>
2717 friend struct ::capnp::_::PointerHelpers;
2718};
2719
2720#if !CAPNP_LITE
2721class Type::List::Pipeline {
2722public:
2723 typedef List Pipelines;
2724
2725 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2726 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2727 : _typeless(kj::mv(typeless)) {}
2728
2729 inline ::capnp::schema::Type::Pipeline getElementType();
2730private:
2731 ::capnp::AnyPointer::Pipeline _typeless;
2732 friend class ::capnp::PipelineHook;
2733 template <typename, ::capnp::Kind>
2734 friend struct ::capnp::ToDynamic_;
2735};
2736#endif // !CAPNP_LITE
2737
2738class Type::Enum::Reader {
2739public:
2740 typedef Enum Reads;
2741
2742 Reader() = default;
2743 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2744
2745 inline ::capnp::MessageSize totalSize() const {
2746 return _reader.totalSize().asPublic();
2747 }
2748
2749#if !CAPNP_LITE
2750 inline ::kj::StringTree toString() const {
2751 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2752 }
2753#endif // !CAPNP_LITE
2754
2755 inline ::uint64_t getTypeId() const;
2756
2757 inline bool hasBrand() const;
2758 inline ::capnp::schema::Brand::Reader getBrand() const;
2759
2760private:
2761 ::capnp::_::StructReader _reader;
2762 template <typename, ::capnp::Kind>
2763 friend struct ::capnp::ToDynamic_;
2764 template <typename, ::capnp::Kind>
2765 friend struct ::capnp::_::PointerHelpers;
2766 template <typename, ::capnp::Kind>
2767 friend struct ::capnp::List;
2768 friend class ::capnp::MessageBuilder;
2769 friend class ::capnp::Orphanage;
2770};
2771
2772class Type::Enum::Builder {
2773public:
2774 typedef Enum Builds;
2775
2776 Builder() = delete; // Deleted to discourage incorrect usage.
2777 // You can explicitly initialize to nullptr instead.
2778 inline Builder(decltype(nullptr)) {}
2779 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2780 inline operator Reader() const { return Reader(_builder.asReader()); }
2781 inline Reader asReader() const { return *this; }
2782
2783 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2784#if !CAPNP_LITE
2785 inline ::kj::StringTree toString() const { return asReader().toString(); }
2786#endif // !CAPNP_LITE
2787
2788 inline ::uint64_t getTypeId();
2789 inline void setTypeId( ::uint64_t value);
2790
2791 inline bool hasBrand();
2792 inline ::capnp::schema::Brand::Builder getBrand();
2793 inline void setBrand( ::capnp::schema::Brand::Reader value);
2794 inline ::capnp::schema::Brand::Builder initBrand();
2795 inline void adoptBrand(::capnp::Orphan< ::capnp::schema::Brand>&& value);
2796 inline ::capnp::Orphan< ::capnp::schema::Brand> disownBrand();
2797
2798private:
2799 ::capnp::_::StructBuilder _builder;
2800 template <typename, ::capnp::Kind>
2801 friend struct ::capnp::ToDynamic_;
2802 friend class ::capnp::Orphanage;
2803 template <typename, ::capnp::Kind>
2804 friend struct ::capnp::_::PointerHelpers;
2805};
2806
2807#if !CAPNP_LITE
2808class Type::Enum::Pipeline {
2809public:
2810 typedef Enum Pipelines;
2811
2812 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2813 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2814 : _typeless(kj::mv(typeless)) {}
2815
2816 inline ::capnp::schema::Brand::Pipeline getBrand();
2817private:
2818 ::capnp::AnyPointer::Pipeline _typeless;
2819 friend class ::capnp::PipelineHook;
2820 template <typename, ::capnp::Kind>
2821 friend struct ::capnp::ToDynamic_;
2822};
2823#endif // !CAPNP_LITE
2824
2825class Type::Struct::Reader {
2826public:
2827 typedef Struct Reads;
2828
2829 Reader() = default;
2830 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2831
2832 inline ::capnp::MessageSize totalSize() const {
2833 return _reader.totalSize().asPublic();
2834 }
2835
2836#if !CAPNP_LITE
2837 inline ::kj::StringTree toString() const {
2838 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2839 }
2840#endif // !CAPNP_LITE
2841
2842 inline ::uint64_t getTypeId() const;
2843
2844 inline bool hasBrand() const;
2845 inline ::capnp::schema::Brand::Reader getBrand() const;
2846
2847private:
2848 ::capnp::_::StructReader _reader;
2849 template <typename, ::capnp::Kind>
2850 friend struct ::capnp::ToDynamic_;
2851 template <typename, ::capnp::Kind>
2852 friend struct ::capnp::_::PointerHelpers;
2853 template <typename, ::capnp::Kind>
2854 friend struct ::capnp::List;
2855 friend class ::capnp::MessageBuilder;
2856 friend class ::capnp::Orphanage;
2857};
2858
2859class Type::Struct::Builder {
2860public:
2861 typedef Struct Builds;
2862
2863 Builder() = delete; // Deleted to discourage incorrect usage.
2864 // You can explicitly initialize to nullptr instead.
2865 inline Builder(decltype(nullptr)) {}
2866 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2867 inline operator Reader() const { return Reader(_builder.asReader()); }
2868 inline Reader asReader() const { return *this; }
2869
2870 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2871#if !CAPNP_LITE
2872 inline ::kj::StringTree toString() const { return asReader().toString(); }
2873#endif // !CAPNP_LITE
2874
2875 inline ::uint64_t getTypeId();
2876 inline void setTypeId( ::uint64_t value);
2877
2878 inline bool hasBrand();
2879 inline ::capnp::schema::Brand::Builder getBrand();
2880 inline void setBrand( ::capnp::schema::Brand::Reader value);
2881 inline ::capnp::schema::Brand::Builder initBrand();
2882 inline void adoptBrand(::capnp::Orphan< ::capnp::schema::Brand>&& value);
2883 inline ::capnp::Orphan< ::capnp::schema::Brand> disownBrand();
2884
2885private:
2886 ::capnp::_::StructBuilder _builder;
2887 template <typename, ::capnp::Kind>
2888 friend struct ::capnp::ToDynamic_;
2889 friend class ::capnp::Orphanage;
2890 template <typename, ::capnp::Kind>
2891 friend struct ::capnp::_::PointerHelpers;
2892};
2893
2894#if !CAPNP_LITE
2895class Type::Struct::Pipeline {
2896public:
2897 typedef Struct Pipelines;
2898
2899 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2900 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2901 : _typeless(kj::mv(typeless)) {}
2902
2903 inline ::capnp::schema::Brand::Pipeline getBrand();
2904private:
2905 ::capnp::AnyPointer::Pipeline _typeless;
2906 friend class ::capnp::PipelineHook;
2907 template <typename, ::capnp::Kind>
2908 friend struct ::capnp::ToDynamic_;
2909};
2910#endif // !CAPNP_LITE
2911
2912class Type::Interface::Reader {
2913public:
2914 typedef Interface Reads;
2915
2916 Reader() = default;
2917 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2918
2919 inline ::capnp::MessageSize totalSize() const {
2920 return _reader.totalSize().asPublic();
2921 }
2922
2923#if !CAPNP_LITE
2924 inline ::kj::StringTree toString() const {
2925 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
2926 }
2927#endif // !CAPNP_LITE
2928
2929 inline ::uint64_t getTypeId() const;
2930
2931 inline bool hasBrand() const;
2932 inline ::capnp::schema::Brand::Reader getBrand() const;
2933
2934private:
2935 ::capnp::_::StructReader _reader;
2936 template <typename, ::capnp::Kind>
2937 friend struct ::capnp::ToDynamic_;
2938 template <typename, ::capnp::Kind>
2939 friend struct ::capnp::_::PointerHelpers;
2940 template <typename, ::capnp::Kind>
2941 friend struct ::capnp::List;
2942 friend class ::capnp::MessageBuilder;
2943 friend class ::capnp::Orphanage;
2944};
2945
2946class Type::Interface::Builder {
2947public:
2948 typedef Interface Builds;
2949
2950 Builder() = delete; // Deleted to discourage incorrect usage.
2951 // You can explicitly initialize to nullptr instead.
2952 inline Builder(decltype(nullptr)) {}
2953 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2954 inline operator Reader() const { return Reader(_builder.asReader()); }
2955 inline Reader asReader() const { return *this; }
2956
2957 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2958#if !CAPNP_LITE
2959 inline ::kj::StringTree toString() const { return asReader().toString(); }
2960#endif // !CAPNP_LITE
2961
2962 inline ::uint64_t getTypeId();
2963 inline void setTypeId( ::uint64_t value);
2964
2965 inline bool hasBrand();
2966 inline ::capnp::schema::Brand::Builder getBrand();
2967 inline void setBrand( ::capnp::schema::Brand::Reader value);
2968 inline ::capnp::schema::Brand::Builder initBrand();
2969 inline void adoptBrand(::capnp::Orphan< ::capnp::schema::Brand>&& value);
2970 inline ::capnp::Orphan< ::capnp::schema::Brand> disownBrand();
2971
2972private:
2973 ::capnp::_::StructBuilder _builder;
2974 template <typename, ::capnp::Kind>
2975 friend struct ::capnp::ToDynamic_;
2976 friend class ::capnp::Orphanage;
2977 template <typename, ::capnp::Kind>
2978 friend struct ::capnp::_::PointerHelpers;
2979};
2980
2981#if !CAPNP_LITE
2982class Type::Interface::Pipeline {
2983public:
2984 typedef Interface Pipelines;
2985
2986 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2987 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2988 : _typeless(kj::mv(typeless)) {}
2989
2990 inline ::capnp::schema::Brand::Pipeline getBrand();
2991private:
2992 ::capnp::AnyPointer::Pipeline _typeless;
2993 friend class ::capnp::PipelineHook;
2994 template <typename, ::capnp::Kind>
2995 friend struct ::capnp::ToDynamic_;
2996};
2997#endif // !CAPNP_LITE
2998
2999class Type::AnyPointer::Reader {
3000public:
3001 typedef AnyPointer Reads;
3002
3003 Reader() = default;
3004 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3005
3006 inline ::capnp::MessageSize totalSize() const {
3007 return _reader.totalSize().asPublic();
3008 }
3009
3010#if !CAPNP_LITE
3011 inline ::kj::StringTree toString() const {
3012 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3013 }
3014#endif // !CAPNP_LITE
3015
3016 inline Which which() const;
3017 inline bool isUnconstrained() const;
3018 inline typename Unconstrained::Reader getUnconstrained() const;
3019
3020 inline bool isParameter() const;
3021 inline typename Parameter::Reader getParameter() const;
3022
3023 inline bool isImplicitMethodParameter() const;
3024 inline typename ImplicitMethodParameter::Reader getImplicitMethodParameter() const;
3025
3026private:
3027 ::capnp::_::StructReader _reader;
3028 template <typename, ::capnp::Kind>
3029 friend struct ::capnp::ToDynamic_;
3030 template <typename, ::capnp::Kind>
3031 friend struct ::capnp::_::PointerHelpers;
3032 template <typename, ::capnp::Kind>
3033 friend struct ::capnp::List;
3034 friend class ::capnp::MessageBuilder;
3035 friend class ::capnp::Orphanage;
3036};
3037
3038class Type::AnyPointer::Builder {
3039public:
3040 typedef AnyPointer Builds;
3041
3042 Builder() = delete; // Deleted to discourage incorrect usage.
3043 // You can explicitly initialize to nullptr instead.
3044 inline Builder(decltype(nullptr)) {}
3045 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3046 inline operator Reader() const { return Reader(_builder.asReader()); }
3047 inline Reader asReader() const { return *this; }
3048
3049 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3050#if !CAPNP_LITE
3051 inline ::kj::StringTree toString() const { return asReader().toString(); }
3052#endif // !CAPNP_LITE
3053
3054 inline Which which();
3055 inline bool isUnconstrained();
3056 inline typename Unconstrained::Builder getUnconstrained();
3057 inline typename Unconstrained::Builder initUnconstrained();
3058
3059 inline bool isParameter();
3060 inline typename Parameter::Builder getParameter();
3061 inline typename Parameter::Builder initParameter();
3062
3063 inline bool isImplicitMethodParameter();
3064 inline typename ImplicitMethodParameter::Builder getImplicitMethodParameter();
3065 inline typename ImplicitMethodParameter::Builder initImplicitMethodParameter();
3066
3067private:
3068 ::capnp::_::StructBuilder _builder;
3069 template <typename, ::capnp::Kind>
3070 friend struct ::capnp::ToDynamic_;
3071 friend class ::capnp::Orphanage;
3072 template <typename, ::capnp::Kind>
3073 friend struct ::capnp::_::PointerHelpers;
3074};
3075
3076#if !CAPNP_LITE
3077class Type::AnyPointer::Pipeline {
3078public:
3079 typedef AnyPointer Pipelines;
3080
3081 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3082 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3083 : _typeless(kj::mv(typeless)) {}
3084
3085private:
3086 ::capnp::AnyPointer::Pipeline _typeless;
3087 friend class ::capnp::PipelineHook;
3088 template <typename, ::capnp::Kind>
3089 friend struct ::capnp::ToDynamic_;
3090};
3091#endif // !CAPNP_LITE
3092
3093class Type::AnyPointer::Unconstrained::Reader {
3094public:
3095 typedef Unconstrained Reads;
3096
3097 Reader() = default;
3098 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3099
3100 inline ::capnp::MessageSize totalSize() const {
3101 return _reader.totalSize().asPublic();
3102 }
3103
3104#if !CAPNP_LITE
3105 inline ::kj::StringTree toString() const {
3106 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3107 }
3108#endif // !CAPNP_LITE
3109
3110 inline Which which() const;
3111 inline bool isAnyKind() const;
3112 inline ::capnp::Void getAnyKind() const;
3113
3114 inline bool isStruct() const;
3115 inline ::capnp::Void getStruct() const;
3116
3117 inline bool isList() const;
3118 inline ::capnp::Void getList() const;
3119
3120 inline bool isCapability() const;
3121 inline ::capnp::Void getCapability() const;
3122
3123private:
3124 ::capnp::_::StructReader _reader;
3125 template <typename, ::capnp::Kind>
3126 friend struct ::capnp::ToDynamic_;
3127 template <typename, ::capnp::Kind>
3128 friend struct ::capnp::_::PointerHelpers;
3129 template <typename, ::capnp::Kind>
3130 friend struct ::capnp::List;
3131 friend class ::capnp::MessageBuilder;
3132 friend class ::capnp::Orphanage;
3133};
3134
3135class Type::AnyPointer::Unconstrained::Builder {
3136public:
3137 typedef Unconstrained Builds;
3138
3139 Builder() = delete; // Deleted to discourage incorrect usage.
3140 // You can explicitly initialize to nullptr instead.
3141 inline Builder(decltype(nullptr)) {}
3142 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3143 inline operator Reader() const { return Reader(_builder.asReader()); }
3144 inline Reader asReader() const { return *this; }
3145
3146 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3147#if !CAPNP_LITE
3148 inline ::kj::StringTree toString() const { return asReader().toString(); }
3149#endif // !CAPNP_LITE
3150
3151 inline Which which();
3152 inline bool isAnyKind();
3153 inline ::capnp::Void getAnyKind();
3154 inline void setAnyKind( ::capnp::Void value = ::capnp::VOID);
3155
3156 inline bool isStruct();
3157 inline ::capnp::Void getStruct();
3158 inline void setStruct( ::capnp::Void value = ::capnp::VOID);
3159
3160 inline bool isList();
3161 inline ::capnp::Void getList();
3162 inline void setList( ::capnp::Void value = ::capnp::VOID);
3163
3164 inline bool isCapability();
3165 inline ::capnp::Void getCapability();
3166 inline void setCapability( ::capnp::Void value = ::capnp::VOID);
3167
3168private:
3169 ::capnp::_::StructBuilder _builder;
3170 template <typename, ::capnp::Kind>
3171 friend struct ::capnp::ToDynamic_;
3172 friend class ::capnp::Orphanage;
3173 template <typename, ::capnp::Kind>
3174 friend struct ::capnp::_::PointerHelpers;
3175};
3176
3177#if !CAPNP_LITE
3178class Type::AnyPointer::Unconstrained::Pipeline {
3179public:
3180 typedef Unconstrained Pipelines;
3181
3182 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3183 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3184 : _typeless(kj::mv(typeless)) {}
3185
3186private:
3187 ::capnp::AnyPointer::Pipeline _typeless;
3188 friend class ::capnp::PipelineHook;
3189 template <typename, ::capnp::Kind>
3190 friend struct ::capnp::ToDynamic_;
3191};
3192#endif // !CAPNP_LITE
3193
3194class Type::AnyPointer::Parameter::Reader {
3195public:
3196 typedef Parameter Reads;
3197
3198 Reader() = default;
3199 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3200
3201 inline ::capnp::MessageSize totalSize() const {
3202 return _reader.totalSize().asPublic();
3203 }
3204
3205#if !CAPNP_LITE
3206 inline ::kj::StringTree toString() const {
3207 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3208 }
3209#endif // !CAPNP_LITE
3210
3211 inline ::uint64_t getScopeId() const;
3212
3213 inline ::uint16_t getParameterIndex() const;
3214
3215private:
3216 ::capnp::_::StructReader _reader;
3217 template <typename, ::capnp::Kind>
3218 friend struct ::capnp::ToDynamic_;
3219 template <typename, ::capnp::Kind>
3220 friend struct ::capnp::_::PointerHelpers;
3221 template <typename, ::capnp::Kind>
3222 friend struct ::capnp::List;
3223 friend class ::capnp::MessageBuilder;
3224 friend class ::capnp::Orphanage;
3225};
3226
3227class Type::AnyPointer::Parameter::Builder {
3228public:
3229 typedef Parameter Builds;
3230
3231 Builder() = delete; // Deleted to discourage incorrect usage.
3232 // You can explicitly initialize to nullptr instead.
3233 inline Builder(decltype(nullptr)) {}
3234 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3235 inline operator Reader() const { return Reader(_builder.asReader()); }
3236 inline Reader asReader() const { return *this; }
3237
3238 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3239#if !CAPNP_LITE
3240 inline ::kj::StringTree toString() const { return asReader().toString(); }
3241#endif // !CAPNP_LITE
3242
3243 inline ::uint64_t getScopeId();
3244 inline void setScopeId( ::uint64_t value);
3245
3246 inline ::uint16_t getParameterIndex();
3247 inline void setParameterIndex( ::uint16_t value);
3248
3249private:
3250 ::capnp::_::StructBuilder _builder;
3251 template <typename, ::capnp::Kind>
3252 friend struct ::capnp::ToDynamic_;
3253 friend class ::capnp::Orphanage;
3254 template <typename, ::capnp::Kind>
3255 friend struct ::capnp::_::PointerHelpers;
3256};
3257
3258#if !CAPNP_LITE
3259class Type::AnyPointer::Parameter::Pipeline {
3260public:
3261 typedef Parameter Pipelines;
3262
3263 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3264 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3265 : _typeless(kj::mv(typeless)) {}
3266
3267private:
3268 ::capnp::AnyPointer::Pipeline _typeless;
3269 friend class ::capnp::PipelineHook;
3270 template <typename, ::capnp::Kind>
3271 friend struct ::capnp::ToDynamic_;
3272};
3273#endif // !CAPNP_LITE
3274
3275class Type::AnyPointer::ImplicitMethodParameter::Reader {
3276public:
3277 typedef ImplicitMethodParameter Reads;
3278
3279 Reader() = default;
3280 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3281
3282 inline ::capnp::MessageSize totalSize() const {
3283 return _reader.totalSize().asPublic();
3284 }
3285
3286#if !CAPNP_LITE
3287 inline ::kj::StringTree toString() const {
3288 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3289 }
3290#endif // !CAPNP_LITE
3291
3292 inline ::uint16_t getParameterIndex() const;
3293
3294private:
3295 ::capnp::_::StructReader _reader;
3296 template <typename, ::capnp::Kind>
3297 friend struct ::capnp::ToDynamic_;
3298 template <typename, ::capnp::Kind>
3299 friend struct ::capnp::_::PointerHelpers;
3300 template <typename, ::capnp::Kind>
3301 friend struct ::capnp::List;
3302 friend class ::capnp::MessageBuilder;
3303 friend class ::capnp::Orphanage;
3304};
3305
3306class Type::AnyPointer::ImplicitMethodParameter::Builder {
3307public:
3308 typedef ImplicitMethodParameter Builds;
3309
3310 Builder() = delete; // Deleted to discourage incorrect usage.
3311 // You can explicitly initialize to nullptr instead.
3312 inline Builder(decltype(nullptr)) {}
3313 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3314 inline operator Reader() const { return Reader(_builder.asReader()); }
3315 inline Reader asReader() const { return *this; }
3316
3317 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3318#if !CAPNP_LITE
3319 inline ::kj::StringTree toString() const { return asReader().toString(); }
3320#endif // !CAPNP_LITE
3321
3322 inline ::uint16_t getParameterIndex();
3323 inline void setParameterIndex( ::uint16_t value);
3324
3325private:
3326 ::capnp::_::StructBuilder _builder;
3327 template <typename, ::capnp::Kind>
3328 friend struct ::capnp::ToDynamic_;
3329 friend class ::capnp::Orphanage;
3330 template <typename, ::capnp::Kind>
3331 friend struct ::capnp::_::PointerHelpers;
3332};
3333
3334#if !CAPNP_LITE
3335class Type::AnyPointer::ImplicitMethodParameter::Pipeline {
3336public:
3337 typedef ImplicitMethodParameter Pipelines;
3338
3339 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3340 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3341 : _typeless(kj::mv(typeless)) {}
3342
3343private:
3344 ::capnp::AnyPointer::Pipeline _typeless;
3345 friend class ::capnp::PipelineHook;
3346 template <typename, ::capnp::Kind>
3347 friend struct ::capnp::ToDynamic_;
3348};
3349#endif // !CAPNP_LITE
3350
3351class Brand::Reader {
3352public:
3353 typedef Brand Reads;
3354
3355 Reader() = default;
3356 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3357
3358 inline ::capnp::MessageSize totalSize() const {
3359 return _reader.totalSize().asPublic();
3360 }
3361
3362#if !CAPNP_LITE
3363 inline ::kj::StringTree toString() const {
3364 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3365 }
3366#endif // !CAPNP_LITE
3367
3368 inline bool hasScopes() const;
3369 inline ::capnp::List< ::capnp::schema::Brand::Scope, ::capnp::Kind::STRUCT>::Reader getScopes() const;
3370
3371private:
3372 ::capnp::_::StructReader _reader;
3373 template <typename, ::capnp::Kind>
3374 friend struct ::capnp::ToDynamic_;
3375 template <typename, ::capnp::Kind>
3376 friend struct ::capnp::_::PointerHelpers;
3377 template <typename, ::capnp::Kind>
3378 friend struct ::capnp::List;
3379 friend class ::capnp::MessageBuilder;
3380 friend class ::capnp::Orphanage;
3381};
3382
3383class Brand::Builder {
3384public:
3385 typedef Brand Builds;
3386
3387 Builder() = delete; // Deleted to discourage incorrect usage.
3388 // You can explicitly initialize to nullptr instead.
3389 inline Builder(decltype(nullptr)) {}
3390 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3391 inline operator Reader() const { return Reader(_builder.asReader()); }
3392 inline Reader asReader() const { return *this; }
3393
3394 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3395#if !CAPNP_LITE
3396 inline ::kj::StringTree toString() const { return asReader().toString(); }
3397#endif // !CAPNP_LITE
3398
3399 inline bool hasScopes();
3400 inline ::capnp::List< ::capnp::schema::Brand::Scope, ::capnp::Kind::STRUCT>::Builder getScopes();
3401 inline void setScopes( ::capnp::List< ::capnp::schema::Brand::Scope, ::capnp::Kind::STRUCT>::Reader value);
3402 inline ::capnp::List< ::capnp::schema::Brand::Scope, ::capnp::Kind::STRUCT>::Builder initScopes(unsigned int size);
3403 inline void adoptScopes(::capnp::Orphan< ::capnp::List< ::capnp::schema::Brand::Scope, ::capnp::Kind::STRUCT>>&& value);
3404 inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Brand::Scope, ::capnp::Kind::STRUCT>> disownScopes();
3405
3406private:
3407 ::capnp::_::StructBuilder _builder;
3408 template <typename, ::capnp::Kind>
3409 friend struct ::capnp::ToDynamic_;
3410 friend class ::capnp::Orphanage;
3411 template <typename, ::capnp::Kind>
3412 friend struct ::capnp::_::PointerHelpers;
3413};
3414
3415#if !CAPNP_LITE
3416class Brand::Pipeline {
3417public:
3418 typedef Brand Pipelines;
3419
3420 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3421 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3422 : _typeless(kj::mv(typeless)) {}
3423
3424private:
3425 ::capnp::AnyPointer::Pipeline _typeless;
3426 friend class ::capnp::PipelineHook;
3427 template <typename, ::capnp::Kind>
3428 friend struct ::capnp::ToDynamic_;
3429};
3430#endif // !CAPNP_LITE
3431
3432class Brand::Scope::Reader {
3433public:
3434 typedef Scope Reads;
3435
3436 Reader() = default;
3437 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3438
3439 inline ::capnp::MessageSize totalSize() const {
3440 return _reader.totalSize().asPublic();
3441 }
3442
3443#if !CAPNP_LITE
3444 inline ::kj::StringTree toString() const {
3445 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3446 }
3447#endif // !CAPNP_LITE
3448
3449 inline Which which() const;
3450 inline ::uint64_t getScopeId() const;
3451
3452 inline bool isBind() const;
3453 inline bool hasBind() const;
3454 inline ::capnp::List< ::capnp::schema::Brand::Binding, ::capnp::Kind::STRUCT>::Reader getBind() const;
3455
3456 inline bool isInherit() const;
3457 inline ::capnp::Void getInherit() const;
3458
3459private:
3460 ::capnp::_::StructReader _reader;
3461 template <typename, ::capnp::Kind>
3462 friend struct ::capnp::ToDynamic_;
3463 template <typename, ::capnp::Kind>
3464 friend struct ::capnp::_::PointerHelpers;
3465 template <typename, ::capnp::Kind>
3466 friend struct ::capnp::List;
3467 friend class ::capnp::MessageBuilder;
3468 friend class ::capnp::Orphanage;
3469};
3470
3471class Brand::Scope::Builder {
3472public:
3473 typedef Scope Builds;
3474
3475 Builder() = delete; // Deleted to discourage incorrect usage.
3476 // You can explicitly initialize to nullptr instead.
3477 inline Builder(decltype(nullptr)) {}
3478 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3479 inline operator Reader() const { return Reader(_builder.asReader()); }
3480 inline Reader asReader() const { return *this; }
3481
3482 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3483#if !CAPNP_LITE
3484 inline ::kj::StringTree toString() const { return asReader().toString(); }
3485#endif // !CAPNP_LITE
3486
3487 inline Which which();
3488 inline ::uint64_t getScopeId();
3489 inline void setScopeId( ::uint64_t value);
3490
3491 inline bool isBind();
3492 inline bool hasBind();
3493 inline ::capnp::List< ::capnp::schema::Brand::Binding, ::capnp::Kind::STRUCT>::Builder getBind();
3494 inline void setBind( ::capnp::List< ::capnp::schema::Brand::Binding, ::capnp::Kind::STRUCT>::Reader value);
3495 inline ::capnp::List< ::capnp::schema::Brand::Binding, ::capnp::Kind::STRUCT>::Builder initBind(unsigned int size);
3496 inline void adoptBind(::capnp::Orphan< ::capnp::List< ::capnp::schema::Brand::Binding, ::capnp::Kind::STRUCT>>&& value);
3497 inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Brand::Binding, ::capnp::Kind::STRUCT>> disownBind();
3498
3499 inline bool isInherit();
3500 inline ::capnp::Void getInherit();
3501 inline void setInherit( ::capnp::Void value = ::capnp::VOID);
3502
3503private:
3504 ::capnp::_::StructBuilder _builder;
3505 template <typename, ::capnp::Kind>
3506 friend struct ::capnp::ToDynamic_;
3507 friend class ::capnp::Orphanage;
3508 template <typename, ::capnp::Kind>
3509 friend struct ::capnp::_::PointerHelpers;
3510};
3511
3512#if !CAPNP_LITE
3513class Brand::Scope::Pipeline {
3514public:
3515 typedef Scope Pipelines;
3516
3517 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3518 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3519 : _typeless(kj::mv(typeless)) {}
3520
3521private:
3522 ::capnp::AnyPointer::Pipeline _typeless;
3523 friend class ::capnp::PipelineHook;
3524 template <typename, ::capnp::Kind>
3525 friend struct ::capnp::ToDynamic_;
3526};
3527#endif // !CAPNP_LITE
3528
3529class Brand::Binding::Reader {
3530public:
3531 typedef Binding Reads;
3532
3533 Reader() = default;
3534 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3535
3536 inline ::capnp::MessageSize totalSize() const {
3537 return _reader.totalSize().asPublic();
3538 }
3539
3540#if !CAPNP_LITE
3541 inline ::kj::StringTree toString() const {
3542 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3543 }
3544#endif // !CAPNP_LITE
3545
3546 inline Which which() const;
3547 inline bool isUnbound() const;
3548 inline ::capnp::Void getUnbound() const;
3549
3550 inline bool isType() const;
3551 inline bool hasType() const;
3552 inline ::capnp::schema::Type::Reader getType() const;
3553
3554private:
3555 ::capnp::_::StructReader _reader;
3556 template <typename, ::capnp::Kind>
3557 friend struct ::capnp::ToDynamic_;
3558 template <typename, ::capnp::Kind>
3559 friend struct ::capnp::_::PointerHelpers;
3560 template <typename, ::capnp::Kind>
3561 friend struct ::capnp::List;
3562 friend class ::capnp::MessageBuilder;
3563 friend class ::capnp::Orphanage;
3564};
3565
3566class Brand::Binding::Builder {
3567public:
3568 typedef Binding Builds;
3569
3570 Builder() = delete; // Deleted to discourage incorrect usage.
3571 // You can explicitly initialize to nullptr instead.
3572 inline Builder(decltype(nullptr)) {}
3573 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3574 inline operator Reader() const { return Reader(_builder.asReader()); }
3575 inline Reader asReader() const { return *this; }
3576
3577 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3578#if !CAPNP_LITE
3579 inline ::kj::StringTree toString() const { return asReader().toString(); }
3580#endif // !CAPNP_LITE
3581
3582 inline Which which();
3583 inline bool isUnbound();
3584 inline ::capnp::Void getUnbound();
3585 inline void setUnbound( ::capnp::Void value = ::capnp::VOID);
3586
3587 inline bool isType();
3588 inline bool hasType();
3589 inline ::capnp::schema::Type::Builder getType();
3590 inline void setType( ::capnp::schema::Type::Reader value);
3591 inline ::capnp::schema::Type::Builder initType();
3592 inline void adoptType(::capnp::Orphan< ::capnp::schema::Type>&& value);
3593 inline ::capnp::Orphan< ::capnp::schema::Type> disownType();
3594
3595private:
3596 ::capnp::_::StructBuilder _builder;
3597 template <typename, ::capnp::Kind>
3598 friend struct ::capnp::ToDynamic_;
3599 friend class ::capnp::Orphanage;
3600 template <typename, ::capnp::Kind>
3601 friend struct ::capnp::_::PointerHelpers;
3602};
3603
3604#if !CAPNP_LITE
3605class Brand::Binding::Pipeline {
3606public:
3607 typedef Binding Pipelines;
3608
3609 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3610 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3611 : _typeless(kj::mv(typeless)) {}
3612
3613private:
3614 ::capnp::AnyPointer::Pipeline _typeless;
3615 friend class ::capnp::PipelineHook;
3616 template <typename, ::capnp::Kind>
3617 friend struct ::capnp::ToDynamic_;
3618};
3619#endif // !CAPNP_LITE
3620
3621class Value::Reader {
3622public:
3623 typedef Value Reads;
3624
3625 Reader() = default;
3626 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3627
3628 inline ::capnp::MessageSize totalSize() const {
3629 return _reader.totalSize().asPublic();
3630 }
3631
3632#if !CAPNP_LITE
3633 inline ::kj::StringTree toString() const {
3634 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3635 }
3636#endif // !CAPNP_LITE
3637
3638 inline Which which() const;
3639 inline bool isVoid() const;
3640 inline ::capnp::Void getVoid() const;
3641
3642 inline bool isBool() const;
3643 inline bool getBool() const;
3644
3645 inline bool isInt8() const;
3646 inline ::int8_t getInt8() const;
3647
3648 inline bool isInt16() const;
3649 inline ::int16_t getInt16() const;
3650
3651 inline bool isInt32() const;
3652 inline ::int32_t getInt32() const;
3653
3654 inline bool isInt64() const;
3655 inline ::int64_t getInt64() const;
3656
3657 inline bool isUint8() const;
3658 inline ::uint8_t getUint8() const;
3659
3660 inline bool isUint16() const;
3661 inline ::uint16_t getUint16() const;
3662
3663 inline bool isUint32() const;
3664 inline ::uint32_t getUint32() const;
3665
3666 inline bool isUint64() const;
3667 inline ::uint64_t getUint64() const;
3668
3669 inline bool isFloat32() const;
3670 inline float getFloat32() const;
3671
3672 inline bool isFloat64() const;
3673 inline double getFloat64() const;
3674
3675 inline bool isText() const;
3676 inline bool hasText() const;
3677 inline ::capnp::Text::Reader getText() const;
3678
3679 inline bool isData() const;
3680 inline bool hasData() const;
3681 inline ::capnp::Data::Reader getData() const;
3682
3683 inline bool isList() const;
3684 inline bool hasList() const;
3685 inline ::capnp::AnyPointer::Reader getList() const;
3686
3687 inline bool isEnum() const;
3688 inline ::uint16_t getEnum() const;
3689
3690 inline bool isStruct() const;
3691 inline bool hasStruct() const;
3692 inline ::capnp::AnyPointer::Reader getStruct() const;
3693
3694 inline bool isInterface() const;
3695 inline ::capnp::Void getInterface() const;
3696
3697 inline bool isAnyPointer() const;
3698 inline bool hasAnyPointer() const;
3699 inline ::capnp::AnyPointer::Reader getAnyPointer() const;
3700
3701private:
3702 ::capnp::_::StructReader _reader;
3703 template <typename, ::capnp::Kind>
3704 friend struct ::capnp::ToDynamic_;
3705 template <typename, ::capnp::Kind>
3706 friend struct ::capnp::_::PointerHelpers;
3707 template <typename, ::capnp::Kind>
3708 friend struct ::capnp::List;
3709 friend class ::capnp::MessageBuilder;
3710 friend class ::capnp::Orphanage;
3711};
3712
3713class Value::Builder {
3714public:
3715 typedef Value Builds;
3716
3717 Builder() = delete; // Deleted to discourage incorrect usage.
3718 // You can explicitly initialize to nullptr instead.
3719 inline Builder(decltype(nullptr)) {}
3720 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3721 inline operator Reader() const { return Reader(_builder.asReader()); }
3722 inline Reader asReader() const { return *this; }
3723
3724 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3725#if !CAPNP_LITE
3726 inline ::kj::StringTree toString() const { return asReader().toString(); }
3727#endif // !CAPNP_LITE
3728
3729 inline Which which();
3730 inline bool isVoid();
3731 inline ::capnp::Void getVoid();
3732 inline void setVoid( ::capnp::Void value = ::capnp::VOID);
3733
3734 inline bool isBool();
3735 inline bool getBool();
3736 inline void setBool(bool value);
3737
3738 inline bool isInt8();
3739 inline ::int8_t getInt8();
3740 inline void setInt8( ::int8_t value);
3741
3742 inline bool isInt16();
3743 inline ::int16_t getInt16();
3744 inline void setInt16( ::int16_t value);
3745
3746 inline bool isInt32();
3747 inline ::int32_t getInt32();
3748 inline void setInt32( ::int32_t value);
3749
3750 inline bool isInt64();
3751 inline ::int64_t getInt64();
3752 inline void setInt64( ::int64_t value);
3753
3754 inline bool isUint8();
3755 inline ::uint8_t getUint8();
3756 inline void setUint8( ::uint8_t value);
3757
3758 inline bool isUint16();
3759 inline ::uint16_t getUint16();
3760 inline void setUint16( ::uint16_t value);
3761
3762 inline bool isUint32();
3763 inline ::uint32_t getUint32();
3764 inline void setUint32( ::uint32_t value);
3765
3766 inline bool isUint64();
3767 inline ::uint64_t getUint64();
3768 inline void setUint64( ::uint64_t value);
3769
3770 inline bool isFloat32();
3771 inline float getFloat32();
3772 inline void setFloat32(float value);
3773
3774 inline bool isFloat64();
3775 inline double getFloat64();
3776 inline void setFloat64(double value);
3777
3778 inline bool isText();
3779 inline bool hasText();
3780 inline ::capnp::Text::Builder getText();
3781 inline void setText( ::capnp::Text::Reader value);
3782 inline ::capnp::Text::Builder initText(unsigned int size);
3783 inline void adoptText(::capnp::Orphan< ::capnp::Text>&& value);
3784 inline ::capnp::Orphan< ::capnp::Text> disownText();
3785
3786 inline bool isData();
3787 inline bool hasData();
3788 inline ::capnp::Data::Builder getData();
3789 inline void setData( ::capnp::Data::Reader value);
3790 inline ::capnp::Data::Builder initData(unsigned int size);
3791 inline void adoptData(::capnp::Orphan< ::capnp::Data>&& value);
3792 inline ::capnp::Orphan< ::capnp::Data> disownData();
3793
3794 inline bool isList();
3795 inline bool hasList();
3796 inline ::capnp::AnyPointer::Builder getList();
3797 inline ::capnp::AnyPointer::Builder initList();
3798
3799 inline bool isEnum();
3800 inline ::uint16_t getEnum();
3801 inline void setEnum( ::uint16_t value);
3802
3803 inline bool isStruct();
3804 inline bool hasStruct();
3805 inline ::capnp::AnyPointer::Builder getStruct();
3806 inline ::capnp::AnyPointer::Builder initStruct();
3807
3808 inline bool isInterface();
3809 inline ::capnp::Void getInterface();
3810 inline void setInterface( ::capnp::Void value = ::capnp::VOID);
3811
3812 inline bool isAnyPointer();
3813 inline bool hasAnyPointer();
3814 inline ::capnp::AnyPointer::Builder getAnyPointer();
3815 inline ::capnp::AnyPointer::Builder initAnyPointer();
3816
3817private:
3818 ::capnp::_::StructBuilder _builder;
3819 template <typename, ::capnp::Kind>
3820 friend struct ::capnp::ToDynamic_;
3821 friend class ::capnp::Orphanage;
3822 template <typename, ::capnp::Kind>
3823 friend struct ::capnp::_::PointerHelpers;
3824};
3825
3826#if !CAPNP_LITE
3827class Value::Pipeline {
3828public:
3829 typedef Value Pipelines;
3830
3831 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3832 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3833 : _typeless(kj::mv(typeless)) {}
3834
3835private:
3836 ::capnp::AnyPointer::Pipeline _typeless;
3837 friend class ::capnp::PipelineHook;
3838 template <typename, ::capnp::Kind>
3839 friend struct ::capnp::ToDynamic_;
3840};
3841#endif // !CAPNP_LITE
3842
3843class Annotation::Reader {
3844public:
3845 typedef Annotation Reads;
3846
3847 Reader() = default;
3848 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3849
3850 inline ::capnp::MessageSize totalSize() const {
3851 return _reader.totalSize().asPublic();
3852 }
3853
3854#if !CAPNP_LITE
3855 inline ::kj::StringTree toString() const {
3856 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3857 }
3858#endif // !CAPNP_LITE
3859
3860 inline ::uint64_t getId() const;
3861
3862 inline bool hasValue() const;
3863 inline ::capnp::schema::Value::Reader getValue() const;
3864
3865 inline bool hasBrand() const;
3866 inline ::capnp::schema::Brand::Reader getBrand() const;
3867
3868private:
3869 ::capnp::_::StructReader _reader;
3870 template <typename, ::capnp::Kind>
3871 friend struct ::capnp::ToDynamic_;
3872 template <typename, ::capnp::Kind>
3873 friend struct ::capnp::_::PointerHelpers;
3874 template <typename, ::capnp::Kind>
3875 friend struct ::capnp::List;
3876 friend class ::capnp::MessageBuilder;
3877 friend class ::capnp::Orphanage;
3878};
3879
3880class Annotation::Builder {
3881public:
3882 typedef Annotation Builds;
3883
3884 Builder() = delete; // Deleted to discourage incorrect usage.
3885 // You can explicitly initialize to nullptr instead.
3886 inline Builder(decltype(nullptr)) {}
3887 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3888 inline operator Reader() const { return Reader(_builder.asReader()); }
3889 inline Reader asReader() const { return *this; }
3890
3891 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3892#if !CAPNP_LITE
3893 inline ::kj::StringTree toString() const { return asReader().toString(); }
3894#endif // !CAPNP_LITE
3895
3896 inline ::uint64_t getId();
3897 inline void setId( ::uint64_t value);
3898
3899 inline bool hasValue();
3900 inline ::capnp::schema::Value::Builder getValue();
3901 inline void setValue( ::capnp::schema::Value::Reader value);
3902 inline ::capnp::schema::Value::Builder initValue();
3903 inline void adoptValue(::capnp::Orphan< ::capnp::schema::Value>&& value);
3904 inline ::capnp::Orphan< ::capnp::schema::Value> disownValue();
3905
3906 inline bool hasBrand();
3907 inline ::capnp::schema::Brand::Builder getBrand();
3908 inline void setBrand( ::capnp::schema::Brand::Reader value);
3909 inline ::capnp::schema::Brand::Builder initBrand();
3910 inline void adoptBrand(::capnp::Orphan< ::capnp::schema::Brand>&& value);
3911 inline ::capnp::Orphan< ::capnp::schema::Brand> disownBrand();
3912
3913private:
3914 ::capnp::_::StructBuilder _builder;
3915 template <typename, ::capnp::Kind>
3916 friend struct ::capnp::ToDynamic_;
3917 friend class ::capnp::Orphanage;
3918 template <typename, ::capnp::Kind>
3919 friend struct ::capnp::_::PointerHelpers;
3920};
3921
3922#if !CAPNP_LITE
3923class Annotation::Pipeline {
3924public:
3925 typedef Annotation Pipelines;
3926
3927 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3928 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3929 : _typeless(kj::mv(typeless)) {}
3930
3931 inline ::capnp::schema::Value::Pipeline getValue();
3932 inline ::capnp::schema::Brand::Pipeline getBrand();
3933private:
3934 ::capnp::AnyPointer::Pipeline _typeless;
3935 friend class ::capnp::PipelineHook;
3936 template <typename, ::capnp::Kind>
3937 friend struct ::capnp::ToDynamic_;
3938};
3939#endif // !CAPNP_LITE
3940
3941class CapnpVersion::Reader {
3942public:
3943 typedef CapnpVersion Reads;
3944
3945 Reader() = default;
3946 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3947
3948 inline ::capnp::MessageSize totalSize() const {
3949 return _reader.totalSize().asPublic();
3950 }
3951
3952#if !CAPNP_LITE
3953 inline ::kj::StringTree toString() const {
3954 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
3955 }
3956#endif // !CAPNP_LITE
3957
3958 inline ::uint16_t getMajor() const;
3959
3960 inline ::uint8_t getMinor() const;
3961
3962 inline ::uint8_t getMicro() const;
3963
3964private:
3965 ::capnp::_::StructReader _reader;
3966 template <typename, ::capnp::Kind>
3967 friend struct ::capnp::ToDynamic_;
3968 template <typename, ::capnp::Kind>
3969 friend struct ::capnp::_::PointerHelpers;
3970 template <typename, ::capnp::Kind>
3971 friend struct ::capnp::List;
3972 friend class ::capnp::MessageBuilder;
3973 friend class ::capnp::Orphanage;
3974};
3975
3976class CapnpVersion::Builder {
3977public:
3978 typedef CapnpVersion Builds;
3979
3980 Builder() = delete; // Deleted to discourage incorrect usage.
3981 // You can explicitly initialize to nullptr instead.
3982 inline Builder(decltype(nullptr)) {}
3983 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3984 inline operator Reader() const { return Reader(_builder.asReader()); }
3985 inline Reader asReader() const { return *this; }
3986
3987 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3988#if !CAPNP_LITE
3989 inline ::kj::StringTree toString() const { return asReader().toString(); }
3990#endif // !CAPNP_LITE
3991
3992 inline ::uint16_t getMajor();
3993 inline void setMajor( ::uint16_t value);
3994
3995 inline ::uint8_t getMinor();
3996 inline void setMinor( ::uint8_t value);
3997
3998 inline ::uint8_t getMicro();
3999 inline void setMicro( ::uint8_t value);
4000
4001private:
4002 ::capnp::_::StructBuilder _builder;
4003 template <typename, ::capnp::Kind>
4004 friend struct ::capnp::ToDynamic_;
4005 friend class ::capnp::Orphanage;
4006 template <typename, ::capnp::Kind>
4007 friend struct ::capnp::_::PointerHelpers;
4008};
4009
4010#if !CAPNP_LITE
4011class CapnpVersion::Pipeline {
4012public:
4013 typedef CapnpVersion Pipelines;
4014
4015 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
4016 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
4017 : _typeless(kj::mv(typeless)) {}
4018
4019private:
4020 ::capnp::AnyPointer::Pipeline _typeless;
4021 friend class ::capnp::PipelineHook;
4022 template <typename, ::capnp::Kind>
4023 friend struct ::capnp::ToDynamic_;
4024};
4025#endif // !CAPNP_LITE
4026
4027class CodeGeneratorRequest::Reader {
4028public:
4029 typedef CodeGeneratorRequest Reads;
4030
4031 Reader() = default;
4032 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
4033
4034 inline ::capnp::MessageSize totalSize() const {
4035 return _reader.totalSize().asPublic();
4036 }
4037
4038#if !CAPNP_LITE
4039 inline ::kj::StringTree toString() const {
4040 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
4041 }
4042#endif // !CAPNP_LITE
4043
4044 inline bool hasNodes() const;
4045 inline ::capnp::List< ::capnp::schema::Node, ::capnp::Kind::STRUCT>::Reader getNodes() const;
4046
4047 inline bool hasRequestedFiles() const;
4048 inline ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile, ::capnp::Kind::STRUCT>::Reader getRequestedFiles() const;
4049
4050 inline bool hasCapnpVersion() const;
4051 inline ::capnp::schema::CapnpVersion::Reader getCapnpVersion() const;
4052
4053 inline bool hasSourceInfo() const;
4054 inline ::capnp::List< ::capnp::schema::Node::SourceInfo, ::capnp::Kind::STRUCT>::Reader getSourceInfo() const;
4055
4056private:
4057 ::capnp::_::StructReader _reader;
4058 template <typename, ::capnp::Kind>
4059 friend struct ::capnp::ToDynamic_;
4060 template <typename, ::capnp::Kind>
4061 friend struct ::capnp::_::PointerHelpers;
4062 template <typename, ::capnp::Kind>
4063 friend struct ::capnp::List;
4064 friend class ::capnp::MessageBuilder;
4065 friend class ::capnp::Orphanage;
4066};
4067
4068class CodeGeneratorRequest::Builder {
4069public:
4070 typedef CodeGeneratorRequest Builds;
4071
4072 Builder() = delete; // Deleted to discourage incorrect usage.
4073 // You can explicitly initialize to nullptr instead.
4074 inline Builder(decltype(nullptr)) {}
4075 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
4076 inline operator Reader() const { return Reader(_builder.asReader()); }
4077 inline Reader asReader() const { return *this; }
4078
4079 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
4080#if !CAPNP_LITE
4081 inline ::kj::StringTree toString() const { return asReader().toString(); }
4082#endif // !CAPNP_LITE
4083
4084 inline bool hasNodes();
4085 inline ::capnp::List< ::capnp::schema::Node, ::capnp::Kind::STRUCT>::Builder getNodes();
4086 inline void setNodes( ::capnp::List< ::capnp::schema::Node, ::capnp::Kind::STRUCT>::Reader value);
4087 inline ::capnp::List< ::capnp::schema::Node, ::capnp::Kind::STRUCT>::Builder initNodes(unsigned int size);
4088 inline void adoptNodes(::capnp::Orphan< ::capnp::List< ::capnp::schema::Node, ::capnp::Kind::STRUCT>>&& value);
4089 inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Node, ::capnp::Kind::STRUCT>> disownNodes();
4090
4091 inline bool hasRequestedFiles();
4092 inline ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile, ::capnp::Kind::STRUCT>::Builder getRequestedFiles();
4093 inline void setRequestedFiles( ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile, ::capnp::Kind::STRUCT>::Reader value);
4094 inline ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile, ::capnp::Kind::STRUCT>::Builder initRequestedFiles(unsigned int size);
4095 inline void adoptRequestedFiles(::capnp::Orphan< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile, ::capnp::Kind::STRUCT>>&& value);
4096 inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile, ::capnp::Kind::STRUCT>> disownRequestedFiles();
4097
4098 inline bool hasCapnpVersion();
4099 inline ::capnp::schema::CapnpVersion::Builder getCapnpVersion();
4100 inline void setCapnpVersion( ::capnp::schema::CapnpVersion::Reader value);
4101 inline ::capnp::schema::CapnpVersion::Builder initCapnpVersion();
4102 inline void adoptCapnpVersion(::capnp::Orphan< ::capnp::schema::CapnpVersion>&& value);
4103 inline ::capnp::Orphan< ::capnp::schema::CapnpVersion> disownCapnpVersion();
4104
4105 inline bool hasSourceInfo();
4106 inline ::capnp::List< ::capnp::schema::Node::SourceInfo, ::capnp::Kind::STRUCT>::Builder getSourceInfo();
4107 inline void setSourceInfo( ::capnp::List< ::capnp::schema::Node::SourceInfo, ::capnp::Kind::STRUCT>::Reader value);
4108 inline ::capnp::List< ::capnp::schema::Node::SourceInfo, ::capnp::Kind::STRUCT>::Builder initSourceInfo(unsigned int size);
4109 inline void adoptSourceInfo(::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::SourceInfo, ::capnp::Kind::STRUCT>>&& value);
4110 inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::SourceInfo, ::capnp::Kind::STRUCT>> disownSourceInfo();
4111
4112private:
4113 ::capnp::_::StructBuilder _builder;
4114 template <typename, ::capnp::Kind>
4115 friend struct ::capnp::ToDynamic_;
4116 friend class ::capnp::Orphanage;
4117 template <typename, ::capnp::Kind>
4118 friend struct ::capnp::_::PointerHelpers;
4119};
4120
4121#if !CAPNP_LITE
4122class CodeGeneratorRequest::Pipeline {
4123public:
4124 typedef CodeGeneratorRequest Pipelines;
4125
4126 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
4127 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
4128 : _typeless(kj::mv(typeless)) {}
4129
4130 inline ::capnp::schema::CapnpVersion::Pipeline getCapnpVersion();
4131private:
4132 ::capnp::AnyPointer::Pipeline _typeless;
4133 friend class ::capnp::PipelineHook;
4134 template <typename, ::capnp::Kind>
4135 friend struct ::capnp::ToDynamic_;
4136};
4137#endif // !CAPNP_LITE
4138
4139class CodeGeneratorRequest::RequestedFile::Reader {
4140public:
4141 typedef RequestedFile Reads;
4142
4143 Reader() = default;
4144 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
4145
4146 inline ::capnp::MessageSize totalSize() const {
4147 return _reader.totalSize().asPublic();
4148 }
4149
4150#if !CAPNP_LITE
4151 inline ::kj::StringTree toString() const {
4152 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
4153 }
4154#endif // !CAPNP_LITE
4155
4156 inline ::uint64_t getId() const;
4157
4158 inline bool hasFilename() const;
4159 inline ::capnp::Text::Reader getFilename() const;
4160
4161 inline bool hasImports() const;
4162 inline ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile::Import, ::capnp::Kind::STRUCT>::Reader getImports() const;
4163
4164private:
4165 ::capnp::_::StructReader _reader;
4166 template <typename, ::capnp::Kind>
4167 friend struct ::capnp::ToDynamic_;
4168 template <typename, ::capnp::Kind>
4169 friend struct ::capnp::_::PointerHelpers;
4170 template <typename, ::capnp::Kind>
4171 friend struct ::capnp::List;
4172 friend class ::capnp::MessageBuilder;
4173 friend class ::capnp::Orphanage;
4174};
4175
4176class CodeGeneratorRequest::RequestedFile::Builder {
4177public:
4178 typedef RequestedFile Builds;
4179
4180 Builder() = delete; // Deleted to discourage incorrect usage.
4181 // You can explicitly initialize to nullptr instead.
4182 inline Builder(decltype(nullptr)) {}
4183 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
4184 inline operator Reader() const { return Reader(_builder.asReader()); }
4185 inline Reader asReader() const { return *this; }
4186
4187 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
4188#if !CAPNP_LITE
4189 inline ::kj::StringTree toString() const { return asReader().toString(); }
4190#endif // !CAPNP_LITE
4191
4192 inline ::uint64_t getId();
4193 inline void setId( ::uint64_t value);
4194
4195 inline bool hasFilename();
4196 inline ::capnp::Text::Builder getFilename();
4197 inline void setFilename( ::capnp::Text::Reader value);
4198 inline ::capnp::Text::Builder initFilename(unsigned int size);
4199 inline void adoptFilename(::capnp::Orphan< ::capnp::Text>&& value);
4200 inline ::capnp::Orphan< ::capnp::Text> disownFilename();
4201
4202 inline bool hasImports();
4203 inline ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile::Import, ::capnp::Kind::STRUCT>::Builder getImports();
4204 inline void setImports( ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile::Import, ::capnp::Kind::STRUCT>::Reader value);
4205 inline ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile::Import, ::capnp::Kind::STRUCT>::Builder initImports(unsigned int size);
4206 inline void adoptImports(::capnp::Orphan< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile::Import, ::capnp::Kind::STRUCT>>&& value);
4207 inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile::Import, ::capnp::Kind::STRUCT>> disownImports();
4208
4209private:
4210 ::capnp::_::StructBuilder _builder;
4211 template <typename, ::capnp::Kind>
4212 friend struct ::capnp::ToDynamic_;
4213 friend class ::capnp::Orphanage;
4214 template <typename, ::capnp::Kind>
4215 friend struct ::capnp::_::PointerHelpers;
4216};
4217
4218#if !CAPNP_LITE
4219class CodeGeneratorRequest::RequestedFile::Pipeline {
4220public:
4221 typedef RequestedFile Pipelines;
4222
4223 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
4224 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
4225 : _typeless(kj::mv(typeless)) {}
4226
4227private:
4228 ::capnp::AnyPointer::Pipeline _typeless;
4229 friend class ::capnp::PipelineHook;
4230 template <typename, ::capnp::Kind>
4231 friend struct ::capnp::ToDynamic_;
4232};
4233#endif // !CAPNP_LITE
4234
4235class CodeGeneratorRequest::RequestedFile::Import::Reader {
4236public:
4237 typedef Import Reads;
4238
4239 Reader() = default;
4240 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
4241
4242 inline ::capnp::MessageSize totalSize() const {
4243 return _reader.totalSize().asPublic();
4244 }
4245
4246#if !CAPNP_LITE
4247 inline ::kj::StringTree toString() const {
4248 return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
4249 }
4250#endif // !CAPNP_LITE
4251
4252 inline ::uint64_t getId() const;
4253
4254 inline bool hasName() const;
4255 inline ::capnp::Text::Reader getName() const;
4256
4257private:
4258 ::capnp::_::StructReader _reader;
4259 template <typename, ::capnp::Kind>
4260 friend struct ::capnp::ToDynamic_;
4261 template <typename, ::capnp::Kind>
4262 friend struct ::capnp::_::PointerHelpers;
4263 template <typename, ::capnp::Kind>
4264 friend struct ::capnp::List;
4265 friend class ::capnp::MessageBuilder;
4266 friend class ::capnp::Orphanage;
4267};
4268
4269class CodeGeneratorRequest::RequestedFile::Import::Builder {
4270public:
4271 typedef Import Builds;
4272
4273 Builder() = delete; // Deleted to discourage incorrect usage.
4274 // You can explicitly initialize to nullptr instead.
4275 inline Builder(decltype(nullptr)) {}
4276 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
4277 inline operator Reader() const { return Reader(_builder.asReader()); }
4278 inline Reader asReader() const { return *this; }
4279
4280 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
4281#if !CAPNP_LITE
4282 inline ::kj::StringTree toString() const { return asReader().toString(); }
4283#endif // !CAPNP_LITE
4284
4285 inline ::uint64_t getId();
4286 inline void setId( ::uint64_t value);
4287
4288 inline bool hasName();
4289 inline ::capnp::Text::Builder getName();
4290 inline void setName( ::capnp::Text::Reader value);
4291 inline ::capnp::Text::Builder initName(unsigned int size);
4292 inline void adoptName(::capnp::Orphan< ::capnp::Text>&& value);
4293 inline ::capnp::Orphan< ::capnp::Text> disownName();
4294
4295private:
4296 ::capnp::_::StructBuilder _builder;
4297 template <typename, ::capnp::Kind>
4298 friend struct ::capnp::ToDynamic_;
4299 friend class ::capnp::Orphanage;
4300 template <typename, ::capnp::Kind>
4301 friend struct ::capnp::_::PointerHelpers;
4302};
4303
4304#if !CAPNP_LITE
4305class CodeGeneratorRequest::RequestedFile::Import::Pipeline {
4306public:
4307 typedef Import Pipelines;
4308
4309 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
4310 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
4311 : _typeless(kj::mv(typeless)) {}
4312
4313private:
4314 ::capnp::AnyPointer::Pipeline _typeless;
4315 friend class ::capnp::PipelineHook;
4316 template <typename, ::capnp::Kind>
4317 friend struct ::capnp::ToDynamic_;
4318};
4319#endif // !CAPNP_LITE
4320
4321// =======================================================================================
4322
4323inline ::capnp::schema::Node::Which Node::Reader::which() const {
4324 return _reader.getDataField<Which>(
4325 ::capnp::bounded<6>() * ::capnp::ELEMENTS);
4326}
4327inline ::capnp::schema::Node::Which Node::Builder::which() {
4328 return _builder.getDataField<Which>(
4329 ::capnp::bounded<6>() * ::capnp::ELEMENTS);
4330}
4331
4332inline ::uint64_t Node::Reader::getId() const {
4333 return _reader.getDataField< ::uint64_t>(
4334 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4335}
4336
4337inline ::uint64_t Node::Builder::getId() {
4338 return _builder.getDataField< ::uint64_t>(
4339 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4340}
4341inline void Node::Builder::setId( ::uint64_t value) {
4342 _builder.setDataField< ::uint64_t>(
4343 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4344}
4345
4346inline bool Node::Reader::hasDisplayName() const {
4347 return !_reader.getPointerField(
4348 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4349}
4350inline bool Node::Builder::hasDisplayName() {
4351 return !_builder.getPointerField(
4352 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4353}
4354inline ::capnp::Text::Reader Node::Reader::getDisplayName() const {
4355 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
4356 ::capnp::bounded<0>() * ::capnp::POINTERS));
4357}
4358inline ::capnp::Text::Builder Node::Builder::getDisplayName() {
4359 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
4360 ::capnp::bounded<0>() * ::capnp::POINTERS));
4361}
4362inline void Node::Builder::setDisplayName( ::capnp::Text::Reader value) {
4363 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
4364 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4365}
4366inline ::capnp::Text::Builder Node::Builder::initDisplayName(unsigned int size) {
4367 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
4368 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
4369}
4370inline void Node::Builder::adoptDisplayName(
4371 ::capnp::Orphan< ::capnp::Text>&& value) {
4372 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
4373 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4374}
4375inline ::capnp::Orphan< ::capnp::Text> Node::Builder::disownDisplayName() {
4376 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
4377 ::capnp::bounded<0>() * ::capnp::POINTERS));
4378}
4379
4380inline ::uint32_t Node::Reader::getDisplayNamePrefixLength() const {
4381 return _reader.getDataField< ::uint32_t>(
4382 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
4383}
4384
4385inline ::uint32_t Node::Builder::getDisplayNamePrefixLength() {
4386 return _builder.getDataField< ::uint32_t>(
4387 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
4388}
4389inline void Node::Builder::setDisplayNamePrefixLength( ::uint32_t value) {
4390 _builder.setDataField< ::uint32_t>(
4391 ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
4392}
4393
4394inline ::uint64_t Node::Reader::getScopeId() const {
4395 return _reader.getDataField< ::uint64_t>(
4396 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
4397}
4398
4399inline ::uint64_t Node::Builder::getScopeId() {
4400 return _builder.getDataField< ::uint64_t>(
4401 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
4402}
4403inline void Node::Builder::setScopeId( ::uint64_t value) {
4404 _builder.setDataField< ::uint64_t>(
4405 ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
4406}
4407
4408inline bool Node::Reader::hasNestedNodes() const {
4409 return !_reader.getPointerField(
4410 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
4411}
4412inline bool Node::Builder::hasNestedNodes() {
4413 return !_builder.getPointerField(
4414 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
4415}
4416inline ::capnp::List< ::capnp::schema::Node::NestedNode, ::capnp::Kind::STRUCT>::Reader Node::Reader::getNestedNodes() const {
4417 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::NestedNode, ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
4418 ::capnp::bounded<1>() * ::capnp::POINTERS));
4419}
4420inline ::capnp::List< ::capnp::schema::Node::NestedNode, ::capnp::Kind::STRUCT>::Builder Node::Builder::getNestedNodes() {
4421 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::NestedNode, ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
4422 ::capnp::bounded<1>() * ::capnp::POINTERS));
4423}
4424inline void Node::Builder::setNestedNodes( ::capnp::List< ::capnp::schema::Node::NestedNode, ::capnp::Kind::STRUCT>::Reader value) {
4425 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::NestedNode, ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
4426 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
4427}
4428inline ::capnp::List< ::capnp::schema::Node::NestedNode, ::capnp::Kind::STRUCT>::Builder Node::Builder::initNestedNodes(unsigned int size) {
4429 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::NestedNode, ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
4430 ::capnp::bounded<1>() * ::capnp::POINTERS), size);
4431}
4432inline void Node::Builder::adoptNestedNodes(
4433 ::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::NestedNode, ::capnp::Kind::STRUCT>>&& value) {
4434 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::NestedNode, ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
4435 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
4436}
4437inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::NestedNode, ::capnp::Kind::STRUCT>> Node::Builder::disownNestedNodes() {
4438 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::NestedNode, ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
4439 ::capnp::bounded<1>() * ::capnp::POINTERS));
4440}
4441
4442inline bool Node::Reader::hasAnnotations() const {
4443 return !_reader.getPointerField(
4444 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
4445}
4446inline bool Node::Builder::hasAnnotations() {
4447 return !_builder.getPointerField(
4448 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
4449}
4450inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Reader Node::Reader::getAnnotations() const {
4451 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
4452 ::capnp::bounded<2>() * ::capnp::POINTERS));
4453}
4454inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Builder Node::Builder::getAnnotations() {
4455 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
4456 ::capnp::bounded<2>() * ::capnp::POINTERS));
4457}
4458inline void Node::Builder::setAnnotations( ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Reader value) {
4459 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
4460 ::capnp::bounded<2>() * ::capnp::POINTERS), value);
4461}
4462inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Builder Node::Builder::initAnnotations(unsigned int size) {
4463 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
4464 ::capnp::bounded<2>() * ::capnp::POINTERS), size);
4465}
4466inline void Node::Builder::adoptAnnotations(
4467 ::capnp::Orphan< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>&& value) {
4468 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
4469 ::capnp::bounded<2>() * ::capnp::POINTERS), kj::mv(value));
4470}
4471inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>> Node::Builder::disownAnnotations() {
4472 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
4473 ::capnp::bounded<2>() * ::capnp::POINTERS));
4474}
4475
4476inline bool Node::Reader::isFile() const {
4477 return which() == Node::FILE;
4478}
4479inline bool Node::Builder::isFile() {
4480 return which() == Node::FILE;
4481}
4482inline ::capnp::Void Node::Reader::getFile() const {
4483 KJ_IREQUIRE((which() == Node::FILE),
4484 "Must check which() before get()ing a union member.");
4485 return _reader.getDataField< ::capnp::Void>(
4486 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4487}
4488
4489inline ::capnp::Void Node::Builder::getFile() {
4490 KJ_IREQUIRE((which() == Node::FILE),
4491 "Must check which() before get()ing a union member.");
4492 return _builder.getDataField< ::capnp::Void>(
4493 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4494}
4495inline void Node::Builder::setFile( ::capnp::Void value) {
4496 _builder.setDataField<Node::Which>(
4497 ::capnp::bounded<6>() * ::capnp::ELEMENTS, Node::FILE);
4498 _builder.setDataField< ::capnp::Void>(
4499 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4500}
4501
4502inline bool Node::Reader::isStruct() const {
4503 return which() == Node::STRUCT;
4504}
4505inline bool Node::Builder::isStruct() {
4506 return which() == Node::STRUCT;
4507}
4508inline typename Node::Struct::Reader Node::Reader::getStruct() const {
4509 KJ_IREQUIRE((which() == Node::STRUCT),
4510 "Must check which() before get()ing a union member.");
4511 return typename Node::Struct::Reader(_reader);
4512}
4513inline typename Node::Struct::Builder Node::Builder::getStruct() {
4514 KJ_IREQUIRE((which() == Node::STRUCT),
4515 "Must check which() before get()ing a union member.");
4516 return typename Node::Struct::Builder(_builder);
4517}
4518inline typename Node::Struct::Builder Node::Builder::initStruct() {
4519 _builder.setDataField<Node::Which>(
4520 ::capnp::bounded<6>() * ::capnp::ELEMENTS, Node::STRUCT);
4521 _builder.setDataField< ::uint16_t>(::capnp::bounded<7>() * ::capnp::ELEMENTS, 0);
4522 _builder.setDataField< ::uint16_t>(::capnp::bounded<12>() * ::capnp::ELEMENTS, 0);
4523 _builder.setDataField< ::uint16_t>(::capnp::bounded<13>() * ::capnp::ELEMENTS, 0);
4524 _builder.setDataField<bool>(::capnp::bounded<224>() * ::capnp::ELEMENTS, 0);
4525 _builder.setDataField< ::uint16_t>(::capnp::bounded<15>() * ::capnp::ELEMENTS, 0);
4526 _builder.setDataField< ::uint32_t>(::capnp::bounded<8>() * ::capnp::ELEMENTS, 0);
4527 _builder.getPointerField(::capnp::bounded<3>() * ::capnp::POINTERS).clear();
4528 return typename Node::Struct::Builder(_builder);
4529}
4530inline bool Node::Reader::isEnum() const {
4531 return which() == Node::ENUM;
4532}
4533inline bool Node::Builder::isEnum() {
4534 return which() == Node::ENUM;
4535}
4536inline typename Node::Enum::Reader Node::Reader::getEnum() const {
4537 KJ_IREQUIRE((which() == Node::ENUM),
4538 "Must check which() before get()ing a union member.");
4539 return typename Node::Enum::Reader(_reader);
4540}
4541inline typename Node::Enum::Builder Node::Builder::getEnum() {
4542 KJ_IREQUIRE((which() == Node::ENUM),
4543 "Must check which() before get()ing a union member.");
4544 return typename Node::Enum::Builder(_builder);
4545}
4546inline typename Node::Enum::Builder Node::Builder::initEnum() {
4547 _builder.setDataField<Node::Which>(
4548 ::capnp::bounded<6>() * ::capnp::ELEMENTS, Node::ENUM);
4549 _builder.getPointerField(::capnp::bounded<3>() * ::capnp::POINTERS).clear();
4550 return typename Node::Enum::Builder(_builder);
4551}
4552inline bool Node::Reader::isInterface() const {
4553 return which() == Node::INTERFACE;
4554}
4555inline bool Node::Builder::isInterface() {
4556 return which() == Node::INTERFACE;
4557}
4558inline typename Node::Interface::Reader Node::Reader::getInterface() const {
4559 KJ_IREQUIRE((which() == Node::INTERFACE),
4560 "Must check which() before get()ing a union member.");
4561 return typename Node::Interface::Reader(_reader);
4562}
4563inline typename Node::Interface::Builder Node::Builder::getInterface() {
4564 KJ_IREQUIRE((which() == Node::INTERFACE),
4565 "Must check which() before get()ing a union member.");
4566 return typename Node::Interface::Builder(_builder);
4567}
4568inline typename Node::Interface::Builder Node::Builder::initInterface() {
4569 _builder.setDataField<Node::Which>(
4570 ::capnp::bounded<6>() * ::capnp::ELEMENTS, Node::INTERFACE);
4571 _builder.getPointerField(::capnp::bounded<3>() * ::capnp::POINTERS).clear();
4572 _builder.getPointerField(::capnp::bounded<4>() * ::capnp::POINTERS).clear();
4573 return typename Node::Interface::Builder(_builder);
4574}
4575inline bool Node::Reader::isConst() const {
4576 return which() == Node::CONST;
4577}
4578inline bool Node::Builder::isConst() {
4579 return which() == Node::CONST;
4580}
4581inline typename Node::Const::Reader Node::Reader::getConst() const {
4582 KJ_IREQUIRE((which() == Node::CONST),
4583 "Must check which() before get()ing a union member.");
4584 return typename Node::Const::Reader(_reader);
4585}
4586inline typename Node::Const::Builder Node::Builder::getConst() {
4587 KJ_IREQUIRE((which() == Node::CONST),
4588 "Must check which() before get()ing a union member.");
4589 return typename Node::Const::Builder(_builder);
4590}
4591inline typename Node::Const::Builder Node::Builder::initConst() {
4592 _builder.setDataField<Node::Which>(
4593 ::capnp::bounded<6>() * ::capnp::ELEMENTS, Node::CONST);
4594 _builder.getPointerField(::capnp::bounded<3>() * ::capnp::POINTERS).clear();
4595 _builder.getPointerField(::capnp::bounded<4>() * ::capnp::POINTERS).clear();
4596 return typename Node::Const::Builder(_builder);
4597}
4598inline bool Node::Reader::isAnnotation() const {
4599 return which() == Node::ANNOTATION;
4600}
4601inline bool Node::Builder::isAnnotation() {
4602 return which() == Node::ANNOTATION;
4603}
4604inline typename Node::Annotation::Reader Node::Reader::getAnnotation() const {
4605 KJ_IREQUIRE((which() == Node::ANNOTATION),
4606 "Must check which() before get()ing a union member.");
4607 return typename Node::Annotation::Reader(_reader);
4608}
4609inline typename Node::Annotation::Builder Node::Builder::getAnnotation() {
4610 KJ_IREQUIRE((which() == Node::ANNOTATION),
4611 "Must check which() before get()ing a union member.");
4612 return typename Node::Annotation::Builder(_builder);
4613}
4614inline typename Node::Annotation::Builder Node::Builder::initAnnotation() {
4615 _builder.setDataField<Node::Which>(
4616 ::capnp::bounded<6>() * ::capnp::ELEMENTS, Node::ANNOTATION);
4617 _builder.setDataField<bool>(::capnp::bounded<112>() * ::capnp::ELEMENTS, 0);
4618 _builder.setDataField<bool>(::capnp::bounded<113>() * ::capnp::ELEMENTS, 0);
4619 _builder.setDataField<bool>(::capnp::bounded<114>() * ::capnp::ELEMENTS, 0);
4620 _builder.setDataField<bool>(::capnp::bounded<115>() * ::capnp::ELEMENTS, 0);
4621 _builder.setDataField<bool>(::capnp::bounded<116>() * ::capnp::ELEMENTS, 0);
4622 _builder.setDataField<bool>(::capnp::bounded<117>() * ::capnp::ELEMENTS, 0);
4623 _builder.setDataField<bool>(::capnp::bounded<118>() * ::capnp::ELEMENTS, 0);
4624 _builder.setDataField<bool>(::capnp::bounded<119>() * ::capnp::ELEMENTS, 0);
4625 _builder.setDataField<bool>(::capnp::bounded<120>() * ::capnp::ELEMENTS, 0);
4626 _builder.setDataField<bool>(::capnp::bounded<121>() * ::capnp::ELEMENTS, 0);
4627 _builder.setDataField<bool>(::capnp::bounded<122>() * ::capnp::ELEMENTS, 0);
4628 _builder.setDataField<bool>(::capnp::bounded<123>() * ::capnp::ELEMENTS, 0);
4629 _builder.getPointerField(::capnp::bounded<3>() * ::capnp::POINTERS).clear();
4630 return typename Node::Annotation::Builder(_builder);
4631}
4632inline bool Node::Reader::hasParameters() const {
4633 return !_reader.getPointerField(
4634 ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
4635}
4636inline bool Node::Builder::hasParameters() {
4637 return !_builder.getPointerField(
4638 ::capnp::bounded<5>() * ::capnp::POINTERS).isNull();
4639}
4640inline ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>::Reader Node::Reader::getParameters() const {
4641 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
4642 ::capnp::bounded<5>() * ::capnp::POINTERS));
4643}
4644inline ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>::Builder Node::Builder::getParameters() {
4645 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
4646 ::capnp::bounded<5>() * ::capnp::POINTERS));
4647}
4648inline void Node::Builder::setParameters( ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>::Reader value) {
4649 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
4650 ::capnp::bounded<5>() * ::capnp::POINTERS), value);
4651}
4652inline ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>::Builder Node::Builder::initParameters(unsigned int size) {
4653 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
4654 ::capnp::bounded<5>() * ::capnp::POINTERS), size);
4655}
4656inline void Node::Builder::adoptParameters(
4657 ::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>>&& value) {
4658 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
4659 ::capnp::bounded<5>() * ::capnp::POINTERS), kj::mv(value));
4660}
4661inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>> Node::Builder::disownParameters() {
4662 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
4663 ::capnp::bounded<5>() * ::capnp::POINTERS));
4664}
4665
4666inline bool Node::Reader::getIsGeneric() const {
4667 return _reader.getDataField<bool>(
4668 ::capnp::bounded<288>() * ::capnp::ELEMENTS);
4669}
4670
4671inline bool Node::Builder::getIsGeneric() {
4672 return _builder.getDataField<bool>(
4673 ::capnp::bounded<288>() * ::capnp::ELEMENTS);
4674}
4675inline void Node::Builder::setIsGeneric(bool value) {
4676 _builder.setDataField<bool>(
4677 ::capnp::bounded<288>() * ::capnp::ELEMENTS, value);
4678}
4679
4680inline bool Node::Parameter::Reader::hasName() const {
4681 return !_reader.getPointerField(
4682 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4683}
4684inline bool Node::Parameter::Builder::hasName() {
4685 return !_builder.getPointerField(
4686 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4687}
4688inline ::capnp::Text::Reader Node::Parameter::Reader::getName() const {
4689 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
4690 ::capnp::bounded<0>() * ::capnp::POINTERS));
4691}
4692inline ::capnp::Text::Builder Node::Parameter::Builder::getName() {
4693 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
4694 ::capnp::bounded<0>() * ::capnp::POINTERS));
4695}
4696inline void Node::Parameter::Builder::setName( ::capnp::Text::Reader value) {
4697 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
4698 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4699}
4700inline ::capnp::Text::Builder Node::Parameter::Builder::initName(unsigned int size) {
4701 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
4702 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
4703}
4704inline void Node::Parameter::Builder::adoptName(
4705 ::capnp::Orphan< ::capnp::Text>&& value) {
4706 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
4707 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4708}
4709inline ::capnp::Orphan< ::capnp::Text> Node::Parameter::Builder::disownName() {
4710 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
4711 ::capnp::bounded<0>() * ::capnp::POINTERS));
4712}
4713
4714inline bool Node::NestedNode::Reader::hasName() const {
4715 return !_reader.getPointerField(
4716 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4717}
4718inline bool Node::NestedNode::Builder::hasName() {
4719 return !_builder.getPointerField(
4720 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4721}
4722inline ::capnp::Text::Reader Node::NestedNode::Reader::getName() const {
4723 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
4724 ::capnp::bounded<0>() * ::capnp::POINTERS));
4725}
4726inline ::capnp::Text::Builder Node::NestedNode::Builder::getName() {
4727 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
4728 ::capnp::bounded<0>() * ::capnp::POINTERS));
4729}
4730inline void Node::NestedNode::Builder::setName( ::capnp::Text::Reader value) {
4731 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
4732 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4733}
4734inline ::capnp::Text::Builder Node::NestedNode::Builder::initName(unsigned int size) {
4735 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
4736 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
4737}
4738inline void Node::NestedNode::Builder::adoptName(
4739 ::capnp::Orphan< ::capnp::Text>&& value) {
4740 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
4741 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4742}
4743inline ::capnp::Orphan< ::capnp::Text> Node::NestedNode::Builder::disownName() {
4744 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
4745 ::capnp::bounded<0>() * ::capnp::POINTERS));
4746}
4747
4748inline ::uint64_t Node::NestedNode::Reader::getId() const {
4749 return _reader.getDataField< ::uint64_t>(
4750 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4751}
4752
4753inline ::uint64_t Node::NestedNode::Builder::getId() {
4754 return _builder.getDataField< ::uint64_t>(
4755 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4756}
4757inline void Node::NestedNode::Builder::setId( ::uint64_t value) {
4758 _builder.setDataField< ::uint64_t>(
4759 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4760}
4761
4762inline ::uint64_t Node::SourceInfo::Reader::getId() const {
4763 return _reader.getDataField< ::uint64_t>(
4764 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4765}
4766
4767inline ::uint64_t Node::SourceInfo::Builder::getId() {
4768 return _builder.getDataField< ::uint64_t>(
4769 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
4770}
4771inline void Node::SourceInfo::Builder::setId( ::uint64_t value) {
4772 _builder.setDataField< ::uint64_t>(
4773 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
4774}
4775
4776inline bool Node::SourceInfo::Reader::hasDocComment() const {
4777 return !_reader.getPointerField(
4778 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4779}
4780inline bool Node::SourceInfo::Builder::hasDocComment() {
4781 return !_builder.getPointerField(
4782 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4783}
4784inline ::capnp::Text::Reader Node::SourceInfo::Reader::getDocComment() const {
4785 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
4786 ::capnp::bounded<0>() * ::capnp::POINTERS));
4787}
4788inline ::capnp::Text::Builder Node::SourceInfo::Builder::getDocComment() {
4789 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
4790 ::capnp::bounded<0>() * ::capnp::POINTERS));
4791}
4792inline void Node::SourceInfo::Builder::setDocComment( ::capnp::Text::Reader value) {
4793 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
4794 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4795}
4796inline ::capnp::Text::Builder Node::SourceInfo::Builder::initDocComment(unsigned int size) {
4797 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
4798 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
4799}
4800inline void Node::SourceInfo::Builder::adoptDocComment(
4801 ::capnp::Orphan< ::capnp::Text>&& value) {
4802 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
4803 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4804}
4805inline ::capnp::Orphan< ::capnp::Text> Node::SourceInfo::Builder::disownDocComment() {
4806 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
4807 ::capnp::bounded<0>() * ::capnp::POINTERS));
4808}
4809
4810inline bool Node::SourceInfo::Reader::hasMembers() const {
4811 return !_reader.getPointerField(
4812 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
4813}
4814inline bool Node::SourceInfo::Builder::hasMembers() {
4815 return !_builder.getPointerField(
4816 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
4817}
4818inline ::capnp::List< ::capnp::schema::Node::SourceInfo::Member, ::capnp::Kind::STRUCT>::Reader Node::SourceInfo::Reader::getMembers() const {
4819 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::SourceInfo::Member, ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
4820 ::capnp::bounded<1>() * ::capnp::POINTERS));
4821}
4822inline ::capnp::List< ::capnp::schema::Node::SourceInfo::Member, ::capnp::Kind::STRUCT>::Builder Node::SourceInfo::Builder::getMembers() {
4823 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::SourceInfo::Member, ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
4824 ::capnp::bounded<1>() * ::capnp::POINTERS));
4825}
4826inline void Node::SourceInfo::Builder::setMembers( ::capnp::List< ::capnp::schema::Node::SourceInfo::Member, ::capnp::Kind::STRUCT>::Reader value) {
4827 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::SourceInfo::Member, ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
4828 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
4829}
4830inline ::capnp::List< ::capnp::schema::Node::SourceInfo::Member, ::capnp::Kind::STRUCT>::Builder Node::SourceInfo::Builder::initMembers(unsigned int size) {
4831 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::SourceInfo::Member, ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
4832 ::capnp::bounded<1>() * ::capnp::POINTERS), size);
4833}
4834inline void Node::SourceInfo::Builder::adoptMembers(
4835 ::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::SourceInfo::Member, ::capnp::Kind::STRUCT>>&& value) {
4836 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::SourceInfo::Member, ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
4837 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
4838}
4839inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::SourceInfo::Member, ::capnp::Kind::STRUCT>> Node::SourceInfo::Builder::disownMembers() {
4840 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::SourceInfo::Member, ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
4841 ::capnp::bounded<1>() * ::capnp::POINTERS));
4842}
4843
4844inline bool Node::SourceInfo::Member::Reader::hasDocComment() const {
4845 return !_reader.getPointerField(
4846 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4847}
4848inline bool Node::SourceInfo::Member::Builder::hasDocComment() {
4849 return !_builder.getPointerField(
4850 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
4851}
4852inline ::capnp::Text::Reader Node::SourceInfo::Member::Reader::getDocComment() const {
4853 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
4854 ::capnp::bounded<0>() * ::capnp::POINTERS));
4855}
4856inline ::capnp::Text::Builder Node::SourceInfo::Member::Builder::getDocComment() {
4857 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
4858 ::capnp::bounded<0>() * ::capnp::POINTERS));
4859}
4860inline void Node::SourceInfo::Member::Builder::setDocComment( ::capnp::Text::Reader value) {
4861 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
4862 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
4863}
4864inline ::capnp::Text::Builder Node::SourceInfo::Member::Builder::initDocComment(unsigned int size) {
4865 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
4866 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
4867}
4868inline void Node::SourceInfo::Member::Builder::adoptDocComment(
4869 ::capnp::Orphan< ::capnp::Text>&& value) {
4870 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
4871 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
4872}
4873inline ::capnp::Orphan< ::capnp::Text> Node::SourceInfo::Member::Builder::disownDocComment() {
4874 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
4875 ::capnp::bounded<0>() * ::capnp::POINTERS));
4876}
4877
4878inline ::uint16_t Node::Struct::Reader::getDataWordCount() const {
4879 return _reader.getDataField< ::uint16_t>(
4880 ::capnp::bounded<7>() * ::capnp::ELEMENTS);
4881}
4882
4883inline ::uint16_t Node::Struct::Builder::getDataWordCount() {
4884 return _builder.getDataField< ::uint16_t>(
4885 ::capnp::bounded<7>() * ::capnp::ELEMENTS);
4886}
4887inline void Node::Struct::Builder::setDataWordCount( ::uint16_t value) {
4888 _builder.setDataField< ::uint16_t>(
4889 ::capnp::bounded<7>() * ::capnp::ELEMENTS, value);
4890}
4891
4892inline ::uint16_t Node::Struct::Reader::getPointerCount() const {
4893 return _reader.getDataField< ::uint16_t>(
4894 ::capnp::bounded<12>() * ::capnp::ELEMENTS);
4895}
4896
4897inline ::uint16_t Node::Struct::Builder::getPointerCount() {
4898 return _builder.getDataField< ::uint16_t>(
4899 ::capnp::bounded<12>() * ::capnp::ELEMENTS);
4900}
4901inline void Node::Struct::Builder::setPointerCount( ::uint16_t value) {
4902 _builder.setDataField< ::uint16_t>(
4903 ::capnp::bounded<12>() * ::capnp::ELEMENTS, value);
4904}
4905
4906inline ::capnp::schema::ElementSize Node::Struct::Reader::getPreferredListEncoding() const {
4907 return _reader.getDataField< ::capnp::schema::ElementSize>(
4908 ::capnp::bounded<13>() * ::capnp::ELEMENTS);
4909}
4910
4911inline ::capnp::schema::ElementSize Node::Struct::Builder::getPreferredListEncoding() {
4912 return _builder.getDataField< ::capnp::schema::ElementSize>(
4913 ::capnp::bounded<13>() * ::capnp::ELEMENTS);
4914}
4915inline void Node::Struct::Builder::setPreferredListEncoding( ::capnp::schema::ElementSize value) {
4916 _builder.setDataField< ::capnp::schema::ElementSize>(
4917 ::capnp::bounded<13>() * ::capnp::ELEMENTS, value);
4918}
4919
4920inline bool Node::Struct::Reader::getIsGroup() const {
4921 return _reader.getDataField<bool>(
4922 ::capnp::bounded<224>() * ::capnp::ELEMENTS);
4923}
4924
4925inline bool Node::Struct::Builder::getIsGroup() {
4926 return _builder.getDataField<bool>(
4927 ::capnp::bounded<224>() * ::capnp::ELEMENTS);
4928}
4929inline void Node::Struct::Builder::setIsGroup(bool value) {
4930 _builder.setDataField<bool>(
4931 ::capnp::bounded<224>() * ::capnp::ELEMENTS, value);
4932}
4933
4934inline ::uint16_t Node::Struct::Reader::getDiscriminantCount() const {
4935 return _reader.getDataField< ::uint16_t>(
4936 ::capnp::bounded<15>() * ::capnp::ELEMENTS);
4937}
4938
4939inline ::uint16_t Node::Struct::Builder::getDiscriminantCount() {
4940 return _builder.getDataField< ::uint16_t>(
4941 ::capnp::bounded<15>() * ::capnp::ELEMENTS);
4942}
4943inline void Node::Struct::Builder::setDiscriminantCount( ::uint16_t value) {
4944 _builder.setDataField< ::uint16_t>(
4945 ::capnp::bounded<15>() * ::capnp::ELEMENTS, value);
4946}
4947
4948inline ::uint32_t Node::Struct::Reader::getDiscriminantOffset() const {
4949 return _reader.getDataField< ::uint32_t>(
4950 ::capnp::bounded<8>() * ::capnp::ELEMENTS);
4951}
4952
4953inline ::uint32_t Node::Struct::Builder::getDiscriminantOffset() {
4954 return _builder.getDataField< ::uint32_t>(
4955 ::capnp::bounded<8>() * ::capnp::ELEMENTS);
4956}
4957inline void Node::Struct::Builder::setDiscriminantOffset( ::uint32_t value) {
4958 _builder.setDataField< ::uint32_t>(
4959 ::capnp::bounded<8>() * ::capnp::ELEMENTS, value);
4960}
4961
4962inline bool Node::Struct::Reader::hasFields() const {
4963 return !_reader.getPointerField(
4964 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
4965}
4966inline bool Node::Struct::Builder::hasFields() {
4967 return !_builder.getPointerField(
4968 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
4969}
4970inline ::capnp::List< ::capnp::schema::Field, ::capnp::Kind::STRUCT>::Reader Node::Struct::Reader::getFields() const {
4971 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Field, ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
4972 ::capnp::bounded<3>() * ::capnp::POINTERS));
4973}
4974inline ::capnp::List< ::capnp::schema::Field, ::capnp::Kind::STRUCT>::Builder Node::Struct::Builder::getFields() {
4975 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Field, ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
4976 ::capnp::bounded<3>() * ::capnp::POINTERS));
4977}
4978inline void Node::Struct::Builder::setFields( ::capnp::List< ::capnp::schema::Field, ::capnp::Kind::STRUCT>::Reader value) {
4979 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Field, ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
4980 ::capnp::bounded<3>() * ::capnp::POINTERS), value);
4981}
4982inline ::capnp::List< ::capnp::schema::Field, ::capnp::Kind::STRUCT>::Builder Node::Struct::Builder::initFields(unsigned int size) {
4983 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Field, ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
4984 ::capnp::bounded<3>() * ::capnp::POINTERS), size);
4985}
4986inline void Node::Struct::Builder::adoptFields(
4987 ::capnp::Orphan< ::capnp::List< ::capnp::schema::Field, ::capnp::Kind::STRUCT>>&& value) {
4988 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Field, ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
4989 ::capnp::bounded<3>() * ::capnp::POINTERS), kj::mv(value));
4990}
4991inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Field, ::capnp::Kind::STRUCT>> Node::Struct::Builder::disownFields() {
4992 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Field, ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
4993 ::capnp::bounded<3>() * ::capnp::POINTERS));
4994}
4995
4996inline bool Node::Enum::Reader::hasEnumerants() const {
4997 return !_reader.getPointerField(
4998 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
4999}
5000inline bool Node::Enum::Builder::hasEnumerants() {
5001 return !_builder.getPointerField(
5002 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
5003}
5004inline ::capnp::List< ::capnp::schema::Enumerant, ::capnp::Kind::STRUCT>::Reader Node::Enum::Reader::getEnumerants() const {
5005 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Enumerant, ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
5006 ::capnp::bounded<3>() * ::capnp::POINTERS));
5007}
5008inline ::capnp::List< ::capnp::schema::Enumerant, ::capnp::Kind::STRUCT>::Builder Node::Enum::Builder::getEnumerants() {
5009 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Enumerant, ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
5010 ::capnp::bounded<3>() * ::capnp::POINTERS));
5011}
5012inline void Node::Enum::Builder::setEnumerants( ::capnp::List< ::capnp::schema::Enumerant, ::capnp::Kind::STRUCT>::Reader value) {
5013 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Enumerant, ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
5014 ::capnp::bounded<3>() * ::capnp::POINTERS), value);
5015}
5016inline ::capnp::List< ::capnp::schema::Enumerant, ::capnp::Kind::STRUCT>::Builder Node::Enum::Builder::initEnumerants(unsigned int size) {
5017 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Enumerant, ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
5018 ::capnp::bounded<3>() * ::capnp::POINTERS), size);
5019}
5020inline void Node::Enum::Builder::adoptEnumerants(
5021 ::capnp::Orphan< ::capnp::List< ::capnp::schema::Enumerant, ::capnp::Kind::STRUCT>>&& value) {
5022 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Enumerant, ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
5023 ::capnp::bounded<3>() * ::capnp::POINTERS), kj::mv(value));
5024}
5025inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Enumerant, ::capnp::Kind::STRUCT>> Node::Enum::Builder::disownEnumerants() {
5026 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Enumerant, ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
5027 ::capnp::bounded<3>() * ::capnp::POINTERS));
5028}
5029
5030inline bool Node::Interface::Reader::hasMethods() const {
5031 return !_reader.getPointerField(
5032 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
5033}
5034inline bool Node::Interface::Builder::hasMethods() {
5035 return !_builder.getPointerField(
5036 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
5037}
5038inline ::capnp::List< ::capnp::schema::Method, ::capnp::Kind::STRUCT>::Reader Node::Interface::Reader::getMethods() const {
5039 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Method, ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
5040 ::capnp::bounded<3>() * ::capnp::POINTERS));
5041}
5042inline ::capnp::List< ::capnp::schema::Method, ::capnp::Kind::STRUCT>::Builder Node::Interface::Builder::getMethods() {
5043 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Method, ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
5044 ::capnp::bounded<3>() * ::capnp::POINTERS));
5045}
5046inline void Node::Interface::Builder::setMethods( ::capnp::List< ::capnp::schema::Method, ::capnp::Kind::STRUCT>::Reader value) {
5047 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Method, ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
5048 ::capnp::bounded<3>() * ::capnp::POINTERS), value);
5049}
5050inline ::capnp::List< ::capnp::schema::Method, ::capnp::Kind::STRUCT>::Builder Node::Interface::Builder::initMethods(unsigned int size) {
5051 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Method, ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
5052 ::capnp::bounded<3>() * ::capnp::POINTERS), size);
5053}
5054inline void Node::Interface::Builder::adoptMethods(
5055 ::capnp::Orphan< ::capnp::List< ::capnp::schema::Method, ::capnp::Kind::STRUCT>>&& value) {
5056 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Method, ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
5057 ::capnp::bounded<3>() * ::capnp::POINTERS), kj::mv(value));
5058}
5059inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Method, ::capnp::Kind::STRUCT>> Node::Interface::Builder::disownMethods() {
5060 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Method, ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
5061 ::capnp::bounded<3>() * ::capnp::POINTERS));
5062}
5063
5064inline bool Node::Interface::Reader::hasSuperclasses() const {
5065 return !_reader.getPointerField(
5066 ::capnp::bounded<4>() * ::capnp::POINTERS).isNull();
5067}
5068inline bool Node::Interface::Builder::hasSuperclasses() {
5069 return !_builder.getPointerField(
5070 ::capnp::bounded<4>() * ::capnp::POINTERS).isNull();
5071}
5072inline ::capnp::List< ::capnp::schema::Superclass, ::capnp::Kind::STRUCT>::Reader Node::Interface::Reader::getSuperclasses() const {
5073 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Superclass, ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
5074 ::capnp::bounded<4>() * ::capnp::POINTERS));
5075}
5076inline ::capnp::List< ::capnp::schema::Superclass, ::capnp::Kind::STRUCT>::Builder Node::Interface::Builder::getSuperclasses() {
5077 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Superclass, ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
5078 ::capnp::bounded<4>() * ::capnp::POINTERS));
5079}
5080inline void Node::Interface::Builder::setSuperclasses( ::capnp::List< ::capnp::schema::Superclass, ::capnp::Kind::STRUCT>::Reader value) {
5081 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Superclass, ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
5082 ::capnp::bounded<4>() * ::capnp::POINTERS), value);
5083}
5084inline ::capnp::List< ::capnp::schema::Superclass, ::capnp::Kind::STRUCT>::Builder Node::Interface::Builder::initSuperclasses(unsigned int size) {
5085 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Superclass, ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
5086 ::capnp::bounded<4>() * ::capnp::POINTERS), size);
5087}
5088inline void Node::Interface::Builder::adoptSuperclasses(
5089 ::capnp::Orphan< ::capnp::List< ::capnp::schema::Superclass, ::capnp::Kind::STRUCT>>&& value) {
5090 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Superclass, ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
5091 ::capnp::bounded<4>() * ::capnp::POINTERS), kj::mv(value));
5092}
5093inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Superclass, ::capnp::Kind::STRUCT>> Node::Interface::Builder::disownSuperclasses() {
5094 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Superclass, ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
5095 ::capnp::bounded<4>() * ::capnp::POINTERS));
5096}
5097
5098inline bool Node::Const::Reader::hasType() const {
5099 return !_reader.getPointerField(
5100 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
5101}
5102inline bool Node::Const::Builder::hasType() {
5103 return !_builder.getPointerField(
5104 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
5105}
5106inline ::capnp::schema::Type::Reader Node::Const::Reader::getType() const {
5107 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get(_reader.getPointerField(
5108 ::capnp::bounded<3>() * ::capnp::POINTERS));
5109}
5110inline ::capnp::schema::Type::Builder Node::Const::Builder::getType() {
5111 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get(_builder.getPointerField(
5112 ::capnp::bounded<3>() * ::capnp::POINTERS));
5113}
5114#if !CAPNP_LITE
5115inline ::capnp::schema::Type::Pipeline Node::Const::Pipeline::getType() {
5116 return ::capnp::schema::Type::Pipeline(_typeless.getPointerField(3));
5117}
5118#endif // !CAPNP_LITE
5119inline void Node::Const::Builder::setType( ::capnp::schema::Type::Reader value) {
5120 ::capnp::_::PointerHelpers< ::capnp::schema::Type>::set(_builder.getPointerField(
5121 ::capnp::bounded<3>() * ::capnp::POINTERS), value);
5122}
5123inline ::capnp::schema::Type::Builder Node::Const::Builder::initType() {
5124 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::init(_builder.getPointerField(
5125 ::capnp::bounded<3>() * ::capnp::POINTERS));
5126}
5127inline void Node::Const::Builder::adoptType(
5128 ::capnp::Orphan< ::capnp::schema::Type>&& value) {
5129 ::capnp::_::PointerHelpers< ::capnp::schema::Type>::adopt(_builder.getPointerField(
5130 ::capnp::bounded<3>() * ::capnp::POINTERS), kj::mv(value));
5131}
5132inline ::capnp::Orphan< ::capnp::schema::Type> Node::Const::Builder::disownType() {
5133 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::disown(_builder.getPointerField(
5134 ::capnp::bounded<3>() * ::capnp::POINTERS));
5135}
5136
5137inline bool Node::Const::Reader::hasValue() const {
5138 return !_reader.getPointerField(
5139 ::capnp::bounded<4>() * ::capnp::POINTERS).isNull();
5140}
5141inline bool Node::Const::Builder::hasValue() {
5142 return !_builder.getPointerField(
5143 ::capnp::bounded<4>() * ::capnp::POINTERS).isNull();
5144}
5145inline ::capnp::schema::Value::Reader Node::Const::Reader::getValue() const {
5146 return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get(_reader.getPointerField(
5147 ::capnp::bounded<4>() * ::capnp::POINTERS));
5148}
5149inline ::capnp::schema::Value::Builder Node::Const::Builder::getValue() {
5150 return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get(_builder.getPointerField(
5151 ::capnp::bounded<4>() * ::capnp::POINTERS));
5152}
5153#if !CAPNP_LITE
5154inline ::capnp::schema::Value::Pipeline Node::Const::Pipeline::getValue() {
5155 return ::capnp::schema::Value::Pipeline(_typeless.getPointerField(4));
5156}
5157#endif // !CAPNP_LITE
5158inline void Node::Const::Builder::setValue( ::capnp::schema::Value::Reader value) {
5159 ::capnp::_::PointerHelpers< ::capnp::schema::Value>::set(_builder.getPointerField(
5160 ::capnp::bounded<4>() * ::capnp::POINTERS), value);
5161}
5162inline ::capnp::schema::Value::Builder Node::Const::Builder::initValue() {
5163 return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::init(_builder.getPointerField(
5164 ::capnp::bounded<4>() * ::capnp::POINTERS));
5165}
5166inline void Node::Const::Builder::adoptValue(
5167 ::capnp::Orphan< ::capnp::schema::Value>&& value) {
5168 ::capnp::_::PointerHelpers< ::capnp::schema::Value>::adopt(_builder.getPointerField(
5169 ::capnp::bounded<4>() * ::capnp::POINTERS), kj::mv(value));
5170}
5171inline ::capnp::Orphan< ::capnp::schema::Value> Node::Const::Builder::disownValue() {
5172 return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::disown(_builder.getPointerField(
5173 ::capnp::bounded<4>() * ::capnp::POINTERS));
5174}
5175
5176inline bool Node::Annotation::Reader::hasType() const {
5177 return !_reader.getPointerField(
5178 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
5179}
5180inline bool Node::Annotation::Builder::hasType() {
5181 return !_builder.getPointerField(
5182 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
5183}
5184inline ::capnp::schema::Type::Reader Node::Annotation::Reader::getType() const {
5185 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get(_reader.getPointerField(
5186 ::capnp::bounded<3>() * ::capnp::POINTERS));
5187}
5188inline ::capnp::schema::Type::Builder Node::Annotation::Builder::getType() {
5189 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get(_builder.getPointerField(
5190 ::capnp::bounded<3>() * ::capnp::POINTERS));
5191}
5192#if !CAPNP_LITE
5193inline ::capnp::schema::Type::Pipeline Node::Annotation::Pipeline::getType() {
5194 return ::capnp::schema::Type::Pipeline(_typeless.getPointerField(3));
5195}
5196#endif // !CAPNP_LITE
5197inline void Node::Annotation::Builder::setType( ::capnp::schema::Type::Reader value) {
5198 ::capnp::_::PointerHelpers< ::capnp::schema::Type>::set(_builder.getPointerField(
5199 ::capnp::bounded<3>() * ::capnp::POINTERS), value);
5200}
5201inline ::capnp::schema::Type::Builder Node::Annotation::Builder::initType() {
5202 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::init(_builder.getPointerField(
5203 ::capnp::bounded<3>() * ::capnp::POINTERS));
5204}
5205inline void Node::Annotation::Builder::adoptType(
5206 ::capnp::Orphan< ::capnp::schema::Type>&& value) {
5207 ::capnp::_::PointerHelpers< ::capnp::schema::Type>::adopt(_builder.getPointerField(
5208 ::capnp::bounded<3>() * ::capnp::POINTERS), kj::mv(value));
5209}
5210inline ::capnp::Orphan< ::capnp::schema::Type> Node::Annotation::Builder::disownType() {
5211 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::disown(_builder.getPointerField(
5212 ::capnp::bounded<3>() * ::capnp::POINTERS));
5213}
5214
5215inline bool Node::Annotation::Reader::getTargetsFile() const {
5216 return _reader.getDataField<bool>(
5217 ::capnp::bounded<112>() * ::capnp::ELEMENTS);
5218}
5219
5220inline bool Node::Annotation::Builder::getTargetsFile() {
5221 return _builder.getDataField<bool>(
5222 ::capnp::bounded<112>() * ::capnp::ELEMENTS);
5223}
5224inline void Node::Annotation::Builder::setTargetsFile(bool value) {
5225 _builder.setDataField<bool>(
5226 ::capnp::bounded<112>() * ::capnp::ELEMENTS, value);
5227}
5228
5229inline bool Node::Annotation::Reader::getTargetsConst() const {
5230 return _reader.getDataField<bool>(
5231 ::capnp::bounded<113>() * ::capnp::ELEMENTS);
5232}
5233
5234inline bool Node::Annotation::Builder::getTargetsConst() {
5235 return _builder.getDataField<bool>(
5236 ::capnp::bounded<113>() * ::capnp::ELEMENTS);
5237}
5238inline void Node::Annotation::Builder::setTargetsConst(bool value) {
5239 _builder.setDataField<bool>(
5240 ::capnp::bounded<113>() * ::capnp::ELEMENTS, value);
5241}
5242
5243inline bool Node::Annotation::Reader::getTargetsEnum() const {
5244 return _reader.getDataField<bool>(
5245 ::capnp::bounded<114>() * ::capnp::ELEMENTS);
5246}
5247
5248inline bool Node::Annotation::Builder::getTargetsEnum() {
5249 return _builder.getDataField<bool>(
5250 ::capnp::bounded<114>() * ::capnp::ELEMENTS);
5251}
5252inline void Node::Annotation::Builder::setTargetsEnum(bool value) {
5253 _builder.setDataField<bool>(
5254 ::capnp::bounded<114>() * ::capnp::ELEMENTS, value);
5255}
5256
5257inline bool Node::Annotation::Reader::getTargetsEnumerant() const {
5258 return _reader.getDataField<bool>(
5259 ::capnp::bounded<115>() * ::capnp::ELEMENTS);
5260}
5261
5262inline bool Node::Annotation::Builder::getTargetsEnumerant() {
5263 return _builder.getDataField<bool>(
5264 ::capnp::bounded<115>() * ::capnp::ELEMENTS);
5265}
5266inline void Node::Annotation::Builder::setTargetsEnumerant(bool value) {
5267 _builder.setDataField<bool>(
5268 ::capnp::bounded<115>() * ::capnp::ELEMENTS, value);
5269}
5270
5271inline bool Node::Annotation::Reader::getTargetsStruct() const {
5272 return _reader.getDataField<bool>(
5273 ::capnp::bounded<116>() * ::capnp::ELEMENTS);
5274}
5275
5276inline bool Node::Annotation::Builder::getTargetsStruct() {
5277 return _builder.getDataField<bool>(
5278 ::capnp::bounded<116>() * ::capnp::ELEMENTS);
5279}
5280inline void Node::Annotation::Builder::setTargetsStruct(bool value) {
5281 _builder.setDataField<bool>(
5282 ::capnp::bounded<116>() * ::capnp::ELEMENTS, value);
5283}
5284
5285inline bool Node::Annotation::Reader::getTargetsField() const {
5286 return _reader.getDataField<bool>(
5287 ::capnp::bounded<117>() * ::capnp::ELEMENTS);
5288}
5289
5290inline bool Node::Annotation::Builder::getTargetsField() {
5291 return _builder.getDataField<bool>(
5292 ::capnp::bounded<117>() * ::capnp::ELEMENTS);
5293}
5294inline void Node::Annotation::Builder::setTargetsField(bool value) {
5295 _builder.setDataField<bool>(
5296 ::capnp::bounded<117>() * ::capnp::ELEMENTS, value);
5297}
5298
5299inline bool Node::Annotation::Reader::getTargetsUnion() const {
5300 return _reader.getDataField<bool>(
5301 ::capnp::bounded<118>() * ::capnp::ELEMENTS);
5302}
5303
5304inline bool Node::Annotation::Builder::getTargetsUnion() {
5305 return _builder.getDataField<bool>(
5306 ::capnp::bounded<118>() * ::capnp::ELEMENTS);
5307}
5308inline void Node::Annotation::Builder::setTargetsUnion(bool value) {
5309 _builder.setDataField<bool>(
5310 ::capnp::bounded<118>() * ::capnp::ELEMENTS, value);
5311}
5312
5313inline bool Node::Annotation::Reader::getTargetsGroup() const {
5314 return _reader.getDataField<bool>(
5315 ::capnp::bounded<119>() * ::capnp::ELEMENTS);
5316}
5317
5318inline bool Node::Annotation::Builder::getTargetsGroup() {
5319 return _builder.getDataField<bool>(
5320 ::capnp::bounded<119>() * ::capnp::ELEMENTS);
5321}
5322inline void Node::Annotation::Builder::setTargetsGroup(bool value) {
5323 _builder.setDataField<bool>(
5324 ::capnp::bounded<119>() * ::capnp::ELEMENTS, value);
5325}
5326
5327inline bool Node::Annotation::Reader::getTargetsInterface() const {
5328 return _reader.getDataField<bool>(
5329 ::capnp::bounded<120>() * ::capnp::ELEMENTS);
5330}
5331
5332inline bool Node::Annotation::Builder::getTargetsInterface() {
5333 return _builder.getDataField<bool>(
5334 ::capnp::bounded<120>() * ::capnp::ELEMENTS);
5335}
5336inline void Node::Annotation::Builder::setTargetsInterface(bool value) {
5337 _builder.setDataField<bool>(
5338 ::capnp::bounded<120>() * ::capnp::ELEMENTS, value);
5339}
5340
5341inline bool Node::Annotation::Reader::getTargetsMethod() const {
5342 return _reader.getDataField<bool>(
5343 ::capnp::bounded<121>() * ::capnp::ELEMENTS);
5344}
5345
5346inline bool Node::Annotation::Builder::getTargetsMethod() {
5347 return _builder.getDataField<bool>(
5348 ::capnp::bounded<121>() * ::capnp::ELEMENTS);
5349}
5350inline void Node::Annotation::Builder::setTargetsMethod(bool value) {
5351 _builder.setDataField<bool>(
5352 ::capnp::bounded<121>() * ::capnp::ELEMENTS, value);
5353}
5354
5355inline bool Node::Annotation::Reader::getTargetsParam() const {
5356 return _reader.getDataField<bool>(
5357 ::capnp::bounded<122>() * ::capnp::ELEMENTS);
5358}
5359
5360inline bool Node::Annotation::Builder::getTargetsParam() {
5361 return _builder.getDataField<bool>(
5362 ::capnp::bounded<122>() * ::capnp::ELEMENTS);
5363}
5364inline void Node::Annotation::Builder::setTargetsParam(bool value) {
5365 _builder.setDataField<bool>(
5366 ::capnp::bounded<122>() * ::capnp::ELEMENTS, value);
5367}
5368
5369inline bool Node::Annotation::Reader::getTargetsAnnotation() const {
5370 return _reader.getDataField<bool>(
5371 ::capnp::bounded<123>() * ::capnp::ELEMENTS);
5372}
5373
5374inline bool Node::Annotation::Builder::getTargetsAnnotation() {
5375 return _builder.getDataField<bool>(
5376 ::capnp::bounded<123>() * ::capnp::ELEMENTS);
5377}
5378inline void Node::Annotation::Builder::setTargetsAnnotation(bool value) {
5379 _builder.setDataField<bool>(
5380 ::capnp::bounded<123>() * ::capnp::ELEMENTS, value);
5381}
5382
5383inline ::capnp::schema::Field::Which Field::Reader::which() const {
5384 return _reader.getDataField<Which>(
5385 ::capnp::bounded<4>() * ::capnp::ELEMENTS);
5386}
5387inline ::capnp::schema::Field::Which Field::Builder::which() {
5388 return _builder.getDataField<Which>(
5389 ::capnp::bounded<4>() * ::capnp::ELEMENTS);
5390}
5391
5392inline bool Field::Reader::hasName() const {
5393 return !_reader.getPointerField(
5394 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5395}
5396inline bool Field::Builder::hasName() {
5397 return !_builder.getPointerField(
5398 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5399}
5400inline ::capnp::Text::Reader Field::Reader::getName() const {
5401 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
5402 ::capnp::bounded<0>() * ::capnp::POINTERS));
5403}
5404inline ::capnp::Text::Builder Field::Builder::getName() {
5405 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
5406 ::capnp::bounded<0>() * ::capnp::POINTERS));
5407}
5408inline void Field::Builder::setName( ::capnp::Text::Reader value) {
5409 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
5410 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5411}
5412inline ::capnp::Text::Builder Field::Builder::initName(unsigned int size) {
5413 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
5414 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
5415}
5416inline void Field::Builder::adoptName(
5417 ::capnp::Orphan< ::capnp::Text>&& value) {
5418 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
5419 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5420}
5421inline ::capnp::Orphan< ::capnp::Text> Field::Builder::disownName() {
5422 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
5423 ::capnp::bounded<0>() * ::capnp::POINTERS));
5424}
5425
5426inline ::uint16_t Field::Reader::getCodeOrder() const {
5427 return _reader.getDataField< ::uint16_t>(
5428 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5429}
5430
5431inline ::uint16_t Field::Builder::getCodeOrder() {
5432 return _builder.getDataField< ::uint16_t>(
5433 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5434}
5435inline void Field::Builder::setCodeOrder( ::uint16_t value) {
5436 _builder.setDataField< ::uint16_t>(
5437 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5438}
5439
5440inline bool Field::Reader::hasAnnotations() const {
5441 return !_reader.getPointerField(
5442 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
5443}
5444inline bool Field::Builder::hasAnnotations() {
5445 return !_builder.getPointerField(
5446 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
5447}
5448inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Reader Field::Reader::getAnnotations() const {
5449 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
5450 ::capnp::bounded<1>() * ::capnp::POINTERS));
5451}
5452inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Builder Field::Builder::getAnnotations() {
5453 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
5454 ::capnp::bounded<1>() * ::capnp::POINTERS));
5455}
5456inline void Field::Builder::setAnnotations( ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Reader value) {
5457 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
5458 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
5459}
5460inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Builder Field::Builder::initAnnotations(unsigned int size) {
5461 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
5462 ::capnp::bounded<1>() * ::capnp::POINTERS), size);
5463}
5464inline void Field::Builder::adoptAnnotations(
5465 ::capnp::Orphan< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>&& value) {
5466 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
5467 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
5468}
5469inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>> Field::Builder::disownAnnotations() {
5470 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
5471 ::capnp::bounded<1>() * ::capnp::POINTERS));
5472}
5473
5474inline ::uint16_t Field::Reader::getDiscriminantValue() const {
5475 return _reader.getDataField< ::uint16_t>(
5476 ::capnp::bounded<1>() * ::capnp::ELEMENTS, 65535u);
5477}
5478
5479inline ::uint16_t Field::Builder::getDiscriminantValue() {
5480 return _builder.getDataField< ::uint16_t>(
5481 ::capnp::bounded<1>() * ::capnp::ELEMENTS, 65535u);
5482}
5483inline void Field::Builder::setDiscriminantValue( ::uint16_t value) {
5484 _builder.setDataField< ::uint16_t>(
5485 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value, 65535u);
5486}
5487
5488inline bool Field::Reader::isSlot() const {
5489 return which() == Field::SLOT;
5490}
5491inline bool Field::Builder::isSlot() {
5492 return which() == Field::SLOT;
5493}
5494inline typename Field::Slot::Reader Field::Reader::getSlot() const {
5495 KJ_IREQUIRE((which() == Field::SLOT),
5496 "Must check which() before get()ing a union member.");
5497 return typename Field::Slot::Reader(_reader);
5498}
5499inline typename Field::Slot::Builder Field::Builder::getSlot() {
5500 KJ_IREQUIRE((which() == Field::SLOT),
5501 "Must check which() before get()ing a union member.");
5502 return typename Field::Slot::Builder(_builder);
5503}
5504inline typename Field::Slot::Builder Field::Builder::initSlot() {
5505 _builder.setDataField<Field::Which>(
5506 ::capnp::bounded<4>() * ::capnp::ELEMENTS, Field::SLOT);
5507 _builder.setDataField< ::uint32_t>(::capnp::bounded<1>() * ::capnp::ELEMENTS, 0);
5508 _builder.setDataField<bool>(::capnp::bounded<128>() * ::capnp::ELEMENTS, 0);
5509 _builder.getPointerField(::capnp::bounded<2>() * ::capnp::POINTERS).clear();
5510 _builder.getPointerField(::capnp::bounded<3>() * ::capnp::POINTERS).clear();
5511 return typename Field::Slot::Builder(_builder);
5512}
5513inline bool Field::Reader::isGroup() const {
5514 return which() == Field::GROUP;
5515}
5516inline bool Field::Builder::isGroup() {
5517 return which() == Field::GROUP;
5518}
5519inline typename Field::Group::Reader Field::Reader::getGroup() const {
5520 KJ_IREQUIRE((which() == Field::GROUP),
5521 "Must check which() before get()ing a union member.");
5522 return typename Field::Group::Reader(_reader);
5523}
5524inline typename Field::Group::Builder Field::Builder::getGroup() {
5525 KJ_IREQUIRE((which() == Field::GROUP),
5526 "Must check which() before get()ing a union member.");
5527 return typename Field::Group::Builder(_builder);
5528}
5529inline typename Field::Group::Builder Field::Builder::initGroup() {
5530 _builder.setDataField<Field::Which>(
5531 ::capnp::bounded<4>() * ::capnp::ELEMENTS, Field::GROUP);
5532 _builder.setDataField< ::uint64_t>(::capnp::bounded<2>() * ::capnp::ELEMENTS, 0);
5533 return typename Field::Group::Builder(_builder);
5534}
5535inline typename Field::Ordinal::Reader Field::Reader::getOrdinal() const {
5536 return typename Field::Ordinal::Reader(_reader);
5537}
5538inline typename Field::Ordinal::Builder Field::Builder::getOrdinal() {
5539 return typename Field::Ordinal::Builder(_builder);
5540}
5541#if !CAPNP_LITE
5542inline typename Field::Ordinal::Pipeline Field::Pipeline::getOrdinal() {
5543 return typename Field::Ordinal::Pipeline(_typeless.noop());
5544}
5545#endif // !CAPNP_LITE
5546inline typename Field::Ordinal::Builder Field::Builder::initOrdinal() {
5547 _builder.setDataField< ::uint16_t>(::capnp::bounded<5>() * ::capnp::ELEMENTS, 0);
5548 _builder.setDataField< ::uint16_t>(::capnp::bounded<6>() * ::capnp::ELEMENTS, 0);
5549 return typename Field::Ordinal::Builder(_builder);
5550}
5551inline ::uint32_t Field::Slot::Reader::getOffset() const {
5552 return _reader.getDataField< ::uint32_t>(
5553 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
5554}
5555
5556inline ::uint32_t Field::Slot::Builder::getOffset() {
5557 return _builder.getDataField< ::uint32_t>(
5558 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
5559}
5560inline void Field::Slot::Builder::setOffset( ::uint32_t value) {
5561 _builder.setDataField< ::uint32_t>(
5562 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
5563}
5564
5565inline bool Field::Slot::Reader::hasType() const {
5566 return !_reader.getPointerField(
5567 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
5568}
5569inline bool Field::Slot::Builder::hasType() {
5570 return !_builder.getPointerField(
5571 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
5572}
5573inline ::capnp::schema::Type::Reader Field::Slot::Reader::getType() const {
5574 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get(_reader.getPointerField(
5575 ::capnp::bounded<2>() * ::capnp::POINTERS));
5576}
5577inline ::capnp::schema::Type::Builder Field::Slot::Builder::getType() {
5578 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get(_builder.getPointerField(
5579 ::capnp::bounded<2>() * ::capnp::POINTERS));
5580}
5581#if !CAPNP_LITE
5582inline ::capnp::schema::Type::Pipeline Field::Slot::Pipeline::getType() {
5583 return ::capnp::schema::Type::Pipeline(_typeless.getPointerField(2));
5584}
5585#endif // !CAPNP_LITE
5586inline void Field::Slot::Builder::setType( ::capnp::schema::Type::Reader value) {
5587 ::capnp::_::PointerHelpers< ::capnp::schema::Type>::set(_builder.getPointerField(
5588 ::capnp::bounded<2>() * ::capnp::POINTERS), value);
5589}
5590inline ::capnp::schema::Type::Builder Field::Slot::Builder::initType() {
5591 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::init(_builder.getPointerField(
5592 ::capnp::bounded<2>() * ::capnp::POINTERS));
5593}
5594inline void Field::Slot::Builder::adoptType(
5595 ::capnp::Orphan< ::capnp::schema::Type>&& value) {
5596 ::capnp::_::PointerHelpers< ::capnp::schema::Type>::adopt(_builder.getPointerField(
5597 ::capnp::bounded<2>() * ::capnp::POINTERS), kj::mv(value));
5598}
5599inline ::capnp::Orphan< ::capnp::schema::Type> Field::Slot::Builder::disownType() {
5600 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::disown(_builder.getPointerField(
5601 ::capnp::bounded<2>() * ::capnp::POINTERS));
5602}
5603
5604inline bool Field::Slot::Reader::hasDefaultValue() const {
5605 return !_reader.getPointerField(
5606 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
5607}
5608inline bool Field::Slot::Builder::hasDefaultValue() {
5609 return !_builder.getPointerField(
5610 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
5611}
5612inline ::capnp::schema::Value::Reader Field::Slot::Reader::getDefaultValue() const {
5613 return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get(_reader.getPointerField(
5614 ::capnp::bounded<3>() * ::capnp::POINTERS));
5615}
5616inline ::capnp::schema::Value::Builder Field::Slot::Builder::getDefaultValue() {
5617 return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get(_builder.getPointerField(
5618 ::capnp::bounded<3>() * ::capnp::POINTERS));
5619}
5620#if !CAPNP_LITE
5621inline ::capnp::schema::Value::Pipeline Field::Slot::Pipeline::getDefaultValue() {
5622 return ::capnp::schema::Value::Pipeline(_typeless.getPointerField(3));
5623}
5624#endif // !CAPNP_LITE
5625inline void Field::Slot::Builder::setDefaultValue( ::capnp::schema::Value::Reader value) {
5626 ::capnp::_::PointerHelpers< ::capnp::schema::Value>::set(_builder.getPointerField(
5627 ::capnp::bounded<3>() * ::capnp::POINTERS), value);
5628}
5629inline ::capnp::schema::Value::Builder Field::Slot::Builder::initDefaultValue() {
5630 return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::init(_builder.getPointerField(
5631 ::capnp::bounded<3>() * ::capnp::POINTERS));
5632}
5633inline void Field::Slot::Builder::adoptDefaultValue(
5634 ::capnp::Orphan< ::capnp::schema::Value>&& value) {
5635 ::capnp::_::PointerHelpers< ::capnp::schema::Value>::adopt(_builder.getPointerField(
5636 ::capnp::bounded<3>() * ::capnp::POINTERS), kj::mv(value));
5637}
5638inline ::capnp::Orphan< ::capnp::schema::Value> Field::Slot::Builder::disownDefaultValue() {
5639 return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::disown(_builder.getPointerField(
5640 ::capnp::bounded<3>() * ::capnp::POINTERS));
5641}
5642
5643inline bool Field::Slot::Reader::getHadExplicitDefault() const {
5644 return _reader.getDataField<bool>(
5645 ::capnp::bounded<128>() * ::capnp::ELEMENTS);
5646}
5647
5648inline bool Field::Slot::Builder::getHadExplicitDefault() {
5649 return _builder.getDataField<bool>(
5650 ::capnp::bounded<128>() * ::capnp::ELEMENTS);
5651}
5652inline void Field::Slot::Builder::setHadExplicitDefault(bool value) {
5653 _builder.setDataField<bool>(
5654 ::capnp::bounded<128>() * ::capnp::ELEMENTS, value);
5655}
5656
5657inline ::uint64_t Field::Group::Reader::getTypeId() const {
5658 return _reader.getDataField< ::uint64_t>(
5659 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
5660}
5661
5662inline ::uint64_t Field::Group::Builder::getTypeId() {
5663 return _builder.getDataField< ::uint64_t>(
5664 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
5665}
5666inline void Field::Group::Builder::setTypeId( ::uint64_t value) {
5667 _builder.setDataField< ::uint64_t>(
5668 ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
5669}
5670
5671inline ::capnp::schema::Field::Ordinal::Which Field::Ordinal::Reader::which() const {
5672 return _reader.getDataField<Which>(
5673 ::capnp::bounded<5>() * ::capnp::ELEMENTS);
5674}
5675inline ::capnp::schema::Field::Ordinal::Which Field::Ordinal::Builder::which() {
5676 return _builder.getDataField<Which>(
5677 ::capnp::bounded<5>() * ::capnp::ELEMENTS);
5678}
5679
5680inline bool Field::Ordinal::Reader::isImplicit() const {
5681 return which() == Field::Ordinal::IMPLICIT;
5682}
5683inline bool Field::Ordinal::Builder::isImplicit() {
5684 return which() == Field::Ordinal::IMPLICIT;
5685}
5686inline ::capnp::Void Field::Ordinal::Reader::getImplicit() const {
5687 KJ_IREQUIRE((which() == Field::Ordinal::IMPLICIT),
5688 "Must check which() before get()ing a union member.");
5689 return _reader.getDataField< ::capnp::Void>(
5690 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5691}
5692
5693inline ::capnp::Void Field::Ordinal::Builder::getImplicit() {
5694 KJ_IREQUIRE((which() == Field::Ordinal::IMPLICIT),
5695 "Must check which() before get()ing a union member.");
5696 return _builder.getDataField< ::capnp::Void>(
5697 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5698}
5699inline void Field::Ordinal::Builder::setImplicit( ::capnp::Void value) {
5700 _builder.setDataField<Field::Ordinal::Which>(
5701 ::capnp::bounded<5>() * ::capnp::ELEMENTS, Field::Ordinal::IMPLICIT);
5702 _builder.setDataField< ::capnp::Void>(
5703 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5704}
5705
5706inline bool Field::Ordinal::Reader::isExplicit() const {
5707 return which() == Field::Ordinal::EXPLICIT;
5708}
5709inline bool Field::Ordinal::Builder::isExplicit() {
5710 return which() == Field::Ordinal::EXPLICIT;
5711}
5712inline ::uint16_t Field::Ordinal::Reader::getExplicit() const {
5713 KJ_IREQUIRE((which() == Field::Ordinal::EXPLICIT),
5714 "Must check which() before get()ing a union member.");
5715 return _reader.getDataField< ::uint16_t>(
5716 ::capnp::bounded<6>() * ::capnp::ELEMENTS);
5717}
5718
5719inline ::uint16_t Field::Ordinal::Builder::getExplicit() {
5720 KJ_IREQUIRE((which() == Field::Ordinal::EXPLICIT),
5721 "Must check which() before get()ing a union member.");
5722 return _builder.getDataField< ::uint16_t>(
5723 ::capnp::bounded<6>() * ::capnp::ELEMENTS);
5724}
5725inline void Field::Ordinal::Builder::setExplicit( ::uint16_t value) {
5726 _builder.setDataField<Field::Ordinal::Which>(
5727 ::capnp::bounded<5>() * ::capnp::ELEMENTS, Field::Ordinal::EXPLICIT);
5728 _builder.setDataField< ::uint16_t>(
5729 ::capnp::bounded<6>() * ::capnp::ELEMENTS, value);
5730}
5731
5732inline bool Enumerant::Reader::hasName() const {
5733 return !_reader.getPointerField(
5734 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5735}
5736inline bool Enumerant::Builder::hasName() {
5737 return !_builder.getPointerField(
5738 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5739}
5740inline ::capnp::Text::Reader Enumerant::Reader::getName() const {
5741 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
5742 ::capnp::bounded<0>() * ::capnp::POINTERS));
5743}
5744inline ::capnp::Text::Builder Enumerant::Builder::getName() {
5745 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
5746 ::capnp::bounded<0>() * ::capnp::POINTERS));
5747}
5748inline void Enumerant::Builder::setName( ::capnp::Text::Reader value) {
5749 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
5750 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5751}
5752inline ::capnp::Text::Builder Enumerant::Builder::initName(unsigned int size) {
5753 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
5754 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
5755}
5756inline void Enumerant::Builder::adoptName(
5757 ::capnp::Orphan< ::capnp::Text>&& value) {
5758 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
5759 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5760}
5761inline ::capnp::Orphan< ::capnp::Text> Enumerant::Builder::disownName() {
5762 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
5763 ::capnp::bounded<0>() * ::capnp::POINTERS));
5764}
5765
5766inline ::uint16_t Enumerant::Reader::getCodeOrder() const {
5767 return _reader.getDataField< ::uint16_t>(
5768 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5769}
5770
5771inline ::uint16_t Enumerant::Builder::getCodeOrder() {
5772 return _builder.getDataField< ::uint16_t>(
5773 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5774}
5775inline void Enumerant::Builder::setCodeOrder( ::uint16_t value) {
5776 _builder.setDataField< ::uint16_t>(
5777 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5778}
5779
5780inline bool Enumerant::Reader::hasAnnotations() const {
5781 return !_reader.getPointerField(
5782 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
5783}
5784inline bool Enumerant::Builder::hasAnnotations() {
5785 return !_builder.getPointerField(
5786 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
5787}
5788inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Reader Enumerant::Reader::getAnnotations() const {
5789 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
5790 ::capnp::bounded<1>() * ::capnp::POINTERS));
5791}
5792inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Builder Enumerant::Builder::getAnnotations() {
5793 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
5794 ::capnp::bounded<1>() * ::capnp::POINTERS));
5795}
5796inline void Enumerant::Builder::setAnnotations( ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Reader value) {
5797 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
5798 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
5799}
5800inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Builder Enumerant::Builder::initAnnotations(unsigned int size) {
5801 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
5802 ::capnp::bounded<1>() * ::capnp::POINTERS), size);
5803}
5804inline void Enumerant::Builder::adoptAnnotations(
5805 ::capnp::Orphan< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>&& value) {
5806 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
5807 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
5808}
5809inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>> Enumerant::Builder::disownAnnotations() {
5810 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
5811 ::capnp::bounded<1>() * ::capnp::POINTERS));
5812}
5813
5814inline ::uint64_t Superclass::Reader::getId() const {
5815 return _reader.getDataField< ::uint64_t>(
5816 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5817}
5818
5819inline ::uint64_t Superclass::Builder::getId() {
5820 return _builder.getDataField< ::uint64_t>(
5821 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5822}
5823inline void Superclass::Builder::setId( ::uint64_t value) {
5824 _builder.setDataField< ::uint64_t>(
5825 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5826}
5827
5828inline bool Superclass::Reader::hasBrand() const {
5829 return !_reader.getPointerField(
5830 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5831}
5832inline bool Superclass::Builder::hasBrand() {
5833 return !_builder.getPointerField(
5834 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5835}
5836inline ::capnp::schema::Brand::Reader Superclass::Reader::getBrand() const {
5837 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::get(_reader.getPointerField(
5838 ::capnp::bounded<0>() * ::capnp::POINTERS));
5839}
5840inline ::capnp::schema::Brand::Builder Superclass::Builder::getBrand() {
5841 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::get(_builder.getPointerField(
5842 ::capnp::bounded<0>() * ::capnp::POINTERS));
5843}
5844#if !CAPNP_LITE
5845inline ::capnp::schema::Brand::Pipeline Superclass::Pipeline::getBrand() {
5846 return ::capnp::schema::Brand::Pipeline(_typeless.getPointerField(0));
5847}
5848#endif // !CAPNP_LITE
5849inline void Superclass::Builder::setBrand( ::capnp::schema::Brand::Reader value) {
5850 ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::set(_builder.getPointerField(
5851 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5852}
5853inline ::capnp::schema::Brand::Builder Superclass::Builder::initBrand() {
5854 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::init(_builder.getPointerField(
5855 ::capnp::bounded<0>() * ::capnp::POINTERS));
5856}
5857inline void Superclass::Builder::adoptBrand(
5858 ::capnp::Orphan< ::capnp::schema::Brand>&& value) {
5859 ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::adopt(_builder.getPointerField(
5860 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5861}
5862inline ::capnp::Orphan< ::capnp::schema::Brand> Superclass::Builder::disownBrand() {
5863 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::disown(_builder.getPointerField(
5864 ::capnp::bounded<0>() * ::capnp::POINTERS));
5865}
5866
5867inline bool Method::Reader::hasName() const {
5868 return !_reader.getPointerField(
5869 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5870}
5871inline bool Method::Builder::hasName() {
5872 return !_builder.getPointerField(
5873 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
5874}
5875inline ::capnp::Text::Reader Method::Reader::getName() const {
5876 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
5877 ::capnp::bounded<0>() * ::capnp::POINTERS));
5878}
5879inline ::capnp::Text::Builder Method::Builder::getName() {
5880 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
5881 ::capnp::bounded<0>() * ::capnp::POINTERS));
5882}
5883inline void Method::Builder::setName( ::capnp::Text::Reader value) {
5884 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
5885 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
5886}
5887inline ::capnp::Text::Builder Method::Builder::initName(unsigned int size) {
5888 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
5889 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
5890}
5891inline void Method::Builder::adoptName(
5892 ::capnp::Orphan< ::capnp::Text>&& value) {
5893 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
5894 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
5895}
5896inline ::capnp::Orphan< ::capnp::Text> Method::Builder::disownName() {
5897 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
5898 ::capnp::bounded<0>() * ::capnp::POINTERS));
5899}
5900
5901inline ::uint16_t Method::Reader::getCodeOrder() const {
5902 return _reader.getDataField< ::uint16_t>(
5903 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5904}
5905
5906inline ::uint16_t Method::Builder::getCodeOrder() {
5907 return _builder.getDataField< ::uint16_t>(
5908 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
5909}
5910inline void Method::Builder::setCodeOrder( ::uint16_t value) {
5911 _builder.setDataField< ::uint16_t>(
5912 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
5913}
5914
5915inline ::uint64_t Method::Reader::getParamStructType() const {
5916 return _reader.getDataField< ::uint64_t>(
5917 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
5918}
5919
5920inline ::uint64_t Method::Builder::getParamStructType() {
5921 return _builder.getDataField< ::uint64_t>(
5922 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
5923}
5924inline void Method::Builder::setParamStructType( ::uint64_t value) {
5925 _builder.setDataField< ::uint64_t>(
5926 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
5927}
5928
5929inline ::uint64_t Method::Reader::getResultStructType() const {
5930 return _reader.getDataField< ::uint64_t>(
5931 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
5932}
5933
5934inline ::uint64_t Method::Builder::getResultStructType() {
5935 return _builder.getDataField< ::uint64_t>(
5936 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
5937}
5938inline void Method::Builder::setResultStructType( ::uint64_t value) {
5939 _builder.setDataField< ::uint64_t>(
5940 ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
5941}
5942
5943inline bool Method::Reader::hasAnnotations() const {
5944 return !_reader.getPointerField(
5945 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
5946}
5947inline bool Method::Builder::hasAnnotations() {
5948 return !_builder.getPointerField(
5949 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
5950}
5951inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Reader Method::Reader::getAnnotations() const {
5952 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
5953 ::capnp::bounded<1>() * ::capnp::POINTERS));
5954}
5955inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Builder Method::Builder::getAnnotations() {
5956 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
5957 ::capnp::bounded<1>() * ::capnp::POINTERS));
5958}
5959inline void Method::Builder::setAnnotations( ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Reader value) {
5960 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
5961 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
5962}
5963inline ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>::Builder Method::Builder::initAnnotations(unsigned int size) {
5964 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
5965 ::capnp::bounded<1>() * ::capnp::POINTERS), size);
5966}
5967inline void Method::Builder::adoptAnnotations(
5968 ::capnp::Orphan< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>&& value) {
5969 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
5970 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
5971}
5972inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>> Method::Builder::disownAnnotations() {
5973 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation, ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
5974 ::capnp::bounded<1>() * ::capnp::POINTERS));
5975}
5976
5977inline bool Method::Reader::hasParamBrand() const {
5978 return !_reader.getPointerField(
5979 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
5980}
5981inline bool Method::Builder::hasParamBrand() {
5982 return !_builder.getPointerField(
5983 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
5984}
5985inline ::capnp::schema::Brand::Reader Method::Reader::getParamBrand() const {
5986 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::get(_reader.getPointerField(
5987 ::capnp::bounded<2>() * ::capnp::POINTERS));
5988}
5989inline ::capnp::schema::Brand::Builder Method::Builder::getParamBrand() {
5990 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::get(_builder.getPointerField(
5991 ::capnp::bounded<2>() * ::capnp::POINTERS));
5992}
5993#if !CAPNP_LITE
5994inline ::capnp::schema::Brand::Pipeline Method::Pipeline::getParamBrand() {
5995 return ::capnp::schema::Brand::Pipeline(_typeless.getPointerField(2));
5996}
5997#endif // !CAPNP_LITE
5998inline void Method::Builder::setParamBrand( ::capnp::schema::Brand::Reader value) {
5999 ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::set(_builder.getPointerField(
6000 ::capnp::bounded<2>() * ::capnp::POINTERS), value);
6001}
6002inline ::capnp::schema::Brand::Builder Method::Builder::initParamBrand() {
6003 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::init(_builder.getPointerField(
6004 ::capnp::bounded<2>() * ::capnp::POINTERS));
6005}
6006inline void Method::Builder::adoptParamBrand(
6007 ::capnp::Orphan< ::capnp::schema::Brand>&& value) {
6008 ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::adopt(_builder.getPointerField(
6009 ::capnp::bounded<2>() * ::capnp::POINTERS), kj::mv(value));
6010}
6011inline ::capnp::Orphan< ::capnp::schema::Brand> Method::Builder::disownParamBrand() {
6012 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::disown(_builder.getPointerField(
6013 ::capnp::bounded<2>() * ::capnp::POINTERS));
6014}
6015
6016inline bool Method::Reader::hasResultBrand() const {
6017 return !_reader.getPointerField(
6018 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
6019}
6020inline bool Method::Builder::hasResultBrand() {
6021 return !_builder.getPointerField(
6022 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
6023}
6024inline ::capnp::schema::Brand::Reader Method::Reader::getResultBrand() const {
6025 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::get(_reader.getPointerField(
6026 ::capnp::bounded<3>() * ::capnp::POINTERS));
6027}
6028inline ::capnp::schema::Brand::Builder Method::Builder::getResultBrand() {
6029 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::get(_builder.getPointerField(
6030 ::capnp::bounded<3>() * ::capnp::POINTERS));
6031}
6032#if !CAPNP_LITE
6033inline ::capnp::schema::Brand::Pipeline Method::Pipeline::getResultBrand() {
6034 return ::capnp::schema::Brand::Pipeline(_typeless.getPointerField(3));
6035}
6036#endif // !CAPNP_LITE
6037inline void Method::Builder::setResultBrand( ::capnp::schema::Brand::Reader value) {
6038 ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::set(_builder.getPointerField(
6039 ::capnp::bounded<3>() * ::capnp::POINTERS), value);
6040}
6041inline ::capnp::schema::Brand::Builder Method::Builder::initResultBrand() {
6042 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::init(_builder.getPointerField(
6043 ::capnp::bounded<3>() * ::capnp::POINTERS));
6044}
6045inline void Method::Builder::adoptResultBrand(
6046 ::capnp::Orphan< ::capnp::schema::Brand>&& value) {
6047 ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::adopt(_builder.getPointerField(
6048 ::capnp::bounded<3>() * ::capnp::POINTERS), kj::mv(value));
6049}
6050inline ::capnp::Orphan< ::capnp::schema::Brand> Method::Builder::disownResultBrand() {
6051 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::disown(_builder.getPointerField(
6052 ::capnp::bounded<3>() * ::capnp::POINTERS));
6053}
6054
6055inline bool Method::Reader::hasImplicitParameters() const {
6056 return !_reader.getPointerField(
6057 ::capnp::bounded<4>() * ::capnp::POINTERS).isNull();
6058}
6059inline bool Method::Builder::hasImplicitParameters() {
6060 return !_builder.getPointerField(
6061 ::capnp::bounded<4>() * ::capnp::POINTERS).isNull();
6062}
6063inline ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>::Reader Method::Reader::getImplicitParameters() const {
6064 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
6065 ::capnp::bounded<4>() * ::capnp::POINTERS));
6066}
6067inline ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>::Builder Method::Builder::getImplicitParameters() {
6068 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
6069 ::capnp::bounded<4>() * ::capnp::POINTERS));
6070}
6071inline void Method::Builder::setImplicitParameters( ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>::Reader value) {
6072 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
6073 ::capnp::bounded<4>() * ::capnp::POINTERS), value);
6074}
6075inline ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>::Builder Method::Builder::initImplicitParameters(unsigned int size) {
6076 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
6077 ::capnp::bounded<4>() * ::capnp::POINTERS), size);
6078}
6079inline void Method::Builder::adoptImplicitParameters(
6080 ::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>>&& value) {
6081 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
6082 ::capnp::bounded<4>() * ::capnp::POINTERS), kj::mv(value));
6083}
6084inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>> Method::Builder::disownImplicitParameters() {
6085 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::Parameter, ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
6086 ::capnp::bounded<4>() * ::capnp::POINTERS));
6087}
6088
6089inline ::capnp::schema::Type::Which Type::Reader::which() const {
6090 return _reader.getDataField<Which>(
6091 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6092}
6093inline ::capnp::schema::Type::Which Type::Builder::which() {
6094 return _builder.getDataField<Which>(
6095 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6096}
6097
6098inline bool Type::Reader::isVoid() const {
6099 return which() == Type::VOID;
6100}
6101inline bool Type::Builder::isVoid() {
6102 return which() == Type::VOID;
6103}
6104inline ::capnp::Void Type::Reader::getVoid() const {
6105 KJ_IREQUIRE((which() == Type::VOID),
6106 "Must check which() before get()ing a union member.");
6107 return _reader.getDataField< ::capnp::Void>(
6108 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6109}
6110
6111inline ::capnp::Void Type::Builder::getVoid() {
6112 KJ_IREQUIRE((which() == Type::VOID),
6113 "Must check which() before get()ing a union member.");
6114 return _builder.getDataField< ::capnp::Void>(
6115 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6116}
6117inline void Type::Builder::setVoid( ::capnp::Void value) {
6118 _builder.setDataField<Type::Which>(
6119 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Type::VOID);
6120 _builder.setDataField< ::capnp::Void>(
6121 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6122}
6123
6124inline bool Type::Reader::isBool() const {
6125 return which() == Type::BOOL;
6126}
6127inline bool Type::Builder::isBool() {
6128 return which() == Type::BOOL;
6129}
6130inline ::capnp::Void Type::Reader::getBool() const {
6131 KJ_IREQUIRE((which() == Type::BOOL),
6132 "Must check which() before get()ing a union member.");
6133 return _reader.getDataField< ::capnp::Void>(
6134 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6135}
6136
6137inline ::capnp::Void Type::Builder::getBool() {
6138 KJ_IREQUIRE((which() == Type::BOOL),
6139 "Must check which() before get()ing a union member.");
6140 return _builder.getDataField< ::capnp::Void>(
6141 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6142}
6143inline void Type::Builder::setBool( ::capnp::Void value) {
6144 _builder.setDataField<Type::Which>(
6145 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Type::BOOL);
6146 _builder.setDataField< ::capnp::Void>(
6147 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6148}
6149
6150inline bool Type::Reader::isInt8() const {
6151 return which() == Type::INT8;
6152}
6153inline bool Type::Builder::isInt8() {
6154 return which() == Type::INT8;
6155}
6156inline ::capnp::Void Type::Reader::getInt8() const {
6157 KJ_IREQUIRE((which() == Type::INT8),
6158 "Must check which() before get()ing a union member.");
6159 return _reader.getDataField< ::capnp::Void>(
6160 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6161}
6162
6163inline ::capnp::Void Type::Builder::getInt8() {
6164 KJ_IREQUIRE((which() == Type::INT8),
6165 "Must check which() before get()ing a union member.");
6166 return _builder.getDataField< ::capnp::Void>(
6167 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6168}
6169inline void Type::Builder::setInt8( ::capnp::Void value) {
6170 _builder.setDataField<Type::Which>(
6171 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Type::INT8);
6172 _builder.setDataField< ::capnp::Void>(
6173 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6174}
6175
6176inline bool Type::Reader::isInt16() const {
6177 return which() == Type::INT16;
6178}
6179inline bool Type::Builder::isInt16() {
6180 return which() == Type::INT16;
6181}
6182inline ::capnp::Void Type::Reader::getInt16() const {
6183 KJ_IREQUIRE((which() == Type::INT16),
6184 "Must check which() before get()ing a union member.");
6185 return _reader.getDataField< ::capnp::Void>(
6186 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6187}
6188
6189inline ::capnp::Void Type::Builder::getInt16() {
6190 KJ_IREQUIRE((which() == Type::INT16),
6191 "Must check which() before get()ing a union member.");
6192 return _builder.getDataField< ::capnp::Void>(
6193 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6194}
6195inline void Type::Builder::setInt16( ::capnp::Void value) {
6196 _builder.setDataField<Type::Which>(
6197 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Type::INT16);
6198 _builder.setDataField< ::capnp::Void>(
6199 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6200}
6201
6202inline bool Type::Reader::isInt32() const {
6203 return which() == Type::INT32;
6204}
6205inline bool Type::Builder::isInt32() {
6206 return which() == Type::INT32;
6207}
6208inline ::capnp::Void Type::Reader::getInt32() const {
6209 KJ_IREQUIRE((which() == Type::INT32),
6210 "Must check which() before get()ing a union member.");
6211 return _reader.getDataField< ::capnp::Void>(
6212 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6213}
6214
6215inline ::capnp::Void Type::Builder::getInt32() {
6216 KJ_IREQUIRE((which() == Type::INT32),
6217 "Must check which() before get()ing a union member.");
6218 return _builder.getDataField< ::capnp::Void>(
6219 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6220}
6221inline void Type::Builder::setInt32( ::capnp::Void value) {
6222 _builder.setDataField<Type::Which>(
6223 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Type::INT32);
6224 _builder.setDataField< ::capnp::Void>(
6225 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6226}
6227
6228inline bool Type::Reader::isInt64() const {
6229 return which() == Type::INT64;
6230}
6231inline bool Type::Builder::isInt64() {
6232 return which() == Type::INT64;
6233}
6234inline ::capnp::Void Type::Reader::getInt64() const {
6235 KJ_IREQUIRE((which() == Type::INT64),
6236 "Must check which() before get()ing a union member.");
6237 return _reader.getDataField< ::capnp::Void>(
6238 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6239}
6240
6241inline ::capnp::Void Type::Builder::getInt64() {
6242 KJ_IREQUIRE((which() == Type::INT64),
6243 "Must check which() before get()ing a union member.");
6244 return _builder.getDataField< ::capnp::Void>(
6245 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6246}
6247inline void Type::Builder::setInt64( ::capnp::Void value) {
6248 _builder.setDataField<Type::Which>(
6249 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Type::INT64);
6250 _builder.setDataField< ::capnp::Void>(
6251 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6252}
6253
6254inline bool Type::Reader::isUint8() const {
6255 return which() == Type::UINT8;
6256}
6257inline bool Type::Builder::isUint8() {
6258 return which() == Type::UINT8;
6259}
6260inline ::capnp::Void Type::Reader::getUint8() const {
6261 KJ_IREQUIRE((which() == Type::UINT8),
6262 "Must check which() before get()ing a union member.");
6263 return _reader.getDataField< ::capnp::Void>(
6264 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6265}
6266
6267inline ::capnp::Void Type::Builder::getUint8() {
6268 KJ_IREQUIRE((which() == Type::UINT8),
6269 "Must check which() before get()ing a union member.");
6270 return _builder.getDataField< ::capnp::Void>(
6271 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6272}
6273inline void Type::Builder::setUint8( ::capnp::Void value) {
6274 _builder.setDataField<Type::Which>(
6275 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Type::UINT8);
6276 _builder.setDataField< ::capnp::Void>(
6277 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6278}
6279
6280inline bool Type::Reader::isUint16() const {
6281 return which() == Type::UINT16;
6282}
6283inline bool Type::Builder::isUint16() {
6284 return which() == Type::UINT16;
6285}
6286inline ::capnp::Void Type::Reader::getUint16() const {
6287 KJ_IREQUIRE((which() == Type::UINT16),
6288 "Must check which() before get()ing a union member.");
6289 return _reader.getDataField< ::capnp::Void>(
6290 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6291}
6292
6293inline ::capnp::Void Type::Builder::getUint16() {
6294 KJ_IREQUIRE((which() == Type::UINT16),
6295 "Must check which() before get()ing a union member.");
6296 return _builder.getDataField< ::capnp::Void>(
6297 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6298}
6299inline void Type::Builder::setUint16( ::capnp::Void value) {
6300 _builder.setDataField<Type::Which>(
6301 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Type::UINT16);
6302 _builder.setDataField< ::capnp::Void>(
6303 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6304}
6305
6306inline bool Type::Reader::isUint32() const {
6307 return which() == Type::UINT32;
6308}
6309inline bool Type::Builder::isUint32() {
6310 return which() == Type::UINT32;
6311}
6312inline ::capnp::Void Type::Reader::getUint32() const {
6313 KJ_IREQUIRE((which() == Type::UINT32),
6314 "Must check which() before get()ing a union member.");
6315 return _reader.getDataField< ::capnp::Void>(
6316 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6317}
6318
6319inline ::capnp::Void Type::Builder::getUint32() {
6320 KJ_IREQUIRE((which() == Type::UINT32),
6321 "Must check which() before get()ing a union member.");
6322 return _builder.getDataField< ::capnp::Void>(
6323 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6324}
6325inline void Type::Builder::setUint32( ::capnp::Void value) {
6326 _builder.setDataField<Type::Which>(
6327 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Type::UINT32);
6328 _builder.setDataField< ::capnp::Void>(
6329 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6330}
6331
6332inline bool Type::Reader::isUint64() const {
6333 return which() == Type::UINT64;
6334}
6335inline bool Type::Builder::isUint64() {
6336 return which() == Type::UINT64;
6337}
6338inline ::capnp::Void Type::Reader::getUint64() const {
6339 KJ_IREQUIRE((which() == Type::UINT64),
6340 "Must check which() before get()ing a union member.");
6341 return _reader.getDataField< ::capnp::Void>(
6342 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6343}
6344
6345inline ::capnp::Void Type::Builder::getUint64() {
6346 KJ_IREQUIRE((which() == Type::UINT64),
6347 "Must check which() before get()ing a union member.");
6348 return _builder.getDataField< ::capnp::Void>(
6349 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6350}
6351inline void Type::Builder::setUint64( ::capnp::Void value) {
6352 _builder.setDataField<Type::Which>(
6353 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Type::UINT64);
6354 _builder.setDataField< ::capnp::Void>(
6355 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6356}
6357
6358inline bool Type::Reader::isFloat32() const {
6359 return which() == Type::FLOAT32;
6360}
6361inline bool Type::Builder::isFloat32() {
6362 return which() == Type::FLOAT32;
6363}
6364inline ::capnp::Void Type::Reader::getFloat32() const {
6365 KJ_IREQUIRE((which() == Type::FLOAT32),
6366 "Must check which() before get()ing a union member.");
6367 return _reader.getDataField< ::capnp::Void>(
6368 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6369}
6370
6371inline ::capnp::Void Type::Builder::getFloat32() {
6372 KJ_IREQUIRE((which() == Type::FLOAT32),
6373 "Must check which() before get()ing a union member.");
6374 return _builder.getDataField< ::capnp::Void>(
6375 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6376}
6377inline void Type::Builder::setFloat32( ::capnp::Void value) {
6378 _builder.setDataField<Type::Which>(
6379 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Type::FLOAT32);
6380 _builder.setDataField< ::capnp::Void>(
6381 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6382}
6383
6384inline bool Type::Reader::isFloat64() const {
6385 return which() == Type::FLOAT64;
6386}
6387inline bool Type::Builder::isFloat64() {
6388 return which() == Type::FLOAT64;
6389}
6390inline ::capnp::Void Type::Reader::getFloat64() const {
6391 KJ_IREQUIRE((which() == Type::FLOAT64),
6392 "Must check which() before get()ing a union member.");
6393 return _reader.getDataField< ::capnp::Void>(
6394 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6395}
6396
6397inline ::capnp::Void Type::Builder::getFloat64() {
6398 KJ_IREQUIRE((which() == Type::FLOAT64),
6399 "Must check which() before get()ing a union member.");
6400 return _builder.getDataField< ::capnp::Void>(
6401 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6402}
6403inline void Type::Builder::setFloat64( ::capnp::Void value) {
6404 _builder.setDataField<Type::Which>(
6405 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Type::FLOAT64);
6406 _builder.setDataField< ::capnp::Void>(
6407 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6408}
6409
6410inline bool Type::Reader::isText() const {
6411 return which() == Type::TEXT;
6412}
6413inline bool Type::Builder::isText() {
6414 return which() == Type::TEXT;
6415}
6416inline ::capnp::Void Type::Reader::getText() const {
6417 KJ_IREQUIRE((which() == Type::TEXT),
6418 "Must check which() before get()ing a union member.");
6419 return _reader.getDataField< ::capnp::Void>(
6420 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6421}
6422
6423inline ::capnp::Void Type::Builder::getText() {
6424 KJ_IREQUIRE((which() == Type::TEXT),
6425 "Must check which() before get()ing a union member.");
6426 return _builder.getDataField< ::capnp::Void>(
6427 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6428}
6429inline void Type::Builder::setText( ::capnp::Void value) {
6430 _builder.setDataField<Type::Which>(
6431 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Type::TEXT);
6432 _builder.setDataField< ::capnp::Void>(
6433 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6434}
6435
6436inline bool Type::Reader::isData() const {
6437 return which() == Type::DATA;
6438}
6439inline bool Type::Builder::isData() {
6440 return which() == Type::DATA;
6441}
6442inline ::capnp::Void Type::Reader::getData() const {
6443 KJ_IREQUIRE((which() == Type::DATA),
6444 "Must check which() before get()ing a union member.");
6445 return _reader.getDataField< ::capnp::Void>(
6446 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6447}
6448
6449inline ::capnp::Void Type::Builder::getData() {
6450 KJ_IREQUIRE((which() == Type::DATA),
6451 "Must check which() before get()ing a union member.");
6452 return _builder.getDataField< ::capnp::Void>(
6453 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6454}
6455inline void Type::Builder::setData( ::capnp::Void value) {
6456 _builder.setDataField<Type::Which>(
6457 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Type::DATA);
6458 _builder.setDataField< ::capnp::Void>(
6459 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6460}
6461
6462inline bool Type::Reader::isList() const {
6463 return which() == Type::LIST;
6464}
6465inline bool Type::Builder::isList() {
6466 return which() == Type::LIST;
6467}
6468inline typename Type::List::Reader Type::Reader::getList() const {
6469 KJ_IREQUIRE((which() == Type::LIST),
6470 "Must check which() before get()ing a union member.");
6471 return typename Type::List::Reader(_reader);
6472}
6473inline typename Type::List::Builder Type::Builder::getList() {
6474 KJ_IREQUIRE((which() == Type::LIST),
6475 "Must check which() before get()ing a union member.");
6476 return typename Type::List::Builder(_builder);
6477}
6478inline typename Type::List::Builder Type::Builder::initList() {
6479 _builder.setDataField<Type::Which>(
6480 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Type::LIST);
6481 _builder.getPointerField(::capnp::bounded<0>() * ::capnp::POINTERS).clear();
6482 return typename Type::List::Builder(_builder);
6483}
6484inline bool Type::Reader::isEnum() const {
6485 return which() == Type::ENUM;
6486}
6487inline bool Type::Builder::isEnum() {
6488 return which() == Type::ENUM;
6489}
6490inline typename Type::Enum::Reader Type::Reader::getEnum() const {
6491 KJ_IREQUIRE((which() == Type::ENUM),
6492 "Must check which() before get()ing a union member.");
6493 return typename Type::Enum::Reader(_reader);
6494}
6495inline typename Type::Enum::Builder Type::Builder::getEnum() {
6496 KJ_IREQUIRE((which() == Type::ENUM),
6497 "Must check which() before get()ing a union member.");
6498 return typename Type::Enum::Builder(_builder);
6499}
6500inline typename Type::Enum::Builder Type::Builder::initEnum() {
6501 _builder.setDataField<Type::Which>(
6502 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Type::ENUM);
6503 _builder.setDataField< ::uint64_t>(::capnp::bounded<1>() * ::capnp::ELEMENTS, 0);
6504 _builder.getPointerField(::capnp::bounded<0>() * ::capnp::POINTERS).clear();
6505 return typename Type::Enum::Builder(_builder);
6506}
6507inline bool Type::Reader::isStruct() const {
6508 return which() == Type::STRUCT;
6509}
6510inline bool Type::Builder::isStruct() {
6511 return which() == Type::STRUCT;
6512}
6513inline typename Type::Struct::Reader Type::Reader::getStruct() const {
6514 KJ_IREQUIRE((which() == Type::STRUCT),
6515 "Must check which() before get()ing a union member.");
6516 return typename Type::Struct::Reader(_reader);
6517}
6518inline typename Type::Struct::Builder Type::Builder::getStruct() {
6519 KJ_IREQUIRE((which() == Type::STRUCT),
6520 "Must check which() before get()ing a union member.");
6521 return typename Type::Struct::Builder(_builder);
6522}
6523inline typename Type::Struct::Builder Type::Builder::initStruct() {
6524 _builder.setDataField<Type::Which>(
6525 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Type::STRUCT);
6526 _builder.setDataField< ::uint64_t>(::capnp::bounded<1>() * ::capnp::ELEMENTS, 0);
6527 _builder.getPointerField(::capnp::bounded<0>() * ::capnp::POINTERS).clear();
6528 return typename Type::Struct::Builder(_builder);
6529}
6530inline bool Type::Reader::isInterface() const {
6531 return which() == Type::INTERFACE;
6532}
6533inline bool Type::Builder::isInterface() {
6534 return which() == Type::INTERFACE;
6535}
6536inline typename Type::Interface::Reader Type::Reader::getInterface() const {
6537 KJ_IREQUIRE((which() == Type::INTERFACE),
6538 "Must check which() before get()ing a union member.");
6539 return typename Type::Interface::Reader(_reader);
6540}
6541inline typename Type::Interface::Builder Type::Builder::getInterface() {
6542 KJ_IREQUIRE((which() == Type::INTERFACE),
6543 "Must check which() before get()ing a union member.");
6544 return typename Type::Interface::Builder(_builder);
6545}
6546inline typename Type::Interface::Builder Type::Builder::initInterface() {
6547 _builder.setDataField<Type::Which>(
6548 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Type::INTERFACE);
6549 _builder.setDataField< ::uint64_t>(::capnp::bounded<1>() * ::capnp::ELEMENTS, 0);
6550 _builder.getPointerField(::capnp::bounded<0>() * ::capnp::POINTERS).clear();
6551 return typename Type::Interface::Builder(_builder);
6552}
6553inline bool Type::Reader::isAnyPointer() const {
6554 return which() == Type::ANY_POINTER;
6555}
6556inline bool Type::Builder::isAnyPointer() {
6557 return which() == Type::ANY_POINTER;
6558}
6559inline typename Type::AnyPointer::Reader Type::Reader::getAnyPointer() const {
6560 KJ_IREQUIRE((which() == Type::ANY_POINTER),
6561 "Must check which() before get()ing a union member.");
6562 return typename Type::AnyPointer::Reader(_reader);
6563}
6564inline typename Type::AnyPointer::Builder Type::Builder::getAnyPointer() {
6565 KJ_IREQUIRE((which() == Type::ANY_POINTER),
6566 "Must check which() before get()ing a union member.");
6567 return typename Type::AnyPointer::Builder(_builder);
6568}
6569inline typename Type::AnyPointer::Builder Type::Builder::initAnyPointer() {
6570 _builder.setDataField<Type::Which>(
6571 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Type::ANY_POINTER);
6572 _builder.setDataField< ::uint16_t>(::capnp::bounded<4>() * ::capnp::ELEMENTS, 0);
6573 _builder.setDataField< ::uint16_t>(::capnp::bounded<5>() * ::capnp::ELEMENTS, 0);
6574 _builder.setDataField< ::uint64_t>(::capnp::bounded<2>() * ::capnp::ELEMENTS, 0);
6575 return typename Type::AnyPointer::Builder(_builder);
6576}
6577inline bool Type::List::Reader::hasElementType() const {
6578 return !_reader.getPointerField(
6579 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
6580}
6581inline bool Type::List::Builder::hasElementType() {
6582 return !_builder.getPointerField(
6583 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
6584}
6585inline ::capnp::schema::Type::Reader Type::List::Reader::getElementType() const {
6586 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get(_reader.getPointerField(
6587 ::capnp::bounded<0>() * ::capnp::POINTERS));
6588}
6589inline ::capnp::schema::Type::Builder Type::List::Builder::getElementType() {
6590 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get(_builder.getPointerField(
6591 ::capnp::bounded<0>() * ::capnp::POINTERS));
6592}
6593#if !CAPNP_LITE
6594inline ::capnp::schema::Type::Pipeline Type::List::Pipeline::getElementType() {
6595 return ::capnp::schema::Type::Pipeline(_typeless.getPointerField(0));
6596}
6597#endif // !CAPNP_LITE
6598inline void Type::List::Builder::setElementType( ::capnp::schema::Type::Reader value) {
6599 ::capnp::_::PointerHelpers< ::capnp::schema::Type>::set(_builder.getPointerField(
6600 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
6601}
6602inline ::capnp::schema::Type::Builder Type::List::Builder::initElementType() {
6603 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::init(_builder.getPointerField(
6604 ::capnp::bounded<0>() * ::capnp::POINTERS));
6605}
6606inline void Type::List::Builder::adoptElementType(
6607 ::capnp::Orphan< ::capnp::schema::Type>&& value) {
6608 ::capnp::_::PointerHelpers< ::capnp::schema::Type>::adopt(_builder.getPointerField(
6609 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
6610}
6611inline ::capnp::Orphan< ::capnp::schema::Type> Type::List::Builder::disownElementType() {
6612 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::disown(_builder.getPointerField(
6613 ::capnp::bounded<0>() * ::capnp::POINTERS));
6614}
6615
6616inline ::uint64_t Type::Enum::Reader::getTypeId() const {
6617 return _reader.getDataField< ::uint64_t>(
6618 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
6619}
6620
6621inline ::uint64_t Type::Enum::Builder::getTypeId() {
6622 return _builder.getDataField< ::uint64_t>(
6623 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
6624}
6625inline void Type::Enum::Builder::setTypeId( ::uint64_t value) {
6626 _builder.setDataField< ::uint64_t>(
6627 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
6628}
6629
6630inline bool Type::Enum::Reader::hasBrand() const {
6631 return !_reader.getPointerField(
6632 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
6633}
6634inline bool Type::Enum::Builder::hasBrand() {
6635 return !_builder.getPointerField(
6636 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
6637}
6638inline ::capnp::schema::Brand::Reader Type::Enum::Reader::getBrand() const {
6639 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::get(_reader.getPointerField(
6640 ::capnp::bounded<0>() * ::capnp::POINTERS));
6641}
6642inline ::capnp::schema::Brand::Builder Type::Enum::Builder::getBrand() {
6643 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::get(_builder.getPointerField(
6644 ::capnp::bounded<0>() * ::capnp::POINTERS));
6645}
6646#if !CAPNP_LITE
6647inline ::capnp::schema::Brand::Pipeline Type::Enum::Pipeline::getBrand() {
6648 return ::capnp::schema::Brand::Pipeline(_typeless.getPointerField(0));
6649}
6650#endif // !CAPNP_LITE
6651inline void Type::Enum::Builder::setBrand( ::capnp::schema::Brand::Reader value) {
6652 ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::set(_builder.getPointerField(
6653 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
6654}
6655inline ::capnp::schema::Brand::Builder Type::Enum::Builder::initBrand() {
6656 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::init(_builder.getPointerField(
6657 ::capnp::bounded<0>() * ::capnp::POINTERS));
6658}
6659inline void Type::Enum::Builder::adoptBrand(
6660 ::capnp::Orphan< ::capnp::schema::Brand>&& value) {
6661 ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::adopt(_builder.getPointerField(
6662 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
6663}
6664inline ::capnp::Orphan< ::capnp::schema::Brand> Type::Enum::Builder::disownBrand() {
6665 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::disown(_builder.getPointerField(
6666 ::capnp::bounded<0>() * ::capnp::POINTERS));
6667}
6668
6669inline ::uint64_t Type::Struct::Reader::getTypeId() const {
6670 return _reader.getDataField< ::uint64_t>(
6671 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
6672}
6673
6674inline ::uint64_t Type::Struct::Builder::getTypeId() {
6675 return _builder.getDataField< ::uint64_t>(
6676 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
6677}
6678inline void Type::Struct::Builder::setTypeId( ::uint64_t value) {
6679 _builder.setDataField< ::uint64_t>(
6680 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
6681}
6682
6683inline bool Type::Struct::Reader::hasBrand() const {
6684 return !_reader.getPointerField(
6685 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
6686}
6687inline bool Type::Struct::Builder::hasBrand() {
6688 return !_builder.getPointerField(
6689 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
6690}
6691inline ::capnp::schema::Brand::Reader Type::Struct::Reader::getBrand() const {
6692 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::get(_reader.getPointerField(
6693 ::capnp::bounded<0>() * ::capnp::POINTERS));
6694}
6695inline ::capnp::schema::Brand::Builder Type::Struct::Builder::getBrand() {
6696 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::get(_builder.getPointerField(
6697 ::capnp::bounded<0>() * ::capnp::POINTERS));
6698}
6699#if !CAPNP_LITE
6700inline ::capnp::schema::Brand::Pipeline Type::Struct::Pipeline::getBrand() {
6701 return ::capnp::schema::Brand::Pipeline(_typeless.getPointerField(0));
6702}
6703#endif // !CAPNP_LITE
6704inline void Type::Struct::Builder::setBrand( ::capnp::schema::Brand::Reader value) {
6705 ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::set(_builder.getPointerField(
6706 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
6707}
6708inline ::capnp::schema::Brand::Builder Type::Struct::Builder::initBrand() {
6709 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::init(_builder.getPointerField(
6710 ::capnp::bounded<0>() * ::capnp::POINTERS));
6711}
6712inline void Type::Struct::Builder::adoptBrand(
6713 ::capnp::Orphan< ::capnp::schema::Brand>&& value) {
6714 ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::adopt(_builder.getPointerField(
6715 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
6716}
6717inline ::capnp::Orphan< ::capnp::schema::Brand> Type::Struct::Builder::disownBrand() {
6718 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::disown(_builder.getPointerField(
6719 ::capnp::bounded<0>() * ::capnp::POINTERS));
6720}
6721
6722inline ::uint64_t Type::Interface::Reader::getTypeId() const {
6723 return _reader.getDataField< ::uint64_t>(
6724 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
6725}
6726
6727inline ::uint64_t Type::Interface::Builder::getTypeId() {
6728 return _builder.getDataField< ::uint64_t>(
6729 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
6730}
6731inline void Type::Interface::Builder::setTypeId( ::uint64_t value) {
6732 _builder.setDataField< ::uint64_t>(
6733 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
6734}
6735
6736inline bool Type::Interface::Reader::hasBrand() const {
6737 return !_reader.getPointerField(
6738 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
6739}
6740inline bool Type::Interface::Builder::hasBrand() {
6741 return !_builder.getPointerField(
6742 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
6743}
6744inline ::capnp::schema::Brand::Reader Type::Interface::Reader::getBrand() const {
6745 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::get(_reader.getPointerField(
6746 ::capnp::bounded<0>() * ::capnp::POINTERS));
6747}
6748inline ::capnp::schema::Brand::Builder Type::Interface::Builder::getBrand() {
6749 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::get(_builder.getPointerField(
6750 ::capnp::bounded<0>() * ::capnp::POINTERS));
6751}
6752#if !CAPNP_LITE
6753inline ::capnp::schema::Brand::Pipeline Type::Interface::Pipeline::getBrand() {
6754 return ::capnp::schema::Brand::Pipeline(_typeless.getPointerField(0));
6755}
6756#endif // !CAPNP_LITE
6757inline void Type::Interface::Builder::setBrand( ::capnp::schema::Brand::Reader value) {
6758 ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::set(_builder.getPointerField(
6759 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
6760}
6761inline ::capnp::schema::Brand::Builder Type::Interface::Builder::initBrand() {
6762 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::init(_builder.getPointerField(
6763 ::capnp::bounded<0>() * ::capnp::POINTERS));
6764}
6765inline void Type::Interface::Builder::adoptBrand(
6766 ::capnp::Orphan< ::capnp::schema::Brand>&& value) {
6767 ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::adopt(_builder.getPointerField(
6768 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
6769}
6770inline ::capnp::Orphan< ::capnp::schema::Brand> Type::Interface::Builder::disownBrand() {
6771 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::disown(_builder.getPointerField(
6772 ::capnp::bounded<0>() * ::capnp::POINTERS));
6773}
6774
6775inline ::capnp::schema::Type::AnyPointer::Which Type::AnyPointer::Reader::which() const {
6776 return _reader.getDataField<Which>(
6777 ::capnp::bounded<4>() * ::capnp::ELEMENTS);
6778}
6779inline ::capnp::schema::Type::AnyPointer::Which Type::AnyPointer::Builder::which() {
6780 return _builder.getDataField<Which>(
6781 ::capnp::bounded<4>() * ::capnp::ELEMENTS);
6782}
6783
6784inline bool Type::AnyPointer::Reader::isUnconstrained() const {
6785 return which() == Type::AnyPointer::UNCONSTRAINED;
6786}
6787inline bool Type::AnyPointer::Builder::isUnconstrained() {
6788 return which() == Type::AnyPointer::UNCONSTRAINED;
6789}
6790inline typename Type::AnyPointer::Unconstrained::Reader Type::AnyPointer::Reader::getUnconstrained() const {
6791 KJ_IREQUIRE((which() == Type::AnyPointer::UNCONSTRAINED),
6792 "Must check which() before get()ing a union member.");
6793 return typename Type::AnyPointer::Unconstrained::Reader(_reader);
6794}
6795inline typename Type::AnyPointer::Unconstrained::Builder Type::AnyPointer::Builder::getUnconstrained() {
6796 KJ_IREQUIRE((which() == Type::AnyPointer::UNCONSTRAINED),
6797 "Must check which() before get()ing a union member.");
6798 return typename Type::AnyPointer::Unconstrained::Builder(_builder);
6799}
6800inline typename Type::AnyPointer::Unconstrained::Builder Type::AnyPointer::Builder::initUnconstrained() {
6801 _builder.setDataField<Type::AnyPointer::Which>(
6802 ::capnp::bounded<4>() * ::capnp::ELEMENTS, Type::AnyPointer::UNCONSTRAINED);
6803 _builder.setDataField< ::uint16_t>(::capnp::bounded<5>() * ::capnp::ELEMENTS, 0);
6804 return typename Type::AnyPointer::Unconstrained::Builder(_builder);
6805}
6806inline bool Type::AnyPointer::Reader::isParameter() const {
6807 return which() == Type::AnyPointer::PARAMETER;
6808}
6809inline bool Type::AnyPointer::Builder::isParameter() {
6810 return which() == Type::AnyPointer::PARAMETER;
6811}
6812inline typename Type::AnyPointer::Parameter::Reader Type::AnyPointer::Reader::getParameter() const {
6813 KJ_IREQUIRE((which() == Type::AnyPointer::PARAMETER),
6814 "Must check which() before get()ing a union member.");
6815 return typename Type::AnyPointer::Parameter::Reader(_reader);
6816}
6817inline typename Type::AnyPointer::Parameter::Builder Type::AnyPointer::Builder::getParameter() {
6818 KJ_IREQUIRE((which() == Type::AnyPointer::PARAMETER),
6819 "Must check which() before get()ing a union member.");
6820 return typename Type::AnyPointer::Parameter::Builder(_builder);
6821}
6822inline typename Type::AnyPointer::Parameter::Builder Type::AnyPointer::Builder::initParameter() {
6823 _builder.setDataField<Type::AnyPointer::Which>(
6824 ::capnp::bounded<4>() * ::capnp::ELEMENTS, Type::AnyPointer::PARAMETER);
6825 _builder.setDataField< ::uint16_t>(::capnp::bounded<5>() * ::capnp::ELEMENTS, 0);
6826 _builder.setDataField< ::uint64_t>(::capnp::bounded<2>() * ::capnp::ELEMENTS, 0);
6827 return typename Type::AnyPointer::Parameter::Builder(_builder);
6828}
6829inline bool Type::AnyPointer::Reader::isImplicitMethodParameter() const {
6830 return which() == Type::AnyPointer::IMPLICIT_METHOD_PARAMETER;
6831}
6832inline bool Type::AnyPointer::Builder::isImplicitMethodParameter() {
6833 return which() == Type::AnyPointer::IMPLICIT_METHOD_PARAMETER;
6834}
6835inline typename Type::AnyPointer::ImplicitMethodParameter::Reader Type::AnyPointer::Reader::getImplicitMethodParameter() const {
6836 KJ_IREQUIRE((which() == Type::AnyPointer::IMPLICIT_METHOD_PARAMETER),
6837 "Must check which() before get()ing a union member.");
6838 return typename Type::AnyPointer::ImplicitMethodParameter::Reader(_reader);
6839}
6840inline typename Type::AnyPointer::ImplicitMethodParameter::Builder Type::AnyPointer::Builder::getImplicitMethodParameter() {
6841 KJ_IREQUIRE((which() == Type::AnyPointer::IMPLICIT_METHOD_PARAMETER),
6842 "Must check which() before get()ing a union member.");
6843 return typename Type::AnyPointer::ImplicitMethodParameter::Builder(_builder);
6844}
6845inline typename Type::AnyPointer::ImplicitMethodParameter::Builder Type::AnyPointer::Builder::initImplicitMethodParameter() {
6846 _builder.setDataField<Type::AnyPointer::Which>(
6847 ::capnp::bounded<4>() * ::capnp::ELEMENTS, Type::AnyPointer::IMPLICIT_METHOD_PARAMETER);
6848 _builder.setDataField< ::uint16_t>(::capnp::bounded<5>() * ::capnp::ELEMENTS, 0);
6849 return typename Type::AnyPointer::ImplicitMethodParameter::Builder(_builder);
6850}
6851inline ::capnp::schema::Type::AnyPointer::Unconstrained::Which Type::AnyPointer::Unconstrained::Reader::which() const {
6852 return _reader.getDataField<Which>(
6853 ::capnp::bounded<5>() * ::capnp::ELEMENTS);
6854}
6855inline ::capnp::schema::Type::AnyPointer::Unconstrained::Which Type::AnyPointer::Unconstrained::Builder::which() {
6856 return _builder.getDataField<Which>(
6857 ::capnp::bounded<5>() * ::capnp::ELEMENTS);
6858}
6859
6860inline bool Type::AnyPointer::Unconstrained::Reader::isAnyKind() const {
6861 return which() == Type::AnyPointer::Unconstrained::ANY_KIND;
6862}
6863inline bool Type::AnyPointer::Unconstrained::Builder::isAnyKind() {
6864 return which() == Type::AnyPointer::Unconstrained::ANY_KIND;
6865}
6866inline ::capnp::Void Type::AnyPointer::Unconstrained::Reader::getAnyKind() const {
6867 KJ_IREQUIRE((which() == Type::AnyPointer::Unconstrained::ANY_KIND),
6868 "Must check which() before get()ing a union member.");
6869 return _reader.getDataField< ::capnp::Void>(
6870 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6871}
6872
6873inline ::capnp::Void Type::AnyPointer::Unconstrained::Builder::getAnyKind() {
6874 KJ_IREQUIRE((which() == Type::AnyPointer::Unconstrained::ANY_KIND),
6875 "Must check which() before get()ing a union member.");
6876 return _builder.getDataField< ::capnp::Void>(
6877 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6878}
6879inline void Type::AnyPointer::Unconstrained::Builder::setAnyKind( ::capnp::Void value) {
6880 _builder.setDataField<Type::AnyPointer::Unconstrained::Which>(
6881 ::capnp::bounded<5>() * ::capnp::ELEMENTS, Type::AnyPointer::Unconstrained::ANY_KIND);
6882 _builder.setDataField< ::capnp::Void>(
6883 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6884}
6885
6886inline bool Type::AnyPointer::Unconstrained::Reader::isStruct() const {
6887 return which() == Type::AnyPointer::Unconstrained::STRUCT;
6888}
6889inline bool Type::AnyPointer::Unconstrained::Builder::isStruct() {
6890 return which() == Type::AnyPointer::Unconstrained::STRUCT;
6891}
6892inline ::capnp::Void Type::AnyPointer::Unconstrained::Reader::getStruct() const {
6893 KJ_IREQUIRE((which() == Type::AnyPointer::Unconstrained::STRUCT),
6894 "Must check which() before get()ing a union member.");
6895 return _reader.getDataField< ::capnp::Void>(
6896 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6897}
6898
6899inline ::capnp::Void Type::AnyPointer::Unconstrained::Builder::getStruct() {
6900 KJ_IREQUIRE((which() == Type::AnyPointer::Unconstrained::STRUCT),
6901 "Must check which() before get()ing a union member.");
6902 return _builder.getDataField< ::capnp::Void>(
6903 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6904}
6905inline void Type::AnyPointer::Unconstrained::Builder::setStruct( ::capnp::Void value) {
6906 _builder.setDataField<Type::AnyPointer::Unconstrained::Which>(
6907 ::capnp::bounded<5>() * ::capnp::ELEMENTS, Type::AnyPointer::Unconstrained::STRUCT);
6908 _builder.setDataField< ::capnp::Void>(
6909 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6910}
6911
6912inline bool Type::AnyPointer::Unconstrained::Reader::isList() const {
6913 return which() == Type::AnyPointer::Unconstrained::LIST;
6914}
6915inline bool Type::AnyPointer::Unconstrained::Builder::isList() {
6916 return which() == Type::AnyPointer::Unconstrained::LIST;
6917}
6918inline ::capnp::Void Type::AnyPointer::Unconstrained::Reader::getList() const {
6919 KJ_IREQUIRE((which() == Type::AnyPointer::Unconstrained::LIST),
6920 "Must check which() before get()ing a union member.");
6921 return _reader.getDataField< ::capnp::Void>(
6922 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6923}
6924
6925inline ::capnp::Void Type::AnyPointer::Unconstrained::Builder::getList() {
6926 KJ_IREQUIRE((which() == Type::AnyPointer::Unconstrained::LIST),
6927 "Must check which() before get()ing a union member.");
6928 return _builder.getDataField< ::capnp::Void>(
6929 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6930}
6931inline void Type::AnyPointer::Unconstrained::Builder::setList( ::capnp::Void value) {
6932 _builder.setDataField<Type::AnyPointer::Unconstrained::Which>(
6933 ::capnp::bounded<5>() * ::capnp::ELEMENTS, Type::AnyPointer::Unconstrained::LIST);
6934 _builder.setDataField< ::capnp::Void>(
6935 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6936}
6937
6938inline bool Type::AnyPointer::Unconstrained::Reader::isCapability() const {
6939 return which() == Type::AnyPointer::Unconstrained::CAPABILITY;
6940}
6941inline bool Type::AnyPointer::Unconstrained::Builder::isCapability() {
6942 return which() == Type::AnyPointer::Unconstrained::CAPABILITY;
6943}
6944inline ::capnp::Void Type::AnyPointer::Unconstrained::Reader::getCapability() const {
6945 KJ_IREQUIRE((which() == Type::AnyPointer::Unconstrained::CAPABILITY),
6946 "Must check which() before get()ing a union member.");
6947 return _reader.getDataField< ::capnp::Void>(
6948 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6949}
6950
6951inline ::capnp::Void Type::AnyPointer::Unconstrained::Builder::getCapability() {
6952 KJ_IREQUIRE((which() == Type::AnyPointer::Unconstrained::CAPABILITY),
6953 "Must check which() before get()ing a union member.");
6954 return _builder.getDataField< ::capnp::Void>(
6955 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
6956}
6957inline void Type::AnyPointer::Unconstrained::Builder::setCapability( ::capnp::Void value) {
6958 _builder.setDataField<Type::AnyPointer::Unconstrained::Which>(
6959 ::capnp::bounded<5>() * ::capnp::ELEMENTS, Type::AnyPointer::Unconstrained::CAPABILITY);
6960 _builder.setDataField< ::capnp::Void>(
6961 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
6962}
6963
6964inline ::uint64_t Type::AnyPointer::Parameter::Reader::getScopeId() const {
6965 return _reader.getDataField< ::uint64_t>(
6966 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
6967}
6968
6969inline ::uint64_t Type::AnyPointer::Parameter::Builder::getScopeId() {
6970 return _builder.getDataField< ::uint64_t>(
6971 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
6972}
6973inline void Type::AnyPointer::Parameter::Builder::setScopeId( ::uint64_t value) {
6974 _builder.setDataField< ::uint64_t>(
6975 ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
6976}
6977
6978inline ::uint16_t Type::AnyPointer::Parameter::Reader::getParameterIndex() const {
6979 return _reader.getDataField< ::uint16_t>(
6980 ::capnp::bounded<5>() * ::capnp::ELEMENTS);
6981}
6982
6983inline ::uint16_t Type::AnyPointer::Parameter::Builder::getParameterIndex() {
6984 return _builder.getDataField< ::uint16_t>(
6985 ::capnp::bounded<5>() * ::capnp::ELEMENTS);
6986}
6987inline void Type::AnyPointer::Parameter::Builder::setParameterIndex( ::uint16_t value) {
6988 _builder.setDataField< ::uint16_t>(
6989 ::capnp::bounded<5>() * ::capnp::ELEMENTS, value);
6990}
6991
6992inline ::uint16_t Type::AnyPointer::ImplicitMethodParameter::Reader::getParameterIndex() const {
6993 return _reader.getDataField< ::uint16_t>(
6994 ::capnp::bounded<5>() * ::capnp::ELEMENTS);
6995}
6996
6997inline ::uint16_t Type::AnyPointer::ImplicitMethodParameter::Builder::getParameterIndex() {
6998 return _builder.getDataField< ::uint16_t>(
6999 ::capnp::bounded<5>() * ::capnp::ELEMENTS);
7000}
7001inline void Type::AnyPointer::ImplicitMethodParameter::Builder::setParameterIndex( ::uint16_t value) {
7002 _builder.setDataField< ::uint16_t>(
7003 ::capnp::bounded<5>() * ::capnp::ELEMENTS, value);
7004}
7005
7006inline bool Brand::Reader::hasScopes() const {
7007 return !_reader.getPointerField(
7008 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7009}
7010inline bool Brand::Builder::hasScopes() {
7011 return !_builder.getPointerField(
7012 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7013}
7014inline ::capnp::List< ::capnp::schema::Brand::Scope, ::capnp::Kind::STRUCT>::Reader Brand::Reader::getScopes() const {
7015 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Brand::Scope, ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
7016 ::capnp::bounded<0>() * ::capnp::POINTERS));
7017}
7018inline ::capnp::List< ::capnp::schema::Brand::Scope, ::capnp::Kind::STRUCT>::Builder Brand::Builder::getScopes() {
7019 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Brand::Scope, ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
7020 ::capnp::bounded<0>() * ::capnp::POINTERS));
7021}
7022inline void Brand::Builder::setScopes( ::capnp::List< ::capnp::schema::Brand::Scope, ::capnp::Kind::STRUCT>::Reader value) {
7023 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Brand::Scope, ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
7024 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
7025}
7026inline ::capnp::List< ::capnp::schema::Brand::Scope, ::capnp::Kind::STRUCT>::Builder Brand::Builder::initScopes(unsigned int size) {
7027 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Brand::Scope, ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
7028 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
7029}
7030inline void Brand::Builder::adoptScopes(
7031 ::capnp::Orphan< ::capnp::List< ::capnp::schema::Brand::Scope, ::capnp::Kind::STRUCT>>&& value) {
7032 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Brand::Scope, ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
7033 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
7034}
7035inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Brand::Scope, ::capnp::Kind::STRUCT>> Brand::Builder::disownScopes() {
7036 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Brand::Scope, ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
7037 ::capnp::bounded<0>() * ::capnp::POINTERS));
7038}
7039
7040inline ::capnp::schema::Brand::Scope::Which Brand::Scope::Reader::which() const {
7041 return _reader.getDataField<Which>(
7042 ::capnp::bounded<4>() * ::capnp::ELEMENTS);
7043}
7044inline ::capnp::schema::Brand::Scope::Which Brand::Scope::Builder::which() {
7045 return _builder.getDataField<Which>(
7046 ::capnp::bounded<4>() * ::capnp::ELEMENTS);
7047}
7048
7049inline ::uint64_t Brand::Scope::Reader::getScopeId() const {
7050 return _reader.getDataField< ::uint64_t>(
7051 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
7052}
7053
7054inline ::uint64_t Brand::Scope::Builder::getScopeId() {
7055 return _builder.getDataField< ::uint64_t>(
7056 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
7057}
7058inline void Brand::Scope::Builder::setScopeId( ::uint64_t value) {
7059 _builder.setDataField< ::uint64_t>(
7060 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
7061}
7062
7063inline bool Brand::Scope::Reader::isBind() const {
7064 return which() == Brand::Scope::BIND;
7065}
7066inline bool Brand::Scope::Builder::isBind() {
7067 return which() == Brand::Scope::BIND;
7068}
7069inline bool Brand::Scope::Reader::hasBind() const {
7070 if (which() != Brand::Scope::BIND) return false;
7071 return !_reader.getPointerField(
7072 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7073}
7074inline bool Brand::Scope::Builder::hasBind() {
7075 if (which() != Brand::Scope::BIND) return false;
7076 return !_builder.getPointerField(
7077 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7078}
7079inline ::capnp::List< ::capnp::schema::Brand::Binding, ::capnp::Kind::STRUCT>::Reader Brand::Scope::Reader::getBind() const {
7080 KJ_IREQUIRE((which() == Brand::Scope::BIND),
7081 "Must check which() before get()ing a union member.");
7082 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Brand::Binding, ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
7083 ::capnp::bounded<0>() * ::capnp::POINTERS));
7084}
7085inline ::capnp::List< ::capnp::schema::Brand::Binding, ::capnp::Kind::STRUCT>::Builder Brand::Scope::Builder::getBind() {
7086 KJ_IREQUIRE((which() == Brand::Scope::BIND),
7087 "Must check which() before get()ing a union member.");
7088 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Brand::Binding, ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
7089 ::capnp::bounded<0>() * ::capnp::POINTERS));
7090}
7091inline void Brand::Scope::Builder::setBind( ::capnp::List< ::capnp::schema::Brand::Binding, ::capnp::Kind::STRUCT>::Reader value) {
7092 _builder.setDataField<Brand::Scope::Which>(
7093 ::capnp::bounded<4>() * ::capnp::ELEMENTS, Brand::Scope::BIND);
7094 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Brand::Binding, ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
7095 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
7096}
7097inline ::capnp::List< ::capnp::schema::Brand::Binding, ::capnp::Kind::STRUCT>::Builder Brand::Scope::Builder::initBind(unsigned int size) {
7098 _builder.setDataField<Brand::Scope::Which>(
7099 ::capnp::bounded<4>() * ::capnp::ELEMENTS, Brand::Scope::BIND);
7100 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Brand::Binding, ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
7101 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
7102}
7103inline void Brand::Scope::Builder::adoptBind(
7104 ::capnp::Orphan< ::capnp::List< ::capnp::schema::Brand::Binding, ::capnp::Kind::STRUCT>>&& value) {
7105 _builder.setDataField<Brand::Scope::Which>(
7106 ::capnp::bounded<4>() * ::capnp::ELEMENTS, Brand::Scope::BIND);
7107 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Brand::Binding, ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
7108 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
7109}
7110inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Brand::Binding, ::capnp::Kind::STRUCT>> Brand::Scope::Builder::disownBind() {
7111 KJ_IREQUIRE((which() == Brand::Scope::BIND),
7112 "Must check which() before get()ing a union member.");
7113 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Brand::Binding, ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
7114 ::capnp::bounded<0>() * ::capnp::POINTERS));
7115}
7116
7117inline bool Brand::Scope::Reader::isInherit() const {
7118 return which() == Brand::Scope::INHERIT;
7119}
7120inline bool Brand::Scope::Builder::isInherit() {
7121 return which() == Brand::Scope::INHERIT;
7122}
7123inline ::capnp::Void Brand::Scope::Reader::getInherit() const {
7124 KJ_IREQUIRE((which() == Brand::Scope::INHERIT),
7125 "Must check which() before get()ing a union member.");
7126 return _reader.getDataField< ::capnp::Void>(
7127 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
7128}
7129
7130inline ::capnp::Void Brand::Scope::Builder::getInherit() {
7131 KJ_IREQUIRE((which() == Brand::Scope::INHERIT),
7132 "Must check which() before get()ing a union member.");
7133 return _builder.getDataField< ::capnp::Void>(
7134 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
7135}
7136inline void Brand::Scope::Builder::setInherit( ::capnp::Void value) {
7137 _builder.setDataField<Brand::Scope::Which>(
7138 ::capnp::bounded<4>() * ::capnp::ELEMENTS, Brand::Scope::INHERIT);
7139 _builder.setDataField< ::capnp::Void>(
7140 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
7141}
7142
7143inline ::capnp::schema::Brand::Binding::Which Brand::Binding::Reader::which() const {
7144 return _reader.getDataField<Which>(
7145 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
7146}
7147inline ::capnp::schema::Brand::Binding::Which Brand::Binding::Builder::which() {
7148 return _builder.getDataField<Which>(
7149 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
7150}
7151
7152inline bool Brand::Binding::Reader::isUnbound() const {
7153 return which() == Brand::Binding::UNBOUND;
7154}
7155inline bool Brand::Binding::Builder::isUnbound() {
7156 return which() == Brand::Binding::UNBOUND;
7157}
7158inline ::capnp::Void Brand::Binding::Reader::getUnbound() const {
7159 KJ_IREQUIRE((which() == Brand::Binding::UNBOUND),
7160 "Must check which() before get()ing a union member.");
7161 return _reader.getDataField< ::capnp::Void>(
7162 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
7163}
7164
7165inline ::capnp::Void Brand::Binding::Builder::getUnbound() {
7166 KJ_IREQUIRE((which() == Brand::Binding::UNBOUND),
7167 "Must check which() before get()ing a union member.");
7168 return _builder.getDataField< ::capnp::Void>(
7169 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
7170}
7171inline void Brand::Binding::Builder::setUnbound( ::capnp::Void value) {
7172 _builder.setDataField<Brand::Binding::Which>(
7173 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Brand::Binding::UNBOUND);
7174 _builder.setDataField< ::capnp::Void>(
7175 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
7176}
7177
7178inline bool Brand::Binding::Reader::isType() const {
7179 return which() == Brand::Binding::TYPE;
7180}
7181inline bool Brand::Binding::Builder::isType() {
7182 return which() == Brand::Binding::TYPE;
7183}
7184inline bool Brand::Binding::Reader::hasType() const {
7185 if (which() != Brand::Binding::TYPE) return false;
7186 return !_reader.getPointerField(
7187 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7188}
7189inline bool Brand::Binding::Builder::hasType() {
7190 if (which() != Brand::Binding::TYPE) return false;
7191 return !_builder.getPointerField(
7192 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7193}
7194inline ::capnp::schema::Type::Reader Brand::Binding::Reader::getType() const {
7195 KJ_IREQUIRE((which() == Brand::Binding::TYPE),
7196 "Must check which() before get()ing a union member.");
7197 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get(_reader.getPointerField(
7198 ::capnp::bounded<0>() * ::capnp::POINTERS));
7199}
7200inline ::capnp::schema::Type::Builder Brand::Binding::Builder::getType() {
7201 KJ_IREQUIRE((which() == Brand::Binding::TYPE),
7202 "Must check which() before get()ing a union member.");
7203 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get(_builder.getPointerField(
7204 ::capnp::bounded<0>() * ::capnp::POINTERS));
7205}
7206inline void Brand::Binding::Builder::setType( ::capnp::schema::Type::Reader value) {
7207 _builder.setDataField<Brand::Binding::Which>(
7208 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Brand::Binding::TYPE);
7209 ::capnp::_::PointerHelpers< ::capnp::schema::Type>::set(_builder.getPointerField(
7210 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
7211}
7212inline ::capnp::schema::Type::Builder Brand::Binding::Builder::initType() {
7213 _builder.setDataField<Brand::Binding::Which>(
7214 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Brand::Binding::TYPE);
7215 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::init(_builder.getPointerField(
7216 ::capnp::bounded<0>() * ::capnp::POINTERS));
7217}
7218inline void Brand::Binding::Builder::adoptType(
7219 ::capnp::Orphan< ::capnp::schema::Type>&& value) {
7220 _builder.setDataField<Brand::Binding::Which>(
7221 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Brand::Binding::TYPE);
7222 ::capnp::_::PointerHelpers< ::capnp::schema::Type>::adopt(_builder.getPointerField(
7223 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
7224}
7225inline ::capnp::Orphan< ::capnp::schema::Type> Brand::Binding::Builder::disownType() {
7226 KJ_IREQUIRE((which() == Brand::Binding::TYPE),
7227 "Must check which() before get()ing a union member.");
7228 return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::disown(_builder.getPointerField(
7229 ::capnp::bounded<0>() * ::capnp::POINTERS));
7230}
7231
7232inline ::capnp::schema::Value::Which Value::Reader::which() const {
7233 return _reader.getDataField<Which>(
7234 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
7235}
7236inline ::capnp::schema::Value::Which Value::Builder::which() {
7237 return _builder.getDataField<Which>(
7238 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
7239}
7240
7241inline bool Value::Reader::isVoid() const {
7242 return which() == Value::VOID;
7243}
7244inline bool Value::Builder::isVoid() {
7245 return which() == Value::VOID;
7246}
7247inline ::capnp::Void Value::Reader::getVoid() const {
7248 KJ_IREQUIRE((which() == Value::VOID),
7249 "Must check which() before get()ing a union member.");
7250 return _reader.getDataField< ::capnp::Void>(
7251 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
7252}
7253
7254inline ::capnp::Void Value::Builder::getVoid() {
7255 KJ_IREQUIRE((which() == Value::VOID),
7256 "Must check which() before get()ing a union member.");
7257 return _builder.getDataField< ::capnp::Void>(
7258 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
7259}
7260inline void Value::Builder::setVoid( ::capnp::Void value) {
7261 _builder.setDataField<Value::Which>(
7262 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::VOID);
7263 _builder.setDataField< ::capnp::Void>(
7264 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
7265}
7266
7267inline bool Value::Reader::isBool() const {
7268 return which() == Value::BOOL;
7269}
7270inline bool Value::Builder::isBool() {
7271 return which() == Value::BOOL;
7272}
7273inline bool Value::Reader::getBool() const {
7274 KJ_IREQUIRE((which() == Value::BOOL),
7275 "Must check which() before get()ing a union member.");
7276 return _reader.getDataField<bool>(
7277 ::capnp::bounded<16>() * ::capnp::ELEMENTS);
7278}
7279
7280inline bool Value::Builder::getBool() {
7281 KJ_IREQUIRE((which() == Value::BOOL),
7282 "Must check which() before get()ing a union member.");
7283 return _builder.getDataField<bool>(
7284 ::capnp::bounded<16>() * ::capnp::ELEMENTS);
7285}
7286inline void Value::Builder::setBool(bool value) {
7287 _builder.setDataField<Value::Which>(
7288 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::BOOL);
7289 _builder.setDataField<bool>(
7290 ::capnp::bounded<16>() * ::capnp::ELEMENTS, value);
7291}
7292
7293inline bool Value::Reader::isInt8() const {
7294 return which() == Value::INT8;
7295}
7296inline bool Value::Builder::isInt8() {
7297 return which() == Value::INT8;
7298}
7299inline ::int8_t Value::Reader::getInt8() const {
7300 KJ_IREQUIRE((which() == Value::INT8),
7301 "Must check which() before get()ing a union member.");
7302 return _reader.getDataField< ::int8_t>(
7303 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
7304}
7305
7306inline ::int8_t Value::Builder::getInt8() {
7307 KJ_IREQUIRE((which() == Value::INT8),
7308 "Must check which() before get()ing a union member.");
7309 return _builder.getDataField< ::int8_t>(
7310 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
7311}
7312inline void Value::Builder::setInt8( ::int8_t value) {
7313 _builder.setDataField<Value::Which>(
7314 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::INT8);
7315 _builder.setDataField< ::int8_t>(
7316 ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
7317}
7318
7319inline bool Value::Reader::isInt16() const {
7320 return which() == Value::INT16;
7321}
7322inline bool Value::Builder::isInt16() {
7323 return which() == Value::INT16;
7324}
7325inline ::int16_t Value::Reader::getInt16() const {
7326 KJ_IREQUIRE((which() == Value::INT16),
7327 "Must check which() before get()ing a union member.");
7328 return _reader.getDataField< ::int16_t>(
7329 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
7330}
7331
7332inline ::int16_t Value::Builder::getInt16() {
7333 KJ_IREQUIRE((which() == Value::INT16),
7334 "Must check which() before get()ing a union member.");
7335 return _builder.getDataField< ::int16_t>(
7336 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
7337}
7338inline void Value::Builder::setInt16( ::int16_t value) {
7339 _builder.setDataField<Value::Which>(
7340 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::INT16);
7341 _builder.setDataField< ::int16_t>(
7342 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
7343}
7344
7345inline bool Value::Reader::isInt32() const {
7346 return which() == Value::INT32;
7347}
7348inline bool Value::Builder::isInt32() {
7349 return which() == Value::INT32;
7350}
7351inline ::int32_t Value::Reader::getInt32() const {
7352 KJ_IREQUIRE((which() == Value::INT32),
7353 "Must check which() before get()ing a union member.");
7354 return _reader.getDataField< ::int32_t>(
7355 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
7356}
7357
7358inline ::int32_t Value::Builder::getInt32() {
7359 KJ_IREQUIRE((which() == Value::INT32),
7360 "Must check which() before get()ing a union member.");
7361 return _builder.getDataField< ::int32_t>(
7362 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
7363}
7364inline void Value::Builder::setInt32( ::int32_t value) {
7365 _builder.setDataField<Value::Which>(
7366 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::INT32);
7367 _builder.setDataField< ::int32_t>(
7368 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
7369}
7370
7371inline bool Value::Reader::isInt64() const {
7372 return which() == Value::INT64;
7373}
7374inline bool Value::Builder::isInt64() {
7375 return which() == Value::INT64;
7376}
7377inline ::int64_t Value::Reader::getInt64() const {
7378 KJ_IREQUIRE((which() == Value::INT64),
7379 "Must check which() before get()ing a union member.");
7380 return _reader.getDataField< ::int64_t>(
7381 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
7382}
7383
7384inline ::int64_t Value::Builder::getInt64() {
7385 KJ_IREQUIRE((which() == Value::INT64),
7386 "Must check which() before get()ing a union member.");
7387 return _builder.getDataField< ::int64_t>(
7388 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
7389}
7390inline void Value::Builder::setInt64( ::int64_t value) {
7391 _builder.setDataField<Value::Which>(
7392 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::INT64);
7393 _builder.setDataField< ::int64_t>(
7394 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
7395}
7396
7397inline bool Value::Reader::isUint8() const {
7398 return which() == Value::UINT8;
7399}
7400inline bool Value::Builder::isUint8() {
7401 return which() == Value::UINT8;
7402}
7403inline ::uint8_t Value::Reader::getUint8() const {
7404 KJ_IREQUIRE((which() == Value::UINT8),
7405 "Must check which() before get()ing a union member.");
7406 return _reader.getDataField< ::uint8_t>(
7407 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
7408}
7409
7410inline ::uint8_t Value::Builder::getUint8() {
7411 KJ_IREQUIRE((which() == Value::UINT8),
7412 "Must check which() before get()ing a union member.");
7413 return _builder.getDataField< ::uint8_t>(
7414 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
7415}
7416inline void Value::Builder::setUint8( ::uint8_t value) {
7417 _builder.setDataField<Value::Which>(
7418 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::UINT8);
7419 _builder.setDataField< ::uint8_t>(
7420 ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
7421}
7422
7423inline bool Value::Reader::isUint16() const {
7424 return which() == Value::UINT16;
7425}
7426inline bool Value::Builder::isUint16() {
7427 return which() == Value::UINT16;
7428}
7429inline ::uint16_t Value::Reader::getUint16() const {
7430 KJ_IREQUIRE((which() == Value::UINT16),
7431 "Must check which() before get()ing a union member.");
7432 return _reader.getDataField< ::uint16_t>(
7433 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
7434}
7435
7436inline ::uint16_t Value::Builder::getUint16() {
7437 KJ_IREQUIRE((which() == Value::UINT16),
7438 "Must check which() before get()ing a union member.");
7439 return _builder.getDataField< ::uint16_t>(
7440 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
7441}
7442inline void Value::Builder::setUint16( ::uint16_t value) {
7443 _builder.setDataField<Value::Which>(
7444 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::UINT16);
7445 _builder.setDataField< ::uint16_t>(
7446 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
7447}
7448
7449inline bool Value::Reader::isUint32() const {
7450 return which() == Value::UINT32;
7451}
7452inline bool Value::Builder::isUint32() {
7453 return which() == Value::UINT32;
7454}
7455inline ::uint32_t Value::Reader::getUint32() const {
7456 KJ_IREQUIRE((which() == Value::UINT32),
7457 "Must check which() before get()ing a union member.");
7458 return _reader.getDataField< ::uint32_t>(
7459 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
7460}
7461
7462inline ::uint32_t Value::Builder::getUint32() {
7463 KJ_IREQUIRE((which() == Value::UINT32),
7464 "Must check which() before get()ing a union member.");
7465 return _builder.getDataField< ::uint32_t>(
7466 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
7467}
7468inline void Value::Builder::setUint32( ::uint32_t value) {
7469 _builder.setDataField<Value::Which>(
7470 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::UINT32);
7471 _builder.setDataField< ::uint32_t>(
7472 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
7473}
7474
7475inline bool Value::Reader::isUint64() const {
7476 return which() == Value::UINT64;
7477}
7478inline bool Value::Builder::isUint64() {
7479 return which() == Value::UINT64;
7480}
7481inline ::uint64_t Value::Reader::getUint64() const {
7482 KJ_IREQUIRE((which() == Value::UINT64),
7483 "Must check which() before get()ing a union member.");
7484 return _reader.getDataField< ::uint64_t>(
7485 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
7486}
7487
7488inline ::uint64_t Value::Builder::getUint64() {
7489 KJ_IREQUIRE((which() == Value::UINT64),
7490 "Must check which() before get()ing a union member.");
7491 return _builder.getDataField< ::uint64_t>(
7492 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
7493}
7494inline void Value::Builder::setUint64( ::uint64_t value) {
7495 _builder.setDataField<Value::Which>(
7496 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::UINT64);
7497 _builder.setDataField< ::uint64_t>(
7498 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
7499}
7500
7501inline bool Value::Reader::isFloat32() const {
7502 return which() == Value::FLOAT32;
7503}
7504inline bool Value::Builder::isFloat32() {
7505 return which() == Value::FLOAT32;
7506}
7507inline float Value::Reader::getFloat32() const {
7508 KJ_IREQUIRE((which() == Value::FLOAT32),
7509 "Must check which() before get()ing a union member.");
7510 return _reader.getDataField<float>(
7511 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
7512}
7513
7514inline float Value::Builder::getFloat32() {
7515 KJ_IREQUIRE((which() == Value::FLOAT32),
7516 "Must check which() before get()ing a union member.");
7517 return _builder.getDataField<float>(
7518 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
7519}
7520inline void Value::Builder::setFloat32(float value) {
7521 _builder.setDataField<Value::Which>(
7522 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::FLOAT32);
7523 _builder.setDataField<float>(
7524 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
7525}
7526
7527inline bool Value::Reader::isFloat64() const {
7528 return which() == Value::FLOAT64;
7529}
7530inline bool Value::Builder::isFloat64() {
7531 return which() == Value::FLOAT64;
7532}
7533inline double Value::Reader::getFloat64() const {
7534 KJ_IREQUIRE((which() == Value::FLOAT64),
7535 "Must check which() before get()ing a union member.");
7536 return _reader.getDataField<double>(
7537 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
7538}
7539
7540inline double Value::Builder::getFloat64() {
7541 KJ_IREQUIRE((which() == Value::FLOAT64),
7542 "Must check which() before get()ing a union member.");
7543 return _builder.getDataField<double>(
7544 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
7545}
7546inline void Value::Builder::setFloat64(double value) {
7547 _builder.setDataField<Value::Which>(
7548 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::FLOAT64);
7549 _builder.setDataField<double>(
7550 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
7551}
7552
7553inline bool Value::Reader::isText() const {
7554 return which() == Value::TEXT;
7555}
7556inline bool Value::Builder::isText() {
7557 return which() == Value::TEXT;
7558}
7559inline bool Value::Reader::hasText() const {
7560 if (which() != Value::TEXT) return false;
7561 return !_reader.getPointerField(
7562 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7563}
7564inline bool Value::Builder::hasText() {
7565 if (which() != Value::TEXT) return false;
7566 return !_builder.getPointerField(
7567 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7568}
7569inline ::capnp::Text::Reader Value::Reader::getText() const {
7570 KJ_IREQUIRE((which() == Value::TEXT),
7571 "Must check which() before get()ing a union member.");
7572 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
7573 ::capnp::bounded<0>() * ::capnp::POINTERS));
7574}
7575inline ::capnp::Text::Builder Value::Builder::getText() {
7576 KJ_IREQUIRE((which() == Value::TEXT),
7577 "Must check which() before get()ing a union member.");
7578 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
7579 ::capnp::bounded<0>() * ::capnp::POINTERS));
7580}
7581inline void Value::Builder::setText( ::capnp::Text::Reader value) {
7582 _builder.setDataField<Value::Which>(
7583 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::TEXT);
7584 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
7585 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
7586}
7587inline ::capnp::Text::Builder Value::Builder::initText(unsigned int size) {
7588 _builder.setDataField<Value::Which>(
7589 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::TEXT);
7590 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
7591 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
7592}
7593inline void Value::Builder::adoptText(
7594 ::capnp::Orphan< ::capnp::Text>&& value) {
7595 _builder.setDataField<Value::Which>(
7596 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::TEXT);
7597 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
7598 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
7599}
7600inline ::capnp::Orphan< ::capnp::Text> Value::Builder::disownText() {
7601 KJ_IREQUIRE((which() == Value::TEXT),
7602 "Must check which() before get()ing a union member.");
7603 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
7604 ::capnp::bounded<0>() * ::capnp::POINTERS));
7605}
7606
7607inline bool Value::Reader::isData() const {
7608 return which() == Value::DATA;
7609}
7610inline bool Value::Builder::isData() {
7611 return which() == Value::DATA;
7612}
7613inline bool Value::Reader::hasData() const {
7614 if (which() != Value::DATA) return false;
7615 return !_reader.getPointerField(
7616 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7617}
7618inline bool Value::Builder::hasData() {
7619 if (which() != Value::DATA) return false;
7620 return !_builder.getPointerField(
7621 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7622}
7623inline ::capnp::Data::Reader Value::Reader::getData() const {
7624 KJ_IREQUIRE((which() == Value::DATA),
7625 "Must check which() before get()ing a union member.");
7626 return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
7627 ::capnp::bounded<0>() * ::capnp::POINTERS));
7628}
7629inline ::capnp::Data::Builder Value::Builder::getData() {
7630 KJ_IREQUIRE((which() == Value::DATA),
7631 "Must check which() before get()ing a union member.");
7632 return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
7633 ::capnp::bounded<0>() * ::capnp::POINTERS));
7634}
7635inline void Value::Builder::setData( ::capnp::Data::Reader value) {
7636 _builder.setDataField<Value::Which>(
7637 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::DATA);
7638 ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
7639 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
7640}
7641inline ::capnp::Data::Builder Value::Builder::initData(unsigned int size) {
7642 _builder.setDataField<Value::Which>(
7643 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::DATA);
7644 return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
7645 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
7646}
7647inline void Value::Builder::adoptData(
7648 ::capnp::Orphan< ::capnp::Data>&& value) {
7649 _builder.setDataField<Value::Which>(
7650 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::DATA);
7651 ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
7652 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
7653}
7654inline ::capnp::Orphan< ::capnp::Data> Value::Builder::disownData() {
7655 KJ_IREQUIRE((which() == Value::DATA),
7656 "Must check which() before get()ing a union member.");
7657 return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
7658 ::capnp::bounded<0>() * ::capnp::POINTERS));
7659}
7660
7661inline bool Value::Reader::isList() const {
7662 return which() == Value::LIST;
7663}
7664inline bool Value::Builder::isList() {
7665 return which() == Value::LIST;
7666}
7667inline bool Value::Reader::hasList() const {
7668 if (which() != Value::LIST) return false;
7669 return !_reader.getPointerField(
7670 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7671}
7672inline bool Value::Builder::hasList() {
7673 if (which() != Value::LIST) return false;
7674 return !_builder.getPointerField(
7675 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7676}
7677inline ::capnp::AnyPointer::Reader Value::Reader::getList() const {
7678 KJ_IREQUIRE((which() == Value::LIST),
7679 "Must check which() before get()ing a union member.");
7680 return ::capnp::AnyPointer::Reader(_reader.getPointerField(
7681 ::capnp::bounded<0>() * ::capnp::POINTERS));
7682}
7683inline ::capnp::AnyPointer::Builder Value::Builder::getList() {
7684 KJ_IREQUIRE((which() == Value::LIST),
7685 "Must check which() before get()ing a union member.");
7686 return ::capnp::AnyPointer::Builder(_builder.getPointerField(
7687 ::capnp::bounded<0>() * ::capnp::POINTERS));
7688}
7689inline ::capnp::AnyPointer::Builder Value::Builder::initList() {
7690 _builder.setDataField<Value::Which>(
7691 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::LIST);
7692 auto result = ::capnp::AnyPointer::Builder(_builder.getPointerField(
7693 ::capnp::bounded<0>() * ::capnp::POINTERS));
7694 result.clear();
7695 return result;
7696}
7697
7698inline bool Value::Reader::isEnum() const {
7699 return which() == Value::ENUM;
7700}
7701inline bool Value::Builder::isEnum() {
7702 return which() == Value::ENUM;
7703}
7704inline ::uint16_t Value::Reader::getEnum() const {
7705 KJ_IREQUIRE((which() == Value::ENUM),
7706 "Must check which() before get()ing a union member.");
7707 return _reader.getDataField< ::uint16_t>(
7708 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
7709}
7710
7711inline ::uint16_t Value::Builder::getEnum() {
7712 KJ_IREQUIRE((which() == Value::ENUM),
7713 "Must check which() before get()ing a union member.");
7714 return _builder.getDataField< ::uint16_t>(
7715 ::capnp::bounded<1>() * ::capnp::ELEMENTS);
7716}
7717inline void Value::Builder::setEnum( ::uint16_t value) {
7718 _builder.setDataField<Value::Which>(
7719 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::ENUM);
7720 _builder.setDataField< ::uint16_t>(
7721 ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
7722}
7723
7724inline bool Value::Reader::isStruct() const {
7725 return which() == Value::STRUCT;
7726}
7727inline bool Value::Builder::isStruct() {
7728 return which() == Value::STRUCT;
7729}
7730inline bool Value::Reader::hasStruct() const {
7731 if (which() != Value::STRUCT) return false;
7732 return !_reader.getPointerField(
7733 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7734}
7735inline bool Value::Builder::hasStruct() {
7736 if (which() != Value::STRUCT) return false;
7737 return !_builder.getPointerField(
7738 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7739}
7740inline ::capnp::AnyPointer::Reader Value::Reader::getStruct() const {
7741 KJ_IREQUIRE((which() == Value::STRUCT),
7742 "Must check which() before get()ing a union member.");
7743 return ::capnp::AnyPointer::Reader(_reader.getPointerField(
7744 ::capnp::bounded<0>() * ::capnp::POINTERS));
7745}
7746inline ::capnp::AnyPointer::Builder Value::Builder::getStruct() {
7747 KJ_IREQUIRE((which() == Value::STRUCT),
7748 "Must check which() before get()ing a union member.");
7749 return ::capnp::AnyPointer::Builder(_builder.getPointerField(
7750 ::capnp::bounded<0>() * ::capnp::POINTERS));
7751}
7752inline ::capnp::AnyPointer::Builder Value::Builder::initStruct() {
7753 _builder.setDataField<Value::Which>(
7754 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::STRUCT);
7755 auto result = ::capnp::AnyPointer::Builder(_builder.getPointerField(
7756 ::capnp::bounded<0>() * ::capnp::POINTERS));
7757 result.clear();
7758 return result;
7759}
7760
7761inline bool Value::Reader::isInterface() const {
7762 return which() == Value::INTERFACE;
7763}
7764inline bool Value::Builder::isInterface() {
7765 return which() == Value::INTERFACE;
7766}
7767inline ::capnp::Void Value::Reader::getInterface() const {
7768 KJ_IREQUIRE((which() == Value::INTERFACE),
7769 "Must check which() before get()ing a union member.");
7770 return _reader.getDataField< ::capnp::Void>(
7771 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
7772}
7773
7774inline ::capnp::Void Value::Builder::getInterface() {
7775 KJ_IREQUIRE((which() == Value::INTERFACE),
7776 "Must check which() before get()ing a union member.");
7777 return _builder.getDataField< ::capnp::Void>(
7778 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
7779}
7780inline void Value::Builder::setInterface( ::capnp::Void value) {
7781 _builder.setDataField<Value::Which>(
7782 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::INTERFACE);
7783 _builder.setDataField< ::capnp::Void>(
7784 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
7785}
7786
7787inline bool Value::Reader::isAnyPointer() const {
7788 return which() == Value::ANY_POINTER;
7789}
7790inline bool Value::Builder::isAnyPointer() {
7791 return which() == Value::ANY_POINTER;
7792}
7793inline bool Value::Reader::hasAnyPointer() const {
7794 if (which() != Value::ANY_POINTER) return false;
7795 return !_reader.getPointerField(
7796 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7797}
7798inline bool Value::Builder::hasAnyPointer() {
7799 if (which() != Value::ANY_POINTER) return false;
7800 return !_builder.getPointerField(
7801 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7802}
7803inline ::capnp::AnyPointer::Reader Value::Reader::getAnyPointer() const {
7804 KJ_IREQUIRE((which() == Value::ANY_POINTER),
7805 "Must check which() before get()ing a union member.");
7806 return ::capnp::AnyPointer::Reader(_reader.getPointerField(
7807 ::capnp::bounded<0>() * ::capnp::POINTERS));
7808}
7809inline ::capnp::AnyPointer::Builder Value::Builder::getAnyPointer() {
7810 KJ_IREQUIRE((which() == Value::ANY_POINTER),
7811 "Must check which() before get()ing a union member.");
7812 return ::capnp::AnyPointer::Builder(_builder.getPointerField(
7813 ::capnp::bounded<0>() * ::capnp::POINTERS));
7814}
7815inline ::capnp::AnyPointer::Builder Value::Builder::initAnyPointer() {
7816 _builder.setDataField<Value::Which>(
7817 ::capnp::bounded<0>() * ::capnp::ELEMENTS, Value::ANY_POINTER);
7818 auto result = ::capnp::AnyPointer::Builder(_builder.getPointerField(
7819 ::capnp::bounded<0>() * ::capnp::POINTERS));
7820 result.clear();
7821 return result;
7822}
7823
7824inline ::uint64_t Annotation::Reader::getId() const {
7825 return _reader.getDataField< ::uint64_t>(
7826 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
7827}
7828
7829inline ::uint64_t Annotation::Builder::getId() {
7830 return _builder.getDataField< ::uint64_t>(
7831 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
7832}
7833inline void Annotation::Builder::setId( ::uint64_t value) {
7834 _builder.setDataField< ::uint64_t>(
7835 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
7836}
7837
7838inline bool Annotation::Reader::hasValue() const {
7839 return !_reader.getPointerField(
7840 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7841}
7842inline bool Annotation::Builder::hasValue() {
7843 return !_builder.getPointerField(
7844 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7845}
7846inline ::capnp::schema::Value::Reader Annotation::Reader::getValue() const {
7847 return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get(_reader.getPointerField(
7848 ::capnp::bounded<0>() * ::capnp::POINTERS));
7849}
7850inline ::capnp::schema::Value::Builder Annotation::Builder::getValue() {
7851 return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get(_builder.getPointerField(
7852 ::capnp::bounded<0>() * ::capnp::POINTERS));
7853}
7854#if !CAPNP_LITE
7855inline ::capnp::schema::Value::Pipeline Annotation::Pipeline::getValue() {
7856 return ::capnp::schema::Value::Pipeline(_typeless.getPointerField(0));
7857}
7858#endif // !CAPNP_LITE
7859inline void Annotation::Builder::setValue( ::capnp::schema::Value::Reader value) {
7860 ::capnp::_::PointerHelpers< ::capnp::schema::Value>::set(_builder.getPointerField(
7861 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
7862}
7863inline ::capnp::schema::Value::Builder Annotation::Builder::initValue() {
7864 return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::init(_builder.getPointerField(
7865 ::capnp::bounded<0>() * ::capnp::POINTERS));
7866}
7867inline void Annotation::Builder::adoptValue(
7868 ::capnp::Orphan< ::capnp::schema::Value>&& value) {
7869 ::capnp::_::PointerHelpers< ::capnp::schema::Value>::adopt(_builder.getPointerField(
7870 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
7871}
7872inline ::capnp::Orphan< ::capnp::schema::Value> Annotation::Builder::disownValue() {
7873 return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::disown(_builder.getPointerField(
7874 ::capnp::bounded<0>() * ::capnp::POINTERS));
7875}
7876
7877inline bool Annotation::Reader::hasBrand() const {
7878 return !_reader.getPointerField(
7879 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
7880}
7881inline bool Annotation::Builder::hasBrand() {
7882 return !_builder.getPointerField(
7883 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
7884}
7885inline ::capnp::schema::Brand::Reader Annotation::Reader::getBrand() const {
7886 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::get(_reader.getPointerField(
7887 ::capnp::bounded<1>() * ::capnp::POINTERS));
7888}
7889inline ::capnp::schema::Brand::Builder Annotation::Builder::getBrand() {
7890 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::get(_builder.getPointerField(
7891 ::capnp::bounded<1>() * ::capnp::POINTERS));
7892}
7893#if !CAPNP_LITE
7894inline ::capnp::schema::Brand::Pipeline Annotation::Pipeline::getBrand() {
7895 return ::capnp::schema::Brand::Pipeline(_typeless.getPointerField(1));
7896}
7897#endif // !CAPNP_LITE
7898inline void Annotation::Builder::setBrand( ::capnp::schema::Brand::Reader value) {
7899 ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::set(_builder.getPointerField(
7900 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
7901}
7902inline ::capnp::schema::Brand::Builder Annotation::Builder::initBrand() {
7903 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::init(_builder.getPointerField(
7904 ::capnp::bounded<1>() * ::capnp::POINTERS));
7905}
7906inline void Annotation::Builder::adoptBrand(
7907 ::capnp::Orphan< ::capnp::schema::Brand>&& value) {
7908 ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::adopt(_builder.getPointerField(
7909 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
7910}
7911inline ::capnp::Orphan< ::capnp::schema::Brand> Annotation::Builder::disownBrand() {
7912 return ::capnp::_::PointerHelpers< ::capnp::schema::Brand>::disown(_builder.getPointerField(
7913 ::capnp::bounded<1>() * ::capnp::POINTERS));
7914}
7915
7916inline ::uint16_t CapnpVersion::Reader::getMajor() const {
7917 return _reader.getDataField< ::uint16_t>(
7918 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
7919}
7920
7921inline ::uint16_t CapnpVersion::Builder::getMajor() {
7922 return _builder.getDataField< ::uint16_t>(
7923 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
7924}
7925inline void CapnpVersion::Builder::setMajor( ::uint16_t value) {
7926 _builder.setDataField< ::uint16_t>(
7927 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
7928}
7929
7930inline ::uint8_t CapnpVersion::Reader::getMinor() const {
7931 return _reader.getDataField< ::uint8_t>(
7932 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
7933}
7934
7935inline ::uint8_t CapnpVersion::Builder::getMinor() {
7936 return _builder.getDataField< ::uint8_t>(
7937 ::capnp::bounded<2>() * ::capnp::ELEMENTS);
7938}
7939inline void CapnpVersion::Builder::setMinor( ::uint8_t value) {
7940 _builder.setDataField< ::uint8_t>(
7941 ::capnp::bounded<2>() * ::capnp::ELEMENTS, value);
7942}
7943
7944inline ::uint8_t CapnpVersion::Reader::getMicro() const {
7945 return _reader.getDataField< ::uint8_t>(
7946 ::capnp::bounded<3>() * ::capnp::ELEMENTS);
7947}
7948
7949inline ::uint8_t CapnpVersion::Builder::getMicro() {
7950 return _builder.getDataField< ::uint8_t>(
7951 ::capnp::bounded<3>() * ::capnp::ELEMENTS);
7952}
7953inline void CapnpVersion::Builder::setMicro( ::uint8_t value) {
7954 _builder.setDataField< ::uint8_t>(
7955 ::capnp::bounded<3>() * ::capnp::ELEMENTS, value);
7956}
7957
7958inline bool CodeGeneratorRequest::Reader::hasNodes() const {
7959 return !_reader.getPointerField(
7960 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7961}
7962inline bool CodeGeneratorRequest::Builder::hasNodes() {
7963 return !_builder.getPointerField(
7964 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
7965}
7966inline ::capnp::List< ::capnp::schema::Node, ::capnp::Kind::STRUCT>::Reader CodeGeneratorRequest::Reader::getNodes() const {
7967 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node, ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
7968 ::capnp::bounded<0>() * ::capnp::POINTERS));
7969}
7970inline ::capnp::List< ::capnp::schema::Node, ::capnp::Kind::STRUCT>::Builder CodeGeneratorRequest::Builder::getNodes() {
7971 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node, ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
7972 ::capnp::bounded<0>() * ::capnp::POINTERS));
7973}
7974inline void CodeGeneratorRequest::Builder::setNodes( ::capnp::List< ::capnp::schema::Node, ::capnp::Kind::STRUCT>::Reader value) {
7975 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node, ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
7976 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
7977}
7978inline ::capnp::List< ::capnp::schema::Node, ::capnp::Kind::STRUCT>::Builder CodeGeneratorRequest::Builder::initNodes(unsigned int size) {
7979 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node, ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
7980 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
7981}
7982inline void CodeGeneratorRequest::Builder::adoptNodes(
7983 ::capnp::Orphan< ::capnp::List< ::capnp::schema::Node, ::capnp::Kind::STRUCT>>&& value) {
7984 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node, ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
7985 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
7986}
7987inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Node, ::capnp::Kind::STRUCT>> CodeGeneratorRequest::Builder::disownNodes() {
7988 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node, ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
7989 ::capnp::bounded<0>() * ::capnp::POINTERS));
7990}
7991
7992inline bool CodeGeneratorRequest::Reader::hasRequestedFiles() const {
7993 return !_reader.getPointerField(
7994 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
7995}
7996inline bool CodeGeneratorRequest::Builder::hasRequestedFiles() {
7997 return !_builder.getPointerField(
7998 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
7999}
8000inline ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile, ::capnp::Kind::STRUCT>::Reader CodeGeneratorRequest::Reader::getRequestedFiles() const {
8001 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile, ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
8002 ::capnp::bounded<1>() * ::capnp::POINTERS));
8003}
8004inline ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile, ::capnp::Kind::STRUCT>::Builder CodeGeneratorRequest::Builder::getRequestedFiles() {
8005 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile, ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
8006 ::capnp::bounded<1>() * ::capnp::POINTERS));
8007}
8008inline void CodeGeneratorRequest::Builder::setRequestedFiles( ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile, ::capnp::Kind::STRUCT>::Reader value) {
8009 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile, ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
8010 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
8011}
8012inline ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile, ::capnp::Kind::STRUCT>::Builder CodeGeneratorRequest::Builder::initRequestedFiles(unsigned int size) {
8013 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile, ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
8014 ::capnp::bounded<1>() * ::capnp::POINTERS), size);
8015}
8016inline void CodeGeneratorRequest::Builder::adoptRequestedFiles(
8017 ::capnp::Orphan< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile, ::capnp::Kind::STRUCT>>&& value) {
8018 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile, ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
8019 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
8020}
8021inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile, ::capnp::Kind::STRUCT>> CodeGeneratorRequest::Builder::disownRequestedFiles() {
8022 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile, ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
8023 ::capnp::bounded<1>() * ::capnp::POINTERS));
8024}
8025
8026inline bool CodeGeneratorRequest::Reader::hasCapnpVersion() const {
8027 return !_reader.getPointerField(
8028 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
8029}
8030inline bool CodeGeneratorRequest::Builder::hasCapnpVersion() {
8031 return !_builder.getPointerField(
8032 ::capnp::bounded<2>() * ::capnp::POINTERS).isNull();
8033}
8034inline ::capnp::schema::CapnpVersion::Reader CodeGeneratorRequest::Reader::getCapnpVersion() const {
8035 return ::capnp::_::PointerHelpers< ::capnp::schema::CapnpVersion>::get(_reader.getPointerField(
8036 ::capnp::bounded<2>() * ::capnp::POINTERS));
8037}
8038inline ::capnp::schema::CapnpVersion::Builder CodeGeneratorRequest::Builder::getCapnpVersion() {
8039 return ::capnp::_::PointerHelpers< ::capnp::schema::CapnpVersion>::get(_builder.getPointerField(
8040 ::capnp::bounded<2>() * ::capnp::POINTERS));
8041}
8042#if !CAPNP_LITE
8043inline ::capnp::schema::CapnpVersion::Pipeline CodeGeneratorRequest::Pipeline::getCapnpVersion() {
8044 return ::capnp::schema::CapnpVersion::Pipeline(_typeless.getPointerField(2));
8045}
8046#endif // !CAPNP_LITE
8047inline void CodeGeneratorRequest::Builder::setCapnpVersion( ::capnp::schema::CapnpVersion::Reader value) {
8048 ::capnp::_::PointerHelpers< ::capnp::schema::CapnpVersion>::set(_builder.getPointerField(
8049 ::capnp::bounded<2>() * ::capnp::POINTERS), value);
8050}
8051inline ::capnp::schema::CapnpVersion::Builder CodeGeneratorRequest::Builder::initCapnpVersion() {
8052 return ::capnp::_::PointerHelpers< ::capnp::schema::CapnpVersion>::init(_builder.getPointerField(
8053 ::capnp::bounded<2>() * ::capnp::POINTERS));
8054}
8055inline void CodeGeneratorRequest::Builder::adoptCapnpVersion(
8056 ::capnp::Orphan< ::capnp::schema::CapnpVersion>&& value) {
8057 ::capnp::_::PointerHelpers< ::capnp::schema::CapnpVersion>::adopt(_builder.getPointerField(
8058 ::capnp::bounded<2>() * ::capnp::POINTERS), kj::mv(value));
8059}
8060inline ::capnp::Orphan< ::capnp::schema::CapnpVersion> CodeGeneratorRequest::Builder::disownCapnpVersion() {
8061 return ::capnp::_::PointerHelpers< ::capnp::schema::CapnpVersion>::disown(_builder.getPointerField(
8062 ::capnp::bounded<2>() * ::capnp::POINTERS));
8063}
8064
8065inline bool CodeGeneratorRequest::Reader::hasSourceInfo() const {
8066 return !_reader.getPointerField(
8067 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
8068}
8069inline bool CodeGeneratorRequest::Builder::hasSourceInfo() {
8070 return !_builder.getPointerField(
8071 ::capnp::bounded<3>() * ::capnp::POINTERS).isNull();
8072}
8073inline ::capnp::List< ::capnp::schema::Node::SourceInfo, ::capnp::Kind::STRUCT>::Reader CodeGeneratorRequest::Reader::getSourceInfo() const {
8074 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::SourceInfo, ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
8075 ::capnp::bounded<3>() * ::capnp::POINTERS));
8076}
8077inline ::capnp::List< ::capnp::schema::Node::SourceInfo, ::capnp::Kind::STRUCT>::Builder CodeGeneratorRequest::Builder::getSourceInfo() {
8078 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::SourceInfo, ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
8079 ::capnp::bounded<3>() * ::capnp::POINTERS));
8080}
8081inline void CodeGeneratorRequest::Builder::setSourceInfo( ::capnp::List< ::capnp::schema::Node::SourceInfo, ::capnp::Kind::STRUCT>::Reader value) {
8082 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::SourceInfo, ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
8083 ::capnp::bounded<3>() * ::capnp::POINTERS), value);
8084}
8085inline ::capnp::List< ::capnp::schema::Node::SourceInfo, ::capnp::Kind::STRUCT>::Builder CodeGeneratorRequest::Builder::initSourceInfo(unsigned int size) {
8086 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::SourceInfo, ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
8087 ::capnp::bounded<3>() * ::capnp::POINTERS), size);
8088}
8089inline void CodeGeneratorRequest::Builder::adoptSourceInfo(
8090 ::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::SourceInfo, ::capnp::Kind::STRUCT>>&& value) {
8091 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::SourceInfo, ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
8092 ::capnp::bounded<3>() * ::capnp::POINTERS), kj::mv(value));
8093}
8094inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::Node::SourceInfo, ::capnp::Kind::STRUCT>> CodeGeneratorRequest::Builder::disownSourceInfo() {
8095 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::SourceInfo, ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
8096 ::capnp::bounded<3>() * ::capnp::POINTERS));
8097}
8098
8099inline ::uint64_t CodeGeneratorRequest::RequestedFile::Reader::getId() const {
8100 return _reader.getDataField< ::uint64_t>(
8101 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
8102}
8103
8104inline ::uint64_t CodeGeneratorRequest::RequestedFile::Builder::getId() {
8105 return _builder.getDataField< ::uint64_t>(
8106 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
8107}
8108inline void CodeGeneratorRequest::RequestedFile::Builder::setId( ::uint64_t value) {
8109 _builder.setDataField< ::uint64_t>(
8110 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
8111}
8112
8113inline bool CodeGeneratorRequest::RequestedFile::Reader::hasFilename() const {
8114 return !_reader.getPointerField(
8115 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
8116}
8117inline bool CodeGeneratorRequest::RequestedFile::Builder::hasFilename() {
8118 return !_builder.getPointerField(
8119 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
8120}
8121inline ::capnp::Text::Reader CodeGeneratorRequest::RequestedFile::Reader::getFilename() const {
8122 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
8123 ::capnp::bounded<0>() * ::capnp::POINTERS));
8124}
8125inline ::capnp::Text::Builder CodeGeneratorRequest::RequestedFile::Builder::getFilename() {
8126 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
8127 ::capnp::bounded<0>() * ::capnp::POINTERS));
8128}
8129inline void CodeGeneratorRequest::RequestedFile::Builder::setFilename( ::capnp::Text::Reader value) {
8130 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
8131 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
8132}
8133inline ::capnp::Text::Builder CodeGeneratorRequest::RequestedFile::Builder::initFilename(unsigned int size) {
8134 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
8135 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
8136}
8137inline void CodeGeneratorRequest::RequestedFile::Builder::adoptFilename(
8138 ::capnp::Orphan< ::capnp::Text>&& value) {
8139 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
8140 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
8141}
8142inline ::capnp::Orphan< ::capnp::Text> CodeGeneratorRequest::RequestedFile::Builder::disownFilename() {
8143 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
8144 ::capnp::bounded<0>() * ::capnp::POINTERS));
8145}
8146
8147inline bool CodeGeneratorRequest::RequestedFile::Reader::hasImports() const {
8148 return !_reader.getPointerField(
8149 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
8150}
8151inline bool CodeGeneratorRequest::RequestedFile::Builder::hasImports() {
8152 return !_builder.getPointerField(
8153 ::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
8154}
8155inline ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile::Import, ::capnp::Kind::STRUCT>::Reader CodeGeneratorRequest::RequestedFile::Reader::getImports() const {
8156 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile::Import, ::capnp::Kind::STRUCT>>::get(_reader.getPointerField(
8157 ::capnp::bounded<1>() * ::capnp::POINTERS));
8158}
8159inline ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile::Import, ::capnp::Kind::STRUCT>::Builder CodeGeneratorRequest::RequestedFile::Builder::getImports() {
8160 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile::Import, ::capnp::Kind::STRUCT>>::get(_builder.getPointerField(
8161 ::capnp::bounded<1>() * ::capnp::POINTERS));
8162}
8163inline void CodeGeneratorRequest::RequestedFile::Builder::setImports( ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile::Import, ::capnp::Kind::STRUCT>::Reader value) {
8164 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile::Import, ::capnp::Kind::STRUCT>>::set(_builder.getPointerField(
8165 ::capnp::bounded<1>() * ::capnp::POINTERS), value);
8166}
8167inline ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile::Import, ::capnp::Kind::STRUCT>::Builder CodeGeneratorRequest::RequestedFile::Builder::initImports(unsigned int size) {
8168 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile::Import, ::capnp::Kind::STRUCT>>::init(_builder.getPointerField(
8169 ::capnp::bounded<1>() * ::capnp::POINTERS), size);
8170}
8171inline void CodeGeneratorRequest::RequestedFile::Builder::adoptImports(
8172 ::capnp::Orphan< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile::Import, ::capnp::Kind::STRUCT>>&& value) {
8173 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile::Import, ::capnp::Kind::STRUCT>>::adopt(_builder.getPointerField(
8174 ::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
8175}
8176inline ::capnp::Orphan< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile::Import, ::capnp::Kind::STRUCT>> CodeGeneratorRequest::RequestedFile::Builder::disownImports() {
8177 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::CodeGeneratorRequest::RequestedFile::Import, ::capnp::Kind::STRUCT>>::disown(_builder.getPointerField(
8178 ::capnp::bounded<1>() * ::capnp::POINTERS));
8179}
8180
8181inline ::uint64_t CodeGeneratorRequest::RequestedFile::Import::Reader::getId() const {
8182 return _reader.getDataField< ::uint64_t>(
8183 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
8184}
8185
8186inline ::uint64_t CodeGeneratorRequest::RequestedFile::Import::Builder::getId() {
8187 return _builder.getDataField< ::uint64_t>(
8188 ::capnp::bounded<0>() * ::capnp::ELEMENTS);
8189}
8190inline void CodeGeneratorRequest::RequestedFile::Import::Builder::setId( ::uint64_t value) {
8191 _builder.setDataField< ::uint64_t>(
8192 ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
8193}
8194
8195inline bool CodeGeneratorRequest::RequestedFile::Import::Reader::hasName() const {
8196 return !_reader.getPointerField(
8197 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
8198}
8199inline bool CodeGeneratorRequest::RequestedFile::Import::Builder::hasName() {
8200 return !_builder.getPointerField(
8201 ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
8202}
8203inline ::capnp::Text::Reader CodeGeneratorRequest::RequestedFile::Import::Reader::getName() const {
8204 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
8205 ::capnp::bounded<0>() * ::capnp::POINTERS));
8206}
8207inline ::capnp::Text::Builder CodeGeneratorRequest::RequestedFile::Import::Builder::getName() {
8208 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
8209 ::capnp::bounded<0>() * ::capnp::POINTERS));
8210}
8211inline void CodeGeneratorRequest::RequestedFile::Import::Builder::setName( ::capnp::Text::Reader value) {
8212 ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
8213 ::capnp::bounded<0>() * ::capnp::POINTERS), value);
8214}
8215inline ::capnp::Text::Builder CodeGeneratorRequest::RequestedFile::Import::Builder::initName(unsigned int size) {
8216 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
8217 ::capnp::bounded<0>() * ::capnp::POINTERS), size);
8218}
8219inline void CodeGeneratorRequest::RequestedFile::Import::Builder::adoptName(
8220 ::capnp::Orphan< ::capnp::Text>&& value) {
8221 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
8222 ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
8223}
8224inline ::capnp::Orphan< ::capnp::Text> CodeGeneratorRequest::RequestedFile::Import::Builder::disownName() {
8225 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
8226 ::capnp::bounded<0>() * ::capnp::POINTERS));
8227}
8228
8229} // namespace
8230} // namespace
8231
8232