Documentation ¶
Index ¶
- Variables
- func ErrDefaultSubscribeUnableToModify() errors.Error
- func ErrDeviceNotFound() errors.Error
- func ErrDuplicateCreate() errors.Error
- func ErrExist() errors.Error
- func ErrForbidden() errors.Error
- func ErrInternalError() errors.Error
- func ErrInternalQuery() errors.Error
- func ErrInvalidArgument() errors.Error
- func ErrInvalidArgumentSomeFields() errors.Error
- func ErrList() errors.Error
- func ErrNotFound() errors.Error
- func ErrSomeDuplicateCreate() errors.Error
- func ErrTryToDeleteDefaultSubscribe() errors.Error
- func ErrUnauthenticated() errors.Error
- func ErrUnknown() errors.Error
- func RegisterSubscribeHTTPServer(container *go_restful.Container, srv SubscribeHTTPServer)
- func RegisterSubscribeServer(s grpc.ServiceRegistrar, srv SubscribeServer)
- type ChangeSubscribedRequest
- func (*ChangeSubscribedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeSubscribedRequest) GetId() uint64
- func (x *ChangeSubscribedRequest) GetSelectedIds() []string
- func (x *ChangeSubscribedRequest) GetTargetId() uint64
- func (*ChangeSubscribedRequest) ProtoMessage()
- func (x *ChangeSubscribedRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeSubscribedRequest) Reset()
- func (x *ChangeSubscribedRequest) String() string
- type ChangeSubscribedResponse
- func (*ChangeSubscribedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeSubscribedResponse) GetStatus() string
- func (*ChangeSubscribedResponse) ProtoMessage()
- func (x *ChangeSubscribedResponse) ProtoReflect() protoreflect.Message
- func (x *ChangeSubscribedResponse) Reset()
- func (x *ChangeSubscribedResponse) String() string
- type CreateSubscribeRequest
- func (*CreateSubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSubscribeRequest) GetDescription() string
- func (x *CreateSubscribeRequest) GetTitle() string
- func (*CreateSubscribeRequest) ProtoMessage()
- func (x *CreateSubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSubscribeRequest) Reset()
- func (x *CreateSubscribeRequest) String() string
- type CreateSubscribeResponse
- func (*CreateSubscribeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSubscribeResponse) GetDescription() string
- func (x *CreateSubscribeResponse) GetEndpoint() string
- func (x *CreateSubscribeResponse) GetId() uint64
- func (x *CreateSubscribeResponse) GetIsDefault() bool
- func (x *CreateSubscribeResponse) GetTitle() string
- func (*CreateSubscribeResponse) ProtoMessage()
- func (x *CreateSubscribeResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSubscribeResponse) Reset()
- func (x *CreateSubscribeResponse) String() string
- type DeleteSubscribeRequest
- func (*DeleteSubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSubscribeRequest) GetId() uint64
- func (*DeleteSubscribeRequest) ProtoMessage()
- func (x *DeleteSubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSubscribeRequest) Reset()
- func (x *DeleteSubscribeRequest) String() string
- type DeleteSubscribeResponse
- func (*DeleteSubscribeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSubscribeResponse) GetId() uint64
- func (*DeleteSubscribeResponse) ProtoMessage()
- func (x *DeleteSubscribeResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteSubscribeResponse) Reset()
- func (x *DeleteSubscribeResponse) String() string
- type Entity
- func (*Entity) Descriptor() ([]byte, []int)deprecated
- func (x *Entity) GetGroup() string
- func (x *Entity) GetID() string
- func (x *Entity) GetName() string
- func (x *Entity) GetStatus() string
- func (x *Entity) GetTemplate() string
- func (x *Entity) GetUpdatedAt() int64
- func (*Entity) ProtoMessage()
- func (x *Entity) ProtoReflect() protoreflect.Message
- func (x *Entity) Reset()
- func (x *Entity) String() string
- type Error
- type GetSubscribeRequest
- func (*GetSubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubscribeRequest) GetId() uint64
- func (*GetSubscribeRequest) ProtoMessage()
- func (x *GetSubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *GetSubscribeRequest) Reset()
- func (x *GetSubscribeRequest) String() string
- type GetSubscribeResponse
- func (*GetSubscribeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubscribeResponse) GetCount() uint64
- func (x *GetSubscribeResponse) GetCreatedAt() int64
- func (x *GetSubscribeResponse) GetDescription() string
- func (x *GetSubscribeResponse) GetEndpoint() string
- func (x *GetSubscribeResponse) GetId() uint64
- func (x *GetSubscribeResponse) GetIsDefault() bool
- func (x *GetSubscribeResponse) GetTitle() string
- func (x *GetSubscribeResponse) GetUpdatedAt() int64
- func (*GetSubscribeResponse) ProtoMessage()
- func (x *GetSubscribeResponse) ProtoReflect() protoreflect.Message
- func (x *GetSubscribeResponse) Reset()
- func (x *GetSubscribeResponse) String() string
- type ListSubscribeEntitiesRequest
- func (*ListSubscribeEntitiesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSubscribeEntitiesRequest) GetId() uint64
- func (x *ListSubscribeEntitiesRequest) GetIsDescending() bool
- func (x *ListSubscribeEntitiesRequest) GetKeyWords() string
- func (x *ListSubscribeEntitiesRequest) GetOrderBy() string
- func (x *ListSubscribeEntitiesRequest) GetPageNum() uint64
- func (x *ListSubscribeEntitiesRequest) GetPageSize() uint64
- func (x *ListSubscribeEntitiesRequest) GetSearchKey() string
- func (*ListSubscribeEntitiesRequest) ProtoMessage()
- func (x *ListSubscribeEntitiesRequest) ProtoReflect() protoreflect.Message
- func (x *ListSubscribeEntitiesRequest) Reset()
- func (x *ListSubscribeEntitiesRequest) String() string
- type ListSubscribeEntitiesResponse
- func (*ListSubscribeEntitiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSubscribeEntitiesResponse) GetData() []*Entity
- func (x *ListSubscribeEntitiesResponse) GetLastPage() uint64
- func (x *ListSubscribeEntitiesResponse) GetPageNum() uint64
- func (x *ListSubscribeEntitiesResponse) GetPageSize() uint64
- func (x *ListSubscribeEntitiesResponse) GetTotal() uint64
- func (*ListSubscribeEntitiesResponse) ProtoMessage()
- func (x *ListSubscribeEntitiesResponse) ProtoReflect() protoreflect.Message
- func (x *ListSubscribeEntitiesResponse) Reset()
- func (x *ListSubscribeEntitiesResponse) String() string
- type ListSubscribeRequest
- func (*ListSubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSubscribeRequest) GetIsDescending() bool
- func (x *ListSubscribeRequest) GetKeyWords() string
- func (x *ListSubscribeRequest) GetOrderBy() string
- func (x *ListSubscribeRequest) GetPageNum() uint64
- func (x *ListSubscribeRequest) GetPageSize() uint64
- func (x *ListSubscribeRequest) GetSearchKey() string
- func (*ListSubscribeRequest) ProtoMessage()
- func (x *ListSubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *ListSubscribeRequest) Reset()
- func (x *ListSubscribeRequest) String() string
- type ListSubscribeResponse
- func (*ListSubscribeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSubscribeResponse) GetData() []*SubscribeObject
- func (x *ListSubscribeResponse) GetLastPage() uint64
- func (x *ListSubscribeResponse) GetPageNum() uint64
- func (x *ListSubscribeResponse) GetPageSize() uint64
- func (x *ListSubscribeResponse) GetTotal() uint64
- func (*ListSubscribeResponse) ProtoMessage()
- func (x *ListSubscribeResponse) ProtoReflect() protoreflect.Message
- func (x *ListSubscribeResponse) Reset()
- func (x *ListSubscribeResponse) String() string
- type SubscribeByDeviceRequest
- func (*SubscribeByDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeByDeviceRequest) GetId() string
- func (x *SubscribeByDeviceRequest) GetSubscribeIds() []string
- func (*SubscribeByDeviceRequest) ProtoMessage()
- func (x *SubscribeByDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeByDeviceRequest) Reset()
- func (x *SubscribeByDeviceRequest) String() string
- type SubscribeByDeviceResponse
- func (*SubscribeByDeviceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeByDeviceResponse) GetStatus() string
- func (*SubscribeByDeviceResponse) ProtoMessage()
- func (x *SubscribeByDeviceResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeByDeviceResponse) Reset()
- func (x *SubscribeByDeviceResponse) String() string
- type SubscribeClient
- type SubscribeEntitiesByGroupsRequest
- func (*SubscribeEntitiesByGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeEntitiesByGroupsRequest) GetGroups() []string
- func (x *SubscribeEntitiesByGroupsRequest) GetId() uint64
- func (*SubscribeEntitiesByGroupsRequest) ProtoMessage()
- func (x *SubscribeEntitiesByGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeEntitiesByGroupsRequest) Reset()
- func (x *SubscribeEntitiesByGroupsRequest) String() string
- type SubscribeEntitiesByGroupsResponse
- func (*SubscribeEntitiesByGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeEntitiesByGroupsResponse) GetId() uint64
- func (x *SubscribeEntitiesByGroupsResponse) GetStatus() string
- func (*SubscribeEntitiesByGroupsResponse) ProtoMessage()
- func (x *SubscribeEntitiesByGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeEntitiesByGroupsResponse) Reset()
- func (x *SubscribeEntitiesByGroupsResponse) String() string
- type SubscribeEntitiesByIDsRequest
- func (*SubscribeEntitiesByIDsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeEntitiesByIDsRequest) GetEntities() []string
- func (x *SubscribeEntitiesByIDsRequest) GetId() uint64
- func (*SubscribeEntitiesByIDsRequest) ProtoMessage()
- func (x *SubscribeEntitiesByIDsRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeEntitiesByIDsRequest) Reset()
- func (x *SubscribeEntitiesByIDsRequest) String() string
- type SubscribeEntitiesByIDsResponse
- func (*SubscribeEntitiesByIDsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeEntitiesByIDsResponse) GetId() uint64
- func (x *SubscribeEntitiesByIDsResponse) GetStatus() string
- func (*SubscribeEntitiesByIDsResponse) ProtoMessage()
- func (x *SubscribeEntitiesByIDsResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeEntitiesByIDsResponse) Reset()
- func (x *SubscribeEntitiesByIDsResponse) String() string
- type SubscribeEntitiesByModelsRequest
- func (*SubscribeEntitiesByModelsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeEntitiesByModelsRequest) GetId() uint64
- func (x *SubscribeEntitiesByModelsRequest) GetModels() []string
- func (*SubscribeEntitiesByModelsRequest) ProtoMessage()
- func (x *SubscribeEntitiesByModelsRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeEntitiesByModelsRequest) Reset()
- func (x *SubscribeEntitiesByModelsRequest) String() string
- type SubscribeEntitiesByModelsResponse
- func (*SubscribeEntitiesByModelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeEntitiesByModelsResponse) GetId() uint64
- func (x *SubscribeEntitiesByModelsResponse) GetStatus() string
- func (*SubscribeEntitiesByModelsResponse) ProtoMessage()
- func (x *SubscribeEntitiesByModelsResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeEntitiesByModelsResponse) Reset()
- func (x *SubscribeEntitiesByModelsResponse) String() string
- type SubscribeHTTPHandler
- func (h *SubscribeHTTPHandler) ChangeSubscribed(req *go_restful.Request, resp *go_restful.Response)
- func (h *SubscribeHTTPHandler) CreateSubscribe(req *go_restful.Request, resp *go_restful.Response)
- func (h *SubscribeHTTPHandler) DeleteSubscribe(req *go_restful.Request, resp *go_restful.Response)
- func (h *SubscribeHTTPHandler) GetSubscribe(req *go_restful.Request, resp *go_restful.Response)
- func (h *SubscribeHTTPHandler) ListSubscribe(req *go_restful.Request, resp *go_restful.Response)
- func (h *SubscribeHTTPHandler) ListSubscribeEntities(req *go_restful.Request, resp *go_restful.Response)
- func (h *SubscribeHTTPHandler) SubscribeByDevice(req *go_restful.Request, resp *go_restful.Response)
- func (h *SubscribeHTTPHandler) SubscribeEntitiesByGroups(req *go_restful.Request, resp *go_restful.Response)
- func (h *SubscribeHTTPHandler) SubscribeEntitiesByIDs(req *go_restful.Request, resp *go_restful.Response)
- func (h *SubscribeHTTPHandler) SubscribeEntitiesByModels(req *go_restful.Request, resp *go_restful.Response)
- func (h *SubscribeHTTPHandler) UnsubscribeEntitiesByIDs(req *go_restful.Request, resp *go_restful.Response)
- func (h *SubscribeHTTPHandler) UpdateSubscribe(req *go_restful.Request, resp *go_restful.Response)
- func (h *SubscribeHTTPHandler) ValidateSubscribed(req *go_restful.Request, resp *go_restful.Response)
- type SubscribeHTTPServer
- type SubscribeObject
- func (*SubscribeObject) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeObject) GetDescription() string
- func (x *SubscribeObject) GetEndpoint() string
- func (x *SubscribeObject) GetId() uint64
- func (x *SubscribeObject) GetIsDefault() bool
- func (x *SubscribeObject) GetTitle() string
- func (*SubscribeObject) ProtoMessage()
- func (x *SubscribeObject) ProtoReflect() protoreflect.Message
- func (x *SubscribeObject) Reset()
- func (x *SubscribeObject) String() string
- type SubscribeServer
- type UnimplementedSubscribeServer
- func (UnimplementedSubscribeServer) ChangeSubscribed(context.Context, *ChangeSubscribedRequest) (*ChangeSubscribedResponse, error)
- func (UnimplementedSubscribeServer) CreateSubscribe(context.Context, *CreateSubscribeRequest) (*CreateSubscribeResponse, error)
- func (UnimplementedSubscribeServer) DeleteSubscribe(context.Context, *DeleteSubscribeRequest) (*DeleteSubscribeResponse, error)
- func (UnimplementedSubscribeServer) GetSubscribe(context.Context, *GetSubscribeRequest) (*GetSubscribeResponse, error)
- func (UnimplementedSubscribeServer) ListSubscribe(context.Context, *ListSubscribeRequest) (*ListSubscribeResponse, error)
- func (UnimplementedSubscribeServer) ListSubscribeEntities(context.Context, *ListSubscribeEntitiesRequest) (*ListSubscribeEntitiesResponse, error)
- func (UnimplementedSubscribeServer) SubscribeByDevice(context.Context, *SubscribeByDeviceRequest) (*SubscribeByDeviceResponse, error)
- func (UnimplementedSubscribeServer) SubscribeEntitiesByGroups(context.Context, *SubscribeEntitiesByGroupsRequest) (*SubscribeEntitiesByGroupsResponse, error)
- func (UnimplementedSubscribeServer) SubscribeEntitiesByIDs(context.Context, *SubscribeEntitiesByIDsRequest) (*SubscribeEntitiesByIDsResponse, error)
- func (UnimplementedSubscribeServer) SubscribeEntitiesByModels(context.Context, *SubscribeEntitiesByModelsRequest) (*SubscribeEntitiesByModelsResponse, error)
- func (UnimplementedSubscribeServer) UnsubscribeEntitiesByIDs(context.Context, *UnsubscribeEntitiesByIDsRequest) (*UnsubscribeEntitiesByIDsResponse, error)
- func (UnimplementedSubscribeServer) UpdateSubscribe(context.Context, *UpdateSubscribeRequest) (*UpdateSubscribeResponse, error)
- func (UnimplementedSubscribeServer) ValidateSubscribed(context.Context, *ValidateSubscribedRequest) (*ValidateSubscribedResponse, error)
- type UnsafeSubscribeServer
- type UnsubscribeEntitiesByIDsRequest
- func (*UnsubscribeEntitiesByIDsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnsubscribeEntitiesByIDsRequest) GetEntities() []string
- func (x *UnsubscribeEntitiesByIDsRequest) GetId() uint64
- func (*UnsubscribeEntitiesByIDsRequest) ProtoMessage()
- func (x *UnsubscribeEntitiesByIDsRequest) ProtoReflect() protoreflect.Message
- func (x *UnsubscribeEntitiesByIDsRequest) Reset()
- func (x *UnsubscribeEntitiesByIDsRequest) String() string
- type UnsubscribeEntitiesByIDsResponse
- func (*UnsubscribeEntitiesByIDsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UnsubscribeEntitiesByIDsResponse) GetId() uint64
- func (x *UnsubscribeEntitiesByIDsResponse) GetStatus() string
- func (*UnsubscribeEntitiesByIDsResponse) ProtoMessage()
- func (x *UnsubscribeEntitiesByIDsResponse) ProtoReflect() protoreflect.Message
- func (x *UnsubscribeEntitiesByIDsResponse) Reset()
- func (x *UnsubscribeEntitiesByIDsResponse) String() string
- type UpdateSubscribeRequest
- func (*UpdateSubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSubscribeRequest) GetDescription() string
- func (x *UpdateSubscribeRequest) GetId() uint64
- func (x *UpdateSubscribeRequest) GetTitle() string
- func (*UpdateSubscribeRequest) ProtoMessage()
- func (x *UpdateSubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSubscribeRequest) Reset()
- func (x *UpdateSubscribeRequest) String() string
- type UpdateSubscribeResponse
- func (*UpdateSubscribeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSubscribeResponse) GetDescription() string
- func (x *UpdateSubscribeResponse) GetEndpoint() string
- func (x *UpdateSubscribeResponse) GetId() uint64
- func (x *UpdateSubscribeResponse) GetIsDefault() bool
- func (x *UpdateSubscribeResponse) GetTitle() string
- func (*UpdateSubscribeResponse) ProtoMessage()
- func (x *UpdateSubscribeResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateSubscribeResponse) Reset()
- func (x *UpdateSubscribeResponse) String() string
- type ValidateSubscribedRequest
- func (*ValidateSubscribedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateSubscribedRequest) GetTopic() string
- func (*ValidateSubscribedRequest) ProtoMessage()
- func (x *ValidateSubscribedRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateSubscribedRequest) Reset()
- func (x *ValidateSubscribedRequest) String() string
- type ValidateSubscribedResponse
- func (*ValidateSubscribedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateSubscribedResponse) GetStatus() string
- func (*ValidateSubscribedResponse) ProtoMessage()
- func (x *ValidateSubscribedResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateSubscribedResponse) Reset()
- func (x *ValidateSubscribedResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Error_name = map[int32]string{ 0: "ERR_UNKNOWN", 1: "ERR_NOT_FOUND", 2: "ERR_LIST", 3: "ERR_INVALID_ARGUMENT", 4: "ERR_INTERNAL_ERROR", 5: "ERR_EXIST", 6: "ERR_UNAUTHENTICATED", 7: "ERR_INTERNAL_QUERY", 8: "ERR_DEVICE_NOT_FOUND", 9: "ERR_INVALID_ARGUMENT_SOME_FIELDS", 10: "ERR_DUPLICATE_CREATE", 11: "ERR_SOME_DUPLICATE_CREATE", 12: "ERR_TRY_TO_DELETE_DEFAULT_SUBSCRIBE", 13: "ERR_FORBIDDEN", 14: "ERR_DEFAULT_SUBSCRIBE_UNABLE_TO_MODIFY", } Error_value = map[string]int32{ "ERR_UNKNOWN": 0, "ERR_NOT_FOUND": 1, "ERR_LIST": 2, "ERR_INVALID_ARGUMENT": 3, "ERR_INTERNAL_ERROR": 4, "ERR_EXIST": 5, "ERR_UNAUTHENTICATED": 6, "ERR_INTERNAL_QUERY": 7, "ERR_DEVICE_NOT_FOUND": 8, "ERR_INVALID_ARGUMENT_SOME_FIELDS": 9, "ERR_DUPLICATE_CREATE": 10, "ERR_SOME_DUPLICATE_CREATE": 11, "ERR_TRY_TO_DELETE_DEFAULT_SUBSCRIBE": 12, "ERR_FORBIDDEN": 13, "ERR_DEFAULT_SUBSCRIBE_UNABLE_TO_MODIFY": 14, } )
Enum value maps for Error.
var File_api_subscribe_v1_error_proto protoreflect.FileDescriptor
var File_api_subscribe_v1_subscribe_proto protoreflect.FileDescriptor
var Subscribe_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.subscribe.v1.Subscribe", HandlerType: (*SubscribeServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SubscribeEntitiesByIDs", Handler: _Subscribe_SubscribeEntitiesByIDs_Handler, }, { MethodName: "SubscribeEntitiesByGroups", Handler: _Subscribe_SubscribeEntitiesByGroups_Handler, }, { MethodName: "SubscribeEntitiesByModels", Handler: _Subscribe_SubscribeEntitiesByModels_Handler, }, { MethodName: "UnsubscribeEntitiesByIDs", Handler: _Subscribe_UnsubscribeEntitiesByIDs_Handler, }, { MethodName: "ListSubscribeEntities", Handler: _Subscribe_ListSubscribeEntities_Handler, }, { MethodName: "CreateSubscribe", Handler: _Subscribe_CreateSubscribe_Handler, }, { MethodName: "UpdateSubscribe", Handler: _Subscribe_UpdateSubscribe_Handler, }, { MethodName: "DeleteSubscribe", Handler: _Subscribe_DeleteSubscribe_Handler, }, { MethodName: "GetSubscribe", Handler: _Subscribe_GetSubscribe_Handler, }, { MethodName: "ListSubscribe", Handler: _Subscribe_ListSubscribe_Handler, }, { MethodName: "ChangeSubscribed", Handler: _Subscribe_ChangeSubscribed_Handler, }, { MethodName: "ValidateSubscribed", Handler: _Subscribe_ValidateSubscribed_Handler, }, { MethodName: "SubscribeByDevice", Handler: _Subscribe_SubscribeByDevice_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/subscribe/v1/subscribe.proto", }
Subscribe_ServiceDesc is the grpc.ServiceDesc for Subscribe service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func ErrDefaultSubscribeUnableToModify ¶ added in v0.4.5
func ErrDeviceNotFound ¶ added in v0.4.2
func ErrDuplicateCreate ¶ added in v0.4.2
func ErrForbidden ¶ added in v0.4.5
func ErrInternalError ¶ added in v0.4.2
func ErrInternalQuery ¶ added in v0.4.2
func ErrInvalidArgument ¶ added in v0.4.2
func ErrInvalidArgumentSomeFields ¶ added in v0.4.2
func ErrNotFound ¶ added in v0.4.2
func ErrSomeDuplicateCreate ¶ added in v0.4.2
func ErrTryToDeleteDefaultSubscribe ¶ added in v0.4.2
func ErrUnauthenticated ¶ added in v0.4.2
func ErrUnknown ¶ added in v0.4.2
func RegisterSubscribeHTTPServer ¶
func RegisterSubscribeHTTPServer(container *go_restful.Container, srv SubscribeHTTPServer)
func RegisterSubscribeServer ¶
func RegisterSubscribeServer(s grpc.ServiceRegistrar, srv SubscribeServer)
Types ¶
type ChangeSubscribedRequest ¶
type ChangeSubscribedRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` TargetId uint64 `protobuf:"varint,2,opt,name=targetId,proto3" json:"targetId,omitempty"` SelectedIds []string `protobuf:"bytes,3,rep,name=selectedIds,proto3" json:"selectedIds,omitempty"` // contains filtered or unexported fields }
func (*ChangeSubscribedRequest) Descriptor
deprecated
func (*ChangeSubscribedRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeSubscribedRequest.ProtoReflect.Descriptor instead.
func (*ChangeSubscribedRequest) GetId ¶
func (x *ChangeSubscribedRequest) GetId() uint64
func (*ChangeSubscribedRequest) GetSelectedIds ¶
func (x *ChangeSubscribedRequest) GetSelectedIds() []string
func (*ChangeSubscribedRequest) GetTargetId ¶
func (x *ChangeSubscribedRequest) GetTargetId() uint64
func (*ChangeSubscribedRequest) ProtoMessage ¶
func (*ChangeSubscribedRequest) ProtoMessage()
func (*ChangeSubscribedRequest) ProtoReflect ¶
func (x *ChangeSubscribedRequest) ProtoReflect() protoreflect.Message
func (*ChangeSubscribedRequest) Reset ¶
func (x *ChangeSubscribedRequest) Reset()
func (*ChangeSubscribedRequest) String ¶
func (x *ChangeSubscribedRequest) String() string
type ChangeSubscribedResponse ¶
type ChangeSubscribedResponse struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ChangeSubscribedResponse) Descriptor
deprecated
func (*ChangeSubscribedResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangeSubscribedResponse.ProtoReflect.Descriptor instead.
func (*ChangeSubscribedResponse) GetStatus ¶
func (x *ChangeSubscribedResponse) GetStatus() string
func (*ChangeSubscribedResponse) ProtoMessage ¶
func (*ChangeSubscribedResponse) ProtoMessage()
func (*ChangeSubscribedResponse) ProtoReflect ¶
func (x *ChangeSubscribedResponse) ProtoReflect() protoreflect.Message
func (*ChangeSubscribedResponse) Reset ¶
func (x *ChangeSubscribedResponse) Reset()
func (*ChangeSubscribedResponse) String ¶
func (x *ChangeSubscribedResponse) String() string
type CreateSubscribeRequest ¶
type CreateSubscribeRequest struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*CreateSubscribeRequest) Descriptor
deprecated
func (*CreateSubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSubscribeRequest.ProtoReflect.Descriptor instead.
func (*CreateSubscribeRequest) GetDescription ¶
func (x *CreateSubscribeRequest) GetDescription() string
func (*CreateSubscribeRequest) GetTitle ¶
func (x *CreateSubscribeRequest) GetTitle() string
func (*CreateSubscribeRequest) ProtoMessage ¶
func (*CreateSubscribeRequest) ProtoMessage()
func (*CreateSubscribeRequest) ProtoReflect ¶
func (x *CreateSubscribeRequest) ProtoReflect() protoreflect.Message
func (*CreateSubscribeRequest) Reset ¶
func (x *CreateSubscribeRequest) Reset()
func (*CreateSubscribeRequest) String ¶
func (x *CreateSubscribeRequest) String() string
type CreateSubscribeResponse ¶
type CreateSubscribeResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` IsDefault bool `protobuf:"varint,5,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` // contains filtered or unexported fields }
func (*CreateSubscribeResponse) Descriptor
deprecated
func (*CreateSubscribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSubscribeResponse.ProtoReflect.Descriptor instead.
func (*CreateSubscribeResponse) GetDescription ¶
func (x *CreateSubscribeResponse) GetDescription() string
func (*CreateSubscribeResponse) GetEndpoint ¶
func (x *CreateSubscribeResponse) GetEndpoint() string
func (*CreateSubscribeResponse) GetId ¶
func (x *CreateSubscribeResponse) GetId() uint64
func (*CreateSubscribeResponse) GetIsDefault ¶
func (x *CreateSubscribeResponse) GetIsDefault() bool
func (*CreateSubscribeResponse) GetTitle ¶
func (x *CreateSubscribeResponse) GetTitle() string
func (*CreateSubscribeResponse) ProtoMessage ¶
func (*CreateSubscribeResponse) ProtoMessage()
func (*CreateSubscribeResponse) ProtoReflect ¶
func (x *CreateSubscribeResponse) ProtoReflect() protoreflect.Message
func (*CreateSubscribeResponse) Reset ¶
func (x *CreateSubscribeResponse) Reset()
func (*CreateSubscribeResponse) String ¶
func (x *CreateSubscribeResponse) String() string
type DeleteSubscribeRequest ¶
type DeleteSubscribeRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteSubscribeRequest) Descriptor
deprecated
func (*DeleteSubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSubscribeRequest.ProtoReflect.Descriptor instead.
func (*DeleteSubscribeRequest) GetId ¶
func (x *DeleteSubscribeRequest) GetId() uint64
func (*DeleteSubscribeRequest) ProtoMessage ¶
func (*DeleteSubscribeRequest) ProtoMessage()
func (*DeleteSubscribeRequest) ProtoReflect ¶
func (x *DeleteSubscribeRequest) ProtoReflect() protoreflect.Message
func (*DeleteSubscribeRequest) Reset ¶
func (x *DeleteSubscribeRequest) Reset()
func (*DeleteSubscribeRequest) String ¶
func (x *DeleteSubscribeRequest) String() string
type DeleteSubscribeResponse ¶
type DeleteSubscribeResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteSubscribeResponse) Descriptor
deprecated
func (*DeleteSubscribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSubscribeResponse.ProtoReflect.Descriptor instead.
func (*DeleteSubscribeResponse) GetId ¶
func (x *DeleteSubscribeResponse) GetId() uint64
func (*DeleteSubscribeResponse) ProtoMessage ¶
func (*DeleteSubscribeResponse) ProtoMessage()
func (*DeleteSubscribeResponse) ProtoReflect ¶
func (x *DeleteSubscribeResponse) ProtoReflect() protoreflect.Message
func (*DeleteSubscribeResponse) Reset ¶
func (x *DeleteSubscribeResponse) Reset()
func (*DeleteSubscribeResponse) String ¶
func (x *DeleteSubscribeResponse) String() string
type Entity ¶
type Entity struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` Template string `protobuf:"bytes,4,opt,name=template,proto3" json:"template,omitempty"` Group string `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"` UpdatedAt int64 `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Entity) Descriptor
deprecated
func (*Entity) GetTemplate ¶
func (*Entity) GetUpdatedAt ¶
func (*Entity) ProtoMessage ¶
func (*Entity) ProtoMessage()
func (*Entity) ProtoReflect ¶
func (x *Entity) ProtoReflect() protoreflect.Message
type Error ¶ added in v0.4.2
type Error int32
@plugins=protoc-gen-go-errors 错误
const ( // @msg=未知类型 // @code=UNKNOWN Error_ERR_UNKNOWN Error = 0 // @msg=未找到目标资源 // @code=NOT_FOUND Error_ERR_NOT_FOUND Error = 1 // @msg=获取列表信息失败 // @code=INTERNAL Error_ERR_LIST Error = 2 // @msg=请求参数无效 // @code=INVALID_ARGUMENT Error_ERR_INVALID_ARGUMENT Error = 3 // @msg=服务器内部错误 // @code=INTERNAL Error_ERR_INTERNAL_ERROR Error = 4 // @msg=订阅已存在 // @code=INVALID_ARGUMENT Error_ERR_EXIST Error = 5 // @msg=请确保您对资源拥有相应权限 // @code=PERMISSION_DENIED Error_ERR_UNAUTHENTICATED Error = 6 // @msg=内部资源获取失败 // @code=INTERNAL Error_ERR_INTERNAL_QUERY Error = 7 // @msg=未找到设备 // @code=OK Error_ERR_DEVICE_NOT_FOUND Error = 8 // @msg=必须字段未填充有效值 // @code=INVALID_ARGUMENT Error_ERR_INVALID_ARGUMENT_SOME_FIELDS Error = 9 // @msg=重复添加订阅 // @code=INVALID_ARGUMENT Error_ERR_DUPLICATE_CREATE Error = 10 // @msg=存在重复订阅 // @code=OK Error_ERR_SOME_DUPLICATE_CREATE Error = 11 // @msg=默认订阅不可删除 // @code=INVALID_ARGUMENT Error_ERR_TRY_TO_DELETE_DEFAULT_SUBSCRIBE Error = 12 // @msg=禁止对该资源操作 // @code=PERMISSION_DENIED Error_ERR_FORBIDDEN Error = 13 // @msg=默认订阅无法被修改 // @code=PERMISSION_DENIED Error_ERR_DEFAULT_SUBSCRIBE_UNABLE_TO_MODIFY Error = 14 )
func (Error) Descriptor ¶ added in v0.4.2
func (Error) Descriptor() protoreflect.EnumDescriptor
func (Error) EnumDescriptor
deprecated
added in
v0.4.2
func (Error) Number ¶ added in v0.4.2
func (x Error) Number() protoreflect.EnumNumber
func (Error) Type ¶ added in v0.4.2
func (Error) Type() protoreflect.EnumType
type GetSubscribeRequest ¶
type GetSubscribeRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetSubscribeRequest) Descriptor
deprecated
func (*GetSubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSubscribeRequest.ProtoReflect.Descriptor instead.
func (*GetSubscribeRequest) GetId ¶
func (x *GetSubscribeRequest) GetId() uint64
func (*GetSubscribeRequest) ProtoMessage ¶
func (*GetSubscribeRequest) ProtoMessage()
func (*GetSubscribeRequest) ProtoReflect ¶
func (x *GetSubscribeRequest) ProtoReflect() protoreflect.Message
func (*GetSubscribeRequest) Reset ¶
func (x *GetSubscribeRequest) Reset()
func (*GetSubscribeRequest) String ¶
func (x *GetSubscribeRequest) String() string
type GetSubscribeResponse ¶
type GetSubscribeResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Count uint64 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` IsDefault bool `protobuf:"varint,8,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` // contains filtered or unexported fields }
func (*GetSubscribeResponse) Descriptor
deprecated
func (*GetSubscribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSubscribeResponse.ProtoReflect.Descriptor instead.
func (*GetSubscribeResponse) GetCount ¶
func (x *GetSubscribeResponse) GetCount() uint64
func (*GetSubscribeResponse) GetCreatedAt ¶
func (x *GetSubscribeResponse) GetCreatedAt() int64
func (*GetSubscribeResponse) GetDescription ¶
func (x *GetSubscribeResponse) GetDescription() string
func (*GetSubscribeResponse) GetEndpoint ¶
func (x *GetSubscribeResponse) GetEndpoint() string
func (*GetSubscribeResponse) GetId ¶
func (x *GetSubscribeResponse) GetId() uint64
func (*GetSubscribeResponse) GetIsDefault ¶
func (x *GetSubscribeResponse) GetIsDefault() bool
func (*GetSubscribeResponse) GetTitle ¶
func (x *GetSubscribeResponse) GetTitle() string
func (*GetSubscribeResponse) GetUpdatedAt ¶
func (x *GetSubscribeResponse) GetUpdatedAt() int64
func (*GetSubscribeResponse) ProtoMessage ¶
func (*GetSubscribeResponse) ProtoMessage()
func (*GetSubscribeResponse) ProtoReflect ¶
func (x *GetSubscribeResponse) ProtoReflect() protoreflect.Message
func (*GetSubscribeResponse) Reset ¶
func (x *GetSubscribeResponse) Reset()
func (*GetSubscribeResponse) String ¶
func (x *GetSubscribeResponse) String() string
type ListSubscribeEntitiesRequest ¶
type ListSubscribeEntitiesRequest struct { PageNum uint64 `protobuf:"varint,1,opt,name=page_num,json=pageNum,proto3" json:"page_num,omitempty"` PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` OrderBy string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` IsDescending bool `protobuf:"varint,4,opt,name=is_descending,json=isDescending,proto3" json:"is_descending,omitempty"` KeyWords string `protobuf:"bytes,5,opt,name=key_words,json=keyWords,proto3" json:"key_words,omitempty"` SearchKey string `protobuf:"bytes,6,opt,name=search_key,json=searchKey,proto3" json:"search_key,omitempty"` Id uint64 `protobuf:"varint,7,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ListSubscribeEntitiesRequest) Descriptor
deprecated
func (*ListSubscribeEntitiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSubscribeEntitiesRequest.ProtoReflect.Descriptor instead.
func (*ListSubscribeEntitiesRequest) GetId ¶
func (x *ListSubscribeEntitiesRequest) GetId() uint64
func (*ListSubscribeEntitiesRequest) GetIsDescending ¶
func (x *ListSubscribeEntitiesRequest) GetIsDescending() bool
func (*ListSubscribeEntitiesRequest) GetKeyWords ¶
func (x *ListSubscribeEntitiesRequest) GetKeyWords() string
func (*ListSubscribeEntitiesRequest) GetOrderBy ¶
func (x *ListSubscribeEntitiesRequest) GetOrderBy() string
func (*ListSubscribeEntitiesRequest) GetPageNum ¶
func (x *ListSubscribeEntitiesRequest) GetPageNum() uint64
func (*ListSubscribeEntitiesRequest) GetPageSize ¶
func (x *ListSubscribeEntitiesRequest) GetPageSize() uint64
func (*ListSubscribeEntitiesRequest) GetSearchKey ¶
func (x *ListSubscribeEntitiesRequest) GetSearchKey() string
func (*ListSubscribeEntitiesRequest) ProtoMessage ¶
func (*ListSubscribeEntitiesRequest) ProtoMessage()
func (*ListSubscribeEntitiesRequest) ProtoReflect ¶
func (x *ListSubscribeEntitiesRequest) ProtoReflect() protoreflect.Message
func (*ListSubscribeEntitiesRequest) Reset ¶
func (x *ListSubscribeEntitiesRequest) Reset()
func (*ListSubscribeEntitiesRequest) String ¶
func (x *ListSubscribeEntitiesRequest) String() string
type ListSubscribeEntitiesResponse ¶
type ListSubscribeEntitiesResponse struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` PageNum uint64 `protobuf:"varint,2,opt,name=page_num,json=pageNum,proto3" json:"page_num,omitempty"` LastPage uint64 `protobuf:"varint,3,opt,name=last_page,json=lastPage,proto3" json:"last_page,omitempty"` PageSize uint64 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Data []*Entity `protobuf:"bytes,5,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ListSubscribeEntitiesResponse) Descriptor
deprecated
func (*ListSubscribeEntitiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSubscribeEntitiesResponse.ProtoReflect.Descriptor instead.
func (*ListSubscribeEntitiesResponse) GetData ¶
func (x *ListSubscribeEntitiesResponse) GetData() []*Entity
func (*ListSubscribeEntitiesResponse) GetLastPage ¶
func (x *ListSubscribeEntitiesResponse) GetLastPage() uint64
func (*ListSubscribeEntitiesResponse) GetPageNum ¶
func (x *ListSubscribeEntitiesResponse) GetPageNum() uint64
func (*ListSubscribeEntitiesResponse) GetPageSize ¶
func (x *ListSubscribeEntitiesResponse) GetPageSize() uint64
func (*ListSubscribeEntitiesResponse) GetTotal ¶
func (x *ListSubscribeEntitiesResponse) GetTotal() uint64
func (*ListSubscribeEntitiesResponse) ProtoMessage ¶
func (*ListSubscribeEntitiesResponse) ProtoMessage()
func (*ListSubscribeEntitiesResponse) ProtoReflect ¶
func (x *ListSubscribeEntitiesResponse) ProtoReflect() protoreflect.Message
func (*ListSubscribeEntitiesResponse) Reset ¶
func (x *ListSubscribeEntitiesResponse) Reset()
func (*ListSubscribeEntitiesResponse) String ¶
func (x *ListSubscribeEntitiesResponse) String() string
type ListSubscribeRequest ¶
type ListSubscribeRequest struct { PageNum uint64 `protobuf:"varint,1,opt,name=page_num,json=pageNum,proto3" json:"page_num,omitempty"` PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` OrderBy string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` IsDescending bool `protobuf:"varint,4,opt,name=is_descending,json=isDescending,proto3" json:"is_descending,omitempty"` KeyWords string `protobuf:"bytes,5,opt,name=key_words,json=keyWords,proto3" json:"key_words,omitempty"` SearchKey string `protobuf:"bytes,6,opt,name=search_key,json=searchKey,proto3" json:"search_key,omitempty"` // contains filtered or unexported fields }
func (*ListSubscribeRequest) Descriptor
deprecated
func (*ListSubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSubscribeRequest.ProtoReflect.Descriptor instead.
func (*ListSubscribeRequest) GetIsDescending ¶
func (x *ListSubscribeRequest) GetIsDescending() bool
func (*ListSubscribeRequest) GetKeyWords ¶
func (x *ListSubscribeRequest) GetKeyWords() string
func (*ListSubscribeRequest) GetOrderBy ¶
func (x *ListSubscribeRequest) GetOrderBy() string
func (*ListSubscribeRequest) GetPageNum ¶
func (x *ListSubscribeRequest) GetPageNum() uint64
func (*ListSubscribeRequest) GetPageSize ¶
func (x *ListSubscribeRequest) GetPageSize() uint64
func (*ListSubscribeRequest) GetSearchKey ¶
func (x *ListSubscribeRequest) GetSearchKey() string
func (*ListSubscribeRequest) ProtoMessage ¶
func (*ListSubscribeRequest) ProtoMessage()
func (*ListSubscribeRequest) ProtoReflect ¶
func (x *ListSubscribeRequest) ProtoReflect() protoreflect.Message
func (*ListSubscribeRequest) Reset ¶
func (x *ListSubscribeRequest) Reset()
func (*ListSubscribeRequest) String ¶
func (x *ListSubscribeRequest) String() string
type ListSubscribeResponse ¶
type ListSubscribeResponse struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` PageNum uint64 `protobuf:"varint,2,opt,name=page_num,json=pageNum,proto3" json:"page_num,omitempty"` LastPage uint64 `protobuf:"varint,3,opt,name=last_page,json=lastPage,proto3" json:"last_page,omitempty"` PageSize uint64 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Data []*SubscribeObject `protobuf:"bytes,5,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ListSubscribeResponse) Descriptor
deprecated
func (*ListSubscribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSubscribeResponse.ProtoReflect.Descriptor instead.
func (*ListSubscribeResponse) GetData ¶
func (x *ListSubscribeResponse) GetData() []*SubscribeObject
func (*ListSubscribeResponse) GetLastPage ¶
func (x *ListSubscribeResponse) GetLastPage() uint64
func (*ListSubscribeResponse) GetPageNum ¶
func (x *ListSubscribeResponse) GetPageNum() uint64
func (*ListSubscribeResponse) GetPageSize ¶
func (x *ListSubscribeResponse) GetPageSize() uint64
func (*ListSubscribeResponse) GetTotal ¶
func (x *ListSubscribeResponse) GetTotal() uint64
func (*ListSubscribeResponse) ProtoMessage ¶
func (*ListSubscribeResponse) ProtoMessage()
func (*ListSubscribeResponse) ProtoReflect ¶
func (x *ListSubscribeResponse) ProtoReflect() protoreflect.Message
func (*ListSubscribeResponse) Reset ¶
func (x *ListSubscribeResponse) Reset()
func (*ListSubscribeResponse) String ¶
func (x *ListSubscribeResponse) String() string
type SubscribeByDeviceRequest ¶
type SubscribeByDeviceRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` SubscribeIds []string `protobuf:"bytes,2,rep,name=subscribe_ids,json=subscribeIds,proto3" json:"subscribe_ids,omitempty"` // contains filtered or unexported fields }
func (*SubscribeByDeviceRequest) Descriptor
deprecated
func (*SubscribeByDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeByDeviceRequest.ProtoReflect.Descriptor instead.
func (*SubscribeByDeviceRequest) GetId ¶
func (x *SubscribeByDeviceRequest) GetId() string
func (*SubscribeByDeviceRequest) GetSubscribeIds ¶
func (x *SubscribeByDeviceRequest) GetSubscribeIds() []string
func (*SubscribeByDeviceRequest) ProtoMessage ¶
func (*SubscribeByDeviceRequest) ProtoMessage()
func (*SubscribeByDeviceRequest) ProtoReflect ¶
func (x *SubscribeByDeviceRequest) ProtoReflect() protoreflect.Message
func (*SubscribeByDeviceRequest) Reset ¶
func (x *SubscribeByDeviceRequest) Reset()
func (*SubscribeByDeviceRequest) String ¶
func (x *SubscribeByDeviceRequest) String() string
type SubscribeByDeviceResponse ¶
type SubscribeByDeviceResponse struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*SubscribeByDeviceResponse) Descriptor
deprecated
func (*SubscribeByDeviceResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeByDeviceResponse.ProtoReflect.Descriptor instead.
func (*SubscribeByDeviceResponse) GetStatus ¶
func (x *SubscribeByDeviceResponse) GetStatus() string
func (*SubscribeByDeviceResponse) ProtoMessage ¶
func (*SubscribeByDeviceResponse) ProtoMessage()
func (*SubscribeByDeviceResponse) ProtoReflect ¶
func (x *SubscribeByDeviceResponse) ProtoReflect() protoreflect.Message
func (*SubscribeByDeviceResponse) Reset ¶
func (x *SubscribeByDeviceResponse) Reset()
func (*SubscribeByDeviceResponse) String ¶
func (x *SubscribeByDeviceResponse) String() string
type SubscribeClient ¶
type SubscribeClient interface { SubscribeEntitiesByIDs(ctx context.Context, in *SubscribeEntitiesByIDsRequest, opts ...grpc.CallOption) (*SubscribeEntitiesByIDsResponse, error) SubscribeEntitiesByGroups(ctx context.Context, in *SubscribeEntitiesByGroupsRequest, opts ...grpc.CallOption) (*SubscribeEntitiesByGroupsResponse, error) SubscribeEntitiesByModels(ctx context.Context, in *SubscribeEntitiesByModelsRequest, opts ...grpc.CallOption) (*SubscribeEntitiesByModelsResponse, error) UnsubscribeEntitiesByIDs(ctx context.Context, in *UnsubscribeEntitiesByIDsRequest, opts ...grpc.CallOption) (*UnsubscribeEntitiesByIDsResponse, error) ListSubscribeEntities(ctx context.Context, in *ListSubscribeEntitiesRequest, opts ...grpc.CallOption) (*ListSubscribeEntitiesResponse, error) CreateSubscribe(ctx context.Context, in *CreateSubscribeRequest, opts ...grpc.CallOption) (*CreateSubscribeResponse, error) UpdateSubscribe(ctx context.Context, in *UpdateSubscribeRequest, opts ...grpc.CallOption) (*UpdateSubscribeResponse, error) DeleteSubscribe(ctx context.Context, in *DeleteSubscribeRequest, opts ...grpc.CallOption) (*DeleteSubscribeResponse, error) GetSubscribe(ctx context.Context, in *GetSubscribeRequest, opts ...grpc.CallOption) (*GetSubscribeResponse, error) ListSubscribe(ctx context.Context, in *ListSubscribeRequest, opts ...grpc.CallOption) (*ListSubscribeResponse, error) ChangeSubscribed(ctx context.Context, in *ChangeSubscribedRequest, opts ...grpc.CallOption) (*ChangeSubscribedResponse, error) ValidateSubscribed(ctx context.Context, in *ValidateSubscribedRequest, opts ...grpc.CallOption) (*ValidateSubscribedResponse, error) SubscribeByDevice(ctx context.Context, in *SubscribeByDeviceRequest, opts ...grpc.CallOption) (*SubscribeByDeviceResponse, error) }
SubscribeClient is the client API for Subscribe service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSubscribeClient ¶
func NewSubscribeClient(cc grpc.ClientConnInterface) SubscribeClient
type SubscribeEntitiesByGroupsRequest ¶
type SubscribeEntitiesByGroupsRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Groups []string `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*SubscribeEntitiesByGroupsRequest) Descriptor
deprecated
func (*SubscribeEntitiesByGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeEntitiesByGroupsRequest.ProtoReflect.Descriptor instead.
func (*SubscribeEntitiesByGroupsRequest) GetGroups ¶
func (x *SubscribeEntitiesByGroupsRequest) GetGroups() []string
func (*SubscribeEntitiesByGroupsRequest) GetId ¶
func (x *SubscribeEntitiesByGroupsRequest) GetId() uint64
func (*SubscribeEntitiesByGroupsRequest) ProtoMessage ¶
func (*SubscribeEntitiesByGroupsRequest) ProtoMessage()
func (*SubscribeEntitiesByGroupsRequest) ProtoReflect ¶
func (x *SubscribeEntitiesByGroupsRequest) ProtoReflect() protoreflect.Message
func (*SubscribeEntitiesByGroupsRequest) Reset ¶
func (x *SubscribeEntitiesByGroupsRequest) Reset()
func (*SubscribeEntitiesByGroupsRequest) String ¶
func (x *SubscribeEntitiesByGroupsRequest) String() string
type SubscribeEntitiesByGroupsResponse ¶
type SubscribeEntitiesByGroupsResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*SubscribeEntitiesByGroupsResponse) Descriptor
deprecated
func (*SubscribeEntitiesByGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeEntitiesByGroupsResponse.ProtoReflect.Descriptor instead.
func (*SubscribeEntitiesByGroupsResponse) GetId ¶
func (x *SubscribeEntitiesByGroupsResponse) GetId() uint64
func (*SubscribeEntitiesByGroupsResponse) GetStatus ¶
func (x *SubscribeEntitiesByGroupsResponse) GetStatus() string
func (*SubscribeEntitiesByGroupsResponse) ProtoMessage ¶
func (*SubscribeEntitiesByGroupsResponse) ProtoMessage()
func (*SubscribeEntitiesByGroupsResponse) ProtoReflect ¶
func (x *SubscribeEntitiesByGroupsResponse) ProtoReflect() protoreflect.Message
func (*SubscribeEntitiesByGroupsResponse) Reset ¶
func (x *SubscribeEntitiesByGroupsResponse) Reset()
func (*SubscribeEntitiesByGroupsResponse) String ¶
func (x *SubscribeEntitiesByGroupsResponse) String() string
type SubscribeEntitiesByIDsRequest ¶
type SubscribeEntitiesByIDsRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"` // contains filtered or unexported fields }
func (*SubscribeEntitiesByIDsRequest) Descriptor
deprecated
func (*SubscribeEntitiesByIDsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeEntitiesByIDsRequest.ProtoReflect.Descriptor instead.
func (*SubscribeEntitiesByIDsRequest) GetEntities ¶
func (x *SubscribeEntitiesByIDsRequest) GetEntities() []string
func (*SubscribeEntitiesByIDsRequest) GetId ¶
func (x *SubscribeEntitiesByIDsRequest) GetId() uint64
func (*SubscribeEntitiesByIDsRequest) ProtoMessage ¶
func (*SubscribeEntitiesByIDsRequest) ProtoMessage()
func (*SubscribeEntitiesByIDsRequest) ProtoReflect ¶
func (x *SubscribeEntitiesByIDsRequest) ProtoReflect() protoreflect.Message
func (*SubscribeEntitiesByIDsRequest) Reset ¶
func (x *SubscribeEntitiesByIDsRequest) Reset()
func (*SubscribeEntitiesByIDsRequest) String ¶
func (x *SubscribeEntitiesByIDsRequest) String() string
type SubscribeEntitiesByIDsResponse ¶
type SubscribeEntitiesByIDsResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*SubscribeEntitiesByIDsResponse) Descriptor
deprecated
func (*SubscribeEntitiesByIDsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeEntitiesByIDsResponse.ProtoReflect.Descriptor instead.
func (*SubscribeEntitiesByIDsResponse) GetId ¶
func (x *SubscribeEntitiesByIDsResponse) GetId() uint64
func (*SubscribeEntitiesByIDsResponse) GetStatus ¶
func (x *SubscribeEntitiesByIDsResponse) GetStatus() string
func (*SubscribeEntitiesByIDsResponse) ProtoMessage ¶
func (*SubscribeEntitiesByIDsResponse) ProtoMessage()
func (*SubscribeEntitiesByIDsResponse) ProtoReflect ¶
func (x *SubscribeEntitiesByIDsResponse) ProtoReflect() protoreflect.Message
func (*SubscribeEntitiesByIDsResponse) Reset ¶
func (x *SubscribeEntitiesByIDsResponse) Reset()
func (*SubscribeEntitiesByIDsResponse) String ¶
func (x *SubscribeEntitiesByIDsResponse) String() string
type SubscribeEntitiesByModelsRequest ¶
type SubscribeEntitiesByModelsRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Models []string `protobuf:"bytes,2,rep,name=models,proto3" json:"models,omitempty"` // contains filtered or unexported fields }
func (*SubscribeEntitiesByModelsRequest) Descriptor
deprecated
func (*SubscribeEntitiesByModelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeEntitiesByModelsRequest.ProtoReflect.Descriptor instead.
func (*SubscribeEntitiesByModelsRequest) GetId ¶
func (x *SubscribeEntitiesByModelsRequest) GetId() uint64
func (*SubscribeEntitiesByModelsRequest) GetModels ¶
func (x *SubscribeEntitiesByModelsRequest) GetModels() []string
func (*SubscribeEntitiesByModelsRequest) ProtoMessage ¶
func (*SubscribeEntitiesByModelsRequest) ProtoMessage()
func (*SubscribeEntitiesByModelsRequest) ProtoReflect ¶
func (x *SubscribeEntitiesByModelsRequest) ProtoReflect() protoreflect.Message
func (*SubscribeEntitiesByModelsRequest) Reset ¶
func (x *SubscribeEntitiesByModelsRequest) Reset()
func (*SubscribeEntitiesByModelsRequest) String ¶
func (x *SubscribeEntitiesByModelsRequest) String() string
type SubscribeEntitiesByModelsResponse ¶
type SubscribeEntitiesByModelsResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*SubscribeEntitiesByModelsResponse) Descriptor
deprecated
func (*SubscribeEntitiesByModelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeEntitiesByModelsResponse.ProtoReflect.Descriptor instead.
func (*SubscribeEntitiesByModelsResponse) GetId ¶
func (x *SubscribeEntitiesByModelsResponse) GetId() uint64
func (*SubscribeEntitiesByModelsResponse) GetStatus ¶
func (x *SubscribeEntitiesByModelsResponse) GetStatus() string
func (*SubscribeEntitiesByModelsResponse) ProtoMessage ¶
func (*SubscribeEntitiesByModelsResponse) ProtoMessage()
func (*SubscribeEntitiesByModelsResponse) ProtoReflect ¶
func (x *SubscribeEntitiesByModelsResponse) ProtoReflect() protoreflect.Message
func (*SubscribeEntitiesByModelsResponse) Reset ¶
func (x *SubscribeEntitiesByModelsResponse) Reset()
func (*SubscribeEntitiesByModelsResponse) String ¶
func (x *SubscribeEntitiesByModelsResponse) String() string
type SubscribeHTTPHandler ¶
type SubscribeHTTPHandler struct {
// contains filtered or unexported fields
}
func (*SubscribeHTTPHandler) ChangeSubscribed ¶
func (h *SubscribeHTTPHandler) ChangeSubscribed(req *go_restful.Request, resp *go_restful.Response)
func (*SubscribeHTTPHandler) CreateSubscribe ¶
func (h *SubscribeHTTPHandler) CreateSubscribe(req *go_restful.Request, resp *go_restful.Response)
func (*SubscribeHTTPHandler) DeleteSubscribe ¶
func (h *SubscribeHTTPHandler) DeleteSubscribe(req *go_restful.Request, resp *go_restful.Response)
func (*SubscribeHTTPHandler) GetSubscribe ¶
func (h *SubscribeHTTPHandler) GetSubscribe(req *go_restful.Request, resp *go_restful.Response)
func (*SubscribeHTTPHandler) ListSubscribe ¶
func (h *SubscribeHTTPHandler) ListSubscribe(req *go_restful.Request, resp *go_restful.Response)
func (*SubscribeHTTPHandler) ListSubscribeEntities ¶
func (h *SubscribeHTTPHandler) ListSubscribeEntities(req *go_restful.Request, resp *go_restful.Response)
func (*SubscribeHTTPHandler) SubscribeByDevice ¶
func (h *SubscribeHTTPHandler) SubscribeByDevice(req *go_restful.Request, resp *go_restful.Response)
func (*SubscribeHTTPHandler) SubscribeEntitiesByGroups ¶
func (h *SubscribeHTTPHandler) SubscribeEntitiesByGroups(req *go_restful.Request, resp *go_restful.Response)
func (*SubscribeHTTPHandler) SubscribeEntitiesByIDs ¶
func (h *SubscribeHTTPHandler) SubscribeEntitiesByIDs(req *go_restful.Request, resp *go_restful.Response)
func (*SubscribeHTTPHandler) SubscribeEntitiesByModels ¶
func (h *SubscribeHTTPHandler) SubscribeEntitiesByModels(req *go_restful.Request, resp *go_restful.Response)
func (*SubscribeHTTPHandler) UnsubscribeEntitiesByIDs ¶
func (h *SubscribeHTTPHandler) UnsubscribeEntitiesByIDs(req *go_restful.Request, resp *go_restful.Response)
func (*SubscribeHTTPHandler) UpdateSubscribe ¶
func (h *SubscribeHTTPHandler) UpdateSubscribe(req *go_restful.Request, resp *go_restful.Response)
func (*SubscribeHTTPHandler) ValidateSubscribed ¶
func (h *SubscribeHTTPHandler) ValidateSubscribed(req *go_restful.Request, resp *go_restful.Response)
type SubscribeHTTPServer ¶
type SubscribeHTTPServer interface { ChangeSubscribed(context.Context, *ChangeSubscribedRequest) (*ChangeSubscribedResponse, error) CreateSubscribe(context.Context, *CreateSubscribeRequest) (*CreateSubscribeResponse, error) DeleteSubscribe(context.Context, *DeleteSubscribeRequest) (*DeleteSubscribeResponse, error) GetSubscribe(context.Context, *GetSubscribeRequest) (*GetSubscribeResponse, error) ListSubscribe(context.Context, *ListSubscribeRequest) (*ListSubscribeResponse, error) ListSubscribeEntities(context.Context, *ListSubscribeEntitiesRequest) (*ListSubscribeEntitiesResponse, error) SubscribeByDevice(context.Context, *SubscribeByDeviceRequest) (*SubscribeByDeviceResponse, error) SubscribeEntitiesByGroups(context.Context, *SubscribeEntitiesByGroupsRequest) (*SubscribeEntitiesByGroupsResponse, error) SubscribeEntitiesByIDs(context.Context, *SubscribeEntitiesByIDsRequest) (*SubscribeEntitiesByIDsResponse, error) SubscribeEntitiesByModels(context.Context, *SubscribeEntitiesByModelsRequest) (*SubscribeEntitiesByModelsResponse, error) UnsubscribeEntitiesByIDs(context.Context, *UnsubscribeEntitiesByIDsRequest) (*UnsubscribeEntitiesByIDsResponse, error) UpdateSubscribe(context.Context, *UpdateSubscribeRequest) (*UpdateSubscribeResponse, error) ValidateSubscribed(context.Context, *ValidateSubscribedRequest) (*ValidateSubscribedResponse, error) }
type SubscribeObject ¶
type SubscribeObject struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` IsDefault bool `protobuf:"varint,5,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` // contains filtered or unexported fields }
func (*SubscribeObject) Descriptor
deprecated
func (*SubscribeObject) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeObject.ProtoReflect.Descriptor instead.
func (*SubscribeObject) GetDescription ¶
func (x *SubscribeObject) GetDescription() string
func (*SubscribeObject) GetEndpoint ¶
func (x *SubscribeObject) GetEndpoint() string
func (*SubscribeObject) GetId ¶
func (x *SubscribeObject) GetId() uint64
func (*SubscribeObject) GetIsDefault ¶
func (x *SubscribeObject) GetIsDefault() bool
func (*SubscribeObject) GetTitle ¶
func (x *SubscribeObject) GetTitle() string
func (*SubscribeObject) ProtoMessage ¶
func (*SubscribeObject) ProtoMessage()
func (*SubscribeObject) ProtoReflect ¶
func (x *SubscribeObject) ProtoReflect() protoreflect.Message
func (*SubscribeObject) Reset ¶
func (x *SubscribeObject) Reset()
func (*SubscribeObject) String ¶
func (x *SubscribeObject) String() string
type SubscribeServer ¶
type SubscribeServer interface { SubscribeEntitiesByIDs(context.Context, *SubscribeEntitiesByIDsRequest) (*SubscribeEntitiesByIDsResponse, error) SubscribeEntitiesByGroups(context.Context, *SubscribeEntitiesByGroupsRequest) (*SubscribeEntitiesByGroupsResponse, error) SubscribeEntitiesByModels(context.Context, *SubscribeEntitiesByModelsRequest) (*SubscribeEntitiesByModelsResponse, error) UnsubscribeEntitiesByIDs(context.Context, *UnsubscribeEntitiesByIDsRequest) (*UnsubscribeEntitiesByIDsResponse, error) ListSubscribeEntities(context.Context, *ListSubscribeEntitiesRequest) (*ListSubscribeEntitiesResponse, error) CreateSubscribe(context.Context, *CreateSubscribeRequest) (*CreateSubscribeResponse, error) UpdateSubscribe(context.Context, *UpdateSubscribeRequest) (*UpdateSubscribeResponse, error) DeleteSubscribe(context.Context, *DeleteSubscribeRequest) (*DeleteSubscribeResponse, error) GetSubscribe(context.Context, *GetSubscribeRequest) (*GetSubscribeResponse, error) ListSubscribe(context.Context, *ListSubscribeRequest) (*ListSubscribeResponse, error) ChangeSubscribed(context.Context, *ChangeSubscribedRequest) (*ChangeSubscribedResponse, error) ValidateSubscribed(context.Context, *ValidateSubscribedRequest) (*ValidateSubscribedResponse, error) SubscribeByDevice(context.Context, *SubscribeByDeviceRequest) (*SubscribeByDeviceResponse, error) // contains filtered or unexported methods }
SubscribeServer is the server API for Subscribe service. All implementations must embed UnimplementedSubscribeServer for forward compatibility
type UnimplementedSubscribeServer ¶
type UnimplementedSubscribeServer struct { }
UnimplementedSubscribeServer must be embedded to have forward compatible implementations.
func (UnimplementedSubscribeServer) ChangeSubscribed ¶
func (UnimplementedSubscribeServer) ChangeSubscribed(context.Context, *ChangeSubscribedRequest) (*ChangeSubscribedResponse, error)
func (UnimplementedSubscribeServer) CreateSubscribe ¶
func (UnimplementedSubscribeServer) CreateSubscribe(context.Context, *CreateSubscribeRequest) (*CreateSubscribeResponse, error)
func (UnimplementedSubscribeServer) DeleteSubscribe ¶
func (UnimplementedSubscribeServer) DeleteSubscribe(context.Context, *DeleteSubscribeRequest) (*DeleteSubscribeResponse, error)
func (UnimplementedSubscribeServer) GetSubscribe ¶
func (UnimplementedSubscribeServer) GetSubscribe(context.Context, *GetSubscribeRequest) (*GetSubscribeResponse, error)
func (UnimplementedSubscribeServer) ListSubscribe ¶
func (UnimplementedSubscribeServer) ListSubscribe(context.Context, *ListSubscribeRequest) (*ListSubscribeResponse, error)
func (UnimplementedSubscribeServer) ListSubscribeEntities ¶
func (UnimplementedSubscribeServer) ListSubscribeEntities(context.Context, *ListSubscribeEntitiesRequest) (*ListSubscribeEntitiesResponse, error)
func (UnimplementedSubscribeServer) SubscribeByDevice ¶
func (UnimplementedSubscribeServer) SubscribeByDevice(context.Context, *SubscribeByDeviceRequest) (*SubscribeByDeviceResponse, error)
func (UnimplementedSubscribeServer) SubscribeEntitiesByGroups ¶
func (UnimplementedSubscribeServer) SubscribeEntitiesByGroups(context.Context, *SubscribeEntitiesByGroupsRequest) (*SubscribeEntitiesByGroupsResponse, error)
func (UnimplementedSubscribeServer) SubscribeEntitiesByIDs ¶
func (UnimplementedSubscribeServer) SubscribeEntitiesByIDs(context.Context, *SubscribeEntitiesByIDsRequest) (*SubscribeEntitiesByIDsResponse, error)
func (UnimplementedSubscribeServer) SubscribeEntitiesByModels ¶
func (UnimplementedSubscribeServer) SubscribeEntitiesByModels(context.Context, *SubscribeEntitiesByModelsRequest) (*SubscribeEntitiesByModelsResponse, error)
func (UnimplementedSubscribeServer) UnsubscribeEntitiesByIDs ¶
func (UnimplementedSubscribeServer) UnsubscribeEntitiesByIDs(context.Context, *UnsubscribeEntitiesByIDsRequest) (*UnsubscribeEntitiesByIDsResponse, error)
func (UnimplementedSubscribeServer) UpdateSubscribe ¶
func (UnimplementedSubscribeServer) UpdateSubscribe(context.Context, *UpdateSubscribeRequest) (*UpdateSubscribeResponse, error)
func (UnimplementedSubscribeServer) ValidateSubscribed ¶
func (UnimplementedSubscribeServer) ValidateSubscribed(context.Context, *ValidateSubscribedRequest) (*ValidateSubscribedResponse, error)
type UnsafeSubscribeServer ¶
type UnsafeSubscribeServer interface {
// contains filtered or unexported methods
}
UnsafeSubscribeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SubscribeServer will result in compilation errors.
type UnsubscribeEntitiesByIDsRequest ¶
type UnsubscribeEntitiesByIDsRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Entities []string `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"` // contains filtered or unexported fields }
func (*UnsubscribeEntitiesByIDsRequest) Descriptor
deprecated
func (*UnsubscribeEntitiesByIDsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnsubscribeEntitiesByIDsRequest.ProtoReflect.Descriptor instead.
func (*UnsubscribeEntitiesByIDsRequest) GetEntities ¶
func (x *UnsubscribeEntitiesByIDsRequest) GetEntities() []string
func (*UnsubscribeEntitiesByIDsRequest) GetId ¶
func (x *UnsubscribeEntitiesByIDsRequest) GetId() uint64
func (*UnsubscribeEntitiesByIDsRequest) ProtoMessage ¶
func (*UnsubscribeEntitiesByIDsRequest) ProtoMessage()
func (*UnsubscribeEntitiesByIDsRequest) ProtoReflect ¶
func (x *UnsubscribeEntitiesByIDsRequest) ProtoReflect() protoreflect.Message
func (*UnsubscribeEntitiesByIDsRequest) Reset ¶
func (x *UnsubscribeEntitiesByIDsRequest) Reset()
func (*UnsubscribeEntitiesByIDsRequest) String ¶
func (x *UnsubscribeEntitiesByIDsRequest) String() string
type UnsubscribeEntitiesByIDsResponse ¶
type UnsubscribeEntitiesByIDsResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*UnsubscribeEntitiesByIDsResponse) Descriptor
deprecated
func (*UnsubscribeEntitiesByIDsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnsubscribeEntitiesByIDsResponse.ProtoReflect.Descriptor instead.
func (*UnsubscribeEntitiesByIDsResponse) GetId ¶
func (x *UnsubscribeEntitiesByIDsResponse) GetId() uint64
func (*UnsubscribeEntitiesByIDsResponse) GetStatus ¶
func (x *UnsubscribeEntitiesByIDsResponse) GetStatus() string
func (*UnsubscribeEntitiesByIDsResponse) ProtoMessage ¶
func (*UnsubscribeEntitiesByIDsResponse) ProtoMessage()
func (*UnsubscribeEntitiesByIDsResponse) ProtoReflect ¶
func (x *UnsubscribeEntitiesByIDsResponse) ProtoReflect() protoreflect.Message
func (*UnsubscribeEntitiesByIDsResponse) Reset ¶
func (x *UnsubscribeEntitiesByIDsResponse) Reset()
func (*UnsubscribeEntitiesByIDsResponse) String ¶
func (x *UnsubscribeEntitiesByIDsResponse) String() string
type UpdateSubscribeRequest ¶
type UpdateSubscribeRequest struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Id uint64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*UpdateSubscribeRequest) Descriptor
deprecated
func (*UpdateSubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSubscribeRequest.ProtoReflect.Descriptor instead.
func (*UpdateSubscribeRequest) GetDescription ¶
func (x *UpdateSubscribeRequest) GetDescription() string
func (*UpdateSubscribeRequest) GetId ¶
func (x *UpdateSubscribeRequest) GetId() uint64
func (*UpdateSubscribeRequest) GetTitle ¶
func (x *UpdateSubscribeRequest) GetTitle() string
func (*UpdateSubscribeRequest) ProtoMessage ¶
func (*UpdateSubscribeRequest) ProtoMessage()
func (*UpdateSubscribeRequest) ProtoReflect ¶
func (x *UpdateSubscribeRequest) ProtoReflect() protoreflect.Message
func (*UpdateSubscribeRequest) Reset ¶
func (x *UpdateSubscribeRequest) Reset()
func (*UpdateSubscribeRequest) String ¶
func (x *UpdateSubscribeRequest) String() string
type UpdateSubscribeResponse ¶
type UpdateSubscribeResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` IsDefault bool `protobuf:"varint,5,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` // contains filtered or unexported fields }
func (*UpdateSubscribeResponse) Descriptor
deprecated
func (*UpdateSubscribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSubscribeResponse.ProtoReflect.Descriptor instead.
func (*UpdateSubscribeResponse) GetDescription ¶
func (x *UpdateSubscribeResponse) GetDescription() string
func (*UpdateSubscribeResponse) GetEndpoint ¶
func (x *UpdateSubscribeResponse) GetEndpoint() string
func (*UpdateSubscribeResponse) GetId ¶
func (x *UpdateSubscribeResponse) GetId() uint64
func (*UpdateSubscribeResponse) GetIsDefault ¶
func (x *UpdateSubscribeResponse) GetIsDefault() bool
func (*UpdateSubscribeResponse) GetTitle ¶
func (x *UpdateSubscribeResponse) GetTitle() string
func (*UpdateSubscribeResponse) ProtoMessage ¶
func (*UpdateSubscribeResponse) ProtoMessage()
func (*UpdateSubscribeResponse) ProtoReflect ¶
func (x *UpdateSubscribeResponse) ProtoReflect() protoreflect.Message
func (*UpdateSubscribeResponse) Reset ¶
func (x *UpdateSubscribeResponse) Reset()
func (*UpdateSubscribeResponse) String ¶
func (x *UpdateSubscribeResponse) String() string
type ValidateSubscribedRequest ¶
type ValidateSubscribedRequest struct { Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` // contains filtered or unexported fields }
func (*ValidateSubscribedRequest) Descriptor
deprecated
func (*ValidateSubscribedRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateSubscribedRequest.ProtoReflect.Descriptor instead.
func (*ValidateSubscribedRequest) GetTopic ¶
func (x *ValidateSubscribedRequest) GetTopic() string
func (*ValidateSubscribedRequest) ProtoMessage ¶
func (*ValidateSubscribedRequest) ProtoMessage()
func (*ValidateSubscribedRequest) ProtoReflect ¶
func (x *ValidateSubscribedRequest) ProtoReflect() protoreflect.Message
func (*ValidateSubscribedRequest) Reset ¶
func (x *ValidateSubscribedRequest) Reset()
func (*ValidateSubscribedRequest) String ¶
func (x *ValidateSubscribedRequest) String() string
type ValidateSubscribedResponse ¶
type ValidateSubscribedResponse struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ValidateSubscribedResponse) Descriptor
deprecated
func (*ValidateSubscribedResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateSubscribedResponse.ProtoReflect.Descriptor instead.
func (*ValidateSubscribedResponse) GetStatus ¶
func (x *ValidateSubscribedResponse) GetStatus() string
func (*ValidateSubscribedResponse) ProtoMessage ¶
func (*ValidateSubscribedResponse) ProtoMessage()
func (*ValidateSubscribedResponse) ProtoReflect ¶
func (x *ValidateSubscribedResponse) ProtoReflect() protoreflect.Message
func (*ValidateSubscribedResponse) Reset ¶
func (x *ValidateSubscribedResponse) Reset()
func (*ValidateSubscribedResponse) String ¶
func (x *ValidateSubscribedResponse) String() string