diff --git a/c++.capnp b/c++.capnp new file mode 100644 index 0000000..90b3542 --- /dev/null +++ b/c++.capnp @@ -0,0 +1,27 @@ +# Copyright (c) 2013, Kenton Varda +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, this +# list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +@0xbdf87d7bb8304e81; +$namespace("capnproto::annotations"); + +annotation namespace(file): Text; diff --git a/capnp.tmpl.pxd b/capnp.tmpl.pxd new file mode 100644 index 0000000..1aac7c4 --- /dev/null +++ b/capnp.tmpl.pxd @@ -0,0 +1,96 @@ +# schema.capnp.cpp.pyx +# distutils: language = c++ +# distutils: extra_compile_args = --std=c++11 +# distutils: libraries = capnp + +from libc.stdint cimport * +ctypedef unsigned int uint +ctypedef uint8_t UInt8 +ctypedef uint16_t UInt16 +ctypedef uint32_t UInt32 +ctypedef uint64_t UInt64 +ctypedef int8_t Int8 +ctypedef int16_t Int16 +ctypedef int32_t Int32 +ctypedef int64_t Int64 + +ctypedef char * Data +ctypedef char * Object +ctypedef char * Text +ctypedef bint Bool +ctypedef float Float32 +ctypedef double Float64 + +cdef extern from "capnp/message.h" namespace "::capnp": + cdef cppclass List[T]: + cppclass Reader: + T operator[](uint) + uint size() + cppclass Builder: + T operator[](uint) + uint size() + +cdef extern from "schema.capnp.h" namespace "::capnp::schema": +{%- for node_name, node_dict in nodes.items() %} + cdef cppclass {{node_name|capitalize}} +{%- endfor %} + +{%- for node_name, node_dict in nodes.items() recursive %} + {{ 'cdef ' if loop.depth == 1 }}cppclass {{node_name|capitalize}}: + + {%- for node_name, node_dict in node_dict['nestedNodes'].items() %} + cppclass {{node_name|capitalize}} + {%- endfor %} + + {{ loop(node_dict['nestedNodes'].items()) | indent }} + cppclass Reader: + {%- for member_name, member_dict in node_dict['members'].items() %} + {{member_dict['type']}}{{'.Reader' if member_dict.get('type', '').startswith('List') }} get{{member_name|capitalize}}() + {%- endfor %} + cppclass Builder: + {%- for member_name, member_dict in node_dict['members'].items() %} + {{member_dict['type']}}{{'.Builder' if member_dict.get('type', '').startswith('List') }} get{{member_name|capitalize}}() + {%- if member_dict.get('type', '').startswith('List') %} + {{member_dict['type']}}.Builder init{{member_name|capitalize}}(int) + {%- else %} + {{' ' if not member_dict['type']}}void set{{member_name|capitalize}}({{member_dict['type']}}) + {%- endif %} + {%- endfor %} +{%- endfor %} + +cdef extern from "capnp/message.h" namespace "::capnp": + cdef cppclass ReaderOptions: + uint64_t traversalLimitInWords + uint nestingLimit + + cdef cppclass MessageBuilder: +{%- for name, values in nodes.items() %} + {{name}}.Builder getRoot{{name}}'getRoot<{{namespace}}::{{name}}>'() + {{name}}.Builder initRoot{{name}}'initRoot<{{namespace}}::{{name}}>'() +{%- endfor %} + + cdef cppclass MessageReader: +{%- for name, values in nodes.items() %} + {{name}}.Reader getRoot{{name}}'getRoot<{{namespace}}::{{name}}>'() +{%- endfor %} + + cdef cppclass MallocMessageBuilder(MessageBuilder): + MallocMessageBuilder() + MallocMessageBuilder(int) + + enum Void: + VOID + +cdef extern from "capnp/serialize.h" namespace "::capnp": + cdef cppclass StreamFdMessageReader(MessageReader): + StreamFdMessageReader(int) + StreamFdMessageReader(int, ReaderOptions) + + void writeMessageToFd(int, MessageBuilder&) + +cdef extern from "capnp/serialize-packed.h" namespace "::capnp": + cdef cppclass PackedFdMessageReader(MessageReader): + PackedFdMessageReader(int) + StreamFdMessageReader(int, ReaderOptions) + + void writePackedMessageToFd(int, MessageBuilder&) diff --git a/capnp.tmpl.pyx b/capnp.tmpl.pyx new file mode 100644 index 0000000..cf6ec37 --- /dev/null +++ b/capnp.tmpl.pyx @@ -0,0 +1,175 @@ +# schema.capnp.cpp.pyx +# distutils: language = c++ +# distutils: extra_compile_args = --std=c++11 +# distutils: libraries = capnp + +cimport capnp_schema as capnp +from capnp_schema cimport {% for node_name, node_dict in nodes.items() %}{{node_name|capitalize}} as C_{{node_name|capitalize}}{{',' if not loop.last}}{% endfor %} + +# from capnp_schema cimport * +# Not doing this since we want to namespace away the class names + +from cython.operator cimport dereference as deref + +from libc.stdint cimport * +ctypedef unsigned int uint +ctypedef uint8_t UInt8 +ctypedef uint16_t UInt16 +ctypedef uint32_t UInt32 +ctypedef uint64_t UInt64 +ctypedef int8_t Int8 +ctypedef int16_t Int16 +ctypedef int32_t Int32 +ctypedef int64_t Int64 + +ctypedef char * Data +ctypedef char * Object +ctypedef char * Text +ctypedef bint Bool +ctypedef float Float32 +ctypedef double Float64 +cdef extern from "capnp/message.h" namespace "::capnp": + cdef cppclass List[T]: + cppclass Reader: + T operator[](uint) + uint size() + cppclass Builder: + T operator[](uint) + uint size() +def make_enum(enum_name, *sequential, **named): + enums = dict(zip(sequential, range(len(sequential))), **named) + reverse = dict((value, key) for key, value in enums.iteritems()) + enums['reverse_mapping'] = reverse + return type(enum_name, (), enums) + +{%- for list_name, list_dict in list_types.items() %} +cdef class _{{ list_name |replace('[', '_')|replace(']','_')|replace('.','_')}}Reader: + cdef List[{{ list_dict['elem_type_cython'] }}].Reader thisptr + cdef init(self, List[{{ list_dict['elem_type_cython'] }}].Reader other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + {%- if list_dict['elem_type'] in built_in_types %} + return self.thisptr[index] + {%- else %} + return _{{ list_dict['elem_type']|replace('.','_') }}Reader().init(<{{ list_dict['elem_type_cython'] }}.Reader>self.thisptr[index]) + {%- endif %} + + def __len__(self): + return self.thisptr.size() +cdef class _{{ list_name |replace('[', '_')|replace(']','_')|replace('.','_')}}Builder: + cdef List[{{ list_dict['elem_type_cython'] }}].Builder thisptr + cdef init(self, List[{{ list_dict['elem_type_cython'] }}].Builder other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + {%- if list_dict['elem_type'] in built_in_types %} + return self.thisptr[index] + {%- else %} + return _{{ list_dict['elem_type']|replace('.','_') }}Builder().init(<{{ list_dict['elem_type_cython'] }}.Builder>self.thisptr[index]) + {%- endif %} + def __len__(self): + return self.thisptr.size() +{%- endfor %} +{%- for node_name, node_dict in nodes.items() recursive %} +{{ loop(node_dict['nestedNodes'].items()) }} + + {%- if node_dict['body'] != 'enum' %} +cdef class {{ node_dict['full_name_cython'] }}Reader: + cdef C_{{ node_dict['full_name'] }}.Reader thisptr + cdef init(self, C_{{ node_dict['full_name'] }}.Reader other): + self.thisptr = other + return self + {%- for member_name, member_dict in node_dict['members'].items() %} + property {{member_name}}: + def __get__(self): + {%- if member_dict['type'] in primitive_types %} + return self.thisptr.get{{member_name|capitalize}}() + {%- elif member_dict['type'].startswith('List[') %} + return _{{ member_dict['type'] |replace('[', '_')|replace(']','_')|replace('.','_')}}Reader().init(self.thisptr.get{{member_name|capitalize}}()) + {%- elif member_dict['type'] in built_in_types %} + return None + {%- else %} + return _{{ member_dict['full_type']|replace('.','_') }}Reader().init(self.thisptr.get{{member_name|capitalize}}()) + {%- endif %} + {%- endfor %} + +cdef class {{ node_dict['full_name_cython'] }}Builder: + cdef C_{{ node_dict['full_name'] }}.Builder thisptr + cdef init(self, C_{{ node_dict['full_name'] }}.Builder other): + self.thisptr = other + return self + {%- for member_name, member_dict in node_dict['members'].items() %} + property {{member_name}}: + def __get__(self): + {%- if member_dict['type'] in primitive_types %} + return self.thisptr.get{{member_name|capitalize}}() + {%- elif member_dict['type'].startswith('List[') %} + return _{{ member_dict['type'] |replace('[', '_')|replace(']','_')|replace('.','_')}}Builder().init(self.thisptr.get{{member_name|capitalize}}()) + {%- elif member_dict['type'] in built_in_types %} + return None + {%- else %} + return _{{ member_dict['full_type']|replace('.','_') }}Builder().init(self.thisptr.get{{member_name|capitalize}}()) + {%- endif %} + {%- if member_dict['type'] in primitive_types %} + def __set__(self, val): + self.thisptr.set{{member_name|capitalize}}(val) + {%- elif member_dict['type'].startswith('List[') %} + cpdef init{{member_name|capitalize}}(self, uint num): + return _{{ member_dict['type'] |replace('[', '_')|replace(']','_')|replace('.','_')}}Builder().init(self.thisptr.init{{member_name|capitalize}}(num)) + {%- else %} + def __set__(self, val): + pass + {%- endif %} + {%- endfor %} + {%- endif %} +{%- endfor %} + +cdef class MessageBuilder: + cdef capnp.MessageBuilder * thisptr + def __dealloc__(self): + del self.thisptr +{%- for name, node_dict in nodes.items() %} + {%- if node_dict['body'] != 'enum' %} + cpdef getRoot{{name}}(self): + return {{ node_dict['full_name_cython'] }}Builder().init(self.thisptr.getRoot{{name}}()) + cpdef initRoot{{name}}(self): + return {{ node_dict['full_name_cython'] }}Builder().init(self.thisptr.initRoot{{name}}()) + {%- endif %} +{%- endfor %} +cdef class MallocMessageBuilder(MessageBuilder): + def __cinit__(self): + self.thisptr = new capnp.MallocMessageBuilder() + + +cdef class MessageReader: + cdef capnp.MessageReader * thisptr + def __dealloc__(self): + del self.thisptr +{%- for name, node_dict in nodes.items() %} + {%- if node_dict['body'] != 'enum' %} + cpdef getRoot{{name}}(self): + return {{ node_dict['full_name_cython'] }}Reader().init(self.thisptr.getRoot{{name}}()) + {%- endif %} +{%- endfor %} + +cdef class StreamFdMessageReader(MessageReader): + def __cinit__(self, int fd): + self.thisptr = new capnp.StreamFdMessageReader(int) + +cdef class PackedFdMessageReader(MessageReader): + def __cinit__(self, int fd): + self.thisptr = new capnp.PackedFdMessageReader(int) + +def writeMessageToFd(int fd, MessageBuilder m): + capnp.writeMessageToFd(fd, deref(m.thisptr)) +def writePackedMessageToFd(int fd, MessageBuilder m): + capnp.writePackedMessageToFd(fd, deref(m.thisptr)) \ No newline at end of file diff --git a/schema.capnp b/schema.capnp new file mode 100644 index 0000000..eddc8f2 --- /dev/null +++ b/schema.capnp @@ -0,0 +1,314 @@ +# Copyright (c) 2013, Kenton Varda +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, this +# list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +using Cxx = import "c++.capnp"; + +@0xb471df2f45ca32c7; +$Cxx.namespace("capnp::schema"); + +# WARNING: This protocol is still subject to backwards-incompatible change. + +using Id = UInt64; +# The globally-unique ID of a file, type, or annotation. + +struct Node { + id @0 :Id; + + displayName @1 :Text; + # Name to present to humans to identify this Node. You should not attempt to parse this. Its + # format could change. It is not guaranteed to be unique. + # + # (On Zooko's triangle, this is the node's nickname.) + + scopeId @2 :Id = 0; + # ID of the lexical parent node. Typically, the scope node will have a NestedNode pointing back + # at this node, but robust code should avoid relying on this. `scopeId` is zero if the node has + # no parent, which is normally only the case with files, but should be allowed for any kind of + # node (in order to make runtime type generation easier). + + nestedNodes @3 :List(NestedNode); + # List of nodes nested within this node, along with the names under which they were declared. + + struct NestedNode { + name @0 :Text; + # Unqualified symbol name. Unlike Node.name, this *can* be used programmatically. + # + # (On Zooko's triangle, this is the node's petname according to its parent scope.) + + id @1 :Id; + # ID of the nested node. Typically, the target node's scopeId points back to this node, but + # robust code should avoid relying on this. + } + + annotations @4 :List(Annotation); + # Annotations applied to this node. + + body @5 union { + # Info specific to each kind of node. + + fileNode @6 :FileNode; + structNode @7 :StructNode; + enumNode @8 :EnumNode; + interfaceNode @9 :InterfaceNode; + constNode @10 :ConstNode; + annotationNode @11 :AnnotationNode; + } +} + +struct Type { + # Represents a type expression. + + body @0 union { + voidType @1 :Void; + boolType @2 :Void; + int8Type @3 :Void; + int16Type @4 :Void; + int32Type @5 :Void; + int64Type @6 :Void; + uint8Type @7 :Void; + uint16Type @8 :Void; + uint32Type @9 :Void; + uint64Type @10 :Void; + float32Type @11 :Void; + float64Type @12 :Void; + textType @13 :Void; + dataType @14 :Void; + + listType @15 :Type; # Value = the element type. + + enumType @16 :Id; + structType @17 :Id; + interfaceType @18 :Id; + + objectType @19 :Void; + } +} + +struct Value { + # Represents a value, e.g. a field default value, constant value, or annotation value. + + body @0 union { + # Note ordinals 1 and 10 are intentionally swapped to improve union layout. + voidValue @10 :Void; + boolValue @2 :Bool; + int8Value @3 :Int8; + int16Value @4 :Int16; + int32Value @5 :Int32; + int64Value @6 :Int64; + uint8Value @7 :UInt8; + uint16Value @8 :UInt16; + uint32Value @9 :UInt32; + uint64Value @1 :UInt64; + float32Value @11 :Float32; + float64Value @12 :Float64; + textValue @13 :Text; + dataValue @14 :Data; + + listValue @15 :Object; + + enumValue @16 :UInt16; + structValue @17 :Object; + + interfaceValue @18 :Void; + # The only interface value that can be represented statically is "null", whose methods always + # throw exceptions. + + objectValue @19 :Object; + } +} + +struct Annotation { + # Describes an annotation applied to a declaration. Note AnnotationNode describes the + # annotation's declaration, while this describes a use of the annotation. + + id @0 :Id; + # ID of the annotation node. + + value @1 :Value; +} + +struct FileNode { + imports @0 :List(Import); + struct Import { + id @0 :Id; + # ID of the imported file. + + name @1 :Text; + # Name which *this* file used to refer to the foreign file. This may be a relative name. + # This information is provided because it might be useful for code generation, e.g. to generate + # #include directives in C++. + # + # (On Zooko's triangle, this is the import's petname according to the importing file.) + } +} + +enum ElementSize { + # Possible element sizes for encoded lists. These correspond exactly to the possible values of + # the 3-bit element size component of a list pointer. + + empty @0; # aka "void", but that's a keyword. + bit @1; + byte @2; + twoBytes @3; + fourBytes @4; + eightBytes @5; + pointer @6; + inlineComposite @7; +} + +struct StructNode { + dataSectionWordSize @0 :UInt16; + pointerSectionSize @1 :UInt16; + + preferredListEncoding @2 :ElementSize; + # The preferred element size to use when encoding a list of this struct. If this is anything + # other than `inlineComposite` then the struct is one word or less in size and is a candidate for + # list packing optimization. + + members @3 :List(Member); + # Top-level fields and unions of the struct, ordered by ordinal number, except that members of + # unions are not included in this list (because they are nested inside the union declaration). + # Note that this ordering is stable as the protocol evolves -- new members can only be added to + # the end. So, when encoding a struct as tag/value pairs with numeric tags, it actually may make + # sense to use the field's position in this list rather than the original ordinal number to + # identify fields. + + struct Member { + name @0 :Text; + + ordinal @1 :UInt16; + + codeOrder @2 :UInt16; + # Indicates where this member appeared in the code, relative to other members. + # Code ordering may have semantic relevance -- programmers tend to place related fields + # together. So, using code ordering makes sense in human-readable formats where ordering is + # otherwise irrelevant, like JSON. The values of codeOrder are tightly-packed, so the maximum + # value is count(members) - 1. Fields that are members of a union are only ordered relative to + # the other members of that union, so the maximum value there is count(union.members). + + annotations @3 :List(Annotation); + + body @4 union { + # More member types could be added over time. Consumers should skip those that they + # don't understand. + + fieldMember @5 :Field; + unionMember @6 :Union; + } + } + + struct Field { + offset @0 :UInt32; + # Offset, in units of the field's size, from the beginning of the section in which the field + # resides. E.g. for a UInt32 field, multiply this by 4 to get the byte offset from the + # beginning of the data section. + + type @1 :Type; + defaultValue @2 :Value; + } + + struct Union { + discriminantOffset @0 :UInt32; + # Offset of the union's 16-bit discriminant within the struct's data section, in 16-bit units. + + members @1 :List(Member); + # Fields of this union, ordered by ordinal. Currently all members are fields, but + # consumers should skip member types that they don't understand. The first member in this list + # gets discriminant value zero, the next gets one, and so on. + } +} + +struct EnumNode { + enumerants @0 :List(Enumerant); + # Enumerants, in order by ordinal. + + struct Enumerant { + name @0 :Text; + + codeOrder @1 :UInt16; + # Specifies order in which the enumerants were declared in the code. + # Like Struct.Field.codeOrder. + + annotations @2 :List(Annotation); + } +} + +struct InterfaceNode { + methods @0 :List(Method); + # Methods, in order by ordinal. + + struct Method { + name @0 :Text; + + codeOrder @1 :UInt16; + # Specifies order in which the methods were declared in the code. + # Like Struct.Field.codeOrder. + + params @2 :List(Param); + struct Param { + name @0 :Text; + type @1 :Type; + defaultValue @2 :Value; + annotations @3 :List(Annotation); + } + + requiredParamCount @3 :UInt16; + # One plus the index of the last parameter that has no default value. In languages where + # method calls look like function calls, this is the minimum number of parameters that must + # always be specified, while subsequent parameters are optional. + + returnType @4 :Type; + + annotations @5 :List(Annotation); + } +} + +struct ConstNode { + type @0 :Type; + value @1 :Value; +} + +struct AnnotationNode { + type @0 :Type; + + targetsFile @1 :Bool; + targetsConst @2 :Bool; + targetsEnum @3 :Bool; + targetsEnumerant @4 :Bool; + targetsStruct @5 :Bool; + targetsField @6 :Bool; + targetsUnion @7 :Bool; + targetsInterface @8 :Bool; + targetsMethod @9 :Bool; + targetsParam @10 :Bool; + targetsAnnotation @11 :Bool; +} + +struct CodeGeneratorRequest { + nodes @0 :List(Node); + # All nodes parsed by the compiler, including for the files on the command line and their + # imports. + + requestedFiles @1 :List(Id); + # IDs of files which were listed on the command line. +} diff --git a/schema.capnp.c++ b/schema.capnp.c++ new file mode 100644 index 0000000..3827f57 --- /dev/null +++ b/schema.capnp.c++ @@ -0,0 +1,2510 @@ +// Generated code, DO NOT EDIT + +#include "schema.capnp.h" + +namespace capnp { +namespace schema { + + +} // namespace +} // namespace + +namespace capnp { +namespace schemas { + +static const ::capnp::_::AlignedData<46> b_db785131c0cfee73 = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 115, 238, 207, 192, 49, 81, 120, 219, + 199, 50, 202, 69, 47, 223, 113, 180, + 1, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 194, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 20, 0, 0, 0, 1, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 65, 110, 110, + 111, 116, 97, 116, 105, 111, 110, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 1, 0, 7, 0, 0, 0, + 1, 0, 0, 0, 71, 0, 0, 0, + 8, 0, 0, 0, 1, 0, 3, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 25, 0, 0, 0, 26, 0, 0, 0, + 25, 0, 0, 0, 7, 0, 0, 0, + 24, 0, 0, 0, 1, 0, 2, 0, + 1, 0, 1, 0, 0, 0, 0, 0, + 53, 0, 0, 0, 50, 0, 0, 0, + 53, 0, 0, 0, 7, 0, 0, 0, + 52, 0, 0, 0, 1, 0, 2, 0, + 105, 100, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 9, 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, + 118, 97, 108, 117, 101, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 238, 105, 34, 226, 174, 104, 199, 194, + 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_db785131c0cfee73[] = { + &s_c2c768aee22269ee, +}; +static const ::capnp::_::RawSchema::MemberInfo m_db785131c0cfee73[] = { + { 0, 0 }, + { 0, 1 }, +}; +const ::capnp::_::RawSchema s_db785131c0cfee73 = { + b_db785131c0cfee73.words, d_db785131c0cfee73, m_db785131c0cfee73, + 1, 2, nullptr +}; +static const ::capnp::_::AlignedData<211> b_f386f41ae9f5cbe5 = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 229, 203, 245, 233, 26, 244, 134, 243, + 199, 50, 202, 69, 47, 223, 113, 180, + 1, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 226, 0, 0, 0, + 25, 0, 0, 0, 7, 0, 0, 0, + 25, 0, 0, 0, 7, 0, 0, 0, + 24, 0, 0, 0, 1, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 65, 110, 110, + 111, 116, 97, 116, 105, 111, 110, 78, + 111, 100, 101, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 1, 0, 7, 0, 0, 0, + 1, 0, 0, 0, 135, 1, 0, 0, + 48, 0, 0, 0, 1, 0, 3, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 185, 0, 0, 0, 42, 0, 0, 0, + 185, 0, 0, 0, 7, 0, 0, 0, + 184, 0, 0, 0, 1, 0, 2, 0, + 1, 0, 1, 0, 0, 0, 0, 0, + 213, 0, 0, 0, 98, 0, 0, 0, + 217, 0, 0, 0, 7, 0, 0, 0, + 216, 0, 0, 0, 1, 0, 2, 0, + 2, 0, 2, 0, 0, 0, 0, 0, + 245, 0, 0, 0, 106, 0, 0, 0, + 249, 0, 0, 0, 7, 0, 0, 0, + 248, 0, 0, 0, 1, 0, 2, 0, + 3, 0, 3, 0, 0, 0, 0, 0, + 21, 1, 0, 0, 98, 0, 0, 0, + 25, 1, 0, 0, 7, 0, 0, 0, + 24, 1, 0, 0, 1, 0, 2, 0, + 4, 0, 4, 0, 0, 0, 0, 0, + 53, 1, 0, 0, 138, 0, 0, 0, + 61, 1, 0, 0, 7, 0, 0, 0, + 60, 1, 0, 0, 1, 0, 2, 0, + 5, 0, 5, 0, 0, 0, 0, 0, + 89, 1, 0, 0, 114, 0, 0, 0, + 93, 1, 0, 0, 7, 0, 0, 0, + 92, 1, 0, 0, 1, 0, 2, 0, + 6, 0, 6, 0, 0, 0, 0, 0, + 121, 1, 0, 0, 106, 0, 0, 0, + 125, 1, 0, 0, 7, 0, 0, 0, + 124, 1, 0, 0, 1, 0, 2, 0, + 7, 0, 7, 0, 0, 0, 0, 0, + 153, 1, 0, 0, 106, 0, 0, 0, + 157, 1, 0, 0, 7, 0, 0, 0, + 156, 1, 0, 0, 1, 0, 2, 0, + 8, 0, 8, 0, 0, 0, 0, 0, + 185, 1, 0, 0, 138, 0, 0, 0, + 193, 1, 0, 0, 7, 0, 0, 0, + 192, 1, 0, 0, 1, 0, 2, 0, + 9, 0, 9, 0, 0, 0, 0, 0, + 221, 1, 0, 0, 114, 0, 0, 0, + 225, 1, 0, 0, 7, 0, 0, 0, + 224, 1, 0, 0, 1, 0, 2, 0, + 10, 0, 10, 0, 0, 0, 0, 0, + 253, 1, 0, 0, 106, 0, 0, 0, + 1, 2, 0, 0, 7, 0, 0, 0, + 0, 2, 0, 0, 1, 0, 2, 0, + 11, 0, 11, 0, 0, 0, 0, 0, + 29, 2, 0, 0, 146, 0, 0, 0, + 37, 2, 0, 0, 7, 0, 0, 0, + 36, 2, 0, 0, 1, 0, 2, 0, + 116, 121, 112, 101, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 66, 158, 41, 238, 169, 169, 220, 221, + 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, + 116, 97, 114, 103, 101, 116, 115, 70, + 105, 108, 101, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 1, 0, 0, 0, 0, 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, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 116, 97, 114, 103, 101, 116, 115, 67, + 111, 110, 115, 116, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 1, 0, 0, 0, 0, 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, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 116, 97, 114, 103, 101, 116, 115, 69, + 110, 117, 109, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 2, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 1, 0, 0, 0, 0, 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, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 116, 97, 114, 103, 101, 116, 115, 69, + 110, 117, 109, 101, 114, 97, 110, 116, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 3, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 1, 0, 0, 0, 0, 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, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 116, 97, 114, 103, 101, 116, 115, 83, + 116, 114, 117, 99, 116, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 4, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 1, 0, 0, 0, 0, 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, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 116, 97, 114, 103, 101, 116, 115, 70, + 105, 101, 108, 100, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 5, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 1, 0, 0, 0, 0, 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, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 116, 97, 114, 103, 101, 116, 115, 85, + 110, 105, 111, 110, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 6, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 1, 0, 0, 0, 0, 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, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 116, 97, 114, 103, 101, 116, 115, 73, + 110, 116, 101, 114, 102, 97, 99, 101, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 7, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 1, 0, 0, 0, 0, 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, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 116, 97, 114, 103, 101, 116, 115, 77, + 101, 116, 104, 111, 100, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 8, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 1, 0, 0, 0, 0, 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, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 116, 97, 114, 103, 101, 116, 115, 80, + 97, 114, 97, 109, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 9, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 1, 0, 0, 0, 0, 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, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 116, 97, 114, 103, 101, 116, 115, 65, + 110, 110, 111, 116, 97, 116, 105, 111, + 110, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 10, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 1, 0, 0, 0, 0, 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, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0 } +}; +static const ::capnp::_::RawSchema* const d_f386f41ae9f5cbe5[] = { + &s_dddca9a9ee299e42, +}; +static const ::capnp::_::RawSchema::MemberInfo m_f386f41ae9f5cbe5[] = { + { 0, 11 }, + { 0, 2 }, + { 0, 3 }, + { 0, 4 }, + { 0, 6 }, + { 0, 1 }, + { 0, 8 }, + { 0, 9 }, + { 0, 10 }, + { 0, 5 }, + { 0, 7 }, + { 0, 0 }, +}; +const ::capnp::_::RawSchema s_f386f41ae9f5cbe5 = { + b_f386f41ae9f5cbe5.words, d_f386f41ae9f5cbe5, m_f386f41ae9f5cbe5, + 1, 12, nullptr +}; +static const ::capnp::_::AlignedData<55> b_d095654a26e15f1d = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 29, 95, 225, 38, 74, 101, 149, 208, + 199, 50, 202, 69, 47, 223, 113, 180, + 1, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 18, 1, 0, 0, + 29, 0, 0, 0, 7, 0, 0, 0, + 29, 0, 0, 0, 7, 0, 0, 0, + 28, 0, 0, 0, 1, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 67, 111, 100, + 101, 71, 101, 110, 101, 114, 97, 116, + 111, 114, 82, 101, 113, 117, 101, 115, + 116, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 2, 0, 7, 0, 0, 0, + 1, 0, 0, 0, 71, 0, 0, 0, + 8, 0, 0, 0, 1, 0, 3, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 25, 0, 0, 0, 50, 0, 0, 0, + 25, 0, 0, 0, 7, 0, 0, 0, + 24, 0, 0, 0, 1, 0, 2, 0, + 1, 0, 1, 0, 0, 0, 0, 0, + 65, 0, 0, 0, 122, 0, 0, 0, + 69, 0, 0, 0, 7, 0, 0, 0, + 68, 0, 0, 0, 1, 0, 2, 0, + 110, 111, 100, 101, 115, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 24, 0, 0, 0, 2, 0, 1, 0, + 14, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 149, 193, 100, 230, 190, 155, 174, 150, + 0, 0, 0, 0, 0, 0, 0, 0, + 14, 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, 113, 117, 101, 115, 116, 101, + 100, 70, 105, 108, 101, 115, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 24, 0, 0, 0, 2, 0, 1, 0, + 14, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2, 0, 1, 0, + 9, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 14, 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_d095654a26e15f1d[] = { + &s_96ae9bbee664c195, +}; +static const ::capnp::_::RawSchema::MemberInfo m_d095654a26e15f1d[] = { + { 0, 0 }, + { 0, 1 }, +}; +const ::capnp::_::RawSchema s_d095654a26e15f1d = { + b_d095654a26e15f1d.words, d_d095654a26e15f1d, m_d095654a26e15f1d, + 1, 2, nullptr +}; +static const ::capnp::_::AlignedData<46> b_8f0cf892b24a8062 = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 98, 128, 74, 178, 146, 248, 12, 143, + 199, 50, 202, 69, 47, 223, 113, 180, + 1, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 186, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 20, 0, 0, 0, 1, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 67, 111, 110, + 115, 116, 78, 111, 100, 101, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 2, 0, 7, 0, 0, 0, + 1, 0, 0, 0, 71, 0, 0, 0, + 8, 0, 0, 0, 1, 0, 3, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 25, 0, 0, 0, 42, 0, 0, 0, + 25, 0, 0, 0, 7, 0, 0, 0, + 24, 0, 0, 0, 1, 0, 2, 0, + 1, 0, 1, 0, 0, 0, 0, 0, + 53, 0, 0, 0, 50, 0, 0, 0, + 53, 0, 0, 0, 7, 0, 0, 0, + 52, 0, 0, 0, 1, 0, 2, 0, + 116, 121, 112, 101, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 66, 158, 41, 238, 169, 169, 220, 221, + 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, + 118, 97, 108, 117, 101, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 238, 105, 34, 226, 174, 104, 199, 194, + 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_8f0cf892b24a8062[] = { + &s_c2c768aee22269ee, + &s_dddca9a9ee299e42, +}; +static const ::capnp::_::RawSchema::MemberInfo m_8f0cf892b24a8062[] = { + { 0, 0 }, + { 0, 1 }, +}; +const ::capnp::_::RawSchema s_8f0cf892b24a8062 = { + b_8f0cf892b24a8062.words, d_8f0cf892b24a8062, m_8f0cf892b24a8062, + 2, 2, nullptr +}; +static const ::capnp::_::AlignedData<60> b_d7326bd22e1c298c = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 140, 41, 28, 46, 210, 107, 50, 215, + 199, 50, 202, 69, 47, 223, 113, 180, + 2, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 202, 0, 0, 0, + 25, 0, 0, 0, 7, 0, 0, 0, + 25, 0, 0, 0, 7, 0, 0, 0, + 24, 0, 0, 0, 0, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 69, 108, 101, + 109, 101, 110, 116, 83, 105, 122, 101, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 199, 0, 0, 0, + 32, 0, 0, 0, 1, 0, 2, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 89, 0, 0, 0, 50, 0, 0, 0, + 89, 0, 0, 0, 7, 0, 0, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 85, 0, 0, 0, 34, 0, 0, 0, + 85, 0, 0, 0, 7, 0, 0, 0, + 2, 0, 0, 0, 0, 0, 0, 0, + 81, 0, 0, 0, 42, 0, 0, 0, + 81, 0, 0, 0, 7, 0, 0, 0, + 3, 0, 0, 0, 0, 0, 0, 0, + 77, 0, 0, 0, 74, 0, 0, 0, + 81, 0, 0, 0, 7, 0, 0, 0, + 4, 0, 0, 0, 0, 0, 0, 0, + 77, 0, 0, 0, 82, 0, 0, 0, + 81, 0, 0, 0, 7, 0, 0, 0, + 5, 0, 0, 0, 0, 0, 0, 0, + 77, 0, 0, 0, 90, 0, 0, 0, + 81, 0, 0, 0, 7, 0, 0, 0, + 6, 0, 0, 0, 0, 0, 0, 0, + 77, 0, 0, 0, 66, 0, 0, 0, + 77, 0, 0, 0, 7, 0, 0, 0, + 7, 0, 0, 0, 0, 0, 0, 0, + 73, 0, 0, 0, 130, 0, 0, 0, + 77, 0, 0, 0, 7, 0, 0, 0, + 101, 109, 112, 116, 121, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 98, 105, 116, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 98, 121, 116, 101, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 116, 119, 111, 66, 121, 116, 101, 115, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 102, 111, 117, 114, 66, 121, 116, 101, + 115, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 101, 105, 103, 104, 116, 66, 121, 116, + 101, 115, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 112, 111, 105, 110, 116, 101, 114, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 105, 110, 108, 105, 110, 101, 67, 111, + 109, 112, 111, 115, 105, 116, 101, 0, + 0, 0, 0, 0, 1, 0, 1, 0 } +}; +static const ::capnp::_::RawSchema* const d_d7326bd22e1c298c[] = { +}; +static const ::capnp::_::RawSchema::MemberInfo m_d7326bd22e1c298c[] = { + { 0, 1 }, + { 0, 2 }, + { 0, 5 }, + { 0, 0 }, + { 0, 4 }, + { 0, 7 }, + { 0, 6 }, + { 0, 3 }, +}; +const ::capnp::_::RawSchema s_d7326bd22e1c298c = { + b_d7326bd22e1c298c.words, d_d7326bd22e1c298c, m_d7326bd22e1c298c, + 0, 8, nullptr +}; +static const ::capnp::_::AlignedData<39> b_d612f44d78962abf = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 191, 42, 150, 120, 77, 244, 18, 214, + 199, 50, 202, 69, 47, 223, 113, 180, + 1, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 178, 0, 0, 0, + 21, 0, 0, 0, 23, 0, 0, 0, + 37, 0, 0, 0, 7, 0, 0, 0, + 36, 0, 0, 0, 1, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 69, 110, 117, + 109, 78, 111, 100, 101, 0, 0, 0, + 4, 0, 0, 0, 1, 0, 1, 0, + 119, 241, 185, 115, 25, 68, 172, 201, + 1, 0, 0, 0, 82, 0, 0, 0, + 69, 110, 117, 109, 101, 114, 97, 110, + 116, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 1, 0, 6, 0, 0, 0, + 1, 0, 0, 0, 39, 0, 0, 0, + 4, 0, 0, 0, 1, 0, 3, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 9, 0, 0, 0, 90, 0, 0, 0, + 13, 0, 0, 0, 7, 0, 0, 0, + 12, 0, 0, 0, 1, 0, 2, 0, + 101, 110, 117, 109, 101, 114, 97, 110, + 116, 115, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 24, 0, 0, 0, 2, 0, 1, 0, + 14, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 119, 241, 185, 115, 25, 68, 172, 201, + 0, 0, 0, 0, 0, 0, 0, 0, + 14, 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_d612f44d78962abf[] = { + &s_c9ac441973b9f177, + &s_db785131c0cfee73, +}; +static const ::capnp::_::RawSchema::MemberInfo m_d612f44d78962abf[] = { + { 0, 0 }, +}; +const ::capnp::_::RawSchema s_d612f44d78962abf = { + b_d612f44d78962abf.words, d_d612f44d78962abf, m_d612f44d78962abf, + 2, 1, nullptr +}; +static const ::capnp::_::AlignedData<66> b_c9ac441973b9f177 = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 119, 241, 185, 115, 25, 68, 172, 201, + 191, 42, 150, 120, 77, 244, 18, 214, + 1, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 186, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 20, 0, 0, 0, 1, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 69, 110, 117, + 109, 101, 114, 97, 110, 116, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 2, 0, 7, 0, 0, 0, + 1, 0, 0, 0, 103, 0, 0, 0, + 12, 0, 0, 0, 1, 0, 3, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 41, 0, 0, 0, 42, 0, 0, 0, + 41, 0, 0, 0, 7, 0, 0, 0, + 40, 0, 0, 0, 1, 0, 2, 0, + 1, 0, 1, 0, 0, 0, 0, 0, + 69, 0, 0, 0, 82, 0, 0, 0, + 73, 0, 0, 0, 7, 0, 0, 0, + 72, 0, 0, 0, 1, 0, 2, 0, + 2, 0, 2, 0, 0, 0, 0, 0, + 101, 0, 0, 0, 98, 0, 0, 0, + 105, 0, 0, 0, 7, 0, 0, 0, + 104, 0, 0, 0, 1, 0, 2, 0, + 110, 97, 109, 101, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 12, 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, 100, 101, 79, 114, 100, 101, + 114, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 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, 0, 0, + 7, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 97, 110, 110, 111, 116, 97, 116, 105, + 111, 110, 115, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 24, 0, 0, 0, 2, 0, 1, 0, + 14, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 115, 238, 207, 192, 49, 81, 120, 219, + 0, 0, 0, 0, 0, 0, 0, 0, + 14, 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_c9ac441973b9f177[] = { + &s_db785131c0cfee73, +}; +static const ::capnp::_::RawSchema::MemberInfo m_c9ac441973b9f177[] = { + { 0, 2 }, + { 0, 1 }, + { 0, 0 }, +}; +const ::capnp::_::RawSchema s_c9ac441973b9f177 = { + b_c9ac441973b9f177.words, d_c9ac441973b9f177, m_c9ac441973b9f177, + 1, 3, nullptr +}; +static const ::capnp::_::AlignedData<37> b_d59c380b31b76b1f = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 31, 107, 183, 49, 11, 56, 156, 213, + 199, 50, 202, 69, 47, 223, 113, 180, + 1, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 178, 0, 0, 0, + 21, 0, 0, 0, 23, 0, 0, 0, + 33, 0, 0, 0, 7, 0, 0, 0, + 32, 0, 0, 0, 1, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 70, 105, 108, + 101, 78, 111, 100, 101, 0, 0, 0, + 4, 0, 0, 0, 1, 0, 1, 0, + 88, 193, 99, 77, 4, 169, 214, 213, + 1, 0, 0, 0, 58, 0, 0, 0, + 73, 109, 112, 111, 114, 116, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 1, 0, 6, 0, 0, 0, + 1, 0, 0, 0, 39, 0, 0, 0, + 4, 0, 0, 0, 1, 0, 3, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 9, 0, 0, 0, 66, 0, 0, 0, + 9, 0, 0, 0, 7, 0, 0, 0, + 8, 0, 0, 0, 1, 0, 2, 0, + 105, 109, 112, 111, 114, 116, 115, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 24, 0, 0, 0, 2, 0, 1, 0, + 14, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 88, 193, 99, 77, 4, 169, 214, 213, + 0, 0, 0, 0, 0, 0, 0, 0, + 14, 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_d59c380b31b76b1f[] = { + &s_d5d6a9044d63c158, +}; +static const ::capnp::_::RawSchema::MemberInfo m_d59c380b31b76b1f[] = { + { 0, 0 }, +}; +const ::capnp::_::RawSchema s_d59c380b31b76b1f = { + b_d59c380b31b76b1f.words, d_d59c380b31b76b1f, m_d59c380b31b76b1f, + 1, 1, nullptr +}; +static const ::capnp::_::AlignedData<46> b_d5d6a9044d63c158 = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 88, 193, 99, 77, 4, 169, 214, 213, + 31, 107, 183, 49, 11, 56, 156, 213, + 1, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 162, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 20, 0, 0, 0, 1, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 73, 109, 112, + 111, 114, 116, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 1, 0, 7, 0, 0, 0, + 1, 0, 0, 0, 71, 0, 0, 0, + 8, 0, 0, 0, 1, 0, 3, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 25, 0, 0, 0, 26, 0, 0, 0, + 25, 0, 0, 0, 7, 0, 0, 0, + 24, 0, 0, 0, 1, 0, 2, 0, + 1, 0, 1, 0, 0, 0, 0, 0, + 53, 0, 0, 0, 42, 0, 0, 0, + 53, 0, 0, 0, 7, 0, 0, 0, + 52, 0, 0, 0, 1, 0, 2, 0, + 105, 100, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 9, 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, + 110, 97, 109, 101, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 12, 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_d5d6a9044d63c158[] = { +}; +static const ::capnp::_::RawSchema::MemberInfo m_d5d6a9044d63c158[] = { + { 0, 0 }, + { 0, 1 }, +}; +const ::capnp::_::RawSchema s_d5d6a9044d63c158 = { + b_d5d6a9044d63c158.words, d_d5d6a9044d63c158, m_d5d6a9044d63c158, + 0, 2, nullptr +}; +static const ::capnp::_::AlignedData<38> b_b8a6ecfa2d5121e6 = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 230, 33, 81, 45, 250, 236, 166, 184, + 199, 50, 202, 69, 47, 223, 113, 180, + 1, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 218, 0, 0, 0, + 25, 0, 0, 0, 23, 0, 0, 0, + 37, 0, 0, 0, 7, 0, 0, 0, + 36, 0, 0, 0, 1, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 73, 110, 116, + 101, 114, 102, 97, 99, 101, 78, 111, + 100, 101, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 1, 0, 1, 0, + 172, 135, 35, 131, 240, 246, 215, 189, + 1, 0, 0, 0, 58, 0, 0, 0, + 77, 101, 116, 104, 111, 100, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 1, 0, 6, 0, 0, 0, + 1, 0, 0, 0, 39, 0, 0, 0, + 4, 0, 0, 0, 1, 0, 3, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 9, 0, 0, 0, 66, 0, 0, 0, + 9, 0, 0, 0, 7, 0, 0, 0, + 8, 0, 0, 0, 1, 0, 2, 0, + 109, 101, 116, 104, 111, 100, 115, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 24, 0, 0, 0, 2, 0, 1, 0, + 14, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 172, 135, 35, 131, 240, 246, 215, 189, + 0, 0, 0, 0, 0, 0, 0, 0, + 14, 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_b8a6ecfa2d5121e6[] = { + &s_bdd7f6f0832387ac, + &s_c2c768aee22269ee, + &s_d6d38cf4e366e91c, + &s_db785131c0cfee73, + &s_dddca9a9ee299e42, +}; +static const ::capnp::_::RawSchema::MemberInfo m_b8a6ecfa2d5121e6[] = { + { 0, 0 }, +}; +const ::capnp::_::RawSchema s_b8a6ecfa2d5121e6 = { + b_b8a6ecfa2d5121e6.words, d_b8a6ecfa2d5121e6, m_b8a6ecfa2d5121e6, + 5, 1, nullptr +}; +static const ::capnp::_::AlignedData<120> b_bdd7f6f0832387ac = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 172, 135, 35, 131, 240, 246, 215, 189, + 230, 33, 81, 45, 250, 236, 166, 184, + 1, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 162, 0, 0, 0, + 21, 0, 0, 0, 23, 0, 0, 0, + 33, 0, 0, 0, 7, 0, 0, 0, + 32, 0, 0, 0, 1, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 77, 101, 116, + 104, 111, 100, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 1, 0, 1, 0, + 28, 233, 102, 227, 244, 140, 211, 214, + 1, 0, 0, 0, 50, 0, 0, 0, + 80, 97, 114, 97, 109, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 4, 0, 7, 0, 0, 0, + 1, 0, 0, 0, 199, 0, 0, 0, + 24, 0, 0, 0, 1, 0, 3, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 89, 0, 0, 0, 42, 0, 0, 0, + 89, 0, 0, 0, 7, 0, 0, 0, + 88, 0, 0, 0, 1, 0, 2, 0, + 1, 0, 1, 0, 0, 0, 0, 0, + 117, 0, 0, 0, 82, 0, 0, 0, + 121, 0, 0, 0, 7, 0, 0, 0, + 120, 0, 0, 0, 1, 0, 2, 0, + 2, 0, 2, 0, 0, 0, 0, 0, + 149, 0, 0, 0, 58, 0, 0, 0, + 149, 0, 0, 0, 7, 0, 0, 0, + 148, 0, 0, 0, 1, 0, 2, 0, + 3, 0, 3, 0, 0, 0, 0, 0, + 189, 0, 0, 0, 154, 0, 0, 0, + 197, 0, 0, 0, 7, 0, 0, 0, + 196, 0, 0, 0, 1, 0, 2, 0, + 4, 0, 4, 0, 0, 0, 0, 0, + 225, 0, 0, 0, 90, 0, 0, 0, + 229, 0, 0, 0, 7, 0, 0, 0, + 228, 0, 0, 0, 1, 0, 2, 0, + 5, 0, 5, 0, 0, 0, 0, 0, + 1, 1, 0, 0, 98, 0, 0, 0, + 5, 1, 0, 0, 7, 0, 0, 0, + 4, 1, 0, 0, 1, 0, 2, 0, + 110, 97, 109, 101, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 12, 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, 100, 101, 79, 114, 100, 101, + 114, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 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, 0, 0, + 7, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 112, 97, 114, 97, 109, 115, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 24, 0, 0, 0, 2, 0, 1, 0, + 14, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 28, 233, 102, 227, 244, 140, 211, 214, + 0, 0, 0, 0, 0, 0, 0, 0, + 14, 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, 113, 117, 105, 114, 101, 100, + 80, 97, 114, 97, 109, 67, 111, 117, + 110, 116, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 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, 0, 0, + 7, 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, 116, 117, 114, 110, 84, 121, + 112, 101, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 2, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 66, 158, 41, 238, 169, 169, 220, 221, + 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, + 97, 110, 110, 111, 116, 97, 116, 105, + 111, 110, 115, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 3, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 24, 0, 0, 0, 2, 0, 1, 0, + 14, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 115, 238, 207, 192, 49, 81, 120, 219, + 0, 0, 0, 0, 0, 0, 0, 0, + 14, 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_bdd7f6f0832387ac[] = { + &s_c2c768aee22269ee, + &s_d6d38cf4e366e91c, + &s_db785131c0cfee73, + &s_dddca9a9ee299e42, +}; +static const ::capnp::_::RawSchema::MemberInfo m_bdd7f6f0832387ac[] = { + { 0, 5 }, + { 0, 1 }, + { 0, 0 }, + { 0, 2 }, + { 0, 3 }, + { 0, 4 }, +}; +const ::capnp::_::RawSchema s_bdd7f6f0832387ac = { + b_bdd7f6f0832387ac.words, d_bdd7f6f0832387ac, m_bdd7f6f0832387ac, + 4, 6, nullptr +}; +static const ::capnp::_::AlignedData<81> b_d6d38cf4e366e91c = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 28, 233, 102, 227, 244, 140, 211, 214, + 172, 135, 35, 131, 240, 246, 215, 189, + 1, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 154, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 20, 0, 0, 0, 1, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 80, 97, 114, + 97, 109, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 4, 0, 7, 0, 0, 0, + 1, 0, 0, 0, 135, 0, 0, 0, + 16, 0, 0, 0, 1, 0, 3, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 57, 0, 0, 0, 42, 0, 0, 0, + 57, 0, 0, 0, 7, 0, 0, 0, + 56, 0, 0, 0, 1, 0, 2, 0, + 1, 0, 1, 0, 0, 0, 0, 0, + 85, 0, 0, 0, 42, 0, 0, 0, + 85, 0, 0, 0, 7, 0, 0, 0, + 84, 0, 0, 0, 1, 0, 2, 0, + 2, 0, 2, 0, 0, 0, 0, 0, + 113, 0, 0, 0, 106, 0, 0, 0, + 117, 0, 0, 0, 7, 0, 0, 0, + 116, 0, 0, 0, 1, 0, 2, 0, + 3, 0, 3, 0, 0, 0, 0, 0, + 145, 0, 0, 0, 98, 0, 0, 0, + 149, 0, 0, 0, 7, 0, 0, 0, + 148, 0, 0, 0, 1, 0, 2, 0, + 110, 97, 109, 101, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 12, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 116, 121, 112, 101, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 66, 158, 41, 238, 169, 169, 220, 221, + 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, + 100, 101, 102, 97, 117, 108, 116, 86, + 97, 108, 117, 101, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 2, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 238, 105, 34, 226, 174, 104, 199, 194, + 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, + 97, 110, 110, 111, 116, 97, 116, 105, + 111, 110, 115, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 3, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 24, 0, 0, 0, 2, 0, 1, 0, + 14, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 115, 238, 207, 192, 49, 81, 120, 219, + 0, 0, 0, 0, 0, 0, 0, 0, + 14, 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_d6d38cf4e366e91c[] = { + &s_c2c768aee22269ee, + &s_db785131c0cfee73, + &s_dddca9a9ee299e42, +}; +static const ::capnp::_::RawSchema::MemberInfo m_d6d38cf4e366e91c[] = { + { 0, 3 }, + { 0, 2 }, + { 0, 0 }, + { 0, 1 }, +}; +const ::capnp::_::RawSchema s_d6d38cf4e366e91c = { + b_d6d38cf4e366e91c.words, d_d6d38cf4e366e91c, m_d6d38cf4e366e91c, + 3, 4, nullptr +}; +static const ::capnp::_::AlignedData<209> b_96ae9bbee664c195 = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 149, 193, 100, 230, 190, 155, 174, 150, + 199, 50, 202, 69, 47, 223, 113, 180, + 1, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 146, 0, 0, 0, + 21, 0, 0, 0, 23, 0, 0, 0, + 37, 0, 0, 0, 7, 0, 0, 0, + 36, 0, 0, 0, 1, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 78, 111, 100, + 101, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 1, 0, 1, 0, + 40, 238, 41, 148, 136, 142, 254, 173, + 1, 0, 0, 0, 90, 0, 0, 0, + 78, 101, 115, 116, 101, 100, 78, 111, + 100, 101, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 3, 0, 4, 0, 7, 0, 0, 0, + 1, 0, 0, 0, 199, 0, 0, 0, + 24, 0, 0, 0, 1, 0, 3, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 89, 0, 0, 0, 26, 0, 0, 0, + 89, 0, 0, 0, 7, 0, 0, 0, + 88, 0, 0, 0, 1, 0, 2, 0, + 1, 0, 1, 0, 0, 0, 0, 0, + 117, 0, 0, 0, 98, 0, 0, 0, + 121, 0, 0, 0, 7, 0, 0, 0, + 120, 0, 0, 0, 1, 0, 2, 0, + 2, 0, 2, 0, 0, 0, 0, 0, + 149, 0, 0, 0, 66, 0, 0, 0, + 149, 0, 0, 0, 7, 0, 0, 0, + 148, 0, 0, 0, 1, 0, 2, 0, + 3, 0, 3, 0, 0, 0, 0, 0, + 177, 0, 0, 0, 98, 0, 0, 0, + 181, 0, 0, 0, 7, 0, 0, 0, + 180, 0, 0, 0, 1, 0, 2, 0, + 4, 0, 4, 0, 0, 0, 0, 0, + 221, 0, 0, 0, 98, 0, 0, 0, + 225, 0, 0, 0, 7, 0, 0, 0, + 224, 0, 0, 0, 1, 0, 2, 0, + 5, 0, 5, 0, 1, 0, 0, 0, + 9, 1, 0, 0, 42, 0, 0, 0, + 9, 1, 0, 0, 7, 0, 0, 0, + 8, 1, 0, 0, 1, 0, 1, 0, + 105, 100, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 9, 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, + 100, 105, 115, 112, 108, 97, 121, 78, + 97, 109, 101, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 12, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 115, 99, 111, 112, 101, 73, 100, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 9, 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, + 110, 101, 115, 116, 101, 100, 78, 111, + 100, 101, 115, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 24, 0, 0, 0, 2, 0, 1, 0, + 14, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 40, 238, 41, 148, 136, 142, 254, 173, + 0, 0, 0, 0, 0, 0, 0, 0, + 14, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 97, 110, 110, 111, 116, 97, 116, 105, + 111, 110, 115, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 2, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 24, 0, 0, 0, 2, 0, 1, 0, + 14, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 115, 238, 207, 192, 49, 81, 120, 219, + 0, 0, 0, 0, 0, 0, 0, 0, + 14, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 98, 111, 100, 121, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 8, 0, 0, 0, 0, 0, 0, 0, + 1, 0, 0, 0, 199, 0, 0, 0, + 24, 0, 0, 0, 1, 0, 3, 0, + 6, 0, 0, 0, 0, 0, 0, 0, + 89, 0, 0, 0, 74, 0, 0, 0, + 93, 0, 0, 0, 7, 0, 0, 0, + 92, 0, 0, 0, 1, 0, 2, 0, + 7, 0, 1, 0, 0, 0, 0, 0, + 121, 0, 0, 0, 90, 0, 0, 0, + 125, 0, 0, 0, 7, 0, 0, 0, + 124, 0, 0, 0, 1, 0, 2, 0, + 8, 0, 2, 0, 0, 0, 0, 0, + 153, 0, 0, 0, 74, 0, 0, 0, + 157, 0, 0, 0, 7, 0, 0, 0, + 156, 0, 0, 0, 1, 0, 2, 0, + 9, 0, 3, 0, 0, 0, 0, 0, + 185, 0, 0, 0, 114, 0, 0, 0, + 189, 0, 0, 0, 7, 0, 0, 0, + 188, 0, 0, 0, 1, 0, 2, 0, + 10, 0, 4, 0, 0, 0, 0, 0, + 217, 0, 0, 0, 82, 0, 0, 0, + 221, 0, 0, 0, 7, 0, 0, 0, + 220, 0, 0, 0, 1, 0, 2, 0, + 11, 0, 5, 0, 0, 0, 0, 0, + 249, 0, 0, 0, 122, 0, 0, 0, + 253, 0, 0, 0, 7, 0, 0, 0, + 252, 0, 0, 0, 1, 0, 2, 0, + 102, 105, 108, 101, 78, 111, 100, 101, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 3, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 31, 107, 183, 49, 11, 56, 156, 213, + 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, + 115, 116, 114, 117, 99, 116, 78, 111, + 100, 101, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 3, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 31, 12, 126, 11, 42, 217, 129, 191, + 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, + 101, 110, 117, 109, 78, 111, 100, 101, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 3, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 191, 42, 150, 120, 77, 244, 18, 214, + 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, + 101, 78, 111, 100, 101, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 3, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 230, 33, 81, 45, 250, 236, 166, 184, + 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, 115, 116, 78, 111, 100, + 101, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 3, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 98, 128, 74, 178, 146, 248, 12, 143, + 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, + 97, 110, 110, 111, 116, 97, 116, 105, + 111, 110, 78, 111, 100, 101, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 3, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 229, 203, 245, 233, 26, 244, 134, 243, + 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_96ae9bbee664c195[] = { + &s_8f0cf892b24a8062, + &s_adfe8e889429ee28, + &s_b8a6ecfa2d5121e6, + &s_bf81d92a0b7e0c1f, + &s_d59c380b31b76b1f, + &s_d612f44d78962abf, + &s_db785131c0cfee73, + &s_f386f41ae9f5cbe5, +}; +static const ::capnp::_::RawSchema::MemberInfo m_96ae9bbee664c195[] = { + { 0, 4 }, + { 0, 5 }, + { 0, 1 }, + { 0, 0 }, + { 0, 3 }, + { 0, 2 }, + { 6, 5 }, + { 6, 4 }, + { 6, 2 }, + { 6, 0 }, + { 6, 3 }, + { 6, 1 }, +}; +const ::capnp::_::RawSchema s_96ae9bbee664c195 = { + b_96ae9bbee664c195.words, d_96ae9bbee664c195, m_96ae9bbee664c195, + 8, 12, nullptr +}; +static const ::capnp::_::AlignedData<46> b_adfe8e889429ee28 = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 40, 238, 41, 148, 136, 142, 254, 173, + 149, 193, 100, 230, 190, 155, 174, 150, + 1, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 194, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 20, 0, 0, 0, 1, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 78, 101, 115, + 116, 101, 100, 78, 111, 100, 101, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 1, 0, 7, 0, 0, 0, + 1, 0, 0, 0, 71, 0, 0, 0, + 8, 0, 0, 0, 1, 0, 3, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 25, 0, 0, 0, 42, 0, 0, 0, + 25, 0, 0, 0, 7, 0, 0, 0, + 24, 0, 0, 0, 1, 0, 2, 0, + 1, 0, 1, 0, 0, 0, 0, 0, + 53, 0, 0, 0, 26, 0, 0, 0, + 53, 0, 0, 0, 7, 0, 0, 0, + 52, 0, 0, 0, 1, 0, 2, 0, + 110, 97, 109, 101, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 12, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 105, 100, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 9, 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 } +}; +static const ::capnp::_::RawSchema* const d_adfe8e889429ee28[] = { +}; +static const ::capnp::_::RawSchema::MemberInfo m_adfe8e889429ee28[] = { + { 0, 1 }, + { 0, 0 }, +}; +const ::capnp::_::RawSchema s_adfe8e889429ee28 = { + b_adfe8e889429ee28.words, d_adfe8e889429ee28, m_adfe8e889429ee28, + 0, 2, nullptr +}; +static const ::capnp::_::AlignedData<94> b_bf81d92a0b7e0c1f = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 31, 12, 126, 11, 42, 217, 129, 191, + 199, 50, 202, 69, 47, 223, 113, 180, + 1, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 194, 0, 0, 0, + 21, 0, 0, 0, 55, 0, 0, 0, + 57, 0, 0, 0, 7, 0, 0, 0, + 56, 0, 0, 0, 1, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 83, 116, 114, + 117, 99, 116, 78, 111, 100, 101, 0, + 12, 0, 0, 0, 1, 0, 1, 0, + 193, 248, 116, 107, 189, 180, 45, 154, + 17, 0, 0, 0, 58, 0, 0, 0, + 31, 164, 87, 112, 225, 70, 88, 199, + 13, 0, 0, 0, 50, 0, 0, 0, + 6, 218, 97, 225, 154, 71, 255, 239, + 9, 0, 0, 0, 50, 0, 0, 0, + 77, 101, 109, 98, 101, 114, 0, 0, + 70, 105, 101, 108, 100, 0, 0, 0, + 85, 110, 105, 111, 110, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 1, 0, 7, 0, 0, 0, + 1, 0, 0, 0, 135, 0, 0, 0, + 16, 0, 0, 0, 1, 0, 3, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 57, 0, 0, 0, 162, 0, 0, 0, + 65, 0, 0, 0, 7, 0, 0, 0, + 64, 0, 0, 0, 1, 0, 2, 0, + 1, 0, 1, 0, 0, 0, 0, 0, + 93, 0, 0, 0, 154, 0, 0, 0, + 101, 0, 0, 0, 7, 0, 0, 0, + 100, 0, 0, 0, 1, 0, 2, 0, + 2, 0, 2, 0, 0, 0, 0, 0, + 129, 0, 0, 0, 178, 0, 0, 0, + 137, 0, 0, 0, 7, 0, 0, 0, + 136, 0, 0, 0, 1, 0, 2, 0, + 3, 0, 3, 0, 0, 0, 0, 0, + 165, 0, 0, 0, 66, 0, 0, 0, + 165, 0, 0, 0, 7, 0, 0, 0, + 164, 0, 0, 0, 1, 0, 2, 0, + 100, 97, 116, 97, 83, 101, 99, 116, + 105, 111, 110, 87, 111, 114, 100, 83, + 105, 122, 101, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 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, 0, 0, + 7, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 112, 111, 105, 110, 116, 101, 114, 83, + 101, 99, 116, 105, 111, 110, 83, 105, + 122, 101, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 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, 0, 0, + 7, 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, 101, 102, 101, 114, 114, 101, + 100, 76, 105, 115, 116, 69, 110, 99, + 111, 100, 105, 110, 103, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 2, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 15, 0, 0, 0, 0, 0, 0, 0, + 140, 41, 28, 46, 210, 107, 50, 215, + 0, 0, 0, 0, 0, 0, 0, 0, + 15, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 109, 101, 109, 98, 101, 114, 115, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 24, 0, 0, 0, 2, 0, 1, 0, + 14, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 193, 248, 116, 107, 189, 180, 45, 154, + 0, 0, 0, 0, 0, 0, 0, 0, + 14, 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_bf81d92a0b7e0c1f[] = { + &s_9a2db4bd6b74f8c1, + &s_c2c768aee22269ee, + &s_c75846e17057a41f, + &s_d7326bd22e1c298c, + &s_db785131c0cfee73, + &s_dddca9a9ee299e42, + &s_efff479ae161da06, +}; +static const ::capnp::_::RawSchema::MemberInfo m_bf81d92a0b7e0c1f[] = { + { 0, 0 }, + { 0, 3 }, + { 0, 1 }, + { 0, 2 }, +}; +const ::capnp::_::RawSchema s_bf81d92a0b7e0c1f = { + b_bf81d92a0b7e0c1f.words, d_bf81d92a0b7e0c1f, m_bf81d92a0b7e0c1f, + 7, 4, nullptr +}; +static const ::capnp::_::AlignedData<62> b_c75846e17057a41f = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 31, 164, 87, 112, 225, 70, 88, 199, + 31, 12, 126, 11, 42, 217, 129, 191, + 1, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 154, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 20, 0, 0, 0, 1, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 70, 105, 101, + 108, 100, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 2, 0, 7, 0, 0, 0, + 1, 0, 0, 0, 103, 0, 0, 0, + 12, 0, 0, 0, 1, 0, 3, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 41, 0, 0, 0, 58, 0, 0, 0, + 41, 0, 0, 0, 7, 0, 0, 0, + 40, 0, 0, 0, 1, 0, 2, 0, + 1, 0, 1, 0, 0, 0, 0, 0, + 69, 0, 0, 0, 42, 0, 0, 0, + 69, 0, 0, 0, 7, 0, 0, 0, + 68, 0, 0, 0, 1, 0, 2, 0, + 2, 0, 2, 0, 0, 0, 0, 0, + 97, 0, 0, 0, 106, 0, 0, 0, + 101, 0, 0, 0, 7, 0, 0, 0, + 100, 0, 0, 0, 1, 0, 2, 0, + 111, 102, 102, 115, 101, 116, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 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, 121, 112, 101, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 66, 158, 41, 238, 169, 169, 220, 221, + 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, + 100, 101, 102, 97, 117, 108, 116, 86, + 97, 108, 117, 101, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 238, 105, 34, 226, 174, 104, 199, 194, + 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_c75846e17057a41f[] = { + &s_c2c768aee22269ee, + &s_dddca9a9ee299e42, +}; +static const ::capnp::_::RawSchema::MemberInfo m_c75846e17057a41f[] = { + { 0, 2 }, + { 0, 0 }, + { 0, 1 }, +}; +const ::capnp::_::RawSchema s_c75846e17057a41f = { + b_c75846e17057a41f.words, d_c75846e17057a41f, m_c75846e17057a41f, + 2, 3, nullptr +}; +static const ::capnp::_::AlignedData<122> b_9a2db4bd6b74f8c1 = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 193, 248, 116, 107, 189, 180, 45, 154, + 31, 12, 126, 11, 42, 217, 129, 191, + 1, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 162, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 20, 0, 0, 0, 1, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 77, 101, 109, + 98, 101, 114, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 3, 0, 7, 0, 0, 0, + 1, 0, 0, 0, 167, 0, 0, 0, + 20, 0, 0, 0, 1, 0, 3, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 73, 0, 0, 0, 42, 0, 0, 0, + 73, 0, 0, 0, 7, 0, 0, 0, + 72, 0, 0, 0, 1, 0, 2, 0, + 1, 0, 1, 0, 0, 0, 0, 0, + 101, 0, 0, 0, 66, 0, 0, 0, + 101, 0, 0, 0, 7, 0, 0, 0, + 100, 0, 0, 0, 1, 0, 2, 0, + 2, 0, 2, 0, 0, 0, 0, 0, + 129, 0, 0, 0, 82, 0, 0, 0, + 133, 0, 0, 0, 7, 0, 0, 0, + 132, 0, 0, 0, 1, 0, 2, 0, + 3, 0, 3, 0, 0, 0, 0, 0, + 161, 0, 0, 0, 98, 0, 0, 0, + 165, 0, 0, 0, 7, 0, 0, 0, + 164, 0, 0, 0, 1, 0, 2, 0, + 4, 0, 4, 0, 1, 0, 0, 0, + 205, 0, 0, 0, 42, 0, 0, 0, + 205, 0, 0, 0, 7, 0, 0, 0, + 204, 0, 0, 0, 1, 0, 1, 0, + 110, 97, 109, 101, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 12, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 111, 114, 100, 105, 110, 97, 108, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 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, 0, 0, + 7, 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, 100, 101, 79, 114, 100, 101, + 114, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 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, 0, 0, + 7, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 97, 110, 110, 111, 116, 97, 116, 105, + 111, 110, 115, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 24, 0, 0, 0, 2, 0, 1, 0, + 14, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 115, 238, 207, 192, 49, 81, 120, 219, + 0, 0, 0, 0, 0, 0, 0, 0, + 14, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 98, 111, 100, 121, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 2, 0, 0, 0, 0, 0, 0, 0, + 1, 0, 0, 0, 71, 0, 0, 0, + 8, 0, 0, 0, 1, 0, 3, 0, + 5, 0, 0, 0, 0, 0, 0, 0, + 25, 0, 0, 0, 98, 0, 0, 0, + 29, 0, 0, 0, 7, 0, 0, 0, + 28, 0, 0, 0, 1, 0, 2, 0, + 6, 0, 1, 0, 0, 0, 0, 0, + 57, 0, 0, 0, 98, 0, 0, 0, + 61, 0, 0, 0, 7, 0, 0, 0, + 60, 0, 0, 0, 1, 0, 2, 0, + 102, 105, 101, 108, 100, 77, 101, 109, + 98, 101, 114, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 2, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 31, 164, 87, 112, 225, 70, 88, 199, + 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, + 117, 110, 105, 111, 110, 77, 101, 109, + 98, 101, 114, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 2, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 6, 218, 97, 225, 154, 71, 255, 239, + 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_9a2db4bd6b74f8c1[] = { + &s_c75846e17057a41f, + &s_db785131c0cfee73, + &s_efff479ae161da06, +}; +static const ::capnp::_::RawSchema::MemberInfo m_9a2db4bd6b74f8c1[] = { + { 0, 3 }, + { 0, 4 }, + { 0, 2 }, + { 0, 0 }, + { 0, 1 }, + { 5, 0 }, + { 5, 1 }, +}; +const ::capnp::_::RawSchema s_9a2db4bd6b74f8c1 = { + b_9a2db4bd6b74f8c1.words, d_9a2db4bd6b74f8c1, m_9a2db4bd6b74f8c1, + 3, 7, nullptr +}; +static const ::capnp::_::AlignedData<51> b_efff479ae161da06 = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 6, 218, 97, 225, 154, 71, 255, 239, + 31, 12, 126, 11, 42, 217, 129, 191, + 1, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 154, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 20, 0, 0, 0, 1, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 85, 110, 105, + 111, 110, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 1, 0, 7, 0, 0, 0, + 1, 0, 0, 0, 71, 0, 0, 0, + 8, 0, 0, 0, 1, 0, 3, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 25, 0, 0, 0, 154, 0, 0, 0, + 33, 0, 0, 0, 7, 0, 0, 0, + 32, 0, 0, 0, 1, 0, 2, 0, + 1, 0, 1, 0, 0, 0, 0, 0, + 61, 0, 0, 0, 66, 0, 0, 0, + 61, 0, 0, 0, 7, 0, 0, 0, + 60, 0, 0, 0, 1, 0, 2, 0, + 100, 105, 115, 99, 114, 105, 109, 105, + 110, 97, 110, 116, 79, 102, 102, 115, + 101, 116, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 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, + 109, 101, 109, 98, 101, 114, 115, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 24, 0, 0, 0, 2, 0, 1, 0, + 14, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 193, 248, 116, 107, 189, 180, 45, 154, + 0, 0, 0, 0, 0, 0, 0, 0, + 14, 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_efff479ae161da06[] = { + &s_9a2db4bd6b74f8c1, +}; +static const ::capnp::_::RawSchema::MemberInfo m_efff479ae161da06[] = { + { 0, 0 }, + { 0, 1 }, +}; +const ::capnp::_::RawSchema s_efff479ae161da06 = { + b_efff479ae161da06.words, d_efff479ae161da06, m_efff479ae161da06, + 1, 2, nullptr +}; +static const ::capnp::_::AlignedData<329> b_dddca9a9ee299e42 = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 66, 158, 41, 238, 169, 169, 220, 221, + 199, 50, 202, 69, 47, 223, 113, 180, + 1, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 146, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 20, 0, 0, 0, 1, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 84, 121, 112, + 101, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 2, 0, 1, 0, 7, 0, 0, 0, + 1, 0, 0, 0, 39, 0, 0, 0, + 4, 0, 0, 0, 1, 0, 3, 0, + 0, 0, 0, 0, 1, 0, 0, 0, + 9, 0, 0, 0, 42, 0, 0, 0, + 9, 0, 0, 0, 7, 0, 0, 0, + 8, 0, 0, 0, 1, 0, 1, 0, + 98, 111, 100, 121, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 1, 0, 0, 0, 103, 2, 0, 0, + 76, 0, 0, 0, 1, 0, 3, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 41, 1, 0, 0, 74, 0, 0, 0, + 45, 1, 0, 0, 7, 0, 0, 0, + 44, 1, 0, 0, 1, 0, 2, 0, + 2, 0, 1, 0, 0, 0, 0, 0, + 73, 1, 0, 0, 74, 0, 0, 0, + 77, 1, 0, 0, 7, 0, 0, 0, + 76, 1, 0, 0, 1, 0, 2, 0, + 3, 0, 2, 0, 0, 0, 0, 0, + 105, 1, 0, 0, 74, 0, 0, 0, + 109, 1, 0, 0, 7, 0, 0, 0, + 108, 1, 0, 0, 1, 0, 2, 0, + 4, 0, 3, 0, 0, 0, 0, 0, + 137, 1, 0, 0, 82, 0, 0, 0, + 141, 1, 0, 0, 7, 0, 0, 0, + 140, 1, 0, 0, 1, 0, 2, 0, + 5, 0, 4, 0, 0, 0, 0, 0, + 169, 1, 0, 0, 82, 0, 0, 0, + 173, 1, 0, 0, 7, 0, 0, 0, + 172, 1, 0, 0, 1, 0, 2, 0, + 6, 0, 5, 0, 0, 0, 0, 0, + 201, 1, 0, 0, 82, 0, 0, 0, + 205, 1, 0, 0, 7, 0, 0, 0, + 204, 1, 0, 0, 1, 0, 2, 0, + 7, 0, 6, 0, 0, 0, 0, 0, + 233, 1, 0, 0, 82, 0, 0, 0, + 237, 1, 0, 0, 7, 0, 0, 0, + 236, 1, 0, 0, 1, 0, 2, 0, + 8, 0, 7, 0, 0, 0, 0, 0, + 9, 2, 0, 0, 90, 0, 0, 0, + 13, 2, 0, 0, 7, 0, 0, 0, + 12, 2, 0, 0, 1, 0, 2, 0, + 9, 0, 8, 0, 0, 0, 0, 0, + 41, 2, 0, 0, 90, 0, 0, 0, + 45, 2, 0, 0, 7, 0, 0, 0, + 44, 2, 0, 0, 1, 0, 2, 0, + 10, 0, 9, 0, 0, 0, 0, 0, + 73, 2, 0, 0, 90, 0, 0, 0, + 77, 2, 0, 0, 7, 0, 0, 0, + 76, 2, 0, 0, 1, 0, 2, 0, + 11, 0, 10, 0, 0, 0, 0, 0, + 105, 2, 0, 0, 98, 0, 0, 0, + 109, 2, 0, 0, 7, 0, 0, 0, + 108, 2, 0, 0, 1, 0, 2, 0, + 12, 0, 11, 0, 0, 0, 0, 0, + 137, 2, 0, 0, 98, 0, 0, 0, + 141, 2, 0, 0, 7, 0, 0, 0, + 140, 2, 0, 0, 1, 0, 2, 0, + 13, 0, 12, 0, 0, 0, 0, 0, + 169, 2, 0, 0, 74, 0, 0, 0, + 173, 2, 0, 0, 7, 0, 0, 0, + 172, 2, 0, 0, 1, 0, 2, 0, + 14, 0, 13, 0, 0, 0, 0, 0, + 201, 2, 0, 0, 74, 0, 0, 0, + 205, 2, 0, 0, 7, 0, 0, 0, + 204, 2, 0, 0, 1, 0, 2, 0, + 15, 0, 14, 0, 0, 0, 0, 0, + 233, 2, 0, 0, 74, 0, 0, 0, + 237, 2, 0, 0, 7, 0, 0, 0, + 236, 2, 0, 0, 1, 0, 2, 0, + 16, 0, 15, 0, 0, 0, 0, 0, + 9, 3, 0, 0, 74, 0, 0, 0, + 13, 3, 0, 0, 7, 0, 0, 0, + 12, 3, 0, 0, 1, 0, 2, 0, + 17, 0, 16, 0, 0, 0, 0, 0, + 41, 3, 0, 0, 90, 0, 0, 0, + 45, 3, 0, 0, 7, 0, 0, 0, + 44, 3, 0, 0, 1, 0, 2, 0, + 18, 0, 17, 0, 0, 0, 0, 0, + 73, 3, 0, 0, 114, 0, 0, 0, + 77, 3, 0, 0, 7, 0, 0, 0, + 76, 3, 0, 0, 1, 0, 2, 0, + 19, 0, 18, 0, 0, 0, 0, 0, + 105, 3, 0, 0, 90, 0, 0, 0, + 109, 3, 0, 0, 7, 0, 0, 0, + 108, 3, 0, 0, 1, 0, 2, 0, + 118, 111, 105, 100, 84, 121, 112, 101, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 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, + 9, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 98, 111, 111, 108, 84, 121, 112, 101, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 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, + 9, 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, 56, 84, 121, 112, 101, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 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, + 9, 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, 49, 54, 84, 121, 112, + 101, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 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, + 9, 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, 51, 50, 84, 121, 112, + 101, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 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, + 9, 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, 54, 52, 84, 121, 112, + 101, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 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, + 9, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 117, 105, 110, 116, 56, 84, 121, 112, + 101, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 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, + 9, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 117, 105, 110, 116, 49, 54, 84, 121, + 112, 101, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 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, + 9, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 117, 105, 110, 116, 51, 50, 84, 121, + 112, 101, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 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, + 9, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 117, 105, 110, 116, 54, 52, 84, 121, + 112, 101, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 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, + 9, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 102, 108, 111, 97, 116, 51, 50, 84, + 121, 112, 101, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 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, + 9, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 102, 108, 111, 97, 116, 54, 52, 84, + 121, 112, 101, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 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, + 9, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 116, 101, 120, 116, 84, 121, 112, 101, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 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, + 9, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 100, 97, 116, 97, 84, 121, 112, 101, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 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, + 9, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 108, 105, 115, 116, 84, 121, 112, 101, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 66, 158, 41, 238, 169, 169, 220, 221, + 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, + 101, 110, 117, 109, 84, 121, 112, 101, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 9, 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, + 115, 116, 114, 117, 99, 116, 84, 121, + 112, 101, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 9, 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, + 105, 110, 116, 101, 114, 102, 97, 99, + 101, 84, 121, 112, 101, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 9, 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, + 111, 98, 106, 101, 99, 116, 84, 121, + 112, 101, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 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, + 9, 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_dddca9a9ee299e42[] = { + &s_dddca9a9ee299e42, +}; +static const ::capnp::_::RawSchema::MemberInfo m_dddca9a9ee299e42[] = { + { 0, 0 }, + { 1, 1 }, + { 1, 13 }, + { 1, 15 }, + { 1, 10 }, + { 1, 11 }, + { 1, 3 }, + { 1, 4 }, + { 1, 5 }, + { 1, 2 }, + { 1, 17 }, + { 1, 14 }, + { 1, 18 }, + { 1, 16 }, + { 1, 12 }, + { 1, 7 }, + { 1, 8 }, + { 1, 9 }, + { 1, 6 }, + { 1, 0 }, +}; +const ::capnp::_::RawSchema s_dddca9a9ee299e42 = { + b_dddca9a9ee299e42.words, d_dddca9a9ee299e42, m_dddca9a9ee299e42, + 1, 20, nullptr +}; +static const ::capnp::_::AlignedData<329> b_c2c768aee22269ee = { + { 0, 0, 0, 0, 3, 0, 4, 0, + 238, 105, 34, 226, 174, 104, 199, 194, + 199, 50, 202, 69, 47, 223, 113, 180, + 1, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 154, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 21, 0, 0, 0, 7, 0, 0, 0, + 20, 0, 0, 0, 1, 0, 1, 0, + 115, 99, 104, 101, 109, 97, 46, 99, + 97, 112, 110, 112, 58, 86, 97, 108, + 117, 101, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 2, 0, 1, 0, 7, 0, 0, 0, + 1, 0, 0, 0, 39, 0, 0, 0, + 4, 0, 0, 0, 1, 0, 3, 0, + 0, 0, 0, 0, 1, 0, 0, 0, + 9, 0, 0, 0, 42, 0, 0, 0, + 9, 0, 0, 0, 7, 0, 0, 0, + 8, 0, 0, 0, 1, 0, 1, 0, + 98, 111, 100, 121, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 1, 0, 0, 0, 103, 2, 0, 0, + 76, 0, 0, 0, 1, 0, 3, 0, + 1, 0, 9, 0, 0, 0, 0, 0, + 41, 1, 0, 0, 98, 0, 0, 0, + 45, 1, 0, 0, 7, 0, 0, 0, + 44, 1, 0, 0, 1, 0, 2, 0, + 2, 0, 1, 0, 0, 0, 0, 0, + 73, 1, 0, 0, 82, 0, 0, 0, + 77, 1, 0, 0, 7, 0, 0, 0, + 76, 1, 0, 0, 1, 0, 2, 0, + 3, 0, 2, 0, 0, 0, 0, 0, + 105, 1, 0, 0, 82, 0, 0, 0, + 109, 1, 0, 0, 7, 0, 0, 0, + 108, 1, 0, 0, 1, 0, 2, 0, + 4, 0, 3, 0, 0, 0, 0, 0, + 137, 1, 0, 0, 90, 0, 0, 0, + 141, 1, 0, 0, 7, 0, 0, 0, + 140, 1, 0, 0, 1, 0, 2, 0, + 5, 0, 4, 0, 0, 0, 0, 0, + 169, 1, 0, 0, 90, 0, 0, 0, + 173, 1, 0, 0, 7, 0, 0, 0, + 172, 1, 0, 0, 1, 0, 2, 0, + 6, 0, 5, 0, 0, 0, 0, 0, + 201, 1, 0, 0, 90, 0, 0, 0, + 205, 1, 0, 0, 7, 0, 0, 0, + 204, 1, 0, 0, 1, 0, 2, 0, + 7, 0, 6, 0, 0, 0, 0, 0, + 233, 1, 0, 0, 90, 0, 0, 0, + 237, 1, 0, 0, 7, 0, 0, 0, + 236, 1, 0, 0, 1, 0, 2, 0, + 8, 0, 7, 0, 0, 0, 0, 0, + 9, 2, 0, 0, 98, 0, 0, 0, + 13, 2, 0, 0, 7, 0, 0, 0, + 12, 2, 0, 0, 1, 0, 2, 0, + 9, 0, 8, 0, 0, 0, 0, 0, + 41, 2, 0, 0, 98, 0, 0, 0, + 45, 2, 0, 0, 7, 0, 0, 0, + 44, 2, 0, 0, 1, 0, 2, 0, + 10, 0, 0, 0, 0, 0, 0, 0, + 73, 2, 0, 0, 82, 0, 0, 0, + 77, 2, 0, 0, 7, 0, 0, 0, + 76, 2, 0, 0, 1, 0, 2, 0, + 11, 0, 10, 0, 0, 0, 0, 0, + 105, 2, 0, 0, 106, 0, 0, 0, + 109, 2, 0, 0, 7, 0, 0, 0, + 108, 2, 0, 0, 1, 0, 2, 0, + 12, 0, 11, 0, 0, 0, 0, 0, + 137, 2, 0, 0, 106, 0, 0, 0, + 141, 2, 0, 0, 7, 0, 0, 0, + 140, 2, 0, 0, 1, 0, 2, 0, + 13, 0, 12, 0, 0, 0, 0, 0, + 169, 2, 0, 0, 82, 0, 0, 0, + 173, 2, 0, 0, 7, 0, 0, 0, + 172, 2, 0, 0, 1, 0, 2, 0, + 14, 0, 13, 0, 0, 0, 0, 0, + 201, 2, 0, 0, 82, 0, 0, 0, + 205, 2, 0, 0, 7, 0, 0, 0, + 204, 2, 0, 0, 1, 0, 2, 0, + 15, 0, 14, 0, 0, 0, 0, 0, + 233, 2, 0, 0, 82, 0, 0, 0, + 237, 2, 0, 0, 7, 0, 0, 0, + 236, 2, 0, 0, 1, 0, 2, 0, + 16, 0, 15, 0, 0, 0, 0, 0, + 9, 3, 0, 0, 82, 0, 0, 0, + 13, 3, 0, 0, 7, 0, 0, 0, + 12, 3, 0, 0, 1, 0, 2, 0, + 17, 0, 16, 0, 0, 0, 0, 0, + 41, 3, 0, 0, 98, 0, 0, 0, + 45, 3, 0, 0, 7, 0, 0, 0, + 44, 3, 0, 0, 1, 0, 2, 0, + 18, 0, 17, 0, 0, 0, 0, 0, + 73, 3, 0, 0, 122, 0, 0, 0, + 77, 3, 0, 0, 7, 0, 0, 0, + 76, 3, 0, 0, 1, 0, 2, 0, + 19, 0, 18, 0, 0, 0, 0, 0, + 105, 3, 0, 0, 98, 0, 0, 0, + 109, 3, 0, 0, 7, 0, 0, 0, + 108, 3, 0, 0, 1, 0, 2, 0, + 117, 105, 110, 116, 54, 52, 86, 97, + 108, 117, 101, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 9, 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, + 98, 111, 111, 108, 86, 97, 108, 117, + 101, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 64, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 1, 0, 0, 0, 0, 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, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 105, 110, 116, 56, 86, 97, 108, 117, + 101, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 8, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 2, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 2, 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, 49, 54, 86, 97, 108, + 117, 101, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 4, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 3, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 3, 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, 51, 50, 86, 97, 108, + 117, 101, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 2, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 4, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 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, 54, 52, 86, 97, 108, + 117, 101, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 5, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 5, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 117, 105, 110, 116, 56, 86, 97, 108, + 117, 101, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 8, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 6, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 6, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 117, 105, 110, 116, 49, 54, 86, 97, + 108, 117, 101, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 4, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 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, 0, 0, + 7, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 117, 105, 110, 116, 51, 50, 86, 97, + 108, 117, 101, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 2, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 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, + 118, 111, 105, 100, 86, 97, 108, 117, + 101, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 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, + 9, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 102, 108, 111, 97, 116, 51, 50, 86, + 97, 108, 117, 101, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 2, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 10, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 10, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 102, 108, 111, 97, 116, 54, 52, 86, + 97, 108, 117, 101, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 11, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 11, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 116, 101, 120, 116, 86, 97, 108, 117, + 101, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 12, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 100, 97, 116, 97, 86, 97, 108, 117, + 101, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 13, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 13, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 108, 105, 115, 116, 86, 97, 108, 117, + 101, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 18, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 18, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 101, 110, 117, 109, 86, 97, 108, 117, + 101, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 4, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 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, 0, 0, + 7, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 115, 116, 114, 117, 99, 116, 86, 97, + 108, 117, 101, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 18, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 18, 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, + 101, 86, 97, 108, 117, 101, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 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, + 9, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 111, 98, 106, 101, 99, 116, 86, 97, + 108, 117, 101, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 4, 0, 0, 0, 2, 0, 1, 0, + 12, 0, 0, 0, 2, 0, 1, 0, + 18, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 18, 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_c2c768aee22269ee[] = { +}; +static const ::capnp::_::RawSchema::MemberInfo m_c2c768aee22269ee[] = { + { 0, 0 }, + { 1, 1 }, + { 1, 13 }, + { 1, 15 }, + { 1, 10 }, + { 1, 11 }, + { 1, 3 }, + { 1, 4 }, + { 1, 5 }, + { 1, 2 }, + { 1, 17 }, + { 1, 14 }, + { 1, 18 }, + { 1, 16 }, + { 1, 12 }, + { 1, 7 }, + { 1, 8 }, + { 1, 0 }, + { 1, 6 }, + { 1, 9 }, +}; +const ::capnp::_::RawSchema s_c2c768aee22269ee = { + b_c2c768aee22269ee.words, d_c2c768aee22269ee, m_c2c768aee22269ee, + 0, 20, nullptr +}; +} // namespace schemas +namespace _ { // private +CAPNP_DEFINE_STRUCT( + ::capnp::schema::Annotation); +CAPNP_DEFINE_STRUCT( + ::capnp::schema::AnnotationNode); +CAPNP_DEFINE_STRUCT( + ::capnp::schema::CodeGeneratorRequest); +CAPNP_DEFINE_STRUCT( + ::capnp::schema::ConstNode); +CAPNP_DEFINE_STRUCT( + ::capnp::schema::EnumNode); +CAPNP_DEFINE_STRUCT( + ::capnp::schema::EnumNode::Enumerant); +CAPNP_DEFINE_STRUCT( + ::capnp::schema::FileNode); +CAPNP_DEFINE_STRUCT( + ::capnp::schema::FileNode::Import); +CAPNP_DEFINE_STRUCT( + ::capnp::schema::InterfaceNode); +CAPNP_DEFINE_STRUCT( + ::capnp::schema::InterfaceNode::Method); +CAPNP_DEFINE_STRUCT( + ::capnp::schema::InterfaceNode::Method::Param); +CAPNP_DEFINE_STRUCT( + ::capnp::schema::Node); +CAPNP_DEFINE_UNION( + ::capnp::schema::Node::Body); +CAPNP_DEFINE_STRUCT( + ::capnp::schema::Node::NestedNode); +CAPNP_DEFINE_STRUCT( + ::capnp::schema::StructNode); +CAPNP_DEFINE_STRUCT( + ::capnp::schema::StructNode::Field); +CAPNP_DEFINE_STRUCT( + ::capnp::schema::StructNode::Member); +CAPNP_DEFINE_UNION( + ::capnp::schema::StructNode::Member::Body); +CAPNP_DEFINE_STRUCT( + ::capnp::schema::StructNode::Union); +CAPNP_DEFINE_STRUCT( + ::capnp::schema::Type); +CAPNP_DEFINE_UNION( + ::capnp::schema::Type::Body); +CAPNP_DEFINE_STRUCT( + ::capnp::schema::Value); +CAPNP_DEFINE_UNION( + ::capnp::schema::Value::Body); +CAPNP_DEFINE_ENUM( + ::capnp::schema::ElementSize); +} // namespace _ (private) +} // namespace capnp diff --git a/schema.capnp.cpp.pyx b/schema.capnp.cpp.pyx new file mode 100644 index 0000000..96f47df --- /dev/null +++ b/schema.capnp.cpp.pyx @@ -0,0 +1,1631 @@ +# schema.capnp.cpp.pyx +# distutils: language = c++ +# distutils: extra_compile_args = --std=c++11 +# distutils: libraries = capnp + +cimport capnp_schema as capnp +from capnp_schema cimport CodeGeneratorRequest as C_CodeGeneratorRequest,ElementSize as C_ElementSize,InterfaceNode as C_InterfaceNode,Value as C_Value,ConstNode as C_ConstNode,Type as C_Type,FileNode as C_FileNode,Node as C_Node,AnnotationNode as C_AnnotationNode,EnumNode as C_EnumNode,StructNode as C_StructNode,Annotation as C_Annotation + +# from capnp_schema cimport * +# Not doing this since we want to namespace away the class names + +from cython.operator cimport dereference as deref + +from libc.stdint cimport * +ctypedef unsigned int uint +ctypedef uint8_t UInt8 +ctypedef uint16_t UInt16 +ctypedef uint32_t UInt32 +ctypedef uint64_t UInt64 +ctypedef int8_t Int8 +ctypedef int16_t Int16 +ctypedef int32_t Int32 +ctypedef int64_t Int64 + +ctypedef char * Data +ctypedef char * Object +ctypedef char * Text +ctypedef bint Bool +ctypedef float Float32 +ctypedef double Float64 +cdef extern from "capnp/message.h" namespace "::capnp": + cdef cppclass List[T]: + cppclass Reader: + T operator[](uint) + uint size() + cppclass Builder: + T operator[](uint) + uint size() +def make_enum(enum_name, *sequential, **named): + enums = dict(zip(sequential, range(len(sequential))), **named) + reverse = dict((value, key) for key, value in enums.iteritems()) + enums['reverse_mapping'] = reverse + return type(enum_name, (), enums) +cdef class _List_InterfaceNode_InterfaceNode_Method_Reader: + cdef List[C_InterfaceNode.InterfaceNode.Method].Reader thisptr + cdef init(self, List[C_InterfaceNode.InterfaceNode.Method].Reader other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _InterfaceNode_MethodReader().init(self.thisptr[index]) + + def __len__(self): + return self.thisptr.size() +cdef class _List_InterfaceNode_InterfaceNode_Method_Builder: + cdef List[C_InterfaceNode.InterfaceNode.Method].Builder thisptr + cdef init(self, List[C_InterfaceNode.InterfaceNode.Method].Builder other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _InterfaceNode_MethodBuilder().init(self.thisptr[index]) + def __len__(self): + return self.thisptr.size() +cdef class _List_EnumNode_EnumNode_Enumerant_Reader: + cdef List[C_EnumNode.EnumNode.Enumerant].Reader thisptr + cdef init(self, List[C_EnumNode.EnumNode.Enumerant].Reader other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _EnumNode_EnumerantReader().init(self.thisptr[index]) + + def __len__(self): + return self.thisptr.size() +cdef class _List_EnumNode_EnumNode_Enumerant_Builder: + cdef List[C_EnumNode.EnumNode.Enumerant].Builder thisptr + cdef init(self, List[C_EnumNode.EnumNode.Enumerant].Builder other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _EnumNode_EnumerantBuilder().init(self.thisptr[index]) + def __len__(self): + return self.thisptr.size() +cdef class _List_StructNode_Union_StructNode_Member_Reader: + cdef List[C_StructNode.Union.StructNode.Member].Reader thisptr + cdef init(self, List[C_StructNode.Union.StructNode.Member].Reader other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _StructNode_MemberReader().init(self.thisptr[index]) + + def __len__(self): + return self.thisptr.size() +cdef class _List_StructNode_Union_StructNode_Member_Builder: + cdef List[C_StructNode.Union.StructNode.Member].Builder thisptr + cdef init(self, List[C_StructNode.Union.StructNode.Member].Builder other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _StructNode_MemberBuilder().init(self.thisptr[index]) + def __len__(self): + return self.thisptr.size() +cdef class _List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader: + cdef List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Reader thisptr + cdef init(self, List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Reader other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _InterfaceNode_Method_ParamReader().init(self.thisptr[index]) + + def __len__(self): + return self.thisptr.size() +cdef class _List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder: + cdef List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Builder thisptr + cdef init(self, List[C_InterfaceNode.Method.InterfaceNode.Method.Param].Builder other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _InterfaceNode_Method_ParamBuilder().init(self.thisptr[index]) + def __len__(self): + return self.thisptr.size() +cdef class _List_InterfaceNode_Method_Param_Annotation_Reader: + cdef List[C_InterfaceNode.Method.Param.Annotation].Reader thisptr + cdef init(self, List[C_InterfaceNode.Method.Param.Annotation].Reader other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _AnnotationReader().init(self.thisptr[index]) + + def __len__(self): + return self.thisptr.size() +cdef class _List_InterfaceNode_Method_Param_Annotation_Builder: + cdef List[C_InterfaceNode.Method.Param.Annotation].Builder thisptr + cdef init(self, List[C_InterfaceNode.Method.Param.Annotation].Builder other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _AnnotationBuilder().init(self.thisptr[index]) + def __len__(self): + return self.thisptr.size() +cdef class _List_UInt64_Reader: + cdef List[UInt64].Reader thisptr + cdef init(self, List[UInt64].Reader other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return self.thisptr[index] + + def __len__(self): + return self.thisptr.size() +cdef class _List_UInt64_Builder: + cdef List[UInt64].Builder thisptr + cdef init(self, List[UInt64].Builder other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return self.thisptr[index] + def __len__(self): + return self.thisptr.size() +cdef class _List_Node_Node_NestedNode_Reader: + cdef List[C_Node.Node.NestedNode].Reader thisptr + cdef init(self, List[C_Node.Node.NestedNode].Reader other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _Node_NestedNodeReader().init(self.thisptr[index]) + + def __len__(self): + return self.thisptr.size() +cdef class _List_Node_Node_NestedNode_Builder: + cdef List[C_Node.Node.NestedNode].Builder thisptr + cdef init(self, List[C_Node.Node.NestedNode].Builder other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _Node_NestedNodeBuilder().init(self.thisptr[index]) + def __len__(self): + return self.thisptr.size() +cdef class _List_StructNode_Member_Annotation_Reader: + cdef List[C_StructNode.Member.Annotation].Reader thisptr + cdef init(self, List[C_StructNode.Member.Annotation].Reader other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _AnnotationReader().init(self.thisptr[index]) + + def __len__(self): + return self.thisptr.size() +cdef class _List_StructNode_Member_Annotation_Builder: + cdef List[C_StructNode.Member.Annotation].Builder thisptr + cdef init(self, List[C_StructNode.Member.Annotation].Builder other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _AnnotationBuilder().init(self.thisptr[index]) + def __len__(self): + return self.thisptr.size() +cdef class _List_InterfaceNode_Method_Annotation_Reader: + cdef List[C_InterfaceNode.Method.Annotation].Reader thisptr + cdef init(self, List[C_InterfaceNode.Method.Annotation].Reader other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _AnnotationReader().init(self.thisptr[index]) + + def __len__(self): + return self.thisptr.size() +cdef class _List_InterfaceNode_Method_Annotation_Builder: + cdef List[C_InterfaceNode.Method.Annotation].Builder thisptr + cdef init(self, List[C_InterfaceNode.Method.Annotation].Builder other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _AnnotationBuilder().init(self.thisptr[index]) + def __len__(self): + return self.thisptr.size() +cdef class _List_StructNode_StructNode_Member_Reader: + cdef List[C_StructNode.StructNode.Member].Reader thisptr + cdef init(self, List[C_StructNode.StructNode.Member].Reader other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _StructNode_MemberReader().init(self.thisptr[index]) + + def __len__(self): + return self.thisptr.size() +cdef class _List_StructNode_StructNode_Member_Builder: + cdef List[C_StructNode.StructNode.Member].Builder thisptr + cdef init(self, List[C_StructNode.StructNode.Member].Builder other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _StructNode_MemberBuilder().init(self.thisptr[index]) + def __len__(self): + return self.thisptr.size() +cdef class _List_Node_Annotation_Reader: + cdef List[C_Node.Annotation].Reader thisptr + cdef init(self, List[C_Node.Annotation].Reader other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _AnnotationReader().init(self.thisptr[index]) + + def __len__(self): + return self.thisptr.size() +cdef class _List_Node_Annotation_Builder: + cdef List[C_Node.Annotation].Builder thisptr + cdef init(self, List[C_Node.Annotation].Builder other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _AnnotationBuilder().init(self.thisptr[index]) + def __len__(self): + return self.thisptr.size() +cdef class _List_CodeGeneratorRequest_Node_Reader: + cdef List[C_CodeGeneratorRequest.Node].Reader thisptr + cdef init(self, List[C_CodeGeneratorRequest.Node].Reader other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _NodeReader().init(self.thisptr[index]) + + def __len__(self): + return self.thisptr.size() +cdef class _List_CodeGeneratorRequest_Node_Builder: + cdef List[C_CodeGeneratorRequest.Node].Builder thisptr + cdef init(self, List[C_CodeGeneratorRequest.Node].Builder other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _NodeBuilder().init(self.thisptr[index]) + def __len__(self): + return self.thisptr.size() +cdef class _List_FileNode_FileNode_Import_Reader: + cdef List[C_FileNode.FileNode.Import].Reader thisptr + cdef init(self, List[C_FileNode.FileNode.Import].Reader other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _FileNode_ImportReader().init(self.thisptr[index]) + + def __len__(self): + return self.thisptr.size() +cdef class _List_FileNode_FileNode_Import_Builder: + cdef List[C_FileNode.FileNode.Import].Builder thisptr + cdef init(self, List[C_FileNode.FileNode.Import].Builder other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _FileNode_ImportBuilder().init(self.thisptr[index]) + def __len__(self): + return self.thisptr.size() +cdef class _List_EnumNode_Enumerant_Annotation_Reader: + cdef List[C_EnumNode.Enumerant.Annotation].Reader thisptr + cdef init(self, List[C_EnumNode.Enumerant.Annotation].Reader other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _AnnotationReader().init(self.thisptr[index]) + + def __len__(self): + return self.thisptr.size() +cdef class _List_EnumNode_Enumerant_Annotation_Builder: + cdef List[C_EnumNode.Enumerant.Annotation].Builder thisptr + cdef init(self, List[C_EnumNode.Enumerant.Annotation].Builder other): + self.thisptr = other + return self + def __getitem__(self, index): + size = self.thisptr.size() + if index > size: + raise IndexError('Out of bounds') + index = index % size + return _AnnotationBuilder().init(self.thisptr[index]) + def __len__(self): + return self.thisptr.size() + +cdef class _CodeGeneratorRequestReader: + cdef C_CodeGeneratorRequest.Reader thisptr + cdef init(self, C_CodeGeneratorRequest.Reader other): + self.thisptr = other + return self + property nodes: + def __get__(self): + return _List_CodeGeneratorRequest_Node_Reader().init(self.thisptr.getNodes()) + property requestedFiles: + def __get__(self): + return _List_UInt64_Reader().init(self.thisptr.getRequestedFiles()) + +cdef class _CodeGeneratorRequestBuilder: + cdef C_CodeGeneratorRequest.Builder thisptr + cdef init(self, C_CodeGeneratorRequest.Builder other): + self.thisptr = other + return self + property nodes: + def __get__(self): + return _List_CodeGeneratorRequest_Node_Builder().init(self.thisptr.getNodes()) + cpdef initNodes(self, uint num): + return _List_CodeGeneratorRequest_Node_Builder().init(self.thisptr.initNodes(num)) + property requestedFiles: + def __get__(self): + return _List_UInt64_Builder().init(self.thisptr.getRequestedFiles()) + cpdef initRequestedFiles(self, uint num): + return _List_UInt64_Builder().init(self.thisptr.initRequestedFiles(num)) + + + + +cdef class _InterfaceNode_Method_ParamReader: + cdef C_InterfaceNode.Method.Param.Reader thisptr + cdef init(self, C_InterfaceNode.Method.Param.Reader other): + self.thisptr = other + return self + property defaultValue: + def __get__(self): + return _ValueReader().init(self.thisptr.getDefaultValue()) + property type: + def __get__(self): + return _TypeReader().init(self.thisptr.getType()) + property name: + def __get__(self): + return None + property annotations: + def __get__(self): + return _List_InterfaceNode_Method_Param_Annotation_Reader().init(self.thisptr.getAnnotations()) + +cdef class _InterfaceNode_Method_ParamBuilder: + cdef C_InterfaceNode.Method.Param.Builder thisptr + cdef init(self, C_InterfaceNode.Method.Param.Builder other): + self.thisptr = other + return self + property defaultValue: + def __get__(self): + return _ValueBuilder().init(self.thisptr.getDefaultValue()) + def __set__(self, val): + pass + property type: + def __get__(self): + return _TypeBuilder().init(self.thisptr.getType()) + def __set__(self, val): + pass + property name: + def __get__(self): + return None + def __set__(self, val): + pass + property annotations: + def __get__(self): + return _List_InterfaceNode_Method_Param_Annotation_Builder().init(self.thisptr.getAnnotations()) + cpdef initAnnotations(self, uint num): + return _List_InterfaceNode_Method_Param_Annotation_Builder().init(self.thisptr.initAnnotations(num)) +cdef class _InterfaceNode_MethodReader: + cdef C_InterfaceNode.Method.Reader thisptr + cdef init(self, C_InterfaceNode.Method.Reader other): + self.thisptr = other + return self + property codeOrder: + def __get__(self): + return self.thisptr.getCodeOrder() + property name: + def __get__(self): + return None + property params: + def __get__(self): + return _List_InterfaceNode_Method_InterfaceNode_Method_Param_Reader().init(self.thisptr.getParams()) + property requiredParamCount: + def __get__(self): + return self.thisptr.getRequiredParamCount() + property returnType: + def __get__(self): + return _TypeReader().init(self.thisptr.getReturnType()) + property annotations: + def __get__(self): + return _List_InterfaceNode_Method_Annotation_Reader().init(self.thisptr.getAnnotations()) + +cdef class _InterfaceNode_MethodBuilder: + cdef C_InterfaceNode.Method.Builder thisptr + cdef init(self, C_InterfaceNode.Method.Builder other): + self.thisptr = other + return self + property codeOrder: + def __get__(self): + return self.thisptr.getCodeOrder() + def __set__(self, val): + self.thisptr.setCodeOrder(val) + property name: + def __get__(self): + return None + def __set__(self, val): + pass + property params: + def __get__(self): + return _List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder().init(self.thisptr.getParams()) + cpdef initParams(self, uint num): + return _List_InterfaceNode_Method_InterfaceNode_Method_Param_Builder().init(self.thisptr.initParams(num)) + property requiredParamCount: + def __get__(self): + return self.thisptr.getRequiredParamCount() + def __set__(self, val): + self.thisptr.setRequiredParamCount(val) + property returnType: + def __get__(self): + return _TypeBuilder().init(self.thisptr.getReturnType()) + def __set__(self, val): + pass + property annotations: + def __get__(self): + return _List_InterfaceNode_Method_Annotation_Builder().init(self.thisptr.getAnnotations()) + cpdef initAnnotations(self, uint num): + return _List_InterfaceNode_Method_Annotation_Builder().init(self.thisptr.initAnnotations(num)) +cdef class _InterfaceNodeReader: + cdef C_InterfaceNode.Reader thisptr + cdef init(self, C_InterfaceNode.Reader other): + self.thisptr = other + return self + property methods: + def __get__(self): + return _List_InterfaceNode_InterfaceNode_Method_Reader().init(self.thisptr.getMethods()) + +cdef class _InterfaceNodeBuilder: + cdef C_InterfaceNode.Builder thisptr + cdef init(self, C_InterfaceNode.Builder other): + self.thisptr = other + return self + property methods: + def __get__(self): + return _List_InterfaceNode_InterfaceNode_Method_Builder().init(self.thisptr.getMethods()) + cpdef initMethods(self, uint num): + return _List_InterfaceNode_InterfaceNode_Method_Builder().init(self.thisptr.initMethods(num)) + + +cdef class _Value_BodyReader: + cdef C_Value.Body.Reader thisptr + cdef init(self, C_Value.Body.Reader other): + self.thisptr = other + return self + property uint32Value: + def __get__(self): + return self.thisptr.getUint32Value() + property float64Value: + def __get__(self): + return self.thisptr.getFloat64Value() + property voidValue: + def __get__(self): + return None + property dataValue: + def __get__(self): + return None + property listValue: + def __get__(self): + return None + property int32Value: + def __get__(self): + return self.thisptr.getInt32Value() + property enumValue: + def __get__(self): + return self.thisptr.getEnumValue() + property int8Value: + def __get__(self): + return self.thisptr.getInt8Value() + property boolValue: + def __get__(self): + return self.thisptr.getBoolValue() + property int16Value: + def __get__(self): + return self.thisptr.getInt16Value() + property float32Value: + def __get__(self): + return self.thisptr.getFloat32Value() + property interfaceValue: + def __get__(self): + return None + property uint16Value: + def __get__(self): + return self.thisptr.getUint16Value() + property uint8Value: + def __get__(self): + return self.thisptr.getUint8Value() + property int64Value: + def __get__(self): + return self.thisptr.getInt64Value() + property structValue: + def __get__(self): + return None + property textValue: + def __get__(self): + return None + property uint64Value: + def __get__(self): + return self.thisptr.getUint64Value() + property objectValue: + def __get__(self): + return None + +cdef class _Value_BodyBuilder: + cdef C_Value.Body.Builder thisptr + cdef init(self, C_Value.Body.Builder other): + self.thisptr = other + return self + property uint32Value: + def __get__(self): + return self.thisptr.getUint32Value() + def __set__(self, val): + self.thisptr.setUint32Value(val) + property float64Value: + def __get__(self): + return self.thisptr.getFloat64Value() + def __set__(self, val): + self.thisptr.setFloat64Value(val) + property voidValue: + def __get__(self): + return None + def __set__(self, val): + pass + property dataValue: + def __get__(self): + return None + def __set__(self, val): + pass + property listValue: + def __get__(self): + return None + def __set__(self, val): + pass + property int32Value: + def __get__(self): + return self.thisptr.getInt32Value() + def __set__(self, val): + self.thisptr.setInt32Value(val) + property enumValue: + def __get__(self): + return self.thisptr.getEnumValue() + def __set__(self, val): + self.thisptr.setEnumValue(val) + property int8Value: + def __get__(self): + return self.thisptr.getInt8Value() + def __set__(self, val): + self.thisptr.setInt8Value(val) + property boolValue: + def __get__(self): + return self.thisptr.getBoolValue() + def __set__(self, val): + self.thisptr.setBoolValue(val) + property int16Value: + def __get__(self): + return self.thisptr.getInt16Value() + def __set__(self, val): + self.thisptr.setInt16Value(val) + property float32Value: + def __get__(self): + return self.thisptr.getFloat32Value() + def __set__(self, val): + self.thisptr.setFloat32Value(val) + property interfaceValue: + def __get__(self): + return None + def __set__(self, val): + pass + property uint16Value: + def __get__(self): + return self.thisptr.getUint16Value() + def __set__(self, val): + self.thisptr.setUint16Value(val) + property uint8Value: + def __get__(self): + return self.thisptr.getUint8Value() + def __set__(self, val): + self.thisptr.setUint8Value(val) + property int64Value: + def __get__(self): + return self.thisptr.getInt64Value() + def __set__(self, val): + self.thisptr.setInt64Value(val) + property structValue: + def __get__(self): + return None + def __set__(self, val): + pass + property textValue: + def __get__(self): + return None + def __set__(self, val): + pass + property uint64Value: + def __get__(self): + return self.thisptr.getUint64Value() + def __set__(self, val): + self.thisptr.setUint64Value(val) + property objectValue: + def __get__(self): + return None + def __set__(self, val): + pass +cdef class _ValueReader: + cdef C_Value.Reader thisptr + cdef init(self, C_Value.Reader other): + self.thisptr = other + return self + property body: + def __get__(self): + return _Value_BodyReader().init(self.thisptr.getBody()) + +cdef class _ValueBuilder: + cdef C_Value.Builder thisptr + cdef init(self, C_Value.Builder other): + self.thisptr = other + return self + property body: + def __get__(self): + return _Value_BodyBuilder().init(self.thisptr.getBody()) + def __set__(self, val): + pass + +cdef class _ConstNodeReader: + cdef C_ConstNode.Reader thisptr + cdef init(self, C_ConstNode.Reader other): + self.thisptr = other + return self + property type: + def __get__(self): + return _TypeReader().init(self.thisptr.getType()) + property value: + def __get__(self): + return _ValueReader().init(self.thisptr.getValue()) + +cdef class _ConstNodeBuilder: + cdef C_ConstNode.Builder thisptr + cdef init(self, C_ConstNode.Builder other): + self.thisptr = other + return self + property type: + def __get__(self): + return _TypeBuilder().init(self.thisptr.getType()) + def __set__(self, val): + pass + property value: + def __get__(self): + return _ValueBuilder().init(self.thisptr.getValue()) + def __set__(self, val): + pass + + +cdef class _Type_BodyReader: + cdef C_Type.Body.Reader thisptr + cdef init(self, C_Type.Body.Reader other): + self.thisptr = other + return self + property boolType: + def __get__(self): + return None + property structType: + def __get__(self): + return self.thisptr.getStructType() + property int32Type: + def __get__(self): + return None + property voidType: + def __get__(self): + return None + property uint16Type: + def __get__(self): + return None + property dataType: + def __get__(self): + return None + property objectType: + def __get__(self): + return None + property int64Type: + def __get__(self): + return None + property float64Type: + def __get__(self): + return None + property interfaceType: + def __get__(self): + return self.thisptr.getInterfaceType() + property uint32Type: + def __get__(self): + return None + property uint8Type: + def __get__(self): + return None + property listType: + def __get__(self): + return _TypeReader().init(self.thisptr.getListType()) + property int8Type: + def __get__(self): + return None + property float32Type: + def __get__(self): + return None + property enumType: + def __get__(self): + return self.thisptr.getEnumType() + property uint64Type: + def __get__(self): + return None + property textType: + def __get__(self): + return None + property int16Type: + def __get__(self): + return None + +cdef class _Type_BodyBuilder: + cdef C_Type.Body.Builder thisptr + cdef init(self, C_Type.Body.Builder other): + self.thisptr = other + return self + property boolType: + def __get__(self): + return None + def __set__(self, val): + pass + property structType: + def __get__(self): + return self.thisptr.getStructType() + def __set__(self, val): + self.thisptr.setStructType(val) + property int32Type: + def __get__(self): + return None + def __set__(self, val): + pass + property voidType: + def __get__(self): + return None + def __set__(self, val): + pass + property uint16Type: + def __get__(self): + return None + def __set__(self, val): + pass + property dataType: + def __get__(self): + return None + def __set__(self, val): + pass + property objectType: + def __get__(self): + return None + def __set__(self, val): + pass + property int64Type: + def __get__(self): + return None + def __set__(self, val): + pass + property float64Type: + def __get__(self): + return None + def __set__(self, val): + pass + property interfaceType: + def __get__(self): + return self.thisptr.getInterfaceType() + def __set__(self, val): + self.thisptr.setInterfaceType(val) + property uint32Type: + def __get__(self): + return None + def __set__(self, val): + pass + property uint8Type: + def __get__(self): + return None + def __set__(self, val): + pass + property listType: + def __get__(self): + return _TypeBuilder().init(self.thisptr.getListType()) + def __set__(self, val): + pass + property int8Type: + def __get__(self): + return None + def __set__(self, val): + pass + property float32Type: + def __get__(self): + return None + def __set__(self, val): + pass + property enumType: + def __get__(self): + return self.thisptr.getEnumType() + def __set__(self, val): + self.thisptr.setEnumType(val) + property uint64Type: + def __get__(self): + return None + def __set__(self, val): + pass + property textType: + def __get__(self): + return None + def __set__(self, val): + pass + property int16Type: + def __get__(self): + return None + def __set__(self, val): + pass +cdef class _TypeReader: + cdef C_Type.Reader thisptr + cdef init(self, C_Type.Reader other): + self.thisptr = other + return self + property body: + def __get__(self): + return _Type_BodyReader().init(self.thisptr.getBody()) + +cdef class _TypeBuilder: + cdef C_Type.Builder thisptr + cdef init(self, C_Type.Builder other): + self.thisptr = other + return self + property body: + def __get__(self): + return _Type_BodyBuilder().init(self.thisptr.getBody()) + def __set__(self, val): + pass + + +cdef class _FileNode_ImportReader: + cdef C_FileNode.Import.Reader thisptr + cdef init(self, C_FileNode.Import.Reader other): + self.thisptr = other + return self + property id: + def __get__(self): + return self.thisptr.getId() + property name: + def __get__(self): + return None + +cdef class _FileNode_ImportBuilder: + cdef C_FileNode.Import.Builder thisptr + cdef init(self, C_FileNode.Import.Builder other): + self.thisptr = other + return self + property id: + def __get__(self): + return self.thisptr.getId() + def __set__(self, val): + self.thisptr.setId(val) + property name: + def __get__(self): + return None + def __set__(self, val): + pass +cdef class _FileNodeReader: + cdef C_FileNode.Reader thisptr + cdef init(self, C_FileNode.Reader other): + self.thisptr = other + return self + property imports: + def __get__(self): + return _List_FileNode_FileNode_Import_Reader().init(self.thisptr.getImports()) + +cdef class _FileNodeBuilder: + cdef C_FileNode.Builder thisptr + cdef init(self, C_FileNode.Builder other): + self.thisptr = other + return self + property imports: + def __get__(self): + return _List_FileNode_FileNode_Import_Builder().init(self.thisptr.getImports()) + cpdef initImports(self, uint num): + return _List_FileNode_FileNode_Import_Builder().init(self.thisptr.initImports(num)) + + +cdef class _Node_BodyReader: + cdef C_Node.Body.Reader thisptr + cdef init(self, C_Node.Body.Reader other): + self.thisptr = other + return self + property annotationNode: + def __get__(self): + return _AnnotationNodeReader().init(self.thisptr.getAnnotationNode()) + property interfaceNode: + def __get__(self): + return _InterfaceNodeReader().init(self.thisptr.getInterfaceNode()) + property enumNode: + def __get__(self): + return _EnumNodeReader().init(self.thisptr.getEnumNode()) + property structNode: + def __get__(self): + return _StructNodeReader().init(self.thisptr.getStructNode()) + property constNode: + def __get__(self): + return _ConstNodeReader().init(self.thisptr.getConstNode()) + property fileNode: + def __get__(self): + return _FileNodeReader().init(self.thisptr.getFileNode()) + +cdef class _Node_BodyBuilder: + cdef C_Node.Body.Builder thisptr + cdef init(self, C_Node.Body.Builder other): + self.thisptr = other + return self + property annotationNode: + def __get__(self): + return _AnnotationNodeBuilder().init(self.thisptr.getAnnotationNode()) + def __set__(self, val): + pass + property interfaceNode: + def __get__(self): + return _InterfaceNodeBuilder().init(self.thisptr.getInterfaceNode()) + def __set__(self, val): + pass + property enumNode: + def __get__(self): + return _EnumNodeBuilder().init(self.thisptr.getEnumNode()) + def __set__(self, val): + pass + property structNode: + def __get__(self): + return _StructNodeBuilder().init(self.thisptr.getStructNode()) + def __set__(self, val): + pass + property constNode: + def __get__(self): + return _ConstNodeBuilder().init(self.thisptr.getConstNode()) + def __set__(self, val): + pass + property fileNode: + def __get__(self): + return _FileNodeBuilder().init(self.thisptr.getFileNode()) + def __set__(self, val): + pass + +cdef class _Node_NestedNodeReader: + cdef C_Node.NestedNode.Reader thisptr + cdef init(self, C_Node.NestedNode.Reader other): + self.thisptr = other + return self + property name: + def __get__(self): + return None + property id: + def __get__(self): + return self.thisptr.getId() + +cdef class _Node_NestedNodeBuilder: + cdef C_Node.NestedNode.Builder thisptr + cdef init(self, C_Node.NestedNode.Builder other): + self.thisptr = other + return self + property name: + def __get__(self): + return None + def __set__(self, val): + pass + property id: + def __get__(self): + return self.thisptr.getId() + def __set__(self, val): + self.thisptr.setId(val) +cdef class _NodeReader: + cdef C_Node.Reader thisptr + cdef init(self, C_Node.Reader other): + self.thisptr = other + return self + property body: + def __get__(self): + return _Node_BodyReader().init(self.thisptr.getBody()) + property displayName: + def __get__(self): + return None + property annotations: + def __get__(self): + return _List_Node_Annotation_Reader().init(self.thisptr.getAnnotations()) + property scopeId: + def __get__(self): + return self.thisptr.getScopeId() + property nestedNodes: + def __get__(self): + return _List_Node_Node_NestedNode_Reader().init(self.thisptr.getNestedNodes()) + property id: + def __get__(self): + return self.thisptr.getId() + +cdef class _NodeBuilder: + cdef C_Node.Builder thisptr + cdef init(self, C_Node.Builder other): + self.thisptr = other + return self + property body: + def __get__(self): + return _Node_BodyBuilder().init(self.thisptr.getBody()) + def __set__(self, val): + pass + property displayName: + def __get__(self): + return None + def __set__(self, val): + pass + property annotations: + def __get__(self): + return _List_Node_Annotation_Builder().init(self.thisptr.getAnnotations()) + cpdef initAnnotations(self, uint num): + return _List_Node_Annotation_Builder().init(self.thisptr.initAnnotations(num)) + property scopeId: + def __get__(self): + return self.thisptr.getScopeId() + def __set__(self, val): + self.thisptr.setScopeId(val) + property nestedNodes: + def __get__(self): + return _List_Node_Node_NestedNode_Builder().init(self.thisptr.getNestedNodes()) + cpdef initNestedNodes(self, uint num): + return _List_Node_Node_NestedNode_Builder().init(self.thisptr.initNestedNodes(num)) + property id: + def __get__(self): + return self.thisptr.getId() + def __set__(self, val): + self.thisptr.setId(val) + +cdef class _AnnotationNodeReader: + cdef C_AnnotationNode.Reader thisptr + cdef init(self, C_AnnotationNode.Reader other): + self.thisptr = other + return self + property targetsField: + def __get__(self): + return self.thisptr.getTargetsField() + property targetsConst: + def __get__(self): + return self.thisptr.getTargetsConst() + property targetsFile: + def __get__(self): + return self.thisptr.getTargetsFile() + property targetsStruct: + def __get__(self): + return self.thisptr.getTargetsStruct() + property targetsParam: + def __get__(self): + return self.thisptr.getTargetsParam() + property targetsUnion: + def __get__(self): + return self.thisptr.getTargetsUnion() + property targetsAnnotation: + def __get__(self): + return self.thisptr.getTargetsAnnotation() + property targetsEnumerant: + def __get__(self): + return self.thisptr.getTargetsEnumerant() + property type: + def __get__(self): + return _TypeReader().init(self.thisptr.getType()) + property targetsEnum: + def __get__(self): + return self.thisptr.getTargetsEnum() + property targetsInterface: + def __get__(self): + return self.thisptr.getTargetsInterface() + property targetsMethod: + def __get__(self): + return self.thisptr.getTargetsMethod() + +cdef class _AnnotationNodeBuilder: + cdef C_AnnotationNode.Builder thisptr + cdef init(self, C_AnnotationNode.Builder other): + self.thisptr = other + return self + property targetsField: + def __get__(self): + return self.thisptr.getTargetsField() + def __set__(self, val): + self.thisptr.setTargetsField(val) + property targetsConst: + def __get__(self): + return self.thisptr.getTargetsConst() + def __set__(self, val): + self.thisptr.setTargetsConst(val) + property targetsFile: + def __get__(self): + return self.thisptr.getTargetsFile() + def __set__(self, val): + self.thisptr.setTargetsFile(val) + property targetsStruct: + def __get__(self): + return self.thisptr.getTargetsStruct() + def __set__(self, val): + self.thisptr.setTargetsStruct(val) + property targetsParam: + def __get__(self): + return self.thisptr.getTargetsParam() + def __set__(self, val): + self.thisptr.setTargetsParam(val) + property targetsUnion: + def __get__(self): + return self.thisptr.getTargetsUnion() + def __set__(self, val): + self.thisptr.setTargetsUnion(val) + property targetsAnnotation: + def __get__(self): + return self.thisptr.getTargetsAnnotation() + def __set__(self, val): + self.thisptr.setTargetsAnnotation(val) + property targetsEnumerant: + def __get__(self): + return self.thisptr.getTargetsEnumerant() + def __set__(self, val): + self.thisptr.setTargetsEnumerant(val) + property type: + def __get__(self): + return _TypeBuilder().init(self.thisptr.getType()) + def __set__(self, val): + pass + property targetsEnum: + def __get__(self): + return self.thisptr.getTargetsEnum() + def __set__(self, val): + self.thisptr.setTargetsEnum(val) + property targetsInterface: + def __get__(self): + return self.thisptr.getTargetsInterface() + def __set__(self, val): + self.thisptr.setTargetsInterface(val) + property targetsMethod: + def __get__(self): + return self.thisptr.getTargetsMethod() + def __set__(self, val): + self.thisptr.setTargetsMethod(val) + + +cdef class _EnumNode_EnumerantReader: + cdef C_EnumNode.Enumerant.Reader thisptr + cdef init(self, C_EnumNode.Enumerant.Reader other): + self.thisptr = other + return self + property codeOrder: + def __get__(self): + return self.thisptr.getCodeOrder() + property name: + def __get__(self): + return None + property annotations: + def __get__(self): + return _List_EnumNode_Enumerant_Annotation_Reader().init(self.thisptr.getAnnotations()) + +cdef class _EnumNode_EnumerantBuilder: + cdef C_EnumNode.Enumerant.Builder thisptr + cdef init(self, C_EnumNode.Enumerant.Builder other): + self.thisptr = other + return self + property codeOrder: + def __get__(self): + return self.thisptr.getCodeOrder() + def __set__(self, val): + self.thisptr.setCodeOrder(val) + property name: + def __get__(self): + return None + def __set__(self, val): + pass + property annotations: + def __get__(self): + return _List_EnumNode_Enumerant_Annotation_Builder().init(self.thisptr.getAnnotations()) + cpdef initAnnotations(self, uint num): + return _List_EnumNode_Enumerant_Annotation_Builder().init(self.thisptr.initAnnotations(num)) +cdef class _EnumNodeReader: + cdef C_EnumNode.Reader thisptr + cdef init(self, C_EnumNode.Reader other): + self.thisptr = other + return self + property enumerants: + def __get__(self): + return _List_EnumNode_EnumNode_Enumerant_Reader().init(self.thisptr.getEnumerants()) + +cdef class _EnumNodeBuilder: + cdef C_EnumNode.Builder thisptr + cdef init(self, C_EnumNode.Builder other): + self.thisptr = other + return self + property enumerants: + def __get__(self): + return _List_EnumNode_EnumNode_Enumerant_Builder().init(self.thisptr.getEnumerants()) + cpdef initEnumerants(self, uint num): + return _List_EnumNode_EnumNode_Enumerant_Builder().init(self.thisptr.initEnumerants(num)) + + +cdef class _StructNode_UnionReader: + cdef C_StructNode.Union.Reader thisptr + cdef init(self, C_StructNode.Union.Reader other): + self.thisptr = other + return self + property discriminantOffset: + def __get__(self): + return self.thisptr.getDiscriminantOffset() + property members: + def __get__(self): + return _List_StructNode_Union_StructNode_Member_Reader().init(self.thisptr.getMembers()) + +cdef class _StructNode_UnionBuilder: + cdef C_StructNode.Union.Builder thisptr + cdef init(self, C_StructNode.Union.Builder other): + self.thisptr = other + return self + property discriminantOffset: + def __get__(self): + return self.thisptr.getDiscriminantOffset() + def __set__(self, val): + self.thisptr.setDiscriminantOffset(val) + property members: + def __get__(self): + return _List_StructNode_Union_StructNode_Member_Builder().init(self.thisptr.getMembers()) + cpdef initMembers(self, uint num): + return _List_StructNode_Union_StructNode_Member_Builder().init(self.thisptr.initMembers(num)) + + +cdef class _StructNode_Member_BodyReader: + cdef C_StructNode.Member.Body.Reader thisptr + cdef init(self, C_StructNode.Member.Body.Reader other): + self.thisptr = other + return self + property fieldMember: + def __get__(self): + return _StructNode_FieldReader().init(self.thisptr.getFieldMember()) + property unionMember: + def __get__(self): + return _StructNode_UnionReader().init(self.thisptr.getUnionMember()) + +cdef class _StructNode_Member_BodyBuilder: + cdef C_StructNode.Member.Body.Builder thisptr + cdef init(self, C_StructNode.Member.Body.Builder other): + self.thisptr = other + return self + property fieldMember: + def __get__(self): + return _StructNode_FieldBuilder().init(self.thisptr.getFieldMember()) + def __set__(self, val): + pass + property unionMember: + def __get__(self): + return _StructNode_UnionBuilder().init(self.thisptr.getUnionMember()) + def __set__(self, val): + pass +cdef class _StructNode_MemberReader: + cdef C_StructNode.Member.Reader thisptr + cdef init(self, C_StructNode.Member.Reader other): + self.thisptr = other + return self + property ordinal: + def __get__(self): + return self.thisptr.getOrdinal() + property body: + def __get__(self): + return _StructNode_Member_BodyReader().init(self.thisptr.getBody()) + property codeOrder: + def __get__(self): + return self.thisptr.getCodeOrder() + property name: + def __get__(self): + return None + property annotations: + def __get__(self): + return _List_StructNode_Member_Annotation_Reader().init(self.thisptr.getAnnotations()) + +cdef class _StructNode_MemberBuilder: + cdef C_StructNode.Member.Builder thisptr + cdef init(self, C_StructNode.Member.Builder other): + self.thisptr = other + return self + property ordinal: + def __get__(self): + return self.thisptr.getOrdinal() + def __set__(self, val): + self.thisptr.setOrdinal(val) + property body: + def __get__(self): + return _StructNode_Member_BodyBuilder().init(self.thisptr.getBody()) + def __set__(self, val): + pass + property codeOrder: + def __get__(self): + return self.thisptr.getCodeOrder() + def __set__(self, val): + self.thisptr.setCodeOrder(val) + property name: + def __get__(self): + return None + def __set__(self, val): + pass + property annotations: + def __get__(self): + return _List_StructNode_Member_Annotation_Builder().init(self.thisptr.getAnnotations()) + cpdef initAnnotations(self, uint num): + return _List_StructNode_Member_Annotation_Builder().init(self.thisptr.initAnnotations(num)) + +cdef class _StructNode_FieldReader: + cdef C_StructNode.Field.Reader thisptr + cdef init(self, C_StructNode.Field.Reader other): + self.thisptr = other + return self + property defaultValue: + def __get__(self): + return _ValueReader().init(self.thisptr.getDefaultValue()) + property type: + def __get__(self): + return _TypeReader().init(self.thisptr.getType()) + property offset: + def __get__(self): + return self.thisptr.getOffset() + +cdef class _StructNode_FieldBuilder: + cdef C_StructNode.Field.Builder thisptr + cdef init(self, C_StructNode.Field.Builder other): + self.thisptr = other + return self + property defaultValue: + def __get__(self): + return _ValueBuilder().init(self.thisptr.getDefaultValue()) + def __set__(self, val): + pass + property type: + def __get__(self): + return _TypeBuilder().init(self.thisptr.getType()) + def __set__(self, val): + pass + property offset: + def __get__(self): + return self.thisptr.getOffset() + def __set__(self, val): + self.thisptr.setOffset(val) +cdef class _StructNodeReader: + cdef C_StructNode.Reader thisptr + cdef init(self, C_StructNode.Reader other): + self.thisptr = other + return self + property dataSectionWordSize: + def __get__(self): + return self.thisptr.getDataSectionWordSize() + property members: + def __get__(self): + return _List_StructNode_StructNode_Member_Reader().init(self.thisptr.getMembers()) + property pointerSectionSize: + def __get__(self): + return self.thisptr.getPointerSectionSize() + +cdef class _StructNodeBuilder: + cdef C_StructNode.Builder thisptr + cdef init(self, C_StructNode.Builder other): + self.thisptr = other + return self + property dataSectionWordSize: + def __get__(self): + return self.thisptr.getDataSectionWordSize() + def __set__(self, val): + self.thisptr.setDataSectionWordSize(val) + property members: + def __get__(self): + return _List_StructNode_StructNode_Member_Builder().init(self.thisptr.getMembers()) + cpdef initMembers(self, uint num): + return _List_StructNode_StructNode_Member_Builder().init(self.thisptr.initMembers(num)) + property pointerSectionSize: + def __get__(self): + return self.thisptr.getPointerSectionSize() + def __set__(self, val): + self.thisptr.setPointerSectionSize(val) + +cdef class _AnnotationReader: + cdef C_Annotation.Reader thisptr + cdef init(self, C_Annotation.Reader other): + self.thisptr = other + return self + property id: + def __get__(self): + return self.thisptr.getId() + property value: + def __get__(self): + return _ValueReader().init(self.thisptr.getValue()) + +cdef class _AnnotationBuilder: + cdef C_Annotation.Builder thisptr + cdef init(self, C_Annotation.Builder other): + self.thisptr = other + return self + property id: + def __get__(self): + return self.thisptr.getId() + def __set__(self, val): + self.thisptr.setId(val) + property value: + def __get__(self): + return _ValueBuilder().init(self.thisptr.getValue()) + def __set__(self, val): + pass + +cdef class MessageBuilder: + cdef capnp.MessageBuilder * thisptr + def __dealloc__(self): + del self.thisptr + cpdef getRootCodeGeneratorRequest(self): + return _CodeGeneratorRequestBuilder().init(self.thisptr.getRootCodeGeneratorRequest()) + cpdef initRootCodeGeneratorRequest(self): + return _CodeGeneratorRequestBuilder().init(self.thisptr.initRootCodeGeneratorRequest()) + cpdef getRootInterfaceNode(self): + return _InterfaceNodeBuilder().init(self.thisptr.getRootInterfaceNode()) + cpdef initRootInterfaceNode(self): + return _InterfaceNodeBuilder().init(self.thisptr.initRootInterfaceNode()) + cpdef getRootValue(self): + return _ValueBuilder().init(self.thisptr.getRootValue()) + cpdef initRootValue(self): + return _ValueBuilder().init(self.thisptr.initRootValue()) + cpdef getRootConstNode(self): + return _ConstNodeBuilder().init(self.thisptr.getRootConstNode()) + cpdef initRootConstNode(self): + return _ConstNodeBuilder().init(self.thisptr.initRootConstNode()) + cpdef getRootType(self): + return _TypeBuilder().init(self.thisptr.getRootType()) + cpdef initRootType(self): + return _TypeBuilder().init(self.thisptr.initRootType()) + cpdef getRootFileNode(self): + return _FileNodeBuilder().init(self.thisptr.getRootFileNode()) + cpdef initRootFileNode(self): + return _FileNodeBuilder().init(self.thisptr.initRootFileNode()) + cpdef getRootNode(self): + return _NodeBuilder().init(self.thisptr.getRootNode()) + cpdef initRootNode(self): + return _NodeBuilder().init(self.thisptr.initRootNode()) + cpdef getRootAnnotationNode(self): + return _AnnotationNodeBuilder().init(self.thisptr.getRootAnnotationNode()) + cpdef initRootAnnotationNode(self): + return _AnnotationNodeBuilder().init(self.thisptr.initRootAnnotationNode()) + cpdef getRootEnumNode(self): + return _EnumNodeBuilder().init(self.thisptr.getRootEnumNode()) + cpdef initRootEnumNode(self): + return _EnumNodeBuilder().init(self.thisptr.initRootEnumNode()) + cpdef getRootStructNode(self): + return _StructNodeBuilder().init(self.thisptr.getRootStructNode()) + cpdef initRootStructNode(self): + return _StructNodeBuilder().init(self.thisptr.initRootStructNode()) + cpdef getRootAnnotation(self): + return _AnnotationBuilder().init(self.thisptr.getRootAnnotation()) + cpdef initRootAnnotation(self): + return _AnnotationBuilder().init(self.thisptr.initRootAnnotation()) +cdef class MallocMessageBuilder(MessageBuilder): + def __cinit__(self): + self.thisptr = new capnp.MallocMessageBuilder() + + +cdef class MessageReader: + cdef capnp.MessageReader * thisptr + def __dealloc__(self): + del self.thisptr + cpdef getRootCodeGeneratorRequest(self): + return _CodeGeneratorRequestReader().init(self.thisptr.getRootCodeGeneratorRequest()) + cpdef getRootInterfaceNode(self): + return _InterfaceNodeReader().init(self.thisptr.getRootInterfaceNode()) + cpdef getRootValue(self): + return _ValueReader().init(self.thisptr.getRootValue()) + cpdef getRootConstNode(self): + return _ConstNodeReader().init(self.thisptr.getRootConstNode()) + cpdef getRootType(self): + return _TypeReader().init(self.thisptr.getRootType()) + cpdef getRootFileNode(self): + return _FileNodeReader().init(self.thisptr.getRootFileNode()) + cpdef getRootNode(self): + return _NodeReader().init(self.thisptr.getRootNode()) + cpdef getRootAnnotationNode(self): + return _AnnotationNodeReader().init(self.thisptr.getRootAnnotationNode()) + cpdef getRootEnumNode(self): + return _EnumNodeReader().init(self.thisptr.getRootEnumNode()) + cpdef getRootStructNode(self): + return _StructNodeReader().init(self.thisptr.getRootStructNode()) + cpdef getRootAnnotation(self): + return _AnnotationReader().init(self.thisptr.getRootAnnotation()) + +cdef class StreamFdMessageReader(MessageReader): + def __cinit__(self, int fd): + self.thisptr = new capnp.StreamFdMessageReader(int) + +cdef class PackedFdMessageReader(MessageReader): + def __cinit__(self, int fd): + self.thisptr = new capnp.PackedFdMessageReader(int) + +def writeMessageToFd(int fd, MessageBuilder m): + capnp.writeMessageToFd(fd, deref(m.thisptr)) +def writePackedMessageToFd(int fd, MessageBuilder m): + capnp.writePackedMessageToFd(fd, deref(m.thisptr)) \ No newline at end of file diff --git a/schema.capnp.h b/schema.capnp.h new file mode 100644 index 0000000..d99d2ca --- /dev/null +++ b/schema.capnp.h @@ -0,0 +1,5301 @@ +// Generated code, DO NOT EDIT + +#ifndef CAPNP_INCLUDED_3049d609bcc70d258c4d9c07a7924611 +#define CAPNP_INCLUDED_3049d609bcc70d258c4d9c07a7924611 + +#include + +namespace capnp { +namespace schema { + + +struct Annotation { + Annotation() = delete; + + class Reader; + class Builder; + +private: +}; + +struct AnnotationNode { + AnnotationNode() = delete; + + class Reader; + class Builder; + +private: +}; + +struct CodeGeneratorRequest { + CodeGeneratorRequest() = delete; + + class Reader; + class Builder; + +private: +}; + +struct ConstNode { + ConstNode() = delete; + + class Reader; + class Builder; + +private: +}; + +struct EnumNode { + EnumNode() = delete; + + class Reader; + class Builder; + struct Enumerant; + +private: +}; + +struct EnumNode::Enumerant { + Enumerant() = delete; + + class Reader; + class Builder; + +private: +}; + +struct FileNode { + FileNode() = delete; + + class Reader; + class Builder; + struct Import; + +private: +}; + +struct FileNode::Import { + Import() = delete; + + class Reader; + class Builder; + +private: +}; + +struct InterfaceNode { + InterfaceNode() = delete; + + class Reader; + class Builder; + struct Method; + +private: +}; + +struct InterfaceNode::Method { + Method() = delete; + + class Reader; + class Builder; + struct Param; + +private: +}; + +struct InterfaceNode::Method::Param { + Param() = delete; + + class Reader; + class Builder; + +private: +}; + +struct Node { + Node() = delete; + + class Reader; + class Builder; + struct NestedNode; + struct Body; + +private: +}; + +struct Node::NestedNode { + NestedNode() = delete; + + class Reader; + class Builder; + +private: +}; + +struct Node::Body { + Body() = delete; + + class Reader; + class Builder; + + enum Which: uint16_t { + FILE_NODE = 0, + STRUCT_NODE = 1, + ENUM_NODE = 2, + INTERFACE_NODE = 3, + CONST_NODE = 4, + ANNOTATION_NODE = 5, + }; + +private: +}; + +struct StructNode { + StructNode() = delete; + + class Reader; + class Builder; + struct Member; + struct Field; + struct Union; + +private: +}; + +struct StructNode::Field { + Field() = delete; + + class Reader; + class Builder; + +private: +}; + +struct StructNode::Member { + Member() = delete; + + class Reader; + class Builder; + struct Body; + +private: +}; + +struct StructNode::Member::Body { + Body() = delete; + + class Reader; + class Builder; + + enum Which: uint16_t { + FIELD_MEMBER = 0, + UNION_MEMBER = 1, + }; + +private: +}; + +struct StructNode::Union { + Union() = delete; + + class Reader; + class Builder; + +private: +}; + +struct Type { + Type() = delete; + + class Reader; + class Builder; + struct Body; + +private: +}; + +struct Type::Body { + Body() = delete; + + class Reader; + class Builder; + + enum Which: uint16_t { + VOID_TYPE = 0, + BOOL_TYPE = 1, + INT8_TYPE = 2, + INT16_TYPE = 3, + INT32_TYPE = 4, + INT64_TYPE = 5, + UINT8_TYPE = 6, + UINT16_TYPE = 7, + UINT32_TYPE = 8, + UINT64_TYPE = 9, + FLOAT32_TYPE = 10, + FLOAT64_TYPE = 11, + TEXT_TYPE = 12, + DATA_TYPE = 13, + LIST_TYPE = 14, + ENUM_TYPE = 15, + STRUCT_TYPE = 16, + INTERFACE_TYPE = 17, + OBJECT_TYPE = 18, + }; + +private: +}; + +struct Value { + Value() = delete; + + class Reader; + class Builder; + struct Body; + +private: +}; + +struct Value::Body { + Body() = delete; + + class Reader; + class Builder; + + enum Which: uint16_t { + VOID_VALUE = 9, + BOOL_VALUE = 1, + INT8_VALUE = 2, + INT16_VALUE = 3, + INT32_VALUE = 4, + INT64_VALUE = 5, + UINT8_VALUE = 6, + UINT16_VALUE = 7, + UINT32_VALUE = 8, + UINT64_VALUE = 0, + FLOAT32_VALUE = 10, + FLOAT64_VALUE = 11, + TEXT_VALUE = 12, + DATA_VALUE = 13, + LIST_VALUE = 14, + ENUM_VALUE = 15, + STRUCT_VALUE = 16, + INTERFACE_VALUE = 17, + OBJECT_VALUE = 18, + }; + +private: +}; + + +enum class ElementSize: uint16_t { + EMPTY = 0, + BIT = 1, + BYTE = 2, + TWO_BYTES = 3, + FOUR_BYTES = 4, + EIGHT_BYTES = 5, + POINTER = 6, + INLINE_COMPOSITE = 7, +}; + + +} // namespace +} // namespace + +namespace capnp { +namespace schemas { +extern const ::capnp::_::RawSchema s_db785131c0cfee73; +extern const ::capnp::_::RawSchema s_f386f41ae9f5cbe5; +extern const ::capnp::_::RawSchema s_d095654a26e15f1d; +extern const ::capnp::_::RawSchema s_8f0cf892b24a8062; +extern const ::capnp::_::RawSchema s_d7326bd22e1c298c; +extern const ::capnp::_::RawSchema s_d612f44d78962abf; +extern const ::capnp::_::RawSchema s_c9ac441973b9f177; +extern const ::capnp::_::RawSchema s_d59c380b31b76b1f; +extern const ::capnp::_::RawSchema s_d5d6a9044d63c158; +extern const ::capnp::_::RawSchema s_b8a6ecfa2d5121e6; +extern const ::capnp::_::RawSchema s_bdd7f6f0832387ac; +extern const ::capnp::_::RawSchema s_d6d38cf4e366e91c; +extern const ::capnp::_::RawSchema s_96ae9bbee664c195; +extern const ::capnp::_::RawSchema s_adfe8e889429ee28; +extern const ::capnp::_::RawSchema s_bf81d92a0b7e0c1f; +extern const ::capnp::_::RawSchema s_c75846e17057a41f; +extern const ::capnp::_::RawSchema s_9a2db4bd6b74f8c1; +extern const ::capnp::_::RawSchema s_efff479ae161da06; +extern const ::capnp::_::RawSchema s_dddca9a9ee299e42; +extern const ::capnp::_::RawSchema s_c2c768aee22269ee; +} // namespace schemas +namespace _ { // private +CAPNP_DECLARE_STRUCT( + ::capnp::schema::Annotation, db785131c0cfee73, + 1, 1, INLINE_COMPOSITE); +CAPNP_DECLARE_STRUCT( + ::capnp::schema::AnnotationNode, f386f41ae9f5cbe5, + 1, 1, INLINE_COMPOSITE); +CAPNP_DECLARE_STRUCT( + ::capnp::schema::CodeGeneratorRequest, d095654a26e15f1d, + 0, 2, INLINE_COMPOSITE); +CAPNP_DECLARE_STRUCT( + ::capnp::schema::ConstNode, 8f0cf892b24a8062, + 0, 2, INLINE_COMPOSITE); +CAPNP_DECLARE_STRUCT( + ::capnp::schema::EnumNode, d612f44d78962abf, + 0, 1, POINTER); +CAPNP_DECLARE_STRUCT( + ::capnp::schema::EnumNode::Enumerant, c9ac441973b9f177, + 1, 2, INLINE_COMPOSITE); +CAPNP_DECLARE_STRUCT( + ::capnp::schema::FileNode, d59c380b31b76b1f, + 0, 1, POINTER); +CAPNP_DECLARE_STRUCT( + ::capnp::schema::FileNode::Import, d5d6a9044d63c158, + 1, 1, INLINE_COMPOSITE); +CAPNP_DECLARE_STRUCT( + ::capnp::schema::InterfaceNode, b8a6ecfa2d5121e6, + 0, 1, POINTER); +CAPNP_DECLARE_STRUCT( + ::capnp::schema::InterfaceNode::Method, bdd7f6f0832387ac, + 1, 4, INLINE_COMPOSITE); +CAPNP_DECLARE_STRUCT( + ::capnp::schema::InterfaceNode::Method::Param, d6d38cf4e366e91c, + 0, 4, INLINE_COMPOSITE); +CAPNP_DECLARE_STRUCT( + ::capnp::schema::Node, 96ae9bbee664c195, + 3, 4, INLINE_COMPOSITE); +CAPNP_DECLARE_UNION( + ::capnp::schema::Node::Body, + ::capnp::schema::Node, 5); +CAPNP_DECLARE_STRUCT( + ::capnp::schema::Node::NestedNode, adfe8e889429ee28, + 1, 1, INLINE_COMPOSITE); +CAPNP_DECLARE_STRUCT( + ::capnp::schema::StructNode, bf81d92a0b7e0c1f, + 1, 1, INLINE_COMPOSITE); +CAPNP_DECLARE_STRUCT( + ::capnp::schema::StructNode::Field, c75846e17057a41f, + 1, 2, INLINE_COMPOSITE); +CAPNP_DECLARE_STRUCT( + ::capnp::schema::StructNode::Member, 9a2db4bd6b74f8c1, + 1, 3, INLINE_COMPOSITE); +CAPNP_DECLARE_UNION( + ::capnp::schema::StructNode::Member::Body, + ::capnp::schema::StructNode::Member, 4); +CAPNP_DECLARE_STRUCT( + ::capnp::schema::StructNode::Union, efff479ae161da06, + 1, 1, INLINE_COMPOSITE); +CAPNP_DECLARE_STRUCT( + ::capnp::schema::Type, dddca9a9ee299e42, + 2, 1, INLINE_COMPOSITE); +CAPNP_DECLARE_UNION( + ::capnp::schema::Type::Body, + ::capnp::schema::Type, 0); +CAPNP_DECLARE_STRUCT( + ::capnp::schema::Value, c2c768aee22269ee, + 2, 1, INLINE_COMPOSITE); +CAPNP_DECLARE_UNION( + ::capnp::schema::Value::Body, + ::capnp::schema::Value, 0); +CAPNP_DECLARE_ENUM( + ::capnp::schema::ElementSize, d7326bd22e1c298c); +} // namespace capnp +} // namespace _ (private) + +namespace capnp { +namespace schema { + + + +class Annotation::Reader { +public: + typedef Annotation Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline size_t totalSizeInWords() const { + return _reader.totalSize() / ::capnp::WORDS; + } + + // id@0: UInt64; # bits[0, 64) + inline ::uint64_t getId() const; + + // value@1: .Value; # ptr[0] + inline bool hasValue() const; + inline ::capnp::schema::Value::Reader getValue() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(Annotation::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(Annotation::Reader reader) { + return ::capnp::_::structString(reader._reader); +} + + + +class Annotation::Builder { +public: + typedef Annotation Builds; + + Builder() = default; + 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(); } + + // id@0: UInt64; # bits[0, 64) + inline ::uint64_t getId(); + inline void setId( ::uint64_t value); + + // value@1: .Value; # ptr[0] + inline bool hasValue(); + inline ::capnp::schema::Value::Builder getValue(); + inline void setValue( ::capnp::schema::Value::Reader other); + inline ::capnp::schema::Value::Builder initValue(); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(Annotation::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(Annotation::Builder builder) { + return ::capnp::_::structString(builder._builder.asReader()); +} + +class AnnotationNode::Reader { +public: + typedef AnnotationNode Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline size_t totalSizeInWords() const { + return _reader.totalSize() / ::capnp::WORDS; + } + + // type@0: .Type; # ptr[0] + inline bool hasType() const; + inline ::capnp::schema::Type::Reader getType() const; + + // targetsFile@1: Bool; # bits[0, 1) + inline bool getTargetsFile() const; + + // targetsConst@2: Bool; # bits[1, 2) + inline bool getTargetsConst() const; + + // targetsEnum@3: Bool; # bits[2, 3) + inline bool getTargetsEnum() const; + + // targetsEnumerant@4: Bool; # bits[3, 4) + inline bool getTargetsEnumerant() const; + + // targetsStruct@5: Bool; # bits[4, 5) + inline bool getTargetsStruct() const; + + // targetsField@6: Bool; # bits[5, 6) + inline bool getTargetsField() const; + + // targetsUnion@7: Bool; # bits[6, 7) + inline bool getTargetsUnion() const; + + // targetsInterface@8: Bool; # bits[7, 8) + inline bool getTargetsInterface() const; + + // targetsMethod@9: Bool; # bits[8, 9) + inline bool getTargetsMethod() const; + + // targetsParam@10: Bool; # bits[9, 10) + inline bool getTargetsParam() const; + + // targetsAnnotation@11: Bool; # bits[10, 11) + inline bool getTargetsAnnotation() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(AnnotationNode::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(AnnotationNode::Reader reader) { + return ::capnp::_::structString(reader._reader); +} + + + +class AnnotationNode::Builder { +public: + typedef AnnotationNode Builds; + + Builder() = default; + 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(); } + + // type@0: .Type; # ptr[0] + inline bool hasType(); + inline ::capnp::schema::Type::Builder getType(); + inline void setType( ::capnp::schema::Type::Reader other); + inline ::capnp::schema::Type::Builder initType(); + + // targetsFile@1: Bool; # bits[0, 1) + inline bool getTargetsFile(); + inline void setTargetsFile(bool value); + + // targetsConst@2: Bool; # bits[1, 2) + inline bool getTargetsConst(); + inline void setTargetsConst(bool value); + + // targetsEnum@3: Bool; # bits[2, 3) + inline bool getTargetsEnum(); + inline void setTargetsEnum(bool value); + + // targetsEnumerant@4: Bool; # bits[3, 4) + inline bool getTargetsEnumerant(); + inline void setTargetsEnumerant(bool value); + + // targetsStruct@5: Bool; # bits[4, 5) + inline bool getTargetsStruct(); + inline void setTargetsStruct(bool value); + + // targetsField@6: Bool; # bits[5, 6) + inline bool getTargetsField(); + inline void setTargetsField(bool value); + + // targetsUnion@7: Bool; # bits[6, 7) + inline bool getTargetsUnion(); + inline void setTargetsUnion(bool value); + + // targetsInterface@8: Bool; # bits[7, 8) + inline bool getTargetsInterface(); + inline void setTargetsInterface(bool value); + + // targetsMethod@9: Bool; # bits[8, 9) + inline bool getTargetsMethod(); + inline void setTargetsMethod(bool value); + + // targetsParam@10: Bool; # bits[9, 10) + inline bool getTargetsParam(); + inline void setTargetsParam(bool value); + + // targetsAnnotation@11: Bool; # bits[10, 11) + inline bool getTargetsAnnotation(); + inline void setTargetsAnnotation(bool value); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(AnnotationNode::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(AnnotationNode::Builder builder) { + return ::capnp::_::structString(builder._builder.asReader()); +} + +class CodeGeneratorRequest::Reader { +public: + typedef CodeGeneratorRequest Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline size_t totalSizeInWords() const { + return _reader.totalSize() / ::capnp::WORDS; + } + + // nodes@0: List(.Node); # ptr[0] + inline bool hasNodes() const; + inline ::capnp::List< ::capnp::schema::Node>::Reader getNodes() const; + + // requestedFiles@1: List(UInt64); # ptr[1] + inline bool hasRequestedFiles() const; + inline ::capnp::List< ::uint64_t>::Reader getRequestedFiles() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(CodeGeneratorRequest::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(CodeGeneratorRequest::Reader reader) { + return ::capnp::_::structString(reader._reader); +} + + + +class CodeGeneratorRequest::Builder { +public: + typedef CodeGeneratorRequest Builds; + + Builder() = default; + 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(); } + + // nodes@0: List(.Node); # ptr[0] + inline bool hasNodes(); + inline ::capnp::List< ::capnp::schema::Node>::Builder getNodes(); + inline void setNodes( ::capnp::List< ::capnp::schema::Node>::Reader other); + inline ::capnp::List< ::capnp::schema::Node>::Builder initNodes(unsigned int size); + + // requestedFiles@1: List(UInt64); # ptr[1] + inline bool hasRequestedFiles(); + inline ::capnp::List< ::uint64_t>::Builder getRequestedFiles(); + inline void setRequestedFiles( ::capnp::List< ::uint64_t>::Reader other); + inline void setRequestedFiles( + std::initializer_list< ::uint64_t> other); + inline ::capnp::List< ::uint64_t>::Builder initRequestedFiles(unsigned int size); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(CodeGeneratorRequest::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(CodeGeneratorRequest::Builder builder) { + return ::capnp::_::structString(builder._builder.asReader()); +} + +class ConstNode::Reader { +public: + typedef ConstNode Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline size_t totalSizeInWords() const { + return _reader.totalSize() / ::capnp::WORDS; + } + + // type@0: .Type; # ptr[0] + inline bool hasType() const; + inline ::capnp::schema::Type::Reader getType() const; + + // value@1: .Value; # ptr[1] + inline bool hasValue() const; + inline ::capnp::schema::Value::Reader getValue() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(ConstNode::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(ConstNode::Reader reader) { + return ::capnp::_::structString(reader._reader); +} + + + +class ConstNode::Builder { +public: + typedef ConstNode Builds; + + Builder() = default; + 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(); } + + // type@0: .Type; # ptr[0] + inline bool hasType(); + inline ::capnp::schema::Type::Builder getType(); + inline void setType( ::capnp::schema::Type::Reader other); + inline ::capnp::schema::Type::Builder initType(); + + // value@1: .Value; # ptr[1] + inline bool hasValue(); + inline ::capnp::schema::Value::Builder getValue(); + inline void setValue( ::capnp::schema::Value::Reader other); + inline ::capnp::schema::Value::Builder initValue(); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(ConstNode::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(ConstNode::Builder builder) { + return ::capnp::_::structString(builder._builder.asReader()); +} + +class EnumNode::Reader { +public: + typedef EnumNode Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline size_t totalSizeInWords() const { + return _reader.totalSize() / ::capnp::WORDS; + } + + // enumerants@0: List(.EnumNode.Enumerant); # ptr[0] + inline bool hasEnumerants() const; + inline ::capnp::List< ::capnp::schema::EnumNode::Enumerant>::Reader getEnumerants() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(EnumNode::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(EnumNode::Reader reader) { + return ::capnp::_::structString(reader._reader); +} + + + +class EnumNode::Builder { +public: + typedef EnumNode Builds; + + Builder() = default; + 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(); } + + // enumerants@0: List(.EnumNode.Enumerant); # ptr[0] + inline bool hasEnumerants(); + inline ::capnp::List< ::capnp::schema::EnumNode::Enumerant>::Builder getEnumerants(); + inline void setEnumerants( ::capnp::List< ::capnp::schema::EnumNode::Enumerant>::Reader other); + inline ::capnp::List< ::capnp::schema::EnumNode::Enumerant>::Builder initEnumerants(unsigned int size); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(EnumNode::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(EnumNode::Builder builder) { + return ::capnp::_::structString(builder._builder.asReader()); +} + +class EnumNode::Enumerant::Reader { +public: + typedef Enumerant Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline size_t totalSizeInWords() const { + return _reader.totalSize() / ::capnp::WORDS; + } + + // name@0: Text; # ptr[0] + inline bool hasName() const; + inline ::capnp::Text::Reader getName() const; + + // codeOrder@1: UInt16; # bits[0, 16) + inline ::uint16_t getCodeOrder() const; + + // annotations@2: List(.Annotation); # ptr[1] + inline bool hasAnnotations() const; + inline ::capnp::List< ::capnp::schema::Annotation>::Reader getAnnotations() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(EnumNode::Enumerant::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(EnumNode::Enumerant::Reader reader) { + return ::capnp::_::structString(reader._reader); +} + + + +class EnumNode::Enumerant::Builder { +public: + typedef Enumerant Builds; + + Builder() = default; + 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(); } + + // name@0: Text; # ptr[0] + inline bool hasName(); + inline ::capnp::Text::Builder getName(); + inline void setName( ::capnp::Text::Reader other); + inline ::capnp::Text::Builder initName(unsigned int size); + + // codeOrder@1: UInt16; # bits[0, 16) + inline ::uint16_t getCodeOrder(); + inline void setCodeOrder( ::uint16_t value); + + // annotations@2: List(.Annotation); # ptr[1] + inline bool hasAnnotations(); + inline ::capnp::List< ::capnp::schema::Annotation>::Builder getAnnotations(); + inline void setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader other); + inline ::capnp::List< ::capnp::schema::Annotation>::Builder initAnnotations(unsigned int size); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(EnumNode::Enumerant::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(EnumNode::Enumerant::Builder builder) { + return ::capnp::_::structString(builder._builder.asReader()); +} + +class FileNode::Reader { +public: + typedef FileNode Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline size_t totalSizeInWords() const { + return _reader.totalSize() / ::capnp::WORDS; + } + + // imports@0: List(.FileNode.Import); # ptr[0] + inline bool hasImports() const; + inline ::capnp::List< ::capnp::schema::FileNode::Import>::Reader getImports() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(FileNode::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(FileNode::Reader reader) { + return ::capnp::_::structString(reader._reader); +} + + + +class FileNode::Builder { +public: + typedef FileNode Builds; + + Builder() = default; + 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(); } + + // imports@0: List(.FileNode.Import); # ptr[0] + inline bool hasImports(); + inline ::capnp::List< ::capnp::schema::FileNode::Import>::Builder getImports(); + inline void setImports( ::capnp::List< ::capnp::schema::FileNode::Import>::Reader other); + inline ::capnp::List< ::capnp::schema::FileNode::Import>::Builder initImports(unsigned int size); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(FileNode::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(FileNode::Builder builder) { + return ::capnp::_::structString(builder._builder.asReader()); +} + +class FileNode::Import::Reader { +public: + typedef Import Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline size_t totalSizeInWords() const { + return _reader.totalSize() / ::capnp::WORDS; + } + + // id@0: UInt64; # bits[0, 64) + inline ::uint64_t getId() const; + + // name@1: Text; # ptr[0] + inline bool hasName() const; + inline ::capnp::Text::Reader getName() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(FileNode::Import::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(FileNode::Import::Reader reader) { + return ::capnp::_::structString(reader._reader); +} + + + +class FileNode::Import::Builder { +public: + typedef Import Builds; + + Builder() = default; + 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(); } + + // id@0: UInt64; # bits[0, 64) + inline ::uint64_t getId(); + inline void setId( ::uint64_t value); + + // name@1: Text; # ptr[0] + inline bool hasName(); + inline ::capnp::Text::Builder getName(); + inline void setName( ::capnp::Text::Reader other); + inline ::capnp::Text::Builder initName(unsigned int size); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(FileNode::Import::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(FileNode::Import::Builder builder) { + return ::capnp::_::structString(builder._builder.asReader()); +} + +class InterfaceNode::Reader { +public: + typedef InterfaceNode Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline size_t totalSizeInWords() const { + return _reader.totalSize() / ::capnp::WORDS; + } + + // methods@0: List(.InterfaceNode.Method); # ptr[0] + inline bool hasMethods() const; + inline ::capnp::List< ::capnp::schema::InterfaceNode::Method>::Reader getMethods() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(InterfaceNode::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(InterfaceNode::Reader reader) { + return ::capnp::_::structString(reader._reader); +} + + + +class InterfaceNode::Builder { +public: + typedef InterfaceNode Builds; + + Builder() = default; + 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(); } + + // methods@0: List(.InterfaceNode.Method); # ptr[0] + inline bool hasMethods(); + inline ::capnp::List< ::capnp::schema::InterfaceNode::Method>::Builder getMethods(); + inline void setMethods( ::capnp::List< ::capnp::schema::InterfaceNode::Method>::Reader other); + inline ::capnp::List< ::capnp::schema::InterfaceNode::Method>::Builder initMethods(unsigned int size); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(InterfaceNode::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(InterfaceNode::Builder builder) { + return ::capnp::_::structString(builder._builder.asReader()); +} + +class InterfaceNode::Method::Reader { +public: + typedef Method Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline size_t totalSizeInWords() const { + return _reader.totalSize() / ::capnp::WORDS; + } + + // name@0: Text; # ptr[0] + inline bool hasName() const; + inline ::capnp::Text::Reader getName() const; + + // codeOrder@1: UInt16; # bits[0, 16) + inline ::uint16_t getCodeOrder() const; + + // params@2: List(.InterfaceNode.Method.Param); # ptr[1] + inline bool hasParams() const; + inline ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>::Reader getParams() const; + + // requiredParamCount@3: UInt16; # bits[16, 32) + inline ::uint16_t getRequiredParamCount() const; + + // returnType@4: .Type; # ptr[2] + inline bool hasReturnType() const; + inline ::capnp::schema::Type::Reader getReturnType() const; + + // annotations@5: List(.Annotation); # ptr[3] + inline bool hasAnnotations() const; + inline ::capnp::List< ::capnp::schema::Annotation>::Reader getAnnotations() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(InterfaceNode::Method::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(InterfaceNode::Method::Reader reader) { + return ::capnp::_::structString(reader._reader); +} + + + +class InterfaceNode::Method::Builder { +public: + typedef Method Builds; + + Builder() = default; + 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(); } + + // name@0: Text; # ptr[0] + inline bool hasName(); + inline ::capnp::Text::Builder getName(); + inline void setName( ::capnp::Text::Reader other); + inline ::capnp::Text::Builder initName(unsigned int size); + + // codeOrder@1: UInt16; # bits[0, 16) + inline ::uint16_t getCodeOrder(); + inline void setCodeOrder( ::uint16_t value); + + // params@2: List(.InterfaceNode.Method.Param); # ptr[1] + inline bool hasParams(); + inline ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>::Builder getParams(); + inline void setParams( ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>::Reader other); + inline ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>::Builder initParams(unsigned int size); + + // requiredParamCount@3: UInt16; # bits[16, 32) + inline ::uint16_t getRequiredParamCount(); + inline void setRequiredParamCount( ::uint16_t value); + + // returnType@4: .Type; # ptr[2] + inline bool hasReturnType(); + inline ::capnp::schema::Type::Builder getReturnType(); + inline void setReturnType( ::capnp::schema::Type::Reader other); + inline ::capnp::schema::Type::Builder initReturnType(); + + // annotations@5: List(.Annotation); # ptr[3] + inline bool hasAnnotations(); + inline ::capnp::List< ::capnp::schema::Annotation>::Builder getAnnotations(); + inline void setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader other); + inline ::capnp::List< ::capnp::schema::Annotation>::Builder initAnnotations(unsigned int size); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(InterfaceNode::Method::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(InterfaceNode::Method::Builder builder) { + return ::capnp::_::structString(builder._builder.asReader()); +} + +class InterfaceNode::Method::Param::Reader { +public: + typedef Param Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline size_t totalSizeInWords() const { + return _reader.totalSize() / ::capnp::WORDS; + } + + // name@0: Text; # ptr[0] + inline bool hasName() const; + inline ::capnp::Text::Reader getName() const; + + // type@1: .Type; # ptr[1] + inline bool hasType() const; + inline ::capnp::schema::Type::Reader getType() const; + + // defaultValue@2: .Value; # ptr[2] + inline bool hasDefaultValue() const; + inline ::capnp::schema::Value::Reader getDefaultValue() const; + + // annotations@3: List(.Annotation); # ptr[3] + inline bool hasAnnotations() const; + inline ::capnp::List< ::capnp::schema::Annotation>::Reader getAnnotations() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(InterfaceNode::Method::Param::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(InterfaceNode::Method::Param::Reader reader) { + return ::capnp::_::structString(reader._reader); +} + + + +class InterfaceNode::Method::Param::Builder { +public: + typedef Param Builds; + + Builder() = default; + 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(); } + + // name@0: Text; # ptr[0] + inline bool hasName(); + inline ::capnp::Text::Builder getName(); + inline void setName( ::capnp::Text::Reader other); + inline ::capnp::Text::Builder initName(unsigned int size); + + // type@1: .Type; # ptr[1] + inline bool hasType(); + inline ::capnp::schema::Type::Builder getType(); + inline void setType( ::capnp::schema::Type::Reader other); + inline ::capnp::schema::Type::Builder initType(); + + // defaultValue@2: .Value; # ptr[2] + inline bool hasDefaultValue(); + inline ::capnp::schema::Value::Builder getDefaultValue(); + inline void setDefaultValue( ::capnp::schema::Value::Reader other); + inline ::capnp::schema::Value::Builder initDefaultValue(); + + // annotations@3: List(.Annotation); # ptr[3] + inline bool hasAnnotations(); + inline ::capnp::List< ::capnp::schema::Annotation>::Builder getAnnotations(); + inline void setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader other); + inline ::capnp::List< ::capnp::schema::Annotation>::Builder initAnnotations(unsigned int size); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(InterfaceNode::Method::Param::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(InterfaceNode::Method::Param::Builder builder) { + return ::capnp::_::structString(builder._builder.asReader()); +} + +class Node::Reader { +public: + typedef Node Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline size_t totalSizeInWords() const { + return _reader.totalSize() / ::capnp::WORDS; + } + + // union body@5 { # [128, 144) + inline Body::Reader getBody() const; + + // id@0: UInt64; # bits[0, 64) + inline ::uint64_t getId() const; + + // displayName@1: Text; # ptr[0] + inline bool hasDisplayName() const; + inline ::capnp::Text::Reader getDisplayName() const; + + // scopeId@2: UInt64 = 0; # bits[64, 128) + inline ::uint64_t getScopeId() const; + + // nestedNodes@3: List(.Node.NestedNode); # ptr[1] + inline bool hasNestedNodes() const; + inline ::capnp::List< ::capnp::schema::Node::NestedNode>::Reader getNestedNodes() const; + + // annotations@4: List(.Annotation); # ptr[2] + inline bool hasAnnotations() const; + inline ::capnp::List< ::capnp::schema::Annotation>::Reader getAnnotations() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(Node::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(Node::Reader reader) { + return ::capnp::_::structString(reader._reader); +} + + + +class Node::Builder { +public: + typedef Node Builds; + + Builder() = default; + 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(); } + + // union body@5 { # [128, 144) + inline Body::Builder getBody(); + + // id@0: UInt64; # bits[0, 64) + inline ::uint64_t getId(); + inline void setId( ::uint64_t value); + + // displayName@1: Text; # ptr[0] + inline bool hasDisplayName(); + inline ::capnp::Text::Builder getDisplayName(); + inline void setDisplayName( ::capnp::Text::Reader other); + inline ::capnp::Text::Builder initDisplayName(unsigned int size); + + // scopeId@2: UInt64 = 0; # bits[64, 128) + inline ::uint64_t getScopeId(); + inline void setScopeId( ::uint64_t value); + + // nestedNodes@3: List(.Node.NestedNode); # ptr[1] + inline bool hasNestedNodes(); + inline ::capnp::List< ::capnp::schema::Node::NestedNode>::Builder getNestedNodes(); + inline void setNestedNodes( ::capnp::List< ::capnp::schema::Node::NestedNode>::Reader other); + inline ::capnp::List< ::capnp::schema::Node::NestedNode>::Builder initNestedNodes(unsigned int size); + + // annotations@4: List(.Annotation); # ptr[2] + inline bool hasAnnotations(); + inline ::capnp::List< ::capnp::schema::Annotation>::Builder getAnnotations(); + inline void setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader other); + inline ::capnp::List< ::capnp::schema::Annotation>::Builder initAnnotations(unsigned int size); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(Node::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(Node::Builder builder) { + return ::capnp::_::structString(builder._builder.asReader()); +} + +class Node::NestedNode::Reader { +public: + typedef NestedNode Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline size_t totalSizeInWords() const { + return _reader.totalSize() / ::capnp::WORDS; + } + + // name@0: Text; # ptr[0] + inline bool hasName() const; + inline ::capnp::Text::Reader getName() const; + + // id@1: UInt64; # bits[0, 64) + inline ::uint64_t getId() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(Node::NestedNode::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(Node::NestedNode::Reader reader) { + return ::capnp::_::structString(reader._reader); +} + + + +class Node::NestedNode::Builder { +public: + typedef NestedNode Builds; + + Builder() = default; + 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(); } + + // name@0: Text; # ptr[0] + inline bool hasName(); + inline ::capnp::Text::Builder getName(); + inline void setName( ::capnp::Text::Reader other); + inline ::capnp::Text::Builder initName(unsigned int size); + + // id@1: UInt64; # bits[0, 64) + inline ::uint64_t getId(); + inline void setId( ::uint64_t value); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(Node::NestedNode::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(Node::NestedNode::Builder builder) { + return ::capnp::_::structString(builder._builder.asReader()); +} + +class Node::Body::Reader { +public: + typedef Body Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline Which which() const; + + // fileNode@6: .FileNode; # ptr[3], union tag = 0 + inline bool hasFileNode() const; + inline ::capnp::schema::FileNode::Reader getFileNode() const; + + // structNode@7: .StructNode; # ptr[3], union tag = 1 + inline bool hasStructNode() const; + inline ::capnp::schema::StructNode::Reader getStructNode() const; + + // enumNode@8: .EnumNode; # ptr[3], union tag = 2 + inline bool hasEnumNode() const; + inline ::capnp::schema::EnumNode::Reader getEnumNode() const; + + // interfaceNode@9: .InterfaceNode; # ptr[3], union tag = 3 + inline bool hasInterfaceNode() const; + inline ::capnp::schema::InterfaceNode::Reader getInterfaceNode() const; + + // constNode@10: .ConstNode; # ptr[3], union tag = 4 + inline bool hasConstNode() const; + inline ::capnp::schema::ConstNode::Reader getConstNode() const; + + // annotationNode@11: .AnnotationNode; # ptr[3], union tag = 5 + inline bool hasAnnotationNode() const; + inline ::capnp::schema::AnnotationNode::Reader getAnnotationNode() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(Node::Body::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(Node::Body::Reader reader) { + return ::capnp::_::unionString(reader._reader); +} + + + +class Node::Body::Builder { +public: + typedef Body Builds; + + Builder() = default; + inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} + inline operator Reader() const { return Reader(_builder.asReader()); } + inline Reader asReader() const { return *this; } + + inline Which which(); + + // fileNode@6: .FileNode; # ptr[3], union tag = 0 + inline bool hasFileNode(); + inline ::capnp::schema::FileNode::Builder getFileNode(); + inline void setFileNode( ::capnp::schema::FileNode::Reader other); + inline ::capnp::schema::FileNode::Builder initFileNode(); + + // structNode@7: .StructNode; # ptr[3], union tag = 1 + inline bool hasStructNode(); + inline ::capnp::schema::StructNode::Builder getStructNode(); + inline void setStructNode( ::capnp::schema::StructNode::Reader other); + inline ::capnp::schema::StructNode::Builder initStructNode(); + + // enumNode@8: .EnumNode; # ptr[3], union tag = 2 + inline bool hasEnumNode(); + inline ::capnp::schema::EnumNode::Builder getEnumNode(); + inline void setEnumNode( ::capnp::schema::EnumNode::Reader other); + inline ::capnp::schema::EnumNode::Builder initEnumNode(); + + // interfaceNode@9: .InterfaceNode; # ptr[3], union tag = 3 + inline bool hasInterfaceNode(); + inline ::capnp::schema::InterfaceNode::Builder getInterfaceNode(); + inline void setInterfaceNode( ::capnp::schema::InterfaceNode::Reader other); + inline ::capnp::schema::InterfaceNode::Builder initInterfaceNode(); + + // constNode@10: .ConstNode; # ptr[3], union tag = 4 + inline bool hasConstNode(); + inline ::capnp::schema::ConstNode::Builder getConstNode(); + inline void setConstNode( ::capnp::schema::ConstNode::Reader other); + inline ::capnp::schema::ConstNode::Builder initConstNode(); + + // annotationNode@11: .AnnotationNode; # ptr[3], union tag = 5 + inline bool hasAnnotationNode(); + inline ::capnp::schema::AnnotationNode::Builder getAnnotationNode(); + inline void setAnnotationNode( ::capnp::schema::AnnotationNode::Reader other); + inline ::capnp::schema::AnnotationNode::Builder initAnnotationNode(); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(Node::Body::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(Node::Body::Builder builder) { + return ::capnp::_::unionString(builder._builder.asReader()); +} + +class StructNode::Reader { +public: + typedef StructNode Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline size_t totalSizeInWords() const { + return _reader.totalSize() / ::capnp::WORDS; + } + + // dataSectionWordSize@0: UInt16; # bits[0, 16) + inline ::uint16_t getDataSectionWordSize() const; + + // pointerSectionSize@1: UInt16; # bits[16, 32) + inline ::uint16_t getPointerSectionSize() const; + + // preferredListEncoding@2: .ElementSize; # bits[32, 48) + inline ::capnp::schema::ElementSize getPreferredListEncoding() const; + + // members@3: List(.StructNode.Member); # ptr[0] + inline bool hasMembers() const; + inline ::capnp::List< ::capnp::schema::StructNode::Member>::Reader getMembers() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(StructNode::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(StructNode::Reader reader) { + return ::capnp::_::structString(reader._reader); +} + + + +class StructNode::Builder { +public: + typedef StructNode Builds; + + Builder() = default; + 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(); } + + // dataSectionWordSize@0: UInt16; # bits[0, 16) + inline ::uint16_t getDataSectionWordSize(); + inline void setDataSectionWordSize( ::uint16_t value); + + // pointerSectionSize@1: UInt16; # bits[16, 32) + inline ::uint16_t getPointerSectionSize(); + inline void setPointerSectionSize( ::uint16_t value); + + // preferredListEncoding@2: .ElementSize; # bits[32, 48) + inline ::capnp::schema::ElementSize getPreferredListEncoding(); + inline void setPreferredListEncoding( ::capnp::schema::ElementSize value); + + // members@3: List(.StructNode.Member); # ptr[0] + inline bool hasMembers(); + inline ::capnp::List< ::capnp::schema::StructNode::Member>::Builder getMembers(); + inline void setMembers( ::capnp::List< ::capnp::schema::StructNode::Member>::Reader other); + inline ::capnp::List< ::capnp::schema::StructNode::Member>::Builder initMembers(unsigned int size); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(StructNode::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(StructNode::Builder builder) { + return ::capnp::_::structString(builder._builder.asReader()); +} + +class StructNode::Field::Reader { +public: + typedef Field Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline size_t totalSizeInWords() const { + return _reader.totalSize() / ::capnp::WORDS; + } + + // offset@0: UInt32; # bits[0, 32) + inline ::uint32_t getOffset() const; + + // type@1: .Type; # ptr[0] + inline bool hasType() const; + inline ::capnp::schema::Type::Reader getType() const; + + // defaultValue@2: .Value; # ptr[1] + inline bool hasDefaultValue() const; + inline ::capnp::schema::Value::Reader getDefaultValue() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(StructNode::Field::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(StructNode::Field::Reader reader) { + return ::capnp::_::structString(reader._reader); +} + + + +class StructNode::Field::Builder { +public: + typedef Field Builds; + + Builder() = default; + 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(); } + + // offset@0: UInt32; # bits[0, 32) + inline ::uint32_t getOffset(); + inline void setOffset( ::uint32_t value); + + // type@1: .Type; # ptr[0] + inline bool hasType(); + inline ::capnp::schema::Type::Builder getType(); + inline void setType( ::capnp::schema::Type::Reader other); + inline ::capnp::schema::Type::Builder initType(); + + // defaultValue@2: .Value; # ptr[1] + inline bool hasDefaultValue(); + inline ::capnp::schema::Value::Builder getDefaultValue(); + inline void setDefaultValue( ::capnp::schema::Value::Reader other); + inline ::capnp::schema::Value::Builder initDefaultValue(); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(StructNode::Field::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(StructNode::Field::Builder builder) { + return ::capnp::_::structString(builder._builder.asReader()); +} + +class StructNode::Member::Reader { +public: + typedef Member Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline size_t totalSizeInWords() const { + return _reader.totalSize() / ::capnp::WORDS; + } + + // union body@4 { # [32, 48) + inline Body::Reader getBody() const; + + // name@0: Text; # ptr[0] + inline bool hasName() const; + inline ::capnp::Text::Reader getName() const; + + // ordinal@1: UInt16; # bits[0, 16) + inline ::uint16_t getOrdinal() const; + + // codeOrder@2: UInt16; # bits[16, 32) + inline ::uint16_t getCodeOrder() const; + + // annotations@3: List(.Annotation); # ptr[1] + inline bool hasAnnotations() const; + inline ::capnp::List< ::capnp::schema::Annotation>::Reader getAnnotations() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(StructNode::Member::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(StructNode::Member::Reader reader) { + return ::capnp::_::structString(reader._reader); +} + + + +class StructNode::Member::Builder { +public: + typedef Member Builds; + + Builder() = default; + 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(); } + + // union body@4 { # [32, 48) + inline Body::Builder getBody(); + + // name@0: Text; # ptr[0] + inline bool hasName(); + inline ::capnp::Text::Builder getName(); + inline void setName( ::capnp::Text::Reader other); + inline ::capnp::Text::Builder initName(unsigned int size); + + // ordinal@1: UInt16; # bits[0, 16) + inline ::uint16_t getOrdinal(); + inline void setOrdinal( ::uint16_t value); + + // codeOrder@2: UInt16; # bits[16, 32) + inline ::uint16_t getCodeOrder(); + inline void setCodeOrder( ::uint16_t value); + + // annotations@3: List(.Annotation); # ptr[1] + inline bool hasAnnotations(); + inline ::capnp::List< ::capnp::schema::Annotation>::Builder getAnnotations(); + inline void setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader other); + inline ::capnp::List< ::capnp::schema::Annotation>::Builder initAnnotations(unsigned int size); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(StructNode::Member::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(StructNode::Member::Builder builder) { + return ::capnp::_::structString(builder._builder.asReader()); +} + +class StructNode::Member::Body::Reader { +public: + typedef Body Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline Which which() const; + + // fieldMember@5: .StructNode.Field; # ptr[2], union tag = 0 + inline bool hasFieldMember() const; + inline ::capnp::schema::StructNode::Field::Reader getFieldMember() const; + + // unionMember@6: .StructNode.Union; # ptr[2], union tag = 1 + inline bool hasUnionMember() const; + inline ::capnp::schema::StructNode::Union::Reader getUnionMember() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(StructNode::Member::Body::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(StructNode::Member::Body::Reader reader) { + return ::capnp::_::unionString(reader._reader); +} + + + +class StructNode::Member::Body::Builder { +public: + typedef Body Builds; + + Builder() = default; + inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} + inline operator Reader() const { return Reader(_builder.asReader()); } + inline Reader asReader() const { return *this; } + + inline Which which(); + + // fieldMember@5: .StructNode.Field; # ptr[2], union tag = 0 + inline bool hasFieldMember(); + inline ::capnp::schema::StructNode::Field::Builder getFieldMember(); + inline void setFieldMember( ::capnp::schema::StructNode::Field::Reader other); + inline ::capnp::schema::StructNode::Field::Builder initFieldMember(); + + // unionMember@6: .StructNode.Union; # ptr[2], union tag = 1 + inline bool hasUnionMember(); + inline ::capnp::schema::StructNode::Union::Builder getUnionMember(); + inline void setUnionMember( ::capnp::schema::StructNode::Union::Reader other); + inline ::capnp::schema::StructNode::Union::Builder initUnionMember(); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(StructNode::Member::Body::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(StructNode::Member::Body::Builder builder) { + return ::capnp::_::unionString(builder._builder.asReader()); +} + +class StructNode::Union::Reader { +public: + typedef Union Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline size_t totalSizeInWords() const { + return _reader.totalSize() / ::capnp::WORDS; + } + + // discriminantOffset@0: UInt32; # bits[0, 32) + inline ::uint32_t getDiscriminantOffset() const; + + // members@1: List(.StructNode.Member); # ptr[0] + inline bool hasMembers() const; + inline ::capnp::List< ::capnp::schema::StructNode::Member>::Reader getMembers() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(StructNode::Union::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(StructNode::Union::Reader reader) { + return ::capnp::_::structString(reader._reader); +} + + + +class StructNode::Union::Builder { +public: + typedef Union Builds; + + Builder() = default; + 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(); } + + // discriminantOffset@0: UInt32; # bits[0, 32) + inline ::uint32_t getDiscriminantOffset(); + inline void setDiscriminantOffset( ::uint32_t value); + + // members@1: List(.StructNode.Member); # ptr[0] + inline bool hasMembers(); + inline ::capnp::List< ::capnp::schema::StructNode::Member>::Builder getMembers(); + inline void setMembers( ::capnp::List< ::capnp::schema::StructNode::Member>::Reader other); + inline ::capnp::List< ::capnp::schema::StructNode::Member>::Builder initMembers(unsigned int size); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(StructNode::Union::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(StructNode::Union::Builder builder) { + return ::capnp::_::structString(builder._builder.asReader()); +} + +class Type::Reader { +public: + typedef Type Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline size_t totalSizeInWords() const { + return _reader.totalSize() / ::capnp::WORDS; + } + + // union body@0 { # [0, 16) + inline Body::Reader getBody() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(Type::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(Type::Reader reader) { + return ::capnp::_::structString(reader._reader); +} + + + +class Type::Builder { +public: + typedef Type Builds; + + Builder() = default; + 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(); } + + // union body@0 { # [0, 16) + inline Body::Builder getBody(); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(Type::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(Type::Builder builder) { + return ::capnp::_::structString(builder._builder.asReader()); +} + +class Type::Body::Reader { +public: + typedef Body Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline Which which() const; + + // voidType@1: Void; # (none), union tag = 0 + inline ::capnp::Void getVoidType() const; + + // boolType@2: Void; # (none), union tag = 1 + inline ::capnp::Void getBoolType() const; + + // int8Type@3: Void; # (none), union tag = 2 + inline ::capnp::Void getInt8Type() const; + + // int16Type@4: Void; # (none), union tag = 3 + inline ::capnp::Void getInt16Type() const; + + // int32Type@5: Void; # (none), union tag = 4 + inline ::capnp::Void getInt32Type() const; + + // int64Type@6: Void; # (none), union tag = 5 + inline ::capnp::Void getInt64Type() const; + + // uint8Type@7: Void; # (none), union tag = 6 + inline ::capnp::Void getUint8Type() const; + + // uint16Type@8: Void; # (none), union tag = 7 + inline ::capnp::Void getUint16Type() const; + + // uint32Type@9: Void; # (none), union tag = 8 + inline ::capnp::Void getUint32Type() const; + + // uint64Type@10: Void; # (none), union tag = 9 + inline ::capnp::Void getUint64Type() const; + + // float32Type@11: Void; # (none), union tag = 10 + inline ::capnp::Void getFloat32Type() const; + + // float64Type@12: Void; # (none), union tag = 11 + inline ::capnp::Void getFloat64Type() const; + + // textType@13: Void; # (none), union tag = 12 + inline ::capnp::Void getTextType() const; + + // dataType@14: Void; # (none), union tag = 13 + inline ::capnp::Void getDataType() const; + + // listType@15: .Type; # ptr[0], union tag = 14 + inline bool hasListType() const; + inline ::capnp::schema::Type::Reader getListType() const; + + // enumType@16: UInt64; # bits[64, 128), union tag = 15 + inline ::uint64_t getEnumType() const; + + // structType@17: UInt64; # bits[64, 128), union tag = 16 + inline ::uint64_t getStructType() const; + + // interfaceType@18: UInt64; # bits[64, 128), union tag = 17 + inline ::uint64_t getInterfaceType() const; + + // objectType@19: Void; # (none), union tag = 18 + inline ::capnp::Void getObjectType() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(Type::Body::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(Type::Body::Reader reader) { + return ::capnp::_::unionString(reader._reader); +} + + + +class Type::Body::Builder { +public: + typedef Body Builds; + + Builder() = default; + inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} + inline operator Reader() const { return Reader(_builder.asReader()); } + inline Reader asReader() const { return *this; } + + inline Which which(); + + // voidType@1: Void; # (none), union tag = 0 + inline ::capnp::Void getVoidType(); + inline void setVoidType( ::capnp::Void value); + + // boolType@2: Void; # (none), union tag = 1 + inline ::capnp::Void getBoolType(); + inline void setBoolType( ::capnp::Void value); + + // int8Type@3: Void; # (none), union tag = 2 + inline ::capnp::Void getInt8Type(); + inline void setInt8Type( ::capnp::Void value); + + // int16Type@4: Void; # (none), union tag = 3 + inline ::capnp::Void getInt16Type(); + inline void setInt16Type( ::capnp::Void value); + + // int32Type@5: Void; # (none), union tag = 4 + inline ::capnp::Void getInt32Type(); + inline void setInt32Type( ::capnp::Void value); + + // int64Type@6: Void; # (none), union tag = 5 + inline ::capnp::Void getInt64Type(); + inline void setInt64Type( ::capnp::Void value); + + // uint8Type@7: Void; # (none), union tag = 6 + inline ::capnp::Void getUint8Type(); + inline void setUint8Type( ::capnp::Void value); + + // uint16Type@8: Void; # (none), union tag = 7 + inline ::capnp::Void getUint16Type(); + inline void setUint16Type( ::capnp::Void value); + + // uint32Type@9: Void; # (none), union tag = 8 + inline ::capnp::Void getUint32Type(); + inline void setUint32Type( ::capnp::Void value); + + // uint64Type@10: Void; # (none), union tag = 9 + inline ::capnp::Void getUint64Type(); + inline void setUint64Type( ::capnp::Void value); + + // float32Type@11: Void; # (none), union tag = 10 + inline ::capnp::Void getFloat32Type(); + inline void setFloat32Type( ::capnp::Void value); + + // float64Type@12: Void; # (none), union tag = 11 + inline ::capnp::Void getFloat64Type(); + inline void setFloat64Type( ::capnp::Void value); + + // textType@13: Void; # (none), union tag = 12 + inline ::capnp::Void getTextType(); + inline void setTextType( ::capnp::Void value); + + // dataType@14: Void; # (none), union tag = 13 + inline ::capnp::Void getDataType(); + inline void setDataType( ::capnp::Void value); + + // listType@15: .Type; # ptr[0], union tag = 14 + inline bool hasListType(); + inline ::capnp::schema::Type::Builder getListType(); + inline void setListType( ::capnp::schema::Type::Reader other); + inline ::capnp::schema::Type::Builder initListType(); + + // enumType@16: UInt64; # bits[64, 128), union tag = 15 + inline ::uint64_t getEnumType(); + inline void setEnumType( ::uint64_t value); + + // structType@17: UInt64; # bits[64, 128), union tag = 16 + inline ::uint64_t getStructType(); + inline void setStructType( ::uint64_t value); + + // interfaceType@18: UInt64; # bits[64, 128), union tag = 17 + inline ::uint64_t getInterfaceType(); + inline void setInterfaceType( ::uint64_t value); + + // objectType@19: Void; # (none), union tag = 18 + inline ::capnp::Void getObjectType(); + inline void setObjectType( ::capnp::Void value); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(Type::Body::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(Type::Body::Builder builder) { + return ::capnp::_::unionString(builder._builder.asReader()); +} + +class Value::Reader { +public: + typedef Value Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline size_t totalSizeInWords() const { + return _reader.totalSize() / ::capnp::WORDS; + } + + // union body@0 { # [0, 16) + inline Body::Reader getBody() const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(Value::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(Value::Reader reader) { + return ::capnp::_::structString(reader._reader); +} + + + +class Value::Builder { +public: + typedef Value Builds; + + Builder() = default; + 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(); } + + // union body@0 { # [0, 16) + inline Body::Builder getBody(); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(Value::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(Value::Builder builder) { + return ::capnp::_::structString(builder._builder.asReader()); +} + +class Value::Body::Reader { +public: + typedef Body Reads; + + Reader() = default; + inline explicit Reader(::capnp::_::StructReader base): _reader(base) {} + + inline Which which() const; + + // voidValue@10: Void; # (none), union tag = 9 + inline ::capnp::Void getVoidValue() const; + + // boolValue@2: Bool; # bits[64, 65), union tag = 1 + inline bool getBoolValue() const; + + // int8Value@3: Int8; # bits[64, 72), union tag = 2 + inline ::int8_t getInt8Value() const; + + // int16Value@4: Int16; # bits[64, 80), union tag = 3 + inline ::int16_t getInt16Value() const; + + // int32Value@5: Int32; # bits[64, 96), union tag = 4 + inline ::int32_t getInt32Value() const; + + // int64Value@6: Int64; # bits[64, 128), union tag = 5 + inline ::int64_t getInt64Value() const; + + // uint8Value@7: UInt8; # bits[64, 72), union tag = 6 + inline ::uint8_t getUint8Value() const; + + // uint16Value@8: UInt16; # bits[64, 80), union tag = 7 + inline ::uint16_t getUint16Value() const; + + // uint32Value@9: UInt32; # bits[64, 96), union tag = 8 + inline ::uint32_t getUint32Value() const; + + // uint64Value@1: UInt64; # bits[64, 128), union tag = 0 + inline ::uint64_t getUint64Value() const; + + // float32Value@11: Float32; # bits[64, 96), union tag = 10 + inline float getFloat32Value() const; + + // float64Value@12: Float64; # bits[64, 128), union tag = 11 + inline double getFloat64Value() const; + + // textValue@13: Text; # ptr[0], union tag = 12 + inline bool hasTextValue() const; + inline ::capnp::Text::Reader getTextValue() const; + + // dataValue@14: Data; # ptr[0], union tag = 13 + inline bool hasDataValue() const; + inline ::capnp::Data::Reader getDataValue() const; + + // listValue@15: Object; # ptr[0], union tag = 14 + inline bool hasListValue() const; + template inline typename T::Reader getListValue() const; + template inline typename T::Reader + getListValue(Param&& param) const; + + // enumValue@16: UInt16; # bits[64, 80), union tag = 15 + inline ::uint16_t getEnumValue() const; + + // structValue@17: Object; # ptr[0], union tag = 16 + inline bool hasStructValue() const; + template inline typename T::Reader getStructValue() const; + template inline typename T::Reader + getStructValue(Param&& param) const; + + // interfaceValue@18: Void; # (none), union tag = 17 + inline ::capnp::Void getInterfaceValue() const; + + // objectValue@19: Object; # ptr[0], union tag = 18 + inline bool hasObjectValue() const; + template inline typename T::Reader getObjectValue() const; + template inline typename T::Reader + getObjectValue(Param&& param) const; +private: + ::capnp::_::StructReader _reader; + template + friend struct ::capnp::ToDynamic_; + template + friend struct ::capnp::_::PointerHelpers; + friend class ::capnp::MessageBuilder; + friend ::kj::String KJ_STRINGIFY(Value::Body::Reader reader); +}; + +inline ::kj::String KJ_STRINGIFY(Value::Body::Reader reader) { + return ::capnp::_::unionString(reader._reader); +} + + + +class Value::Body::Builder { +public: + typedef Body Builds; + + Builder() = default; + inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {} + inline operator Reader() const { return Reader(_builder.asReader()); } + inline Reader asReader() const { return *this; } + + inline Which which(); + + // voidValue@10: Void; # (none), union tag = 9 + inline ::capnp::Void getVoidValue(); + inline void setVoidValue( ::capnp::Void value); + + // boolValue@2: Bool; # bits[64, 65), union tag = 1 + inline bool getBoolValue(); + inline void setBoolValue(bool value); + + // int8Value@3: Int8; # bits[64, 72), union tag = 2 + inline ::int8_t getInt8Value(); + inline void setInt8Value( ::int8_t value); + + // int16Value@4: Int16; # bits[64, 80), union tag = 3 + inline ::int16_t getInt16Value(); + inline void setInt16Value( ::int16_t value); + + // int32Value@5: Int32; # bits[64, 96), union tag = 4 + inline ::int32_t getInt32Value(); + inline void setInt32Value( ::int32_t value); + + // int64Value@6: Int64; # bits[64, 128), union tag = 5 + inline ::int64_t getInt64Value(); + inline void setInt64Value( ::int64_t value); + + // uint8Value@7: UInt8; # bits[64, 72), union tag = 6 + inline ::uint8_t getUint8Value(); + inline void setUint8Value( ::uint8_t value); + + // uint16Value@8: UInt16; # bits[64, 80), union tag = 7 + inline ::uint16_t getUint16Value(); + inline void setUint16Value( ::uint16_t value); + + // uint32Value@9: UInt32; # bits[64, 96), union tag = 8 + inline ::uint32_t getUint32Value(); + inline void setUint32Value( ::uint32_t value); + + // uint64Value@1: UInt64; # bits[64, 128), union tag = 0 + inline ::uint64_t getUint64Value(); + inline void setUint64Value( ::uint64_t value); + + // float32Value@11: Float32; # bits[64, 96), union tag = 10 + inline float getFloat32Value(); + inline void setFloat32Value(float value); + + // float64Value@12: Float64; # bits[64, 128), union tag = 11 + inline double getFloat64Value(); + inline void setFloat64Value(double value); + + // textValue@13: Text; # ptr[0], union tag = 12 + inline bool hasTextValue(); + inline ::capnp::Text::Builder getTextValue(); + inline void setTextValue( ::capnp::Text::Reader other); + inline ::capnp::Text::Builder initTextValue(unsigned int size); + + // dataValue@14: Data; # ptr[0], union tag = 13 + inline bool hasDataValue(); + inline ::capnp::Data::Builder getDataValue(); + inline void setDataValue( ::capnp::Data::Reader other); + inline ::capnp::Data::Builder initDataValue(unsigned int size); + + // listValue@15: Object; # ptr[0], union tag = 14 + inline bool hasListValue(); + template inline typename T::Builder getListValue(); + template inline typename T::Builder + getListValue(Param&& param); + template inline void setListValue(typename T::Reader value); + template inline void + setListValue(std::initializer_list value); + template inline typename T::Builder + initListValue(Params&&... params); + + // enumValue@16: UInt16; # bits[64, 80), union tag = 15 + inline ::uint16_t getEnumValue(); + inline void setEnumValue( ::uint16_t value); + + // structValue@17: Object; # ptr[0], union tag = 16 + inline bool hasStructValue(); + template inline typename T::Builder getStructValue(); + template inline typename T::Builder + getStructValue(Param&& param); + template inline void setStructValue(typename T::Reader value); + template inline void + setStructValue(std::initializer_list value); + template inline typename T::Builder + initStructValue(Params&&... params); + + // interfaceValue@18: Void; # (none), union tag = 17 + inline ::capnp::Void getInterfaceValue(); + inline void setInterfaceValue( ::capnp::Void value); + + // objectValue@19: Object; # ptr[0], union tag = 18 + inline bool hasObjectValue(); + template inline typename T::Builder getObjectValue(); + template inline typename T::Builder + getObjectValue(Param&& param); + template inline void setObjectValue(typename T::Reader value); + template inline void + setObjectValue(std::initializer_list value); + template inline typename T::Builder + initObjectValue(Params&&... params); +private: + ::capnp::_::StructBuilder _builder; + template + friend struct ::capnp::ToDynamic_; + friend ::kj::String KJ_STRINGIFY(Value::Body::Builder builder); +}; + +inline ::kj::String KJ_STRINGIFY(Value::Body::Builder builder) { + return ::capnp::_::unionString(builder._builder.asReader()); +} + + + +// Annotation::id@0: UInt64; # bits[0, 64) + +inline ::uint64_t Annotation::Reader::getId() const { + return _reader.getDataField< ::uint64_t>( + 0 * ::capnp::ELEMENTS); +} + +inline ::uint64_t Annotation::Builder::getId() { + return _builder.getDataField< ::uint64_t>( + 0 * ::capnp::ELEMENTS); +} +inline void Annotation::Builder::setId( ::uint64_t value) { + _builder.setDataField< ::uint64_t>( + 0 * ::capnp::ELEMENTS, value); +} + + +// Annotation::value@1: .Value; # ptr[0] + + +inline bool Annotation::Reader::hasValue() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool Annotation::Builder::hasValue() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Value::Reader Annotation::Reader::getValue() const { + return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Value::Builder Annotation::Builder::getValue() { + return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void Annotation::Builder::setValue( ::capnp::schema::Value::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::schema::Value>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::schema::Value::Builder Annotation::Builder::initValue() { + return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::init( + _builder, 0 * ::capnp::POINTERS); +} + + + + +// AnnotationNode::type@0: .Type; # ptr[0] + + +inline bool AnnotationNode::Reader::hasType() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool AnnotationNode::Builder::hasType() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Type::Reader AnnotationNode::Reader::getType() const { + return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Type::Builder AnnotationNode::Builder::getType() { + return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void AnnotationNode::Builder::setType( ::capnp::schema::Type::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::schema::Type>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::schema::Type::Builder AnnotationNode::Builder::initType() { + return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::init( + _builder, 0 * ::capnp::POINTERS); +} + + + +// AnnotationNode::targetsFile@1: Bool; # bits[0, 1) + +inline bool AnnotationNode::Reader::getTargetsFile() const { + return _reader.getDataField( + 0 * ::capnp::ELEMENTS); +} + +inline bool AnnotationNode::Builder::getTargetsFile() { + return _builder.getDataField( + 0 * ::capnp::ELEMENTS); +} +inline void AnnotationNode::Builder::setTargetsFile(bool value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, value); +} + + +// AnnotationNode::targetsConst@2: Bool; # bits[1, 2) + +inline bool AnnotationNode::Reader::getTargetsConst() const { + return _reader.getDataField( + 1 * ::capnp::ELEMENTS); +} + +inline bool AnnotationNode::Builder::getTargetsConst() { + return _builder.getDataField( + 1 * ::capnp::ELEMENTS); +} +inline void AnnotationNode::Builder::setTargetsConst(bool value) { + _builder.setDataField( + 1 * ::capnp::ELEMENTS, value); +} + + +// AnnotationNode::targetsEnum@3: Bool; # bits[2, 3) + +inline bool AnnotationNode::Reader::getTargetsEnum() const { + return _reader.getDataField( + 2 * ::capnp::ELEMENTS); +} + +inline bool AnnotationNode::Builder::getTargetsEnum() { + return _builder.getDataField( + 2 * ::capnp::ELEMENTS); +} +inline void AnnotationNode::Builder::setTargetsEnum(bool value) { + _builder.setDataField( + 2 * ::capnp::ELEMENTS, value); +} + + +// AnnotationNode::targetsEnumerant@4: Bool; # bits[3, 4) + +inline bool AnnotationNode::Reader::getTargetsEnumerant() const { + return _reader.getDataField( + 3 * ::capnp::ELEMENTS); +} + +inline bool AnnotationNode::Builder::getTargetsEnumerant() { + return _builder.getDataField( + 3 * ::capnp::ELEMENTS); +} +inline void AnnotationNode::Builder::setTargetsEnumerant(bool value) { + _builder.setDataField( + 3 * ::capnp::ELEMENTS, value); +} + + +// AnnotationNode::targetsStruct@5: Bool; # bits[4, 5) + +inline bool AnnotationNode::Reader::getTargetsStruct() const { + return _reader.getDataField( + 4 * ::capnp::ELEMENTS); +} + +inline bool AnnotationNode::Builder::getTargetsStruct() { + return _builder.getDataField( + 4 * ::capnp::ELEMENTS); +} +inline void AnnotationNode::Builder::setTargetsStruct(bool value) { + _builder.setDataField( + 4 * ::capnp::ELEMENTS, value); +} + + +// AnnotationNode::targetsField@6: Bool; # bits[5, 6) + +inline bool AnnotationNode::Reader::getTargetsField() const { + return _reader.getDataField( + 5 * ::capnp::ELEMENTS); +} + +inline bool AnnotationNode::Builder::getTargetsField() { + return _builder.getDataField( + 5 * ::capnp::ELEMENTS); +} +inline void AnnotationNode::Builder::setTargetsField(bool value) { + _builder.setDataField( + 5 * ::capnp::ELEMENTS, value); +} + + +// AnnotationNode::targetsUnion@7: Bool; # bits[6, 7) + +inline bool AnnotationNode::Reader::getTargetsUnion() const { + return _reader.getDataField( + 6 * ::capnp::ELEMENTS); +} + +inline bool AnnotationNode::Builder::getTargetsUnion() { + return _builder.getDataField( + 6 * ::capnp::ELEMENTS); +} +inline void AnnotationNode::Builder::setTargetsUnion(bool value) { + _builder.setDataField( + 6 * ::capnp::ELEMENTS, value); +} + + +// AnnotationNode::targetsInterface@8: Bool; # bits[7, 8) + +inline bool AnnotationNode::Reader::getTargetsInterface() const { + return _reader.getDataField( + 7 * ::capnp::ELEMENTS); +} + +inline bool AnnotationNode::Builder::getTargetsInterface() { + return _builder.getDataField( + 7 * ::capnp::ELEMENTS); +} +inline void AnnotationNode::Builder::setTargetsInterface(bool value) { + _builder.setDataField( + 7 * ::capnp::ELEMENTS, value); +} + + +// AnnotationNode::targetsMethod@9: Bool; # bits[8, 9) + +inline bool AnnotationNode::Reader::getTargetsMethod() const { + return _reader.getDataField( + 8 * ::capnp::ELEMENTS); +} + +inline bool AnnotationNode::Builder::getTargetsMethod() { + return _builder.getDataField( + 8 * ::capnp::ELEMENTS); +} +inline void AnnotationNode::Builder::setTargetsMethod(bool value) { + _builder.setDataField( + 8 * ::capnp::ELEMENTS, value); +} + + +// AnnotationNode::targetsParam@10: Bool; # bits[9, 10) + +inline bool AnnotationNode::Reader::getTargetsParam() const { + return _reader.getDataField( + 9 * ::capnp::ELEMENTS); +} + +inline bool AnnotationNode::Builder::getTargetsParam() { + return _builder.getDataField( + 9 * ::capnp::ELEMENTS); +} +inline void AnnotationNode::Builder::setTargetsParam(bool value) { + _builder.setDataField( + 9 * ::capnp::ELEMENTS, value); +} + + +// AnnotationNode::targetsAnnotation@11: Bool; # bits[10, 11) + +inline bool AnnotationNode::Reader::getTargetsAnnotation() const { + return _reader.getDataField( + 10 * ::capnp::ELEMENTS); +} + +inline bool AnnotationNode::Builder::getTargetsAnnotation() { + return _builder.getDataField( + 10 * ::capnp::ELEMENTS); +} +inline void AnnotationNode::Builder::setTargetsAnnotation(bool value) { + _builder.setDataField( + 10 * ::capnp::ELEMENTS, value); +} + + + +// CodeGeneratorRequest::nodes@0: List(.Node); # ptr[0] + + +inline bool CodeGeneratorRequest::Reader::hasNodes() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool CodeGeneratorRequest::Builder::hasNodes() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::Node>::Reader CodeGeneratorRequest::Reader::getNodes() const { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node>>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::Node>::Builder CodeGeneratorRequest::Builder::getNodes() { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node>>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void CodeGeneratorRequest::Builder::setNodes( ::capnp::List< ::capnp::schema::Node>::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node>>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::List< ::capnp::schema::Node>::Builder CodeGeneratorRequest::Builder::initNodes(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node>>::init( + _builder, 0 * ::capnp::POINTERS, size); +} + + + +// CodeGeneratorRequest::requestedFiles@1: List(UInt64); # ptr[1] + + +inline bool CodeGeneratorRequest::Reader::hasRequestedFiles() const { + return !_reader.isPointerFieldNull(1 * ::capnp::POINTERS); +} + +inline bool CodeGeneratorRequest::Builder::hasRequestedFiles() { + return !_builder.isPointerFieldNull(1 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::uint64_t>::Reader CodeGeneratorRequest::Reader::getRequestedFiles() const { + return ::capnp::_::PointerHelpers< ::capnp::List< ::uint64_t>>::get( + _reader, 1 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::uint64_t>::Builder CodeGeneratorRequest::Builder::getRequestedFiles() { + return ::capnp::_::PointerHelpers< ::capnp::List< ::uint64_t>>::get( + _builder, 1 * ::capnp::POINTERS); +} + +inline void CodeGeneratorRequest::Builder::setRequestedFiles( ::capnp::List< ::uint64_t>::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::List< ::uint64_t>>::set( + _builder, 1 * ::capnp::POINTERS, value); +} + +inline void CodeGeneratorRequest::Builder::setRequestedFiles( + std::initializer_list< ::uint64_t> value) { + ::capnp::_::PointerHelpers< ::capnp::List< ::uint64_t>>::set( + _builder, 1 * ::capnp::POINTERS, value); +} + +inline ::capnp::List< ::uint64_t>::Builder CodeGeneratorRequest::Builder::initRequestedFiles(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::List< ::uint64_t>>::init( + _builder, 1 * ::capnp::POINTERS, size); +} + + + + +// ConstNode::type@0: .Type; # ptr[0] + + +inline bool ConstNode::Reader::hasType() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool ConstNode::Builder::hasType() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Type::Reader ConstNode::Reader::getType() const { + return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Type::Builder ConstNode::Builder::getType() { + return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void ConstNode::Builder::setType( ::capnp::schema::Type::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::schema::Type>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::schema::Type::Builder ConstNode::Builder::initType() { + return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::init( + _builder, 0 * ::capnp::POINTERS); +} + + + +// ConstNode::value@1: .Value; # ptr[1] + + +inline bool ConstNode::Reader::hasValue() const { + return !_reader.isPointerFieldNull(1 * ::capnp::POINTERS); +} + +inline bool ConstNode::Builder::hasValue() { + return !_builder.isPointerFieldNull(1 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Value::Reader ConstNode::Reader::getValue() const { + return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get( + _reader, 1 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Value::Builder ConstNode::Builder::getValue() { + return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get( + _builder, 1 * ::capnp::POINTERS); +} + +inline void ConstNode::Builder::setValue( ::capnp::schema::Value::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::schema::Value>::set( + _builder, 1 * ::capnp::POINTERS, value); +} + +inline ::capnp::schema::Value::Builder ConstNode::Builder::initValue() { + return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::init( + _builder, 1 * ::capnp::POINTERS); +} + + + + +// EnumNode::enumerants@0: List(.EnumNode.Enumerant); # ptr[0] + + +inline bool EnumNode::Reader::hasEnumerants() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool EnumNode::Builder::hasEnumerants() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::EnumNode::Enumerant>::Reader EnumNode::Reader::getEnumerants() const { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::EnumNode::Enumerant>>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::EnumNode::Enumerant>::Builder EnumNode::Builder::getEnumerants() { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::EnumNode::Enumerant>>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void EnumNode::Builder::setEnumerants( ::capnp::List< ::capnp::schema::EnumNode::Enumerant>::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::EnumNode::Enumerant>>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::List< ::capnp::schema::EnumNode::Enumerant>::Builder EnumNode::Builder::initEnumerants(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::EnumNode::Enumerant>>::init( + _builder, 0 * ::capnp::POINTERS, size); +} + + + + +// EnumNode::Enumerant::name@0: Text; # ptr[0] + + +inline bool EnumNode::Enumerant::Reader::hasName() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool EnumNode::Enumerant::Builder::hasName() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::Text::Reader EnumNode::Enumerant::Reader::getName() const { + return ::capnp::_::PointerHelpers< ::capnp::Text>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::Text::Builder EnumNode::Enumerant::Builder::getName() { + return ::capnp::_::PointerHelpers< ::capnp::Text>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void EnumNode::Enumerant::Builder::setName( ::capnp::Text::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::Text>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::Text::Builder EnumNode::Enumerant::Builder::initName(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::Text>::init( + _builder, 0 * ::capnp::POINTERS, size); +} + + + +// EnumNode::Enumerant::codeOrder@1: UInt16; # bits[0, 16) + +inline ::uint16_t EnumNode::Enumerant::Reader::getCodeOrder() const { + return _reader.getDataField< ::uint16_t>( + 0 * ::capnp::ELEMENTS); +} + +inline ::uint16_t EnumNode::Enumerant::Builder::getCodeOrder() { + return _builder.getDataField< ::uint16_t>( + 0 * ::capnp::ELEMENTS); +} +inline void EnumNode::Enumerant::Builder::setCodeOrder( ::uint16_t value) { + _builder.setDataField< ::uint16_t>( + 0 * ::capnp::ELEMENTS, value); +} + + +// EnumNode::Enumerant::annotations@2: List(.Annotation); # ptr[1] + + +inline bool EnumNode::Enumerant::Reader::hasAnnotations() const { + return !_reader.isPointerFieldNull(1 * ::capnp::POINTERS); +} + +inline bool EnumNode::Enumerant::Builder::hasAnnotations() { + return !_builder.isPointerFieldNull(1 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::Annotation>::Reader EnumNode::Enumerant::Reader::getAnnotations() const { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( + _reader, 1 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::Annotation>::Builder EnumNode::Enumerant::Builder::getAnnotations() { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( + _builder, 1 * ::capnp::POINTERS); +} + +inline void EnumNode::Enumerant::Builder::setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::set( + _builder, 1 * ::capnp::POINTERS, value); +} + +inline ::capnp::List< ::capnp::schema::Annotation>::Builder EnumNode::Enumerant::Builder::initAnnotations(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::init( + _builder, 1 * ::capnp::POINTERS, size); +} + + + + +// FileNode::imports@0: List(.FileNode.Import); # ptr[0] + + +inline bool FileNode::Reader::hasImports() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool FileNode::Builder::hasImports() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::FileNode::Import>::Reader FileNode::Reader::getImports() const { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::FileNode::Import>>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::FileNode::Import>::Builder FileNode::Builder::getImports() { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::FileNode::Import>>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void FileNode::Builder::setImports( ::capnp::List< ::capnp::schema::FileNode::Import>::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::FileNode::Import>>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::List< ::capnp::schema::FileNode::Import>::Builder FileNode::Builder::initImports(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::FileNode::Import>>::init( + _builder, 0 * ::capnp::POINTERS, size); +} + + + + +// FileNode::Import::id@0: UInt64; # bits[0, 64) + +inline ::uint64_t FileNode::Import::Reader::getId() const { + return _reader.getDataField< ::uint64_t>( + 0 * ::capnp::ELEMENTS); +} + +inline ::uint64_t FileNode::Import::Builder::getId() { + return _builder.getDataField< ::uint64_t>( + 0 * ::capnp::ELEMENTS); +} +inline void FileNode::Import::Builder::setId( ::uint64_t value) { + _builder.setDataField< ::uint64_t>( + 0 * ::capnp::ELEMENTS, value); +} + + +// FileNode::Import::name@1: Text; # ptr[0] + + +inline bool FileNode::Import::Reader::hasName() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool FileNode::Import::Builder::hasName() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::Text::Reader FileNode::Import::Reader::getName() const { + return ::capnp::_::PointerHelpers< ::capnp::Text>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::Text::Builder FileNode::Import::Builder::getName() { + return ::capnp::_::PointerHelpers< ::capnp::Text>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void FileNode::Import::Builder::setName( ::capnp::Text::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::Text>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::Text::Builder FileNode::Import::Builder::initName(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::Text>::init( + _builder, 0 * ::capnp::POINTERS, size); +} + + + + +// InterfaceNode::methods@0: List(.InterfaceNode.Method); # ptr[0] + + +inline bool InterfaceNode::Reader::hasMethods() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool InterfaceNode::Builder::hasMethods() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::InterfaceNode::Method>::Reader InterfaceNode::Reader::getMethods() const { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::InterfaceNode::Method>>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::InterfaceNode::Method>::Builder InterfaceNode::Builder::getMethods() { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::InterfaceNode::Method>>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void InterfaceNode::Builder::setMethods( ::capnp::List< ::capnp::schema::InterfaceNode::Method>::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::InterfaceNode::Method>>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::List< ::capnp::schema::InterfaceNode::Method>::Builder InterfaceNode::Builder::initMethods(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::InterfaceNode::Method>>::init( + _builder, 0 * ::capnp::POINTERS, size); +} + + + + +// InterfaceNode::Method::name@0: Text; # ptr[0] + + +inline bool InterfaceNode::Method::Reader::hasName() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool InterfaceNode::Method::Builder::hasName() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::Text::Reader InterfaceNode::Method::Reader::getName() const { + return ::capnp::_::PointerHelpers< ::capnp::Text>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::Text::Builder InterfaceNode::Method::Builder::getName() { + return ::capnp::_::PointerHelpers< ::capnp::Text>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void InterfaceNode::Method::Builder::setName( ::capnp::Text::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::Text>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::Text::Builder InterfaceNode::Method::Builder::initName(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::Text>::init( + _builder, 0 * ::capnp::POINTERS, size); +} + + + +// InterfaceNode::Method::codeOrder@1: UInt16; # bits[0, 16) + +inline ::uint16_t InterfaceNode::Method::Reader::getCodeOrder() const { + return _reader.getDataField< ::uint16_t>( + 0 * ::capnp::ELEMENTS); +} + +inline ::uint16_t InterfaceNode::Method::Builder::getCodeOrder() { + return _builder.getDataField< ::uint16_t>( + 0 * ::capnp::ELEMENTS); +} +inline void InterfaceNode::Method::Builder::setCodeOrder( ::uint16_t value) { + _builder.setDataField< ::uint16_t>( + 0 * ::capnp::ELEMENTS, value); +} + + +// InterfaceNode::Method::params@2: List(.InterfaceNode.Method.Param); # ptr[1] + + +inline bool InterfaceNode::Method::Reader::hasParams() const { + return !_reader.isPointerFieldNull(1 * ::capnp::POINTERS); +} + +inline bool InterfaceNode::Method::Builder::hasParams() { + return !_builder.isPointerFieldNull(1 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>::Reader InterfaceNode::Method::Reader::getParams() const { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>>::get( + _reader, 1 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>::Builder InterfaceNode::Method::Builder::getParams() { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>>::get( + _builder, 1 * ::capnp::POINTERS); +} + +inline void InterfaceNode::Method::Builder::setParams( ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>>::set( + _builder, 1 * ::capnp::POINTERS, value); +} + +inline ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>::Builder InterfaceNode::Method::Builder::initParams(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::InterfaceNode::Method::Param>>::init( + _builder, 1 * ::capnp::POINTERS, size); +} + + + +// InterfaceNode::Method::requiredParamCount@3: UInt16; # bits[16, 32) + +inline ::uint16_t InterfaceNode::Method::Reader::getRequiredParamCount() const { + return _reader.getDataField< ::uint16_t>( + 1 * ::capnp::ELEMENTS); +} + +inline ::uint16_t InterfaceNode::Method::Builder::getRequiredParamCount() { + return _builder.getDataField< ::uint16_t>( + 1 * ::capnp::ELEMENTS); +} +inline void InterfaceNode::Method::Builder::setRequiredParamCount( ::uint16_t value) { + _builder.setDataField< ::uint16_t>( + 1 * ::capnp::ELEMENTS, value); +} + + +// InterfaceNode::Method::returnType@4: .Type; # ptr[2] + + +inline bool InterfaceNode::Method::Reader::hasReturnType() const { + return !_reader.isPointerFieldNull(2 * ::capnp::POINTERS); +} + +inline bool InterfaceNode::Method::Builder::hasReturnType() { + return !_builder.isPointerFieldNull(2 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Type::Reader InterfaceNode::Method::Reader::getReturnType() const { + return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( + _reader, 2 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Type::Builder InterfaceNode::Method::Builder::getReturnType() { + return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( + _builder, 2 * ::capnp::POINTERS); +} + +inline void InterfaceNode::Method::Builder::setReturnType( ::capnp::schema::Type::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::schema::Type>::set( + _builder, 2 * ::capnp::POINTERS, value); +} + +inline ::capnp::schema::Type::Builder InterfaceNode::Method::Builder::initReturnType() { + return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::init( + _builder, 2 * ::capnp::POINTERS); +} + + + +// InterfaceNode::Method::annotations@5: List(.Annotation); # ptr[3] + + +inline bool InterfaceNode::Method::Reader::hasAnnotations() const { + return !_reader.isPointerFieldNull(3 * ::capnp::POINTERS); +} + +inline bool InterfaceNode::Method::Builder::hasAnnotations() { + return !_builder.isPointerFieldNull(3 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::Annotation>::Reader InterfaceNode::Method::Reader::getAnnotations() const { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( + _reader, 3 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::Annotation>::Builder InterfaceNode::Method::Builder::getAnnotations() { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( + _builder, 3 * ::capnp::POINTERS); +} + +inline void InterfaceNode::Method::Builder::setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::set( + _builder, 3 * ::capnp::POINTERS, value); +} + +inline ::capnp::List< ::capnp::schema::Annotation>::Builder InterfaceNode::Method::Builder::initAnnotations(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::init( + _builder, 3 * ::capnp::POINTERS, size); +} + + + + +// InterfaceNode::Method::Param::name@0: Text; # ptr[0] + + +inline bool InterfaceNode::Method::Param::Reader::hasName() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool InterfaceNode::Method::Param::Builder::hasName() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::Text::Reader InterfaceNode::Method::Param::Reader::getName() const { + return ::capnp::_::PointerHelpers< ::capnp::Text>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::Text::Builder InterfaceNode::Method::Param::Builder::getName() { + return ::capnp::_::PointerHelpers< ::capnp::Text>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void InterfaceNode::Method::Param::Builder::setName( ::capnp::Text::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::Text>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::Text::Builder InterfaceNode::Method::Param::Builder::initName(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::Text>::init( + _builder, 0 * ::capnp::POINTERS, size); +} + + + +// InterfaceNode::Method::Param::type@1: .Type; # ptr[1] + + +inline bool InterfaceNode::Method::Param::Reader::hasType() const { + return !_reader.isPointerFieldNull(1 * ::capnp::POINTERS); +} + +inline bool InterfaceNode::Method::Param::Builder::hasType() { + return !_builder.isPointerFieldNull(1 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Type::Reader InterfaceNode::Method::Param::Reader::getType() const { + return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( + _reader, 1 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Type::Builder InterfaceNode::Method::Param::Builder::getType() { + return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( + _builder, 1 * ::capnp::POINTERS); +} + +inline void InterfaceNode::Method::Param::Builder::setType( ::capnp::schema::Type::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::schema::Type>::set( + _builder, 1 * ::capnp::POINTERS, value); +} + +inline ::capnp::schema::Type::Builder InterfaceNode::Method::Param::Builder::initType() { + return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::init( + _builder, 1 * ::capnp::POINTERS); +} + + + +// InterfaceNode::Method::Param::defaultValue@2: .Value; # ptr[2] + + +inline bool InterfaceNode::Method::Param::Reader::hasDefaultValue() const { + return !_reader.isPointerFieldNull(2 * ::capnp::POINTERS); +} + +inline bool InterfaceNode::Method::Param::Builder::hasDefaultValue() { + return !_builder.isPointerFieldNull(2 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Value::Reader InterfaceNode::Method::Param::Reader::getDefaultValue() const { + return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get( + _reader, 2 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Value::Builder InterfaceNode::Method::Param::Builder::getDefaultValue() { + return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get( + _builder, 2 * ::capnp::POINTERS); +} + +inline void InterfaceNode::Method::Param::Builder::setDefaultValue( ::capnp::schema::Value::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::schema::Value>::set( + _builder, 2 * ::capnp::POINTERS, value); +} + +inline ::capnp::schema::Value::Builder InterfaceNode::Method::Param::Builder::initDefaultValue() { + return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::init( + _builder, 2 * ::capnp::POINTERS); +} + + + +// InterfaceNode::Method::Param::annotations@3: List(.Annotation); # ptr[3] + + +inline bool InterfaceNode::Method::Param::Reader::hasAnnotations() const { + return !_reader.isPointerFieldNull(3 * ::capnp::POINTERS); +} + +inline bool InterfaceNode::Method::Param::Builder::hasAnnotations() { + return !_builder.isPointerFieldNull(3 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::Annotation>::Reader InterfaceNode::Method::Param::Reader::getAnnotations() const { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( + _reader, 3 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::Annotation>::Builder InterfaceNode::Method::Param::Builder::getAnnotations() { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( + _builder, 3 * ::capnp::POINTERS); +} + +inline void InterfaceNode::Method::Param::Builder::setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::set( + _builder, 3 * ::capnp::POINTERS, value); +} + +inline ::capnp::List< ::capnp::schema::Annotation>::Builder InterfaceNode::Method::Param::Builder::initAnnotations(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::init( + _builder, 3 * ::capnp::POINTERS, size); +} + + + +inline Node::Body::Reader Node::Reader::getBody() const { + return Node::Body::Reader(_reader); +} + +inline Node::Body::Builder Node::Builder::getBody() { + return Node::Body::Builder(_builder); +} + + +// Node::id@0: UInt64; # bits[0, 64) + +inline ::uint64_t Node::Reader::getId() const { + return _reader.getDataField< ::uint64_t>( + 0 * ::capnp::ELEMENTS); +} + +inline ::uint64_t Node::Builder::getId() { + return _builder.getDataField< ::uint64_t>( + 0 * ::capnp::ELEMENTS); +} +inline void Node::Builder::setId( ::uint64_t value) { + _builder.setDataField< ::uint64_t>( + 0 * ::capnp::ELEMENTS, value); +} + + +// Node::displayName@1: Text; # ptr[0] + + +inline bool Node::Reader::hasDisplayName() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool Node::Builder::hasDisplayName() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::Text::Reader Node::Reader::getDisplayName() const { + return ::capnp::_::PointerHelpers< ::capnp::Text>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::Text::Builder Node::Builder::getDisplayName() { + return ::capnp::_::PointerHelpers< ::capnp::Text>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void Node::Builder::setDisplayName( ::capnp::Text::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::Text>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::Text::Builder Node::Builder::initDisplayName(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::Text>::init( + _builder, 0 * ::capnp::POINTERS, size); +} + + + +// Node::scopeId@2: UInt64 = 0; # bits[64, 128) + +inline ::uint64_t Node::Reader::getScopeId() const { + return _reader.getDataField< ::uint64_t>( + 1 * ::capnp::ELEMENTS); +} + +inline ::uint64_t Node::Builder::getScopeId() { + return _builder.getDataField< ::uint64_t>( + 1 * ::capnp::ELEMENTS); +} +inline void Node::Builder::setScopeId( ::uint64_t value) { + _builder.setDataField< ::uint64_t>( + 1 * ::capnp::ELEMENTS, value); +} + + +// Node::nestedNodes@3: List(.Node.NestedNode); # ptr[1] + + +inline bool Node::Reader::hasNestedNodes() const { + return !_reader.isPointerFieldNull(1 * ::capnp::POINTERS); +} + +inline bool Node::Builder::hasNestedNodes() { + return !_builder.isPointerFieldNull(1 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::Node::NestedNode>::Reader Node::Reader::getNestedNodes() const { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::NestedNode>>::get( + _reader, 1 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::Node::NestedNode>::Builder Node::Builder::getNestedNodes() { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::NestedNode>>::get( + _builder, 1 * ::capnp::POINTERS); +} + +inline void Node::Builder::setNestedNodes( ::capnp::List< ::capnp::schema::Node::NestedNode>::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::NestedNode>>::set( + _builder, 1 * ::capnp::POINTERS, value); +} + +inline ::capnp::List< ::capnp::schema::Node::NestedNode>::Builder Node::Builder::initNestedNodes(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Node::NestedNode>>::init( + _builder, 1 * ::capnp::POINTERS, size); +} + + + +// Node::annotations@4: List(.Annotation); # ptr[2] + + +inline bool Node::Reader::hasAnnotations() const { + return !_reader.isPointerFieldNull(2 * ::capnp::POINTERS); +} + +inline bool Node::Builder::hasAnnotations() { + return !_builder.isPointerFieldNull(2 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::Annotation>::Reader Node::Reader::getAnnotations() const { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( + _reader, 2 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::Annotation>::Builder Node::Builder::getAnnotations() { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( + _builder, 2 * ::capnp::POINTERS); +} + +inline void Node::Builder::setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::set( + _builder, 2 * ::capnp::POINTERS, value); +} + +inline ::capnp::List< ::capnp::schema::Annotation>::Builder Node::Builder::initAnnotations(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::init( + _builder, 2 * ::capnp::POINTERS, size); +} + + + + +// Node::NestedNode::name@0: Text; # ptr[0] + + +inline bool Node::NestedNode::Reader::hasName() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool Node::NestedNode::Builder::hasName() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::Text::Reader Node::NestedNode::Reader::getName() const { + return ::capnp::_::PointerHelpers< ::capnp::Text>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::Text::Builder Node::NestedNode::Builder::getName() { + return ::capnp::_::PointerHelpers< ::capnp::Text>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void Node::NestedNode::Builder::setName( ::capnp::Text::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::Text>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::Text::Builder Node::NestedNode::Builder::initName(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::Text>::init( + _builder, 0 * ::capnp::POINTERS, size); +} + + + +// Node::NestedNode::id@1: UInt64; # bits[0, 64) + +inline ::uint64_t Node::NestedNode::Reader::getId() const { + return _reader.getDataField< ::uint64_t>( + 0 * ::capnp::ELEMENTS); +} + +inline ::uint64_t Node::NestedNode::Builder::getId() { + return _builder.getDataField< ::uint64_t>( + 0 * ::capnp::ELEMENTS); +} +inline void Node::NestedNode::Builder::setId( ::uint64_t value) { + _builder.setDataField< ::uint64_t>( + 0 * ::capnp::ELEMENTS, value); +} + + +// Node::Body +inline Node::Body::Which Node::Body::Reader::which() const { + return _reader.getDataField(8 * ::capnp::ELEMENTS); +} + +inline Node::Body::Which Node::Body::Builder::which() { + return _builder.getDataField(8 * ::capnp::ELEMENTS); +} + + +// Node::Body::fileNode@6: .FileNode; # ptr[3], union tag = 0 + + +inline bool Node::Body::Reader::hasFileNode() const { + return !_reader.isPointerFieldNull(3 * ::capnp::POINTERS); +} + +inline bool Node::Body::Builder::hasFileNode() { + return !_builder.isPointerFieldNull(3 * ::capnp::POINTERS); +} + +inline ::capnp::schema::FileNode::Reader Node::Body::Reader::getFileNode() const { + KJ_IREQUIRE(which() == Body::FILE_NODE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::schema::FileNode>::get( + _reader, 3 * ::capnp::POINTERS); +} + +inline ::capnp::schema::FileNode::Builder Node::Body::Builder::getFileNode() { + KJ_IREQUIRE(which() == Body::FILE_NODE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::schema::FileNode>::get( + _builder, 3 * ::capnp::POINTERS); +} + +inline void Node::Body::Builder::setFileNode( ::capnp::schema::FileNode::Reader value) { + _builder.setDataField( + 8 * ::capnp::ELEMENTS, Body::FILE_NODE); + ::capnp::_::PointerHelpers< ::capnp::schema::FileNode>::set( + _builder, 3 * ::capnp::POINTERS, value); +} + +inline ::capnp::schema::FileNode::Builder Node::Body::Builder::initFileNode() { + _builder.setDataField( + 8 * ::capnp::ELEMENTS, Body::FILE_NODE); + return ::capnp::_::PointerHelpers< ::capnp::schema::FileNode>::init( + _builder, 3 * ::capnp::POINTERS); +} + + + +// Node::Body::structNode@7: .StructNode; # ptr[3], union tag = 1 + + +inline bool Node::Body::Reader::hasStructNode() const { + return !_reader.isPointerFieldNull(3 * ::capnp::POINTERS); +} + +inline bool Node::Body::Builder::hasStructNode() { + return !_builder.isPointerFieldNull(3 * ::capnp::POINTERS); +} + +inline ::capnp::schema::StructNode::Reader Node::Body::Reader::getStructNode() const { + KJ_IREQUIRE(which() == Body::STRUCT_NODE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::schema::StructNode>::get( + _reader, 3 * ::capnp::POINTERS); +} + +inline ::capnp::schema::StructNode::Builder Node::Body::Builder::getStructNode() { + KJ_IREQUIRE(which() == Body::STRUCT_NODE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::schema::StructNode>::get( + _builder, 3 * ::capnp::POINTERS); +} + +inline void Node::Body::Builder::setStructNode( ::capnp::schema::StructNode::Reader value) { + _builder.setDataField( + 8 * ::capnp::ELEMENTS, Body::STRUCT_NODE); + ::capnp::_::PointerHelpers< ::capnp::schema::StructNode>::set( + _builder, 3 * ::capnp::POINTERS, value); +} + +inline ::capnp::schema::StructNode::Builder Node::Body::Builder::initStructNode() { + _builder.setDataField( + 8 * ::capnp::ELEMENTS, Body::STRUCT_NODE); + return ::capnp::_::PointerHelpers< ::capnp::schema::StructNode>::init( + _builder, 3 * ::capnp::POINTERS); +} + + + +// Node::Body::enumNode@8: .EnumNode; # ptr[3], union tag = 2 + + +inline bool Node::Body::Reader::hasEnumNode() const { + return !_reader.isPointerFieldNull(3 * ::capnp::POINTERS); +} + +inline bool Node::Body::Builder::hasEnumNode() { + return !_builder.isPointerFieldNull(3 * ::capnp::POINTERS); +} + +inline ::capnp::schema::EnumNode::Reader Node::Body::Reader::getEnumNode() const { + KJ_IREQUIRE(which() == Body::ENUM_NODE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::schema::EnumNode>::get( + _reader, 3 * ::capnp::POINTERS); +} + +inline ::capnp::schema::EnumNode::Builder Node::Body::Builder::getEnumNode() { + KJ_IREQUIRE(which() == Body::ENUM_NODE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::schema::EnumNode>::get( + _builder, 3 * ::capnp::POINTERS); +} + +inline void Node::Body::Builder::setEnumNode( ::capnp::schema::EnumNode::Reader value) { + _builder.setDataField( + 8 * ::capnp::ELEMENTS, Body::ENUM_NODE); + ::capnp::_::PointerHelpers< ::capnp::schema::EnumNode>::set( + _builder, 3 * ::capnp::POINTERS, value); +} + +inline ::capnp::schema::EnumNode::Builder Node::Body::Builder::initEnumNode() { + _builder.setDataField( + 8 * ::capnp::ELEMENTS, Body::ENUM_NODE); + return ::capnp::_::PointerHelpers< ::capnp::schema::EnumNode>::init( + _builder, 3 * ::capnp::POINTERS); +} + + + +// Node::Body::interfaceNode@9: .InterfaceNode; # ptr[3], union tag = 3 + + +inline bool Node::Body::Reader::hasInterfaceNode() const { + return !_reader.isPointerFieldNull(3 * ::capnp::POINTERS); +} + +inline bool Node::Body::Builder::hasInterfaceNode() { + return !_builder.isPointerFieldNull(3 * ::capnp::POINTERS); +} + +inline ::capnp::schema::InterfaceNode::Reader Node::Body::Reader::getInterfaceNode() const { + KJ_IREQUIRE(which() == Body::INTERFACE_NODE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::schema::InterfaceNode>::get( + _reader, 3 * ::capnp::POINTERS); +} + +inline ::capnp::schema::InterfaceNode::Builder Node::Body::Builder::getInterfaceNode() { + KJ_IREQUIRE(which() == Body::INTERFACE_NODE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::schema::InterfaceNode>::get( + _builder, 3 * ::capnp::POINTERS); +} + +inline void Node::Body::Builder::setInterfaceNode( ::capnp::schema::InterfaceNode::Reader value) { + _builder.setDataField( + 8 * ::capnp::ELEMENTS, Body::INTERFACE_NODE); + ::capnp::_::PointerHelpers< ::capnp::schema::InterfaceNode>::set( + _builder, 3 * ::capnp::POINTERS, value); +} + +inline ::capnp::schema::InterfaceNode::Builder Node::Body::Builder::initInterfaceNode() { + _builder.setDataField( + 8 * ::capnp::ELEMENTS, Body::INTERFACE_NODE); + return ::capnp::_::PointerHelpers< ::capnp::schema::InterfaceNode>::init( + _builder, 3 * ::capnp::POINTERS); +} + + + +// Node::Body::constNode@10: .ConstNode; # ptr[3], union tag = 4 + + +inline bool Node::Body::Reader::hasConstNode() const { + return !_reader.isPointerFieldNull(3 * ::capnp::POINTERS); +} + +inline bool Node::Body::Builder::hasConstNode() { + return !_builder.isPointerFieldNull(3 * ::capnp::POINTERS); +} + +inline ::capnp::schema::ConstNode::Reader Node::Body::Reader::getConstNode() const { + KJ_IREQUIRE(which() == Body::CONST_NODE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::schema::ConstNode>::get( + _reader, 3 * ::capnp::POINTERS); +} + +inline ::capnp::schema::ConstNode::Builder Node::Body::Builder::getConstNode() { + KJ_IREQUIRE(which() == Body::CONST_NODE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::schema::ConstNode>::get( + _builder, 3 * ::capnp::POINTERS); +} + +inline void Node::Body::Builder::setConstNode( ::capnp::schema::ConstNode::Reader value) { + _builder.setDataField( + 8 * ::capnp::ELEMENTS, Body::CONST_NODE); + ::capnp::_::PointerHelpers< ::capnp::schema::ConstNode>::set( + _builder, 3 * ::capnp::POINTERS, value); +} + +inline ::capnp::schema::ConstNode::Builder Node::Body::Builder::initConstNode() { + _builder.setDataField( + 8 * ::capnp::ELEMENTS, Body::CONST_NODE); + return ::capnp::_::PointerHelpers< ::capnp::schema::ConstNode>::init( + _builder, 3 * ::capnp::POINTERS); +} + + + +// Node::Body::annotationNode@11: .AnnotationNode; # ptr[3], union tag = 5 + + +inline bool Node::Body::Reader::hasAnnotationNode() const { + return !_reader.isPointerFieldNull(3 * ::capnp::POINTERS); +} + +inline bool Node::Body::Builder::hasAnnotationNode() { + return !_builder.isPointerFieldNull(3 * ::capnp::POINTERS); +} + +inline ::capnp::schema::AnnotationNode::Reader Node::Body::Reader::getAnnotationNode() const { + KJ_IREQUIRE(which() == Body::ANNOTATION_NODE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::schema::AnnotationNode>::get( + _reader, 3 * ::capnp::POINTERS); +} + +inline ::capnp::schema::AnnotationNode::Builder Node::Body::Builder::getAnnotationNode() { + KJ_IREQUIRE(which() == Body::ANNOTATION_NODE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::schema::AnnotationNode>::get( + _builder, 3 * ::capnp::POINTERS); +} + +inline void Node::Body::Builder::setAnnotationNode( ::capnp::schema::AnnotationNode::Reader value) { + _builder.setDataField( + 8 * ::capnp::ELEMENTS, Body::ANNOTATION_NODE); + ::capnp::_::PointerHelpers< ::capnp::schema::AnnotationNode>::set( + _builder, 3 * ::capnp::POINTERS, value); +} + +inline ::capnp::schema::AnnotationNode::Builder Node::Body::Builder::initAnnotationNode() { + _builder.setDataField( + 8 * ::capnp::ELEMENTS, Body::ANNOTATION_NODE); + return ::capnp::_::PointerHelpers< ::capnp::schema::AnnotationNode>::init( + _builder, 3 * ::capnp::POINTERS); +} + + + + +// StructNode::dataSectionWordSize@0: UInt16; # bits[0, 16) + +inline ::uint16_t StructNode::Reader::getDataSectionWordSize() const { + return _reader.getDataField< ::uint16_t>( + 0 * ::capnp::ELEMENTS); +} + +inline ::uint16_t StructNode::Builder::getDataSectionWordSize() { + return _builder.getDataField< ::uint16_t>( + 0 * ::capnp::ELEMENTS); +} +inline void StructNode::Builder::setDataSectionWordSize( ::uint16_t value) { + _builder.setDataField< ::uint16_t>( + 0 * ::capnp::ELEMENTS, value); +} + + +// StructNode::pointerSectionSize@1: UInt16; # bits[16, 32) + +inline ::uint16_t StructNode::Reader::getPointerSectionSize() const { + return _reader.getDataField< ::uint16_t>( + 1 * ::capnp::ELEMENTS); +} + +inline ::uint16_t StructNode::Builder::getPointerSectionSize() { + return _builder.getDataField< ::uint16_t>( + 1 * ::capnp::ELEMENTS); +} +inline void StructNode::Builder::setPointerSectionSize( ::uint16_t value) { + _builder.setDataField< ::uint16_t>( + 1 * ::capnp::ELEMENTS, value); +} + + +// StructNode::preferredListEncoding@2: .ElementSize; # bits[32, 48) + +inline ::capnp::schema::ElementSize StructNode::Reader::getPreferredListEncoding() const { + return _reader.getDataField< ::capnp::schema::ElementSize>( + 2 * ::capnp::ELEMENTS); +} + +inline ::capnp::schema::ElementSize StructNode::Builder::getPreferredListEncoding() { + return _builder.getDataField< ::capnp::schema::ElementSize>( + 2 * ::capnp::ELEMENTS); +} +inline void StructNode::Builder::setPreferredListEncoding( ::capnp::schema::ElementSize value) { + _builder.setDataField< ::capnp::schema::ElementSize>( + 2 * ::capnp::ELEMENTS, value); +} + + +// StructNode::members@3: List(.StructNode.Member); # ptr[0] + + +inline bool StructNode::Reader::hasMembers() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool StructNode::Builder::hasMembers() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::StructNode::Member>::Reader StructNode::Reader::getMembers() const { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::StructNode::Member>>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::StructNode::Member>::Builder StructNode::Builder::getMembers() { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::StructNode::Member>>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void StructNode::Builder::setMembers( ::capnp::List< ::capnp::schema::StructNode::Member>::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::StructNode::Member>>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::List< ::capnp::schema::StructNode::Member>::Builder StructNode::Builder::initMembers(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::StructNode::Member>>::init( + _builder, 0 * ::capnp::POINTERS, size); +} + + + + +// StructNode::Field::offset@0: UInt32; # bits[0, 32) + +inline ::uint32_t StructNode::Field::Reader::getOffset() const { + return _reader.getDataField< ::uint32_t>( + 0 * ::capnp::ELEMENTS); +} + +inline ::uint32_t StructNode::Field::Builder::getOffset() { + return _builder.getDataField< ::uint32_t>( + 0 * ::capnp::ELEMENTS); +} +inline void StructNode::Field::Builder::setOffset( ::uint32_t value) { + _builder.setDataField< ::uint32_t>( + 0 * ::capnp::ELEMENTS, value); +} + + +// StructNode::Field::type@1: .Type; # ptr[0] + + +inline bool StructNode::Field::Reader::hasType() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool StructNode::Field::Builder::hasType() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Type::Reader StructNode::Field::Reader::getType() const { + return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Type::Builder StructNode::Field::Builder::getType() { + return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void StructNode::Field::Builder::setType( ::capnp::schema::Type::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::schema::Type>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::schema::Type::Builder StructNode::Field::Builder::initType() { + return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::init( + _builder, 0 * ::capnp::POINTERS); +} + + + +// StructNode::Field::defaultValue@2: .Value; # ptr[1] + + +inline bool StructNode::Field::Reader::hasDefaultValue() const { + return !_reader.isPointerFieldNull(1 * ::capnp::POINTERS); +} + +inline bool StructNode::Field::Builder::hasDefaultValue() { + return !_builder.isPointerFieldNull(1 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Value::Reader StructNode::Field::Reader::getDefaultValue() const { + return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get( + _reader, 1 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Value::Builder StructNode::Field::Builder::getDefaultValue() { + return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::get( + _builder, 1 * ::capnp::POINTERS); +} + +inline void StructNode::Field::Builder::setDefaultValue( ::capnp::schema::Value::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::schema::Value>::set( + _builder, 1 * ::capnp::POINTERS, value); +} + +inline ::capnp::schema::Value::Builder StructNode::Field::Builder::initDefaultValue() { + return ::capnp::_::PointerHelpers< ::capnp::schema::Value>::init( + _builder, 1 * ::capnp::POINTERS); +} + + + +inline StructNode::Member::Body::Reader StructNode::Member::Reader::getBody() const { + return StructNode::Member::Body::Reader(_reader); +} + +inline StructNode::Member::Body::Builder StructNode::Member::Builder::getBody() { + return StructNode::Member::Body::Builder(_builder); +} + + +// StructNode::Member::name@0: Text; # ptr[0] + + +inline bool StructNode::Member::Reader::hasName() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool StructNode::Member::Builder::hasName() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::Text::Reader StructNode::Member::Reader::getName() const { + return ::capnp::_::PointerHelpers< ::capnp::Text>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::Text::Builder StructNode::Member::Builder::getName() { + return ::capnp::_::PointerHelpers< ::capnp::Text>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void StructNode::Member::Builder::setName( ::capnp::Text::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::Text>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::Text::Builder StructNode::Member::Builder::initName(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::Text>::init( + _builder, 0 * ::capnp::POINTERS, size); +} + + + +// StructNode::Member::ordinal@1: UInt16; # bits[0, 16) + +inline ::uint16_t StructNode::Member::Reader::getOrdinal() const { + return _reader.getDataField< ::uint16_t>( + 0 * ::capnp::ELEMENTS); +} + +inline ::uint16_t StructNode::Member::Builder::getOrdinal() { + return _builder.getDataField< ::uint16_t>( + 0 * ::capnp::ELEMENTS); +} +inline void StructNode::Member::Builder::setOrdinal( ::uint16_t value) { + _builder.setDataField< ::uint16_t>( + 0 * ::capnp::ELEMENTS, value); +} + + +// StructNode::Member::codeOrder@2: UInt16; # bits[16, 32) + +inline ::uint16_t StructNode::Member::Reader::getCodeOrder() const { + return _reader.getDataField< ::uint16_t>( + 1 * ::capnp::ELEMENTS); +} + +inline ::uint16_t StructNode::Member::Builder::getCodeOrder() { + return _builder.getDataField< ::uint16_t>( + 1 * ::capnp::ELEMENTS); +} +inline void StructNode::Member::Builder::setCodeOrder( ::uint16_t value) { + _builder.setDataField< ::uint16_t>( + 1 * ::capnp::ELEMENTS, value); +} + + +// StructNode::Member::annotations@3: List(.Annotation); # ptr[1] + + +inline bool StructNode::Member::Reader::hasAnnotations() const { + return !_reader.isPointerFieldNull(1 * ::capnp::POINTERS); +} + +inline bool StructNode::Member::Builder::hasAnnotations() { + return !_builder.isPointerFieldNull(1 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::Annotation>::Reader StructNode::Member::Reader::getAnnotations() const { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( + _reader, 1 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::Annotation>::Builder StructNode::Member::Builder::getAnnotations() { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::get( + _builder, 1 * ::capnp::POINTERS); +} + +inline void StructNode::Member::Builder::setAnnotations( ::capnp::List< ::capnp::schema::Annotation>::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::set( + _builder, 1 * ::capnp::POINTERS, value); +} + +inline ::capnp::List< ::capnp::schema::Annotation>::Builder StructNode::Member::Builder::initAnnotations(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::Annotation>>::init( + _builder, 1 * ::capnp::POINTERS, size); +} + + + +// StructNode::Member::Body +inline StructNode::Member::Body::Which StructNode::Member::Body::Reader::which() const { + return _reader.getDataField(2 * ::capnp::ELEMENTS); +} + +inline StructNode::Member::Body::Which StructNode::Member::Body::Builder::which() { + return _builder.getDataField(2 * ::capnp::ELEMENTS); +} + + +// StructNode::Member::Body::fieldMember@5: .StructNode.Field; # ptr[2], union tag = 0 + + +inline bool StructNode::Member::Body::Reader::hasFieldMember() const { + return !_reader.isPointerFieldNull(2 * ::capnp::POINTERS); +} + +inline bool StructNode::Member::Body::Builder::hasFieldMember() { + return !_builder.isPointerFieldNull(2 * ::capnp::POINTERS); +} + +inline ::capnp::schema::StructNode::Field::Reader StructNode::Member::Body::Reader::getFieldMember() const { + KJ_IREQUIRE(which() == Body::FIELD_MEMBER, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::schema::StructNode::Field>::get( + _reader, 2 * ::capnp::POINTERS); +} + +inline ::capnp::schema::StructNode::Field::Builder StructNode::Member::Body::Builder::getFieldMember() { + KJ_IREQUIRE(which() == Body::FIELD_MEMBER, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::schema::StructNode::Field>::get( + _builder, 2 * ::capnp::POINTERS); +} + +inline void StructNode::Member::Body::Builder::setFieldMember( ::capnp::schema::StructNode::Field::Reader value) { + _builder.setDataField( + 2 * ::capnp::ELEMENTS, Body::FIELD_MEMBER); + ::capnp::_::PointerHelpers< ::capnp::schema::StructNode::Field>::set( + _builder, 2 * ::capnp::POINTERS, value); +} + +inline ::capnp::schema::StructNode::Field::Builder StructNode::Member::Body::Builder::initFieldMember() { + _builder.setDataField( + 2 * ::capnp::ELEMENTS, Body::FIELD_MEMBER); + return ::capnp::_::PointerHelpers< ::capnp::schema::StructNode::Field>::init( + _builder, 2 * ::capnp::POINTERS); +} + + + +// StructNode::Member::Body::unionMember@6: .StructNode.Union; # ptr[2], union tag = 1 + + +inline bool StructNode::Member::Body::Reader::hasUnionMember() const { + return !_reader.isPointerFieldNull(2 * ::capnp::POINTERS); +} + +inline bool StructNode::Member::Body::Builder::hasUnionMember() { + return !_builder.isPointerFieldNull(2 * ::capnp::POINTERS); +} + +inline ::capnp::schema::StructNode::Union::Reader StructNode::Member::Body::Reader::getUnionMember() const { + KJ_IREQUIRE(which() == Body::UNION_MEMBER, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::schema::StructNode::Union>::get( + _reader, 2 * ::capnp::POINTERS); +} + +inline ::capnp::schema::StructNode::Union::Builder StructNode::Member::Body::Builder::getUnionMember() { + KJ_IREQUIRE(which() == Body::UNION_MEMBER, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::schema::StructNode::Union>::get( + _builder, 2 * ::capnp::POINTERS); +} + +inline void StructNode::Member::Body::Builder::setUnionMember( ::capnp::schema::StructNode::Union::Reader value) { + _builder.setDataField( + 2 * ::capnp::ELEMENTS, Body::UNION_MEMBER); + ::capnp::_::PointerHelpers< ::capnp::schema::StructNode::Union>::set( + _builder, 2 * ::capnp::POINTERS, value); +} + +inline ::capnp::schema::StructNode::Union::Builder StructNode::Member::Body::Builder::initUnionMember() { + _builder.setDataField( + 2 * ::capnp::ELEMENTS, Body::UNION_MEMBER); + return ::capnp::_::PointerHelpers< ::capnp::schema::StructNode::Union>::init( + _builder, 2 * ::capnp::POINTERS); +} + + + + +// StructNode::Union::discriminantOffset@0: UInt32; # bits[0, 32) + +inline ::uint32_t StructNode::Union::Reader::getDiscriminantOffset() const { + return _reader.getDataField< ::uint32_t>( + 0 * ::capnp::ELEMENTS); +} + +inline ::uint32_t StructNode::Union::Builder::getDiscriminantOffset() { + return _builder.getDataField< ::uint32_t>( + 0 * ::capnp::ELEMENTS); +} +inline void StructNode::Union::Builder::setDiscriminantOffset( ::uint32_t value) { + _builder.setDataField< ::uint32_t>( + 0 * ::capnp::ELEMENTS, value); +} + + +// StructNode::Union::members@1: List(.StructNode.Member); # ptr[0] + + +inline bool StructNode::Union::Reader::hasMembers() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool StructNode::Union::Builder::hasMembers() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::StructNode::Member>::Reader StructNode::Union::Reader::getMembers() const { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::StructNode::Member>>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::List< ::capnp::schema::StructNode::Member>::Builder StructNode::Union::Builder::getMembers() { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::StructNode::Member>>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void StructNode::Union::Builder::setMembers( ::capnp::List< ::capnp::schema::StructNode::Member>::Reader value) { + ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::StructNode::Member>>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::List< ::capnp::schema::StructNode::Member>::Builder StructNode::Union::Builder::initMembers(unsigned int size) { + return ::capnp::_::PointerHelpers< ::capnp::List< ::capnp::schema::StructNode::Member>>::init( + _builder, 0 * ::capnp::POINTERS, size); +} + + + +inline Type::Body::Reader Type::Reader::getBody() const { + return Type::Body::Reader(_reader); +} + +inline Type::Body::Builder Type::Builder::getBody() { + return Type::Body::Builder(_builder); +} + + +// Type::Body +inline Type::Body::Which Type::Body::Reader::which() const { + return _reader.getDataField(0 * ::capnp::ELEMENTS); +} + +inline Type::Body::Which Type::Body::Builder::which() { + return _builder.getDataField(0 * ::capnp::ELEMENTS); +} + + +// Type::Body::voidType@1: Void; # (none), union tag = 0 + +inline ::capnp::Void Type::Body::Reader::getVoidType() const { + KJ_IREQUIRE(which() == Body::VOID_TYPE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} + +inline ::capnp::Void Type::Body::Builder::getVoidType() { + KJ_IREQUIRE(which() == Body::VOID_TYPE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} +inline void Type::Body::Builder::setVoidType( ::capnp::Void value = ::capnp::Void::VOID) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::VOID_TYPE); + _builder.setDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS, value); +} + + +// Type::Body::boolType@2: Void; # (none), union tag = 1 + +inline ::capnp::Void Type::Body::Reader::getBoolType() const { + KJ_IREQUIRE(which() == Body::BOOL_TYPE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} + +inline ::capnp::Void Type::Body::Builder::getBoolType() { + KJ_IREQUIRE(which() == Body::BOOL_TYPE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} +inline void Type::Body::Builder::setBoolType( ::capnp::Void value = ::capnp::Void::VOID) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::BOOL_TYPE); + _builder.setDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS, value); +} + + +// Type::Body::int8Type@3: Void; # (none), union tag = 2 + +inline ::capnp::Void Type::Body::Reader::getInt8Type() const { + KJ_IREQUIRE(which() == Body::INT8_TYPE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} + +inline ::capnp::Void Type::Body::Builder::getInt8Type() { + KJ_IREQUIRE(which() == Body::INT8_TYPE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} +inline void Type::Body::Builder::setInt8Type( ::capnp::Void value = ::capnp::Void::VOID) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::INT8_TYPE); + _builder.setDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS, value); +} + + +// Type::Body::int16Type@4: Void; # (none), union tag = 3 + +inline ::capnp::Void Type::Body::Reader::getInt16Type() const { + KJ_IREQUIRE(which() == Body::INT16_TYPE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} + +inline ::capnp::Void Type::Body::Builder::getInt16Type() { + KJ_IREQUIRE(which() == Body::INT16_TYPE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} +inline void Type::Body::Builder::setInt16Type( ::capnp::Void value = ::capnp::Void::VOID) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::INT16_TYPE); + _builder.setDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS, value); +} + + +// Type::Body::int32Type@5: Void; # (none), union tag = 4 + +inline ::capnp::Void Type::Body::Reader::getInt32Type() const { + KJ_IREQUIRE(which() == Body::INT32_TYPE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} + +inline ::capnp::Void Type::Body::Builder::getInt32Type() { + KJ_IREQUIRE(which() == Body::INT32_TYPE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} +inline void Type::Body::Builder::setInt32Type( ::capnp::Void value = ::capnp::Void::VOID) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::INT32_TYPE); + _builder.setDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS, value); +} + + +// Type::Body::int64Type@6: Void; # (none), union tag = 5 + +inline ::capnp::Void Type::Body::Reader::getInt64Type() const { + KJ_IREQUIRE(which() == Body::INT64_TYPE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} + +inline ::capnp::Void Type::Body::Builder::getInt64Type() { + KJ_IREQUIRE(which() == Body::INT64_TYPE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} +inline void Type::Body::Builder::setInt64Type( ::capnp::Void value = ::capnp::Void::VOID) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::INT64_TYPE); + _builder.setDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS, value); +} + + +// Type::Body::uint8Type@7: Void; # (none), union tag = 6 + +inline ::capnp::Void Type::Body::Reader::getUint8Type() const { + KJ_IREQUIRE(which() == Body::UINT8_TYPE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} + +inline ::capnp::Void Type::Body::Builder::getUint8Type() { + KJ_IREQUIRE(which() == Body::UINT8_TYPE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} +inline void Type::Body::Builder::setUint8Type( ::capnp::Void value = ::capnp::Void::VOID) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::UINT8_TYPE); + _builder.setDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS, value); +} + + +// Type::Body::uint16Type@8: Void; # (none), union tag = 7 + +inline ::capnp::Void Type::Body::Reader::getUint16Type() const { + KJ_IREQUIRE(which() == Body::UINT16_TYPE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} + +inline ::capnp::Void Type::Body::Builder::getUint16Type() { + KJ_IREQUIRE(which() == Body::UINT16_TYPE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} +inline void Type::Body::Builder::setUint16Type( ::capnp::Void value = ::capnp::Void::VOID) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::UINT16_TYPE); + _builder.setDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS, value); +} + + +// Type::Body::uint32Type@9: Void; # (none), union tag = 8 + +inline ::capnp::Void Type::Body::Reader::getUint32Type() const { + KJ_IREQUIRE(which() == Body::UINT32_TYPE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} + +inline ::capnp::Void Type::Body::Builder::getUint32Type() { + KJ_IREQUIRE(which() == Body::UINT32_TYPE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} +inline void Type::Body::Builder::setUint32Type( ::capnp::Void value = ::capnp::Void::VOID) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::UINT32_TYPE); + _builder.setDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS, value); +} + + +// Type::Body::uint64Type@10: Void; # (none), union tag = 9 + +inline ::capnp::Void Type::Body::Reader::getUint64Type() const { + KJ_IREQUIRE(which() == Body::UINT64_TYPE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} + +inline ::capnp::Void Type::Body::Builder::getUint64Type() { + KJ_IREQUIRE(which() == Body::UINT64_TYPE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} +inline void Type::Body::Builder::setUint64Type( ::capnp::Void value = ::capnp::Void::VOID) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::UINT64_TYPE); + _builder.setDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS, value); +} + + +// Type::Body::float32Type@11: Void; # (none), union tag = 10 + +inline ::capnp::Void Type::Body::Reader::getFloat32Type() const { + KJ_IREQUIRE(which() == Body::FLOAT32_TYPE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} + +inline ::capnp::Void Type::Body::Builder::getFloat32Type() { + KJ_IREQUIRE(which() == Body::FLOAT32_TYPE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} +inline void Type::Body::Builder::setFloat32Type( ::capnp::Void value = ::capnp::Void::VOID) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::FLOAT32_TYPE); + _builder.setDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS, value); +} + + +// Type::Body::float64Type@12: Void; # (none), union tag = 11 + +inline ::capnp::Void Type::Body::Reader::getFloat64Type() const { + KJ_IREQUIRE(which() == Body::FLOAT64_TYPE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} + +inline ::capnp::Void Type::Body::Builder::getFloat64Type() { + KJ_IREQUIRE(which() == Body::FLOAT64_TYPE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} +inline void Type::Body::Builder::setFloat64Type( ::capnp::Void value = ::capnp::Void::VOID) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::FLOAT64_TYPE); + _builder.setDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS, value); +} + + +// Type::Body::textType@13: Void; # (none), union tag = 12 + +inline ::capnp::Void Type::Body::Reader::getTextType() const { + KJ_IREQUIRE(which() == Body::TEXT_TYPE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} + +inline ::capnp::Void Type::Body::Builder::getTextType() { + KJ_IREQUIRE(which() == Body::TEXT_TYPE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} +inline void Type::Body::Builder::setTextType( ::capnp::Void value = ::capnp::Void::VOID) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::TEXT_TYPE); + _builder.setDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS, value); +} + + +// Type::Body::dataType@14: Void; # (none), union tag = 13 + +inline ::capnp::Void Type::Body::Reader::getDataType() const { + KJ_IREQUIRE(which() == Body::DATA_TYPE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} + +inline ::capnp::Void Type::Body::Builder::getDataType() { + KJ_IREQUIRE(which() == Body::DATA_TYPE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} +inline void Type::Body::Builder::setDataType( ::capnp::Void value = ::capnp::Void::VOID) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::DATA_TYPE); + _builder.setDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS, value); +} + + +// Type::Body::listType@15: .Type; # ptr[0], union tag = 14 + + +inline bool Type::Body::Reader::hasListType() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool Type::Body::Builder::hasListType() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Type::Reader Type::Body::Reader::getListType() const { + KJ_IREQUIRE(which() == Body::LIST_TYPE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::schema::Type::Builder Type::Body::Builder::getListType() { + KJ_IREQUIRE(which() == Body::LIST_TYPE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void Type::Body::Builder::setListType( ::capnp::schema::Type::Reader value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::LIST_TYPE); + ::capnp::_::PointerHelpers< ::capnp::schema::Type>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::schema::Type::Builder Type::Body::Builder::initListType() { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::LIST_TYPE); + return ::capnp::_::PointerHelpers< ::capnp::schema::Type>::init( + _builder, 0 * ::capnp::POINTERS); +} + + + +// Type::Body::enumType@16: UInt64; # bits[64, 128), union tag = 15 + +inline ::uint64_t Type::Body::Reader::getEnumType() const { + KJ_IREQUIRE(which() == Body::ENUM_TYPE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::uint64_t>( + 1 * ::capnp::ELEMENTS); +} + +inline ::uint64_t Type::Body::Builder::getEnumType() { + KJ_IREQUIRE(which() == Body::ENUM_TYPE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::uint64_t>( + 1 * ::capnp::ELEMENTS); +} +inline void Type::Body::Builder::setEnumType( ::uint64_t value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::ENUM_TYPE); + _builder.setDataField< ::uint64_t>( + 1 * ::capnp::ELEMENTS, value); +} + + +// Type::Body::structType@17: UInt64; # bits[64, 128), union tag = 16 + +inline ::uint64_t Type::Body::Reader::getStructType() const { + KJ_IREQUIRE(which() == Body::STRUCT_TYPE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::uint64_t>( + 1 * ::capnp::ELEMENTS); +} + +inline ::uint64_t Type::Body::Builder::getStructType() { + KJ_IREQUIRE(which() == Body::STRUCT_TYPE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::uint64_t>( + 1 * ::capnp::ELEMENTS); +} +inline void Type::Body::Builder::setStructType( ::uint64_t value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::STRUCT_TYPE); + _builder.setDataField< ::uint64_t>( + 1 * ::capnp::ELEMENTS, value); +} + + +// Type::Body::interfaceType@18: UInt64; # bits[64, 128), union tag = 17 + +inline ::uint64_t Type::Body::Reader::getInterfaceType() const { + KJ_IREQUIRE(which() == Body::INTERFACE_TYPE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::uint64_t>( + 1 * ::capnp::ELEMENTS); +} + +inline ::uint64_t Type::Body::Builder::getInterfaceType() { + KJ_IREQUIRE(which() == Body::INTERFACE_TYPE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::uint64_t>( + 1 * ::capnp::ELEMENTS); +} +inline void Type::Body::Builder::setInterfaceType( ::uint64_t value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::INTERFACE_TYPE); + _builder.setDataField< ::uint64_t>( + 1 * ::capnp::ELEMENTS, value); +} + + +// Type::Body::objectType@19: Void; # (none), union tag = 18 + +inline ::capnp::Void Type::Body::Reader::getObjectType() const { + KJ_IREQUIRE(which() == Body::OBJECT_TYPE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} + +inline ::capnp::Void Type::Body::Builder::getObjectType() { + KJ_IREQUIRE(which() == Body::OBJECT_TYPE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} +inline void Type::Body::Builder::setObjectType( ::capnp::Void value = ::capnp::Void::VOID) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::OBJECT_TYPE); + _builder.setDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS, value); +} + + +inline Value::Body::Reader Value::Reader::getBody() const { + return Value::Body::Reader(_reader); +} + +inline Value::Body::Builder Value::Builder::getBody() { + return Value::Body::Builder(_builder); +} + + +// Value::Body +inline Value::Body::Which Value::Body::Reader::which() const { + return _reader.getDataField(0 * ::capnp::ELEMENTS); +} + +inline Value::Body::Which Value::Body::Builder::which() { + return _builder.getDataField(0 * ::capnp::ELEMENTS); +} + + +// Value::Body::voidValue@10: Void; # (none), union tag = 9 + +inline ::capnp::Void Value::Body::Reader::getVoidValue() const { + KJ_IREQUIRE(which() == Body::VOID_VALUE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} + +inline ::capnp::Void Value::Body::Builder::getVoidValue() { + KJ_IREQUIRE(which() == Body::VOID_VALUE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} +inline void Value::Body::Builder::setVoidValue( ::capnp::Void value = ::capnp::Void::VOID) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::VOID_VALUE); + _builder.setDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS, value); +} + + +// Value::Body::boolValue@2: Bool; # bits[64, 65), union tag = 1 + +inline bool Value::Body::Reader::getBoolValue() const { + KJ_IREQUIRE(which() == Body::BOOL_VALUE, + "Must check which() before get()ing a union member."); + return _reader.getDataField( + 64 * ::capnp::ELEMENTS); +} + +inline bool Value::Body::Builder::getBoolValue() { + KJ_IREQUIRE(which() == Body::BOOL_VALUE, + "Must check which() before get()ing a union member."); + return _builder.getDataField( + 64 * ::capnp::ELEMENTS); +} +inline void Value::Body::Builder::setBoolValue(bool value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::BOOL_VALUE); + _builder.setDataField( + 64 * ::capnp::ELEMENTS, value); +} + + +// Value::Body::int8Value@3: Int8; # bits[64, 72), union tag = 2 + +inline ::int8_t Value::Body::Reader::getInt8Value() const { + KJ_IREQUIRE(which() == Body::INT8_VALUE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::int8_t>( + 8 * ::capnp::ELEMENTS); +} + +inline ::int8_t Value::Body::Builder::getInt8Value() { + KJ_IREQUIRE(which() == Body::INT8_VALUE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::int8_t>( + 8 * ::capnp::ELEMENTS); +} +inline void Value::Body::Builder::setInt8Value( ::int8_t value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::INT8_VALUE); + _builder.setDataField< ::int8_t>( + 8 * ::capnp::ELEMENTS, value); +} + + +// Value::Body::int16Value@4: Int16; # bits[64, 80), union tag = 3 + +inline ::int16_t Value::Body::Reader::getInt16Value() const { + KJ_IREQUIRE(which() == Body::INT16_VALUE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::int16_t>( + 4 * ::capnp::ELEMENTS); +} + +inline ::int16_t Value::Body::Builder::getInt16Value() { + KJ_IREQUIRE(which() == Body::INT16_VALUE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::int16_t>( + 4 * ::capnp::ELEMENTS); +} +inline void Value::Body::Builder::setInt16Value( ::int16_t value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::INT16_VALUE); + _builder.setDataField< ::int16_t>( + 4 * ::capnp::ELEMENTS, value); +} + + +// Value::Body::int32Value@5: Int32; # bits[64, 96), union tag = 4 + +inline ::int32_t Value::Body::Reader::getInt32Value() const { + KJ_IREQUIRE(which() == Body::INT32_VALUE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::int32_t>( + 2 * ::capnp::ELEMENTS); +} + +inline ::int32_t Value::Body::Builder::getInt32Value() { + KJ_IREQUIRE(which() == Body::INT32_VALUE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::int32_t>( + 2 * ::capnp::ELEMENTS); +} +inline void Value::Body::Builder::setInt32Value( ::int32_t value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::INT32_VALUE); + _builder.setDataField< ::int32_t>( + 2 * ::capnp::ELEMENTS, value); +} + + +// Value::Body::int64Value@6: Int64; # bits[64, 128), union tag = 5 + +inline ::int64_t Value::Body::Reader::getInt64Value() const { + KJ_IREQUIRE(which() == Body::INT64_VALUE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::int64_t>( + 1 * ::capnp::ELEMENTS); +} + +inline ::int64_t Value::Body::Builder::getInt64Value() { + KJ_IREQUIRE(which() == Body::INT64_VALUE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::int64_t>( + 1 * ::capnp::ELEMENTS); +} +inline void Value::Body::Builder::setInt64Value( ::int64_t value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::INT64_VALUE); + _builder.setDataField< ::int64_t>( + 1 * ::capnp::ELEMENTS, value); +} + + +// Value::Body::uint8Value@7: UInt8; # bits[64, 72), union tag = 6 + +inline ::uint8_t Value::Body::Reader::getUint8Value() const { + KJ_IREQUIRE(which() == Body::UINT8_VALUE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::uint8_t>( + 8 * ::capnp::ELEMENTS); +} + +inline ::uint8_t Value::Body::Builder::getUint8Value() { + KJ_IREQUIRE(which() == Body::UINT8_VALUE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::uint8_t>( + 8 * ::capnp::ELEMENTS); +} +inline void Value::Body::Builder::setUint8Value( ::uint8_t value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::UINT8_VALUE); + _builder.setDataField< ::uint8_t>( + 8 * ::capnp::ELEMENTS, value); +} + + +// Value::Body::uint16Value@8: UInt16; # bits[64, 80), union tag = 7 + +inline ::uint16_t Value::Body::Reader::getUint16Value() const { + KJ_IREQUIRE(which() == Body::UINT16_VALUE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::uint16_t>( + 4 * ::capnp::ELEMENTS); +} + +inline ::uint16_t Value::Body::Builder::getUint16Value() { + KJ_IREQUIRE(which() == Body::UINT16_VALUE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::uint16_t>( + 4 * ::capnp::ELEMENTS); +} +inline void Value::Body::Builder::setUint16Value( ::uint16_t value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::UINT16_VALUE); + _builder.setDataField< ::uint16_t>( + 4 * ::capnp::ELEMENTS, value); +} + + +// Value::Body::uint32Value@9: UInt32; # bits[64, 96), union tag = 8 + +inline ::uint32_t Value::Body::Reader::getUint32Value() const { + KJ_IREQUIRE(which() == Body::UINT32_VALUE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::uint32_t>( + 2 * ::capnp::ELEMENTS); +} + +inline ::uint32_t Value::Body::Builder::getUint32Value() { + KJ_IREQUIRE(which() == Body::UINT32_VALUE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::uint32_t>( + 2 * ::capnp::ELEMENTS); +} +inline void Value::Body::Builder::setUint32Value( ::uint32_t value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::UINT32_VALUE); + _builder.setDataField< ::uint32_t>( + 2 * ::capnp::ELEMENTS, value); +} + + +// Value::Body::uint64Value@1: UInt64; # bits[64, 128), union tag = 0 + +inline ::uint64_t Value::Body::Reader::getUint64Value() const { + KJ_IREQUIRE(which() == Body::UINT64_VALUE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::uint64_t>( + 1 * ::capnp::ELEMENTS); +} + +inline ::uint64_t Value::Body::Builder::getUint64Value() { + KJ_IREQUIRE(which() == Body::UINT64_VALUE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::uint64_t>( + 1 * ::capnp::ELEMENTS); +} +inline void Value::Body::Builder::setUint64Value( ::uint64_t value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::UINT64_VALUE); + _builder.setDataField< ::uint64_t>( + 1 * ::capnp::ELEMENTS, value); +} + + +// Value::Body::float32Value@11: Float32; # bits[64, 96), union tag = 10 + +inline float Value::Body::Reader::getFloat32Value() const { + KJ_IREQUIRE(which() == Body::FLOAT32_VALUE, + "Must check which() before get()ing a union member."); + return _reader.getDataField( + 2 * ::capnp::ELEMENTS); +} + +inline float Value::Body::Builder::getFloat32Value() { + KJ_IREQUIRE(which() == Body::FLOAT32_VALUE, + "Must check which() before get()ing a union member."); + return _builder.getDataField( + 2 * ::capnp::ELEMENTS); +} +inline void Value::Body::Builder::setFloat32Value(float value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::FLOAT32_VALUE); + _builder.setDataField( + 2 * ::capnp::ELEMENTS, value); +} + + +// Value::Body::float64Value@12: Float64; # bits[64, 128), union tag = 11 + +inline double Value::Body::Reader::getFloat64Value() const { + KJ_IREQUIRE(which() == Body::FLOAT64_VALUE, + "Must check which() before get()ing a union member."); + return _reader.getDataField( + 1 * ::capnp::ELEMENTS); +} + +inline double Value::Body::Builder::getFloat64Value() { + KJ_IREQUIRE(which() == Body::FLOAT64_VALUE, + "Must check which() before get()ing a union member."); + return _builder.getDataField( + 1 * ::capnp::ELEMENTS); +} +inline void Value::Body::Builder::setFloat64Value(double value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::FLOAT64_VALUE); + _builder.setDataField( + 1 * ::capnp::ELEMENTS, value); +} + + +// Value::Body::textValue@13: Text; # ptr[0], union tag = 12 + + +inline bool Value::Body::Reader::hasTextValue() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool Value::Body::Builder::hasTextValue() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::Text::Reader Value::Body::Reader::getTextValue() const { + KJ_IREQUIRE(which() == Body::TEXT_VALUE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::Text>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::Text::Builder Value::Body::Builder::getTextValue() { + KJ_IREQUIRE(which() == Body::TEXT_VALUE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::Text>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void Value::Body::Builder::setTextValue( ::capnp::Text::Reader value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::TEXT_VALUE); + ::capnp::_::PointerHelpers< ::capnp::Text>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::Text::Builder Value::Body::Builder::initTextValue(unsigned int size) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::TEXT_VALUE); + return ::capnp::_::PointerHelpers< ::capnp::Text>::init( + _builder, 0 * ::capnp::POINTERS, size); +} + + + +// Value::Body::dataValue@14: Data; # ptr[0], union tag = 13 + + +inline bool Value::Body::Reader::hasDataValue() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool Value::Body::Builder::hasDataValue() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline ::capnp::Data::Reader Value::Body::Reader::getDataValue() const { + KJ_IREQUIRE(which() == Body::DATA_VALUE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::Data>::get( + _reader, 0 * ::capnp::POINTERS); +} + +inline ::capnp::Data::Builder Value::Body::Builder::getDataValue() { + KJ_IREQUIRE(which() == Body::DATA_VALUE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers< ::capnp::Data>::get( + _builder, 0 * ::capnp::POINTERS); +} + +inline void Value::Body::Builder::setDataValue( ::capnp::Data::Reader value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::DATA_VALUE); + ::capnp::_::PointerHelpers< ::capnp::Data>::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +inline ::capnp::Data::Builder Value::Body::Builder::initDataValue(unsigned int size) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::DATA_VALUE); + return ::capnp::_::PointerHelpers< ::capnp::Data>::init( + _builder, 0 * ::capnp::POINTERS, size); +} + + + +// Value::Body::listValue@15: Object; # ptr[0], union tag = 14 + + +inline bool Value::Body::Reader::hasListValue() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool Value::Body::Builder::hasListValue() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + + +template +inline typename T::Reader Value::Body::Reader::getListValue() const { + KJ_IREQUIRE(which() == Body::LIST_VALUE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers::get( + _reader, 0 * ::capnp::POINTERS); +} + +template +inline typename T::Builder Value::Body::Builder::getListValue() { + KJ_IREQUIRE(which() == Body::LIST_VALUE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers::get( + _builder, 0 * ::capnp::POINTERS); +} + +template +inline typename T::Reader Value::Body::Reader::getListValue(Param&& param) const { + KJ_IREQUIRE(which() == Body::LIST_VALUE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers::getDynamic( + _reader, 0 * ::capnp::POINTERS, ::kj::fwd(param)); +} + +template +inline typename T::Builder Value::Body::Builder::getListValue(Param&& param) { + KJ_IREQUIRE(which() == Body::LIST_VALUE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers::getDynamic( + _builder, 0 * ::capnp::POINTERS, ::kj::fwd(param)); +} + +template +inline void Value::Body::Builder::setListValue(typename T::Reader value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::LIST_VALUE); + ::capnp::_::PointerHelpers::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +template +inline void Value::Body::Builder::setListValue(std::initializer_list value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::LIST_VALUE); + ::capnp::_::PointerHelpers::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +template +inline typename T::Builder Value::Body::Builder::initListValue(Params&&... params) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::LIST_VALUE); + return ::capnp::_::PointerHelpers::init( + _builder, 0 * ::capnp::POINTERS, ::kj::fwd(params)...); +} + + +// Value::Body::enumValue@16: UInt16; # bits[64, 80), union tag = 15 + +inline ::uint16_t Value::Body::Reader::getEnumValue() const { + KJ_IREQUIRE(which() == Body::ENUM_VALUE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::uint16_t>( + 4 * ::capnp::ELEMENTS); +} + +inline ::uint16_t Value::Body::Builder::getEnumValue() { + KJ_IREQUIRE(which() == Body::ENUM_VALUE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::uint16_t>( + 4 * ::capnp::ELEMENTS); +} +inline void Value::Body::Builder::setEnumValue( ::uint16_t value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::ENUM_VALUE); + _builder.setDataField< ::uint16_t>( + 4 * ::capnp::ELEMENTS, value); +} + + +// Value::Body::structValue@17: Object; # ptr[0], union tag = 16 + + +inline bool Value::Body::Reader::hasStructValue() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool Value::Body::Builder::hasStructValue() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + + +template +inline typename T::Reader Value::Body::Reader::getStructValue() const { + KJ_IREQUIRE(which() == Body::STRUCT_VALUE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers::get( + _reader, 0 * ::capnp::POINTERS); +} + +template +inline typename T::Builder Value::Body::Builder::getStructValue() { + KJ_IREQUIRE(which() == Body::STRUCT_VALUE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers::get( + _builder, 0 * ::capnp::POINTERS); +} + +template +inline typename T::Reader Value::Body::Reader::getStructValue(Param&& param) const { + KJ_IREQUIRE(which() == Body::STRUCT_VALUE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers::getDynamic( + _reader, 0 * ::capnp::POINTERS, ::kj::fwd(param)); +} + +template +inline typename T::Builder Value::Body::Builder::getStructValue(Param&& param) { + KJ_IREQUIRE(which() == Body::STRUCT_VALUE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers::getDynamic( + _builder, 0 * ::capnp::POINTERS, ::kj::fwd(param)); +} + +template +inline void Value::Body::Builder::setStructValue(typename T::Reader value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::STRUCT_VALUE); + ::capnp::_::PointerHelpers::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +template +inline void Value::Body::Builder::setStructValue(std::initializer_list value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::STRUCT_VALUE); + ::capnp::_::PointerHelpers::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +template +inline typename T::Builder Value::Body::Builder::initStructValue(Params&&... params) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::STRUCT_VALUE); + return ::capnp::_::PointerHelpers::init( + _builder, 0 * ::capnp::POINTERS, ::kj::fwd(params)...); +} + + +// Value::Body::interfaceValue@18: Void; # (none), union tag = 17 + +inline ::capnp::Void Value::Body::Reader::getInterfaceValue() const { + KJ_IREQUIRE(which() == Body::INTERFACE_VALUE, + "Must check which() before get()ing a union member."); + return _reader.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} + +inline ::capnp::Void Value::Body::Builder::getInterfaceValue() { + KJ_IREQUIRE(which() == Body::INTERFACE_VALUE, + "Must check which() before get()ing a union member."); + return _builder.getDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS); +} +inline void Value::Body::Builder::setInterfaceValue( ::capnp::Void value = ::capnp::Void::VOID) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::INTERFACE_VALUE); + _builder.setDataField< ::capnp::Void>( + 0 * ::capnp::ELEMENTS, value); +} + + +// Value::Body::objectValue@19: Object; # ptr[0], union tag = 18 + + +inline bool Value::Body::Reader::hasObjectValue() const { + return !_reader.isPointerFieldNull(0 * ::capnp::POINTERS); +} + +inline bool Value::Body::Builder::hasObjectValue() { + return !_builder.isPointerFieldNull(0 * ::capnp::POINTERS); +} + + +template +inline typename T::Reader Value::Body::Reader::getObjectValue() const { + KJ_IREQUIRE(which() == Body::OBJECT_VALUE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers::get( + _reader, 0 * ::capnp::POINTERS); +} + +template +inline typename T::Builder Value::Body::Builder::getObjectValue() { + KJ_IREQUIRE(which() == Body::OBJECT_VALUE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers::get( + _builder, 0 * ::capnp::POINTERS); +} + +template +inline typename T::Reader Value::Body::Reader::getObjectValue(Param&& param) const { + KJ_IREQUIRE(which() == Body::OBJECT_VALUE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers::getDynamic( + _reader, 0 * ::capnp::POINTERS, ::kj::fwd(param)); +} + +template +inline typename T::Builder Value::Body::Builder::getObjectValue(Param&& param) { + KJ_IREQUIRE(which() == Body::OBJECT_VALUE, + "Must check which() before get()ing a union member."); + return ::capnp::_::PointerHelpers::getDynamic( + _builder, 0 * ::capnp::POINTERS, ::kj::fwd(param)); +} + +template +inline void Value::Body::Builder::setObjectValue(typename T::Reader value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::OBJECT_VALUE); + ::capnp::_::PointerHelpers::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +template +inline void Value::Body::Builder::setObjectValue(std::initializer_list value) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::OBJECT_VALUE); + ::capnp::_::PointerHelpers::set( + _builder, 0 * ::capnp::POINTERS, value); +} + +template +inline typename T::Builder Value::Body::Builder::initObjectValue(Params&&... params) { + _builder.setDataField( + 0 * ::capnp::ELEMENTS, Body::OBJECT_VALUE); + return ::capnp::_::PointerHelpers::init( + _builder, 0 * ::capnp::POINTERS, ::kj::fwd(params)...); +} + + + +} // namespace +} // namespace +#endif // CAPNP_INCLUDED_3049d609bcc70d258c4d9c07a7924611 diff --git a/serialized_schema.test.bin b/serialized_schema.test.bin new file mode 100644 index 0000000..efb1de2 Binary files /dev/null and b/serialized_schema.test.bin differ diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..15dce33 --- /dev/null +++ b/setup.py @@ -0,0 +1,241 @@ +#!/usr/bin/env python +from distutils.core import setup +from Cython.Build import cythonize +from jinja2 import Environment, FileSystemLoader +import os + +curr_dir = os.path.abspath(os.path.dirname(__file__)) +env = Environment(loader=FileSystemLoader(curr_dir)) + +nodes = { + +'Node' : {'body' : 'struct', +'members' : { + 'id' : {'type' : 'UInt64'}, + 'displayName' : {'type' : 'Text'}, + 'scopeId' : {'type' : 'UInt64'}, + 'nestedNodes' : {'type' : 'List[Node.NestedNode]'}, +'NestedNode' : {'body' : 'struct', 'is_not_field' : True, +'members' : { + 'name' : {'type' : 'Text'}, + 'id' : {'type' : 'UInt64'}, +}}, + 'annotations' : {'type' : 'List[Annotation]'}, +'body' : {'body' : 'union', +'members' : { + 'fileNode' : {'type' : 'FileNode'}, + 'structNode' : {'type' : 'StructNode'}, + 'enumNode' : {'type' : 'EnumNode'}, + 'interfaceNode' : {'type' : 'InterfaceNode'}, + 'constNode' : {'type' : 'ConstNode'}, + 'annotationNode' : {'type' : 'AnnotationNode'}, +}}, +}}, +'Type' : {'body' : 'struct', +'members' : { +'body' : {'body' : 'union', +'members' : { + 'voidType' : {'type' : 'Void'}, + 'boolType' : {'type' : 'Void'}, + 'int8Type' : {'type' : 'Void'}, + 'int16Type' : {'type' : 'Void'}, + 'int32Type' : {'type' : 'Void'}, + 'int64Type' : {'type' : 'Void'}, + 'uint8Type' : {'type' : 'Void'}, + 'uint16Type' : {'type' : 'Void'}, + 'uint32Type' : {'type' : 'Void'}, + 'uint64Type' : {'type' : 'Void'}, + 'float32Type' : {'type' : 'Void'}, + 'float64Type' : {'type' : 'Void'}, + 'textType' : {'type' : 'Void'}, + 'dataType' : {'type' : 'Void'}, + 'listType' : {'type' : 'Type'}, + 'enumType' : {'type' : 'UInt64'}, + 'structType' : {'type' : 'UInt64'}, + 'interfaceType' : {'type' : 'UInt64'}, + 'objectType' : {'type' : 'Void'}, +}}, +}}, +'Value' : {'body' : 'struct', +'members' : { +'body' : {'body' : 'union', +'members' : { + 'voidValue' : {'type' : 'Void'}, + 'boolValue' : {'type' : 'Bool'}, + 'int8Value' : {'type' : 'Int8'}, + 'int16Value' : {'type' : 'Int16'}, + 'int32Value' : {'type' : 'Int32'}, + 'int64Value' : {'type' : 'Int64'}, + 'uint8Value' : {'type' : 'UInt8'}, + 'uint16Value' : {'type' : 'UInt16'}, + 'uint32Value' : {'type' : 'UInt32'}, + 'uint64Value' : {'type' : 'UInt64'}, + 'float32Value' : {'type' : 'Float32'}, + 'float64Value' : {'type' : 'Float64'}, + 'textValue' : {'type' : 'Text'}, + 'dataValue' : {'type' : 'Data'}, + 'listValue' : {'type' : 'Object'}, + 'enumValue' : {'type' : 'UInt16'}, + 'structValue' : {'type' : 'Object'}, + 'interfaceValue' : {'type' : 'Void'}, + 'objectValue' : {'type' : 'Object'}, +}}, +}}, +'Annotation' : {'body' : 'struct', +'members' : { + 'id' : {'type' : 'UInt64'}, + 'value' : {'type' : 'Value'}, +}}, +'FileNode' : {'body' : 'struct', +'members' : { + 'imports' : {'type' : 'List[FileNode.Import]'}, +'Import' : {'body' : 'struct', 'is_not_field' : True, +'members' : { + 'id' : {'type' : 'UInt64'}, + 'name' : {'type' : 'Text'}, +}}, +}}, +'ElementSize' : {'body' : 'enum', +'members' : { + 'empty' : {}, + 'bit' : {}, + 'byte' : {}, + 'twoBytes' : {}, + 'fourBytes' : {}, + 'eightBytes' : {}, + 'pointer' : {}, + 'inlineComposite' : {}, +}}, +'StructNode' : {'body' : 'struct', +'members' : { + 'dataSectionWordSize' : {'type' : 'UInt16'}, + 'pointerSectionSize' : {'type' : 'UInt16'}, + # 'preferredListEncoding' : {'type' : 'ElementSize'}, + 'members' : {'type' : 'List[StructNode.Member]'}, +'Member' : {'body' : 'struct', 'is_not_field' : True, +'members' : { + 'name' : {'type' : 'Text'}, + 'ordinal' : {'type' : 'UInt16'}, + 'codeOrder' : {'type' : 'UInt16'}, + 'annotations' : {'type' : 'List[Annotation]'}, +'body' : {'body' : 'union', +'members' : { + 'fieldMember' : {'type' : 'StructNode.Field'}, + 'unionMember' : {'type' : 'StructNode.Union'}, +}}, +}}, +'Field' : {'body' : 'struct', 'is_not_field' : True, +'members' : { + 'offset' : {'type' : 'UInt32'}, + 'type' : {'type' : 'Type'}, + 'defaultValue' : {'type' : 'Value'}, +}}, +'Union' : {'body' : 'struct', 'is_not_field' : True, +'members' : { + 'discriminantOffset' : {'type' : 'UInt32'}, + 'members' : {'type' : 'List[StructNode.Member]'}, +}}, +}}, +'EnumNode' : {'body' : 'struct', +'members' : { + 'enumerants' : {'type' : 'List[EnumNode.Enumerant]'}, +'Enumerant' : {'body' : 'struct', 'is_not_field' : True, +'members' : { + 'name' : {'type' : 'Text'}, + 'codeOrder' : {'type' : 'UInt16'}, + 'annotations' : {'type' : 'List[Annotation]'}, +}}, +}}, +'InterfaceNode' : {'body' : 'struct', +'members' : { + 'methods' : {'type' : 'List[InterfaceNode.Method]'}, +'Method' : {'body' : 'struct', 'is_not_field' : True, +'members' : { + 'name' : {'type' : 'Text'}, + 'codeOrder' : {'type' : 'UInt16'}, + 'params' : {'type' : 'List[InterfaceNode.Method.Param]'}, +'Param' : {'body' : 'struct', 'is_not_field' : True, +'members' : { + 'name' : {'type' : 'Text'}, + 'type' : {'type' : 'Type'}, + 'defaultValue' : {'type' : 'Value'}, + 'annotations' : {'type' : 'List[Annotation]'}, +}}, + 'requiredParamCount' : {'type' : 'UInt16'}, + 'returnType' : {'type' : 'Type'}, + 'annotations' : {'type' : 'List[Annotation]'}, +}}, +}}, +'ConstNode' : {'body' : 'struct', +'members' : { + 'type' : {'type' : 'Type'}, + 'value' : {'type' : 'Value'}, +}}, +'AnnotationNode' : {'body' : 'struct', +'members' : { + 'type' : {'type' : 'Type'}, + 'targetsFile' : {'type' : 'Bool'}, + 'targetsConst' : {'type' : 'Bool'}, + 'targetsEnum' : {'type' : 'Bool'}, + 'targetsEnumerant' : {'type' : 'Bool'}, + 'targetsStruct' : {'type' : 'Bool'}, + 'targetsField' : {'type' : 'Bool'}, + 'targetsUnion' : {'type' : 'Bool'}, + 'targetsInterface' : {'type' : 'Bool'}, + 'targetsMethod' : {'type' : 'Bool'}, + 'targetsParam' : {'type' : 'Bool'}, + 'targetsAnnotation' : {'type' : 'Bool'}, +}}, +'CodeGeneratorRequest' : {'body' : 'struct', +'members' : { + 'nodes' : {'type' : 'List[Node]'}, + 'requestedFiles' : {'type' : 'List[UInt64]'}, +}}, +} +primitive_types = set(('Bool','Int8','Int16','Int32','Int64','UInt8','UInt16','UInt32','UInt64','Float32','Float64')) +built_in_types = set(('Bool','Int8','Int16','Int32','Int64','UInt8','UInt16','UInt32','UInt64','Float32','Float64', 'Text', 'Data', 'Void', 'Object')) +list_types = {} +def capitalize(s): + if len(s) < 2: + return s + return s[0].upper() + s[1:] +def fixNodes(n): + def fixNode(node_dict, full_name): + nested = {} + node_dict['full_name'] = full_name + node_dict['full_name_cython'] = '_' + full_name.replace('.', '_') + for member, member_dict in node_dict['members'].items(): + member_dict['full_type'] = member_dict.get('type') + if 'body' in member_dict: + nested[member] = fixNode(member_dict, full_name+'.'+capitalize(member)) + if 'is_not_field' in member_dict: + del node_dict['members'][member] + else: + node_dict['members'][member] = {'type' : full_name+'.'+capitalize(member)} + node_dict['members'][member]['full_type'] = node_dict['members'][member].get('type') + elif member_dict.get('type', '').startswith('List'): + elem_type = member_dict['type'][member_dict['type'].find('[')+1:member_dict['type'].find(']')] + elem_type_name = elem_type if elem_type in built_in_types else capitalize((full_name+'.'+elem_type)) + elem_type_cython = elem_type if elem_type in built_in_types else 'C_' + capitalize((full_name+'.'+elem_type)) + list_types['List[%s]' % elem_type_name] = {'elem_type' : elem_type, 'elem_type_cython' : elem_type_cython} + member_dict['type'] = 'List[%s]' % elem_type_name + + elif '.' in member_dict.get('type', ''): + member_dict['type'] = '.'.join(member_dict['type'].split('.')[1:]) + node_dict['nestedNodes'] = nested + return node_dict + for node, node_dict in n.items(): + fixNode(node_dict, capitalize(node)) + return n + +env.filters['capitalize'] = capitalize +nodes = fixNodes(nodes) +tmpl = env.get_template('capnp.tmpl.pxd') +open(os.path.join(curr_dir, 'capnp_schema.pxd'), 'w').write(tmpl.render(nodes=nodes, namespace='::capnp::schema', built_in_types=built_in_types)) +tmpl = env.get_template('capnp.tmpl.pyx') +open(os.path.join(curr_dir, 'schema.capnp.cpp.pyx'), 'w').write(tmpl.render(nodes=nodes, namespace='::capnp::schema', primitive_types=primitive_types, built_in_types=built_in_types, list_types=list_types)) + +setup( + name = "capnp", + ext_modules = cythonize('schema.capnp.cpp.pyx'), +) \ No newline at end of file diff --git a/translate.py b/translate.py new file mode 100644 index 0000000..bb3618e --- /dev/null +++ b/translate.py @@ -0,0 +1,29 @@ +#!/usr/bin/env python +from jinja2 import Template + + +nodes = { +'Node' : {'body' : 'struct', + 'members' : { + 'id' : {'type' : 'UInt64'} + } + }} +f=open('schema.verbose') +for line in f.readlines()[10:]: + sline = line.strip() + if sline == '': + continue + elif sline.startswith('struct ') or sline.startswith('union ') or sline.startswith('enum '): + print "'%s' : {'body' : '%s',\n'members' : {" % (line.split()[1], line.split()[0]) + elif sline.startswith('}'): + print '}},' + else: + if len(sline.split()) > 1: + name, type = sline.split()[:2] + if type.startswith('List('): + type = type.replace('List(', 'List[').replace(')', ']').replace('[.', '[') + if type.startswith('.'): + type = type[1:] + print ' ', "'%s' : {'type' : '%s'}," % (name, type) + else: + print ' ', "'%s' : {}," % sline.split()[0] \ No newline at end of file