v1

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
var File_api_subscribe_v1_error_proto protoreflect.FileDescriptor
View Source
var File_api_subscribe_v1_subscribe_proto protoreflect.FileDescriptor
View Source
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 ErrDefaultSubscribeUnableToModify() errors.Error

func ErrDeviceNotFound added in v0.4.2

func ErrDeviceNotFound() errors.Error

func ErrDuplicateCreate added in v0.4.2

func ErrDuplicateCreate() errors.Error

func ErrExist added in v0.4.2

func ErrExist() errors.Error

func ErrForbidden added in v0.4.5

func ErrForbidden() errors.Error

func ErrInternalError added in v0.4.2

func ErrInternalError() errors.Error

func ErrInternalQuery added in v0.4.2

func ErrInternalQuery() errors.Error

func ErrInvalidArgument added in v0.4.2

func ErrInvalidArgument() errors.Error

func ErrInvalidArgumentSomeFields added in v0.4.2

func ErrInvalidArgumentSomeFields() errors.Error

func ErrList added in v0.4.2

func ErrList() errors.Error

func ErrNotFound added in v0.4.2

func ErrNotFound() errors.Error

func ErrSomeDuplicateCreate added in v0.4.2

func ErrSomeDuplicateCreate() errors.Error

func ErrTryToDeleteDefaultSubscribe added in v0.4.2

func ErrTryToDeleteDefaultSubscribe() errors.Error

func ErrUnauthenticated added in v0.4.2

func ErrUnauthenticated() errors.Error

func ErrUnknown added in v0.4.2

func ErrUnknown() errors.Error

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) Descriptor() ([]byte, []int)

Deprecated: Use Entity.ProtoReflect.Descriptor instead.

func (*Entity) GetGroup

func (x *Entity) GetGroup() string

func (*Entity) GetID

func (x *Entity) GetID() string

func (*Entity) GetName

func (x *Entity) GetName() string

func (*Entity) GetStatus

func (x *Entity) GetStatus() string

func (*Entity) GetTemplate

func (x *Entity) GetTemplate() string

func (*Entity) GetUpdatedAt

func (x *Entity) GetUpdatedAt() int64

func (*Entity) ProtoMessage

func (*Entity) ProtoMessage()

func (*Entity) ProtoReflect

func (x *Entity) ProtoReflect() protoreflect.Message

func (*Entity) Reset

func (x *Entity) Reset()

func (*Entity) String

func (x *Entity) String() string

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) Enum added in v0.4.2

func (x Error) Enum() *Error

func (Error) EnumDescriptor deprecated added in v0.4.2

func (Error) EnumDescriptor() ([]byte, []int)

Deprecated: Use Error.Descriptor instead.

func (Error) Number added in v0.4.2

func (x Error) Number() protoreflect.EnumNumber

func (Error) String added in v0.4.2

func (x Error) String() string

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 (*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 (*ListSubscribeEntitiesRequest) Reset

func (x *ListSubscribeEntitiesRequest) Reset()

func (*ListSubscribeEntitiesRequest) 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 (*ListSubscribeEntitiesResponse) Reset

func (x *ListSubscribeEntitiesResponse) Reset()

func (*ListSubscribeEntitiesResponse) 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 (*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 (*SubscribeEntitiesByGroupsRequest) ProtoMessage

func (*SubscribeEntitiesByGroupsRequest) ProtoMessage()

func (*SubscribeEntitiesByGroupsRequest) ProtoReflect

func (*SubscribeEntitiesByGroupsRequest) Reset

func (*SubscribeEntitiesByGroupsRequest) 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 (*SubscribeEntitiesByGroupsResponse) GetStatus

func (*SubscribeEntitiesByGroupsResponse) ProtoMessage

func (*SubscribeEntitiesByGroupsResponse) ProtoMessage()

func (*SubscribeEntitiesByGroupsResponse) ProtoReflect

func (*SubscribeEntitiesByGroupsResponse) Reset

func (*SubscribeEntitiesByGroupsResponse) 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 (*SubscribeEntitiesByIDsRequest) ProtoMessage

func (*SubscribeEntitiesByIDsRequest) ProtoMessage()

func (*SubscribeEntitiesByIDsRequest) ProtoReflect

func (*SubscribeEntitiesByIDsRequest) Reset

func (x *SubscribeEntitiesByIDsRequest) Reset()

func (*SubscribeEntitiesByIDsRequest) 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 (*SubscribeEntitiesByIDsResponse) GetStatus

func (x *SubscribeEntitiesByIDsResponse) GetStatus() string

func (*SubscribeEntitiesByIDsResponse) ProtoMessage

func (*SubscribeEntitiesByIDsResponse) ProtoMessage()

func (*SubscribeEntitiesByIDsResponse) ProtoReflect

func (*SubscribeEntitiesByIDsResponse) Reset

func (x *SubscribeEntitiesByIDsResponse) Reset()

func (*SubscribeEntitiesByIDsResponse) 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 (*SubscribeEntitiesByModelsRequest) GetModels

func (x *SubscribeEntitiesByModelsRequest) GetModels() []string

func (*SubscribeEntitiesByModelsRequest) ProtoMessage

func (*SubscribeEntitiesByModelsRequest) ProtoMessage()

func (*SubscribeEntitiesByModelsRequest) ProtoReflect

func (*SubscribeEntitiesByModelsRequest) Reset

func (*SubscribeEntitiesByModelsRequest) 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 (*SubscribeEntitiesByModelsResponse) GetStatus

func (*SubscribeEntitiesByModelsResponse) ProtoMessage

func (*SubscribeEntitiesByModelsResponse) ProtoMessage()

func (*SubscribeEntitiesByModelsResponse) ProtoReflect

func (*SubscribeEntitiesByModelsResponse) Reset

func (*SubscribeEntitiesByModelsResponse) 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 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

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) CreateSubscribe

func (UnimplementedSubscribeServer) DeleteSubscribe

func (UnimplementedSubscribeServer) GetSubscribe

func (UnimplementedSubscribeServer) ListSubscribe

func (UnimplementedSubscribeServer) SubscribeByDevice

func (UnimplementedSubscribeServer) UpdateSubscribe

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 (*UnsubscribeEntitiesByIDsRequest) ProtoMessage

func (*UnsubscribeEntitiesByIDsRequest) ProtoMessage()

func (*UnsubscribeEntitiesByIDsRequest) ProtoReflect

func (*UnsubscribeEntitiesByIDsRequest) Reset

func (*UnsubscribeEntitiesByIDsRequest) 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 (*UnsubscribeEntitiesByIDsResponse) GetStatus

func (*UnsubscribeEntitiesByIDsResponse) ProtoMessage

func (*UnsubscribeEntitiesByIDsResponse) ProtoMessage()

func (*UnsubscribeEntitiesByIDsResponse) ProtoReflect

func (*UnsubscribeEntitiesByIDsResponse) Reset

func (*UnsubscribeEntitiesByIDsResponse) 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 (*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 (*ValidateSubscribedResponse) Reset

func (x *ValidateSubscribedResponse) Reset()

func (*ValidateSubscribedResponse) String

func (x *ValidateSubscribedResponse) String() string

Jump to

Keyboard shortcuts

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