schema

package
v2.0.15-canary.2+incom... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Annotation_TypeID = 0xf1c8950dab257542

Annotation_TypeID is the unique identifier for the type Annotation.

View Source
const Brand_Binding_TypeID = 0xc863cd16969ee7fc

Brand_Binding_TypeID is the unique identifier for the type Brand_Binding.

View Source
const Brand_Scope_TypeID = 0xabd73485a9636bc9

Brand_Scope_TypeID is the unique identifier for the type Brand_Scope.

View Source
const Brand_TypeID = 0x903455f06065422b

Brand_TypeID is the unique identifier for the type Brand.

View Source
const CapnpVersion_TypeID = 0xd85d305b7d839963

CapnpVersion_TypeID is the unique identifier for the type CapnpVersion.

View Source
const CodeGeneratorRequest_RequestedFile_Import_TypeID = 0xae504193122357e5

CodeGeneratorRequest_RequestedFile_Import_TypeID is the unique identifier for the type CodeGeneratorRequest_RequestedFile_Import.

View Source
const CodeGeneratorRequest_RequestedFile_TypeID = 0xcfea0eb02e810062

CodeGeneratorRequest_RequestedFile_TypeID is the unique identifier for the type CodeGeneratorRequest_RequestedFile.

View Source
const CodeGeneratorRequest_TypeID = 0xbfc546f6210ad7ce

CodeGeneratorRequest_TypeID is the unique identifier for the type CodeGeneratorRequest.

View Source
const ElementSize_TypeID = 0xd1958f7dba521926

ElementSize_TypeID is the unique identifier for the type ElementSize.

View Source
const Enumerant_TypeID = 0x978a7cebdc549a4d

Enumerant_TypeID is the unique identifier for the type Enumerant.

View Source
const Field_TypeID = 0x9aad50a41f4af45f

Field_TypeID is the unique identifier for the type Field.

View Source
const (
	Field_noDiscriminant = uint16(65535)
)

Constants defined in schema.capnp.

View Source
const Method_TypeID = 0x9500cce23b334d80

Method_TypeID is the unique identifier for the type Method.

View Source
const Node_NestedNode_TypeID = 0xdebf55bbfa0fc242

Node_NestedNode_TypeID is the unique identifier for the type Node_NestedNode.

View Source
const Node_Parameter_TypeID = 0xb9521bccf10fa3b1

Node_Parameter_TypeID is the unique identifier for the type Node_Parameter.

View Source
const Node_SourceInfo_Member_TypeID = 0xc2ba9038898e1fa2

Node_SourceInfo_Member_TypeID is the unique identifier for the type Node_SourceInfo_Member.

View Source
const Node_SourceInfo_TypeID = 0xf38e1de3041357ae

Node_SourceInfo_TypeID is the unique identifier for the type Node_SourceInfo.

View Source
const Node_TypeID = 0xe682ab4cf923a417

Node_TypeID is the unique identifier for the type Node.

View Source
const Superclass_TypeID = 0xa9962a9ed0a4d7f8

Superclass_TypeID is the unique identifier for the type Superclass.

View Source
const Type_TypeID = 0xd07378ede1f9cc60

Type_TypeID is the unique identifier for the type Type.

View Source
const Value_TypeID = 0xce23dcd2d7b00c9b

Value_TypeID is the unique identifier for the type Value.

Variables

This section is empty.

Functions

func RegisterSchema

func RegisterSchema(reg *schemas.Registry)

Types

type Annotation

type Annotation capnp.Struct

func NewAnnotation

func NewAnnotation(s *capnp.Segment) (Annotation, error)

func NewRootAnnotation

func NewRootAnnotation(s *capnp.Segment) (Annotation, error)

func ReadRootAnnotation

func ReadRootAnnotation(msg *capnp.Message) (Annotation, error)

func (Annotation) Brand

func (s Annotation) Brand() (Brand, error)

func (Annotation) DecodeFromPtr

func (Annotation) DecodeFromPtr(p capnp.Ptr) Annotation

func (Annotation) EncodeAsPtr

func (s Annotation) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Annotation) HasBrand

func (s Annotation) HasBrand() bool

func (Annotation) HasValue

func (s Annotation) HasValue() bool

func (Annotation) Id

func (s Annotation) Id() uint64

func (Annotation) IsValid

func (s Annotation) IsValid() bool

func (Annotation) Message

func (s Annotation) Message() *capnp.Message

func (Annotation) NewBrand

func (s Annotation) NewBrand() (Brand, error)

NewBrand sets the brand field to a newly allocated Brand struct, preferring placement in s's segment.

func (Annotation) NewValue

func (s Annotation) NewValue() (Value, error)

NewValue sets the value field to a newly allocated Value struct, preferring placement in s's segment.

func (Annotation) Segment

func (s Annotation) Segment() *capnp.Segment

func (Annotation) SetBrand

func (s Annotation) SetBrand(v Brand) error

func (Annotation) SetId

func (s Annotation) SetId(v uint64)

func (Annotation) SetValue

func (s Annotation) SetValue(v Value) error

func (Annotation) String

func (s Annotation) String() string

func (Annotation) ToPtr

func (s Annotation) ToPtr() capnp.Ptr

func (Annotation) Value

func (s Annotation) Value() (Value, error)

type Annotation_Future

type Annotation_Future struct{ *capnp.Future }

Annotation_Future is a wrapper for a Annotation promised by a client call.

func (Annotation_Future) Brand

func (p Annotation_Future) Brand() Brand_Future

func (Annotation_Future) Struct

func (f Annotation_Future) Struct() (Annotation, error)

func (Annotation_Future) Value

func (p Annotation_Future) Value() Value_Future

type Annotation_List

type Annotation_List = capnp.StructList[Annotation]

Annotation_List is a list of Annotation.

func NewAnnotation_List

func NewAnnotation_List(s *capnp.Segment, sz int32) (Annotation_List, error)

NewAnnotation creates a new list of Annotation.

type Brand

type Brand capnp.Struct

func NewBrand

func NewBrand(s *capnp.Segment) (Brand, error)

func NewRootBrand

func NewRootBrand(s *capnp.Segment) (Brand, error)

func ReadRootBrand

func ReadRootBrand(msg *capnp.Message) (Brand, error)

func (Brand) DecodeFromPtr

func (Brand) DecodeFromPtr(p capnp.Ptr) Brand

func (Brand) EncodeAsPtr

func (s Brand) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Brand) HasScopes

func (s Brand) HasScopes() bool

func (Brand) IsValid

func (s Brand) IsValid() bool

func (Brand) Message

func (s Brand) Message() *capnp.Message

func (Brand) NewScopes

func (s Brand) NewScopes(n int32) (Brand_Scope_List, error)

NewScopes sets the scopes field to a newly allocated Brand_Scope_List, preferring placement in s's segment.

func (Brand) Scopes

func (s Brand) Scopes() (Brand_Scope_List, error)

func (Brand) Segment

func (s Brand) Segment() *capnp.Segment

func (Brand) SetScopes

func (s Brand) SetScopes(v Brand_Scope_List) error

func (Brand) String

func (s Brand) String() string

func (Brand) ToPtr

func (s Brand) ToPtr() capnp.Ptr

type Brand_Binding

type Brand_Binding capnp.Struct

func NewBrand_Binding

func NewBrand_Binding(s *capnp.Segment) (Brand_Binding, error)

func NewRootBrand_Binding

func NewRootBrand_Binding(s *capnp.Segment) (Brand_Binding, error)

func ReadRootBrand_Binding

func ReadRootBrand_Binding(msg *capnp.Message) (Brand_Binding, error)

func (Brand_Binding) DecodeFromPtr

func (Brand_Binding) DecodeFromPtr(p capnp.Ptr) Brand_Binding

func (Brand_Binding) EncodeAsPtr

func (s Brand_Binding) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Brand_Binding) HasType

func (s Brand_Binding) HasType() bool

func (Brand_Binding) IsValid

func (s Brand_Binding) IsValid() bool

func (Brand_Binding) Message

func (s Brand_Binding) Message() *capnp.Message

func (Brand_Binding) NewType

func (s Brand_Binding) NewType() (Type, error)

NewType sets the type field to a newly allocated Type struct, preferring placement in s's segment.

func (Brand_Binding) Segment

func (s Brand_Binding) Segment() *capnp.Segment

func (Brand_Binding) SetType

func (s Brand_Binding) SetType(v Type) error

func (Brand_Binding) SetUnbound

func (s Brand_Binding) SetUnbound()

func (Brand_Binding) String

func (s Brand_Binding) String() string

func (Brand_Binding) ToPtr

func (s Brand_Binding) ToPtr() capnp.Ptr

func (Brand_Binding) Type

func (s Brand_Binding) Type() (Type, error)

func (Brand_Binding) Which

type Brand_Binding_Future

type Brand_Binding_Future struct{ *capnp.Future }

Brand_Binding_Future is a wrapper for a Brand_Binding promised by a client call.

func (Brand_Binding_Future) Struct

func (Brand_Binding_Future) Type

type Brand_Binding_List

type Brand_Binding_List = capnp.StructList[Brand_Binding]

Brand_Binding_List is a list of Brand_Binding.

func NewBrand_Binding_List

func NewBrand_Binding_List(s *capnp.Segment, sz int32) (Brand_Binding_List, error)

NewBrand_Binding creates a new list of Brand_Binding.

type Brand_Binding_Which

type Brand_Binding_Which uint16
const (
	Brand_Binding_Which_unbound Brand_Binding_Which = 0
	Brand_Binding_Which_type    Brand_Binding_Which = 1
)

func (Brand_Binding_Which) String

func (w Brand_Binding_Which) String() string

type Brand_Future

type Brand_Future struct{ *capnp.Future }

Brand_Future is a wrapper for a Brand promised by a client call.

func (Brand_Future) Struct

func (f Brand_Future) Struct() (Brand, error)

type Brand_List

type Brand_List = capnp.StructList[Brand]

Brand_List is a list of Brand.

func NewBrand_List

func NewBrand_List(s *capnp.Segment, sz int32) (Brand_List, error)

NewBrand creates a new list of Brand.

type Brand_Scope

type Brand_Scope capnp.Struct

func NewBrand_Scope

func NewBrand_Scope(s *capnp.Segment) (Brand_Scope, error)

func NewRootBrand_Scope

func NewRootBrand_Scope(s *capnp.Segment) (Brand_Scope, error)

func ReadRootBrand_Scope

func ReadRootBrand_Scope(msg *capnp.Message) (Brand_Scope, error)

func (Brand_Scope) Bind

func (s Brand_Scope) Bind() (Brand_Binding_List, error)

func (Brand_Scope) DecodeFromPtr

func (Brand_Scope) DecodeFromPtr(p capnp.Ptr) Brand_Scope

func (Brand_Scope) EncodeAsPtr

func (s Brand_Scope) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Brand_Scope) HasBind

func (s Brand_Scope) HasBind() bool

func (Brand_Scope) IsValid

func (s Brand_Scope) IsValid() bool

func (Brand_Scope) Message

func (s Brand_Scope) Message() *capnp.Message

func (Brand_Scope) NewBind

func (s Brand_Scope) NewBind(n int32) (Brand_Binding_List, error)

NewBind sets the bind field to a newly allocated Brand_Binding_List, preferring placement in s's segment.

func (Brand_Scope) ScopeId

func (s Brand_Scope) ScopeId() uint64

func (Brand_Scope) Segment

func (s Brand_Scope) Segment() *capnp.Segment

func (Brand_Scope) SetBind

func (s Brand_Scope) SetBind(v Brand_Binding_List) error

func (Brand_Scope) SetInherit

func (s Brand_Scope) SetInherit()

func (Brand_Scope) SetScopeId

func (s Brand_Scope) SetScopeId(v uint64)

func (Brand_Scope) String

func (s Brand_Scope) String() string

func (Brand_Scope) ToPtr

func (s Brand_Scope) ToPtr() capnp.Ptr

func (Brand_Scope) Which

func (s Brand_Scope) Which() Brand_Scope_Which

type Brand_Scope_Future

type Brand_Scope_Future struct{ *capnp.Future }

Brand_Scope_Future is a wrapper for a Brand_Scope promised by a client call.

func (Brand_Scope_Future) Struct

func (f Brand_Scope_Future) Struct() (Brand_Scope, error)

type Brand_Scope_List

type Brand_Scope_List = capnp.StructList[Brand_Scope]

Brand_Scope_List is a list of Brand_Scope.

func NewBrand_Scope_List

func NewBrand_Scope_List(s *capnp.Segment, sz int32) (Brand_Scope_List, error)

NewBrand_Scope creates a new list of Brand_Scope.

type Brand_Scope_Which

type Brand_Scope_Which uint16
const (
	Brand_Scope_Which_bind    Brand_Scope_Which = 0
	Brand_Scope_Which_inherit Brand_Scope_Which = 1
)

func (Brand_Scope_Which) String

func (w Brand_Scope_Which) String() string

type CapnpVersion

type CapnpVersion capnp.Struct

func NewCapnpVersion

func NewCapnpVersion(s *capnp.Segment) (CapnpVersion, error)

func NewRootCapnpVersion

func NewRootCapnpVersion(s *capnp.Segment) (CapnpVersion, error)

func ReadRootCapnpVersion

func ReadRootCapnpVersion(msg *capnp.Message) (CapnpVersion, error)

func (CapnpVersion) DecodeFromPtr

func (CapnpVersion) DecodeFromPtr(p capnp.Ptr) CapnpVersion

func (CapnpVersion) EncodeAsPtr

func (s CapnpVersion) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (CapnpVersion) IsValid

func (s CapnpVersion) IsValid() bool

func (CapnpVersion) Major

func (s CapnpVersion) Major() uint16

func (CapnpVersion) Message

func (s CapnpVersion) Message() *capnp.Message

func (CapnpVersion) Micro

func (s CapnpVersion) Micro() uint8

func (CapnpVersion) Minor

func (s CapnpVersion) Minor() uint8

func (CapnpVersion) Segment

func (s CapnpVersion) Segment() *capnp.Segment

func (CapnpVersion) SetMajor

func (s CapnpVersion) SetMajor(v uint16)

func (CapnpVersion) SetMicro

func (s CapnpVersion) SetMicro(v uint8)

func (CapnpVersion) SetMinor

func (s CapnpVersion) SetMinor(v uint8)

func (CapnpVersion) String

func (s CapnpVersion) String() string

func (CapnpVersion) ToPtr

func (s CapnpVersion) ToPtr() capnp.Ptr

type CapnpVersion_Future

type CapnpVersion_Future struct{ *capnp.Future }

CapnpVersion_Future is a wrapper for a CapnpVersion promised by a client call.

func (CapnpVersion_Future) Struct

func (f CapnpVersion_Future) Struct() (CapnpVersion, error)

type CapnpVersion_List

type CapnpVersion_List = capnp.StructList[CapnpVersion]

CapnpVersion_List is a list of CapnpVersion.

func NewCapnpVersion_List

func NewCapnpVersion_List(s *capnp.Segment, sz int32) (CapnpVersion_List, error)

NewCapnpVersion creates a new list of CapnpVersion.

type CodeGeneratorRequest

type CodeGeneratorRequest capnp.Struct

func NewCodeGeneratorRequest

func NewCodeGeneratorRequest(s *capnp.Segment) (CodeGeneratorRequest, error)

func NewRootCodeGeneratorRequest

func NewRootCodeGeneratorRequest(s *capnp.Segment) (CodeGeneratorRequest, error)

func ReadRootCodeGeneratorRequest

func ReadRootCodeGeneratorRequest(msg *capnp.Message) (CodeGeneratorRequest, error)

func (CodeGeneratorRequest) CapnpVersion

func (s CodeGeneratorRequest) CapnpVersion() (CapnpVersion, error)

func (CodeGeneratorRequest) DecodeFromPtr

func (CodeGeneratorRequest) EncodeAsPtr

func (s CodeGeneratorRequest) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (CodeGeneratorRequest) HasCapnpVersion

func (s CodeGeneratorRequest) HasCapnpVersion() bool

func (CodeGeneratorRequest) HasNodes

func (s CodeGeneratorRequest) HasNodes() bool

func (CodeGeneratorRequest) HasRequestedFiles

func (s CodeGeneratorRequest) HasRequestedFiles() bool

func (CodeGeneratorRequest) HasSourceInfo

func (s CodeGeneratorRequest) HasSourceInfo() bool

func (CodeGeneratorRequest) IsValid

func (s CodeGeneratorRequest) IsValid() bool

func (CodeGeneratorRequest) Message

func (s CodeGeneratorRequest) Message() *capnp.Message

func (CodeGeneratorRequest) NewCapnpVersion

func (s CodeGeneratorRequest) NewCapnpVersion() (CapnpVersion, error)

NewCapnpVersion sets the capnpVersion field to a newly allocated CapnpVersion struct, preferring placement in s's segment.

func (CodeGeneratorRequest) NewNodes

func (s CodeGeneratorRequest) NewNodes(n int32) (Node_List, error)

NewNodes sets the nodes field to a newly allocated Node_List, preferring placement in s's segment.

func (CodeGeneratorRequest) NewRequestedFiles

NewRequestedFiles sets the requestedFiles field to a newly allocated CodeGeneratorRequest_RequestedFile_List, preferring placement in s's segment.

func (CodeGeneratorRequest) NewSourceInfo

func (s CodeGeneratorRequest) NewSourceInfo(n int32) (Node_SourceInfo_List, error)

NewSourceInfo sets the sourceInfo field to a newly allocated Node_SourceInfo_List, preferring placement in s's segment.

func (CodeGeneratorRequest) Nodes

func (s CodeGeneratorRequest) Nodes() (Node_List, error)

func (CodeGeneratorRequest) RequestedFiles

func (CodeGeneratorRequest) Segment

func (s CodeGeneratorRequest) Segment() *capnp.Segment

func (CodeGeneratorRequest) SetCapnpVersion

func (s CodeGeneratorRequest) SetCapnpVersion(v CapnpVersion) error

func (CodeGeneratorRequest) SetNodes

func (s CodeGeneratorRequest) SetNodes(v Node_List) error

func (CodeGeneratorRequest) SetRequestedFiles

func (CodeGeneratorRequest) SetSourceInfo

func (s CodeGeneratorRequest) SetSourceInfo(v Node_SourceInfo_List) error

func (CodeGeneratorRequest) SourceInfo

func (CodeGeneratorRequest) String

func (s CodeGeneratorRequest) String() string

func (CodeGeneratorRequest) ToPtr

func (s CodeGeneratorRequest) ToPtr() capnp.Ptr

type CodeGeneratorRequest_Future

type CodeGeneratorRequest_Future struct{ *capnp.Future }

CodeGeneratorRequest_Future is a wrapper for a CodeGeneratorRequest promised by a client call.

func (CodeGeneratorRequest_Future) CapnpVersion

func (CodeGeneratorRequest_Future) Struct

type CodeGeneratorRequest_List

type CodeGeneratorRequest_List = capnp.StructList[CodeGeneratorRequest]

CodeGeneratorRequest_List is a list of CodeGeneratorRequest.

func NewCodeGeneratorRequest_List

func NewCodeGeneratorRequest_List(s *capnp.Segment, sz int32) (CodeGeneratorRequest_List, error)

NewCodeGeneratorRequest creates a new list of CodeGeneratorRequest.

type CodeGeneratorRequest_RequestedFile

type CodeGeneratorRequest_RequestedFile capnp.Struct

func NewCodeGeneratorRequest_RequestedFile

func NewCodeGeneratorRequest_RequestedFile(s *capnp.Segment) (CodeGeneratorRequest_RequestedFile, error)

func NewRootCodeGeneratorRequest_RequestedFile

func NewRootCodeGeneratorRequest_RequestedFile(s *capnp.Segment) (CodeGeneratorRequest_RequestedFile, error)

func ReadRootCodeGeneratorRequest_RequestedFile

func ReadRootCodeGeneratorRequest_RequestedFile(msg *capnp.Message) (CodeGeneratorRequest_RequestedFile, error)

func (CodeGeneratorRequest_RequestedFile) DecodeFromPtr

func (CodeGeneratorRequest_RequestedFile) EncodeAsPtr

func (CodeGeneratorRequest_RequestedFile) Filename

func (CodeGeneratorRequest_RequestedFile) FilenameBytes

func (s CodeGeneratorRequest_RequestedFile) FilenameBytes() ([]byte, error)

func (CodeGeneratorRequest_RequestedFile) HasFilename

func (s CodeGeneratorRequest_RequestedFile) HasFilename() bool

func (CodeGeneratorRequest_RequestedFile) HasImports

func (CodeGeneratorRequest_RequestedFile) Id

func (CodeGeneratorRequest_RequestedFile) Imports

func (CodeGeneratorRequest_RequestedFile) IsValid

func (CodeGeneratorRequest_RequestedFile) Message

func (CodeGeneratorRequest_RequestedFile) NewImports

NewImports sets the imports field to a newly allocated CodeGeneratorRequest_RequestedFile_Import_List, preferring placement in s's segment.

func (CodeGeneratorRequest_RequestedFile) Segment

func (CodeGeneratorRequest_RequestedFile) SetFilename

func (CodeGeneratorRequest_RequestedFile) SetId

func (CodeGeneratorRequest_RequestedFile) SetImports

func (CodeGeneratorRequest_RequestedFile) String

func (CodeGeneratorRequest_RequestedFile) ToPtr

type CodeGeneratorRequest_RequestedFile_Future

type CodeGeneratorRequest_RequestedFile_Future struct{ *capnp.Future }

CodeGeneratorRequest_RequestedFile_Future is a wrapper for a CodeGeneratorRequest_RequestedFile promised by a client call.

func (CodeGeneratorRequest_RequestedFile_Future) Struct

type CodeGeneratorRequest_RequestedFile_Import

type CodeGeneratorRequest_RequestedFile_Import capnp.Struct

func NewRootCodeGeneratorRequest_RequestedFile_Import

func NewRootCodeGeneratorRequest_RequestedFile_Import(s *capnp.Segment) (CodeGeneratorRequest_RequestedFile_Import, error)

func ReadRootCodeGeneratorRequest_RequestedFile_Import

func ReadRootCodeGeneratorRequest_RequestedFile_Import(msg *capnp.Message) (CodeGeneratorRequest_RequestedFile_Import, error)

func (CodeGeneratorRequest_RequestedFile_Import) DecodeFromPtr

func (CodeGeneratorRequest_RequestedFile_Import) EncodeAsPtr

func (CodeGeneratorRequest_RequestedFile_Import) HasName

func (CodeGeneratorRequest_RequestedFile_Import) Id

func (CodeGeneratorRequest_RequestedFile_Import) IsValid

func (CodeGeneratorRequest_RequestedFile_Import) Message

func (CodeGeneratorRequest_RequestedFile_Import) Name

func (CodeGeneratorRequest_RequestedFile_Import) NameBytes

func (CodeGeneratorRequest_RequestedFile_Import) Segment

func (CodeGeneratorRequest_RequestedFile_Import) SetId

func (CodeGeneratorRequest_RequestedFile_Import) SetName

func (CodeGeneratorRequest_RequestedFile_Import) String

func (CodeGeneratorRequest_RequestedFile_Import) ToPtr

type CodeGeneratorRequest_RequestedFile_Import_Future

type CodeGeneratorRequest_RequestedFile_Import_Future struct{ *capnp.Future }

CodeGeneratorRequest_RequestedFile_Import_Future is a wrapper for a CodeGeneratorRequest_RequestedFile_Import promised by a client call.

func (CodeGeneratorRequest_RequestedFile_Import_Future) Struct

type CodeGeneratorRequest_RequestedFile_Import_List

type CodeGeneratorRequest_RequestedFile_Import_List = capnp.StructList[CodeGeneratorRequest_RequestedFile_Import]

CodeGeneratorRequest_RequestedFile_Import_List is a list of CodeGeneratorRequest_RequestedFile_Import.

func NewCodeGeneratorRequest_RequestedFile_Import_List

func NewCodeGeneratorRequest_RequestedFile_Import_List(s *capnp.Segment, sz int32) (CodeGeneratorRequest_RequestedFile_Import_List, error)

NewCodeGeneratorRequest_RequestedFile_Import creates a new list of CodeGeneratorRequest_RequestedFile_Import.

type CodeGeneratorRequest_RequestedFile_List

type CodeGeneratorRequest_RequestedFile_List = capnp.StructList[CodeGeneratorRequest_RequestedFile]

CodeGeneratorRequest_RequestedFile_List is a list of CodeGeneratorRequest_RequestedFile.

func NewCodeGeneratorRequest_RequestedFile_List

func NewCodeGeneratorRequest_RequestedFile_List(s *capnp.Segment, sz int32) (CodeGeneratorRequest_RequestedFile_List, error)

NewCodeGeneratorRequest_RequestedFile creates a new list of CodeGeneratorRequest_RequestedFile.

type ElementSize

type ElementSize uint16
const (
	ElementSize_empty           ElementSize = 0
	ElementSize_bit             ElementSize = 1
	ElementSize_byte            ElementSize = 2
	ElementSize_twoBytes        ElementSize = 3
	ElementSize_fourBytes       ElementSize = 4
	ElementSize_eightBytes      ElementSize = 5
	ElementSize_pointer         ElementSize = 6
	ElementSize_inlineComposite ElementSize = 7
)

Values of ElementSize.

func ElementSizeFromString

func ElementSizeFromString(c string) ElementSize

ElementSizeFromString returns the enum value with a name, or the zero value if there's no such value.

func (ElementSize) String

func (c ElementSize) String() string

String returns the enum's constant name.

type ElementSize_List

type ElementSize_List = capnp.EnumList[ElementSize]

func NewElementSize_List

func NewElementSize_List(s *capnp.Segment, sz int32) (ElementSize_List, error)

type Enumerant

type Enumerant capnp.Struct

func NewEnumerant

func NewEnumerant(s *capnp.Segment) (Enumerant, error)

func NewRootEnumerant

func NewRootEnumerant(s *capnp.Segment) (Enumerant, error)

func ReadRootEnumerant

func ReadRootEnumerant(msg *capnp.Message) (Enumerant, error)

func (Enumerant) Annotations

func (s Enumerant) Annotations() (Annotation_List, error)

func (Enumerant) CodeOrder

func (s Enumerant) CodeOrder() uint16

func (Enumerant) DecodeFromPtr

func (Enumerant) DecodeFromPtr(p capnp.Ptr) Enumerant

func (Enumerant) EncodeAsPtr

func (s Enumerant) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Enumerant) HasAnnotations

func (s Enumerant) HasAnnotations() bool

func (Enumerant) HasName

func (s Enumerant) HasName() bool

func (Enumerant) IsValid

func (s Enumerant) IsValid() bool

func (Enumerant) Message

func (s Enumerant) Message() *capnp.Message

func (Enumerant) Name

func (s Enumerant) Name() (string, error)

func (Enumerant) NameBytes

func (s Enumerant) NameBytes() ([]byte, error)

func (Enumerant) NewAnnotations

func (s Enumerant) NewAnnotations(n int32) (Annotation_List, error)

NewAnnotations sets the annotations field to a newly allocated Annotation_List, preferring placement in s's segment.

func (Enumerant) Segment

func (s Enumerant) Segment() *capnp.Segment

func (Enumerant) SetAnnotations

func (s Enumerant) SetAnnotations(v Annotation_List) error

func (Enumerant) SetCodeOrder

func (s Enumerant) SetCodeOrder(v uint16)

func (Enumerant) SetName

func (s Enumerant) SetName(v string) error

func (Enumerant) String

func (s Enumerant) String() string

func (Enumerant) ToPtr

func (s Enumerant) ToPtr() capnp.Ptr

type Enumerant_Future

type Enumerant_Future struct{ *capnp.Future }

Enumerant_Future is a wrapper for a Enumerant promised by a client call.

func (Enumerant_Future) Struct

func (f Enumerant_Future) Struct() (Enumerant, error)

type Enumerant_List

type Enumerant_List = capnp.StructList[Enumerant]

Enumerant_List is a list of Enumerant.

func NewEnumerant_List

func NewEnumerant_List(s *capnp.Segment, sz int32) (Enumerant_List, error)

NewEnumerant creates a new list of Enumerant.

type Field

type Field capnp.Struct

func NewField

func NewField(s *capnp.Segment) (Field, error)

func NewRootField

func NewRootField(s *capnp.Segment) (Field, error)

func ReadRootField

func ReadRootField(msg *capnp.Message) (Field, error)

func (Field) Annotations

func (s Field) Annotations() (Annotation_List, error)

func (Field) CodeOrder

func (s Field) CodeOrder() uint16

func (Field) DecodeFromPtr

func (Field) DecodeFromPtr(p capnp.Ptr) Field

func (Field) DiscriminantValue

func (s Field) DiscriminantValue() uint16

func (Field) EncodeAsPtr

func (s Field) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Field) Group

func (s Field) Group() Field_group

func (Field) HasAnnotations

func (s Field) HasAnnotations() bool

func (Field) HasName

func (s Field) HasName() bool

func (Field) IsValid

func (s Field) IsValid() bool

func (Field) Message

func (s Field) Message() *capnp.Message

func (Field) Name

func (s Field) Name() (string, error)

func (Field) NameBytes

func (s Field) NameBytes() ([]byte, error)

func (Field) NewAnnotations

func (s Field) NewAnnotations(n int32) (Annotation_List, error)

NewAnnotations sets the annotations field to a newly allocated Annotation_List, preferring placement in s's segment.

func (Field) Ordinal

func (s Field) Ordinal() Field_ordinal

func (Field) Segment

func (s Field) Segment() *capnp.Segment

func (Field) SetAnnotations

func (s Field) SetAnnotations(v Annotation_List) error

func (Field) SetCodeOrder

func (s Field) SetCodeOrder(v uint16)

func (Field) SetDiscriminantValue

func (s Field) SetDiscriminantValue(v uint16)

func (Field) SetGroup

func (s Field) SetGroup()

func (Field) SetName

func (s Field) SetName(v string) error

func (Field) SetSlot

func (s Field) SetSlot()

func (Field) Slot

func (s Field) Slot() Field_slot

func (Field) String

func (s Field) String() string

func (Field) ToPtr

func (s Field) ToPtr() capnp.Ptr

func (Field) Which

func (s Field) Which() Field_Which

type Field_Future

type Field_Future struct{ *capnp.Future }

Field_Future is a wrapper for a Field promised by a client call.

func (Field_Future) Group

func (p Field_Future) Group() Field_group_Future

func (Field_Future) Ordinal

func (p Field_Future) Ordinal() Field_ordinal_Future

func (Field_Future) Slot

func (Field_Future) Struct

func (f Field_Future) Struct() (Field, error)

type Field_List

type Field_List = capnp.StructList[Field]

Field_List is a list of Field.

func NewField_List

func NewField_List(s *capnp.Segment, sz int32) (Field_List, error)

NewField creates a new list of Field.

type Field_Which

type Field_Which uint16
const (
	Field_Which_slot  Field_Which = 0
	Field_Which_group Field_Which = 1
)

func (Field_Which) String

func (w Field_Which) String() string

type Field_group

type Field_group Field

func (Field_group) IsValid

func (s Field_group) IsValid() bool

func (Field_group) Message

func (s Field_group) Message() *capnp.Message

func (Field_group) Segment

func (s Field_group) Segment() *capnp.Segment

func (Field_group) SetTypeId

func (s Field_group) SetTypeId(v uint64)

func (Field_group) TypeId

func (s Field_group) TypeId() uint64

type Field_group_Future

type Field_group_Future struct{ *capnp.Future }

Field_group_Future is a wrapper for a Field_group promised by a client call.

func (Field_group_Future) Struct

func (f Field_group_Future) Struct() (Field_group, error)

type Field_ordinal

type Field_ordinal Field

func (Field_ordinal) Explicit

func (s Field_ordinal) Explicit() uint16

func (Field_ordinal) IsValid

func (s Field_ordinal) IsValid() bool

func (Field_ordinal) Message

func (s Field_ordinal) Message() *capnp.Message

func (Field_ordinal) Segment

func (s Field_ordinal) Segment() *capnp.Segment

func (Field_ordinal) SetExplicit

func (s Field_ordinal) SetExplicit(v uint16)

func (Field_ordinal) SetImplicit

func (s Field_ordinal) SetImplicit()

func (Field_ordinal) Which

type Field_ordinal_Future

type Field_ordinal_Future struct{ *capnp.Future }

Field_ordinal_Future is a wrapper for a Field_ordinal promised by a client call.

func (Field_ordinal_Future) Struct

type Field_ordinal_Which

type Field_ordinal_Which uint16
const (
	Field_ordinal_Which_implicit Field_ordinal_Which = 0
	Field_ordinal_Which_explicit Field_ordinal_Which = 1
)

func (Field_ordinal_Which) String

func (w Field_ordinal_Which) String() string

type Field_slot

type Field_slot Field

func (Field_slot) DefaultValue

func (s Field_slot) DefaultValue() (Value, error)

func (Field_slot) HadExplicitDefault

func (s Field_slot) HadExplicitDefault() bool

func (Field_slot) HasDefaultValue

func (s Field_slot) HasDefaultValue() bool

func (Field_slot) HasType

func (s Field_slot) HasType() bool

func (Field_slot) IsValid

func (s Field_slot) IsValid() bool

func (Field_slot) Message

func (s Field_slot) Message() *capnp.Message

func (Field_slot) NewDefaultValue

func (s Field_slot) NewDefaultValue() (Value, error)

NewDefaultValue sets the defaultValue field to a newly allocated Value struct, preferring placement in s's segment.

func (Field_slot) NewType

func (s Field_slot) NewType() (Type, error)

NewType sets the type field to a newly allocated Type struct, preferring placement in s's segment.

func (Field_slot) Offset

func (s Field_slot) Offset() uint32

func (Field_slot) Segment

func (s Field_slot) Segment() *capnp.Segment

func (Field_slot) SetDefaultValue

func (s Field_slot) SetDefaultValue(v Value) error

func (Field_slot) SetHadExplicitDefault

func (s Field_slot) SetHadExplicitDefault(v bool)

func (Field_slot) SetOffset

func (s Field_slot) SetOffset(v uint32)

func (Field_slot) SetType

func (s Field_slot) SetType(v Type) error

func (Field_slot) Type

func (s Field_slot) Type() (Type, error)

type Field_slot_Future

type Field_slot_Future struct{ *capnp.Future }

Field_slot_Future is a wrapper for a Field_slot promised by a client call.

func (Field_slot_Future) DefaultValue

func (p Field_slot_Future) DefaultValue() Value_Future

func (Field_slot_Future) Struct

func (f Field_slot_Future) Struct() (Field_slot, error)

func (Field_slot_Future) Type

func (p Field_slot_Future) Type() Type_Future

type Method

type Method capnp.Struct

func NewMethod

func NewMethod(s *capnp.Segment) (Method, error)

func NewRootMethod

func NewRootMethod(s *capnp.Segment) (Method, error)

func ReadRootMethod

func ReadRootMethod(msg *capnp.Message) (Method, error)

func (Method) Annotations

func (s Method) Annotations() (Annotation_List, error)

func (Method) CodeOrder

func (s Method) CodeOrder() uint16

func (Method) DecodeFromPtr

func (Method) DecodeFromPtr(p capnp.Ptr) Method

func (Method) EncodeAsPtr

func (s Method) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Method) HasAnnotations

func (s Method) HasAnnotations() bool

func (Method) HasImplicitParameters

func (s Method) HasImplicitParameters() bool

func (Method) HasName

func (s Method) HasName() bool

func (Method) HasParamBrand

func (s Method) HasParamBrand() bool

func (Method) HasResultBrand

func (s Method) HasResultBrand() bool

func (Method) ImplicitParameters

func (s Method) ImplicitParameters() (Node_Parameter_List, error)

func (Method) IsValid

func (s Method) IsValid() bool

func (Method) Message

func (s Method) Message() *capnp.Message

func (Method) Name

func (s Method) Name() (string, error)

func (Method) NameBytes

func (s Method) NameBytes() ([]byte, error)

func (Method) NewAnnotations

func (s Method) NewAnnotations(n int32) (Annotation_List, error)

NewAnnotations sets the annotations field to a newly allocated Annotation_List, preferring placement in s's segment.

func (Method) NewImplicitParameters

func (s Method) NewImplicitParameters(n int32) (Node_Parameter_List, error)

NewImplicitParameters sets the implicitParameters field to a newly allocated Node_Parameter_List, preferring placement in s's segment.

func (Method) NewParamBrand

func (s Method) NewParamBrand() (Brand, error)

NewParamBrand sets the paramBrand field to a newly allocated Brand struct, preferring placement in s's segment.

func (Method) NewResultBrand

func (s Method) NewResultBrand() (Brand, error)

NewResultBrand sets the resultBrand field to a newly allocated Brand struct, preferring placement in s's segment.

func (Method) ParamBrand

func (s Method) ParamBrand() (Brand, error)

func (Method) ParamStructType

func (s Method) ParamStructType() uint64

func (Method) ResultBrand

func (s Method) ResultBrand() (Brand, error)

func (Method) ResultStructType

func (s Method) ResultStructType() uint64

func (Method) Segment

func (s Method) Segment() *capnp.Segment

func (Method) SetAnnotations

func (s Method) SetAnnotations(v Annotation_List) error

func (Method) SetCodeOrder

func (s Method) SetCodeOrder(v uint16)

func (Method) SetImplicitParameters

func (s Method) SetImplicitParameters(v Node_Parameter_List) error

func (Method) SetName

func (s Method) SetName(v string) error

func (Method) SetParamBrand

func (s Method) SetParamBrand(v Brand) error

func (Method) SetParamStructType

func (s Method) SetParamStructType(v uint64)

func (Method) SetResultBrand

func (s Method) SetResultBrand(v Brand) error

func (Method) SetResultStructType

func (s Method) SetResultStructType(v uint64)

func (Method) String

func (s Method) String() string

func (Method) ToPtr

func (s Method) ToPtr() capnp.Ptr

type Method_Future

type Method_Future struct{ *capnp.Future }

Method_Future is a wrapper for a Method promised by a client call.

func (Method_Future) ParamBrand

func (p Method_Future) ParamBrand() Brand_Future

func (Method_Future) ResultBrand

func (p Method_Future) ResultBrand() Brand_Future

func (Method_Future) Struct

func (f Method_Future) Struct() (Method, error)

type Method_List

type Method_List = capnp.StructList[Method]

Method_List is a list of Method.

func NewMethod_List

func NewMethod_List(s *capnp.Segment, sz int32) (Method_List, error)

NewMethod creates a new list of Method.

type Node

type Node capnp.Struct

func NewNode

func NewNode(s *capnp.Segment) (Node, error)

func NewRootNode

func NewRootNode(s *capnp.Segment) (Node, error)

func ReadRootNode

func ReadRootNode(msg *capnp.Message) (Node, error)

func (Node) Annotation

func (s Node) Annotation() Node_annotation

func (Node) Annotations

func (s Node) Annotations() (Annotation_List, error)

func (Node) Const

func (s Node) Const() Node_const

func (Node) DecodeFromPtr

func (Node) DecodeFromPtr(p capnp.Ptr) Node

func (Node) DisplayName

func (s Node) DisplayName() (string, error)

func (Node) DisplayNameBytes

func (s Node) DisplayNameBytes() ([]byte, error)

func (Node) DisplayNamePrefixLength

func (s Node) DisplayNamePrefixLength() uint32

func (Node) EncodeAsPtr

func (s Node) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Node) Enum

func (s Node) Enum() Node_enum

func (Node) HasAnnotations

func (s Node) HasAnnotations() bool

func (Node) HasDisplayName

func (s Node) HasDisplayName() bool

func (Node) HasNestedNodes

func (s Node) HasNestedNodes() bool

func (Node) HasParameters

func (s Node) HasParameters() bool

func (Node) Id

func (s Node) Id() uint64

func (Node) Interface

func (s Node) Interface() Node_interface

func (Node) IsGeneric

func (s Node) IsGeneric() bool

func (Node) IsValid

func (s Node) IsValid() bool

func (Node) Message

func (s Node) Message() *capnp.Message

func (Node) NestedNodes

func (s Node) NestedNodes() (Node_NestedNode_List, error)

func (Node) NewAnnotations

func (s Node) NewAnnotations(n int32) (Annotation_List, error)

NewAnnotations sets the annotations field to a newly allocated Annotation_List, preferring placement in s's segment.

func (Node) NewNestedNodes

func (s Node) NewNestedNodes(n int32) (Node_NestedNode_List, error)

NewNestedNodes sets the nestedNodes field to a newly allocated Node_NestedNode_List, preferring placement in s's segment.

func (Node) NewParameters

func (s Node) NewParameters(n int32) (Node_Parameter_List, error)

NewParameters sets the parameters field to a newly allocated Node_Parameter_List, preferring placement in s's segment.

func (Node) Parameters

func (s Node) Parameters() (Node_Parameter_List, error)

func (Node) ScopeId

func (s Node) ScopeId() uint64

func (Node) Segment

func (s Node) Segment() *capnp.Segment

func (Node) SetAnnotation

func (s Node) SetAnnotation()

func (Node) SetAnnotations

func (s Node) SetAnnotations(v Annotation_List) error

func (Node) SetConst

func (s Node) SetConst()

func (Node) SetDisplayName

func (s Node) SetDisplayName(v string) error

func (Node) SetDisplayNamePrefixLength

func (s Node) SetDisplayNamePrefixLength(v uint32)

func (Node) SetEnum

func (s Node) SetEnum()

func (Node) SetFile

func (s Node) SetFile()

func (Node) SetId

func (s Node) SetId(v uint64)

func (Node) SetInterface

func (s Node) SetInterface()

func (Node) SetIsGeneric

func (s Node) SetIsGeneric(v bool)

func (Node) SetNestedNodes

func (s Node) SetNestedNodes(v Node_NestedNode_List) error

func (Node) SetParameters

func (s Node) SetParameters(v Node_Parameter_List) error

func (Node) SetScopeId

func (s Node) SetScopeId(v uint64)

func (Node) SetStructNode

func (s Node) SetStructNode()

func (Node) String

func (s Node) String() string

func (Node) StructNode

func (s Node) StructNode() Node_structNode

func (Node) ToPtr

func (s Node) ToPtr() capnp.Ptr

func (Node) Which

func (s Node) Which() Node_Which

type Node_Future

type Node_Future struct{ *capnp.Future }

Node_Future is a wrapper for a Node promised by a client call.

func (Node_Future) Annotation

func (p Node_Future) Annotation() Node_annotation_Future

func (Node_Future) Const

func (p Node_Future) Const() Node_const_Future

func (Node_Future) Enum

func (p Node_Future) Enum() Node_enum_Future

func (Node_Future) Interface

func (p Node_Future) Interface() Node_interface_Future

func (Node_Future) Struct

func (f Node_Future) Struct() (Node, error)

func (Node_Future) StructNode

func (p Node_Future) StructNode() Node_structNode_Future

type Node_List

type Node_List = capnp.StructList[Node]

Node_List is a list of Node.

func NewNode_List

func NewNode_List(s *capnp.Segment, sz int32) (Node_List, error)

NewNode creates a new list of Node.

type Node_NestedNode

type Node_NestedNode capnp.Struct

func NewNode_NestedNode

func NewNode_NestedNode(s *capnp.Segment) (Node_NestedNode, error)

func NewRootNode_NestedNode

func NewRootNode_NestedNode(s *capnp.Segment) (Node_NestedNode, error)

func ReadRootNode_NestedNode

func ReadRootNode_NestedNode(msg *capnp.Message) (Node_NestedNode, error)

func (Node_NestedNode) DecodeFromPtr

func (Node_NestedNode) DecodeFromPtr(p capnp.Ptr) Node_NestedNode

func (Node_NestedNode) EncodeAsPtr

func (s Node_NestedNode) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Node_NestedNode) HasName

func (s Node_NestedNode) HasName() bool

func (Node_NestedNode) Id

func (s Node_NestedNode) Id() uint64

func (Node_NestedNode) IsValid

func (s Node_NestedNode) IsValid() bool

func (Node_NestedNode) Message

func (s Node_NestedNode) Message() *capnp.Message

func (Node_NestedNode) Name

func (s Node_NestedNode) Name() (string, error)

func (Node_NestedNode) NameBytes

func (s Node_NestedNode) NameBytes() ([]byte, error)

func (Node_NestedNode) Segment

func (s Node_NestedNode) Segment() *capnp.Segment

func (Node_NestedNode) SetId

func (s Node_NestedNode) SetId(v uint64)

func (Node_NestedNode) SetName

func (s Node_NestedNode) SetName(v string) error

func (Node_NestedNode) String

func (s Node_NestedNode) String() string

func (Node_NestedNode) ToPtr

func (s Node_NestedNode) ToPtr() capnp.Ptr

type Node_NestedNode_Future

type Node_NestedNode_Future struct{ *capnp.Future }

Node_NestedNode_Future is a wrapper for a Node_NestedNode promised by a client call.

func (Node_NestedNode_Future) Struct

type Node_NestedNode_List

type Node_NestedNode_List = capnp.StructList[Node_NestedNode]

Node_NestedNode_List is a list of Node_NestedNode.

func NewNode_NestedNode_List

func NewNode_NestedNode_List(s *capnp.Segment, sz int32) (Node_NestedNode_List, error)

NewNode_NestedNode creates a new list of Node_NestedNode.

type Node_Parameter

type Node_Parameter capnp.Struct

func NewNode_Parameter

func NewNode_Parameter(s *capnp.Segment) (Node_Parameter, error)

func NewRootNode_Parameter

func NewRootNode_Parameter(s *capnp.Segment) (Node_Parameter, error)

func ReadRootNode_Parameter

func ReadRootNode_Parameter(msg *capnp.Message) (Node_Parameter, error)

func (Node_Parameter) DecodeFromPtr

func (Node_Parameter) DecodeFromPtr(p capnp.Ptr) Node_Parameter

func (Node_Parameter) EncodeAsPtr

func (s Node_Parameter) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Node_Parameter) HasName

func (s Node_Parameter) HasName() bool

func (Node_Parameter) IsValid

func (s Node_Parameter) IsValid() bool

func (Node_Parameter) Message

func (s Node_Parameter) Message() *capnp.Message

func (Node_Parameter) Name

func (s Node_Parameter) Name() (string, error)

func (Node_Parameter) NameBytes

func (s Node_Parameter) NameBytes() ([]byte, error)

func (Node_Parameter) Segment

func (s Node_Parameter) Segment() *capnp.Segment

func (Node_Parameter) SetName

func (s Node_Parameter) SetName(v string) error

func (Node_Parameter) String

func (s Node_Parameter) String() string

func (Node_Parameter) ToPtr

func (s Node_Parameter) ToPtr() capnp.Ptr

type Node_Parameter_Future

type Node_Parameter_Future struct{ *capnp.Future }

Node_Parameter_Future is a wrapper for a Node_Parameter promised by a client call.

func (Node_Parameter_Future) Struct

type Node_Parameter_List

type Node_Parameter_List = capnp.StructList[Node_Parameter]

Node_Parameter_List is a list of Node_Parameter.

func NewNode_Parameter_List

func NewNode_Parameter_List(s *capnp.Segment, sz int32) (Node_Parameter_List, error)

NewNode_Parameter creates a new list of Node_Parameter.

type Node_SourceInfo

type Node_SourceInfo capnp.Struct

func NewNode_SourceInfo

func NewNode_SourceInfo(s *capnp.Segment) (Node_SourceInfo, error)

func NewRootNode_SourceInfo

func NewRootNode_SourceInfo(s *capnp.Segment) (Node_SourceInfo, error)

func ReadRootNode_SourceInfo

func ReadRootNode_SourceInfo(msg *capnp.Message) (Node_SourceInfo, error)

func (Node_SourceInfo) DecodeFromPtr

func (Node_SourceInfo) DecodeFromPtr(p capnp.Ptr) Node_SourceInfo

func (Node_SourceInfo) DocComment

func (s Node_SourceInfo) DocComment() (string, error)

func (Node_SourceInfo) DocCommentBytes

func (s Node_SourceInfo) DocCommentBytes() ([]byte, error)

func (Node_SourceInfo) EncodeAsPtr

func (s Node_SourceInfo) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Node_SourceInfo) HasDocComment

func (s Node_SourceInfo) HasDocComment() bool

func (Node_SourceInfo) HasMembers

func (s Node_SourceInfo) HasMembers() bool

func (Node_SourceInfo) Id

func (s Node_SourceInfo) Id() uint64

func (Node_SourceInfo) IsValid

func (s Node_SourceInfo) IsValid() bool

func (Node_SourceInfo) Members

func (Node_SourceInfo) Message

func (s Node_SourceInfo) Message() *capnp.Message

func (Node_SourceInfo) NewMembers

NewMembers sets the members field to a newly allocated Node_SourceInfo_Member_List, preferring placement in s's segment.

func (Node_SourceInfo) Segment

func (s Node_SourceInfo) Segment() *capnp.Segment

func (Node_SourceInfo) SetDocComment

func (s Node_SourceInfo) SetDocComment(v string) error

func (Node_SourceInfo) SetId

func (s Node_SourceInfo) SetId(v uint64)

func (Node_SourceInfo) SetMembers

func (Node_SourceInfo) String

func (s Node_SourceInfo) String() string

func (Node_SourceInfo) ToPtr

func (s Node_SourceInfo) ToPtr() capnp.Ptr

type Node_SourceInfo_Future

type Node_SourceInfo_Future struct{ *capnp.Future }

Node_SourceInfo_Future is a wrapper for a Node_SourceInfo promised by a client call.

func (Node_SourceInfo_Future) Struct

type Node_SourceInfo_List

type Node_SourceInfo_List = capnp.StructList[Node_SourceInfo]

Node_SourceInfo_List is a list of Node_SourceInfo.

func NewNode_SourceInfo_List

func NewNode_SourceInfo_List(s *capnp.Segment, sz int32) (Node_SourceInfo_List, error)

NewNode_SourceInfo creates a new list of Node_SourceInfo.

type Node_SourceInfo_Member

type Node_SourceInfo_Member capnp.Struct

func NewNode_SourceInfo_Member

func NewNode_SourceInfo_Member(s *capnp.Segment) (Node_SourceInfo_Member, error)

func NewRootNode_SourceInfo_Member

func NewRootNode_SourceInfo_Member(s *capnp.Segment) (Node_SourceInfo_Member, error)

func ReadRootNode_SourceInfo_Member

func ReadRootNode_SourceInfo_Member(msg *capnp.Message) (Node_SourceInfo_Member, error)

func (Node_SourceInfo_Member) DecodeFromPtr

func (Node_SourceInfo_Member) DocComment

func (s Node_SourceInfo_Member) DocComment() (string, error)

func (Node_SourceInfo_Member) DocCommentBytes

func (s Node_SourceInfo_Member) DocCommentBytes() ([]byte, error)

func (Node_SourceInfo_Member) EncodeAsPtr

func (s Node_SourceInfo_Member) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Node_SourceInfo_Member) HasDocComment

func (s Node_SourceInfo_Member) HasDocComment() bool

func (Node_SourceInfo_Member) IsValid

func (s Node_SourceInfo_Member) IsValid() bool

func (Node_SourceInfo_Member) Message

func (s Node_SourceInfo_Member) Message() *capnp.Message

func (Node_SourceInfo_Member) Segment

func (s Node_SourceInfo_Member) Segment() *capnp.Segment

func (Node_SourceInfo_Member) SetDocComment

func (s Node_SourceInfo_Member) SetDocComment(v string) error

func (Node_SourceInfo_Member) String

func (s Node_SourceInfo_Member) String() string

func (Node_SourceInfo_Member) ToPtr

func (s Node_SourceInfo_Member) ToPtr() capnp.Ptr

type Node_SourceInfo_Member_Future

type Node_SourceInfo_Member_Future struct{ *capnp.Future }

Node_SourceInfo_Member_Future is a wrapper for a Node_SourceInfo_Member promised by a client call.

func (Node_SourceInfo_Member_Future) Struct

type Node_SourceInfo_Member_List

type Node_SourceInfo_Member_List = capnp.StructList[Node_SourceInfo_Member]

Node_SourceInfo_Member_List is a list of Node_SourceInfo_Member.

func NewNode_SourceInfo_Member_List

func NewNode_SourceInfo_Member_List(s *capnp.Segment, sz int32) (Node_SourceInfo_Member_List, error)

NewNode_SourceInfo_Member creates a new list of Node_SourceInfo_Member.

type Node_Which

type Node_Which uint16
const (
	Node_Which_file       Node_Which = 0
	Node_Which_structNode Node_Which = 1
	Node_Which_enum       Node_Which = 2
	Node_Which_interface  Node_Which = 3
	Node_Which_const      Node_Which = 4
	Node_Which_annotation Node_Which = 5
)

func (Node_Which) String

func (w Node_Which) String() string

type Node_annotation

type Node_annotation Node

func (Node_annotation) HasType

func (s Node_annotation) HasType() bool

func (Node_annotation) IsValid

func (s Node_annotation) IsValid() bool

func (Node_annotation) Message

func (s Node_annotation) Message() *capnp.Message

func (Node_annotation) NewType

func (s Node_annotation) NewType() (Type, error)

NewType sets the type field to a newly allocated Type struct, preferring placement in s's segment.

func (Node_annotation) Segment

func (s Node_annotation) Segment() *capnp.Segment

func (Node_annotation) SetTargetsAnnotation

func (s Node_annotation) SetTargetsAnnotation(v bool)

func (Node_annotation) SetTargetsConst

func (s Node_annotation) SetTargetsConst(v bool)

func (Node_annotation) SetTargetsEnum

func (s Node_annotation) SetTargetsEnum(v bool)

func (Node_annotation) SetTargetsEnumerant

func (s Node_annotation) SetTargetsEnumerant(v bool)

func (Node_annotation) SetTargetsField

func (s Node_annotation) SetTargetsField(v bool)

func (Node_annotation) SetTargetsFile

func (s Node_annotation) SetTargetsFile(v bool)

func (Node_annotation) SetTargetsGroup

func (s Node_annotation) SetTargetsGroup(v bool)

func (Node_annotation) SetTargetsInterface

func (s Node_annotation) SetTargetsInterface(v bool)

func (Node_annotation) SetTargetsMethod

func (s Node_annotation) SetTargetsMethod(v bool)

func (Node_annotation) SetTargetsParam

func (s Node_annotation) SetTargetsParam(v bool)

func (Node_annotation) SetTargetsStruct

func (s Node_annotation) SetTargetsStruct(v bool)

func (Node_annotation) SetTargetsUnion

func (s Node_annotation) SetTargetsUnion(v bool)

func (Node_annotation) SetType

func (s Node_annotation) SetType(v Type) error

func (Node_annotation) TargetsAnnotation

func (s Node_annotation) TargetsAnnotation() bool

func (Node_annotation) TargetsConst

func (s Node_annotation) TargetsConst() bool

func (Node_annotation) TargetsEnum

func (s Node_annotation) TargetsEnum() bool

func (Node_annotation) TargetsEnumerant

func (s Node_annotation) TargetsEnumerant() bool

func (Node_annotation) TargetsField

func (s Node_annotation) TargetsField() bool

func (Node_annotation) TargetsFile

func (s Node_annotation) TargetsFile() bool

func (Node_annotation) TargetsGroup

func (s Node_annotation) TargetsGroup() bool

func (Node_annotation) TargetsInterface

func (s Node_annotation) TargetsInterface() bool

func (Node_annotation) TargetsMethod

func (s Node_annotation) TargetsMethod() bool

func (Node_annotation) TargetsParam

func (s Node_annotation) TargetsParam() bool

func (Node_annotation) TargetsStruct

func (s Node_annotation) TargetsStruct() bool

func (Node_annotation) TargetsUnion

func (s Node_annotation) TargetsUnion() bool

func (Node_annotation) Type

func (s Node_annotation) Type() (Type, error)

type Node_annotation_Future

type Node_annotation_Future struct{ *capnp.Future }

Node_annotation_Future is a wrapper for a Node_annotation promised by a client call.

func (Node_annotation_Future) Struct

func (Node_annotation_Future) Type

type Node_const

type Node_const Node

func (Node_const) HasType

func (s Node_const) HasType() bool

func (Node_const) HasValue

func (s Node_const) HasValue() bool

func (Node_const) IsValid

func (s Node_const) IsValid() bool

func (Node_const) Message

func (s Node_const) Message() *capnp.Message

func (Node_const) NewType

func (s Node_const) NewType() (Type, error)

NewType sets the type field to a newly allocated Type struct, preferring placement in s's segment.

func (Node_const) NewValue

func (s Node_const) NewValue() (Value, error)

NewValue sets the value field to a newly allocated Value struct, preferring placement in s's segment.

func (Node_const) Segment

func (s Node_const) Segment() *capnp.Segment

func (Node_const) SetType

func (s Node_const) SetType(v Type) error

func (Node_const) SetValue

func (s Node_const) SetValue(v Value) error

func (Node_const) Type

func (s Node_const) Type() (Type, error)

func (Node_const) Value

func (s Node_const) Value() (Value, error)

type Node_const_Future

type Node_const_Future struct{ *capnp.Future }

Node_const_Future is a wrapper for a Node_const promised by a client call.

func (Node_const_Future) Struct

func (f Node_const_Future) Struct() (Node_const, error)

func (Node_const_Future) Type

func (p Node_const_Future) Type() Type_Future

func (Node_const_Future) Value

func (p Node_const_Future) Value() Value_Future

type Node_enum

type Node_enum Node

func (Node_enum) Enumerants

func (s Node_enum) Enumerants() (Enumerant_List, error)

func (Node_enum) HasEnumerants

func (s Node_enum) HasEnumerants() bool

func (Node_enum) IsValid

func (s Node_enum) IsValid() bool

func (Node_enum) Message

func (s Node_enum) Message() *capnp.Message

func (Node_enum) NewEnumerants

func (s Node_enum) NewEnumerants(n int32) (Enumerant_List, error)

NewEnumerants sets the enumerants field to a newly allocated Enumerant_List, preferring placement in s's segment.

func (Node_enum) Segment

func (s Node_enum) Segment() *capnp.Segment

func (Node_enum) SetEnumerants

func (s Node_enum) SetEnumerants(v Enumerant_List) error

type Node_enum_Future

type Node_enum_Future struct{ *capnp.Future }

Node_enum_Future is a wrapper for a Node_enum promised by a client call.

func (Node_enum_Future) Struct

func (f Node_enum_Future) Struct() (Node_enum, error)

type Node_interface

type Node_interface Node

func (Node_interface) HasMethods

func (s Node_interface) HasMethods() bool

func (Node_interface) HasSuperclasses

func (s Node_interface) HasSuperclasses() bool

func (Node_interface) IsValid

func (s Node_interface) IsValid() bool

func (Node_interface) Message

func (s Node_interface) Message() *capnp.Message

func (Node_interface) Methods

func (s Node_interface) Methods() (Method_List, error)

func (Node_interface) NewMethods

func (s Node_interface) NewMethods(n int32) (Method_List, error)

NewMethods sets the methods field to a newly allocated Method_List, preferring placement in s's segment.

func (Node_interface) NewSuperclasses

func (s Node_interface) NewSuperclasses(n int32) (Superclass_List, error)

NewSuperclasses sets the superclasses field to a newly allocated Superclass_List, preferring placement in s's segment.

func (Node_interface) Segment

func (s Node_interface) Segment() *capnp.Segment

func (Node_interface) SetMethods

func (s Node_interface) SetMethods(v Method_List) error

func (Node_interface) SetSuperclasses

func (s Node_interface) SetSuperclasses(v Superclass_List) error

func (Node_interface) Superclasses

func (s Node_interface) Superclasses() (Superclass_List, error)

type Node_interface_Future

type Node_interface_Future struct{ *capnp.Future }

Node_interface_Future is a wrapper for a Node_interface promised by a client call.

func (Node_interface_Future) Struct

type Node_structNode

type Node_structNode Node

func (Node_structNode) DataWordCount

func (s Node_structNode) DataWordCount() uint16

func (Node_structNode) DiscriminantCount

func (s Node_structNode) DiscriminantCount() uint16

func (Node_structNode) DiscriminantOffset

func (s Node_structNode) DiscriminantOffset() uint32

func (Node_structNode) Fields

func (s Node_structNode) Fields() (Field_List, error)

func (Node_structNode) HasFields

func (s Node_structNode) HasFields() bool

func (Node_structNode) IsGroup

func (s Node_structNode) IsGroup() bool

func (Node_structNode) IsValid

func (s Node_structNode) IsValid() bool

func (Node_structNode) Message

func (s Node_structNode) Message() *capnp.Message

func (Node_structNode) NewFields

func (s Node_structNode) NewFields(n int32) (Field_List, error)

NewFields sets the fields field to a newly allocated Field_List, preferring placement in s's segment.

func (Node_structNode) PointerCount

func (s Node_structNode) PointerCount() uint16

func (Node_structNode) PreferredListEncoding

func (s Node_structNode) PreferredListEncoding() ElementSize

func (Node_structNode) Segment

func (s Node_structNode) Segment() *capnp.Segment

func (Node_structNode) SetDataWordCount

func (s Node_structNode) SetDataWordCount(v uint16)

func (Node_structNode) SetDiscriminantCount

func (s Node_structNode) SetDiscriminantCount(v uint16)

func (Node_structNode) SetDiscriminantOffset

func (s Node_structNode) SetDiscriminantOffset(v uint32)

func (Node_structNode) SetFields

func (s Node_structNode) SetFields(v Field_List) error

func (Node_structNode) SetIsGroup

func (s Node_structNode) SetIsGroup(v bool)

func (Node_structNode) SetPointerCount

func (s Node_structNode) SetPointerCount(v uint16)

func (Node_structNode) SetPreferredListEncoding

func (s Node_structNode) SetPreferredListEncoding(v ElementSize)

type Node_structNode_Future

type Node_structNode_Future struct{ *capnp.Future }

Node_structNode_Future is a wrapper for a Node_structNode promised by a client call.

func (Node_structNode_Future) Struct

type Superclass

type Superclass capnp.Struct

func NewRootSuperclass

func NewRootSuperclass(s *capnp.Segment) (Superclass, error)

func NewSuperclass

func NewSuperclass(s *capnp.Segment) (Superclass, error)

func ReadRootSuperclass

func ReadRootSuperclass(msg *capnp.Message) (Superclass, error)

func (Superclass) Brand

func (s Superclass) Brand() (Brand, error)

func (Superclass) DecodeFromPtr

func (Superclass) DecodeFromPtr(p capnp.Ptr) Superclass

func (Superclass) EncodeAsPtr

func (s Superclass) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Superclass) HasBrand

func (s Superclass) HasBrand() bool

func (Superclass) Id

func (s Superclass) Id() uint64

func (Superclass) IsValid

func (s Superclass) IsValid() bool

func (Superclass) Message

func (s Superclass) Message() *capnp.Message

func (Superclass) NewBrand

func (s Superclass) NewBrand() (Brand, error)

NewBrand sets the brand field to a newly allocated Brand struct, preferring placement in s's segment.

func (Superclass) Segment

func (s Superclass) Segment() *capnp.Segment

func (Superclass) SetBrand

func (s Superclass) SetBrand(v Brand) error

func (Superclass) SetId

func (s Superclass) SetId(v uint64)

func (Superclass) String

func (s Superclass) String() string

func (Superclass) ToPtr

func (s Superclass) ToPtr() capnp.Ptr

type Superclass_Future

type Superclass_Future struct{ *capnp.Future }

Superclass_Future is a wrapper for a Superclass promised by a client call.

func (Superclass_Future) Brand

func (p Superclass_Future) Brand() Brand_Future

func (Superclass_Future) Struct

func (f Superclass_Future) Struct() (Superclass, error)

type Superclass_List

type Superclass_List = capnp.StructList[Superclass]

Superclass_List is a list of Superclass.

func NewSuperclass_List

func NewSuperclass_List(s *capnp.Segment, sz int32) (Superclass_List, error)

NewSuperclass creates a new list of Superclass.

type Type

type Type capnp.Struct

func NewRootType

func NewRootType(s *capnp.Segment) (Type, error)

func NewType

func NewType(s *capnp.Segment) (Type, error)

func ReadRootType

func ReadRootType(msg *capnp.Message) (Type, error)

func (Type) AnyPointer

func (s Type) AnyPointer() Type_anyPointer

func (Type) DecodeFromPtr

func (Type) DecodeFromPtr(p capnp.Ptr) Type

func (Type) EncodeAsPtr

func (s Type) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Type) Enum

func (s Type) Enum() Type_enum

func (Type) Interface

func (s Type) Interface() Type_interface

func (Type) IsValid

func (s Type) IsValid() bool

func (Type) List

func (s Type) List() Type_list

func (Type) Message

func (s Type) Message() *capnp.Message

func (Type) Segment

func (s Type) Segment() *capnp.Segment

func (Type) SetAnyPointer

func (s Type) SetAnyPointer()

func (Type) SetBool

func (s Type) SetBool()

func (Type) SetData

func (s Type) SetData()

func (Type) SetEnum

func (s Type) SetEnum()

func (Type) SetFloat32

func (s Type) SetFloat32()

func (Type) SetFloat64

func (s Type) SetFloat64()

func (Type) SetInt16

func (s Type) SetInt16()

func (Type) SetInt32

func (s Type) SetInt32()

func (Type) SetInt64

func (s Type) SetInt64()

func (Type) SetInt8

func (s Type) SetInt8()

func (Type) SetInterface

func (s Type) SetInterface()

func (Type) SetList

func (s Type) SetList()

func (Type) SetStructType

func (s Type) SetStructType()

func (Type) SetText

func (s Type) SetText()

func (Type) SetUint16

func (s Type) SetUint16()

func (Type) SetUint32

func (s Type) SetUint32()

func (Type) SetUint64

func (s Type) SetUint64()

func (Type) SetUint8

func (s Type) SetUint8()

func (Type) SetVoid

func (s Type) SetVoid()

func (Type) String

func (s Type) String() string

func (Type) StructType

func (s Type) StructType() Type_structType

func (Type) ToPtr

func (s Type) ToPtr() capnp.Ptr

func (Type) Which

func (s Type) Which() Type_Which

type Type_Future

type Type_Future struct{ *capnp.Future }

Type_Future is a wrapper for a Type promised by a client call.

func (Type_Future) AnyPointer

func (p Type_Future) AnyPointer() Type_anyPointer_Future

func (Type_Future) Enum

func (p Type_Future) Enum() Type_enum_Future

func (Type_Future) Interface

func (p Type_Future) Interface() Type_interface_Future

func (Type_Future) List

func (p Type_Future) List() Type_list_Future

func (Type_Future) Struct

func (f Type_Future) Struct() (Type, error)

func (Type_Future) StructType

func (p Type_Future) StructType() Type_structType_Future

type Type_List

type Type_List = capnp.StructList[Type]

Type_List is a list of Type.

func NewType_List

func NewType_List(s *capnp.Segment, sz int32) (Type_List, error)

NewType creates a new list of Type.

type Type_Which

type Type_Which uint16
const (
	Type_Which_void       Type_Which = 0
	Type_Which_bool       Type_Which = 1
	Type_Which_int8       Type_Which = 2
	Type_Which_int16      Type_Which = 3
	Type_Which_int32      Type_Which = 4
	Type_Which_int64      Type_Which = 5
	Type_Which_uint8      Type_Which = 6
	Type_Which_uint16     Type_Which = 7
	Type_Which_uint32     Type_Which = 8
	Type_Which_uint64     Type_Which = 9
	Type_Which_float32    Type_Which = 10
	Type_Which_float64    Type_Which = 11
	Type_Which_text       Type_Which = 12
	Type_Which_data       Type_Which = 13
	Type_Which_list       Type_Which = 14
	Type_Which_enum       Type_Which = 15
	Type_Which_structType Type_Which = 16
	Type_Which_interface  Type_Which = 17
	Type_Which_anyPointer Type_Which = 18
)

func (Type_Which) String

func (w Type_Which) String() string

type Type_anyPointer

type Type_anyPointer Type

func (Type_anyPointer) ImplicitMethodParameter

func (s Type_anyPointer) ImplicitMethodParameter() Type_anyPointer_implicitMethodParameter

func (Type_anyPointer) IsValid

func (s Type_anyPointer) IsValid() bool

func (Type_anyPointer) Message

func (s Type_anyPointer) Message() *capnp.Message

func (Type_anyPointer) Parameter

func (Type_anyPointer) Segment

func (s Type_anyPointer) Segment() *capnp.Segment

func (Type_anyPointer) SetImplicitMethodParameter

func (s Type_anyPointer) SetImplicitMethodParameter()

func (Type_anyPointer) SetParameter

func (s Type_anyPointer) SetParameter()

func (Type_anyPointer) SetUnconstrained

func (s Type_anyPointer) SetUnconstrained()

func (Type_anyPointer) Unconstrained

func (Type_anyPointer) Which

type Type_anyPointer_Future

type Type_anyPointer_Future struct{ *capnp.Future }

Type_anyPointer_Future is a wrapper for a Type_anyPointer promised by a client call.

func (Type_anyPointer_Future) ImplicitMethodParameter

func (Type_anyPointer_Future) Parameter

func (Type_anyPointer_Future) Struct

func (Type_anyPointer_Future) Unconstrained

type Type_anyPointer_Which

type Type_anyPointer_Which uint16
const (
	Type_anyPointer_Which_unconstrained           Type_anyPointer_Which = 0
	Type_anyPointer_Which_parameter               Type_anyPointer_Which = 1
	Type_anyPointer_Which_implicitMethodParameter Type_anyPointer_Which = 2
)

func (Type_anyPointer_Which) String

func (w Type_anyPointer_Which) String() string

type Type_anyPointer_implicitMethodParameter

type Type_anyPointer_implicitMethodParameter Type

func (Type_anyPointer_implicitMethodParameter) IsValid

func (Type_anyPointer_implicitMethodParameter) Message

func (Type_anyPointer_implicitMethodParameter) ParameterIndex

func (Type_anyPointer_implicitMethodParameter) Segment

func (Type_anyPointer_implicitMethodParameter) SetParameterIndex

func (s Type_anyPointer_implicitMethodParameter) SetParameterIndex(v uint16)

type Type_anyPointer_implicitMethodParameter_Future

type Type_anyPointer_implicitMethodParameter_Future struct{ *capnp.Future }

Type_anyPointer_implicitMethodParameter_Future is a wrapper for a Type_anyPointer_implicitMethodParameter promised by a client call.

func (Type_anyPointer_implicitMethodParameter_Future) Struct

type Type_anyPointer_parameter

type Type_anyPointer_parameter Type

func (Type_anyPointer_parameter) IsValid

func (s Type_anyPointer_parameter) IsValid() bool

func (Type_anyPointer_parameter) Message

func (Type_anyPointer_parameter) ParameterIndex

func (s Type_anyPointer_parameter) ParameterIndex() uint16

func (Type_anyPointer_parameter) ScopeId

func (s Type_anyPointer_parameter) ScopeId() uint64

func (Type_anyPointer_parameter) Segment

func (Type_anyPointer_parameter) SetParameterIndex

func (s Type_anyPointer_parameter) SetParameterIndex(v uint16)

func (Type_anyPointer_parameter) SetScopeId

func (s Type_anyPointer_parameter) SetScopeId(v uint64)

type Type_anyPointer_parameter_Future

type Type_anyPointer_parameter_Future struct{ *capnp.Future }

Type_anyPointer_parameter_Future is a wrapper for a Type_anyPointer_parameter promised by a client call.

func (Type_anyPointer_parameter_Future) Struct

type Type_anyPointer_unconstrained

type Type_anyPointer_unconstrained Type

func (Type_anyPointer_unconstrained) IsValid

func (s Type_anyPointer_unconstrained) IsValid() bool

func (Type_anyPointer_unconstrained) Message

func (Type_anyPointer_unconstrained) Segment

func (Type_anyPointer_unconstrained) SetAnyKind

func (s Type_anyPointer_unconstrained) SetAnyKind()

func (Type_anyPointer_unconstrained) SetCapability

func (s Type_anyPointer_unconstrained) SetCapability()

func (Type_anyPointer_unconstrained) SetList

func (s Type_anyPointer_unconstrained) SetList()

func (Type_anyPointer_unconstrained) SetStruct

func (s Type_anyPointer_unconstrained) SetStruct()

func (Type_anyPointer_unconstrained) Which

type Type_anyPointer_unconstrained_Future

type Type_anyPointer_unconstrained_Future struct{ *capnp.Future }

Type_anyPointer_unconstrained_Future is a wrapper for a Type_anyPointer_unconstrained promised by a client call.

func (Type_anyPointer_unconstrained_Future) Struct

type Type_anyPointer_unconstrained_Which

type Type_anyPointer_unconstrained_Which uint16
const (
	Type_anyPointer_unconstrained_Which_anyKind    Type_anyPointer_unconstrained_Which = 0
	Type_anyPointer_unconstrained_Which_struct     Type_anyPointer_unconstrained_Which = 1
	Type_anyPointer_unconstrained_Which_list       Type_anyPointer_unconstrained_Which = 2
	Type_anyPointer_unconstrained_Which_capability Type_anyPointer_unconstrained_Which = 3
)

func (Type_anyPointer_unconstrained_Which) String

type Type_enum

type Type_enum Type

func (Type_enum) Brand

func (s Type_enum) Brand() (Brand, error)

func (Type_enum) HasBrand

func (s Type_enum) HasBrand() bool

func (Type_enum) IsValid

func (s Type_enum) IsValid() bool

func (Type_enum) Message

func (s Type_enum) Message() *capnp.Message

func (Type_enum) NewBrand

func (s Type_enum) NewBrand() (Brand, error)

NewBrand sets the brand field to a newly allocated Brand struct, preferring placement in s's segment.

func (Type_enum) Segment

func (s Type_enum) Segment() *capnp.Segment

func (Type_enum) SetBrand

func (s Type_enum) SetBrand(v Brand) error

func (Type_enum) SetTypeId

func (s Type_enum) SetTypeId(v uint64)

func (Type_enum) TypeId

func (s Type_enum) TypeId() uint64

type Type_enum_Future

type Type_enum_Future struct{ *capnp.Future }

Type_enum_Future is a wrapper for a Type_enum promised by a client call.

func (Type_enum_Future) Brand

func (p Type_enum_Future) Brand() Brand_Future

func (Type_enum_Future) Struct

func (f Type_enum_Future) Struct() (Type_enum, error)

type Type_interface

type Type_interface Type

func (Type_interface) Brand

func (s Type_interface) Brand() (Brand, error)

func (Type_interface) HasBrand

func (s Type_interface) HasBrand() bool

func (Type_interface) IsValid

func (s Type_interface) IsValid() bool

func (Type_interface) Message

func (s Type_interface) Message() *capnp.Message

func (Type_interface) NewBrand

func (s Type_interface) NewBrand() (Brand, error)

NewBrand sets the brand field to a newly allocated Brand struct, preferring placement in s's segment.

func (Type_interface) Segment

func (s Type_interface) Segment() *capnp.Segment

func (Type_interface) SetBrand

func (s Type_interface) SetBrand(v Brand) error

func (Type_interface) SetTypeId

func (s Type_interface) SetTypeId(v uint64)

func (Type_interface) TypeId

func (s Type_interface) TypeId() uint64

type Type_interface_Future

type Type_interface_Future struct{ *capnp.Future }

Type_interface_Future is a wrapper for a Type_interface promised by a client call.

func (Type_interface_Future) Brand

func (Type_interface_Future) Struct

type Type_list

type Type_list Type

func (Type_list) ElementType

func (s Type_list) ElementType() (Type, error)

func (Type_list) HasElementType

func (s Type_list) HasElementType() bool

func (Type_list) IsValid

func (s Type_list) IsValid() bool

func (Type_list) Message

func (s Type_list) Message() *capnp.Message

func (Type_list) NewElementType

func (s Type_list) NewElementType() (Type, error)

NewElementType sets the elementType field to a newly allocated Type struct, preferring placement in s's segment.

func (Type_list) Segment

func (s Type_list) Segment() *capnp.Segment

func (Type_list) SetElementType

func (s Type_list) SetElementType(v Type) error

type Type_list_Future

type Type_list_Future struct{ *capnp.Future }

Type_list_Future is a wrapper for a Type_list promised by a client call.

func (Type_list_Future) ElementType

func (p Type_list_Future) ElementType() Type_Future

func (Type_list_Future) Struct

func (f Type_list_Future) Struct() (Type_list, error)

type Type_structType

type Type_structType Type

func (Type_structType) Brand

func (s Type_structType) Brand() (Brand, error)

func (Type_structType) HasBrand

func (s Type_structType) HasBrand() bool

func (Type_structType) IsValid

func (s Type_structType) IsValid() bool

func (Type_structType) Message

func (s Type_structType) Message() *capnp.Message

func (Type_structType) NewBrand

func (s Type_structType) NewBrand() (Brand, error)

NewBrand sets the brand field to a newly allocated Brand struct, preferring placement in s's segment.

func (Type_structType) Segment

func (s Type_structType) Segment() *capnp.Segment

func (Type_structType) SetBrand

func (s Type_structType) SetBrand(v Brand) error

func (Type_structType) SetTypeId

func (s Type_structType) SetTypeId(v uint64)

func (Type_structType) TypeId

func (s Type_structType) TypeId() uint64

type Type_structType_Future

type Type_structType_Future struct{ *capnp.Future }

Type_structType_Future is a wrapper for a Type_structType promised by a client call.

func (Type_structType_Future) Brand

func (Type_structType_Future) Struct

type Value

type Value capnp.Struct

func NewRootValue

func NewRootValue(s *capnp.Segment) (Value, error)

func NewValue

func NewValue(s *capnp.Segment) (Value, error)

func ReadRootValue

func ReadRootValue(msg *capnp.Message) (Value, error)

func (Value) AnyPointer

func (s Value) AnyPointer() (capnp.Ptr, error)

func (Value) Bool

func (s Value) Bool() bool

func (Value) Data

func (s Value) Data() ([]byte, error)

func (Value) DecodeFromPtr

func (Value) DecodeFromPtr(p capnp.Ptr) Value

func (Value) EncodeAsPtr

func (s Value) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Value) Enum

func (s Value) Enum() uint16

func (Value) Float32

func (s Value) Float32() float32

func (Value) Float64

func (s Value) Float64() float64

func (Value) HasAnyPointer

func (s Value) HasAnyPointer() bool

func (Value) HasData

func (s Value) HasData() bool

func (Value) HasList

func (s Value) HasList() bool

func (Value) HasStructValue

func (s Value) HasStructValue() bool

func (Value) HasText

func (s Value) HasText() bool

func (Value) Int16

func (s Value) Int16() int16

func (Value) Int32

func (s Value) Int32() int32

func (Value) Int64

func (s Value) Int64() int64

func (Value) Int8

func (s Value) Int8() int8

func (Value) IsValid

func (s Value) IsValid() bool

func (Value) List

func (s Value) List() (capnp.Ptr, error)

func (Value) Message

func (s Value) Message() *capnp.Message

func (Value) Segment

func (s Value) Segment() *capnp.Segment

func (Value) SetAnyPointer

func (s Value) SetAnyPointer(v capnp.Ptr) error

func (Value) SetBool

func (s Value) SetBool(v bool)

func (Value) SetData

func (s Value) SetData(v []byte) error

func (Value) SetEnum

func (s Value) SetEnum(v uint16)

func (Value) SetFloat32

func (s Value) SetFloat32(v float32)

func (Value) SetFloat64

func (s Value) SetFloat64(v float64)

func (Value) SetInt16

func (s Value) SetInt16(v int16)

func (Value) SetInt32

func (s Value) SetInt32(v int32)

func (Value) SetInt64

func (s Value) SetInt64(v int64)

func (Value) SetInt8

func (s Value) SetInt8(v int8)

func (Value) SetInterface

func (s Value) SetInterface()

func (Value) SetList

func (s Value) SetList(v capnp.Ptr) error

func (Value) SetStructValue

func (s Value) SetStructValue(v capnp.Ptr) error

func (Value) SetText

func (s Value) SetText(v string) error

func (Value) SetUint16

func (s Value) SetUint16(v uint16)

func (Value) SetUint32

func (s Value) SetUint32(v uint32)

func (Value) SetUint64

func (s Value) SetUint64(v uint64)

func (Value) SetUint8

func (s Value) SetUint8(v uint8)

func (Value) SetVoid

func (s Value) SetVoid()

func (Value) String

func (s Value) String() string

func (Value) StructValue

func (s Value) StructValue() (capnp.Ptr, error)

func (Value) Text

func (s Value) Text() (string, error)

func (Value) TextBytes

func (s Value) TextBytes() ([]byte, error)

func (Value) ToPtr

func (s Value) ToPtr() capnp.Ptr

func (Value) Uint16

func (s Value) Uint16() uint16

func (Value) Uint32

func (s Value) Uint32() uint32

func (Value) Uint64

func (s Value) Uint64() uint64

func (Value) Uint8

func (s Value) Uint8() uint8

func (Value) Which

func (s Value) Which() Value_Which

type Value_Future

type Value_Future struct{ *capnp.Future }

Value_Future is a wrapper for a Value promised by a client call.

func (Value_Future) AnyPointer

func (p Value_Future) AnyPointer() *capnp.Future

func (Value_Future) List

func (p Value_Future) List() *capnp.Future

func (Value_Future) Struct

func (f Value_Future) Struct() (Value, error)

func (Value_Future) StructValue

func (p Value_Future) StructValue() *capnp.Future

type Value_List

type Value_List = capnp.StructList[Value]

Value_List is a list of Value.

func NewValue_List

func NewValue_List(s *capnp.Segment, sz int32) (Value_List, error)

NewValue creates a new list of Value.

type Value_Which

type Value_Which uint16
const (
	Value_Which_void        Value_Which = 0
	Value_Which_bool        Value_Which = 1
	Value_Which_int8        Value_Which = 2
	Value_Which_int16       Value_Which = 3
	Value_Which_int32       Value_Which = 4
	Value_Which_int64       Value_Which = 5
	Value_Which_uint8       Value_Which = 6
	Value_Which_uint16      Value_Which = 7
	Value_Which_uint32      Value_Which = 8
	Value_Which_uint64      Value_Which = 9
	Value_Which_float32     Value_Which = 10
	Value_Which_float64     Value_Which = 11
	Value_Which_text        Value_Which = 12
	Value_Which_data        Value_Which = 13
	Value_Which_list        Value_Which = 14
	Value_Which_enum        Value_Which = 15
	Value_Which_structValue Value_Which = 16
	Value_Which_interface   Value_Which = 17
	Value_Which_anyPointer  Value_Which = 18
)

func (Value_Which) String

func (w Value_Which) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL