Documentation ¶
Index ¶
- Constants
- type PowerboxDescriptor
- func (PowerboxDescriptor) DecodeFromPtr(p capnp.Ptr) PowerboxDescriptor
- func (s PowerboxDescriptor) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s PowerboxDescriptor) HasTags() bool
- func (s PowerboxDescriptor) IsValid() bool
- func (s PowerboxDescriptor) Message() *capnp.Message
- func (s PowerboxDescriptor) NewTags(n int32) (PowerboxDescriptor_Tag_List, error)
- func (s PowerboxDescriptor) Quality() PowerboxDescriptor_MatchQuality
- func (s PowerboxDescriptor) Segment() *capnp.Segment
- func (s PowerboxDescriptor) SetQuality(v PowerboxDescriptor_MatchQuality)
- func (s PowerboxDescriptor) SetTags(v PowerboxDescriptor_Tag_List) error
- func (s PowerboxDescriptor) String() string
- func (s PowerboxDescriptor) Tags() (PowerboxDescriptor_Tag_List, error)
- func (s PowerboxDescriptor) ToPtr() capnp.Ptr
- type PowerboxDescriptor_Future
- type PowerboxDescriptor_List
- type PowerboxDescriptor_MatchQuality
- type PowerboxDescriptor_MatchQuality_List
- type PowerboxDescriptor_Tag
- func (PowerboxDescriptor_Tag) DecodeFromPtr(p capnp.Ptr) PowerboxDescriptor_Tag
- func (s PowerboxDescriptor_Tag) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s PowerboxDescriptor_Tag) HasValue() bool
- func (s PowerboxDescriptor_Tag) Id() uint64
- func (s PowerboxDescriptor_Tag) IsValid() bool
- func (s PowerboxDescriptor_Tag) Message() *capnp.Message
- func (s PowerboxDescriptor_Tag) Segment() *capnp.Segment
- func (s PowerboxDescriptor_Tag) SetId(v uint64)
- func (s PowerboxDescriptor_Tag) SetValue(v capnp.Ptr) error
- func (s PowerboxDescriptor_Tag) String() string
- func (s PowerboxDescriptor_Tag) ToPtr() capnp.Ptr
- func (s PowerboxDescriptor_Tag) Value() (capnp.Ptr, error)
- type PowerboxDescriptor_Tag_Future
- type PowerboxDescriptor_Tag_List
- type PowerboxDisplayInfo
- func (PowerboxDisplayInfo) DecodeFromPtr(p capnp.Ptr) PowerboxDisplayInfo
- func (s PowerboxDisplayInfo) Description() (util.LocalizedText, error)
- func (s PowerboxDisplayInfo) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s PowerboxDisplayInfo) HasDescription() bool
- func (s PowerboxDisplayInfo) HasTitle() bool
- func (s PowerboxDisplayInfo) HasVerbPhrase() bool
- func (s PowerboxDisplayInfo) IsValid() bool
- func (s PowerboxDisplayInfo) Message() *capnp.Message
- func (s PowerboxDisplayInfo) NewDescription() (util.LocalizedText, error)
- func (s PowerboxDisplayInfo) NewTitle() (util.LocalizedText, error)
- func (s PowerboxDisplayInfo) NewVerbPhrase() (util.LocalizedText, error)
- func (s PowerboxDisplayInfo) Segment() *capnp.Segment
- func (s PowerboxDisplayInfo) SetDescription(v util.LocalizedText) error
- func (s PowerboxDisplayInfo) SetTitle(v util.LocalizedText) error
- func (s PowerboxDisplayInfo) SetVerbPhrase(v util.LocalizedText) error
- func (s PowerboxDisplayInfo) String() string
- func (s PowerboxDisplayInfo) Title() (util.LocalizedText, error)
- func (s PowerboxDisplayInfo) ToPtr() capnp.Ptr
- func (s PowerboxDisplayInfo) VerbPhrase() (util.LocalizedText, error)
- type PowerboxDisplayInfo_Future
- type PowerboxDisplayInfo_List
Constants ¶
const PowerboxDescriptor_MatchQuality_TypeID = 0xbb1afa45d25ce8de
PowerboxDescriptor_MatchQuality_TypeID is the unique identifier for the type PowerboxDescriptor_MatchQuality.
const PowerboxDescriptor_Tag_TypeID = 0xbe3d16a8df03c418
PowerboxDescriptor_Tag_TypeID is the unique identifier for the type PowerboxDescriptor_Tag.
const PowerboxDescriptor_TypeID = 0xedcf0fa3bfc71c58
PowerboxDescriptor_TypeID is the unique identifier for the type PowerboxDescriptor.
const PowerboxDisplayInfo_TypeID = 0xa553a209bee32bec
PowerboxDisplayInfo_TypeID is the unique identifier for the type PowerboxDisplayInfo.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PowerboxDescriptor ¶
func NewPowerboxDescriptor ¶
func NewPowerboxDescriptor(s *capnp.Segment) (PowerboxDescriptor, error)
func NewRootPowerboxDescriptor ¶
func NewRootPowerboxDescriptor(s *capnp.Segment) (PowerboxDescriptor, error)
func ReadRootPowerboxDescriptor ¶
func ReadRootPowerboxDescriptor(msg *capnp.Message) (PowerboxDescriptor, error)
func (PowerboxDescriptor) DecodeFromPtr ¶
func (PowerboxDescriptor) DecodeFromPtr(p capnp.Ptr) PowerboxDescriptor
func (PowerboxDescriptor) EncodeAsPtr ¶
func (s PowerboxDescriptor) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (PowerboxDescriptor) HasTags ¶
func (s PowerboxDescriptor) HasTags() bool
func (PowerboxDescriptor) IsValid ¶
func (s PowerboxDescriptor) IsValid() bool
func (PowerboxDescriptor) Message ¶
func (s PowerboxDescriptor) Message() *capnp.Message
func (PowerboxDescriptor) NewTags ¶
func (s PowerboxDescriptor) NewTags(n int32) (PowerboxDescriptor_Tag_List, error)
NewTags sets the tags field to a newly allocated PowerboxDescriptor_Tag_List, preferring placement in s's segment.
func (PowerboxDescriptor) Quality ¶
func (s PowerboxDescriptor) Quality() PowerboxDescriptor_MatchQuality
func (PowerboxDescriptor) Segment ¶
func (s PowerboxDescriptor) Segment() *capnp.Segment
func (PowerboxDescriptor) SetQuality ¶
func (s PowerboxDescriptor) SetQuality(v PowerboxDescriptor_MatchQuality)
func (PowerboxDescriptor) SetTags ¶
func (s PowerboxDescriptor) SetTags(v PowerboxDescriptor_Tag_List) error
func (PowerboxDescriptor) String ¶
func (s PowerboxDescriptor) String() string
func (PowerboxDescriptor) Tags ¶
func (s PowerboxDescriptor) Tags() (PowerboxDescriptor_Tag_List, error)
func (PowerboxDescriptor) ToPtr ¶
func (s PowerboxDescriptor) ToPtr() capnp.Ptr
type PowerboxDescriptor_Future ¶
PowerboxDescriptor_Future is a wrapper for a PowerboxDescriptor promised by a client call.
func (PowerboxDescriptor_Future) Struct ¶
func (f PowerboxDescriptor_Future) Struct() (PowerboxDescriptor, error)
type PowerboxDescriptor_List ¶
type PowerboxDescriptor_List = capnp.StructList[PowerboxDescriptor]
PowerboxDescriptor_List is a list of PowerboxDescriptor.
type PowerboxDescriptor_MatchQuality ¶
type PowerboxDescriptor_MatchQuality uint16
const ( PowerboxDescriptor_MatchQuality_preferred PowerboxDescriptor_MatchQuality = 1 PowerboxDescriptor_MatchQuality_acceptable PowerboxDescriptor_MatchQuality = 0 PowerboxDescriptor_MatchQuality_unacceptable PowerboxDescriptor_MatchQuality = 2 )
Values of PowerboxDescriptor_MatchQuality.
func PowerboxDescriptor_MatchQualityFromString ¶
func PowerboxDescriptor_MatchQualityFromString(c string) PowerboxDescriptor_MatchQuality
PowerboxDescriptor_MatchQualityFromString returns the enum value with a name, or the zero value if there's no such value.
func (PowerboxDescriptor_MatchQuality) String ¶
func (c PowerboxDescriptor_MatchQuality) String() string
String returns the enum's constant name.
type PowerboxDescriptor_MatchQuality_List ¶
type PowerboxDescriptor_MatchQuality_List = capnp.EnumList[PowerboxDescriptor_MatchQuality]
type PowerboxDescriptor_Tag ¶
func NewPowerboxDescriptor_Tag ¶
func NewPowerboxDescriptor_Tag(s *capnp.Segment) (PowerboxDescriptor_Tag, error)
func NewRootPowerboxDescriptor_Tag ¶
func NewRootPowerboxDescriptor_Tag(s *capnp.Segment) (PowerboxDescriptor_Tag, error)
func ReadRootPowerboxDescriptor_Tag ¶
func ReadRootPowerboxDescriptor_Tag(msg *capnp.Message) (PowerboxDescriptor_Tag, error)
func (PowerboxDescriptor_Tag) DecodeFromPtr ¶
func (PowerboxDescriptor_Tag) DecodeFromPtr(p capnp.Ptr) PowerboxDescriptor_Tag
func (PowerboxDescriptor_Tag) EncodeAsPtr ¶
func (s PowerboxDescriptor_Tag) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (PowerboxDescriptor_Tag) HasValue ¶
func (s PowerboxDescriptor_Tag) HasValue() bool
func (PowerboxDescriptor_Tag) Id ¶
func (s PowerboxDescriptor_Tag) Id() uint64
func (PowerboxDescriptor_Tag) IsValid ¶
func (s PowerboxDescriptor_Tag) IsValid() bool
func (PowerboxDescriptor_Tag) Message ¶
func (s PowerboxDescriptor_Tag) Message() *capnp.Message
func (PowerboxDescriptor_Tag) Segment ¶
func (s PowerboxDescriptor_Tag) Segment() *capnp.Segment
func (PowerboxDescriptor_Tag) SetId ¶
func (s PowerboxDescriptor_Tag) SetId(v uint64)
func (PowerboxDescriptor_Tag) SetValue ¶
func (s PowerboxDescriptor_Tag) SetValue(v capnp.Ptr) error
func (PowerboxDescriptor_Tag) String ¶
func (s PowerboxDescriptor_Tag) String() string
func (PowerboxDescriptor_Tag) ToPtr ¶
func (s PowerboxDescriptor_Tag) ToPtr() capnp.Ptr
func (PowerboxDescriptor_Tag) Value ¶
func (s PowerboxDescriptor_Tag) Value() (capnp.Ptr, error)
type PowerboxDescriptor_Tag_Future ¶
PowerboxDescriptor_Tag_Future is a wrapper for a PowerboxDescriptor_Tag promised by a client call.
func (PowerboxDescriptor_Tag_Future) Struct ¶
func (f PowerboxDescriptor_Tag_Future) Struct() (PowerboxDescriptor_Tag, error)
func (PowerboxDescriptor_Tag_Future) Value ¶
func (p PowerboxDescriptor_Tag_Future) Value() *capnp.Future
type PowerboxDescriptor_Tag_List ¶
type PowerboxDescriptor_Tag_List = capnp.StructList[PowerboxDescriptor_Tag]
PowerboxDescriptor_Tag_List is a list of PowerboxDescriptor_Tag.
type PowerboxDisplayInfo ¶
func NewPowerboxDisplayInfo ¶
func NewPowerboxDisplayInfo(s *capnp.Segment) (PowerboxDisplayInfo, error)
func NewRootPowerboxDisplayInfo ¶
func NewRootPowerboxDisplayInfo(s *capnp.Segment) (PowerboxDisplayInfo, error)
func ReadRootPowerboxDisplayInfo ¶
func ReadRootPowerboxDisplayInfo(msg *capnp.Message) (PowerboxDisplayInfo, error)
func (PowerboxDisplayInfo) DecodeFromPtr ¶
func (PowerboxDisplayInfo) DecodeFromPtr(p capnp.Ptr) PowerboxDisplayInfo
func (PowerboxDisplayInfo) Description ¶
func (s PowerboxDisplayInfo) Description() (util.LocalizedText, error)
func (PowerboxDisplayInfo) EncodeAsPtr ¶
func (s PowerboxDisplayInfo) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (PowerboxDisplayInfo) HasDescription ¶
func (s PowerboxDisplayInfo) HasDescription() bool
func (PowerboxDisplayInfo) HasTitle ¶
func (s PowerboxDisplayInfo) HasTitle() bool
func (PowerboxDisplayInfo) HasVerbPhrase ¶
func (s PowerboxDisplayInfo) HasVerbPhrase() bool
func (PowerboxDisplayInfo) IsValid ¶
func (s PowerboxDisplayInfo) IsValid() bool
func (PowerboxDisplayInfo) Message ¶
func (s PowerboxDisplayInfo) Message() *capnp.Message
func (PowerboxDisplayInfo) NewDescription ¶
func (s PowerboxDisplayInfo) NewDescription() (util.LocalizedText, error)
NewDescription sets the description field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.
func (PowerboxDisplayInfo) NewTitle ¶
func (s PowerboxDisplayInfo) NewTitle() (util.LocalizedText, error)
NewTitle sets the title field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.
func (PowerboxDisplayInfo) NewVerbPhrase ¶
func (s PowerboxDisplayInfo) NewVerbPhrase() (util.LocalizedText, error)
NewVerbPhrase sets the verbPhrase field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.
func (PowerboxDisplayInfo) Segment ¶
func (s PowerboxDisplayInfo) Segment() *capnp.Segment
func (PowerboxDisplayInfo) SetDescription ¶
func (s PowerboxDisplayInfo) SetDescription(v util.LocalizedText) error
func (PowerboxDisplayInfo) SetTitle ¶
func (s PowerboxDisplayInfo) SetTitle(v util.LocalizedText) error
func (PowerboxDisplayInfo) SetVerbPhrase ¶
func (s PowerboxDisplayInfo) SetVerbPhrase(v util.LocalizedText) error
func (PowerboxDisplayInfo) String ¶
func (s PowerboxDisplayInfo) String() string
func (PowerboxDisplayInfo) Title ¶
func (s PowerboxDisplayInfo) Title() (util.LocalizedText, error)
func (PowerboxDisplayInfo) ToPtr ¶
func (s PowerboxDisplayInfo) ToPtr() capnp.Ptr
func (PowerboxDisplayInfo) VerbPhrase ¶
func (s PowerboxDisplayInfo) VerbPhrase() (util.LocalizedText, error)
type PowerboxDisplayInfo_Future ¶
PowerboxDisplayInfo_Future is a wrapper for a PowerboxDisplayInfo promised by a client call.
func (PowerboxDisplayInfo_Future) Description ¶
func (p PowerboxDisplayInfo_Future) Description() util.LocalizedText_Future
func (PowerboxDisplayInfo_Future) Struct ¶
func (f PowerboxDisplayInfo_Future) Struct() (PowerboxDisplayInfo, error)
func (PowerboxDisplayInfo_Future) Title ¶
func (p PowerboxDisplayInfo_Future) Title() util.LocalizedText_Future
func (PowerboxDisplayInfo_Future) VerbPhrase ¶
func (p PowerboxDisplayInfo_Future) VerbPhrase() util.LocalizedText_Future
type PowerboxDisplayInfo_List ¶
type PowerboxDisplayInfo_List = capnp.StructList[PowerboxDisplayInfo]
PowerboxDisplayInfo_List is a list of PowerboxDisplayInfo.