mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-30 17:30:25 +08:00
优化消息发送API
This commit is contained in:
@@ -69,7 +69,7 @@ func (x CountMessageTasksWithStatusRequest_Status) Number() protoreflect.EnumNum
|
||||
|
||||
// Deprecated: Use CountMessageTasksWithStatusRequest_Status.Descriptor instead.
|
||||
func (CountMessageTasksWithStatusRequest_Status) EnumDescriptor() ([]byte, []int) {
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{8, 0}
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{5, 0}
|
||||
}
|
||||
|
||||
type ListMessageTasksWithStatusRequest_Status int32
|
||||
@@ -121,7 +121,7 @@ func (x ListMessageTasksWithStatusRequest_Status) Number() protoreflect.EnumNumb
|
||||
|
||||
// Deprecated: Use ListMessageTasksWithStatusRequest_Status.Descriptor instead.
|
||||
func (ListMessageTasksWithStatusRequest_Status) EnumDescriptor() ([]byte, []int) {
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{9, 0}
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{6, 0}
|
||||
}
|
||||
|
||||
// 创建消息任务
|
||||
@@ -130,12 +130,12 @@ type CreateMessageTaskRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
RecipientId int64 `protobuf:"varint,1,opt,name=recipientId,proto3" json:"recipientId,omitempty"`
|
||||
InstanceId int64 `protobuf:"varint,2,opt,name=instanceId,proto3" json:"instanceId,omitempty"`
|
||||
User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
|
||||
Subject string `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"`
|
||||
Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
|
||||
IsPrimary bool `protobuf:"varint,6,opt,name=isPrimary,proto3" json:"isPrimary,omitempty"`
|
||||
MessageRecipientId int64 `protobuf:"varint,1,opt,name=messageRecipientId,proto3" json:"messageRecipientId,omitempty"` // 接收人ID
|
||||
MessageMediaInstanceId int64 `protobuf:"varint,2,opt,name=messageMediaInstanceId,proto3" json:"messageMediaInstanceId,omitempty"` // 媒介实例ID
|
||||
User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` // 用户标识
|
||||
Subject string `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"` // 标题
|
||||
Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` // 内容
|
||||
IsPrimary bool `protobuf:"varint,6,opt,name=isPrimary,proto3" json:"isPrimary,omitempty"` // 是否优先发送
|
||||
}
|
||||
|
||||
func (x *CreateMessageTaskRequest) Reset() {
|
||||
@@ -170,16 +170,16 @@ func (*CreateMessageTaskRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *CreateMessageTaskRequest) GetRecipientId() int64 {
|
||||
func (x *CreateMessageTaskRequest) GetMessageRecipientId() int64 {
|
||||
if x != nil {
|
||||
return x.RecipientId
|
||||
return x.MessageRecipientId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *CreateMessageTaskRequest) GetInstanceId() int64 {
|
||||
func (x *CreateMessageTaskRequest) GetMessageMediaInstanceId() int64 {
|
||||
if x != nil {
|
||||
return x.InstanceId
|
||||
return x.MessageMediaInstanceId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
@@ -217,7 +217,7 @@ type CreateMessageTaskResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
MessageTaskId int64 `protobuf:"varint,1,opt,name=messageTaskId,proto3" json:"messageTaskId,omitempty"`
|
||||
MessageTaskId int64 `protobuf:"varint,1,opt,name=messageTaskId,proto3" json:"messageTaskId,omitempty"` // 消息任务ID
|
||||
}
|
||||
|
||||
func (x *CreateMessageTaskResponse) Reset() {
|
||||
@@ -259,165 +259,6 @@ func (x *CreateMessageTaskResponse) GetMessageTaskId() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// 查找要发送的消息任务
|
||||
type FindSendingMessageTasksRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
|
||||
}
|
||||
|
||||
func (x *FindSendingMessageTasksRequest) Reset() {
|
||||
*x = FindSendingMessageTasksRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_message_task_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *FindSendingMessageTasksRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*FindSendingMessageTasksRequest) ProtoMessage() {}
|
||||
|
||||
func (x *FindSendingMessageTasksRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_message_task_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)
|
||||
}
|
||||
|
||||
// Deprecated: Use FindSendingMessageTasksRequest.ProtoReflect.Descriptor instead.
|
||||
func (*FindSendingMessageTasksRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *FindSendingMessageTasksRequest) GetSize() int64 {
|
||||
if x != nil {
|
||||
return x.Size
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type FindSendingMessageTasksResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
MessageTasks []*MessageTask `protobuf:"bytes,1,rep,name=messageTasks,proto3" json:"messageTasks,omitempty"`
|
||||
}
|
||||
|
||||
func (x *FindSendingMessageTasksResponse) Reset() {
|
||||
*x = FindSendingMessageTasksResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_message_task_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *FindSendingMessageTasksResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*FindSendingMessageTasksResponse) ProtoMessage() {}
|
||||
|
||||
func (x *FindSendingMessageTasksResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_message_task_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 FindSendingMessageTasksResponse.ProtoReflect.Descriptor instead.
|
||||
func (*FindSendingMessageTasksResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *FindSendingMessageTasksResponse) GetMessageTasks() []*MessageTask {
|
||||
if x != nil {
|
||||
return x.MessageTasks
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// 修改消息任务状态
|
||||
type UpdateMessageTaskStatusRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
MessageTaskId int64 `protobuf:"varint,1,opt,name=messageTaskId,proto3" json:"messageTaskId,omitempty"`
|
||||
Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
|
||||
Result *MessageTaskResult `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"`
|
||||
}
|
||||
|
||||
func (x *UpdateMessageTaskStatusRequest) Reset() {
|
||||
*x = UpdateMessageTaskStatusRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_message_task_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateMessageTaskStatusRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateMessageTaskStatusRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateMessageTaskStatusRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_message_task_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 UpdateMessageTaskStatusRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateMessageTaskStatusRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *UpdateMessageTaskStatusRequest) GetMessageTaskId() int64 {
|
||||
if x != nil {
|
||||
return x.MessageTaskId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *UpdateMessageTaskStatusRequest) GetStatus() int32 {
|
||||
if x != nil {
|
||||
return x.Status
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *UpdateMessageTaskStatusRequest) GetResult() *MessageTaskResult {
|
||||
if x != nil {
|
||||
return x.Result
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// 删除消息任务
|
||||
type DeleteMessageTaskRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -430,7 +271,7 @@ type DeleteMessageTaskRequest struct {
|
||||
func (x *DeleteMessageTaskRequest) Reset() {
|
||||
*x = DeleteMessageTaskRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_message_task_proto_msgTypes[5]
|
||||
mi := &file_service_message_task_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -443,7 +284,7 @@ func (x *DeleteMessageTaskRequest) String() string {
|
||||
func (*DeleteMessageTaskRequest) ProtoMessage() {}
|
||||
|
||||
func (x *DeleteMessageTaskRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_message_task_proto_msgTypes[5]
|
||||
mi := &file_service_message_task_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -456,7 +297,7 @@ func (x *DeleteMessageTaskRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DeleteMessageTaskRequest.ProtoReflect.Descriptor instead.
|
||||
func (*DeleteMessageTaskRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{5}
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *DeleteMessageTaskRequest) GetMessageTaskId() int64 {
|
||||
@@ -478,7 +319,7 @@ type FindEnabledMessageTaskRequest struct {
|
||||
func (x *FindEnabledMessageTaskRequest) Reset() {
|
||||
*x = FindEnabledMessageTaskRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_message_task_proto_msgTypes[6]
|
||||
mi := &file_service_message_task_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -491,7 +332,7 @@ func (x *FindEnabledMessageTaskRequest) String() string {
|
||||
func (*FindEnabledMessageTaskRequest) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledMessageTaskRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_message_task_proto_msgTypes[6]
|
||||
mi := &file_service_message_task_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -504,7 +345,7 @@ func (x *FindEnabledMessageTaskRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindEnabledMessageTaskRequest.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledMessageTaskRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{6}
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *FindEnabledMessageTaskRequest) GetMessageTaskId() int64 {
|
||||
@@ -525,7 +366,7 @@ type FindEnabledMessageTaskResponse struct {
|
||||
func (x *FindEnabledMessageTaskResponse) Reset() {
|
||||
*x = FindEnabledMessageTaskResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_message_task_proto_msgTypes[7]
|
||||
mi := &file_service_message_task_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -538,7 +379,7 @@ func (x *FindEnabledMessageTaskResponse) String() string {
|
||||
func (*FindEnabledMessageTaskResponse) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledMessageTaskResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_message_task_proto_msgTypes[7]
|
||||
mi := &file_service_message_task_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -551,7 +392,7 @@ func (x *FindEnabledMessageTaskResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindEnabledMessageTaskResponse.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledMessageTaskResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{7}
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *FindEnabledMessageTaskResponse) GetMessageTask() *MessageTask {
|
||||
@@ -573,7 +414,7 @@ type CountMessageTasksWithStatusRequest struct {
|
||||
func (x *CountMessageTasksWithStatusRequest) Reset() {
|
||||
*x = CountMessageTasksWithStatusRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_message_task_proto_msgTypes[8]
|
||||
mi := &file_service_message_task_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -586,7 +427,7 @@ func (x *CountMessageTasksWithStatusRequest) String() string {
|
||||
func (*CountMessageTasksWithStatusRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CountMessageTasksWithStatusRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_message_task_proto_msgTypes[8]
|
||||
mi := &file_service_message_task_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -599,7 +440,7 @@ func (x *CountMessageTasksWithStatusRequest) ProtoReflect() protoreflect.Message
|
||||
|
||||
// Deprecated: Use CountMessageTasksWithStatusRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CountMessageTasksWithStatusRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{8}
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *CountMessageTasksWithStatusRequest) GetStatus() CountMessageTasksWithStatusRequest_Status {
|
||||
@@ -623,7 +464,7 @@ type ListMessageTasksWithStatusRequest struct {
|
||||
func (x *ListMessageTasksWithStatusRequest) Reset() {
|
||||
*x = ListMessageTasksWithStatusRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_message_task_proto_msgTypes[9]
|
||||
mi := &file_service_message_task_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -636,7 +477,7 @@ func (x *ListMessageTasksWithStatusRequest) String() string {
|
||||
func (*ListMessageTasksWithStatusRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ListMessageTasksWithStatusRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_message_task_proto_msgTypes[9]
|
||||
mi := &file_service_message_task_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -649,7 +490,7 @@ func (x *ListMessageTasksWithStatusRequest) ProtoReflect() protoreflect.Message
|
||||
|
||||
// Deprecated: Use ListMessageTasksWithStatusRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ListMessageTasksWithStatusRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{9}
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *ListMessageTasksWithStatusRequest) GetStatus() ListMessageTasksWithStatusRequest_Status {
|
||||
@@ -684,7 +525,7 @@ type ListMessageTasksWithStatusResponse struct {
|
||||
func (x *ListMessageTasksWithStatusResponse) Reset() {
|
||||
*x = ListMessageTasksWithStatusResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_message_task_proto_msgTypes[10]
|
||||
mi := &file_service_message_task_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -697,7 +538,7 @@ func (x *ListMessageTasksWithStatusResponse) String() string {
|
||||
func (*ListMessageTasksWithStatusResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListMessageTasksWithStatusResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_message_task_proto_msgTypes[10]
|
||||
mi := &file_service_message_task_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -710,7 +551,7 @@ func (x *ListMessageTasksWithStatusResponse) ProtoReflect() protoreflect.Message
|
||||
|
||||
// Deprecated: Use ListMessageTasksWithStatusResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListMessageTasksWithStatusResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{10}
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *ListMessageTasksWithStatusResponse) GetMessageTasks() []*MessageTask {
|
||||
@@ -720,6 +561,142 @@ func (x *ListMessageTasksWithStatusResponse) GetMessageTasks() []*MessageTask {
|
||||
return nil
|
||||
}
|
||||
|
||||
// 发送某个消息任务
|
||||
// 与创建消息任务放入到后台任务队列不同,此API是直接发送
|
||||
type SendMessageTaskRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
MessageMediaInstanceId int64 `protobuf:"varint,1,opt,name=messageMediaInstanceId,proto3" json:"messageMediaInstanceId,omitempty"` // 媒介实例ID
|
||||
User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // 用户标识
|
||||
Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` // 标题
|
||||
Body string `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` // 内容
|
||||
}
|
||||
|
||||
func (x *SendMessageTaskRequest) Reset() {
|
||||
*x = SendMessageTaskRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_message_task_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SendMessageTaskRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SendMessageTaskRequest) ProtoMessage() {}
|
||||
|
||||
func (x *SendMessageTaskRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_message_task_proto_msgTypes[8]
|
||||
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 SendMessageTaskRequest.ProtoReflect.Descriptor instead.
|
||||
func (*SendMessageTaskRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *SendMessageTaskRequest) GetMessageMediaInstanceId() int64 {
|
||||
if x != nil {
|
||||
return x.MessageMediaInstanceId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SendMessageTaskRequest) GetUser() string {
|
||||
if x != nil {
|
||||
return x.User
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *SendMessageTaskRequest) GetSubject() string {
|
||||
if x != nil {
|
||||
return x.Subject
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *SendMessageTaskRequest) GetBody() string {
|
||||
if x != nil {
|
||||
return x.Body
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type SendMessageTaskResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
IsOk bool `protobuf:"varint,1,opt,name=isOk,proto3" json:"isOk,omitempty"` // 是否成功
|
||||
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // 失败时的提示信息
|
||||
Response string `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"` // 发送成功后响应内容
|
||||
}
|
||||
|
||||
func (x *SendMessageTaskResponse) Reset() {
|
||||
*x = SendMessageTaskResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_message_task_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SendMessageTaskResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SendMessageTaskResponse) ProtoMessage() {}
|
||||
|
||||
func (x *SendMessageTaskResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_message_task_proto_msgTypes[9]
|
||||
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 SendMessageTaskResponse.ProtoReflect.Descriptor instead.
|
||||
func (*SendMessageTaskResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_message_task_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *SendMessageTaskResponse) GetIsOk() bool {
|
||||
if x != nil {
|
||||
return x.IsOk
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *SendMessageTaskResponse) GetError() string {
|
||||
if x != nil {
|
||||
return x.Error
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *SendMessageTaskResponse) GetResponse() string {
|
||||
if x != nil {
|
||||
return x.Response
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_service_message_task_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_service_message_task_proto_rawDesc = []byte{
|
||||
@@ -728,135 +705,128 @@ var file_service_message_task_proto_rawDesc = []byte{
|
||||
0x1a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 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, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbc, 0x01, 0x0a,
|
||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x01, 0x0a,
|
||||
0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61,
|
||||
0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x63,
|
||||
0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
|
||||
0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x69,
|
||||
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75,
|
||||
0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12,
|
||||
0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64,
|
||||
0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x1c, 0x0a,
|
||||
0x09, 0x69, 0x73, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08,
|
||||
0x52, 0x09, 0x69, 0x73, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x41, 0x0a, 0x19, 0x43,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73,
|
||||
0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x34,
|
||||
0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73,
|
||||
0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
|
||||
0x73, 0x69, 0x7a, 0x65, 0x22, 0x56, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x6e, 0x64,
|
||||
0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
||||
0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x0c,
|
||||
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x22, 0x8d, 0x01, 0x0a,
|
||||
0x1e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61,
|
||||
0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x24, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54,
|
||||
0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2d, 0x0a,
|
||||
0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65,
|
||||
0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x40, 0x0a, 0x18,
|
||||
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73,
|
||||
0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73,
|
||||
0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x45,
|
||||
0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x73,
|
||||
0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x24, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54,
|
||||
0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x53, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
||||
0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x0b, 0x6d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x22, 0xe9, 0x01, 0x0a, 0x22, 0x43,
|
||||
0x73, 0x6b, 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, 0x12, 0x36, 0x0a, 0x16, 0x6d, 0x65, 0x73,
|
||||
0x73, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
|
||||
0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
||||
0x67, 0x65, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49,
|
||||
0x64, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74,
|
||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62,
|
||||
0x6f, 0x64, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79,
|
||||
0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72,
|
||||
0x79, 0x22, 0x41, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
||||
0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24,
|
||||
0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61,
|
||||
0x73, 0x6b, 0x49, 0x64, 0x22, 0x40, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65,
|
||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x12, 0x24, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
||||
0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
||||
0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d,
|
||||
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x53, 0x0a,
|
||||
0x1e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73,
|
||||
0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x31, 0x0a, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
||||
0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61,
|
||||
0x73, 0x6b, 0x22, 0xe9, 0x01, 0x0a, 0x22, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73,
|
||||
0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74,
|
||||
0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x06, 0x73, 0x74, 0x61,
|
||||
0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x43,
|
||||
0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73,
|
||||
0x57, 0x69, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x45, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x0e, 0x32, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73,
|
||||
0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74,
|
||||
0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
||||
0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x7c, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74,
|
||||
0x75, 0x73, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73,
|
||||
0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4e, 0x6f, 0x6e, 0x65, 0x10, 0x00, 0x12, 0x1c, 0x0a,
|
||||
0x18, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74,
|
||||
0x75, 0x73, 0x53, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x4d,
|
||||
0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
|
||||
0x22, 0x7c, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x65,
|
||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4e,
|
||||
0x6f, 0x6e, 0x65, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
||||
0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x53, 0x65, 0x6e, 0x64, 0x69, 0x6e,
|
||||
0x67, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61,
|
||||
0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10,
|
||||
0x02, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
||||
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x10, 0x03, 0x22, 0x93,
|
||||
0x02, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61,
|
||||
0x73, 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65,
|
||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x74,
|
||||
0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74,
|
||||
0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66,
|
||||
0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73,
|
||||
0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x7c, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
||||
0x12, 0x19, 0x0a, 0x15, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x53,
|
||||
0x74, 0x61, 0x74, 0x75, 0x73, 0x4e, 0x6f, 0x6e, 0x65, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x4d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
||||
0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x65, 0x73,
|
||||
0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x46, 0x61,
|
||||
0x69, 0x6c, 0x65, 0x64, 0x10, 0x03, 0x22, 0x93, 0x02, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x4d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53,
|
||||
0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x06,
|
||||
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73,
|
||||
0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74,
|
||||
0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69,
|
||||
0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x7c,
|
||||
0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x65, 0x73, 0x73,
|
||||
0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4e, 0x6f, 0x6e,
|
||||
0x65, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61,
|
||||
0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x53, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x10,
|
||||
0x01, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
||||
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x02, 0x12,
|
||||
0x1b, 0x0a, 0x17, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74,
|
||||
0x61, 0x74, 0x75, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x10, 0x03, 0x22, 0x59, 0x0a, 0x22,
|
||||
0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73,
|
||||
0x57, 0x69, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x33, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73,
|
||||
0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65,
|
||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
||||
0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x32, 0x87, 0x05, 0x0a, 0x12, 0x4d, 0x65, 0x73, 0x73,
|
||||
0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x50,
|
||||
0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54,
|
||||
0x61, 0x73, 0x6b, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d,
|
||||
0x53, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x65, 0x73,
|
||||
0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x53, 0x75,
|
||||
0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
||||
0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x46, 0x61, 0x69, 0x6c,
|
||||
0x65, 0x64, 0x10, 0x03, 0x22, 0x59, 0x0a, 0x22, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73,
|
||||
0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74,
|
||||
0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x0c, 0x6d, 0x65,
|
||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
||||
0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73,
|
||||
0x6b, 0x52, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x22,
|
||||
0x92, 0x01, 0x0a, 0x16, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54,
|
||||
0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x16, 0x6d, 0x65,
|
||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,
|
||||
0x63, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x6d, 0x65, 0x73, 0x73,
|
||||
0x61, 0x67, 0x65, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
|
||||
0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63,
|
||||
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74,
|
||||
0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
||||
0x62, 0x6f, 0x64, 0x79, 0x22, 0x5f, 0x0a, 0x17, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73,
|
||||
0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69,
|
||||
0x73, 0x4f, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xa0, 0x04, 0x0a, 0x12, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
||||
0x65, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x11,
|
||||
0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73,
|
||||
0x6b, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73,
|
||||
0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
||||
0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41,
|
||||
0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54,
|
||||
0x61, 0x73, 0x6b, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73,
|
||||
0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x62, 0x0a, 0x17, 0x66, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73,
|
||||
0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67,
|
||||
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x17, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65,
|
||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
|
||||
0x22, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
||||
0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 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, 0x41, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x73,
|
||||
0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65,
|
||||
0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53,
|
||||
0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
||||
0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
||||
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68,
|
||||
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e,
|
||||
0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x57, 0x69, 0x74,
|
||||
0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 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, 0x12, 0x6b, 0x0a, 0x1a, 0x6c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73,
|
||||
0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73,
|
||||
0x73, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x21, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73,
|
||||
0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x5b, 0x0a, 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
||||
0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75,
|
||||
0x73, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73,
|
||||
0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74,
|
||||
0x75, 0x73, 0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73,
|
||||
0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74,
|
||||
0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x4c,
|
||||
0x69, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x57,
|
||||
0x69, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x33,
|
||||
0x75, 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, 0x12,
|
||||
0x6b, 0x0a, 0x1a, 0x6c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61,
|
||||
0x73, 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x25, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61,
|
||||
0x73, 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65,
|
||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x74,
|
||||
0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0f,
|
||||
0x73, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12,
|
||||
0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
||||
0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62,
|
||||
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -872,52 +842,46 @@ func file_service_message_task_proto_rawDescGZIP() []byte {
|
||||
}
|
||||
|
||||
var file_service_message_task_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
||||
var file_service_message_task_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
||||
var file_service_message_task_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
||||
var file_service_message_task_proto_goTypes = []interface{}{
|
||||
(CountMessageTasksWithStatusRequest_Status)(0), // 0: pb.CountMessageTasksWithStatusRequest.Status
|
||||
(ListMessageTasksWithStatusRequest_Status)(0), // 1: pb.ListMessageTasksWithStatusRequest.Status
|
||||
(*CreateMessageTaskRequest)(nil), // 2: pb.CreateMessageTaskRequest
|
||||
(*CreateMessageTaskResponse)(nil), // 3: pb.CreateMessageTaskResponse
|
||||
(*FindSendingMessageTasksRequest)(nil), // 4: pb.FindSendingMessageTasksRequest
|
||||
(*FindSendingMessageTasksResponse)(nil), // 5: pb.FindSendingMessageTasksResponse
|
||||
(*UpdateMessageTaskStatusRequest)(nil), // 6: pb.UpdateMessageTaskStatusRequest
|
||||
(*DeleteMessageTaskRequest)(nil), // 7: pb.DeleteMessageTaskRequest
|
||||
(*FindEnabledMessageTaskRequest)(nil), // 8: pb.FindEnabledMessageTaskRequest
|
||||
(*FindEnabledMessageTaskResponse)(nil), // 9: pb.FindEnabledMessageTaskResponse
|
||||
(*CountMessageTasksWithStatusRequest)(nil), // 10: pb.CountMessageTasksWithStatusRequest
|
||||
(*ListMessageTasksWithStatusRequest)(nil), // 11: pb.ListMessageTasksWithStatusRequest
|
||||
(*ListMessageTasksWithStatusResponse)(nil), // 12: pb.ListMessageTasksWithStatusResponse
|
||||
(*MessageTask)(nil), // 13: pb.MessageTask
|
||||
(*MessageTaskResult)(nil), // 14: pb.MessageTaskResult
|
||||
(*RPCSuccess)(nil), // 15: pb.RPCSuccess
|
||||
(*RPCCountResponse)(nil), // 16: pb.RPCCountResponse
|
||||
(*DeleteMessageTaskRequest)(nil), // 4: pb.DeleteMessageTaskRequest
|
||||
(*FindEnabledMessageTaskRequest)(nil), // 5: pb.FindEnabledMessageTaskRequest
|
||||
(*FindEnabledMessageTaskResponse)(nil), // 6: pb.FindEnabledMessageTaskResponse
|
||||
(*CountMessageTasksWithStatusRequest)(nil), // 7: pb.CountMessageTasksWithStatusRequest
|
||||
(*ListMessageTasksWithStatusRequest)(nil), // 8: pb.ListMessageTasksWithStatusRequest
|
||||
(*ListMessageTasksWithStatusResponse)(nil), // 9: pb.ListMessageTasksWithStatusResponse
|
||||
(*SendMessageTaskRequest)(nil), // 10: pb.SendMessageTaskRequest
|
||||
(*SendMessageTaskResponse)(nil), // 11: pb.SendMessageTaskResponse
|
||||
(*MessageTask)(nil), // 12: pb.MessageTask
|
||||
(*RPCSuccess)(nil), // 13: pb.RPCSuccess
|
||||
(*RPCCountResponse)(nil), // 14: pb.RPCCountResponse
|
||||
}
|
||||
var file_service_message_task_proto_depIdxs = []int32{
|
||||
13, // 0: pb.FindSendingMessageTasksResponse.messageTasks:type_name -> pb.MessageTask
|
||||
14, // 1: pb.UpdateMessageTaskStatusRequest.result:type_name -> pb.MessageTaskResult
|
||||
13, // 2: pb.FindEnabledMessageTaskResponse.messageTask:type_name -> pb.MessageTask
|
||||
0, // 3: pb.CountMessageTasksWithStatusRequest.status:type_name -> pb.CountMessageTasksWithStatusRequest.Status
|
||||
1, // 4: pb.ListMessageTasksWithStatusRequest.status:type_name -> pb.ListMessageTasksWithStatusRequest.Status
|
||||
13, // 5: pb.ListMessageTasksWithStatusResponse.messageTasks:type_name -> pb.MessageTask
|
||||
2, // 6: pb.MessageTaskService.createMessageTask:input_type -> pb.CreateMessageTaskRequest
|
||||
4, // 7: pb.MessageTaskService.findSendingMessageTasks:input_type -> pb.FindSendingMessageTasksRequest
|
||||
6, // 8: pb.MessageTaskService.updateMessageTaskStatus:input_type -> pb.UpdateMessageTaskStatusRequest
|
||||
7, // 9: pb.MessageTaskService.deleteMessageTask:input_type -> pb.DeleteMessageTaskRequest
|
||||
8, // 10: pb.MessageTaskService.findEnabledMessageTask:input_type -> pb.FindEnabledMessageTaskRequest
|
||||
10, // 11: pb.MessageTaskService.countMessageTasksWithStatus:input_type -> pb.CountMessageTasksWithStatusRequest
|
||||
11, // 12: pb.MessageTaskService.listMessageTasksWithStatus:input_type -> pb.ListMessageTasksWithStatusRequest
|
||||
3, // 13: pb.MessageTaskService.createMessageTask:output_type -> pb.CreateMessageTaskResponse
|
||||
5, // 14: pb.MessageTaskService.findSendingMessageTasks:output_type -> pb.FindSendingMessageTasksResponse
|
||||
15, // 15: pb.MessageTaskService.updateMessageTaskStatus:output_type -> pb.RPCSuccess
|
||||
15, // 16: pb.MessageTaskService.deleteMessageTask:output_type -> pb.RPCSuccess
|
||||
9, // 17: pb.MessageTaskService.findEnabledMessageTask:output_type -> pb.FindEnabledMessageTaskResponse
|
||||
16, // 18: pb.MessageTaskService.countMessageTasksWithStatus:output_type -> pb.RPCCountResponse
|
||||
12, // 19: pb.MessageTaskService.listMessageTasksWithStatus:output_type -> pb.ListMessageTasksWithStatusResponse
|
||||
13, // [13:20] is the sub-list for method output_type
|
||||
6, // [6:13] is the sub-list for method input_type
|
||||
6, // [6:6] is the sub-list for extension type_name
|
||||
6, // [6:6] is the sub-list for extension extendee
|
||||
0, // [0:6] is the sub-list for field type_name
|
||||
12, // 0: pb.FindEnabledMessageTaskResponse.messageTask:type_name -> pb.MessageTask
|
||||
0, // 1: pb.CountMessageTasksWithStatusRequest.status:type_name -> pb.CountMessageTasksWithStatusRequest.Status
|
||||
1, // 2: pb.ListMessageTasksWithStatusRequest.status:type_name -> pb.ListMessageTasksWithStatusRequest.Status
|
||||
12, // 3: pb.ListMessageTasksWithStatusResponse.messageTasks:type_name -> pb.MessageTask
|
||||
2, // 4: pb.MessageTaskService.createMessageTask:input_type -> pb.CreateMessageTaskRequest
|
||||
4, // 5: pb.MessageTaskService.deleteMessageTask:input_type -> pb.DeleteMessageTaskRequest
|
||||
5, // 6: pb.MessageTaskService.findEnabledMessageTask:input_type -> pb.FindEnabledMessageTaskRequest
|
||||
7, // 7: pb.MessageTaskService.countMessageTasksWithStatus:input_type -> pb.CountMessageTasksWithStatusRequest
|
||||
8, // 8: pb.MessageTaskService.listMessageTasksWithStatus:input_type -> pb.ListMessageTasksWithStatusRequest
|
||||
10, // 9: pb.MessageTaskService.sendMessageTask:input_type -> pb.SendMessageTaskRequest
|
||||
3, // 10: pb.MessageTaskService.createMessageTask:output_type -> pb.CreateMessageTaskResponse
|
||||
13, // 11: pb.MessageTaskService.deleteMessageTask:output_type -> pb.RPCSuccess
|
||||
6, // 12: pb.MessageTaskService.findEnabledMessageTask:output_type -> pb.FindEnabledMessageTaskResponse
|
||||
14, // 13: pb.MessageTaskService.countMessageTasksWithStatus:output_type -> pb.RPCCountResponse
|
||||
9, // 14: pb.MessageTaskService.listMessageTasksWithStatus:output_type -> pb.ListMessageTasksWithStatusResponse
|
||||
11, // 15: pb.MessageTaskService.sendMessageTask:output_type -> pb.SendMessageTaskResponse
|
||||
10, // [10:16] is the sub-list for method output_type
|
||||
4, // [4:10] is the sub-list for method input_type
|
||||
4, // [4:4] is the sub-list for extension type_name
|
||||
4, // [4:4] is the sub-list for extension extendee
|
||||
0, // [0:4] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_service_message_task_proto_init() }
|
||||
@@ -953,42 +917,6 @@ func file_service_message_task_proto_init() {
|
||||
}
|
||||
}
|
||||
file_service_message_task_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindSendingMessageTasksRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_message_task_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindSendingMessageTasksResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_message_task_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UpdateMessageTaskStatusRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_message_task_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*DeleteMessageTaskRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1000,7 +928,7 @@ func file_service_message_task_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_message_task_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_message_task_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledMessageTaskRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1012,7 +940,7 @@ func file_service_message_task_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_message_task_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_message_task_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledMessageTaskResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1024,7 +952,7 @@ func file_service_message_task_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_message_task_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_message_task_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CountMessageTasksWithStatusRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1036,7 +964,7 @@ func file_service_message_task_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_message_task_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_message_task_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ListMessageTasksWithStatusRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1048,7 +976,7 @@ func file_service_message_task_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_message_task_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_message_task_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ListMessageTasksWithStatusResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1060,6 +988,30 @@ func file_service_message_task_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_message_task_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*SendMessageTaskRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_message_task_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*SendMessageTaskResponse); 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{
|
||||
@@ -1067,7 +1019,7 @@ func file_service_message_task_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_service_message_task_proto_rawDesc,
|
||||
NumEnums: 2,
|
||||
NumMessages: 11,
|
||||
NumMessages: 10,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user