LCOV - code coverage report
Current view: top level - bld-cov/src/test - ipc_test.capnp.h (source / functions) Coverage Total Hit
Test: total_coverage.info Lines: 100.0 % 190 190
Test Date: 2025-08-25 05:11:47 Functions: 100.0 % 48 48
Branches: 50.0 % 88 44

             Branch data     Line data    Source code
       1                 :             : // Generated by Cap'n Proto compiler, DO NOT EDIT
       2                 :             : // source: ipc_test.capnp
       3                 :             : 
       4                 :             : #pragma once
       5                 :             : 
       6                 :             : #include <capnp/generated-header-support.h>
       7                 :             : #include <kj/windows-sanity.h>
       8                 :             : #if !CAPNP_LITE
       9                 :             : #include <capnp/capability.h>
      10                 :             : #endif  // !CAPNP_LITE
      11                 :             : 
      12                 :             : #ifndef CAPNP_VERSION
      13                 :             : #error "CAPNP_VERSION is not defined, is capnp/generated-header-support.h missing?"
      14                 :             : #elif CAPNP_VERSION != 1001000
      15                 :             : #error "Version mismatch between generated code and library headers.  You must use the same version of the Cap'n Proto compiler and library."
      16                 :             : #endif
      17                 :             : 
      18                 :             : 
      19                 :             : CAPNP_BEGIN_HEADER
      20                 :             : 
      21                 :             : namespace capnp {
      22                 :             : namespace schemas {
      23                 :             : 
      24                 :             : CAPNP_DECLARE_SCHEMA(9b16bffa65b7eed2);
      25                 :             : CAPNP_DECLARE_SCHEMA(b7a9756e51860513);
      26                 :             : CAPNP_DECLARE_SCHEMA(fd99518ef5186972);
      27                 :             : CAPNP_DECLARE_SCHEMA(bcfcca27cd7c6f67);
      28                 :             : CAPNP_DECLARE_SCHEMA(b24a1700d0933642);
      29                 :             : CAPNP_DECLARE_SCHEMA(f7ac3fc302b10456);
      30                 :             : CAPNP_DECLARE_SCHEMA(bba87756fde5befc);
      31                 :             : CAPNP_DECLARE_SCHEMA(9df220427551ad24);
      32                 :             : CAPNP_DECLARE_SCHEMA(c63198fcfc209ae4);
      33                 :             : CAPNP_DECLARE_SCHEMA(c39c1a7a6e433e04);
      34                 :             : CAPNP_DECLARE_SCHEMA(e0dd015e07c39c85);
      35                 :             : CAPNP_DECLARE_SCHEMA(90806df4bc24ab2e);
      36                 :             : CAPNP_DECLARE_SCHEMA(db7b185a06e60737);
      37                 :             : 
      38                 :             : }  // namespace schemas
      39                 :             : }  // namespace capnp
      40                 :             : 
      41                 :             : namespace gen {
      42                 :             : 
      43                 :             : struct FooInterface {
      44                 :             :   FooInterface() = delete;
      45                 :             : 
      46                 :             : #if !CAPNP_LITE
      47                 :             :   class Client;
      48                 :             :   class Server;
      49                 :             : #endif  // !CAPNP_LITE
      50                 :             : 
      51                 :             :   struct AddParams;
      52                 :             :   struct AddResults;
      53                 :             :   struct PassOutPointParams;
      54                 :             :   struct PassOutPointResults;
      55                 :             :   struct PassUniValueParams;
      56                 :             :   struct PassUniValueResults;
      57                 :             :   struct PassTransactionParams;
      58                 :             :   struct PassTransactionResults;
      59                 :             :   struct PassVectorCharParams;
      60                 :             :   struct PassVectorCharResults;
      61                 :             :   struct PassScriptParams;
      62                 :             :   struct PassScriptResults;
      63                 :             : 
      64                 :             :   #if !CAPNP_LITE
      65                 :             :   struct _capnpPrivate {
      66                 :             :     CAPNP_DECLARE_INTERFACE_HEADER(9b16bffa65b7eed2)
      67                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
      68                 :             :   };
      69                 :             :   #endif  // !CAPNP_LITE
      70                 :             : };
      71                 :             : 
      72                 :             : struct FooInterface::AddParams {
      73                 :             :   AddParams() = delete;
      74                 :             : 
      75                 :             :   class Reader;
      76                 :             :   class Builder;
      77                 :             :   class Pipeline;
      78                 :             : 
      79                 :             :   struct _capnpPrivate {
      80                 :             :     CAPNP_DECLARE_STRUCT_HEADER(b7a9756e51860513, 1, 0)
      81                 :             :     #if !CAPNP_LITE
      82                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
      83                 :             :     #endif  // !CAPNP_LITE
      84                 :             :   };
      85                 :             : };
      86                 :             : 
      87                 :             : struct FooInterface::AddResults {
      88                 :             :   AddResults() = delete;
      89                 :             : 
      90                 :             :   class Reader;
      91                 :             :   class Builder;
      92                 :             :   class Pipeline;
      93                 :             : 
      94                 :             :   struct _capnpPrivate {
      95                 :             :     CAPNP_DECLARE_STRUCT_HEADER(fd99518ef5186972, 1, 0)
      96                 :             :     #if !CAPNP_LITE
      97                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
      98                 :             :     #endif  // !CAPNP_LITE
      99                 :             :   };
     100                 :             : };
     101                 :             : 
     102                 :             : struct FooInterface::PassOutPointParams {
     103                 :             :   PassOutPointParams() = delete;
     104                 :             : 
     105                 :             :   class Reader;
     106                 :             :   class Builder;
     107                 :             :   class Pipeline;
     108                 :             : 
     109                 :             :   struct _capnpPrivate {
     110                 :             :     CAPNP_DECLARE_STRUCT_HEADER(bcfcca27cd7c6f67, 0, 1)
     111                 :             :     #if !CAPNP_LITE
     112                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     113                 :             :     #endif  // !CAPNP_LITE
     114                 :             :   };
     115                 :             : };
     116                 :             : 
     117                 :             : struct FooInterface::PassOutPointResults {
     118                 :             :   PassOutPointResults() = delete;
     119                 :             : 
     120                 :             :   class Reader;
     121                 :             :   class Builder;
     122                 :             :   class Pipeline;
     123                 :             : 
     124                 :             :   struct _capnpPrivate {
     125                 :             :     CAPNP_DECLARE_STRUCT_HEADER(b24a1700d0933642, 0, 1)
     126                 :             :     #if !CAPNP_LITE
     127                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     128                 :             :     #endif  // !CAPNP_LITE
     129                 :             :   };
     130                 :             : };
     131                 :             : 
     132                 :             : struct FooInterface::PassUniValueParams {
     133                 :             :   PassUniValueParams() = delete;
     134                 :             : 
     135                 :             :   class Reader;
     136                 :             :   class Builder;
     137                 :             :   class Pipeline;
     138                 :             : 
     139                 :             :   struct _capnpPrivate {
     140                 :             :     CAPNP_DECLARE_STRUCT_HEADER(f7ac3fc302b10456, 0, 1)
     141                 :             :     #if !CAPNP_LITE
     142                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     143                 :             :     #endif  // !CAPNP_LITE
     144                 :             :   };
     145                 :             : };
     146                 :             : 
     147                 :             : struct FooInterface::PassUniValueResults {
     148                 :             :   PassUniValueResults() = delete;
     149                 :             : 
     150                 :             :   class Reader;
     151                 :             :   class Builder;
     152                 :             :   class Pipeline;
     153                 :             : 
     154                 :             :   struct _capnpPrivate {
     155                 :             :     CAPNP_DECLARE_STRUCT_HEADER(bba87756fde5befc, 0, 1)
     156                 :             :     #if !CAPNP_LITE
     157                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     158                 :             :     #endif  // !CAPNP_LITE
     159                 :             :   };
     160                 :             : };
     161                 :             : 
     162                 :             : struct FooInterface::PassTransactionParams {
     163                 :             :   PassTransactionParams() = delete;
     164                 :             : 
     165                 :             :   class Reader;
     166                 :             :   class Builder;
     167                 :             :   class Pipeline;
     168                 :             : 
     169                 :             :   struct _capnpPrivate {
     170                 :             :     CAPNP_DECLARE_STRUCT_HEADER(9df220427551ad24, 0, 1)
     171                 :             :     #if !CAPNP_LITE
     172                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     173                 :             :     #endif  // !CAPNP_LITE
     174                 :             :   };
     175                 :             : };
     176                 :             : 
     177                 :             : struct FooInterface::PassTransactionResults {
     178                 :             :   PassTransactionResults() = delete;
     179                 :             : 
     180                 :             :   class Reader;
     181                 :             :   class Builder;
     182                 :             :   class Pipeline;
     183                 :             : 
     184                 :             :   struct _capnpPrivate {
     185                 :             :     CAPNP_DECLARE_STRUCT_HEADER(c63198fcfc209ae4, 0, 1)
     186                 :             :     #if !CAPNP_LITE
     187                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     188                 :             :     #endif  // !CAPNP_LITE
     189                 :             :   };
     190                 :             : };
     191                 :             : 
     192                 :             : struct FooInterface::PassVectorCharParams {
     193                 :             :   PassVectorCharParams() = delete;
     194                 :             : 
     195                 :             :   class Reader;
     196                 :             :   class Builder;
     197                 :             :   class Pipeline;
     198                 :             : 
     199                 :             :   struct _capnpPrivate {
     200                 :             :     CAPNP_DECLARE_STRUCT_HEADER(c39c1a7a6e433e04, 0, 1)
     201                 :             :     #if !CAPNP_LITE
     202                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     203                 :             :     #endif  // !CAPNP_LITE
     204                 :             :   };
     205                 :             : };
     206                 :             : 
     207                 :             : struct FooInterface::PassVectorCharResults {
     208                 :             :   PassVectorCharResults() = delete;
     209                 :             : 
     210                 :             :   class Reader;
     211                 :             :   class Builder;
     212                 :             :   class Pipeline;
     213                 :             : 
     214                 :             :   struct _capnpPrivate {
     215                 :             :     CAPNP_DECLARE_STRUCT_HEADER(e0dd015e07c39c85, 0, 1)
     216                 :             :     #if !CAPNP_LITE
     217                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     218                 :             :     #endif  // !CAPNP_LITE
     219                 :             :   };
     220                 :             : };
     221                 :             : 
     222                 :             : struct FooInterface::PassScriptParams {
     223                 :             :   PassScriptParams() = delete;
     224                 :             : 
     225                 :             :   class Reader;
     226                 :             :   class Builder;
     227                 :             :   class Pipeline;
     228                 :             : 
     229                 :             :   struct _capnpPrivate {
     230                 :             :     CAPNP_DECLARE_STRUCT_HEADER(90806df4bc24ab2e, 0, 1)
     231                 :             :     #if !CAPNP_LITE
     232                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     233                 :             :     #endif  // !CAPNP_LITE
     234                 :             :   };
     235                 :             : };
     236                 :             : 
     237                 :             : struct FooInterface::PassScriptResults {
     238                 :             :   PassScriptResults() = delete;
     239                 :             : 
     240                 :             :   class Reader;
     241                 :             :   class Builder;
     242                 :             :   class Pipeline;
     243                 :             : 
     244                 :             :   struct _capnpPrivate {
     245                 :             :     CAPNP_DECLARE_STRUCT_HEADER(db7b185a06e60737, 0, 1)
     246                 :             :     #if !CAPNP_LITE
     247                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     248                 :             :     #endif  // !CAPNP_LITE
     249                 :             :   };
     250                 :             : };
     251                 :             : 
     252                 :             : // =======================================================================================
     253                 :             : 
     254                 :             : #if !CAPNP_LITE
     255   [ +  -  +  -  :           4 : class FooInterface::Client
             +  -  +  - ]
     256                 :             :     : public virtual ::capnp::Capability::Client {
     257                 :             : public:
     258                 :             :   typedef FooInterface Calls;
     259                 :             :   typedef FooInterface Reads;
     260                 :             : 
     261                 :             :   Client(decltype(nullptr));
     262                 :             :   explicit Client(::kj::Own< ::capnp::ClientHook>&& hook);
     263                 :             :   template <typename _t, typename = ::kj::EnableIf< ::kj::canConvert<_t*, Server*>()>>
     264                 :             :   Client(::kj::Own<_t>&& server);
     265                 :             :   template <typename _t, typename = ::kj::EnableIf< ::kj::canConvert<_t*, Client*>()>>
     266                 :             :   Client(::kj::Promise<_t>&& promise);
     267                 :             :   Client(::kj::Exception&& exception);
     268                 :             :   Client(Client&) = default;
     269   [ +  -  +  - ]:           3 :   Client(Client&&) = default;
     270                 :             :   Client& operator=(Client& other);
     271                 :             :   Client& operator=(Client&& other);
     272                 :             : 
     273                 :             :   ::capnp::Request< ::gen::FooInterface::AddParams,  ::gen::FooInterface::AddResults> addRequest(
     274                 :             :       ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
     275                 :             :   ::capnp::Request< ::gen::FooInterface::PassOutPointParams,  ::gen::FooInterface::PassOutPointResults> passOutPointRequest(
     276                 :             :       ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
     277                 :             :   ::capnp::Request< ::gen::FooInterface::PassUniValueParams,  ::gen::FooInterface::PassUniValueResults> passUniValueRequest(
     278                 :             :       ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
     279                 :             :   ::capnp::Request< ::gen::FooInterface::PassTransactionParams,  ::gen::FooInterface::PassTransactionResults> passTransactionRequest(
     280                 :             :       ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
     281                 :             :   ::capnp::Request< ::gen::FooInterface::PassVectorCharParams,  ::gen::FooInterface::PassVectorCharResults> passVectorCharRequest(
     282                 :             :       ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
     283                 :             :   ::capnp::Request< ::gen::FooInterface::PassScriptParams,  ::gen::FooInterface::PassScriptResults> passScriptRequest(
     284                 :             :       ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
     285                 :             : 
     286                 :             : protected:
     287                 :             :   Client() = default;
     288                 :             : };
     289                 :             : 
     290                 :             : class FooInterface::Server
     291                 :             :     : public virtual ::capnp::Capability::Server {
     292                 :             : public:
     293                 :             :   typedef FooInterface Serves;
     294                 :             : 
     295                 :             :   ::capnp::Capability::Server::DispatchCallResult dispatchCall(
     296                 :             :       uint64_t interfaceId, uint16_t methodId,
     297                 :             :       ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context)
     298                 :             :       override;
     299                 :             : 
     300                 :             : protected:
     301                 :             :   typedef  ::gen::FooInterface::AddParams AddParams;
     302                 :             :   typedef  ::gen::FooInterface::AddResults AddResults;
     303                 :             :   typedef ::capnp::CallContext<AddParams, AddResults> AddContext;
     304                 :             :   virtual ::kj::Promise<void> add(AddContext context);
     305                 :             :   typedef  ::gen::FooInterface::PassOutPointParams PassOutPointParams;
     306                 :             :   typedef  ::gen::FooInterface::PassOutPointResults PassOutPointResults;
     307                 :             :   typedef ::capnp::CallContext<PassOutPointParams, PassOutPointResults> PassOutPointContext;
     308                 :             :   virtual ::kj::Promise<void> passOutPoint(PassOutPointContext context);
     309                 :             :   typedef  ::gen::FooInterface::PassUniValueParams PassUniValueParams;
     310                 :             :   typedef  ::gen::FooInterface::PassUniValueResults PassUniValueResults;
     311                 :             :   typedef ::capnp::CallContext<PassUniValueParams, PassUniValueResults> PassUniValueContext;
     312                 :             :   virtual ::kj::Promise<void> passUniValue(PassUniValueContext context);
     313                 :             :   typedef  ::gen::FooInterface::PassTransactionParams PassTransactionParams;
     314                 :             :   typedef  ::gen::FooInterface::PassTransactionResults PassTransactionResults;
     315                 :             :   typedef ::capnp::CallContext<PassTransactionParams, PassTransactionResults> PassTransactionContext;
     316                 :             :   virtual ::kj::Promise<void> passTransaction(PassTransactionContext context);
     317                 :             :   typedef  ::gen::FooInterface::PassVectorCharParams PassVectorCharParams;
     318                 :             :   typedef  ::gen::FooInterface::PassVectorCharResults PassVectorCharResults;
     319                 :             :   typedef ::capnp::CallContext<PassVectorCharParams, PassVectorCharResults> PassVectorCharContext;
     320                 :             :   virtual ::kj::Promise<void> passVectorChar(PassVectorCharContext context);
     321                 :             :   typedef  ::gen::FooInterface::PassScriptParams PassScriptParams;
     322                 :             :   typedef  ::gen::FooInterface::PassScriptResults PassScriptResults;
     323                 :             :   typedef ::capnp::CallContext<PassScriptParams, PassScriptResults> PassScriptContext;
     324                 :             :   virtual ::kj::Promise<void> passScript(PassScriptContext context);
     325                 :             : 
     326                 :             :   inline  ::gen::FooInterface::Client thisCap() {
     327                 :             :     return ::capnp::Capability::Server::thisCap()
     328                 :             :         .template castAs< ::gen::FooInterface>();
     329                 :             :   }
     330                 :             : 
     331                 :             :   ::capnp::Capability::Server::DispatchCallResult dispatchCallInternal(
     332                 :             :       uint16_t methodId,
     333                 :             :       ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context);
     334                 :             : };
     335                 :             : #endif  // !CAPNP_LITE
     336                 :             : 
     337                 :             : class FooInterface::AddParams::Reader {
     338                 :             : public:
     339                 :             :   typedef AddParams Reads;
     340                 :             : 
     341                 :             :   Reader() = default;
     342                 :           4 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     343                 :             : 
     344                 :             :   inline ::capnp::MessageSize totalSize() const {
     345                 :             :     return _reader.totalSize().asPublic();
     346                 :             :   }
     347                 :             : 
     348                 :             : #if !CAPNP_LITE
     349                 :           2 :   inline ::kj::StringTree toString() const {
     350         [ +  - ]:           2 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     351                 :             :   }
     352                 :             : #endif  // !CAPNP_LITE
     353                 :             : 
     354                 :             :   inline  ::int32_t getA() const;
     355                 :             : 
     356                 :             :   inline  ::int32_t getB() const;
     357                 :             : 
     358                 :             : private:
     359                 :             :   ::capnp::_::StructReader _reader;
     360                 :             :   template <typename, ::capnp::Kind>
     361                 :             :   friend struct ::capnp::ToDynamic_;
     362                 :             :   template <typename, ::capnp::Kind>
     363                 :             :   friend struct ::capnp::_::PointerHelpers;
     364                 :             :   template <typename, ::capnp::Kind>
     365                 :             :   friend struct ::capnp::List;
     366                 :             :   friend class ::capnp::MessageBuilder;
     367                 :             :   friend class ::capnp::Orphanage;
     368                 :             : };
     369                 :             : 
     370                 :             : class FooInterface::AddParams::Builder {
     371                 :             : public:
     372                 :             :   typedef AddParams Builds;
     373                 :             : 
     374                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     375                 :             :                        // You can explicitly initialize to nullptr instead.
     376                 :             :   inline Builder(decltype(nullptr)) {}
     377                 :           1 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     378                 :           1 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     379                 :           1 :   inline Reader asReader() const { return *this; }
     380                 :             : 
     381                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     382                 :             : #if !CAPNP_LITE
     383                 :           1 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     384                 :             : #endif  // !CAPNP_LITE
     385                 :             : 
     386                 :             :   inline  ::int32_t getA();
     387                 :             :   inline void setA( ::int32_t value);
     388                 :             : 
     389                 :             :   inline  ::int32_t getB();
     390                 :             :   inline void setB( ::int32_t value);
     391                 :             : 
     392                 :             : private:
     393                 :             :   ::capnp::_::StructBuilder _builder;
     394                 :             :   template <typename, ::capnp::Kind>
     395                 :             :   friend struct ::capnp::ToDynamic_;
     396                 :             :   friend class ::capnp::Orphanage;
     397                 :             :   template <typename, ::capnp::Kind>
     398                 :             :   friend struct ::capnp::_::PointerHelpers;
     399                 :             : };
     400                 :             : 
     401                 :             : #if !CAPNP_LITE
     402                 :             : class FooInterface::AddParams::Pipeline {
     403                 :             : public:
     404                 :             :   typedef AddParams Pipelines;
     405                 :             : 
     406                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     407                 :             :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     408                 :             :       : _typeless(kj::mv(typeless)) {}
     409                 :             : 
     410                 :             : private:
     411                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     412                 :             :   friend class ::capnp::PipelineHook;
     413                 :             :   template <typename, ::capnp::Kind>
     414                 :             :   friend struct ::capnp::ToDynamic_;
     415                 :             : };
     416                 :             : #endif  // !CAPNP_LITE
     417                 :             : 
     418                 :             : class FooInterface::AddResults::Reader {
     419                 :             : public:
     420                 :             :   typedef AddResults Reads;
     421                 :             : 
     422                 :             :   Reader() = default;
     423                 :           2 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     424                 :             : 
     425                 :             :   inline ::capnp::MessageSize totalSize() const {
     426                 :             :     return _reader.totalSize().asPublic();
     427                 :             :   }
     428                 :             : 
     429                 :             : #if !CAPNP_LITE
     430                 :           2 :   inline ::kj::StringTree toString() const {
     431         [ +  - ]:           2 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     432                 :             :   }
     433                 :             : #endif  // !CAPNP_LITE
     434                 :             : 
     435                 :             :   inline  ::int32_t getResult() const;
     436                 :             : 
     437                 :             : private:
     438                 :             :   ::capnp::_::StructReader _reader;
     439                 :             :   template <typename, ::capnp::Kind>
     440                 :             :   friend struct ::capnp::ToDynamic_;
     441                 :             :   template <typename, ::capnp::Kind>
     442                 :             :   friend struct ::capnp::_::PointerHelpers;
     443                 :             :   template <typename, ::capnp::Kind>
     444                 :             :   friend struct ::capnp::List;
     445                 :             :   friend class ::capnp::MessageBuilder;
     446                 :             :   friend class ::capnp::Orphanage;
     447                 :             : };
     448                 :             : 
     449                 :             : class FooInterface::AddResults::Builder {
     450                 :             : public:
     451                 :             :   typedef AddResults Builds;
     452                 :             : 
     453                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     454                 :             :                        // You can explicitly initialize to nullptr instead.
     455                 :             :   inline Builder(decltype(nullptr)) {}
     456                 :           4 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     457                 :           1 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     458                 :           1 :   inline Reader asReader() const { return *this; }
     459                 :             : 
     460                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     461                 :             : #if !CAPNP_LITE
     462                 :           1 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     463                 :             : #endif  // !CAPNP_LITE
     464                 :             : 
     465                 :             :   inline  ::int32_t getResult();
     466                 :             :   inline void setResult( ::int32_t value);
     467                 :             : 
     468                 :             : private:
     469                 :             :   ::capnp::_::StructBuilder _builder;
     470                 :             :   template <typename, ::capnp::Kind>
     471                 :             :   friend struct ::capnp::ToDynamic_;
     472                 :             :   friend class ::capnp::Orphanage;
     473                 :             :   template <typename, ::capnp::Kind>
     474                 :             :   friend struct ::capnp::_::PointerHelpers;
     475                 :             : };
     476                 :             : 
     477                 :             : #if !CAPNP_LITE
     478         [ -  + ]:           2 : class FooInterface::AddResults::Pipeline {
     479                 :             : public:
     480                 :             :   typedef AddResults Pipelines;
     481                 :             : 
     482                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     483                 :           1 :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     484                 :           1 :       : _typeless(kj::mv(typeless)) {}
     485                 :             : 
     486                 :             : private:
     487                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     488                 :             :   friend class ::capnp::PipelineHook;
     489                 :             :   template <typename, ::capnp::Kind>
     490                 :             :   friend struct ::capnp::ToDynamic_;
     491                 :             : };
     492                 :             : #endif  // !CAPNP_LITE
     493                 :             : 
     494                 :             : class FooInterface::PassOutPointParams::Reader {
     495                 :             : public:
     496                 :             :   typedef PassOutPointParams Reads;
     497                 :             : 
     498                 :             :   Reader() = default;
     499                 :           3 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     500                 :             : 
     501                 :             :   inline ::capnp::MessageSize totalSize() const {
     502                 :             :     return _reader.totalSize().asPublic();
     503                 :             :   }
     504                 :             : 
     505                 :             : #if !CAPNP_LITE
     506                 :           2 :   inline ::kj::StringTree toString() const {
     507         [ +  - ]:           2 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     508                 :             :   }
     509                 :             : #endif  // !CAPNP_LITE
     510                 :             : 
     511                 :             :   inline bool hasArg() const;
     512                 :             :   inline  ::capnp::Data::Reader getArg() const;
     513                 :             : 
     514                 :             : private:
     515                 :             :   ::capnp::_::StructReader _reader;
     516                 :             :   template <typename, ::capnp::Kind>
     517                 :             :   friend struct ::capnp::ToDynamic_;
     518                 :             :   template <typename, ::capnp::Kind>
     519                 :             :   friend struct ::capnp::_::PointerHelpers;
     520                 :             :   template <typename, ::capnp::Kind>
     521                 :             :   friend struct ::capnp::List;
     522                 :             :   friend class ::capnp::MessageBuilder;
     523                 :             :   friend class ::capnp::Orphanage;
     524                 :             : };
     525                 :             : 
     526                 :             : class FooInterface::PassOutPointParams::Builder {
     527                 :             : public:
     528                 :             :   typedef PassOutPointParams Builds;
     529                 :             : 
     530                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     531                 :             :                        // You can explicitly initialize to nullptr instead.
     532                 :             :   inline Builder(decltype(nullptr)) {}
     533                 :           1 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     534                 :           1 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     535                 :           1 :   inline Reader asReader() const { return *this; }
     536                 :             : 
     537                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     538                 :             : #if !CAPNP_LITE
     539                 :           1 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     540                 :             : #endif  // !CAPNP_LITE
     541                 :             : 
     542                 :             :   inline bool hasArg();
     543                 :             :   inline  ::capnp::Data::Builder getArg();
     544                 :             :   inline void setArg( ::capnp::Data::Reader value);
     545                 :             :   inline  ::capnp::Data::Builder initArg(unsigned int size);
     546                 :             :   inline void adoptArg(::capnp::Orphan< ::capnp::Data>&& value);
     547                 :             :   inline ::capnp::Orphan< ::capnp::Data> disownArg();
     548                 :             : 
     549                 :             : private:
     550                 :             :   ::capnp::_::StructBuilder _builder;
     551                 :             :   template <typename, ::capnp::Kind>
     552                 :             :   friend struct ::capnp::ToDynamic_;
     553                 :             :   friend class ::capnp::Orphanage;
     554                 :             :   template <typename, ::capnp::Kind>
     555                 :             :   friend struct ::capnp::_::PointerHelpers;
     556                 :             : };
     557                 :             : 
     558                 :             : #if !CAPNP_LITE
     559                 :             : class FooInterface::PassOutPointParams::Pipeline {
     560                 :             : public:
     561                 :             :   typedef PassOutPointParams Pipelines;
     562                 :             : 
     563                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     564                 :             :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     565                 :             :       : _typeless(kj::mv(typeless)) {}
     566                 :             : 
     567                 :             : private:
     568                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     569                 :             :   friend class ::capnp::PipelineHook;
     570                 :             :   template <typename, ::capnp::Kind>
     571                 :             :   friend struct ::capnp::ToDynamic_;
     572                 :             : };
     573                 :             : #endif  // !CAPNP_LITE
     574                 :             : 
     575                 :             : class FooInterface::PassOutPointResults::Reader {
     576                 :             : public:
     577                 :             :   typedef PassOutPointResults Reads;
     578                 :             : 
     579                 :             :   Reader() = default;
     580                 :           2 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     581                 :             : 
     582                 :             :   inline ::capnp::MessageSize totalSize() const {
     583                 :             :     return _reader.totalSize().asPublic();
     584                 :             :   }
     585                 :             : 
     586                 :             : #if !CAPNP_LITE
     587                 :           2 :   inline ::kj::StringTree toString() const {
     588         [ +  - ]:           2 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     589                 :             :   }
     590                 :             : #endif  // !CAPNP_LITE
     591                 :             : 
     592                 :             :   inline bool hasResult() const;
     593                 :             :   inline  ::capnp::Data::Reader getResult() const;
     594                 :             : 
     595                 :             : private:
     596                 :             :   ::capnp::_::StructReader _reader;
     597                 :             :   template <typename, ::capnp::Kind>
     598                 :             :   friend struct ::capnp::ToDynamic_;
     599                 :             :   template <typename, ::capnp::Kind>
     600                 :             :   friend struct ::capnp::_::PointerHelpers;
     601                 :             :   template <typename, ::capnp::Kind>
     602                 :             :   friend struct ::capnp::List;
     603                 :             :   friend class ::capnp::MessageBuilder;
     604                 :             :   friend class ::capnp::Orphanage;
     605                 :             : };
     606                 :             : 
     607                 :             : class FooInterface::PassOutPointResults::Builder {
     608                 :             : public:
     609                 :             :   typedef PassOutPointResults Builds;
     610                 :             : 
     611                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     612                 :             :                        // You can explicitly initialize to nullptr instead.
     613                 :             :   inline Builder(decltype(nullptr)) {}
     614                 :           3 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     615                 :           1 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     616                 :           1 :   inline Reader asReader() const { return *this; }
     617                 :             : 
     618                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     619                 :             : #if !CAPNP_LITE
     620                 :           1 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     621                 :             : #endif  // !CAPNP_LITE
     622                 :             : 
     623                 :             :   inline bool hasResult();
     624                 :             :   inline  ::capnp::Data::Builder getResult();
     625                 :             :   inline void setResult( ::capnp::Data::Reader value);
     626                 :             :   inline  ::capnp::Data::Builder initResult(unsigned int size);
     627                 :             :   inline void adoptResult(::capnp::Orphan< ::capnp::Data>&& value);
     628                 :             :   inline ::capnp::Orphan< ::capnp::Data> disownResult();
     629                 :             : 
     630                 :             : private:
     631                 :             :   ::capnp::_::StructBuilder _builder;
     632                 :             :   template <typename, ::capnp::Kind>
     633                 :             :   friend struct ::capnp::ToDynamic_;
     634                 :             :   friend class ::capnp::Orphanage;
     635                 :             :   template <typename, ::capnp::Kind>
     636                 :             :   friend struct ::capnp::_::PointerHelpers;
     637                 :             : };
     638                 :             : 
     639                 :             : #if !CAPNP_LITE
     640         [ -  + ]:           2 : class FooInterface::PassOutPointResults::Pipeline {
     641                 :             : public:
     642                 :             :   typedef PassOutPointResults Pipelines;
     643                 :             : 
     644                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     645                 :           1 :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     646                 :           1 :       : _typeless(kj::mv(typeless)) {}
     647                 :             : 
     648                 :             : private:
     649                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     650                 :             :   friend class ::capnp::PipelineHook;
     651                 :             :   template <typename, ::capnp::Kind>
     652                 :             :   friend struct ::capnp::ToDynamic_;
     653                 :             : };
     654                 :             : #endif  // !CAPNP_LITE
     655                 :             : 
     656                 :             : class FooInterface::PassUniValueParams::Reader {
     657                 :             : public:
     658                 :             :   typedef PassUniValueParams Reads;
     659                 :             : 
     660                 :             :   Reader() = default;
     661                 :           3 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     662                 :             : 
     663                 :             :   inline ::capnp::MessageSize totalSize() const {
     664                 :             :     return _reader.totalSize().asPublic();
     665                 :             :   }
     666                 :             : 
     667                 :             : #if !CAPNP_LITE
     668                 :           2 :   inline ::kj::StringTree toString() const {
     669         [ +  - ]:           2 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     670                 :             :   }
     671                 :             : #endif  // !CAPNP_LITE
     672                 :             : 
     673                 :             :   inline bool hasArg() const;
     674                 :             :   inline  ::capnp::Text::Reader getArg() const;
     675                 :             : 
     676                 :             : private:
     677                 :             :   ::capnp::_::StructReader _reader;
     678                 :             :   template <typename, ::capnp::Kind>
     679                 :             :   friend struct ::capnp::ToDynamic_;
     680                 :             :   template <typename, ::capnp::Kind>
     681                 :             :   friend struct ::capnp::_::PointerHelpers;
     682                 :             :   template <typename, ::capnp::Kind>
     683                 :             :   friend struct ::capnp::List;
     684                 :             :   friend class ::capnp::MessageBuilder;
     685                 :             :   friend class ::capnp::Orphanage;
     686                 :             : };
     687                 :             : 
     688                 :             : class FooInterface::PassUniValueParams::Builder {
     689                 :             : public:
     690                 :             :   typedef PassUniValueParams Builds;
     691                 :             : 
     692                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     693                 :             :                        // You can explicitly initialize to nullptr instead.
     694                 :             :   inline Builder(decltype(nullptr)) {}
     695                 :           1 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     696                 :           1 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     697                 :           1 :   inline Reader asReader() const { return *this; }
     698                 :             : 
     699                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     700                 :             : #if !CAPNP_LITE
     701                 :           1 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     702                 :             : #endif  // !CAPNP_LITE
     703                 :             : 
     704                 :             :   inline bool hasArg();
     705                 :             :   inline  ::capnp::Text::Builder getArg();
     706                 :             :   inline void setArg( ::capnp::Text::Reader value);
     707                 :             :   inline  ::capnp::Text::Builder initArg(unsigned int size);
     708                 :             :   inline void adoptArg(::capnp::Orphan< ::capnp::Text>&& value);
     709                 :             :   inline ::capnp::Orphan< ::capnp::Text> disownArg();
     710                 :             : 
     711                 :             : private:
     712                 :             :   ::capnp::_::StructBuilder _builder;
     713                 :             :   template <typename, ::capnp::Kind>
     714                 :             :   friend struct ::capnp::ToDynamic_;
     715                 :             :   friend class ::capnp::Orphanage;
     716                 :             :   template <typename, ::capnp::Kind>
     717                 :             :   friend struct ::capnp::_::PointerHelpers;
     718                 :             : };
     719                 :             : 
     720                 :             : #if !CAPNP_LITE
     721                 :             : class FooInterface::PassUniValueParams::Pipeline {
     722                 :             : public:
     723                 :             :   typedef PassUniValueParams Pipelines;
     724                 :             : 
     725                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     726                 :             :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     727                 :             :       : _typeless(kj::mv(typeless)) {}
     728                 :             : 
     729                 :             : private:
     730                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     731                 :             :   friend class ::capnp::PipelineHook;
     732                 :             :   template <typename, ::capnp::Kind>
     733                 :             :   friend struct ::capnp::ToDynamic_;
     734                 :             : };
     735                 :             : #endif  // !CAPNP_LITE
     736                 :             : 
     737                 :             : class FooInterface::PassUniValueResults::Reader {
     738                 :             : public:
     739                 :             :   typedef PassUniValueResults Reads;
     740                 :             : 
     741                 :             :   Reader() = default;
     742                 :           2 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     743                 :             : 
     744                 :             :   inline ::capnp::MessageSize totalSize() const {
     745                 :             :     return _reader.totalSize().asPublic();
     746                 :             :   }
     747                 :             : 
     748                 :             : #if !CAPNP_LITE
     749                 :           2 :   inline ::kj::StringTree toString() const {
     750         [ +  - ]:           2 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     751                 :             :   }
     752                 :             : #endif  // !CAPNP_LITE
     753                 :             : 
     754                 :             :   inline bool hasResult() const;
     755                 :             :   inline  ::capnp::Text::Reader getResult() const;
     756                 :             : 
     757                 :             : private:
     758                 :             :   ::capnp::_::StructReader _reader;
     759                 :             :   template <typename, ::capnp::Kind>
     760                 :             :   friend struct ::capnp::ToDynamic_;
     761                 :             :   template <typename, ::capnp::Kind>
     762                 :             :   friend struct ::capnp::_::PointerHelpers;
     763                 :             :   template <typename, ::capnp::Kind>
     764                 :             :   friend struct ::capnp::List;
     765                 :             :   friend class ::capnp::MessageBuilder;
     766                 :             :   friend class ::capnp::Orphanage;
     767                 :             : };
     768                 :             : 
     769                 :             : class FooInterface::PassUniValueResults::Builder {
     770                 :             : public:
     771                 :             :   typedef PassUniValueResults Builds;
     772                 :             : 
     773                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     774                 :             :                        // You can explicitly initialize to nullptr instead.
     775                 :             :   inline Builder(decltype(nullptr)) {}
     776                 :           3 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     777                 :           1 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     778                 :           1 :   inline Reader asReader() const { return *this; }
     779                 :             : 
     780                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     781                 :             : #if !CAPNP_LITE
     782                 :           1 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     783                 :             : #endif  // !CAPNP_LITE
     784                 :             : 
     785                 :             :   inline bool hasResult();
     786                 :             :   inline  ::capnp::Text::Builder getResult();
     787                 :             :   inline void setResult( ::capnp::Text::Reader value);
     788                 :             :   inline  ::capnp::Text::Builder initResult(unsigned int size);
     789                 :             :   inline void adoptResult(::capnp::Orphan< ::capnp::Text>&& value);
     790                 :             :   inline ::capnp::Orphan< ::capnp::Text> disownResult();
     791                 :             : 
     792                 :             : private:
     793                 :             :   ::capnp::_::StructBuilder _builder;
     794                 :             :   template <typename, ::capnp::Kind>
     795                 :             :   friend struct ::capnp::ToDynamic_;
     796                 :             :   friend class ::capnp::Orphanage;
     797                 :             :   template <typename, ::capnp::Kind>
     798                 :             :   friend struct ::capnp::_::PointerHelpers;
     799                 :             : };
     800                 :             : 
     801                 :             : #if !CAPNP_LITE
     802         [ -  + ]:           2 : class FooInterface::PassUniValueResults::Pipeline {
     803                 :             : public:
     804                 :             :   typedef PassUniValueResults Pipelines;
     805                 :             : 
     806                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     807                 :           1 :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     808                 :           1 :       : _typeless(kj::mv(typeless)) {}
     809                 :             : 
     810                 :             : private:
     811                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     812                 :             :   friend class ::capnp::PipelineHook;
     813                 :             :   template <typename, ::capnp::Kind>
     814                 :             :   friend struct ::capnp::ToDynamic_;
     815                 :             : };
     816                 :             : #endif  // !CAPNP_LITE
     817                 :             : 
     818                 :             : class FooInterface::PassTransactionParams::Reader {
     819                 :             : public:
     820                 :             :   typedef PassTransactionParams Reads;
     821                 :             : 
     822                 :             :   Reader() = default;
     823                 :           3 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     824                 :             : 
     825                 :             :   inline ::capnp::MessageSize totalSize() const {
     826                 :             :     return _reader.totalSize().asPublic();
     827                 :             :   }
     828                 :             : 
     829                 :             : #if !CAPNP_LITE
     830                 :           2 :   inline ::kj::StringTree toString() const {
     831         [ +  - ]:           2 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     832                 :             :   }
     833                 :             : #endif  // !CAPNP_LITE
     834                 :             : 
     835                 :             :   inline bool hasArg() const;
     836                 :             :   inline  ::capnp::Data::Reader getArg() const;
     837                 :             : 
     838                 :             : private:
     839                 :             :   ::capnp::_::StructReader _reader;
     840                 :             :   template <typename, ::capnp::Kind>
     841                 :             :   friend struct ::capnp::ToDynamic_;
     842                 :             :   template <typename, ::capnp::Kind>
     843                 :             :   friend struct ::capnp::_::PointerHelpers;
     844                 :             :   template <typename, ::capnp::Kind>
     845                 :             :   friend struct ::capnp::List;
     846                 :             :   friend class ::capnp::MessageBuilder;
     847                 :             :   friend class ::capnp::Orphanage;
     848                 :             : };
     849                 :             : 
     850                 :             : class FooInterface::PassTransactionParams::Builder {
     851                 :             : public:
     852                 :             :   typedef PassTransactionParams Builds;
     853                 :             : 
     854                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     855                 :             :                        // You can explicitly initialize to nullptr instead.
     856                 :             :   inline Builder(decltype(nullptr)) {}
     857                 :           1 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     858                 :           1 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     859                 :           1 :   inline Reader asReader() const { return *this; }
     860                 :             : 
     861                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     862                 :             : #if !CAPNP_LITE
     863                 :           1 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     864                 :             : #endif  // !CAPNP_LITE
     865                 :             : 
     866                 :             :   inline bool hasArg();
     867                 :             :   inline  ::capnp::Data::Builder getArg();
     868                 :             :   inline void setArg( ::capnp::Data::Reader value);
     869                 :             :   inline  ::capnp::Data::Builder initArg(unsigned int size);
     870                 :             :   inline void adoptArg(::capnp::Orphan< ::capnp::Data>&& value);
     871                 :             :   inline ::capnp::Orphan< ::capnp::Data> disownArg();
     872                 :             : 
     873                 :             : private:
     874                 :             :   ::capnp::_::StructBuilder _builder;
     875                 :             :   template <typename, ::capnp::Kind>
     876                 :             :   friend struct ::capnp::ToDynamic_;
     877                 :             :   friend class ::capnp::Orphanage;
     878                 :             :   template <typename, ::capnp::Kind>
     879                 :             :   friend struct ::capnp::_::PointerHelpers;
     880                 :             : };
     881                 :             : 
     882                 :             : #if !CAPNP_LITE
     883                 :             : class FooInterface::PassTransactionParams::Pipeline {
     884                 :             : public:
     885                 :             :   typedef PassTransactionParams Pipelines;
     886                 :             : 
     887                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     888                 :             :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     889                 :             :       : _typeless(kj::mv(typeless)) {}
     890                 :             : 
     891                 :             : private:
     892                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     893                 :             :   friend class ::capnp::PipelineHook;
     894                 :             :   template <typename, ::capnp::Kind>
     895                 :             :   friend struct ::capnp::ToDynamic_;
     896                 :             : };
     897                 :             : #endif  // !CAPNP_LITE
     898                 :             : 
     899                 :             : class FooInterface::PassTransactionResults::Reader {
     900                 :             : public:
     901                 :             :   typedef PassTransactionResults Reads;
     902                 :             : 
     903                 :             :   Reader() = default;
     904                 :           2 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     905                 :             : 
     906                 :             :   inline ::capnp::MessageSize totalSize() const {
     907                 :             :     return _reader.totalSize().asPublic();
     908                 :             :   }
     909                 :             : 
     910                 :             : #if !CAPNP_LITE
     911                 :           2 :   inline ::kj::StringTree toString() const {
     912         [ +  - ]:           2 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     913                 :             :   }
     914                 :             : #endif  // !CAPNP_LITE
     915                 :             : 
     916                 :             :   inline bool hasResult() const;
     917                 :             :   inline  ::capnp::Data::Reader getResult() const;
     918                 :             : 
     919                 :             : private:
     920                 :             :   ::capnp::_::StructReader _reader;
     921                 :             :   template <typename, ::capnp::Kind>
     922                 :             :   friend struct ::capnp::ToDynamic_;
     923                 :             :   template <typename, ::capnp::Kind>
     924                 :             :   friend struct ::capnp::_::PointerHelpers;
     925                 :             :   template <typename, ::capnp::Kind>
     926                 :             :   friend struct ::capnp::List;
     927                 :             :   friend class ::capnp::MessageBuilder;
     928                 :             :   friend class ::capnp::Orphanage;
     929                 :             : };
     930                 :             : 
     931                 :             : class FooInterface::PassTransactionResults::Builder {
     932                 :             : public:
     933                 :             :   typedef PassTransactionResults Builds;
     934                 :             : 
     935                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     936                 :             :                        // You can explicitly initialize to nullptr instead.
     937                 :             :   inline Builder(decltype(nullptr)) {}
     938                 :           3 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     939                 :           1 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     940                 :           1 :   inline Reader asReader() const { return *this; }
     941                 :             : 
     942                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     943                 :             : #if !CAPNP_LITE
     944                 :           1 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     945                 :             : #endif  // !CAPNP_LITE
     946                 :             : 
     947                 :             :   inline bool hasResult();
     948                 :             :   inline  ::capnp::Data::Builder getResult();
     949                 :             :   inline void setResult( ::capnp::Data::Reader value);
     950                 :             :   inline  ::capnp::Data::Builder initResult(unsigned int size);
     951                 :             :   inline void adoptResult(::capnp::Orphan< ::capnp::Data>&& value);
     952                 :             :   inline ::capnp::Orphan< ::capnp::Data> disownResult();
     953                 :             : 
     954                 :             : private:
     955                 :             :   ::capnp::_::StructBuilder _builder;
     956                 :             :   template <typename, ::capnp::Kind>
     957                 :             :   friend struct ::capnp::ToDynamic_;
     958                 :             :   friend class ::capnp::Orphanage;
     959                 :             :   template <typename, ::capnp::Kind>
     960                 :             :   friend struct ::capnp::_::PointerHelpers;
     961                 :             : };
     962                 :             : 
     963                 :             : #if !CAPNP_LITE
     964         [ -  + ]:           2 : class FooInterface::PassTransactionResults::Pipeline {
     965                 :             : public:
     966                 :             :   typedef PassTransactionResults Pipelines;
     967                 :             : 
     968                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     969                 :           1 :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     970                 :           1 :       : _typeless(kj::mv(typeless)) {}
     971                 :             : 
     972                 :             : private:
     973                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     974                 :             :   friend class ::capnp::PipelineHook;
     975                 :             :   template <typename, ::capnp::Kind>
     976                 :             :   friend struct ::capnp::ToDynamic_;
     977                 :             : };
     978                 :             : #endif  // !CAPNP_LITE
     979                 :             : 
     980                 :             : class FooInterface::PassVectorCharParams::Reader {
     981                 :             : public:
     982                 :             :   typedef PassVectorCharParams Reads;
     983                 :             : 
     984                 :             :   Reader() = default;
     985                 :           3 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     986                 :             : 
     987                 :             :   inline ::capnp::MessageSize totalSize() const {
     988                 :             :     return _reader.totalSize().asPublic();
     989                 :             :   }
     990                 :             : 
     991                 :             : #if !CAPNP_LITE
     992                 :           2 :   inline ::kj::StringTree toString() const {
     993         [ +  - ]:           2 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     994                 :             :   }
     995                 :             : #endif  // !CAPNP_LITE
     996                 :             : 
     997                 :             :   inline bool hasArg() const;
     998                 :             :   inline  ::capnp::Data::Reader getArg() const;
     999                 :             : 
    1000                 :             : private:
    1001                 :             :   ::capnp::_::StructReader _reader;
    1002                 :             :   template <typename, ::capnp::Kind>
    1003                 :             :   friend struct ::capnp::ToDynamic_;
    1004                 :             :   template <typename, ::capnp::Kind>
    1005                 :             :   friend struct ::capnp::_::PointerHelpers;
    1006                 :             :   template <typename, ::capnp::Kind>
    1007                 :             :   friend struct ::capnp::List;
    1008                 :             :   friend class ::capnp::MessageBuilder;
    1009                 :             :   friend class ::capnp::Orphanage;
    1010                 :             : };
    1011                 :             : 
    1012                 :             : class FooInterface::PassVectorCharParams::Builder {
    1013                 :             : public:
    1014                 :             :   typedef PassVectorCharParams Builds;
    1015                 :             : 
    1016                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
    1017                 :             :                        // You can explicitly initialize to nullptr instead.
    1018                 :             :   inline Builder(decltype(nullptr)) {}
    1019                 :           1 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
    1020                 :           1 :   inline operator Reader() const { return Reader(_builder.asReader()); }
    1021                 :           1 :   inline Reader asReader() const { return *this; }
    1022                 :             : 
    1023                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
    1024                 :             : #if !CAPNP_LITE
    1025                 :           1 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
    1026                 :             : #endif  // !CAPNP_LITE
    1027                 :             : 
    1028                 :             :   inline bool hasArg();
    1029                 :             :   inline  ::capnp::Data::Builder getArg();
    1030                 :             :   inline void setArg( ::capnp::Data::Reader value);
    1031                 :             :   inline  ::capnp::Data::Builder initArg(unsigned int size);
    1032                 :             :   inline void adoptArg(::capnp::Orphan< ::capnp::Data>&& value);
    1033                 :             :   inline ::capnp::Orphan< ::capnp::Data> disownArg();
    1034                 :             : 
    1035                 :             : private:
    1036                 :             :   ::capnp::_::StructBuilder _builder;
    1037                 :             :   template <typename, ::capnp::Kind>
    1038                 :             :   friend struct ::capnp::ToDynamic_;
    1039                 :             :   friend class ::capnp::Orphanage;
    1040                 :             :   template <typename, ::capnp::Kind>
    1041                 :             :   friend struct ::capnp::_::PointerHelpers;
    1042                 :             : };
    1043                 :             : 
    1044                 :             : #if !CAPNP_LITE
    1045                 :             : class FooInterface::PassVectorCharParams::Pipeline {
    1046                 :             : public:
    1047                 :             :   typedef PassVectorCharParams Pipelines;
    1048                 :             : 
    1049                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
    1050                 :             :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
    1051                 :             :       : _typeless(kj::mv(typeless)) {}
    1052                 :             : 
    1053                 :             : private:
    1054                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
    1055                 :             :   friend class ::capnp::PipelineHook;
    1056                 :             :   template <typename, ::capnp::Kind>
    1057                 :             :   friend struct ::capnp::ToDynamic_;
    1058                 :             : };
    1059                 :             : #endif  // !CAPNP_LITE
    1060                 :             : 
    1061                 :             : class FooInterface::PassVectorCharResults::Reader {
    1062                 :             : public:
    1063                 :             :   typedef PassVectorCharResults Reads;
    1064                 :             : 
    1065                 :             :   Reader() = default;
    1066                 :           2 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
    1067                 :             : 
    1068                 :             :   inline ::capnp::MessageSize totalSize() const {
    1069                 :             :     return _reader.totalSize().asPublic();
    1070                 :             :   }
    1071                 :             : 
    1072                 :             : #if !CAPNP_LITE
    1073                 :           2 :   inline ::kj::StringTree toString() const {
    1074         [ +  - ]:           2 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
    1075                 :             :   }
    1076                 :             : #endif  // !CAPNP_LITE
    1077                 :             : 
    1078                 :             :   inline bool hasResult() const;
    1079                 :             :   inline  ::capnp::Data::Reader getResult() const;
    1080                 :             : 
    1081                 :             : private:
    1082                 :             :   ::capnp::_::StructReader _reader;
    1083                 :             :   template <typename, ::capnp::Kind>
    1084                 :             :   friend struct ::capnp::ToDynamic_;
    1085                 :             :   template <typename, ::capnp::Kind>
    1086                 :             :   friend struct ::capnp::_::PointerHelpers;
    1087                 :             :   template <typename, ::capnp::Kind>
    1088                 :             :   friend struct ::capnp::List;
    1089                 :             :   friend class ::capnp::MessageBuilder;
    1090                 :             :   friend class ::capnp::Orphanage;
    1091                 :             : };
    1092                 :             : 
    1093                 :             : class FooInterface::PassVectorCharResults::Builder {
    1094                 :             : public:
    1095                 :             :   typedef PassVectorCharResults Builds;
    1096                 :             : 
    1097                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
    1098                 :             :                        // You can explicitly initialize to nullptr instead.
    1099                 :             :   inline Builder(decltype(nullptr)) {}
    1100                 :           3 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
    1101                 :           1 :   inline operator Reader() const { return Reader(_builder.asReader()); }
    1102                 :           1 :   inline Reader asReader() const { return *this; }
    1103                 :             : 
    1104                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
    1105                 :             : #if !CAPNP_LITE
    1106                 :           1 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
    1107                 :             : #endif  // !CAPNP_LITE
    1108                 :             : 
    1109                 :             :   inline bool hasResult();
    1110                 :             :   inline  ::capnp::Data::Builder getResult();
    1111                 :             :   inline void setResult( ::capnp::Data::Reader value);
    1112                 :             :   inline  ::capnp::Data::Builder initResult(unsigned int size);
    1113                 :             :   inline void adoptResult(::capnp::Orphan< ::capnp::Data>&& value);
    1114                 :             :   inline ::capnp::Orphan< ::capnp::Data> disownResult();
    1115                 :             : 
    1116                 :             : private:
    1117                 :             :   ::capnp::_::StructBuilder _builder;
    1118                 :             :   template <typename, ::capnp::Kind>
    1119                 :             :   friend struct ::capnp::ToDynamic_;
    1120                 :             :   friend class ::capnp::Orphanage;
    1121                 :             :   template <typename, ::capnp::Kind>
    1122                 :             :   friend struct ::capnp::_::PointerHelpers;
    1123                 :             : };
    1124                 :             : 
    1125                 :             : #if !CAPNP_LITE
    1126         [ -  + ]:           2 : class FooInterface::PassVectorCharResults::Pipeline {
    1127                 :             : public:
    1128                 :             :   typedef PassVectorCharResults Pipelines;
    1129                 :             : 
    1130                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
    1131                 :           1 :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
    1132                 :           1 :       : _typeless(kj::mv(typeless)) {}
    1133                 :             : 
    1134                 :             : private:
    1135                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
    1136                 :             :   friend class ::capnp::PipelineHook;
    1137                 :             :   template <typename, ::capnp::Kind>
    1138                 :             :   friend struct ::capnp::ToDynamic_;
    1139                 :             : };
    1140                 :             : #endif  // !CAPNP_LITE
    1141                 :             : 
    1142                 :             : class FooInterface::PassScriptParams::Reader {
    1143                 :             : public:
    1144                 :             :   typedef PassScriptParams Reads;
    1145                 :             : 
    1146                 :             :   Reader() = default;
    1147                 :           3 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
    1148                 :             : 
    1149                 :             :   inline ::capnp::MessageSize totalSize() const {
    1150                 :             :     return _reader.totalSize().asPublic();
    1151                 :             :   }
    1152                 :             : 
    1153                 :             : #if !CAPNP_LITE
    1154                 :           2 :   inline ::kj::StringTree toString() const {
    1155         [ +  - ]:           2 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
    1156                 :             :   }
    1157                 :             : #endif  // !CAPNP_LITE
    1158                 :             : 
    1159                 :             :   inline bool hasArg() const;
    1160                 :             :   inline  ::capnp::Data::Reader getArg() const;
    1161                 :             : 
    1162                 :             : private:
    1163                 :             :   ::capnp::_::StructReader _reader;
    1164                 :             :   template <typename, ::capnp::Kind>
    1165                 :             :   friend struct ::capnp::ToDynamic_;
    1166                 :             :   template <typename, ::capnp::Kind>
    1167                 :             :   friend struct ::capnp::_::PointerHelpers;
    1168                 :             :   template <typename, ::capnp::Kind>
    1169                 :             :   friend struct ::capnp::List;
    1170                 :             :   friend class ::capnp::MessageBuilder;
    1171                 :             :   friend class ::capnp::Orphanage;
    1172                 :             : };
    1173                 :             : 
    1174                 :             : class FooInterface::PassScriptParams::Builder {
    1175                 :             : public:
    1176                 :             :   typedef PassScriptParams Builds;
    1177                 :             : 
    1178                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
    1179                 :             :                        // You can explicitly initialize to nullptr instead.
    1180                 :             :   inline Builder(decltype(nullptr)) {}
    1181                 :           1 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
    1182                 :           1 :   inline operator Reader() const { return Reader(_builder.asReader()); }
    1183                 :           1 :   inline Reader asReader() const { return *this; }
    1184                 :             : 
    1185                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
    1186                 :             : #if !CAPNP_LITE
    1187                 :           1 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
    1188                 :             : #endif  // !CAPNP_LITE
    1189                 :             : 
    1190                 :             :   inline bool hasArg();
    1191                 :             :   inline  ::capnp::Data::Builder getArg();
    1192                 :             :   inline void setArg( ::capnp::Data::Reader value);
    1193                 :             :   inline  ::capnp::Data::Builder initArg(unsigned int size);
    1194                 :             :   inline void adoptArg(::capnp::Orphan< ::capnp::Data>&& value);
    1195                 :             :   inline ::capnp::Orphan< ::capnp::Data> disownArg();
    1196                 :             : 
    1197                 :             : private:
    1198                 :             :   ::capnp::_::StructBuilder _builder;
    1199                 :             :   template <typename, ::capnp::Kind>
    1200                 :             :   friend struct ::capnp::ToDynamic_;
    1201                 :             :   friend class ::capnp::Orphanage;
    1202                 :             :   template <typename, ::capnp::Kind>
    1203                 :             :   friend struct ::capnp::_::PointerHelpers;
    1204                 :             : };
    1205                 :             : 
    1206                 :             : #if !CAPNP_LITE
    1207                 :             : class FooInterface::PassScriptParams::Pipeline {
    1208                 :             : public:
    1209                 :             :   typedef PassScriptParams Pipelines;
    1210                 :             : 
    1211                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
    1212                 :             :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
    1213                 :             :       : _typeless(kj::mv(typeless)) {}
    1214                 :             : 
    1215                 :             : private:
    1216                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
    1217                 :             :   friend class ::capnp::PipelineHook;
    1218                 :             :   template <typename, ::capnp::Kind>
    1219                 :             :   friend struct ::capnp::ToDynamic_;
    1220                 :             : };
    1221                 :             : #endif  // !CAPNP_LITE
    1222                 :             : 
    1223                 :             : class FooInterface::PassScriptResults::Reader {
    1224                 :             : public:
    1225                 :             :   typedef PassScriptResults Reads;
    1226                 :             : 
    1227                 :             :   Reader() = default;
    1228                 :           2 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
    1229                 :             : 
    1230                 :             :   inline ::capnp::MessageSize totalSize() const {
    1231                 :             :     return _reader.totalSize().asPublic();
    1232                 :             :   }
    1233                 :             : 
    1234                 :             : #if !CAPNP_LITE
    1235                 :           2 :   inline ::kj::StringTree toString() const {
    1236         [ +  - ]:           2 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
    1237                 :             :   }
    1238                 :             : #endif  // !CAPNP_LITE
    1239                 :             : 
    1240                 :             :   inline bool hasResult() const;
    1241                 :             :   inline  ::capnp::Data::Reader getResult() const;
    1242                 :             : 
    1243                 :             : private:
    1244                 :             :   ::capnp::_::StructReader _reader;
    1245                 :             :   template <typename, ::capnp::Kind>
    1246                 :             :   friend struct ::capnp::ToDynamic_;
    1247                 :             :   template <typename, ::capnp::Kind>
    1248                 :             :   friend struct ::capnp::_::PointerHelpers;
    1249                 :             :   template <typename, ::capnp::Kind>
    1250                 :             :   friend struct ::capnp::List;
    1251                 :             :   friend class ::capnp::MessageBuilder;
    1252                 :             :   friend class ::capnp::Orphanage;
    1253                 :             : };
    1254                 :             : 
    1255                 :             : class FooInterface::PassScriptResults::Builder {
    1256                 :             : public:
    1257                 :             :   typedef PassScriptResults Builds;
    1258                 :             : 
    1259                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
    1260                 :             :                        // You can explicitly initialize to nullptr instead.
    1261                 :             :   inline Builder(decltype(nullptr)) {}
    1262                 :           3 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
    1263                 :           1 :   inline operator Reader() const { return Reader(_builder.asReader()); }
    1264                 :           1 :   inline Reader asReader() const { return *this; }
    1265                 :             : 
    1266                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
    1267                 :             : #if !CAPNP_LITE
    1268                 :           1 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
    1269                 :             : #endif  // !CAPNP_LITE
    1270                 :             : 
    1271                 :             :   inline bool hasResult();
    1272                 :             :   inline  ::capnp::Data::Builder getResult();
    1273                 :             :   inline void setResult( ::capnp::Data::Reader value);
    1274                 :             :   inline  ::capnp::Data::Builder initResult(unsigned int size);
    1275                 :             :   inline void adoptResult(::capnp::Orphan< ::capnp::Data>&& value);
    1276                 :             :   inline ::capnp::Orphan< ::capnp::Data> disownResult();
    1277                 :             : 
    1278                 :             : private:
    1279                 :             :   ::capnp::_::StructBuilder _builder;
    1280                 :             :   template <typename, ::capnp::Kind>
    1281                 :             :   friend struct ::capnp::ToDynamic_;
    1282                 :             :   friend class ::capnp::Orphanage;
    1283                 :             :   template <typename, ::capnp::Kind>
    1284                 :             :   friend struct ::capnp::_::PointerHelpers;
    1285                 :             : };
    1286                 :             : 
    1287                 :             : #if !CAPNP_LITE
    1288         [ -  + ]:           2 : class FooInterface::PassScriptResults::Pipeline {
    1289                 :             : public:
    1290                 :             :   typedef PassScriptResults Pipelines;
    1291                 :             : 
    1292                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
    1293                 :           1 :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
    1294                 :           1 :       : _typeless(kj::mv(typeless)) {}
    1295                 :             : 
    1296                 :             : private:
    1297                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
    1298                 :             :   friend class ::capnp::PipelineHook;
    1299                 :             :   template <typename, ::capnp::Kind>
    1300                 :             :   friend struct ::capnp::ToDynamic_;
    1301                 :             : };
    1302                 :             : #endif  // !CAPNP_LITE
    1303                 :             : 
    1304                 :             : // =======================================================================================
    1305                 :             : 
    1306                 :             : #if !CAPNP_LITE
    1307                 :             : inline FooInterface::Client::Client(decltype(nullptr))
    1308                 :             :     : ::capnp::Capability::Client(nullptr) {}
    1309                 :           1 : inline FooInterface::Client::Client(
    1310                 :             :     ::kj::Own< ::capnp::ClientHook>&& hook)
    1311         [ +  - ]:           1 :     : ::capnp::Capability::Client(::kj::mv(hook)) {}
    1312                 :             : template <typename _t, typename>
    1313                 :             : inline FooInterface::Client::Client(::kj::Own<_t>&& server)
    1314                 :             :     : ::capnp::Capability::Client(::kj::mv(server)) {}
    1315                 :             : template <typename _t, typename>
    1316                 :             : inline FooInterface::Client::Client(::kj::Promise<_t>&& promise)
    1317                 :             :     : ::capnp::Capability::Client(::kj::mv(promise)) {}
    1318                 :             : inline FooInterface::Client::Client(::kj::Exception&& exception)
    1319                 :             :     : ::capnp::Capability::Client(::kj::mv(exception)) {}
    1320                 :             : inline  ::gen::FooInterface::Client& FooInterface::Client::operator=(Client& other) {
    1321                 :             :   ::capnp::Capability::Client::operator=(other);
    1322                 :             :   return *this;
    1323                 :             : }
    1324                 :             : inline  ::gen::FooInterface::Client& FooInterface::Client::operator=(Client&& other) {
    1325                 :             :   ::capnp::Capability::Client::operator=(kj::mv(other));
    1326                 :             :   return *this;
    1327                 :             : }
    1328                 :             : 
    1329                 :             : #endif  // !CAPNP_LITE
    1330                 :           1 : inline  ::int32_t FooInterface::AddParams::Reader::getA() const {
    1331   [ +  -  -  + ]:           2 :   return _reader.getDataField< ::int32_t>(
    1332                 :             :       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
    1333                 :             : }
    1334                 :             : 
    1335                 :             : inline  ::int32_t FooInterface::AddParams::Builder::getA() {
    1336                 :             :   return _builder.getDataField< ::int32_t>(
    1337                 :             :       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
    1338                 :             : }
    1339                 :           1 : inline void FooInterface::AddParams::Builder::setA( ::int32_t value) {
    1340                 :           1 :   _builder.setDataField< ::int32_t>(
    1341                 :             :       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
    1342                 :             : }
    1343                 :             : 
    1344                 :           1 : inline  ::int32_t FooInterface::AddParams::Reader::getB() const {
    1345   [ +  -  -  + ]:           2 :   return _reader.getDataField< ::int32_t>(
    1346                 :             :       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
    1347                 :             : }
    1348                 :             : 
    1349                 :             : inline  ::int32_t FooInterface::AddParams::Builder::getB() {
    1350                 :             :   return _builder.getDataField< ::int32_t>(
    1351                 :             :       ::capnp::bounded<1>() * ::capnp::ELEMENTS);
    1352                 :             : }
    1353                 :           1 : inline void FooInterface::AddParams::Builder::setB( ::int32_t value) {
    1354                 :           1 :   _builder.setDataField< ::int32_t>(
    1355                 :             :       ::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
    1356                 :             : }
    1357                 :             : 
    1358                 :           1 : inline  ::int32_t FooInterface::AddResults::Reader::getResult() const {
    1359         [ +  - ]:           1 :   return _reader.getDataField< ::int32_t>(
    1360                 :             :       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
    1361                 :             : }
    1362                 :             : 
    1363                 :             : inline  ::int32_t FooInterface::AddResults::Builder::getResult() {
    1364                 :             :   return _builder.getDataField< ::int32_t>(
    1365                 :             :       ::capnp::bounded<0>() * ::capnp::ELEMENTS);
    1366                 :             : }
    1367                 :           1 : inline void FooInterface::AddResults::Builder::setResult( ::int32_t value) {
    1368                 :           1 :   _builder.setDataField< ::int32_t>(
    1369                 :             :       ::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
    1370                 :             : }
    1371                 :             : 
    1372                 :           1 : inline bool FooInterface::PassOutPointParams::Reader::hasArg() const {
    1373         [ +  - ]:           2 :   return !_reader.getPointerField(
    1374                 :           1 :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1375                 :             : }
    1376                 :             : inline bool FooInterface::PassOutPointParams::Builder::hasArg() {
    1377                 :             :   return !_builder.getPointerField(
    1378                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1379                 :             : }
    1380                 :           1 : inline  ::capnp::Data::Reader FooInterface::PassOutPointParams::Reader::getArg() const {
    1381         [ +  - ]:           2 :   return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
    1382                 :           1 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1383                 :             : }
    1384                 :             : inline  ::capnp::Data::Builder FooInterface::PassOutPointParams::Builder::getArg() {
    1385                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
    1386                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1387                 :             : }
    1388                 :             : inline void FooInterface::PassOutPointParams::Builder::setArg( ::capnp::Data::Reader value) {
    1389                 :             :   ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
    1390                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
    1391                 :             : }
    1392                 :           1 : inline  ::capnp::Data::Builder FooInterface::PassOutPointParams::Builder::initArg(unsigned int size) {
    1393                 :           1 :   return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
    1394                 :           1 :       ::capnp::bounded<0>() * ::capnp::POINTERS), size);
    1395                 :             : }
    1396                 :             : inline void FooInterface::PassOutPointParams::Builder::adoptArg(
    1397                 :             :     ::capnp::Orphan< ::capnp::Data>&& value) {
    1398                 :             :   ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
    1399                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
    1400                 :             : }
    1401                 :             : inline ::capnp::Orphan< ::capnp::Data> FooInterface::PassOutPointParams::Builder::disownArg() {
    1402                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
    1403                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1404                 :             : }
    1405                 :             : 
    1406                 :           1 : inline bool FooInterface::PassOutPointResults::Reader::hasResult() const {
    1407         [ +  - ]:           2 :   return !_reader.getPointerField(
    1408                 :           1 :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1409                 :             : }
    1410                 :             : inline bool FooInterface::PassOutPointResults::Builder::hasResult() {
    1411                 :             :   return !_builder.getPointerField(
    1412                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1413                 :             : }
    1414                 :           1 : inline  ::capnp::Data::Reader FooInterface::PassOutPointResults::Reader::getResult() const {
    1415         [ +  - ]:           2 :   return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
    1416                 :           1 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1417                 :             : }
    1418                 :             : inline  ::capnp::Data::Builder FooInterface::PassOutPointResults::Builder::getResult() {
    1419                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
    1420                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1421                 :             : }
    1422                 :             : inline void FooInterface::PassOutPointResults::Builder::setResult( ::capnp::Data::Reader value) {
    1423                 :             :   ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
    1424                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
    1425                 :             : }
    1426                 :           1 : inline  ::capnp::Data::Builder FooInterface::PassOutPointResults::Builder::initResult(unsigned int size) {
    1427                 :           1 :   return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
    1428                 :           1 :       ::capnp::bounded<0>() * ::capnp::POINTERS), size);
    1429                 :             : }
    1430                 :             : inline void FooInterface::PassOutPointResults::Builder::adoptResult(
    1431                 :             :     ::capnp::Orphan< ::capnp::Data>&& value) {
    1432                 :             :   ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
    1433                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
    1434                 :             : }
    1435                 :             : inline ::capnp::Orphan< ::capnp::Data> FooInterface::PassOutPointResults::Builder::disownResult() {
    1436                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
    1437                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1438                 :             : }
    1439                 :             : 
    1440                 :             : inline bool FooInterface::PassUniValueParams::Reader::hasArg() const {
    1441                 :             :   return !_reader.getPointerField(
    1442                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1443                 :             : }
    1444                 :             : inline bool FooInterface::PassUniValueParams::Builder::hasArg() {
    1445                 :             :   return !_builder.getPointerField(
    1446                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1447                 :             : }
    1448                 :           1 : inline  ::capnp::Text::Reader FooInterface::PassUniValueParams::Reader::getArg() const {
    1449         [ +  - ]:           2 :   return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
    1450                 :           1 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1451                 :             : }
    1452                 :             : inline  ::capnp::Text::Builder FooInterface::PassUniValueParams::Builder::getArg() {
    1453                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
    1454                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1455                 :             : }
    1456                 :             : inline void FooInterface::PassUniValueParams::Builder::setArg( ::capnp::Text::Reader value) {
    1457                 :             :   ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
    1458                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
    1459                 :             : }
    1460                 :           1 : inline  ::capnp::Text::Builder FooInterface::PassUniValueParams::Builder::initArg(unsigned int size) {
    1461                 :           1 :   return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
    1462                 :           1 :       ::capnp::bounded<0>() * ::capnp::POINTERS), size);
    1463                 :             : }
    1464                 :             : inline void FooInterface::PassUniValueParams::Builder::adoptArg(
    1465                 :             :     ::capnp::Orphan< ::capnp::Text>&& value) {
    1466                 :             :   ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
    1467                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
    1468                 :             : }
    1469                 :             : inline ::capnp::Orphan< ::capnp::Text> FooInterface::PassUniValueParams::Builder::disownArg() {
    1470                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
    1471                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1472                 :             : }
    1473                 :             : 
    1474                 :             : inline bool FooInterface::PassUniValueResults::Reader::hasResult() const {
    1475                 :             :   return !_reader.getPointerField(
    1476                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1477                 :             : }
    1478                 :             : inline bool FooInterface::PassUniValueResults::Builder::hasResult() {
    1479                 :             :   return !_builder.getPointerField(
    1480                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1481                 :             : }
    1482                 :           1 : inline  ::capnp::Text::Reader FooInterface::PassUniValueResults::Reader::getResult() const {
    1483         [ +  - ]:           2 :   return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
    1484                 :           1 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1485                 :             : }
    1486                 :             : inline  ::capnp::Text::Builder FooInterface::PassUniValueResults::Builder::getResult() {
    1487                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
    1488                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1489                 :             : }
    1490                 :             : inline void FooInterface::PassUniValueResults::Builder::setResult( ::capnp::Text::Reader value) {
    1491                 :             :   ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
    1492                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
    1493                 :             : }
    1494                 :           1 : inline  ::capnp::Text::Builder FooInterface::PassUniValueResults::Builder::initResult(unsigned int size) {
    1495                 :           1 :   return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
    1496                 :           1 :       ::capnp::bounded<0>() * ::capnp::POINTERS), size);
    1497                 :             : }
    1498                 :             : inline void FooInterface::PassUniValueResults::Builder::adoptResult(
    1499                 :             :     ::capnp::Orphan< ::capnp::Text>&& value) {
    1500                 :             :   ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
    1501                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
    1502                 :             : }
    1503                 :             : inline ::capnp::Orphan< ::capnp::Text> FooInterface::PassUniValueResults::Builder::disownResult() {
    1504                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
    1505                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1506                 :             : }
    1507                 :             : 
    1508                 :           2 : inline bool FooInterface::PassTransactionParams::Reader::hasArg() const {
    1509         [ +  - ]:           4 :   return !_reader.getPointerField(
    1510                 :           2 :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1511                 :             : }
    1512                 :             : inline bool FooInterface::PassTransactionParams::Builder::hasArg() {
    1513                 :             :   return !_builder.getPointerField(
    1514                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1515                 :             : }
    1516                 :           1 : inline  ::capnp::Data::Reader FooInterface::PassTransactionParams::Reader::getArg() const {
    1517         [ +  - ]:           2 :   return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
    1518                 :           1 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1519                 :             : }
    1520                 :             : inline  ::capnp::Data::Builder FooInterface::PassTransactionParams::Builder::getArg() {
    1521                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
    1522                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1523                 :             : }
    1524                 :             : inline void FooInterface::PassTransactionParams::Builder::setArg( ::capnp::Data::Reader value) {
    1525                 :             :   ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
    1526                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
    1527                 :             : }
    1528                 :           1 : inline  ::capnp::Data::Builder FooInterface::PassTransactionParams::Builder::initArg(unsigned int size) {
    1529                 :           1 :   return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
    1530                 :           1 :       ::capnp::bounded<0>() * ::capnp::POINTERS), size);
    1531                 :             : }
    1532                 :             : inline void FooInterface::PassTransactionParams::Builder::adoptArg(
    1533                 :             :     ::capnp::Orphan< ::capnp::Data>&& value) {
    1534                 :             :   ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
    1535                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
    1536                 :             : }
    1537                 :             : inline ::capnp::Orphan< ::capnp::Data> FooInterface::PassTransactionParams::Builder::disownArg() {
    1538                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
    1539                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1540                 :             : }
    1541                 :             : 
    1542                 :           2 : inline bool FooInterface::PassTransactionResults::Reader::hasResult() const {
    1543         [ +  - ]:           4 :   return !_reader.getPointerField(
    1544                 :           2 :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1545                 :             : }
    1546                 :             : inline bool FooInterface::PassTransactionResults::Builder::hasResult() {
    1547                 :             :   return !_builder.getPointerField(
    1548                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1549                 :             : }
    1550                 :           1 : inline  ::capnp::Data::Reader FooInterface::PassTransactionResults::Reader::getResult() const {
    1551         [ +  - ]:           2 :   return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
    1552                 :           1 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1553                 :             : }
    1554                 :             : inline  ::capnp::Data::Builder FooInterface::PassTransactionResults::Builder::getResult() {
    1555                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
    1556                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1557                 :             : }
    1558                 :             : inline void FooInterface::PassTransactionResults::Builder::setResult( ::capnp::Data::Reader value) {
    1559                 :             :   ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
    1560                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
    1561                 :             : }
    1562                 :           1 : inline  ::capnp::Data::Builder FooInterface::PassTransactionResults::Builder::initResult(unsigned int size) {
    1563                 :           1 :   return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
    1564                 :           1 :       ::capnp::bounded<0>() * ::capnp::POINTERS), size);
    1565                 :             : }
    1566                 :             : inline void FooInterface::PassTransactionResults::Builder::adoptResult(
    1567                 :             :     ::capnp::Orphan< ::capnp::Data>&& value) {
    1568                 :             :   ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
    1569                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
    1570                 :             : }
    1571                 :             : inline ::capnp::Orphan< ::capnp::Data> FooInterface::PassTransactionResults::Builder::disownResult() {
    1572                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
    1573                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1574                 :             : }
    1575                 :             : 
    1576                 :             : inline bool FooInterface::PassVectorCharParams::Reader::hasArg() const {
    1577                 :             :   return !_reader.getPointerField(
    1578                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1579                 :             : }
    1580                 :             : inline bool FooInterface::PassVectorCharParams::Builder::hasArg() {
    1581                 :             :   return !_builder.getPointerField(
    1582                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1583                 :             : }
    1584                 :           2 : inline  ::capnp::Data::Reader FooInterface::PassVectorCharParams::Reader::getArg() const {
    1585         [ +  - ]:           4 :   return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
    1586                 :           2 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1587                 :             : }
    1588                 :             : inline  ::capnp::Data::Builder FooInterface::PassVectorCharParams::Builder::getArg() {
    1589                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
    1590                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1591                 :             : }
    1592                 :             : inline void FooInterface::PassVectorCharParams::Builder::setArg( ::capnp::Data::Reader value) {
    1593                 :             :   ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
    1594                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
    1595                 :             : }
    1596                 :           1 : inline  ::capnp::Data::Builder FooInterface::PassVectorCharParams::Builder::initArg(unsigned int size) {
    1597                 :           1 :   return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
    1598                 :           1 :       ::capnp::bounded<0>() * ::capnp::POINTERS), size);
    1599                 :             : }
    1600                 :             : inline void FooInterface::PassVectorCharParams::Builder::adoptArg(
    1601                 :             :     ::capnp::Orphan< ::capnp::Data>&& value) {
    1602                 :             :   ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
    1603                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
    1604                 :             : }
    1605                 :             : inline ::capnp::Orphan< ::capnp::Data> FooInterface::PassVectorCharParams::Builder::disownArg() {
    1606                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
    1607                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1608                 :             : }
    1609                 :             : 
    1610                 :             : inline bool FooInterface::PassVectorCharResults::Reader::hasResult() const {
    1611                 :             :   return !_reader.getPointerField(
    1612                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1613                 :             : }
    1614                 :             : inline bool FooInterface::PassVectorCharResults::Builder::hasResult() {
    1615                 :             :   return !_builder.getPointerField(
    1616                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1617                 :             : }
    1618                 :           2 : inline  ::capnp::Data::Reader FooInterface::PassVectorCharResults::Reader::getResult() const {
    1619         [ +  - ]:           4 :   return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
    1620                 :           2 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1621                 :             : }
    1622                 :             : inline  ::capnp::Data::Builder FooInterface::PassVectorCharResults::Builder::getResult() {
    1623                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
    1624                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1625                 :             : }
    1626                 :             : inline void FooInterface::PassVectorCharResults::Builder::setResult( ::capnp::Data::Reader value) {
    1627                 :             :   ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
    1628                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
    1629                 :             : }
    1630                 :           1 : inline  ::capnp::Data::Builder FooInterface::PassVectorCharResults::Builder::initResult(unsigned int size) {
    1631                 :           1 :   return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
    1632                 :           1 :       ::capnp::bounded<0>() * ::capnp::POINTERS), size);
    1633                 :             : }
    1634                 :             : inline void FooInterface::PassVectorCharResults::Builder::adoptResult(
    1635                 :             :     ::capnp::Orphan< ::capnp::Data>&& value) {
    1636                 :             :   ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
    1637                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
    1638                 :             : }
    1639                 :             : inline ::capnp::Orphan< ::capnp::Data> FooInterface::PassVectorCharResults::Builder::disownResult() {
    1640                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
    1641                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1642                 :             : }
    1643                 :             : 
    1644                 :             : inline bool FooInterface::PassScriptParams::Reader::hasArg() const {
    1645                 :             :   return !_reader.getPointerField(
    1646                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1647                 :             : }
    1648                 :             : inline bool FooInterface::PassScriptParams::Builder::hasArg() {
    1649                 :             :   return !_builder.getPointerField(
    1650                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1651                 :             : }
    1652                 :           2 : inline  ::capnp::Data::Reader FooInterface::PassScriptParams::Reader::getArg() const {
    1653         [ +  - ]:           4 :   return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
    1654                 :           2 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1655                 :             : }
    1656                 :             : inline  ::capnp::Data::Builder FooInterface::PassScriptParams::Builder::getArg() {
    1657                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
    1658                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1659                 :             : }
    1660                 :             : inline void FooInterface::PassScriptParams::Builder::setArg( ::capnp::Data::Reader value) {
    1661                 :             :   ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
    1662                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
    1663                 :             : }
    1664                 :           1 : inline  ::capnp::Data::Builder FooInterface::PassScriptParams::Builder::initArg(unsigned int size) {
    1665                 :           1 :   return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
    1666                 :           1 :       ::capnp::bounded<0>() * ::capnp::POINTERS), size);
    1667                 :             : }
    1668                 :             : inline void FooInterface::PassScriptParams::Builder::adoptArg(
    1669                 :             :     ::capnp::Orphan< ::capnp::Data>&& value) {
    1670                 :             :   ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
    1671                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
    1672                 :             : }
    1673                 :             : inline ::capnp::Orphan< ::capnp::Data> FooInterface::PassScriptParams::Builder::disownArg() {
    1674                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
    1675                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1676                 :             : }
    1677                 :             : 
    1678                 :             : inline bool FooInterface::PassScriptResults::Reader::hasResult() const {
    1679                 :             :   return !_reader.getPointerField(
    1680                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1681                 :             : }
    1682                 :             : inline bool FooInterface::PassScriptResults::Builder::hasResult() {
    1683                 :             :   return !_builder.getPointerField(
    1684                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1685                 :             : }
    1686                 :           2 : inline  ::capnp::Data::Reader FooInterface::PassScriptResults::Reader::getResult() const {
    1687         [ +  - ]:           4 :   return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
    1688                 :           2 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1689                 :             : }
    1690                 :             : inline  ::capnp::Data::Builder FooInterface::PassScriptResults::Builder::getResult() {
    1691                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
    1692                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1693                 :             : }
    1694                 :             : inline void FooInterface::PassScriptResults::Builder::setResult( ::capnp::Data::Reader value) {
    1695                 :             :   ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
    1696                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
    1697                 :             : }
    1698                 :           1 : inline  ::capnp::Data::Builder FooInterface::PassScriptResults::Builder::initResult(unsigned int size) {
    1699                 :           1 :   return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
    1700                 :           1 :       ::capnp::bounded<0>() * ::capnp::POINTERS), size);
    1701                 :             : }
    1702                 :             : inline void FooInterface::PassScriptResults::Builder::adoptResult(
    1703                 :             :     ::capnp::Orphan< ::capnp::Data>&& value) {
    1704                 :             :   ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
    1705                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
    1706                 :             : }
    1707                 :             : inline ::capnp::Orphan< ::capnp::Data> FooInterface::PassScriptResults::Builder::disownResult() {
    1708                 :             :   return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
    1709                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1710                 :             : }
    1711                 :             : 
    1712                 :             : }  // namespace
    1713                 :             : 
    1714                 :             : CAPNP_END_HEADER
    1715                 :             : 
        

Generated by: LCOV version 2.0-1