s4wave_command_registry

package
v0.51.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const SRPCCommandHandlerServiceServiceID = "s4wave.command.registry.CommandHandlerService"
View Source
const SRPCCommandRegistryResourceServiceServiceID = "s4wave.command.registry.CommandRegistryResourceService"

Variables

This section is empty.

Functions

func NewSRPCCommandHandlerServiceHandler

func NewSRPCCommandHandlerServiceHandler(impl SRPCCommandHandlerServiceServer, serviceID string) srpc.Handler

NewSRPCCommandHandlerServiceHandler constructs a new RPC handler. serviceID: if empty, uses default: s4wave.command.registry.CommandHandlerService

func NewSRPCCommandRegistryResourceServiceHandler

func NewSRPCCommandRegistryResourceServiceHandler(impl SRPCCommandRegistryResourceServiceServer, serviceID string) srpc.Handler

NewSRPCCommandRegistryResourceServiceHandler constructs a new RPC handler. serviceID: if empty, uses default: s4wave.command.registry.CommandRegistryResourceService

func SRPCRegisterCommandHandlerService

func SRPCRegisterCommandHandlerService(mux srpc.Mux, impl SRPCCommandHandlerServiceServer) error

SRPCRegisterCommandHandlerService registers the implementation with the mux. Uses the default serviceID: s4wave.command.registry.CommandHandlerService

func SRPCRegisterCommandRegistryResourceService

func SRPCRegisterCommandRegistryResourceService(mux srpc.Mux, impl SRPCCommandRegistryResourceServiceServer) error

SRPCRegisterCommandRegistryResourceService registers the implementation with the mux. Uses the default serviceID: s4wave.command.registry.CommandRegistryResourceService

Types

type CommandState

type CommandState struct {

	// ResourceId is the registration resource ID.
	ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resourceId,omitempty"`
	// Command is the command metadata.
	Command *command.Command `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
	// Active is whether the registration is active.
	Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"`
	// Enabled is whether the registration is enabled.
	Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

CommandState is a registered command instance with active and enabled state.

func (*CommandState) CloneMessageVT

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

func (*CommandState) CloneVT

func (m *CommandState) CloneVT() *CommandState

func (*CommandState) EqualMessageVT

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

func (*CommandState) EqualVT

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

func (*CommandState) GetActive

func (x *CommandState) GetActive() bool

func (*CommandState) GetCommand

func (x *CommandState) GetCommand() *command.Command

func (*CommandState) GetEnabled

func (x *CommandState) GetEnabled() bool

func (*CommandState) GetResourceId

func (x *CommandState) GetResourceId() uint32

func (*CommandState) MarshalJSON

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

MarshalJSON marshals the CommandState to JSON.

func (*CommandState) MarshalProtoJSON

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

MarshalProtoJSON marshals the CommandState message to JSON.

func (*CommandState) MarshalProtoText

func (x *CommandState) MarshalProtoText() string

func (*CommandState) MarshalToSizedBufferVT

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

func (*CommandState) MarshalToVT

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

func (*CommandState) MarshalVT

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

func (*CommandState) ProtoMessage

func (*CommandState) ProtoMessage()

func (*CommandState) Reset

func (x *CommandState) Reset()

func (*CommandState) SizeVT

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

func (*CommandState) String

func (x *CommandState) String() string

func (*CommandState) UnmarshalJSON

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

UnmarshalJSON unmarshals the CommandState from JSON.

func (*CommandState) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CommandState message from JSON.

func (*CommandState) UnmarshalVT

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

type CommandSubItem

type CommandSubItem struct {

	// Id is the stable sub-item identifier.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Label is the display label.
	Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	// Description is an optional longer description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

CommandSubItem is a sub-item returned for a command palette entry.

func (*CommandSubItem) CloneMessageVT

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

func (*CommandSubItem) CloneVT

func (m *CommandSubItem) CloneVT() *CommandSubItem

func (*CommandSubItem) EqualMessageVT

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

func (*CommandSubItem) EqualVT

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

func (*CommandSubItem) GetDescription

func (x *CommandSubItem) GetDescription() string

func (*CommandSubItem) GetId

func (x *CommandSubItem) GetId() string

func (*CommandSubItem) GetLabel

func (x *CommandSubItem) GetLabel() string

func (*CommandSubItem) MarshalJSON

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

MarshalJSON marshals the CommandSubItem to JSON.

func (*CommandSubItem) MarshalProtoJSON

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

MarshalProtoJSON marshals the CommandSubItem message to JSON.

func (*CommandSubItem) MarshalProtoText

func (x *CommandSubItem) MarshalProtoText() string

func (*CommandSubItem) MarshalToSizedBufferVT

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

func (*CommandSubItem) MarshalToVT

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

func (*CommandSubItem) MarshalVT

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

func (*CommandSubItem) ProtoMessage

func (*CommandSubItem) ProtoMessage()

func (*CommandSubItem) Reset

func (x *CommandSubItem) Reset()

func (*CommandSubItem) SizeVT

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

func (*CommandSubItem) String

func (x *CommandSubItem) String() string

func (*CommandSubItem) UnmarshalJSON

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

UnmarshalJSON unmarshals the CommandSubItem from JSON.

func (*CommandSubItem) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CommandSubItem message from JSON.

func (*CommandSubItem) UnmarshalVT

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

type GetSubItemsRequest

type GetSubItemsRequest struct {

	// CommandId is the command to query.
	CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"commandId,omitempty"`
	// Query is the user-entered filter text.
	Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

GetSubItemsRequest is the request for GetSubItems.

func (*GetSubItemsRequest) CloneMessageVT

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

func (*GetSubItemsRequest) CloneVT

func (m *GetSubItemsRequest) CloneVT() *GetSubItemsRequest

func (*GetSubItemsRequest) EqualMessageVT

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

func (*GetSubItemsRequest) EqualVT

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

func (*GetSubItemsRequest) GetCommandId

func (x *GetSubItemsRequest) GetCommandId() string

func (*GetSubItemsRequest) GetQuery

func (x *GetSubItemsRequest) GetQuery() string

func (*GetSubItemsRequest) MarshalJSON

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

MarshalJSON marshals the GetSubItemsRequest to JSON.

func (*GetSubItemsRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the GetSubItemsRequest message to JSON.

func (*GetSubItemsRequest) MarshalProtoText

func (x *GetSubItemsRequest) MarshalProtoText() string

func (*GetSubItemsRequest) MarshalToSizedBufferVT

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

func (*GetSubItemsRequest) MarshalToVT

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

func (*GetSubItemsRequest) MarshalVT

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

func (*GetSubItemsRequest) ProtoMessage

func (*GetSubItemsRequest) ProtoMessage()

func (*GetSubItemsRequest) Reset

func (x *GetSubItemsRequest) Reset()

func (*GetSubItemsRequest) SizeVT

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

func (*GetSubItemsRequest) String

func (x *GetSubItemsRequest) String() string

func (*GetSubItemsRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the GetSubItemsRequest from JSON.

func (*GetSubItemsRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the GetSubItemsRequest message from JSON.

func (*GetSubItemsRequest) UnmarshalVT

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

type GetSubItemsResponse

type GetSubItemsResponse struct {

	// Items is the sub-item list for the command.
	Items []*CommandSubItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

GetSubItemsResponse is the response for GetSubItems.

func (*GetSubItemsResponse) CloneMessageVT

func (*GetSubItemsResponse) CloneVT

func (*GetSubItemsResponse) EqualMessageVT

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

func (*GetSubItemsResponse) EqualVT

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

func (*GetSubItemsResponse) GetItems

func (x *GetSubItemsResponse) GetItems() []*CommandSubItem

func (*GetSubItemsResponse) MarshalJSON

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

MarshalJSON marshals the GetSubItemsResponse to JSON.

func (*GetSubItemsResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the GetSubItemsResponse message to JSON.

func (*GetSubItemsResponse) MarshalProtoText

func (x *GetSubItemsResponse) MarshalProtoText() string

func (*GetSubItemsResponse) MarshalToSizedBufferVT

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

func (*GetSubItemsResponse) MarshalToVT

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

func (*GetSubItemsResponse) MarshalVT

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

func (*GetSubItemsResponse) ProtoMessage

func (*GetSubItemsResponse) ProtoMessage()

func (*GetSubItemsResponse) Reset

func (x *GetSubItemsResponse) Reset()

func (*GetSubItemsResponse) SizeVT

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

func (*GetSubItemsResponse) String

func (x *GetSubItemsResponse) String() string

func (*GetSubItemsResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the GetSubItemsResponse from JSON.

func (*GetSubItemsResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the GetSubItemsResponse message from JSON.

func (*GetSubItemsResponse) UnmarshalVT

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

type HandleCommandRequest

type HandleCommandRequest struct {

	// CommandId is the invoked command.
	CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"commandId,omitempty"`
	// Args is the arguments passed by the invoker.
	Args map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

HandleCommandRequest is the request for HandleCommand.

func (*HandleCommandRequest) CloneMessageVT

func (*HandleCommandRequest) CloneVT

func (*HandleCommandRequest) EqualMessageVT

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

func (*HandleCommandRequest) EqualVT

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

func (*HandleCommandRequest) GetArgs

func (x *HandleCommandRequest) GetArgs() map[string]string

func (*HandleCommandRequest) GetCommandId

func (x *HandleCommandRequest) GetCommandId() string

func (*HandleCommandRequest) MarshalJSON

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

MarshalJSON marshals the HandleCommandRequest to JSON.

func (*HandleCommandRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the HandleCommandRequest message to JSON.

func (*HandleCommandRequest) MarshalProtoText

func (x *HandleCommandRequest) MarshalProtoText() string

func (*HandleCommandRequest) MarshalToSizedBufferVT

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

func (*HandleCommandRequest) MarshalToVT

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

func (*HandleCommandRequest) MarshalVT

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

func (*HandleCommandRequest) ProtoMessage

func (*HandleCommandRequest) ProtoMessage()

func (*HandleCommandRequest) Reset

func (x *HandleCommandRequest) Reset()

func (*HandleCommandRequest) SizeVT

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

func (*HandleCommandRequest) String

func (x *HandleCommandRequest) String() string

func (*HandleCommandRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the HandleCommandRequest from JSON.

func (*HandleCommandRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HandleCommandRequest message from JSON.

func (*HandleCommandRequest) UnmarshalVT

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

type HandleCommandRequest_ArgsEntry

type HandleCommandRequest_ArgsEntry 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 (*HandleCommandRequest_ArgsEntry) GetKey

func (*HandleCommandRequest_ArgsEntry) GetValue

func (x *HandleCommandRequest_ArgsEntry) GetValue() string

func (*HandleCommandRequest_ArgsEntry) MarshalJSON

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

MarshalJSON marshals the HandleCommandRequest_ArgsEntry to JSON.

func (*HandleCommandRequest_ArgsEntry) MarshalProtoJSON

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

MarshalProtoJSON marshals the HandleCommandRequest_ArgsEntry message to JSON.

func (*HandleCommandRequest_ArgsEntry) MarshalProtoText

func (x *HandleCommandRequest_ArgsEntry) MarshalProtoText() string

func (*HandleCommandRequest_ArgsEntry) ProtoMessage

func (*HandleCommandRequest_ArgsEntry) ProtoMessage()

func (*HandleCommandRequest_ArgsEntry) Reset

func (x *HandleCommandRequest_ArgsEntry) Reset()

func (*HandleCommandRequest_ArgsEntry) String

func (*HandleCommandRequest_ArgsEntry) UnmarshalJSON

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

UnmarshalJSON unmarshals the HandleCommandRequest_ArgsEntry from JSON.

func (*HandleCommandRequest_ArgsEntry) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HandleCommandRequest_ArgsEntry message from JSON.

type HandleCommandResponse

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

HandleCommandResponse is the response for HandleCommand.

func (*HandleCommandResponse) CloneMessageVT

func (*HandleCommandResponse) CloneVT

func (*HandleCommandResponse) EqualMessageVT

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

func (*HandleCommandResponse) EqualVT

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

func (*HandleCommandResponse) MarshalJSON

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

MarshalJSON marshals the HandleCommandResponse to JSON.

func (*HandleCommandResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the HandleCommandResponse message to JSON.

func (*HandleCommandResponse) MarshalProtoText

func (x *HandleCommandResponse) MarshalProtoText() string

func (*HandleCommandResponse) MarshalToSizedBufferVT

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

func (*HandleCommandResponse) MarshalToVT

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

func (*HandleCommandResponse) MarshalVT

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

func (*HandleCommandResponse) ProtoMessage

func (*HandleCommandResponse) ProtoMessage()

func (*HandleCommandResponse) Reset

func (x *HandleCommandResponse) Reset()

func (*HandleCommandResponse) SizeVT

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

func (*HandleCommandResponse) String

func (x *HandleCommandResponse) String() string

func (*HandleCommandResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the HandleCommandResponse from JSON.

func (*HandleCommandResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HandleCommandResponse message from JSON.

func (*HandleCommandResponse) UnmarshalVT

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

type InvokeCommandRequest

type InvokeCommandRequest struct {

	// CommandId is the command to invoke.
	CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"commandId,omitempty"`
	// Args is optional key-value arguments.
	Args map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

InvokeCommandRequest is the request for InvokeCommand.

func (*InvokeCommandRequest) CloneMessageVT

func (*InvokeCommandRequest) CloneVT

func (*InvokeCommandRequest) EqualMessageVT

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

func (*InvokeCommandRequest) EqualVT

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

func (*InvokeCommandRequest) GetArgs

func (x *InvokeCommandRequest) GetArgs() map[string]string

func (*InvokeCommandRequest) GetCommandId

func (x *InvokeCommandRequest) GetCommandId() string

func (*InvokeCommandRequest) MarshalJSON

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

MarshalJSON marshals the InvokeCommandRequest to JSON.

func (*InvokeCommandRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the InvokeCommandRequest message to JSON.

func (*InvokeCommandRequest) MarshalProtoText

func (x *InvokeCommandRequest) MarshalProtoText() string

func (*InvokeCommandRequest) MarshalToSizedBufferVT

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

func (*InvokeCommandRequest) MarshalToVT

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

func (*InvokeCommandRequest) MarshalVT

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

func (*InvokeCommandRequest) ProtoMessage

func (*InvokeCommandRequest) ProtoMessage()

func (*InvokeCommandRequest) Reset

func (x *InvokeCommandRequest) Reset()

func (*InvokeCommandRequest) SizeVT

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

func (*InvokeCommandRequest) String

func (x *InvokeCommandRequest) String() string

func (*InvokeCommandRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the InvokeCommandRequest from JSON.

func (*InvokeCommandRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the InvokeCommandRequest message from JSON.

func (*InvokeCommandRequest) UnmarshalVT

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

type InvokeCommandRequest_ArgsEntry

type InvokeCommandRequest_ArgsEntry 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 (*InvokeCommandRequest_ArgsEntry) GetKey

func (*InvokeCommandRequest_ArgsEntry) GetValue

func (x *InvokeCommandRequest_ArgsEntry) GetValue() string

func (*InvokeCommandRequest_ArgsEntry) MarshalJSON

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

MarshalJSON marshals the InvokeCommandRequest_ArgsEntry to JSON.

func (*InvokeCommandRequest_ArgsEntry) MarshalProtoJSON

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

MarshalProtoJSON marshals the InvokeCommandRequest_ArgsEntry message to JSON.

func (*InvokeCommandRequest_ArgsEntry) MarshalProtoText

func (x *InvokeCommandRequest_ArgsEntry) MarshalProtoText() string

func (*InvokeCommandRequest_ArgsEntry) ProtoMessage

func (*InvokeCommandRequest_ArgsEntry) ProtoMessage()

func (*InvokeCommandRequest_ArgsEntry) Reset

func (x *InvokeCommandRequest_ArgsEntry) Reset()

func (*InvokeCommandRequest_ArgsEntry) String

func (*InvokeCommandRequest_ArgsEntry) UnmarshalJSON

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

UnmarshalJSON unmarshals the InvokeCommandRequest_ArgsEntry from JSON.

func (*InvokeCommandRequest_ArgsEntry) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the InvokeCommandRequest_ArgsEntry message from JSON.

type InvokeCommandResponse

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

InvokeCommandResponse is the response for InvokeCommand.

func (*InvokeCommandResponse) CloneMessageVT

func (*InvokeCommandResponse) CloneVT

func (*InvokeCommandResponse) EqualMessageVT

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

func (*InvokeCommandResponse) EqualVT

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

func (*InvokeCommandResponse) MarshalJSON

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

MarshalJSON marshals the InvokeCommandResponse to JSON.

func (*InvokeCommandResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the InvokeCommandResponse message to JSON.

func (*InvokeCommandResponse) MarshalProtoText

func (x *InvokeCommandResponse) MarshalProtoText() string

func (*InvokeCommandResponse) MarshalToSizedBufferVT

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

func (*InvokeCommandResponse) MarshalToVT

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

func (*InvokeCommandResponse) MarshalVT

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

func (*InvokeCommandResponse) ProtoMessage

func (*InvokeCommandResponse) ProtoMessage()

func (*InvokeCommandResponse) Reset

func (x *InvokeCommandResponse) Reset()

func (*InvokeCommandResponse) SizeVT

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

func (*InvokeCommandResponse) String

func (x *InvokeCommandResponse) String() string

func (*InvokeCommandResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the InvokeCommandResponse from JSON.

func (*InvokeCommandResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the InvokeCommandResponse message from JSON.

func (*InvokeCommandResponse) UnmarshalVT

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

type RegisterCommandRequest

type RegisterCommandRequest struct {

	// Command is the command metadata.
	Command *command.Command `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	// HandlerResourceId is the resource ID of the attached handler.
	// If 0, the command has no handler (display-only).
	HandlerResourceId uint32 `protobuf:"varint,2,opt,name=handler_resource_id,json=handlerResourceId,proto3" json:"handlerResourceId,omitempty"`
	// contains filtered or unexported fields
}

RegisterCommandRequest is the request for RegisterCommand.

func (*RegisterCommandRequest) CloneMessageVT

func (*RegisterCommandRequest) CloneVT

func (*RegisterCommandRequest) EqualMessageVT

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

func (*RegisterCommandRequest) EqualVT

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

func (*RegisterCommandRequest) GetCommand

func (x *RegisterCommandRequest) GetCommand() *command.Command

func (*RegisterCommandRequest) GetHandlerResourceId

func (x *RegisterCommandRequest) GetHandlerResourceId() uint32

func (*RegisterCommandRequest) MarshalJSON

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

MarshalJSON marshals the RegisterCommandRequest to JSON.

func (*RegisterCommandRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the RegisterCommandRequest message to JSON.

func (*RegisterCommandRequest) MarshalProtoText

func (x *RegisterCommandRequest) MarshalProtoText() string

func (*RegisterCommandRequest) MarshalToSizedBufferVT

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

func (*RegisterCommandRequest) MarshalToVT

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

func (*RegisterCommandRequest) MarshalVT

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

func (*RegisterCommandRequest) ProtoMessage

func (*RegisterCommandRequest) ProtoMessage()

func (*RegisterCommandRequest) Reset

func (x *RegisterCommandRequest) Reset()

func (*RegisterCommandRequest) SizeVT

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

func (*RegisterCommandRequest) String

func (x *RegisterCommandRequest) String() string

func (*RegisterCommandRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the RegisterCommandRequest from JSON.

func (*RegisterCommandRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the RegisterCommandRequest message from JSON.

func (*RegisterCommandRequest) UnmarshalVT

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

type RegisterCommandResponse

type RegisterCommandResponse struct {

	// ResourceId is the registration resource. Releasing it unregisters the command.
	ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resourceId,omitempty"`
	// contains filtered or unexported fields
}

RegisterCommandResponse is the response for RegisterCommand.

func (*RegisterCommandResponse) CloneMessageVT

func (*RegisterCommandResponse) CloneVT

func (*RegisterCommandResponse) EqualMessageVT

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

func (*RegisterCommandResponse) EqualVT

func (*RegisterCommandResponse) GetResourceId

func (x *RegisterCommandResponse) GetResourceId() uint32

func (*RegisterCommandResponse) MarshalJSON

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

MarshalJSON marshals the RegisterCommandResponse to JSON.

func (*RegisterCommandResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the RegisterCommandResponse message to JSON.

func (*RegisterCommandResponse) MarshalProtoText

func (x *RegisterCommandResponse) MarshalProtoText() string

func (*RegisterCommandResponse) MarshalToSizedBufferVT

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

func (*RegisterCommandResponse) MarshalToVT

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

func (*RegisterCommandResponse) MarshalVT

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

func (*RegisterCommandResponse) ProtoMessage

func (*RegisterCommandResponse) ProtoMessage()

func (*RegisterCommandResponse) Reset

func (x *RegisterCommandResponse) Reset()

func (*RegisterCommandResponse) SizeVT

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

func (*RegisterCommandResponse) String

func (x *RegisterCommandResponse) String() string

func (*RegisterCommandResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the RegisterCommandResponse from JSON.

func (*RegisterCommandResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the RegisterCommandResponse message from JSON.

func (*RegisterCommandResponse) UnmarshalVT

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

type SRPCCommandHandlerServiceClient

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

	GetSubItems(ctx context.Context, in *GetSubItemsRequest) (*GetSubItemsResponse, error)

	HandleCommand(ctx context.Context, in *HandleCommandRequest) (*HandleCommandResponse, error)
}

func NewSRPCCommandHandlerServiceClient

func NewSRPCCommandHandlerServiceClient(cc srpc.Client) SRPCCommandHandlerServiceClient

func NewSRPCCommandHandlerServiceClientWithServiceID

func NewSRPCCommandHandlerServiceClientWithServiceID(cc srpc.Client, serviceID string) SRPCCommandHandlerServiceClient

type SRPCCommandHandlerServiceHandler

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

func (SRPCCommandHandlerServiceHandler) GetMethodIDs

func (SRPCCommandHandlerServiceHandler) GetMethodIDs() []string

func (*SRPCCommandHandlerServiceHandler) GetServiceID

func (d *SRPCCommandHandlerServiceHandler) GetServiceID() string

func (*SRPCCommandHandlerServiceHandler) InvokeMethod

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

func (SRPCCommandHandlerServiceHandler) InvokeMethod_GetSubItems

func (SRPCCommandHandlerServiceHandler) InvokeMethod_HandleCommand

func (SRPCCommandHandlerServiceHandler) InvokeMethod_HandleCommand(impl SRPCCommandHandlerServiceServer, strm srpc.Stream) error

type SRPCCommandHandlerServiceServer

type SRPCCommandHandlerServiceServer interface {
	GetSubItems(context.Context, *GetSubItemsRequest) (*GetSubItemsResponse, error)

	HandleCommand(context.Context, *HandleCommandRequest) (*HandleCommandResponse, error)
}

type SRPCCommandHandlerService_GetSubItemsStream

type SRPCCommandHandlerService_GetSubItemsStream interface {
	srpc.Stream
}

type SRPCCommandHandlerService_HandleCommandStream

type SRPCCommandHandlerService_HandleCommandStream interface {
	srpc.Stream
}

type SRPCCommandRegistryResourceServiceClient

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

	RegisterCommand(ctx context.Context, in *RegisterCommandRequest) (*RegisterCommandResponse, error)

	SetActive(ctx context.Context, in *SetActiveRequest) (*SetActiveResponse, error)

	SetEnabled(ctx context.Context, in *SetEnabledRequest) (*SetEnabledResponse, error)

	WatchCommands(ctx context.Context, in *WatchCommandsRequest) (SRPCCommandRegistryResourceService_WatchCommandsClient, error)

	GetSubItems(ctx context.Context, in *GetSubItemsRequest) (*GetSubItemsResponse, error)

	InvokeCommand(ctx context.Context, in *InvokeCommandRequest) (*InvokeCommandResponse, error)
}

func NewSRPCCommandRegistryResourceServiceClient

func NewSRPCCommandRegistryResourceServiceClient(cc srpc.Client) SRPCCommandRegistryResourceServiceClient

func NewSRPCCommandRegistryResourceServiceClientWithServiceID

func NewSRPCCommandRegistryResourceServiceClientWithServiceID(cc srpc.Client, serviceID string) SRPCCommandRegistryResourceServiceClient

type SRPCCommandRegistryResourceServiceHandler

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

func (SRPCCommandRegistryResourceServiceHandler) GetMethodIDs

func (*SRPCCommandRegistryResourceServiceHandler) GetServiceID

func (*SRPCCommandRegistryResourceServiceHandler) InvokeMethod

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

func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_GetSubItems

func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_InvokeCommand

func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_RegisterCommand

func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_SetActive

func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_SetEnabled

func (SRPCCommandRegistryResourceServiceHandler) InvokeMethod_WatchCommands

type SRPCCommandRegistryResourceService_GetSubItemsStream

type SRPCCommandRegistryResourceService_GetSubItemsStream interface {
	srpc.Stream
}

type SRPCCommandRegistryResourceService_InvokeCommandStream

type SRPCCommandRegistryResourceService_InvokeCommandStream interface {
	srpc.Stream
}

type SRPCCommandRegistryResourceService_RegisterCommandStream

type SRPCCommandRegistryResourceService_RegisterCommandStream interface {
	srpc.Stream
}

type SRPCCommandRegistryResourceService_SetActiveStream

type SRPCCommandRegistryResourceService_SetActiveStream interface {
	srpc.Stream
}

type SRPCCommandRegistryResourceService_SetEnabledStream

type SRPCCommandRegistryResourceService_SetEnabledStream interface {
	srpc.Stream
}

type SRPCCommandRegistryResourceService_WatchCommandsClient

type SRPCCommandRegistryResourceService_WatchCommandsClient interface {
	srpc.Stream
	Recv() (*WatchCommandsResponse, error)
	RecvTo(*WatchCommandsResponse) error
}

type SRPCCommandRegistryResourceService_WatchCommandsStream

type SRPCCommandRegistryResourceService_WatchCommandsStream interface {
	srpc.Stream
	Send(*WatchCommandsResponse) error
	SendAndClose(*WatchCommandsResponse) error
}

type SetActiveRequest

type SetActiveRequest struct {

	// ResourceId is the command registration to update.
	ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resourceId,omitempty"`
	// Active is whether the registration is active.
	Active bool `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty"`
	// contains filtered or unexported fields
}

SetActiveRequest is the request for SetActive.

func (*SetActiveRequest) CloneMessageVT

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

func (*SetActiveRequest) CloneVT

func (m *SetActiveRequest) CloneVT() *SetActiveRequest

func (*SetActiveRequest) EqualMessageVT

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

func (*SetActiveRequest) EqualVT

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

func (*SetActiveRequest) GetActive

func (x *SetActiveRequest) GetActive() bool

func (*SetActiveRequest) GetResourceId

func (x *SetActiveRequest) GetResourceId() uint32

func (*SetActiveRequest) MarshalJSON

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

MarshalJSON marshals the SetActiveRequest to JSON.

func (*SetActiveRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the SetActiveRequest message to JSON.

func (*SetActiveRequest) MarshalProtoText

func (x *SetActiveRequest) MarshalProtoText() string

func (*SetActiveRequest) MarshalToSizedBufferVT

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

func (*SetActiveRequest) MarshalToVT

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

func (*SetActiveRequest) MarshalVT

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

func (*SetActiveRequest) ProtoMessage

func (*SetActiveRequest) ProtoMessage()

func (*SetActiveRequest) Reset

func (x *SetActiveRequest) Reset()

func (*SetActiveRequest) SizeVT

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

func (*SetActiveRequest) String

func (x *SetActiveRequest) String() string

func (*SetActiveRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the SetActiveRequest from JSON.

func (*SetActiveRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the SetActiveRequest message from JSON.

func (*SetActiveRequest) UnmarshalVT

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

type SetActiveResponse

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

SetActiveResponse is the response for SetActive.

func (*SetActiveResponse) CloneMessageVT

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

func (*SetActiveResponse) CloneVT

func (m *SetActiveResponse) CloneVT() *SetActiveResponse

func (*SetActiveResponse) EqualMessageVT

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

func (*SetActiveResponse) EqualVT

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

func (*SetActiveResponse) MarshalJSON

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

MarshalJSON marshals the SetActiveResponse to JSON.

func (*SetActiveResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the SetActiveResponse message to JSON.

func (*SetActiveResponse) MarshalProtoText

func (x *SetActiveResponse) MarshalProtoText() string

func (*SetActiveResponse) MarshalToSizedBufferVT

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

func (*SetActiveResponse) MarshalToVT

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

func (*SetActiveResponse) MarshalVT

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

func (*SetActiveResponse) ProtoMessage

func (*SetActiveResponse) ProtoMessage()

func (*SetActiveResponse) Reset

func (x *SetActiveResponse) Reset()

func (*SetActiveResponse) SizeVT

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

func (*SetActiveResponse) String

func (x *SetActiveResponse) String() string

func (*SetActiveResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the SetActiveResponse from JSON.

func (*SetActiveResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the SetActiveResponse message from JSON.

func (*SetActiveResponse) UnmarshalVT

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

type SetEnabledRequest

type SetEnabledRequest struct {

	// ResourceId is the command registration to update.
	ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resourceId,omitempty"`
	// Enabled is whether the registration is enabled.
	Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

SetEnabledRequest is the request for SetEnabled.

func (*SetEnabledRequest) CloneMessageVT

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

func (*SetEnabledRequest) CloneVT

func (m *SetEnabledRequest) CloneVT() *SetEnabledRequest

func (*SetEnabledRequest) EqualMessageVT

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

func (*SetEnabledRequest) EqualVT

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

func (*SetEnabledRequest) GetEnabled

func (x *SetEnabledRequest) GetEnabled() bool

func (*SetEnabledRequest) GetResourceId

func (x *SetEnabledRequest) GetResourceId() uint32

func (*SetEnabledRequest) MarshalJSON

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

MarshalJSON marshals the SetEnabledRequest to JSON.

func (*SetEnabledRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the SetEnabledRequest message to JSON.

func (*SetEnabledRequest) MarshalProtoText

func (x *SetEnabledRequest) MarshalProtoText() string

func (*SetEnabledRequest) MarshalToSizedBufferVT

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

func (*SetEnabledRequest) MarshalToVT

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

func (*SetEnabledRequest) MarshalVT

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

func (*SetEnabledRequest) ProtoMessage

func (*SetEnabledRequest) ProtoMessage()

func (*SetEnabledRequest) Reset

func (x *SetEnabledRequest) Reset()

func (*SetEnabledRequest) SizeVT

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

func (*SetEnabledRequest) String

func (x *SetEnabledRequest) String() string

func (*SetEnabledRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the SetEnabledRequest from JSON.

func (*SetEnabledRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the SetEnabledRequest message from JSON.

func (*SetEnabledRequest) UnmarshalVT

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

type SetEnabledResponse

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

SetEnabledResponse is the response for SetEnabled.

func (*SetEnabledResponse) CloneMessageVT

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

func (*SetEnabledResponse) CloneVT

func (m *SetEnabledResponse) CloneVT() *SetEnabledResponse

func (*SetEnabledResponse) EqualMessageVT

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

func (*SetEnabledResponse) EqualVT

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

func (*SetEnabledResponse) MarshalJSON

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

MarshalJSON marshals the SetEnabledResponse to JSON.

func (*SetEnabledResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the SetEnabledResponse message to JSON.

func (*SetEnabledResponse) MarshalProtoText

func (x *SetEnabledResponse) MarshalProtoText() string

func (*SetEnabledResponse) MarshalToSizedBufferVT

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

func (*SetEnabledResponse) MarshalToVT

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

func (*SetEnabledResponse) MarshalVT

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

func (*SetEnabledResponse) ProtoMessage

func (*SetEnabledResponse) ProtoMessage()

func (*SetEnabledResponse) Reset

func (x *SetEnabledResponse) Reset()

func (*SetEnabledResponse) SizeVT

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

func (*SetEnabledResponse) String

func (x *SetEnabledResponse) String() string

func (*SetEnabledResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the SetEnabledResponse from JSON.

func (*SetEnabledResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the SetEnabledResponse message from JSON.

func (*SetEnabledResponse) UnmarshalVT

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

type WatchCommandsRequest

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

WatchCommandsRequest is the request for WatchCommands.

func (*WatchCommandsRequest) CloneMessageVT

func (*WatchCommandsRequest) CloneVT

func (*WatchCommandsRequest) EqualMessageVT

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

func (*WatchCommandsRequest) EqualVT

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

func (*WatchCommandsRequest) MarshalJSON

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

MarshalJSON marshals the WatchCommandsRequest to JSON.

func (*WatchCommandsRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the WatchCommandsRequest message to JSON.

func (*WatchCommandsRequest) MarshalProtoText

func (x *WatchCommandsRequest) MarshalProtoText() string

func (*WatchCommandsRequest) MarshalToSizedBufferVT

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

func (*WatchCommandsRequest) MarshalToVT

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

func (*WatchCommandsRequest) MarshalVT

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

func (*WatchCommandsRequest) ProtoMessage

func (*WatchCommandsRequest) ProtoMessage()

func (*WatchCommandsRequest) Reset

func (x *WatchCommandsRequest) Reset()

func (*WatchCommandsRequest) SizeVT

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

func (*WatchCommandsRequest) String

func (x *WatchCommandsRequest) String() string

func (*WatchCommandsRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the WatchCommandsRequest from JSON.

func (*WatchCommandsRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the WatchCommandsRequest message from JSON.

func (*WatchCommandsRequest) UnmarshalVT

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

type WatchCommandsResponse

type WatchCommandsResponse struct {

	// Commands is the full registry of command registrations.
	Commands []*CommandState `protobuf:"bytes,1,rep,name=commands,proto3" json:"commands,omitempty"`
	// contains filtered or unexported fields
}

WatchCommandsResponse is the response for WatchCommands.

func (*WatchCommandsResponse) CloneMessageVT

func (*WatchCommandsResponse) CloneVT

func (*WatchCommandsResponse) EqualMessageVT

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

func (*WatchCommandsResponse) EqualVT

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

func (*WatchCommandsResponse) GetCommands

func (x *WatchCommandsResponse) GetCommands() []*CommandState

func (*WatchCommandsResponse) MarshalJSON

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

MarshalJSON marshals the WatchCommandsResponse to JSON.

func (*WatchCommandsResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the WatchCommandsResponse message to JSON.

func (*WatchCommandsResponse) MarshalProtoText

func (x *WatchCommandsResponse) MarshalProtoText() string

func (*WatchCommandsResponse) MarshalToSizedBufferVT

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

func (*WatchCommandsResponse) MarshalToVT

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

func (*WatchCommandsResponse) MarshalVT

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

func (*WatchCommandsResponse) ProtoMessage

func (*WatchCommandsResponse) ProtoMessage()

func (*WatchCommandsResponse) Reset

func (x *WatchCommandsResponse) Reset()

func (*WatchCommandsResponse) SizeVT

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

func (*WatchCommandsResponse) String

func (x *WatchCommandsResponse) String() string

func (*WatchCommandsResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the WatchCommandsResponse from JSON.

func (*WatchCommandsResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the WatchCommandsResponse message from JSON.

func (*WatchCommandsResponse) UnmarshalVT

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

Jump to

Keyboard shortcuts

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