Commit 1c847b38 authored by Kenton Varda's avatar Kenton Varda

Tweaks

parent 15f599c8
...@@ -80,22 +80,17 @@ public: ...@@ -80,22 +80,17 @@ public:
void send() override { void send() override {
auto lock = network.previousWrite.lockExclusive(); auto lock = network.previousWrite.lockExclusive();
*lock = network.eventLoop.there(kj::mv(*lock), *lock = network.eventLoop.there(kj::mv(*lock), [&]() {
kj::mvCapture(kj::addRef(*this), [&](kj::Own<OutgoingMessageImpl>&& self) { auto promise = writeMessage(network.stream, message).then([]() {
return writeMessage(network.stream, message) // success; do nothing
.then(kj::mvCapture(kj::mv(self), }, [&](kj::Exception&& exception) {
[](kj::Own<OutgoingMessageImpl>&& self) -> kj::Promise<void> {
// Just here to hold a reference to `self` until the write completes.
// Hack to force this continuation to run (thus allowing `self` to be released) even if
// no one is waiting on the promise.
return kj::READY_NOW;
}), [&](kj::Exception&& exception) -> kj::Promise<void> {
// Exception during write! // Exception during write!
network.disconnectFulfiller.lockExclusive()->get()->fulfill(); network.disconnectFulfiller.lockExclusive()->get()->fulfill();
return kj::READY_NOW;
}); });
})); promise.eagerlyEvaluate();
return kj::mv(promise);
});
lock->attach(kj::addRef(*this));
} }
private: private:
......
...@@ -128,6 +128,11 @@ void fromException(const kj::Exception& exception, rpc::Exception::Builder build ...@@ -128,6 +128,11 @@ void fromException(const kj::Exception& exception, rpc::Exception::Builder build
} }
} }
uint exceptionSizeHint(const kj::Exception& exception) {
return sizeInWords<rpc::Exception>() +
(exception.getDescription().size() + strlen("remote exception: ")) / sizeof(word) + 1;
}
// ======================================================================================= // =======================================================================================
template <typename Id, typename T> template <typename Id, typename T>
...@@ -343,8 +348,7 @@ public: ...@@ -343,8 +348,7 @@ public:
{ {
// Send an abort message. // Send an abort message.
auto message = connection->newOutgoingMessage( auto message = connection->newOutgoingMessage(
messageSizeHint<rpc::Exception>() + messageSizeHint<void>() + exceptionSizeHint(exception));
(exception.getDescription().size() + 7) / sizeof(word));
fromException(exception, message->getBody().getAs<rpc::Message>().initAbort()); fromException(exception, message->getBody().getAs<rpc::Message>().initAbort());
message->send(); message->send();
} }
...@@ -619,7 +623,7 @@ private: ...@@ -619,7 +623,7 @@ private:
// later. // later.
virtual kj::Maybe<kj::Own<const ClientHook>> writeTarget( virtual kj::Maybe<kj::Own<const ClientHook>> writeTarget(
rpc::Call::Target::Builder target) const = 0; rpc::MessageTarget::Builder target) const = 0;
// Writes the appropriate call target for calls to this capability and returns null. // Writes the appropriate call target for calls to this capability and returns null.
// //
// - OR - // - OR -
...@@ -732,7 +736,7 @@ private: ...@@ -732,7 +736,7 @@ private:
} }
kj::Maybe<kj::Own<const ClientHook>> writeTarget( kj::Maybe<kj::Own<const ClientHook>> writeTarget(
rpc::Call::Target::Builder target) const override { rpc::MessageTarget::Builder target) const override {
target.setExportedCap(importId); target.setExportedCap(importId);
return nullptr; return nullptr;
} }
...@@ -787,7 +791,7 @@ private: ...@@ -787,7 +791,7 @@ private:
} }
kj::Maybe<kj::Own<const ClientHook>> writeTarget( kj::Maybe<kj::Own<const ClientHook>> writeTarget(
rpc::Call::Target::Builder target) const override { rpc::MessageTarget::Builder target) const override {
auto builder = target.initPromisedAnswer(); auto builder = target.initPromisedAnswer();
builder.setQuestionId(questionRef->getId()); builder.setQuestionId(questionRef->getId());
builder.adoptTransform(fromPipelineOps(Orphanage::getForMessageContaining(builder), ops)); builder.adoptTransform(fromPipelineOps(Orphanage::getForMessageContaining(builder), ops));
...@@ -873,7 +877,7 @@ private: ...@@ -873,7 +877,7 @@ private:
} }
kj::Maybe<kj::Own<const ClientHook>> writeTarget( kj::Maybe<kj::Own<const ClientHook>> writeTarget(
rpc::Call::Target::Builder target) const override { rpc::MessageTarget::Builder target) const override {
return connectionState->writeTarget(*inner.lockExclusive()->cap, target); return connectionState->writeTarget(*inner.lockExclusive()->cap, target);
} }
...@@ -969,8 +973,7 @@ private: ...@@ -969,8 +973,7 @@ private:
}, [this,exportId](kj::Exception&& exception) { }, [this,exportId](kj::Exception&& exception) {
// send resolve // send resolve
auto message = connection->newOutgoingMessage( auto message = connection->newOutgoingMessage(
messageSizeHint<rpc::Resolve>() + sizeInWords<rpc::Exception>() + messageSizeHint<rpc::Resolve>() + exceptionSizeHint(exception) + 8);
(exception.getDescription().size() + 7 / 8) + 8);
auto resolve = message->getBody().initAs<rpc::Message>().initResolve(); auto resolve = message->getBody().initAs<rpc::Message>().initResolve();
resolve.setPromiseId(exportId); resolve.setPromiseId(exportId);
fromException(exception, resolve.initException()); fromException(exception, resolve.initException());
...@@ -985,7 +988,7 @@ private: ...@@ -985,7 +988,7 @@ private:
} }
kj::Maybe<kj::Own<const ClientHook>> writeTarget( kj::Maybe<kj::Own<const ClientHook>> writeTarget(
const ClientHook& cap, rpc::Call::Target::Builder target) const { const ClientHook& cap, rpc::MessageTarget::Builder target) const {
// If calls to the given capability should pass over this connection, fill in `target` // If calls to the given capability should pass over this connection, fill in `target`
// appropriately for such a call and return nullptr. Otherwise, return a `ClientHook` to which // appropriately for such a call and return nullptr. Otherwise, return a `ClientHook` to which
// the call should be forwarded; the caller should then delegate the call to that `ClientHook`. // the call should be forwarded; the caller should then delegate the call to that `ClientHook`.
...@@ -1031,7 +1034,7 @@ private: ...@@ -1031,7 +1034,7 @@ private:
// access is possible. It's probably not worth taking the lock to look; we'll just return // access is possible. It's probably not worth taking the lock to look; we'll just return
// a silly estimate. // a silly estimate.
uint count = final ? retainedCaps.getWithoutLock().size() : 32; uint count = final ? retainedCaps.getWithoutLock().size() : 32;
return (count * sizeof(ExportId) + (sizeof(ExportId) - 1)) / sizeof(word); return (count * sizeof(ExportId) + (sizeof(word) - 1)) / sizeof(word);
} }
struct FinalizedRetainedCaps { struct FinalizedRetainedCaps {
...@@ -1399,7 +1402,8 @@ private: ...@@ -1399,7 +1402,8 @@ private:
: connectionState(kj::addRef(connectionState)), : connectionState(kj::addRef(connectionState)),
target(kj::mv(target)), target(kj::mv(target)),
message(connectionState.connection->newOutgoingMessage( message(connectionState.connection->newOutgoingMessage(
firstSegmentWordSize == 0 ? 0 : firstSegmentWordSize + messageSizeHint<rpc::Call>())), firstSegmentWordSize == 0 ? 0 : firstSegmentWordSize + messageSizeHint<rpc::Call>() +
sizeInWords<rpc::MessageTarget>() + sizeInWords<rpc::PromisedAnswer>())),
injector(kj::heap<CapInjectorImpl>(connectionState)), injector(kj::heap<CapInjectorImpl>(connectionState)),
context(*injector), context(*injector),
callBuilder(message->getBody().getAs<rpc::Message>().initCall()), callBuilder(message->getBody().getAs<rpc::Message>().initCall()),
...@@ -1672,8 +1676,8 @@ private: ...@@ -1672,8 +1676,8 @@ private:
void sendErrorReturn(kj::Exception&& exception) { void sendErrorReturn(kj::Exception&& exception) {
if (isFirstResponder()) { if (isFirstResponder()) {
auto message = connectionState->connection->newOutgoingMessage( auto message = connectionState->connection->newOutgoingMessage(
messageSizeHint<rpc::Return>() + sizeInWords<rpc::Exception>() + messageSizeHint<rpc::Return>() + requestCapExtractor.retainedListSizeHint(true) +
exception.getDescription().size() / sizeof(word) + 1); exceptionSizeHint(exception));
auto builder = message->getBody().initAs<rpc::Message>().initReturn(); auto builder = message->getBody().initAs<rpc::Message>().initReturn();
builder.setQuestionId(questionId); builder.setQuestionId(questionId);
...@@ -1688,7 +1692,7 @@ private: ...@@ -1688,7 +1692,7 @@ private:
void sendCancel() { void sendCancel() {
if (isFirstResponder()) { if (isFirstResponder()) {
auto message = connectionState->connection->newOutgoingMessage( auto message = connectionState->connection->newOutgoingMessage(
messageSizeHint<rpc::Return>()); requestCapExtractor.retainedListSizeHint(true) + messageSizeHint<rpc::Return>());
auto builder = message->getBody().initAs<rpc::Message>().initReturn(); auto builder = message->getBody().initAs<rpc::Message>().initReturn();
builder.setQuestionId(questionId); builder.setQuestionId(questionId);
...@@ -1894,7 +1898,9 @@ private: ...@@ -1894,7 +1898,9 @@ private:
KJ_IF_MAYBE(m, message) { KJ_IF_MAYBE(m, message) {
handleMessage(kj::mv(*m)); handleMessage(kj::mv(*m));
} else { } else {
KJ_FAIL_REQUIRE("Peer disconnected.") { break; } disconnect(kj::Exception(
kj::Exception::Nature::PRECONDITION, kj::Exception::Durability::PERMANENT,
__FILE__, __LINE__, kj::str("Peer disconnected.")));
} }
}); });
return eventLoop.there(kj::mv(receive), return eventLoop.there(kj::mv(receive),
...@@ -1996,7 +2002,7 @@ private: ...@@ -1996,7 +2002,7 @@ private:
auto target = call.getTarget(); auto target = call.getTarget();
switch (target.which()) { switch (target.which()) {
case rpc::Call::Target::EXPORTED_CAP: { case rpc::MessageTarget::EXPORTED_CAP: {
auto lock = tables.lockExclusive(); // TODO(perf): shared? auto lock = tables.lockExclusive(); // TODO(perf): shared?
KJ_IF_MAYBE(exp, lock->exports.find(target.getExportedCap())) { KJ_IF_MAYBE(exp, lock->exports.find(target.getExportedCap())) {
capability = exp->clientHook->addRef(); capability = exp->clientHook->addRef();
...@@ -2008,7 +2014,7 @@ private: ...@@ -2008,7 +2014,7 @@ private:
break; break;
} }
case rpc::Call::Target::PROMISED_ANSWER: { case rpc::MessageTarget::PROMISED_ANSWER: {
auto promisedAnswer = target.getPromisedAnswer(); auto promisedAnswer = target.getPromisedAnswer();
kj::Own<const PipelineHook> pipeline; kj::Own<const PipelineHook> pipeline;
...@@ -2213,12 +2219,6 @@ private: ...@@ -2213,12 +2219,6 @@ private:
replacement = newBrokenCap(toException(resolve.getException())); replacement = newBrokenCap(toException(resolve.getException()));
break; break;
case rpc::Resolve::CANCELED:
// Right, this can't possibly affect anything, then.
//
// TODO(now): Am I doing something wrong or is this not needed?
return;
default: default:
KJ_FAIL_REQUIRE("Unknown 'Resolve' type.") { return; } KJ_FAIL_REQUIRE("Unknown 'Resolve' type.") { return; }
} }
......
...@@ -260,25 +260,16 @@ struct Call { ...@@ -260,25 +260,16 @@ struct Call {
# - A matching Return has been received from the callee. # - A matching Return has been received from the callee.
# - A matching Finish has been sent from the caller. # - A matching Finish has been sent from the caller.
target :union { target @1 :MessageTarget;
exportedCap @1 :ExportId; # The object that should receive this call.
# This call is to a capability or promise previously exported by the receiver.
promisedAnswer @2 :PromisedAnswer; interfaceId @2 :UInt64;
# This call is to a capability that is expected to be returned by another call that has not
# yet been completed.
#
# At level 0, this is supported only for addressing the result of a previous `Restore`, so that
# initial startup doesn't require a round trip.
}
interfaceId @3 :UInt64;
# The type ID of the interface being called. Each capability may implement multiple interfaces. # The type ID of the interface being called. Each capability may implement multiple interfaces.
methodId @4 :UInt16; methodId @3 :UInt16;
# The ordinal number of the method to call within the requested interface. # The ordinal number of the method to call within the requested interface.
params @5 :Object; params @4 :Object;
# The params struct. The fields of this struct correspond to the parameters of the method. # The params struct. The fields of this struct correspond to the parameters of the method.
# #
# The params may contain capabilities. These capabilities are automatically released when the # The params may contain capabilities. These capabilities are automatically released when the
...@@ -287,10 +278,10 @@ struct Call { ...@@ -287,10 +278,10 @@ struct Call {
sendReturnTo :union { sendReturnTo :union {
# Where should the return message be sent? # Where should the return message be sent?
caller @6 :Void; caller @5 :Void;
# Send the return message back to the caller (the usual). # Send the return message back to the caller (the usual).
yourself @7 :QuestionId; yourself @6 :QuestionId;
# **(level 1)** # **(level 1)**
# #
# This is actually an echo of a call originally made by the receiver, with the given question # This is actually an echo of a call originally made by the receiver, with the given question
...@@ -312,7 +303,7 @@ struct Call { ...@@ -312,7 +303,7 @@ struct Call {
# - Vat B, on receiving the `Finish`, sends a corresponding `Finish` for bar'(). # - Vat B, on receiving the `Finish`, sends a corresponding `Finish` for bar'().
# - Neither bar() nor bar'() ever see a `Return` message sent over the wire. # - Neither bar() nor bar'() ever see a `Return` message sent over the wire.
thirdParty @8 :RecipientId; thirdParty @7 :RecipientId;
# **(level 3)** # **(level 3)**
# #
# The call's result should be returned to a different vat. The receiver (the callee) expects # The call's result should be returned to a different vat. The receiver (the callee) expects
...@@ -425,18 +416,18 @@ struct Resolve { ...@@ -425,18 +416,18 @@ struct Resolve {
# Unlike all other instances of `ExportId` sent from the exporter, the `Resolve` message does # Unlike all other instances of `ExportId` sent from the exporter, the `Resolve` message does
# _not_ increase the reference count of `promiseId`. # _not_ increase the reference count of `promiseId`.
# #
# When a promise ID is first sent over the wire (e.g. in a `CapDescriptor`), the sender (exporter) # When an export ID sent over the wire (e.g. in a `CapDescriptor`) is indicated to be a promise,
# guarantees that it will follow up at some point with exactly one `Resolve` message. If the # this indicates that the sender will follow up at some point with a `Resolve` message. If the
# same `promiseId` is sent again before `Resolve`, still only one `Resolve` is sent. If the # same `promiseId` is sent again before `Resolve`, still only one `Resolve` is sent. If the
# same ID is sent again later _after_ a `Resolve`, it can only be because the export's # same ID is sent again later _after_ a `Resolve`, it can only be because the export's
# reference count hit zero in the meantime and the ID was re-assigned to a new export, therefore # reference count hit zero in the meantime and the ID was re-assigned to a new export, therefore
# this later promise does _not_ correspond to the earlier `Resolve`. # this later promise does _not_ correspond to the earlier `Resolve`.
# #
# If a promise ID's reference count reaches zero before a `Resolve` is sent, the `Resolve` # If a promise ID's reference count reaches zero before a `Resolve` is sent, the `Resolve`
# message must still be sent, and the ID cannot be reused in the meantime. Moreover, the object # message may or may not still be sent. If it is sent, the ID cannot be reused before hand
# to which the promise resolved itself needs to be released, even if the promise was already # (except to represent the same promise, of course). If it is never sent, then the ID can be
# released before it resolved. (Although, the exporter may notice that the promise was released # reused to represent a new object. If a `Resolve` is sent, the object to which the promise
# and send a `canceled` resolution, in which case nothing new is exported.) # resolved needs to be released, even if the promise was already released before it resolved.
# #
# RPC implementations should keep in mind when they receive a `Resolve` that the promise ID may # RPC implementations should keep in mind when they receive a `Resolve` that the promise ID may
# have appeared in a previous question or answer which the application has not consumed yet. # have appeared in a previous question or answer which the application has not consumed yet.
...@@ -453,10 +444,6 @@ struct Resolve { ...@@ -453,10 +444,6 @@ struct Resolve {
exception @2 :Exception; exception @2 :Exception;
# Indicates that the promise was broken. # Indicates that the promise was broken.
canceled @3 :Void;
# Indicates that this promise won't be resolved because its reference count reached zero before
# it had completed, so the operation was canceled.
} }
} }
...@@ -514,21 +501,14 @@ struct Disembargo { ...@@ -514,21 +501,14 @@ struct Disembargo {
# reduced. (In the two-party loopback case, the `Disembargo` message is just a more explicit way # reduced. (In the two-party loopback case, the `Disembargo` message is just a more explicit way
# of accomplishing the same thing as a no-op call, but isn't any faster.) # of accomplishing the same thing as a no-op call, but isn't any faster.)
target :union { target @0 :MessageTarget;
# What is to be disembargoed. # What is to be disembargoed.
exportedCap @0 :ExportId;
# An exported capability.
promisedAnswer @1 :PromisedAnswer;
# A capability expected to be returned in the answer to an outstanding question.
}
using EmbargoId = UInt32; using EmbargoId = UInt32;
# Used in `senderLoopback` and `receiverLoopback`, below. # Used in `senderLoopback` and `receiverLoopback`, below.
context :union { context :union {
senderLoopback @2 :EmbargoId; senderLoopback @1 :EmbargoId;
# The sender is requesting a disembargo on a promise which is known to resolve back to a # The sender is requesting a disembargo on a promise which is known to resolve back to a
# capability hoste by the sender. As soon as the receiver has echoed back all pipelined calls # capability hoste by the sender. As soon as the receiver has echoed back all pipelined calls
# on this promise, it will deliver the Disembargo back to the sender with `receiverLoopback` # on this promise, it will deliver the Disembargo back to the sender with `receiverLoopback`
...@@ -539,11 +519,11 @@ struct Disembargo { ...@@ -539,11 +519,11 @@ struct Disembargo {
# The receiver must verify that the target capability actually resolves back to the sender's # The receiver must verify that the target capability actually resolves back to the sender's
# vat. Otherwise, the sender has committed a protocol error and should be disconnected. # vat. Otherwise, the sender has committed a protocol error and should be disconnected.
receiverLoopback @3 :EmbargoId; receiverLoopback @2 :EmbargoId;
# The receiver previously sent a `senderLoopback` Disembargo towards a promise resolving to # The receiver previously sent a `senderLoopback` Disembargo towards a promise resolving to
# this capability, and that Disembargo is now being echoed back. # this capability, and that Disembargo is now being echoed back.
accept @4 :Void; accept @3 :Void;
# **(level 3)** # **(level 3)**
# #
# The sender is requesting a disembargo on a promise which is known to resolve to a third-party # The sender is requesting a disembargo on a promise which is known to resolve to a third-party
...@@ -554,7 +534,7 @@ struct Disembargo { ...@@ -554,7 +534,7 @@ struct Disembargo {
# #
# See `Accept.embargo` for an example. # See `Accept.embargo` for an example.
provide @5 :QuestionId; provide @4 :QuestionId;
# **(level 3)** # **(level 3)**
# #
# The sender is requesting a disembargo on a capability currently being provided to a third # The sender is requesting a disembargo on a capability currently being provided to a third
...@@ -578,15 +558,8 @@ struct Save { ...@@ -578,15 +558,8 @@ struct Save {
# A new question ID identifying this request, which will eventually receive a Return # A new question ID identifying this request, which will eventually receive a Return
# message whose `results` is a SturdyRef. # message whose `results` is a SturdyRef.
target :union { target @1 :MessageTarget;
# What is to be saved. # What is to be saved.
exportedCap @1 :ExportId;
# An exported capability.
promisedAnswer @2 :PromisedAnswer;
# A capability expected to be returned in the answer to an outstanding question.
}
} }
struct Restore { struct Restore {
...@@ -657,17 +630,10 @@ struct Provide { ...@@ -657,17 +630,10 @@ struct Provide {
# at some point send a `Finish` message as with any other call, and such a message can be # at some point send a `Finish` message as with any other call, and such a message can be
# used to cancel the whole operation. # used to cancel the whole operation.
target :union { target @1 :MessageTarget;
# What is to be provided to the third party. # What is to be provided to the third party.
exportedCap @1 :ExportId;
# An exported capability.
promisedAnswer @2 :PromisedAnswer; recipient @2 :RecipientId;
# A capability expected to be returned in the results of an outstanding question.
}
recipient @3 :RecipientId;
# Identity of the third party which is expected to pick up the capability. # Identity of the third party which is expected to pick up the capability.
} }
...@@ -797,6 +763,22 @@ struct Join { ...@@ -797,6 +763,22 @@ struct Join {
# ======================================================================================== # ========================================================================================
# Common structures used in messages # Common structures used in messages
struct MessageTarget {
# The target of a `Call` or other messages that target a capability.
union {
exportedCap @0 :ExportId;
# This message is to a capability or promise previously exported by the receiver.
promisedAnswer @1 :PromisedAnswer;
# This message is to a capability that is expected to be returned by another call that has not
# yet been completed.
#
# At level 0, this is supported only for addressing the result of a previous `Restore`, so that
# initial startup doesn't require a round trip.
}
}
struct CapDescriptor { struct CapDescriptor {
# **(level 1)** # **(level 1)**
# #
...@@ -808,6 +790,18 @@ struct CapDescriptor { ...@@ -808,6 +790,18 @@ struct CapDescriptor {
# #
# Keep in mind that `ExportIds` in a `CapDescriptor` are subject to reference counting. See the # Keep in mind that `ExportIds` in a `CapDescriptor` are subject to reference counting. See the
# description of `ExportId`. # description of `ExportId`.
#
# Note that CapDescriptors are commonly processed some time after they are received, because
# the RPC system must wait for the application to actually traverse the message and find the
# CapDescriptors. RPC implementations must keep in mind that the state of the Four Tables may
# change between when a message is received and when a CapDescriptor within it is actually
# extracted. To that end, the RPC system may need to keep track of a list of relevant state
# changes that have happened in the meantime, including:
# - `Resolve` messages that have replaced an imported promise referenced by `senderPromise`.
# - `Release` messages that have released an export referenced by `receiverHosted`.
# - `Finish` messages that have released an answer referenced by `receiverAnswer`.
# Applications are advised not to hold on to received messages long-term as this could cause
# state logs to accumulate.
union { union {
senderHosted @0 :ExportId; senderHosted @0 :ExportId;
......
...@@ -243,10 +243,10 @@ const ::capnp::_::RawSchema s_91b79f1f808db032 = { ...@@ -243,10 +243,10 @@ const ::capnp::_::RawSchema s_91b79f1f808db032 = {
0x91b79f1f808db032, b_91b79f1f808db032.words, 214, d_91b79f1f808db032, m_91b79f1f808db032, 0x91b79f1f808db032, b_91b79f1f808db032.words, 214, d_91b79f1f808db032, m_91b79f1f808db032,
14, 14, i_91b79f1f808db032, nullptr, nullptr 14, 14, i_91b79f1f808db032, nullptr, nullptr
}; };
static const ::capnp::_::AlignedData<92> b_836a53ce789d4cd4 = { static const ::capnp::_::AlignedData<98> b_836a53ce789d4cd4 = {
{ 0, 0, 0, 0, 5, 0, 5, 0, { 0, 0, 0, 0, 5, 0, 5, 0,
212, 76, 157, 120, 206, 83, 106, 131, 212, 76, 157, 120, 206, 83, 106, 131,
0, 0, 0, 0, 1, 0, 4, 0, 0, 0, 0, 0, 1, 0, 3, 0,
80, 162, 82, 37, 27, 152, 18, 179, 80, 162, 82, 37, 27, 152, 18, 179,
3, 0, 7, 0, 0, 0, 0, 0, 3, 0, 7, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
...@@ -268,37 +268,37 @@ static const ::capnp::_::AlignedData<92> b_836a53ce789d4cd4 = { ...@@ -268,37 +268,37 @@ static const ::capnp::_::AlignedData<92> b_836a53ce789d4cd4 = {
152, 0, 0, 0, 2, 0, 1, 0, 152, 0, 0, 0, 2, 0, 1, 0,
160, 0, 0, 0, 2, 0, 1, 0, 160, 0, 0, 0, 2, 0, 1, 0,
1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0,
167, 89, 52, 134, 90, 134, 114, 203, 0, 0, 0, 0, 0, 0, 0, 0,
157, 0, 0, 0, 58, 0, 0, 0, 157, 0, 0, 0, 58, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
152, 0, 0, 0, 2, 0, 1, 0,
160, 0, 0, 0, 2, 0, 1, 0,
2, 0, 0, 0, 1, 0, 0, 0,
0, 0, 1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
157, 0, 0, 0, 98, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 2, 0, 0, 0, 156, 0, 0, 0, 2, 0, 1, 0,
164, 0, 0, 0, 2, 0, 1, 0,
3, 0, 0, 0, 2, 0, 0, 0,
0, 0, 1, 0, 3, 0, 0, 0, 0, 0, 1, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
133, 0, 0, 0, 98, 0, 0, 0, 161, 0, 0, 0, 74, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
132, 0, 0, 0, 2, 0, 1, 0,
140, 0, 0, 0, 2, 0, 1, 0,
3, 0, 0, 0, 5, 0, 0, 0,
0, 0, 1, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
137, 0, 0, 0, 74, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
136, 0, 0, 0, 2, 0, 1, 0, 160, 0, 0, 0, 2, 0, 1, 0,
144, 0, 0, 0, 2, 0, 1, 0, 168, 0, 0, 0, 2, 0, 1, 0,
4, 0, 0, 0, 1, 0, 0, 0, 4, 0, 0, 0, 1, 0, 0, 0,
0, 0, 1, 0, 5, 0, 0, 0, 0, 0, 1, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
141, 0, 0, 0, 58, 0, 0, 0, 165, 0, 0, 0, 58, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
136, 0, 0, 0, 2, 0, 1, 0, 160, 0, 0, 0, 2, 0, 1, 0,
144, 0, 0, 0, 2, 0, 1, 0, 168, 0, 0, 0, 2, 0, 1, 0,
5, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
153, 95, 171, 26, 246, 176, 232, 218, 153, 95, 171, 26, 246, 176, 232, 218,
141, 0, 0, 0, 106, 0, 0, 0, 165, 0, 0, 0, 106, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
...@@ -311,6 +311,12 @@ static const ::capnp::_::AlignedData<92> b_836a53ce789d4cd4 = { ...@@ -311,6 +311,12 @@ static const ::capnp::_::AlignedData<92> b_836a53ce789d4cd4 = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
116, 97, 114, 103, 101, 116, 0, 0, 116, 97, 114, 103, 101, 116, 0, 0,
16, 0, 0, 0, 0, 0, 0, 0,
193, 251, 19, 88, 84, 20, 188, 149,
0, 0, 0, 0, 0, 0, 0, 0,
16, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
105, 110, 116, 101, 114, 102, 97, 99, 105, 110, 116, 101, 114, 102, 97, 99,
101, 73, 100, 0, 0, 0, 0, 0, 101, 73, 100, 0, 0, 0, 0, 0,
9, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0,
...@@ -338,80 +344,22 @@ static const ::capnp::_::AlignedData<92> b_836a53ce789d4cd4 = { ...@@ -338,80 +344,22 @@ static const ::capnp::_::AlignedData<92> b_836a53ce789d4cd4 = {
114, 110, 84, 111, 0, 0, 0, 0, } 114, 110, 84, 111, 0, 0, 0, 0, }
}; };
static const ::capnp::_::RawSchema* const d_836a53ce789d4cd4[] = { static const ::capnp::_::RawSchema* const d_836a53ce789d4cd4[] = {
&s_cb72865a863459a7, &s_95bc14545813fbc1,
&s_dae8b0f61aab5f99, &s_dae8b0f61aab5f99,
}; };
static const uint16_t m_836a53ce789d4cd4[] = {2, 3, 4, 0, 5, 1}; static const uint16_t m_836a53ce789d4cd4[] = {2, 3, 4, 0, 5, 1};
static const uint16_t i_836a53ce789d4cd4[] = {0, 1, 2, 3, 4, 5}; static const uint16_t i_836a53ce789d4cd4[] = {0, 1, 2, 3, 4, 5};
const ::capnp::_::RawSchema s_836a53ce789d4cd4 = { const ::capnp::_::RawSchema s_836a53ce789d4cd4 = {
0x836a53ce789d4cd4, b_836a53ce789d4cd4.words, 92, d_836a53ce789d4cd4, m_836a53ce789d4cd4, 0x836a53ce789d4cd4, b_836a53ce789d4cd4.words, 98, d_836a53ce789d4cd4, m_836a53ce789d4cd4,
2, 6, i_836a53ce789d4cd4, nullptr, nullptr 2, 6, i_836a53ce789d4cd4, nullptr, nullptr
}; };
static const ::capnp::_::AlignedData<46> b_cb72865a863459a7 = {
{ 0, 0, 0, 0, 5, 0, 5, 0,
167, 89, 52, 134, 90, 134, 114, 203,
21, 0, 0, 0, 1, 0, 4, 0,
212, 76, 157, 120, 206, 83, 106, 131,
3, 0, 7, 0, 1, 0, 2, 0,
4, 0, 0, 0, 0, 0, 0, 0,
17, 0, 0, 0, 226, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
21, 0, 0, 0, 119, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
99, 97, 112, 110, 112, 47, 114, 112,
99, 46, 99, 97, 112, 110, 112, 58,
67, 97, 108, 108, 46, 116, 97, 114,
103, 101, 116, 0, 0, 0, 0, 0,
8, 0, 0, 0, 3, 0, 4, 0,
0, 0, 255, 255, 1, 0, 0, 0,
0, 0, 1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
41, 0, 0, 0, 98, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
40, 0, 0, 0, 2, 0, 1, 0,
48, 0, 0, 0, 2, 0, 1, 0,
1, 0, 254, 255, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
45, 0, 0, 0, 122, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
44, 0, 0, 0, 2, 0, 1, 0,
52, 0, 0, 0, 2, 0, 1, 0,
101, 120, 112, 111, 114, 116, 101, 100,
67, 97, 112, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
112, 114, 111, 109, 105, 115, 101, 100,
65, 110, 115, 119, 101, 114, 0, 0,
16, 0, 0, 0, 0, 0, 0, 0,
160, 28, 111, 205, 214, 177, 0, 216,
0, 0, 0, 0, 0, 0, 0, 0,
16, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, }
};
static const ::capnp::_::RawSchema* const d_cb72865a863459a7[] = {
&s_836a53ce789d4cd4,
&s_d800b1d6cd6f1ca0,
};
static const uint16_t m_cb72865a863459a7[] = {0, 1};
static const uint16_t i_cb72865a863459a7[] = {0, 1};
const ::capnp::_::RawSchema s_cb72865a863459a7 = {
0xcb72865a863459a7, b_cb72865a863459a7.words, 46, d_cb72865a863459a7, m_cb72865a863459a7,
2, 2, i_cb72865a863459a7, nullptr, nullptr
};
static const ::capnp::_::AlignedData<61> b_dae8b0f61aab5f99 = { static const ::capnp::_::AlignedData<61> b_dae8b0f61aab5f99 = {
{ 0, 0, 0, 0, 5, 0, 5, 0, { 0, 0, 0, 0, 5, 0, 5, 0,
153, 95, 171, 26, 246, 176, 232, 218, 153, 95, 171, 26, 246, 176, 232, 218,
21, 0, 0, 0, 1, 0, 4, 0, 21, 0, 0, 0, 1, 0, 3, 0,
212, 76, 157, 120, 206, 83, 106, 131, 212, 76, 157, 120, 206, 83, 106, 131,
3, 0, 7, 0, 1, 0, 3, 0, 3, 0, 7, 0, 1, 0, 3, 0,
6, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0,
17, 0, 0, 0, 18, 1, 0, 0, 17, 0, 0, 0, 18, 1, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
...@@ -424,21 +372,21 @@ static const ::capnp::_::AlignedData<61> b_dae8b0f61aab5f99 = { ...@@ -424,21 +372,21 @@ static const ::capnp::_::AlignedData<61> b_dae8b0f61aab5f99 = {
111, 0, 0, 0, 0, 0, 0, 0, 111, 0, 0, 0, 0, 0, 0, 0,
12, 0, 0, 0, 3, 0, 4, 0, 12, 0, 0, 0, 3, 0, 4, 0,
0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0,
0, 0, 1, 0, 6, 0, 0, 0, 0, 0, 1, 0, 5, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
69, 0, 0, 0, 58, 0, 0, 0, 69, 0, 0, 0, 58, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
64, 0, 0, 0, 2, 0, 1, 0, 64, 0, 0, 0, 2, 0, 1, 0,
72, 0, 0, 0, 2, 0, 1, 0, 72, 0, 0, 0, 2, 0, 1, 0,
1, 0, 254, 255, 6, 0, 0, 0, 1, 0, 254, 255, 4, 0, 0, 0,
0, 0, 1, 0, 7, 0, 0, 0, 0, 0, 1, 0, 6, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
69, 0, 0, 0, 74, 0, 0, 0, 69, 0, 0, 0, 74, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
68, 0, 0, 0, 2, 0, 1, 0, 68, 0, 0, 0, 2, 0, 1, 0,
76, 0, 0, 0, 2, 0, 1, 0, 76, 0, 0, 0, 2, 0, 1, 0,
2, 0, 253, 255, 2, 0, 0, 0, 2, 0, 253, 255, 2, 0, 0, 0,
0, 0, 1, 0, 8, 0, 0, 0, 0, 0, 1, 0, 7, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
73, 0, 0, 0, 90, 0, 0, 0, 73, 0, 0, 0, 90, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
...@@ -669,51 +617,44 @@ const ::capnp::_::RawSchema s_d37d2eb2c2f80e63 = { ...@@ -669,51 +617,44 @@ const ::capnp::_::RawSchema s_d37d2eb2c2f80e63 = {
0xd37d2eb2c2f80e63, b_d37d2eb2c2f80e63.words, 49, nullptr, m_d37d2eb2c2f80e63, 0xd37d2eb2c2f80e63, b_d37d2eb2c2f80e63.words, 49, nullptr, m_d37d2eb2c2f80e63,
0, 2, i_d37d2eb2c2f80e63, nullptr, nullptr 0, 2, i_d37d2eb2c2f80e63, nullptr, nullptr
}; };
static const ::capnp::_::AlignedData<75> b_bbc29655fa89086e = { static const ::capnp::_::AlignedData<60> b_bbc29655fa89086e = {
{ 0, 0, 0, 0, 5, 0, 5, 0, { 0, 0, 0, 0, 5, 0, 5, 0,
110, 8, 137, 250, 85, 150, 194, 187, 110, 8, 137, 250, 85, 150, 194, 187,
0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0,
80, 162, 82, 37, 27, 152, 18, 179, 80, 162, 82, 37, 27, 152, 18, 179,
1, 0, 7, 0, 0, 0, 3, 0, 1, 0, 7, 0, 0, 0, 2, 0,
2, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0,
17, 0, 0, 0, 194, 0, 0, 0, 17, 0, 0, 0, 194, 0, 0, 0,
25, 0, 0, 0, 7, 0, 0, 0, 25, 0, 0, 0, 7, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
21, 0, 0, 0, 231, 0, 0, 0, 21, 0, 0, 0, 175, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
99, 97, 112, 110, 112, 47, 114, 112, 99, 97, 112, 110, 112, 47, 114, 112,
99, 46, 99, 97, 112, 110, 112, 58, 99, 46, 99, 97, 112, 110, 112, 58,
82, 101, 115, 111, 108, 118, 101, 0, 82, 101, 115, 111, 108, 118, 101, 0,
0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0,
16, 0, 0, 0, 3, 0, 4, 0, 12, 0, 0, 0, 3, 0, 4, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
97, 0, 0, 0, 82, 0, 0, 0, 69, 0, 0, 0, 82, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
96, 0, 0, 0, 2, 0, 1, 0, 68, 0, 0, 0, 2, 0, 1, 0,
104, 0, 0, 0, 2, 0, 1, 0, 76, 0, 0, 0, 2, 0, 1, 0,
1, 0, 255, 255, 0, 0, 0, 0, 1, 0, 255, 255, 0, 0, 0, 0,
0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
101, 0, 0, 0, 34, 0, 0, 0, 73, 0, 0, 0, 34, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
96, 0, 0, 0, 2, 0, 1, 0, 68, 0, 0, 0, 2, 0, 1, 0,
104, 0, 0, 0, 2, 0, 1, 0, 76, 0, 0, 0, 2, 0, 1, 0,
2, 0, 254, 255, 0, 0, 0, 0, 2, 0, 254, 255, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0, 0, 0, 0, 0, 1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
101, 0, 0, 0, 82, 0, 0, 0, 73, 0, 0, 0, 82, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
100, 0, 0, 0, 2, 0, 1, 0,
108, 0, 0, 0, 2, 0, 1, 0,
3, 0, 253, 255, 0, 0, 0, 0,
0, 0, 1, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
105, 0, 0, 0, 74, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
104, 0, 0, 0, 2, 0, 1, 0, 72, 0, 0, 0, 2, 0, 1, 0,
112, 0, 0, 0, 2, 0, 1, 0, 80, 0, 0, 0, 2, 0, 1, 0,
112, 114, 111, 109, 105, 115, 101, 73, 112, 114, 111, 109, 105, 115, 101, 73,
100, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0,
...@@ -735,14 +676,6 @@ static const ::capnp::_::AlignedData<75> b_bbc29655fa89086e = { ...@@ -735,14 +676,6 @@ static const ::capnp::_::AlignedData<75> b_bbc29655fa89086e = {
26, 105, 207, 58, 6, 183, 37, 214, 26, 105, 207, 58, 6, 183, 37, 214,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
16, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
99, 97, 110, 99, 101, 108, 101, 100,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, } 0, 0, 0, 0, 0, 0, 0, 0, }
}; };
...@@ -750,11 +683,11 @@ static const ::capnp::_::RawSchema* const d_bbc29655fa89086e[] = { ...@@ -750,11 +683,11 @@ static const ::capnp::_::RawSchema* const d_bbc29655fa89086e[] = {
&s_8523ddc40b86b8b0, &s_8523ddc40b86b8b0,
&s_d625b7063acf691a, &s_d625b7063acf691a,
}; };
static const uint16_t m_bbc29655fa89086e[] = {3, 1, 2, 0}; static const uint16_t m_bbc29655fa89086e[] = {1, 2, 0};
static const uint16_t i_bbc29655fa89086e[] = {1, 2, 3, 0}; static const uint16_t i_bbc29655fa89086e[] = {1, 2, 0};
const ::capnp::_::RawSchema s_bbc29655fa89086e = { const ::capnp::_::RawSchema s_bbc29655fa89086e = {
0xbbc29655fa89086e, b_bbc29655fa89086e.words, 75, d_bbc29655fa89086e, m_bbc29655fa89086e, 0xbbc29655fa89086e, b_bbc29655fa89086e.words, 60, d_bbc29655fa89086e, m_bbc29655fa89086e,
2, 4, i_bbc29655fa89086e, nullptr, nullptr 2, 3, i_bbc29655fa89086e, nullptr, nullptr
}; };
static const ::capnp::_::AlignedData<45> b_ad1a6c0d7dd07497 = { static const ::capnp::_::AlignedData<45> b_ad1a6c0d7dd07497 = {
{ 0, 0, 0, 0, 5, 0, 5, 0, { 0, 0, 0, 0, 5, 0, 5, 0,
...@@ -809,10 +742,10 @@ const ::capnp::_::RawSchema s_ad1a6c0d7dd07497 = { ...@@ -809,10 +742,10 @@ const ::capnp::_::RawSchema s_ad1a6c0d7dd07497 = {
0xad1a6c0d7dd07497, b_ad1a6c0d7dd07497.words, 45, nullptr, m_ad1a6c0d7dd07497, 0xad1a6c0d7dd07497, b_ad1a6c0d7dd07497.words, 45, nullptr, m_ad1a6c0d7dd07497,
0, 2, i_ad1a6c0d7dd07497, nullptr, nullptr 0, 2, i_ad1a6c0d7dd07497, nullptr, nullptr
}; };
static const ::capnp::_::AlignedData<33> b_f964368b0fbd3711 = { static const ::capnp::_::AlignedData<39> b_f964368b0fbd3711 = {
{ 0, 0, 0, 0, 5, 0, 5, 0, { 0, 0, 0, 0, 5, 0, 5, 0,
17, 55, 189, 15, 139, 54, 100, 249, 17, 55, 189, 15, 139, 54, 100, 249,
0, 0, 0, 0, 1, 0, 2, 0, 0, 0, 0, 0, 1, 0, 1, 0,
80, 162, 82, 37, 27, 152, 18, 179, 80, 162, 82, 37, 27, 152, 18, 179,
1, 0, 7, 0, 0, 0, 0, 0, 1, 0, 7, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
...@@ -828,98 +761,45 @@ static const ::capnp::_::AlignedData<33> b_f964368b0fbd3711 = { ...@@ -828,98 +761,45 @@ static const ::capnp::_::AlignedData<33> b_f964368b0fbd3711 = {
0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0,
8, 0, 0, 0, 3, 0, 4, 0, 8, 0, 0, 0, 3, 0, 4, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0,
235, 65, 66, 102, 74, 188, 253, 150,
41, 0, 0, 0, 58, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
41, 0, 0, 0, 58, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
36, 0, 0, 0, 2, 0, 1, 0,
44, 0, 0, 0, 2, 0, 1, 0,
1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
77, 221, 91, 101, 223, 180, 98, 213, 77, 221, 91, 101, 223, 180, 98, 213,
17, 0, 0, 0, 66, 0, 0, 0, 41, 0, 0, 0, 66, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
116, 97, 114, 103, 101, 116, 0, 0, 116, 97, 114, 103, 101, 116, 0, 0,
16, 0, 0, 0, 0, 0, 0, 0,
193, 251, 19, 88, 84, 20, 188, 149,
0, 0, 0, 0, 0, 0, 0, 0,
16, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
99, 111, 110, 116, 101, 120, 116, 0, } 99, 111, 110, 116, 101, 120, 116, 0, }
}; };
static const ::capnp::_::RawSchema* const d_f964368b0fbd3711[] = { static const ::capnp::_::RawSchema* const d_f964368b0fbd3711[] = {
&s_96fdbc4a664241eb, &s_95bc14545813fbc1,
&s_d562b4df655bdd4d, &s_d562b4df655bdd4d,
}; };
static const uint16_t m_f964368b0fbd3711[] = {1, 0}; static const uint16_t m_f964368b0fbd3711[] = {1, 0};
static const uint16_t i_f964368b0fbd3711[] = {0, 1}; static const uint16_t i_f964368b0fbd3711[] = {0, 1};
const ::capnp::_::RawSchema s_f964368b0fbd3711 = { const ::capnp::_::RawSchema s_f964368b0fbd3711 = {
0xf964368b0fbd3711, b_f964368b0fbd3711.words, 33, d_f964368b0fbd3711, m_f964368b0fbd3711, 0xf964368b0fbd3711, b_f964368b0fbd3711.words, 39, d_f964368b0fbd3711, m_f964368b0fbd3711,
2, 2, i_f964368b0fbd3711, nullptr, nullptr 2, 2, i_f964368b0fbd3711, nullptr, nullptr
}; };
static const ::capnp::_::AlignedData<47> b_96fdbc4a664241eb = {
{ 0, 0, 0, 0, 5, 0, 5, 0,
235, 65, 66, 102, 74, 188, 253, 150,
27, 0, 0, 0, 1, 0, 2, 0,
17, 55, 189, 15, 139, 54, 100, 249,
1, 0, 7, 0, 1, 0, 2, 0,
2, 0, 0, 0, 0, 0, 0, 0,
17, 0, 0, 0, 18, 1, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
25, 0, 0, 0, 119, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
99, 97, 112, 110, 112, 47, 114, 112,
99, 46, 99, 97, 112, 110, 112, 58,
68, 105, 115, 101, 109, 98, 97, 114,
103, 111, 46, 116, 97, 114, 103, 101,
116, 0, 0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 3, 0, 4, 0,
0, 0, 255, 255, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
41, 0, 0, 0, 98, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
40, 0, 0, 0, 2, 0, 1, 0,
48, 0, 0, 0, 2, 0, 1, 0,
1, 0, 254, 255, 0, 0, 0, 0,
0, 0, 1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
45, 0, 0, 0, 122, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
44, 0, 0, 0, 2, 0, 1, 0,
52, 0, 0, 0, 2, 0, 1, 0,
101, 120, 112, 111, 114, 116, 101, 100,
67, 97, 112, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
112, 114, 111, 109, 105, 115, 101, 100,
65, 110, 115, 119, 101, 114, 0, 0,
16, 0, 0, 0, 0, 0, 0, 0,
160, 28, 111, 205, 214, 177, 0, 216,
0, 0, 0, 0, 0, 0, 0, 0,
16, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, }
};
static const ::capnp::_::RawSchema* const d_96fdbc4a664241eb[] = {
&s_d800b1d6cd6f1ca0,
&s_f964368b0fbd3711,
};
static const uint16_t m_96fdbc4a664241eb[] = {0, 1};
static const uint16_t i_96fdbc4a664241eb[] = {0, 1};
const ::capnp::_::RawSchema s_96fdbc4a664241eb = {
0x96fdbc4a664241eb, b_96fdbc4a664241eb.words, 47, d_96fdbc4a664241eb, m_96fdbc4a664241eb,
2, 2, i_96fdbc4a664241eb, nullptr, nullptr
};
static const ::capnp::_::AlignedData<76> b_d562b4df655bdd4d = { static const ::capnp::_::AlignedData<76> b_d562b4df655bdd4d = {
{ 0, 0, 0, 0, 5, 0, 5, 0, { 0, 0, 0, 0, 5, 0, 5, 0,
77, 221, 91, 101, 223, 180, 98, 213, 77, 221, 91, 101, 223, 180, 98, 213,
27, 0, 0, 0, 1, 0, 2, 0, 27, 0, 0, 0, 1, 0, 1, 0,
17, 55, 189, 15, 139, 54, 100, 249, 17, 55, 189, 15, 139, 54, 100, 249,
1, 0, 7, 0, 1, 0, 4, 0, 1, 0, 7, 0, 1, 0, 4, 0,
3, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0,
17, 0, 0, 0, 26, 1, 0, 0, 17, 0, 0, 0, 26, 1, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
...@@ -931,29 +811,29 @@ static const ::capnp::_::AlignedData<76> b_d562b4df655bdd4d = { ...@@ -931,29 +811,29 @@ static const ::capnp::_::AlignedData<76> b_d562b4df655bdd4d = {
103, 111, 46, 99, 111, 110, 116, 101, 103, 111, 46, 99, 111, 110, 116, 101,
120, 116, 0, 0, 0, 0, 0, 0, 120, 116, 0, 0, 0, 0, 0, 0,
16, 0, 0, 0, 3, 0, 4, 0, 16, 0, 0, 0, 3, 0, 4, 0,
0, 0, 255, 255, 2, 0, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
97, 0, 0, 0, 122, 0, 0, 0, 97, 0, 0, 0, 122, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
96, 0, 0, 0, 2, 0, 1, 0, 96, 0, 0, 0, 2, 0, 1, 0,
104, 0, 0, 0, 2, 0, 1, 0, 104, 0, 0, 0, 2, 0, 1, 0,
1, 0, 254, 255, 2, 0, 0, 0, 1, 0, 254, 255, 0, 0, 0, 0,
0, 0, 1, 0, 3, 0, 0, 0, 0, 0, 1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
101, 0, 0, 0, 138, 0, 0, 0, 101, 0, 0, 0, 138, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
104, 0, 0, 0, 2, 0, 1, 0, 104, 0, 0, 0, 2, 0, 1, 0,
112, 0, 0, 0, 2, 0, 1, 0, 112, 0, 0, 0, 2, 0, 1, 0,
2, 0, 253, 255, 0, 0, 0, 0, 2, 0, 253, 255, 0, 0, 0, 0,
0, 0, 1, 0, 4, 0, 0, 0, 0, 0, 1, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
109, 0, 0, 0, 58, 0, 0, 0, 109, 0, 0, 0, 58, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
104, 0, 0, 0, 2, 0, 1, 0, 104, 0, 0, 0, 2, 0, 1, 0,
112, 0, 0, 0, 2, 0, 1, 0, 112, 0, 0, 0, 2, 0, 1, 0,
3, 0, 252, 255, 2, 0, 0, 0, 3, 0, 252, 255, 0, 0, 0, 0,
0, 0, 1, 0, 5, 0, 0, 0, 0, 0, 1, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
109, 0, 0, 0, 66, 0, 0, 0, 109, 0, 0, 0, 66, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
...@@ -1000,10 +880,10 @@ const ::capnp::_::RawSchema s_d562b4df655bdd4d = { ...@@ -1000,10 +880,10 @@ const ::capnp::_::RawSchema s_d562b4df655bdd4d = {
0xd562b4df655bdd4d, b_d562b4df655bdd4d.words, 76, d_d562b4df655bdd4d, m_d562b4df655bdd4d, 0xd562b4df655bdd4d, b_d562b4df655bdd4d.words, 76, d_d562b4df655bdd4d, m_d562b4df655bdd4d,
1, 4, i_d562b4df655bdd4d, nullptr, nullptr 1, 4, i_d562b4df655bdd4d, nullptr, nullptr
}; };
static const ::capnp::_::AlignedData<39> b_e40ef0b4b02e882c = { static const ::capnp::_::AlignedData<45> b_e40ef0b4b02e882c = {
{ 0, 0, 0, 0, 5, 0, 5, 0, { 0, 0, 0, 0, 5, 0, 5, 0,
44, 136, 46, 176, 180, 240, 14, 228, 44, 136, 46, 176, 180, 240, 14, 228,
0, 0, 0, 0, 1, 0, 2, 0, 0, 0, 0, 0, 1, 0, 1, 0,
80, 162, 82, 37, 27, 152, 18, 179, 80, 162, 82, 37, 27, 152, 18, 179,
1, 0, 7, 0, 0, 0, 0, 0, 1, 0, 7, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
...@@ -1025,88 +905,36 @@ static const ::capnp::_::AlignedData<39> b_e40ef0b4b02e882c = { ...@@ -1025,88 +905,36 @@ static const ::capnp::_::AlignedData<39> b_e40ef0b4b02e882c = {
40, 0, 0, 0, 2, 0, 1, 0, 40, 0, 0, 0, 2, 0, 1, 0,
48, 0, 0, 0, 2, 0, 1, 0, 48, 0, 0, 0, 2, 0, 1, 0,
1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0, 0, 0,
172, 103, 248, 129, 42, 236, 189, 128,
45, 0, 0, 0, 58, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
113, 117, 101, 115, 116, 105, 111, 110,
73, 100, 0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
116, 97, 114, 103, 101, 116, 0, 0, }
};
static const ::capnp::_::RawSchema* const d_e40ef0b4b02e882c[] = {
&s_80bdec2a81f867ac,
};
static const uint16_t m_e40ef0b4b02e882c[] = {0, 1};
static const uint16_t i_e40ef0b4b02e882c[] = {0, 1};
const ::capnp::_::RawSchema s_e40ef0b4b02e882c = {
0xe40ef0b4b02e882c, b_e40ef0b4b02e882c.words, 39, d_e40ef0b4b02e882c, m_e40ef0b4b02e882c,
1, 2, i_e40ef0b4b02e882c, nullptr, nullptr
};
static const ::capnp::_::AlignedData<46> b_80bdec2a81f867ac = {
{ 0, 0, 0, 0, 5, 0, 5, 0,
172, 103, 248, 129, 42, 236, 189, 128,
21, 0, 0, 0, 1, 0, 2, 0,
44, 136, 46, 176, 180, 240, 14, 228,
1, 0, 7, 0, 1, 0, 2, 0,
4, 0, 0, 0, 0, 0, 0, 0,
17, 0, 0, 0, 226, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
21, 0, 0, 0, 119, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
99, 97, 112, 110, 112, 47, 114, 112,
99, 46, 99, 97, 112, 110, 112, 58,
83, 97, 118, 101, 46, 116, 97, 114,
103, 101, 116, 0, 0, 0, 0, 0,
8, 0, 0, 0, 3, 0, 4, 0,
0, 0, 255, 255, 1, 0, 0, 0,
0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
41, 0, 0, 0, 98, 0, 0, 0, 45, 0, 0, 0, 58, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
40, 0, 0, 0, 2, 0, 1, 0, 40, 0, 0, 0, 2, 0, 1, 0,
48, 0, 0, 0, 2, 0, 1, 0, 48, 0, 0, 0, 2, 0, 1, 0,
1, 0, 254, 255, 0, 0, 0, 0, 113, 117, 101, 115, 116, 105, 111, 110,
0, 0, 1, 0, 2, 0, 0, 0, 73, 100, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
45, 0, 0, 0, 122, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
44, 0, 0, 0, 2, 0, 1, 0,
52, 0, 0, 0, 2, 0, 1, 0,
101, 120, 112, 111, 114, 116, 101, 100,
67, 97, 112, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
112, 114, 111, 109, 105, 115, 101, 100, 116, 97, 114, 103, 101, 116, 0, 0,
65, 110, 115, 119, 101, 114, 0, 0,
16, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0,
160, 28, 111, 205, 214, 177, 0, 216, 193, 251, 19, 88, 84, 20, 188, 149,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
16, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, } 0, 0, 0, 0, 0, 0, 0, 0, }
}; };
static const ::capnp::_::RawSchema* const d_80bdec2a81f867ac[] = { static const ::capnp::_::RawSchema* const d_e40ef0b4b02e882c[] = {
&s_d800b1d6cd6f1ca0, &s_95bc14545813fbc1,
&s_e40ef0b4b02e882c,
}; };
static const uint16_t m_80bdec2a81f867ac[] = {0, 1}; static const uint16_t m_e40ef0b4b02e882c[] = {0, 1};
static const uint16_t i_80bdec2a81f867ac[] = {0, 1}; static const uint16_t i_e40ef0b4b02e882c[] = {0, 1};
const ::capnp::_::RawSchema s_80bdec2a81f867ac = { const ::capnp::_::RawSchema s_e40ef0b4b02e882c = {
0x80bdec2a81f867ac, b_80bdec2a81f867ac.words, 46, d_80bdec2a81f867ac, m_80bdec2a81f867ac, 0xe40ef0b4b02e882c, b_e40ef0b4b02e882c.words, 45, d_e40ef0b4b02e882c, m_e40ef0b4b02e882c,
2, 2, i_80bdec2a81f867ac, nullptr, nullptr 1, 2, i_e40ef0b4b02e882c, nullptr, nullptr
}; };
static const ::capnp::_::AlignedData<46> b_ec0c922151b8b0a8 = { static const ::capnp::_::AlignedData<46> b_ec0c922151b8b0a8 = {
{ 0, 0, 0, 0, 5, 0, 5, 0, { 0, 0, 0, 0, 5, 0, 5, 0,
...@@ -1216,10 +1044,10 @@ const ::capnp::_::RawSchema s_86267432565dee97 = { ...@@ -1216,10 +1044,10 @@ const ::capnp::_::RawSchema s_86267432565dee97 = {
0x86267432565dee97, b_86267432565dee97.words, 46, nullptr, m_86267432565dee97, 0x86267432565dee97, b_86267432565dee97.words, 46, nullptr, m_86267432565dee97,
0, 2, i_86267432565dee97, nullptr, nullptr 0, 2, i_86267432565dee97, nullptr, nullptr
}; };
static const ::capnp::_::AlignedData<54> b_9c6a046bfbc1ac5a = { static const ::capnp::_::AlignedData<60> b_9c6a046bfbc1ac5a = {
{ 0, 0, 0, 0, 5, 0, 5, 0, { 0, 0, 0, 0, 5, 0, 5, 0,
90, 172, 193, 251, 107, 4, 106, 156, 90, 172, 193, 251, 107, 4, 106, 156,
0, 0, 0, 0, 1, 0, 2, 0, 0, 0, 0, 0, 1, 0, 1, 0,
80, 162, 82, 37, 27, 152, 18, 179, 80, 162, 82, 37, 27, 152, 18, 179,
2, 0, 7, 0, 0, 0, 0, 0, 2, 0, 7, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
...@@ -1241,19 +1069,19 @@ static const ::capnp::_::AlignedData<54> b_9c6a046bfbc1ac5a = { ...@@ -1241,19 +1069,19 @@ static const ::capnp::_::AlignedData<54> b_9c6a046bfbc1ac5a = {
68, 0, 0, 0, 2, 0, 1, 0, 68, 0, 0, 0, 2, 0, 1, 0,
76, 0, 0, 0, 2, 0, 1, 0, 76, 0, 0, 0, 2, 0, 1, 0,
1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0,
228, 196, 162, 249, 196, 37, 29, 220,
73, 0, 0, 0, 58, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
73, 0, 0, 0, 58, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
68, 0, 0, 0, 2, 0, 1, 0,
76, 0, 0, 0, 2, 0, 1, 0,
2, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0,
0, 0, 1, 0, 3, 0, 0, 0, 0, 0, 1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
49, 0, 0, 0, 82, 0, 0, 0, 73, 0, 0, 0, 82, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
48, 0, 0, 0, 2, 0, 1, 0, 72, 0, 0, 0, 2, 0, 1, 0,
56, 0, 0, 0, 2, 0, 1, 0, 80, 0, 0, 0, 2, 0, 1, 0,
113, 117, 101, 115, 116, 105, 111, 110, 113, 117, 101, 115, 116, 105, 111, 110,
73, 100, 0, 0, 0, 0, 0, 0, 73, 100, 0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0,
...@@ -1263,6 +1091,12 @@ static const ::capnp::_::AlignedData<54> b_9c6a046bfbc1ac5a = { ...@@ -1263,6 +1091,12 @@ static const ::capnp::_::AlignedData<54> b_9c6a046bfbc1ac5a = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
116, 97, 114, 103, 101, 116, 0, 0, 116, 97, 114, 103, 101, 116, 0, 0,
16, 0, 0, 0, 0, 0, 0, 0,
193, 251, 19, 88, 84, 20, 188, 149,
0, 0, 0, 0, 0, 0, 0, 0,
16, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
114, 101, 99, 105, 112, 105, 101, 110, 114, 101, 99, 105, 112, 105, 101, 110,
116, 0, 0, 0, 0, 0, 0, 0, 116, 0, 0, 0, 0, 0, 0, 0,
18, 0, 0, 0, 0, 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 0,
...@@ -1273,72 +1107,14 @@ static const ::capnp::_::AlignedData<54> b_9c6a046bfbc1ac5a = { ...@@ -1273,72 +1107,14 @@ static const ::capnp::_::AlignedData<54> b_9c6a046bfbc1ac5a = {
0, 0, 0, 0, 0, 0, 0, 0, } 0, 0, 0, 0, 0, 0, 0, 0, }
}; };
static const ::capnp::_::RawSchema* const d_9c6a046bfbc1ac5a[] = { static const ::capnp::_::RawSchema* const d_9c6a046bfbc1ac5a[] = {
&s_dc1d25c4f9a2c4e4, &s_95bc14545813fbc1,
}; };
static const uint16_t m_9c6a046bfbc1ac5a[] = {0, 2, 1}; static const uint16_t m_9c6a046bfbc1ac5a[] = {0, 2, 1};
static const uint16_t i_9c6a046bfbc1ac5a[] = {0, 1, 2}; static const uint16_t i_9c6a046bfbc1ac5a[] = {0, 1, 2};
const ::capnp::_::RawSchema s_9c6a046bfbc1ac5a = { const ::capnp::_::RawSchema s_9c6a046bfbc1ac5a = {
0x9c6a046bfbc1ac5a, b_9c6a046bfbc1ac5a.words, 54, d_9c6a046bfbc1ac5a, m_9c6a046bfbc1ac5a, 0x9c6a046bfbc1ac5a, b_9c6a046bfbc1ac5a.words, 60, d_9c6a046bfbc1ac5a, m_9c6a046bfbc1ac5a,
1, 3, i_9c6a046bfbc1ac5a, nullptr, nullptr 1, 3, i_9c6a046bfbc1ac5a, nullptr, nullptr
}; };
static const ::capnp::_::AlignedData<46> b_dc1d25c4f9a2c4e4 = {
{ 0, 0, 0, 0, 5, 0, 5, 0,
228, 196, 162, 249, 196, 37, 29, 220,
24, 0, 0, 0, 1, 0, 2, 0,
90, 172, 193, 251, 107, 4, 106, 156,
2, 0, 7, 0, 1, 0, 2, 0,
4, 0, 0, 0, 0, 0, 0, 0,
17, 0, 0, 0, 250, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
21, 0, 0, 0, 119, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
99, 97, 112, 110, 112, 47, 114, 112,
99, 46, 99, 97, 112, 110, 112, 58,
80, 114, 111, 118, 105, 100, 101, 46,
116, 97, 114, 103, 101, 116, 0, 0,
8, 0, 0, 0, 3, 0, 4, 0,
0, 0, 255, 255, 1, 0, 0, 0,
0, 0, 1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
41, 0, 0, 0, 98, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
40, 0, 0, 0, 2, 0, 1, 0,
48, 0, 0, 0, 2, 0, 1, 0,
1, 0, 254, 255, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
45, 0, 0, 0, 122, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
44, 0, 0, 0, 2, 0, 1, 0,
52, 0, 0, 0, 2, 0, 1, 0,
101, 120, 112, 111, 114, 116, 101, 100,
67, 97, 112, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
112, 114, 111, 109, 105, 115, 101, 100,
65, 110, 115, 119, 101, 114, 0, 0,
16, 0, 0, 0, 0, 0, 0, 0,
160, 28, 111, 205, 214, 177, 0, 216,
0, 0, 0, 0, 0, 0, 0, 0,
16, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, }
};
static const ::capnp::_::RawSchema* const d_dc1d25c4f9a2c4e4[] = {
&s_9c6a046bfbc1ac5a,
&s_d800b1d6cd6f1ca0,
};
static const uint16_t m_dc1d25c4f9a2c4e4[] = {0, 1};
static const uint16_t i_dc1d25c4f9a2c4e4[] = {0, 1};
const ::capnp::_::RawSchema s_dc1d25c4f9a2c4e4 = {
0xdc1d25c4f9a2c4e4, b_dc1d25c4f9a2c4e4.words, 46, d_dc1d25c4f9a2c4e4, m_dc1d25c4f9a2c4e4,
2, 2, i_dc1d25c4f9a2c4e4, nullptr, nullptr
};
static const ::capnp::_::AlignedData<60> b_d4c9b56290554016 = { static const ::capnp::_::AlignedData<60> b_d4c9b56290554016 = {
{ 0, 0, 0, 0, 5, 0, 5, 0, { 0, 0, 0, 0, 5, 0, 5, 0,
22, 64, 85, 144, 98, 181, 201, 212, 22, 64, 85, 144, 98, 181, 201, 212,
...@@ -1474,6 +1250,64 @@ const ::capnp::_::RawSchema s_fbe1980490e001af = { ...@@ -1474,6 +1250,64 @@ const ::capnp::_::RawSchema s_fbe1980490e001af = {
0xfbe1980490e001af, b_fbe1980490e001af.words, 59, nullptr, m_fbe1980490e001af, 0xfbe1980490e001af, b_fbe1980490e001af.words, 59, nullptr, m_fbe1980490e001af,
0, 3, i_fbe1980490e001af, nullptr, nullptr 0, 3, i_fbe1980490e001af, nullptr, nullptr
}; };
static const ::capnp::_::AlignedData<47> b_95bc14545813fbc1 = {
{ 0, 0, 0, 0, 5, 0, 5, 0,
193, 251, 19, 88, 84, 20, 188, 149,
0, 0, 0, 0, 1, 0, 1, 0,
80, 162, 82, 37, 27, 152, 18, 179,
1, 0, 7, 0, 0, 0, 2, 0,
2, 0, 0, 0, 0, 0, 0, 0,
17, 0, 0, 0, 242, 0, 0, 0,
29, 0, 0, 0, 7, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
25, 0, 0, 0, 119, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
99, 97, 112, 110, 112, 47, 114, 112,
99, 46, 99, 97, 112, 110, 112, 58,
77, 101, 115, 115, 97, 103, 101, 84,
97, 114, 103, 101, 116, 0, 0, 0,
0, 0, 0, 0, 1, 0, 1, 0,
8, 0, 0, 0, 3, 0, 4, 0,
0, 0, 255, 255, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
41, 0, 0, 0, 98, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
40, 0, 0, 0, 2, 0, 1, 0,
48, 0, 0, 0, 2, 0, 1, 0,
1, 0, 254, 255, 0, 0, 0, 0,
0, 0, 1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
45, 0, 0, 0, 122, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
44, 0, 0, 0, 2, 0, 1, 0,
52, 0, 0, 0, 2, 0, 1, 0,
101, 120, 112, 111, 114, 116, 101, 100,
67, 97, 112, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
112, 114, 111, 109, 105, 115, 101, 100,
65, 110, 115, 119, 101, 114, 0, 0,
16, 0, 0, 0, 0, 0, 0, 0,
160, 28, 111, 205, 214, 177, 0, 216,
0, 0, 0, 0, 0, 0, 0, 0,
16, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, }
};
static const ::capnp::_::RawSchema* const d_95bc14545813fbc1[] = {
&s_d800b1d6cd6f1ca0,
};
static const uint16_t m_95bc14545813fbc1[] = {0, 1};
static const uint16_t i_95bc14545813fbc1[] = {0, 1};
const ::capnp::_::RawSchema s_95bc14545813fbc1 = {
0x95bc14545813fbc1, b_95bc14545813fbc1.words, 47, d_95bc14545813fbc1, m_95bc14545813fbc1,
1, 2, i_95bc14545813fbc1, nullptr, nullptr
};
static const ::capnp::_::AlignedData<93> b_8523ddc40b86b8b0 = { static const ::capnp::_::AlignedData<93> b_8523ddc40b86b8b0 = {
{ 0, 0, 0, 0, 5, 0, 5, 0, { 0, 0, 0, 0, 5, 0, 5, 0,
176, 184, 134, 11, 196, 221, 35, 133, 176, 184, 134, 11, 196, 221, 35, 133,
...@@ -1928,8 +1762,6 @@ CAPNP_DEFINE_STRUCT( ...@@ -1928,8 +1762,6 @@ CAPNP_DEFINE_STRUCT(
::capnp::rpc::Message); ::capnp::rpc::Message);
CAPNP_DEFINE_STRUCT( CAPNP_DEFINE_STRUCT(
::capnp::rpc::Call); ::capnp::rpc::Call);
CAPNP_DEFINE_STRUCT(
::capnp::rpc::Call::Target);
CAPNP_DEFINE_STRUCT( CAPNP_DEFINE_STRUCT(
::capnp::rpc::Call::SendReturnTo); ::capnp::rpc::Call::SendReturnTo);
CAPNP_DEFINE_STRUCT( CAPNP_DEFINE_STRUCT(
...@@ -1942,26 +1774,22 @@ CAPNP_DEFINE_STRUCT( ...@@ -1942,26 +1774,22 @@ CAPNP_DEFINE_STRUCT(
::capnp::rpc::Release); ::capnp::rpc::Release);
CAPNP_DEFINE_STRUCT( CAPNP_DEFINE_STRUCT(
::capnp::rpc::Disembargo); ::capnp::rpc::Disembargo);
CAPNP_DEFINE_STRUCT(
::capnp::rpc::Disembargo::Target);
CAPNP_DEFINE_STRUCT( CAPNP_DEFINE_STRUCT(
::capnp::rpc::Disembargo::Context); ::capnp::rpc::Disembargo::Context);
CAPNP_DEFINE_STRUCT( CAPNP_DEFINE_STRUCT(
::capnp::rpc::Save); ::capnp::rpc::Save);
CAPNP_DEFINE_STRUCT(
::capnp::rpc::Save::Target);
CAPNP_DEFINE_STRUCT( CAPNP_DEFINE_STRUCT(
::capnp::rpc::Restore); ::capnp::rpc::Restore);
CAPNP_DEFINE_STRUCT( CAPNP_DEFINE_STRUCT(
::capnp::rpc::Delete); ::capnp::rpc::Delete);
CAPNP_DEFINE_STRUCT( CAPNP_DEFINE_STRUCT(
::capnp::rpc::Provide); ::capnp::rpc::Provide);
CAPNP_DEFINE_STRUCT(
::capnp::rpc::Provide::Target);
CAPNP_DEFINE_STRUCT( CAPNP_DEFINE_STRUCT(
::capnp::rpc::Accept); ::capnp::rpc::Accept);
CAPNP_DEFINE_STRUCT( CAPNP_DEFINE_STRUCT(
::capnp::rpc::Join); ::capnp::rpc::Join);
CAPNP_DEFINE_STRUCT(
::capnp::rpc::MessageTarget);
CAPNP_DEFINE_STRUCT( CAPNP_DEFINE_STRUCT(
::capnp::rpc::CapDescriptor); ::capnp::rpc::CapDescriptor);
CAPNP_DEFINE_STRUCT( CAPNP_DEFINE_STRUCT(
......
...@@ -44,22 +44,9 @@ struct Call { ...@@ -44,22 +44,9 @@ struct Call {
class Reader; class Reader;
class Builder; class Builder;
class Pipeline; class Pipeline;
struct Target;
struct SendReturnTo; struct SendReturnTo;
}; };
struct Call::Target {
Target() = delete;
class Reader;
class Builder;
class Pipeline;
enum Which: uint16_t {
EXPORTED_CAP,
PROMISED_ANSWER,
};
};
struct Call::SendReturnTo { struct Call::SendReturnTo {
SendReturnTo() = delete; SendReturnTo() = delete;
...@@ -105,7 +92,6 @@ struct Resolve { ...@@ -105,7 +92,6 @@ struct Resolve {
enum Which: uint16_t { enum Which: uint16_t {
CAP, CAP,
EXCEPTION, EXCEPTION,
CANCELED,
}; };
}; };
...@@ -123,22 +109,9 @@ struct Disembargo { ...@@ -123,22 +109,9 @@ struct Disembargo {
class Reader; class Reader;
class Builder; class Builder;
class Pipeline; class Pipeline;
struct Target;
struct Context; struct Context;
}; };
struct Disembargo::Target {
Target() = delete;
class Reader;
class Builder;
class Pipeline;
enum Which: uint16_t {
EXPORTED_CAP,
PROMISED_ANSWER,
};
};
struct Disembargo::Context { struct Disembargo::Context {
Context() = delete; Context() = delete;
...@@ -159,19 +132,6 @@ struct Save { ...@@ -159,19 +132,6 @@ struct Save {
class Reader; class Reader;
class Builder; class Builder;
class Pipeline; class Pipeline;
struct Target;
};
struct Save::Target {
Target() = delete;
class Reader;
class Builder;
class Pipeline;
enum Which: uint16_t {
EXPORTED_CAP,
PROMISED_ANSWER,
};
}; };
struct Restore { struct Restore {
...@@ -196,35 +156,34 @@ struct Provide { ...@@ -196,35 +156,34 @@ struct Provide {
class Reader; class Reader;
class Builder; class Builder;
class Pipeline; class Pipeline;
struct Target;
}; };
struct Provide::Target { struct Accept {
Target() = delete; Accept() = delete;
class Reader; class Reader;
class Builder; class Builder;
class Pipeline; class Pipeline;
enum Which: uint16_t {
EXPORTED_CAP,
PROMISED_ANSWER,
};
}; };
struct Accept { struct Join {
Accept() = delete; Join() = delete;
class Reader; class Reader;
class Builder; class Builder;
class Pipeline; class Pipeline;
}; };
struct Join { struct MessageTarget {
Join() = delete; MessageTarget() = delete;
class Reader; class Reader;
class Builder; class Builder;
class Pipeline; class Pipeline;
enum Which: uint16_t {
EXPORTED_CAP,
PROMISED_ANSWER,
};
}; };
struct CapDescriptor { struct CapDescriptor {
...@@ -303,23 +262,20 @@ namespace schemas { ...@@ -303,23 +262,20 @@ namespace schemas {
extern const ::capnp::_::RawSchema s_91b79f1f808db032; extern const ::capnp::_::RawSchema s_91b79f1f808db032;
extern const ::capnp::_::RawSchema s_836a53ce789d4cd4; extern const ::capnp::_::RawSchema s_836a53ce789d4cd4;
extern const ::capnp::_::RawSchema s_cb72865a863459a7;
extern const ::capnp::_::RawSchema s_dae8b0f61aab5f99; extern const ::capnp::_::RawSchema s_dae8b0f61aab5f99;
extern const ::capnp::_::RawSchema s_9e19b28d3db3573a; extern const ::capnp::_::RawSchema s_9e19b28d3db3573a;
extern const ::capnp::_::RawSchema s_d37d2eb2c2f80e63; extern const ::capnp::_::RawSchema s_d37d2eb2c2f80e63;
extern const ::capnp::_::RawSchema s_bbc29655fa89086e; extern const ::capnp::_::RawSchema s_bbc29655fa89086e;
extern const ::capnp::_::RawSchema s_ad1a6c0d7dd07497; extern const ::capnp::_::RawSchema s_ad1a6c0d7dd07497;
extern const ::capnp::_::RawSchema s_f964368b0fbd3711; extern const ::capnp::_::RawSchema s_f964368b0fbd3711;
extern const ::capnp::_::RawSchema s_96fdbc4a664241eb;
extern const ::capnp::_::RawSchema s_d562b4df655bdd4d; extern const ::capnp::_::RawSchema s_d562b4df655bdd4d;
extern const ::capnp::_::RawSchema s_e40ef0b4b02e882c; extern const ::capnp::_::RawSchema s_e40ef0b4b02e882c;
extern const ::capnp::_::RawSchema s_80bdec2a81f867ac;
extern const ::capnp::_::RawSchema s_ec0c922151b8b0a8; extern const ::capnp::_::RawSchema s_ec0c922151b8b0a8;
extern const ::capnp::_::RawSchema s_86267432565dee97; extern const ::capnp::_::RawSchema s_86267432565dee97;
extern const ::capnp::_::RawSchema s_9c6a046bfbc1ac5a; extern const ::capnp::_::RawSchema s_9c6a046bfbc1ac5a;
extern const ::capnp::_::RawSchema s_dc1d25c4f9a2c4e4;
extern const ::capnp::_::RawSchema s_d4c9b56290554016; extern const ::capnp::_::RawSchema s_d4c9b56290554016;
extern const ::capnp::_::RawSchema s_fbe1980490e001af; extern const ::capnp::_::RawSchema s_fbe1980490e001af;
extern const ::capnp::_::RawSchema s_95bc14545813fbc1;
extern const ::capnp::_::RawSchema s_8523ddc40b86b8b0; extern const ::capnp::_::RawSchema s_8523ddc40b86b8b0;
extern const ::capnp::_::RawSchema s_d800b1d6cd6f1ca0; extern const ::capnp::_::RawSchema s_d800b1d6cd6f1ca0;
extern const ::capnp::_::RawSchema s_f316944415569081; extern const ::capnp::_::RawSchema s_f316944415569081;
...@@ -336,13 +292,10 @@ CAPNP_DECLARE_STRUCT( ...@@ -336,13 +292,10 @@ CAPNP_DECLARE_STRUCT(
1, 1, INLINE_COMPOSITE); 1, 1, INLINE_COMPOSITE);
CAPNP_DECLARE_STRUCT( CAPNP_DECLARE_STRUCT(
::capnp::rpc::Call, 836a53ce789d4cd4, ::capnp::rpc::Call, 836a53ce789d4cd4,
4, 3, INLINE_COMPOSITE); 3, 3, INLINE_COMPOSITE);
CAPNP_DECLARE_STRUCT(
::capnp::rpc::Call::Target, cb72865a863459a7,
4, 3, INLINE_COMPOSITE);
CAPNP_DECLARE_STRUCT( CAPNP_DECLARE_STRUCT(
::capnp::rpc::Call::SendReturnTo, dae8b0f61aab5f99, ::capnp::rpc::Call::SendReturnTo, dae8b0f61aab5f99,
4, 3, INLINE_COMPOSITE); 3, 3, INLINE_COMPOSITE);
CAPNP_DECLARE_STRUCT( CAPNP_DECLARE_STRUCT(
::capnp::rpc::Return, 9e19b28d3db3573a, ::capnp::rpc::Return, 9e19b28d3db3573a,
1, 2, INLINE_COMPOSITE); 1, 2, INLINE_COMPOSITE);
...@@ -357,19 +310,13 @@ CAPNP_DECLARE_STRUCT( ...@@ -357,19 +310,13 @@ CAPNP_DECLARE_STRUCT(
1, 0, EIGHT_BYTES); 1, 0, EIGHT_BYTES);
CAPNP_DECLARE_STRUCT( CAPNP_DECLARE_STRUCT(
::capnp::rpc::Disembargo, f964368b0fbd3711, ::capnp::rpc::Disembargo, f964368b0fbd3711,
2, 1, INLINE_COMPOSITE); 1, 1, INLINE_COMPOSITE);
CAPNP_DECLARE_STRUCT(
::capnp::rpc::Disembargo::Target, 96fdbc4a664241eb,
2, 1, INLINE_COMPOSITE);
CAPNP_DECLARE_STRUCT( CAPNP_DECLARE_STRUCT(
::capnp::rpc::Disembargo::Context, d562b4df655bdd4d, ::capnp::rpc::Disembargo::Context, d562b4df655bdd4d,
2, 1, INLINE_COMPOSITE); 1, 1, INLINE_COMPOSITE);
CAPNP_DECLARE_STRUCT( CAPNP_DECLARE_STRUCT(
::capnp::rpc::Save, e40ef0b4b02e882c, ::capnp::rpc::Save, e40ef0b4b02e882c,
2, 1, INLINE_COMPOSITE); 1, 1, INLINE_COMPOSITE);
CAPNP_DECLARE_STRUCT(
::capnp::rpc::Save::Target, 80bdec2a81f867ac,
2, 1, INLINE_COMPOSITE);
CAPNP_DECLARE_STRUCT( CAPNP_DECLARE_STRUCT(
::capnp::rpc::Restore, ec0c922151b8b0a8, ::capnp::rpc::Restore, ec0c922151b8b0a8,
1, 1, INLINE_COMPOSITE); 1, 1, INLINE_COMPOSITE);
...@@ -378,16 +325,16 @@ CAPNP_DECLARE_STRUCT( ...@@ -378,16 +325,16 @@ CAPNP_DECLARE_STRUCT(
1, 1, INLINE_COMPOSITE); 1, 1, INLINE_COMPOSITE);
CAPNP_DECLARE_STRUCT( CAPNP_DECLARE_STRUCT(
::capnp::rpc::Provide, 9c6a046bfbc1ac5a, ::capnp::rpc::Provide, 9c6a046bfbc1ac5a,
2, 2, INLINE_COMPOSITE); 1, 2, INLINE_COMPOSITE);
CAPNP_DECLARE_STRUCT(
::capnp::rpc::Provide::Target, dc1d25c4f9a2c4e4,
2, 2, INLINE_COMPOSITE);
CAPNP_DECLARE_STRUCT( CAPNP_DECLARE_STRUCT(
::capnp::rpc::Accept, d4c9b56290554016, ::capnp::rpc::Accept, d4c9b56290554016,
1, 1, INLINE_COMPOSITE); 1, 1, INLINE_COMPOSITE);
CAPNP_DECLARE_STRUCT( CAPNP_DECLARE_STRUCT(
::capnp::rpc::Join, fbe1980490e001af, ::capnp::rpc::Join, fbe1980490e001af,
1, 1, INLINE_COMPOSITE); 1, 1, INLINE_COMPOSITE);
CAPNP_DECLARE_STRUCT(
::capnp::rpc::MessageTarget, 95bc14545813fbc1,
1, 1, INLINE_COMPOSITE);
CAPNP_DECLARE_STRUCT( CAPNP_DECLARE_STRUCT(
::capnp::rpc::CapDescriptor, 8523ddc40b86b8b0, ::capnp::rpc::CapDescriptor, 8523ddc40b86b8b0,
1, 1, INLINE_COMPOSITE); 1, 1, INLINE_COMPOSITE);
...@@ -667,7 +614,8 @@ public: ...@@ -667,7 +614,8 @@ public:
inline ::uint32_t getQuestionId() const; inline ::uint32_t getQuestionId() const;
inline Target::Reader getTarget() const; inline bool hasTarget() const;
inline ::capnp::rpc::MessageTarget::Reader getTarget() const;
inline ::uint64_t getInterfaceId() const; inline ::uint64_t getInterfaceId() const;
...@@ -711,8 +659,12 @@ public: ...@@ -711,8 +659,12 @@ public:
inline ::uint32_t getQuestionId(); inline ::uint32_t getQuestionId();
inline void setQuestionId( ::uint32_t value); inline void setQuestionId( ::uint32_t value);
inline Target::Builder getTarget(); inline bool hasTarget();
inline Target::Builder initTarget(); inline ::capnp::rpc::MessageTarget::Builder getTarget();
inline void setTarget( ::capnp::rpc::MessageTarget::Reader value);
inline ::capnp::rpc::MessageTarget::Builder initTarget();
inline void adoptTarget(::capnp::Orphan< ::capnp::rpc::MessageTarget>&& value);
inline ::capnp::Orphan< ::capnp::rpc::MessageTarget> disownTarget();
inline ::uint64_t getInterfaceId(); inline ::uint64_t getInterfaceId();
inline void setInterfaceId( ::uint64_t value); inline void setInterfaceId( ::uint64_t value);
...@@ -747,7 +699,7 @@ public: ...@@ -747,7 +699,7 @@ public:
inline explicit Pipeline(::capnp::ObjectPointer::Pipeline&& typeless) inline explicit Pipeline(::capnp::ObjectPointer::Pipeline&& typeless)
: _typeless(kj::mv(typeless)) {} : _typeless(kj::mv(typeless)) {}
inline Target::Pipeline getTarget() const; inline ::capnp::rpc::MessageTarget::Pipeline getTarget() const;
inline SendReturnTo::Pipeline getSendReturnTo() const; inline SendReturnTo::Pipeline getSendReturnTo() const;
private: private:
::capnp::ObjectPointer::Pipeline _typeless; ::capnp::ObjectPointer::Pipeline _typeless;
...@@ -755,94 +707,6 @@ private: ...@@ -755,94 +707,6 @@ private:
friend struct ::capnp::ToDynamic_; friend struct ::capnp::ToDynamic_;
}; };
class Call::Target::Reader {
public:
typedef Target Reads;
Reader() = default;
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
inline size_t totalSizeInWords() const {
return _reader.totalSize() / ::capnp::WORDS;
}
inline Which which() const;
inline bool isExportedCap() const;
inline ::uint32_t getExportedCap() const;
inline bool isPromisedAnswer() const;
inline bool hasPromisedAnswer() const;
inline ::capnp::rpc::PromisedAnswer::Reader getPromisedAnswer() const;
private:
::capnp::_::StructReader _reader;
template <typename T, ::capnp::Kind k>
friend struct ::capnp::ToDynamic_;
template <typename T, ::capnp::Kind k>
friend struct ::capnp::_::PointerHelpers;
template <typename T, ::capnp::Kind k>
friend struct ::capnp::List;
friend class ::capnp::MessageBuilder;
friend class ::capnp::Orphanage;
friend ::kj::StringTree KJ_STRINGIFY(Call::Target::Reader reader);
};
inline ::kj::StringTree KJ_STRINGIFY(Call::Target::Reader reader) {
return ::capnp::_::structString<Call::Target>(reader._reader);
}
class Call::Target::Builder {
public:
typedef Target Builds;
Builder() = delete; // Deleted to discourage incorrect usage.
// You can explicitly initialize to nullptr instead.
inline Builder(decltype(nullptr)) {}
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
inline operator Reader() const { return Reader(_builder.asReader()); }
inline Reader asReader() const { return *this; }
inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); }
inline Which which();
inline bool isExportedCap();
inline ::uint32_t getExportedCap();
inline void setExportedCap( ::uint32_t value);
inline bool isPromisedAnswer();
inline bool hasPromisedAnswer();
inline ::capnp::rpc::PromisedAnswer::Builder getPromisedAnswer();
inline void setPromisedAnswer( ::capnp::rpc::PromisedAnswer::Reader value);
inline ::capnp::rpc::PromisedAnswer::Builder initPromisedAnswer();
inline void adoptPromisedAnswer(::capnp::Orphan< ::capnp::rpc::PromisedAnswer>&& value);
inline ::capnp::Orphan< ::capnp::rpc::PromisedAnswer> disownPromisedAnswer();
private:
::capnp::_::StructBuilder _builder;
template <typename T, ::capnp::Kind k>
friend struct ::capnp::ToDynamic_;
friend class ::capnp::Orphanage;
friend ::kj::StringTree KJ_STRINGIFY(Call::Target::Builder builder);
};
inline ::kj::StringTree KJ_STRINGIFY(Call::Target::Builder builder) {
return ::capnp::_::structString<Call::Target>(builder._builder.asReader());
}
class Call::Target::Pipeline {
public:
typedef Target Pipelines;
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
inline explicit Pipeline(::capnp::ObjectPointer::Pipeline&& typeless)
: _typeless(kj::mv(typeless)) {}
private:
::capnp::ObjectPointer::Pipeline _typeless;
template <typename T, ::capnp::Kind k>
friend struct ::capnp::ToDynamic_;
};
class Call::SendReturnTo::Reader { class Call::SendReturnTo::Reader {
public: public:
typedef SendReturnTo Reads; typedef SendReturnTo Reads;
...@@ -1169,9 +1033,6 @@ public: ...@@ -1169,9 +1033,6 @@ public:
inline bool hasException() const; inline bool hasException() const;
inline ::capnp::rpc::Exception::Reader getException() const; inline ::capnp::rpc::Exception::Reader getException() const;
inline bool isCanceled() const;
inline ::capnp::Void getCanceled() const;
private: private:
::capnp::_::StructReader _reader; ::capnp::_::StructReader _reader;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
...@@ -1222,10 +1083,6 @@ public: ...@@ -1222,10 +1083,6 @@ public:
inline void adoptException(::capnp::Orphan< ::capnp::rpc::Exception>&& value); inline void adoptException(::capnp::Orphan< ::capnp::rpc::Exception>&& value);
inline ::capnp::Orphan< ::capnp::rpc::Exception> disownException(); inline ::capnp::Orphan< ::capnp::rpc::Exception> disownException();
inline bool isCanceled();
inline ::capnp::Void getCanceled();
inline void setCanceled( ::capnp::Void value = ::capnp::VOID);
private: private:
::capnp::_::StructBuilder _builder; ::capnp::_::StructBuilder _builder;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
...@@ -1340,7 +1197,8 @@ public: ...@@ -1340,7 +1197,8 @@ public:
return _reader.totalSize() / ::capnp::WORDS; return _reader.totalSize() / ::capnp::WORDS;
} }
inline Target::Reader getTarget() const; inline bool hasTarget() const;
inline ::capnp::rpc::MessageTarget::Reader getTarget() const;
inline Context::Reader getContext() const; inline Context::Reader getContext() const;
...@@ -1374,8 +1232,12 @@ public: ...@@ -1374,8 +1232,12 @@ public:
inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); }
inline Target::Builder getTarget(); inline bool hasTarget();
inline Target::Builder initTarget(); inline ::capnp::rpc::MessageTarget::Builder getTarget();
inline void setTarget( ::capnp::rpc::MessageTarget::Reader value);
inline ::capnp::rpc::MessageTarget::Builder initTarget();
inline void adoptTarget(::capnp::Orphan< ::capnp::rpc::MessageTarget>&& value);
inline ::capnp::Orphan< ::capnp::rpc::MessageTarget> disownTarget();
inline Context::Builder getContext(); inline Context::Builder getContext();
inline Context::Builder initContext(); inline Context::Builder initContext();
...@@ -1400,7 +1262,7 @@ public: ...@@ -1400,7 +1262,7 @@ public:
inline explicit Pipeline(::capnp::ObjectPointer::Pipeline&& typeless) inline explicit Pipeline(::capnp::ObjectPointer::Pipeline&& typeless)
: _typeless(kj::mv(typeless)) {} : _typeless(kj::mv(typeless)) {}
inline Target::Pipeline getTarget() const; inline ::capnp::rpc::MessageTarget::Pipeline getTarget() const;
inline Context::Pipeline getContext() const; inline Context::Pipeline getContext() const;
private: private:
::capnp::ObjectPointer::Pipeline _typeless; ::capnp::ObjectPointer::Pipeline _typeless;
...@@ -1408,94 +1270,6 @@ private: ...@@ -1408,94 +1270,6 @@ private:
friend struct ::capnp::ToDynamic_; friend struct ::capnp::ToDynamic_;
}; };
class Disembargo::Target::Reader {
public:
typedef Target Reads;
Reader() = default;
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
inline size_t totalSizeInWords() const {
return _reader.totalSize() / ::capnp::WORDS;
}
inline Which which() const;
inline bool isExportedCap() const;
inline ::uint32_t getExportedCap() const;
inline bool isPromisedAnswer() const;
inline bool hasPromisedAnswer() const;
inline ::capnp::rpc::PromisedAnswer::Reader getPromisedAnswer() const;
private:
::capnp::_::StructReader _reader;
template <typename T, ::capnp::Kind k>
friend struct ::capnp::ToDynamic_;
template <typename T, ::capnp::Kind k>
friend struct ::capnp::_::PointerHelpers;
template <typename T, ::capnp::Kind k>
friend struct ::capnp::List;
friend class ::capnp::MessageBuilder;
friend class ::capnp::Orphanage;
friend ::kj::StringTree KJ_STRINGIFY(Disembargo::Target::Reader reader);
};
inline ::kj::StringTree KJ_STRINGIFY(Disembargo::Target::Reader reader) {
return ::capnp::_::structString<Disembargo::Target>(reader._reader);
}
class Disembargo::Target::Builder {
public:
typedef Target Builds;
Builder() = delete; // Deleted to discourage incorrect usage.
// You can explicitly initialize to nullptr instead.
inline Builder(decltype(nullptr)) {}
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
inline operator Reader() const { return Reader(_builder.asReader()); }
inline Reader asReader() const { return *this; }
inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); }
inline Which which();
inline bool isExportedCap();
inline ::uint32_t getExportedCap();
inline void setExportedCap( ::uint32_t value);
inline bool isPromisedAnswer();
inline bool hasPromisedAnswer();
inline ::capnp::rpc::PromisedAnswer::Builder getPromisedAnswer();
inline void setPromisedAnswer( ::capnp::rpc::PromisedAnswer::Reader value);
inline ::capnp::rpc::PromisedAnswer::Builder initPromisedAnswer();
inline void adoptPromisedAnswer(::capnp::Orphan< ::capnp::rpc::PromisedAnswer>&& value);
inline ::capnp::Orphan< ::capnp::rpc::PromisedAnswer> disownPromisedAnswer();
private:
::capnp::_::StructBuilder _builder;
template <typename T, ::capnp::Kind k>
friend struct ::capnp::ToDynamic_;
friend class ::capnp::Orphanage;
friend ::kj::StringTree KJ_STRINGIFY(Disembargo::Target::Builder builder);
};
inline ::kj::StringTree KJ_STRINGIFY(Disembargo::Target::Builder builder) {
return ::capnp::_::structString<Disembargo::Target>(builder._builder.asReader());
}
class Disembargo::Target::Pipeline {
public:
typedef Target Pipelines;
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
inline explicit Pipeline(::capnp::ObjectPointer::Pipeline&& typeless)
: _typeless(kj::mv(typeless)) {}
private:
::capnp::ObjectPointer::Pipeline _typeless;
template <typename T, ::capnp::Kind k>
friend struct ::capnp::ToDynamic_;
};
class Disembargo::Context::Reader { class Disembargo::Context::Reader {
public: public:
typedef Context Reads; typedef Context Reads;
...@@ -1606,7 +1380,8 @@ public: ...@@ -1606,7 +1380,8 @@ public:
inline ::uint32_t getQuestionId() const; inline ::uint32_t getQuestionId() const;
inline Target::Reader getTarget() const; inline bool hasTarget() const;
inline ::capnp::rpc::MessageTarget::Reader getTarget() const;
private: private:
::capnp::_::StructReader _reader; ::capnp::_::StructReader _reader;
...@@ -1641,8 +1416,12 @@ public: ...@@ -1641,8 +1416,12 @@ public:
inline ::uint32_t getQuestionId(); inline ::uint32_t getQuestionId();
inline void setQuestionId( ::uint32_t value); inline void setQuestionId( ::uint32_t value);
inline Target::Builder getTarget(); inline bool hasTarget();
inline Target::Builder initTarget(); inline ::capnp::rpc::MessageTarget::Builder getTarget();
inline void setTarget( ::capnp::rpc::MessageTarget::Reader value);
inline ::capnp::rpc::MessageTarget::Builder initTarget();
inline void adoptTarget(::capnp::Orphan< ::capnp::rpc::MessageTarget>&& value);
inline ::capnp::Orphan< ::capnp::rpc::MessageTarget> disownTarget();
private: private:
::capnp::_::StructBuilder _builder; ::capnp::_::StructBuilder _builder;
...@@ -1664,16 +1443,16 @@ public: ...@@ -1664,16 +1443,16 @@ public:
inline explicit Pipeline(::capnp::ObjectPointer::Pipeline&& typeless) inline explicit Pipeline(::capnp::ObjectPointer::Pipeline&& typeless)
: _typeless(kj::mv(typeless)) {} : _typeless(kj::mv(typeless)) {}
inline Target::Pipeline getTarget() const; inline ::capnp::rpc::MessageTarget::Pipeline getTarget() const;
private: private:
::capnp::ObjectPointer::Pipeline _typeless; ::capnp::ObjectPointer::Pipeline _typeless;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
friend struct ::capnp::ToDynamic_; friend struct ::capnp::ToDynamic_;
}; };
class Save::Target::Reader { class Restore::Reader {
public: public:
typedef Target Reads; typedef Restore Reads;
Reader() = default; Reader() = default;
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
...@@ -1682,13 +1461,10 @@ public: ...@@ -1682,13 +1461,10 @@ public:
return _reader.totalSize() / ::capnp::WORDS; return _reader.totalSize() / ::capnp::WORDS;
} }
inline Which which() const; inline ::uint32_t getQuestionId() const;
inline bool isExportedCap() const;
inline ::uint32_t getExportedCap() const;
inline bool isPromisedAnswer() const; inline bool hasObjectId() const;
inline bool hasPromisedAnswer() const; inline ::capnp::ObjectPointer::Reader getObjectId() const;
inline ::capnp::rpc::PromisedAnswer::Reader getPromisedAnswer() const;
private: private:
::capnp::_::StructReader _reader; ::capnp::_::StructReader _reader;
...@@ -1700,16 +1476,16 @@ private: ...@@ -1700,16 +1476,16 @@ private:
friend struct ::capnp::List; friend struct ::capnp::List;
friend class ::capnp::MessageBuilder; friend class ::capnp::MessageBuilder;
friend class ::capnp::Orphanage; friend class ::capnp::Orphanage;
friend ::kj::StringTree KJ_STRINGIFY(Save::Target::Reader reader); friend ::kj::StringTree KJ_STRINGIFY(Restore::Reader reader);
}; };
inline ::kj::StringTree KJ_STRINGIFY(Save::Target::Reader reader) { inline ::kj::StringTree KJ_STRINGIFY(Restore::Reader reader) {
return ::capnp::_::structString<Save::Target>(reader._reader); return ::capnp::_::structString<Restore>(reader._reader);
} }
class Save::Target::Builder { class Restore::Builder {
public: public:
typedef Target Builds; typedef Restore Builds;
Builder() = delete; // Deleted to discourage incorrect usage. Builder() = delete; // Deleted to discourage incorrect usage.
// You can explicitly initialize to nullptr instead. // You can explicitly initialize to nullptr instead.
...@@ -1720,34 +1496,28 @@ public: ...@@ -1720,34 +1496,28 @@ public:
inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); }
inline Which which(); inline ::uint32_t getQuestionId();
inline bool isExportedCap(); inline void setQuestionId( ::uint32_t value);
inline ::uint32_t getExportedCap();
inline void setExportedCap( ::uint32_t value);
inline bool isPromisedAnswer(); inline bool hasObjectId();
inline bool hasPromisedAnswer(); inline ::capnp::ObjectPointer::Builder getObjectId();
inline ::capnp::rpc::PromisedAnswer::Builder getPromisedAnswer(); inline ::capnp::ObjectPointer::Builder initObjectId();
inline void setPromisedAnswer( ::capnp::rpc::PromisedAnswer::Reader value);
inline ::capnp::rpc::PromisedAnswer::Builder initPromisedAnswer();
inline void adoptPromisedAnswer(::capnp::Orphan< ::capnp::rpc::PromisedAnswer>&& value);
inline ::capnp::Orphan< ::capnp::rpc::PromisedAnswer> disownPromisedAnswer();
private: private:
::capnp::_::StructBuilder _builder; ::capnp::_::StructBuilder _builder;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
friend struct ::capnp::ToDynamic_; friend struct ::capnp::ToDynamic_;
friend class ::capnp::Orphanage; friend class ::capnp::Orphanage;
friend ::kj::StringTree KJ_STRINGIFY(Save::Target::Builder builder); friend ::kj::StringTree KJ_STRINGIFY(Restore::Builder builder);
}; };
inline ::kj::StringTree KJ_STRINGIFY(Save::Target::Builder builder) { inline ::kj::StringTree KJ_STRINGIFY(Restore::Builder builder) {
return ::capnp::_::structString<Save::Target>(builder._builder.asReader()); return ::capnp::_::structString<Restore>(builder._builder.asReader());
} }
class Save::Target::Pipeline { class Restore::Pipeline {
public: public:
typedef Target Pipelines; typedef Restore Pipelines;
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
inline explicit Pipeline(::capnp::ObjectPointer::Pipeline&& typeless) inline explicit Pipeline(::capnp::ObjectPointer::Pipeline&& typeless)
...@@ -1759,86 +1529,7 @@ private: ...@@ -1759,86 +1529,7 @@ private:
friend struct ::capnp::ToDynamic_; friend struct ::capnp::ToDynamic_;
}; };
class Restore::Reader { class Delete::Reader {
public:
typedef Restore Reads;
Reader() = default;
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
inline size_t totalSizeInWords() const {
return _reader.totalSize() / ::capnp::WORDS;
}
inline ::uint32_t getQuestionId() const;
inline bool hasObjectId() const;
inline ::capnp::ObjectPointer::Reader getObjectId() const;
private:
::capnp::_::StructReader _reader;
template <typename T, ::capnp::Kind k>
friend struct ::capnp::ToDynamic_;
template <typename T, ::capnp::Kind k>
friend struct ::capnp::_::PointerHelpers;
template <typename T, ::capnp::Kind k>
friend struct ::capnp::List;
friend class ::capnp::MessageBuilder;
friend class ::capnp::Orphanage;
friend ::kj::StringTree KJ_STRINGIFY(Restore::Reader reader);
};
inline ::kj::StringTree KJ_STRINGIFY(Restore::Reader reader) {
return ::capnp::_::structString<Restore>(reader._reader);
}
class Restore::Builder {
public:
typedef Restore Builds;
Builder() = delete; // Deleted to discourage incorrect usage.
// You can explicitly initialize to nullptr instead.
inline Builder(decltype(nullptr)) {}
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
inline operator Reader() const { return Reader(_builder.asReader()); }
inline Reader asReader() const { return *this; }
inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); }
inline ::uint32_t getQuestionId();
inline void setQuestionId( ::uint32_t value);
inline bool hasObjectId();
inline ::capnp::ObjectPointer::Builder getObjectId();
inline ::capnp::ObjectPointer::Builder initObjectId();
private:
::capnp::_::StructBuilder _builder;
template <typename T, ::capnp::Kind k>
friend struct ::capnp::ToDynamic_;
friend class ::capnp::Orphanage;
friend ::kj::StringTree KJ_STRINGIFY(Restore::Builder builder);
};
inline ::kj::StringTree KJ_STRINGIFY(Restore::Builder builder) {
return ::capnp::_::structString<Restore>(builder._builder.asReader());
}
class Restore::Pipeline {
public:
typedef Restore Pipelines;
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
inline explicit Pipeline(::capnp::ObjectPointer::Pipeline&& typeless)
: _typeless(kj::mv(typeless)) {}
private:
::capnp::ObjectPointer::Pipeline _typeless;
template <typename T, ::capnp::Kind k>
friend struct ::capnp::ToDynamic_;
};
class Delete::Reader {
public: public:
typedef Delete Reads; typedef Delete Reads;
...@@ -1930,7 +1621,8 @@ public: ...@@ -1930,7 +1621,8 @@ public:
inline ::uint32_t getQuestionId() const; inline ::uint32_t getQuestionId() const;
inline Target::Reader getTarget() const; inline bool hasTarget() const;
inline ::capnp::rpc::MessageTarget::Reader getTarget() const;
inline bool hasRecipient() const; inline bool hasRecipient() const;
inline ::capnp::ObjectPointer::Reader getRecipient() const; inline ::capnp::ObjectPointer::Reader getRecipient() const;
...@@ -1968,8 +1660,12 @@ public: ...@@ -1968,8 +1660,12 @@ public:
inline ::uint32_t getQuestionId(); inline ::uint32_t getQuestionId();
inline void setQuestionId( ::uint32_t value); inline void setQuestionId( ::uint32_t value);
inline Target::Builder getTarget(); inline bool hasTarget();
inline Target::Builder initTarget(); inline ::capnp::rpc::MessageTarget::Builder getTarget();
inline void setTarget( ::capnp::rpc::MessageTarget::Reader value);
inline ::capnp::rpc::MessageTarget::Builder initTarget();
inline void adoptTarget(::capnp::Orphan< ::capnp::rpc::MessageTarget>&& value);
inline ::capnp::Orphan< ::capnp::rpc::MessageTarget> disownTarget();
inline bool hasRecipient(); inline bool hasRecipient();
inline ::capnp::ObjectPointer::Builder getRecipient(); inline ::capnp::ObjectPointer::Builder getRecipient();
...@@ -1995,16 +1691,16 @@ public: ...@@ -1995,16 +1691,16 @@ public:
inline explicit Pipeline(::capnp::ObjectPointer::Pipeline&& typeless) inline explicit Pipeline(::capnp::ObjectPointer::Pipeline&& typeless)
: _typeless(kj::mv(typeless)) {} : _typeless(kj::mv(typeless)) {}
inline Target::Pipeline getTarget() const; inline ::capnp::rpc::MessageTarget::Pipeline getTarget() const;
private: private:
::capnp::ObjectPointer::Pipeline _typeless; ::capnp::ObjectPointer::Pipeline _typeless;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
friend struct ::capnp::ToDynamic_; friend struct ::capnp::ToDynamic_;
}; };
class Provide::Target::Reader { class Accept::Reader {
public: public:
typedef Target Reads; typedef Accept Reads;
Reader() = default; Reader() = default;
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
...@@ -2013,13 +1709,12 @@ public: ...@@ -2013,13 +1709,12 @@ public:
return _reader.totalSize() / ::capnp::WORDS; return _reader.totalSize() / ::capnp::WORDS;
} }
inline Which which() const; inline ::uint32_t getQuestionId() const;
inline bool isExportedCap() const;
inline ::uint32_t getExportedCap() const;
inline bool isPromisedAnswer() const; inline bool hasProvision() const;
inline bool hasPromisedAnswer() const; inline ::capnp::ObjectPointer::Reader getProvision() const;
inline ::capnp::rpc::PromisedAnswer::Reader getPromisedAnswer() const;
inline bool getEmbargo() const;
private: private:
::capnp::_::StructReader _reader; ::capnp::_::StructReader _reader;
...@@ -2031,16 +1726,16 @@ private: ...@@ -2031,16 +1726,16 @@ private:
friend struct ::capnp::List; friend struct ::capnp::List;
friend class ::capnp::MessageBuilder; friend class ::capnp::MessageBuilder;
friend class ::capnp::Orphanage; friend class ::capnp::Orphanage;
friend ::kj::StringTree KJ_STRINGIFY(Provide::Target::Reader reader); friend ::kj::StringTree KJ_STRINGIFY(Accept::Reader reader);
}; };
inline ::kj::StringTree KJ_STRINGIFY(Provide::Target::Reader reader) { inline ::kj::StringTree KJ_STRINGIFY(Accept::Reader reader) {
return ::capnp::_::structString<Provide::Target>(reader._reader); return ::capnp::_::structString<Accept>(reader._reader);
} }
class Provide::Target::Builder { class Accept::Builder {
public: public:
typedef Target Builds; typedef Accept Builds;
Builder() = delete; // Deleted to discourage incorrect usage. Builder() = delete; // Deleted to discourage incorrect usage.
// You can explicitly initialize to nullptr instead. // You can explicitly initialize to nullptr instead.
...@@ -2051,34 +1746,31 @@ public: ...@@ -2051,34 +1746,31 @@ public:
inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); }
inline Which which(); inline ::uint32_t getQuestionId();
inline bool isExportedCap(); inline void setQuestionId( ::uint32_t value);
inline ::uint32_t getExportedCap();
inline void setExportedCap( ::uint32_t value);
inline bool isPromisedAnswer(); inline bool hasProvision();
inline bool hasPromisedAnswer(); inline ::capnp::ObjectPointer::Builder getProvision();
inline ::capnp::rpc::PromisedAnswer::Builder getPromisedAnswer(); inline ::capnp::ObjectPointer::Builder initProvision();
inline void setPromisedAnswer( ::capnp::rpc::PromisedAnswer::Reader value);
inline ::capnp::rpc::PromisedAnswer::Builder initPromisedAnswer(); inline bool getEmbargo();
inline void adoptPromisedAnswer(::capnp::Orphan< ::capnp::rpc::PromisedAnswer>&& value); inline void setEmbargo(bool value);
inline ::capnp::Orphan< ::capnp::rpc::PromisedAnswer> disownPromisedAnswer();
private: private:
::capnp::_::StructBuilder _builder; ::capnp::_::StructBuilder _builder;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
friend struct ::capnp::ToDynamic_; friend struct ::capnp::ToDynamic_;
friend class ::capnp::Orphanage; friend class ::capnp::Orphanage;
friend ::kj::StringTree KJ_STRINGIFY(Provide::Target::Builder builder); friend ::kj::StringTree KJ_STRINGIFY(Accept::Builder builder);
}; };
inline ::kj::StringTree KJ_STRINGIFY(Provide::Target::Builder builder) { inline ::kj::StringTree KJ_STRINGIFY(Accept::Builder builder) {
return ::capnp::_::structString<Provide::Target>(builder._builder.asReader()); return ::capnp::_::structString<Accept>(builder._builder.asReader());
} }
class Provide::Target::Pipeline { class Accept::Pipeline {
public: public:
typedef Target Pipelines; typedef Accept Pipelines;
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
inline explicit Pipeline(::capnp::ObjectPointer::Pipeline&& typeless) inline explicit Pipeline(::capnp::ObjectPointer::Pipeline&& typeless)
...@@ -2090,9 +1782,9 @@ private: ...@@ -2090,9 +1782,9 @@ private:
friend struct ::capnp::ToDynamic_; friend struct ::capnp::ToDynamic_;
}; };
class Accept::Reader { class Join::Reader {
public: public:
typedef Accept Reads; typedef Join Reads;
Reader() = default; Reader() = default;
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
...@@ -2103,10 +1795,10 @@ public: ...@@ -2103,10 +1795,10 @@ public:
inline ::uint32_t getQuestionId() const; inline ::uint32_t getQuestionId() const;
inline bool hasProvision() const; inline ::uint32_t getCapId() const;
inline ::capnp::ObjectPointer::Reader getProvision() const;
inline bool getEmbargo() const; inline bool hasKeyPart() const;
inline ::capnp::ObjectPointer::Reader getKeyPart() const;
private: private:
::capnp::_::StructReader _reader; ::capnp::_::StructReader _reader;
...@@ -2118,16 +1810,16 @@ private: ...@@ -2118,16 +1810,16 @@ private:
friend struct ::capnp::List; friend struct ::capnp::List;
friend class ::capnp::MessageBuilder; friend class ::capnp::MessageBuilder;
friend class ::capnp::Orphanage; friend class ::capnp::Orphanage;
friend ::kj::StringTree KJ_STRINGIFY(Accept::Reader reader); friend ::kj::StringTree KJ_STRINGIFY(Join::Reader reader);
}; };
inline ::kj::StringTree KJ_STRINGIFY(Accept::Reader reader) { inline ::kj::StringTree KJ_STRINGIFY(Join::Reader reader) {
return ::capnp::_::structString<Accept>(reader._reader); return ::capnp::_::structString<Join>(reader._reader);
} }
class Accept::Builder { class Join::Builder {
public: public:
typedef Accept Builds; typedef Join Builds;
Builder() = delete; // Deleted to discourage incorrect usage. Builder() = delete; // Deleted to discourage incorrect usage.
// You can explicitly initialize to nullptr instead. // You can explicitly initialize to nullptr instead.
...@@ -2141,28 +1833,28 @@ public: ...@@ -2141,28 +1833,28 @@ public:
inline ::uint32_t getQuestionId(); inline ::uint32_t getQuestionId();
inline void setQuestionId( ::uint32_t value); inline void setQuestionId( ::uint32_t value);
inline bool hasProvision(); inline ::uint32_t getCapId();
inline ::capnp::ObjectPointer::Builder getProvision(); inline void setCapId( ::uint32_t value);
inline ::capnp::ObjectPointer::Builder initProvision();
inline bool getEmbargo(); inline bool hasKeyPart();
inline void setEmbargo(bool value); inline ::capnp::ObjectPointer::Builder getKeyPart();
inline ::capnp::ObjectPointer::Builder initKeyPart();
private: private:
::capnp::_::StructBuilder _builder; ::capnp::_::StructBuilder _builder;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
friend struct ::capnp::ToDynamic_; friend struct ::capnp::ToDynamic_;
friend class ::capnp::Orphanage; friend class ::capnp::Orphanage;
friend ::kj::StringTree KJ_STRINGIFY(Accept::Builder builder); friend ::kj::StringTree KJ_STRINGIFY(Join::Builder builder);
}; };
inline ::kj::StringTree KJ_STRINGIFY(Accept::Builder builder) { inline ::kj::StringTree KJ_STRINGIFY(Join::Builder builder) {
return ::capnp::_::structString<Accept>(builder._builder.asReader()); return ::capnp::_::structString<Join>(builder._builder.asReader());
} }
class Accept::Pipeline { class Join::Pipeline {
public: public:
typedef Accept Pipelines; typedef Join Pipelines;
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
inline explicit Pipeline(::capnp::ObjectPointer::Pipeline&& typeless) inline explicit Pipeline(::capnp::ObjectPointer::Pipeline&& typeless)
...@@ -2174,9 +1866,9 @@ private: ...@@ -2174,9 +1866,9 @@ private:
friend struct ::capnp::ToDynamic_; friend struct ::capnp::ToDynamic_;
}; };
class Join::Reader { class MessageTarget::Reader {
public: public:
typedef Join Reads; typedef MessageTarget Reads;
Reader() = default; Reader() = default;
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
...@@ -2185,12 +1877,13 @@ public: ...@@ -2185,12 +1877,13 @@ public:
return _reader.totalSize() / ::capnp::WORDS; return _reader.totalSize() / ::capnp::WORDS;
} }
inline ::uint32_t getQuestionId() const; inline Which which() const;
inline bool isExportedCap() const;
inline ::uint32_t getCapId() const; inline ::uint32_t getExportedCap() const;
inline bool hasKeyPart() const; inline bool isPromisedAnswer() const;
inline ::capnp::ObjectPointer::Reader getKeyPart() const; inline bool hasPromisedAnswer() const;
inline ::capnp::rpc::PromisedAnswer::Reader getPromisedAnswer() const;
private: private:
::capnp::_::StructReader _reader; ::capnp::_::StructReader _reader;
...@@ -2202,16 +1895,16 @@ private: ...@@ -2202,16 +1895,16 @@ private:
friend struct ::capnp::List; friend struct ::capnp::List;
friend class ::capnp::MessageBuilder; friend class ::capnp::MessageBuilder;
friend class ::capnp::Orphanage; friend class ::capnp::Orphanage;
friend ::kj::StringTree KJ_STRINGIFY(Join::Reader reader); friend ::kj::StringTree KJ_STRINGIFY(MessageTarget::Reader reader);
}; };
inline ::kj::StringTree KJ_STRINGIFY(Join::Reader reader) { inline ::kj::StringTree KJ_STRINGIFY(MessageTarget::Reader reader) {
return ::capnp::_::structString<Join>(reader._reader); return ::capnp::_::structString<MessageTarget>(reader._reader);
} }
class Join::Builder { class MessageTarget::Builder {
public: public:
typedef Join Builds; typedef MessageTarget Builds;
Builder() = delete; // Deleted to discourage incorrect usage. Builder() = delete; // Deleted to discourage incorrect usage.
// You can explicitly initialize to nullptr instead. // You can explicitly initialize to nullptr instead.
...@@ -2222,31 +1915,34 @@ public: ...@@ -2222,31 +1915,34 @@ public:
inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); } inline size_t totalSizeInWords() { return asReader().totalSizeInWords(); }
inline ::uint32_t getQuestionId(); inline Which which();
inline void setQuestionId( ::uint32_t value); inline bool isExportedCap();
inline ::uint32_t getExportedCap();
inline ::uint32_t getCapId(); inline void setExportedCap( ::uint32_t value);
inline void setCapId( ::uint32_t value);
inline bool hasKeyPart(); inline bool isPromisedAnswer();
inline ::capnp::ObjectPointer::Builder getKeyPart(); inline bool hasPromisedAnswer();
inline ::capnp::ObjectPointer::Builder initKeyPart(); inline ::capnp::rpc::PromisedAnswer::Builder getPromisedAnswer();
inline void setPromisedAnswer( ::capnp::rpc::PromisedAnswer::Reader value);
inline ::capnp::rpc::PromisedAnswer::Builder initPromisedAnswer();
inline void adoptPromisedAnswer(::capnp::Orphan< ::capnp::rpc::PromisedAnswer>&& value);
inline ::capnp::Orphan< ::capnp::rpc::PromisedAnswer> disownPromisedAnswer();
private: private:
::capnp::_::StructBuilder _builder; ::capnp::_::StructBuilder _builder;
template <typename T, ::capnp::Kind k> template <typename T, ::capnp::Kind k>
friend struct ::capnp::ToDynamic_; friend struct ::capnp::ToDynamic_;
friend class ::capnp::Orphanage; friend class ::capnp::Orphanage;
friend ::kj::StringTree KJ_STRINGIFY(Join::Builder builder); friend ::kj::StringTree KJ_STRINGIFY(MessageTarget::Builder builder);
}; };
inline ::kj::StringTree KJ_STRINGIFY(Join::Builder builder) { inline ::kj::StringTree KJ_STRINGIFY(MessageTarget::Builder builder) {
return ::capnp::_::structString<Join>(builder._builder.asReader()); return ::capnp::_::structString<MessageTarget>(builder._builder.asReader());
} }
class Join::Pipeline { class MessageTarget::Pipeline {
public: public:
typedef Join Pipelines; typedef MessageTarget Pipelines;
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {} inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
inline explicit Pipeline(::capnp::ObjectPointer::Pipeline&& typeless) inline explicit Pipeline(::capnp::ObjectPointer::Pipeline&& typeless)
...@@ -3535,47 +3231,67 @@ inline void Call::Builder::setQuestionId( ::uint32_t value) { ...@@ -3535,47 +3231,67 @@ inline void Call::Builder::setQuestionId( ::uint32_t value) {
0 * ::capnp::ELEMENTS, value); 0 * ::capnp::ELEMENTS, value);
} }
inline Call::Target::Reader Call::Reader::getTarget() const { inline bool Call::Reader::hasTarget() const {
return Call::Target::Reader(_reader); return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
}
inline bool Call::Builder::hasTarget() {
return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
}
inline ::capnp::rpc::MessageTarget::Reader Call::Reader::getTarget() const {
return ::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::get(
_reader.getPointerField(0 * ::capnp::POINTERS));
}
inline ::capnp::rpc::MessageTarget::Builder Call::Builder::getTarget() {
return ::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::get(
_builder.getPointerField(0 * ::capnp::POINTERS));
}
inline ::capnp::rpc::MessageTarget::Pipeline Call::Pipeline::getTarget() const {
return ::capnp::rpc::MessageTarget::Pipeline(_typeless.getPointerField(0));
}
inline void Call::Builder::setTarget( ::capnp::rpc::MessageTarget::Reader value) {
::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::set(
_builder.getPointerField(0 * ::capnp::POINTERS), value);
} }
inline Call::Target::Builder Call::Builder::getTarget() { inline ::capnp::rpc::MessageTarget::Builder Call::Builder::initTarget() {
return Call::Target::Builder(_builder); return ::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::init(
_builder.getPointerField(0 * ::capnp::POINTERS));
} }
inline Call::Target::Pipeline Call::Pipeline::getTarget() const { inline void Call::Builder::adoptTarget(
return Call::Target::Pipeline(_typeless.noop()); ::capnp::Orphan< ::capnp::rpc::MessageTarget>&& value) {
::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::adopt(
_builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
} }
inline Call::Target::Builder Call::Builder::initTarget() { inline ::capnp::Orphan< ::capnp::rpc::MessageTarget> Call::Builder::disownTarget() {
_builder.setDataField< ::uint32_t>(1 * ::capnp::ELEMENTS, 0); return ::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::disown(
_builder.setDataField< ::uint16_t>(4 * ::capnp::ELEMENTS, 0); _builder.getPointerField(0 * ::capnp::POINTERS));
_builder.getPointerField(0 * ::capnp::POINTERS).clear();
return Call::Target::Builder(_builder);
} }
inline ::uint64_t Call::Reader::getInterfaceId() const { inline ::uint64_t Call::Reader::getInterfaceId() const {
return _reader.getDataField< ::uint64_t>( return _reader.getDataField< ::uint64_t>(
2 * ::capnp::ELEMENTS); 1 * ::capnp::ELEMENTS);
} }
inline ::uint64_t Call::Builder::getInterfaceId() { inline ::uint64_t Call::Builder::getInterfaceId() {
return _builder.getDataField< ::uint64_t>( return _builder.getDataField< ::uint64_t>(
2 * ::capnp::ELEMENTS); 1 * ::capnp::ELEMENTS);
} }
inline void Call::Builder::setInterfaceId( ::uint64_t value) { inline void Call::Builder::setInterfaceId( ::uint64_t value) {
_builder.setDataField< ::uint64_t>( _builder.setDataField< ::uint64_t>(
2 * ::capnp::ELEMENTS, value); 1 * ::capnp::ELEMENTS, value);
} }
inline ::uint16_t Call::Reader::getMethodId() const { inline ::uint16_t Call::Reader::getMethodId() const {
return _reader.getDataField< ::uint16_t>( return _reader.getDataField< ::uint16_t>(
5 * ::capnp::ELEMENTS); 2 * ::capnp::ELEMENTS);
} }
inline ::uint16_t Call::Builder::getMethodId() { inline ::uint16_t Call::Builder::getMethodId() {
return _builder.getDataField< ::uint16_t>( return _builder.getDataField< ::uint16_t>(
5 * ::capnp::ELEMENTS); 2 * ::capnp::ELEMENTS);
} }
inline void Call::Builder::setMethodId( ::uint16_t value) { inline void Call::Builder::setMethodId( ::uint16_t value) {
_builder.setDataField< ::uint16_t>( _builder.setDataField< ::uint16_t>(
5 * ::capnp::ELEMENTS, value); 2 * ::capnp::ELEMENTS, value);
} }
inline bool Call::Reader::hasParams() const { inline bool Call::Reader::hasParams() const {
...@@ -3609,153 +3325,68 @@ inline Call::SendReturnTo::Pipeline Call::Pipeline::getSendReturnTo() const { ...@@ -3609,153 +3325,68 @@ inline Call::SendReturnTo::Pipeline Call::Pipeline::getSendReturnTo() const {
return Call::SendReturnTo::Pipeline(_typeless.noop()); return Call::SendReturnTo::Pipeline(_typeless.noop());
} }
inline Call::SendReturnTo::Builder Call::Builder::initSendReturnTo() { inline Call::SendReturnTo::Builder Call::Builder::initSendReturnTo() {
_builder.setDataField< ::uint16_t>(6 * ::capnp::ELEMENTS, 0); _builder.setDataField< ::uint16_t>(3 * ::capnp::ELEMENTS, 0);
_builder.setDataField< ::uint32_t>(6 * ::capnp::ELEMENTS, 0); _builder.setDataField< ::uint32_t>(4 * ::capnp::ELEMENTS, 0);
_builder.getPointerField(2 * ::capnp::POINTERS).clear(); _builder.getPointerField(2 * ::capnp::POINTERS).clear();
return Call::SendReturnTo::Builder(_builder); return Call::SendReturnTo::Builder(_builder);
} }
inline Call::Target::Which Call::Target::Reader::which() const { inline Call::SendReturnTo::Which Call::SendReturnTo::Reader::which() const {
return _reader.getDataField<Which>(4 * ::capnp::ELEMENTS); return _reader.getDataField<Which>(3 * ::capnp::ELEMENTS);
} }
inline Call::Target::Which Call::Target::Builder::which() { inline Call::SendReturnTo::Which Call::SendReturnTo::Builder::which() {
return _builder.getDataField<Which>(4 * ::capnp::ELEMENTS); return _builder.getDataField<Which>(3 * ::capnp::ELEMENTS);
} }
inline bool Call::Target::Reader::isExportedCap() const { inline bool Call::SendReturnTo::Reader::isCaller() const {
return which() == Call::Target::EXPORTED_CAP; return which() == Call::SendReturnTo::CALLER;
} }
inline bool Call::Target::Builder::isExportedCap() { inline bool Call::SendReturnTo::Builder::isCaller() {
return which() == Call::Target::EXPORTED_CAP; return which() == Call::SendReturnTo::CALLER;
} }
inline ::uint32_t Call::Target::Reader::getExportedCap() const { inline ::capnp::Void Call::SendReturnTo::Reader::getCaller() const {
KJ_IREQUIRE(which() == Call::Target::EXPORTED_CAP, KJ_IREQUIRE(which() == Call::SendReturnTo::CALLER,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return _reader.getDataField< ::uint32_t>( return _reader.getDataField< ::capnp::Void>(
1 * ::capnp::ELEMENTS); 0 * ::capnp::ELEMENTS);
} }
inline ::uint32_t Call::Target::Builder::getExportedCap() { inline ::capnp::Void Call::SendReturnTo::Builder::getCaller() {
KJ_IREQUIRE(which() == Call::Target::EXPORTED_CAP, KJ_IREQUIRE(which() == Call::SendReturnTo::CALLER,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return _builder.getDataField< ::uint32_t>( return _builder.getDataField< ::capnp::Void>(
1 * ::capnp::ELEMENTS); 0 * ::capnp::ELEMENTS);
} }
inline void Call::Target::Builder::setExportedCap( ::uint32_t value) { inline void Call::SendReturnTo::Builder::setCaller( ::capnp::Void value) {
_builder.setDataField<Call::Target::Which>( _builder.setDataField<Call::SendReturnTo::Which>(
4 * ::capnp::ELEMENTS, Call::Target::EXPORTED_CAP); 3 * ::capnp::ELEMENTS, Call::SendReturnTo::CALLER);
_builder.setDataField< ::uint32_t>( _builder.setDataField< ::capnp::Void>(
1 * ::capnp::ELEMENTS, value); 0 * ::capnp::ELEMENTS, value);
} }
inline bool Call::Target::Reader::isPromisedAnswer() const { inline bool Call::SendReturnTo::Reader::isYourself() const {
return which() == Call::Target::PROMISED_ANSWER; return which() == Call::SendReturnTo::YOURSELF;
} }
inline bool Call::Target::Builder::isPromisedAnswer() { inline bool Call::SendReturnTo::Builder::isYourself() {
return which() == Call::Target::PROMISED_ANSWER; return which() == Call::SendReturnTo::YOURSELF;
}
inline bool Call::Target::Reader::hasPromisedAnswer() const {
if (which() != Call::Target::PROMISED_ANSWER) return false;
return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
}
inline bool Call::Target::Builder::hasPromisedAnswer() {
if (which() != Call::Target::PROMISED_ANSWER) return false;
return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
}
inline ::capnp::rpc::PromisedAnswer::Reader Call::Target::Reader::getPromisedAnswer() const {
KJ_IREQUIRE(which() == Call::Target::PROMISED_ANSWER,
"Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::get(
_reader.getPointerField(0 * ::capnp::POINTERS));
}
inline ::capnp::rpc::PromisedAnswer::Builder Call::Target::Builder::getPromisedAnswer() {
KJ_IREQUIRE(which() == Call::Target::PROMISED_ANSWER,
"Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::get(
_builder.getPointerField(0 * ::capnp::POINTERS));
}
inline void Call::Target::Builder::setPromisedAnswer( ::capnp::rpc::PromisedAnswer::Reader value) {
_builder.setDataField<Call::Target::Which>(
4 * ::capnp::ELEMENTS, Call::Target::PROMISED_ANSWER);
::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::set(
_builder.getPointerField(0 * ::capnp::POINTERS), value);
}
inline ::capnp::rpc::PromisedAnswer::Builder Call::Target::Builder::initPromisedAnswer() {
_builder.setDataField<Call::Target::Which>(
4 * ::capnp::ELEMENTS, Call::Target::PROMISED_ANSWER);
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::init(
_builder.getPointerField(0 * ::capnp::POINTERS));
}
inline void Call::Target::Builder::adoptPromisedAnswer(
::capnp::Orphan< ::capnp::rpc::PromisedAnswer>&& value) {
_builder.setDataField<Call::Target::Which>(
4 * ::capnp::ELEMENTS, Call::Target::PROMISED_ANSWER);
::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::adopt(
_builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
}
inline ::capnp::Orphan< ::capnp::rpc::PromisedAnswer> Call::Target::Builder::disownPromisedAnswer() {
KJ_IREQUIRE(which() == Call::Target::PROMISED_ANSWER,
"Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::disown(
_builder.getPointerField(0 * ::capnp::POINTERS));
}
inline Call::SendReturnTo::Which Call::SendReturnTo::Reader::which() const {
return _reader.getDataField<Which>(6 * ::capnp::ELEMENTS);
}
inline Call::SendReturnTo::Which Call::SendReturnTo::Builder::which() {
return _builder.getDataField<Which>(6 * ::capnp::ELEMENTS);
}
inline bool Call::SendReturnTo::Reader::isCaller() const {
return which() == Call::SendReturnTo::CALLER;
}
inline bool Call::SendReturnTo::Builder::isCaller() {
return which() == Call::SendReturnTo::CALLER;
}
inline ::capnp::Void Call::SendReturnTo::Reader::getCaller() const {
KJ_IREQUIRE(which() == Call::SendReturnTo::CALLER,
"Must check which() before get()ing a union member.");
return _reader.getDataField< ::capnp::Void>(
0 * ::capnp::ELEMENTS);
}
inline ::capnp::Void Call::SendReturnTo::Builder::getCaller() {
KJ_IREQUIRE(which() == Call::SendReturnTo::CALLER,
"Must check which() before get()ing a union member.");
return _builder.getDataField< ::capnp::Void>(
0 * ::capnp::ELEMENTS);
}
inline void Call::SendReturnTo::Builder::setCaller( ::capnp::Void value) {
_builder.setDataField<Call::SendReturnTo::Which>(
6 * ::capnp::ELEMENTS, Call::SendReturnTo::CALLER);
_builder.setDataField< ::capnp::Void>(
0 * ::capnp::ELEMENTS, value);
}
inline bool Call::SendReturnTo::Reader::isYourself() const {
return which() == Call::SendReturnTo::YOURSELF;
}
inline bool Call::SendReturnTo::Builder::isYourself() {
return which() == Call::SendReturnTo::YOURSELF;
} }
inline ::uint32_t Call::SendReturnTo::Reader::getYourself() const { inline ::uint32_t Call::SendReturnTo::Reader::getYourself() const {
KJ_IREQUIRE(which() == Call::SendReturnTo::YOURSELF, KJ_IREQUIRE(which() == Call::SendReturnTo::YOURSELF,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return _reader.getDataField< ::uint32_t>( return _reader.getDataField< ::uint32_t>(
6 * ::capnp::ELEMENTS); 4 * ::capnp::ELEMENTS);
} }
inline ::uint32_t Call::SendReturnTo::Builder::getYourself() { inline ::uint32_t Call::SendReturnTo::Builder::getYourself() {
KJ_IREQUIRE(which() == Call::SendReturnTo::YOURSELF, KJ_IREQUIRE(which() == Call::SendReturnTo::YOURSELF,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return _builder.getDataField< ::uint32_t>( return _builder.getDataField< ::uint32_t>(
6 * ::capnp::ELEMENTS); 4 * ::capnp::ELEMENTS);
} }
inline void Call::SendReturnTo::Builder::setYourself( ::uint32_t value) { inline void Call::SendReturnTo::Builder::setYourself( ::uint32_t value) {
_builder.setDataField<Call::SendReturnTo::Which>( _builder.setDataField<Call::SendReturnTo::Which>(
6 * ::capnp::ELEMENTS, Call::SendReturnTo::YOURSELF); 3 * ::capnp::ELEMENTS, Call::SendReturnTo::YOURSELF);
_builder.setDataField< ::uint32_t>( _builder.setDataField< ::uint32_t>(
6 * ::capnp::ELEMENTS, value); 4 * ::capnp::ELEMENTS, value);
} }
inline bool Call::SendReturnTo::Reader::isThirdParty() const { inline bool Call::SendReturnTo::Reader::isThirdParty() const {
...@@ -3786,7 +3417,7 @@ inline ::capnp::ObjectPointer::Builder Call::SendReturnTo::Builder::getThirdPart ...@@ -3786,7 +3417,7 @@ inline ::capnp::ObjectPointer::Builder Call::SendReturnTo::Builder::getThirdPart
} }
inline ::capnp::ObjectPointer::Builder Call::SendReturnTo::Builder::initThirdParty() { inline ::capnp::ObjectPointer::Builder Call::SendReturnTo::Builder::initThirdParty() {
_builder.setDataField<Call::SendReturnTo::Which>( _builder.setDataField<Call::SendReturnTo::Which>(
6 * ::capnp::ELEMENTS, Call::SendReturnTo::THIRD_PARTY); 3 * ::capnp::ELEMENTS, Call::SendReturnTo::THIRD_PARTY);
auto result = ::capnp::ObjectPointer::Builder( auto result = ::capnp::ObjectPointer::Builder(
_builder.getPointerField(2 * ::capnp::POINTERS)); _builder.getPointerField(2 * ::capnp::POINTERS));
result.clear(); result.clear();
...@@ -4199,32 +3830,6 @@ inline ::capnp::Orphan< ::capnp::rpc::Exception> Resolve::Builder::disownExcepti ...@@ -4199,32 +3830,6 @@ inline ::capnp::Orphan< ::capnp::rpc::Exception> Resolve::Builder::disownExcepti
_builder.getPointerField(0 * ::capnp::POINTERS)); _builder.getPointerField(0 * ::capnp::POINTERS));
} }
inline bool Resolve::Reader::isCanceled() const {
return which() == Resolve::CANCELED;
}
inline bool Resolve::Builder::isCanceled() {
return which() == Resolve::CANCELED;
}
inline ::capnp::Void Resolve::Reader::getCanceled() const {
KJ_IREQUIRE(which() == Resolve::CANCELED,
"Must check which() before get()ing a union member.");
return _reader.getDataField< ::capnp::Void>(
0 * ::capnp::ELEMENTS);
}
inline ::capnp::Void Resolve::Builder::getCanceled() {
KJ_IREQUIRE(which() == Resolve::CANCELED,
"Must check which() before get()ing a union member.");
return _builder.getDataField< ::capnp::Void>(
0 * ::capnp::ELEMENTS);
}
inline void Resolve::Builder::setCanceled( ::capnp::Void value) {
_builder.setDataField<Resolve::Which>(
2 * ::capnp::ELEMENTS, Resolve::CANCELED);
_builder.setDataField< ::capnp::Void>(
0 * ::capnp::ELEMENTS, value);
}
inline ::uint32_t Release::Reader::getId() const { inline ::uint32_t Release::Reader::getId() const {
return _reader.getDataField< ::uint32_t>( return _reader.getDataField< ::uint32_t>(
0 * ::capnp::ELEMENTS); 0 * ::capnp::ELEMENTS);
...@@ -4253,125 +3858,60 @@ inline void Release::Builder::setReferenceCount( ::uint32_t value) { ...@@ -4253,125 +3858,60 @@ inline void Release::Builder::setReferenceCount( ::uint32_t value) {
1 * ::capnp::ELEMENTS, value); 1 * ::capnp::ELEMENTS, value);
} }
inline Disembargo::Target::Reader Disembargo::Reader::getTarget() const { inline bool Disembargo::Reader::hasTarget() const {
return Disembargo::Target::Reader(_reader);
}
inline Disembargo::Target::Builder Disembargo::Builder::getTarget() {
return Disembargo::Target::Builder(_builder);
}
inline Disembargo::Target::Pipeline Disembargo::Pipeline::getTarget() const {
return Disembargo::Target::Pipeline(_typeless.noop());
}
inline Disembargo::Target::Builder Disembargo::Builder::initTarget() {
_builder.setDataField< ::uint32_t>(0 * ::capnp::ELEMENTS, 0);
_builder.setDataField< ::uint16_t>(2 * ::capnp::ELEMENTS, 0);
_builder.getPointerField(0 * ::capnp::POINTERS).clear();
return Disembargo::Target::Builder(_builder);
}
inline Disembargo::Context::Reader Disembargo::Reader::getContext() const {
return Disembargo::Context::Reader(_reader);
}
inline Disembargo::Context::Builder Disembargo::Builder::getContext() {
return Disembargo::Context::Builder(_builder);
}
inline Disembargo::Context::Pipeline Disembargo::Pipeline::getContext() const {
return Disembargo::Context::Pipeline(_typeless.noop());
}
inline Disembargo::Context::Builder Disembargo::Builder::initContext() {
_builder.setDataField< ::uint16_t>(3 * ::capnp::ELEMENTS, 0);
_builder.setDataField< ::uint32_t>(2 * ::capnp::ELEMENTS, 0);
return Disembargo::Context::Builder(_builder);
}
inline Disembargo::Target::Which Disembargo::Target::Reader::which() const {
return _reader.getDataField<Which>(2 * ::capnp::ELEMENTS);
}
inline Disembargo::Target::Which Disembargo::Target::Builder::which() {
return _builder.getDataField<Which>(2 * ::capnp::ELEMENTS);
}
inline bool Disembargo::Target::Reader::isExportedCap() const {
return which() == Disembargo::Target::EXPORTED_CAP;
}
inline bool Disembargo::Target::Builder::isExportedCap() {
return which() == Disembargo::Target::EXPORTED_CAP;
}
inline ::uint32_t Disembargo::Target::Reader::getExportedCap() const {
KJ_IREQUIRE(which() == Disembargo::Target::EXPORTED_CAP,
"Must check which() before get()ing a union member.");
return _reader.getDataField< ::uint32_t>(
0 * ::capnp::ELEMENTS);
}
inline ::uint32_t Disembargo::Target::Builder::getExportedCap() {
KJ_IREQUIRE(which() == Disembargo::Target::EXPORTED_CAP,
"Must check which() before get()ing a union member.");
return _builder.getDataField< ::uint32_t>(
0 * ::capnp::ELEMENTS);
}
inline void Disembargo::Target::Builder::setExportedCap( ::uint32_t value) {
_builder.setDataField<Disembargo::Target::Which>(
2 * ::capnp::ELEMENTS, Disembargo::Target::EXPORTED_CAP);
_builder.setDataField< ::uint32_t>(
0 * ::capnp::ELEMENTS, value);
}
inline bool Disembargo::Target::Reader::isPromisedAnswer() const {
return which() == Disembargo::Target::PROMISED_ANSWER;
}
inline bool Disembargo::Target::Builder::isPromisedAnswer() {
return which() == Disembargo::Target::PROMISED_ANSWER;
}
inline bool Disembargo::Target::Reader::hasPromisedAnswer() const {
if (which() != Disembargo::Target::PROMISED_ANSWER) return false;
return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
} }
inline bool Disembargo::Target::Builder::hasPromisedAnswer() { inline bool Disembargo::Builder::hasTarget() {
if (which() != Disembargo::Target::PROMISED_ANSWER) return false;
return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
} }
inline ::capnp::rpc::PromisedAnswer::Reader Disembargo::Target::Reader::getPromisedAnswer() const { inline ::capnp::rpc::MessageTarget::Reader Disembargo::Reader::getTarget() const {
KJ_IREQUIRE(which() == Disembargo::Target::PROMISED_ANSWER, return ::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::get(
"Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::get(
_reader.getPointerField(0 * ::capnp::POINTERS)); _reader.getPointerField(0 * ::capnp::POINTERS));
} }
inline ::capnp::rpc::PromisedAnswer::Builder Disembargo::Target::Builder::getPromisedAnswer() { inline ::capnp::rpc::MessageTarget::Builder Disembargo::Builder::getTarget() {
KJ_IREQUIRE(which() == Disembargo::Target::PROMISED_ANSWER, return ::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::get(
"Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::get(
_builder.getPointerField(0 * ::capnp::POINTERS)); _builder.getPointerField(0 * ::capnp::POINTERS));
} }
inline void Disembargo::Target::Builder::setPromisedAnswer( ::capnp::rpc::PromisedAnswer::Reader value) { inline ::capnp::rpc::MessageTarget::Pipeline Disembargo::Pipeline::getTarget() const {
_builder.setDataField<Disembargo::Target::Which>( return ::capnp::rpc::MessageTarget::Pipeline(_typeless.getPointerField(0));
2 * ::capnp::ELEMENTS, Disembargo::Target::PROMISED_ANSWER); }
::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::set( inline void Disembargo::Builder::setTarget( ::capnp::rpc::MessageTarget::Reader value) {
::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::set(
_builder.getPointerField(0 * ::capnp::POINTERS), value); _builder.getPointerField(0 * ::capnp::POINTERS), value);
} }
inline ::capnp::rpc::PromisedAnswer::Builder Disembargo::Target::Builder::initPromisedAnswer() { inline ::capnp::rpc::MessageTarget::Builder Disembargo::Builder::initTarget() {
_builder.setDataField<Disembargo::Target::Which>( return ::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::init(
2 * ::capnp::ELEMENTS, Disembargo::Target::PROMISED_ANSWER);
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::init(
_builder.getPointerField(0 * ::capnp::POINTERS)); _builder.getPointerField(0 * ::capnp::POINTERS));
} }
inline void Disembargo::Target::Builder::adoptPromisedAnswer( inline void Disembargo::Builder::adoptTarget(
::capnp::Orphan< ::capnp::rpc::PromisedAnswer>&& value) { ::capnp::Orphan< ::capnp::rpc::MessageTarget>&& value) {
_builder.setDataField<Disembargo::Target::Which>( ::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::adopt(
2 * ::capnp::ELEMENTS, Disembargo::Target::PROMISED_ANSWER);
::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::adopt(
_builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
} }
inline ::capnp::Orphan< ::capnp::rpc::PromisedAnswer> Disembargo::Target::Builder::disownPromisedAnswer() { inline ::capnp::Orphan< ::capnp::rpc::MessageTarget> Disembargo::Builder::disownTarget() {
KJ_IREQUIRE(which() == Disembargo::Target::PROMISED_ANSWER, return ::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::disown(
"Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::disown(
_builder.getPointerField(0 * ::capnp::POINTERS)); _builder.getPointerField(0 * ::capnp::POINTERS));
} }
inline Disembargo::Context::Reader Disembargo::Reader::getContext() const {
return Disembargo::Context::Reader(_reader);
}
inline Disembargo::Context::Builder Disembargo::Builder::getContext() {
return Disembargo::Context::Builder(_builder);
}
inline Disembargo::Context::Pipeline Disembargo::Pipeline::getContext() const {
return Disembargo::Context::Pipeline(_typeless.noop());
}
inline Disembargo::Context::Builder Disembargo::Builder::initContext() {
_builder.setDataField< ::uint32_t>(0 * ::capnp::ELEMENTS, 0);
_builder.setDataField< ::uint16_t>(2 * ::capnp::ELEMENTS, 0);
return Disembargo::Context::Builder(_builder);
}
inline Disembargo::Context::Which Disembargo::Context::Reader::which() const { inline Disembargo::Context::Which Disembargo::Context::Reader::which() const {
return _reader.getDataField<Which>(3 * ::capnp::ELEMENTS); return _reader.getDataField<Which>(2 * ::capnp::ELEMENTS);
} }
inline Disembargo::Context::Which Disembargo::Context::Builder::which() { inline Disembargo::Context::Which Disembargo::Context::Builder::which() {
return _builder.getDataField<Which>(3 * ::capnp::ELEMENTS); return _builder.getDataField<Which>(2 * ::capnp::ELEMENTS);
} }
inline bool Disembargo::Context::Reader::isSenderLoopback() const { inline bool Disembargo::Context::Reader::isSenderLoopback() const {
...@@ -4384,20 +3924,20 @@ inline ::uint32_t Disembargo::Context::Reader::getSenderLoopback() const { ...@@ -4384,20 +3924,20 @@ inline ::uint32_t Disembargo::Context::Reader::getSenderLoopback() const {
KJ_IREQUIRE(which() == Disembargo::Context::SENDER_LOOPBACK, KJ_IREQUIRE(which() == Disembargo::Context::SENDER_LOOPBACK,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return _reader.getDataField< ::uint32_t>( return _reader.getDataField< ::uint32_t>(
2 * ::capnp::ELEMENTS); 0 * ::capnp::ELEMENTS);
} }
inline ::uint32_t Disembargo::Context::Builder::getSenderLoopback() { inline ::uint32_t Disembargo::Context::Builder::getSenderLoopback() {
KJ_IREQUIRE(which() == Disembargo::Context::SENDER_LOOPBACK, KJ_IREQUIRE(which() == Disembargo::Context::SENDER_LOOPBACK,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return _builder.getDataField< ::uint32_t>( return _builder.getDataField< ::uint32_t>(
2 * ::capnp::ELEMENTS); 0 * ::capnp::ELEMENTS);
} }
inline void Disembargo::Context::Builder::setSenderLoopback( ::uint32_t value) { inline void Disembargo::Context::Builder::setSenderLoopback( ::uint32_t value) {
_builder.setDataField<Disembargo::Context::Which>( _builder.setDataField<Disembargo::Context::Which>(
3 * ::capnp::ELEMENTS, Disembargo::Context::SENDER_LOOPBACK); 2 * ::capnp::ELEMENTS, Disembargo::Context::SENDER_LOOPBACK);
_builder.setDataField< ::uint32_t>( _builder.setDataField< ::uint32_t>(
2 * ::capnp::ELEMENTS, value); 0 * ::capnp::ELEMENTS, value);
} }
inline bool Disembargo::Context::Reader::isReceiverLoopback() const { inline bool Disembargo::Context::Reader::isReceiverLoopback() const {
...@@ -4410,20 +3950,20 @@ inline ::uint32_t Disembargo::Context::Reader::getReceiverLoopback() const { ...@@ -4410,20 +3950,20 @@ inline ::uint32_t Disembargo::Context::Reader::getReceiverLoopback() const {
KJ_IREQUIRE(which() == Disembargo::Context::RECEIVER_LOOPBACK, KJ_IREQUIRE(which() == Disembargo::Context::RECEIVER_LOOPBACK,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return _reader.getDataField< ::uint32_t>( return _reader.getDataField< ::uint32_t>(
2 * ::capnp::ELEMENTS); 0 * ::capnp::ELEMENTS);
} }
inline ::uint32_t Disembargo::Context::Builder::getReceiverLoopback() { inline ::uint32_t Disembargo::Context::Builder::getReceiverLoopback() {
KJ_IREQUIRE(which() == Disembargo::Context::RECEIVER_LOOPBACK, KJ_IREQUIRE(which() == Disembargo::Context::RECEIVER_LOOPBACK,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return _builder.getDataField< ::uint32_t>( return _builder.getDataField< ::uint32_t>(
2 * ::capnp::ELEMENTS); 0 * ::capnp::ELEMENTS);
} }
inline void Disembargo::Context::Builder::setReceiverLoopback( ::uint32_t value) { inline void Disembargo::Context::Builder::setReceiverLoopback( ::uint32_t value) {
_builder.setDataField<Disembargo::Context::Which>( _builder.setDataField<Disembargo::Context::Which>(
3 * ::capnp::ELEMENTS, Disembargo::Context::RECEIVER_LOOPBACK); 2 * ::capnp::ELEMENTS, Disembargo::Context::RECEIVER_LOOPBACK);
_builder.setDataField< ::uint32_t>( _builder.setDataField< ::uint32_t>(
2 * ::capnp::ELEMENTS, value); 0 * ::capnp::ELEMENTS, value);
} }
inline bool Disembargo::Context::Reader::isAccept() const { inline bool Disembargo::Context::Reader::isAccept() const {
...@@ -4447,7 +3987,7 @@ inline ::capnp::Void Disembargo::Context::Builder::getAccept() { ...@@ -4447,7 +3987,7 @@ inline ::capnp::Void Disembargo::Context::Builder::getAccept() {
} }
inline void Disembargo::Context::Builder::setAccept( ::capnp::Void value) { inline void Disembargo::Context::Builder::setAccept( ::capnp::Void value) {
_builder.setDataField<Disembargo::Context::Which>( _builder.setDataField<Disembargo::Context::Which>(
3 * ::capnp::ELEMENTS, Disembargo::Context::ACCEPT); 2 * ::capnp::ELEMENTS, Disembargo::Context::ACCEPT);
_builder.setDataField< ::capnp::Void>( _builder.setDataField< ::capnp::Void>(
0 * ::capnp::ELEMENTS, value); 0 * ::capnp::ELEMENTS, value);
} }
...@@ -4462,20 +4002,20 @@ inline ::uint32_t Disembargo::Context::Reader::getProvide() const { ...@@ -4462,20 +4002,20 @@ inline ::uint32_t Disembargo::Context::Reader::getProvide() const {
KJ_IREQUIRE(which() == Disembargo::Context::PROVIDE, KJ_IREQUIRE(which() == Disembargo::Context::PROVIDE,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return _reader.getDataField< ::uint32_t>( return _reader.getDataField< ::uint32_t>(
2 * ::capnp::ELEMENTS); 0 * ::capnp::ELEMENTS);
} }
inline ::uint32_t Disembargo::Context::Builder::getProvide() { inline ::uint32_t Disembargo::Context::Builder::getProvide() {
KJ_IREQUIRE(which() == Disembargo::Context::PROVIDE, KJ_IREQUIRE(which() == Disembargo::Context::PROVIDE,
"Must check which() before get()ing a union member."); "Must check which() before get()ing a union member.");
return _builder.getDataField< ::uint32_t>( return _builder.getDataField< ::uint32_t>(
2 * ::capnp::ELEMENTS); 0 * ::capnp::ELEMENTS);
} }
inline void Disembargo::Context::Builder::setProvide( ::uint32_t value) { inline void Disembargo::Context::Builder::setProvide( ::uint32_t value) {
_builder.setDataField<Disembargo::Context::Which>( _builder.setDataField<Disembargo::Context::Which>(
3 * ::capnp::ELEMENTS, Disembargo::Context::PROVIDE); 2 * ::capnp::ELEMENTS, Disembargo::Context::PROVIDE);
_builder.setDataField< ::uint32_t>( _builder.setDataField< ::uint32_t>(
2 * ::capnp::ELEMENTS, value); 0 * ::capnp::ELEMENTS, value);
} }
inline ::uint32_t Save::Reader::getQuestionId() const { inline ::uint32_t Save::Reader::getQuestionId() const {
...@@ -4492,103 +4032,38 @@ inline void Save::Builder::setQuestionId( ::uint32_t value) { ...@@ -4492,103 +4032,38 @@ inline void Save::Builder::setQuestionId( ::uint32_t value) {
0 * ::capnp::ELEMENTS, value); 0 * ::capnp::ELEMENTS, value);
} }
inline Save::Target::Reader Save::Reader::getTarget() const { inline bool Save::Reader::hasTarget() const {
return Save::Target::Reader(_reader);
}
inline Save::Target::Builder Save::Builder::getTarget() {
return Save::Target::Builder(_builder);
}
inline Save::Target::Pipeline Save::Pipeline::getTarget() const {
return Save::Target::Pipeline(_typeless.noop());
}
inline Save::Target::Builder Save::Builder::initTarget() {
_builder.setDataField< ::uint32_t>(1 * ::capnp::ELEMENTS, 0);
_builder.setDataField< ::uint16_t>(4 * ::capnp::ELEMENTS, 0);
_builder.getPointerField(0 * ::capnp::POINTERS).clear();
return Save::Target::Builder(_builder);
}
inline Save::Target::Which Save::Target::Reader::which() const {
return _reader.getDataField<Which>(4 * ::capnp::ELEMENTS);
}
inline Save::Target::Which Save::Target::Builder::which() {
return _builder.getDataField<Which>(4 * ::capnp::ELEMENTS);
}
inline bool Save::Target::Reader::isExportedCap() const {
return which() == Save::Target::EXPORTED_CAP;
}
inline bool Save::Target::Builder::isExportedCap() {
return which() == Save::Target::EXPORTED_CAP;
}
inline ::uint32_t Save::Target::Reader::getExportedCap() const {
KJ_IREQUIRE(which() == Save::Target::EXPORTED_CAP,
"Must check which() before get()ing a union member.");
return _reader.getDataField< ::uint32_t>(
1 * ::capnp::ELEMENTS);
}
inline ::uint32_t Save::Target::Builder::getExportedCap() {
KJ_IREQUIRE(which() == Save::Target::EXPORTED_CAP,
"Must check which() before get()ing a union member.");
return _builder.getDataField< ::uint32_t>(
1 * ::capnp::ELEMENTS);
}
inline void Save::Target::Builder::setExportedCap( ::uint32_t value) {
_builder.setDataField<Save::Target::Which>(
4 * ::capnp::ELEMENTS, Save::Target::EXPORTED_CAP);
_builder.setDataField< ::uint32_t>(
1 * ::capnp::ELEMENTS, value);
}
inline bool Save::Target::Reader::isPromisedAnswer() const {
return which() == Save::Target::PROMISED_ANSWER;
}
inline bool Save::Target::Builder::isPromisedAnswer() {
return which() == Save::Target::PROMISED_ANSWER;
}
inline bool Save::Target::Reader::hasPromisedAnswer() const {
if (which() != Save::Target::PROMISED_ANSWER) return false;
return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull(); return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
} }
inline bool Save::Target::Builder::hasPromisedAnswer() { inline bool Save::Builder::hasTarget() {
if (which() != Save::Target::PROMISED_ANSWER) return false;
return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull(); return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
} }
inline ::capnp::rpc::PromisedAnswer::Reader Save::Target::Reader::getPromisedAnswer() const { inline ::capnp::rpc::MessageTarget::Reader Save::Reader::getTarget() const {
KJ_IREQUIRE(which() == Save::Target::PROMISED_ANSWER, return ::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::get(
"Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::get(
_reader.getPointerField(0 * ::capnp::POINTERS)); _reader.getPointerField(0 * ::capnp::POINTERS));
} }
inline ::capnp::rpc::PromisedAnswer::Builder Save::Target::Builder::getPromisedAnswer() { inline ::capnp::rpc::MessageTarget::Builder Save::Builder::getTarget() {
KJ_IREQUIRE(which() == Save::Target::PROMISED_ANSWER, return ::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::get(
"Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::get(
_builder.getPointerField(0 * ::capnp::POINTERS)); _builder.getPointerField(0 * ::capnp::POINTERS));
} }
inline void Save::Target::Builder::setPromisedAnswer( ::capnp::rpc::PromisedAnswer::Reader value) { inline ::capnp::rpc::MessageTarget::Pipeline Save::Pipeline::getTarget() const {
_builder.setDataField<Save::Target::Which>( return ::capnp::rpc::MessageTarget::Pipeline(_typeless.getPointerField(0));
4 * ::capnp::ELEMENTS, Save::Target::PROMISED_ANSWER); }
::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::set( inline void Save::Builder::setTarget( ::capnp::rpc::MessageTarget::Reader value) {
::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::set(
_builder.getPointerField(0 * ::capnp::POINTERS), value); _builder.getPointerField(0 * ::capnp::POINTERS), value);
} }
inline ::capnp::rpc::PromisedAnswer::Builder Save::Target::Builder::initPromisedAnswer() { inline ::capnp::rpc::MessageTarget::Builder Save::Builder::initTarget() {
_builder.setDataField<Save::Target::Which>( return ::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::init(
4 * ::capnp::ELEMENTS, Save::Target::PROMISED_ANSWER);
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::init(
_builder.getPointerField(0 * ::capnp::POINTERS)); _builder.getPointerField(0 * ::capnp::POINTERS));
} }
inline void Save::Target::Builder::adoptPromisedAnswer( inline void Save::Builder::adoptTarget(
::capnp::Orphan< ::capnp::rpc::PromisedAnswer>&& value) { ::capnp::Orphan< ::capnp::rpc::MessageTarget>&& value) {
_builder.setDataField<Save::Target::Which>( ::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::adopt(
4 * ::capnp::ELEMENTS, Save::Target::PROMISED_ANSWER);
::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::adopt(
_builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value)); _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
} }
inline ::capnp::Orphan< ::capnp::rpc::PromisedAnswer> Save::Target::Builder::disownPromisedAnswer() { inline ::capnp::Orphan< ::capnp::rpc::MessageTarget> Save::Builder::disownTarget() {
KJ_IREQUIRE(which() == Save::Target::PROMISED_ANSWER, return ::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::disown(
"Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::disown(
_builder.getPointerField(0 * ::capnp::POINTERS)); _builder.getPointerField(0 * ::capnp::POINTERS));
} }
...@@ -4676,21 +4151,41 @@ inline void Provide::Builder::setQuestionId( ::uint32_t value) { ...@@ -4676,21 +4151,41 @@ inline void Provide::Builder::setQuestionId( ::uint32_t value) {
0 * ::capnp::ELEMENTS, value); 0 * ::capnp::ELEMENTS, value);
} }
inline Provide::Target::Reader Provide::Reader::getTarget() const { inline bool Provide::Reader::hasTarget() const {
return Provide::Target::Reader(_reader); return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
}
inline bool Provide::Builder::hasTarget() {
return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
} }
inline Provide::Target::Builder Provide::Builder::getTarget() { inline ::capnp::rpc::MessageTarget::Reader Provide::Reader::getTarget() const {
return Provide::Target::Builder(_builder); return ::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::get(
_reader.getPointerField(0 * ::capnp::POINTERS));
}
inline ::capnp::rpc::MessageTarget::Builder Provide::Builder::getTarget() {
return ::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::get(
_builder.getPointerField(0 * ::capnp::POINTERS));
}
inline ::capnp::rpc::MessageTarget::Pipeline Provide::Pipeline::getTarget() const {
return ::capnp::rpc::MessageTarget::Pipeline(_typeless.getPointerField(0));
}
inline void Provide::Builder::setTarget( ::capnp::rpc::MessageTarget::Reader value) {
::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::set(
_builder.getPointerField(0 * ::capnp::POINTERS), value);
} }
inline Provide::Target::Pipeline Provide::Pipeline::getTarget() const { inline ::capnp::rpc::MessageTarget::Builder Provide::Builder::initTarget() {
return Provide::Target::Pipeline(_typeless.noop()); return ::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::init(
_builder.getPointerField(0 * ::capnp::POINTERS));
} }
inline Provide::Target::Builder Provide::Builder::initTarget() { inline void Provide::Builder::adoptTarget(
_builder.setDataField< ::uint32_t>(1 * ::capnp::ELEMENTS, 0); ::capnp::Orphan< ::capnp::rpc::MessageTarget>&& value) {
_builder.setDataField< ::uint16_t>(4 * ::capnp::ELEMENTS, 0); ::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::adopt(
_builder.getPointerField(0 * ::capnp::POINTERS).clear(); _builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
return Provide::Target::Builder(_builder); }
inline ::capnp::Orphan< ::capnp::rpc::MessageTarget> Provide::Builder::disownTarget() {
return ::capnp::_::PointerHelpers< ::capnp::rpc::MessageTarget>::disown(
_builder.getPointerField(0 * ::capnp::POINTERS));
} }
inline bool Provide::Reader::hasRecipient() const { inline bool Provide::Reader::hasRecipient() const {
return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull(); return !_reader.getPointerField(1 * ::capnp::POINTERS).isNull();
} }
...@@ -4712,91 +4207,6 @@ inline ::capnp::ObjectPointer::Builder Provide::Builder::initRecipient() { ...@@ -4712,91 +4207,6 @@ inline ::capnp::ObjectPointer::Builder Provide::Builder::initRecipient() {
return result; return result;
} }
inline Provide::Target::Which Provide::Target::Reader::which() const {
return _reader.getDataField<Which>(4 * ::capnp::ELEMENTS);
}
inline Provide::Target::Which Provide::Target::Builder::which() {
return _builder.getDataField<Which>(4 * ::capnp::ELEMENTS);
}
inline bool Provide::Target::Reader::isExportedCap() const {
return which() == Provide::Target::EXPORTED_CAP;
}
inline bool Provide::Target::Builder::isExportedCap() {
return which() == Provide::Target::EXPORTED_CAP;
}
inline ::uint32_t Provide::Target::Reader::getExportedCap() const {
KJ_IREQUIRE(which() == Provide::Target::EXPORTED_CAP,
"Must check which() before get()ing a union member.");
return _reader.getDataField< ::uint32_t>(
1 * ::capnp::ELEMENTS);
}
inline ::uint32_t Provide::Target::Builder::getExportedCap() {
KJ_IREQUIRE(which() == Provide::Target::EXPORTED_CAP,
"Must check which() before get()ing a union member.");
return _builder.getDataField< ::uint32_t>(
1 * ::capnp::ELEMENTS);
}
inline void Provide::Target::Builder::setExportedCap( ::uint32_t value) {
_builder.setDataField<Provide::Target::Which>(
4 * ::capnp::ELEMENTS, Provide::Target::EXPORTED_CAP);
_builder.setDataField< ::uint32_t>(
1 * ::capnp::ELEMENTS, value);
}
inline bool Provide::Target::Reader::isPromisedAnswer() const {
return which() == Provide::Target::PROMISED_ANSWER;
}
inline bool Provide::Target::Builder::isPromisedAnswer() {
return which() == Provide::Target::PROMISED_ANSWER;
}
inline bool Provide::Target::Reader::hasPromisedAnswer() const {
if (which() != Provide::Target::PROMISED_ANSWER) return false;
return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
}
inline bool Provide::Target::Builder::hasPromisedAnswer() {
if (which() != Provide::Target::PROMISED_ANSWER) return false;
return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
}
inline ::capnp::rpc::PromisedAnswer::Reader Provide::Target::Reader::getPromisedAnswer() const {
KJ_IREQUIRE(which() == Provide::Target::PROMISED_ANSWER,
"Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::get(
_reader.getPointerField(0 * ::capnp::POINTERS));
}
inline ::capnp::rpc::PromisedAnswer::Builder Provide::Target::Builder::getPromisedAnswer() {
KJ_IREQUIRE(which() == Provide::Target::PROMISED_ANSWER,
"Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::get(
_builder.getPointerField(0 * ::capnp::POINTERS));
}
inline void Provide::Target::Builder::setPromisedAnswer( ::capnp::rpc::PromisedAnswer::Reader value) {
_builder.setDataField<Provide::Target::Which>(
4 * ::capnp::ELEMENTS, Provide::Target::PROMISED_ANSWER);
::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::set(
_builder.getPointerField(0 * ::capnp::POINTERS), value);
}
inline ::capnp::rpc::PromisedAnswer::Builder Provide::Target::Builder::initPromisedAnswer() {
_builder.setDataField<Provide::Target::Which>(
4 * ::capnp::ELEMENTS, Provide::Target::PROMISED_ANSWER);
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::init(
_builder.getPointerField(0 * ::capnp::POINTERS));
}
inline void Provide::Target::Builder::adoptPromisedAnswer(
::capnp::Orphan< ::capnp::rpc::PromisedAnswer>&& value) {
_builder.setDataField<Provide::Target::Which>(
4 * ::capnp::ELEMENTS, Provide::Target::PROMISED_ANSWER);
::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::adopt(
_builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
}
inline ::capnp::Orphan< ::capnp::rpc::PromisedAnswer> Provide::Target::Builder::disownPromisedAnswer() {
KJ_IREQUIRE(which() == Provide::Target::PROMISED_ANSWER,
"Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::disown(
_builder.getPointerField(0 * ::capnp::POINTERS));
}
inline ::uint32_t Accept::Reader::getQuestionId() const { inline ::uint32_t Accept::Reader::getQuestionId() const {
return _reader.getDataField< ::uint32_t>( return _reader.getDataField< ::uint32_t>(
0 * ::capnp::ELEMENTS); 0 * ::capnp::ELEMENTS);
...@@ -4895,6 +4305,91 @@ inline ::capnp::ObjectPointer::Builder Join::Builder::initKeyPart() { ...@@ -4895,6 +4305,91 @@ inline ::capnp::ObjectPointer::Builder Join::Builder::initKeyPart() {
return result; return result;
} }
inline MessageTarget::Which MessageTarget::Reader::which() const {
return _reader.getDataField<Which>(2 * ::capnp::ELEMENTS);
}
inline MessageTarget::Which MessageTarget::Builder::which() {
return _builder.getDataField<Which>(2 * ::capnp::ELEMENTS);
}
inline bool MessageTarget::Reader::isExportedCap() const {
return which() == MessageTarget::EXPORTED_CAP;
}
inline bool MessageTarget::Builder::isExportedCap() {
return which() == MessageTarget::EXPORTED_CAP;
}
inline ::uint32_t MessageTarget::Reader::getExportedCap() const {
KJ_IREQUIRE(which() == MessageTarget::EXPORTED_CAP,
"Must check which() before get()ing a union member.");
return _reader.getDataField< ::uint32_t>(
0 * ::capnp::ELEMENTS);
}
inline ::uint32_t MessageTarget::Builder::getExportedCap() {
KJ_IREQUIRE(which() == MessageTarget::EXPORTED_CAP,
"Must check which() before get()ing a union member.");
return _builder.getDataField< ::uint32_t>(
0 * ::capnp::ELEMENTS);
}
inline void MessageTarget::Builder::setExportedCap( ::uint32_t value) {
_builder.setDataField<MessageTarget::Which>(
2 * ::capnp::ELEMENTS, MessageTarget::EXPORTED_CAP);
_builder.setDataField< ::uint32_t>(
0 * ::capnp::ELEMENTS, value);
}
inline bool MessageTarget::Reader::isPromisedAnswer() const {
return which() == MessageTarget::PROMISED_ANSWER;
}
inline bool MessageTarget::Builder::isPromisedAnswer() {
return which() == MessageTarget::PROMISED_ANSWER;
}
inline bool MessageTarget::Reader::hasPromisedAnswer() const {
if (which() != MessageTarget::PROMISED_ANSWER) return false;
return !_reader.getPointerField(0 * ::capnp::POINTERS).isNull();
}
inline bool MessageTarget::Builder::hasPromisedAnswer() {
if (which() != MessageTarget::PROMISED_ANSWER) return false;
return !_builder.getPointerField(0 * ::capnp::POINTERS).isNull();
}
inline ::capnp::rpc::PromisedAnswer::Reader MessageTarget::Reader::getPromisedAnswer() const {
KJ_IREQUIRE(which() == MessageTarget::PROMISED_ANSWER,
"Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::get(
_reader.getPointerField(0 * ::capnp::POINTERS));
}
inline ::capnp::rpc::PromisedAnswer::Builder MessageTarget::Builder::getPromisedAnswer() {
KJ_IREQUIRE(which() == MessageTarget::PROMISED_ANSWER,
"Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::get(
_builder.getPointerField(0 * ::capnp::POINTERS));
}
inline void MessageTarget::Builder::setPromisedAnswer( ::capnp::rpc::PromisedAnswer::Reader value) {
_builder.setDataField<MessageTarget::Which>(
2 * ::capnp::ELEMENTS, MessageTarget::PROMISED_ANSWER);
::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::set(
_builder.getPointerField(0 * ::capnp::POINTERS), value);
}
inline ::capnp::rpc::PromisedAnswer::Builder MessageTarget::Builder::initPromisedAnswer() {
_builder.setDataField<MessageTarget::Which>(
2 * ::capnp::ELEMENTS, MessageTarget::PROMISED_ANSWER);
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::init(
_builder.getPointerField(0 * ::capnp::POINTERS));
}
inline void MessageTarget::Builder::adoptPromisedAnswer(
::capnp::Orphan< ::capnp::rpc::PromisedAnswer>&& value) {
_builder.setDataField<MessageTarget::Which>(
2 * ::capnp::ELEMENTS, MessageTarget::PROMISED_ANSWER);
::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::adopt(
_builder.getPointerField(0 * ::capnp::POINTERS), kj::mv(value));
}
inline ::capnp::Orphan< ::capnp::rpc::PromisedAnswer> MessageTarget::Builder::disownPromisedAnswer() {
KJ_IREQUIRE(which() == MessageTarget::PROMISED_ANSWER,
"Must check which() before get()ing a union member.");
return ::capnp::_::PointerHelpers< ::capnp::rpc::PromisedAnswer>::disown(
_builder.getPointerField(0 * ::capnp::POINTERS));
}
inline CapDescriptor::Which CapDescriptor::Reader::which() const { inline CapDescriptor::Which CapDescriptor::Reader::which() const {
return _reader.getDataField<Which>(2 * ::capnp::ELEMENTS); return _reader.getDataField<Which>(2 * ::capnp::ELEMENTS);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment