/**
 * This file is generated by hand in order to bootstrap compiler development. It is intended to be an exact match to
 * compiled output.
 */ import * as capnp from "../index" ; import { ObjectSize as __O , Struct as __S } from "../index" ; export const _capnpFileId = "d9724c6209c53fa9" ; export class Node_Parameter extends __S { static readonly _capnp = { displayName : "Parameter" , id : "b9521bccf10fa3b1" , size : new __O ( 0 , 1 ) } ; getName ( ) { return __S . getText ( 0 , this ) ; } setName ( value ) { __S . setText ( 0 , value , this ) ; } toString ( ) { return "Node_Parameter_" + super . toString ( ) ; } } export class Node_NestedNode extends __S { static readonly _capnp = { displayName : "NestedNode" , id : "debf55bbfa0fc242" , size : new __O ( 8 , 1 ) } ; getName ( ) { return __S . getText ( 0 , this ) ; } setName ( value ) { __S . setText ( 0 , value , this ) ; } getId ( ) { return __S . getUint64 ( 0 , this ) ; } setId ( value ) { __S . setUint64 ( 0 , value , this ) ; } toString ( ) { return "Node_NestedNode_" + super . toString ( ) ; } } export class Node_Struct extends __S { static readonly _capnp = { displayName : "struct" , id : "9ea0b19b37fb4435" , size : new __O ( 40 , 6 ) } ; static _Fields : capnp . ListCtor < Field > ; getDataWordCount ( ) { return __S . getUint16 ( 14 , this ) ; } setDataWordCount ( value ) { __S . setUint16 ( 14 , value , this ) ; } getPointerCount ( ) { return __S . getUint16 ( 24 , this ) ; } setPointerCount ( value ) { __S . setUint16 ( 24 , value , this ) ; } getPreferredListEncoding ( ) { return __S . getUint16 ( 26 , this ) ; } setPreferredListEncoding ( value ) { __S . setUint16 ( 26 , value , this ) ; } getIsGroup ( ) { return __S . getBit ( 224 , this ) ; } setIsGroup ( value ) { __S . setBit ( 224 , value , this ) ; } getDiscriminantCount ( ) { return __S . getUint16 ( 30 , this ) ; } setDiscriminantCount ( value ) { __S . setUint16 ( 30 , value , this ) ; } getDiscriminantOffset ( ) { return __S . getUint32 ( 32 , this ) ; } setDiscriminantOffset ( value ) { __S . setUint32 ( 32 , value , this ) ; } adoptFields ( value ) { __S . adopt ( value , __S . getPointer ( 3 , this ) ) ; } disownFields ( ) { return __S . disown ( this . getFields ( ) ) ; } getFields ( ) { return __S . getList ( 3 , Node_Struct . _Fields , this ) ; } hasFields ( ) { return ! __S . isNull ( __S . getPointer ( 3 , this ) ) ; } initFields ( length ) { return __S . initList ( 3 , Node_Struct . _Fields , length , this ) ; } setFields ( value ) { __S . copyFrom ( value , __S . getPointer ( 3 , this ) ) ; } toString ( ) { return "Node_Struct_" + super . toString ( ) ; } } export class Node_Enum extends __S { static readonly _capnp = { displayName : "enum" , id : "b54ab3364333f598" , size : new __O ( 40 , 6 ) } ; static _Enumerants : capnp . ListCtor < Enumerant > ; adoptEnumerants ( value ) { __S . adopt ( value , __S . getPointer ( 3 , this ) ) ; } disownEnumerants ( ) { return __S . disown ( this . getEnumerants ( ) ) ; } getEnumerants ( ) { return __S . getList ( 3 , Node_Enum . _Enumerants , this ) ; } hasEnumerants ( ) { return ! __S . isNull ( __S . getPointer ( 3 , this ) ) ; } initEnumerants ( length ) { return __S . initList ( 3 , Node_Enum . _Enumerants , length , this ) ; } setEnumerants ( value ) { __S . copyFrom ( value , __S . getPointer ( 3 , this ) ) ; } toString ( ) { return "Node_Enum_" + super . toString ( ) ; } } export class Node_Interface extends __S { static readonly _capnp = { displayName : "interface" , id : "e82753cff0c2218f" , size : new __O ( 40 , 6 ) } ; static _Methods : capnp . ListCtor < Method > ; static _Superclasses : capnp . ListCtor < Superclass > ; adoptMethods ( value ) { __S . adopt ( value , __S . getPointer ( 3 , this ) ) ; } disownMethods ( ) { return __S . disown ( this . getMethods ( ) ) ; } getMethods ( ) { return __S . getList ( 3 , Node_Interface . _Methods , this ) ; } hasMethods ( ) { return ! __S . isNull ( __S . getPointer ( 3 , this ) ) ; } initMethods ( length ) { return __S . initList ( 3 , Node_Interface . _Methods , length , this ) ; } setMethods ( value ) { __S . copyFrom ( value , __S . getPointer ( 3 , this ) ) ; } adoptSuperclasses ( value ) { __S . adopt ( value , __S . getPointer ( 4 , this ) ) ; } disownSuperclasses ( ) { return __S . disown ( this . getSuperclasses ( ) ) ; } getSuperclasses ( ) { return __S . getList ( 4 , Node_Interface . _Superclasses , this ) ; } hasSuperclasses ( ) { return ! __S . isNull ( __S . getPointer ( 4 , this ) ) ; } initSuperclasses ( length ) { return __S . initList ( 4 , Node_Interface . _Superclasses , length , this ) ; } setSuperclasses ( value ) { __S . copyFrom ( value , __S . getPointer ( 4 , this ) ) ; } toString ( ) { return "Node_Interface_" + super . toString ( ) ; } } export class Node_Const extends __S { static readonly _capnp = { displayName : "const" , id : "b18aa5ac7a0d9420" , size : new __O ( 40 , 6 ) } ; adoptType ( value ) { __S . adopt ( value , __S . getPointer ( 3 , this ) ) ; } disownType ( ) { return __S . disown ( this . getType ( ) ) ; } getType ( ) { return __S . getStruct ( 3 , Type , this ) ; } hasType ( ) { return ! __S . isNull ( __S . getPointer ( 3 , this ) ) ; } initType ( ) { return __S . initStructAt ( 3 , Type , this ) ; } setType ( value ) { __S . copyFrom ( value , __S . getPointer ( 3 , this ) ) ; } adoptValue ( value ) { __S . adopt ( value , __S . getPointer ( 4 , this ) ) ; } disownValue ( ) { return __S . disown ( this . getValue ( ) ) ; } getValue ( ) { return __S . getStruct ( 4 , Value , this ) ; } hasValue ( ) { return ! __S . isNull ( __S . getPointer ( 4 , this ) ) ; } initValue ( ) { return __S . initStructAt ( 4 , Value , this ) ; } setValue ( value ) { __S . copyFrom ( value , __S . getPointer ( 4 , this ) ) ; } toString ( ) { return "Node_Const_" + super . toString ( ) ; } } export class Node_Annotation extends __S { static readonly _capnp = { displayName : "annotation" , id : "ec1619d4400a0290" , size : new __O ( 40 , 6 ) } ; adoptType ( value ) { __S . adopt ( value , __S . getPointer ( 3 , this ) ) ; } disownType ( ) { return __S . disown ( this . getType ( ) ) ; } getType ( ) { return __S . getStruct ( 3 , Type , this ) ; } hasType ( ) { return ! __S . isNull ( __S . getPointer ( 3 , this ) ) ; } initType ( ) { return __S . initStructAt ( 3 , Type , this ) ; } setType ( value ) { __S . copyFrom ( value , __S . getPointer ( 3 , this ) ) ; } getTargetsFile ( ) { return __S . getBit ( 112 , this ) ; } setTargetsFile ( value ) { __S . setBit ( 112 , value , this ) ; } getTargetsConst ( ) { return __S . getBit ( 113 , this ) ; } setTargetsConst ( value ) { __S . setBit ( 113 , value , this ) ; } getTargetsEnum ( ) { return __S . getBit ( 114 , this ) ; } setTargetsEnum ( value ) { __S . setBit ( 114 , value , this ) ; } getTargetsEnumerant ( ) { return __S . getBit ( 115 , this ) ; } setTargetsEnumerant ( value ) { __S . setBit ( 115 , value , this ) ; } getTargetsStruct ( ) { return __S . getBit ( 116 , this ) ; } setTargetsStruct ( value ) { __S . setBit ( 116 , value , this ) ; } getTargetsField ( ) { return __S . getBit ( 117 , this ) ; } setTargetsField ( value ) { __S . setBit ( 117 , value , this ) ; } getTargetsUnion ( ) { return __S . getBit ( 118 , this ) ; } setTargetsUnion ( value ) { __S . setBit ( 118 , value , this ) ; } getTargetsGroup ( ) { return __S . getBit ( 119 , this ) ; } setTargetsGroup ( value ) { __S . setBit ( 119 , value , this ) ; } getTargetsInterface ( ) { return __S . getBit ( 120 , this ) ; } setTargetsInterface ( value ) { __S . setBit ( 120 , value , this ) ; } getTargetsMethod ( ) { return __S . getBit ( 121 , this ) ; } setTargetsMethod ( value ) { __S . setBit ( 121 , value , this ) ; } getTargetsParam ( ) { return __S . getBit ( 122 , this ) ; } setTargetsParam ( value ) { __S . setBit ( 122 , value , this ) ; } getTargetsAnnotation ( ) { return __S . getBit ( 123 , this ) ; } setTargetsAnnotation ( value ) { __S . setBit ( 123 , value , this ) ; } toString ( ) { return "Node_Annotation_" + super . toString ( ) ; } } export enum Node_Which { FILE = 0 , STRUCT = 1 , ENUM = 2 , INTERFACE = 3 , CONST = 4 , ANNOTATION = 5 } export class Node extends __S { static readonly FILE = Node_Which . FILE ; static readonly STRUCT = Node_Which . STRUCT ; static readonly ENUM = Node_Which . ENUM ; static readonly INTERFACE = Node_Which . INTERFACE ; static readonly CONST = Node_Which . CONST ; static readonly ANNOTATION = Node_Which . ANNOTATION ; static readonly Parameter = Node_Parameter ; static readonly NestedNode = Node_NestedNode ; static readonly _capnp = { displayName : "Node" , id : "e682ab4cf923a417" , size : new __O ( 40 , 6 ) } ; static _Parameters : capnp . ListCtor < Node_Parameter > ; static _NestedNodes : capnp . ListCtor < Node_NestedNode > ; static _Annotations : capnp . ListCtor < Annotation > ; getId ( ) { return __S . getUint64 ( 0 , this ) ; } setId ( value ) { __S . setUint64 ( 0 , value , this ) ; } getDisplayName ( ) { return __S . getText ( 0 , this ) ; } setDisplayName ( value ) { __S . setText ( 0 , value , this ) ; } getDisplayNamePrefixLength ( ) { return __S . getUint32 ( 8 , this ) ; } setDisplayNamePrefixLength ( value ) { __S . setUint32 ( 8 , value , this ) ; } getScopeId ( ) { return __S . getUint64 ( 16 , this ) ; } setScopeId ( value ) { __S . setUint64 ( 16 , value , this ) ; } adoptParameters ( value ) { __S . adopt ( value , __S . getPointer ( 5 , this ) ) ; } disownParameters ( ) { return __S . disown ( this . getParameters ( ) ) ; } getParameters ( ) { return __S . getList ( 5 , Node . _Parameters , this ) ; } hasParameters ( ) { return ! __S . isNull ( __S . getPointer ( 5 , this ) ) ; } initParameters ( length ) { return __S . initList ( 5 , Node . _Parameters , length , this ) ; } setParameters ( value ) { __S . copyFrom ( value , __S . getPointer ( 5 , this ) ) ; } getIsGeneric ( ) { return __S . getBit ( 288 , this ) ; } setIsGeneric ( value ) { __S . setBit ( 288 , value , this ) ; } adoptNestedNodes ( value ) { __S . adopt ( value , __S . getPointer ( 1 , this ) ) ; } disownNestedNodes ( ) { return __S . disown ( this . getNestedNodes ( ) ) ; } getNestedNodes ( ) { return __S . getList ( 1 , Node . _NestedNodes , this ) ; } hasNestedNodes ( ) { return ! __S . isNull ( __S . getPointer ( 1 , this ) ) ; } initNestedNodes ( length ) { return __S . initList ( 1 , Node . _NestedNodes , length , this ) ; } setNestedNodes ( value ) { __S . copyFrom ( value , __S . getPointer ( 1 , this ) ) ; } adoptAnnotations ( value ) { __S . adopt ( value , __S . getPointer ( 2 , this ) ) ; } disownAnnotations ( ) { return __S . disown ( this . getAnnotations ( ) ) ; } getAnnotations ( ) { return __S . getList ( 2 , Node . _Annotations , this ) ; } hasAnnotations ( ) { return ! __S . isNull ( __S . getPointer ( 2 , this ) ) ; } initAnnotations ( length ) { return __S . initList ( 2 , Node . _Annotations , length , this ) ; } setAnnotations ( value ) { __S . copyFrom ( value , __S . getPointer ( 2 , this ) ) ; } isFile ( ) { return __S . getUint16 ( 12 , this ) === 0 ; } setFile ( ) { __S . setUint16 ( 12 , 0 , this ) ; } getStruct ( ) { __S . testWhich ( "struct" , __S . getUint16 ( 12 , this ) , 1 , this ) ; return __S . getAs ( Node_Struct , this ) ; } initStruct ( ) { __S . setUint16 ( 12 , 1 , this ) ; return __S . getAs ( Node_Struct , this ) ; } isStruct ( ) { return __S . getUint16 ( 12 , this ) === 1 ; } setStruct ( ) { __S . setUint16 ( 12 , 1 , this ) ; } getEnum ( ) { __S . testWhich ( "enum" , __S . getUint16 ( 12 , this ) , 2 , this ) ; return __S . getAs ( Node_Enum , this ) ; } initEnum ( ) { __S . setUint16 ( 12 , 2 , this ) ; return __S . getAs ( Node_Enum , this ) ; } isEnum ( ) { return __S . getUint16 ( 12 , this ) === 2 ; } setEnum ( ) { __S . setUint16 ( 12 , 2 , this ) ; } getInterface ( ) { __S . testWhich ( "interface" , __S . getUint16 ( 12 , this ) , 3 , this ) ; return __S . getAs ( Node_Interface , this ) ; } initInterface ( ) { __S . setUint16 ( 12 , 3 , this ) ; return __S . getAs ( Node_Interface , this ) ; } isInterface ( ) { return __S . getUint16 ( 12 , this ) === 3 ; } setInterface ( ) { __S . setUint16 ( 12 , 3 , this ) ; } getConst ( ) { __S . testWhich ( "const" , __S . getUint16 ( 12 , this ) , 4 , this ) ; return __S . getAs ( Node_Const , this ) ; } initConst ( ) { __S . setUint16 ( 12 , 4 , this ) ; return __S . getAs ( Node_Const , this ) ; } isConst ( ) { return __S . getUint16 ( 12 , this ) === 4 ; } setConst ( ) { __S . setUint16 ( 12 , 4 , this ) ; } getAnnotation ( ) { __S . testWhich ( "annotation" , __S . getUint16 ( 12 , this ) , 5 , this ) ; return __S . getAs ( Node_Annotation , this ) ; } initAnnotation ( ) { __S . setUint16 ( 12 , 5 , this ) ; return __S . getAs ( Node_Annotation , this ) ; } isAnnotation ( ) { return __S . getUint16 ( 12 , this ) === 5 ; } setAnnotation ( ) { __S . setUint16 ( 12 , 5 , this ) ; } toString ( ) { return "Node_" + super . toString ( ) ; } which ( ) { return __S . getUint16 ( 12 , this ) ; } } export class Field_Slot extends __S { static readonly _capnp = { displayName : "slot" , id : "c42305476bb4746f" , size : new __O ( 24 , 4 ) } ; getOffset ( ) { return __S . getUint32 ( 4 , this ) ; } setOffset ( value ) { __S . setUint32 ( 4 , value , this ) ; } adoptType ( value ) { __S . adopt ( value , __S . getPointer ( 2 , this ) ) ; } disownType ( ) { return __S . disown ( this . getType ( ) ) ; } getType ( ) { return __S . getStruct ( 2 , Type , this ) ; } hasType ( ) { return ! __S . isNull ( __S . getPointer ( 2 , this ) ) ; } initType ( ) { return __S . initStructAt ( 2 , Type , this ) ; } setType ( value ) { __S . copyFrom ( value , __S . getPointer ( 2 , this ) ) ; } adoptDefaultValue ( value ) { __S . adopt ( value , __S . getPointer ( 3 , this ) ) ; } disownDefaultValue ( ) { return __S . disown ( this . getDefaultValue ( ) ) ; } getDefaultValue ( ) { return __S . getStruct ( 3 , Value , this ) ; } hasDefaultValue ( ) { return ! __S . isNull ( __S . getPointer ( 3 , this ) ) ; } initDefaultValue ( ) { return __S . initStructAt ( 3 , Value , this ) ; } setDefaultValue ( value ) { __S . copyFrom ( value , __S . getPointer ( 3 , this ) ) ; } getHadExplicitDefault ( ) { return __S . getBit ( 128 , this ) ; } setHadExplicitDefault ( value ) { __S . setBit ( 128 , value , this ) ; } toString ( ) { return "Field_Slot_" + super . toString ( ) ; } } export class Field_Group extends __S { static readonly _capnp = { displayName : "group" , id : "cafccddb68db1d11" , size : new __O ( 24 , 4 ) } ; getTypeId ( ) { return __S . getUint64 ( 16 , this ) ; } setTypeId ( value ) { __S . setUint64 ( 16 , value , this ) ; } toString ( ) { return "Field_Group_" + super . toString ( ) ; } } export enum Field_Ordinal_Which { IMPLICIT = 0 , EXPLICIT = 1 } export class Field_Ordinal extends __S { static readonly IMPLICIT = Field_Ordinal_Which . IMPLICIT ; static readonly EXPLICIT = Field_Ordinal_Which . EXPLICIT ; static readonly _capnp = { displayName : "ordinal" , id : "bb90d5c287870be6" , size : new __O ( 24 , 4 ) } ; isImplicit ( ) { return __S . getUint16 ( 10 , this ) === 0 ; } setImplicit ( ) { __S . setUint16 ( 10 , 0 , this ) ; } getExplicit ( ) { __S . testWhich ( "explicit" , __S . getUint16 ( 10 , this ) , 1 , this ) ; return __S . getUint16 ( 12 , this ) ; } isExplicit ( ) { return __S . getUint16 ( 10 , this ) === 1 ; } setExplicit ( value ) { __S . setUint16 ( 10 , 1 , this ) ; __S . setUint16 ( 12 , value , this ) ; } toString ( ) { return "Field_Ordinal_" + super . toString ( ) ; } which ( ) { return __S . getUint16 ( 10 , this ) ; } } export enum Field_Which { SLOT = 0 , GROUP = 1 } export class Field extends __S { static readonly NO_DISCRIMINANT = 65535 ; static readonly SLOT = Field_Which . SLOT ; static readonly GROUP = Field_Which . GROUP ; static readonly _capnp = { displayName : "Field" , id : "9aad50a41f4af45f" , size : new __O ( 24 , 4 ) , defaultDiscriminantValue : capnp . getUint16Mask ( 65535 ) } ; static _Annotations : capnp . ListCtor < Annotation > ; getName ( ) { return __S . getText ( 0 , this ) ; } setName ( value ) { __S . setText ( 0 , value , this ) ; } getCodeOrder ( ) { return __S . getUint16 ( 0 , this ) ; } setCodeOrder ( value ) { __S . setUint16 ( 0 , value , this ) ; } adoptAnnotations ( value ) { __S . adopt ( value , __S . getPointer ( 1 , this ) ) ; } disownAnnotations ( ) { return __S . disown ( this . getAnnotations ( ) ) ; } getAnnotations ( ) { return __S . getList ( 1 , Field . _Annotations , this ) ; } hasAnnotations ( ) { return ! __S . isNull ( __S . getPointer ( 1 , this ) ) ; } initAnnotations ( length ) { return __S . initList ( 1 , Field . _Annotations , length , this ) ; } setAnnotations ( value ) { __S . copyFrom ( value , __S . getPointer ( 1 , this ) ) ; } getDiscriminantValue ( ) { return __S . getUint16 ( 2 , this , Field . _capnp . defaultDiscriminantValue ) ; } setDiscriminantValue ( value ) { __S . setUint16 ( 2 , value , this ) ; } getSlot ( ) { __S . testWhich ( "slot" , __S . getUint16 ( 8 , this ) , 0 , this ) ; return __S . getAs ( Field_Slot , this ) ; } initSlot ( ) { __S . setUint16 ( 8 , 0 , this ) ; return __S . getAs ( Field_Slot , this ) ; } isSlot ( ) { return __S . getUint16 ( 8 , this ) === 0 ; } setSlot ( ) { __S . setUint16 ( 8 , 0 , this ) ; } getGroup ( ) { __S . testWhich ( "group" , __S . getUint16 ( 8 , this ) , 1 , this ) ; return __S . getAs ( Field_Group , this ) ; } initGroup ( ) { __S . setUint16 ( 8 , 1 , this ) ; return __S . getAs ( Field_Group , this ) ; } isGroup ( ) { return __S . getUint16 ( 8 , this ) === 1 ; } setGroup ( ) { __S . setUint16 ( 8 , 1 , this ) ; } getOrdinal ( ) { return __S . getAs ( Field_Ordinal , this ) ; } initOrdinal ( ) { return __S . getAs ( Field_Ordinal , this ) ; } toString ( ) { return "Field_" + super . toString ( ) ; } which ( ) { return __S . getUint16 ( 8 , this ) ; } } export class Enumerant extends __S { static readonly _capnp = { displayName : "Enumerant" , id : "978a7cebdc549a4d" , size : new __O ( 8 , 2 ) } ; static _Annotations : capnp . ListCtor < Annotation > ; getName ( ) { return __S . getText ( 0 , this ) ; } setName ( value ) { __S . setText ( 0 , value , this ) ; } getCodeOrder ( ) { return __S . getUint16 ( 0 , this ) ; } setCodeOrder ( value ) { __S . setUint16 ( 0 , value , this ) ; } adoptAnnotations ( value ) { __S . adopt ( value , __S . getPointer ( 1 , this ) ) ; } disownAnnotations ( ) { return __S . disown ( this . getAnnotations ( ) ) ; } getAnnotations ( ) { return __S . getList ( 1 , Enumerant . _Annotations , this ) ; } hasAnnotations ( ) { return ! __S . isNull ( __S . getPointer ( 1 , this ) ) ; } initAnnotations ( length ) { return __S . initList ( 1 , Enumerant . _Annotations , length , this ) ; } setAnnotations ( value ) { __S . copyFrom ( value , __S . getPointer ( 1 , this ) ) ; } toString ( ) { return "Enumerant_" + super . toString ( ) ; } } export class Superclass extends __S { static readonly _capnp = { displayName : "Superclass" , id : "a9962a9ed0a4d7f8" , size : new __O ( 8 , 1 ) } ; getId ( ) { return __S . getUint64 ( 0 , this ) ; } setId ( value ) { __S . setUint64 ( 0 , value , this ) ; } adoptBrand ( value ) { __S . adopt ( value , __S . getPointer ( 0 , this ) ) ; } disownBrand ( ) { return __S . disown ( this . getBrand ( ) ) ; } getBrand ( ) { return __S . getStruct ( 0 , Brand , this ) ; } hasBrand ( ) { return ! __S . isNull ( __S . getPointer ( 0 , this ) ) ; } initBrand ( ) { return __S . initStructAt ( 0 , Brand , this ) ; } setBrand ( value ) { __S . copyFrom ( value , __S . getPointer ( 0 , this ) ) ; } toString ( ) { return "Superclass_" + super . toString ( ) ; } } export class Method extends __S { static readonly _capnp = { displayName : "Method" , id : "9500cce23b334d80" , size : new __O ( 24 , 5 ) } ; static _ImplicitParameters : capnp . ListCtor < Node_Parameter > ; static _Annotations : capnp . ListCtor < Annotation > ; getName ( ) { return __S . getText ( 0 , this ) ; } setName ( value ) { __S . setText ( 0 , value , this ) ; } getCodeOrder ( ) { return __S . getUint16 ( 0 , this ) ; } setCodeOrder ( value ) { __S . setUint16 ( 0 , value , this ) ; } adoptImplicitParameters ( value ) { __S . adopt ( value , __S . getPointer ( 4 , this ) ) ; } disownImplicitParameters ( ) { return __S . disown ( this . getImplicitParameters ( ) ) ; } getImplicitParameters ( ) { return __S . getList ( 4 , Method . _ImplicitParameters , this ) ; } hasImplicitParameters ( ) { return ! __S . isNull ( __S . getPointer ( 4 , this ) ) ; } initImplicitParameters ( length ) { return __S . initList ( 4 , Method . _ImplicitParameters , length , this ) ; } setImplicitParameters ( value ) { __S . copyFrom ( value , __S . getPointer ( 4 , this ) ) ; } getParamStructType ( ) { return __S . getUint64 ( 8 , this ) ; } setParamStructType ( value ) { __S . setUint64 ( 8 , value , this ) ; } adoptParamBrand ( value ) { __S . adopt ( value , __S . getPointer ( 2 , this ) ) ; } disownParamBrand ( ) { return __S . disown ( this . getParamBrand ( ) ) ; } getParamBrand ( ) { return __S . getStruct ( 2 , Brand , this ) ; } hasParamBrand ( ) { return ! __S . isNull ( __S . getPointer ( 2 , this ) ) ; } initParamBrand ( ) { return __S . initStructAt ( 2 , Brand , this ) ; } setParamBrand ( value ) { __S . copyFrom ( value , __S . getPointer ( 2 , this ) ) ; } getResultStructType ( ) { return __S . getUint64 ( 16 , this ) ; } setResultStructType ( value ) { __S . setUint64 ( 16 , value , this ) ; } adoptResultBrand ( value ) { __S . adopt ( value , __S . getPointer ( 3 , this ) ) ; } disownResultBrand ( ) { return __S . disown ( this . getResultBrand ( ) ) ; } getResultBrand ( ) { return __S . getStruct ( 3 , Brand , this ) ; } hasResultBrand ( ) { return ! __S . isNull ( __S . getPointer ( 3 , this ) ) ; } initResultBrand ( ) { return __S . initStructAt ( 3 , Brand , this ) ; } setResultBrand ( value ) { __S . copyFrom ( value , __S . getPointer ( 3 , this ) ) ; } adoptAnnotations ( value ) { __S . adopt ( value , __S . getPointer ( 1 , this ) ) ; } disownAnnotations ( ) { return __S . disown ( this . getAnnotations ( ) ) ; } getAnnotations ( ) { return __S . getList ( 1 , Method . _Annotations , this ) ; } hasAnnotations ( ) { return ! __S . isNull ( __S . getPointer ( 1 , this ) ) ; } initAnnotations ( length ) { return __S . initList ( 1 , Method . _Annotations , length , this ) ; } setAnnotations ( value ) { __S . copyFrom ( value , __S . getPointer ( 1 , this ) ) ; } toString ( ) { return "Method_" + super . toString ( ) ; } } export class Type_List extends __S { static readonly _capnp = { displayName : "list" , id : "87e739250a60ea97" , size : new __O ( 24 , 1 ) } ; adoptElementType ( value ) { __S . adopt ( value , __S . getPointer ( 0 , this ) ) ; } disownElementType ( ) { return __S . disown ( this . getElementType ( ) ) ; } getElementType ( ) { return __S . getStruct ( 0 , Type , this ) ; } hasElementType ( ) { return ! __S . isNull ( __S . getPointer ( 0 , this ) ) ; } initElementType ( ) { return __S . initStructAt ( 0 , Type , this ) ; } setElementType ( value ) { __S . copyFrom ( value , __S . getPointer ( 0 , this ) ) ; } toString ( ) { return "Type_List_" + super . toString ( ) ; } } export class Type_Enum extends __S { static readonly _capnp = { displayName : "enum" , id : "9e0e78711a7f87a9" , size : new __O ( 24 , 1 ) } ; getTypeId ( ) { return __S . getUint64 ( 8 , this ) ; } setTypeId ( value ) { __S . setUint64 ( 8 , value , this ) ; } adoptBrand ( value ) { __S . adopt ( value , __S . getPointer ( 0 , this ) ) ; } disownBrand ( ) { return __S . disown ( this . getBrand ( ) ) ; } getBrand ( ) { return __S . getStruct ( 0 , Brand , this ) ; } hasBrand ( ) { return ! __S . isNull ( __S . getPointer ( 0 , this ) ) ; } initBrand ( ) { return __S . initStructAt ( 0 , Brand , this ) ; } setBrand ( value ) { __S . copyFrom ( value , __S . getPointer ( 0 , this ) ) ; } toString ( ) { return "Type_Enum_" + super . toString ( ) ; } } export class Type_Struct extends __S { static readonly _capnp = { displayName : "struct" , id : "ac3a6f60ef4cc6d3" , size : new __O ( 24 , 1 ) } ; getTypeId ( ) { return __S . getUint64 ( 8 , this ) ; } setTypeId ( value ) { __S . setUint64 ( 8 , value , this ) ; } adoptBrand ( value ) { __S . adopt ( value , __S . getPointer ( 0 , this ) ) ; } disownBrand ( ) { return __S . disown ( this . getBrand ( ) ) ; } getBrand ( ) { return __S . getStruct ( 0 , Brand , this ) ; } hasBrand ( ) { return ! __S . isNull ( __S . getPointer ( 0 , this ) ) ; } initBrand ( ) { return __S . initStructAt ( 0 , Brand , this ) ; } setBrand ( value ) { __S . copyFrom ( value , __S . getPointer ( 0 , this ) ) ; } toString ( ) { return "Type_Struct_" + super . toString ( ) ; } } export class Type_Interface extends __S { static readonly _capnp = { displayName : "interface" , id : "ed8bca69f7fb0cbf" , size : new __O ( 24 , 1 ) } ; getTypeId ( ) { return __S . getUint64 ( 8 , this ) ; } setTypeId ( value ) { __S . setUint64 ( 8 , value , this ) ; } adoptBrand ( value ) { __S . adopt ( value , __S . getPointer ( 0 , this ) ) ; } disownBrand ( ) { return __S . disown ( this . getBrand ( ) ) ; } getBrand ( ) { return __S . getStruct ( 0 , Brand , this ) ; } hasBrand ( ) { return ! __S . isNull ( __S . getPointer ( 0 , this ) ) ; } initBrand ( ) { return __S . initStructAt ( 0 , Brand , this ) ; } setBrand ( value ) { __S . copyFrom ( value , __S . getPointer ( 0 , this ) ) ; } toString ( ) { return "Type_Interface_" + super . toString ( ) ; } } export enum Type_AnyPointer_Unconstrained_Which { ANY_KIND = 0 , STRUCT = 1 , LIST = 2 , CAPABILITY = 3 } export class Type_AnyPointer_Unconstrained extends __S { static readonly ANY_KIND = Type_AnyPointer_Unconstrained_Which . ANY_KIND ; static readonly STRUCT = Type_AnyPointer_Unconstrained_Which . STRUCT ; static readonly LIST = Type_AnyPointer_Unconstrained_Which . LIST ; static readonly CAPABILITY = Type_AnyPointer_Unconstrained_Which . CAPABILITY ; static readonly _capnp = { displayName : "unconstrained" , id : "8e3b5f79fe593656" , size : new __O ( 24 , 1 ) } ; isAnyKind ( ) { return __S . getUint16 ( 10 , this ) === 0 ; } setAnyKind ( ) { __S . setUint16 ( 10 , 0 , this ) ; } isStruct ( ) { return __S . getUint16 ( 10 , this ) === 1 ; } setStruct ( ) { __S . setUint16 ( 10 , 1 , this ) ; } isList ( ) { return __S . getUint16 ( 10 , this ) === 2 ; } setList ( ) { __S . setUint16 ( 10 , 2 , this ) ; } isCapability ( ) { return __S . getUint16 ( 10 , this ) === 3 ; } setCapability ( ) { __S . setUint16 ( 10 , 3 , this ) ; } toString ( ) { return "Type_AnyPointer_Unconstrained_" + super . toString ( ) ; } which ( ) { return __S . getUint16 ( 10 , this ) ; } } export class Type_AnyPointer_Parameter extends __S { static readonly _capnp = { displayName : "parameter" , id : "9dd1f724f4614a85" , size : new __O ( 24 , 1 ) } ; getScopeId ( ) { return __S . getUint64 ( 16 , this ) ; } setScopeId ( value ) { __S . setUint64 ( 16 , value , this ) ; } getParameterIndex ( ) { return __S . getUint16 ( 10 , this ) ; } setParameterIndex ( value ) { __S . setUint16 ( 10 , value , this ) ; } toString ( ) { return "Type_AnyPointer_Parameter_" + super . toString ( ) ; } } export class Type_AnyPointer_ImplicitMethodParameter extends __S { static readonly _capnp = { displayName : "implicitMethodParameter" , id : "baefc9120c56e274" , size : new __O ( 24 , 1 ) } ; getParameterIndex ( ) { return __S . getUint16 ( 10 , this ) ; } setParameterIndex ( value ) { __S . setUint16 ( 10 , value , this ) ; } toString ( ) { return "Type_AnyPointer_ImplicitMethodParameter_" + super . toString ( ) ; } } export enum Type_AnyPointer_Which { UNCONSTRAINED = 0 , PARAMETER = 1 , IMPLICIT_METHOD_PARAMETER = 2 } export class Type_AnyPointer extends __S { static readonly UNCONSTRAINED = Type_AnyPointer_Which . UNCONSTRAINED ; static readonly PARAMETER = Type_AnyPointer_Which . PARAMETER ; static readonly IMPLICIT_METHOD_PARAMETER = Type_AnyPointer_Which . IMPLICIT_METHOD_PARAMETER ; static readonly _capnp = { displayName : "anyPointer" , id : "c2573fe8a23e49f1" , size : new __O ( 24 , 1 ) } ; getUnconstrained ( ) { __S . testWhich ( "unconstrained" , __S . getUint16 ( 8 , this ) , 0 , this ) ; return __S . getAs ( Type_AnyPointer_Unconstrained , this ) ; } initUnconstrained ( ) { __S . setUint16 ( 8 , 0 , this ) ; return __S . getAs ( Type_AnyPointer_Unconstrained , this ) ; } isUnconstrained ( ) { return __S . getUint16 ( 8 , this ) === 0 ; } setUnconstrained ( ) { __S . setUint16 ( 8 , 0 , this ) ; } getParameter ( ) { __S . testWhich ( "parameter" , __S . getUint16 ( 8 , this ) , 1 , this ) ; return __S . getAs ( Type_AnyPointer_Parameter , this ) ; } initParameter ( ) { __S . setUint16 ( 8 , 1 , this ) ; return __S . getAs ( Type_AnyPointer_Parameter , this ) ; } isParameter ( ) { return __S . getUint16 ( 8 , this ) === 1 ; } setParameter ( ) { __S . setUint16 ( 8 , 1 , this ) ; } getImplicitMethodParameter ( ) { __S . testWhich ( "implicitMethodParameter" , __S . getUint16 ( 8 , this ) , 2 , this ) ; return __S . getAs ( Type_AnyPointer_ImplicitMethodParameter , this ) ; } initImplicitMethodParameter ( ) { __S . setUint16 ( 8 , 2 , this ) ; return __S . getAs ( Type_AnyPointer_ImplicitMethodParameter , this ) ; } isImplicitMethodParameter ( ) { return __S . getUint16 ( 8 , this ) === 2 ; } setImplicitMethodParameter ( ) { __S . setUint16 ( 8 , 2 , this ) ; } toString ( ) { return "Type_AnyPointer_" + super . toString ( ) ; } which ( ) { return __S . getUint16 ( 8 , this ) ; } } export enum Type_Which { VOID = 0 , BOOL = 1 , INT8 = 2 , INT16 = 3 , INT32 = 4 , INT64 = 5 , UINT8 = 6 , UINT16 = 7 , UINT32 = 8 , UINT64 = 9 , FLOAT32 = 10 , FLOAT64 = 11 , TEXT = 12 , DATA = 13 , LIST = 14 , ENUM = 15 , STRUCT = 16 , INTERFACE = 17 , ANY_POINTER = 18 } export class Type extends __S { static readonly VOID = Type_Which . VOID ; static readonly BOOL = Type_Which . BOOL ; static readonly INT8 = Type_Which . INT8 ; static readonly INT16 = Type_Which . INT16 ; static readonly INT32 = Type_Which . INT32 ; static readonly INT64 = Type_Which . INT64 ; static readonly UINT8 = Type_Which . UINT8 ; static readonly UINT16 = Type_Which . UINT16 ; static readonly UINT32 = Type_Which . UINT32 ; static readonly UINT64 = Type_Which . UINT64 ; static readonly FLOAT32 = Type_Which . FLOAT32 ; static readonly FLOAT64 = Type_Which . FLOAT64 ; static readonly TEXT = Type_Which . TEXT ; static readonly DATA = Type_Which . DATA ; static readonly LIST = Type_Which . LIST ; static readonly ENUM = Type_Which . ENUM ; static readonly STRUCT = Type_Which . STRUCT ; static readonly INTERFACE = Type_Which . INTERFACE ; static readonly ANY_POINTER = Type_Which . ANY_POINTER ; static readonly _capnp = { displayName : "Type" , id : "d07378ede1f9cc60" , size : new __O ( 24 , 1 ) } ; isVoid ( ) { return __S . getUint16 ( 0 , this ) === 0 ; } setVoid ( ) { __S . setUint16 ( 0 , 0 , this ) ; } isBool ( ) { return __S . getUint16 ( 0 , this ) === 1 ; } setBool ( ) { __S . setUint16 ( 0 , 1 , this ) ; } isInt8 ( ) { return __S . getUint16 ( 0 , this ) === 2 ; } setInt8 ( ) { __S . setUint16 ( 0 , 2 , this ) ; } isInt16 ( ) { return __S . getUint16 ( 0 , this ) === 3 ; } setInt16 ( ) { __S . setUint16 ( 0 , 3 , this ) ; } isInt32 ( ) { return __S . getUint16 ( 0 , this ) === 4 ; } setInt32 ( ) { __S . setUint16 ( 0 , 4 , this ) ; } isInt64 ( ) { return __S . getUint16 ( 0 , this ) === 5 ; } setInt64 ( ) { __S . setUint16 ( 0 , 5 , this ) ; } isUint8 ( ) { return __S . getUint16 ( 0 , this ) === 6 ; } setUint8 ( ) { __S . setUint16 ( 0 , 6 , this ) ; } isUint16 ( ) { return __S . getUint16 ( 0 , this ) === 7 ; } setUint16 ( ) { __S . setUint16 ( 0 , 7 , this ) ; } isUint32 ( ) { return __S . getUint16 ( 0 , this ) === 8 ; } setUint32 ( ) { __S . setUint16 ( 0 , 8 , this ) ; } isUint64 ( ) { return __S . getUint16 ( 0 , this ) === 9 ; } setUint64 ( ) { __S . setUint16 ( 0 , 9 , this ) ; } isFloat32 ( ) { return __S . getUint16 ( 0 , this ) === 10 ; } setFloat32 ( ) { __S . setUint16 ( 0 , 10 , this ) ; } isFloat64 ( ) { return __S . getUint16 ( 0 , this ) === 11 ; } setFloat64 ( ) { __S . setUint16 ( 0 , 11 , this ) ; } isText ( ) { return __S . getUint16 ( 0 , this ) === 12 ; } setText ( ) { __S . setUint16 ( 0 , 12 , this ) ; } isData ( ) { return __S . getUint16 ( 0 , this ) === 13 ; } setData ( ) { __S . setUint16 ( 0 , 13 , this ) ; } getList ( ) { __S . testWhich ( "list" , __S . getUint16 ( 0 , this ) , 14 , this ) ; return __S . getAs ( Type_List , this ) ; } initList ( ) { __S . setUint16 ( 0 , 14 , this ) ; return __S . getAs ( Type_List , this ) ; } isList ( ) { return __S . getUint16 ( 0 , this ) === 14 ; } setList ( ) { __S . setUint16 ( 0 , 14 , this ) ; } getEnum ( ) { __S . testWhich ( "enum" , __S . getUint16 ( 0 , this ) , 15 , this ) ; return __S . getAs ( Type_Enum , this ) ; } initEnum ( ) { __S . setUint16 ( 0 , 15 , this ) ; return __S . getAs ( Type_Enum , this ) ; } isEnum ( ) { return __S . getUint16 ( 0 , this ) === 15 ; } setEnum ( ) { __S . setUint16 ( 0 , 15 , this ) ; } getStruct ( ) { __S . testWhich ( "struct" , __S . getUint16 ( 0 , this ) , 16 , this ) ; return __S . getAs ( Type_Struct , this ) ; } initStruct ( ) { __S . setUint16 ( 0 , 16 , this ) ; return __S . getAs ( Type_Struct , this ) ; } isStruct ( ) { return __S . getUint16 ( 0 , this ) === 16 ; } setStruct ( ) { __S . setUint16 ( 0 , 16 , this ) ; } getInterface ( ) { __S . testWhich ( "interface" , __S . getUint16 ( 0 , this ) , 17 , this ) ; return __S . getAs ( Type_Interface , this ) ; } initInterface ( ) { __S . setUint16 ( 0 , 17 , this ) ; return __S . getAs ( Type_Interface , this ) ; } isInterface ( ) { return __S . getUint16 ( 0 , this ) === 17 ; } setInterface ( ) { __S . setUint16 ( 0 , 17 , this ) ; } getAnyPointer ( ) { __S . testWhich ( "anyPointer" , __S . getUint16 ( 0 , this ) , 18 , this ) ; return __S . getAs ( Type_AnyPointer , this ) ; } initAnyPointer ( ) { __S . setUint16 ( 0 , 18 , this ) ; return __S . getAs ( Type_AnyPointer , this ) ; } isAnyPointer ( ) { return __S . getUint16 ( 0 , this ) === 18 ; } setAnyPointer ( ) { __S . setUint16 ( 0 , 18 , this ) ; } toString ( ) { return "Type_" + super . toString ( ) ; } which ( ) { return __S . getUint16 ( 0 , this ) ; } } export enum Brand_Scope_Which { BIND = 0 , INHERIT = 1 } export class Brand_Scope extends __S { static readonly BIND = Brand_Scope_Which . BIND ; static readonly INHERIT = Brand_Scope_Which . INHERIT ; static readonly _capnp = { displayName : "Scope" , id : "abd73485a9636bc9" , size : new __O ( 16 , 1 ) } ; static _Bind : capnp . ListCtor < Brand_Binding > ; getScopeId ( ) { return __S . getUint64 ( 0 , this ) ; } setScopeId ( value ) { __S . setUint64 ( 0 , value , this ) ; } adoptBind ( value ) { __S . setUint16 ( 8 , 0 , this ) ; __S . adopt ( value , __S . getPointer ( 0 , this ) ) ; } disownBind ( ) { return __S . disown ( this . getBind ( ) ) ; } getBind ( ) { __S . testWhich ( "bind" , __S . getUint16 ( 8 , this ) , 0 , this ) ; return __S . getList ( 0 , Brand_Scope . _Bind , this ) ; } hasBind ( ) { return ! __S . isNull ( __S . getPointer ( 0 , this ) ) ; } initBind ( length ) { __S . setUint16 ( 8 , 0 , this ) ; return __S . initList ( 0 , Brand_Scope . _Bind , length , this ) ; } isBind ( ) { return __S . getUint16 ( 8 , this ) === 0 ; } setBind ( value ) { __S . setUint16 ( 8 , 0 , this ) ; __S . copyFrom ( value , __S . getPointer ( 0 , this ) ) ; } isInherit ( ) { return __S . getUint16 ( 8 , this ) === 1 ; } setInherit ( ) { __S . setUint16 ( 8 , 1 , this ) ; } toString ( ) { return "Brand_Scope_" + super . toString ( ) ; } which ( ) { return __S . getUint16 ( 8 , this ) ; } } export enum Brand_Binding_Which { UNBOUND = 0 , TYPE = 1 } export class Brand_Binding extends __S { static readonly UNBOUND = Brand_Binding_Which . UNBOUND ; static readonly TYPE = Brand_Binding_Which . TYPE ; static readonly _capnp = { displayName : "Binding" , id : "c863cd16969ee7fc" , size : new __O ( 8 , 1 ) } ; isUnbound ( ) { return __S . getUint16 ( 0 , this ) === 0 ; } setUnbound ( ) { __S . setUint16 ( 0 , 0 , this ) ; } adoptType ( value ) { __S . setUint16 ( 0 , 1 , this ) ; __S . adopt ( value , __S . getPointer ( 0 , this ) ) ; } disownType ( ) { return __S . disown ( this . getType ( ) ) ; } getType ( ) { __S . testWhich ( "type" , __S . getUint16 ( 0 , this ) , 1 , this ) ; return __S . getStruct ( 0 , Type , this ) ; } hasType ( ) { return ! __S . isNull ( __S . getPointer ( 0 , this ) ) ; } initType ( ) { __S . setUint16 ( 0 , 1 , this ) ; return __S . initStructAt ( 0 , Type , this ) ; } isType ( ) { return __S . getUint16 ( 0 , this ) === 1 ; } setType ( value ) { __S . setUint16 ( 0 , 1 , this ) ; __S . copyFrom ( value , __S . getPointer ( 0 , this ) ) ; } toString ( ) { return "Brand_Binding_" + super . toString ( ) ; } which ( ) { return __S . getUint16 ( 0 , this ) ; } } export class Brand extends __S { static readonly Scope = Brand_Scope ; static readonly Binding = Brand_Binding ; static readonly _capnp = { displayName : "Brand" , id : "903455f06065422b" , size : new __O ( 0 , 1 ) } ; static _Scopes : capnp . ListCtor < Brand_Scope > ; adoptScopes ( value ) { __S . adopt ( value , __S . getPointer ( 0 , this ) ) ; } disownScopes ( ) { return __S . disown ( this . getScopes ( ) ) ; } getScopes ( ) { return __S . getList ( 0 , Brand . _Scopes , this ) ; } hasScopes ( ) { return ! __S . isNull ( __S . getPointer ( 0 , this ) ) ; } initScopes ( length ) { return __S . initList ( 0 , Brand . _Scopes , length , this ) ; } setScopes ( value ) { __S . copyFrom ( value , __S . getPointer ( 0 , this ) ) ; } toString ( ) { return "Brand_" + super . toString ( ) ; } } export enum Value_Which { VOID = 0 , BOOL = 1 , INT8 = 2 , INT16 = 3 , INT32 = 4 , INT64 = 5 , UINT8 = 6 , UINT16 = 7 , UINT32 = 8 , UINT64 = 9 , FLOAT32 = 10 , FLOAT64 = 11 , TEXT = 12 , DATA = 13 , LIST = 14 , ENUM = 15 , STRUCT = 16 , INTERFACE = 17 , ANY_POINTER = 18 } export class Value extends __S { static readonly VOID = Value_Which . VOID ; static readonly BOOL = Value_Which . BOOL ; static readonly INT8 = Value_Which . INT8 ; static readonly INT16 = Value_Which . INT16 ; static readonly INT32 = Value_Which . INT32 ; static readonly INT64 = Value_Which . INT64 ; static readonly UINT8 = Value_Which . UINT8 ; static readonly UINT16 = Value_Which . UINT16 ; static readonly UINT32 = Value_Which . UINT32 ; static readonly UINT64 = Value_Which . UINT64 ; static readonly FLOAT32 = Value_Which . FLOAT32 ; static readonly FLOAT64 = Value_Which . FLOAT64 ; static readonly TEXT = Value_Which . TEXT ; static readonly DATA = Value_Which . DATA ; static readonly LIST = Value_Which . LIST ; static readonly ENUM = Value_Which . ENUM ; static readonly STRUCT = Value_Which . STRUCT ; static readonly INTERFACE = Value_Which . INTERFACE ; static readonly ANY_POINTER = Value_Which . ANY_POINTER ; static readonly _capnp = { displayName : "Value" , id : "ce23dcd2d7b00c9b" , size : new __O ( 16 , 1 ) } ; isVoid ( ) { return __S . getUint16 ( 0 , this ) === 0 ; } setVoid ( ) { __S . setUint16 ( 0 , 0 , this ) ; } getBool ( ) { __S . testWhich ( "bool" , __S . getUint16 ( 0 , this ) , 1 , this ) ; return __S . getBit ( 16 , this ) ; } isBool ( ) { return __S . getUint16 ( 0 , this ) === 1 ; } setBool ( value ) { __S . setUint16 ( 0 , 1 , this ) ; __S . setBit ( 16 , value , this ) ; } getInt8 ( ) { __S . testWhich ( "int8" , __S . getUint16 ( 0 , this ) , 2 , this ) ; return __S . getInt8 ( 2 , this ) ; } isInt8 ( ) { return __S . getUint16 ( 0 , this ) === 2 ; } setInt8 ( value ) { __S . setUint16 ( 0 , 2 , this ) ; __S . setInt8 ( 2 , value , this ) ; } getInt16 ( ) { __S . testWhich ( "int16" , __S . getUint16 ( 0 , this ) , 3 , this ) ; return __S . getInt16 ( 2 , this ) ; } isInt16 ( ) { return __S . getUint16 ( 0 , this ) === 3 ; } setInt16 ( value ) { __S . setUint16 ( 0 , 3 , this ) ; __S . setInt16 ( 2 , value , this ) ; } getInt32 ( ) { __S . testWhich ( "int32" , __S . getUint16 ( 0 , this ) , 4 , this ) ; return __S . getInt32 ( 4 , this ) ; } isInt32 ( ) { return __S . getUint16 ( 0 , this ) === 4 ; } setInt32 ( value ) { __S . setUint16 ( 0 , 4 , this ) ; __S . setInt32 ( 4 , value , this ) ; } getInt64 ( ) { __S . testWhich ( "int64" , __S . getUint16 ( 0 , this ) , 5 , this ) ; return __S . getInt64 ( 8 , this ) ; } isInt64 ( ) { return __S . getUint16 ( 0 , this ) === 5 ; } setInt64 ( value ) { __S . setUint16 ( 0 , 5 , this ) ; __S . setInt64 ( 8 , value , this ) ; } getUint8 ( ) { __S . testWhich ( "uint8" , __S . getUint16 ( 0 , this ) , 6 , this ) ; return __S . getUint8 ( 2 , this ) ; } isUint8 ( ) { return __S . getUint16 ( 0 , this ) === 6 ; } setUint8 ( value ) { __S . setUint16 ( 0 , 6 , this ) ; __S . setUint8 ( 2 , value , this ) ; } getUint16 ( ) { __S . testWhich ( "uint16" , __S . getUint16 ( 0 , this ) , 7 , this ) ; return __S . getUint16 ( 2 , this ) ; } isUint16 ( ) { return __S . getUint16 ( 0 , this ) === 7 ; } setUint16 ( value ) { __S . setUint16 ( 0 , 7 , this ) ; __S . setUint16 ( 2 , value , this ) ; } getUint32 ( ) { __S . testWhich ( "uint32" , __S . getUint16 ( 0 , this ) , 8 , this ) ; return __S . getUint32 ( 4 , this ) ; } isUint32 ( ) { return __S . getUint16 ( 0 , this ) === 8 ; } setUint32 ( value ) { __S . setUint16 ( 0 , 8 , this ) ; __S . setUint32 ( 4 , value , this ) ; } getUint64 ( ) { __S . testWhich ( "uint64" , __S . getUint16 ( 0 , this ) , 9 , this ) ; return __S . getUint64 ( 8 , this ) ; } isUint64 ( ) { return __S . getUint16 ( 0 , this ) === 9 ; } setUint64 ( value ) { __S . setUint16 ( 0 , 9 , this ) ; __S . setUint64 ( 8 , value , this ) ; } getFloat32 ( ) { __S . testWhich ( "float32" , __S . getUint16 ( 0 , this ) , 10 , this ) ; return __S . getFloat32 ( 4 , this ) ; } isFloat32 ( ) { return __S . getUint16 ( 0 , this ) === 10 ; } setFloat32 ( value ) { __S . setUint16 ( 0 , 10 , this ) ; __S . setFloat32 ( 4 , value , this ) ; } getFloat64 ( ) { __S . testWhich ( "float64" , __S . getUint16 ( 0 , this ) , 11 , this ) ; return __S . getFloat64 ( 8 , this ) ; } isFloat64 ( ) { return __S . getUint16 ( 0 , this ) === 11 ; } setFloat64 ( value ) { __S . setUint16 ( 0 , 11 , this ) ; __S . setFloat64 ( 8 , value , this ) ; } getText ( ) { __S . testWhich ( "text" , __S . getUint16 ( 0 , this ) , 12 , this ) ; return __S . getText ( 0 , this ) ; } isText ( ) { return __S . getUint16 ( 0 , this ) === 12 ; } setText ( value ) { __S . setUint16 ( 0 , 12 , this ) ; __S . setText ( 0 , value , this ) ; } adoptData ( value ) { __S . setUint16 ( 0 , 13 , this ) ; __S . adopt ( value , __S . getPointer ( 0 , this ) ) ; } disownData ( ) { return __S . disown ( this . getData ( ) ) ; } getData ( ) { __S . testWhich ( "data" , __S . getUint16 ( 0 , this ) , 13 , this ) ; return __S . getData ( 0 , this ) ; } hasData ( ) { return ! __S . isNull ( __S . getPointer ( 0 , this ) ) ; } initData ( length ) { __S . setUint16 ( 0 , 13 , this ) ; return __S . initData ( 0 , length , this ) ; } isData ( ) { return __S . getUint16 ( 0 , this ) === 13 ; } setData ( value ) { __S . setUint16 ( 0 , 13 , this ) ; __S . copyFrom ( value , __S . getPointer ( 0 , this ) ) ; } adoptList ( value ) { __S . setUint16 ( 0 , 14 , this ) ; __S . adopt ( value , __S . getPointer ( 0 , this ) ) ; } disownList ( ) { return __S . disown ( this . getList ( ) ) ; } getList ( ) { __S . testWhich ( "list" , __S . getUint16 ( 0 , this ) , 14 , this ) ; return __S . getPointer ( 0 , this ) ; } hasList ( ) { return ! __S . isNull ( __S . getPointer ( 0 , this ) ) ; } isList ( ) { return __S . getUint16 ( 0 , this ) === 14 ; } setList ( value ) { __S . setUint16 ( 0 , 14 , this ) ; __S . copyFrom ( value , __S . getPointer ( 0 , this ) ) ; } getEnum ( ) { __S . testWhich ( "enum" , __S . getUint16 ( 0 , this ) , 15 , this ) ; return __S . getUint16 ( 2 , this ) ; } isEnum ( ) { return __S . getUint16 ( 0 , this ) === 15 ; } setEnum ( value ) { __S . setUint16 ( 0 , 15 , this ) ; __S . setUint16 ( 2 , value , this ) ; } adoptStruct ( value ) { __S . setUint16 ( 0 , 16 , this ) ; __S . adopt ( value , __S . getPointer ( 0 , this ) ) ; } disownStruct ( ) { return __S . disown ( this . getStruct ( ) ) ; } getStruct ( ) { __S . testWhich ( "struct" , __S . getUint16 ( 0 , this ) , 16 , this ) ; return __S . getPointer ( 0 , this ) ; } hasStruct ( ) { return ! __S . isNull ( __S . getPointer ( 0 , this ) ) ; } isStruct ( ) { return __S . getUint16 ( 0 , this ) === 16 ; } setStruct ( value ) { __S . setUint16 ( 0 , 16 , this ) ; __S . copyFrom ( value , __S . getPointer ( 0 , this ) ) ; } isInterface ( ) { return __S . getUint16 ( 0 , this ) === 17 ; } setInterface ( ) { __S . setUint16 ( 0 , 17 , this ) ; } adoptAnyPointer ( value ) { __S . setUint16 ( 0 , 18 , this ) ; __S . adopt ( value , __S . getPointer ( 0 , this ) ) ; } disownAnyPointer ( ) { return __S . disown ( this . getAnyPointer ( ) ) ; } getAnyPointer ( ) { __S . testWhich ( "anyPointer" , __S . getUint16 ( 0 , this ) , 18 , this ) ; return __S . getPointer ( 0 , this ) ; } hasAnyPointer ( ) { return ! __S . isNull ( __S . getPointer ( 0 , this ) ) ; } isAnyPointer ( ) { return __S . getUint16 ( 0 , this ) === 18 ; } setAnyPointer ( value ) { __S . setUint16 ( 0 , 18 , this ) ; __S . copyFrom ( value , __S . getPointer ( 0 , this ) ) ; } toString ( ) { return "Value_" + super . toString ( ) ; } which ( ) { return __S . getUint16 ( 0 , this ) ; } } export class Annotation extends __S { static readonly _capnp = { displayName : "Annotation" , id : "f1c8950dab257542" , size : new __O ( 8 , 2 ) } ; getId ( ) { return __S . getUint64 ( 0 , this ) ; } setId ( value ) { __S . setUint64 ( 0 , value , this ) ; } adoptBrand ( value ) { __S . adopt ( value , __S . getPointer ( 1 , this ) ) ; } disownBrand ( ) { return __S . disown ( this . getBrand ( ) ) ; } getBrand ( ) { return __S . getStruct ( 1 , Brand , this ) ; } hasBrand ( ) { return ! __S . isNull ( __S . getPointer ( 1 , this ) ) ; } initBrand ( ) { return __S . initStructAt ( 1 , Brand , this ) ; } setBrand ( value ) { __S . copyFrom ( value , __S . getPointer ( 1 , this ) ) ; } adoptValue ( value ) { __S . adopt ( value , __S . getPointer ( 0 , this ) ) ; } disownValue ( ) { return __S . disown ( this . getValue ( ) ) ; } getValue ( ) { return __S . getStruct ( 0 , Value , this ) ; } hasValue ( ) { return ! __S . isNull ( __S . getPointer ( 0 , this ) ) ; } initValue ( ) { return __S . initStructAt ( 0 , Value , this ) ; } setValue ( value ) { __S . copyFrom ( value , __S . getPointer ( 0 , this ) ) ; } toString ( ) { return "Annotation_" + super . toString ( ) ; } } export enum ElementSize { EMPTY , BIT , BYTE , TWO_BYTES , FOUR_BYTES , EIGHT_BYTES , POINTER , INLINE_COMPOSITE } export class CapnpVersion extends __S { static readonly _capnp = { displayName : "CapnpVersion" , id : "d85d305b7d839963" , size : new __O ( 8 , 0 ) } ; getMajor ( ) { return __S . getUint16 ( 0 , this ) ; } setMajor ( value ) { __S . setUint16 ( 0 , value , this ) ; } getMinor ( ) { return __S . getUint8 ( 2 , this ) ; } setMinor ( value ) { __S . setUint8 ( 2 , value , this ) ; } getMicro ( ) { return __S . getUint8 ( 3 , this ) ; } setMicro ( value ) { __S . setUint8 ( 3 , value , this ) ; } toString ( ) { return "CapnpVersion_" + super . toString ( ) ; } } export class CodeGeneratorRequest_RequestedFile_Import extends __S { static readonly _capnp = { displayName : "Import" , id : "ae504193122357e5" , size : new __O ( 8 , 1 ) } ; getId ( ) { return __S . getUint64 ( 0 , this ) ; } setId ( value ) { __S . setUint64 ( 0 , value , this ) ; } getName ( ) { return __S . getText ( 0 , this ) ; } setName ( value ) { __S . setText ( 0 , value , this ) ; } toString ( ) { return "CodeGeneratorRequest_RequestedFile_Import_" + super . toString ( ) ; } } export class CodeGeneratorRequest_RequestedFile extends __S { static readonly Import = CodeGeneratorRequest_RequestedFile_Import ; static readonly _capnp = { displayName : "RequestedFile" , id : "cfea0eb02e810062" , size : new __O ( 8 , 2 ) } ; static _Imports : capnp . ListCtor < CodeGeneratorRequest_RequestedFile_Import > ; getId ( ) { return __S . getUint64 ( 0 , this ) ; } setId ( value ) { __S . setUint64 ( 0 , value , this ) ; } getFilename ( ) { return __S . getText ( 0 , this ) ; } setFilename ( value ) { __S . setText ( 0 , value , this ) ; } adoptImports ( value ) { __S . adopt ( value , __S . getPointer ( 1 , this ) ) ; } disownImports ( ) { return __S . disown ( this . getImports ( ) ) ; } getImports ( ) { return __S . getList ( 1 , CodeGeneratorRequest_RequestedFile . _Imports , this ) ; } hasImports ( ) { return ! __S . isNull ( __S . getPointer ( 1 , this ) ) ; } initImports ( length ) { return __S . initList ( 1 , CodeGeneratorRequest_RequestedFile . _Imports , length , this ) ; } setImports ( value ) { __S . copyFrom ( value , __S . getPointer ( 1 , this ) ) ; } toString ( ) { return "CodeGeneratorRequest_RequestedFile_" + super . toString ( ) ; } } export class CodeGeneratorRequest extends __S { static readonly RequestedFile = CodeGeneratorRequest_RequestedFile ; static readonly _capnp = { displayName : "CodeGeneratorRequest" , id : "bfc546f6210ad7ce" , size : new __O ( 0 , 3 ) } ; static _Nodes : capnp . ListCtor < Node > ; static _RequestedFiles : capnp . ListCtor < CodeGeneratorRequest_RequestedFile > ; adoptCapnpVersion ( value ) { __S . adopt ( value , __S . getPointer ( 2 , this ) ) ; } disownCapnpVersion ( ) { return __S . disown ( this . getCapnpVersion ( ) ) ; } getCapnpVersion ( ) { return __S . getStruct ( 2 , CapnpVersion , this ) ; } hasCapnpVersion ( ) { return ! __S . isNull ( __S . getPointer ( 2 , this ) ) ; } initCapnpVersion ( ) { return __S . initStructAt ( 2 , CapnpVersion , this ) ; } setCapnpVersion ( value ) { __S . copyFrom ( value , __S . getPointer ( 2 , this ) ) ; } adoptNodes ( value ) { __S . adopt ( value , __S . getPointer ( 0 , this ) ) ; } disownNodes ( ) { return __S . disown ( this . getNodes ( ) ) ; } getNodes ( ) { return __S . getList ( 0 , CodeGeneratorRequest . _Nodes , this ) ; } hasNodes ( ) { return ! __S . isNull ( __S . getPointer ( 0 , this ) ) ; } initNodes ( length ) { return __S . initList ( 0 , CodeGeneratorRequest . _Nodes , length , this ) ; } setNodes ( value ) { __S . copyFrom ( value , __S . getPointer ( 0 , this ) ) ; } adoptRequestedFiles ( value ) { __S . adopt ( value , __S . getPointer ( 1 , this ) ) ; } disownRequestedFiles ( ) { return __S . disown ( this . getRequestedFiles ( ) ) ; } getRequestedFiles ( ) { return __S . getList ( 1 , CodeGeneratorRequest . _RequestedFiles , this ) ; } hasRequestedFiles ( ) { return ! __S . isNull ( __S . getPointer ( 1 , this ) ) ; } initRequestedFiles ( length ) { return __S . initList ( 1 , CodeGeneratorRequest . _RequestedFiles , length , this ) ; } setRequestedFiles ( value ) { __S . copyFrom ( value , __S . getPointer ( 1 , this ) ) ; } toString ( ) { return "CodeGeneratorRequest_" + super . toString ( ) ; } } Node_Struct . _Fields = capnp . CompositeList ( Field ) ; Node_Enum . _Enumerants = capnp . CompositeList ( Enumerant ) ; Node_Interface . _Methods = capnp . CompositeList ( Method ) ; Node_Interface . _Superclasses = capnp . CompositeList ( Superclass ) ; Node . _Parameters = capnp . CompositeList ( Node_Parameter ) ; Node . _NestedNodes = capnp . CompositeList ( Node_NestedNode ) ; Node . _Annotations = capnp . CompositeList ( Annotation ) ; Field . _Annotations = capnp . CompositeList ( Annotation ) ; Enumerant . _Annotations = capnp . CompositeList ( Annotation ) ; Method . _ImplicitParameters = capnp . CompositeList ( Node_Parameter ) ; Method . _Annotations = capnp . CompositeList ( Annotation ) ; Brand_Scope . _Bind = capnp . CompositeList ( Brand_Binding ) ; Brand . _Scopes = capnp . CompositeList ( Brand_Scope ) ; CodeGeneratorRequest_RequestedFile . _Imports = capnp . CompositeList ( CodeGeneratorRequest_RequestedFile_Import ) ; CodeGeneratorRequest . _Nodes = capnp . CompositeList ( Node ) ; CodeGeneratorRequest . _RequestedFiles = capnp . CompositeList ( CodeGeneratorRequest_RequestedFile ) ;