schema

package
v2.18.2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: MIT Imports: 5 Imported by: 3

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 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_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

This section is empty.

Types

type Annotation

type Annotation struct{ 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) HasBrand

func (s Annotation) HasBrand() bool

func (Annotation) HasValue

func (s Annotation) HasValue() bool

func (Annotation) Id

func (s Annotation) Id() uint64

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) 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) Value

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

type Annotation_List

type Annotation_List struct{ capnp.List }

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.

func (Annotation_List) At

func (s Annotation_List) At(i int) Annotation

func (Annotation_List) Set

func (s Annotation_List) Set(i int, v Annotation) error

func (Annotation_List) String

func (s Annotation_List) String() string

type Annotation_Promise

type Annotation_Promise struct{ *capnp.Pipeline }

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

func (Annotation_Promise) Brand

func (Annotation_Promise) Struct

func (p Annotation_Promise) Struct() (Annotation, error)

func (Annotation_Promise) Value

type Brand

type Brand struct{ 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) HasScopes

func (s Brand) HasScopes() bool

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) SetScopes

func (s Brand) SetScopes(v Brand_Scope_List) error

func (Brand) String

func (s Brand) String() string

type Brand_Binding

type Brand_Binding struct{ 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) HasType

func (s Brand_Binding) HasType() bool

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) 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) Type

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

func (Brand_Binding) Which

type Brand_Binding_List

type Brand_Binding_List struct{ capnp.List }

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.

func (Brand_Binding_List) At

func (Brand_Binding_List) Set

func (Brand_Binding_List) String

func (s Brand_Binding_List) String() string

type Brand_Binding_Promise

type Brand_Binding_Promise struct{ *capnp.Pipeline }

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

func (Brand_Binding_Promise) Struct

func (Brand_Binding_Promise) Type

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_List

type Brand_List struct{ capnp.List }

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.

func (Brand_List) At

func (s Brand_List) At(i int) Brand

func (Brand_List) Set

func (s Brand_List) Set(i int, v Brand) error

func (Brand_List) String

func (s Brand_List) String() string

type Brand_Promise

type Brand_Promise struct{ *capnp.Pipeline }

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

func (Brand_Promise) Struct

func (p Brand_Promise) Struct() (Brand, error)

type Brand_Scope

type Brand_Scope struct{ 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) HasBind

func (s Brand_Scope) HasBind() bool

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) 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) Which

func (s Brand_Scope) Which() Brand_Scope_Which

type Brand_Scope_List

type Brand_Scope_List struct{ capnp.List }

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.

func (Brand_Scope_List) At

func (Brand_Scope_List) Set

func (s Brand_Scope_List) Set(i int, v Brand_Scope) error

func (Brand_Scope_List) String

func (s Brand_Scope_List) String() string

type Brand_Scope_Promise

type Brand_Scope_Promise struct{ *capnp.Pipeline }

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

func (Brand_Scope_Promise) Struct

func (p Brand_Scope_Promise) Struct() (Brand_Scope, error)

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 CodeGeneratorRequest

type CodeGeneratorRequest struct{ 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) HasNodes

func (s CodeGeneratorRequest) HasNodes() bool

func (CodeGeneratorRequest) HasRequestedFiles

func (s CodeGeneratorRequest) HasRequestedFiles() bool

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) Nodes

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

func (CodeGeneratorRequest) RequestedFiles

func (CodeGeneratorRequest) SetNodes

func (s CodeGeneratorRequest) SetNodes(v Node_List) error

func (CodeGeneratorRequest) SetRequestedFiles

func (CodeGeneratorRequest) String

func (s CodeGeneratorRequest) String() string

type CodeGeneratorRequest_List

type CodeGeneratorRequest_List struct{ capnp.List }

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.

func (CodeGeneratorRequest_List) At

func (CodeGeneratorRequest_List) Set

func (CodeGeneratorRequest_List) String

func (s CodeGeneratorRequest_List) String() string

type CodeGeneratorRequest_Promise

type CodeGeneratorRequest_Promise struct{ *capnp.Pipeline }

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

func (CodeGeneratorRequest_Promise) Struct

type CodeGeneratorRequest_RequestedFile

type CodeGeneratorRequest_RequestedFile struct{ 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) 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) NewImports

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

func (CodeGeneratorRequest_RequestedFile) SetFilename

func (CodeGeneratorRequest_RequestedFile) SetId

func (CodeGeneratorRequest_RequestedFile) SetImports

func (CodeGeneratorRequest_RequestedFile) String

type CodeGeneratorRequest_RequestedFile_Import

type CodeGeneratorRequest_RequestedFile_Import struct{ 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) HasName

func (CodeGeneratorRequest_RequestedFile_Import) Id

func (CodeGeneratorRequest_RequestedFile_Import) Name

func (CodeGeneratorRequest_RequestedFile_Import) NameBytes

func (CodeGeneratorRequest_RequestedFile_Import) SetId

func (CodeGeneratorRequest_RequestedFile_Import) SetName

func (CodeGeneratorRequest_RequestedFile_Import) String

type CodeGeneratorRequest_RequestedFile_Import_List

type CodeGeneratorRequest_RequestedFile_Import_List struct{ capnp.List }

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.

func (CodeGeneratorRequest_RequestedFile_Import_List) At

func (CodeGeneratorRequest_RequestedFile_Import_List) Set

func (CodeGeneratorRequest_RequestedFile_Import_List) String

type CodeGeneratorRequest_RequestedFile_Import_Promise

type CodeGeneratorRequest_RequestedFile_Import_Promise struct{ *capnp.Pipeline }

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

func (CodeGeneratorRequest_RequestedFile_Import_Promise) Struct

type CodeGeneratorRequest_RequestedFile_List

type CodeGeneratorRequest_RequestedFile_List struct{ capnp.List }

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.

func (CodeGeneratorRequest_RequestedFile_List) At

func (CodeGeneratorRequest_RequestedFile_List) Set

func (CodeGeneratorRequest_RequestedFile_List) String

type CodeGeneratorRequest_RequestedFile_Promise

type CodeGeneratorRequest_RequestedFile_Promise struct{ *capnp.Pipeline }

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

func (CodeGeneratorRequest_RequestedFile_Promise) Struct

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 struct{ capnp.List }

func NewElementSize_List

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

func (ElementSize_List) At

func (ElementSize_List) Set

func (l ElementSize_List) Set(i int, v ElementSize)

type Enumerant

type Enumerant struct{ 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) HasAnnotations

func (s Enumerant) HasAnnotations() bool

func (Enumerant) HasName

func (s Enumerant) HasName() bool

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) 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

type Enumerant_List

type Enumerant_List struct{ capnp.List }

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.

func (Enumerant_List) At

func (s Enumerant_List) At(i int) Enumerant

func (Enumerant_List) Set

func (s Enumerant_List) Set(i int, v Enumerant) error

func (Enumerant_List) String

func (s Enumerant_List) String() string

type Enumerant_Promise

type Enumerant_Promise struct{ *capnp.Pipeline }

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

func (Enumerant_Promise) Struct

func (p Enumerant_Promise) Struct() (Enumerant, error)

type Field

type Field struct{ 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) DiscriminantValue

func (s Field) DiscriminantValue() uint16

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) 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) 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) Which

func (s Field) Which() Field_Which

type Field_List

type Field_List struct{ capnp.List }

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.

func (Field_List) At

func (s Field_List) At(i int) Field

func (Field_List) Set

func (s Field_List) Set(i int, v Field) error

func (Field_List) String

func (s Field_List) String() string

type Field_Promise

type Field_Promise struct{ *capnp.Pipeline }

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

func (Field_Promise) Group

func (Field_Promise) Ordinal

func (Field_Promise) Slot

func (Field_Promise) Struct

func (p Field_Promise) Struct() (Field, error)

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) SetTypeId

func (s Field_group) SetTypeId(v uint64)

func (Field_group) TypeId

func (s Field_group) TypeId() uint64

type Field_group_Promise

type Field_group_Promise struct{ *capnp.Pipeline }

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

func (Field_group_Promise) Struct

func (p Field_group_Promise) Struct() (Field_group, error)

type Field_ordinal

type Field_ordinal Field

func (Field_ordinal) Explicit

func (s Field_ordinal) Explicit() uint16

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_Promise

type Field_ordinal_Promise struct{ *capnp.Pipeline }

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

func (Field_ordinal_Promise) 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) 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) 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_Promise

type Field_slot_Promise struct{ *capnp.Pipeline }

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

func (Field_slot_Promise) DefaultValue

func (p Field_slot_Promise) DefaultValue() Value_Promise

func (Field_slot_Promise) Struct

func (p Field_slot_Promise) Struct() (Field_slot, error)

func (Field_slot_Promise) Type

type Method

type Method struct{ 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) 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) 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) 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

type Method_List

type Method_List struct{ capnp.List }

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.

func (Method_List) At

func (s Method_List) At(i int) Method

func (Method_List) Set

func (s Method_List) Set(i int, v Method) error

func (Method_List) String

func (s Method_List) String() string

type Method_Promise

type Method_Promise struct{ *capnp.Pipeline }

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

func (Method_Promise) ParamBrand

func (p Method_Promise) ParamBrand() Brand_Promise

func (Method_Promise) ResultBrand

func (p Method_Promise) ResultBrand() Brand_Promise

func (Method_Promise) Struct

func (p Method_Promise) Struct() (Method, error)

type Node

type Node struct{ 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) 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) 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) 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) 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) Which

func (s Node) Which() Node_Which

type Node_List

type Node_List struct{ capnp.List }

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.

func (Node_List) At

func (s Node_List) At(i int) Node

func (Node_List) Set

func (s Node_List) Set(i int, v Node) error

func (Node_List) String

func (s Node_List) String() string

type Node_NestedNode

type Node_NestedNode struct{ 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) HasName

func (s Node_NestedNode) HasName() bool

func (Node_NestedNode) Id

func (s Node_NestedNode) Id() uint64

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) 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

type Node_NestedNode_List

type Node_NestedNode_List struct{ capnp.List }

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.

func (Node_NestedNode_List) At

func (Node_NestedNode_List) Set

func (Node_NestedNode_List) String

func (s Node_NestedNode_List) String() string

type Node_NestedNode_Promise

type Node_NestedNode_Promise struct{ *capnp.Pipeline }

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

func (Node_NestedNode_Promise) Struct

type Node_Parameter

type Node_Parameter struct{ 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) HasName

func (s Node_Parameter) HasName() bool

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) SetName

func (s Node_Parameter) SetName(v string) error

func (Node_Parameter) String

func (s Node_Parameter) String() string

type Node_Parameter_List

type Node_Parameter_List struct{ capnp.List }

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.

func (Node_Parameter_List) At

func (Node_Parameter_List) Set

func (Node_Parameter_List) String

func (s Node_Parameter_List) String() string

type Node_Parameter_Promise

type Node_Parameter_Promise struct{ *capnp.Pipeline }

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

func (Node_Parameter_Promise) Struct

type Node_Promise

type Node_Promise struct{ *capnp.Pipeline }

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

func (Node_Promise) Annotation

func (p Node_Promise) Annotation() Node_annotation_Promise

func (Node_Promise) Const

func (p Node_Promise) Const() Node_const_Promise

func (Node_Promise) Enum

func (Node_Promise) Interface

func (p Node_Promise) Interface() Node_interface_Promise

func (Node_Promise) Struct

func (p Node_Promise) Struct() (Node, error)

func (Node_Promise) StructNode

func (p Node_Promise) StructNode() Node_structNode_Promise

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) 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) 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_Promise

type Node_annotation_Promise struct{ *capnp.Pipeline }

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

func (Node_annotation_Promise) Struct

func (Node_annotation_Promise) 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) 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) 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_Promise

type Node_const_Promise struct{ *capnp.Pipeline }

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

func (Node_const_Promise) Struct

func (p Node_const_Promise) Struct() (Node_const, error)

func (Node_const_Promise) Type

func (Node_const_Promise) Value

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) 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) SetEnumerants

func (s Node_enum) SetEnumerants(v Enumerant_List) error

type Node_enum_Promise

type Node_enum_Promise struct{ *capnp.Pipeline }

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

func (Node_enum_Promise) Struct

func (p Node_enum_Promise) 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) 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) 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_Promise

type Node_interface_Promise struct{ *capnp.Pipeline }

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

func (Node_interface_Promise) 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) 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) 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_Promise

type Node_structNode_Promise struct{ *capnp.Pipeline }

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

func (Node_structNode_Promise) Struct

type Superclass

type Superclass struct{ 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) HasBrand

func (s Superclass) HasBrand() bool

func (Superclass) Id

func (s Superclass) Id() uint64

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) 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

type Superclass_List

type Superclass_List struct{ capnp.List }

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.

func (Superclass_List) At

func (s Superclass_List) At(i int) Superclass

func (Superclass_List) Set

func (s Superclass_List) Set(i int, v Superclass) error

func (Superclass_List) String

func (s Superclass_List) String() string

type Superclass_Promise

type Superclass_Promise struct{ *capnp.Pipeline }

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

func (Superclass_Promise) Brand

func (Superclass_Promise) Struct

func (p Superclass_Promise) Struct() (Superclass, error)

type Type

type Type struct{ 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) Enum

func (s Type) Enum() Type_enum

func (Type) Interface

func (s Type) Interface() Type_interface

func (Type) List

func (s Type) List() Type_list

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) Which

func (s Type) Which() Type_Which

type Type_List

type Type_List struct{ capnp.List }

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.

func (Type_List) At

func (s Type_List) At(i int) Type

func (Type_List) Set

func (s Type_List) Set(i int, v Type) error

func (Type_List) String

func (s Type_List) String() string

type Type_Promise

type Type_Promise struct{ *capnp.Pipeline }

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

func (Type_Promise) AnyPointer

func (p Type_Promise) AnyPointer() Type_anyPointer_Promise

func (Type_Promise) Enum

func (Type_Promise) Interface

func (p Type_Promise) Interface() Type_interface_Promise

func (Type_Promise) List

func (Type_Promise) Struct

func (p Type_Promise) Struct() (Type, error)

func (Type_Promise) StructType

func (p Type_Promise) StructType() Type_structType_Promise

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) Parameter

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_Promise

type Type_anyPointer_Promise struct{ *capnp.Pipeline }

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

func (Type_anyPointer_Promise) ImplicitMethodParameter

func (Type_anyPointer_Promise) Parameter

func (Type_anyPointer_Promise) Struct

func (Type_anyPointer_Promise) 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) ParameterIndex

func (Type_anyPointer_implicitMethodParameter) SetParameterIndex

func (s Type_anyPointer_implicitMethodParameter) SetParameterIndex(v uint16)

type Type_anyPointer_implicitMethodParameter_Promise

type Type_anyPointer_implicitMethodParameter_Promise struct{ *capnp.Pipeline }

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

func (Type_anyPointer_implicitMethodParameter_Promise) Struct

type Type_anyPointer_parameter

type Type_anyPointer_parameter Type

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) 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_Promise

type Type_anyPointer_parameter_Promise struct{ *capnp.Pipeline }

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

func (Type_anyPointer_parameter_Promise) Struct

type Type_anyPointer_unconstrained

type Type_anyPointer_unconstrained Type

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_Promise

type Type_anyPointer_unconstrained_Promise struct{ *capnp.Pipeline }

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

func (Type_anyPointer_unconstrained_Promise) 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) 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) 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_Promise

type Type_enum_Promise struct{ *capnp.Pipeline }

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

func (Type_enum_Promise) Brand

func (p Type_enum_Promise) Brand() Brand_Promise

func (Type_enum_Promise) Struct

func (p Type_enum_Promise) 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) 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) 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_Promise

type Type_interface_Promise struct{ *capnp.Pipeline }

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

func (Type_interface_Promise) Brand

func (Type_interface_Promise) 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) 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) SetElementType

func (s Type_list) SetElementType(v Type) error

type Type_list_Promise

type Type_list_Promise struct{ *capnp.Pipeline }

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

func (Type_list_Promise) ElementType

func (p Type_list_Promise) ElementType() Type_Promise

func (Type_list_Promise) Struct

func (p Type_list_Promise) 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) 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) 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_Promise

type Type_structType_Promise struct{ *capnp.Pipeline }

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

func (Type_structType_Promise) Brand

func (Type_structType_Promise) Struct

type Value

type Value struct{ 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.Pointer, error)

func (Value) AnyPointerPtr

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

func (Value) Bool

func (s Value) Bool() bool

func (Value) Data

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

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) List

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

func (Value) ListPtr

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

func (Value) SetAnyPointer

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

func (Value) SetAnyPointerPtr

func (s Value) SetAnyPointerPtr(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.Pointer) error

func (Value) SetListPtr

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

func (Value) SetStructValue

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

func (Value) SetStructValuePtr

func (s Value) SetStructValuePtr(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.Pointer, error)

func (Value) StructValuePtr

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

func (Value) Text

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

func (Value) TextBytes

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

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_List

type Value_List struct{ capnp.List }

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.

func (Value_List) At

func (s Value_List) At(i int) Value

func (Value_List) Set

func (s Value_List) Set(i int, v Value) error

func (Value_List) String

func (s Value_List) String() string

type Value_Promise

type Value_Promise struct{ *capnp.Pipeline }

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

func (Value_Promise) AnyPointer

func (p Value_Promise) AnyPointer() *capnp.Pipeline

func (Value_Promise) List

func (p Value_Promise) List() *capnp.Pipeline

func (Value_Promise) Struct

func (p Value_Promise) Struct() (Value, error)

func (Value_Promise) StructValue

func (p Value_Promise) StructValue() *capnp.Pipeline

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