2021-04-12 19:19:24 +08:00
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
|
// versions:
|
2023-08-06 23:36:50 +08:00
|
|
|
|
// protoc-gen-go v1.31.0
|
2022-03-04 15:44:39 +08:00
|
|
|
|
// protoc v3.19.4
|
2021-04-12 19:19:24 +08:00
|
|
|
|
// source: service_message_receiver.proto
|
|
|
|
|
|
|
|
|
|
|
|
package pb
|
|
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
|
|
reflect "reflect"
|
|
|
|
|
|
sync "sync"
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
|
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
// 修改接收者
|
|
|
|
|
|
type UpdateMessageReceiversRequest struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
2021-08-23 16:46:34 +08:00
|
|
|
|
Role string `protobuf:"bytes,7,opt,name=role,proto3" json:"role,omitempty"`
|
2021-04-12 19:19:24 +08:00
|
|
|
|
NodeClusterId int64 `protobuf:"varint,1,opt,name=nodeClusterId,proto3" json:"nodeClusterId,omitempty"`
|
|
|
|
|
|
NodeId int64 `protobuf:"varint,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
|
|
|
|
|
ServerId int64 `protobuf:"varint,3,opt,name=serverId,proto3" json:"serverId,omitempty"`
|
|
|
|
|
|
ParamsJSON []byte `protobuf:"bytes,5,opt,name=paramsJSON,proto3" json:"paramsJSON,omitempty"`
|
2023-10-14 17:15:52 +08:00
|
|
|
|
RecipientOptions map[string]*UpdateMessageReceiversRequest_RecipientOptions `protobuf:"bytes,6,rep,name=recipientOptions,proto3" json:"recipientOptions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // type => options,type为recipient或者group
|
2021-04-12 19:19:24 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateMessageReceiversRequest) Reset() {
|
|
|
|
|
|
*x = UpdateMessageReceiversRequest{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
mi := &file_service_message_receiver_proto_msgTypes[0]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateMessageReceiversRequest) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*UpdateMessageReceiversRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateMessageReceiversRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_service_message_receiver_proto_msgTypes[0]
|
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
return ms
|
|
|
|
|
|
}
|
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UpdateMessageReceiversRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*UpdateMessageReceiversRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_service_message_receiver_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-08-23 16:46:34 +08:00
|
|
|
|
func (x *UpdateMessageReceiversRequest) GetRole() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Role
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-04-12 19:19:24 +08:00
|
|
|
|
func (x *UpdateMessageReceiversRequest) GetNodeClusterId() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.NodeClusterId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateMessageReceiversRequest) GetNodeId() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.NodeId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateMessageReceiversRequest) GetServerId() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.ServerId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateMessageReceiversRequest) GetParamsJSON() []byte {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.ParamsJSON
|
|
|
|
|
|
}
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateMessageReceiversRequest) GetRecipientOptions() map[string]*UpdateMessageReceiversRequest_RecipientOptions {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.RecipientOptions
|
|
|
|
|
|
}
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 查找接收者
|
2021-05-04 21:02:21 +08:00
|
|
|
|
type FindAllEnabledMessageReceiversRequest struct {
|
2021-04-12 19:19:24 +08:00
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
2023-10-14 17:15:52 +08:00
|
|
|
|
Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"` // 集群角色:node 或 dns
|
|
|
|
|
|
NodeClusterId int64 `protobuf:"varint,1,opt,name=nodeClusterId,proto3" json:"nodeClusterId,omitempty"` // 集群ID
|
|
|
|
|
|
NodeId int64 `protobuf:"varint,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 节点ID
|
|
|
|
|
|
ServerId int64 `protobuf:"varint,3,opt,name=serverId,proto3" json:"serverId,omitempty"` // 网站ID
|
2021-04-12 19:19:24 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2021-05-04 21:02:21 +08:00
|
|
|
|
func (x *FindAllEnabledMessageReceiversRequest) Reset() {
|
|
|
|
|
|
*x = FindAllEnabledMessageReceiversRequest{}
|
2021-04-12 19:19:24 +08:00
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
mi := &file_service_message_receiver_proto_msgTypes[1]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-05-04 21:02:21 +08:00
|
|
|
|
func (x *FindAllEnabledMessageReceiversRequest) String() string {
|
2021-04-12 19:19:24 +08:00
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-05-04 21:02:21 +08:00
|
|
|
|
func (*FindAllEnabledMessageReceiversRequest) ProtoMessage() {}
|
2021-04-12 19:19:24 +08:00
|
|
|
|
|
2021-05-04 21:02:21 +08:00
|
|
|
|
func (x *FindAllEnabledMessageReceiversRequest) ProtoReflect() protoreflect.Message {
|
2021-04-12 19:19:24 +08:00
|
|
|
|
mi := &file_service_message_receiver_proto_msgTypes[1]
|
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
return ms
|
|
|
|
|
|
}
|
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-05-04 21:02:21 +08:00
|
|
|
|
// Deprecated: Use FindAllEnabledMessageReceiversRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*FindAllEnabledMessageReceiversRequest) Descriptor() ([]byte, []int) {
|
2021-04-12 19:19:24 +08:00
|
|
|
|
return file_service_message_receiver_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-08-23 16:46:34 +08:00
|
|
|
|
func (x *FindAllEnabledMessageReceiversRequest) GetRole() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Role
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-05-04 21:02:21 +08:00
|
|
|
|
func (x *FindAllEnabledMessageReceiversRequest) GetNodeClusterId() int64 {
|
2021-04-12 19:19:24 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.NodeClusterId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-05-04 21:02:21 +08:00
|
|
|
|
func (x *FindAllEnabledMessageReceiversRequest) GetNodeId() int64 {
|
2021-04-12 19:19:24 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.NodeId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-05-04 21:02:21 +08:00
|
|
|
|
func (x *FindAllEnabledMessageReceiversRequest) GetServerId() int64 {
|
2021-04-12 19:19:24 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.ServerId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-05-04 21:02:21 +08:00
|
|
|
|
type FindAllEnabledMessageReceiversResponse struct {
|
2021-04-12 19:19:24 +08:00
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
MessageReceivers []*MessageReceiver `protobuf:"bytes,1,rep,name=messageReceivers,proto3" json:"messageReceivers,omitempty"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-05-04 21:02:21 +08:00
|
|
|
|
func (x *FindAllEnabledMessageReceiversResponse) Reset() {
|
|
|
|
|
|
*x = FindAllEnabledMessageReceiversResponse{}
|
2021-04-12 19:19:24 +08:00
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
mi := &file_service_message_receiver_proto_msgTypes[2]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-05-04 21:02:21 +08:00
|
|
|
|
func (x *FindAllEnabledMessageReceiversResponse) String() string {
|
2021-04-12 19:19:24 +08:00
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-05-04 21:02:21 +08:00
|
|
|
|
func (*FindAllEnabledMessageReceiversResponse) ProtoMessage() {}
|
2021-04-12 19:19:24 +08:00
|
|
|
|
|
2021-05-04 21:02:21 +08:00
|
|
|
|
func (x *FindAllEnabledMessageReceiversResponse) ProtoReflect() protoreflect.Message {
|
2021-04-12 19:19:24 +08:00
|
|
|
|
mi := &file_service_message_receiver_proto_msgTypes[2]
|
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
return ms
|
|
|
|
|
|
}
|
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-05-04 21:02:21 +08:00
|
|
|
|
// Deprecated: Use FindAllEnabledMessageReceiversResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*FindAllEnabledMessageReceiversResponse) Descriptor() ([]byte, []int) {
|
2021-04-12 19:19:24 +08:00
|
|
|
|
return file_service_message_receiver_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-05-04 21:02:21 +08:00
|
|
|
|
func (x *FindAllEnabledMessageReceiversResponse) GetMessageReceivers() []*MessageReceiver {
|
2021-04-12 19:19:24 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.MessageReceivers
|
|
|
|
|
|
}
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2023-10-14 17:15:52 +08:00
|
|
|
|
// 根据接收人查找关联的接收者
|
|
|
|
|
|
type FindAllEnabledMessageReceiversWithMessageRecipientIdRequest struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
MessageRecipientId int64 `protobuf:"varint,1,opt,name=messageRecipientId,proto3" json:"messageRecipientId,omitempty"` // 关联的接收人ID
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledMessageReceiversWithMessageRecipientIdRequest) Reset() {
|
|
|
|
|
|
*x = FindAllEnabledMessageReceiversWithMessageRecipientIdRequest{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
mi := &file_service_message_receiver_proto_msgTypes[3]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledMessageReceiversWithMessageRecipientIdRequest) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*FindAllEnabledMessageReceiversWithMessageRecipientIdRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledMessageReceiversWithMessageRecipientIdRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_service_message_receiver_proto_msgTypes[3]
|
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
return ms
|
|
|
|
|
|
}
|
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use FindAllEnabledMessageReceiversWithMessageRecipientIdRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*FindAllEnabledMessageReceiversWithMessageRecipientIdRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_service_message_receiver_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledMessageReceiversWithMessageRecipientIdRequest) GetMessageRecipientId() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.MessageRecipientId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type FindAllEnabledMessageReceiversWithMessageRecipientIdResponse struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
MessageReceivers []*MessageReceiver `protobuf:"bytes,1,rep,name=messageReceivers,proto3" json:"messageReceivers,omitempty"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledMessageReceiversWithMessageRecipientIdResponse) Reset() {
|
|
|
|
|
|
*x = FindAllEnabledMessageReceiversWithMessageRecipientIdResponse{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
mi := &file_service_message_receiver_proto_msgTypes[4]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledMessageReceiversWithMessageRecipientIdResponse) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*FindAllEnabledMessageReceiversWithMessageRecipientIdResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledMessageReceiversWithMessageRecipientIdResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_service_message_receiver_proto_msgTypes[4]
|
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
return ms
|
|
|
|
|
|
}
|
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use FindAllEnabledMessageReceiversWithMessageRecipientIdResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*FindAllEnabledMessageReceiversWithMessageRecipientIdResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_service_message_receiver_proto_rawDescGZIP(), []int{4}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledMessageReceiversWithMessageRecipientIdResponse) GetMessageReceivers() []*MessageReceiver {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.MessageReceivers
|
|
|
|
|
|
}
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-04-12 19:19:24 +08:00
|
|
|
|
// 删除接收者
|
|
|
|
|
|
type DeleteMessageReceiverRequest struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
2023-10-14 17:15:52 +08:00
|
|
|
|
MessageReceiverId int64 `protobuf:"varint,1,opt,name=messageReceiverId,proto3" json:"messageReceiverId,omitempty"` // 接收者ID
|
2021-04-12 19:19:24 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *DeleteMessageReceiverRequest) Reset() {
|
|
|
|
|
|
*x = DeleteMessageReceiverRequest{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-10-14 17:15:52 +08:00
|
|
|
|
mi := &file_service_message_receiver_proto_msgTypes[5]
|
2021-04-12 19:19:24 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *DeleteMessageReceiverRequest) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*DeleteMessageReceiverRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *DeleteMessageReceiverRequest) ProtoReflect() protoreflect.Message {
|
2023-10-14 17:15:52 +08:00
|
|
|
|
mi := &file_service_message_receiver_proto_msgTypes[5]
|
2021-04-12 19:19:24 +08:00
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
return ms
|
|
|
|
|
|
}
|
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use DeleteMessageReceiverRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*DeleteMessageReceiverRequest) Descriptor() ([]byte, []int) {
|
2023-10-14 17:15:52 +08:00
|
|
|
|
return file_service_message_receiver_proto_rawDescGZIP(), []int{5}
|
2021-04-12 19:19:24 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *DeleteMessageReceiverRequest) GetMessageReceiverId() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.MessageReceiverId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-05-04 21:02:21 +08:00
|
|
|
|
// 计算接收者数量
|
|
|
|
|
|
type CountAllEnabledMessageReceiversRequest struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
2023-10-14 17:15:52 +08:00
|
|
|
|
Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"` // 集群角色:node 或 dns
|
|
|
|
|
|
NodeClusterId int64 `protobuf:"varint,1,opt,name=nodeClusterId,proto3" json:"nodeClusterId,omitempty"` // 集群ID
|
|
|
|
|
|
NodeId int64 `protobuf:"varint,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 节点ID
|
|
|
|
|
|
ServerId int64 `protobuf:"varint,3,opt,name=serverId,proto3" json:"serverId,omitempty"` // 网站ID
|
2021-05-04 21:02:21 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledMessageReceiversRequest) Reset() {
|
|
|
|
|
|
*x = CountAllEnabledMessageReceiversRequest{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-10-14 17:15:52 +08:00
|
|
|
|
mi := &file_service_message_receiver_proto_msgTypes[6]
|
2021-05-04 21:02:21 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledMessageReceiversRequest) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*CountAllEnabledMessageReceiversRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledMessageReceiversRequest) ProtoReflect() protoreflect.Message {
|
2023-10-14 17:15:52 +08:00
|
|
|
|
mi := &file_service_message_receiver_proto_msgTypes[6]
|
2021-05-04 21:02:21 +08:00
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
return ms
|
|
|
|
|
|
}
|
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CountAllEnabledMessageReceiversRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*CountAllEnabledMessageReceiversRequest) Descriptor() ([]byte, []int) {
|
2023-10-14 17:15:52 +08:00
|
|
|
|
return file_service_message_receiver_proto_rawDescGZIP(), []int{6}
|
2021-05-04 21:02:21 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2021-08-23 16:46:34 +08:00
|
|
|
|
func (x *CountAllEnabledMessageReceiversRequest) GetRole() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Role
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-05-04 21:02:21 +08:00
|
|
|
|
func (x *CountAllEnabledMessageReceiversRequest) GetNodeClusterId() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.NodeClusterId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledMessageReceiversRequest) GetNodeId() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.NodeId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledMessageReceiversRequest) GetServerId() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.ServerId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-04-12 19:19:24 +08:00
|
|
|
|
type UpdateMessageReceiversRequest_RecipientOption struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
MessageRecipientId int64 `protobuf:"varint,1,opt,name=messageRecipientId,proto3" json:"messageRecipientId,omitempty"`
|
|
|
|
|
|
MessageRecipientGroupId int64 `protobuf:"varint,2,opt,name=messageRecipientGroupId,proto3" json:"messageRecipientGroupId,omitempty"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateMessageReceiversRequest_RecipientOption) Reset() {
|
|
|
|
|
|
*x = UpdateMessageReceiversRequest_RecipientOption{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-10-14 17:15:52 +08:00
|
|
|
|
mi := &file_service_message_receiver_proto_msgTypes[8]
|
2021-04-12 19:19:24 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateMessageReceiversRequest_RecipientOption) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*UpdateMessageReceiversRequest_RecipientOption) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateMessageReceiversRequest_RecipientOption) ProtoReflect() protoreflect.Message {
|
2023-10-14 17:15:52 +08:00
|
|
|
|
mi := &file_service_message_receiver_proto_msgTypes[8]
|
2021-04-12 19:19:24 +08:00
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
return ms
|
|
|
|
|
|
}
|
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UpdateMessageReceiversRequest_RecipientOption.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*UpdateMessageReceiversRequest_RecipientOption) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_service_message_receiver_proto_rawDescGZIP(), []int{0, 1}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateMessageReceiversRequest_RecipientOption) GetMessageRecipientId() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.MessageRecipientId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateMessageReceiversRequest_RecipientOption) GetMessageRecipientGroupId() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.MessageRecipientGroupId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type UpdateMessageReceiversRequest_RecipientOptions struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
RecipientOptions []*UpdateMessageReceiversRequest_RecipientOption `protobuf:"bytes,1,rep,name=recipientOptions,proto3" json:"recipientOptions,omitempty"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateMessageReceiversRequest_RecipientOptions) Reset() {
|
|
|
|
|
|
*x = UpdateMessageReceiversRequest_RecipientOptions{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-10-14 17:15:52 +08:00
|
|
|
|
mi := &file_service_message_receiver_proto_msgTypes[9]
|
2021-04-12 19:19:24 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateMessageReceiversRequest_RecipientOptions) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*UpdateMessageReceiversRequest_RecipientOptions) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateMessageReceiversRequest_RecipientOptions) ProtoReflect() protoreflect.Message {
|
2023-10-14 17:15:52 +08:00
|
|
|
|
mi := &file_service_message_receiver_proto_msgTypes[9]
|
2021-04-12 19:19:24 +08:00
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
return ms
|
|
|
|
|
|
}
|
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UpdateMessageReceiversRequest_RecipientOptions.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*UpdateMessageReceiversRequest_RecipientOptions) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_service_message_receiver_proto_rawDescGZIP(), []int{0, 2}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UpdateMessageReceiversRequest_RecipientOptions) GetRecipientOptions() []*UpdateMessageReceiversRequest_RecipientOption {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.RecipientOptions
|
|
|
|
|
|
}
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var File_service_message_receiver_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
|
|
var file_service_message_receiver_proto_rawDesc = []byte{
|
|
|
|
|
|
0x0a, 0x1e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
|
|
|
0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
2021-05-04 21:02:21 +08:00
|
|
|
|
0x12, 0x02, 0x70, 0x62, 0x1a, 0x23, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64,
|
|
|
|
|
|
0x65, 0x6c, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69,
|
|
|
|
|
|
0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
|
|
|
|
|
|
0x73, 0x2f, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70,
|
2021-08-23 16:46:34 +08:00
|
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfb, 0x04, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d,
|
2021-05-04 21:02:21 +08:00
|
|
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x52,
|
2021-08-23 16:46:34 +08:00
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x07,
|
|
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f,
|
|
|
|
|
|
0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
|
0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64,
|
|
|
|
|
|
0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
|
|
0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76,
|
|
|
|
|
|
0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76,
|
|
|
|
|
|
0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53,
|
|
|
|
|
|
0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73,
|
|
|
|
|
|
0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x63, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e,
|
|
|
|
|
|
0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37,
|
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
|
|
|
0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
|
0x74, 0x2e, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f,
|
|
|
|
|
|
0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65,
|
|
|
|
|
|
0x6e, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x77, 0x0a, 0x15, 0x52, 0x65, 0x63,
|
|
|
|
|
|
0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74,
|
|
|
|
|
|
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
|
|
0x03, 0x6b, 0x65, 0x79, 0x12, 0x48, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
|
|
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d,
|
2021-04-12 19:19:24 +08:00
|
|
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x52,
|
2021-08-23 16:46:34 +08:00
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74,
|
|
|
|
|
|
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
|
|
|
|
|
|
0x38, 0x01, 0x1a, 0x7b, 0x0a, 0x0f, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x4f,
|
|
|
|
|
|
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x12, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
|
|
|
0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
|
0x03, 0x52, 0x12, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69,
|
|
|
|
|
|
0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x17, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
|
|
|
0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64,
|
|
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
|
|
|
|
|
|
0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x1a,
|
|
|
|
|
|
0x71, 0x0a, 0x10, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x74, 0x69,
|
|
|
|
|
|
0x6f, 0x6e, 0x73, 0x12, 0x5d, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74,
|
|
|
|
|
|
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e,
|
|
|
|
|
|
0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
|
|
|
0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
|
|
0x2e, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
|
|
0x52, 0x10, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f,
|
|
|
|
|
|
0x6e, 0x73, 0x22, 0x95, 0x01, 0x0a, 0x25, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
|
|
|
|
|
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65,
|
|
|
|
|
|
0x69, 0x76, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04,
|
|
|
|
|
|
0x72, 0x6f, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65,
|
|
|
|
|
|
0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49,
|
|
|
|
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75,
|
|
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64,
|
|
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1a,
|
|
|
|
|
|
0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
|
|
0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0x69, 0x0a, 0x26, 0x46, 0x69,
|
|
|
|
|
|
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73,
|
|
|
|
|
|
0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
|
|
|
|
|
|
0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13,
|
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69,
|
|
|
|
|
|
0x76, 0x65, 0x72, 0x52, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65,
|
2023-10-14 17:15:52 +08:00
|
|
|
|
0x69, 0x76, 0x65, 0x72, 0x73, 0x22, 0x6d, 0x0a, 0x3b, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c,
|
|
|
|
|
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65,
|
|
|
|
|
|
0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
|
|
|
|
|
0x67, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71,
|
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x12, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
|
|
|
|
|
|
0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
|
|
0x52, 0x12, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65,
|
|
|
|
|
|
0x6e, 0x74, 0x49, 0x64, 0x22, 0x7f, 0x0a, 0x3c, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45,
|
|
|
|
|
|
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63,
|
|
|
|
|
|
0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
|
|
|
0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
|
|
|
|
|
|
0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13,
|
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69,
|
|
|
|
|
|
0x76, 0x65, 0x72, 0x52, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65,
|
2021-08-23 16:46:34 +08:00
|
|
|
|
0x69, 0x76, 0x65, 0x72, 0x73, 0x22, 0x4c, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d,
|
|
|
|
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65,
|
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x11, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
|
|
|
0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
|
|
0x52, 0x11, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
|
|
|
|
|
|
0x72, 0x49, 0x64, 0x22, 0x96, 0x01, 0x0a, 0x26, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c,
|
|
|
|
|
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65,
|
|
|
|
|
|
0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
|
|
|
|
|
|
0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f,
|
|
|
|
|
|
0x6c, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
|
|
|
|
0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43,
|
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65,
|
|
|
|
|
|
0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64,
|
|
|
|
|
|
0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01,
|
2023-10-14 17:15:52 +08:00
|
|
|
|
0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x32, 0xca, 0x04, 0x0a,
|
2021-08-23 16:46:34 +08:00
|
|
|
|
0x16, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72,
|
|
|
|
|
|
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x16, 0x75, 0x70, 0x64, 0x61, 0x74,
|
2021-05-04 21:02:21 +08:00
|
|
|
|
0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72,
|
2021-08-23 16:46:34 +08:00
|
|
|
|
0x73, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73,
|
|
|
|
|
|
0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71,
|
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63,
|
|
|
|
|
|
0x63, 0x65, 0x73, 0x73, 0x12, 0x77, 0x0a, 0x1e, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45,
|
|
|
|
|
|
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63,
|
|
|
|
|
|
0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
|
2021-05-04 21:02:21 +08:00
|
|
|
|
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
2021-08-23 16:46:34 +08:00
|
|
|
|
0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
|
0x74, 0x1a, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
|
|
|
|
|
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65,
|
2023-10-14 17:15:52 +08:00
|
|
|
|
0x69, 0x76, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xb9, 0x01,
|
|
|
|
|
|
0x0a, 0x34, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
2021-08-23 16:46:34 +08:00
|
|
|
|
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73,
|
2023-10-14 17:15:52 +08:00
|
|
|
|
0x57, 0x69, 0x74, 0x68, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70,
|
|
|
|
|
|
0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x3f, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
|
|
|
|
|
|
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
|
|
|
0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4d, 0x65,
|
|
|
|
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64,
|
|
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e,
|
|
|
|
|
|
0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
|
|
|
|
|
0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4d,
|
|
|
|
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x49,
|
|
|
|
|
|
0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x15, 0x64, 0x65, 0x6c,
|
|
|
|
|
|
0x65, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76,
|
|
|
|
|
|
0x65, 0x72, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65,
|
|
|
|
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71,
|
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63,
|
|
|
|
|
|
0x63, 0x65, 0x73, 0x73, 0x12, 0x63, 0x0a, 0x1f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c,
|
|
|
|
|
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65,
|
|
|
|
|
|
0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75,
|
|
|
|
|
|
0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73,
|
|
|
|
|
|
0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
|
|
0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e,
|
|
|
|
|
|
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70,
|
|
|
|
|
|
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
2021-04-12 19:19:24 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
|
file_service_message_receiver_proto_rawDescOnce sync.Once
|
|
|
|
|
|
file_service_message_receiver_proto_rawDescData = file_service_message_receiver_proto_rawDesc
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
func file_service_message_receiver_proto_rawDescGZIP() []byte {
|
|
|
|
|
|
file_service_message_receiver_proto_rawDescOnce.Do(func() {
|
|
|
|
|
|
file_service_message_receiver_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_message_receiver_proto_rawDescData)
|
|
|
|
|
|
})
|
|
|
|
|
|
return file_service_message_receiver_proto_rawDescData
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2023-10-14 17:15:52 +08:00
|
|
|
|
var file_service_message_receiver_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
2021-04-12 19:19:24 +08:00
|
|
|
|
var file_service_message_receiver_proto_goTypes = []interface{}{
|
2023-10-14 17:15:52 +08:00
|
|
|
|
(*UpdateMessageReceiversRequest)(nil), // 0: pb.UpdateMessageReceiversRequest
|
|
|
|
|
|
(*FindAllEnabledMessageReceiversRequest)(nil), // 1: pb.FindAllEnabledMessageReceiversRequest
|
|
|
|
|
|
(*FindAllEnabledMessageReceiversResponse)(nil), // 2: pb.FindAllEnabledMessageReceiversResponse
|
|
|
|
|
|
(*FindAllEnabledMessageReceiversWithMessageRecipientIdRequest)(nil), // 3: pb.FindAllEnabledMessageReceiversWithMessageRecipientIdRequest
|
|
|
|
|
|
(*FindAllEnabledMessageReceiversWithMessageRecipientIdResponse)(nil), // 4: pb.FindAllEnabledMessageReceiversWithMessageRecipientIdResponse
|
|
|
|
|
|
(*DeleteMessageReceiverRequest)(nil), // 5: pb.DeleteMessageReceiverRequest
|
|
|
|
|
|
(*CountAllEnabledMessageReceiversRequest)(nil), // 6: pb.CountAllEnabledMessageReceiversRequest
|
|
|
|
|
|
nil, // 7: pb.UpdateMessageReceiversRequest.RecipientOptionsEntry
|
|
|
|
|
|
(*UpdateMessageReceiversRequest_RecipientOption)(nil), // 8: pb.UpdateMessageReceiversRequest.RecipientOption
|
|
|
|
|
|
(*UpdateMessageReceiversRequest_RecipientOptions)(nil), // 9: pb.UpdateMessageReceiversRequest.RecipientOptions
|
|
|
|
|
|
(*MessageReceiver)(nil), // 10: pb.MessageReceiver
|
|
|
|
|
|
(*RPCSuccess)(nil), // 11: pb.RPCSuccess
|
|
|
|
|
|
(*RPCCountResponse)(nil), // 12: pb.RPCCountResponse
|
2021-04-12 19:19:24 +08:00
|
|
|
|
}
|
|
|
|
|
|
var file_service_message_receiver_proto_depIdxs = []int32{
|
2023-10-14 17:15:52 +08:00
|
|
|
|
7, // 0: pb.UpdateMessageReceiversRequest.recipientOptions:type_name -> pb.UpdateMessageReceiversRequest.RecipientOptionsEntry
|
|
|
|
|
|
10, // 1: pb.FindAllEnabledMessageReceiversResponse.messageReceivers:type_name -> pb.MessageReceiver
|
|
|
|
|
|
10, // 2: pb.FindAllEnabledMessageReceiversWithMessageRecipientIdResponse.messageReceivers:type_name -> pb.MessageReceiver
|
|
|
|
|
|
9, // 3: pb.UpdateMessageReceiversRequest.RecipientOptionsEntry.value:type_name -> pb.UpdateMessageReceiversRequest.RecipientOptions
|
|
|
|
|
|
8, // 4: pb.UpdateMessageReceiversRequest.RecipientOptions.recipientOptions:type_name -> pb.UpdateMessageReceiversRequest.RecipientOption
|
|
|
|
|
|
0, // 5: pb.MessageReceiverService.updateMessageReceivers:input_type -> pb.UpdateMessageReceiversRequest
|
|
|
|
|
|
1, // 6: pb.MessageReceiverService.findAllEnabledMessageReceivers:input_type -> pb.FindAllEnabledMessageReceiversRequest
|
|
|
|
|
|
3, // 7: pb.MessageReceiverService.findAllEnabledMessageReceiversWithMessageRecipientId:input_type -> pb.FindAllEnabledMessageReceiversWithMessageRecipientIdRequest
|
|
|
|
|
|
5, // 8: pb.MessageReceiverService.deleteMessageReceiver:input_type -> pb.DeleteMessageReceiverRequest
|
|
|
|
|
|
6, // 9: pb.MessageReceiverService.countAllEnabledMessageReceivers:input_type -> pb.CountAllEnabledMessageReceiversRequest
|
|
|
|
|
|
11, // 10: pb.MessageReceiverService.updateMessageReceivers:output_type -> pb.RPCSuccess
|
|
|
|
|
|
2, // 11: pb.MessageReceiverService.findAllEnabledMessageReceivers:output_type -> pb.FindAllEnabledMessageReceiversResponse
|
|
|
|
|
|
4, // 12: pb.MessageReceiverService.findAllEnabledMessageReceiversWithMessageRecipientId:output_type -> pb.FindAllEnabledMessageReceiversWithMessageRecipientIdResponse
|
|
|
|
|
|
11, // 13: pb.MessageReceiverService.deleteMessageReceiver:output_type -> pb.RPCSuccess
|
|
|
|
|
|
12, // 14: pb.MessageReceiverService.countAllEnabledMessageReceivers:output_type -> pb.RPCCountResponse
|
|
|
|
|
|
10, // [10:15] is the sub-list for method output_type
|
|
|
|
|
|
5, // [5:10] is the sub-list for method input_type
|
|
|
|
|
|
5, // [5:5] is the sub-list for extension type_name
|
|
|
|
|
|
5, // [5:5] is the sub-list for extension extendee
|
|
|
|
|
|
0, // [0:5] is the sub-list for field type_name
|
2021-04-12 19:19:24 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func init() { file_service_message_receiver_proto_init() }
|
|
|
|
|
|
func file_service_message_receiver_proto_init() {
|
|
|
|
|
|
if File_service_message_receiver_proto != nil {
|
|
|
|
|
|
return
|
|
|
|
|
|
}
|
2021-05-04 21:02:21 +08:00
|
|
|
|
file_models_model_message_receiver_proto_init()
|
2021-04-12 19:19:24 +08:00
|
|
|
|
file_models_rpc_messages_proto_init()
|
|
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
|
|
file_service_message_receiver_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
|
switch v := v.(*UpdateMessageReceiversRequest); i {
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_message_receiver_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
2021-05-04 21:02:21 +08:00
|
|
|
|
switch v := v.(*FindAllEnabledMessageReceiversRequest); i {
|
2021-04-12 19:19:24 +08:00
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_message_receiver_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
2021-05-04 21:02:21 +08:00
|
|
|
|
switch v := v.(*FindAllEnabledMessageReceiversResponse); i {
|
2021-04-12 19:19:24 +08:00
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_message_receiver_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
2023-10-14 17:15:52 +08:00
|
|
|
|
switch v := v.(*FindAllEnabledMessageReceiversWithMessageRecipientIdRequest); i {
|
2021-04-12 19:19:24 +08:00
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2021-05-04 21:02:21 +08:00
|
|
|
|
file_service_message_receiver_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
2023-10-14 17:15:52 +08:00
|
|
|
|
switch v := v.(*FindAllEnabledMessageReceiversWithMessageRecipientIdResponse); i {
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_message_receiver_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
|
switch v := v.(*DeleteMessageReceiverRequest); i {
|
2021-04-12 19:19:24 +08:00
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_message_receiver_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
2023-10-14 17:15:52 +08:00
|
|
|
|
switch v := v.(*CountAllEnabledMessageReceiversRequest); i {
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_message_receiver_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
2021-05-04 21:02:21 +08:00
|
|
|
|
switch v := v.(*UpdateMessageReceiversRequest_RecipientOption); i {
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2023-10-14 17:15:52 +08:00
|
|
|
|
file_service_message_receiver_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
2021-04-12 19:19:24 +08:00
|
|
|
|
switch v := v.(*UpdateMessageReceiversRequest_RecipientOptions); i {
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
type x struct{}
|
|
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
|
RawDescriptor: file_service_message_receiver_proto_rawDesc,
|
|
|
|
|
|
NumEnums: 0,
|
2023-10-14 17:15:52 +08:00
|
|
|
|
NumMessages: 10,
|
2021-04-12 19:19:24 +08:00
|
|
|
|
NumExtensions: 0,
|
|
|
|
|
|
NumServices: 1,
|
|
|
|
|
|
},
|
|
|
|
|
|
GoTypes: file_service_message_receiver_proto_goTypes,
|
|
|
|
|
|
DependencyIndexes: file_service_message_receiver_proto_depIdxs,
|
|
|
|
|
|
MessageInfos: file_service_message_receiver_proto_msgTypes,
|
|
|
|
|
|
}.Build()
|
|
|
|
|
|
File_service_message_receiver_proto = out.File
|
|
|
|
|
|
file_service_message_receiver_proto_rawDesc = nil
|
|
|
|
|
|
file_service_message_receiver_proto_goTypes = nil
|
|
|
|
|
|
file_service_message_receiver_proto_depIdxs = nil
|
|
|
|
|
|
}
|