902 lines
26 KiB
Go
902 lines
26 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: task/task_msg.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
//任务触发
|
|
type TaskSendReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TaskType int32 `protobuf:"varint,1,opt,name=taskType,proto3" json:"taskType"` //任务类型
|
|
Params []int32 `protobuf:"varint,2,rep,packed,name=params,proto3" json:"params"` //任务参数
|
|
}
|
|
|
|
func (x *TaskSendReq) Reset() {
|
|
*x = TaskSendReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_task_task_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskSendReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskSendReq) ProtoMessage() {}
|
|
|
|
func (x *TaskSendReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_task_task_msg_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TaskSendReq.ProtoReflect.Descriptor instead.
|
|
func (*TaskSendReq) Descriptor() ([]byte, []int) {
|
|
return file_task_task_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *TaskSendReq) GetTaskType() int32 {
|
|
if x != nil {
|
|
return x.TaskType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TaskSendReq) GetParams() []int32 {
|
|
if x != nil {
|
|
return x.Params
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TaskSendResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
IsSucc bool `protobuf:"varint,1,opt,name=isSucc,proto3" json:"isSucc"`
|
|
}
|
|
|
|
func (x *TaskSendResp) Reset() {
|
|
*x = TaskSendResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_task_task_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskSendResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskSendResp) ProtoMessage() {}
|
|
|
|
func (x *TaskSendResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_task_task_msg_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TaskSendResp.ProtoReflect.Descriptor instead.
|
|
func (*TaskSendResp) Descriptor() ([]byte, []int) {
|
|
return file_task_task_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *TaskSendResp) GetIsSucc() bool {
|
|
if x != nil {
|
|
return x.IsSucc
|
|
}
|
|
return false
|
|
}
|
|
|
|
//领取
|
|
type TaskReceiveReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TaskTag int32 `protobuf:"varint,1,opt,name=taskTag,proto3" json:"taskTag"` // 1日常/2周常/3成就
|
|
Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id"` //任务唯一ID
|
|
}
|
|
|
|
func (x *TaskReceiveReq) Reset() {
|
|
*x = TaskReceiveReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_task_task_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskReceiveReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskReceiveReq) ProtoMessage() {}
|
|
|
|
func (x *TaskReceiveReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_task_task_msg_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 TaskReceiveReq.ProtoReflect.Descriptor instead.
|
|
func (*TaskReceiveReq) Descriptor() ([]byte, []int) {
|
|
return file_task_task_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *TaskReceiveReq) GetTaskTag() int32 {
|
|
if x != nil {
|
|
return x.TaskTag
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TaskReceiveReq) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TaskReceiveResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TaskId int32 `protobuf:"varint,1,opt,name=taskId,proto3" json:"taskId"` //任务配置ID
|
|
}
|
|
|
|
func (x *TaskReceiveResp) Reset() {
|
|
*x = TaskReceiveResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_task_task_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskReceiveResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskReceiveResp) ProtoMessage() {}
|
|
|
|
func (x *TaskReceiveResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_task_task_msg_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 TaskReceiveResp.ProtoReflect.Descriptor instead.
|
|
func (*TaskReceiveResp) Descriptor() ([]byte, []int) {
|
|
return file_task_task_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *TaskReceiveResp) GetTaskId() int32 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//任务列表
|
|
type TaskListReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TaskTag int32 `protobuf:"varint,1,opt,name=taskTag,proto3" json:"taskTag"` //日常/周常/成就
|
|
}
|
|
|
|
func (x *TaskListReq) Reset() {
|
|
*x = TaskListReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_task_task_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskListReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskListReq) ProtoMessage() {}
|
|
|
|
func (x *TaskListReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_task_task_msg_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 TaskListReq.ProtoReflect.Descriptor instead.
|
|
func (*TaskListReq) Descriptor() ([]byte, []int) {
|
|
return file_task_task_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *TaskListReq) GetTaskTag() int32 {
|
|
if x != nil {
|
|
return x.TaskTag
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TaskListResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
List []*TaskData `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
|
|
}
|
|
|
|
func (x *TaskListResp) Reset() {
|
|
*x = TaskListResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_task_task_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskListResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskListResp) ProtoMessage() {}
|
|
|
|
func (x *TaskListResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_task_task_msg_proto_msgTypes[5]
|
|
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 TaskListResp.ProtoReflect.Descriptor instead.
|
|
func (*TaskListResp) Descriptor() ([]byte, []int) {
|
|
return file_task_task_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *TaskListResp) GetList() []*TaskData {
|
|
if x != nil {
|
|
return x.List
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//活跃度
|
|
type TaskActiveListReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TaskTag int32 `protobuf:"varint,1,opt,name=taskTag,proto3" json:"taskTag"`
|
|
}
|
|
|
|
func (x *TaskActiveListReq) Reset() {
|
|
*x = TaskActiveListReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_task_task_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskActiveListReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskActiveListReq) ProtoMessage() {}
|
|
|
|
func (x *TaskActiveListReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_task_task_msg_proto_msgTypes[6]
|
|
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 TaskActiveListReq.ProtoReflect.Descriptor instead.
|
|
func (*TaskActiveListReq) Descriptor() ([]byte, []int) {
|
|
return file_task_task_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *TaskActiveListReq) GetTaskTag() int32 {
|
|
if x != nil {
|
|
return x.TaskTag
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TaskActiveListResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
List []*ActivityData `protobuf:"bytes,1,rep,name=list,proto3" json:"list"` //活跃度列表
|
|
Active int32 `protobuf:"varint,2,opt,name=active,proto3" json:"active"` //活跃度值
|
|
}
|
|
|
|
func (x *TaskActiveListResp) Reset() {
|
|
*x = TaskActiveListResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_task_task_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskActiveListResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskActiveListResp) ProtoMessage() {}
|
|
|
|
func (x *TaskActiveListResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_task_task_msg_proto_msgTypes[7]
|
|
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 TaskActiveListResp.ProtoReflect.Descriptor instead.
|
|
func (*TaskActiveListResp) Descriptor() ([]byte, []int) {
|
|
return file_task_task_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *TaskActiveListResp) GetList() []*ActivityData {
|
|
if x != nil {
|
|
return x.List
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TaskActiveListResp) GetActive() int32 {
|
|
if x != nil {
|
|
return x.Active
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//活跃度领取
|
|
type TaskActiveReceiveReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TaskTag int32 `protobuf:"varint,1,opt,name=taskTag,proto3" json:"taskTag"` // 1日常/2周常
|
|
Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id"` //唯一id
|
|
}
|
|
|
|
func (x *TaskActiveReceiveReq) Reset() {
|
|
*x = TaskActiveReceiveReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_task_task_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskActiveReceiveReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskActiveReceiveReq) ProtoMessage() {}
|
|
|
|
func (x *TaskActiveReceiveReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_task_task_msg_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 TaskActiveReceiveReq.ProtoReflect.Descriptor instead.
|
|
func (*TaskActiveReceiveReq) Descriptor() ([]byte, []int) {
|
|
return file_task_task_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *TaskActiveReceiveReq) GetTaskTag() int32 {
|
|
if x != nil {
|
|
return x.TaskTag
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TaskActiveReceiveReq) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TaskActiveReceiveResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TaskTag int32 `protobuf:"varint,1,opt,name=taskTag,proto3" json:"taskTag"`
|
|
Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id"`
|
|
}
|
|
|
|
func (x *TaskActiveReceiveResp) Reset() {
|
|
*x = TaskActiveReceiveResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_task_task_msg_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskActiveReceiveResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskActiveReceiveResp) ProtoMessage() {}
|
|
|
|
func (x *TaskActiveReceiveResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_task_task_msg_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 TaskActiveReceiveResp.ProtoReflect.Descriptor instead.
|
|
func (*TaskActiveReceiveResp) Descriptor() ([]byte, []int) {
|
|
return file_task_task_msg_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *TaskActiveReceiveResp) GetTaskTag() int32 {
|
|
if x != nil {
|
|
return x.TaskTag
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TaskActiveReceiveResp) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//任务完成推送
|
|
type TaskFinishedPush struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TaskId int32 `protobuf:"varint,1,opt,name=taskId,proto3" json:"taskId"`
|
|
}
|
|
|
|
func (x *TaskFinishedPush) Reset() {
|
|
*x = TaskFinishedPush{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_task_task_msg_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskFinishedPush) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskFinishedPush) ProtoMessage() {}
|
|
|
|
func (x *TaskFinishedPush) ProtoReflect() protoreflect.Message {
|
|
mi := &file_task_task_msg_proto_msgTypes[10]
|
|
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 TaskFinishedPush.ProtoReflect.Descriptor instead.
|
|
func (*TaskFinishedPush) Descriptor() ([]byte, []int) {
|
|
return file_task_task_msg_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *TaskFinishedPush) GetTaskId() int32 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TaskActiveReceivePush struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TaskTag int32 `protobuf:"varint,1,opt,name=taskTag,proto3" json:"taskTag"`
|
|
Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id"`
|
|
}
|
|
|
|
func (x *TaskActiveReceivePush) Reset() {
|
|
*x = TaskActiveReceivePush{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_task_task_msg_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TaskActiveReceivePush) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TaskActiveReceivePush) ProtoMessage() {}
|
|
|
|
func (x *TaskActiveReceivePush) ProtoReflect() protoreflect.Message {
|
|
mi := &file_task_task_msg_proto_msgTypes[11]
|
|
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 TaskActiveReceivePush.ProtoReflect.Descriptor instead.
|
|
func (*TaskActiveReceivePush) Descriptor() ([]byte, []int) {
|
|
return file_task_task_msg_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *TaskActiveReceivePush) GetTaskTag() int32 {
|
|
if x != nil {
|
|
return x.TaskTag
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TaskActiveReceivePush) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_task_task_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_task_task_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x13, 0x74, 0x61, 0x73, 0x6b, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6d, 0x73, 0x67, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x74, 0x61, 0x73, 0x6b, 0x2f, 0x74, 0x61, 0x73, 0x6b,
|
|
0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x0b, 0x54, 0x61, 0x73,
|
|
0x6b, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b,
|
|
0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b,
|
|
0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02,
|
|
0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x26, 0x0a, 0x0c,
|
|
0x54, 0x61, 0x73, 0x6b, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06,
|
|
0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73,
|
|
0x53, 0x75, 0x63, 0x63, 0x22, 0x3a, 0x0a, 0x0e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x63, 0x65,
|
|
0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x61,
|
|
0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x61, 0x67,
|
|
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64,
|
|
0x22, 0x29, 0x0a, 0x0f, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52,
|
|
0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x27, 0x0a, 0x0b, 0x54,
|
|
0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61,
|
|
0x73, 0x6b, 0x54, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x74, 0x61, 0x73,
|
|
0x6b, 0x54, 0x61, 0x67, 0x22, 0x2d, 0x0a, 0x0c, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74,
|
|
0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x09, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x6c,
|
|
0x69, 0x73, 0x74, 0x22, 0x2d, 0x0a, 0x11, 0x54, 0x61, 0x73, 0x6b, 0x41, 0x63, 0x74, 0x69, 0x76,
|
|
0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b,
|
|
0x54, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x54,
|
|
0x61, 0x67, 0x22, 0x4f, 0x0a, 0x12, 0x54, 0x61, 0x73, 0x6b, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65,
|
|
0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74,
|
|
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
|
|
0x79, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61,
|
|
0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x61, 0x63, 0x74,
|
|
0x69, 0x76, 0x65, 0x22, 0x40, 0x0a, 0x14, 0x54, 0x61, 0x73, 0x6b, 0x41, 0x63, 0x74, 0x69, 0x76,
|
|
0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x74,
|
|
0x61, 0x73, 0x6b, 0x54, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x74, 0x61,
|
|
0x73, 0x6b, 0x54, 0x61, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x41, 0x0a, 0x15, 0x54, 0x61, 0x73, 0x6b, 0x41, 0x63, 0x74,
|
|
0x69, 0x76, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18,
|
|
0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x07, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x61, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x2a, 0x0a, 0x10, 0x54, 0x61, 0x73, 0x6b,
|
|
0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x50, 0x75, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06,
|
|
0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61,
|
|
0x73, 0x6b, 0x49, 0x64, 0x22, 0x41, 0x0a, 0x15, 0x54, 0x61, 0x73, 0x6b, 0x41, 0x63, 0x74, 0x69,
|
|
0x76, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x18, 0x0a,
|
|
0x07, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
|
|
0x74, 0x61, 0x73, 0x6b, 0x54, 0x61, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62,
|
|
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_task_task_msg_proto_rawDescOnce sync.Once
|
|
file_task_task_msg_proto_rawDescData = file_task_task_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_task_task_msg_proto_rawDescGZIP() []byte {
|
|
file_task_task_msg_proto_rawDescOnce.Do(func() {
|
|
file_task_task_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_task_task_msg_proto_rawDescData)
|
|
})
|
|
return file_task_task_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_task_task_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
|
var file_task_task_msg_proto_goTypes = []interface{}{
|
|
(*TaskSendReq)(nil), // 0: TaskSendReq
|
|
(*TaskSendResp)(nil), // 1: TaskSendResp
|
|
(*TaskReceiveReq)(nil), // 2: TaskReceiveReq
|
|
(*TaskReceiveResp)(nil), // 3: TaskReceiveResp
|
|
(*TaskListReq)(nil), // 4: TaskListReq
|
|
(*TaskListResp)(nil), // 5: TaskListResp
|
|
(*TaskActiveListReq)(nil), // 6: TaskActiveListReq
|
|
(*TaskActiveListResp)(nil), // 7: TaskActiveListResp
|
|
(*TaskActiveReceiveReq)(nil), // 8: TaskActiveReceiveReq
|
|
(*TaskActiveReceiveResp)(nil), // 9: TaskActiveReceiveResp
|
|
(*TaskFinishedPush)(nil), // 10: TaskFinishedPush
|
|
(*TaskActiveReceivePush)(nil), // 11: TaskActiveReceivePush
|
|
(*TaskData)(nil), // 12: TaskData
|
|
(*ActivityData)(nil), // 13: ActivityData
|
|
}
|
|
var file_task_task_msg_proto_depIdxs = []int32{
|
|
12, // 0: TaskListResp.list:type_name -> TaskData
|
|
13, // 1: TaskActiveListResp.list:type_name -> ActivityData
|
|
2, // [2:2] is the sub-list for method output_type
|
|
2, // [2:2] 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_task_task_msg_proto_init() }
|
|
func file_task_task_msg_proto_init() {
|
|
if File_task_task_msg_proto != nil {
|
|
return
|
|
}
|
|
file_task_task_db_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_task_task_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskSendReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_task_task_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskSendResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_task_task_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskReceiveReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_task_task_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskReceiveResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_task_task_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskListReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_task_task_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskListResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_task_task_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskActiveListReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_task_task_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskActiveListResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_task_task_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskActiveReceiveReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_task_task_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskActiveReceiveResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_task_task_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskFinishedPush); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_task_task_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TaskActiveReceivePush); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_task_task_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 12,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_task_task_msg_proto_goTypes,
|
|
DependencyIndexes: file_task_task_msg_proto_depIdxs,
|
|
MessageInfos: file_task_task_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_task_task_msg_proto = out.File
|
|
file_task_task_msg_proto_rawDesc = nil
|
|
file_task_task_msg_proto_goTypes = nil
|
|
file_task_task_msg_proto_depIdxs = nil
|
|
}
|