748 lines
28 KiB
Go
748 lines
28 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_recipient.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 CreateMessageRecipientRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AdminId int64 `protobuf:"varint,1,opt,name=adminId,proto3" json:"adminId,omitempty"` // 关联的管理员ID
|
|
MessageMediaInstanceId int64 `protobuf:"varint,2,opt,name=messageMediaInstanceId,proto3" json:"messageMediaInstanceId,omitempty"` // 媒介实例ID
|
|
MessageRecipientGroupIds []int64 `protobuf:"varint,3,rep,packed,name=messageRecipientGroupIds,proto3" json:"messageRecipientGroupIds,omitempty"` // 所属分组ID列表
|
|
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // 可选项,备注描述
|
|
User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` // 用户标识
|
|
TimeFrom string `protobuf:"bytes,6,opt,name=timeFrom,proto3" json:"timeFrom,omitempty"` // 可选项,接收消息的,开始时间
|
|
TimeTo string `protobuf:"bytes,7,opt,name=timeTo,proto3" json:"timeTo,omitempty"` // 可选项,接收消息的,结束时间
|
|
NodeClusterIds []int64 `protobuf:"varint,8,rep,packed,name=nodeClusterIds,proto3" json:"nodeClusterIds,omitempty"` // 关联的CDN边缘节点集群ID列表
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateMessageRecipientRequest) Reset() {
|
|
*x = CreateMessageRecipientRequest{}
|
|
mi := &file_service_message_recipient_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateMessageRecipientRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateMessageRecipientRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateMessageRecipientRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_message_recipient_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 CreateMessageRecipientRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateMessageRecipientRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_message_recipient_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CreateMessageRecipientRequest) GetAdminId() int64 {
|
|
if x != nil {
|
|
return x.AdminId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateMessageRecipientRequest) GetMessageMediaInstanceId() int64 {
|
|
if x != nil {
|
|
return x.MessageMediaInstanceId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateMessageRecipientRequest) GetMessageRecipientGroupIds() []int64 {
|
|
if x != nil {
|
|
return x.MessageRecipientGroupIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateMessageRecipientRequest) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateMessageRecipientRequest) GetUser() string {
|
|
if x != nil {
|
|
return x.User
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateMessageRecipientRequest) GetTimeFrom() string {
|
|
if x != nil {
|
|
return x.TimeFrom
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateMessageRecipientRequest) GetTimeTo() string {
|
|
if x != nil {
|
|
return x.TimeTo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateMessageRecipientRequest) GetNodeClusterIds() []int64 {
|
|
if x != nil {
|
|
return x.NodeClusterIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateMessageRecipientResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
MessageRecipientId int64 `protobuf:"varint,1,opt,name=messageRecipientId,proto3" json:"messageRecipientId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateMessageRecipientResponse) Reset() {
|
|
*x = CreateMessageRecipientResponse{}
|
|
mi := &file_service_message_recipient_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateMessageRecipientResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateMessageRecipientResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateMessageRecipientResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_message_recipient_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 CreateMessageRecipientResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateMessageRecipientResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_message_recipient_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *CreateMessageRecipientResponse) GetMessageRecipientId() int64 {
|
|
if x != nil {
|
|
return x.MessageRecipientId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 修改接收人
|
|
type UpdateMessageRecipientRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
MessageRecipientId int64 `protobuf:"varint,1,opt,name=messageRecipientId,proto3" json:"messageRecipientId,omitempty"`
|
|
AdminId int64 `protobuf:"varint,2,opt,name=adminId,proto3" json:"adminId,omitempty"`
|
|
MessageMediaInstanceId int64 `protobuf:"varint,3,opt,name=messageMediaInstanceId,proto3" json:"messageMediaInstanceId,omitempty"`
|
|
MessageRecipientGroupIds []int64 `protobuf:"varint,4,rep,packed,name=messageRecipientGroupIds,proto3" json:"messageRecipientGroupIds,omitempty"`
|
|
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
|
|
IsOn bool `protobuf:"varint,6,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
|
User string `protobuf:"bytes,7,opt,name=user,proto3" json:"user,omitempty"`
|
|
TimeFrom string `protobuf:"bytes,8,opt,name=timeFrom,proto3" json:"timeFrom,omitempty"`
|
|
TimeTo string `protobuf:"bytes,9,opt,name=timeTo,proto3" json:"timeTo,omitempty"`
|
|
NodeClusterIds []int64 `protobuf:"varint,10,rep,packed,name=nodeClusterIds,proto3" json:"nodeClusterIds,omitempty"` // 关联的CDN边缘节点集群ID列表
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateMessageRecipientRequest) Reset() {
|
|
*x = UpdateMessageRecipientRequest{}
|
|
mi := &file_service_message_recipient_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateMessageRecipientRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateMessageRecipientRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateMessageRecipientRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_message_recipient_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 UpdateMessageRecipientRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateMessageRecipientRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_message_recipient_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *UpdateMessageRecipientRequest) GetMessageRecipientId() int64 {
|
|
if x != nil {
|
|
return x.MessageRecipientId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateMessageRecipientRequest) GetAdminId() int64 {
|
|
if x != nil {
|
|
return x.AdminId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateMessageRecipientRequest) GetMessageMediaInstanceId() int64 {
|
|
if x != nil {
|
|
return x.MessageMediaInstanceId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateMessageRecipientRequest) GetMessageRecipientGroupIds() []int64 {
|
|
if x != nil {
|
|
return x.MessageRecipientGroupIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateMessageRecipientRequest) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateMessageRecipientRequest) GetIsOn() bool {
|
|
if x != nil {
|
|
return x.IsOn
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *UpdateMessageRecipientRequest) GetUser() string {
|
|
if x != nil {
|
|
return x.User
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateMessageRecipientRequest) GetTimeFrom() string {
|
|
if x != nil {
|
|
return x.TimeFrom
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateMessageRecipientRequest) GetTimeTo() string {
|
|
if x != nil {
|
|
return x.TimeTo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateMessageRecipientRequest) GetNodeClusterIds() []int64 {
|
|
if x != nil {
|
|
return x.NodeClusterIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 删除接收人
|
|
type DeleteMessageRecipientRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
MessageRecipientId int64 `protobuf:"varint,1,opt,name=messageRecipientId,proto3" json:"messageRecipientId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteMessageRecipientRequest) Reset() {
|
|
*x = DeleteMessageRecipientRequest{}
|
|
mi := &file_service_message_recipient_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteMessageRecipientRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteMessageRecipientRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteMessageRecipientRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_message_recipient_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 DeleteMessageRecipientRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteMessageRecipientRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_message_recipient_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *DeleteMessageRecipientRequest) GetMessageRecipientId() int64 {
|
|
if x != nil {
|
|
return x.MessageRecipientId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 计算接收人数量
|
|
type CountAllEnabledMessageRecipientsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AdminId int64 `protobuf:"varint,1,opt,name=adminId,proto3" json:"adminId,omitempty"`
|
|
MediaType string `protobuf:"bytes,2,opt,name=mediaType,proto3" json:"mediaType,omitempty"`
|
|
MessageRecipientGroupId int64 `protobuf:"varint,3,opt,name=messageRecipientGroupId,proto3" json:"messageRecipientGroupId,omitempty"`
|
|
Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CountAllEnabledMessageRecipientsRequest) Reset() {
|
|
*x = CountAllEnabledMessageRecipientsRequest{}
|
|
mi := &file_service_message_recipient_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CountAllEnabledMessageRecipientsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CountAllEnabledMessageRecipientsRequest) ProtoMessage() {}
|
|
|
|
func (x *CountAllEnabledMessageRecipientsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_message_recipient_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 CountAllEnabledMessageRecipientsRequest.ProtoReflect.Descriptor instead.
|
|
func (*CountAllEnabledMessageRecipientsRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_message_recipient_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *CountAllEnabledMessageRecipientsRequest) GetAdminId() int64 {
|
|
if x != nil {
|
|
return x.AdminId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CountAllEnabledMessageRecipientsRequest) GetMediaType() string {
|
|
if x != nil {
|
|
return x.MediaType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CountAllEnabledMessageRecipientsRequest) GetMessageRecipientGroupId() int64 {
|
|
if x != nil {
|
|
return x.MessageRecipientGroupId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CountAllEnabledMessageRecipientsRequest) GetKeyword() string {
|
|
if x != nil {
|
|
return x.Keyword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 列出单页接收人
|
|
type ListEnabledMessageRecipientsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AdminId int64 `protobuf:"varint,1,opt,name=adminId,proto3" json:"adminId,omitempty"`
|
|
MediaType string `protobuf:"bytes,2,opt,name=mediaType,proto3" json:"mediaType,omitempty"`
|
|
MessageRecipientGroupId int64 `protobuf:"varint,3,opt,name=messageRecipientGroupId,proto3" json:"messageRecipientGroupId,omitempty"`
|
|
Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
|
Offset int64 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
Size int64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListEnabledMessageRecipientsRequest) Reset() {
|
|
*x = ListEnabledMessageRecipientsRequest{}
|
|
mi := &file_service_message_recipient_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListEnabledMessageRecipientsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListEnabledMessageRecipientsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListEnabledMessageRecipientsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_message_recipient_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 ListEnabledMessageRecipientsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListEnabledMessageRecipientsRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_message_recipient_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ListEnabledMessageRecipientsRequest) GetAdminId() int64 {
|
|
if x != nil {
|
|
return x.AdminId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListEnabledMessageRecipientsRequest) GetMediaType() string {
|
|
if x != nil {
|
|
return x.MediaType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListEnabledMessageRecipientsRequest) GetMessageRecipientGroupId() int64 {
|
|
if x != nil {
|
|
return x.MessageRecipientGroupId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListEnabledMessageRecipientsRequest) GetKeyword() string {
|
|
if x != nil {
|
|
return x.Keyword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListEnabledMessageRecipientsRequest) GetOffset() int64 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListEnabledMessageRecipientsRequest) GetSize() int64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListEnabledMessageRecipientsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
MessageRecipients []*MessageRecipient `protobuf:"bytes,1,rep,name=messageRecipients,proto3" json:"messageRecipients,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListEnabledMessageRecipientsResponse) Reset() {
|
|
*x = ListEnabledMessageRecipientsResponse{}
|
|
mi := &file_service_message_recipient_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListEnabledMessageRecipientsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListEnabledMessageRecipientsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListEnabledMessageRecipientsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_message_recipient_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 ListEnabledMessageRecipientsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListEnabledMessageRecipientsResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_message_recipient_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *ListEnabledMessageRecipientsResponse) GetMessageRecipients() []*MessageRecipient {
|
|
if x != nil {
|
|
return x.MessageRecipients
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 查找单个接收人信息
|
|
type FindEnabledMessageRecipientRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
MessageRecipientId int64 `protobuf:"varint,1,opt,name=messageRecipientId,proto3" json:"messageRecipientId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindEnabledMessageRecipientRequest) Reset() {
|
|
*x = FindEnabledMessageRecipientRequest{}
|
|
mi := &file_service_message_recipient_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindEnabledMessageRecipientRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindEnabledMessageRecipientRequest) ProtoMessage() {}
|
|
|
|
func (x *FindEnabledMessageRecipientRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_message_recipient_proto_msgTypes[7]
|
|
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 FindEnabledMessageRecipientRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindEnabledMessageRecipientRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_message_recipient_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *FindEnabledMessageRecipientRequest) GetMessageRecipientId() int64 {
|
|
if x != nil {
|
|
return x.MessageRecipientId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindEnabledMessageRecipientResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
MessageRecipient *MessageRecipient `protobuf:"bytes,1,opt,name=messageRecipient,proto3" json:"messageRecipient,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindEnabledMessageRecipientResponse) Reset() {
|
|
*x = FindEnabledMessageRecipientResponse{}
|
|
mi := &file_service_message_recipient_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindEnabledMessageRecipientResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindEnabledMessageRecipientResponse) ProtoMessage() {}
|
|
|
|
func (x *FindEnabledMessageRecipientResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_message_recipient_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 FindEnabledMessageRecipientResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindEnabledMessageRecipientResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_message_recipient_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *FindEnabledMessageRecipientResponse) GetMessageRecipient() *MessageRecipient {
|
|
if x != nil {
|
|
return x.MessageRecipient
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_service_message_recipient_proto protoreflect.FileDescriptor
|
|
|
|
const file_service_message_recipient_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x1fservice_message_recipient.proto\x12\x02pb\x1a$models/model_message_recipient.proto\x1a\x19models/rpc_messages.proto\"\xbf\x02\n" +
|
|
"\x1dCreateMessageRecipientRequest\x12\x18\n" +
|
|
"\aadminId\x18\x01 \x01(\x03R\aadminId\x126\n" +
|
|
"\x16messageMediaInstanceId\x18\x02 \x01(\x03R\x16messageMediaInstanceId\x12:\n" +
|
|
"\x18messageRecipientGroupIds\x18\x03 \x03(\x03R\x18messageRecipientGroupIds\x12 \n" +
|
|
"\vdescription\x18\x04 \x01(\tR\vdescription\x12\x12\n" +
|
|
"\x04user\x18\x05 \x01(\tR\x04user\x12\x1a\n" +
|
|
"\btimeFrom\x18\x06 \x01(\tR\btimeFrom\x12\x16\n" +
|
|
"\x06timeTo\x18\a \x01(\tR\x06timeTo\x12&\n" +
|
|
"\x0enodeClusterIds\x18\b \x03(\x03R\x0enodeClusterIds\"P\n" +
|
|
"\x1eCreateMessageRecipientResponse\x12.\n" +
|
|
"\x12messageRecipientId\x18\x01 \x01(\x03R\x12messageRecipientId\"\x83\x03\n" +
|
|
"\x1dUpdateMessageRecipientRequest\x12.\n" +
|
|
"\x12messageRecipientId\x18\x01 \x01(\x03R\x12messageRecipientId\x12\x18\n" +
|
|
"\aadminId\x18\x02 \x01(\x03R\aadminId\x126\n" +
|
|
"\x16messageMediaInstanceId\x18\x03 \x01(\x03R\x16messageMediaInstanceId\x12:\n" +
|
|
"\x18messageRecipientGroupIds\x18\x04 \x03(\x03R\x18messageRecipientGroupIds\x12 \n" +
|
|
"\vdescription\x18\x05 \x01(\tR\vdescription\x12\x12\n" +
|
|
"\x04isOn\x18\x06 \x01(\bR\x04isOn\x12\x12\n" +
|
|
"\x04user\x18\a \x01(\tR\x04user\x12\x1a\n" +
|
|
"\btimeFrom\x18\b \x01(\tR\btimeFrom\x12\x16\n" +
|
|
"\x06timeTo\x18\t \x01(\tR\x06timeTo\x12&\n" +
|
|
"\x0enodeClusterIds\x18\n" +
|
|
" \x03(\x03R\x0enodeClusterIds\"O\n" +
|
|
"\x1dDeleteMessageRecipientRequest\x12.\n" +
|
|
"\x12messageRecipientId\x18\x01 \x01(\x03R\x12messageRecipientId\"\xb5\x01\n" +
|
|
"'CountAllEnabledMessageRecipientsRequest\x12\x18\n" +
|
|
"\aadminId\x18\x01 \x01(\x03R\aadminId\x12\x1c\n" +
|
|
"\tmediaType\x18\x02 \x01(\tR\tmediaType\x128\n" +
|
|
"\x17messageRecipientGroupId\x18\x03 \x01(\x03R\x17messageRecipientGroupId\x12\x18\n" +
|
|
"\akeyword\x18\x04 \x01(\tR\akeyword\"\xdd\x01\n" +
|
|
"#ListEnabledMessageRecipientsRequest\x12\x18\n" +
|
|
"\aadminId\x18\x01 \x01(\x03R\aadminId\x12\x1c\n" +
|
|
"\tmediaType\x18\x02 \x01(\tR\tmediaType\x128\n" +
|
|
"\x17messageRecipientGroupId\x18\x03 \x01(\x03R\x17messageRecipientGroupId\x12\x18\n" +
|
|
"\akeyword\x18\x04 \x01(\tR\akeyword\x12\x16\n" +
|
|
"\x06offset\x18\x05 \x01(\x03R\x06offset\x12\x12\n" +
|
|
"\x04size\x18\x06 \x01(\x03R\x04size\"j\n" +
|
|
"$ListEnabledMessageRecipientsResponse\x12B\n" +
|
|
"\x11messageRecipients\x18\x01 \x03(\v2\x14.pb.MessageRecipientR\x11messageRecipients\"T\n" +
|
|
"\"FindEnabledMessageRecipientRequest\x12.\n" +
|
|
"\x12messageRecipientId\x18\x01 \x01(\x03R\x12messageRecipientId\"g\n" +
|
|
"#FindEnabledMessageRecipientResponse\x12@\n" +
|
|
"\x10messageRecipient\x18\x01 \x01(\v2\x14.pb.MessageRecipientR\x10messageRecipient2\xde\x04\n" +
|
|
"\x17MessageRecipientService\x12_\n" +
|
|
"\x16createMessageRecipient\x12!.pb.CreateMessageRecipientRequest\x1a\".pb.CreateMessageRecipientResponse\x12K\n" +
|
|
"\x16updateMessageRecipient\x12!.pb.UpdateMessageRecipientRequest\x1a\x0e.pb.RPCSuccess\x12K\n" +
|
|
"\x16deleteMessageRecipient\x12!.pb.DeleteMessageRecipientRequest\x1a\x0e.pb.RPCSuccess\x12e\n" +
|
|
" countAllEnabledMessageRecipients\x12+.pb.CountAllEnabledMessageRecipientsRequest\x1a\x14.pb.RPCCountResponse\x12q\n" +
|
|
"\x1clistEnabledMessageRecipients\x12'.pb.ListEnabledMessageRecipientsRequest\x1a(.pb.ListEnabledMessageRecipientsResponse\x12n\n" +
|
|
"\x1bfindEnabledMessageRecipient\x12&.pb.FindEnabledMessageRecipientRequest\x1a'.pb.FindEnabledMessageRecipientResponseB\x06Z\x04./pbb\x06proto3"
|
|
|
|
var (
|
|
file_service_message_recipient_proto_rawDescOnce sync.Once
|
|
file_service_message_recipient_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_service_message_recipient_proto_rawDescGZIP() []byte {
|
|
file_service_message_recipient_proto_rawDescOnce.Do(func() {
|
|
file_service_message_recipient_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_message_recipient_proto_rawDesc), len(file_service_message_recipient_proto_rawDesc)))
|
|
})
|
|
return file_service_message_recipient_proto_rawDescData
|
|
}
|
|
|
|
var file_service_message_recipient_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
|
var file_service_message_recipient_proto_goTypes = []any{
|
|
(*CreateMessageRecipientRequest)(nil), // 0: pb.CreateMessageRecipientRequest
|
|
(*CreateMessageRecipientResponse)(nil), // 1: pb.CreateMessageRecipientResponse
|
|
(*UpdateMessageRecipientRequest)(nil), // 2: pb.UpdateMessageRecipientRequest
|
|
(*DeleteMessageRecipientRequest)(nil), // 3: pb.DeleteMessageRecipientRequest
|
|
(*CountAllEnabledMessageRecipientsRequest)(nil), // 4: pb.CountAllEnabledMessageRecipientsRequest
|
|
(*ListEnabledMessageRecipientsRequest)(nil), // 5: pb.ListEnabledMessageRecipientsRequest
|
|
(*ListEnabledMessageRecipientsResponse)(nil), // 6: pb.ListEnabledMessageRecipientsResponse
|
|
(*FindEnabledMessageRecipientRequest)(nil), // 7: pb.FindEnabledMessageRecipientRequest
|
|
(*FindEnabledMessageRecipientResponse)(nil), // 8: pb.FindEnabledMessageRecipientResponse
|
|
(*MessageRecipient)(nil), // 9: pb.MessageRecipient
|
|
(*RPCSuccess)(nil), // 10: pb.RPCSuccess
|
|
(*RPCCountResponse)(nil), // 11: pb.RPCCountResponse
|
|
}
|
|
var file_service_message_recipient_proto_depIdxs = []int32{
|
|
9, // 0: pb.ListEnabledMessageRecipientsResponse.messageRecipients:type_name -> pb.MessageRecipient
|
|
9, // 1: pb.FindEnabledMessageRecipientResponse.messageRecipient:type_name -> pb.MessageRecipient
|
|
0, // 2: pb.MessageRecipientService.createMessageRecipient:input_type -> pb.CreateMessageRecipientRequest
|
|
2, // 3: pb.MessageRecipientService.updateMessageRecipient:input_type -> pb.UpdateMessageRecipientRequest
|
|
3, // 4: pb.MessageRecipientService.deleteMessageRecipient:input_type -> pb.DeleteMessageRecipientRequest
|
|
4, // 5: pb.MessageRecipientService.countAllEnabledMessageRecipients:input_type -> pb.CountAllEnabledMessageRecipientsRequest
|
|
5, // 6: pb.MessageRecipientService.listEnabledMessageRecipients:input_type -> pb.ListEnabledMessageRecipientsRequest
|
|
7, // 7: pb.MessageRecipientService.findEnabledMessageRecipient:input_type -> pb.FindEnabledMessageRecipientRequest
|
|
1, // 8: pb.MessageRecipientService.createMessageRecipient:output_type -> pb.CreateMessageRecipientResponse
|
|
10, // 9: pb.MessageRecipientService.updateMessageRecipient:output_type -> pb.RPCSuccess
|
|
10, // 10: pb.MessageRecipientService.deleteMessageRecipient:output_type -> pb.RPCSuccess
|
|
11, // 11: pb.MessageRecipientService.countAllEnabledMessageRecipients:output_type -> pb.RPCCountResponse
|
|
6, // 12: pb.MessageRecipientService.listEnabledMessageRecipients:output_type -> pb.ListEnabledMessageRecipientsResponse
|
|
8, // 13: pb.MessageRecipientService.findEnabledMessageRecipient:output_type -> pb.FindEnabledMessageRecipientResponse
|
|
8, // [8:14] is the sub-list for method output_type
|
|
2, // [2:8] is the sub-list for method input_type
|
|
2, // [2:2] is the sub-list for extension type_name
|
|
2, // [2:2] is the sub-list for extension extendee
|
|
0, // [0:2] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_service_message_recipient_proto_init() }
|
|
func file_service_message_recipient_proto_init() {
|
|
if File_service_message_recipient_proto != nil {
|
|
return
|
|
}
|
|
file_models_model_message_recipient_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_recipient_proto_rawDesc), len(file_service_message_recipient_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 9,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_service_message_recipient_proto_goTypes,
|
|
DependencyIndexes: file_service_message_recipient_proto_depIdxs,
|
|
MessageInfos: file_service_message_recipient_proto_msgTypes,
|
|
}.Build()
|
|
File_service_message_recipient_proto = out.File
|
|
file_service_message_recipient_proto_goTypes = nil
|
|
file_service_message_recipient_proto_depIdxs = nil
|
|
}
|