comparison vamp-capnp/piper.capnp.h @ 106:a0edd7c97d2d

Add generated files -- they aren't supposed to change (much?) I think and it's better than expecting the compiler to be present on every platform
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 17 Oct 2016 18:56:18 +0100
parents
children 5b113c87b6e6
comparison
equal deleted inserted replaced
105:491a4bc10a01 106:a0edd7c97d2d
1 // Generated by Cap'n Proto compiler, DO NOT EDIT
2 // source: piper.capnp
3
4 #ifndef CAPNP_INCLUDED_c4b1c6c44c999206_
5 #define CAPNP_INCLUDED_c4b1c6c44c999206_
6
7 #include <capnp/generated-header-support.h>
8
9 #if CAPNP_VERSION != 6000
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
14 namespace capnp {
15 namespace schemas {
16
17 CAPNP_DECLARE_SCHEMA(b491ca63222c253f);
18 CAPNP_DECLARE_SCHEMA(f8fda10bef70a97d);
19 CAPNP_DECLARE_SCHEMA(eca23e4a04bdfeb2);
20 enum class SampleType_eca23e4a04bdfeb2: uint16_t {
21 ONE_SAMPLE_PER_STEP,
22 FIXED_SAMPLE_RATE,
23 VARIABLE_SAMPLE_RATE,
24 };
25 CAPNP_DECLARE_ENUM(SampleType, eca23e4a04bdfeb2);
26 CAPNP_DECLARE_SCHEMA(b2d0c825aac8249c);
27 CAPNP_DECLARE_SCHEMA(902c6065e1be824a);
28 CAPNP_DECLARE_SCHEMA(f50fb3b9c1bf75f4);
29 enum class InputDomain_f50fb3b9c1bf75f4: uint16_t {
30 TIME_DOMAIN,
31 FREQUENCY_DOMAIN,
32 };
33 CAPNP_DECLARE_ENUM(InputDomain, f50fb3b9c1bf75f4);
34 CAPNP_DECLARE_SCHEMA(b83ac85463e6caa1);
35 CAPNP_DECLARE_SCHEMA(84d515888a427d07);
36 CAPNP_DECLARE_SCHEMA(c6f3f05f2bc614ba);
37 CAPNP_DECLARE_SCHEMA(d6a172208c9a1760);
38 CAPNP_DECLARE_SCHEMA(ffa3fccceb684869);
39 CAPNP_DECLARE_SCHEMA(ab2572c346316b24);
40 CAPNP_DECLARE_SCHEMA(db209a01f86fe045);
41 CAPNP_DECLARE_SCHEMA(900b56fed422dd37);
42 CAPNP_DECLARE_SCHEMA(b5edf73eb2e79c4e);
43 enum class AdapterFlag_b5edf73eb2e79c4e: uint16_t {
44 ADAPT_INPUT_DOMAIN,
45 ADAPT_CHANNEL_COUNT,
46 ADAPT_BUFFER_SIZE,
47 };
48 CAPNP_DECLARE_ENUM(AdapterFlag, b5edf73eb2e79c4e);
49 CAPNP_DECLARE_SCHEMA(9ed58097be8bc6f3);
50 CAPNP_DECLARE_SCHEMA(eb49b9892c5b9b83);
51 CAPNP_DECLARE_SCHEMA(b54ff18dabd0d4e1);
52 CAPNP_DECLARE_SCHEMA(c8b36e8e9e8d6f15);
53 CAPNP_DECLARE_SCHEMA(fca0f520555d0c94);
54 CAPNP_DECLARE_SCHEMA(82fb08d7f06fe81d);
55 CAPNP_DECLARE_SCHEMA(fcf72b478bbe9d02);
56 CAPNP_DECLARE_SCHEMA(c433db5864bf6d56);
57 CAPNP_DECLARE_SCHEMA(ea87c8bff474ddce);
58 CAPNP_DECLARE_SCHEMA(fe801447309c2782);
59 CAPNP_DECLARE_SCHEMA(d8c0271e01d84377);
60 CAPNP_DECLARE_SCHEMA(ff4c6fd2917a8eb7);
61 CAPNP_DECLARE_SCHEMA(a7e9dceb8fbd0e23);
62 CAPNP_DECLARE_SCHEMA(df8b913d24f04413);
63 CAPNP_DECLARE_SCHEMA(a56d2f77e663c2f9);
64 CAPNP_DECLARE_SCHEMA(a6fbd69d9815fb3a);
65 CAPNP_DECLARE_SCHEMA(b1fd870b8c5fe885);
66 CAPNP_DECLARE_SCHEMA(d6d526aed45ac1db);
67 CAPNP_DECLARE_SCHEMA(ad12bb4485b0d3ac);
68
69 } // namespace schemas
70 } // namespace capnp
71
72 namespace piper {
73
74 struct Basic {
75 Basic() = delete;
76
77 class Reader;
78 class Builder;
79 class Pipeline;
80
81 struct _capnpPrivate {
82 CAPNP_DECLARE_STRUCT_HEADER(b491ca63222c253f, 0, 3)
83 #if !CAPNP_LITE
84 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
85 #endif // !CAPNP_LITE
86 };
87 };
88
89 struct ParameterDescriptor {
90 ParameterDescriptor() = delete;
91
92 class Reader;
93 class Builder;
94 class Pipeline;
95
96 struct _capnpPrivate {
97 CAPNP_DECLARE_STRUCT_HEADER(f8fda10bef70a97d, 3, 3)
98 #if !CAPNP_LITE
99 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
100 #endif // !CAPNP_LITE
101 };
102 };
103
104 typedef ::capnp::schemas::SampleType_eca23e4a04bdfeb2 SampleType;
105
106 struct ConfiguredOutputDescriptor {
107 ConfiguredOutputDescriptor() = delete;
108
109 class Reader;
110 class Builder;
111 class Pipeline;
112
113 struct _capnpPrivate {
114 CAPNP_DECLARE_STRUCT_HEADER(b2d0c825aac8249c, 3, 2)
115 #if !CAPNP_LITE
116 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
117 #endif // !CAPNP_LITE
118 };
119 };
120
121 struct OutputDescriptor {
122 OutputDescriptor() = delete;
123
124 class Reader;
125 class Builder;
126 class Pipeline;
127
128 struct _capnpPrivate {
129 CAPNP_DECLARE_STRUCT_HEADER(902c6065e1be824a, 0, 2)
130 #if !CAPNP_LITE
131 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
132 #endif // !CAPNP_LITE
133 };
134 };
135
136 typedef ::capnp::schemas::InputDomain_f50fb3b9c1bf75f4 InputDomain;
137
138 struct ExtractorStaticData {
139 ExtractorStaticData() = delete;
140
141 class Reader;
142 class Builder;
143 class Pipeline;
144
145 struct _capnpPrivate {
146 CAPNP_DECLARE_STRUCT_HEADER(b83ac85463e6caa1, 2, 8)
147 #if !CAPNP_LITE
148 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
149 #endif // !CAPNP_LITE
150 };
151 };
152
153 struct RealTime {
154 RealTime() = delete;
155
156 class Reader;
157 class Builder;
158 class Pipeline;
159
160 struct _capnpPrivate {
161 CAPNP_DECLARE_STRUCT_HEADER(84d515888a427d07, 1, 0)
162 #if !CAPNP_LITE
163 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
164 #endif // !CAPNP_LITE
165 };
166 };
167
168 struct ProcessInput {
169 ProcessInput() = delete;
170
171 class Reader;
172 class Builder;
173 class Pipeline;
174
175 struct _capnpPrivate {
176 CAPNP_DECLARE_STRUCT_HEADER(c6f3f05f2bc614ba, 0, 2)
177 #if !CAPNP_LITE
178 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
179 #endif // !CAPNP_LITE
180 };
181 };
182
183 struct Feature {
184 Feature() = delete;
185
186 class Reader;
187 class Builder;
188 class Pipeline;
189
190 struct _capnpPrivate {
191 CAPNP_DECLARE_STRUCT_HEADER(d6a172208c9a1760, 1, 4)
192 #if !CAPNP_LITE
193 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
194 #endif // !CAPNP_LITE
195 };
196 };
197
198 struct FeatureSet {
199 FeatureSet() = delete;
200
201 class Reader;
202 class Builder;
203 class Pipeline;
204 struct FSPair;
205
206 struct _capnpPrivate {
207 CAPNP_DECLARE_STRUCT_HEADER(ffa3fccceb684869, 0, 1)
208 #if !CAPNP_LITE
209 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
210 #endif // !CAPNP_LITE
211 };
212 };
213
214 struct FeatureSet::FSPair {
215 FSPair() = delete;
216
217 class Reader;
218 class Builder;
219 class Pipeline;
220
221 struct _capnpPrivate {
222 CAPNP_DECLARE_STRUCT_HEADER(ab2572c346316b24, 0, 2)
223 #if !CAPNP_LITE
224 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
225 #endif // !CAPNP_LITE
226 };
227 };
228
229 struct Configuration {
230 Configuration() = delete;
231
232 class Reader;
233 class Builder;
234 class Pipeline;
235 struct PVPair;
236
237 struct _capnpPrivate {
238 CAPNP_DECLARE_STRUCT_HEADER(db209a01f86fe045, 2, 2)
239 #if !CAPNP_LITE
240 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
241 #endif // !CAPNP_LITE
242 };
243 };
244
245 struct Configuration::PVPair {
246 PVPair() = delete;
247
248 class Reader;
249 class Builder;
250 class Pipeline;
251
252 struct _capnpPrivate {
253 CAPNP_DECLARE_STRUCT_HEADER(900b56fed422dd37, 1, 1)
254 #if !CAPNP_LITE
255 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
256 #endif // !CAPNP_LITE
257 };
258 };
259
260 typedef ::capnp::schemas::AdapterFlag_b5edf73eb2e79c4e AdapterFlag;
261
262 extern const ::capnp::_::ConstList< ::piper::AdapterFlag> ADAPT_ALL_SAFE;
263 extern const ::capnp::_::ConstList< ::piper::AdapterFlag> ADAPT_ALL;
264 struct ListRequest {
265 ListRequest() = delete;
266
267 class Reader;
268 class Builder;
269 class Pipeline;
270
271 struct _capnpPrivate {
272 CAPNP_DECLARE_STRUCT_HEADER(b54ff18dabd0d4e1, 0, 0)
273 #if !CAPNP_LITE
274 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
275 #endif // !CAPNP_LITE
276 };
277 };
278
279 struct ListResponse {
280 ListResponse() = delete;
281
282 class Reader;
283 class Builder;
284 class Pipeline;
285
286 struct _capnpPrivate {
287 CAPNP_DECLARE_STRUCT_HEADER(c8b36e8e9e8d6f15, 0, 1)
288 #if !CAPNP_LITE
289 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
290 #endif // !CAPNP_LITE
291 };
292 };
293
294 struct LoadRequest {
295 LoadRequest() = delete;
296
297 class Reader;
298 class Builder;
299 class Pipeline;
300
301 struct _capnpPrivate {
302 CAPNP_DECLARE_STRUCT_HEADER(fca0f520555d0c94, 1, 2)
303 #if !CAPNP_LITE
304 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
305 #endif // !CAPNP_LITE
306 };
307 };
308
309 struct LoadResponse {
310 LoadResponse() = delete;
311
312 class Reader;
313 class Builder;
314 class Pipeline;
315
316 struct _capnpPrivate {
317 CAPNP_DECLARE_STRUCT_HEADER(82fb08d7f06fe81d, 1, 2)
318 #if !CAPNP_LITE
319 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
320 #endif // !CAPNP_LITE
321 };
322 };
323
324 struct ConfigurationRequest {
325 ConfigurationRequest() = delete;
326
327 class Reader;
328 class Builder;
329 class Pipeline;
330
331 struct _capnpPrivate {
332 CAPNP_DECLARE_STRUCT_HEADER(fcf72b478bbe9d02, 1, 1)
333 #if !CAPNP_LITE
334 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
335 #endif // !CAPNP_LITE
336 };
337 };
338
339 struct ConfigurationResponse {
340 ConfigurationResponse() = delete;
341
342 class Reader;
343 class Builder;
344 class Pipeline;
345
346 struct _capnpPrivate {
347 CAPNP_DECLARE_STRUCT_HEADER(c433db5864bf6d56, 1, 1)
348 #if !CAPNP_LITE
349 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
350 #endif // !CAPNP_LITE
351 };
352 };
353
354 struct ProcessRequest {
355 ProcessRequest() = delete;
356
357 class Reader;
358 class Builder;
359 class Pipeline;
360
361 struct _capnpPrivate {
362 CAPNP_DECLARE_STRUCT_HEADER(ea87c8bff474ddce, 1, 1)
363 #if !CAPNP_LITE
364 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
365 #endif // !CAPNP_LITE
366 };
367 };
368
369 struct ProcessResponse {
370 ProcessResponse() = delete;
371
372 class Reader;
373 class Builder;
374 class Pipeline;
375
376 struct _capnpPrivate {
377 CAPNP_DECLARE_STRUCT_HEADER(fe801447309c2782, 1, 1)
378 #if !CAPNP_LITE
379 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
380 #endif // !CAPNP_LITE
381 };
382 };
383
384 struct FinishRequest {
385 FinishRequest() = delete;
386
387 class Reader;
388 class Builder;
389 class Pipeline;
390
391 struct _capnpPrivate {
392 CAPNP_DECLARE_STRUCT_HEADER(d8c0271e01d84377, 1, 0)
393 #if !CAPNP_LITE
394 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
395 #endif // !CAPNP_LITE
396 };
397 };
398
399 struct FinishResponse {
400 FinishResponse() = delete;
401
402 class Reader;
403 class Builder;
404 class Pipeline;
405
406 struct _capnpPrivate {
407 CAPNP_DECLARE_STRUCT_HEADER(ff4c6fd2917a8eb7, 1, 1)
408 #if !CAPNP_LITE
409 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
410 #endif // !CAPNP_LITE
411 };
412 };
413
414 struct Error {
415 Error() = delete;
416
417 class Reader;
418 class Builder;
419 class Pipeline;
420
421 struct _capnpPrivate {
422 CAPNP_DECLARE_STRUCT_HEADER(a7e9dceb8fbd0e23, 1, 1)
423 #if !CAPNP_LITE
424 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
425 #endif // !CAPNP_LITE
426 };
427 };
428
429 struct RpcRequest {
430 RpcRequest() = delete;
431
432 class Reader;
433 class Builder;
434 class Pipeline;
435 struct Id;
436 struct Request;
437
438 struct _capnpPrivate {
439 CAPNP_DECLARE_STRUCT_HEADER(df8b913d24f04413, 1, 2)
440 #if !CAPNP_LITE
441 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
442 #endif // !CAPNP_LITE
443 };
444 };
445
446 struct RpcRequest::Id {
447 Id() = delete;
448
449 class Reader;
450 class Builder;
451 class Pipeline;
452 enum Which: uint16_t {
453 NUMBER,
454 TAG,
455 NONE,
456 };
457
458 struct _capnpPrivate {
459 CAPNP_DECLARE_STRUCT_HEADER(a56d2f77e663c2f9, 1, 2)
460 #if !CAPNP_LITE
461 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
462 #endif // !CAPNP_LITE
463 };
464 };
465
466 struct RpcRequest::Request {
467 Request() = delete;
468
469 class Reader;
470 class Builder;
471 class Pipeline;
472 enum Which: uint16_t {
473 LIST,
474 LOAD,
475 CONFIGURE,
476 PROCESS,
477 FINISH,
478 };
479
480 struct _capnpPrivate {
481 CAPNP_DECLARE_STRUCT_HEADER(a6fbd69d9815fb3a, 1, 2)
482 #if !CAPNP_LITE
483 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
484 #endif // !CAPNP_LITE
485 };
486 };
487
488 struct RpcResponse {
489 RpcResponse() = delete;
490
491 class Reader;
492 class Builder;
493 class Pipeline;
494 struct Id;
495 struct Response;
496
497 struct _capnpPrivate {
498 CAPNP_DECLARE_STRUCT_HEADER(b1fd870b8c5fe885, 1, 2)
499 #if !CAPNP_LITE
500 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
501 #endif // !CAPNP_LITE
502 };
503 };
504
505 struct RpcResponse::Id {
506 Id() = delete;
507
508 class Reader;
509 class Builder;
510 class Pipeline;
511 enum Which: uint16_t {
512 NUMBER,
513 TAG,
514 NONE,
515 };
516
517 struct _capnpPrivate {
518 CAPNP_DECLARE_STRUCT_HEADER(d6d526aed45ac1db, 1, 2)
519 #if !CAPNP_LITE
520 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
521 #endif // !CAPNP_LITE
522 };
523 };
524
525 struct RpcResponse::Response {
526 Response() = delete;
527
528 class Reader;
529 class Builder;
530 class Pipeline;
531 enum Which: uint16_t {
532 ERROR,
533 LIST,
534 LOAD,
535 CONFIGURE,
536 PROCESS,
537 FINISH,
538 };
539
540 struct _capnpPrivate {
541 CAPNP_DECLARE_STRUCT_HEADER(ad12bb4485b0d3ac, 1, 2)
542 #if !CAPNP_LITE
543 static constexpr ::capnp::_::RawBrandedSchema const* brand = &schema->defaultBrand;
544 #endif // !CAPNP_LITE
545 };
546 };
547
548 // =======================================================================================
549
550 class Basic::Reader {
551 public:
552 typedef Basic Reads;
553
554 Reader() = default;
555 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
556
557 inline ::capnp::MessageSize totalSize() const {
558 return _reader.totalSize().asPublic();
559 }
560
561 #if !CAPNP_LITE
562 inline ::kj::StringTree toString() const {
563 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
564 }
565 #endif // !CAPNP_LITE
566
567 inline bool hasIdentifier() const;
568 inline ::capnp::Text::Reader getIdentifier() const;
569
570 inline bool hasName() const;
571 inline ::capnp::Text::Reader getName() const;
572
573 inline bool hasDescription() const;
574 inline ::capnp::Text::Reader getDescription() const;
575
576 private:
577 ::capnp::_::StructReader _reader;
578 template <typename, ::capnp::Kind>
579 friend struct ::capnp::ToDynamic_;
580 template <typename, ::capnp::Kind>
581 friend struct ::capnp::_::PointerHelpers;
582 template <typename, ::capnp::Kind>
583 friend struct ::capnp::List;
584 friend class ::capnp::MessageBuilder;
585 friend class ::capnp::Orphanage;
586 };
587
588 class Basic::Builder {
589 public:
590 typedef Basic Builds;
591
592 Builder() = delete; // Deleted to discourage incorrect usage.
593 // You can explicitly initialize to nullptr instead.
594 inline Builder(decltype(nullptr)) {}
595 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
596 inline operator Reader() const { return Reader(_builder.asReader()); }
597 inline Reader asReader() const { return *this; }
598
599 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
600 #if !CAPNP_LITE
601 inline ::kj::StringTree toString() const { return asReader().toString(); }
602 #endif // !CAPNP_LITE
603
604 inline bool hasIdentifier();
605 inline ::capnp::Text::Builder getIdentifier();
606 inline void setIdentifier( ::capnp::Text::Reader value);
607 inline ::capnp::Text::Builder initIdentifier(unsigned int size);
608 inline void adoptIdentifier(::capnp::Orphan< ::capnp::Text>&& value);
609 inline ::capnp::Orphan< ::capnp::Text> disownIdentifier();
610
611 inline bool hasName();
612 inline ::capnp::Text::Builder getName();
613 inline void setName( ::capnp::Text::Reader value);
614 inline ::capnp::Text::Builder initName(unsigned int size);
615 inline void adoptName(::capnp::Orphan< ::capnp::Text>&& value);
616 inline ::capnp::Orphan< ::capnp::Text> disownName();
617
618 inline bool hasDescription();
619 inline ::capnp::Text::Builder getDescription();
620 inline void setDescription( ::capnp::Text::Reader value);
621 inline ::capnp::Text::Builder initDescription(unsigned int size);
622 inline void adoptDescription(::capnp::Orphan< ::capnp::Text>&& value);
623 inline ::capnp::Orphan< ::capnp::Text> disownDescription();
624
625 private:
626 ::capnp::_::StructBuilder _builder;
627 template <typename, ::capnp::Kind>
628 friend struct ::capnp::ToDynamic_;
629 friend class ::capnp::Orphanage;
630 template <typename, ::capnp::Kind>
631 friend struct ::capnp::_::PointerHelpers;
632 };
633
634 #if !CAPNP_LITE
635 class Basic::Pipeline {
636 public:
637 typedef Basic Pipelines;
638
639 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
640 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
641 : _typeless(kj::mv(typeless)) {}
642
643 private:
644 ::capnp::AnyPointer::Pipeline _typeless;
645 friend class ::capnp::PipelineHook;
646 template <typename, ::capnp::Kind>
647 friend struct ::capnp::ToDynamic_;
648 };
649 #endif // !CAPNP_LITE
650
651 class ParameterDescriptor::Reader {
652 public:
653 typedef ParameterDescriptor Reads;
654
655 Reader() = default;
656 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
657
658 inline ::capnp::MessageSize totalSize() const {
659 return _reader.totalSize().asPublic();
660 }
661
662 #if !CAPNP_LITE
663 inline ::kj::StringTree toString() const {
664 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
665 }
666 #endif // !CAPNP_LITE
667
668 inline bool hasBasic() const;
669 inline ::piper::Basic::Reader getBasic() const;
670
671 inline bool hasUnit() const;
672 inline ::capnp::Text::Reader getUnit() const;
673
674 inline float getMinValue() const;
675
676 inline float getMaxValue() const;
677
678 inline float getDefaultValue() const;
679
680 inline bool getIsQuantized() const;
681
682 inline float getQuantizeStep() const;
683
684 inline bool hasValueNames() const;
685 inline ::capnp::List< ::capnp::Text>::Reader getValueNames() const;
686
687 private:
688 ::capnp::_::StructReader _reader;
689 template <typename, ::capnp::Kind>
690 friend struct ::capnp::ToDynamic_;
691 template <typename, ::capnp::Kind>
692 friend struct ::capnp::_::PointerHelpers;
693 template <typename, ::capnp::Kind>
694 friend struct ::capnp::List;
695 friend class ::capnp::MessageBuilder;
696 friend class ::capnp::Orphanage;
697 };
698
699 class ParameterDescriptor::Builder {
700 public:
701 typedef ParameterDescriptor Builds;
702
703 Builder() = delete; // Deleted to discourage incorrect usage.
704 // You can explicitly initialize to nullptr instead.
705 inline Builder(decltype(nullptr)) {}
706 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
707 inline operator Reader() const { return Reader(_builder.asReader()); }
708 inline Reader asReader() const { return *this; }
709
710 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
711 #if !CAPNP_LITE
712 inline ::kj::StringTree toString() const { return asReader().toString(); }
713 #endif // !CAPNP_LITE
714
715 inline bool hasBasic();
716 inline ::piper::Basic::Builder getBasic();
717 inline void setBasic( ::piper::Basic::Reader value);
718 inline ::piper::Basic::Builder initBasic();
719 inline void adoptBasic(::capnp::Orphan< ::piper::Basic>&& value);
720 inline ::capnp::Orphan< ::piper::Basic> disownBasic();
721
722 inline bool hasUnit();
723 inline ::capnp::Text::Builder getUnit();
724 inline void setUnit( ::capnp::Text::Reader value);
725 inline ::capnp::Text::Builder initUnit(unsigned int size);
726 inline void adoptUnit(::capnp::Orphan< ::capnp::Text>&& value);
727 inline ::capnp::Orphan< ::capnp::Text> disownUnit();
728
729 inline float getMinValue();
730 inline void setMinValue(float value);
731
732 inline float getMaxValue();
733 inline void setMaxValue(float value);
734
735 inline float getDefaultValue();
736 inline void setDefaultValue(float value);
737
738 inline bool getIsQuantized();
739 inline void setIsQuantized(bool value);
740
741 inline float getQuantizeStep();
742 inline void setQuantizeStep(float value);
743
744 inline bool hasValueNames();
745 inline ::capnp::List< ::capnp::Text>::Builder getValueNames();
746 inline void setValueNames( ::capnp::List< ::capnp::Text>::Reader value);
747 inline void setValueNames(::kj::ArrayPtr<const ::capnp::Text::Reader> value);
748 inline ::capnp::List< ::capnp::Text>::Builder initValueNames(unsigned int size);
749 inline void adoptValueNames(::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value);
750 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> disownValueNames();
751
752 private:
753 ::capnp::_::StructBuilder _builder;
754 template <typename, ::capnp::Kind>
755 friend struct ::capnp::ToDynamic_;
756 friend class ::capnp::Orphanage;
757 template <typename, ::capnp::Kind>
758 friend struct ::capnp::_::PointerHelpers;
759 };
760
761 #if !CAPNP_LITE
762 class ParameterDescriptor::Pipeline {
763 public:
764 typedef ParameterDescriptor Pipelines;
765
766 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
767 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
768 : _typeless(kj::mv(typeless)) {}
769
770 inline ::piper::Basic::Pipeline getBasic();
771 private:
772 ::capnp::AnyPointer::Pipeline _typeless;
773 friend class ::capnp::PipelineHook;
774 template <typename, ::capnp::Kind>
775 friend struct ::capnp::ToDynamic_;
776 };
777 #endif // !CAPNP_LITE
778
779 class ConfiguredOutputDescriptor::Reader {
780 public:
781 typedef ConfiguredOutputDescriptor Reads;
782
783 Reader() = default;
784 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
785
786 inline ::capnp::MessageSize totalSize() const {
787 return _reader.totalSize().asPublic();
788 }
789
790 #if !CAPNP_LITE
791 inline ::kj::StringTree toString() const {
792 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
793 }
794 #endif // !CAPNP_LITE
795
796 inline bool hasUnit() const;
797 inline ::capnp::Text::Reader getUnit() const;
798
799 inline bool getHasFixedBinCount() const;
800
801 inline ::int32_t getBinCount() const;
802
803 inline bool hasBinNames() const;
804 inline ::capnp::List< ::capnp::Text>::Reader getBinNames() const;
805
806 inline bool getHasKnownExtents() const;
807
808 inline float getMinValue() const;
809
810 inline float getMaxValue() const;
811
812 inline bool getIsQuantized() const;
813
814 inline float getQuantizeStep() const;
815
816 inline ::piper::SampleType getSampleType() const;
817
818 inline float getSampleRate() const;
819
820 inline bool getHasDuration() const;
821
822 private:
823 ::capnp::_::StructReader _reader;
824 template <typename, ::capnp::Kind>
825 friend struct ::capnp::ToDynamic_;
826 template <typename, ::capnp::Kind>
827 friend struct ::capnp::_::PointerHelpers;
828 template <typename, ::capnp::Kind>
829 friend struct ::capnp::List;
830 friend class ::capnp::MessageBuilder;
831 friend class ::capnp::Orphanage;
832 };
833
834 class ConfiguredOutputDescriptor::Builder {
835 public:
836 typedef ConfiguredOutputDescriptor Builds;
837
838 Builder() = delete; // Deleted to discourage incorrect usage.
839 // You can explicitly initialize to nullptr instead.
840 inline Builder(decltype(nullptr)) {}
841 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
842 inline operator Reader() const { return Reader(_builder.asReader()); }
843 inline Reader asReader() const { return *this; }
844
845 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
846 #if !CAPNP_LITE
847 inline ::kj::StringTree toString() const { return asReader().toString(); }
848 #endif // !CAPNP_LITE
849
850 inline bool hasUnit();
851 inline ::capnp::Text::Builder getUnit();
852 inline void setUnit( ::capnp::Text::Reader value);
853 inline ::capnp::Text::Builder initUnit(unsigned int size);
854 inline void adoptUnit(::capnp::Orphan< ::capnp::Text>&& value);
855 inline ::capnp::Orphan< ::capnp::Text> disownUnit();
856
857 inline bool getHasFixedBinCount();
858 inline void setHasFixedBinCount(bool value);
859
860 inline ::int32_t getBinCount();
861 inline void setBinCount( ::int32_t value);
862
863 inline bool hasBinNames();
864 inline ::capnp::List< ::capnp::Text>::Builder getBinNames();
865 inline void setBinNames( ::capnp::List< ::capnp::Text>::Reader value);
866 inline void setBinNames(::kj::ArrayPtr<const ::capnp::Text::Reader> value);
867 inline ::capnp::List< ::capnp::Text>::Builder initBinNames(unsigned int size);
868 inline void adoptBinNames(::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value);
869 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> disownBinNames();
870
871 inline bool getHasKnownExtents();
872 inline void setHasKnownExtents(bool value);
873
874 inline float getMinValue();
875 inline void setMinValue(float value);
876
877 inline float getMaxValue();
878 inline void setMaxValue(float value);
879
880 inline bool getIsQuantized();
881 inline void setIsQuantized(bool value);
882
883 inline float getQuantizeStep();
884 inline void setQuantizeStep(float value);
885
886 inline ::piper::SampleType getSampleType();
887 inline void setSampleType( ::piper::SampleType value);
888
889 inline float getSampleRate();
890 inline void setSampleRate(float value);
891
892 inline bool getHasDuration();
893 inline void setHasDuration(bool value);
894
895 private:
896 ::capnp::_::StructBuilder _builder;
897 template <typename, ::capnp::Kind>
898 friend struct ::capnp::ToDynamic_;
899 friend class ::capnp::Orphanage;
900 template <typename, ::capnp::Kind>
901 friend struct ::capnp::_::PointerHelpers;
902 };
903
904 #if !CAPNP_LITE
905 class ConfiguredOutputDescriptor::Pipeline {
906 public:
907 typedef ConfiguredOutputDescriptor Pipelines;
908
909 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
910 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
911 : _typeless(kj::mv(typeless)) {}
912
913 private:
914 ::capnp::AnyPointer::Pipeline _typeless;
915 friend class ::capnp::PipelineHook;
916 template <typename, ::capnp::Kind>
917 friend struct ::capnp::ToDynamic_;
918 };
919 #endif // !CAPNP_LITE
920
921 class OutputDescriptor::Reader {
922 public:
923 typedef OutputDescriptor Reads;
924
925 Reader() = default;
926 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
927
928 inline ::capnp::MessageSize totalSize() const {
929 return _reader.totalSize().asPublic();
930 }
931
932 #if !CAPNP_LITE
933 inline ::kj::StringTree toString() const {
934 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
935 }
936 #endif // !CAPNP_LITE
937
938 inline bool hasBasic() const;
939 inline ::piper::Basic::Reader getBasic() const;
940
941 inline bool hasConfigured() const;
942 inline ::piper::ConfiguredOutputDescriptor::Reader getConfigured() const;
943
944 private:
945 ::capnp::_::StructReader _reader;
946 template <typename, ::capnp::Kind>
947 friend struct ::capnp::ToDynamic_;
948 template <typename, ::capnp::Kind>
949 friend struct ::capnp::_::PointerHelpers;
950 template <typename, ::capnp::Kind>
951 friend struct ::capnp::List;
952 friend class ::capnp::MessageBuilder;
953 friend class ::capnp::Orphanage;
954 };
955
956 class OutputDescriptor::Builder {
957 public:
958 typedef OutputDescriptor Builds;
959
960 Builder() = delete; // Deleted to discourage incorrect usage.
961 // You can explicitly initialize to nullptr instead.
962 inline Builder(decltype(nullptr)) {}
963 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
964 inline operator Reader() const { return Reader(_builder.asReader()); }
965 inline Reader asReader() const { return *this; }
966
967 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
968 #if !CAPNP_LITE
969 inline ::kj::StringTree toString() const { return asReader().toString(); }
970 #endif // !CAPNP_LITE
971
972 inline bool hasBasic();
973 inline ::piper::Basic::Builder getBasic();
974 inline void setBasic( ::piper::Basic::Reader value);
975 inline ::piper::Basic::Builder initBasic();
976 inline void adoptBasic(::capnp::Orphan< ::piper::Basic>&& value);
977 inline ::capnp::Orphan< ::piper::Basic> disownBasic();
978
979 inline bool hasConfigured();
980 inline ::piper::ConfiguredOutputDescriptor::Builder getConfigured();
981 inline void setConfigured( ::piper::ConfiguredOutputDescriptor::Reader value);
982 inline ::piper::ConfiguredOutputDescriptor::Builder initConfigured();
983 inline void adoptConfigured(::capnp::Orphan< ::piper::ConfiguredOutputDescriptor>&& value);
984 inline ::capnp::Orphan< ::piper::ConfiguredOutputDescriptor> disownConfigured();
985
986 private:
987 ::capnp::_::StructBuilder _builder;
988 template <typename, ::capnp::Kind>
989 friend struct ::capnp::ToDynamic_;
990 friend class ::capnp::Orphanage;
991 template <typename, ::capnp::Kind>
992 friend struct ::capnp::_::PointerHelpers;
993 };
994
995 #if !CAPNP_LITE
996 class OutputDescriptor::Pipeline {
997 public:
998 typedef OutputDescriptor Pipelines;
999
1000 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1001 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1002 : _typeless(kj::mv(typeless)) {}
1003
1004 inline ::piper::Basic::Pipeline getBasic();
1005 inline ::piper::ConfiguredOutputDescriptor::Pipeline getConfigured();
1006 private:
1007 ::capnp::AnyPointer::Pipeline _typeless;
1008 friend class ::capnp::PipelineHook;
1009 template <typename, ::capnp::Kind>
1010 friend struct ::capnp::ToDynamic_;
1011 };
1012 #endif // !CAPNP_LITE
1013
1014 class ExtractorStaticData::Reader {
1015 public:
1016 typedef ExtractorStaticData Reads;
1017
1018 Reader() = default;
1019 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1020
1021 inline ::capnp::MessageSize totalSize() const {
1022 return _reader.totalSize().asPublic();
1023 }
1024
1025 #if !CAPNP_LITE
1026 inline ::kj::StringTree toString() const {
1027 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
1028 }
1029 #endif // !CAPNP_LITE
1030
1031 inline bool hasKey() const;
1032 inline ::capnp::Text::Reader getKey() const;
1033
1034 inline bool hasBasic() const;
1035 inline ::piper::Basic::Reader getBasic() const;
1036
1037 inline bool hasMaker() const;
1038 inline ::capnp::Text::Reader getMaker() const;
1039
1040 inline bool hasCopyright() const;
1041 inline ::capnp::Text::Reader getCopyright() const;
1042
1043 inline ::int32_t getVersion() const;
1044
1045 inline bool hasCategory() const;
1046 inline ::capnp::List< ::capnp::Text>::Reader getCategory() const;
1047
1048 inline ::int32_t getMinChannelCount() const;
1049
1050 inline ::int32_t getMaxChannelCount() const;
1051
1052 inline bool hasParameters() const;
1053 inline ::capnp::List< ::piper::ParameterDescriptor>::Reader getParameters() const;
1054
1055 inline bool hasPrograms() const;
1056 inline ::capnp::List< ::capnp::Text>::Reader getPrograms() const;
1057
1058 inline ::piper::InputDomain getInputDomain() const;
1059
1060 inline bool hasBasicOutputInfo() const;
1061 inline ::capnp::List< ::piper::Basic>::Reader getBasicOutputInfo() const;
1062
1063 private:
1064 ::capnp::_::StructReader _reader;
1065 template <typename, ::capnp::Kind>
1066 friend struct ::capnp::ToDynamic_;
1067 template <typename, ::capnp::Kind>
1068 friend struct ::capnp::_::PointerHelpers;
1069 template <typename, ::capnp::Kind>
1070 friend struct ::capnp::List;
1071 friend class ::capnp::MessageBuilder;
1072 friend class ::capnp::Orphanage;
1073 };
1074
1075 class ExtractorStaticData::Builder {
1076 public:
1077 typedef ExtractorStaticData Builds;
1078
1079 Builder() = delete; // Deleted to discourage incorrect usage.
1080 // You can explicitly initialize to nullptr instead.
1081 inline Builder(decltype(nullptr)) {}
1082 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1083 inline operator Reader() const { return Reader(_builder.asReader()); }
1084 inline Reader asReader() const { return *this; }
1085
1086 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1087 #if !CAPNP_LITE
1088 inline ::kj::StringTree toString() const { return asReader().toString(); }
1089 #endif // !CAPNP_LITE
1090
1091 inline bool hasKey();
1092 inline ::capnp::Text::Builder getKey();
1093 inline void setKey( ::capnp::Text::Reader value);
1094 inline ::capnp::Text::Builder initKey(unsigned int size);
1095 inline void adoptKey(::capnp::Orphan< ::capnp::Text>&& value);
1096 inline ::capnp::Orphan< ::capnp::Text> disownKey();
1097
1098 inline bool hasBasic();
1099 inline ::piper::Basic::Builder getBasic();
1100 inline void setBasic( ::piper::Basic::Reader value);
1101 inline ::piper::Basic::Builder initBasic();
1102 inline void adoptBasic(::capnp::Orphan< ::piper::Basic>&& value);
1103 inline ::capnp::Orphan< ::piper::Basic> disownBasic();
1104
1105 inline bool hasMaker();
1106 inline ::capnp::Text::Builder getMaker();
1107 inline void setMaker( ::capnp::Text::Reader value);
1108 inline ::capnp::Text::Builder initMaker(unsigned int size);
1109 inline void adoptMaker(::capnp::Orphan< ::capnp::Text>&& value);
1110 inline ::capnp::Orphan< ::capnp::Text> disownMaker();
1111
1112 inline bool hasCopyright();
1113 inline ::capnp::Text::Builder getCopyright();
1114 inline void setCopyright( ::capnp::Text::Reader value);
1115 inline ::capnp::Text::Builder initCopyright(unsigned int size);
1116 inline void adoptCopyright(::capnp::Orphan< ::capnp::Text>&& value);
1117 inline ::capnp::Orphan< ::capnp::Text> disownCopyright();
1118
1119 inline ::int32_t getVersion();
1120 inline void setVersion( ::int32_t value);
1121
1122 inline bool hasCategory();
1123 inline ::capnp::List< ::capnp::Text>::Builder getCategory();
1124 inline void setCategory( ::capnp::List< ::capnp::Text>::Reader value);
1125 inline void setCategory(::kj::ArrayPtr<const ::capnp::Text::Reader> value);
1126 inline ::capnp::List< ::capnp::Text>::Builder initCategory(unsigned int size);
1127 inline void adoptCategory(::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value);
1128 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> disownCategory();
1129
1130 inline ::int32_t getMinChannelCount();
1131 inline void setMinChannelCount( ::int32_t value);
1132
1133 inline ::int32_t getMaxChannelCount();
1134 inline void setMaxChannelCount( ::int32_t value);
1135
1136 inline bool hasParameters();
1137 inline ::capnp::List< ::piper::ParameterDescriptor>::Builder getParameters();
1138 inline void setParameters( ::capnp::List< ::piper::ParameterDescriptor>::Reader value);
1139 inline ::capnp::List< ::piper::ParameterDescriptor>::Builder initParameters(unsigned int size);
1140 inline void adoptParameters(::capnp::Orphan< ::capnp::List< ::piper::ParameterDescriptor>>&& value);
1141 inline ::capnp::Orphan< ::capnp::List< ::piper::ParameterDescriptor>> disownParameters();
1142
1143 inline bool hasPrograms();
1144 inline ::capnp::List< ::capnp::Text>::Builder getPrograms();
1145 inline void setPrograms( ::capnp::List< ::capnp::Text>::Reader value);
1146 inline void setPrograms(::kj::ArrayPtr<const ::capnp::Text::Reader> value);
1147 inline ::capnp::List< ::capnp::Text>::Builder initPrograms(unsigned int size);
1148 inline void adoptPrograms(::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value);
1149 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> disownPrograms();
1150
1151 inline ::piper::InputDomain getInputDomain();
1152 inline void setInputDomain( ::piper::InputDomain value);
1153
1154 inline bool hasBasicOutputInfo();
1155 inline ::capnp::List< ::piper::Basic>::Builder getBasicOutputInfo();
1156 inline void setBasicOutputInfo( ::capnp::List< ::piper::Basic>::Reader value);
1157 inline ::capnp::List< ::piper::Basic>::Builder initBasicOutputInfo(unsigned int size);
1158 inline void adoptBasicOutputInfo(::capnp::Orphan< ::capnp::List< ::piper::Basic>>&& value);
1159 inline ::capnp::Orphan< ::capnp::List< ::piper::Basic>> disownBasicOutputInfo();
1160
1161 private:
1162 ::capnp::_::StructBuilder _builder;
1163 template <typename, ::capnp::Kind>
1164 friend struct ::capnp::ToDynamic_;
1165 friend class ::capnp::Orphanage;
1166 template <typename, ::capnp::Kind>
1167 friend struct ::capnp::_::PointerHelpers;
1168 };
1169
1170 #if !CAPNP_LITE
1171 class ExtractorStaticData::Pipeline {
1172 public:
1173 typedef ExtractorStaticData Pipelines;
1174
1175 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1176 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1177 : _typeless(kj::mv(typeless)) {}
1178
1179 inline ::piper::Basic::Pipeline getBasic();
1180 private:
1181 ::capnp::AnyPointer::Pipeline _typeless;
1182 friend class ::capnp::PipelineHook;
1183 template <typename, ::capnp::Kind>
1184 friend struct ::capnp::ToDynamic_;
1185 };
1186 #endif // !CAPNP_LITE
1187
1188 class RealTime::Reader {
1189 public:
1190 typedef RealTime Reads;
1191
1192 Reader() = default;
1193 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1194
1195 inline ::capnp::MessageSize totalSize() const {
1196 return _reader.totalSize().asPublic();
1197 }
1198
1199 #if !CAPNP_LITE
1200 inline ::kj::StringTree toString() const {
1201 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
1202 }
1203 #endif // !CAPNP_LITE
1204
1205 inline ::int32_t getSec() const;
1206
1207 inline ::int32_t getNsec() const;
1208
1209 private:
1210 ::capnp::_::StructReader _reader;
1211 template <typename, ::capnp::Kind>
1212 friend struct ::capnp::ToDynamic_;
1213 template <typename, ::capnp::Kind>
1214 friend struct ::capnp::_::PointerHelpers;
1215 template <typename, ::capnp::Kind>
1216 friend struct ::capnp::List;
1217 friend class ::capnp::MessageBuilder;
1218 friend class ::capnp::Orphanage;
1219 };
1220
1221 class RealTime::Builder {
1222 public:
1223 typedef RealTime Builds;
1224
1225 Builder() = delete; // Deleted to discourage incorrect usage.
1226 // You can explicitly initialize to nullptr instead.
1227 inline Builder(decltype(nullptr)) {}
1228 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1229 inline operator Reader() const { return Reader(_builder.asReader()); }
1230 inline Reader asReader() const { return *this; }
1231
1232 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1233 #if !CAPNP_LITE
1234 inline ::kj::StringTree toString() const { return asReader().toString(); }
1235 #endif // !CAPNP_LITE
1236
1237 inline ::int32_t getSec();
1238 inline void setSec( ::int32_t value);
1239
1240 inline ::int32_t getNsec();
1241 inline void setNsec( ::int32_t value);
1242
1243 private:
1244 ::capnp::_::StructBuilder _builder;
1245 template <typename, ::capnp::Kind>
1246 friend struct ::capnp::ToDynamic_;
1247 friend class ::capnp::Orphanage;
1248 template <typename, ::capnp::Kind>
1249 friend struct ::capnp::_::PointerHelpers;
1250 };
1251
1252 #if !CAPNP_LITE
1253 class RealTime::Pipeline {
1254 public:
1255 typedef RealTime Pipelines;
1256
1257 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1258 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1259 : _typeless(kj::mv(typeless)) {}
1260
1261 private:
1262 ::capnp::AnyPointer::Pipeline _typeless;
1263 friend class ::capnp::PipelineHook;
1264 template <typename, ::capnp::Kind>
1265 friend struct ::capnp::ToDynamic_;
1266 };
1267 #endif // !CAPNP_LITE
1268
1269 class ProcessInput::Reader {
1270 public:
1271 typedef ProcessInput Reads;
1272
1273 Reader() = default;
1274 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1275
1276 inline ::capnp::MessageSize totalSize() const {
1277 return _reader.totalSize().asPublic();
1278 }
1279
1280 #if !CAPNP_LITE
1281 inline ::kj::StringTree toString() const {
1282 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
1283 }
1284 #endif // !CAPNP_LITE
1285
1286 inline bool hasInputBuffers() const;
1287 inline ::capnp::List< ::capnp::List<float>>::Reader getInputBuffers() const;
1288
1289 inline bool hasTimestamp() const;
1290 inline ::piper::RealTime::Reader getTimestamp() const;
1291
1292 private:
1293 ::capnp::_::StructReader _reader;
1294 template <typename, ::capnp::Kind>
1295 friend struct ::capnp::ToDynamic_;
1296 template <typename, ::capnp::Kind>
1297 friend struct ::capnp::_::PointerHelpers;
1298 template <typename, ::capnp::Kind>
1299 friend struct ::capnp::List;
1300 friend class ::capnp::MessageBuilder;
1301 friend class ::capnp::Orphanage;
1302 };
1303
1304 class ProcessInput::Builder {
1305 public:
1306 typedef ProcessInput Builds;
1307
1308 Builder() = delete; // Deleted to discourage incorrect usage.
1309 // You can explicitly initialize to nullptr instead.
1310 inline Builder(decltype(nullptr)) {}
1311 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1312 inline operator Reader() const { return Reader(_builder.asReader()); }
1313 inline Reader asReader() const { return *this; }
1314
1315 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1316 #if !CAPNP_LITE
1317 inline ::kj::StringTree toString() const { return asReader().toString(); }
1318 #endif // !CAPNP_LITE
1319
1320 inline bool hasInputBuffers();
1321 inline ::capnp::List< ::capnp::List<float>>::Builder getInputBuffers();
1322 inline void setInputBuffers( ::capnp::List< ::capnp::List<float>>::Reader value);
1323 inline void setInputBuffers(::kj::ArrayPtr<const ::capnp::List<float>::Reader> value);
1324 inline ::capnp::List< ::capnp::List<float>>::Builder initInputBuffers(unsigned int size);
1325 inline void adoptInputBuffers(::capnp::Orphan< ::capnp::List< ::capnp::List<float>>>&& value);
1326 inline ::capnp::Orphan< ::capnp::List< ::capnp::List<float>>> disownInputBuffers();
1327
1328 inline bool hasTimestamp();
1329 inline ::piper::RealTime::Builder getTimestamp();
1330 inline void setTimestamp( ::piper::RealTime::Reader value);
1331 inline ::piper::RealTime::Builder initTimestamp();
1332 inline void adoptTimestamp(::capnp::Orphan< ::piper::RealTime>&& value);
1333 inline ::capnp::Orphan< ::piper::RealTime> disownTimestamp();
1334
1335 private:
1336 ::capnp::_::StructBuilder _builder;
1337 template <typename, ::capnp::Kind>
1338 friend struct ::capnp::ToDynamic_;
1339 friend class ::capnp::Orphanage;
1340 template <typename, ::capnp::Kind>
1341 friend struct ::capnp::_::PointerHelpers;
1342 };
1343
1344 #if !CAPNP_LITE
1345 class ProcessInput::Pipeline {
1346 public:
1347 typedef ProcessInput Pipelines;
1348
1349 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1350 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1351 : _typeless(kj::mv(typeless)) {}
1352
1353 inline ::piper::RealTime::Pipeline getTimestamp();
1354 private:
1355 ::capnp::AnyPointer::Pipeline _typeless;
1356 friend class ::capnp::PipelineHook;
1357 template <typename, ::capnp::Kind>
1358 friend struct ::capnp::ToDynamic_;
1359 };
1360 #endif // !CAPNP_LITE
1361
1362 class Feature::Reader {
1363 public:
1364 typedef Feature Reads;
1365
1366 Reader() = default;
1367 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1368
1369 inline ::capnp::MessageSize totalSize() const {
1370 return _reader.totalSize().asPublic();
1371 }
1372
1373 #if !CAPNP_LITE
1374 inline ::kj::StringTree toString() const {
1375 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
1376 }
1377 #endif // !CAPNP_LITE
1378
1379 inline bool getHasTimestamp() const;
1380
1381 inline bool hasTimestamp() const;
1382 inline ::piper::RealTime::Reader getTimestamp() const;
1383
1384 inline bool getHasDuration() const;
1385
1386 inline bool hasDuration() const;
1387 inline ::piper::RealTime::Reader getDuration() const;
1388
1389 inline bool hasLabel() const;
1390 inline ::capnp::Text::Reader getLabel() const;
1391
1392 inline bool hasFeatureValues() const;
1393 inline ::capnp::List<float>::Reader getFeatureValues() const;
1394
1395 private:
1396 ::capnp::_::StructReader _reader;
1397 template <typename, ::capnp::Kind>
1398 friend struct ::capnp::ToDynamic_;
1399 template <typename, ::capnp::Kind>
1400 friend struct ::capnp::_::PointerHelpers;
1401 template <typename, ::capnp::Kind>
1402 friend struct ::capnp::List;
1403 friend class ::capnp::MessageBuilder;
1404 friend class ::capnp::Orphanage;
1405 };
1406
1407 class Feature::Builder {
1408 public:
1409 typedef Feature Builds;
1410
1411 Builder() = delete; // Deleted to discourage incorrect usage.
1412 // You can explicitly initialize to nullptr instead.
1413 inline Builder(decltype(nullptr)) {}
1414 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1415 inline operator Reader() const { return Reader(_builder.asReader()); }
1416 inline Reader asReader() const { return *this; }
1417
1418 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1419 #if !CAPNP_LITE
1420 inline ::kj::StringTree toString() const { return asReader().toString(); }
1421 #endif // !CAPNP_LITE
1422
1423 inline bool getHasTimestamp();
1424 inline void setHasTimestamp(bool value);
1425
1426 inline bool hasTimestamp();
1427 inline ::piper::RealTime::Builder getTimestamp();
1428 inline void setTimestamp( ::piper::RealTime::Reader value);
1429 inline ::piper::RealTime::Builder initTimestamp();
1430 inline void adoptTimestamp(::capnp::Orphan< ::piper::RealTime>&& value);
1431 inline ::capnp::Orphan< ::piper::RealTime> disownTimestamp();
1432
1433 inline bool getHasDuration();
1434 inline void setHasDuration(bool value);
1435
1436 inline bool hasDuration();
1437 inline ::piper::RealTime::Builder getDuration();
1438 inline void setDuration( ::piper::RealTime::Reader value);
1439 inline ::piper::RealTime::Builder initDuration();
1440 inline void adoptDuration(::capnp::Orphan< ::piper::RealTime>&& value);
1441 inline ::capnp::Orphan< ::piper::RealTime> disownDuration();
1442
1443 inline bool hasLabel();
1444 inline ::capnp::Text::Builder getLabel();
1445 inline void setLabel( ::capnp::Text::Reader value);
1446 inline ::capnp::Text::Builder initLabel(unsigned int size);
1447 inline void adoptLabel(::capnp::Orphan< ::capnp::Text>&& value);
1448 inline ::capnp::Orphan< ::capnp::Text> disownLabel();
1449
1450 inline bool hasFeatureValues();
1451 inline ::capnp::List<float>::Builder getFeatureValues();
1452 inline void setFeatureValues( ::capnp::List<float>::Reader value);
1453 inline void setFeatureValues(::kj::ArrayPtr<const float> value);
1454 inline ::capnp::List<float>::Builder initFeatureValues(unsigned int size);
1455 inline void adoptFeatureValues(::capnp::Orphan< ::capnp::List<float>>&& value);
1456 inline ::capnp::Orphan< ::capnp::List<float>> disownFeatureValues();
1457
1458 private:
1459 ::capnp::_::StructBuilder _builder;
1460 template <typename, ::capnp::Kind>
1461 friend struct ::capnp::ToDynamic_;
1462 friend class ::capnp::Orphanage;
1463 template <typename, ::capnp::Kind>
1464 friend struct ::capnp::_::PointerHelpers;
1465 };
1466
1467 #if !CAPNP_LITE
1468 class Feature::Pipeline {
1469 public:
1470 typedef Feature Pipelines;
1471
1472 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1473 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1474 : _typeless(kj::mv(typeless)) {}
1475
1476 inline ::piper::RealTime::Pipeline getTimestamp();
1477 inline ::piper::RealTime::Pipeline getDuration();
1478 private:
1479 ::capnp::AnyPointer::Pipeline _typeless;
1480 friend class ::capnp::PipelineHook;
1481 template <typename, ::capnp::Kind>
1482 friend struct ::capnp::ToDynamic_;
1483 };
1484 #endif // !CAPNP_LITE
1485
1486 class FeatureSet::Reader {
1487 public:
1488 typedef FeatureSet Reads;
1489
1490 Reader() = default;
1491 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1492
1493 inline ::capnp::MessageSize totalSize() const {
1494 return _reader.totalSize().asPublic();
1495 }
1496
1497 #if !CAPNP_LITE
1498 inline ::kj::StringTree toString() const {
1499 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
1500 }
1501 #endif // !CAPNP_LITE
1502
1503 inline bool hasFeaturePairs() const;
1504 inline ::capnp::List< ::piper::FeatureSet::FSPair>::Reader getFeaturePairs() const;
1505
1506 private:
1507 ::capnp::_::StructReader _reader;
1508 template <typename, ::capnp::Kind>
1509 friend struct ::capnp::ToDynamic_;
1510 template <typename, ::capnp::Kind>
1511 friend struct ::capnp::_::PointerHelpers;
1512 template <typename, ::capnp::Kind>
1513 friend struct ::capnp::List;
1514 friend class ::capnp::MessageBuilder;
1515 friend class ::capnp::Orphanage;
1516 };
1517
1518 class FeatureSet::Builder {
1519 public:
1520 typedef FeatureSet Builds;
1521
1522 Builder() = delete; // Deleted to discourage incorrect usage.
1523 // You can explicitly initialize to nullptr instead.
1524 inline Builder(decltype(nullptr)) {}
1525 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1526 inline operator Reader() const { return Reader(_builder.asReader()); }
1527 inline Reader asReader() const { return *this; }
1528
1529 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1530 #if !CAPNP_LITE
1531 inline ::kj::StringTree toString() const { return asReader().toString(); }
1532 #endif // !CAPNP_LITE
1533
1534 inline bool hasFeaturePairs();
1535 inline ::capnp::List< ::piper::FeatureSet::FSPair>::Builder getFeaturePairs();
1536 inline void setFeaturePairs( ::capnp::List< ::piper::FeatureSet::FSPair>::Reader value);
1537 inline ::capnp::List< ::piper::FeatureSet::FSPair>::Builder initFeaturePairs(unsigned int size);
1538 inline void adoptFeaturePairs(::capnp::Orphan< ::capnp::List< ::piper::FeatureSet::FSPair>>&& value);
1539 inline ::capnp::Orphan< ::capnp::List< ::piper::FeatureSet::FSPair>> disownFeaturePairs();
1540
1541 private:
1542 ::capnp::_::StructBuilder _builder;
1543 template <typename, ::capnp::Kind>
1544 friend struct ::capnp::ToDynamic_;
1545 friend class ::capnp::Orphanage;
1546 template <typename, ::capnp::Kind>
1547 friend struct ::capnp::_::PointerHelpers;
1548 };
1549
1550 #if !CAPNP_LITE
1551 class FeatureSet::Pipeline {
1552 public:
1553 typedef FeatureSet Pipelines;
1554
1555 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1556 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1557 : _typeless(kj::mv(typeless)) {}
1558
1559 private:
1560 ::capnp::AnyPointer::Pipeline _typeless;
1561 friend class ::capnp::PipelineHook;
1562 template <typename, ::capnp::Kind>
1563 friend struct ::capnp::ToDynamic_;
1564 };
1565 #endif // !CAPNP_LITE
1566
1567 class FeatureSet::FSPair::Reader {
1568 public:
1569 typedef FSPair Reads;
1570
1571 Reader() = default;
1572 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1573
1574 inline ::capnp::MessageSize totalSize() const {
1575 return _reader.totalSize().asPublic();
1576 }
1577
1578 #if !CAPNP_LITE
1579 inline ::kj::StringTree toString() const {
1580 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
1581 }
1582 #endif // !CAPNP_LITE
1583
1584 inline bool hasOutput() const;
1585 inline ::capnp::Text::Reader getOutput() const;
1586
1587 inline bool hasFeatures() const;
1588 inline ::capnp::List< ::piper::Feature>::Reader getFeatures() const;
1589
1590 private:
1591 ::capnp::_::StructReader _reader;
1592 template <typename, ::capnp::Kind>
1593 friend struct ::capnp::ToDynamic_;
1594 template <typename, ::capnp::Kind>
1595 friend struct ::capnp::_::PointerHelpers;
1596 template <typename, ::capnp::Kind>
1597 friend struct ::capnp::List;
1598 friend class ::capnp::MessageBuilder;
1599 friend class ::capnp::Orphanage;
1600 };
1601
1602 class FeatureSet::FSPair::Builder {
1603 public:
1604 typedef FSPair Builds;
1605
1606 Builder() = delete; // Deleted to discourage incorrect usage.
1607 // You can explicitly initialize to nullptr instead.
1608 inline Builder(decltype(nullptr)) {}
1609 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1610 inline operator Reader() const { return Reader(_builder.asReader()); }
1611 inline Reader asReader() const { return *this; }
1612
1613 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1614 #if !CAPNP_LITE
1615 inline ::kj::StringTree toString() const { return asReader().toString(); }
1616 #endif // !CAPNP_LITE
1617
1618 inline bool hasOutput();
1619 inline ::capnp::Text::Builder getOutput();
1620 inline void setOutput( ::capnp::Text::Reader value);
1621 inline ::capnp::Text::Builder initOutput(unsigned int size);
1622 inline void adoptOutput(::capnp::Orphan< ::capnp::Text>&& value);
1623 inline ::capnp::Orphan< ::capnp::Text> disownOutput();
1624
1625 inline bool hasFeatures();
1626 inline ::capnp::List< ::piper::Feature>::Builder getFeatures();
1627 inline void setFeatures( ::capnp::List< ::piper::Feature>::Reader value);
1628 inline ::capnp::List< ::piper::Feature>::Builder initFeatures(unsigned int size);
1629 inline void adoptFeatures(::capnp::Orphan< ::capnp::List< ::piper::Feature>>&& value);
1630 inline ::capnp::Orphan< ::capnp::List< ::piper::Feature>> disownFeatures();
1631
1632 private:
1633 ::capnp::_::StructBuilder _builder;
1634 template <typename, ::capnp::Kind>
1635 friend struct ::capnp::ToDynamic_;
1636 friend class ::capnp::Orphanage;
1637 template <typename, ::capnp::Kind>
1638 friend struct ::capnp::_::PointerHelpers;
1639 };
1640
1641 #if !CAPNP_LITE
1642 class FeatureSet::FSPair::Pipeline {
1643 public:
1644 typedef FSPair Pipelines;
1645
1646 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1647 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1648 : _typeless(kj::mv(typeless)) {}
1649
1650 private:
1651 ::capnp::AnyPointer::Pipeline _typeless;
1652 friend class ::capnp::PipelineHook;
1653 template <typename, ::capnp::Kind>
1654 friend struct ::capnp::ToDynamic_;
1655 };
1656 #endif // !CAPNP_LITE
1657
1658 class Configuration::Reader {
1659 public:
1660 typedef Configuration Reads;
1661
1662 Reader() = default;
1663 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1664
1665 inline ::capnp::MessageSize totalSize() const {
1666 return _reader.totalSize().asPublic();
1667 }
1668
1669 #if !CAPNP_LITE
1670 inline ::kj::StringTree toString() const {
1671 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
1672 }
1673 #endif // !CAPNP_LITE
1674
1675 inline bool hasParameterValues() const;
1676 inline ::capnp::List< ::piper::Configuration::PVPair>::Reader getParameterValues() const;
1677
1678 inline bool hasCurrentProgram() const;
1679 inline ::capnp::Text::Reader getCurrentProgram() const;
1680
1681 inline ::int32_t getChannelCount() const;
1682
1683 inline ::int32_t getStepSize() const;
1684
1685 inline ::int32_t getBlockSize() const;
1686
1687 private:
1688 ::capnp::_::StructReader _reader;
1689 template <typename, ::capnp::Kind>
1690 friend struct ::capnp::ToDynamic_;
1691 template <typename, ::capnp::Kind>
1692 friend struct ::capnp::_::PointerHelpers;
1693 template <typename, ::capnp::Kind>
1694 friend struct ::capnp::List;
1695 friend class ::capnp::MessageBuilder;
1696 friend class ::capnp::Orphanage;
1697 };
1698
1699 class Configuration::Builder {
1700 public:
1701 typedef Configuration Builds;
1702
1703 Builder() = delete; // Deleted to discourage incorrect usage.
1704 // You can explicitly initialize to nullptr instead.
1705 inline Builder(decltype(nullptr)) {}
1706 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1707 inline operator Reader() const { return Reader(_builder.asReader()); }
1708 inline Reader asReader() const { return *this; }
1709
1710 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1711 #if !CAPNP_LITE
1712 inline ::kj::StringTree toString() const { return asReader().toString(); }
1713 #endif // !CAPNP_LITE
1714
1715 inline bool hasParameterValues();
1716 inline ::capnp::List< ::piper::Configuration::PVPair>::Builder getParameterValues();
1717 inline void setParameterValues( ::capnp::List< ::piper::Configuration::PVPair>::Reader value);
1718 inline ::capnp::List< ::piper::Configuration::PVPair>::Builder initParameterValues(unsigned int size);
1719 inline void adoptParameterValues(::capnp::Orphan< ::capnp::List< ::piper::Configuration::PVPair>>&& value);
1720 inline ::capnp::Orphan< ::capnp::List< ::piper::Configuration::PVPair>> disownParameterValues();
1721
1722 inline bool hasCurrentProgram();
1723 inline ::capnp::Text::Builder getCurrentProgram();
1724 inline void setCurrentProgram( ::capnp::Text::Reader value);
1725 inline ::capnp::Text::Builder initCurrentProgram(unsigned int size);
1726 inline void adoptCurrentProgram(::capnp::Orphan< ::capnp::Text>&& value);
1727 inline ::capnp::Orphan< ::capnp::Text> disownCurrentProgram();
1728
1729 inline ::int32_t getChannelCount();
1730 inline void setChannelCount( ::int32_t value);
1731
1732 inline ::int32_t getStepSize();
1733 inline void setStepSize( ::int32_t value);
1734
1735 inline ::int32_t getBlockSize();
1736 inline void setBlockSize( ::int32_t value);
1737
1738 private:
1739 ::capnp::_::StructBuilder _builder;
1740 template <typename, ::capnp::Kind>
1741 friend struct ::capnp::ToDynamic_;
1742 friend class ::capnp::Orphanage;
1743 template <typename, ::capnp::Kind>
1744 friend struct ::capnp::_::PointerHelpers;
1745 };
1746
1747 #if !CAPNP_LITE
1748 class Configuration::Pipeline {
1749 public:
1750 typedef Configuration Pipelines;
1751
1752 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1753 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1754 : _typeless(kj::mv(typeless)) {}
1755
1756 private:
1757 ::capnp::AnyPointer::Pipeline _typeless;
1758 friend class ::capnp::PipelineHook;
1759 template <typename, ::capnp::Kind>
1760 friend struct ::capnp::ToDynamic_;
1761 };
1762 #endif // !CAPNP_LITE
1763
1764 class Configuration::PVPair::Reader {
1765 public:
1766 typedef PVPair Reads;
1767
1768 Reader() = default;
1769 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1770
1771 inline ::capnp::MessageSize totalSize() const {
1772 return _reader.totalSize().asPublic();
1773 }
1774
1775 #if !CAPNP_LITE
1776 inline ::kj::StringTree toString() const {
1777 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
1778 }
1779 #endif // !CAPNP_LITE
1780
1781 inline bool hasParameter() const;
1782 inline ::capnp::Text::Reader getParameter() const;
1783
1784 inline float getValue() const;
1785
1786 private:
1787 ::capnp::_::StructReader _reader;
1788 template <typename, ::capnp::Kind>
1789 friend struct ::capnp::ToDynamic_;
1790 template <typename, ::capnp::Kind>
1791 friend struct ::capnp::_::PointerHelpers;
1792 template <typename, ::capnp::Kind>
1793 friend struct ::capnp::List;
1794 friend class ::capnp::MessageBuilder;
1795 friend class ::capnp::Orphanage;
1796 };
1797
1798 class Configuration::PVPair::Builder {
1799 public:
1800 typedef PVPair Builds;
1801
1802 Builder() = delete; // Deleted to discourage incorrect usage.
1803 // You can explicitly initialize to nullptr instead.
1804 inline Builder(decltype(nullptr)) {}
1805 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1806 inline operator Reader() const { return Reader(_builder.asReader()); }
1807 inline Reader asReader() const { return *this; }
1808
1809 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1810 #if !CAPNP_LITE
1811 inline ::kj::StringTree toString() const { return asReader().toString(); }
1812 #endif // !CAPNP_LITE
1813
1814 inline bool hasParameter();
1815 inline ::capnp::Text::Builder getParameter();
1816 inline void setParameter( ::capnp::Text::Reader value);
1817 inline ::capnp::Text::Builder initParameter(unsigned int size);
1818 inline void adoptParameter(::capnp::Orphan< ::capnp::Text>&& value);
1819 inline ::capnp::Orphan< ::capnp::Text> disownParameter();
1820
1821 inline float getValue();
1822 inline void setValue(float value);
1823
1824 private:
1825 ::capnp::_::StructBuilder _builder;
1826 template <typename, ::capnp::Kind>
1827 friend struct ::capnp::ToDynamic_;
1828 friend class ::capnp::Orphanage;
1829 template <typename, ::capnp::Kind>
1830 friend struct ::capnp::_::PointerHelpers;
1831 };
1832
1833 #if !CAPNP_LITE
1834 class Configuration::PVPair::Pipeline {
1835 public:
1836 typedef PVPair Pipelines;
1837
1838 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1839 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1840 : _typeless(kj::mv(typeless)) {}
1841
1842 private:
1843 ::capnp::AnyPointer::Pipeline _typeless;
1844 friend class ::capnp::PipelineHook;
1845 template <typename, ::capnp::Kind>
1846 friend struct ::capnp::ToDynamic_;
1847 };
1848 #endif // !CAPNP_LITE
1849
1850 class ListRequest::Reader {
1851 public:
1852 typedef ListRequest Reads;
1853
1854 Reader() = default;
1855 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1856
1857 inline ::capnp::MessageSize totalSize() const {
1858 return _reader.totalSize().asPublic();
1859 }
1860
1861 #if !CAPNP_LITE
1862 inline ::kj::StringTree toString() const {
1863 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
1864 }
1865 #endif // !CAPNP_LITE
1866
1867 private:
1868 ::capnp::_::StructReader _reader;
1869 template <typename, ::capnp::Kind>
1870 friend struct ::capnp::ToDynamic_;
1871 template <typename, ::capnp::Kind>
1872 friend struct ::capnp::_::PointerHelpers;
1873 template <typename, ::capnp::Kind>
1874 friend struct ::capnp::List;
1875 friend class ::capnp::MessageBuilder;
1876 friend class ::capnp::Orphanage;
1877 };
1878
1879 class ListRequest::Builder {
1880 public:
1881 typedef ListRequest Builds;
1882
1883 Builder() = delete; // Deleted to discourage incorrect usage.
1884 // You can explicitly initialize to nullptr instead.
1885 inline Builder(decltype(nullptr)) {}
1886 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1887 inline operator Reader() const { return Reader(_builder.asReader()); }
1888 inline Reader asReader() const { return *this; }
1889
1890 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1891 #if !CAPNP_LITE
1892 inline ::kj::StringTree toString() const { return asReader().toString(); }
1893 #endif // !CAPNP_LITE
1894
1895 private:
1896 ::capnp::_::StructBuilder _builder;
1897 template <typename, ::capnp::Kind>
1898 friend struct ::capnp::ToDynamic_;
1899 friend class ::capnp::Orphanage;
1900 template <typename, ::capnp::Kind>
1901 friend struct ::capnp::_::PointerHelpers;
1902 };
1903
1904 #if !CAPNP_LITE
1905 class ListRequest::Pipeline {
1906 public:
1907 typedef ListRequest Pipelines;
1908
1909 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1910 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1911 : _typeless(kj::mv(typeless)) {}
1912
1913 private:
1914 ::capnp::AnyPointer::Pipeline _typeless;
1915 friend class ::capnp::PipelineHook;
1916 template <typename, ::capnp::Kind>
1917 friend struct ::capnp::ToDynamic_;
1918 };
1919 #endif // !CAPNP_LITE
1920
1921 class ListResponse::Reader {
1922 public:
1923 typedef ListResponse Reads;
1924
1925 Reader() = default;
1926 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
1927
1928 inline ::capnp::MessageSize totalSize() const {
1929 return _reader.totalSize().asPublic();
1930 }
1931
1932 #if !CAPNP_LITE
1933 inline ::kj::StringTree toString() const {
1934 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
1935 }
1936 #endif // !CAPNP_LITE
1937
1938 inline bool hasAvailable() const;
1939 inline ::capnp::List< ::piper::ExtractorStaticData>::Reader getAvailable() const;
1940
1941 private:
1942 ::capnp::_::StructReader _reader;
1943 template <typename, ::capnp::Kind>
1944 friend struct ::capnp::ToDynamic_;
1945 template <typename, ::capnp::Kind>
1946 friend struct ::capnp::_::PointerHelpers;
1947 template <typename, ::capnp::Kind>
1948 friend struct ::capnp::List;
1949 friend class ::capnp::MessageBuilder;
1950 friend class ::capnp::Orphanage;
1951 };
1952
1953 class ListResponse::Builder {
1954 public:
1955 typedef ListResponse Builds;
1956
1957 Builder() = delete; // Deleted to discourage incorrect usage.
1958 // You can explicitly initialize to nullptr instead.
1959 inline Builder(decltype(nullptr)) {}
1960 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
1961 inline operator Reader() const { return Reader(_builder.asReader()); }
1962 inline Reader asReader() const { return *this; }
1963
1964 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
1965 #if !CAPNP_LITE
1966 inline ::kj::StringTree toString() const { return asReader().toString(); }
1967 #endif // !CAPNP_LITE
1968
1969 inline bool hasAvailable();
1970 inline ::capnp::List< ::piper::ExtractorStaticData>::Builder getAvailable();
1971 inline void setAvailable( ::capnp::List< ::piper::ExtractorStaticData>::Reader value);
1972 inline ::capnp::List< ::piper::ExtractorStaticData>::Builder initAvailable(unsigned int size);
1973 inline void adoptAvailable(::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData>>&& value);
1974 inline ::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData>> disownAvailable();
1975
1976 private:
1977 ::capnp::_::StructBuilder _builder;
1978 template <typename, ::capnp::Kind>
1979 friend struct ::capnp::ToDynamic_;
1980 friend class ::capnp::Orphanage;
1981 template <typename, ::capnp::Kind>
1982 friend struct ::capnp::_::PointerHelpers;
1983 };
1984
1985 #if !CAPNP_LITE
1986 class ListResponse::Pipeline {
1987 public:
1988 typedef ListResponse Pipelines;
1989
1990 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
1991 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
1992 : _typeless(kj::mv(typeless)) {}
1993
1994 private:
1995 ::capnp::AnyPointer::Pipeline _typeless;
1996 friend class ::capnp::PipelineHook;
1997 template <typename, ::capnp::Kind>
1998 friend struct ::capnp::ToDynamic_;
1999 };
2000 #endif // !CAPNP_LITE
2001
2002 class LoadRequest::Reader {
2003 public:
2004 typedef LoadRequest Reads;
2005
2006 Reader() = default;
2007 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2008
2009 inline ::capnp::MessageSize totalSize() const {
2010 return _reader.totalSize().asPublic();
2011 }
2012
2013 #if !CAPNP_LITE
2014 inline ::kj::StringTree toString() const {
2015 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
2016 }
2017 #endif // !CAPNP_LITE
2018
2019 inline bool hasKey() const;
2020 inline ::capnp::Text::Reader getKey() const;
2021
2022 inline float getInputSampleRate() const;
2023
2024 inline bool hasAdapterFlags() const;
2025 inline ::capnp::List< ::piper::AdapterFlag>::Reader getAdapterFlags() const;
2026
2027 private:
2028 ::capnp::_::StructReader _reader;
2029 template <typename, ::capnp::Kind>
2030 friend struct ::capnp::ToDynamic_;
2031 template <typename, ::capnp::Kind>
2032 friend struct ::capnp::_::PointerHelpers;
2033 template <typename, ::capnp::Kind>
2034 friend struct ::capnp::List;
2035 friend class ::capnp::MessageBuilder;
2036 friend class ::capnp::Orphanage;
2037 };
2038
2039 class LoadRequest::Builder {
2040 public:
2041 typedef LoadRequest Builds;
2042
2043 Builder() = delete; // Deleted to discourage incorrect usage.
2044 // You can explicitly initialize to nullptr instead.
2045 inline Builder(decltype(nullptr)) {}
2046 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2047 inline operator Reader() const { return Reader(_builder.asReader()); }
2048 inline Reader asReader() const { return *this; }
2049
2050 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2051 #if !CAPNP_LITE
2052 inline ::kj::StringTree toString() const { return asReader().toString(); }
2053 #endif // !CAPNP_LITE
2054
2055 inline bool hasKey();
2056 inline ::capnp::Text::Builder getKey();
2057 inline void setKey( ::capnp::Text::Reader value);
2058 inline ::capnp::Text::Builder initKey(unsigned int size);
2059 inline void adoptKey(::capnp::Orphan< ::capnp::Text>&& value);
2060 inline ::capnp::Orphan< ::capnp::Text> disownKey();
2061
2062 inline float getInputSampleRate();
2063 inline void setInputSampleRate(float value);
2064
2065 inline bool hasAdapterFlags();
2066 inline ::capnp::List< ::piper::AdapterFlag>::Builder getAdapterFlags();
2067 inline void setAdapterFlags( ::capnp::List< ::piper::AdapterFlag>::Reader value);
2068 inline void setAdapterFlags(::kj::ArrayPtr<const ::piper::AdapterFlag> value);
2069 inline ::capnp::List< ::piper::AdapterFlag>::Builder initAdapterFlags(unsigned int size);
2070 inline void adoptAdapterFlags(::capnp::Orphan< ::capnp::List< ::piper::AdapterFlag>>&& value);
2071 inline ::capnp::Orphan< ::capnp::List< ::piper::AdapterFlag>> disownAdapterFlags();
2072
2073 private:
2074 ::capnp::_::StructBuilder _builder;
2075 template <typename, ::capnp::Kind>
2076 friend struct ::capnp::ToDynamic_;
2077 friend class ::capnp::Orphanage;
2078 template <typename, ::capnp::Kind>
2079 friend struct ::capnp::_::PointerHelpers;
2080 };
2081
2082 #if !CAPNP_LITE
2083 class LoadRequest::Pipeline {
2084 public:
2085 typedef LoadRequest Pipelines;
2086
2087 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2088 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2089 : _typeless(kj::mv(typeless)) {}
2090
2091 private:
2092 ::capnp::AnyPointer::Pipeline _typeless;
2093 friend class ::capnp::PipelineHook;
2094 template <typename, ::capnp::Kind>
2095 friend struct ::capnp::ToDynamic_;
2096 };
2097 #endif // !CAPNP_LITE
2098
2099 class LoadResponse::Reader {
2100 public:
2101 typedef LoadResponse Reads;
2102
2103 Reader() = default;
2104 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2105
2106 inline ::capnp::MessageSize totalSize() const {
2107 return _reader.totalSize().asPublic();
2108 }
2109
2110 #if !CAPNP_LITE
2111 inline ::kj::StringTree toString() const {
2112 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
2113 }
2114 #endif // !CAPNP_LITE
2115
2116 inline ::int32_t getHandle() const;
2117
2118 inline bool hasStaticData() const;
2119 inline ::piper::ExtractorStaticData::Reader getStaticData() const;
2120
2121 inline bool hasDefaultConfiguration() const;
2122 inline ::piper::Configuration::Reader getDefaultConfiguration() const;
2123
2124 private:
2125 ::capnp::_::StructReader _reader;
2126 template <typename, ::capnp::Kind>
2127 friend struct ::capnp::ToDynamic_;
2128 template <typename, ::capnp::Kind>
2129 friend struct ::capnp::_::PointerHelpers;
2130 template <typename, ::capnp::Kind>
2131 friend struct ::capnp::List;
2132 friend class ::capnp::MessageBuilder;
2133 friend class ::capnp::Orphanage;
2134 };
2135
2136 class LoadResponse::Builder {
2137 public:
2138 typedef LoadResponse Builds;
2139
2140 Builder() = delete; // Deleted to discourage incorrect usage.
2141 // You can explicitly initialize to nullptr instead.
2142 inline Builder(decltype(nullptr)) {}
2143 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2144 inline operator Reader() const { return Reader(_builder.asReader()); }
2145 inline Reader asReader() const { return *this; }
2146
2147 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2148 #if !CAPNP_LITE
2149 inline ::kj::StringTree toString() const { return asReader().toString(); }
2150 #endif // !CAPNP_LITE
2151
2152 inline ::int32_t getHandle();
2153 inline void setHandle( ::int32_t value);
2154
2155 inline bool hasStaticData();
2156 inline ::piper::ExtractorStaticData::Builder getStaticData();
2157 inline void setStaticData( ::piper::ExtractorStaticData::Reader value);
2158 inline ::piper::ExtractorStaticData::Builder initStaticData();
2159 inline void adoptStaticData(::capnp::Orphan< ::piper::ExtractorStaticData>&& value);
2160 inline ::capnp::Orphan< ::piper::ExtractorStaticData> disownStaticData();
2161
2162 inline bool hasDefaultConfiguration();
2163 inline ::piper::Configuration::Builder getDefaultConfiguration();
2164 inline void setDefaultConfiguration( ::piper::Configuration::Reader value);
2165 inline ::piper::Configuration::Builder initDefaultConfiguration();
2166 inline void adoptDefaultConfiguration(::capnp::Orphan< ::piper::Configuration>&& value);
2167 inline ::capnp::Orphan< ::piper::Configuration> disownDefaultConfiguration();
2168
2169 private:
2170 ::capnp::_::StructBuilder _builder;
2171 template <typename, ::capnp::Kind>
2172 friend struct ::capnp::ToDynamic_;
2173 friend class ::capnp::Orphanage;
2174 template <typename, ::capnp::Kind>
2175 friend struct ::capnp::_::PointerHelpers;
2176 };
2177
2178 #if !CAPNP_LITE
2179 class LoadResponse::Pipeline {
2180 public:
2181 typedef LoadResponse Pipelines;
2182
2183 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2184 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2185 : _typeless(kj::mv(typeless)) {}
2186
2187 inline ::piper::ExtractorStaticData::Pipeline getStaticData();
2188 inline ::piper::Configuration::Pipeline getDefaultConfiguration();
2189 private:
2190 ::capnp::AnyPointer::Pipeline _typeless;
2191 friend class ::capnp::PipelineHook;
2192 template <typename, ::capnp::Kind>
2193 friend struct ::capnp::ToDynamic_;
2194 };
2195 #endif // !CAPNP_LITE
2196
2197 class ConfigurationRequest::Reader {
2198 public:
2199 typedef ConfigurationRequest Reads;
2200
2201 Reader() = default;
2202 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2203
2204 inline ::capnp::MessageSize totalSize() const {
2205 return _reader.totalSize().asPublic();
2206 }
2207
2208 #if !CAPNP_LITE
2209 inline ::kj::StringTree toString() const {
2210 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
2211 }
2212 #endif // !CAPNP_LITE
2213
2214 inline ::int32_t getHandle() const;
2215
2216 inline bool hasConfiguration() const;
2217 inline ::piper::Configuration::Reader getConfiguration() const;
2218
2219 private:
2220 ::capnp::_::StructReader _reader;
2221 template <typename, ::capnp::Kind>
2222 friend struct ::capnp::ToDynamic_;
2223 template <typename, ::capnp::Kind>
2224 friend struct ::capnp::_::PointerHelpers;
2225 template <typename, ::capnp::Kind>
2226 friend struct ::capnp::List;
2227 friend class ::capnp::MessageBuilder;
2228 friend class ::capnp::Orphanage;
2229 };
2230
2231 class ConfigurationRequest::Builder {
2232 public:
2233 typedef ConfigurationRequest Builds;
2234
2235 Builder() = delete; // Deleted to discourage incorrect usage.
2236 // You can explicitly initialize to nullptr instead.
2237 inline Builder(decltype(nullptr)) {}
2238 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2239 inline operator Reader() const { return Reader(_builder.asReader()); }
2240 inline Reader asReader() const { return *this; }
2241
2242 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2243 #if !CAPNP_LITE
2244 inline ::kj::StringTree toString() const { return asReader().toString(); }
2245 #endif // !CAPNP_LITE
2246
2247 inline ::int32_t getHandle();
2248 inline void setHandle( ::int32_t value);
2249
2250 inline bool hasConfiguration();
2251 inline ::piper::Configuration::Builder getConfiguration();
2252 inline void setConfiguration( ::piper::Configuration::Reader value);
2253 inline ::piper::Configuration::Builder initConfiguration();
2254 inline void adoptConfiguration(::capnp::Orphan< ::piper::Configuration>&& value);
2255 inline ::capnp::Orphan< ::piper::Configuration> disownConfiguration();
2256
2257 private:
2258 ::capnp::_::StructBuilder _builder;
2259 template <typename, ::capnp::Kind>
2260 friend struct ::capnp::ToDynamic_;
2261 friend class ::capnp::Orphanage;
2262 template <typename, ::capnp::Kind>
2263 friend struct ::capnp::_::PointerHelpers;
2264 };
2265
2266 #if !CAPNP_LITE
2267 class ConfigurationRequest::Pipeline {
2268 public:
2269 typedef ConfigurationRequest Pipelines;
2270
2271 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2272 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2273 : _typeless(kj::mv(typeless)) {}
2274
2275 inline ::piper::Configuration::Pipeline getConfiguration();
2276 private:
2277 ::capnp::AnyPointer::Pipeline _typeless;
2278 friend class ::capnp::PipelineHook;
2279 template <typename, ::capnp::Kind>
2280 friend struct ::capnp::ToDynamic_;
2281 };
2282 #endif // !CAPNP_LITE
2283
2284 class ConfigurationResponse::Reader {
2285 public:
2286 typedef ConfigurationResponse Reads;
2287
2288 Reader() = default;
2289 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2290
2291 inline ::capnp::MessageSize totalSize() const {
2292 return _reader.totalSize().asPublic();
2293 }
2294
2295 #if !CAPNP_LITE
2296 inline ::kj::StringTree toString() const {
2297 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
2298 }
2299 #endif // !CAPNP_LITE
2300
2301 inline ::int32_t getHandle() const;
2302
2303 inline bool hasOutputs() const;
2304 inline ::capnp::List< ::piper::OutputDescriptor>::Reader getOutputs() const;
2305
2306 private:
2307 ::capnp::_::StructReader _reader;
2308 template <typename, ::capnp::Kind>
2309 friend struct ::capnp::ToDynamic_;
2310 template <typename, ::capnp::Kind>
2311 friend struct ::capnp::_::PointerHelpers;
2312 template <typename, ::capnp::Kind>
2313 friend struct ::capnp::List;
2314 friend class ::capnp::MessageBuilder;
2315 friend class ::capnp::Orphanage;
2316 };
2317
2318 class ConfigurationResponse::Builder {
2319 public:
2320 typedef ConfigurationResponse Builds;
2321
2322 Builder() = delete; // Deleted to discourage incorrect usage.
2323 // You can explicitly initialize to nullptr instead.
2324 inline Builder(decltype(nullptr)) {}
2325 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2326 inline operator Reader() const { return Reader(_builder.asReader()); }
2327 inline Reader asReader() const { return *this; }
2328
2329 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2330 #if !CAPNP_LITE
2331 inline ::kj::StringTree toString() const { return asReader().toString(); }
2332 #endif // !CAPNP_LITE
2333
2334 inline ::int32_t getHandle();
2335 inline void setHandle( ::int32_t value);
2336
2337 inline bool hasOutputs();
2338 inline ::capnp::List< ::piper::OutputDescriptor>::Builder getOutputs();
2339 inline void setOutputs( ::capnp::List< ::piper::OutputDescriptor>::Reader value);
2340 inline ::capnp::List< ::piper::OutputDescriptor>::Builder initOutputs(unsigned int size);
2341 inline void adoptOutputs(::capnp::Orphan< ::capnp::List< ::piper::OutputDescriptor>>&& value);
2342 inline ::capnp::Orphan< ::capnp::List< ::piper::OutputDescriptor>> disownOutputs();
2343
2344 private:
2345 ::capnp::_::StructBuilder _builder;
2346 template <typename, ::capnp::Kind>
2347 friend struct ::capnp::ToDynamic_;
2348 friend class ::capnp::Orphanage;
2349 template <typename, ::capnp::Kind>
2350 friend struct ::capnp::_::PointerHelpers;
2351 };
2352
2353 #if !CAPNP_LITE
2354 class ConfigurationResponse::Pipeline {
2355 public:
2356 typedef ConfigurationResponse Pipelines;
2357
2358 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2359 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2360 : _typeless(kj::mv(typeless)) {}
2361
2362 private:
2363 ::capnp::AnyPointer::Pipeline _typeless;
2364 friend class ::capnp::PipelineHook;
2365 template <typename, ::capnp::Kind>
2366 friend struct ::capnp::ToDynamic_;
2367 };
2368 #endif // !CAPNP_LITE
2369
2370 class ProcessRequest::Reader {
2371 public:
2372 typedef ProcessRequest Reads;
2373
2374 Reader() = default;
2375 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2376
2377 inline ::capnp::MessageSize totalSize() const {
2378 return _reader.totalSize().asPublic();
2379 }
2380
2381 #if !CAPNP_LITE
2382 inline ::kj::StringTree toString() const {
2383 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
2384 }
2385 #endif // !CAPNP_LITE
2386
2387 inline ::int32_t getHandle() const;
2388
2389 inline bool hasProcessInput() const;
2390 inline ::piper::ProcessInput::Reader getProcessInput() const;
2391
2392 private:
2393 ::capnp::_::StructReader _reader;
2394 template <typename, ::capnp::Kind>
2395 friend struct ::capnp::ToDynamic_;
2396 template <typename, ::capnp::Kind>
2397 friend struct ::capnp::_::PointerHelpers;
2398 template <typename, ::capnp::Kind>
2399 friend struct ::capnp::List;
2400 friend class ::capnp::MessageBuilder;
2401 friend class ::capnp::Orphanage;
2402 };
2403
2404 class ProcessRequest::Builder {
2405 public:
2406 typedef ProcessRequest Builds;
2407
2408 Builder() = delete; // Deleted to discourage incorrect usage.
2409 // You can explicitly initialize to nullptr instead.
2410 inline Builder(decltype(nullptr)) {}
2411 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2412 inline operator Reader() const { return Reader(_builder.asReader()); }
2413 inline Reader asReader() const { return *this; }
2414
2415 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2416 #if !CAPNP_LITE
2417 inline ::kj::StringTree toString() const { return asReader().toString(); }
2418 #endif // !CAPNP_LITE
2419
2420 inline ::int32_t getHandle();
2421 inline void setHandle( ::int32_t value);
2422
2423 inline bool hasProcessInput();
2424 inline ::piper::ProcessInput::Builder getProcessInput();
2425 inline void setProcessInput( ::piper::ProcessInput::Reader value);
2426 inline ::piper::ProcessInput::Builder initProcessInput();
2427 inline void adoptProcessInput(::capnp::Orphan< ::piper::ProcessInput>&& value);
2428 inline ::capnp::Orphan< ::piper::ProcessInput> disownProcessInput();
2429
2430 private:
2431 ::capnp::_::StructBuilder _builder;
2432 template <typename, ::capnp::Kind>
2433 friend struct ::capnp::ToDynamic_;
2434 friend class ::capnp::Orphanage;
2435 template <typename, ::capnp::Kind>
2436 friend struct ::capnp::_::PointerHelpers;
2437 };
2438
2439 #if !CAPNP_LITE
2440 class ProcessRequest::Pipeline {
2441 public:
2442 typedef ProcessRequest Pipelines;
2443
2444 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2445 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2446 : _typeless(kj::mv(typeless)) {}
2447
2448 inline ::piper::ProcessInput::Pipeline getProcessInput();
2449 private:
2450 ::capnp::AnyPointer::Pipeline _typeless;
2451 friend class ::capnp::PipelineHook;
2452 template <typename, ::capnp::Kind>
2453 friend struct ::capnp::ToDynamic_;
2454 };
2455 #endif // !CAPNP_LITE
2456
2457 class ProcessResponse::Reader {
2458 public:
2459 typedef ProcessResponse Reads;
2460
2461 Reader() = default;
2462 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2463
2464 inline ::capnp::MessageSize totalSize() const {
2465 return _reader.totalSize().asPublic();
2466 }
2467
2468 #if !CAPNP_LITE
2469 inline ::kj::StringTree toString() const {
2470 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
2471 }
2472 #endif // !CAPNP_LITE
2473
2474 inline ::int32_t getHandle() const;
2475
2476 inline bool hasFeatures() const;
2477 inline ::piper::FeatureSet::Reader getFeatures() const;
2478
2479 private:
2480 ::capnp::_::StructReader _reader;
2481 template <typename, ::capnp::Kind>
2482 friend struct ::capnp::ToDynamic_;
2483 template <typename, ::capnp::Kind>
2484 friend struct ::capnp::_::PointerHelpers;
2485 template <typename, ::capnp::Kind>
2486 friend struct ::capnp::List;
2487 friend class ::capnp::MessageBuilder;
2488 friend class ::capnp::Orphanage;
2489 };
2490
2491 class ProcessResponse::Builder {
2492 public:
2493 typedef ProcessResponse Builds;
2494
2495 Builder() = delete; // Deleted to discourage incorrect usage.
2496 // You can explicitly initialize to nullptr instead.
2497 inline Builder(decltype(nullptr)) {}
2498 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2499 inline operator Reader() const { return Reader(_builder.asReader()); }
2500 inline Reader asReader() const { return *this; }
2501
2502 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2503 #if !CAPNP_LITE
2504 inline ::kj::StringTree toString() const { return asReader().toString(); }
2505 #endif // !CAPNP_LITE
2506
2507 inline ::int32_t getHandle();
2508 inline void setHandle( ::int32_t value);
2509
2510 inline bool hasFeatures();
2511 inline ::piper::FeatureSet::Builder getFeatures();
2512 inline void setFeatures( ::piper::FeatureSet::Reader value);
2513 inline ::piper::FeatureSet::Builder initFeatures();
2514 inline void adoptFeatures(::capnp::Orphan< ::piper::FeatureSet>&& value);
2515 inline ::capnp::Orphan< ::piper::FeatureSet> disownFeatures();
2516
2517 private:
2518 ::capnp::_::StructBuilder _builder;
2519 template <typename, ::capnp::Kind>
2520 friend struct ::capnp::ToDynamic_;
2521 friend class ::capnp::Orphanage;
2522 template <typename, ::capnp::Kind>
2523 friend struct ::capnp::_::PointerHelpers;
2524 };
2525
2526 #if !CAPNP_LITE
2527 class ProcessResponse::Pipeline {
2528 public:
2529 typedef ProcessResponse Pipelines;
2530
2531 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2532 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2533 : _typeless(kj::mv(typeless)) {}
2534
2535 inline ::piper::FeatureSet::Pipeline getFeatures();
2536 private:
2537 ::capnp::AnyPointer::Pipeline _typeless;
2538 friend class ::capnp::PipelineHook;
2539 template <typename, ::capnp::Kind>
2540 friend struct ::capnp::ToDynamic_;
2541 };
2542 #endif // !CAPNP_LITE
2543
2544 class FinishRequest::Reader {
2545 public:
2546 typedef FinishRequest Reads;
2547
2548 Reader() = default;
2549 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2550
2551 inline ::capnp::MessageSize totalSize() const {
2552 return _reader.totalSize().asPublic();
2553 }
2554
2555 #if !CAPNP_LITE
2556 inline ::kj::StringTree toString() const {
2557 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
2558 }
2559 #endif // !CAPNP_LITE
2560
2561 inline ::int32_t getHandle() const;
2562
2563 private:
2564 ::capnp::_::StructReader _reader;
2565 template <typename, ::capnp::Kind>
2566 friend struct ::capnp::ToDynamic_;
2567 template <typename, ::capnp::Kind>
2568 friend struct ::capnp::_::PointerHelpers;
2569 template <typename, ::capnp::Kind>
2570 friend struct ::capnp::List;
2571 friend class ::capnp::MessageBuilder;
2572 friend class ::capnp::Orphanage;
2573 };
2574
2575 class FinishRequest::Builder {
2576 public:
2577 typedef FinishRequest Builds;
2578
2579 Builder() = delete; // Deleted to discourage incorrect usage.
2580 // You can explicitly initialize to nullptr instead.
2581 inline Builder(decltype(nullptr)) {}
2582 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2583 inline operator Reader() const { return Reader(_builder.asReader()); }
2584 inline Reader asReader() const { return *this; }
2585
2586 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2587 #if !CAPNP_LITE
2588 inline ::kj::StringTree toString() const { return asReader().toString(); }
2589 #endif // !CAPNP_LITE
2590
2591 inline ::int32_t getHandle();
2592 inline void setHandle( ::int32_t value);
2593
2594 private:
2595 ::capnp::_::StructBuilder _builder;
2596 template <typename, ::capnp::Kind>
2597 friend struct ::capnp::ToDynamic_;
2598 friend class ::capnp::Orphanage;
2599 template <typename, ::capnp::Kind>
2600 friend struct ::capnp::_::PointerHelpers;
2601 };
2602
2603 #if !CAPNP_LITE
2604 class FinishRequest::Pipeline {
2605 public:
2606 typedef FinishRequest Pipelines;
2607
2608 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2609 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2610 : _typeless(kj::mv(typeless)) {}
2611
2612 private:
2613 ::capnp::AnyPointer::Pipeline _typeless;
2614 friend class ::capnp::PipelineHook;
2615 template <typename, ::capnp::Kind>
2616 friend struct ::capnp::ToDynamic_;
2617 };
2618 #endif // !CAPNP_LITE
2619
2620 class FinishResponse::Reader {
2621 public:
2622 typedef FinishResponse Reads;
2623
2624 Reader() = default;
2625 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2626
2627 inline ::capnp::MessageSize totalSize() const {
2628 return _reader.totalSize().asPublic();
2629 }
2630
2631 #if !CAPNP_LITE
2632 inline ::kj::StringTree toString() const {
2633 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
2634 }
2635 #endif // !CAPNP_LITE
2636
2637 inline ::int32_t getHandle() const;
2638
2639 inline bool hasFeatures() const;
2640 inline ::piper::FeatureSet::Reader getFeatures() const;
2641
2642 private:
2643 ::capnp::_::StructReader _reader;
2644 template <typename, ::capnp::Kind>
2645 friend struct ::capnp::ToDynamic_;
2646 template <typename, ::capnp::Kind>
2647 friend struct ::capnp::_::PointerHelpers;
2648 template <typename, ::capnp::Kind>
2649 friend struct ::capnp::List;
2650 friend class ::capnp::MessageBuilder;
2651 friend class ::capnp::Orphanage;
2652 };
2653
2654 class FinishResponse::Builder {
2655 public:
2656 typedef FinishResponse Builds;
2657
2658 Builder() = delete; // Deleted to discourage incorrect usage.
2659 // You can explicitly initialize to nullptr instead.
2660 inline Builder(decltype(nullptr)) {}
2661 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2662 inline operator Reader() const { return Reader(_builder.asReader()); }
2663 inline Reader asReader() const { return *this; }
2664
2665 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2666 #if !CAPNP_LITE
2667 inline ::kj::StringTree toString() const { return asReader().toString(); }
2668 #endif // !CAPNP_LITE
2669
2670 inline ::int32_t getHandle();
2671 inline void setHandle( ::int32_t value);
2672
2673 inline bool hasFeatures();
2674 inline ::piper::FeatureSet::Builder getFeatures();
2675 inline void setFeatures( ::piper::FeatureSet::Reader value);
2676 inline ::piper::FeatureSet::Builder initFeatures();
2677 inline void adoptFeatures(::capnp::Orphan< ::piper::FeatureSet>&& value);
2678 inline ::capnp::Orphan< ::piper::FeatureSet> disownFeatures();
2679
2680 private:
2681 ::capnp::_::StructBuilder _builder;
2682 template <typename, ::capnp::Kind>
2683 friend struct ::capnp::ToDynamic_;
2684 friend class ::capnp::Orphanage;
2685 template <typename, ::capnp::Kind>
2686 friend struct ::capnp::_::PointerHelpers;
2687 };
2688
2689 #if !CAPNP_LITE
2690 class FinishResponse::Pipeline {
2691 public:
2692 typedef FinishResponse Pipelines;
2693
2694 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2695 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2696 : _typeless(kj::mv(typeless)) {}
2697
2698 inline ::piper::FeatureSet::Pipeline getFeatures();
2699 private:
2700 ::capnp::AnyPointer::Pipeline _typeless;
2701 friend class ::capnp::PipelineHook;
2702 template <typename, ::capnp::Kind>
2703 friend struct ::capnp::ToDynamic_;
2704 };
2705 #endif // !CAPNP_LITE
2706
2707 class Error::Reader {
2708 public:
2709 typedef Error Reads;
2710
2711 Reader() = default;
2712 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2713
2714 inline ::capnp::MessageSize totalSize() const {
2715 return _reader.totalSize().asPublic();
2716 }
2717
2718 #if !CAPNP_LITE
2719 inline ::kj::StringTree toString() const {
2720 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
2721 }
2722 #endif // !CAPNP_LITE
2723
2724 inline ::int32_t getCode() const;
2725
2726 inline bool hasMessage() const;
2727 inline ::capnp::Text::Reader getMessage() const;
2728
2729 private:
2730 ::capnp::_::StructReader _reader;
2731 template <typename, ::capnp::Kind>
2732 friend struct ::capnp::ToDynamic_;
2733 template <typename, ::capnp::Kind>
2734 friend struct ::capnp::_::PointerHelpers;
2735 template <typename, ::capnp::Kind>
2736 friend struct ::capnp::List;
2737 friend class ::capnp::MessageBuilder;
2738 friend class ::capnp::Orphanage;
2739 };
2740
2741 class Error::Builder {
2742 public:
2743 typedef Error Builds;
2744
2745 Builder() = delete; // Deleted to discourage incorrect usage.
2746 // You can explicitly initialize to nullptr instead.
2747 inline Builder(decltype(nullptr)) {}
2748 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2749 inline operator Reader() const { return Reader(_builder.asReader()); }
2750 inline Reader asReader() const { return *this; }
2751
2752 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2753 #if !CAPNP_LITE
2754 inline ::kj::StringTree toString() const { return asReader().toString(); }
2755 #endif // !CAPNP_LITE
2756
2757 inline ::int32_t getCode();
2758 inline void setCode( ::int32_t value);
2759
2760 inline bool hasMessage();
2761 inline ::capnp::Text::Builder getMessage();
2762 inline void setMessage( ::capnp::Text::Reader value);
2763 inline ::capnp::Text::Builder initMessage(unsigned int size);
2764 inline void adoptMessage(::capnp::Orphan< ::capnp::Text>&& value);
2765 inline ::capnp::Orphan< ::capnp::Text> disownMessage();
2766
2767 private:
2768 ::capnp::_::StructBuilder _builder;
2769 template <typename, ::capnp::Kind>
2770 friend struct ::capnp::ToDynamic_;
2771 friend class ::capnp::Orphanage;
2772 template <typename, ::capnp::Kind>
2773 friend struct ::capnp::_::PointerHelpers;
2774 };
2775
2776 #if !CAPNP_LITE
2777 class Error::Pipeline {
2778 public:
2779 typedef Error Pipelines;
2780
2781 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2782 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2783 : _typeless(kj::mv(typeless)) {}
2784
2785 private:
2786 ::capnp::AnyPointer::Pipeline _typeless;
2787 friend class ::capnp::PipelineHook;
2788 template <typename, ::capnp::Kind>
2789 friend struct ::capnp::ToDynamic_;
2790 };
2791 #endif // !CAPNP_LITE
2792
2793 class RpcRequest::Reader {
2794 public:
2795 typedef RpcRequest Reads;
2796
2797 Reader() = default;
2798 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2799
2800 inline ::capnp::MessageSize totalSize() const {
2801 return _reader.totalSize().asPublic();
2802 }
2803
2804 #if !CAPNP_LITE
2805 inline ::kj::StringTree toString() const {
2806 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
2807 }
2808 #endif // !CAPNP_LITE
2809
2810 inline Id::Reader getId() const;
2811
2812 inline Request::Reader getRequest() const;
2813
2814 private:
2815 ::capnp::_::StructReader _reader;
2816 template <typename, ::capnp::Kind>
2817 friend struct ::capnp::ToDynamic_;
2818 template <typename, ::capnp::Kind>
2819 friend struct ::capnp::_::PointerHelpers;
2820 template <typename, ::capnp::Kind>
2821 friend struct ::capnp::List;
2822 friend class ::capnp::MessageBuilder;
2823 friend class ::capnp::Orphanage;
2824 };
2825
2826 class RpcRequest::Builder {
2827 public:
2828 typedef RpcRequest Builds;
2829
2830 Builder() = delete; // Deleted to discourage incorrect usage.
2831 // You can explicitly initialize to nullptr instead.
2832 inline Builder(decltype(nullptr)) {}
2833 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2834 inline operator Reader() const { return Reader(_builder.asReader()); }
2835 inline Reader asReader() const { return *this; }
2836
2837 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2838 #if !CAPNP_LITE
2839 inline ::kj::StringTree toString() const { return asReader().toString(); }
2840 #endif // !CAPNP_LITE
2841
2842 inline Id::Builder getId();
2843 inline Id::Builder initId();
2844
2845 inline Request::Builder getRequest();
2846 inline Request::Builder initRequest();
2847
2848 private:
2849 ::capnp::_::StructBuilder _builder;
2850 template <typename, ::capnp::Kind>
2851 friend struct ::capnp::ToDynamic_;
2852 friend class ::capnp::Orphanage;
2853 template <typename, ::capnp::Kind>
2854 friend struct ::capnp::_::PointerHelpers;
2855 };
2856
2857 #if !CAPNP_LITE
2858 class RpcRequest::Pipeline {
2859 public:
2860 typedef RpcRequest Pipelines;
2861
2862 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2863 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2864 : _typeless(kj::mv(typeless)) {}
2865
2866 inline Id::Pipeline getId();
2867 inline Request::Pipeline getRequest();
2868 private:
2869 ::capnp::AnyPointer::Pipeline _typeless;
2870 friend class ::capnp::PipelineHook;
2871 template <typename, ::capnp::Kind>
2872 friend struct ::capnp::ToDynamic_;
2873 };
2874 #endif // !CAPNP_LITE
2875
2876 class RpcRequest::Id::Reader {
2877 public:
2878 typedef Id Reads;
2879
2880 Reader() = default;
2881 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2882
2883 inline ::capnp::MessageSize totalSize() const {
2884 return _reader.totalSize().asPublic();
2885 }
2886
2887 #if !CAPNP_LITE
2888 inline ::kj::StringTree toString() const {
2889 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
2890 }
2891 #endif // !CAPNP_LITE
2892
2893 inline Which which() const;
2894 inline bool isNumber() const;
2895 inline ::int32_t getNumber() const;
2896
2897 inline bool isTag() const;
2898 inline bool hasTag() const;
2899 inline ::capnp::Text::Reader getTag() const;
2900
2901 inline bool isNone() const;
2902 inline ::capnp::Void getNone() const;
2903
2904 private:
2905 ::capnp::_::StructReader _reader;
2906 template <typename, ::capnp::Kind>
2907 friend struct ::capnp::ToDynamic_;
2908 template <typename, ::capnp::Kind>
2909 friend struct ::capnp::_::PointerHelpers;
2910 template <typename, ::capnp::Kind>
2911 friend struct ::capnp::List;
2912 friend class ::capnp::MessageBuilder;
2913 friend class ::capnp::Orphanage;
2914 };
2915
2916 class RpcRequest::Id::Builder {
2917 public:
2918 typedef Id Builds;
2919
2920 Builder() = delete; // Deleted to discourage incorrect usage.
2921 // You can explicitly initialize to nullptr instead.
2922 inline Builder(decltype(nullptr)) {}
2923 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
2924 inline operator Reader() const { return Reader(_builder.asReader()); }
2925 inline Reader asReader() const { return *this; }
2926
2927 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
2928 #if !CAPNP_LITE
2929 inline ::kj::StringTree toString() const { return asReader().toString(); }
2930 #endif // !CAPNP_LITE
2931
2932 inline Which which();
2933 inline bool isNumber();
2934 inline ::int32_t getNumber();
2935 inline void setNumber( ::int32_t value);
2936
2937 inline bool isTag();
2938 inline bool hasTag();
2939 inline ::capnp::Text::Builder getTag();
2940 inline void setTag( ::capnp::Text::Reader value);
2941 inline ::capnp::Text::Builder initTag(unsigned int size);
2942 inline void adoptTag(::capnp::Orphan< ::capnp::Text>&& value);
2943 inline ::capnp::Orphan< ::capnp::Text> disownTag();
2944
2945 inline bool isNone();
2946 inline ::capnp::Void getNone();
2947 inline void setNone( ::capnp::Void value = ::capnp::VOID);
2948
2949 private:
2950 ::capnp::_::StructBuilder _builder;
2951 template <typename, ::capnp::Kind>
2952 friend struct ::capnp::ToDynamic_;
2953 friend class ::capnp::Orphanage;
2954 template <typename, ::capnp::Kind>
2955 friend struct ::capnp::_::PointerHelpers;
2956 };
2957
2958 #if !CAPNP_LITE
2959 class RpcRequest::Id::Pipeline {
2960 public:
2961 typedef Id Pipelines;
2962
2963 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
2964 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
2965 : _typeless(kj::mv(typeless)) {}
2966
2967 private:
2968 ::capnp::AnyPointer::Pipeline _typeless;
2969 friend class ::capnp::PipelineHook;
2970 template <typename, ::capnp::Kind>
2971 friend struct ::capnp::ToDynamic_;
2972 };
2973 #endif // !CAPNP_LITE
2974
2975 class RpcRequest::Request::Reader {
2976 public:
2977 typedef Request Reads;
2978
2979 Reader() = default;
2980 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
2981
2982 inline ::capnp::MessageSize totalSize() const {
2983 return _reader.totalSize().asPublic();
2984 }
2985
2986 #if !CAPNP_LITE
2987 inline ::kj::StringTree toString() const {
2988 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
2989 }
2990 #endif // !CAPNP_LITE
2991
2992 inline Which which() const;
2993 inline bool isList() const;
2994 inline bool hasList() const;
2995 inline ::piper::ListRequest::Reader getList() const;
2996
2997 inline bool isLoad() const;
2998 inline bool hasLoad() const;
2999 inline ::piper::LoadRequest::Reader getLoad() const;
3000
3001 inline bool isConfigure() const;
3002 inline bool hasConfigure() const;
3003 inline ::piper::ConfigurationRequest::Reader getConfigure() const;
3004
3005 inline bool isProcess() const;
3006 inline bool hasProcess() const;
3007 inline ::piper::ProcessRequest::Reader getProcess() const;
3008
3009 inline bool isFinish() const;
3010 inline bool hasFinish() const;
3011 inline ::piper::FinishRequest::Reader getFinish() const;
3012
3013 private:
3014 ::capnp::_::StructReader _reader;
3015 template <typename, ::capnp::Kind>
3016 friend struct ::capnp::ToDynamic_;
3017 template <typename, ::capnp::Kind>
3018 friend struct ::capnp::_::PointerHelpers;
3019 template <typename, ::capnp::Kind>
3020 friend struct ::capnp::List;
3021 friend class ::capnp::MessageBuilder;
3022 friend class ::capnp::Orphanage;
3023 };
3024
3025 class RpcRequest::Request::Builder {
3026 public:
3027 typedef Request Builds;
3028
3029 Builder() = delete; // Deleted to discourage incorrect usage.
3030 // You can explicitly initialize to nullptr instead.
3031 inline Builder(decltype(nullptr)) {}
3032 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3033 inline operator Reader() const { return Reader(_builder.asReader()); }
3034 inline Reader asReader() const { return *this; }
3035
3036 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3037 #if !CAPNP_LITE
3038 inline ::kj::StringTree toString() const { return asReader().toString(); }
3039 #endif // !CAPNP_LITE
3040
3041 inline Which which();
3042 inline bool isList();
3043 inline bool hasList();
3044 inline ::piper::ListRequest::Builder getList();
3045 inline void setList( ::piper::ListRequest::Reader value);
3046 inline ::piper::ListRequest::Builder initList();
3047 inline void adoptList(::capnp::Orphan< ::piper::ListRequest>&& value);
3048 inline ::capnp::Orphan< ::piper::ListRequest> disownList();
3049
3050 inline bool isLoad();
3051 inline bool hasLoad();
3052 inline ::piper::LoadRequest::Builder getLoad();
3053 inline void setLoad( ::piper::LoadRequest::Reader value);
3054 inline ::piper::LoadRequest::Builder initLoad();
3055 inline void adoptLoad(::capnp::Orphan< ::piper::LoadRequest>&& value);
3056 inline ::capnp::Orphan< ::piper::LoadRequest> disownLoad();
3057
3058 inline bool isConfigure();
3059 inline bool hasConfigure();
3060 inline ::piper::ConfigurationRequest::Builder getConfigure();
3061 inline void setConfigure( ::piper::ConfigurationRequest::Reader value);
3062 inline ::piper::ConfigurationRequest::Builder initConfigure();
3063 inline void adoptConfigure(::capnp::Orphan< ::piper::ConfigurationRequest>&& value);
3064 inline ::capnp::Orphan< ::piper::ConfigurationRequest> disownConfigure();
3065
3066 inline bool isProcess();
3067 inline bool hasProcess();
3068 inline ::piper::ProcessRequest::Builder getProcess();
3069 inline void setProcess( ::piper::ProcessRequest::Reader value);
3070 inline ::piper::ProcessRequest::Builder initProcess();
3071 inline void adoptProcess(::capnp::Orphan< ::piper::ProcessRequest>&& value);
3072 inline ::capnp::Orphan< ::piper::ProcessRequest> disownProcess();
3073
3074 inline bool isFinish();
3075 inline bool hasFinish();
3076 inline ::piper::FinishRequest::Builder getFinish();
3077 inline void setFinish( ::piper::FinishRequest::Reader value);
3078 inline ::piper::FinishRequest::Builder initFinish();
3079 inline void adoptFinish(::capnp::Orphan< ::piper::FinishRequest>&& value);
3080 inline ::capnp::Orphan< ::piper::FinishRequest> disownFinish();
3081
3082 private:
3083 ::capnp::_::StructBuilder _builder;
3084 template <typename, ::capnp::Kind>
3085 friend struct ::capnp::ToDynamic_;
3086 friend class ::capnp::Orphanage;
3087 template <typename, ::capnp::Kind>
3088 friend struct ::capnp::_::PointerHelpers;
3089 };
3090
3091 #if !CAPNP_LITE
3092 class RpcRequest::Request::Pipeline {
3093 public:
3094 typedef Request Pipelines;
3095
3096 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3097 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3098 : _typeless(kj::mv(typeless)) {}
3099
3100 private:
3101 ::capnp::AnyPointer::Pipeline _typeless;
3102 friend class ::capnp::PipelineHook;
3103 template <typename, ::capnp::Kind>
3104 friend struct ::capnp::ToDynamic_;
3105 };
3106 #endif // !CAPNP_LITE
3107
3108 class RpcResponse::Reader {
3109 public:
3110 typedef RpcResponse Reads;
3111
3112 Reader() = default;
3113 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3114
3115 inline ::capnp::MessageSize totalSize() const {
3116 return _reader.totalSize().asPublic();
3117 }
3118
3119 #if !CAPNP_LITE
3120 inline ::kj::StringTree toString() const {
3121 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
3122 }
3123 #endif // !CAPNP_LITE
3124
3125 inline Id::Reader getId() const;
3126
3127 inline Response::Reader getResponse() const;
3128
3129 private:
3130 ::capnp::_::StructReader _reader;
3131 template <typename, ::capnp::Kind>
3132 friend struct ::capnp::ToDynamic_;
3133 template <typename, ::capnp::Kind>
3134 friend struct ::capnp::_::PointerHelpers;
3135 template <typename, ::capnp::Kind>
3136 friend struct ::capnp::List;
3137 friend class ::capnp::MessageBuilder;
3138 friend class ::capnp::Orphanage;
3139 };
3140
3141 class RpcResponse::Builder {
3142 public:
3143 typedef RpcResponse Builds;
3144
3145 Builder() = delete; // Deleted to discourage incorrect usage.
3146 // You can explicitly initialize to nullptr instead.
3147 inline Builder(decltype(nullptr)) {}
3148 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3149 inline operator Reader() const { return Reader(_builder.asReader()); }
3150 inline Reader asReader() const { return *this; }
3151
3152 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3153 #if !CAPNP_LITE
3154 inline ::kj::StringTree toString() const { return asReader().toString(); }
3155 #endif // !CAPNP_LITE
3156
3157 inline Id::Builder getId();
3158 inline Id::Builder initId();
3159
3160 inline Response::Builder getResponse();
3161 inline Response::Builder initResponse();
3162
3163 private:
3164 ::capnp::_::StructBuilder _builder;
3165 template <typename, ::capnp::Kind>
3166 friend struct ::capnp::ToDynamic_;
3167 friend class ::capnp::Orphanage;
3168 template <typename, ::capnp::Kind>
3169 friend struct ::capnp::_::PointerHelpers;
3170 };
3171
3172 #if !CAPNP_LITE
3173 class RpcResponse::Pipeline {
3174 public:
3175 typedef RpcResponse Pipelines;
3176
3177 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3178 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3179 : _typeless(kj::mv(typeless)) {}
3180
3181 inline Id::Pipeline getId();
3182 inline Response::Pipeline getResponse();
3183 private:
3184 ::capnp::AnyPointer::Pipeline _typeless;
3185 friend class ::capnp::PipelineHook;
3186 template <typename, ::capnp::Kind>
3187 friend struct ::capnp::ToDynamic_;
3188 };
3189 #endif // !CAPNP_LITE
3190
3191 class RpcResponse::Id::Reader {
3192 public:
3193 typedef Id Reads;
3194
3195 Reader() = default;
3196 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3197
3198 inline ::capnp::MessageSize totalSize() const {
3199 return _reader.totalSize().asPublic();
3200 }
3201
3202 #if !CAPNP_LITE
3203 inline ::kj::StringTree toString() const {
3204 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
3205 }
3206 #endif // !CAPNP_LITE
3207
3208 inline Which which() const;
3209 inline bool isNumber() const;
3210 inline ::int32_t getNumber() const;
3211
3212 inline bool isTag() const;
3213 inline bool hasTag() const;
3214 inline ::capnp::Text::Reader getTag() const;
3215
3216 inline bool isNone() const;
3217 inline ::capnp::Void getNone() const;
3218
3219 private:
3220 ::capnp::_::StructReader _reader;
3221 template <typename, ::capnp::Kind>
3222 friend struct ::capnp::ToDynamic_;
3223 template <typename, ::capnp::Kind>
3224 friend struct ::capnp::_::PointerHelpers;
3225 template <typename, ::capnp::Kind>
3226 friend struct ::capnp::List;
3227 friend class ::capnp::MessageBuilder;
3228 friend class ::capnp::Orphanage;
3229 };
3230
3231 class RpcResponse::Id::Builder {
3232 public:
3233 typedef Id Builds;
3234
3235 Builder() = delete; // Deleted to discourage incorrect usage.
3236 // You can explicitly initialize to nullptr instead.
3237 inline Builder(decltype(nullptr)) {}
3238 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3239 inline operator Reader() const { return Reader(_builder.asReader()); }
3240 inline Reader asReader() const { return *this; }
3241
3242 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3243 #if !CAPNP_LITE
3244 inline ::kj::StringTree toString() const { return asReader().toString(); }
3245 #endif // !CAPNP_LITE
3246
3247 inline Which which();
3248 inline bool isNumber();
3249 inline ::int32_t getNumber();
3250 inline void setNumber( ::int32_t value);
3251
3252 inline bool isTag();
3253 inline bool hasTag();
3254 inline ::capnp::Text::Builder getTag();
3255 inline void setTag( ::capnp::Text::Reader value);
3256 inline ::capnp::Text::Builder initTag(unsigned int size);
3257 inline void adoptTag(::capnp::Orphan< ::capnp::Text>&& value);
3258 inline ::capnp::Orphan< ::capnp::Text> disownTag();
3259
3260 inline bool isNone();
3261 inline ::capnp::Void getNone();
3262 inline void setNone( ::capnp::Void value = ::capnp::VOID);
3263
3264 private:
3265 ::capnp::_::StructBuilder _builder;
3266 template <typename, ::capnp::Kind>
3267 friend struct ::capnp::ToDynamic_;
3268 friend class ::capnp::Orphanage;
3269 template <typename, ::capnp::Kind>
3270 friend struct ::capnp::_::PointerHelpers;
3271 };
3272
3273 #if !CAPNP_LITE
3274 class RpcResponse::Id::Pipeline {
3275 public:
3276 typedef Id Pipelines;
3277
3278 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3279 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3280 : _typeless(kj::mv(typeless)) {}
3281
3282 private:
3283 ::capnp::AnyPointer::Pipeline _typeless;
3284 friend class ::capnp::PipelineHook;
3285 template <typename, ::capnp::Kind>
3286 friend struct ::capnp::ToDynamic_;
3287 };
3288 #endif // !CAPNP_LITE
3289
3290 class RpcResponse::Response::Reader {
3291 public:
3292 typedef Response Reads;
3293
3294 Reader() = default;
3295 inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
3296
3297 inline ::capnp::MessageSize totalSize() const {
3298 return _reader.totalSize().asPublic();
3299 }
3300
3301 #if !CAPNP_LITE
3302 inline ::kj::StringTree toString() const {
3303 return ::capnp::_::structString(_reader, *_capnpPrivate::brand);
3304 }
3305 #endif // !CAPNP_LITE
3306
3307 inline Which which() const;
3308 inline bool isError() const;
3309 inline bool hasError() const;
3310 inline ::piper::Error::Reader getError() const;
3311
3312 inline bool isList() const;
3313 inline bool hasList() const;
3314 inline ::piper::ListResponse::Reader getList() const;
3315
3316 inline bool isLoad() const;
3317 inline bool hasLoad() const;
3318 inline ::piper::LoadResponse::Reader getLoad() const;
3319
3320 inline bool isConfigure() const;
3321 inline bool hasConfigure() const;
3322 inline ::piper::ConfigurationResponse::Reader getConfigure() const;
3323
3324 inline bool isProcess() const;
3325 inline bool hasProcess() const;
3326 inline ::piper::ProcessResponse::Reader getProcess() const;
3327
3328 inline bool isFinish() const;
3329 inline bool hasFinish() const;
3330 inline ::piper::FinishResponse::Reader getFinish() const;
3331
3332 private:
3333 ::capnp::_::StructReader _reader;
3334 template <typename, ::capnp::Kind>
3335 friend struct ::capnp::ToDynamic_;
3336 template <typename, ::capnp::Kind>
3337 friend struct ::capnp::_::PointerHelpers;
3338 template <typename, ::capnp::Kind>
3339 friend struct ::capnp::List;
3340 friend class ::capnp::MessageBuilder;
3341 friend class ::capnp::Orphanage;
3342 };
3343
3344 class RpcResponse::Response::Builder {
3345 public:
3346 typedef Response Builds;
3347
3348 Builder() = delete; // Deleted to discourage incorrect usage.
3349 // You can explicitly initialize to nullptr instead.
3350 inline Builder(decltype(nullptr)) {}
3351 inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
3352 inline operator Reader() const { return Reader(_builder.asReader()); }
3353 inline Reader asReader() const { return *this; }
3354
3355 inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
3356 #if !CAPNP_LITE
3357 inline ::kj::StringTree toString() const { return asReader().toString(); }
3358 #endif // !CAPNP_LITE
3359
3360 inline Which which();
3361 inline bool isError();
3362 inline bool hasError();
3363 inline ::piper::Error::Builder getError();
3364 inline void setError( ::piper::Error::Reader value);
3365 inline ::piper::Error::Builder initError();
3366 inline void adoptError(::capnp::Orphan< ::piper::Error>&& value);
3367 inline ::capnp::Orphan< ::piper::Error> disownError();
3368
3369 inline bool isList();
3370 inline bool hasList();
3371 inline ::piper::ListResponse::Builder getList();
3372 inline void setList( ::piper::ListResponse::Reader value);
3373 inline ::piper::ListResponse::Builder initList();
3374 inline void adoptList(::capnp::Orphan< ::piper::ListResponse>&& value);
3375 inline ::capnp::Orphan< ::piper::ListResponse> disownList();
3376
3377 inline bool isLoad();
3378 inline bool hasLoad();
3379 inline ::piper::LoadResponse::Builder getLoad();
3380 inline void setLoad( ::piper::LoadResponse::Reader value);
3381 inline ::piper::LoadResponse::Builder initLoad();
3382 inline void adoptLoad(::capnp::Orphan< ::piper::LoadResponse>&& value);
3383 inline ::capnp::Orphan< ::piper::LoadResponse> disownLoad();
3384
3385 inline bool isConfigure();
3386 inline bool hasConfigure();
3387 inline ::piper::ConfigurationResponse::Builder getConfigure();
3388 inline void setConfigure( ::piper::ConfigurationResponse::Reader value);
3389 inline ::piper::ConfigurationResponse::Builder initConfigure();
3390 inline void adoptConfigure(::capnp::Orphan< ::piper::ConfigurationResponse>&& value);
3391 inline ::capnp::Orphan< ::piper::ConfigurationResponse> disownConfigure();
3392
3393 inline bool isProcess();
3394 inline bool hasProcess();
3395 inline ::piper::ProcessResponse::Builder getProcess();
3396 inline void setProcess( ::piper::ProcessResponse::Reader value);
3397 inline ::piper::ProcessResponse::Builder initProcess();
3398 inline void adoptProcess(::capnp::Orphan< ::piper::ProcessResponse>&& value);
3399 inline ::capnp::Orphan< ::piper::ProcessResponse> disownProcess();
3400
3401 inline bool isFinish();
3402 inline bool hasFinish();
3403 inline ::piper::FinishResponse::Builder getFinish();
3404 inline void setFinish( ::piper::FinishResponse::Reader value);
3405 inline ::piper::FinishResponse::Builder initFinish();
3406 inline void adoptFinish(::capnp::Orphan< ::piper::FinishResponse>&& value);
3407 inline ::capnp::Orphan< ::piper::FinishResponse> disownFinish();
3408
3409 private:
3410 ::capnp::_::StructBuilder _builder;
3411 template <typename, ::capnp::Kind>
3412 friend struct ::capnp::ToDynamic_;
3413 friend class ::capnp::Orphanage;
3414 template <typename, ::capnp::Kind>
3415 friend struct ::capnp::_::PointerHelpers;
3416 };
3417
3418 #if !CAPNP_LITE
3419 class RpcResponse::Response::Pipeline {
3420 public:
3421 typedef Response Pipelines;
3422
3423 inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
3424 inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
3425 : _typeless(kj::mv(typeless)) {}
3426
3427 private:
3428 ::capnp::AnyPointer::Pipeline _typeless;
3429 friend class ::capnp::PipelineHook;
3430 template <typename, ::capnp::Kind>
3431 friend struct ::capnp::ToDynamic_;
3432 };
3433 #endif // !CAPNP_LITE
3434
3435 // =======================================================================================
3436
3437 inline bool Basic::Reader::hasIdentifier() const {
3438 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
3439 }
3440 inline bool Basic::Builder::hasIdentifier() {
3441 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
3442 }
3443 inline ::capnp::Text::Reader Basic::Reader::getIdentifier() const {
3444 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
3445 _reader.getPointerField(0 * ::capnp::POINTERS));
3446 }
3447 inline ::capnp::Text::Builder Basic::Builder::getIdentifier() {
3448 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
3449 _builder.getPointerField(0 * ::capnp::POINTERS));
3450 }
3451 inline void Basic::Builder::setIdentifier( ::capnp::Text::Reader value) {
3452 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
3453 _builder.getPointerField(0 * ::capnp::POINTERS), value);
3454 }
3455 inline ::capnp::Text::Builder Basic::Builder::initIdentifier(unsigned int size) {
3456 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
3457 _builder.getPointerField(0 * ::capnp::POINTERS), size);
3458 }
3459 inline void Basic::Builder::adoptIdentifier(
3460 ::capnp::Orphan< ::capnp::Text>&& value) {
3461 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
3462 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
3463 }
3464 inline ::capnp::Orphan< ::capnp::Text> Basic::Builder::disownIdentifier() {
3465 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
3466 _builder.getPointerField(0 * ::capnp::POINTERS));
3467 }
3468
3469 inline bool Basic::Reader::hasName() const {
3470 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
3471 }
3472 inline bool Basic::Builder::hasName() {
3473 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
3474 }
3475 inline ::capnp::Text::Reader Basic::Reader::getName() const {
3476 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
3477 _reader.getPointerField(1 * ::capnp::POINTERS));
3478 }
3479 inline ::capnp::Text::Builder Basic::Builder::getName() {
3480 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
3481 _builder.getPointerField(1 * ::capnp::POINTERS));
3482 }
3483 inline void Basic::Builder::setName( ::capnp::Text::Reader value) {
3484 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
3485 _builder.getPointerField(1 * ::capnp::POINTERS), value);
3486 }
3487 inline ::capnp::Text::Builder Basic::Builder::initName(unsigned int size) {
3488 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
3489 _builder.getPointerField(1 * ::capnp::POINTERS), size);
3490 }
3491 inline void Basic::Builder::adoptName(
3492 ::capnp::Orphan< ::capnp::Text>&& value) {
3493 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
3494 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
3495 }
3496 inline ::capnp::Orphan< ::capnp::Text> Basic::Builder::disownName() {
3497 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
3498 _builder.getPointerField(1 * ::capnp::POINTERS));
3499 }
3500
3501 inline bool Basic::Reader::hasDescription() const {
3502 return !_reader.getPointerField(2 * ::capnp::POINTERS).isNull();
3503 }
3504 inline bool Basic::Builder::hasDescription() {
3505 return !_builder.getPointerField(2 * ::capnp::POINTERS).isNull();
3506 }
3507 inline ::capnp::Text::Reader Basic::Reader::getDescription() const {
3508 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
3509 _reader.getPointerField(2 * ::capnp::POINTERS));
3510 }
3511 inline ::capnp::Text::Builder Basic::Builder::getDescription() {
3512 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
3513 _builder.getPointerField(2 * ::capnp::POINTERS));
3514 }
3515 inline void Basic::Builder::setDescription( ::capnp::Text::Reader value) {
3516 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
3517 _builder.getPointerField(2 * ::capnp::POINTERS), value);
3518 }
3519 inline ::capnp::Text::Builder Basic::Builder::initDescription(unsigned int size) {
3520 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
3521 _builder.getPointerField(2 * ::capnp::POINTERS), size);
3522 }
3523 inline void Basic::Builder::adoptDescription(
3524 ::capnp::Orphan< ::capnp::Text>&& value) {
3525 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
3526 _builder.getPointerField(2 * ::capnp::POINTERS), kj::mv(value));
3527 }
3528 inline ::capnp::Orphan< ::capnp::Text> Basic::Builder::disownDescription() {
3529 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
3530 _builder.getPointerField(2 * ::capnp::POINTERS));
3531 }
3532
3533 inline bool ParameterDescriptor::Reader::hasBasic() const {
3534 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
3535 }
3536 inline bool ParameterDescriptor::Builder::hasBasic() {
3537 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
3538 }
3539 inline ::piper::Basic::Reader ParameterDescriptor::Reader::getBasic() const {
3540 return ::capnp::_::PointerHelpers< ::piper::Basic>::get(
3541 _reader.getPointerField(0 * ::capnp::POINTERS));
3542 }
3543 inline ::piper::Basic::Builder ParameterDescriptor::Builder::getBasic() {
3544 return ::capnp::_::PointerHelpers< ::piper::Basic>::get(
3545 _builder.getPointerField(0 * ::capnp::POINTERS));
3546 }
3547 #if !CAPNP_LITE
3548 inline ::piper::Basic::Pipeline ParameterDescriptor::Pipeline::getBasic() {
3549 return ::piper::Basic::Pipeline(_typeless.getPointerField(0));
3550 }
3551 #endif // !CAPNP_LITE
3552 inline void ParameterDescriptor::Builder::setBasic( ::piper::Basic::Reader value) {
3553 ::capnp::_::PointerHelpers< ::piper::Basic>::set(
3554 _builder.getPointerField(0 * ::capnp::POINTERS), value);
3555 }
3556 inline ::piper::Basic::Builder ParameterDescriptor::Builder::initBasic() {
3557 return ::capnp::_::PointerHelpers< ::piper::Basic>::init(
3558 _builder.getPointerField(0 * ::capnp::POINTERS));
3559 }
3560 inline void ParameterDescriptor::Builder::adoptBasic(
3561 ::capnp::Orphan< ::piper::Basic>&& value) {
3562 ::capnp::_::PointerHelpers< ::piper::Basic>::adopt(
3563 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
3564 }
3565 inline ::capnp::Orphan< ::piper::Basic> ParameterDescriptor::Builder::disownBasic() {
3566 return ::capnp::_::PointerHelpers< ::piper::Basic>::disown(
3567 _builder.getPointerField(0 * ::capnp::POINTERS));
3568 }
3569
3570 inline bool ParameterDescriptor::Reader::hasUnit() const {
3571 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
3572 }
3573 inline bool ParameterDescriptor::Builder::hasUnit() {
3574 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
3575 }
3576 inline ::capnp::Text::Reader ParameterDescriptor::Reader::getUnit() const {
3577 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
3578 _reader.getPointerField(1 * ::capnp::POINTERS));
3579 }
3580 inline ::capnp::Text::Builder ParameterDescriptor::Builder::getUnit() {
3581 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
3582 _builder.getPointerField(1 * ::capnp::POINTERS));
3583 }
3584 inline void ParameterDescriptor::Builder::setUnit( ::capnp::Text::Reader value) {
3585 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
3586 _builder.getPointerField(1 * ::capnp::POINTERS), value);
3587 }
3588 inline ::capnp::Text::Builder ParameterDescriptor::Builder::initUnit(unsigned int size) {
3589 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
3590 _builder.getPointerField(1 * ::capnp::POINTERS), size);
3591 }
3592 inline void ParameterDescriptor::Builder::adoptUnit(
3593 ::capnp::Orphan< ::capnp::Text>&& value) {
3594 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
3595 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
3596 }
3597 inline ::capnp::Orphan< ::capnp::Text> ParameterDescriptor::Builder::disownUnit() {
3598 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
3599 _builder.getPointerField(1 * ::capnp::POINTERS));
3600 }
3601
3602 inline float ParameterDescriptor::Reader::getMinValue() const {
3603 return _reader.getDataField<float>(
3604 0 * ::capnp::ELEMENTS);
3605 }
3606
3607 inline float ParameterDescriptor::Builder::getMinValue() {
3608 return _builder.getDataField<float>(
3609 0 * ::capnp::ELEMENTS);
3610 }
3611 inline void ParameterDescriptor::Builder::setMinValue(float value) {
3612 _builder.setDataField<float>(
3613 0 * ::capnp::ELEMENTS, value);
3614 }
3615
3616 inline float ParameterDescriptor::Reader::getMaxValue() const {
3617 return _reader.getDataField<float>(
3618 1 * ::capnp::ELEMENTS);
3619 }
3620
3621 inline float ParameterDescriptor::Builder::getMaxValue() {
3622 return _builder.getDataField<float>(
3623 1 * ::capnp::ELEMENTS);
3624 }
3625 inline void ParameterDescriptor::Builder::setMaxValue(float value) {
3626 _builder.setDataField<float>(
3627 1 * ::capnp::ELEMENTS, value);
3628 }
3629
3630 inline float ParameterDescriptor::Reader::getDefaultValue() const {
3631 return _reader.getDataField<float>(
3632 2 * ::capnp::ELEMENTS);
3633 }
3634
3635 inline float ParameterDescriptor::Builder::getDefaultValue() {
3636 return _builder.getDataField<float>(
3637 2 * ::capnp::ELEMENTS);
3638 }
3639 inline void ParameterDescriptor::Builder::setDefaultValue(float value) {
3640 _builder.setDataField<float>(
3641 2 * ::capnp::ELEMENTS, value);
3642 }
3643
3644 inline bool ParameterDescriptor::Reader::getIsQuantized() const {
3645 return _reader.getDataField<bool>(
3646 96 * ::capnp::ELEMENTS);
3647 }
3648
3649 inline bool ParameterDescriptor::Builder::getIsQuantized() {
3650 return _builder.getDataField<bool>(
3651 96 * ::capnp::ELEMENTS);
3652 }
3653 inline void ParameterDescriptor::Builder::setIsQuantized(bool value) {
3654 _builder.setDataField<bool>(
3655 96 * ::capnp::ELEMENTS, value);
3656 }
3657
3658 inline float ParameterDescriptor::Reader::getQuantizeStep() const {
3659 return _reader.getDataField<float>(
3660 4 * ::capnp::ELEMENTS);
3661 }
3662
3663 inline float ParameterDescriptor::Builder::getQuantizeStep() {
3664 return _builder.getDataField<float>(
3665 4 * ::capnp::ELEMENTS);
3666 }
3667 inline void ParameterDescriptor::Builder::setQuantizeStep(float value) {
3668 _builder.setDataField<float>(
3669 4 * ::capnp::ELEMENTS, value);
3670 }
3671
3672 inline bool ParameterDescriptor::Reader::hasValueNames() const {
3673 return !_reader.getPointerField(2 * ::capnp::POINTERS).isNull();
3674 }
3675 inline bool ParameterDescriptor::Builder::hasValueNames() {
3676 return !_builder.getPointerField(2 * ::capnp::POINTERS).isNull();
3677 }
3678 inline ::capnp::List< ::capnp::Text>::Reader ParameterDescriptor::Reader::getValueNames() const {
3679 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(
3680 _reader.getPointerField(2 * ::capnp::POINTERS),
3681 ::capnp::schemas::bp_f8fda10bef70a97d + 147);
3682 }
3683 inline ::capnp::List< ::capnp::Text>::Builder ParameterDescriptor::Builder::getValueNames() {
3684 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(
3685 _builder.getPointerField(2 * ::capnp::POINTERS),
3686 ::capnp::schemas::bp_f8fda10bef70a97d + 147);
3687 }
3688 inline void ParameterDescriptor::Builder::setValueNames( ::capnp::List< ::capnp::Text>::Reader value) {
3689 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(
3690 _builder.getPointerField(2 * ::capnp::POINTERS), value);
3691 }
3692 inline void ParameterDescriptor::Builder::setValueNames(::kj::ArrayPtr<const ::capnp::Text::Reader> value) {
3693 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(
3694 _builder.getPointerField(2 * ::capnp::POINTERS), value);
3695 }
3696 inline ::capnp::List< ::capnp::Text>::Builder ParameterDescriptor::Builder::initValueNames(unsigned int size) {
3697 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::init(
3698 _builder.getPointerField(2 * ::capnp::POINTERS), size);
3699 }
3700 inline void ParameterDescriptor::Builder::adoptValueNames(
3701 ::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value) {
3702 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::adopt(
3703 _builder.getPointerField(2 * ::capnp::POINTERS), kj::mv(value));
3704 }
3705 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> ParameterDescriptor::Builder::disownValueNames() {
3706 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::disown(
3707 _builder.getPointerField(2 * ::capnp::POINTERS));
3708 }
3709
3710 inline bool ConfiguredOutputDescriptor::Reader::hasUnit() const {
3711 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
3712 }
3713 inline bool ConfiguredOutputDescriptor::Builder::hasUnit() {
3714 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
3715 }
3716 inline ::capnp::Text::Reader ConfiguredOutputDescriptor::Reader::getUnit() const {
3717 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
3718 _reader.getPointerField(0 * ::capnp::POINTERS));
3719 }
3720 inline ::capnp::Text::Builder ConfiguredOutputDescriptor::Builder::getUnit() {
3721 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
3722 _builder.getPointerField(0 * ::capnp::POINTERS));
3723 }
3724 inline void ConfiguredOutputDescriptor::Builder::setUnit( ::capnp::Text::Reader value) {
3725 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
3726 _builder.getPointerField(0 * ::capnp::POINTERS), value);
3727 }
3728 inline ::capnp::Text::Builder ConfiguredOutputDescriptor::Builder::initUnit(unsigned int size) {
3729 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
3730 _builder.getPointerField(0 * ::capnp::POINTERS), size);
3731 }
3732 inline void ConfiguredOutputDescriptor::Builder::adoptUnit(
3733 ::capnp::Orphan< ::capnp::Text>&& value) {
3734 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
3735 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
3736 }
3737 inline ::capnp::Orphan< ::capnp::Text> ConfiguredOutputDescriptor::Builder::disownUnit() {
3738 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
3739 _builder.getPointerField(0 * ::capnp::POINTERS));
3740 }
3741
3742 inline bool ConfiguredOutputDescriptor::Reader::getHasFixedBinCount() const {
3743 return _reader.getDataField<bool>(
3744 0 * ::capnp::ELEMENTS);
3745 }
3746
3747 inline bool ConfiguredOutputDescriptor::Builder::getHasFixedBinCount() {
3748 return _builder.getDataField<bool>(
3749 0 * ::capnp::ELEMENTS);
3750 }
3751 inline void ConfiguredOutputDescriptor::Builder::setHasFixedBinCount(bool value) {
3752 _builder.setDataField<bool>(
3753 0 * ::capnp::ELEMENTS, value);
3754 }
3755
3756 inline ::int32_t ConfiguredOutputDescriptor::Reader::getBinCount() const {
3757 return _reader.getDataField< ::int32_t>(
3758 1 * ::capnp::ELEMENTS);
3759 }
3760
3761 inline ::int32_t ConfiguredOutputDescriptor::Builder::getBinCount() {
3762 return _builder.getDataField< ::int32_t>(
3763 1 * ::capnp::ELEMENTS);
3764 }
3765 inline void ConfiguredOutputDescriptor::Builder::setBinCount( ::int32_t value) {
3766 _builder.setDataField< ::int32_t>(
3767 1 * ::capnp::ELEMENTS, value);
3768 }
3769
3770 inline bool ConfiguredOutputDescriptor::Reader::hasBinNames() const {
3771 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
3772 }
3773 inline bool ConfiguredOutputDescriptor::Builder::hasBinNames() {
3774 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
3775 }
3776 inline ::capnp::List< ::capnp::Text>::Reader ConfiguredOutputDescriptor::Reader::getBinNames() const {
3777 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(
3778 _reader.getPointerField(1 * ::capnp::POINTERS),
3779 ::capnp::schemas::bp_b2d0c825aac8249c + 142);
3780 }
3781 inline ::capnp::List< ::capnp::Text>::Builder ConfiguredOutputDescriptor::Builder::getBinNames() {
3782 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(
3783 _builder.getPointerField(1 * ::capnp::POINTERS),
3784 ::capnp::schemas::bp_b2d0c825aac8249c + 142);
3785 }
3786 inline void ConfiguredOutputDescriptor::Builder::setBinNames( ::capnp::List< ::capnp::Text>::Reader value) {
3787 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(
3788 _builder.getPointerField(1 * ::capnp::POINTERS), value);
3789 }
3790 inline void ConfiguredOutputDescriptor::Builder::setBinNames(::kj::ArrayPtr<const ::capnp::Text::Reader> value) {
3791 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(
3792 _builder.getPointerField(1 * ::capnp::POINTERS), value);
3793 }
3794 inline ::capnp::List< ::capnp::Text>::Builder ConfiguredOutputDescriptor::Builder::initBinNames(unsigned int size) {
3795 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::init(
3796 _builder.getPointerField(1 * ::capnp::POINTERS), size);
3797 }
3798 inline void ConfiguredOutputDescriptor::Builder::adoptBinNames(
3799 ::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value) {
3800 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::adopt(
3801 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
3802 }
3803 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> ConfiguredOutputDescriptor::Builder::disownBinNames() {
3804 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::disown(
3805 _builder.getPointerField(1 * ::capnp::POINTERS));
3806 }
3807
3808 inline bool ConfiguredOutputDescriptor::Reader::getHasKnownExtents() const {
3809 return _reader.getDataField<bool>(
3810 1 * ::capnp::ELEMENTS);
3811 }
3812
3813 inline bool ConfiguredOutputDescriptor::Builder::getHasKnownExtents() {
3814 return _builder.getDataField<bool>(
3815 1 * ::capnp::ELEMENTS);
3816 }
3817 inline void ConfiguredOutputDescriptor::Builder::setHasKnownExtents(bool value) {
3818 _builder.setDataField<bool>(
3819 1 * ::capnp::ELEMENTS, value);
3820 }
3821
3822 inline float ConfiguredOutputDescriptor::Reader::getMinValue() const {
3823 return _reader.getDataField<float>(
3824 2 * ::capnp::ELEMENTS);
3825 }
3826
3827 inline float ConfiguredOutputDescriptor::Builder::getMinValue() {
3828 return _builder.getDataField<float>(
3829 2 * ::capnp::ELEMENTS);
3830 }
3831 inline void ConfiguredOutputDescriptor::Builder::setMinValue(float value) {
3832 _builder.setDataField<float>(
3833 2 * ::capnp::ELEMENTS, value);
3834 }
3835
3836 inline float ConfiguredOutputDescriptor::Reader::getMaxValue() const {
3837 return _reader.getDataField<float>(
3838 3 * ::capnp::ELEMENTS);
3839 }
3840
3841 inline float ConfiguredOutputDescriptor::Builder::getMaxValue() {
3842 return _builder.getDataField<float>(
3843 3 * ::capnp::ELEMENTS);
3844 }
3845 inline void ConfiguredOutputDescriptor::Builder::setMaxValue(float value) {
3846 _builder.setDataField<float>(
3847 3 * ::capnp::ELEMENTS, value);
3848 }
3849
3850 inline bool ConfiguredOutputDescriptor::Reader::getIsQuantized() const {
3851 return _reader.getDataField<bool>(
3852 2 * ::capnp::ELEMENTS);
3853 }
3854
3855 inline bool ConfiguredOutputDescriptor::Builder::getIsQuantized() {
3856 return _builder.getDataField<bool>(
3857 2 * ::capnp::ELEMENTS);
3858 }
3859 inline void ConfiguredOutputDescriptor::Builder::setIsQuantized(bool value) {
3860 _builder.setDataField<bool>(
3861 2 * ::capnp::ELEMENTS, value);
3862 }
3863
3864 inline float ConfiguredOutputDescriptor::Reader::getQuantizeStep() const {
3865 return _reader.getDataField<float>(
3866 4 * ::capnp::ELEMENTS);
3867 }
3868
3869 inline float ConfiguredOutputDescriptor::Builder::getQuantizeStep() {
3870 return _builder.getDataField<float>(
3871 4 * ::capnp::ELEMENTS);
3872 }
3873 inline void ConfiguredOutputDescriptor::Builder::setQuantizeStep(float value) {
3874 _builder.setDataField<float>(
3875 4 * ::capnp::ELEMENTS, value);
3876 }
3877
3878 inline ::piper::SampleType ConfiguredOutputDescriptor::Reader::getSampleType() const {
3879 return _reader.getDataField< ::piper::SampleType>(
3880 1 * ::capnp::ELEMENTS);
3881 }
3882
3883 inline ::piper::SampleType ConfiguredOutputDescriptor::Builder::getSampleType() {
3884 return _builder.getDataField< ::piper::SampleType>(
3885 1 * ::capnp::ELEMENTS);
3886 }
3887 inline void ConfiguredOutputDescriptor::Builder::setSampleType( ::piper::SampleType value) {
3888 _builder.setDataField< ::piper::SampleType>(
3889 1 * ::capnp::ELEMENTS, value);
3890 }
3891
3892 inline float ConfiguredOutputDescriptor::Reader::getSampleRate() const {
3893 return _reader.getDataField<float>(
3894 5 * ::capnp::ELEMENTS);
3895 }
3896
3897 inline float ConfiguredOutputDescriptor::Builder::getSampleRate() {
3898 return _builder.getDataField<float>(
3899 5 * ::capnp::ELEMENTS);
3900 }
3901 inline void ConfiguredOutputDescriptor::Builder::setSampleRate(float value) {
3902 _builder.setDataField<float>(
3903 5 * ::capnp::ELEMENTS, value);
3904 }
3905
3906 inline bool ConfiguredOutputDescriptor::Reader::getHasDuration() const {
3907 return _reader.getDataField<bool>(
3908 3 * ::capnp::ELEMENTS);
3909 }
3910
3911 inline bool ConfiguredOutputDescriptor::Builder::getHasDuration() {
3912 return _builder.getDataField<bool>(
3913 3 * ::capnp::ELEMENTS);
3914 }
3915 inline void ConfiguredOutputDescriptor::Builder::setHasDuration(bool value) {
3916 _builder.setDataField<bool>(
3917 3 * ::capnp::ELEMENTS, value);
3918 }
3919
3920 inline bool OutputDescriptor::Reader::hasBasic() const {
3921 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
3922 }
3923 inline bool OutputDescriptor::Builder::hasBasic() {
3924 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
3925 }
3926 inline ::piper::Basic::Reader OutputDescriptor::Reader::getBasic() const {
3927 return ::capnp::_::PointerHelpers< ::piper::Basic>::get(
3928 _reader.getPointerField(0 * ::capnp::POINTERS));
3929 }
3930 inline ::piper::Basic::Builder OutputDescriptor::Builder::getBasic() {
3931 return ::capnp::_::PointerHelpers< ::piper::Basic>::get(
3932 _builder.getPointerField(0 * ::capnp::POINTERS));
3933 }
3934 #if !CAPNP_LITE
3935 inline ::piper::Basic::Pipeline OutputDescriptor::Pipeline::getBasic() {
3936 return ::piper::Basic::Pipeline(_typeless.getPointerField(0));
3937 }
3938 #endif // !CAPNP_LITE
3939 inline void OutputDescriptor::Builder::setBasic( ::piper::Basic::Reader value) {
3940 ::capnp::_::PointerHelpers< ::piper::Basic>::set(
3941 _builder.getPointerField(0 * ::capnp::POINTERS), value);
3942 }
3943 inline ::piper::Basic::Builder OutputDescriptor::Builder::initBasic() {
3944 return ::capnp::_::PointerHelpers< ::piper::Basic>::init(
3945 _builder.getPointerField(0 * ::capnp::POINTERS));
3946 }
3947 inline void OutputDescriptor::Builder::adoptBasic(
3948 ::capnp::Orphan< ::piper::Basic>&& value) {
3949 ::capnp::_::PointerHelpers< ::piper::Basic>::adopt(
3950 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
3951 }
3952 inline ::capnp::Orphan< ::piper::Basic> OutputDescriptor::Builder::disownBasic() {
3953 return ::capnp::_::PointerHelpers< ::piper::Basic>::disown(
3954 _builder.getPointerField(0 * ::capnp::POINTERS));
3955 }
3956
3957 inline bool OutputDescriptor::Reader::hasConfigured() const {
3958 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
3959 }
3960 inline bool OutputDescriptor::Builder::hasConfigured() {
3961 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
3962 }
3963 inline ::piper::ConfiguredOutputDescriptor::Reader OutputDescriptor::Reader::getConfigured() const {
3964 return ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::get(
3965 _reader.getPointerField(1 * ::capnp::POINTERS));
3966 }
3967 inline ::piper::ConfiguredOutputDescriptor::Builder OutputDescriptor::Builder::getConfigured() {
3968 return ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::get(
3969 _builder.getPointerField(1 * ::capnp::POINTERS));
3970 }
3971 #if !CAPNP_LITE
3972 inline ::piper::ConfiguredOutputDescriptor::Pipeline OutputDescriptor::Pipeline::getConfigured() {
3973 return ::piper::ConfiguredOutputDescriptor::Pipeline(_typeless.getPointerField(1));
3974 }
3975 #endif // !CAPNP_LITE
3976 inline void OutputDescriptor::Builder::setConfigured( ::piper::ConfiguredOutputDescriptor::Reader value) {
3977 ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::set(
3978 _builder.getPointerField(1 * ::capnp::POINTERS), value);
3979 }
3980 inline ::piper::ConfiguredOutputDescriptor::Builder OutputDescriptor::Builder::initConfigured() {
3981 return ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::init(
3982 _builder.getPointerField(1 * ::capnp::POINTERS));
3983 }
3984 inline void OutputDescriptor::Builder::adoptConfigured(
3985 ::capnp::Orphan< ::piper::ConfiguredOutputDescriptor>&& value) {
3986 ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::adopt(
3987 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
3988 }
3989 inline ::capnp::Orphan< ::piper::ConfiguredOutputDescriptor> OutputDescriptor::Builder::disownConfigured() {
3990 return ::capnp::_::PointerHelpers< ::piper::ConfiguredOutputDescriptor>::disown(
3991 _builder.getPointerField(1 * ::capnp::POINTERS));
3992 }
3993
3994 inline bool ExtractorStaticData::Reader::hasKey() const {
3995 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
3996 }
3997 inline bool ExtractorStaticData::Builder::hasKey() {
3998 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
3999 }
4000 inline ::capnp::Text::Reader ExtractorStaticData::Reader::getKey() const {
4001 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
4002 _reader.getPointerField(0 * ::capnp::POINTERS));
4003 }
4004 inline ::capnp::Text::Builder ExtractorStaticData::Builder::getKey() {
4005 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
4006 _builder.getPointerField(0 * ::capnp::POINTERS));
4007 }
4008 inline void ExtractorStaticData::Builder::setKey( ::capnp::Text::Reader value) {
4009 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
4010 _builder.getPointerField(0 * ::capnp::POINTERS), value);
4011 }
4012 inline ::capnp::Text::Builder ExtractorStaticData::Builder::initKey(unsigned int size) {
4013 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
4014 _builder.getPointerField(0 * ::capnp::POINTERS), size);
4015 }
4016 inline void ExtractorStaticData::Builder::adoptKey(
4017 ::capnp::Orphan< ::capnp::Text>&& value) {
4018 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
4019 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
4020 }
4021 inline ::capnp::Orphan< ::capnp::Text> ExtractorStaticData::Builder::disownKey() {
4022 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
4023 _builder.getPointerField(0 * ::capnp::POINTERS));
4024 }
4025
4026 inline bool ExtractorStaticData::Reader::hasBasic() const {
4027 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
4028 }
4029 inline bool ExtractorStaticData::Builder::hasBasic() {
4030 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
4031 }
4032 inline ::piper::Basic::Reader ExtractorStaticData::Reader::getBasic() const {
4033 return ::capnp::_::PointerHelpers< ::piper::Basic>::get(
4034 _reader.getPointerField(1 * ::capnp::POINTERS));
4035 }
4036 inline ::piper::Basic::Builder ExtractorStaticData::Builder::getBasic() {
4037 return ::capnp::_::PointerHelpers< ::piper::Basic>::get(
4038 _builder.getPointerField(1 * ::capnp::POINTERS));
4039 }
4040 #if !CAPNP_LITE
4041 inline ::piper::Basic::Pipeline ExtractorStaticData::Pipeline::getBasic() {
4042 return ::piper::Basic::Pipeline(_typeless.getPointerField(1));
4043 }
4044 #endif // !CAPNP_LITE
4045 inline void ExtractorStaticData::Builder::setBasic( ::piper::Basic::Reader value) {
4046 ::capnp::_::PointerHelpers< ::piper::Basic>::set(
4047 _builder.getPointerField(1 * ::capnp::POINTERS), value);
4048 }
4049 inline ::piper::Basic::Builder ExtractorStaticData::Builder::initBasic() {
4050 return ::capnp::_::PointerHelpers< ::piper::Basic>::init(
4051 _builder.getPointerField(1 * ::capnp::POINTERS));
4052 }
4053 inline void ExtractorStaticData::Builder::adoptBasic(
4054 ::capnp::Orphan< ::piper::Basic>&& value) {
4055 ::capnp::_::PointerHelpers< ::piper::Basic>::adopt(
4056 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
4057 }
4058 inline ::capnp::Orphan< ::piper::Basic> ExtractorStaticData::Builder::disownBasic() {
4059 return ::capnp::_::PointerHelpers< ::piper::Basic>::disown(
4060 _builder.getPointerField(1 * ::capnp::POINTERS));
4061 }
4062
4063 inline bool ExtractorStaticData::Reader::hasMaker() const {
4064 return !_reader.getPointerField(2 * ::capnp::POINTERS).isNull();
4065 }
4066 inline bool ExtractorStaticData::Builder::hasMaker() {
4067 return !_builder.getPointerField(2 * ::capnp::POINTERS).isNull();
4068 }
4069 inline ::capnp::Text::Reader ExtractorStaticData::Reader::getMaker() const {
4070 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
4071 _reader.getPointerField(2 * ::capnp::POINTERS));
4072 }
4073 inline ::capnp::Text::Builder ExtractorStaticData::Builder::getMaker() {
4074 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
4075 _builder.getPointerField(2 * ::capnp::POINTERS));
4076 }
4077 inline void ExtractorStaticData::Builder::setMaker( ::capnp::Text::Reader value) {
4078 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
4079 _builder.getPointerField(2 * ::capnp::POINTERS), value);
4080 }
4081 inline ::capnp::Text::Builder ExtractorStaticData::Builder::initMaker(unsigned int size) {
4082 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
4083 _builder.getPointerField(2 * ::capnp::POINTERS), size);
4084 }
4085 inline void ExtractorStaticData::Builder::adoptMaker(
4086 ::capnp::Orphan< ::capnp::Text>&& value) {
4087 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
4088 _builder.getPointerField(2 * ::capnp::POINTERS), kj::mv(value));
4089 }
4090 inline ::capnp::Orphan< ::capnp::Text> ExtractorStaticData::Builder::disownMaker() {
4091 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
4092 _builder.getPointerField(2 * ::capnp::POINTERS));
4093 }
4094
4095 inline bool ExtractorStaticData::Reader::hasCopyright() const {
4096 return !_reader.getPointerField(3 * ::capnp::POINTERS).isNull();
4097 }
4098 inline bool ExtractorStaticData::Builder::hasCopyright() {
4099 return !_builder.getPointerField(3 * ::capnp::POINTERS).isNull();
4100 }
4101 inline ::capnp::Text::Reader ExtractorStaticData::Reader::getCopyright() const {
4102 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
4103 _reader.getPointerField(3 * ::capnp::POINTERS));
4104 }
4105 inline ::capnp::Text::Builder ExtractorStaticData::Builder::getCopyright() {
4106 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
4107 _builder.getPointerField(3 * ::capnp::POINTERS));
4108 }
4109 inline void ExtractorStaticData::Builder::setCopyright( ::capnp::Text::Reader value) {
4110 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
4111 _builder.getPointerField(3 * ::capnp::POINTERS), value);
4112 }
4113 inline ::capnp::Text::Builder ExtractorStaticData::Builder::initCopyright(unsigned int size) {
4114 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
4115 _builder.getPointerField(3 * ::capnp::POINTERS), size);
4116 }
4117 inline void ExtractorStaticData::Builder::adoptCopyright(
4118 ::capnp::Orphan< ::capnp::Text>&& value) {
4119 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
4120 _builder.getPointerField(3 * ::capnp::POINTERS), kj::mv(value));
4121 }
4122 inline ::capnp::Orphan< ::capnp::Text> ExtractorStaticData::Builder::disownCopyright() {
4123 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
4124 _builder.getPointerField(3 * ::capnp::POINTERS));
4125 }
4126
4127 inline ::int32_t ExtractorStaticData::Reader::getVersion() const {
4128 return _reader.getDataField< ::int32_t>(
4129 0 * ::capnp::ELEMENTS);
4130 }
4131
4132 inline ::int32_t ExtractorStaticData::Builder::getVersion() {
4133 return _builder.getDataField< ::int32_t>(
4134 0 * ::capnp::ELEMENTS);
4135 }
4136 inline void ExtractorStaticData::Builder::setVersion( ::int32_t value) {
4137 _builder.setDataField< ::int32_t>(
4138 0 * ::capnp::ELEMENTS, value);
4139 }
4140
4141 inline bool ExtractorStaticData::Reader::hasCategory() const {
4142 return !_reader.getPointerField(4 * ::capnp::POINTERS).isNull();
4143 }
4144 inline bool ExtractorStaticData::Builder::hasCategory() {
4145 return !_builder.getPointerField(4 * ::capnp::POINTERS).isNull();
4146 }
4147 inline ::capnp::List< ::capnp::Text>::Reader ExtractorStaticData::Reader::getCategory() const {
4148 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(
4149 _reader.getPointerField(4 * ::capnp::POINTERS));
4150 }
4151 inline ::capnp::List< ::capnp::Text>::Builder ExtractorStaticData::Builder::getCategory() {
4152 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(
4153 _builder.getPointerField(4 * ::capnp::POINTERS));
4154 }
4155 inline void ExtractorStaticData::Builder::setCategory( ::capnp::List< ::capnp::Text>::Reader value) {
4156 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(
4157 _builder.getPointerField(4 * ::capnp::POINTERS), value);
4158 }
4159 inline void ExtractorStaticData::Builder::setCategory(::kj::ArrayPtr<const ::capnp::Text::Reader> value) {
4160 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(
4161 _builder.getPointerField(4 * ::capnp::POINTERS), value);
4162 }
4163 inline ::capnp::List< ::capnp::Text>::Builder ExtractorStaticData::Builder::initCategory(unsigned int size) {
4164 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::init(
4165 _builder.getPointerField(4 * ::capnp::POINTERS), size);
4166 }
4167 inline void ExtractorStaticData::Builder::adoptCategory(
4168 ::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value) {
4169 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::adopt(
4170 _builder.getPointerField(4 * ::capnp::POINTERS), kj::mv(value));
4171 }
4172 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> ExtractorStaticData::Builder::disownCategory() {
4173 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::disown(
4174 _builder.getPointerField(4 * ::capnp::POINTERS));
4175 }
4176
4177 inline ::int32_t ExtractorStaticData::Reader::getMinChannelCount() const {
4178 return _reader.getDataField< ::int32_t>(
4179 1 * ::capnp::ELEMENTS);
4180 }
4181
4182 inline ::int32_t ExtractorStaticData::Builder::getMinChannelCount() {
4183 return _builder.getDataField< ::int32_t>(
4184 1 * ::capnp::ELEMENTS);
4185 }
4186 inline void ExtractorStaticData::Builder::setMinChannelCount( ::int32_t value) {
4187 _builder.setDataField< ::int32_t>(
4188 1 * ::capnp::ELEMENTS, value);
4189 }
4190
4191 inline ::int32_t ExtractorStaticData::Reader::getMaxChannelCount() const {
4192 return _reader.getDataField< ::int32_t>(
4193 2 * ::capnp::ELEMENTS);
4194 }
4195
4196 inline ::int32_t ExtractorStaticData::Builder::getMaxChannelCount() {
4197 return _builder.getDataField< ::int32_t>(
4198 2 * ::capnp::ELEMENTS);
4199 }
4200 inline void ExtractorStaticData::Builder::setMaxChannelCount( ::int32_t value) {
4201 _builder.setDataField< ::int32_t>(
4202 2 * ::capnp::ELEMENTS, value);
4203 }
4204
4205 inline bool ExtractorStaticData::Reader::hasParameters() const {
4206 return !_reader.getPointerField(5 * ::capnp::POINTERS).isNull();
4207 }
4208 inline bool ExtractorStaticData::Builder::hasParameters() {
4209 return !_builder.getPointerField(5 * ::capnp::POINTERS).isNull();
4210 }
4211 inline ::capnp::List< ::piper::ParameterDescriptor>::Reader ExtractorStaticData::Reader::getParameters() const {
4212 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::get(
4213 _reader.getPointerField(5 * ::capnp::POINTERS));
4214 }
4215 inline ::capnp::List< ::piper::ParameterDescriptor>::Builder ExtractorStaticData::Builder::getParameters() {
4216 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::get(
4217 _builder.getPointerField(5 * ::capnp::POINTERS));
4218 }
4219 inline void ExtractorStaticData::Builder::setParameters( ::capnp::List< ::piper::ParameterDescriptor>::Reader value) {
4220 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::set(
4221 _builder.getPointerField(5 * ::capnp::POINTERS), value);
4222 }
4223 inline ::capnp::List< ::piper::ParameterDescriptor>::Builder ExtractorStaticData::Builder::initParameters(unsigned int size) {
4224 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::init(
4225 _builder.getPointerField(5 * ::capnp::POINTERS), size);
4226 }
4227 inline void ExtractorStaticData::Builder::adoptParameters(
4228 ::capnp::Orphan< ::capnp::List< ::piper::ParameterDescriptor>>&& value) {
4229 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::adopt(
4230 _builder.getPointerField(5 * ::capnp::POINTERS), kj::mv(value));
4231 }
4232 inline ::capnp::Orphan< ::capnp::List< ::piper::ParameterDescriptor>> ExtractorStaticData::Builder::disownParameters() {
4233 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ParameterDescriptor>>::disown(
4234 _builder.getPointerField(5 * ::capnp::POINTERS));
4235 }
4236
4237 inline bool ExtractorStaticData::Reader::hasPrograms() const {
4238 return !_reader.getPointerField(6 * ::capnp::POINTERS).isNull();
4239 }
4240 inline bool ExtractorStaticData::Builder::hasPrograms() {
4241 return !_builder.getPointerField(6 * ::capnp::POINTERS).isNull();
4242 }
4243 inline ::capnp::List< ::capnp::Text>::Reader ExtractorStaticData::Reader::getPrograms() const {
4244 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(
4245 _reader.getPointerField(6 * ::capnp::POINTERS));
4246 }
4247 inline ::capnp::List< ::capnp::Text>::Builder ExtractorStaticData::Builder::getPrograms() {
4248 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::get(
4249 _builder.getPointerField(6 * ::capnp::POINTERS));
4250 }
4251 inline void ExtractorStaticData::Builder::setPrograms( ::capnp::List< ::capnp::Text>::Reader value) {
4252 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(
4253 _builder.getPointerField(6 * ::capnp::POINTERS), value);
4254 }
4255 inline void ExtractorStaticData::Builder::setPrograms(::kj::ArrayPtr<const ::capnp::Text::Reader> value) {
4256 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::set(
4257 _builder.getPointerField(6 * ::capnp::POINTERS), value);
4258 }
4259 inline ::capnp::List< ::capnp::Text>::Builder ExtractorStaticData::Builder::initPrograms(unsigned int size) {
4260 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::init(
4261 _builder.getPointerField(6 * ::capnp::POINTERS), size);
4262 }
4263 inline void ExtractorStaticData::Builder::adoptPrograms(
4264 ::capnp::Orphan< ::capnp::List< ::capnp::Text>>&& value) {
4265 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::adopt(
4266 _builder.getPointerField(6 * ::capnp::POINTERS), kj::mv(value));
4267 }
4268 inline ::capnp::Orphan< ::capnp::List< ::capnp::Text>> ExtractorStaticData::Builder::disownPrograms() {
4269 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::Text>>::disown(
4270 _builder.getPointerField(6 * ::capnp::POINTERS));
4271 }
4272
4273 inline ::piper::InputDomain ExtractorStaticData::Reader::getInputDomain() const {
4274 return _reader.getDataField< ::piper::InputDomain>(
4275 6 * ::capnp::ELEMENTS);
4276 }
4277
4278 inline ::piper::InputDomain ExtractorStaticData::Builder::getInputDomain() {
4279 return _builder.getDataField< ::piper::InputDomain>(
4280 6 * ::capnp::ELEMENTS);
4281 }
4282 inline void ExtractorStaticData::Builder::setInputDomain( ::piper::InputDomain value) {
4283 _builder.setDataField< ::piper::InputDomain>(
4284 6 * ::capnp::ELEMENTS, value);
4285 }
4286
4287 inline bool ExtractorStaticData::Reader::hasBasicOutputInfo() const {
4288 return !_reader.getPointerField(7 * ::capnp::POINTERS).isNull();
4289 }
4290 inline bool ExtractorStaticData::Builder::hasBasicOutputInfo() {
4291 return !_builder.getPointerField(7 * ::capnp::POINTERS).isNull();
4292 }
4293 inline ::capnp::List< ::piper::Basic>::Reader ExtractorStaticData::Reader::getBasicOutputInfo() const {
4294 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::get(
4295 _reader.getPointerField(7 * ::capnp::POINTERS));
4296 }
4297 inline ::capnp::List< ::piper::Basic>::Builder ExtractorStaticData::Builder::getBasicOutputInfo() {
4298 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::get(
4299 _builder.getPointerField(7 * ::capnp::POINTERS));
4300 }
4301 inline void ExtractorStaticData::Builder::setBasicOutputInfo( ::capnp::List< ::piper::Basic>::Reader value) {
4302 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::set(
4303 _builder.getPointerField(7 * ::capnp::POINTERS), value);
4304 }
4305 inline ::capnp::List< ::piper::Basic>::Builder ExtractorStaticData::Builder::initBasicOutputInfo(unsigned int size) {
4306 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::init(
4307 _builder.getPointerField(7 * ::capnp::POINTERS), size);
4308 }
4309 inline void ExtractorStaticData::Builder::adoptBasicOutputInfo(
4310 ::capnp::Orphan< ::capnp::List< ::piper::Basic>>&& value) {
4311 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::adopt(
4312 _builder.getPointerField(7 * ::capnp::POINTERS), kj::mv(value));
4313 }
4314 inline ::capnp::Orphan< ::capnp::List< ::piper::Basic>> ExtractorStaticData::Builder::disownBasicOutputInfo() {
4315 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Basic>>::disown(
4316 _builder.getPointerField(7 * ::capnp::POINTERS));
4317 }
4318
4319 inline ::int32_t RealTime::Reader::getSec() const {
4320 return _reader.getDataField< ::int32_t>(
4321 0 * ::capnp::ELEMENTS);
4322 }
4323
4324 inline ::int32_t RealTime::Builder::getSec() {
4325 return _builder.getDataField< ::int32_t>(
4326 0 * ::capnp::ELEMENTS);
4327 }
4328 inline void RealTime::Builder::setSec( ::int32_t value) {
4329 _builder.setDataField< ::int32_t>(
4330 0 * ::capnp::ELEMENTS, value);
4331 }
4332
4333 inline ::int32_t RealTime::Reader::getNsec() const {
4334 return _reader.getDataField< ::int32_t>(
4335 1 * ::capnp::ELEMENTS);
4336 }
4337
4338 inline ::int32_t RealTime::Builder::getNsec() {
4339 return _builder.getDataField< ::int32_t>(
4340 1 * ::capnp::ELEMENTS);
4341 }
4342 inline void RealTime::Builder::setNsec( ::int32_t value) {
4343 _builder.setDataField< ::int32_t>(
4344 1 * ::capnp::ELEMENTS, value);
4345 }
4346
4347 inline bool ProcessInput::Reader::hasInputBuffers() const {
4348 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
4349 }
4350 inline bool ProcessInput::Builder::hasInputBuffers() {
4351 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
4352 }
4353 inline ::capnp::List< ::capnp::List<float>>::Reader ProcessInput::Reader::getInputBuffers() const {
4354 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::get(
4355 _reader.getPointerField(0 * ::capnp::POINTERS));
4356 }
4357 inline ::capnp::List< ::capnp::List<float>>::Builder ProcessInput::Builder::getInputBuffers() {
4358 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::get(
4359 _builder.getPointerField(0 * ::capnp::POINTERS));
4360 }
4361 inline void ProcessInput::Builder::setInputBuffers( ::capnp::List< ::capnp::List<float>>::Reader value) {
4362 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::set(
4363 _builder.getPointerField(0 * ::capnp::POINTERS), value);
4364 }
4365 inline void ProcessInput::Builder::setInputBuffers(::kj::ArrayPtr<const ::capnp::List<float>::Reader> value) {
4366 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::set(
4367 _builder.getPointerField(0 * ::capnp::POINTERS), value);
4368 }
4369 inline ::capnp::List< ::capnp::List<float>>::Builder ProcessInput::Builder::initInputBuffers(unsigned int size) {
4370 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::init(
4371 _builder.getPointerField(0 * ::capnp::POINTERS), size);
4372 }
4373 inline void ProcessInput::Builder::adoptInputBuffers(
4374 ::capnp::Orphan< ::capnp::List< ::capnp::List<float>>>&& value) {
4375 ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::adopt(
4376 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
4377 }
4378 inline ::capnp::Orphan< ::capnp::List< ::capnp::List<float>>> ProcessInput::Builder::disownInputBuffers() {
4379 return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::List<float>>>::disown(
4380 _builder.getPointerField(0 * ::capnp::POINTERS));
4381 }
4382
4383 inline bool ProcessInput::Reader::hasTimestamp() const {
4384 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
4385 }
4386 inline bool ProcessInput::Builder::hasTimestamp() {
4387 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
4388 }
4389 inline ::piper::RealTime::Reader ProcessInput::Reader::getTimestamp() const {
4390 return ::capnp::_::PointerHelpers< ::piper::RealTime>::get(
4391 _reader.getPointerField(1 * ::capnp::POINTERS));
4392 }
4393 inline ::piper::RealTime::Builder ProcessInput::Builder::getTimestamp() {
4394 return ::capnp::_::PointerHelpers< ::piper::RealTime>::get(
4395 _builder.getPointerField(1 * ::capnp::POINTERS));
4396 }
4397 #if !CAPNP_LITE
4398 inline ::piper::RealTime::Pipeline ProcessInput::Pipeline::getTimestamp() {
4399 return ::piper::RealTime::Pipeline(_typeless.getPointerField(1));
4400 }
4401 #endif // !CAPNP_LITE
4402 inline void ProcessInput::Builder::setTimestamp( ::piper::RealTime::Reader value) {
4403 ::capnp::_::PointerHelpers< ::piper::RealTime>::set(
4404 _builder.getPointerField(1 * ::capnp::POINTERS), value);
4405 }
4406 inline ::piper::RealTime::Builder ProcessInput::Builder::initTimestamp() {
4407 return ::capnp::_::PointerHelpers< ::piper::RealTime>::init(
4408 _builder.getPointerField(1 * ::capnp::POINTERS));
4409 }
4410 inline void ProcessInput::Builder::adoptTimestamp(
4411 ::capnp::Orphan< ::piper::RealTime>&& value) {
4412 ::capnp::_::PointerHelpers< ::piper::RealTime>::adopt(
4413 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
4414 }
4415 inline ::capnp::Orphan< ::piper::RealTime> ProcessInput::Builder::disownTimestamp() {
4416 return ::capnp::_::PointerHelpers< ::piper::RealTime>::disown(
4417 _builder.getPointerField(1 * ::capnp::POINTERS));
4418 }
4419
4420 inline bool Feature::Reader::getHasTimestamp() const {
4421 return _reader.getDataField<bool>(
4422 0 * ::capnp::ELEMENTS);
4423 }
4424
4425 inline bool Feature::Builder::getHasTimestamp() {
4426 return _builder.getDataField<bool>(
4427 0 * ::capnp::ELEMENTS);
4428 }
4429 inline void Feature::Builder::setHasTimestamp(bool value) {
4430 _builder.setDataField<bool>(
4431 0 * ::capnp::ELEMENTS, value);
4432 }
4433
4434 inline bool Feature::Reader::hasTimestamp() const {
4435 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
4436 }
4437 inline bool Feature::Builder::hasTimestamp() {
4438 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
4439 }
4440 inline ::piper::RealTime::Reader Feature::Reader::getTimestamp() const {
4441 return ::capnp::_::PointerHelpers< ::piper::RealTime>::get(
4442 _reader.getPointerField(0 * ::capnp::POINTERS));
4443 }
4444 inline ::piper::RealTime::Builder Feature::Builder::getTimestamp() {
4445 return ::capnp::_::PointerHelpers< ::piper::RealTime>::get(
4446 _builder.getPointerField(0 * ::capnp::POINTERS));
4447 }
4448 #if !CAPNP_LITE
4449 inline ::piper::RealTime::Pipeline Feature::Pipeline::getTimestamp() {
4450 return ::piper::RealTime::Pipeline(_typeless.getPointerField(0));
4451 }
4452 #endif // !CAPNP_LITE
4453 inline void Feature::Builder::setTimestamp( ::piper::RealTime::Reader value) {
4454 ::capnp::_::PointerHelpers< ::piper::RealTime>::set(
4455 _builder.getPointerField(0 * ::capnp::POINTERS), value);
4456 }
4457 inline ::piper::RealTime::Builder Feature::Builder::initTimestamp() {
4458 return ::capnp::_::PointerHelpers< ::piper::RealTime>::init(
4459 _builder.getPointerField(0 * ::capnp::POINTERS));
4460 }
4461 inline void Feature::Builder::adoptTimestamp(
4462 ::capnp::Orphan< ::piper::RealTime>&& value) {
4463 ::capnp::_::PointerHelpers< ::piper::RealTime>::adopt(
4464 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
4465 }
4466 inline ::capnp::Orphan< ::piper::RealTime> Feature::Builder::disownTimestamp() {
4467 return ::capnp::_::PointerHelpers< ::piper::RealTime>::disown(
4468 _builder.getPointerField(0 * ::capnp::POINTERS));
4469 }
4470
4471 inline bool Feature::Reader::getHasDuration() const {
4472 return _reader.getDataField<bool>(
4473 1 * ::capnp::ELEMENTS);
4474 }
4475
4476 inline bool Feature::Builder::getHasDuration() {
4477 return _builder.getDataField<bool>(
4478 1 * ::capnp::ELEMENTS);
4479 }
4480 inline void Feature::Builder::setHasDuration(bool value) {
4481 _builder.setDataField<bool>(
4482 1 * ::capnp::ELEMENTS, value);
4483 }
4484
4485 inline bool Feature::Reader::hasDuration() const {
4486 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
4487 }
4488 inline bool Feature::Builder::hasDuration() {
4489 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
4490 }
4491 inline ::piper::RealTime::Reader Feature::Reader::getDuration() const {
4492 return ::capnp::_::PointerHelpers< ::piper::RealTime>::get(
4493 _reader.getPointerField(1 * ::capnp::POINTERS));
4494 }
4495 inline ::piper::RealTime::Builder Feature::Builder::getDuration() {
4496 return ::capnp::_::PointerHelpers< ::piper::RealTime>::get(
4497 _builder.getPointerField(1 * ::capnp::POINTERS));
4498 }
4499 #if !CAPNP_LITE
4500 inline ::piper::RealTime::Pipeline Feature::Pipeline::getDuration() {
4501 return ::piper::RealTime::Pipeline(_typeless.getPointerField(1));
4502 }
4503 #endif // !CAPNP_LITE
4504 inline void Feature::Builder::setDuration( ::piper::RealTime::Reader value) {
4505 ::capnp::_::PointerHelpers< ::piper::RealTime>::set(
4506 _builder.getPointerField(1 * ::capnp::POINTERS), value);
4507 }
4508 inline ::piper::RealTime::Builder Feature::Builder::initDuration() {
4509 return ::capnp::_::PointerHelpers< ::piper::RealTime>::init(
4510 _builder.getPointerField(1 * ::capnp::POINTERS));
4511 }
4512 inline void Feature::Builder::adoptDuration(
4513 ::capnp::Orphan< ::piper::RealTime>&& value) {
4514 ::capnp::_::PointerHelpers< ::piper::RealTime>::adopt(
4515 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
4516 }
4517 inline ::capnp::Orphan< ::piper::RealTime> Feature::Builder::disownDuration() {
4518 return ::capnp::_::PointerHelpers< ::piper::RealTime>::disown(
4519 _builder.getPointerField(1 * ::capnp::POINTERS));
4520 }
4521
4522 inline bool Feature::Reader::hasLabel() const {
4523 return !_reader.getPointerField(2 * ::capnp::POINTERS).isNull();
4524 }
4525 inline bool Feature::Builder::hasLabel() {
4526 return !_builder.getPointerField(2 * ::capnp::POINTERS).isNull();
4527 }
4528 inline ::capnp::Text::Reader Feature::Reader::getLabel() const {
4529 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
4530 _reader.getPointerField(2 * ::capnp::POINTERS));
4531 }
4532 inline ::capnp::Text::Builder Feature::Builder::getLabel() {
4533 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
4534 _builder.getPointerField(2 * ::capnp::POINTERS));
4535 }
4536 inline void Feature::Builder::setLabel( ::capnp::Text::Reader value) {
4537 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
4538 _builder.getPointerField(2 * ::capnp::POINTERS), value);
4539 }
4540 inline ::capnp::Text::Builder Feature::Builder::initLabel(unsigned int size) {
4541 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
4542 _builder.getPointerField(2 * ::capnp::POINTERS), size);
4543 }
4544 inline void Feature::Builder::adoptLabel(
4545 ::capnp::Orphan< ::capnp::Text>&& value) {
4546 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
4547 _builder.getPointerField(2 * ::capnp::POINTERS), kj::mv(value));
4548 }
4549 inline ::capnp::Orphan< ::capnp::Text> Feature::Builder::disownLabel() {
4550 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
4551 _builder.getPointerField(2 * ::capnp::POINTERS));
4552 }
4553
4554 inline bool Feature::Reader::hasFeatureValues() const {
4555 return !_reader.getPointerField(3 * ::capnp::POINTERS).isNull();
4556 }
4557 inline bool Feature::Builder::hasFeatureValues() {
4558 return !_builder.getPointerField(3 * ::capnp::POINTERS).isNull();
4559 }
4560 inline ::capnp::List<float>::Reader Feature::Reader::getFeatureValues() const {
4561 return ::capnp::_::PointerHelpers< ::capnp::List<float>>::get(
4562 _reader.getPointerField(3 * ::capnp::POINTERS),
4563 ::capnp::schemas::bp_d6a172208c9a1760 + 115);
4564 }
4565 inline ::capnp::List<float>::Builder Feature::Builder::getFeatureValues() {
4566 return ::capnp::_::PointerHelpers< ::capnp::List<float>>::get(
4567 _builder.getPointerField(3 * ::capnp::POINTERS),
4568 ::capnp::schemas::bp_d6a172208c9a1760 + 115);
4569 }
4570 inline void Feature::Builder::setFeatureValues( ::capnp::List<float>::Reader value) {
4571 ::capnp::_::PointerHelpers< ::capnp::List<float>>::set(
4572 _builder.getPointerField(3 * ::capnp::POINTERS), value);
4573 }
4574 inline void Feature::Builder::setFeatureValues(::kj::ArrayPtr<const float> value) {
4575 ::capnp::_::PointerHelpers< ::capnp::List<float>>::set(
4576 _builder.getPointerField(3 * ::capnp::POINTERS), value);
4577 }
4578 inline ::capnp::List<float>::Builder Feature::Builder::initFeatureValues(unsigned int size) {
4579 return ::capnp::_::PointerHelpers< ::capnp::List<float>>::init(
4580 _builder.getPointerField(3 * ::capnp::POINTERS), size);
4581 }
4582 inline void Feature::Builder::adoptFeatureValues(
4583 ::capnp::Orphan< ::capnp::List<float>>&& value) {
4584 ::capnp::_::PointerHelpers< ::capnp::List<float>>::adopt(
4585 _builder.getPointerField(3 * ::capnp::POINTERS), kj::mv(value));
4586 }
4587 inline ::capnp::Orphan< ::capnp::List<float>> Feature::Builder::disownFeatureValues() {
4588 return ::capnp::_::PointerHelpers< ::capnp::List<float>>::disown(
4589 _builder.getPointerField(3 * ::capnp::POINTERS));
4590 }
4591
4592 inline bool FeatureSet::Reader::hasFeaturePairs() const {
4593 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
4594 }
4595 inline bool FeatureSet::Builder::hasFeaturePairs() {
4596 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
4597 }
4598 inline ::capnp::List< ::piper::FeatureSet::FSPair>::Reader FeatureSet::Reader::getFeaturePairs() const {
4599 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::get(
4600 _reader.getPointerField(0 * ::capnp::POINTERS));
4601 }
4602 inline ::capnp::List< ::piper::FeatureSet::FSPair>::Builder FeatureSet::Builder::getFeaturePairs() {
4603 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::get(
4604 _builder.getPointerField(0 * ::capnp::POINTERS));
4605 }
4606 inline void FeatureSet::Builder::setFeaturePairs( ::capnp::List< ::piper::FeatureSet::FSPair>::Reader value) {
4607 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::set(
4608 _builder.getPointerField(0 * ::capnp::POINTERS), value);
4609 }
4610 inline ::capnp::List< ::piper::FeatureSet::FSPair>::Builder FeatureSet::Builder::initFeaturePairs(unsigned int size) {
4611 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::init(
4612 _builder.getPointerField(0 * ::capnp::POINTERS), size);
4613 }
4614 inline void FeatureSet::Builder::adoptFeaturePairs(
4615 ::capnp::Orphan< ::capnp::List< ::piper::FeatureSet::FSPair>>&& value) {
4616 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::adopt(
4617 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
4618 }
4619 inline ::capnp::Orphan< ::capnp::List< ::piper::FeatureSet::FSPair>> FeatureSet::Builder::disownFeaturePairs() {
4620 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::FeatureSet::FSPair>>::disown(
4621 _builder.getPointerField(0 * ::capnp::POINTERS));
4622 }
4623
4624 inline bool FeatureSet::FSPair::Reader::hasOutput() const {
4625 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
4626 }
4627 inline bool FeatureSet::FSPair::Builder::hasOutput() {
4628 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
4629 }
4630 inline ::capnp::Text::Reader FeatureSet::FSPair::Reader::getOutput() const {
4631 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
4632 _reader.getPointerField(0 * ::capnp::POINTERS));
4633 }
4634 inline ::capnp::Text::Builder FeatureSet::FSPair::Builder::getOutput() {
4635 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
4636 _builder.getPointerField(0 * ::capnp::POINTERS));
4637 }
4638 inline void FeatureSet::FSPair::Builder::setOutput( ::capnp::Text::Reader value) {
4639 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
4640 _builder.getPointerField(0 * ::capnp::POINTERS), value);
4641 }
4642 inline ::capnp::Text::Builder FeatureSet::FSPair::Builder::initOutput(unsigned int size) {
4643 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
4644 _builder.getPointerField(0 * ::capnp::POINTERS), size);
4645 }
4646 inline void FeatureSet::FSPair::Builder::adoptOutput(
4647 ::capnp::Orphan< ::capnp::Text>&& value) {
4648 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
4649 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
4650 }
4651 inline ::capnp::Orphan< ::capnp::Text> FeatureSet::FSPair::Builder::disownOutput() {
4652 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
4653 _builder.getPointerField(0 * ::capnp::POINTERS));
4654 }
4655
4656 inline bool FeatureSet::FSPair::Reader::hasFeatures() const {
4657 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
4658 }
4659 inline bool FeatureSet::FSPair::Builder::hasFeatures() {
4660 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
4661 }
4662 inline ::capnp::List< ::piper::Feature>::Reader FeatureSet::FSPair::Reader::getFeatures() const {
4663 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::get(
4664 _reader.getPointerField(1 * ::capnp::POINTERS),
4665 ::capnp::schemas::bp_ab2572c346316b24 + 52);
4666 }
4667 inline ::capnp::List< ::piper::Feature>::Builder FeatureSet::FSPair::Builder::getFeatures() {
4668 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::get(
4669 _builder.getPointerField(1 * ::capnp::POINTERS),
4670 ::capnp::schemas::bp_ab2572c346316b24 + 52);
4671 }
4672 inline void FeatureSet::FSPair::Builder::setFeatures( ::capnp::List< ::piper::Feature>::Reader value) {
4673 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::set(
4674 _builder.getPointerField(1 * ::capnp::POINTERS), value);
4675 }
4676 inline ::capnp::List< ::piper::Feature>::Builder FeatureSet::FSPair::Builder::initFeatures(unsigned int size) {
4677 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::init(
4678 _builder.getPointerField(1 * ::capnp::POINTERS), size);
4679 }
4680 inline void FeatureSet::FSPair::Builder::adoptFeatures(
4681 ::capnp::Orphan< ::capnp::List< ::piper::Feature>>&& value) {
4682 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::adopt(
4683 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
4684 }
4685 inline ::capnp::Orphan< ::capnp::List< ::piper::Feature>> FeatureSet::FSPair::Builder::disownFeatures() {
4686 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Feature>>::disown(
4687 _builder.getPointerField(1 * ::capnp::POINTERS));
4688 }
4689
4690 inline bool Configuration::Reader::hasParameterValues() const {
4691 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
4692 }
4693 inline bool Configuration::Builder::hasParameterValues() {
4694 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
4695 }
4696 inline ::capnp::List< ::piper::Configuration::PVPair>::Reader Configuration::Reader::getParameterValues() const {
4697 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::get(
4698 _reader.getPointerField(0 * ::capnp::POINTERS));
4699 }
4700 inline ::capnp::List< ::piper::Configuration::PVPair>::Builder Configuration::Builder::getParameterValues() {
4701 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::get(
4702 _builder.getPointerField(0 * ::capnp::POINTERS));
4703 }
4704 inline void Configuration::Builder::setParameterValues( ::capnp::List< ::piper::Configuration::PVPair>::Reader value) {
4705 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::set(
4706 _builder.getPointerField(0 * ::capnp::POINTERS), value);
4707 }
4708 inline ::capnp::List< ::piper::Configuration::PVPair>::Builder Configuration::Builder::initParameterValues(unsigned int size) {
4709 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::init(
4710 _builder.getPointerField(0 * ::capnp::POINTERS), size);
4711 }
4712 inline void Configuration::Builder::adoptParameterValues(
4713 ::capnp::Orphan< ::capnp::List< ::piper::Configuration::PVPair>>&& value) {
4714 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::adopt(
4715 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
4716 }
4717 inline ::capnp::Orphan< ::capnp::List< ::piper::Configuration::PVPair>> Configuration::Builder::disownParameterValues() {
4718 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::Configuration::PVPair>>::disown(
4719 _builder.getPointerField(0 * ::capnp::POINTERS));
4720 }
4721
4722 inline bool Configuration::Reader::hasCurrentProgram() const {
4723 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
4724 }
4725 inline bool Configuration::Builder::hasCurrentProgram() {
4726 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
4727 }
4728 inline ::capnp::Text::Reader Configuration::Reader::getCurrentProgram() const {
4729 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
4730 _reader.getPointerField(1 * ::capnp::POINTERS));
4731 }
4732 inline ::capnp::Text::Builder Configuration::Builder::getCurrentProgram() {
4733 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
4734 _builder.getPointerField(1 * ::capnp::POINTERS));
4735 }
4736 inline void Configuration::Builder::setCurrentProgram( ::capnp::Text::Reader value) {
4737 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
4738 _builder.getPointerField(1 * ::capnp::POINTERS), value);
4739 }
4740 inline ::capnp::Text::Builder Configuration::Builder::initCurrentProgram(unsigned int size) {
4741 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
4742 _builder.getPointerField(1 * ::capnp::POINTERS), size);
4743 }
4744 inline void Configuration::Builder::adoptCurrentProgram(
4745 ::capnp::Orphan< ::capnp::Text>&& value) {
4746 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
4747 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
4748 }
4749 inline ::capnp::Orphan< ::capnp::Text> Configuration::Builder::disownCurrentProgram() {
4750 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
4751 _builder.getPointerField(1 * ::capnp::POINTERS));
4752 }
4753
4754 inline ::int32_t Configuration::Reader::getChannelCount() const {
4755 return _reader.getDataField< ::int32_t>(
4756 0 * ::capnp::ELEMENTS);
4757 }
4758
4759 inline ::int32_t Configuration::Builder::getChannelCount() {
4760 return _builder.getDataField< ::int32_t>(
4761 0 * ::capnp::ELEMENTS);
4762 }
4763 inline void Configuration::Builder::setChannelCount( ::int32_t value) {
4764 _builder.setDataField< ::int32_t>(
4765 0 * ::capnp::ELEMENTS, value);
4766 }
4767
4768 inline ::int32_t Configuration::Reader::getStepSize() const {
4769 return _reader.getDataField< ::int32_t>(
4770 1 * ::capnp::ELEMENTS);
4771 }
4772
4773 inline ::int32_t Configuration::Builder::getStepSize() {
4774 return _builder.getDataField< ::int32_t>(
4775 1 * ::capnp::ELEMENTS);
4776 }
4777 inline void Configuration::Builder::setStepSize( ::int32_t value) {
4778 _builder.setDataField< ::int32_t>(
4779 1 * ::capnp::ELEMENTS, value);
4780 }
4781
4782 inline ::int32_t Configuration::Reader::getBlockSize() const {
4783 return _reader.getDataField< ::int32_t>(
4784 2 * ::capnp::ELEMENTS);
4785 }
4786
4787 inline ::int32_t Configuration::Builder::getBlockSize() {
4788 return _builder.getDataField< ::int32_t>(
4789 2 * ::capnp::ELEMENTS);
4790 }
4791 inline void Configuration::Builder::setBlockSize( ::int32_t value) {
4792 _builder.setDataField< ::int32_t>(
4793 2 * ::capnp::ELEMENTS, value);
4794 }
4795
4796 inline bool Configuration::PVPair::Reader::hasParameter() const {
4797 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
4798 }
4799 inline bool Configuration::PVPair::Builder::hasParameter() {
4800 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
4801 }
4802 inline ::capnp::Text::Reader Configuration::PVPair::Reader::getParameter() const {
4803 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
4804 _reader.getPointerField(0 * ::capnp::POINTERS));
4805 }
4806 inline ::capnp::Text::Builder Configuration::PVPair::Builder::getParameter() {
4807 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
4808 _builder.getPointerField(0 * ::capnp::POINTERS));
4809 }
4810 inline void Configuration::PVPair::Builder::setParameter( ::capnp::Text::Reader value) {
4811 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
4812 _builder.getPointerField(0 * ::capnp::POINTERS), value);
4813 }
4814 inline ::capnp::Text::Builder Configuration::PVPair::Builder::initParameter(unsigned int size) {
4815 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
4816 _builder.getPointerField(0 * ::capnp::POINTERS), size);
4817 }
4818 inline void Configuration::PVPair::Builder::adoptParameter(
4819 ::capnp::Orphan< ::capnp::Text>&& value) {
4820 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
4821 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
4822 }
4823 inline ::capnp::Orphan< ::capnp::Text> Configuration::PVPair::Builder::disownParameter() {
4824 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
4825 _builder.getPointerField(0 * ::capnp::POINTERS));
4826 }
4827
4828 inline float Configuration::PVPair::Reader::getValue() const {
4829 return _reader.getDataField<float>(
4830 0 * ::capnp::ELEMENTS);
4831 }
4832
4833 inline float Configuration::PVPair::Builder::getValue() {
4834 return _builder.getDataField<float>(
4835 0 * ::capnp::ELEMENTS);
4836 }
4837 inline void Configuration::PVPair::Builder::setValue(float value) {
4838 _builder.setDataField<float>(
4839 0 * ::capnp::ELEMENTS, value);
4840 }
4841
4842 inline bool ListResponse::Reader::hasAvailable() const {
4843 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
4844 }
4845 inline bool ListResponse::Builder::hasAvailable() {
4846 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
4847 }
4848 inline ::capnp::List< ::piper::ExtractorStaticData>::Reader ListResponse::Reader::getAvailable() const {
4849 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::get(
4850 _reader.getPointerField(0 * ::capnp::POINTERS));
4851 }
4852 inline ::capnp::List< ::piper::ExtractorStaticData>::Builder ListResponse::Builder::getAvailable() {
4853 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::get(
4854 _builder.getPointerField(0 * ::capnp::POINTERS));
4855 }
4856 inline void ListResponse::Builder::setAvailable( ::capnp::List< ::piper::ExtractorStaticData>::Reader value) {
4857 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::set(
4858 _builder.getPointerField(0 * ::capnp::POINTERS), value);
4859 }
4860 inline ::capnp::List< ::piper::ExtractorStaticData>::Builder ListResponse::Builder::initAvailable(unsigned int size) {
4861 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::init(
4862 _builder.getPointerField(0 * ::capnp::POINTERS), size);
4863 }
4864 inline void ListResponse::Builder::adoptAvailable(
4865 ::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData>>&& value) {
4866 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::adopt(
4867 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
4868 }
4869 inline ::capnp::Orphan< ::capnp::List< ::piper::ExtractorStaticData>> ListResponse::Builder::disownAvailable() {
4870 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::ExtractorStaticData>>::disown(
4871 _builder.getPointerField(0 * ::capnp::POINTERS));
4872 }
4873
4874 inline bool LoadRequest::Reader::hasKey() const {
4875 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
4876 }
4877 inline bool LoadRequest::Builder::hasKey() {
4878 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
4879 }
4880 inline ::capnp::Text::Reader LoadRequest::Reader::getKey() const {
4881 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
4882 _reader.getPointerField(0 * ::capnp::POINTERS));
4883 }
4884 inline ::capnp::Text::Builder LoadRequest::Builder::getKey() {
4885 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
4886 _builder.getPointerField(0 * ::capnp::POINTERS));
4887 }
4888 inline void LoadRequest::Builder::setKey( ::capnp::Text::Reader value) {
4889 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
4890 _builder.getPointerField(0 * ::capnp::POINTERS), value);
4891 }
4892 inline ::capnp::Text::Builder LoadRequest::Builder::initKey(unsigned int size) {
4893 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
4894 _builder.getPointerField(0 * ::capnp::POINTERS), size);
4895 }
4896 inline void LoadRequest::Builder::adoptKey(
4897 ::capnp::Orphan< ::capnp::Text>&& value) {
4898 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
4899 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
4900 }
4901 inline ::capnp::Orphan< ::capnp::Text> LoadRequest::Builder::disownKey() {
4902 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
4903 _builder.getPointerField(0 * ::capnp::POINTERS));
4904 }
4905
4906 inline float LoadRequest::Reader::getInputSampleRate() const {
4907 return _reader.getDataField<float>(
4908 0 * ::capnp::ELEMENTS);
4909 }
4910
4911 inline float LoadRequest::Builder::getInputSampleRate() {
4912 return _builder.getDataField<float>(
4913 0 * ::capnp::ELEMENTS);
4914 }
4915 inline void LoadRequest::Builder::setInputSampleRate(float value) {
4916 _builder.setDataField<float>(
4917 0 * ::capnp::ELEMENTS, value);
4918 }
4919
4920 inline bool LoadRequest::Reader::hasAdapterFlags() const {
4921 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
4922 }
4923 inline bool LoadRequest::Builder::hasAdapterFlags() {
4924 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
4925 }
4926 inline ::capnp::List< ::piper::AdapterFlag>::Reader LoadRequest::Reader::getAdapterFlags() const {
4927 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::get(
4928 _reader.getPointerField(1 * ::capnp::POINTERS));
4929 }
4930 inline ::capnp::List< ::piper::AdapterFlag>::Builder LoadRequest::Builder::getAdapterFlags() {
4931 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::get(
4932 _builder.getPointerField(1 * ::capnp::POINTERS));
4933 }
4934 inline void LoadRequest::Builder::setAdapterFlags( ::capnp::List< ::piper::AdapterFlag>::Reader value) {
4935 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::set(
4936 _builder.getPointerField(1 * ::capnp::POINTERS), value);
4937 }
4938 inline void LoadRequest::Builder::setAdapterFlags(::kj::ArrayPtr<const ::piper::AdapterFlag> value) {
4939 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::set(
4940 _builder.getPointerField(1 * ::capnp::POINTERS), value);
4941 }
4942 inline ::capnp::List< ::piper::AdapterFlag>::Builder LoadRequest::Builder::initAdapterFlags(unsigned int size) {
4943 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::init(
4944 _builder.getPointerField(1 * ::capnp::POINTERS), size);
4945 }
4946 inline void LoadRequest::Builder::adoptAdapterFlags(
4947 ::capnp::Orphan< ::capnp::List< ::piper::AdapterFlag>>&& value) {
4948 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::adopt(
4949 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
4950 }
4951 inline ::capnp::Orphan< ::capnp::List< ::piper::AdapterFlag>> LoadRequest::Builder::disownAdapterFlags() {
4952 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::AdapterFlag>>::disown(
4953 _builder.getPointerField(1 * ::capnp::POINTERS));
4954 }
4955
4956 inline ::int32_t LoadResponse::Reader::getHandle() const {
4957 return _reader.getDataField< ::int32_t>(
4958 0 * ::capnp::ELEMENTS);
4959 }
4960
4961 inline ::int32_t LoadResponse::Builder::getHandle() {
4962 return _builder.getDataField< ::int32_t>(
4963 0 * ::capnp::ELEMENTS);
4964 }
4965 inline void LoadResponse::Builder::setHandle( ::int32_t value) {
4966 _builder.setDataField< ::int32_t>(
4967 0 * ::capnp::ELEMENTS, value);
4968 }
4969
4970 inline bool LoadResponse::Reader::hasStaticData() const {
4971 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
4972 }
4973 inline bool LoadResponse::Builder::hasStaticData() {
4974 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
4975 }
4976 inline ::piper::ExtractorStaticData::Reader LoadResponse::Reader::getStaticData() const {
4977 return ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::get(
4978 _reader.getPointerField(0 * ::capnp::POINTERS));
4979 }
4980 inline ::piper::ExtractorStaticData::Builder LoadResponse::Builder::getStaticData() {
4981 return ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::get(
4982 _builder.getPointerField(0 * ::capnp::POINTERS));
4983 }
4984 #if !CAPNP_LITE
4985 inline ::piper::ExtractorStaticData::Pipeline LoadResponse::Pipeline::getStaticData() {
4986 return ::piper::ExtractorStaticData::Pipeline(_typeless.getPointerField(0));
4987 }
4988 #endif // !CAPNP_LITE
4989 inline void LoadResponse::Builder::setStaticData( ::piper::ExtractorStaticData::Reader value) {
4990 ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::set(
4991 _builder.getPointerField(0 * ::capnp::POINTERS), value);
4992 }
4993 inline ::piper::ExtractorStaticData::Builder LoadResponse::Builder::initStaticData() {
4994 return ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::init(
4995 _builder.getPointerField(0 * ::capnp::POINTERS));
4996 }
4997 inline void LoadResponse::Builder::adoptStaticData(
4998 ::capnp::Orphan< ::piper::ExtractorStaticData>&& value) {
4999 ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::adopt(
5000 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
5001 }
5002 inline ::capnp::Orphan< ::piper::ExtractorStaticData> LoadResponse::Builder::disownStaticData() {
5003 return ::capnp::_::PointerHelpers< ::piper::ExtractorStaticData>::disown(
5004 _builder.getPointerField(0 * ::capnp::POINTERS));
5005 }
5006
5007 inline bool LoadResponse::Reader::hasDefaultConfiguration() const {
5008 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
5009 }
5010 inline bool LoadResponse::Builder::hasDefaultConfiguration() {
5011 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
5012 }
5013 inline ::piper::Configuration::Reader LoadResponse::Reader::getDefaultConfiguration() const {
5014 return ::capnp::_::PointerHelpers< ::piper::Configuration>::get(
5015 _reader.getPointerField(1 * ::capnp::POINTERS));
5016 }
5017 inline ::piper::Configuration::Builder LoadResponse::Builder::getDefaultConfiguration() {
5018 return ::capnp::_::PointerHelpers< ::piper::Configuration>::get(
5019 _builder.getPointerField(1 * ::capnp::POINTERS));
5020 }
5021 #if !CAPNP_LITE
5022 inline ::piper::Configuration::Pipeline LoadResponse::Pipeline::getDefaultConfiguration() {
5023 return ::piper::Configuration::Pipeline(_typeless.getPointerField(1));
5024 }
5025 #endif // !CAPNP_LITE
5026 inline void LoadResponse::Builder::setDefaultConfiguration( ::piper::Configuration::Reader value) {
5027 ::capnp::_::PointerHelpers< ::piper::Configuration>::set(
5028 _builder.getPointerField(1 * ::capnp::POINTERS), value);
5029 }
5030 inline ::piper::Configuration::Builder LoadResponse::Builder::initDefaultConfiguration() {
5031 return ::capnp::_::PointerHelpers< ::piper::Configuration>::init(
5032 _builder.getPointerField(1 * ::capnp::POINTERS));
5033 }
5034 inline void LoadResponse::Builder::adoptDefaultConfiguration(
5035 ::capnp::Orphan< ::piper::Configuration>&& value) {
5036 ::capnp::_::PointerHelpers< ::piper::Configuration>::adopt(
5037 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
5038 }
5039 inline ::capnp::Orphan< ::piper::Configuration> LoadResponse::Builder::disownDefaultConfiguration() {
5040 return ::capnp::_::PointerHelpers< ::piper::Configuration>::disown(
5041 _builder.getPointerField(1 * ::capnp::POINTERS));
5042 }
5043
5044 inline ::int32_t ConfigurationRequest::Reader::getHandle() const {
5045 return _reader.getDataField< ::int32_t>(
5046 0 * ::capnp::ELEMENTS);
5047 }
5048
5049 inline ::int32_t ConfigurationRequest::Builder::getHandle() {
5050 return _builder.getDataField< ::int32_t>(
5051 0 * ::capnp::ELEMENTS);
5052 }
5053 inline void ConfigurationRequest::Builder::setHandle( ::int32_t value) {
5054 _builder.setDataField< ::int32_t>(
5055 0 * ::capnp::ELEMENTS, value);
5056 }
5057
5058 inline bool ConfigurationRequest::Reader::hasConfiguration() const {
5059 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
5060 }
5061 inline bool ConfigurationRequest::Builder::hasConfiguration() {
5062 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
5063 }
5064 inline ::piper::Configuration::Reader ConfigurationRequest::Reader::getConfiguration() const {
5065 return ::capnp::_::PointerHelpers< ::piper::Configuration>::get(
5066 _reader.getPointerField(0 * ::capnp::POINTERS));
5067 }
5068 inline ::piper::Configuration::Builder ConfigurationRequest::Builder::getConfiguration() {
5069 return ::capnp::_::PointerHelpers< ::piper::Configuration>::get(
5070 _builder.getPointerField(0 * ::capnp::POINTERS));
5071 }
5072 #if !CAPNP_LITE
5073 inline ::piper::Configuration::Pipeline ConfigurationRequest::Pipeline::getConfiguration() {
5074 return ::piper::Configuration::Pipeline(_typeless.getPointerField(0));
5075 }
5076 #endif // !CAPNP_LITE
5077 inline void ConfigurationRequest::Builder::setConfiguration( ::piper::Configuration::Reader value) {
5078 ::capnp::_::PointerHelpers< ::piper::Configuration>::set(
5079 _builder.getPointerField(0 * ::capnp::POINTERS), value);
5080 }
5081 inline ::piper::Configuration::Builder ConfigurationRequest::Builder::initConfiguration() {
5082 return ::capnp::_::PointerHelpers< ::piper::Configuration>::init(
5083 _builder.getPointerField(0 * ::capnp::POINTERS));
5084 }
5085 inline void ConfigurationRequest::Builder::adoptConfiguration(
5086 ::capnp::Orphan< ::piper::Configuration>&& value) {
5087 ::capnp::_::PointerHelpers< ::piper::Configuration>::adopt(
5088 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
5089 }
5090 inline ::capnp::Orphan< ::piper::Configuration> ConfigurationRequest::Builder::disownConfiguration() {
5091 return ::capnp::_::PointerHelpers< ::piper::Configuration>::disown(
5092 _builder.getPointerField(0 * ::capnp::POINTERS));
5093 }
5094
5095 inline ::int32_t ConfigurationResponse::Reader::getHandle() const {
5096 return _reader.getDataField< ::int32_t>(
5097 0 * ::capnp::ELEMENTS);
5098 }
5099
5100 inline ::int32_t ConfigurationResponse::Builder::getHandle() {
5101 return _builder.getDataField< ::int32_t>(
5102 0 * ::capnp::ELEMENTS);
5103 }
5104 inline void ConfigurationResponse::Builder::setHandle( ::int32_t value) {
5105 _builder.setDataField< ::int32_t>(
5106 0 * ::capnp::ELEMENTS, value);
5107 }
5108
5109 inline bool ConfigurationResponse::Reader::hasOutputs() const {
5110 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
5111 }
5112 inline bool ConfigurationResponse::Builder::hasOutputs() {
5113 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
5114 }
5115 inline ::capnp::List< ::piper::OutputDescriptor>::Reader ConfigurationResponse::Reader::getOutputs() const {
5116 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::get(
5117 _reader.getPointerField(0 * ::capnp::POINTERS));
5118 }
5119 inline ::capnp::List< ::piper::OutputDescriptor>::Builder ConfigurationResponse::Builder::getOutputs() {
5120 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::get(
5121 _builder.getPointerField(0 * ::capnp::POINTERS));
5122 }
5123 inline void ConfigurationResponse::Builder::setOutputs( ::capnp::List< ::piper::OutputDescriptor>::Reader value) {
5124 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::set(
5125 _builder.getPointerField(0 * ::capnp::POINTERS), value);
5126 }
5127 inline ::capnp::List< ::piper::OutputDescriptor>::Builder ConfigurationResponse::Builder::initOutputs(unsigned int size) {
5128 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::init(
5129 _builder.getPointerField(0 * ::capnp::POINTERS), size);
5130 }
5131 inline void ConfigurationResponse::Builder::adoptOutputs(
5132 ::capnp::Orphan< ::capnp::List< ::piper::OutputDescriptor>>&& value) {
5133 ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::adopt(
5134 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
5135 }
5136 inline ::capnp::Orphan< ::capnp::List< ::piper::OutputDescriptor>> ConfigurationResponse::Builder::disownOutputs() {
5137 return ::capnp::_::PointerHelpers< ::capnp::List< ::piper::OutputDescriptor>>::disown(
5138 _builder.getPointerField(0 * ::capnp::POINTERS));
5139 }
5140
5141 inline ::int32_t ProcessRequest::Reader::getHandle() const {
5142 return _reader.getDataField< ::int32_t>(
5143 0 * ::capnp::ELEMENTS);
5144 }
5145
5146 inline ::int32_t ProcessRequest::Builder::getHandle() {
5147 return _builder.getDataField< ::int32_t>(
5148 0 * ::capnp::ELEMENTS);
5149 }
5150 inline void ProcessRequest::Builder::setHandle( ::int32_t value) {
5151 _builder.setDataField< ::int32_t>(
5152 0 * ::capnp::ELEMENTS, value);
5153 }
5154
5155 inline bool ProcessRequest::Reader::hasProcessInput() const {
5156 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
5157 }
5158 inline bool ProcessRequest::Builder::hasProcessInput() {
5159 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
5160 }
5161 inline ::piper::ProcessInput::Reader ProcessRequest::Reader::getProcessInput() const {
5162 return ::capnp::_::PointerHelpers< ::piper::ProcessInput>::get(
5163 _reader.getPointerField(0 * ::capnp::POINTERS));
5164 }
5165 inline ::piper::ProcessInput::Builder ProcessRequest::Builder::getProcessInput() {
5166 return ::capnp::_::PointerHelpers< ::piper::ProcessInput>::get(
5167 _builder.getPointerField(0 * ::capnp::POINTERS));
5168 }
5169 #if !CAPNP_LITE
5170 inline ::piper::ProcessInput::Pipeline ProcessRequest::Pipeline::getProcessInput() {
5171 return ::piper::ProcessInput::Pipeline(_typeless.getPointerField(0));
5172 }
5173 #endif // !CAPNP_LITE
5174 inline void ProcessRequest::Builder::setProcessInput( ::piper::ProcessInput::Reader value) {
5175 ::capnp::_::PointerHelpers< ::piper::ProcessInput>::set(
5176 _builder.getPointerField(0 * ::capnp::POINTERS), value);
5177 }
5178 inline ::piper::ProcessInput::Builder ProcessRequest::Builder::initProcessInput() {
5179 return ::capnp::_::PointerHelpers< ::piper::ProcessInput>::init(
5180 _builder.getPointerField(0 * ::capnp::POINTERS));
5181 }
5182 inline void ProcessRequest::Builder::adoptProcessInput(
5183 ::capnp::Orphan< ::piper::ProcessInput>&& value) {
5184 ::capnp::_::PointerHelpers< ::piper::ProcessInput>::adopt(
5185 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
5186 }
5187 inline ::capnp::Orphan< ::piper::ProcessInput> ProcessRequest::Builder::disownProcessInput() {
5188 return ::capnp::_::PointerHelpers< ::piper::ProcessInput>::disown(
5189 _builder.getPointerField(0 * ::capnp::POINTERS));
5190 }
5191
5192 inline ::int32_t ProcessResponse::Reader::getHandle() const {
5193 return _reader.getDataField< ::int32_t>(
5194 0 * ::capnp::ELEMENTS);
5195 }
5196
5197 inline ::int32_t ProcessResponse::Builder::getHandle() {
5198 return _builder.getDataField< ::int32_t>(
5199 0 * ::capnp::ELEMENTS);
5200 }
5201 inline void ProcessResponse::Builder::setHandle( ::int32_t value) {
5202 _builder.setDataField< ::int32_t>(
5203 0 * ::capnp::ELEMENTS, value);
5204 }
5205
5206 inline bool ProcessResponse::Reader::hasFeatures() const {
5207 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
5208 }
5209 inline bool ProcessResponse::Builder::hasFeatures() {
5210 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
5211 }
5212 inline ::piper::FeatureSet::Reader ProcessResponse::Reader::getFeatures() const {
5213 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::get(
5214 _reader.getPointerField(0 * ::capnp::POINTERS));
5215 }
5216 inline ::piper::FeatureSet::Builder ProcessResponse::Builder::getFeatures() {
5217 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::get(
5218 _builder.getPointerField(0 * ::capnp::POINTERS));
5219 }
5220 #if !CAPNP_LITE
5221 inline ::piper::FeatureSet::Pipeline ProcessResponse::Pipeline::getFeatures() {
5222 return ::piper::FeatureSet::Pipeline(_typeless.getPointerField(0));
5223 }
5224 #endif // !CAPNP_LITE
5225 inline void ProcessResponse::Builder::setFeatures( ::piper::FeatureSet::Reader value) {
5226 ::capnp::_::PointerHelpers< ::piper::FeatureSet>::set(
5227 _builder.getPointerField(0 * ::capnp::POINTERS), value);
5228 }
5229 inline ::piper::FeatureSet::Builder ProcessResponse::Builder::initFeatures() {
5230 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::init(
5231 _builder.getPointerField(0 * ::capnp::POINTERS));
5232 }
5233 inline void ProcessResponse::Builder::adoptFeatures(
5234 ::capnp::Orphan< ::piper::FeatureSet>&& value) {
5235 ::capnp::_::PointerHelpers< ::piper::FeatureSet>::adopt(
5236 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
5237 }
5238 inline ::capnp::Orphan< ::piper::FeatureSet> ProcessResponse::Builder::disownFeatures() {
5239 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::disown(
5240 _builder.getPointerField(0 * ::capnp::POINTERS));
5241 }
5242
5243 inline ::int32_t FinishRequest::Reader::getHandle() const {
5244 return _reader.getDataField< ::int32_t>(
5245 0 * ::capnp::ELEMENTS);
5246 }
5247
5248 inline ::int32_t FinishRequest::Builder::getHandle() {
5249 return _builder.getDataField< ::int32_t>(
5250 0 * ::capnp::ELEMENTS);
5251 }
5252 inline void FinishRequest::Builder::setHandle( ::int32_t value) {
5253 _builder.setDataField< ::int32_t>(
5254 0 * ::capnp::ELEMENTS, value);
5255 }
5256
5257 inline ::int32_t FinishResponse::Reader::getHandle() const {
5258 return _reader.getDataField< ::int32_t>(
5259 0 * ::capnp::ELEMENTS);
5260 }
5261
5262 inline ::int32_t FinishResponse::Builder::getHandle() {
5263 return _builder.getDataField< ::int32_t>(
5264 0 * ::capnp::ELEMENTS);
5265 }
5266 inline void FinishResponse::Builder::setHandle( ::int32_t value) {
5267 _builder.setDataField< ::int32_t>(
5268 0 * ::capnp::ELEMENTS, value);
5269 }
5270
5271 inline bool FinishResponse::Reader::hasFeatures() const {
5272 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
5273 }
5274 inline bool FinishResponse::Builder::hasFeatures() {
5275 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
5276 }
5277 inline ::piper::FeatureSet::Reader FinishResponse::Reader::getFeatures() const {
5278 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::get(
5279 _reader.getPointerField(0 * ::capnp::POINTERS));
5280 }
5281 inline ::piper::FeatureSet::Builder FinishResponse::Builder::getFeatures() {
5282 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::get(
5283 _builder.getPointerField(0 * ::capnp::POINTERS));
5284 }
5285 #if !CAPNP_LITE
5286 inline ::piper::FeatureSet::Pipeline FinishResponse::Pipeline::getFeatures() {
5287 return ::piper::FeatureSet::Pipeline(_typeless.getPointerField(0));
5288 }
5289 #endif // !CAPNP_LITE
5290 inline void FinishResponse::Builder::setFeatures( ::piper::FeatureSet::Reader value) {
5291 ::capnp::_::PointerHelpers< ::piper::FeatureSet>::set(
5292 _builder.getPointerField(0 * ::capnp::POINTERS), value);
5293 }
5294 inline ::piper::FeatureSet::Builder FinishResponse::Builder::initFeatures() {
5295 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::init(
5296 _builder.getPointerField(0 * ::capnp::POINTERS));
5297 }
5298 inline void FinishResponse::Builder::adoptFeatures(
5299 ::capnp::Orphan< ::piper::FeatureSet>&& value) {
5300 ::capnp::_::PointerHelpers< ::piper::FeatureSet>::adopt(
5301 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
5302 }
5303 inline ::capnp::Orphan< ::piper::FeatureSet> FinishResponse::Builder::disownFeatures() {
5304 return ::capnp::_::PointerHelpers< ::piper::FeatureSet>::disown(
5305 _builder.getPointerField(0 * ::capnp::POINTERS));
5306 }
5307
5308 inline ::int32_t Error::Reader::getCode() const {
5309 return _reader.getDataField< ::int32_t>(
5310 0 * ::capnp::ELEMENTS);
5311 }
5312
5313 inline ::int32_t Error::Builder::getCode() {
5314 return _builder.getDataField< ::int32_t>(
5315 0 * ::capnp::ELEMENTS);
5316 }
5317 inline void Error::Builder::setCode( ::int32_t value) {
5318 _builder.setDataField< ::int32_t>(
5319 0 * ::capnp::ELEMENTS, value);
5320 }
5321
5322 inline bool Error::Reader::hasMessage() const {
5323 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
5324 }
5325 inline bool Error::Builder::hasMessage() {
5326 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
5327 }
5328 inline ::capnp::Text::Reader Error::Reader::getMessage() const {
5329 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
5330 _reader.getPointerField(0 * ::capnp::POINTERS));
5331 }
5332 inline ::capnp::Text::Builder Error::Builder::getMessage() {
5333 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
5334 _builder.getPointerField(0 * ::capnp::POINTERS));
5335 }
5336 inline void Error::Builder::setMessage( ::capnp::Text::Reader value) {
5337 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
5338 _builder.getPointerField(0 * ::capnp::POINTERS), value);
5339 }
5340 inline ::capnp::Text::Builder Error::Builder::initMessage(unsigned int size) {
5341 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
5342 _builder.getPointerField(0 * ::capnp::POINTERS), size);
5343 }
5344 inline void Error::Builder::adoptMessage(
5345 ::capnp::Orphan< ::capnp::Text>&& value) {
5346 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
5347 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
5348 }
5349 inline ::capnp::Orphan< ::capnp::Text> Error::Builder::disownMessage() {
5350 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
5351 _builder.getPointerField(0 * ::capnp::POINTERS));
5352 }
5353
5354 inline RpcRequest::Id::Reader RpcRequest::Reader::getId() const {
5355 return RpcRequest::Id::Reader(_reader);
5356 }
5357 inline RpcRequest::Id::Builder RpcRequest::Builder::getId() {
5358 return RpcRequest::Id::Builder(_builder);
5359 }
5360 #if !CAPNP_LITE
5361 inline RpcRequest::Id::Pipeline RpcRequest::Pipeline::getId() {
5362 return RpcRequest::Id::Pipeline(_typeless.noop());
5363 }
5364 #endif // !CAPNP_LITE
5365 inline RpcRequest::Id::Builder RpcRequest::Builder::initId() {
5366 _builder.setDataField< ::uint32_t>(0 * ::capnp::ELEMENTS, 0);
5367 _builder.setDataField< ::uint16_t>(2 * ::capnp::ELEMENTS, 0);
5368 _builder.getPointerField(0 * ::capnp::POINTERS).clear();
5369 return RpcRequest::Id::Builder(_builder);
5370 }
5371 inline RpcRequest::Request::Reader RpcRequest::Reader::getRequest() const {
5372 return RpcRequest::Request::Reader(_reader);
5373 }
5374 inline RpcRequest::Request::Builder RpcRequest::Builder::getRequest() {
5375 return RpcRequest::Request::Builder(_builder);
5376 }
5377 #if !CAPNP_LITE
5378 inline RpcRequest::Request::Pipeline RpcRequest::Pipeline::getRequest() {
5379 return RpcRequest::Request::Pipeline(_typeless.noop());
5380 }
5381 #endif // !CAPNP_LITE
5382 inline RpcRequest::Request::Builder RpcRequest::Builder::initRequest() {
5383 _builder.setDataField< ::uint16_t>(3 * ::capnp::ELEMENTS, 0);
5384 _builder.getPointerField(1 * ::capnp::POINTERS).clear();
5385 return RpcRequest::Request::Builder(_builder);
5386 }
5387 inline ::piper::RpcRequest::Id::Which RpcRequest::Id::Reader::which() const {
5388 return _reader.getDataField<Which>(2 * ::capnp::ELEMENTS);
5389 }
5390 inline ::piper::RpcRequest::Id::Which RpcRequest::Id::Builder::which() {
5391 return _builder.getDataField<Which>(2 * ::capnp::ELEMENTS);
5392 }
5393
5394 inline bool RpcRequest::Id::Reader::isNumber() const {
5395 return which() == RpcRequest::Id::NUMBER;
5396 }
5397 inline bool RpcRequest::Id::Builder::isNumber() {
5398 return which() == RpcRequest::Id::NUMBER;
5399 }
5400 inline ::int32_t RpcRequest::Id::Reader::getNumber() const {
5401 KJ_IREQUIRE((which() == RpcRequest::Id::NUMBER),
5402 "Must check which() before get()ing a union member.");
5403 return _reader.getDataField< ::int32_t>(
5404 0 * ::capnp::ELEMENTS);
5405 }
5406
5407 inline ::int32_t RpcRequest::Id::Builder::getNumber() {
5408 KJ_IREQUIRE((which() == RpcRequest::Id::NUMBER),
5409 "Must check which() before get()ing a union member.");
5410 return _builder.getDataField< ::int32_t>(
5411 0 * ::capnp::ELEMENTS);
5412 }
5413 inline void RpcRequest::Id::Builder::setNumber( ::int32_t value) {
5414 _builder.setDataField<RpcRequest::Id::Which>(
5415 2 * ::capnp::ELEMENTS, RpcRequest::Id::NUMBER);
5416 _builder.setDataField< ::int32_t>(
5417 0 * ::capnp::ELEMENTS, value);
5418 }
5419
5420 inline bool RpcRequest::Id::Reader::isTag() const {
5421 return which() == RpcRequest::Id::TAG;
5422 }
5423 inline bool RpcRequest::Id::Builder::isTag() {
5424 return which() == RpcRequest::Id::TAG;
5425 }
5426 inline bool RpcRequest::Id::Reader::hasTag() const {
5427 if (which() != RpcRequest::Id::TAG) return false;
5428 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
5429 }
5430 inline bool RpcRequest::Id::Builder::hasTag() {
5431 if (which() != RpcRequest::Id::TAG) return false;
5432 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
5433 }
5434 inline ::capnp::Text::Reader RpcRequest::Id::Reader::getTag() const {
5435 KJ_IREQUIRE((which() == RpcRequest::Id::TAG),
5436 "Must check which() before get()ing a union member.");
5437 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
5438 _reader.getPointerField(0 * ::capnp::POINTERS));
5439 }
5440 inline ::capnp::Text::Builder RpcRequest::Id::Builder::getTag() {
5441 KJ_IREQUIRE((which() == RpcRequest::Id::TAG),
5442 "Must check which() before get()ing a union member.");
5443 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
5444 _builder.getPointerField(0 * ::capnp::POINTERS));
5445 }
5446 inline void RpcRequest::Id::Builder::setTag( ::capnp::Text::Reader value) {
5447 _builder.setDataField<RpcRequest::Id::Which>(
5448 2 * ::capnp::ELEMENTS, RpcRequest::Id::TAG);
5449 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
5450 _builder.getPointerField(0 * ::capnp::POINTERS), value);
5451 }
5452 inline ::capnp::Text::Builder RpcRequest::Id::Builder::initTag(unsigned int size) {
5453 _builder.setDataField<RpcRequest::Id::Which>(
5454 2 * ::capnp::ELEMENTS, RpcRequest::Id::TAG);
5455 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
5456 _builder.getPointerField(0 * ::capnp::POINTERS), size);
5457 }
5458 inline void RpcRequest::Id::Builder::adoptTag(
5459 ::capnp::Orphan< ::capnp::Text>&& value) {
5460 _builder.setDataField<RpcRequest::Id::Which>(
5461 2 * ::capnp::ELEMENTS, RpcRequest::Id::TAG);
5462 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
5463 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
5464 }
5465 inline ::capnp::Orphan< ::capnp::Text> RpcRequest::Id::Builder::disownTag() {
5466 KJ_IREQUIRE((which() == RpcRequest::Id::TAG),
5467 "Must check which() before get()ing a union member.");
5468 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
5469 _builder.getPointerField(0 * ::capnp::POINTERS));
5470 }
5471
5472 inline bool RpcRequest::Id::Reader::isNone() const {
5473 return which() == RpcRequest::Id::NONE;
5474 }
5475 inline bool RpcRequest::Id::Builder::isNone() {
5476 return which() == RpcRequest::Id::NONE;
5477 }
5478 inline ::capnp::Void RpcRequest::Id::Reader::getNone() const {
5479 KJ_IREQUIRE((which() == RpcRequest::Id::NONE),
5480 "Must check which() before get()ing a union member.");
5481 return _reader.getDataField< ::capnp::Void>(
5482 0 * ::capnp::ELEMENTS);
5483 }
5484
5485 inline ::capnp::Void RpcRequest::Id::Builder::getNone() {
5486 KJ_IREQUIRE((which() == RpcRequest::Id::NONE),
5487 "Must check which() before get()ing a union member.");
5488 return _builder.getDataField< ::capnp::Void>(
5489 0 * ::capnp::ELEMENTS);
5490 }
5491 inline void RpcRequest::Id::Builder::setNone( ::capnp::Void value) {
5492 _builder.setDataField<RpcRequest::Id::Which>(
5493 2 * ::capnp::ELEMENTS, RpcRequest::Id::NONE);
5494 _builder.setDataField< ::capnp::Void>(
5495 0 * ::capnp::ELEMENTS, value);
5496 }
5497
5498 inline ::piper::RpcRequest::Request::Which RpcRequest::Request::Reader::which() const {
5499 return _reader.getDataField<Which>(3 * ::capnp::ELEMENTS);
5500 }
5501 inline ::piper::RpcRequest::Request::Which RpcRequest::Request::Builder::which() {
5502 return _builder.getDataField<Which>(3 * ::capnp::ELEMENTS);
5503 }
5504
5505 inline bool RpcRequest::Request::Reader::isList() const {
5506 return which() == RpcRequest::Request::LIST;
5507 }
5508 inline bool RpcRequest::Request::Builder::isList() {
5509 return which() == RpcRequest::Request::LIST;
5510 }
5511 inline bool RpcRequest::Request::Reader::hasList() const {
5512 if (which() != RpcRequest::Request::LIST) return false;
5513 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
5514 }
5515 inline bool RpcRequest::Request::Builder::hasList() {
5516 if (which() != RpcRequest::Request::LIST) return false;
5517 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
5518 }
5519 inline ::piper::ListRequest::Reader RpcRequest::Request::Reader::getList() const {
5520 KJ_IREQUIRE((which() == RpcRequest::Request::LIST),
5521 "Must check which() before get()ing a union member.");
5522 return ::capnp::_::PointerHelpers< ::piper::ListRequest>::get(
5523 _reader.getPointerField(1 * ::capnp::POINTERS));
5524 }
5525 inline ::piper::ListRequest::Builder RpcRequest::Request::Builder::getList() {
5526 KJ_IREQUIRE((which() == RpcRequest::Request::LIST),
5527 "Must check which() before get()ing a union member.");
5528 return ::capnp::_::PointerHelpers< ::piper::ListRequest>::get(
5529 _builder.getPointerField(1 * ::capnp::POINTERS));
5530 }
5531 inline void RpcRequest::Request::Builder::setList( ::piper::ListRequest::Reader value) {
5532 _builder.setDataField<RpcRequest::Request::Which>(
5533 3 * ::capnp::ELEMENTS, RpcRequest::Request::LIST);
5534 ::capnp::_::PointerHelpers< ::piper::ListRequest>::set(
5535 _builder.getPointerField(1 * ::capnp::POINTERS), value);
5536 }
5537 inline ::piper::ListRequest::Builder RpcRequest::Request::Builder::initList() {
5538 _builder.setDataField<RpcRequest::Request::Which>(
5539 3 * ::capnp::ELEMENTS, RpcRequest::Request::LIST);
5540 return ::capnp::_::PointerHelpers< ::piper::ListRequest>::init(
5541 _builder.getPointerField(1 * ::capnp::POINTERS));
5542 }
5543 inline void RpcRequest::Request::Builder::adoptList(
5544 ::capnp::Orphan< ::piper::ListRequest>&& value) {
5545 _builder.setDataField<RpcRequest::Request::Which>(
5546 3 * ::capnp::ELEMENTS, RpcRequest::Request::LIST);
5547 ::capnp::_::PointerHelpers< ::piper::ListRequest>::adopt(
5548 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
5549 }
5550 inline ::capnp::Orphan< ::piper::ListRequest> RpcRequest::Request::Builder::disownList() {
5551 KJ_IREQUIRE((which() == RpcRequest::Request::LIST),
5552 "Must check which() before get()ing a union member.");
5553 return ::capnp::_::PointerHelpers< ::piper::ListRequest>::disown(
5554 _builder.getPointerField(1 * ::capnp::POINTERS));
5555 }
5556
5557 inline bool RpcRequest::Request::Reader::isLoad() const {
5558 return which() == RpcRequest::Request::LOAD;
5559 }
5560 inline bool RpcRequest::Request::Builder::isLoad() {
5561 return which() == RpcRequest::Request::LOAD;
5562 }
5563 inline bool RpcRequest::Request::Reader::hasLoad() const {
5564 if (which() != RpcRequest::Request::LOAD) return false;
5565 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
5566 }
5567 inline bool RpcRequest::Request::Builder::hasLoad() {
5568 if (which() != RpcRequest::Request::LOAD) return false;
5569 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
5570 }
5571 inline ::piper::LoadRequest::Reader RpcRequest::Request::Reader::getLoad() const {
5572 KJ_IREQUIRE((which() == RpcRequest::Request::LOAD),
5573 "Must check which() before get()ing a union member.");
5574 return ::capnp::_::PointerHelpers< ::piper::LoadRequest>::get(
5575 _reader.getPointerField(1 * ::capnp::POINTERS));
5576 }
5577 inline ::piper::LoadRequest::Builder RpcRequest::Request::Builder::getLoad() {
5578 KJ_IREQUIRE((which() == RpcRequest::Request::LOAD),
5579 "Must check which() before get()ing a union member.");
5580 return ::capnp::_::PointerHelpers< ::piper::LoadRequest>::get(
5581 _builder.getPointerField(1 * ::capnp::POINTERS));
5582 }
5583 inline void RpcRequest::Request::Builder::setLoad( ::piper::LoadRequest::Reader value) {
5584 _builder.setDataField<RpcRequest::Request::Which>(
5585 3 * ::capnp::ELEMENTS, RpcRequest::Request::LOAD);
5586 ::capnp::_::PointerHelpers< ::piper::LoadRequest>::set(
5587 _builder.getPointerField(1 * ::capnp::POINTERS), value);
5588 }
5589 inline ::piper::LoadRequest::Builder RpcRequest::Request::Builder::initLoad() {
5590 _builder.setDataField<RpcRequest::Request::Which>(
5591 3 * ::capnp::ELEMENTS, RpcRequest::Request::LOAD);
5592 return ::capnp::_::PointerHelpers< ::piper::LoadRequest>::init(
5593 _builder.getPointerField(1 * ::capnp::POINTERS));
5594 }
5595 inline void RpcRequest::Request::Builder::adoptLoad(
5596 ::capnp::Orphan< ::piper::LoadRequest>&& value) {
5597 _builder.setDataField<RpcRequest::Request::Which>(
5598 3 * ::capnp::ELEMENTS, RpcRequest::Request::LOAD);
5599 ::capnp::_::PointerHelpers< ::piper::LoadRequest>::adopt(
5600 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
5601 }
5602 inline ::capnp::Orphan< ::piper::LoadRequest> RpcRequest::Request::Builder::disownLoad() {
5603 KJ_IREQUIRE((which() == RpcRequest::Request::LOAD),
5604 "Must check which() before get()ing a union member.");
5605 return ::capnp::_::PointerHelpers< ::piper::LoadRequest>::disown(
5606 _builder.getPointerField(1 * ::capnp::POINTERS));
5607 }
5608
5609 inline bool RpcRequest::Request::Reader::isConfigure() const {
5610 return which() == RpcRequest::Request::CONFIGURE;
5611 }
5612 inline bool RpcRequest::Request::Builder::isConfigure() {
5613 return which() == RpcRequest::Request::CONFIGURE;
5614 }
5615 inline bool RpcRequest::Request::Reader::hasConfigure() const {
5616 if (which() != RpcRequest::Request::CONFIGURE) return false;
5617 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
5618 }
5619 inline bool RpcRequest::Request::Builder::hasConfigure() {
5620 if (which() != RpcRequest::Request::CONFIGURE) return false;
5621 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
5622 }
5623 inline ::piper::ConfigurationRequest::Reader RpcRequest::Request::Reader::getConfigure() const {
5624 KJ_IREQUIRE((which() == RpcRequest::Request::CONFIGURE),
5625 "Must check which() before get()ing a union member.");
5626 return ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::get(
5627 _reader.getPointerField(1 * ::capnp::POINTERS));
5628 }
5629 inline ::piper::ConfigurationRequest::Builder RpcRequest::Request::Builder::getConfigure() {
5630 KJ_IREQUIRE((which() == RpcRequest::Request::CONFIGURE),
5631 "Must check which() before get()ing a union member.");
5632 return ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::get(
5633 _builder.getPointerField(1 * ::capnp::POINTERS));
5634 }
5635 inline void RpcRequest::Request::Builder::setConfigure( ::piper::ConfigurationRequest::Reader value) {
5636 _builder.setDataField<RpcRequest::Request::Which>(
5637 3 * ::capnp::ELEMENTS, RpcRequest::Request::CONFIGURE);
5638 ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::set(
5639 _builder.getPointerField(1 * ::capnp::POINTERS), value);
5640 }
5641 inline ::piper::ConfigurationRequest::Builder RpcRequest::Request::Builder::initConfigure() {
5642 _builder.setDataField<RpcRequest::Request::Which>(
5643 3 * ::capnp::ELEMENTS, RpcRequest::Request::CONFIGURE);
5644 return ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::init(
5645 _builder.getPointerField(1 * ::capnp::POINTERS));
5646 }
5647 inline void RpcRequest::Request::Builder::adoptConfigure(
5648 ::capnp::Orphan< ::piper::ConfigurationRequest>&& value) {
5649 _builder.setDataField<RpcRequest::Request::Which>(
5650 3 * ::capnp::ELEMENTS, RpcRequest::Request::CONFIGURE);
5651 ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::adopt(
5652 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
5653 }
5654 inline ::capnp::Orphan< ::piper::ConfigurationRequest> RpcRequest::Request::Builder::disownConfigure() {
5655 KJ_IREQUIRE((which() == RpcRequest::Request::CONFIGURE),
5656 "Must check which() before get()ing a union member.");
5657 return ::capnp::_::PointerHelpers< ::piper::ConfigurationRequest>::disown(
5658 _builder.getPointerField(1 * ::capnp::POINTERS));
5659 }
5660
5661 inline bool RpcRequest::Request::Reader::isProcess() const {
5662 return which() == RpcRequest::Request::PROCESS;
5663 }
5664 inline bool RpcRequest::Request::Builder::isProcess() {
5665 return which() == RpcRequest::Request::PROCESS;
5666 }
5667 inline bool RpcRequest::Request::Reader::hasProcess() const {
5668 if (which() != RpcRequest::Request::PROCESS) return false;
5669 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
5670 }
5671 inline bool RpcRequest::Request::Builder::hasProcess() {
5672 if (which() != RpcRequest::Request::PROCESS) return false;
5673 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
5674 }
5675 inline ::piper::ProcessRequest::Reader RpcRequest::Request::Reader::getProcess() const {
5676 KJ_IREQUIRE((which() == RpcRequest::Request::PROCESS),
5677 "Must check which() before get()ing a union member.");
5678 return ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::get(
5679 _reader.getPointerField(1 * ::capnp::POINTERS));
5680 }
5681 inline ::piper::ProcessRequest::Builder RpcRequest::Request::Builder::getProcess() {
5682 KJ_IREQUIRE((which() == RpcRequest::Request::PROCESS),
5683 "Must check which() before get()ing a union member.");
5684 return ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::get(
5685 _builder.getPointerField(1 * ::capnp::POINTERS));
5686 }
5687 inline void RpcRequest::Request::Builder::setProcess( ::piper::ProcessRequest::Reader value) {
5688 _builder.setDataField<RpcRequest::Request::Which>(
5689 3 * ::capnp::ELEMENTS, RpcRequest::Request::PROCESS);
5690 ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::set(
5691 _builder.getPointerField(1 * ::capnp::POINTERS), value);
5692 }
5693 inline ::piper::ProcessRequest::Builder RpcRequest::Request::Builder::initProcess() {
5694 _builder.setDataField<RpcRequest::Request::Which>(
5695 3 * ::capnp::ELEMENTS, RpcRequest::Request::PROCESS);
5696 return ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::init(
5697 _builder.getPointerField(1 * ::capnp::POINTERS));
5698 }
5699 inline void RpcRequest::Request::Builder::adoptProcess(
5700 ::capnp::Orphan< ::piper::ProcessRequest>&& value) {
5701 _builder.setDataField<RpcRequest::Request::Which>(
5702 3 * ::capnp::ELEMENTS, RpcRequest::Request::PROCESS);
5703 ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::adopt(
5704 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
5705 }
5706 inline ::capnp::Orphan< ::piper::ProcessRequest> RpcRequest::Request::Builder::disownProcess() {
5707 KJ_IREQUIRE((which() == RpcRequest::Request::PROCESS),
5708 "Must check which() before get()ing a union member.");
5709 return ::capnp::_::PointerHelpers< ::piper::ProcessRequest>::disown(
5710 _builder.getPointerField(1 * ::capnp::POINTERS));
5711 }
5712
5713 inline bool RpcRequest::Request::Reader::isFinish() const {
5714 return which() == RpcRequest::Request::FINISH;
5715 }
5716 inline bool RpcRequest::Request::Builder::isFinish() {
5717 return which() == RpcRequest::Request::FINISH;
5718 }
5719 inline bool RpcRequest::Request::Reader::hasFinish() const {
5720 if (which() != RpcRequest::Request::FINISH) return false;
5721 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
5722 }
5723 inline bool RpcRequest::Request::Builder::hasFinish() {
5724 if (which() != RpcRequest::Request::FINISH) return false;
5725 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
5726 }
5727 inline ::piper::FinishRequest::Reader RpcRequest::Request::Reader::getFinish() const {
5728 KJ_IREQUIRE((which() == RpcRequest::Request::FINISH),
5729 "Must check which() before get()ing a union member.");
5730 return ::capnp::_::PointerHelpers< ::piper::FinishRequest>::get(
5731 _reader.getPointerField(1 * ::capnp::POINTERS));
5732 }
5733 inline ::piper::FinishRequest::Builder RpcRequest::Request::Builder::getFinish() {
5734 KJ_IREQUIRE((which() == RpcRequest::Request::FINISH),
5735 "Must check which() before get()ing a union member.");
5736 return ::capnp::_::PointerHelpers< ::piper::FinishRequest>::get(
5737 _builder.getPointerField(1 * ::capnp::POINTERS));
5738 }
5739 inline void RpcRequest::Request::Builder::setFinish( ::piper::FinishRequest::Reader value) {
5740 _builder.setDataField<RpcRequest::Request::Which>(
5741 3 * ::capnp::ELEMENTS, RpcRequest::Request::FINISH);
5742 ::capnp::_::PointerHelpers< ::piper::FinishRequest>::set(
5743 _builder.getPointerField(1 * ::capnp::POINTERS), value);
5744 }
5745 inline ::piper::FinishRequest::Builder RpcRequest::Request::Builder::initFinish() {
5746 _builder.setDataField<RpcRequest::Request::Which>(
5747 3 * ::capnp::ELEMENTS, RpcRequest::Request::FINISH);
5748 return ::capnp::_::PointerHelpers< ::piper::FinishRequest>::init(
5749 _builder.getPointerField(1 * ::capnp::POINTERS));
5750 }
5751 inline void RpcRequest::Request::Builder::adoptFinish(
5752 ::capnp::Orphan< ::piper::FinishRequest>&& value) {
5753 _builder.setDataField<RpcRequest::Request::Which>(
5754 3 * ::capnp::ELEMENTS, RpcRequest::Request::FINISH);
5755 ::capnp::_::PointerHelpers< ::piper::FinishRequest>::adopt(
5756 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
5757 }
5758 inline ::capnp::Orphan< ::piper::FinishRequest> RpcRequest::Request::Builder::disownFinish() {
5759 KJ_IREQUIRE((which() == RpcRequest::Request::FINISH),
5760 "Must check which() before get()ing a union member.");
5761 return ::capnp::_::PointerHelpers< ::piper::FinishRequest>::disown(
5762 _builder.getPointerField(1 * ::capnp::POINTERS));
5763 }
5764
5765 inline RpcResponse::Id::Reader RpcResponse::Reader::getId() const {
5766 return RpcResponse::Id::Reader(_reader);
5767 }
5768 inline RpcResponse::Id::Builder RpcResponse::Builder::getId() {
5769 return RpcResponse::Id::Builder(_builder);
5770 }
5771 #if !CAPNP_LITE
5772 inline RpcResponse::Id::Pipeline RpcResponse::Pipeline::getId() {
5773 return RpcResponse::Id::Pipeline(_typeless.noop());
5774 }
5775 #endif // !CAPNP_LITE
5776 inline RpcResponse::Id::Builder RpcResponse::Builder::initId() {
5777 _builder.setDataField< ::uint32_t>(0 * ::capnp::ELEMENTS, 0);
5778 _builder.setDataField< ::uint16_t>(2 * ::capnp::ELEMENTS, 0);
5779 _builder.getPointerField(0 * ::capnp::POINTERS).clear();
5780 return RpcResponse::Id::Builder(_builder);
5781 }
5782 inline RpcResponse::Response::Reader RpcResponse::Reader::getResponse() const {
5783 return RpcResponse::Response::Reader(_reader);
5784 }
5785 inline RpcResponse::Response::Builder RpcResponse::Builder::getResponse() {
5786 return RpcResponse::Response::Builder(_builder);
5787 }
5788 #if !CAPNP_LITE
5789 inline RpcResponse::Response::Pipeline RpcResponse::Pipeline::getResponse() {
5790 return RpcResponse::Response::Pipeline(_typeless.noop());
5791 }
5792 #endif // !CAPNP_LITE
5793 inline RpcResponse::Response::Builder RpcResponse::Builder::initResponse() {
5794 _builder.setDataField< ::uint16_t>(3 * ::capnp::ELEMENTS, 0);
5795 _builder.getPointerField(1 * ::capnp::POINTERS).clear();
5796 return RpcResponse::Response::Builder(_builder);
5797 }
5798 inline ::piper::RpcResponse::Id::Which RpcResponse::Id::Reader::which() const {
5799 return _reader.getDataField<Which>(2 * ::capnp::ELEMENTS);
5800 }
5801 inline ::piper::RpcResponse::Id::Which RpcResponse::Id::Builder::which() {
5802 return _builder.getDataField<Which>(2 * ::capnp::ELEMENTS);
5803 }
5804
5805 inline bool RpcResponse::Id::Reader::isNumber() const {
5806 return which() == RpcResponse::Id::NUMBER;
5807 }
5808 inline bool RpcResponse::Id::Builder::isNumber() {
5809 return which() == RpcResponse::Id::NUMBER;
5810 }
5811 inline ::int32_t RpcResponse::Id::Reader::getNumber() const {
5812 KJ_IREQUIRE((which() == RpcResponse::Id::NUMBER),
5813 "Must check which() before get()ing a union member.");
5814 return _reader.getDataField< ::int32_t>(
5815 0 * ::capnp::ELEMENTS);
5816 }
5817
5818 inline ::int32_t RpcResponse::Id::Builder::getNumber() {
5819 KJ_IREQUIRE((which() == RpcResponse::Id::NUMBER),
5820 "Must check which() before get()ing a union member.");
5821 return _builder.getDataField< ::int32_t>(
5822 0 * ::capnp::ELEMENTS);
5823 }
5824 inline void RpcResponse::Id::Builder::setNumber( ::int32_t value) {
5825 _builder.setDataField<RpcResponse::Id::Which>(
5826 2 * ::capnp::ELEMENTS, RpcResponse::Id::NUMBER);
5827 _builder.setDataField< ::int32_t>(
5828 0 * ::capnp::ELEMENTS, value);
5829 }
5830
5831 inline bool RpcResponse::Id::Reader::isTag() const {
5832 return which() == RpcResponse::Id::TAG;
5833 }
5834 inline bool RpcResponse::Id::Builder::isTag() {
5835 return which() == RpcResponse::Id::TAG;
5836 }
5837 inline bool RpcResponse::Id::Reader::hasTag() const {
5838 if (which() != RpcResponse::Id::TAG) return false;
5839 return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
5840 }
5841 inline bool RpcResponse::Id::Builder::hasTag() {
5842 if (which() != RpcResponse::Id::TAG) return false;
5843 return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
5844 }
5845 inline ::capnp::Text::Reader RpcResponse::Id::Reader::getTag() const {
5846 KJ_IREQUIRE((which() == RpcResponse::Id::TAG),
5847 "Must check which() before get()ing a union member.");
5848 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
5849 _reader.getPointerField(0 * ::capnp::POINTERS));
5850 }
5851 inline ::capnp::Text::Builder RpcResponse::Id::Builder::getTag() {
5852 KJ_IREQUIRE((which() == RpcResponse::Id::TAG),
5853 "Must check which() before get()ing a union member.");
5854 return ::capnp::_::PointerHelpers< ::capnp::Text>::get(
5855 _builder.getPointerField(0 * ::capnp::POINTERS));
5856 }
5857 inline void RpcResponse::Id::Builder::setTag( ::capnp::Text::Reader value) {
5858 _builder.setDataField<RpcResponse::Id::Which>(
5859 2 * ::capnp::ELEMENTS, RpcResponse::Id::TAG);
5860 ::capnp::_::PointerHelpers< ::capnp::Text>::set(
5861 _builder.getPointerField(0 * ::capnp::POINTERS), value);
5862 }
5863 inline ::capnp::Text::Builder RpcResponse::Id::Builder::initTag(unsigned int size) {
5864 _builder.setDataField<RpcResponse::Id::Which>(
5865 2 * ::capnp::ELEMENTS, RpcResponse::Id::TAG);
5866 return ::capnp::_::PointerHelpers< ::capnp::Text>::init(
5867 _builder.getPointerField(0 * ::capnp::POINTERS), size);
5868 }
5869 inline void RpcResponse::Id::Builder::adoptTag(
5870 ::capnp::Orphan< ::capnp::Text>&& value) {
5871 _builder.setDataField<RpcResponse::Id::Which>(
5872 2 * ::capnp::ELEMENTS, RpcResponse::Id::TAG);
5873 ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(
5874 _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
5875 }
5876 inline ::capnp::Orphan< ::capnp::Text> RpcResponse::Id::Builder::disownTag() {
5877 KJ_IREQUIRE((which() == RpcResponse::Id::TAG),
5878 "Must check which() before get()ing a union member.");
5879 return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(
5880 _builder.getPointerField(0 * ::capnp::POINTERS));
5881 }
5882
5883 inline bool RpcResponse::Id::Reader::isNone() const {
5884 return which() == RpcResponse::Id::NONE;
5885 }
5886 inline bool RpcResponse::Id::Builder::isNone() {
5887 return which() == RpcResponse::Id::NONE;
5888 }
5889 inline ::capnp::Void RpcResponse::Id::Reader::getNone() const {
5890 KJ_IREQUIRE((which() == RpcResponse::Id::NONE),
5891 "Must check which() before get()ing a union member.");
5892 return _reader.getDataField< ::capnp::Void>(
5893 0 * ::capnp::ELEMENTS);
5894 }
5895
5896 inline ::capnp::Void RpcResponse::Id::Builder::getNone() {
5897 KJ_IREQUIRE((which() == RpcResponse::Id::NONE),
5898 "Must check which() before get()ing a union member.");
5899 return _builder.getDataField< ::capnp::Void>(
5900 0 * ::capnp::ELEMENTS);
5901 }
5902 inline void RpcResponse::Id::Builder::setNone( ::capnp::Void value) {
5903 _builder.setDataField<RpcResponse::Id::Which>(
5904 2 * ::capnp::ELEMENTS, RpcResponse::Id::NONE);
5905 _builder.setDataField< ::capnp::Void>(
5906 0 * ::capnp::ELEMENTS, value);
5907 }
5908
5909 inline ::piper::RpcResponse::Response::Which RpcResponse::Response::Reader::which() const {
5910 return _reader.getDataField<Which>(3 * ::capnp::ELEMENTS);
5911 }
5912 inline ::piper::RpcResponse::Response::Which RpcResponse::Response::Builder::which() {
5913 return _builder.getDataField<Which>(3 * ::capnp::ELEMENTS);
5914 }
5915
5916 inline bool RpcResponse::Response::Reader::isError() const {
5917 return which() == RpcResponse::Response::ERROR;
5918 }
5919 inline bool RpcResponse::Response::Builder::isError() {
5920 return which() == RpcResponse::Response::ERROR;
5921 }
5922 inline bool RpcResponse::Response::Reader::hasError() const {
5923 if (which() != RpcResponse::Response::ERROR) return false;
5924 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
5925 }
5926 inline bool RpcResponse::Response::Builder::hasError() {
5927 if (which() != RpcResponse::Response::ERROR) return false;
5928 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
5929 }
5930 inline ::piper::Error::Reader RpcResponse::Response::Reader::getError() const {
5931 KJ_IREQUIRE((which() == RpcResponse::Response::ERROR),
5932 "Must check which() before get()ing a union member.");
5933 return ::capnp::_::PointerHelpers< ::piper::Error>::get(
5934 _reader.getPointerField(1 * ::capnp::POINTERS));
5935 }
5936 inline ::piper::Error::Builder RpcResponse::Response::Builder::getError() {
5937 KJ_IREQUIRE((which() == RpcResponse::Response::ERROR),
5938 "Must check which() before get()ing a union member.");
5939 return ::capnp::_::PointerHelpers< ::piper::Error>::get(
5940 _builder.getPointerField(1 * ::capnp::POINTERS));
5941 }
5942 inline void RpcResponse::Response::Builder::setError( ::piper::Error::Reader value) {
5943 _builder.setDataField<RpcResponse::Response::Which>(
5944 3 * ::capnp::ELEMENTS, RpcResponse::Response::ERROR);
5945 ::capnp::_::PointerHelpers< ::piper::Error>::set(
5946 _builder.getPointerField(1 * ::capnp::POINTERS), value);
5947 }
5948 inline ::piper::Error::Builder RpcResponse::Response::Builder::initError() {
5949 _builder.setDataField<RpcResponse::Response::Which>(
5950 3 * ::capnp::ELEMENTS, RpcResponse::Response::ERROR);
5951 return ::capnp::_::PointerHelpers< ::piper::Error>::init(
5952 _builder.getPointerField(1 * ::capnp::POINTERS));
5953 }
5954 inline void RpcResponse::Response::Builder::adoptError(
5955 ::capnp::Orphan< ::piper::Error>&& value) {
5956 _builder.setDataField<RpcResponse::Response::Which>(
5957 3 * ::capnp::ELEMENTS, RpcResponse::Response::ERROR);
5958 ::capnp::_::PointerHelpers< ::piper::Error>::adopt(
5959 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
5960 }
5961 inline ::capnp::Orphan< ::piper::Error> RpcResponse::Response::Builder::disownError() {
5962 KJ_IREQUIRE((which() == RpcResponse::Response::ERROR),
5963 "Must check which() before get()ing a union member.");
5964 return ::capnp::_::PointerHelpers< ::piper::Error>::disown(
5965 _builder.getPointerField(1 * ::capnp::POINTERS));
5966 }
5967
5968 inline bool RpcResponse::Response::Reader::isList() const {
5969 return which() == RpcResponse::Response::LIST;
5970 }
5971 inline bool RpcResponse::Response::Builder::isList() {
5972 return which() == RpcResponse::Response::LIST;
5973 }
5974 inline bool RpcResponse::Response::Reader::hasList() const {
5975 if (which() != RpcResponse::Response::LIST) return false;
5976 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
5977 }
5978 inline bool RpcResponse::Response::Builder::hasList() {
5979 if (which() != RpcResponse::Response::LIST) return false;
5980 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
5981 }
5982 inline ::piper::ListResponse::Reader RpcResponse::Response::Reader::getList() const {
5983 KJ_IREQUIRE((which() == RpcResponse::Response::LIST),
5984 "Must check which() before get()ing a union member.");
5985 return ::capnp::_::PointerHelpers< ::piper::ListResponse>::get(
5986 _reader.getPointerField(1 * ::capnp::POINTERS));
5987 }
5988 inline ::piper::ListResponse::Builder RpcResponse::Response::Builder::getList() {
5989 KJ_IREQUIRE((which() == RpcResponse::Response::LIST),
5990 "Must check which() before get()ing a union member.");
5991 return ::capnp::_::PointerHelpers< ::piper::ListResponse>::get(
5992 _builder.getPointerField(1 * ::capnp::POINTERS));
5993 }
5994 inline void RpcResponse::Response::Builder::setList( ::piper::ListResponse::Reader value) {
5995 _builder.setDataField<RpcResponse::Response::Which>(
5996 3 * ::capnp::ELEMENTS, RpcResponse::Response::LIST);
5997 ::capnp::_::PointerHelpers< ::piper::ListResponse>::set(
5998 _builder.getPointerField(1 * ::capnp::POINTERS), value);
5999 }
6000 inline ::piper::ListResponse::Builder RpcResponse::Response::Builder::initList() {
6001 _builder.setDataField<RpcResponse::Response::Which>(
6002 3 * ::capnp::ELEMENTS, RpcResponse::Response::LIST);
6003 return ::capnp::_::PointerHelpers< ::piper::ListResponse>::init(
6004 _builder.getPointerField(1 * ::capnp::POINTERS));
6005 }
6006 inline void RpcResponse::Response::Builder::adoptList(
6007 ::capnp::Orphan< ::piper::ListResponse>&& value) {
6008 _builder.setDataField<RpcResponse::Response::Which>(
6009 3 * ::capnp::ELEMENTS, RpcResponse::Response::LIST);
6010 ::capnp::_::PointerHelpers< ::piper::ListResponse>::adopt(
6011 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
6012 }
6013 inline ::capnp::Orphan< ::piper::ListResponse> RpcResponse::Response::Builder::disownList() {
6014 KJ_IREQUIRE((which() == RpcResponse::Response::LIST),
6015 "Must check which() before get()ing a union member.");
6016 return ::capnp::_::PointerHelpers< ::piper::ListResponse>::disown(
6017 _builder.getPointerField(1 * ::capnp::POINTERS));
6018 }
6019
6020 inline bool RpcResponse::Response::Reader::isLoad() const {
6021 return which() == RpcResponse::Response::LOAD;
6022 }
6023 inline bool RpcResponse::Response::Builder::isLoad() {
6024 return which() == RpcResponse::Response::LOAD;
6025 }
6026 inline bool RpcResponse::Response::Reader::hasLoad() const {
6027 if (which() != RpcResponse::Response::LOAD) return false;
6028 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
6029 }
6030 inline bool RpcResponse::Response::Builder::hasLoad() {
6031 if (which() != RpcResponse::Response::LOAD) return false;
6032 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
6033 }
6034 inline ::piper::LoadResponse::Reader RpcResponse::Response::Reader::getLoad() const {
6035 KJ_IREQUIRE((which() == RpcResponse::Response::LOAD),
6036 "Must check which() before get()ing a union member.");
6037 return ::capnp::_::PointerHelpers< ::piper::LoadResponse>::get(
6038 _reader.getPointerField(1 * ::capnp::POINTERS));
6039 }
6040 inline ::piper::LoadResponse::Builder RpcResponse::Response::Builder::getLoad() {
6041 KJ_IREQUIRE((which() == RpcResponse::Response::LOAD),
6042 "Must check which() before get()ing a union member.");
6043 return ::capnp::_::PointerHelpers< ::piper::LoadResponse>::get(
6044 _builder.getPointerField(1 * ::capnp::POINTERS));
6045 }
6046 inline void RpcResponse::Response::Builder::setLoad( ::piper::LoadResponse::Reader value) {
6047 _builder.setDataField<RpcResponse::Response::Which>(
6048 3 * ::capnp::ELEMENTS, RpcResponse::Response::LOAD);
6049 ::capnp::_::PointerHelpers< ::piper::LoadResponse>::set(
6050 _builder.getPointerField(1 * ::capnp::POINTERS), value);
6051 }
6052 inline ::piper::LoadResponse::Builder RpcResponse::Response::Builder::initLoad() {
6053 _builder.setDataField<RpcResponse::Response::Which>(
6054 3 * ::capnp::ELEMENTS, RpcResponse::Response::LOAD);
6055 return ::capnp::_::PointerHelpers< ::piper::LoadResponse>::init(
6056 _builder.getPointerField(1 * ::capnp::POINTERS));
6057 }
6058 inline void RpcResponse::Response::Builder::adoptLoad(
6059 ::capnp::Orphan< ::piper::LoadResponse>&& value) {
6060 _builder.setDataField<RpcResponse::Response::Which>(
6061 3 * ::capnp::ELEMENTS, RpcResponse::Response::LOAD);
6062 ::capnp::_::PointerHelpers< ::piper::LoadResponse>::adopt(
6063 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
6064 }
6065 inline ::capnp::Orphan< ::piper::LoadResponse> RpcResponse::Response::Builder::disownLoad() {
6066 KJ_IREQUIRE((which() == RpcResponse::Response::LOAD),
6067 "Must check which() before get()ing a union member.");
6068 return ::capnp::_::PointerHelpers< ::piper::LoadResponse>::disown(
6069 _builder.getPointerField(1 * ::capnp::POINTERS));
6070 }
6071
6072 inline bool RpcResponse::Response::Reader::isConfigure() const {
6073 return which() == RpcResponse::Response::CONFIGURE;
6074 }
6075 inline bool RpcResponse::Response::Builder::isConfigure() {
6076 return which() == RpcResponse::Response::CONFIGURE;
6077 }
6078 inline bool RpcResponse::Response::Reader::hasConfigure() const {
6079 if (which() != RpcResponse::Response::CONFIGURE) return false;
6080 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
6081 }
6082 inline bool RpcResponse::Response::Builder::hasConfigure() {
6083 if (which() != RpcResponse::Response::CONFIGURE) return false;
6084 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
6085 }
6086 inline ::piper::ConfigurationResponse::Reader RpcResponse::Response::Reader::getConfigure() const {
6087 KJ_IREQUIRE((which() == RpcResponse::Response::CONFIGURE),
6088 "Must check which() before get()ing a union member.");
6089 return ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::get(
6090 _reader.getPointerField(1 * ::capnp::POINTERS));
6091 }
6092 inline ::piper::ConfigurationResponse::Builder RpcResponse::Response::Builder::getConfigure() {
6093 KJ_IREQUIRE((which() == RpcResponse::Response::CONFIGURE),
6094 "Must check which() before get()ing a union member.");
6095 return ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::get(
6096 _builder.getPointerField(1 * ::capnp::POINTERS));
6097 }
6098 inline void RpcResponse::Response::Builder::setConfigure( ::piper::ConfigurationResponse::Reader value) {
6099 _builder.setDataField<RpcResponse::Response::Which>(
6100 3 * ::capnp::ELEMENTS, RpcResponse::Response::CONFIGURE);
6101 ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::set(
6102 _builder.getPointerField(1 * ::capnp::POINTERS), value);
6103 }
6104 inline ::piper::ConfigurationResponse::Builder RpcResponse::Response::Builder::initConfigure() {
6105 _builder.setDataField<RpcResponse::Response::Which>(
6106 3 * ::capnp::ELEMENTS, RpcResponse::Response::CONFIGURE);
6107 return ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::init(
6108 _builder.getPointerField(1 * ::capnp::POINTERS));
6109 }
6110 inline void RpcResponse::Response::Builder::adoptConfigure(
6111 ::capnp::Orphan< ::piper::ConfigurationResponse>&& value) {
6112 _builder.setDataField<RpcResponse::Response::Which>(
6113 3 * ::capnp::ELEMENTS, RpcResponse::Response::CONFIGURE);
6114 ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::adopt(
6115 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
6116 }
6117 inline ::capnp::Orphan< ::piper::ConfigurationResponse> RpcResponse::Response::Builder::disownConfigure() {
6118 KJ_IREQUIRE((which() == RpcResponse::Response::CONFIGURE),
6119 "Must check which() before get()ing a union member.");
6120 return ::capnp::_::PointerHelpers< ::piper::ConfigurationResponse>::disown(
6121 _builder.getPointerField(1 * ::capnp::POINTERS));
6122 }
6123
6124 inline bool RpcResponse::Response::Reader::isProcess() const {
6125 return which() == RpcResponse::Response::PROCESS;
6126 }
6127 inline bool RpcResponse::Response::Builder::isProcess() {
6128 return which() == RpcResponse::Response::PROCESS;
6129 }
6130 inline bool RpcResponse::Response::Reader::hasProcess() const {
6131 if (which() != RpcResponse::Response::PROCESS) return false;
6132 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
6133 }
6134 inline bool RpcResponse::Response::Builder::hasProcess() {
6135 if (which() != RpcResponse::Response::PROCESS) return false;
6136 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
6137 }
6138 inline ::piper::ProcessResponse::Reader RpcResponse::Response::Reader::getProcess() const {
6139 KJ_IREQUIRE((which() == RpcResponse::Response::PROCESS),
6140 "Must check which() before get()ing a union member.");
6141 return ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::get(
6142 _reader.getPointerField(1 * ::capnp::POINTERS));
6143 }
6144 inline ::piper::ProcessResponse::Builder RpcResponse::Response::Builder::getProcess() {
6145 KJ_IREQUIRE((which() == RpcResponse::Response::PROCESS),
6146 "Must check which() before get()ing a union member.");
6147 return ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::get(
6148 _builder.getPointerField(1 * ::capnp::POINTERS));
6149 }
6150 inline void RpcResponse::Response::Builder::setProcess( ::piper::ProcessResponse::Reader value) {
6151 _builder.setDataField<RpcResponse::Response::Which>(
6152 3 * ::capnp::ELEMENTS, RpcResponse::Response::PROCESS);
6153 ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::set(
6154 _builder.getPointerField(1 * ::capnp::POINTERS), value);
6155 }
6156 inline ::piper::ProcessResponse::Builder RpcResponse::Response::Builder::initProcess() {
6157 _builder.setDataField<RpcResponse::Response::Which>(
6158 3 * ::capnp::ELEMENTS, RpcResponse::Response::PROCESS);
6159 return ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::init(
6160 _builder.getPointerField(1 * ::capnp::POINTERS));
6161 }
6162 inline void RpcResponse::Response::Builder::adoptProcess(
6163 ::capnp::Orphan< ::piper::ProcessResponse>&& value) {
6164 _builder.setDataField<RpcResponse::Response::Which>(
6165 3 * ::capnp::ELEMENTS, RpcResponse::Response::PROCESS);
6166 ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::adopt(
6167 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
6168 }
6169 inline ::capnp::Orphan< ::piper::ProcessResponse> RpcResponse::Response::Builder::disownProcess() {
6170 KJ_IREQUIRE((which() == RpcResponse::Response::PROCESS),
6171 "Must check which() before get()ing a union member.");
6172 return ::capnp::_::PointerHelpers< ::piper::ProcessResponse>::disown(
6173 _builder.getPointerField(1 * ::capnp::POINTERS));
6174 }
6175
6176 inline bool RpcResponse::Response::Reader::isFinish() const {
6177 return which() == RpcResponse::Response::FINISH;
6178 }
6179 inline bool RpcResponse::Response::Builder::isFinish() {
6180 return which() == RpcResponse::Response::FINISH;
6181 }
6182 inline bool RpcResponse::Response::Reader::hasFinish() const {
6183 if (which() != RpcResponse::Response::FINISH) return false;
6184 return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
6185 }
6186 inline bool RpcResponse::Response::Builder::hasFinish() {
6187 if (which() != RpcResponse::Response::FINISH) return false;
6188 return !_builder.getPointerField(1 * ::capnp::POINTERS).isNull();
6189 }
6190 inline ::piper::FinishResponse::Reader RpcResponse::Response::Reader::getFinish() const {
6191 KJ_IREQUIRE((which() == RpcResponse::Response::FINISH),
6192 "Must check which() before get()ing a union member.");
6193 return ::capnp::_::PointerHelpers< ::piper::FinishResponse>::get(
6194 _reader.getPointerField(1 * ::capnp::POINTERS));
6195 }
6196 inline ::piper::FinishResponse::Builder RpcResponse::Response::Builder::getFinish() {
6197 KJ_IREQUIRE((which() == RpcResponse::Response::FINISH),
6198 "Must check which() before get()ing a union member.");
6199 return ::capnp::_::PointerHelpers< ::piper::FinishResponse>::get(
6200 _builder.getPointerField(1 * ::capnp::POINTERS));
6201 }
6202 inline void RpcResponse::Response::Builder::setFinish( ::piper::FinishResponse::Reader value) {
6203 _builder.setDataField<RpcResponse::Response::Which>(
6204 3 * ::capnp::ELEMENTS, RpcResponse::Response::FINISH);
6205 ::capnp::_::PointerHelpers< ::piper::FinishResponse>::set(
6206 _builder.getPointerField(1 * ::capnp::POINTERS), value);
6207 }
6208 inline ::piper::FinishResponse::Builder RpcResponse::Response::Builder::initFinish() {
6209 _builder.setDataField<RpcResponse::Response::Which>(
6210 3 * ::capnp::ELEMENTS, RpcResponse::Response::FINISH);
6211 return ::capnp::_::PointerHelpers< ::piper::FinishResponse>::init(
6212 _builder.getPointerField(1 * ::capnp::POINTERS));
6213 }
6214 inline void RpcResponse::Response::Builder::adoptFinish(
6215 ::capnp::Orphan< ::piper::FinishResponse>&& value) {
6216 _builder.setDataField<RpcResponse::Response::Which>(
6217 3 * ::capnp::ELEMENTS, RpcResponse::Response::FINISH);
6218 ::capnp::_::PointerHelpers< ::piper::FinishResponse>::adopt(
6219 _builder.getPointerField(1 * ::capnp::POINTERS), kj::mv(value));
6220 }
6221 inline ::capnp::Orphan< ::piper::FinishResponse> RpcResponse::Response::Builder::disownFinish() {
6222 KJ_IREQUIRE((which() == RpcResponse::Response::FINISH),
6223 "Must check which() before get()ing a union member.");
6224 return ::capnp::_::PointerHelpers< ::piper::FinishResponse>::disown(
6225 _builder.getPointerField(1 * ::capnp::POINTERS));
6226 }
6227
6228 } // namespace
6229
6230 #endif // CAPNP_INCLUDED_c4b1c6c44c999206_