s4wave_objecttype_registry

package
v0.53.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const SRPCObjectTypeHandlerServiceServiceID = "s4wave.objecttype.registry.ObjectTypeHandlerService"
View Source
const SRPCObjectTypeRegistryResourceServiceServiceID = "s4wave.objecttype.registry.ObjectTypeRegistryResourceService"

Variables

View Source
var (
	ObjectTypeVisibility_name = map[int32]string{
		0: "OBJECT_TYPE_VISIBILITY_UNSPECIFIED",
		1: "OBJECT_TYPE_VISIBILITY_VISIBLE",
		2: "OBJECT_TYPE_VISIBILITY_HIDDEN",
		3: "OBJECT_TYPE_VISIBILITY_INTERNAL",
	}
	ObjectTypeVisibility_value = map[string]int32{
		"OBJECT_TYPE_VISIBILITY_UNSPECIFIED": 0,
		"OBJECT_TYPE_VISIBILITY_VISIBLE":     1,
		"OBJECT_TYPE_VISIBILITY_HIDDEN":      2,
		"OBJECT_TYPE_VISIBILITY_INTERNAL":    3,
	}
)

Enum value maps for ObjectTypeVisibility.

Functions

func NewSRPCObjectTypeHandlerServiceHandler

func NewSRPCObjectTypeHandlerServiceHandler(impl SRPCObjectTypeHandlerServiceServer, serviceID string) srpc.Handler

NewSRPCObjectTypeHandlerServiceHandler constructs a new RPC handler. serviceID: if empty, uses default: s4wave.objecttype.registry.ObjectTypeHandlerService

func NewSRPCObjectTypeRegistryResourceServiceHandler

func NewSRPCObjectTypeRegistryResourceServiceHandler(impl SRPCObjectTypeRegistryResourceServiceServer, serviceID string) srpc.Handler

NewSRPCObjectTypeRegistryResourceServiceHandler constructs a new RPC handler. serviceID: if empty, uses default: s4wave.objecttype.registry.ObjectTypeRegistryResourceService

func SRPCRegisterObjectTypeHandlerService

func SRPCRegisterObjectTypeHandlerService(mux srpc.Mux, impl SRPCObjectTypeHandlerServiceServer) error

SRPCRegisterObjectTypeHandlerService registers the implementation with the mux. Uses the default serviceID: s4wave.objecttype.registry.ObjectTypeHandlerService

func SRPCRegisterObjectTypeRegistryResourceService

func SRPCRegisterObjectTypeRegistryResourceService(mux srpc.Mux, impl SRPCObjectTypeRegistryResourceServiceServer) error

SRPCRegisterObjectTypeRegistryResourceService registers the implementation with the mux. Uses the default serviceID: s4wave.objecttype.registry.ObjectTypeRegistryResourceService

Types

type InvokeObjectTypeRequest

type InvokeObjectTypeRequest struct {

	// TypeId is the ObjectType ID.
	TypeId string `protobuf:"bytes,1,opt,name=type_id,json=typeId,proto3" json:"typeId,omitempty"`
	// ObjectKey is the world object key.
	ObjectKey string `protobuf:"bytes,2,opt,name=object_key,json=objectKey,proto3" json:"objectKey,omitempty"`
	// AttachedEngineResourceId gives World Engine access to the handler.
	AttachedEngineResourceId uint32 `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

InvokeObjectTypeRequest is the request for InvokeObjectType.

func (*InvokeObjectTypeRequest) CloneMessageVT

func (*InvokeObjectTypeRequest) CloneVT

func (*InvokeObjectTypeRequest) EqualMessageVT

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

func (*InvokeObjectTypeRequest) EqualVT

func (*InvokeObjectTypeRequest) GetAttachedEngineResourceId added in v0.51.2

func (x *InvokeObjectTypeRequest) GetAttachedEngineResourceId() uint32

func (*InvokeObjectTypeRequest) GetObjectKey

func (x *InvokeObjectTypeRequest) GetObjectKey() string

func (*InvokeObjectTypeRequest) GetTypeId

func (x *InvokeObjectTypeRequest) GetTypeId() string

func (*InvokeObjectTypeRequest) MarshalJSON

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

MarshalJSON marshals the InvokeObjectTypeRequest to JSON.

func (*InvokeObjectTypeRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the InvokeObjectTypeRequest message to JSON.

func (*InvokeObjectTypeRequest) MarshalProtoText

func (x *InvokeObjectTypeRequest) MarshalProtoText() string

func (*InvokeObjectTypeRequest) MarshalToSizedBufferVT

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

func (*InvokeObjectTypeRequest) MarshalToVT

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

func (*InvokeObjectTypeRequest) MarshalVT

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

func (*InvokeObjectTypeRequest) ProtoMessage

func (*InvokeObjectTypeRequest) ProtoMessage()

func (*InvokeObjectTypeRequest) Reset

func (x *InvokeObjectTypeRequest) Reset()

func (*InvokeObjectTypeRequest) SizeVT

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

func (*InvokeObjectTypeRequest) String

func (x *InvokeObjectTypeRequest) String() string

func (*InvokeObjectTypeRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the InvokeObjectTypeRequest from JSON.

func (*InvokeObjectTypeRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the InvokeObjectTypeRequest message from JSON.

func (*InvokeObjectTypeRequest) UnmarshalVT

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

type InvokeObjectTypeResponse

type InvokeObjectTypeResponse struct {

	// ResourceId is the child resource serving the ObjectType's RPCs.
	ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resourceId,omitempty"`
	// contains filtered or unexported fields
}

InvokeObjectTypeResponse is the response for InvokeObjectType.

func (*InvokeObjectTypeResponse) CloneMessageVT

func (*InvokeObjectTypeResponse) CloneVT

func (*InvokeObjectTypeResponse) EqualMessageVT

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

func (*InvokeObjectTypeResponse) EqualVT

func (*InvokeObjectTypeResponse) GetResourceId

func (x *InvokeObjectTypeResponse) GetResourceId() uint32

func (*InvokeObjectTypeResponse) MarshalJSON

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

MarshalJSON marshals the InvokeObjectTypeResponse to JSON.

func (*InvokeObjectTypeResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the InvokeObjectTypeResponse message to JSON.

func (*InvokeObjectTypeResponse) MarshalProtoText

func (x *InvokeObjectTypeResponse) MarshalProtoText() string

func (*InvokeObjectTypeResponse) MarshalToSizedBufferVT

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

func (*InvokeObjectTypeResponse) MarshalToVT

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

func (*InvokeObjectTypeResponse) MarshalVT

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

func (*InvokeObjectTypeResponse) ProtoMessage

func (*InvokeObjectTypeResponse) ProtoMessage()

func (*InvokeObjectTypeResponse) Reset

func (x *InvokeObjectTypeResponse) Reset()

func (*InvokeObjectTypeResponse) SizeVT

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

func (*InvokeObjectTypeResponse) String

func (x *InvokeObjectTypeResponse) String() string

func (*InvokeObjectTypeResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the InvokeObjectTypeResponse from JSON.

func (*InvokeObjectTypeResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the InvokeObjectTypeResponse message from JSON.

func (*InvokeObjectTypeResponse) UnmarshalVT

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

type ObjectTypeMetadata added in v0.51.7

type ObjectTypeMetadata struct {

	// DisplayName is the readable label for the ObjectType.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"displayName,omitempty"`
	// IconName is a stable icon key understood by Spacewave UI.
	IconName string `protobuf:"bytes,2,opt,name=icon_name,json=iconName,proto3" json:"iconName,omitempty"`
	// Visibility controls where the ObjectType appears.
	Visibility ObjectTypeVisibility `protobuf:"varint,3,opt,name=visibility,proto3" json:"visibility,omitempty"`
	// Description is optional supporting copy for browsers and links.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

ObjectTypeMetadata is user-facing metadata for an ObjectType.

func (*ObjectTypeMetadata) CloneMessageVT added in v0.51.7

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

func (*ObjectTypeMetadata) CloneVT added in v0.51.7

func (m *ObjectTypeMetadata) CloneVT() *ObjectTypeMetadata

func (*ObjectTypeMetadata) EqualMessageVT added in v0.51.7

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

func (*ObjectTypeMetadata) EqualVT added in v0.51.7

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

func (*ObjectTypeMetadata) GetDescription added in v0.51.7

func (x *ObjectTypeMetadata) GetDescription() string

func (*ObjectTypeMetadata) GetDisplayName added in v0.51.7

func (x *ObjectTypeMetadata) GetDisplayName() string

func (*ObjectTypeMetadata) GetIconName added in v0.51.7

func (x *ObjectTypeMetadata) GetIconName() string

func (*ObjectTypeMetadata) GetVisibility added in v0.51.7

func (x *ObjectTypeMetadata) GetVisibility() ObjectTypeVisibility

func (*ObjectTypeMetadata) MarshalJSON added in v0.51.7

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

MarshalJSON marshals the ObjectTypeMetadata to JSON.

func (*ObjectTypeMetadata) MarshalProtoJSON added in v0.51.7

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

MarshalProtoJSON marshals the ObjectTypeMetadata message to JSON.

func (*ObjectTypeMetadata) MarshalProtoText added in v0.51.7

func (x *ObjectTypeMetadata) MarshalProtoText() string

func (*ObjectTypeMetadata) MarshalToSizedBufferVT added in v0.51.7

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

func (*ObjectTypeMetadata) MarshalToVT added in v0.51.7

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

func (*ObjectTypeMetadata) MarshalVT added in v0.51.7

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

func (*ObjectTypeMetadata) ProtoMessage added in v0.51.7

func (*ObjectTypeMetadata) ProtoMessage()

func (*ObjectTypeMetadata) Reset added in v0.51.7

func (x *ObjectTypeMetadata) Reset()

func (*ObjectTypeMetadata) SizeVT added in v0.51.7

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

func (*ObjectTypeMetadata) String added in v0.51.7

func (x *ObjectTypeMetadata) String() string

func (*ObjectTypeMetadata) UnmarshalJSON added in v0.51.7

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

UnmarshalJSON unmarshals the ObjectTypeMetadata from JSON.

func (*ObjectTypeMetadata) UnmarshalProtoJSON added in v0.51.7

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

UnmarshalProtoJSON unmarshals the ObjectTypeMetadata message from JSON.

func (*ObjectTypeMetadata) UnmarshalVT added in v0.51.7

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

type ObjectTypeRegistration

type ObjectTypeRegistration struct {

	// TypeId is the ObjectType ID (e.g. "notes/notebook").
	TypeId string `protobuf:"bytes,1,opt,name=type_id,json=typeId,proto3" json:"typeId,omitempty"`
	// RegistrationId is the server-assigned ID for this registration.
	RegistrationId uint32 `protobuf:"varint,2,opt,name=registration_id,json=registrationId,proto3" json:"registrationId,omitempty"`
	// PluginId is the source plugin.
	PluginId string `protobuf:"bytes,3,opt,name=plugin_id,json=pluginId,proto3" json:"pluginId,omitempty"`
	// Metadata is user-facing display metadata for the ObjectType.
	Metadata *ObjectTypeMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

ObjectTypeRegistration is a registered ObjectType.

func (*ObjectTypeRegistration) CloneMessageVT

func (*ObjectTypeRegistration) CloneVT

func (*ObjectTypeRegistration) EqualMessageVT

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

func (*ObjectTypeRegistration) EqualVT

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

func (*ObjectTypeRegistration) GetMetadata added in v0.51.7

func (x *ObjectTypeRegistration) GetMetadata() *ObjectTypeMetadata

func (*ObjectTypeRegistration) GetPluginId

func (x *ObjectTypeRegistration) GetPluginId() string

func (*ObjectTypeRegistration) GetRegistrationId

func (x *ObjectTypeRegistration) GetRegistrationId() uint32

func (*ObjectTypeRegistration) GetTypeId

func (x *ObjectTypeRegistration) GetTypeId() string

func (*ObjectTypeRegistration) MarshalJSON

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

MarshalJSON marshals the ObjectTypeRegistration to JSON.

func (*ObjectTypeRegistration) MarshalProtoJSON

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

MarshalProtoJSON marshals the ObjectTypeRegistration message to JSON.

func (*ObjectTypeRegistration) MarshalProtoText

func (x *ObjectTypeRegistration) MarshalProtoText() string

func (*ObjectTypeRegistration) MarshalToSizedBufferVT

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

func (*ObjectTypeRegistration) MarshalToVT

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

func (*ObjectTypeRegistration) MarshalVT

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

func (*ObjectTypeRegistration) ProtoMessage

func (*ObjectTypeRegistration) ProtoMessage()

func (*ObjectTypeRegistration) Reset

func (x *ObjectTypeRegistration) Reset()

func (*ObjectTypeRegistration) SizeVT

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

func (*ObjectTypeRegistration) String

func (x *ObjectTypeRegistration) String() string

func (*ObjectTypeRegistration) UnmarshalJSON

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

UnmarshalJSON unmarshals the ObjectTypeRegistration from JSON.

func (*ObjectTypeRegistration) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ObjectTypeRegistration message from JSON.

func (*ObjectTypeRegistration) UnmarshalVT

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

type ObjectTypeVisibility added in v0.51.7

type ObjectTypeVisibility int32

ObjectTypeVisibility controls where an ObjectType should appear.

const (
	// OBJECT_TYPE_VISIBILITY_UNSPECIFIED uses the default visible behavior.
	ObjectTypeVisibility_OBJECT_TYPE_VISIBILITY_UNSPECIFIED ObjectTypeVisibility = 0
	// OBJECT_TYPE_VISIBILITY_VISIBLE makes the ObjectType visible in browsers and links.
	ObjectTypeVisibility_OBJECT_TYPE_VISIBILITY_VISIBLE ObjectTypeVisibility = 1
	// OBJECT_TYPE_VISIBILITY_HIDDEN hides the ObjectType from routine browsing.
	ObjectTypeVisibility_OBJECT_TYPE_VISIBILITY_HIDDEN ObjectTypeVisibility = 2
	// OBJECT_TYPE_VISIBILITY_INTERNAL is for implementation-owned objects.
	ObjectTypeVisibility_OBJECT_TYPE_VISIBILITY_INTERNAL ObjectTypeVisibility = 3
)

func (ObjectTypeVisibility) Enum added in v0.51.7

func (ObjectTypeVisibility) MarshalJSON added in v0.51.7

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

MarshalJSON marshals the ObjectTypeVisibility to JSON.

func (ObjectTypeVisibility) MarshalProtoJSON added in v0.51.7

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

MarshalProtoJSON marshals the ObjectTypeVisibility to JSON.

func (ObjectTypeVisibility) MarshalProtoText added in v0.51.7

func (x ObjectTypeVisibility) MarshalProtoText() string

func (ObjectTypeVisibility) MarshalText added in v0.51.7

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

MarshalText marshals the ObjectTypeVisibility to text.

func (ObjectTypeVisibility) String added in v0.51.7

func (x ObjectTypeVisibility) String() string

func (*ObjectTypeVisibility) UnmarshalJSON added in v0.51.7

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

UnmarshalJSON unmarshals the ObjectTypeVisibility from JSON.

func (*ObjectTypeVisibility) UnmarshalProtoJSON added in v0.51.7

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

UnmarshalProtoJSON unmarshals the ObjectTypeVisibility from JSON.

func (*ObjectTypeVisibility) UnmarshalText added in v0.51.7

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

UnmarshalText unmarshals the ObjectTypeVisibility from text.

type RegisterObjectTypeRequest

type RegisterObjectTypeRequest struct {

	// TypeId is the ObjectType ID to register.
	TypeId string `protobuf:"bytes,1,opt,name=type_id,json=typeId,proto3" json:"typeId,omitempty"`
	// PluginId is the registering plugin's ID.
	PluginId string `protobuf:"bytes,2,opt,name=plugin_id,json=pluginId,proto3" json:"pluginId,omitempty"`
	// Metadata is user-facing display metadata for the ObjectType.
	Metadata *ObjectTypeMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

RegisterObjectTypeRequest is the request for RegisterObjectType.

func (*RegisterObjectTypeRequest) CloneMessageVT

func (*RegisterObjectTypeRequest) CloneVT

func (*RegisterObjectTypeRequest) EqualMessageVT

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

func (*RegisterObjectTypeRequest) EqualVT

func (*RegisterObjectTypeRequest) GetMetadata added in v0.51.7

func (*RegisterObjectTypeRequest) GetPluginId

func (x *RegisterObjectTypeRequest) GetPluginId() string

func (*RegisterObjectTypeRequest) GetTypeId

func (x *RegisterObjectTypeRequest) GetTypeId() string

func (*RegisterObjectTypeRequest) MarshalJSON

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

MarshalJSON marshals the RegisterObjectTypeRequest to JSON.

func (*RegisterObjectTypeRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the RegisterObjectTypeRequest message to JSON.

func (*RegisterObjectTypeRequest) MarshalProtoText

func (x *RegisterObjectTypeRequest) MarshalProtoText() string

func (*RegisterObjectTypeRequest) MarshalToSizedBufferVT

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

func (*RegisterObjectTypeRequest) MarshalToVT

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

func (*RegisterObjectTypeRequest) MarshalVT

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

func (*RegisterObjectTypeRequest) ProtoMessage

func (*RegisterObjectTypeRequest) ProtoMessage()

func (*RegisterObjectTypeRequest) Reset

func (x *RegisterObjectTypeRequest) Reset()

func (*RegisterObjectTypeRequest) SizeVT

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

func (*RegisterObjectTypeRequest) String

func (x *RegisterObjectTypeRequest) String() string

func (*RegisterObjectTypeRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the RegisterObjectTypeRequest from JSON.

func (*RegisterObjectTypeRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the RegisterObjectTypeRequest message from JSON.

func (*RegisterObjectTypeRequest) UnmarshalVT

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

type RegisterObjectTypeResponse

type RegisterObjectTypeResponse struct {

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

RegisterObjectTypeResponse is the response for RegisterObjectType.

func (*RegisterObjectTypeResponse) CloneMessageVT

func (*RegisterObjectTypeResponse) CloneVT

func (*RegisterObjectTypeResponse) EqualMessageVT

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

func (*RegisterObjectTypeResponse) EqualVT

func (*RegisterObjectTypeResponse) GetResourceId

func (x *RegisterObjectTypeResponse) GetResourceId() uint32

func (*RegisterObjectTypeResponse) MarshalJSON

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

MarshalJSON marshals the RegisterObjectTypeResponse to JSON.

func (*RegisterObjectTypeResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the RegisterObjectTypeResponse message to JSON.

func (*RegisterObjectTypeResponse) MarshalProtoText

func (x *RegisterObjectTypeResponse) MarshalProtoText() string

func (*RegisterObjectTypeResponse) MarshalToSizedBufferVT

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

func (*RegisterObjectTypeResponse) MarshalToVT

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

func (*RegisterObjectTypeResponse) MarshalVT

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

func (*RegisterObjectTypeResponse) ProtoMessage

func (*RegisterObjectTypeResponse) ProtoMessage()

func (*RegisterObjectTypeResponse) Reset

func (x *RegisterObjectTypeResponse) Reset()

func (*RegisterObjectTypeResponse) SizeVT

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

func (*RegisterObjectTypeResponse) String

func (x *RegisterObjectTypeResponse) String() string

func (*RegisterObjectTypeResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the RegisterObjectTypeResponse from JSON.

func (*RegisterObjectTypeResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the RegisterObjectTypeResponse message from JSON.

func (*RegisterObjectTypeResponse) UnmarshalVT

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

type SRPCObjectTypeHandlerServiceClient

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

	InvokeObjectType(ctx context.Context, in *InvokeObjectTypeRequest) (*InvokeObjectTypeResponse, error)
}

func NewSRPCObjectTypeHandlerServiceClient

func NewSRPCObjectTypeHandlerServiceClient(cc srpc.Client) SRPCObjectTypeHandlerServiceClient

func NewSRPCObjectTypeHandlerServiceClientWithServiceID

func NewSRPCObjectTypeHandlerServiceClientWithServiceID(cc srpc.Client, serviceID string) SRPCObjectTypeHandlerServiceClient

type SRPCObjectTypeHandlerServiceHandler

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

func (SRPCObjectTypeHandlerServiceHandler) GetMethodIDs

func (*SRPCObjectTypeHandlerServiceHandler) GetServiceID

func (d *SRPCObjectTypeHandlerServiceHandler) GetServiceID() string

func (*SRPCObjectTypeHandlerServiceHandler) InvokeMethod

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

func (SRPCObjectTypeHandlerServiceHandler) InvokeMethod_InvokeObjectType

type SRPCObjectTypeHandlerServiceServer

type SRPCObjectTypeHandlerServiceServer interface {
	InvokeObjectType(context.Context, *InvokeObjectTypeRequest) (*InvokeObjectTypeResponse, error)
}

type SRPCObjectTypeHandlerService_InvokeObjectTypeStream

type SRPCObjectTypeHandlerService_InvokeObjectTypeStream interface {
	srpc.Stream
}

type SRPCObjectTypeRegistryResourceServiceClient

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

	RegisterObjectType(ctx context.Context, in *RegisterObjectTypeRequest) (*RegisterObjectTypeResponse, error)

	WatchObjectTypes(ctx context.Context, in *WatchObjectTypesRequest) (SRPCObjectTypeRegistryResourceService_WatchObjectTypesClient, error)
}

func NewSRPCObjectTypeRegistryResourceServiceClientWithServiceID

func NewSRPCObjectTypeRegistryResourceServiceClientWithServiceID(cc srpc.Client, serviceID string) SRPCObjectTypeRegistryResourceServiceClient

type SRPCObjectTypeRegistryResourceServiceHandler

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

func (SRPCObjectTypeRegistryResourceServiceHandler) GetMethodIDs

func (*SRPCObjectTypeRegistryResourceServiceHandler) GetServiceID

func (*SRPCObjectTypeRegistryResourceServiceHandler) InvokeMethod

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

func (SRPCObjectTypeRegistryResourceServiceHandler) InvokeMethod_RegisterObjectType

func (SRPCObjectTypeRegistryResourceServiceHandler) InvokeMethod_WatchObjectTypes

type SRPCObjectTypeRegistryResourceService_RegisterObjectTypeStream

type SRPCObjectTypeRegistryResourceService_RegisterObjectTypeStream interface {
	srpc.Stream
}

type SRPCObjectTypeRegistryResourceService_WatchObjectTypesClient

type SRPCObjectTypeRegistryResourceService_WatchObjectTypesClient interface {
	srpc.Stream
	Recv() (*WatchObjectTypesResponse, error)
	RecvTo(*WatchObjectTypesResponse) error
}

type SRPCObjectTypeRegistryResourceService_WatchObjectTypesStream

type SRPCObjectTypeRegistryResourceService_WatchObjectTypesStream interface {
	srpc.Stream
	Send(*WatchObjectTypesResponse) error
	SendAndClose(*WatchObjectTypesResponse) error
}

type WatchObjectTypesRequest

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

WatchObjectTypesRequest is the request for WatchObjectTypes.

func (*WatchObjectTypesRequest) CloneMessageVT

func (*WatchObjectTypesRequest) CloneVT

func (*WatchObjectTypesRequest) EqualMessageVT

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

func (*WatchObjectTypesRequest) EqualVT

func (*WatchObjectTypesRequest) MarshalJSON

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

MarshalJSON marshals the WatchObjectTypesRequest to JSON.

func (*WatchObjectTypesRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the WatchObjectTypesRequest message to JSON.

func (*WatchObjectTypesRequest) MarshalProtoText

func (x *WatchObjectTypesRequest) MarshalProtoText() string

func (*WatchObjectTypesRequest) MarshalToSizedBufferVT

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

func (*WatchObjectTypesRequest) MarshalToVT

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

func (*WatchObjectTypesRequest) MarshalVT

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

func (*WatchObjectTypesRequest) ProtoMessage

func (*WatchObjectTypesRequest) ProtoMessage()

func (*WatchObjectTypesRequest) Reset

func (x *WatchObjectTypesRequest) Reset()

func (*WatchObjectTypesRequest) SizeVT

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

func (*WatchObjectTypesRequest) String

func (x *WatchObjectTypesRequest) String() string

func (*WatchObjectTypesRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the WatchObjectTypesRequest from JSON.

func (*WatchObjectTypesRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the WatchObjectTypesRequest message from JSON.

func (*WatchObjectTypesRequest) UnmarshalVT

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

type WatchObjectTypesResponse

type WatchObjectTypesResponse struct {

	// Registrations is the current set of registered ObjectTypes.
	Registrations []*ObjectTypeRegistration `protobuf:"bytes,1,rep,name=registrations,proto3" json:"registrations,omitempty"`
	// contains filtered or unexported fields
}

WatchObjectTypesResponse is the response for WatchObjectTypes.

func (*WatchObjectTypesResponse) CloneMessageVT

func (*WatchObjectTypesResponse) CloneVT

func (*WatchObjectTypesResponse) EqualMessageVT

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

func (*WatchObjectTypesResponse) EqualVT

func (*WatchObjectTypesResponse) GetRegistrations

func (x *WatchObjectTypesResponse) GetRegistrations() []*ObjectTypeRegistration

func (*WatchObjectTypesResponse) MarshalJSON

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

MarshalJSON marshals the WatchObjectTypesResponse to JSON.

func (*WatchObjectTypesResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the WatchObjectTypesResponse message to JSON.

func (*WatchObjectTypesResponse) MarshalProtoText

func (x *WatchObjectTypesResponse) MarshalProtoText() string

func (*WatchObjectTypesResponse) MarshalToSizedBufferVT

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

func (*WatchObjectTypesResponse) MarshalToVT

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

func (*WatchObjectTypesResponse) MarshalVT

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

func (*WatchObjectTypesResponse) ProtoMessage

func (*WatchObjectTypesResponse) ProtoMessage()

func (*WatchObjectTypesResponse) Reset

func (x *WatchObjectTypesResponse) Reset()

func (*WatchObjectTypesResponse) SizeVT

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

func (*WatchObjectTypesResponse) String

func (x *WatchObjectTypesResponse) String() string

func (*WatchObjectTypesResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the WatchObjectTypesResponse from JSON.

func (*WatchObjectTypesResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the WatchObjectTypesResponse message from JSON.

func (*WatchObjectTypesResponse) UnmarshalVT

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

Jump to

Keyboard shortcuts

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