644 lines
26 KiB
Go
644 lines
26 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.36.11
|
||
// protoc v3.19.6
|
||
// 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"
|
||
unsafe "unsafe"
|
||
)
|
||
|
||
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 `protogen:"open.v1"`
|
||
Role string `protobuf:"bytes,7,opt,name=role,proto3" json:"role,omitempty"`
|
||
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"`
|
||
RecipientOptions map[string]*UpdateMessageReceiversRequest_RecipientOptions `protobuf:"bytes,6,rep,name=recipientOptions,proto3" json:"recipientOptions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // type => options,type为recipient或者group
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UpdateMessageReceiversRequest) Reset() {
|
||
*x = UpdateMessageReceiversRequest{}
|
||
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 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}
|
||
}
|
||
|
||
func (x *UpdateMessageReceiversRequest) GetRole() string {
|
||
if x != nil {
|
||
return x.Role
|
||
}
|
||
return ""
|
||
}
|
||
|
||
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
|
||
}
|
||
|
||
// 查找接收者
|
||
type FindAllEnabledMessageReceiversRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
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
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindAllEnabledMessageReceiversRequest) Reset() {
|
||
*x = FindAllEnabledMessageReceiversRequest{}
|
||
mi := &file_service_message_receiver_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindAllEnabledMessageReceiversRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindAllEnabledMessageReceiversRequest) ProtoMessage() {}
|
||
|
||
func (x *FindAllEnabledMessageReceiversRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_message_receiver_proto_msgTypes[1]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use FindAllEnabledMessageReceiversRequest.ProtoReflect.Descriptor instead.
|
||
func (*FindAllEnabledMessageReceiversRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_message_receiver_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *FindAllEnabledMessageReceiversRequest) GetRole() string {
|
||
if x != nil {
|
||
return x.Role
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *FindAllEnabledMessageReceiversRequest) GetNodeClusterId() int64 {
|
||
if x != nil {
|
||
return x.NodeClusterId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *FindAllEnabledMessageReceiversRequest) GetNodeId() int64 {
|
||
if x != nil {
|
||
return x.NodeId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *FindAllEnabledMessageReceiversRequest) GetServerId() int64 {
|
||
if x != nil {
|
||
return x.ServerId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type FindAllEnabledMessageReceiversResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
MessageReceivers []*MessageReceiver `protobuf:"bytes,1,rep,name=messageReceivers,proto3" json:"messageReceivers,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindAllEnabledMessageReceiversResponse) Reset() {
|
||
*x = FindAllEnabledMessageReceiversResponse{}
|
||
mi := &file_service_message_receiver_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindAllEnabledMessageReceiversResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindAllEnabledMessageReceiversResponse) ProtoMessage() {}
|
||
|
||
func (x *FindAllEnabledMessageReceiversResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_message_receiver_proto_msgTypes[2]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use FindAllEnabledMessageReceiversResponse.ProtoReflect.Descriptor instead.
|
||
func (*FindAllEnabledMessageReceiversResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_message_receiver_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *FindAllEnabledMessageReceiversResponse) GetMessageReceivers() []*MessageReceiver {
|
||
if x != nil {
|
||
return x.MessageReceivers
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 根据接收人查找关联的接收者
|
||
type FindAllEnabledMessageReceiversWithMessageRecipientIdRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
MessageRecipientId int64 `protobuf:"varint,1,opt,name=messageRecipientId,proto3" json:"messageRecipientId,omitempty"` // 关联的接收人ID
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindAllEnabledMessageReceiversWithMessageRecipientIdRequest) Reset() {
|
||
*x = FindAllEnabledMessageReceiversWithMessageRecipientIdRequest{}
|
||
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 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 `protogen:"open.v1"`
|
||
MessageReceivers []*MessageReceiver `protobuf:"bytes,1,rep,name=messageReceivers,proto3" json:"messageReceivers,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindAllEnabledMessageReceiversWithMessageRecipientIdResponse) Reset() {
|
||
*x = FindAllEnabledMessageReceiversWithMessageRecipientIdResponse{}
|
||
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 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
|
||
}
|
||
|
||
// 删除接收者
|
||
type DeleteMessageReceiverRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
MessageReceiverId int64 `protobuf:"varint,1,opt,name=messageReceiverId,proto3" json:"messageReceiverId,omitempty"` // 接收者ID
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *DeleteMessageReceiverRequest) Reset() {
|
||
*x = DeleteMessageReceiverRequest{}
|
||
mi := &file_service_message_receiver_proto_msgTypes[5]
|
||
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 {
|
||
mi := &file_service_message_receiver_proto_msgTypes[5]
|
||
if 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) {
|
||
return file_service_message_receiver_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *DeleteMessageReceiverRequest) GetMessageReceiverId() int64 {
|
||
if x != nil {
|
||
return x.MessageReceiverId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 计算接收者数量
|
||
type CountAllEnabledMessageReceiversRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
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
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CountAllEnabledMessageReceiversRequest) Reset() {
|
||
*x = CountAllEnabledMessageReceiversRequest{}
|
||
mi := &file_service_message_receiver_proto_msgTypes[6]
|
||
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 {
|
||
mi := &file_service_message_receiver_proto_msgTypes[6]
|
||
if 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) {
|
||
return file_service_message_receiver_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *CountAllEnabledMessageReceiversRequest) GetRole() string {
|
||
if x != nil {
|
||
return x.Role
|
||
}
|
||
return ""
|
||
}
|
||
|
||
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
|
||
}
|
||
|
||
type UpdateMessageReceiversRequest_RecipientOption struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
MessageRecipientId int64 `protobuf:"varint,1,opt,name=messageRecipientId,proto3" json:"messageRecipientId,omitempty"`
|
||
MessageRecipientGroupId int64 `protobuf:"varint,2,opt,name=messageRecipientGroupId,proto3" json:"messageRecipientGroupId,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UpdateMessageReceiversRequest_RecipientOption) Reset() {
|
||
*x = UpdateMessageReceiversRequest_RecipientOption{}
|
||
mi := &file_service_message_receiver_proto_msgTypes[8]
|
||
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 {
|
||
mi := &file_service_message_receiver_proto_msgTypes[8]
|
||
if 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 `protogen:"open.v1"`
|
||
RecipientOptions []*UpdateMessageReceiversRequest_RecipientOption `protobuf:"bytes,1,rep,name=recipientOptions,proto3" json:"recipientOptions,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UpdateMessageReceiversRequest_RecipientOptions) Reset() {
|
||
*x = UpdateMessageReceiversRequest_RecipientOptions{}
|
||
mi := &file_service_message_receiver_proto_msgTypes[9]
|
||
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 {
|
||
mi := &file_service_message_receiver_proto_msgTypes[9]
|
||
if 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
|
||
|
||
const file_service_message_receiver_proto_rawDesc = "" +
|
||
"\n" +
|
||
"\x1eservice_message_receiver.proto\x12\x02pb\x1a#models/model_message_receiver.proto\x1a\x19models/rpc_messages.proto\"\xfb\x04\n" +
|
||
"\x1dUpdateMessageReceiversRequest\x12\x12\n" +
|
||
"\x04role\x18\a \x01(\tR\x04role\x12$\n" +
|
||
"\rnodeClusterId\x18\x01 \x01(\x03R\rnodeClusterId\x12\x16\n" +
|
||
"\x06nodeId\x18\x02 \x01(\x03R\x06nodeId\x12\x1a\n" +
|
||
"\bserverId\x18\x03 \x01(\x03R\bserverId\x12\x1e\n" +
|
||
"\n" +
|
||
"paramsJSON\x18\x05 \x01(\fR\n" +
|
||
"paramsJSON\x12c\n" +
|
||
"\x10recipientOptions\x18\x06 \x03(\v27.pb.UpdateMessageReceiversRequest.RecipientOptionsEntryR\x10recipientOptions\x1aw\n" +
|
||
"\x15RecipientOptionsEntry\x12\x10\n" +
|
||
"\x03key\x18\x01 \x01(\tR\x03key\x12H\n" +
|
||
"\x05value\x18\x02 \x01(\v22.pb.UpdateMessageReceiversRequest.RecipientOptionsR\x05value:\x028\x01\x1a{\n" +
|
||
"\x0fRecipientOption\x12.\n" +
|
||
"\x12messageRecipientId\x18\x01 \x01(\x03R\x12messageRecipientId\x128\n" +
|
||
"\x17messageRecipientGroupId\x18\x02 \x01(\x03R\x17messageRecipientGroupId\x1aq\n" +
|
||
"\x10RecipientOptions\x12]\n" +
|
||
"\x10recipientOptions\x18\x01 \x03(\v21.pb.UpdateMessageReceiversRequest.RecipientOptionR\x10recipientOptions\"\x95\x01\n" +
|
||
"%FindAllEnabledMessageReceiversRequest\x12\x12\n" +
|
||
"\x04role\x18\x04 \x01(\tR\x04role\x12$\n" +
|
||
"\rnodeClusterId\x18\x01 \x01(\x03R\rnodeClusterId\x12\x16\n" +
|
||
"\x06nodeId\x18\x02 \x01(\x03R\x06nodeId\x12\x1a\n" +
|
||
"\bserverId\x18\x03 \x01(\x03R\bserverId\"i\n" +
|
||
"&FindAllEnabledMessageReceiversResponse\x12?\n" +
|
||
"\x10messageReceivers\x18\x01 \x03(\v2\x13.pb.MessageReceiverR\x10messageReceivers\"m\n" +
|
||
";FindAllEnabledMessageReceiversWithMessageRecipientIdRequest\x12.\n" +
|
||
"\x12messageRecipientId\x18\x01 \x01(\x03R\x12messageRecipientId\"\x7f\n" +
|
||
"<FindAllEnabledMessageReceiversWithMessageRecipientIdResponse\x12?\n" +
|
||
"\x10messageReceivers\x18\x01 \x03(\v2\x13.pb.MessageReceiverR\x10messageReceivers\"L\n" +
|
||
"\x1cDeleteMessageReceiverRequest\x12,\n" +
|
||
"\x11messageReceiverId\x18\x01 \x01(\x03R\x11messageReceiverId\"\x96\x01\n" +
|
||
"&CountAllEnabledMessageReceiversRequest\x12\x12\n" +
|
||
"\x04role\x18\x04 \x01(\tR\x04role\x12$\n" +
|
||
"\rnodeClusterId\x18\x01 \x01(\x03R\rnodeClusterId\x12\x16\n" +
|
||
"\x06nodeId\x18\x02 \x01(\x03R\x06nodeId\x12\x1a\n" +
|
||
"\bserverId\x18\x03 \x01(\x03R\bserverId2\xca\x04\n" +
|
||
"\x16MessageReceiverService\x12K\n" +
|
||
"\x16updateMessageReceivers\x12!.pb.UpdateMessageReceiversRequest\x1a\x0e.pb.RPCSuccess\x12w\n" +
|
||
"\x1efindAllEnabledMessageReceivers\x12).pb.FindAllEnabledMessageReceiversRequest\x1a*.pb.FindAllEnabledMessageReceiversResponse\x12\xb9\x01\n" +
|
||
"4findAllEnabledMessageReceiversWithMessageRecipientId\x12?.pb.FindAllEnabledMessageReceiversWithMessageRecipientIdRequest\x1a@.pb.FindAllEnabledMessageReceiversWithMessageRecipientIdResponse\x12I\n" +
|
||
"\x15deleteMessageReceiver\x12 .pb.DeleteMessageReceiverRequest\x1a\x0e.pb.RPCSuccess\x12c\n" +
|
||
"\x1fcountAllEnabledMessageReceivers\x12*.pb.CountAllEnabledMessageReceiversRequest\x1a\x14.pb.RPCCountResponseB\x06Z\x04./pbb\x06proto3"
|
||
|
||
var (
|
||
file_service_message_receiver_proto_rawDescOnce sync.Once
|
||
file_service_message_receiver_proto_rawDescData []byte
|
||
)
|
||
|
||
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(unsafe.Slice(unsafe.StringData(file_service_message_receiver_proto_rawDesc), len(file_service_message_receiver_proto_rawDesc)))
|
||
})
|
||
return file_service_message_receiver_proto_rawDescData
|
||
}
|
||
|
||
var file_service_message_receiver_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
||
var file_service_message_receiver_proto_goTypes = []any{
|
||
(*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
|
||
}
|
||
var file_service_message_receiver_proto_depIdxs = []int32{
|
||
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
|
||
}
|
||
|
||
func init() { file_service_message_receiver_proto_init() }
|
||
func file_service_message_receiver_proto_init() {
|
||
if File_service_message_receiver_proto != nil {
|
||
return
|
||
}
|
||
file_models_model_message_receiver_proto_init()
|
||
file_models_rpc_messages_proto_init()
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_message_receiver_proto_rawDesc), len(file_service_message_receiver_proto_rawDesc)),
|
||
NumEnums: 0,
|
||
NumMessages: 10,
|
||
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_goTypes = nil
|
||
file_service_message_receiver_proto_depIdxs = nil
|
||
}
|