LCOV - code coverage report
Current view: top level - bld-cov/src/ipc/capnp - init.capnp.h (source / functions) Coverage Total Hit
Test: total_coverage.info Lines: 58.8 % 119 70
Test Date: 2026-02-25 05:45:00 Functions: 58.1 % 31 18
Branches: 34.5 % 58 20

             Branch data     Line data    Source code
       1                 :             : // Generated by Cap'n Proto compiler, DO NOT EDIT
       2                 :             : // source: init.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                 :             : #include <mp/proxy.capnp.h>
      19                 :             : #include "echo.capnp.h"
      20                 :             : #include "mining.capnp.h"
      21                 :             : 
      22                 :             : CAPNP_BEGIN_HEADER
      23                 :             : 
      24                 :             : namespace capnp {
      25                 :             : namespace schemas {
      26                 :             : 
      27                 :             : CAPNP_DECLARE_SCHEMA(8838c700ba5cba65);
      28                 :             : CAPNP_DECLARE_SCHEMA(d0094f43e65f70fa);
      29                 :             : CAPNP_DECLARE_SCHEMA(cff59c9cb0856a9d);
      30                 :             : CAPNP_DECLARE_SCHEMA(d1eaffd3f12b7a9a);
      31                 :             : CAPNP_DECLARE_SCHEMA(c6b83de56dc761c7);
      32                 :             : CAPNP_DECLARE_SCHEMA(ecc9a12bacbb6a49);
      33                 :             : CAPNP_DECLARE_SCHEMA(b40b3d0b48ea1c10);
      34                 :             : CAPNP_DECLARE_SCHEMA(f0919d79a695b715);
      35                 :             : CAPNP_DECLARE_SCHEMA(9b5015dfcf3b9509);
      36                 :             : 
      37                 :             : }  // namespace schemas
      38                 :             : }  // namespace capnp
      39                 :             : 
      40                 :             : namespace ipc {
      41                 :             : namespace capnp {
      42                 :             : namespace messages {
      43                 :             : 
      44                 :             : struct Init {
      45                 :             :   Init() = delete;
      46                 :             : 
      47                 :             : #if !CAPNP_LITE
      48                 :             :   class Client;
      49                 :             :   class Server;
      50                 :             : #endif  // !CAPNP_LITE
      51                 :             : 
      52                 :             :   struct ConstructParams;
      53                 :             :   struct ConstructResults;
      54                 :             :   struct MakeEchoParams;
      55                 :             :   struct MakeEchoResults;
      56                 :             :   struct MakeMiningOld2Params;
      57                 :             :   struct MakeMiningOld2Results;
      58                 :             :   struct MakeMiningParams;
      59                 :             :   struct MakeMiningResults;
      60                 :             : 
      61                 :             :   #if !CAPNP_LITE
      62                 :             :   struct _capnpPrivate {
      63                 :             :     CAPNP_DECLARE_INTERFACE_HEADER(8838c700ba5cba65)
      64                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
      65                 :             :   };
      66                 :             :   #endif  // !CAPNP_LITE
      67                 :             : };
      68                 :             : 
      69                 :             : struct Init::ConstructParams {
      70                 :             :   ConstructParams() = delete;
      71                 :             : 
      72                 :             :   class Reader;
      73                 :             :   class Builder;
      74                 :             :   class Pipeline;
      75                 :             : 
      76                 :             :   struct _capnpPrivate {
      77                 :             :     CAPNP_DECLARE_STRUCT_HEADER(d0094f43e65f70fa, 0, 1)
      78                 :             :     #if !CAPNP_LITE
      79                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
      80                 :             :     #endif  // !CAPNP_LITE
      81                 :             :   };
      82                 :             : };
      83                 :             : 
      84                 :             : struct Init::ConstructResults {
      85                 :             :   ConstructResults() = delete;
      86                 :             : 
      87                 :             :   class Reader;
      88                 :             :   class Builder;
      89                 :             :   class Pipeline;
      90                 :             : 
      91                 :             :   struct _capnpPrivate {
      92                 :             :     CAPNP_DECLARE_STRUCT_HEADER(cff59c9cb0856a9d, 0, 1)
      93                 :             :     #if !CAPNP_LITE
      94                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
      95                 :             :     #endif  // !CAPNP_LITE
      96                 :             :   };
      97                 :             : };
      98                 :             : 
      99                 :             : struct Init::MakeEchoParams {
     100                 :             :   MakeEchoParams() = delete;
     101                 :             : 
     102                 :             :   class Reader;
     103                 :             :   class Builder;
     104                 :             :   class Pipeline;
     105                 :             : 
     106                 :             :   struct _capnpPrivate {
     107                 :             :     CAPNP_DECLARE_STRUCT_HEADER(d1eaffd3f12b7a9a, 0, 1)
     108                 :             :     #if !CAPNP_LITE
     109                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     110                 :             :     #endif  // !CAPNP_LITE
     111                 :             :   };
     112                 :             : };
     113                 :             : 
     114                 :             : struct Init::MakeEchoResults {
     115                 :             :   MakeEchoResults() = delete;
     116                 :             : 
     117                 :             :   class Reader;
     118                 :             :   class Builder;
     119                 :             :   class Pipeline;
     120                 :             : 
     121                 :             :   struct _capnpPrivate {
     122                 :             :     CAPNP_DECLARE_STRUCT_HEADER(c6b83de56dc761c7, 0, 1)
     123                 :             :     #if !CAPNP_LITE
     124                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     125                 :             :     #endif  // !CAPNP_LITE
     126                 :             :   };
     127                 :             : };
     128                 :             : 
     129                 :             : struct Init::MakeMiningOld2Params {
     130                 :             :   MakeMiningOld2Params() = delete;
     131                 :             : 
     132                 :             :   class Reader;
     133                 :             :   class Builder;
     134                 :             :   class Pipeline;
     135                 :             : 
     136                 :             :   struct _capnpPrivate {
     137                 :             :     CAPNP_DECLARE_STRUCT_HEADER(ecc9a12bacbb6a49, 0, 0)
     138                 :             :     #if !CAPNP_LITE
     139                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     140                 :             :     #endif  // !CAPNP_LITE
     141                 :             :   };
     142                 :             : };
     143                 :             : 
     144                 :             : struct Init::MakeMiningOld2Results {
     145                 :             :   MakeMiningOld2Results() = delete;
     146                 :             : 
     147                 :             :   class Reader;
     148                 :             :   class Builder;
     149                 :             :   class Pipeline;
     150                 :             : 
     151                 :             :   struct _capnpPrivate {
     152                 :             :     CAPNP_DECLARE_STRUCT_HEADER(b40b3d0b48ea1c10, 0, 0)
     153                 :             :     #if !CAPNP_LITE
     154                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     155                 :             :     #endif  // !CAPNP_LITE
     156                 :             :   };
     157                 :             : };
     158                 :             : 
     159                 :             : struct Init::MakeMiningParams {
     160                 :             :   MakeMiningParams() = delete;
     161                 :             : 
     162                 :             :   class Reader;
     163                 :             :   class Builder;
     164                 :             :   class Pipeline;
     165                 :             : 
     166                 :             :   struct _capnpPrivate {
     167                 :             :     CAPNP_DECLARE_STRUCT_HEADER(f0919d79a695b715, 0, 1)
     168                 :             :     #if !CAPNP_LITE
     169                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     170                 :             :     #endif  // !CAPNP_LITE
     171                 :             :   };
     172                 :             : };
     173                 :             : 
     174                 :             : struct Init::MakeMiningResults {
     175                 :             :   MakeMiningResults() = delete;
     176                 :             : 
     177                 :             :   class Reader;
     178                 :             :   class Builder;
     179                 :             :   class Pipeline;
     180                 :             : 
     181                 :             :   struct _capnpPrivate {
     182                 :             :     CAPNP_DECLARE_STRUCT_HEADER(9b5015dfcf3b9509, 0, 1)
     183                 :             :     #if !CAPNP_LITE
     184                 :             :     static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
     185                 :             :     #endif  // !CAPNP_LITE
     186                 :             :   };
     187                 :             : };
     188                 :             : 
     189                 :             : // =======================================================================================
     190                 :             : 
     191                 :             : #if !CAPNP_LITE
     192   [ +  -  +  -  :          30 : class Init::Client
          +  -  +  -  +  
                      - ]
     193                 :             :     : public virtual ::capnp::Capability::Client {
     194                 :             : public:
     195                 :             :   typedef Init Calls;
     196                 :             :   typedef Init Reads;
     197                 :             : 
     198                 :             :   Client(decltype(nullptr));
     199                 :             :   explicit Client(::kj::Own< ::capnp::ClientHook>&& hook);
     200                 :             :   template <typename _t, typename = ::kj::EnableIf< ::kj::canConvert<_t*, Server*>()>>
     201                 :             :   Client(::kj::Own<_t>&& server);
     202                 :             :   template <typename _t, typename = ::kj::EnableIf< ::kj::canConvert<_t*, Client*>()>>
     203                 :             :   Client(::kj::Promise<_t>&& promise);
     204                 :             :   Client(::kj::Exception&& exception);
     205                 :             :   Client(Client&) = default;
     206   [ +  -  +  - ]:          18 :   Client(Client&&) = default;
     207                 :             :   Client& operator=(Client& other);
     208                 :             :   Client& operator=(Client&& other);
     209                 :             : 
     210                 :             :   ::capnp::Request< ::ipc::capnp::messages::Init::ConstructParams,  ::ipc::capnp::messages::Init::ConstructResults> constructRequest(
     211                 :             :       ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
     212                 :             :   ::capnp::Request< ::ipc::capnp::messages::Init::MakeEchoParams,  ::ipc::capnp::messages::Init::MakeEchoResults> makeEchoRequest(
     213                 :             :       ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
     214                 :             :   ::capnp::Request< ::ipc::capnp::messages::Init::MakeMiningOld2Params,  ::ipc::capnp::messages::Init::MakeMiningOld2Results> makeMiningOld2Request(
     215                 :             :       ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
     216                 :             :   ::capnp::Request< ::ipc::capnp::messages::Init::MakeMiningParams,  ::ipc::capnp::messages::Init::MakeMiningResults> makeMiningRequest(
     217                 :             :       ::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
     218                 :             : 
     219                 :             : protected:
     220                 :             :   Client() = default;
     221                 :             : };
     222                 :             : 
     223                 :             : class Init::Server
     224                 :             :     : public virtual ::capnp::Capability::Server {
     225                 :             : public:
     226                 :             :   typedef Init Serves;
     227                 :             : 
     228                 :             :   ::capnp::Capability::Server::DispatchCallResult dispatchCall(
     229                 :             :       uint64_t interfaceId, uint16_t methodId,
     230                 :             :       ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context)
     231                 :             :       override;
     232                 :             : 
     233                 :             : protected:
     234                 :             :   typedef  ::ipc::capnp::messages::Init::ConstructParams ConstructParams;
     235                 :             :   typedef  ::ipc::capnp::messages::Init::ConstructResults ConstructResults;
     236                 :             :   typedef ::capnp::CallContext<ConstructParams, ConstructResults> ConstructContext;
     237                 :             :   virtual ::kj::Promise<void> construct(ConstructContext context);
     238                 :             :   typedef  ::ipc::capnp::messages::Init::MakeEchoParams MakeEchoParams;
     239                 :             :   typedef  ::ipc::capnp::messages::Init::MakeEchoResults MakeEchoResults;
     240                 :             :   typedef ::capnp::CallContext<MakeEchoParams, MakeEchoResults> MakeEchoContext;
     241                 :             :   virtual ::kj::Promise<void> makeEcho(MakeEchoContext context);
     242                 :             :   typedef  ::ipc::capnp::messages::Init::MakeMiningOld2Params MakeMiningOld2Params;
     243                 :             :   typedef  ::ipc::capnp::messages::Init::MakeMiningOld2Results MakeMiningOld2Results;
     244                 :             :   typedef ::capnp::CallContext<MakeMiningOld2Params, MakeMiningOld2Results> MakeMiningOld2Context;
     245                 :             :   virtual ::kj::Promise<void> makeMiningOld2(MakeMiningOld2Context context);
     246                 :             :   typedef  ::ipc::capnp::messages::Init::MakeMiningParams MakeMiningParams;
     247                 :             :   typedef  ::ipc::capnp::messages::Init::MakeMiningResults MakeMiningResults;
     248                 :             :   typedef ::capnp::CallContext<MakeMiningParams, MakeMiningResults> MakeMiningContext;
     249                 :             :   virtual ::kj::Promise<void> makeMining(MakeMiningContext context);
     250                 :             : 
     251                 :             :   inline  ::ipc::capnp::messages::Init::Client thisCap() {
     252                 :             :     return ::capnp::Capability::Server::thisCap()
     253                 :             :         .template castAs< ::ipc::capnp::messages::Init>();
     254                 :             :   }
     255                 :             : 
     256                 :             :   ::capnp::Capability::Server::DispatchCallResult dispatchCallInternal(
     257                 :             :       uint16_t methodId,
     258                 :             :       ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context);
     259                 :             : };
     260                 :             : #endif  // !CAPNP_LITE
     261                 :             : 
     262                 :             : class Init::ConstructParams::Reader {
     263                 :             : public:
     264                 :             :   typedef ConstructParams Reads;
     265                 :             : 
     266                 :             :   Reader() = default;
     267                 :          18 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     268                 :             : 
     269                 :             :   inline ::capnp::MessageSize totalSize() const {
     270                 :             :     return _reader.totalSize().asPublic();
     271                 :             :   }
     272                 :             : 
     273                 :             : #if !CAPNP_LITE
     274                 :          12 :   inline ::kj::StringTree toString() const {
     275         [ +  - ]:          12 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     276                 :             :   }
     277                 :             : #endif  // !CAPNP_LITE
     278                 :             : 
     279                 :             :   inline bool hasThreadMap() const;
     280                 :             : #if !CAPNP_LITE
     281                 :             :   inline  ::mp::ThreadMap::Client getThreadMap() const;
     282                 :             : #endif  // !CAPNP_LITE
     283                 :             : 
     284                 :             : private:
     285                 :             :   ::capnp::_::StructReader _reader;
     286                 :             :   template <typename, ::capnp::Kind>
     287                 :             :   friend struct ::capnp::ToDynamic_;
     288                 :             :   template <typename, ::capnp::Kind>
     289                 :             :   friend struct ::capnp::_::PointerHelpers;
     290                 :             :   template <typename, ::capnp::Kind>
     291                 :             :   friend struct ::capnp::List;
     292                 :             :   friend class ::capnp::MessageBuilder;
     293                 :             :   friend class ::capnp::Orphanage;
     294                 :             : };
     295                 :             : 
     296                 :             : class Init::ConstructParams::Builder {
     297                 :             : public:
     298                 :             :   typedef ConstructParams Builds;
     299                 :             : 
     300                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     301                 :             :                        // You can explicitly initialize to nullptr instead.
     302                 :             :   inline Builder(decltype(nullptr)) {}
     303                 :           6 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     304                 :           6 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     305                 :           6 :   inline Reader asReader() const { return *this; }
     306                 :             : 
     307                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     308                 :             : #if !CAPNP_LITE
     309                 :           6 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     310                 :             : #endif  // !CAPNP_LITE
     311                 :             : 
     312                 :             :   inline bool hasThreadMap();
     313                 :             : #if !CAPNP_LITE
     314                 :             :   inline  ::mp::ThreadMap::Client getThreadMap();
     315                 :             :   inline void setThreadMap( ::mp::ThreadMap::Client&& value);
     316                 :             :   inline void setThreadMap( ::mp::ThreadMap::Client& value);
     317                 :             :   inline void adoptThreadMap(::capnp::Orphan< ::mp::ThreadMap>&& value);
     318                 :             :   inline ::capnp::Orphan< ::mp::ThreadMap> disownThreadMap();
     319                 :             : #endif  // !CAPNP_LITE
     320                 :             : 
     321                 :             : private:
     322                 :             :   ::capnp::_::StructBuilder _builder;
     323                 :             :   template <typename, ::capnp::Kind>
     324                 :             :   friend struct ::capnp::ToDynamic_;
     325                 :             :   friend class ::capnp::Orphanage;
     326                 :             :   template <typename, ::capnp::Kind>
     327                 :             :   friend struct ::capnp::_::PointerHelpers;
     328                 :             : };
     329                 :             : 
     330                 :             : #if !CAPNP_LITE
     331                 :             : class Init::ConstructParams::Pipeline {
     332                 :             : public:
     333                 :             :   typedef ConstructParams Pipelines;
     334                 :             : 
     335                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     336                 :             :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     337                 :             :       : _typeless(kj::mv(typeless)) {}
     338                 :             : 
     339                 :             :   inline  ::mp::ThreadMap::Client getThreadMap();
     340                 :             : private:
     341                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     342                 :             :   friend class ::capnp::PipelineHook;
     343                 :             :   template <typename, ::capnp::Kind>
     344                 :             :   friend struct ::capnp::ToDynamic_;
     345                 :             : };
     346                 :             : #endif  // !CAPNP_LITE
     347                 :             : 
     348                 :             : class Init::ConstructResults::Reader {
     349                 :             : public:
     350                 :             :   typedef ConstructResults Reads;
     351                 :             : 
     352                 :             :   Reader() = default;
     353                 :          12 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     354                 :             : 
     355                 :             :   inline ::capnp::MessageSize totalSize() const {
     356                 :             :     return _reader.totalSize().asPublic();
     357                 :             :   }
     358                 :             : 
     359                 :             : #if !CAPNP_LITE
     360                 :          12 :   inline ::kj::StringTree toString() const {
     361         [ +  - ]:          12 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     362                 :             :   }
     363                 :             : #endif  // !CAPNP_LITE
     364                 :             : 
     365                 :             :   inline bool hasThreadMap() const;
     366                 :             : #if !CAPNP_LITE
     367                 :             :   inline  ::mp::ThreadMap::Client getThreadMap() const;
     368                 :             : #endif  // !CAPNP_LITE
     369                 :             : 
     370                 :             : private:
     371                 :             :   ::capnp::_::StructReader _reader;
     372                 :             :   template <typename, ::capnp::Kind>
     373                 :             :   friend struct ::capnp::ToDynamic_;
     374                 :             :   template <typename, ::capnp::Kind>
     375                 :             :   friend struct ::capnp::_::PointerHelpers;
     376                 :             :   template <typename, ::capnp::Kind>
     377                 :             :   friend struct ::capnp::List;
     378                 :             :   friend class ::capnp::MessageBuilder;
     379                 :             :   friend class ::capnp::Orphanage;
     380                 :             : };
     381                 :             : 
     382                 :             : class Init::ConstructResults::Builder {
     383                 :             : public:
     384                 :             :   typedef ConstructResults Builds;
     385                 :             : 
     386                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     387                 :             :                        // You can explicitly initialize to nullptr instead.
     388                 :             :   inline Builder(decltype(nullptr)) {}
     389                 :          12 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     390                 :           6 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     391                 :           6 :   inline Reader asReader() const { return *this; }
     392                 :             : 
     393                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     394                 :             : #if !CAPNP_LITE
     395                 :           6 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     396                 :             : #endif  // !CAPNP_LITE
     397                 :             : 
     398                 :             :   inline bool hasThreadMap();
     399                 :             : #if !CAPNP_LITE
     400                 :             :   inline  ::mp::ThreadMap::Client getThreadMap();
     401                 :             :   inline void setThreadMap( ::mp::ThreadMap::Client&& value);
     402                 :             :   inline void setThreadMap( ::mp::ThreadMap::Client& value);
     403                 :             :   inline void adoptThreadMap(::capnp::Orphan< ::mp::ThreadMap>&& value);
     404                 :             :   inline ::capnp::Orphan< ::mp::ThreadMap> disownThreadMap();
     405                 :             : #endif  // !CAPNP_LITE
     406                 :             : 
     407                 :             : private:
     408                 :             :   ::capnp::_::StructBuilder _builder;
     409                 :             :   template <typename, ::capnp::Kind>
     410                 :             :   friend struct ::capnp::ToDynamic_;
     411                 :             :   friend class ::capnp::Orphanage;
     412                 :             :   template <typename, ::capnp::Kind>
     413                 :             :   friend struct ::capnp::_::PointerHelpers;
     414                 :             : };
     415                 :             : 
     416                 :             : #if !CAPNP_LITE
     417         [ -  + ]:          12 : class Init::ConstructResults::Pipeline {
     418                 :             : public:
     419                 :             :   typedef ConstructResults Pipelines;
     420                 :             : 
     421                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     422                 :           6 :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     423                 :           6 :       : _typeless(kj::mv(typeless)) {}
     424                 :             : 
     425                 :             :   inline  ::mp::ThreadMap::Client getThreadMap();
     426                 :             : private:
     427                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     428                 :             :   friend class ::capnp::PipelineHook;
     429                 :             :   template <typename, ::capnp::Kind>
     430                 :             :   friend struct ::capnp::ToDynamic_;
     431                 :             : };
     432                 :             : #endif  // !CAPNP_LITE
     433                 :             : 
     434                 :             : class Init::MakeEchoParams::Reader {
     435                 :             : public:
     436                 :             :   typedef MakeEchoParams Reads;
     437                 :             : 
     438                 :             :   Reader() = default;
     439                 :          24 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     440                 :             : 
     441                 :             :   inline ::capnp::MessageSize totalSize() const {
     442                 :             :     return _reader.totalSize().asPublic();
     443                 :             :   }
     444                 :             : 
     445                 :             : #if !CAPNP_LITE
     446                 :          12 :   inline ::kj::StringTree toString() const {
     447         [ +  - ]:          12 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     448                 :             :   }
     449                 :             : #endif  // !CAPNP_LITE
     450                 :             : 
     451                 :             :   inline bool hasContext() const;
     452                 :             :   inline  ::mp::Context::Reader getContext() const;
     453                 :             : 
     454                 :             : private:
     455                 :             :   ::capnp::_::StructReader _reader;
     456                 :             :   template <typename, ::capnp::Kind>
     457                 :             :   friend struct ::capnp::ToDynamic_;
     458                 :             :   template <typename, ::capnp::Kind>
     459                 :             :   friend struct ::capnp::_::PointerHelpers;
     460                 :             :   template <typename, ::capnp::Kind>
     461                 :             :   friend struct ::capnp::List;
     462                 :             :   friend class ::capnp::MessageBuilder;
     463                 :             :   friend class ::capnp::Orphanage;
     464                 :             : };
     465                 :             : 
     466                 :             : class Init::MakeEchoParams::Builder {
     467                 :             : public:
     468                 :             :   typedef MakeEchoParams Builds;
     469                 :             : 
     470                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     471                 :             :                        // You can explicitly initialize to nullptr instead.
     472                 :             :   inline Builder(decltype(nullptr)) {}
     473                 :           6 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     474                 :           6 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     475                 :           6 :   inline Reader asReader() const { return *this; }
     476                 :             : 
     477                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     478                 :             : #if !CAPNP_LITE
     479                 :           6 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     480                 :             : #endif  // !CAPNP_LITE
     481                 :             : 
     482                 :             :   inline bool hasContext();
     483                 :             :   inline  ::mp::Context::Builder getContext();
     484                 :             :   inline void setContext( ::mp::Context::Reader value);
     485                 :             :   inline  ::mp::Context::Builder initContext();
     486                 :             :   inline void adoptContext(::capnp::Orphan< ::mp::Context>&& value);
     487                 :             :   inline ::capnp::Orphan< ::mp::Context> disownContext();
     488                 :             : 
     489                 :             : private:
     490                 :             :   ::capnp::_::StructBuilder _builder;
     491                 :             :   template <typename, ::capnp::Kind>
     492                 :             :   friend struct ::capnp::ToDynamic_;
     493                 :             :   friend class ::capnp::Orphanage;
     494                 :             :   template <typename, ::capnp::Kind>
     495                 :             :   friend struct ::capnp::_::PointerHelpers;
     496                 :             : };
     497                 :             : 
     498                 :             : #if !CAPNP_LITE
     499                 :             : class Init::MakeEchoParams::Pipeline {
     500                 :             : public:
     501                 :             :   typedef MakeEchoParams Pipelines;
     502                 :             : 
     503                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     504                 :             :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     505                 :             :       : _typeless(kj::mv(typeless)) {}
     506                 :             : 
     507                 :             :   inline  ::mp::Context::Pipeline getContext();
     508                 :             : private:
     509                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     510                 :             :   friend class ::capnp::PipelineHook;
     511                 :             :   template <typename, ::capnp::Kind>
     512                 :             :   friend struct ::capnp::ToDynamic_;
     513                 :             : };
     514                 :             : #endif  // !CAPNP_LITE
     515                 :             : 
     516                 :             : class Init::MakeEchoResults::Reader {
     517                 :             : public:
     518                 :             :   typedef MakeEchoResults Reads;
     519                 :             : 
     520                 :             :   Reader() = default;
     521                 :          12 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     522                 :             : 
     523                 :             :   inline ::capnp::MessageSize totalSize() const {
     524                 :             :     return _reader.totalSize().asPublic();
     525                 :             :   }
     526                 :             : 
     527                 :             : #if !CAPNP_LITE
     528                 :          12 :   inline ::kj::StringTree toString() const {
     529         [ +  - ]:          12 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     530                 :             :   }
     531                 :             : #endif  // !CAPNP_LITE
     532                 :             : 
     533                 :             :   inline bool hasResult() const;
     534                 :             : #if !CAPNP_LITE
     535                 :             :   inline  ::ipc::capnp::messages::Echo::Client getResult() const;
     536                 :             : #endif  // !CAPNP_LITE
     537                 :             : 
     538                 :             : private:
     539                 :             :   ::capnp::_::StructReader _reader;
     540                 :             :   template <typename, ::capnp::Kind>
     541                 :             :   friend struct ::capnp::ToDynamic_;
     542                 :             :   template <typename, ::capnp::Kind>
     543                 :             :   friend struct ::capnp::_::PointerHelpers;
     544                 :             :   template <typename, ::capnp::Kind>
     545                 :             :   friend struct ::capnp::List;
     546                 :             :   friend class ::capnp::MessageBuilder;
     547                 :             :   friend class ::capnp::Orphanage;
     548                 :             : };
     549                 :             : 
     550                 :             : class Init::MakeEchoResults::Builder {
     551                 :             : public:
     552                 :             :   typedef MakeEchoResults Builds;
     553                 :             : 
     554                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     555                 :             :                        // You can explicitly initialize to nullptr instead.
     556                 :             :   inline Builder(decltype(nullptr)) {}
     557                 :          12 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     558                 :           6 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     559                 :           6 :   inline Reader asReader() const { return *this; }
     560                 :             : 
     561                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     562                 :             : #if !CAPNP_LITE
     563                 :           6 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     564                 :             : #endif  // !CAPNP_LITE
     565                 :             : 
     566                 :             :   inline bool hasResult();
     567                 :             : #if !CAPNP_LITE
     568                 :             :   inline  ::ipc::capnp::messages::Echo::Client getResult();
     569                 :             :   inline void setResult( ::ipc::capnp::messages::Echo::Client&& value);
     570                 :             :   inline void setResult( ::ipc::capnp::messages::Echo::Client& value);
     571                 :             :   inline void adoptResult(::capnp::Orphan< ::ipc::capnp::messages::Echo>&& value);
     572                 :             :   inline ::capnp::Orphan< ::ipc::capnp::messages::Echo> disownResult();
     573                 :             : #endif  // !CAPNP_LITE
     574                 :             : 
     575                 :             : private:
     576                 :             :   ::capnp::_::StructBuilder _builder;
     577                 :             :   template <typename, ::capnp::Kind>
     578                 :             :   friend struct ::capnp::ToDynamic_;
     579                 :             :   friend class ::capnp::Orphanage;
     580                 :             :   template <typename, ::capnp::Kind>
     581                 :             :   friend struct ::capnp::_::PointerHelpers;
     582                 :             : };
     583                 :             : 
     584                 :             : #if !CAPNP_LITE
     585         [ -  + ]:          12 : class Init::MakeEchoResults::Pipeline {
     586                 :             : public:
     587                 :             :   typedef MakeEchoResults Pipelines;
     588                 :             : 
     589                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     590                 :           6 :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     591                 :           6 :       : _typeless(kj::mv(typeless)) {}
     592                 :             : 
     593                 :             :   inline  ::ipc::capnp::messages::Echo::Client getResult();
     594                 :             : private:
     595                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     596                 :             :   friend class ::capnp::PipelineHook;
     597                 :             :   template <typename, ::capnp::Kind>
     598                 :             :   friend struct ::capnp::ToDynamic_;
     599                 :             : };
     600                 :             : #endif  // !CAPNP_LITE
     601                 :             : 
     602                 :             : class Init::MakeMiningOld2Params::Reader {
     603                 :             : public:
     604                 :             :   typedef MakeMiningOld2Params Reads;
     605                 :             : 
     606                 :             :   Reader() = default;
     607                 :           0 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     608                 :             : 
     609                 :             :   inline ::capnp::MessageSize totalSize() const {
     610                 :             :     return _reader.totalSize().asPublic();
     611                 :             :   }
     612                 :             : 
     613                 :             : #if !CAPNP_LITE
     614                 :           0 :   inline ::kj::StringTree toString() const {
     615         [ #  # ]:           0 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     616                 :             :   }
     617                 :             : #endif  // !CAPNP_LITE
     618                 :             : 
     619                 :             : private:
     620                 :             :   ::capnp::_::StructReader _reader;
     621                 :             :   template <typename, ::capnp::Kind>
     622                 :             :   friend struct ::capnp::ToDynamic_;
     623                 :             :   template <typename, ::capnp::Kind>
     624                 :             :   friend struct ::capnp::_::PointerHelpers;
     625                 :             :   template <typename, ::capnp::Kind>
     626                 :             :   friend struct ::capnp::List;
     627                 :             :   friend class ::capnp::MessageBuilder;
     628                 :             :   friend class ::capnp::Orphanage;
     629                 :             : };
     630                 :             : 
     631                 :             : class Init::MakeMiningOld2Params::Builder {
     632                 :             : public:
     633                 :             :   typedef MakeMiningOld2Params Builds;
     634                 :             : 
     635                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     636                 :             :                        // You can explicitly initialize to nullptr instead.
     637                 :             :   inline Builder(decltype(nullptr)) {}
     638                 :           0 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     639                 :           0 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     640                 :           0 :   inline Reader asReader() const { return *this; }
     641                 :             : 
     642                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     643                 :             : #if !CAPNP_LITE
     644                 :           0 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     645                 :             : #endif  // !CAPNP_LITE
     646                 :             : 
     647                 :             : private:
     648                 :             :   ::capnp::_::StructBuilder _builder;
     649                 :             :   template <typename, ::capnp::Kind>
     650                 :             :   friend struct ::capnp::ToDynamic_;
     651                 :             :   friend class ::capnp::Orphanage;
     652                 :             :   template <typename, ::capnp::Kind>
     653                 :             :   friend struct ::capnp::_::PointerHelpers;
     654                 :             : };
     655                 :             : 
     656                 :             : #if !CAPNP_LITE
     657                 :             : class Init::MakeMiningOld2Params::Pipeline {
     658                 :             : public:
     659                 :             :   typedef MakeMiningOld2Params Pipelines;
     660                 :             : 
     661                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     662                 :             :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     663                 :             :       : _typeless(kj::mv(typeless)) {}
     664                 :             : 
     665                 :             : private:
     666                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     667                 :             :   friend class ::capnp::PipelineHook;
     668                 :             :   template <typename, ::capnp::Kind>
     669                 :             :   friend struct ::capnp::ToDynamic_;
     670                 :             : };
     671                 :             : #endif  // !CAPNP_LITE
     672                 :             : 
     673                 :             : class Init::MakeMiningOld2Results::Reader {
     674                 :             : public:
     675                 :             :   typedef MakeMiningOld2Results Reads;
     676                 :             : 
     677                 :             :   Reader() = default;
     678                 :           0 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     679                 :             : 
     680                 :             :   inline ::capnp::MessageSize totalSize() const {
     681                 :             :     return _reader.totalSize().asPublic();
     682                 :             :   }
     683                 :             : 
     684                 :             : #if !CAPNP_LITE
     685                 :           0 :   inline ::kj::StringTree toString() const {
     686         [ #  # ]:           0 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     687                 :             :   }
     688                 :             : #endif  // !CAPNP_LITE
     689                 :             : 
     690                 :             : private:
     691                 :             :   ::capnp::_::StructReader _reader;
     692                 :             :   template <typename, ::capnp::Kind>
     693                 :             :   friend struct ::capnp::ToDynamic_;
     694                 :             :   template <typename, ::capnp::Kind>
     695                 :             :   friend struct ::capnp::_::PointerHelpers;
     696                 :             :   template <typename, ::capnp::Kind>
     697                 :             :   friend struct ::capnp::List;
     698                 :             :   friend class ::capnp::MessageBuilder;
     699                 :             :   friend class ::capnp::Orphanage;
     700                 :             : };
     701                 :             : 
     702                 :             : class Init::MakeMiningOld2Results::Builder {
     703                 :             : public:
     704                 :             :   typedef MakeMiningOld2Results Builds;
     705                 :             : 
     706                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     707                 :             :                        // You can explicitly initialize to nullptr instead.
     708                 :             :   inline Builder(decltype(nullptr)) {}
     709                 :           0 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     710                 :           0 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     711                 :           0 :   inline Reader asReader() const { return *this; }
     712                 :             : 
     713                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     714                 :             : #if !CAPNP_LITE
     715                 :           0 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     716                 :             : #endif  // !CAPNP_LITE
     717                 :             : 
     718                 :             : private:
     719                 :             :   ::capnp::_::StructBuilder _builder;
     720                 :             :   template <typename, ::capnp::Kind>
     721                 :             :   friend struct ::capnp::ToDynamic_;
     722                 :             :   friend class ::capnp::Orphanage;
     723                 :             :   template <typename, ::capnp::Kind>
     724                 :             :   friend struct ::capnp::_::PointerHelpers;
     725                 :             : };
     726                 :             : 
     727                 :             : #if !CAPNP_LITE
     728         [ #  # ]:           0 : class Init::MakeMiningOld2Results::Pipeline {
     729                 :             : public:
     730                 :             :   typedef MakeMiningOld2Results Pipelines;
     731                 :             : 
     732                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     733                 :           0 :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     734                 :           0 :       : _typeless(kj::mv(typeless)) {}
     735                 :             : 
     736                 :             : private:
     737                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     738                 :             :   friend class ::capnp::PipelineHook;
     739                 :             :   template <typename, ::capnp::Kind>
     740                 :             :   friend struct ::capnp::ToDynamic_;
     741                 :             : };
     742                 :             : #endif  // !CAPNP_LITE
     743                 :             : 
     744                 :             : class Init::MakeMiningParams::Reader {
     745                 :             : public:
     746                 :             :   typedef MakeMiningParams Reads;
     747                 :             : 
     748                 :             :   Reader() = default;
     749                 :           0 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     750                 :             : 
     751                 :             :   inline ::capnp::MessageSize totalSize() const {
     752                 :             :     return _reader.totalSize().asPublic();
     753                 :             :   }
     754                 :             : 
     755                 :             : #if !CAPNP_LITE
     756                 :           0 :   inline ::kj::StringTree toString() const {
     757         [ #  # ]:           0 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     758                 :             :   }
     759                 :             : #endif  // !CAPNP_LITE
     760                 :             : 
     761                 :             :   inline bool hasContext() const;
     762                 :             :   inline  ::mp::Context::Reader getContext() const;
     763                 :             : 
     764                 :             : private:
     765                 :             :   ::capnp::_::StructReader _reader;
     766                 :             :   template <typename, ::capnp::Kind>
     767                 :             :   friend struct ::capnp::ToDynamic_;
     768                 :             :   template <typename, ::capnp::Kind>
     769                 :             :   friend struct ::capnp::_::PointerHelpers;
     770                 :             :   template <typename, ::capnp::Kind>
     771                 :             :   friend struct ::capnp::List;
     772                 :             :   friend class ::capnp::MessageBuilder;
     773                 :             :   friend class ::capnp::Orphanage;
     774                 :             : };
     775                 :             : 
     776                 :             : class Init::MakeMiningParams::Builder {
     777                 :             : public:
     778                 :             :   typedef MakeMiningParams Builds;
     779                 :             : 
     780                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     781                 :             :                        // You can explicitly initialize to nullptr instead.
     782                 :             :   inline Builder(decltype(nullptr)) {}
     783                 :           0 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     784                 :           0 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     785                 :           0 :   inline Reader asReader() const { return *this; }
     786                 :             : 
     787                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     788                 :             : #if !CAPNP_LITE
     789                 :           0 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     790                 :             : #endif  // !CAPNP_LITE
     791                 :             : 
     792                 :             :   inline bool hasContext();
     793                 :             :   inline  ::mp::Context::Builder getContext();
     794                 :             :   inline void setContext( ::mp::Context::Reader value);
     795                 :             :   inline  ::mp::Context::Builder initContext();
     796                 :             :   inline void adoptContext(::capnp::Orphan< ::mp::Context>&& value);
     797                 :             :   inline ::capnp::Orphan< ::mp::Context> disownContext();
     798                 :             : 
     799                 :             : private:
     800                 :             :   ::capnp::_::StructBuilder _builder;
     801                 :             :   template <typename, ::capnp::Kind>
     802                 :             :   friend struct ::capnp::ToDynamic_;
     803                 :             :   friend class ::capnp::Orphanage;
     804                 :             :   template <typename, ::capnp::Kind>
     805                 :             :   friend struct ::capnp::_::PointerHelpers;
     806                 :             : };
     807                 :             : 
     808                 :             : #if !CAPNP_LITE
     809                 :             : class Init::MakeMiningParams::Pipeline {
     810                 :             : public:
     811                 :             :   typedef MakeMiningParams Pipelines;
     812                 :             : 
     813                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     814                 :             :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     815                 :             :       : _typeless(kj::mv(typeless)) {}
     816                 :             : 
     817                 :             :   inline  ::mp::Context::Pipeline getContext();
     818                 :             : private:
     819                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     820                 :             :   friend class ::capnp::PipelineHook;
     821                 :             :   template <typename, ::capnp::Kind>
     822                 :             :   friend struct ::capnp::ToDynamic_;
     823                 :             : };
     824                 :             : #endif  // !CAPNP_LITE
     825                 :             : 
     826                 :             : class Init::MakeMiningResults::Reader {
     827                 :             : public:
     828                 :             :   typedef MakeMiningResults Reads;
     829                 :             : 
     830                 :             :   Reader() = default;
     831                 :           0 :   inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
     832                 :             : 
     833                 :             :   inline ::capnp::MessageSize totalSize() const {
     834                 :             :     return _reader.totalSize().asPublic();
     835                 :             :   }
     836                 :             : 
     837                 :             : #if !CAPNP_LITE
     838                 :           0 :   inline ::kj::StringTree toString() const {
     839         [ #  # ]:           0 :     return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
     840                 :             :   }
     841                 :             : #endif  // !CAPNP_LITE
     842                 :             : 
     843                 :             :   inline bool hasResult() const;
     844                 :             : #if !CAPNP_LITE
     845                 :             :   inline  ::ipc::capnp::messages::Mining::Client getResult() const;
     846                 :             : #endif  // !CAPNP_LITE
     847                 :             : 
     848                 :             : private:
     849                 :             :   ::capnp::_::StructReader _reader;
     850                 :             :   template <typename, ::capnp::Kind>
     851                 :             :   friend struct ::capnp::ToDynamic_;
     852                 :             :   template <typename, ::capnp::Kind>
     853                 :             :   friend struct ::capnp::_::PointerHelpers;
     854                 :             :   template <typename, ::capnp::Kind>
     855                 :             :   friend struct ::capnp::List;
     856                 :             :   friend class ::capnp::MessageBuilder;
     857                 :             :   friend class ::capnp::Orphanage;
     858                 :             : };
     859                 :             : 
     860                 :             : class Init::MakeMiningResults::Builder {
     861                 :             : public:
     862                 :             :   typedef MakeMiningResults Builds;
     863                 :             : 
     864                 :             :   Builder() = delete;  // Deleted to discourage incorrect usage.
     865                 :             :                        // You can explicitly initialize to nullptr instead.
     866                 :             :   inline Builder(decltype(nullptr)) {}
     867                 :           0 :   inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
     868                 :           0 :   inline operator Reader() const { return Reader(_builder.asReader()); }
     869                 :           0 :   inline Reader asReader() const { return *this; }
     870                 :             : 
     871                 :             :   inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
     872                 :             : #if !CAPNP_LITE
     873                 :           0 :   inline ::kj::StringTree toString() const { return asReader().toString(); }
     874                 :             : #endif  // !CAPNP_LITE
     875                 :             : 
     876                 :             :   inline bool hasResult();
     877                 :             : #if !CAPNP_LITE
     878                 :             :   inline  ::ipc::capnp::messages::Mining::Client getResult();
     879                 :             :   inline void setResult( ::ipc::capnp::messages::Mining::Client&& value);
     880                 :             :   inline void setResult( ::ipc::capnp::messages::Mining::Client& value);
     881                 :             :   inline void adoptResult(::capnp::Orphan< ::ipc::capnp::messages::Mining>&& value);
     882                 :             :   inline ::capnp::Orphan< ::ipc::capnp::messages::Mining> disownResult();
     883                 :             : #endif  // !CAPNP_LITE
     884                 :             : 
     885                 :             : private:
     886                 :             :   ::capnp::_::StructBuilder _builder;
     887                 :             :   template <typename, ::capnp::Kind>
     888                 :             :   friend struct ::capnp::ToDynamic_;
     889                 :             :   friend class ::capnp::Orphanage;
     890                 :             :   template <typename, ::capnp::Kind>
     891                 :             :   friend struct ::capnp::_::PointerHelpers;
     892                 :             : };
     893                 :             : 
     894                 :             : #if !CAPNP_LITE
     895         [ #  # ]:           0 : class Init::MakeMiningResults::Pipeline {
     896                 :             : public:
     897                 :             :   typedef MakeMiningResults Pipelines;
     898                 :             : 
     899                 :             :   inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
     900                 :           0 :   inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
     901                 :           0 :       : _typeless(kj::mv(typeless)) {}
     902                 :             : 
     903                 :             :   inline  ::ipc::capnp::messages::Mining::Client getResult();
     904                 :             : private:
     905                 :             :   ::capnp::AnyPointer::Pipeline _typeless;
     906                 :             :   friend class ::capnp::PipelineHook;
     907                 :             :   template <typename, ::capnp::Kind>
     908                 :             :   friend struct ::capnp::ToDynamic_;
     909                 :             : };
     910                 :             : #endif  // !CAPNP_LITE
     911                 :             : 
     912                 :             : // =======================================================================================
     913                 :             : 
     914                 :             : #if !CAPNP_LITE
     915                 :           6 : inline Init::Client::Client(decltype(nullptr))
     916         [ +  - ]:           6 :     : ::capnp::Capability::Client(nullptr) {}
     917                 :           6 : inline Init::Client::Client(
     918                 :             :     ::kj::Own< ::capnp::ClientHook>&& hook)
     919         [ +  - ]:           6 :     : ::capnp::Capability::Client(::kj::mv(hook)) {}
     920                 :             : template <typename _t, typename>
     921                 :             : inline Init::Client::Client(::kj::Own<_t>&& server)
     922                 :             :     : ::capnp::Capability::Client(::kj::mv(server)) {}
     923                 :             : template <typename _t, typename>
     924                 :             : inline Init::Client::Client(::kj::Promise<_t>&& promise)
     925                 :             :     : ::capnp::Capability::Client(::kj::mv(promise)) {}
     926                 :             : inline Init::Client::Client(::kj::Exception&& exception)
     927                 :             :     : ::capnp::Capability::Client(::kj::mv(exception)) {}
     928                 :             : inline  ::ipc::capnp::messages::Init::Client& Init::Client::operator=(Client& other) {
     929                 :             :   ::capnp::Capability::Client::operator=(other);
     930                 :             :   return *this;
     931                 :             : }
     932                 :           6 : inline  ::ipc::capnp::messages::Init::Client& Init::Client::operator=(Client&& other) {
     933                 :           6 :   ::capnp::Capability::Client::operator=(kj::mv(other));
     934                 :           6 :   return *this;
     935                 :             : }
     936                 :             : 
     937                 :             : #endif  // !CAPNP_LITE
     938                 :             : inline bool Init::ConstructParams::Reader::hasThreadMap() const {
     939                 :             :   return !_reader.getPointerField(
     940                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
     941                 :             : }
     942                 :             : inline bool Init::ConstructParams::Builder::hasThreadMap() {
     943                 :             :   return !_builder.getPointerField(
     944                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
     945                 :             : }
     946                 :             : #if !CAPNP_LITE
     947                 :           6 : inline  ::mp::ThreadMap::Client Init::ConstructParams::Reader::getThreadMap() const {
     948                 :           6 :   return ::capnp::_::PointerHelpers< ::mp::ThreadMap>::get(_reader.getPointerField(
     949         [ +  - ]:          12 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     950                 :             : }
     951                 :             : inline  ::mp::ThreadMap::Client Init::ConstructParams::Builder::getThreadMap() {
     952                 :             :   return ::capnp::_::PointerHelpers< ::mp::ThreadMap>::get(_builder.getPointerField(
     953                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     954                 :             : }
     955                 :             : inline  ::mp::ThreadMap::Client Init::ConstructParams::Pipeline::getThreadMap() {
     956                 :             :   return  ::mp::ThreadMap::Client(_typeless.getPointerField(0).asCap());
     957                 :             : }
     958                 :           6 : inline void Init::ConstructParams::Builder::setThreadMap( ::mp::ThreadMap::Client&& cap) {
     959                 :           6 :   ::capnp::_::PointerHelpers< ::mp::ThreadMap>::set(_builder.getPointerField(
     960                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(cap));
     961                 :           6 : }
     962                 :             : inline void Init::ConstructParams::Builder::setThreadMap( ::mp::ThreadMap::Client& cap) {
     963                 :             :   ::capnp::_::PointerHelpers< ::mp::ThreadMap>::set(_builder.getPointerField(
     964                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), cap);
     965                 :             : }
     966                 :             : inline void Init::ConstructParams::Builder::adoptThreadMap(
     967                 :             :     ::capnp::Orphan< ::mp::ThreadMap>&& value) {
     968                 :             :   ::capnp::_::PointerHelpers< ::mp::ThreadMap>::adopt(_builder.getPointerField(
     969                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
     970                 :             : }
     971                 :             : inline ::capnp::Orphan< ::mp::ThreadMap> Init::ConstructParams::Builder::disownThreadMap() {
     972                 :             :   return ::capnp::_::PointerHelpers< ::mp::ThreadMap>::disown(_builder.getPointerField(
     973                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     974                 :             : }
     975                 :             : #endif  // !CAPNP_LITE
     976                 :             : 
     977                 :             : inline bool Init::ConstructResults::Reader::hasThreadMap() const {
     978                 :             :   return !_reader.getPointerField(
     979                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
     980                 :             : }
     981                 :             : inline bool Init::ConstructResults::Builder::hasThreadMap() {
     982                 :             :   return !_builder.getPointerField(
     983                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
     984                 :             : }
     985                 :             : #if !CAPNP_LITE
     986                 :           6 : inline  ::mp::ThreadMap::Client Init::ConstructResults::Reader::getThreadMap() const {
     987                 :           6 :   return ::capnp::_::PointerHelpers< ::mp::ThreadMap>::get(_reader.getPointerField(
     988         [ +  - ]:          12 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     989                 :             : }
     990                 :             : inline  ::mp::ThreadMap::Client Init::ConstructResults::Builder::getThreadMap() {
     991                 :             :   return ::capnp::_::PointerHelpers< ::mp::ThreadMap>::get(_builder.getPointerField(
     992                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
     993                 :             : }
     994                 :             : inline  ::mp::ThreadMap::Client Init::ConstructResults::Pipeline::getThreadMap() {
     995                 :             :   return  ::mp::ThreadMap::Client(_typeless.getPointerField(0).asCap());
     996                 :             : }
     997                 :           6 : inline void Init::ConstructResults::Builder::setThreadMap( ::mp::ThreadMap::Client&& cap) {
     998                 :           6 :   ::capnp::_::PointerHelpers< ::mp::ThreadMap>::set(_builder.getPointerField(
     999                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(cap));
    1000                 :           6 : }
    1001                 :             : inline void Init::ConstructResults::Builder::setThreadMap( ::mp::ThreadMap::Client& cap) {
    1002                 :             :   ::capnp::_::PointerHelpers< ::mp::ThreadMap>::set(_builder.getPointerField(
    1003                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), cap);
    1004                 :             : }
    1005                 :             : inline void Init::ConstructResults::Builder::adoptThreadMap(
    1006                 :             :     ::capnp::Orphan< ::mp::ThreadMap>&& value) {
    1007                 :             :   ::capnp::_::PointerHelpers< ::mp::ThreadMap>::adopt(_builder.getPointerField(
    1008                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
    1009                 :             : }
    1010                 :             : inline ::capnp::Orphan< ::mp::ThreadMap> Init::ConstructResults::Builder::disownThreadMap() {
    1011                 :             :   return ::capnp::_::PointerHelpers< ::mp::ThreadMap>::disown(_builder.getPointerField(
    1012                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1013                 :             : }
    1014                 :             : #endif  // !CAPNP_LITE
    1015                 :             : 
    1016                 :             : inline bool Init::MakeEchoParams::Reader::hasContext() const {
    1017                 :             :   return !_reader.getPointerField(
    1018                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1019                 :             : }
    1020                 :             : inline bool Init::MakeEchoParams::Builder::hasContext() {
    1021                 :             :   return !_builder.getPointerField(
    1022                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1023                 :             : }
    1024                 :          12 : inline  ::mp::Context::Reader Init::MakeEchoParams::Reader::getContext() const {
    1025         [ +  - ]:          24 :   return ::capnp::_::PointerHelpers< ::mp::Context>::get(_reader.getPointerField(
    1026                 :          12 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1027                 :             : }
    1028                 :             : inline  ::mp::Context::Builder Init::MakeEchoParams::Builder::getContext() {
    1029                 :             :   return ::capnp::_::PointerHelpers< ::mp::Context>::get(_builder.getPointerField(
    1030                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1031                 :             : }
    1032                 :             : #if !CAPNP_LITE
    1033                 :             : inline  ::mp::Context::Pipeline Init::MakeEchoParams::Pipeline::getContext() {
    1034                 :             :   return  ::mp::Context::Pipeline(_typeless.getPointerField(0));
    1035                 :             : }
    1036                 :             : #endif  // !CAPNP_LITE
    1037                 :             : inline void Init::MakeEchoParams::Builder::setContext( ::mp::Context::Reader value) {
    1038                 :             :   ::capnp::_::PointerHelpers< ::mp::Context>::set(_builder.getPointerField(
    1039                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
    1040                 :             : }
    1041                 :           6 : inline  ::mp::Context::Builder Init::MakeEchoParams::Builder::initContext() {
    1042                 :           6 :   return ::capnp::_::PointerHelpers< ::mp::Context>::init(_builder.getPointerField(
    1043                 :           6 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1044                 :             : }
    1045                 :             : inline void Init::MakeEchoParams::Builder::adoptContext(
    1046                 :             :     ::capnp::Orphan< ::mp::Context>&& value) {
    1047                 :             :   ::capnp::_::PointerHelpers< ::mp::Context>::adopt(_builder.getPointerField(
    1048                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
    1049                 :             : }
    1050                 :             : inline ::capnp::Orphan< ::mp::Context> Init::MakeEchoParams::Builder::disownContext() {
    1051                 :             :   return ::capnp::_::PointerHelpers< ::mp::Context>::disown(_builder.getPointerField(
    1052                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1053                 :             : }
    1054                 :             : 
    1055                 :           6 : inline bool Init::MakeEchoResults::Reader::hasResult() const {
    1056         [ +  - ]:          12 :   return !_reader.getPointerField(
    1057                 :           6 :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1058                 :             : }
    1059                 :             : inline bool Init::MakeEchoResults::Builder::hasResult() {
    1060                 :             :   return !_builder.getPointerField(
    1061                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1062                 :             : }
    1063                 :             : #if !CAPNP_LITE
    1064                 :           6 : inline  ::ipc::capnp::messages::Echo::Client Init::MakeEchoResults::Reader::getResult() const {
    1065                 :           6 :   return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Echo>::get(_reader.getPointerField(
    1066         [ +  - ]:          12 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1067                 :             : }
    1068                 :             : inline  ::ipc::capnp::messages::Echo::Client Init::MakeEchoResults::Builder::getResult() {
    1069                 :             :   return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Echo>::get(_builder.getPointerField(
    1070                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1071                 :             : }
    1072                 :             : inline  ::ipc::capnp::messages::Echo::Client Init::MakeEchoResults::Pipeline::getResult() {
    1073                 :             :   return  ::ipc::capnp::messages::Echo::Client(_typeless.getPointerField(0).asCap());
    1074                 :             : }
    1075                 :           6 : inline void Init::MakeEchoResults::Builder::setResult( ::ipc::capnp::messages::Echo::Client&& cap) {
    1076                 :           6 :   ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Echo>::set(_builder.getPointerField(
    1077                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(cap));
    1078                 :           6 : }
    1079                 :             : inline void Init::MakeEchoResults::Builder::setResult( ::ipc::capnp::messages::Echo::Client& cap) {
    1080                 :             :   ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Echo>::set(_builder.getPointerField(
    1081                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), cap);
    1082                 :             : }
    1083                 :             : inline void Init::MakeEchoResults::Builder::adoptResult(
    1084                 :             :     ::capnp::Orphan< ::ipc::capnp::messages::Echo>&& value) {
    1085                 :             :   ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Echo>::adopt(_builder.getPointerField(
    1086                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
    1087                 :             : }
    1088                 :             : inline ::capnp::Orphan< ::ipc::capnp::messages::Echo> Init::MakeEchoResults::Builder::disownResult() {
    1089                 :             :   return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Echo>::disown(_builder.getPointerField(
    1090                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1091                 :             : }
    1092                 :             : #endif  // !CAPNP_LITE
    1093                 :             : 
    1094                 :             : inline bool Init::MakeMiningParams::Reader::hasContext() const {
    1095                 :             :   return !_reader.getPointerField(
    1096                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1097                 :             : }
    1098                 :             : inline bool Init::MakeMiningParams::Builder::hasContext() {
    1099                 :             :   return !_builder.getPointerField(
    1100                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1101                 :             : }
    1102                 :           0 : inline  ::mp::Context::Reader Init::MakeMiningParams::Reader::getContext() const {
    1103         [ #  # ]:           0 :   return ::capnp::_::PointerHelpers< ::mp::Context>::get(_reader.getPointerField(
    1104                 :           0 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1105                 :             : }
    1106                 :             : inline  ::mp::Context::Builder Init::MakeMiningParams::Builder::getContext() {
    1107                 :             :   return ::capnp::_::PointerHelpers< ::mp::Context>::get(_builder.getPointerField(
    1108                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1109                 :             : }
    1110                 :             : #if !CAPNP_LITE
    1111                 :             : inline  ::mp::Context::Pipeline Init::MakeMiningParams::Pipeline::getContext() {
    1112                 :             :   return  ::mp::Context::Pipeline(_typeless.getPointerField(0));
    1113                 :             : }
    1114                 :             : #endif  // !CAPNP_LITE
    1115                 :             : inline void Init::MakeMiningParams::Builder::setContext( ::mp::Context::Reader value) {
    1116                 :             :   ::capnp::_::PointerHelpers< ::mp::Context>::set(_builder.getPointerField(
    1117                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), value);
    1118                 :             : }
    1119                 :           0 : inline  ::mp::Context::Builder Init::MakeMiningParams::Builder::initContext() {
    1120                 :           0 :   return ::capnp::_::PointerHelpers< ::mp::Context>::init(_builder.getPointerField(
    1121                 :           0 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1122                 :             : }
    1123                 :             : inline void Init::MakeMiningParams::Builder::adoptContext(
    1124                 :             :     ::capnp::Orphan< ::mp::Context>&& value) {
    1125                 :             :   ::capnp::_::PointerHelpers< ::mp::Context>::adopt(_builder.getPointerField(
    1126                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
    1127                 :             : }
    1128                 :             : inline ::capnp::Orphan< ::mp::Context> Init::MakeMiningParams::Builder::disownContext() {
    1129                 :             :   return ::capnp::_::PointerHelpers< ::mp::Context>::disown(_builder.getPointerField(
    1130                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1131                 :             : }
    1132                 :             : 
    1133                 :           0 : inline bool Init::MakeMiningResults::Reader::hasResult() const {
    1134         [ #  # ]:           0 :   return !_reader.getPointerField(
    1135                 :           0 :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1136                 :             : }
    1137                 :             : inline bool Init::MakeMiningResults::Builder::hasResult() {
    1138                 :             :   return !_builder.getPointerField(
    1139                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
    1140                 :             : }
    1141                 :             : #if !CAPNP_LITE
    1142                 :           0 : inline  ::ipc::capnp::messages::Mining::Client Init::MakeMiningResults::Reader::getResult() const {
    1143                 :           0 :   return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Mining>::get(_reader.getPointerField(
    1144         [ #  # ]:           0 :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1145                 :             : }
    1146                 :             : inline  ::ipc::capnp::messages::Mining::Client Init::MakeMiningResults::Builder::getResult() {
    1147                 :             :   return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Mining>::get(_builder.getPointerField(
    1148                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1149                 :             : }
    1150                 :             : inline  ::ipc::capnp::messages::Mining::Client Init::MakeMiningResults::Pipeline::getResult() {
    1151                 :             :   return  ::ipc::capnp::messages::Mining::Client(_typeless.getPointerField(0).asCap());
    1152                 :             : }
    1153                 :           0 : inline void Init::MakeMiningResults::Builder::setResult( ::ipc::capnp::messages::Mining::Client&& cap) {
    1154                 :           0 :   ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Mining>::set(_builder.getPointerField(
    1155                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(cap));
    1156                 :           0 : }
    1157                 :             : inline void Init::MakeMiningResults::Builder::setResult( ::ipc::capnp::messages::Mining::Client& cap) {
    1158                 :             :   ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Mining>::set(_builder.getPointerField(
    1159                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), cap);
    1160                 :             : }
    1161                 :             : inline void Init::MakeMiningResults::Builder::adoptResult(
    1162                 :             :     ::capnp::Orphan< ::ipc::capnp::messages::Mining>&& value) {
    1163                 :             :   ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Mining>::adopt(_builder.getPointerField(
    1164                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
    1165                 :             : }
    1166                 :             : inline ::capnp::Orphan< ::ipc::capnp::messages::Mining> Init::MakeMiningResults::Builder::disownResult() {
    1167                 :             :   return ::capnp::_::PointerHelpers< ::ipc::capnp::messages::Mining>::disown(_builder.getPointerField(
    1168                 :             :       ::capnp::bounded<0>() * ::capnp::POINTERS));
    1169                 :             : }
    1170                 :             : #endif  // !CAPNP_LITE
    1171                 :             : 
    1172                 :             : }  // namespace
    1173                 :             : }  // namespace
    1174                 :             : }  // namespace
    1175                 :             : 
    1176                 :             : CAPNP_END_HEADER
    1177                 :             : 
        

Generated by: LCOV version 2.0-1