Documentation
¶
Index ¶
- Variables
- func ValidateDirectionValue(message *DirectionValue) error
- func ValidateEmphasisTiming(message *EmphasisTiming) error
- func ValidateEventFieldWireName(message *EventFieldWireName) error
- func ValidateFieldTypeValue(message *FieldTypeValue) error
- func ValidateIdentifier(message *Identifier) error
- func ValidateMarkerValue(message *MarkerValue) error
- func ValidatePlacement(message *Placement) error
- func ValidatePulseTiming(message *PulseTiming) error
- func ValidateRegionIdentity(message *RegionIdentity) error
- func ValidateTokenValue(message *TokenValue) error
- func ValidateTriggerValue(message *TriggerValue) error
- func ValidateWireName(message *WireName) error
- type Direction
- type DirectionValue
- type EmphasisTiming
- func (*EmphasisTiming) Descriptor() ([]byte, []int)deprecated
- func (x *EmphasisTiming) GetDelayMilliseconds() int32
- func (x *EmphasisTiming) GetDurationMilliseconds() int32
- func (*EmphasisTiming) ProtoMessage()
- func (x *EmphasisTiming) ProtoReflect() protoreflect.Message
- func (x *EmphasisTiming) Reset()
- func (x *EmphasisTiming) String() string
- type EventFieldWireName
- func (*EventFieldWireName) Descriptor() ([]byte, []int)deprecated
- func (x *EventFieldWireName) GetValue() string
- func (*EventFieldWireName) ProtoMessage()
- func (x *EventFieldWireName) ProtoReflect() protoreflect.Message
- func (x *EventFieldWireName) Reset()
- func (x *EventFieldWireName) String() string
- type FieldType
- type FieldTypeValue
- type Identifier
- type Marker
- type MarkerValue
- type Placement
- type PulseTiming
- func (*PulseTiming) Descriptor() ([]byte, []int)deprecated
- func (x *PulseTiming) GetDelayMilliseconds() int32
- func (x *PulseTiming) GetDurationMilliseconds() int32
- func (*PulseTiming) ProtoMessage()
- func (x *PulseTiming) ProtoReflect() protoreflect.Message
- func (x *PulseTiming) Reset()
- func (x *PulseTiming) String() string
- type RegionIdentity
- type Token
- type TokenValue
- type Trigger
- type TriggerValue
- type WireName
Constants ¶
This section is empty.
Variables ¶
var ( Token_name = map[int32]string{ 0: "TOKEN_UNSPECIFIED", 1: "TOKEN_SURFACE", 2: "TOKEN_INK", 3: "TOKEN_MUTED", 4: "TOKEN_RULE", 5: "TOKEN_ACCENT", 6: "TOKEN_POSITIVE", 7: "TOKEN_WARNING", } Token_value = map[string]int32{ "TOKEN_UNSPECIFIED": 0, "TOKEN_SURFACE": 1, "TOKEN_INK": 2, "TOKEN_MUTED": 3, "TOKEN_RULE": 4, "TOKEN_ACCENT": 5, "TOKEN_POSITIVE": 6, "TOKEN_WARNING": 7, } )
Enum value maps for Token.
var ( Marker_name = map[int32]string{ 0: "MARKER_UNSPECIFIED", 1: "MARKER_LARGE", 2: "MARKER_SMALL", } Marker_value = map[string]int32{ "MARKER_UNSPECIFIED": 0, "MARKER_LARGE": 1, "MARKER_SMALL": 2, } )
Enum value maps for Marker.
var ( Direction_name = map[int32]string{ 0: "DIRECTION_UNSPECIFIED", 1: "DIRECTION_FORWARD", 2: "DIRECTION_REVERSE", } Direction_value = map[string]int32{ "DIRECTION_UNSPECIFIED": 0, "DIRECTION_FORWARD": 1, "DIRECTION_REVERSE": 2, } )
Enum value maps for Direction.
var ( Trigger_name = map[int32]string{ 0: "TRIGGER_UNSPECIFIED", 1: "TRIGGER_CLICK", 2: "TRIGGER_CHANGE", 3: "TRIGGER_INPUT", 4: "TRIGGER_SUBMIT", } Trigger_value = map[string]int32{ "TRIGGER_UNSPECIFIED": 0, "TRIGGER_CLICK": 1, "TRIGGER_CHANGE": 2, "TRIGGER_INPUT": 3, "TRIGGER_SUBMIT": 4, } )
Enum value maps for Trigger.
var ( FieldType_name = map[int32]string{ 0: "FIELD_TYPE_UNSPECIFIED", 1: "FIELD_TYPE_FLAG", 2: "FIELD_TYPE_COUNTER", 3: "FIELD_TYPE_COUNT", 4: "FIELD_TYPE_TEXT", } FieldType_value = map[string]int32{ "FIELD_TYPE_UNSPECIFIED": 0, "FIELD_TYPE_FLAG": 1, "FIELD_TYPE_COUNTER": 2, "FIELD_TYPE_COUNT": 3, "FIELD_TYPE_TEXT": 4, } )
Enum value maps for FieldType.
var File_widget_refinement_v1_refinement_proto protoreflect.FileDescriptor
Functions ¶
func ValidateDirectionValue ¶
func ValidateDirectionValue(message *DirectionValue) error
ValidateDirectionValue checks this message's annotated fields; it does not recurse. A failed predicate returns *liquidproto.Error. Nil input also returns an error.
func ValidateEmphasisTiming ¶
func ValidateEmphasisTiming(message *EmphasisTiming) error
ValidateEmphasisTiming checks this message's annotated fields; it does not recurse. A failed predicate returns *liquidproto.Error. Nil input also returns an error.
func ValidateEventFieldWireName ¶
func ValidateEventFieldWireName(message *EventFieldWireName) error
ValidateEventFieldWireName checks this message's annotated fields; it does not recurse. A failed predicate returns *liquidproto.Error. Nil input also returns an error.
func ValidateFieldTypeValue ¶
func ValidateFieldTypeValue(message *FieldTypeValue) error
ValidateFieldTypeValue checks this message's annotated fields; it does not recurse. A failed predicate returns *liquidproto.Error. Nil input also returns an error.
func ValidateIdentifier ¶
func ValidateIdentifier(message *Identifier) error
ValidateIdentifier checks this message's annotated fields; it does not recurse. A failed predicate returns *liquidproto.Error. Nil input also returns an error.
func ValidateMarkerValue ¶
func ValidateMarkerValue(message *MarkerValue) error
ValidateMarkerValue checks this message's annotated fields; it does not recurse. A failed predicate returns *liquidproto.Error. Nil input also returns an error.
func ValidatePlacement ¶
ValidatePlacement checks this message's annotated fields; it does not recurse. A failed predicate returns *liquidproto.Error. Nil input also returns an error.
func ValidatePulseTiming ¶
func ValidatePulseTiming(message *PulseTiming) error
ValidatePulseTiming checks this message's annotated fields; it does not recurse. A failed predicate returns *liquidproto.Error. Nil input also returns an error.
func ValidateRegionIdentity ¶
func ValidateRegionIdentity(message *RegionIdentity) error
ValidateRegionIdentity checks this message's annotated fields; it does not recurse. A failed predicate returns *liquidproto.Error. Nil input also returns an error.
func ValidateTokenValue ¶
func ValidateTokenValue(message *TokenValue) error
ValidateTokenValue checks this message's annotated fields; it does not recurse. A failed predicate returns *liquidproto.Error. Nil input also returns an error.
func ValidateTriggerValue ¶
func ValidateTriggerValue(message *TriggerValue) error
ValidateTriggerValue checks this message's annotated fields; it does not recurse. A failed predicate returns *liquidproto.Error. Nil input also returns an error.
func ValidateWireName ¶
ValidateWireName checks this message's annotated fields; it does not recurse. A failed predicate returns *liquidproto.Error. Nil input also returns an error.
Types ¶
type Direction ¶
type Direction int32
Direction is a channel's travel direction. A channel is never bidirectional: two directions are two channels. Ontology: Channel invariant "a channel has exactly one direction".
func (Direction) Descriptor ¶
func (Direction) Descriptor() protoreflect.EnumDescriptor
func (Direction) EnumDescriptor
deprecated
func (Direction) Number ¶
func (x Direction) Number() protoreflect.EnumNumber
func (Direction) Type ¶
func (Direction) Type() protoreflect.EnumType
type DirectionValue ¶
type DirectionValue struct {
Value Direction `protobuf:"varint,1,opt,name=value,proto3,enum=candace.widget.refinement.v1.Direction" json:"value,omitempty"`
// contains filtered or unexported fields
}
DirectionValue carries a resolved Direction, required and closed.
func (*DirectionValue) Descriptor
deprecated
func (*DirectionValue) Descriptor() ([]byte, []int)
Deprecated: Use DirectionValue.ProtoReflect.Descriptor instead.
func (*DirectionValue) GetValue ¶
func (x *DirectionValue) GetValue() Direction
func (*DirectionValue) ProtoMessage ¶
func (*DirectionValue) ProtoMessage()
func (*DirectionValue) ProtoReflect ¶
func (x *DirectionValue) ProtoReflect() protoreflect.Message
func (*DirectionValue) Reset ¶
func (x *DirectionValue) Reset()
func (*DirectionValue) String ¶
func (x *DirectionValue) String() string
type EmphasisTiming ¶
type EmphasisTiming struct {
DurationMilliseconds int32 `protobuf:"varint,1,opt,name=duration_milliseconds,json=durationMilliseconds,proto3" json:"duration_milliseconds,omitempty"`
DelayMilliseconds int32 `protobuf:"varint,2,opt,name=delay_milliseconds,json=delayMilliseconds,proto3" json:"delay_milliseconds,omitempty"`
// contains filtered or unexported fields
}
EmphasisTiming is an Emphasis's finite duration and non-negative delay. It is a distinct message from PulseTiming because the two are distinct ontology entries whose timings could diverge; sharing one message would couple them. Ontology: Emphasis invariant "duration > 0 and delay >= 0".
func (*EmphasisTiming) Descriptor
deprecated
func (*EmphasisTiming) Descriptor() ([]byte, []int)
Deprecated: Use EmphasisTiming.ProtoReflect.Descriptor instead.
func (*EmphasisTiming) GetDelayMilliseconds ¶
func (x *EmphasisTiming) GetDelayMilliseconds() int32
func (*EmphasisTiming) GetDurationMilliseconds ¶
func (x *EmphasisTiming) GetDurationMilliseconds() int32
func (*EmphasisTiming) ProtoMessage ¶
func (*EmphasisTiming) ProtoMessage()
func (*EmphasisTiming) ProtoReflect ¶
func (x *EmphasisTiming) ProtoReflect() protoreflect.Message
func (*EmphasisTiming) Reset ¶
func (x *EmphasisTiming) Reset()
func (*EmphasisTiming) String ¶
func (x *EmphasisTiming) String() string
type EventFieldWireName ¶
type EventFieldWireName struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
EventFieldWireName is one event payload field's wire name: lower_snake_case, matching the shipped snapshot vocabulary. Ontology: EventField invariant "wire field names are lower_snake_case". Validator: W101 (internal/validate/text.go, caseLowerSnake in spec.go).
func (*EventFieldWireName) Descriptor
deprecated
func (*EventFieldWireName) Descriptor() ([]byte, []int)
Deprecated: Use EventFieldWireName.ProtoReflect.Descriptor instead.
func (*EventFieldWireName) GetValue ¶
func (x *EventFieldWireName) GetValue() string
func (*EventFieldWireName) ProtoMessage ¶
func (*EventFieldWireName) ProtoMessage()
func (*EventFieldWireName) ProtoReflect ¶
func (x *EventFieldWireName) ProtoReflect() protoreflect.Message
func (*EventFieldWireName) Reset ¶
func (x *EventFieldWireName) Reset()
func (*EventFieldWireName) String ¶
func (x *EventFieldWireName) String() string
type FieldType ¶
type FieldType int32
FieldType is a state field's declared type, from the closed set flag, counter, count, text. Ontology: StateField declared type "one of flag, counter, count, text".
func (FieldType) Descriptor ¶
func (FieldType) Descriptor() protoreflect.EnumDescriptor
func (FieldType) EnumDescriptor
deprecated
func (FieldType) Number ¶
func (x FieldType) Number() protoreflect.EnumNumber
func (FieldType) Type ¶
func (FieldType) Type() protoreflect.EnumType
type FieldTypeValue ¶
type FieldTypeValue struct {
Value FieldType `protobuf:"varint,1,opt,name=value,proto3,enum=candace.widget.refinement.v1.FieldType" json:"value,omitempty"`
// contains filtered or unexported fields
}
FieldTypeValue carries a resolved FieldType, required and closed.
func (*FieldTypeValue) Descriptor
deprecated
func (*FieldTypeValue) Descriptor() ([]byte, []int)
Deprecated: Use FieldTypeValue.ProtoReflect.Descriptor instead.
func (*FieldTypeValue) GetValue ¶
func (x *FieldTypeValue) GetValue() FieldType
func (*FieldTypeValue) ProtoMessage ¶
func (*FieldTypeValue) ProtoMessage()
func (*FieldTypeValue) ProtoReflect ¶
func (x *FieldTypeValue) ProtoReflect() protoreflect.Message
func (*FieldTypeValue) Reset ¶
func (x *FieldTypeValue) Reset()
func (*FieldTypeValue) String ¶
func (x *FieldTypeValue) String() string
type Identifier ¶
type Identifier struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
Identifier is a document identifier written in lowerCamelCase — a state field, a predicate, a binding, a label, and every other construct but the widget itself and its scene. Ontology: StateField invariant "field names are lowerCamelCase"; the shared flag/predicate namespace. Validator: W101 (internal/validate/text.go, caseLowerCamel in spec.go).
func (*Identifier) Descriptor
deprecated
func (*Identifier) Descriptor() ([]byte, []int)
Deprecated: Use Identifier.ProtoReflect.Descriptor instead.
func (*Identifier) GetValue ¶
func (x *Identifier) GetValue() string
func (*Identifier) ProtoMessage ¶
func (*Identifier) ProtoMessage()
func (*Identifier) ProtoReflect ¶
func (x *Identifier) ProtoReflect() protoreflect.Message
func (*Identifier) Reset ¶
func (x *Identifier) Reset()
func (*Identifier) String ¶
func (x *Identifier) String() string
type Marker ¶
type Marker int32
Marker is a role's marker size. The set is closed at two. Ontology: Role invariant "a role fixes exactly one marker size".
func (Marker) Descriptor ¶
func (Marker) Descriptor() protoreflect.EnumDescriptor
func (Marker) EnumDescriptor
deprecated
func (Marker) Number ¶
func (x Marker) Number() protoreflect.EnumNumber
func (Marker) Type ¶
func (Marker) Type() protoreflect.EnumType
type MarkerValue ¶
type MarkerValue struct {
Value Marker `protobuf:"varint,1,opt,name=value,proto3,enum=candace.widget.refinement.v1.Marker" json:"value,omitempty"`
// contains filtered or unexported fields
}
MarkerValue carries a resolved Marker, required and closed.
func (*MarkerValue) Descriptor
deprecated
func (*MarkerValue) Descriptor() ([]byte, []int)
Deprecated: Use MarkerValue.ProtoReflect.Descriptor instead.
func (*MarkerValue) GetValue ¶
func (x *MarkerValue) GetValue() Marker
func (*MarkerValue) ProtoMessage ¶
func (*MarkerValue) ProtoMessage()
func (*MarkerValue) ProtoReflect ¶
func (x *MarkerValue) ProtoReflect() protoreflect.Message
func (*MarkerValue) Reset ¶
func (x *MarkerValue) Reset()
func (*MarkerValue) String ¶
func (x *MarkerValue) String() string
type Placement ¶
type Placement struct {
Left int32 `protobuf:"varint,1,opt,name=left,proto3" json:"left,omitempty"`
Top int32 `protobuf:"varint,2,opt,name=top,proto3" json:"top,omitempty"`
// contains filtered or unexported fields
}
Placement is a named point in the scene's normalized box, read as percentages. Ontology: Placement invariant "left and top are integers in [0, 100]". Validator: W104 (internal/validate/clause.go), range from spec.go's placementDeclaration.
func (*Placement) Descriptor
deprecated
func (*Placement) ProtoMessage ¶
func (*Placement) ProtoMessage()
func (*Placement) ProtoReflect ¶
func (x *Placement) ProtoReflect() protoreflect.Message
type PulseTiming ¶
type PulseTiming struct {
DurationMilliseconds int32 `protobuf:"varint,1,opt,name=duration_milliseconds,json=durationMilliseconds,proto3" json:"duration_milliseconds,omitempty"`
DelayMilliseconds int32 `protobuf:"varint,2,opt,name=delay_milliseconds,json=delayMilliseconds,proto3" json:"delay_milliseconds,omitempty"`
// contains filtered or unexported fields
}
PulseTiming is a Pulse's finite duration and its non-negative delay, in milliseconds. Ontology: Pulse invariant "duration > 0 and delay >= 0". Validator: the millisecondsClause minima in spec.go (duration 1, delay 0), reported as W104/W506 in clause.go.
func (*PulseTiming) Descriptor
deprecated
func (*PulseTiming) Descriptor() ([]byte, []int)
Deprecated: Use PulseTiming.ProtoReflect.Descriptor instead.
func (*PulseTiming) GetDelayMilliseconds ¶
func (x *PulseTiming) GetDelayMilliseconds() int32
func (*PulseTiming) GetDurationMilliseconds ¶
func (x *PulseTiming) GetDurationMilliseconds() int32
func (*PulseTiming) ProtoMessage ¶
func (*PulseTiming) ProtoMessage()
func (*PulseTiming) ProtoReflect ¶
func (x *PulseTiming) ProtoReflect() protoreflect.Message
func (*PulseTiming) Reset ¶
func (x *PulseTiming) Reset()
func (*PulseTiming) String ¶
func (x *PulseTiming) String() string
type RegionIdentity ¶
type RegionIdentity struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
RegionIdentity is a Widget's region identity. It is named on the wire by every patch, so the pattern is a stability contract, not a cosmetic one. Ontology: Widget invariant "region matches ^[A-Za-z0-9_:.-]{1,64}$". Validator: W108 (internal/validate/text.go).
func (*RegionIdentity) Descriptor
deprecated
func (*RegionIdentity) Descriptor() ([]byte, []int)
Deprecated: Use RegionIdentity.ProtoReflect.Descriptor instead.
func (*RegionIdentity) GetValue ¶
func (x *RegionIdentity) GetValue() string
func (*RegionIdentity) ProtoMessage ¶
func (*RegionIdentity) ProtoMessage()
func (*RegionIdentity) ProtoReflect ¶
func (x *RegionIdentity) ProtoReflect() protoreflect.Message
func (*RegionIdentity) Reset ¶
func (x *RegionIdentity) Reset()
func (*RegionIdentity) String ¶
func (x *RegionIdentity) String() string
type Token ¶
type Token int32
Token is the closed namespace of the seven semantic token names. The enum is the closed set; a value of 1..7 is the required, resolved name. Ontology: Token invariant "the token namespace is closed at seven semantic names"; the Role -> Token, Channel -> Token, Orbit -> Token cardinalities. Validator: W204 (internal/validate) for an unknown name; W203 for the wrong kind.
func (Token) Descriptor ¶
func (Token) Descriptor() protoreflect.EnumDescriptor
func (Token) EnumDescriptor
deprecated
func (Token) Number ¶
func (x Token) Number() protoreflect.EnumNumber
func (Token) Type ¶
func (Token) Type() protoreflect.EnumType
type TokenValue ¶
type TokenValue struct {
Value Token `protobuf:"varint,1,opt,name=value,proto3,enum=candace.widget.refinement.v1.Token" json:"value,omitempty"`
// contains filtered or unexported fields
}
TokenValue carries a resolved Token. The refinement proves the value is one of the seven, never the unspecified zero: a token that does not resolve is an error, never a fallback.
func (*TokenValue) Descriptor
deprecated
func (*TokenValue) Descriptor() ([]byte, []int)
Deprecated: Use TokenValue.ProtoReflect.Descriptor instead.
func (*TokenValue) GetValue ¶
func (x *TokenValue) GetValue() Token
func (*TokenValue) ProtoMessage ¶
func (*TokenValue) ProtoMessage()
func (*TokenValue) ProtoReflect ¶
func (x *TokenValue) ProtoReflect() protoreflect.Message
func (*TokenValue) Reset ¶
func (x *TokenValue) Reset()
func (*TokenValue) String ¶
func (x *TokenValue) String() string
type Trigger ¶
type Trigger int32
Trigger is a control's DOM interaction, from the closed set click, change, input, submit. Ontology: Control cardinality "Control -> DOM trigger, exactly 1, from the closed set".
func (Trigger) Descriptor ¶
func (Trigger) Descriptor() protoreflect.EnumDescriptor
func (Trigger) EnumDescriptor
deprecated
func (Trigger) Number ¶
func (x Trigger) Number() protoreflect.EnumNumber
func (Trigger) Type ¶
func (Trigger) Type() protoreflect.EnumType
type TriggerValue ¶
type TriggerValue struct {
Value Trigger `protobuf:"varint,1,opt,name=value,proto3,enum=candace.widget.refinement.v1.Trigger" json:"value,omitempty"`
// contains filtered or unexported fields
}
TriggerValue carries a resolved Trigger, required and closed.
func (*TriggerValue) Descriptor
deprecated
func (*TriggerValue) Descriptor() ([]byte, []int)
Deprecated: Use TriggerValue.ProtoReflect.Descriptor instead.
func (*TriggerValue) GetValue ¶
func (x *TriggerValue) GetValue() Trigger
func (*TriggerValue) ProtoMessage ¶
func (*TriggerValue) ProtoMessage()
func (*TriggerValue) ProtoReflect ¶
func (x *TriggerValue) ProtoReflect() protoreflect.Message
func (*TriggerValue) Reset ¶
func (x *TriggerValue) Reset()
func (*TriggerValue) String ¶
func (x *TriggerValue) String() string
type WireName ¶
type WireName struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
WireName is the identifier a host registers for an inbound event. The runtime binding grammar treats `:` and `;` as structural, and an empty name silences every binding behind it, so both are refused here. Ontology: EventDeclaration invariant "wire name matches the runtime's shape"; Control invariant "neither trigger nor event name may contain : or ;". Validator: W109 (internal/validate/text.go). The runtime-minted set (W413) is a closed-set membership check, not a local refinement, and stays validator-only.
func (*WireName) Descriptor
deprecated
func (*WireName) ProtoMessage ¶
func (*WireName) ProtoMessage()
func (*WireName) ProtoReflect ¶
func (x *WireName) ProtoReflect() protoreflect.Message