s4wave_layout

package
v0.51.3 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const SRPCLayoutHostServiceID = "s4wave.layout.LayoutHost"

Variables

View Source
var (
	BorderLocation_name = map[int32]string{
		0: "BorderLocation_TOP",
		1: "BorderLocation_BOTTOM",
		2: "BorderLocation_LEFT",
		3: "BorderLocation_RIGHT",
	}
	BorderLocation_value = map[string]int32{
		"BorderLocation_TOP":    0,
		"BorderLocation_BOTTOM": 1,
		"BorderLocation_LEFT":   2,
		"BorderLocation_RIGHT":  3,
	}
)

Enum value maps for BorderLocation.

Functions

func NewSRPCLayoutHostHandler

func NewSRPCLayoutHostHandler(impl SRPCLayoutHostServer, serviceID string) srpc.Handler

NewSRPCLayoutHostHandler constructs a new RPC handler. serviceID: if empty, uses default: s4wave.layout.LayoutHost

func SRPCRegisterLayoutHost

func SRPCRegisterLayoutHost(mux srpc.Mux, impl SRPCLayoutHostServer) error

SRPCRegisterLayoutHost registers the implementation with the mux. Uses the default serviceID: s4wave.layout.LayoutHost

func ValidateBorders

func ValidateBorders(borders []*BorderDef) error

ValidateBorders checks if the borders list has any duplicates.

Types

type AddTabRequest

type AddTabRequest struct {

	// TabSetId is the identifier of the tabset to add the tab to.
	// If empty, the tab is added to the currently active tabset.
	TabSetId string `protobuf:"bytes,1,opt,name=tab_set_id,json=tabSetId,proto3" json:"tabSetId,omitempty"`
	// Tab is the tab definition to add.
	Tab *TabDef `protobuf:"bytes,2,opt,name=tab,proto3" json:"tab,omitempty"`
	// AfterTabId is the ID of the tab to insert after.
	// If empty, the tab is added at the end of the tabset.
	AfterTabId string `protobuf:"bytes,3,opt,name=after_tab_id,json=afterTabId,proto3" json:"afterTabId,omitempty"`
	// Select indicates whether to select the new tab after adding.
	Select bool `protobuf:"varint,4,opt,name=select,proto3" json:"select,omitempty"`
	// contains filtered or unexported fields
}

AddTabRequest is a request to add a new tab to the layout.

func (*AddTabRequest) CloneMessageVT

func (m *AddTabRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*AddTabRequest) CloneVT

func (m *AddTabRequest) CloneVT() *AddTabRequest

func (*AddTabRequest) EqualMessageVT

func (this *AddTabRequest) EqualMessageVT(thatMsg any) bool

func (*AddTabRequest) EqualVT

func (this *AddTabRequest) EqualVT(that *AddTabRequest) bool

func (*AddTabRequest) GetAfterTabId

func (x *AddTabRequest) GetAfterTabId() string

func (*AddTabRequest) GetSelect

func (x *AddTabRequest) GetSelect() bool

func (*AddTabRequest) GetTab

func (x *AddTabRequest) GetTab() *TabDef

func (*AddTabRequest) GetTabSetId

func (x *AddTabRequest) GetTabSetId() string

func (*AddTabRequest) MarshalJSON

func (x *AddTabRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the AddTabRequest to JSON.

func (*AddTabRequest) MarshalProtoJSON

func (x *AddTabRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the AddTabRequest message to JSON.

func (*AddTabRequest) MarshalProtoText

func (x *AddTabRequest) MarshalProtoText() string

func (*AddTabRequest) MarshalToSizedBufferVT

func (m *AddTabRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AddTabRequest) MarshalToVT

func (m *AddTabRequest) MarshalToVT(dAtA []byte) (int, error)

func (*AddTabRequest) MarshalVT

func (m *AddTabRequest) MarshalVT() (dAtA []byte, err error)

func (*AddTabRequest) ProtoMessage

func (*AddTabRequest) ProtoMessage()

func (*AddTabRequest) Reset

func (x *AddTabRequest) Reset()

func (*AddTabRequest) SizeVT

func (m *AddTabRequest) SizeVT() (n int)

func (*AddTabRequest) String

func (x *AddTabRequest) String() string

func (*AddTabRequest) UnmarshalJSON

func (x *AddTabRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the AddTabRequest from JSON.

func (*AddTabRequest) UnmarshalProtoJSON

func (x *AddTabRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the AddTabRequest message from JSON.

func (*AddTabRequest) UnmarshalVT

func (m *AddTabRequest) UnmarshalVT(dAtA []byte) error

type AddTabResponse

type AddTabResponse struct {

	// TabId is the ID of the newly added tab.
	TabId string `protobuf:"bytes,1,opt,name=tab_id,json=tabId,proto3" json:"tabId,omitempty"`
	// contains filtered or unexported fields
}

AddTabResponse is a response to adding a new tab.

func (*AddTabResponse) CloneMessageVT

func (m *AddTabResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*AddTabResponse) CloneVT

func (m *AddTabResponse) CloneVT() *AddTabResponse

func (*AddTabResponse) EqualMessageVT

func (this *AddTabResponse) EqualMessageVT(thatMsg any) bool

func (*AddTabResponse) EqualVT

func (this *AddTabResponse) EqualVT(that *AddTabResponse) bool

func (*AddTabResponse) GetTabId

func (x *AddTabResponse) GetTabId() string

func (*AddTabResponse) MarshalJSON

func (x *AddTabResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the AddTabResponse to JSON.

func (*AddTabResponse) MarshalProtoJSON

func (x *AddTabResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the AddTabResponse message to JSON.

func (*AddTabResponse) MarshalProtoText

func (x *AddTabResponse) MarshalProtoText() string

func (*AddTabResponse) MarshalToSizedBufferVT

func (m *AddTabResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AddTabResponse) MarshalToVT

func (m *AddTabResponse) MarshalToVT(dAtA []byte) (int, error)

func (*AddTabResponse) MarshalVT

func (m *AddTabResponse) MarshalVT() (dAtA []byte, err error)

func (*AddTabResponse) ProtoMessage

func (*AddTabResponse) ProtoMessage()

func (*AddTabResponse) Reset

func (x *AddTabResponse) Reset()

func (*AddTabResponse) SizeVT

func (m *AddTabResponse) SizeVT() (n int)

func (*AddTabResponse) String

func (x *AddTabResponse) String() string

func (*AddTabResponse) UnmarshalJSON

func (x *AddTabResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the AddTabResponse from JSON.

func (*AddTabResponse) UnmarshalProtoJSON

func (x *AddTabResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the AddTabResponse message from JSON.

func (*AddTabResponse) UnmarshalVT

func (m *AddTabResponse) UnmarshalVT(dAtA []byte) error

type BorderDef

type BorderDef struct {

	// BorderLocation is the border location.
	BorderLocation BorderLocation `protobuf:"varint,1,opt,name=border_location,json=borderLocation,proto3" json:"borderLocation,omitempty"`
	// Children contains the list of tabs in this border.
	Children []*TabDef `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"`
	// Selected is the index of selected/visible tab in border; -1 means no tab selected
	Selected int32 `protobuf:"varint,3,opt,name=selected,proto3" json:"selected,omitempty"`
	// Hide indicates if this border should be hidden
	Hide bool `protobuf:"varint,4,opt,name=hide,proto3" json:"hide,omitempty"`
	// contains filtered or unexported fields
}

BorderDef contains a definition of a tab border.

func (*BorderDef) CloneMessageVT

func (m *BorderDef) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*BorderDef) CloneVT

func (m *BorderDef) CloneVT() *BorderDef

func (*BorderDef) EqualMessageVT

func (this *BorderDef) EqualMessageVT(thatMsg any) bool

func (*BorderDef) EqualVT

func (this *BorderDef) EqualVT(that *BorderDef) bool

func (*BorderDef) GetBorderLocation

func (x *BorderDef) GetBorderLocation() BorderLocation

func (*BorderDef) GetChildren

func (x *BorderDef) GetChildren() []*TabDef

func (*BorderDef) GetHide

func (x *BorderDef) GetHide() bool

func (*BorderDef) GetSelected

func (x *BorderDef) GetSelected() int32

func (*BorderDef) MarshalJSON

func (x *BorderDef) MarshalJSON() ([]byte, error)

MarshalJSON marshals the BorderDef to JSON.

func (*BorderDef) MarshalProtoJSON

func (x *BorderDef) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the BorderDef message to JSON.

func (*BorderDef) MarshalProtoText

func (x *BorderDef) MarshalProtoText() string

func (*BorderDef) MarshalToSizedBufferVT

func (m *BorderDef) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*BorderDef) MarshalToVT

func (m *BorderDef) MarshalToVT(dAtA []byte) (int, error)

func (*BorderDef) MarshalVT

func (m *BorderDef) MarshalVT() (dAtA []byte, err error)

func (*BorderDef) ProtoMessage

func (*BorderDef) ProtoMessage()

func (*BorderDef) Reset

func (x *BorderDef) Reset()

func (*BorderDef) SizeVT

func (m *BorderDef) SizeVT() (n int)

func (*BorderDef) String

func (x *BorderDef) String() string

func (*BorderDef) UnmarshalJSON

func (x *BorderDef) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the BorderDef from JSON.

func (*BorderDef) UnmarshalProtoJSON

func (x *BorderDef) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the BorderDef message from JSON.

func (*BorderDef) UnmarshalVT

func (m *BorderDef) UnmarshalVT(dAtA []byte) error

type BorderLocation

type BorderLocation int32

BorderLocation is the list of possible border locations.

const (
	// BorderLocation_TOP is the default value.
	BorderLocation_BorderLocation_TOP BorderLocation = 0
	// BorderLocation_BOTTOM is the bottom edge.
	BorderLocation_BorderLocation_BOTTOM BorderLocation = 1
	// BorderLocation_LEFT is the left edge.
	BorderLocation_BorderLocation_LEFT BorderLocation = 2
	// BorderLocation_RIGHT is the right edge.
	BorderLocation_BorderLocation_RIGHT BorderLocation = 3
)

func (BorderLocation) Enum

func (x BorderLocation) Enum() *BorderLocation

func (BorderLocation) MarshalJSON

func (x BorderLocation) MarshalJSON() ([]byte, error)

MarshalJSON marshals the BorderLocation to JSON.

func (BorderLocation) MarshalProtoJSON

func (x BorderLocation) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the BorderLocation to JSON.

func (BorderLocation) MarshalProtoText

func (x BorderLocation) MarshalProtoText() string

func (BorderLocation) MarshalText

func (x BorderLocation) MarshalText() ([]byte, error)

MarshalText marshals the BorderLocation to text.

func (BorderLocation) String

func (x BorderLocation) String() string

func (*BorderLocation) UnmarshalJSON

func (x *BorderLocation) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the BorderLocation from JSON.

func (*BorderLocation) UnmarshalProtoJSON

func (x *BorderLocation) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the BorderLocation from JSON.

func (*BorderLocation) UnmarshalText

func (x *BorderLocation) UnmarshalText(b []byte) error

UnmarshalText unmarshals the BorderLocation from text.

func (BorderLocation) Validate

func (b BorderLocation) Validate() error

Validate validates the border location.

type LayoutLocalState

type LayoutLocalState struct {

	// ActiveTabSetId is the ID of the currently active/focused tabset.
	ActiveTabSetId string `protobuf:"bytes,1,opt,name=active_tab_set_id,json=activeTabSetId,proto3" json:"activeTabSetId,omitempty"`
	// TabSetSelections maps tabset IDs to their selected tab IDs.
	TabSetSelections map[string]string `` /* 197-byte string literal not displayed */
	// MaximizedTabSetId is the ID of the maximized tabset, if any.
	MaximizedTabSetId string `protobuf:"bytes,3,opt,name=maximized_tab_set_id,json=maximizedTabSetId,proto3" json:"maximizedTabSetId,omitempty"`
	// contains filtered or unexported fields
}

LayoutLocalState contains local/ephemeral layout state. This state is not persisted to the server but preserved in URLs.

func (*LayoutLocalState) CloneMessageVT

func (m *LayoutLocalState) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*LayoutLocalState) CloneVT

func (m *LayoutLocalState) CloneVT() *LayoutLocalState

func (*LayoutLocalState) EqualMessageVT

func (this *LayoutLocalState) EqualMessageVT(thatMsg any) bool

func (*LayoutLocalState) EqualVT

func (this *LayoutLocalState) EqualVT(that *LayoutLocalState) bool

func (*LayoutLocalState) GetActiveTabSetId

func (x *LayoutLocalState) GetActiveTabSetId() string

func (*LayoutLocalState) GetMaximizedTabSetId

func (x *LayoutLocalState) GetMaximizedTabSetId() string

func (*LayoutLocalState) GetTabSetSelections

func (x *LayoutLocalState) GetTabSetSelections() map[string]string

func (*LayoutLocalState) MarshalJSON

func (x *LayoutLocalState) MarshalJSON() ([]byte, error)

MarshalJSON marshals the LayoutLocalState to JSON.

func (*LayoutLocalState) MarshalProtoJSON

func (x *LayoutLocalState) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the LayoutLocalState message to JSON.

func (*LayoutLocalState) MarshalProtoText

func (x *LayoutLocalState) MarshalProtoText() string

func (*LayoutLocalState) MarshalToSizedBufferVT

func (m *LayoutLocalState) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LayoutLocalState) MarshalToVT

func (m *LayoutLocalState) MarshalToVT(dAtA []byte) (int, error)

func (*LayoutLocalState) MarshalVT

func (m *LayoutLocalState) MarshalVT() (dAtA []byte, err error)

func (*LayoutLocalState) ProtoMessage

func (*LayoutLocalState) ProtoMessage()

func (*LayoutLocalState) Reset

func (x *LayoutLocalState) Reset()

func (*LayoutLocalState) SizeVT

func (m *LayoutLocalState) SizeVT() (n int)

func (*LayoutLocalState) String

func (x *LayoutLocalState) String() string

func (*LayoutLocalState) UnmarshalJSON

func (x *LayoutLocalState) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the LayoutLocalState from JSON.

func (*LayoutLocalState) UnmarshalProtoJSON

func (x *LayoutLocalState) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the LayoutLocalState message from JSON.

func (*LayoutLocalState) UnmarshalVT

func (m *LayoutLocalState) UnmarshalVT(dAtA []byte) error

type LayoutLocalState_TabSetSelectionsEntry

type LayoutLocalState_TabSetSelectionsEntry struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*LayoutLocalState_TabSetSelectionsEntry) GetKey

func (*LayoutLocalState_TabSetSelectionsEntry) GetValue

func (*LayoutLocalState_TabSetSelectionsEntry) MarshalJSON

func (x *LayoutLocalState_TabSetSelectionsEntry) MarshalJSON() ([]byte, error)

MarshalJSON marshals the LayoutLocalState_TabSetSelectionsEntry to JSON.

func (*LayoutLocalState_TabSetSelectionsEntry) MarshalProtoJSON

MarshalProtoJSON marshals the LayoutLocalState_TabSetSelectionsEntry message to JSON.

func (*LayoutLocalState_TabSetSelectionsEntry) MarshalProtoText

func (x *LayoutLocalState_TabSetSelectionsEntry) MarshalProtoText() string

func (*LayoutLocalState_TabSetSelectionsEntry) ProtoMessage

func (*LayoutLocalState_TabSetSelectionsEntry) Reset

func (*LayoutLocalState_TabSetSelectionsEntry) String

func (*LayoutLocalState_TabSetSelectionsEntry) UnmarshalJSON

func (x *LayoutLocalState_TabSetSelectionsEntry) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the LayoutLocalState_TabSetSelectionsEntry from JSON.

func (*LayoutLocalState_TabSetSelectionsEntry) UnmarshalProtoJSON

UnmarshalProtoJSON unmarshals the LayoutLocalState_TabSetSelectionsEntry message from JSON.

type LayoutModel

type LayoutModel struct {

	// Borders contains the optional list of borders containing tabs.
	// Borders can contain tabs on the sides of the layout.
	Borders []*BorderDef `protobuf:"bytes,1,rep,name=borders,proto3" json:"borders,omitempty"`
	// Layout contains the row definition for the model.
	Layout *RowDef `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"`
	// contains filtered or unexported fields
}

LayoutModel contains information about Tabs and ObjectViewers in a layout.

func (*LayoutModel) CloneMessageVT

func (m *LayoutModel) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*LayoutModel) CloneVT

func (m *LayoutModel) CloneVT() *LayoutModel

func (*LayoutModel) EqualMessageVT

func (this *LayoutModel) EqualMessageVT(thatMsg any) bool

func (*LayoutModel) EqualVT

func (this *LayoutModel) EqualVT(that *LayoutModel) bool

func (*LayoutModel) GetBorders

func (x *LayoutModel) GetBorders() []*BorderDef

func (*LayoutModel) GetLayout

func (x *LayoutModel) GetLayout() *RowDef

func (*LayoutModel) MarshalJSON

func (x *LayoutModel) MarshalJSON() ([]byte, error)

MarshalJSON marshals the LayoutModel to JSON.

func (*LayoutModel) MarshalProtoJSON

func (x *LayoutModel) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the LayoutModel message to JSON.

func (*LayoutModel) MarshalProtoText

func (x *LayoutModel) MarshalProtoText() string

func (*LayoutModel) MarshalToSizedBufferVT

func (m *LayoutModel) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LayoutModel) MarshalToVT

func (m *LayoutModel) MarshalToVT(dAtA []byte) (int, error)

func (*LayoutModel) MarshalVT

func (m *LayoutModel) MarshalVT() (dAtA []byte, err error)

func (*LayoutModel) ProtoMessage

func (*LayoutModel) ProtoMessage()

func (*LayoutModel) Reset

func (x *LayoutModel) Reset()

func (*LayoutModel) SizeVT

func (m *LayoutModel) SizeVT() (n int)

func (*LayoutModel) String

func (x *LayoutModel) String() string

func (*LayoutModel) UnmarshalJSON

func (x *LayoutModel) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the LayoutModel from JSON.

func (*LayoutModel) UnmarshalProtoJSON

func (x *LayoutModel) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the LayoutModel message from JSON.

func (*LayoutModel) UnmarshalVT

func (m *LayoutModel) UnmarshalVT(dAtA []byte) error

func (*LayoutModel) Validate

func (m *LayoutModel) Validate(validateTabDef TabDefValidator) error

Validate checks the layout model for validity.

validateTabDef can be nil.

type LayoutSnapshot

type LayoutSnapshot struct {

	// Model contains the structural layout (tabs, tabsets, rows).
	Model *LayoutModel `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// LocalState contains ephemeral UI state (selections, active tabset).
	LocalState *LayoutLocalState `protobuf:"bytes,2,opt,name=local_state,json=localState,proto3" json:"localState,omitempty"`
	// contains filtered or unexported fields
}

LayoutSnapshot contains a complete layout state including local UI state. Used for URL encoding of grid layouts to preserve selection state.

func (*LayoutSnapshot) CloneMessageVT

func (m *LayoutSnapshot) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*LayoutSnapshot) CloneVT

func (m *LayoutSnapshot) CloneVT() *LayoutSnapshot

func (*LayoutSnapshot) EqualMessageVT

func (this *LayoutSnapshot) EqualMessageVT(thatMsg any) bool

func (*LayoutSnapshot) EqualVT

func (this *LayoutSnapshot) EqualVT(that *LayoutSnapshot) bool

func (*LayoutSnapshot) GetLocalState

func (x *LayoutSnapshot) GetLocalState() *LayoutLocalState

func (*LayoutSnapshot) GetModel

func (x *LayoutSnapshot) GetModel() *LayoutModel

func (*LayoutSnapshot) MarshalJSON

func (x *LayoutSnapshot) MarshalJSON() ([]byte, error)

MarshalJSON marshals the LayoutSnapshot to JSON.

func (*LayoutSnapshot) MarshalProtoJSON

func (x *LayoutSnapshot) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the LayoutSnapshot message to JSON.

func (*LayoutSnapshot) MarshalProtoText

func (x *LayoutSnapshot) MarshalProtoText() string

func (*LayoutSnapshot) MarshalToSizedBufferVT

func (m *LayoutSnapshot) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LayoutSnapshot) MarshalToVT

func (m *LayoutSnapshot) MarshalToVT(dAtA []byte) (int, error)

func (*LayoutSnapshot) MarshalVT

func (m *LayoutSnapshot) MarshalVT() (dAtA []byte, err error)

func (*LayoutSnapshot) ProtoMessage

func (*LayoutSnapshot) ProtoMessage()

func (*LayoutSnapshot) Reset

func (x *LayoutSnapshot) Reset()

func (*LayoutSnapshot) SizeVT

func (m *LayoutSnapshot) SizeVT() (n int)

func (*LayoutSnapshot) String

func (x *LayoutSnapshot) String() string

func (*LayoutSnapshot) UnmarshalJSON

func (x *LayoutSnapshot) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the LayoutSnapshot from JSON.

func (*LayoutSnapshot) UnmarshalProtoJSON

func (x *LayoutSnapshot) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the LayoutSnapshot message from JSON.

func (*LayoutSnapshot) UnmarshalVT

func (m *LayoutSnapshot) UnmarshalVT(dAtA []byte) error
type NavigateTabRequest struct {

	// TabId is the identifier of the tab to navigate within.
	TabId string `protobuf:"bytes,1,opt,name=tab_id,json=tabId,proto3" json:"tabId,omitempty"`
	// Path is the path to navigate to, relative or absolute.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

NavigateTabRequest is a request to navigate within a tab.

func (m *NavigateTabRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (m *NavigateTabRequest) CloneVT() *NavigateTabRequest
func (this *NavigateTabRequest) EqualMessageVT(thatMsg any) bool
func (this *NavigateTabRequest) EqualVT(that *NavigateTabRequest) bool
func (x *NavigateTabRequest) GetPath() string
func (x *NavigateTabRequest) GetTabId() string
func (x *NavigateTabRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the NavigateTabRequest to JSON.

func (x *NavigateTabRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the NavigateTabRequest message to JSON.

func (x *NavigateTabRequest) MarshalProtoText() string
func (m *NavigateTabRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (m *NavigateTabRequest) MarshalToVT(dAtA []byte) (int, error)
func (m *NavigateTabRequest) MarshalVT() (dAtA []byte, err error)
func (*NavigateTabRequest) ProtoMessage()
func (x *NavigateTabRequest) Reset()
func (m *NavigateTabRequest) SizeVT() (n int)
func (x *NavigateTabRequest) String() string
func (x *NavigateTabRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the NavigateTabRequest from JSON.

func (x *NavigateTabRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the NavigateTabRequest message from JSON.

func (m *NavigateTabRequest) UnmarshalVT(dAtA []byte) error
type NavigateTabResponse struct {
	// contains filtered or unexported fields
}

NavigateTabResponse is a response to navigate within a tab.

func (this *NavigateTabResponse) EqualMessageVT(thatMsg any) bool
func (this *NavigateTabResponse) EqualVT(that *NavigateTabResponse) bool
func (x *NavigateTabResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the NavigateTabResponse to JSON.

func (x *NavigateTabResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the NavigateTabResponse message to JSON.

func (x *NavigateTabResponse) MarshalProtoText() string
func (m *NavigateTabResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (m *NavigateTabResponse) MarshalToVT(dAtA []byte) (int, error)
func (m *NavigateTabResponse) MarshalVT() (dAtA []byte, err error)
func (*NavigateTabResponse) ProtoMessage()
func (x *NavigateTabResponse) Reset()
func (m *NavigateTabResponse) SizeVT() (n int)
func (x *NavigateTabResponse) String() string
func (x *NavigateTabResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the NavigateTabResponse from JSON.

func (x *NavigateTabResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the NavigateTabResponse message from JSON.

func (m *NavigateTabResponse) UnmarshalVT(dAtA []byte) error

type RowDef

type RowDef struct {

	// Id is the id of the row.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Children is the list of children nodes.
	Children []*RowOrTabSetDef `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"`
	// Weight is the weight of the row.
	Weight float32 `protobuf:"fixed32,3,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

RowDef contains information about a row.

func (*RowDef) CloneMessageVT

func (m *RowDef) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*RowDef) CloneVT

func (m *RowDef) CloneVT() *RowDef

func (*RowDef) EqualMessageVT

func (this *RowDef) EqualMessageVT(thatMsg any) bool

func (*RowDef) EqualVT

func (this *RowDef) EqualVT(that *RowDef) bool

func (*RowDef) GetChildren

func (x *RowDef) GetChildren() []*RowOrTabSetDef

func (*RowDef) GetId

func (x *RowDef) GetId() string

func (*RowDef) GetWeight

func (x *RowDef) GetWeight() float32

func (*RowDef) MarshalJSON

func (x *RowDef) MarshalJSON() ([]byte, error)

MarshalJSON marshals the RowDef to JSON.

func (*RowDef) MarshalProtoJSON

func (x *RowDef) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the RowDef message to JSON.

func (*RowDef) MarshalProtoText

func (x *RowDef) MarshalProtoText() string

func (*RowDef) MarshalToSizedBufferVT

func (m *RowDef) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RowDef) MarshalToVT

func (m *RowDef) MarshalToVT(dAtA []byte) (int, error)

func (*RowDef) MarshalVT

func (m *RowDef) MarshalVT() (dAtA []byte, err error)

func (*RowDef) ProtoMessage

func (*RowDef) ProtoMessage()

func (*RowDef) Reset

func (x *RowDef) Reset()

func (*RowDef) SizeVT

func (m *RowDef) SizeVT() (n int)

func (*RowDef) String

func (x *RowDef) String() string

func (*RowDef) UnmarshalJSON

func (x *RowDef) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the RowDef from JSON.

func (*RowDef) UnmarshalProtoJSON

func (x *RowDef) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the RowDef message from JSON.

func (*RowDef) UnmarshalVT

func (m *RowDef) UnmarshalVT(dAtA []byte) error

func (*RowDef) Validate

func (m *RowDef) Validate(validateTabDef TabDefValidator) error

Validate checks the row def for validity.

validateTabDef can be nil.

type RowOrTabSetDef

type RowOrTabSetDef struct {

	// Types that are assignable to Node:
	//
	//	*RowOrTabSetDef_Row
	//	*RowOrTabSetDef_TabSet
	Node isRowOrTabSetDef_Node `protobuf_oneof:"node"`
	// contains filtered or unexported fields
}

RowOrTabSetDef contains either a RowDef or a TabSetDef.

func (*RowOrTabSetDef) CloneMessageVT

func (m *RowOrTabSetDef) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*RowOrTabSetDef) CloneVT

func (m *RowOrTabSetDef) CloneVT() *RowOrTabSetDef

func (*RowOrTabSetDef) EqualMessageVT

func (this *RowOrTabSetDef) EqualMessageVT(thatMsg any) bool

func (*RowOrTabSetDef) EqualVT

func (this *RowOrTabSetDef) EqualVT(that *RowOrTabSetDef) bool

func (*RowOrTabSetDef) GetNode

func (m *RowOrTabSetDef) GetNode() isRowOrTabSetDef_Node

func (*RowOrTabSetDef) GetRow

func (x *RowOrTabSetDef) GetRow() *RowDef

func (*RowOrTabSetDef) GetTabSet

func (x *RowOrTabSetDef) GetTabSet() *TabSetDef

func (*RowOrTabSetDef) MarshalJSON

func (x *RowOrTabSetDef) MarshalJSON() ([]byte, error)

MarshalJSON marshals the RowOrTabSetDef to JSON.

func (*RowOrTabSetDef) MarshalProtoJSON

func (x *RowOrTabSetDef) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the RowOrTabSetDef message to JSON.

func (*RowOrTabSetDef) MarshalProtoText

func (x *RowOrTabSetDef) MarshalProtoText() string

func (*RowOrTabSetDef) MarshalToSizedBufferVT

func (m *RowOrTabSetDef) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RowOrTabSetDef) MarshalToVT

func (m *RowOrTabSetDef) MarshalToVT(dAtA []byte) (int, error)

func (*RowOrTabSetDef) MarshalVT

func (m *RowOrTabSetDef) MarshalVT() (dAtA []byte, err error)

func (*RowOrTabSetDef) ProtoMessage

func (*RowOrTabSetDef) ProtoMessage()

func (*RowOrTabSetDef) Reset

func (x *RowOrTabSetDef) Reset()

func (*RowOrTabSetDef) SizeVT

func (m *RowOrTabSetDef) SizeVT() (n int)

func (*RowOrTabSetDef) String

func (x *RowOrTabSetDef) String() string

func (*RowOrTabSetDef) UnmarshalJSON

func (x *RowOrTabSetDef) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the RowOrTabSetDef from JSON.

func (*RowOrTabSetDef) UnmarshalProtoJSON

func (x *RowOrTabSetDef) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the RowOrTabSetDef message from JSON.

func (*RowOrTabSetDef) UnmarshalVT

func (m *RowOrTabSetDef) UnmarshalVT(dAtA []byte) error

func (*RowOrTabSetDef) Validate

func (m *RowOrTabSetDef) Validate(validateTabDef TabDefValidator) error

Validate checks the row or tabset def for validity.

validateTabDef can be nil.

type RowOrTabSetDef_Row

type RowOrTabSetDef_Row struct {
	Row *RowDef `protobuf:"bytes,1,opt,name=row,proto3,oneof"`
}

func (*RowOrTabSetDef_Row) CloneOneofVT

func (m *RowOrTabSetDef_Row) CloneOneofVT() isRowOrTabSetDef_Node

func (*RowOrTabSetDef_Row) CloneVT

func (m *RowOrTabSetDef_Row) CloneVT() *RowOrTabSetDef_Row

func (*RowOrTabSetDef_Row) EqualVT

func (this *RowOrTabSetDef_Row) EqualVT(thatIface isRowOrTabSetDef_Node) bool

func (*RowOrTabSetDef_Row) MarshalToSizedBufferVT

func (m *RowOrTabSetDef_Row) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RowOrTabSetDef_Row) MarshalToVT

func (m *RowOrTabSetDef_Row) MarshalToVT(dAtA []byte) (int, error)

func (*RowOrTabSetDef_Row) SizeVT

func (m *RowOrTabSetDef_Row) SizeVT() (n int)

type RowOrTabSetDef_TabSet

type RowOrTabSetDef_TabSet struct {
	TabSet *TabSetDef `protobuf:"bytes,2,opt,name=tab_set,json=tabSet,proto3,oneof"`
}

func (*RowOrTabSetDef_TabSet) CloneOneofVT

func (m *RowOrTabSetDef_TabSet) CloneOneofVT() isRowOrTabSetDef_Node

func (*RowOrTabSetDef_TabSet) CloneVT

func (*RowOrTabSetDef_TabSet) EqualVT

func (this *RowOrTabSetDef_TabSet) EqualVT(thatIface isRowOrTabSetDef_Node) bool

func (*RowOrTabSetDef_TabSet) MarshalToSizedBufferVT

func (m *RowOrTabSetDef_TabSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RowOrTabSetDef_TabSet) MarshalToVT

func (m *RowOrTabSetDef_TabSet) MarshalToVT(dAtA []byte) (int, error)

func (*RowOrTabSetDef_TabSet) SizeVT

func (m *RowOrTabSetDef_TabSet) SizeVT() (n int)

type SRPCLayoutHostClient

type SRPCLayoutHostClient interface {
	// SRPCClient returns the underlying SRPC client.
	SRPCClient() srpc.Client

	WatchLayoutModel(ctx context.Context) (SRPCLayoutHost_WatchLayoutModelClient, error)

	NavigateTab(ctx context.Context, in *NavigateTabRequest) (*NavigateTabResponse, error)

	AddTab(ctx context.Context, in *AddTabRequest) (*AddTabResponse, error)
}

func NewSRPCLayoutHostClient

func NewSRPCLayoutHostClient(cc srpc.Client) SRPCLayoutHostClient

func NewSRPCLayoutHostClientWithServiceID

func NewSRPCLayoutHostClientWithServiceID(cc srpc.Client, serviceID string) SRPCLayoutHostClient

type SRPCLayoutHostHandler

type SRPCLayoutHostHandler struct {
	// contains filtered or unexported fields
}

func (SRPCLayoutHostHandler) GetMethodIDs

func (SRPCLayoutHostHandler) GetMethodIDs() []string

func (*SRPCLayoutHostHandler) GetServiceID

func (d *SRPCLayoutHostHandler) GetServiceID() string

func (*SRPCLayoutHostHandler) InvokeMethod

func (d *SRPCLayoutHostHandler) InvokeMethod(
	serviceID, methodID string,
	strm srpc.Stream,
) (bool, error)

func (SRPCLayoutHostHandler) InvokeMethod_AddTab

func (SRPCLayoutHostHandler) InvokeMethod_AddTab(impl SRPCLayoutHostServer, strm srpc.Stream) error

func (SRPCLayoutHostHandler) InvokeMethod_NavigateTab

func (SRPCLayoutHostHandler) InvokeMethod_NavigateTab(impl SRPCLayoutHostServer, strm srpc.Stream) error

func (SRPCLayoutHostHandler) InvokeMethod_WatchLayoutModel

func (SRPCLayoutHostHandler) InvokeMethod_WatchLayoutModel(impl SRPCLayoutHostServer, strm srpc.Stream) error

type SRPCLayoutHostServer

type SRPCLayoutHostServer interface {
	WatchLayoutModel(SRPCLayoutHost_WatchLayoutModelStream) error

	NavigateTab(context.Context, *NavigateTabRequest) (*NavigateTabResponse, error)

	AddTab(context.Context, *AddTabRequest) (*AddTabResponse, error)
}

type SRPCLayoutHost_AddTabStream

type SRPCLayoutHost_AddTabStream interface {
	srpc.Stream
}

type SRPCLayoutHost_NavigateTabStream

type SRPCLayoutHost_NavigateTabStream interface {
	srpc.Stream
}

type SRPCLayoutHost_WatchLayoutModelClient

type SRPCLayoutHost_WatchLayoutModelClient interface {
	srpc.Stream
	Send(*WatchLayoutModelRequest) error
	Recv() (*LayoutModel, error)
	RecvTo(*LayoutModel) error
}

type SRPCLayoutHost_WatchLayoutModelStream

type SRPCLayoutHost_WatchLayoutModelStream interface {
	srpc.Stream
	Send(*LayoutModel) error
	SendAndClose(*LayoutModel) error
	Recv() (*WatchLayoutModelRequest, error)
	RecvTo(*WatchLayoutModelRequest) error
}

type TabDef

type TabDef struct {

	// Id is the unique identifier for the tab.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name is the title of the tab.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// HelpText is text that shows when hovering over the tab.
	HelpText string `protobuf:"bytes,3,opt,name=help_text,json=helpText,proto3" json:"helpText,omitempty"`
	// EnableClose enables closing the tab with the close button.
	EnableClose bool `protobuf:"varint,4,opt,name=enable_close,json=enableClose,proto3" json:"enableClose,omitempty"`
	// Data contains data passed to the tab contents.
	Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

TabDef contains information about a tab.

func (*TabDef) CloneMessageVT

func (m *TabDef) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*TabDef) CloneVT

func (m *TabDef) CloneVT() *TabDef

func (*TabDef) EqualMessageVT

func (this *TabDef) EqualMessageVT(thatMsg any) bool

func (*TabDef) EqualVT

func (this *TabDef) EqualVT(that *TabDef) bool

func (*TabDef) GetData

func (x *TabDef) GetData() []byte

func (*TabDef) GetEnableClose

func (x *TabDef) GetEnableClose() bool

func (*TabDef) GetHelpText

func (x *TabDef) GetHelpText() string

func (*TabDef) GetId

func (x *TabDef) GetId() string

func (*TabDef) GetName

func (x *TabDef) GetName() string

func (*TabDef) MarshalJSON

func (x *TabDef) MarshalJSON() ([]byte, error)

MarshalJSON marshals the TabDef to JSON.

func (*TabDef) MarshalProtoJSON

func (x *TabDef) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the TabDef message to JSON.

func (*TabDef) MarshalProtoText

func (x *TabDef) MarshalProtoText() string

func (*TabDef) MarshalToSizedBufferVT

func (m *TabDef) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TabDef) MarshalToVT

func (m *TabDef) MarshalToVT(dAtA []byte) (int, error)

func (*TabDef) MarshalVT

func (m *TabDef) MarshalVT() (dAtA []byte, err error)

func (*TabDef) ProtoMessage

func (*TabDef) ProtoMessage()

func (*TabDef) Reset

func (x *TabDef) Reset()

func (*TabDef) SizeVT

func (m *TabDef) SizeVT() (n int)

func (*TabDef) String

func (x *TabDef) String() string

func (*TabDef) UnmarshalJSON

func (x *TabDef) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the TabDef from JSON.

func (*TabDef) UnmarshalProtoJSON

func (x *TabDef) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the TabDef message from JSON.

func (*TabDef) UnmarshalVT

func (m *TabDef) UnmarshalVT(dAtA []byte) error

func (*TabDef) Validate

func (m *TabDef) Validate(validateTabDef TabDefValidator) error

Validate validates the tab def.

validateTabDef can be nil.

type TabDefValidator

type TabDefValidator = func(m *TabDef) error

TabDefValidator validates a TabDef, particularly the data field.

type TabSetDef

type TabSetDef struct {

	// Id is the unique identifier for the tab.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name is an optional title for the tab.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Weight is the relative size of the tab set.
	Weight float32 `protobuf:"fixed32,3,opt,name=weight,proto3" json:"weight,omitempty"`
	// Children contains the list of children tabs.
	Children []*TabDef `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

TabSetDef contains information about a set of tabs.

func (*TabSetDef) CloneMessageVT

func (m *TabSetDef) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*TabSetDef) CloneVT

func (m *TabSetDef) CloneVT() *TabSetDef

func (*TabSetDef) EqualMessageVT

func (this *TabSetDef) EqualMessageVT(thatMsg any) bool

func (*TabSetDef) EqualVT

func (this *TabSetDef) EqualVT(that *TabSetDef) bool

func (*TabSetDef) GetChildren

func (x *TabSetDef) GetChildren() []*TabDef

func (*TabSetDef) GetId

func (x *TabSetDef) GetId() string

func (*TabSetDef) GetName

func (x *TabSetDef) GetName() string

func (*TabSetDef) GetWeight

func (x *TabSetDef) GetWeight() float32

func (*TabSetDef) MarshalJSON

func (x *TabSetDef) MarshalJSON() ([]byte, error)

MarshalJSON marshals the TabSetDef to JSON.

func (*TabSetDef) MarshalProtoJSON

func (x *TabSetDef) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the TabSetDef message to JSON.

func (*TabSetDef) MarshalProtoText

func (x *TabSetDef) MarshalProtoText() string

func (*TabSetDef) MarshalToSizedBufferVT

func (m *TabSetDef) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TabSetDef) MarshalToVT

func (m *TabSetDef) MarshalToVT(dAtA []byte) (int, error)

func (*TabSetDef) MarshalVT

func (m *TabSetDef) MarshalVT() (dAtA []byte, err error)

func (*TabSetDef) ProtoMessage

func (*TabSetDef) ProtoMessage()

func (*TabSetDef) Reset

func (x *TabSetDef) Reset()

func (*TabSetDef) SizeVT

func (m *TabSetDef) SizeVT() (n int)

func (*TabSetDef) String

func (x *TabSetDef) String() string

func (*TabSetDef) UnmarshalJSON

func (x *TabSetDef) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the TabSetDef from JSON.

func (*TabSetDef) UnmarshalProtoJSON

func (x *TabSetDef) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the TabSetDef message from JSON.

func (*TabSetDef) UnmarshalVT

func (m *TabSetDef) UnmarshalVT(dAtA []byte) error

func (*TabSetDef) Validate

func (m *TabSetDef) Validate(validateTabDef TabDefValidator) error

Validate validates the TabSet.

validateTabDef can be nil.

type WatchLayoutModelRequest

type WatchLayoutModelRequest struct {

	// Types that are assignable to Body:
	//
	//	*WatchLayoutModelRequest_SetModel
	Body isWatchLayoutModelRequest_Body `protobuf_oneof:"body"`
	// contains filtered or unexported fields
}

WatchLayoutModelRequest is a request sent by the client of WatchLayoutModel.

func (*WatchLayoutModelRequest) CloneMessageVT

func (*WatchLayoutModelRequest) CloneVT

func (*WatchLayoutModelRequest) EqualMessageVT

func (this *WatchLayoutModelRequest) EqualMessageVT(thatMsg any) bool

func (*WatchLayoutModelRequest) EqualVT

func (*WatchLayoutModelRequest) GetBody

func (m *WatchLayoutModelRequest) GetBody() isWatchLayoutModelRequest_Body

func (*WatchLayoutModelRequest) GetSetModel

func (x *WatchLayoutModelRequest) GetSetModel() *LayoutModel

func (*WatchLayoutModelRequest) MarshalJSON

func (x *WatchLayoutModelRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the WatchLayoutModelRequest to JSON.

func (*WatchLayoutModelRequest) MarshalProtoJSON

func (x *WatchLayoutModelRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the WatchLayoutModelRequest message to JSON.

func (*WatchLayoutModelRequest) MarshalProtoText

func (x *WatchLayoutModelRequest) MarshalProtoText() string

func (*WatchLayoutModelRequest) MarshalToSizedBufferVT

func (m *WatchLayoutModelRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WatchLayoutModelRequest) MarshalToVT

func (m *WatchLayoutModelRequest) MarshalToVT(dAtA []byte) (int, error)

func (*WatchLayoutModelRequest) MarshalVT

func (m *WatchLayoutModelRequest) MarshalVT() (dAtA []byte, err error)

func (*WatchLayoutModelRequest) ProtoMessage

func (*WatchLayoutModelRequest) ProtoMessage()

func (*WatchLayoutModelRequest) Reset

func (x *WatchLayoutModelRequest) Reset()

func (*WatchLayoutModelRequest) SizeVT

func (m *WatchLayoutModelRequest) SizeVT() (n int)

func (*WatchLayoutModelRequest) String

func (x *WatchLayoutModelRequest) String() string

func (*WatchLayoutModelRequest) UnmarshalJSON

func (x *WatchLayoutModelRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the WatchLayoutModelRequest from JSON.

func (*WatchLayoutModelRequest) UnmarshalProtoJSON

func (x *WatchLayoutModelRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the WatchLayoutModelRequest message from JSON.

func (*WatchLayoutModelRequest) UnmarshalVT

func (m *WatchLayoutModelRequest) UnmarshalVT(dAtA []byte) error

type WatchLayoutModelRequest_SetModel

type WatchLayoutModelRequest_SetModel struct {
	// SetModel sets a full snapshot of the layout model.
	// May return an error if the model does not validate correctly.
	// Updates the model internally & yields new version on WatchLayoutModel.
	SetModel *LayoutModel `protobuf:"bytes,1,opt,name=set_model,json=setModel,proto3,oneof"`
}

func (*WatchLayoutModelRequest_SetModel) CloneOneofVT

func (m *WatchLayoutModelRequest_SetModel) CloneOneofVT() isWatchLayoutModelRequest_Body

func (*WatchLayoutModelRequest_SetModel) CloneVT

func (*WatchLayoutModelRequest_SetModel) EqualVT

func (this *WatchLayoutModelRequest_SetModel) EqualVT(thatIface isWatchLayoutModelRequest_Body) bool

func (*WatchLayoutModelRequest_SetModel) MarshalToSizedBufferVT

func (m *WatchLayoutModelRequest_SetModel) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WatchLayoutModelRequest_SetModel) MarshalToVT

func (m *WatchLayoutModelRequest_SetModel) MarshalToVT(dAtA []byte) (int, error)

func (*WatchLayoutModelRequest_SetModel) SizeVT

func (m *WatchLayoutModelRequest_SetModel) SizeVT() (n int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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