911 lines
27 KiB
Go
911 lines
27 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: dispatch/dispatch_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 DispatchNoticeReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *DispatchNoticeReq) Reset() {
|
|
*x = DispatchNoticeReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_dispatch_dispatch_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DispatchNoticeReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DispatchNoticeReq) ProtoMessage() {}
|
|
|
|
func (x *DispatchNoticeReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dispatch_dispatch_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 DispatchNoticeReq.ProtoReflect.Descriptor instead.
|
|
func (*DispatchNoticeReq) Descriptor() ([]byte, []int) {
|
|
return file_dispatch_dispatch_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type DispatchNoticeResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Dispatch *Noticeboard `protobuf:"bytes,1,opt,name=dispatch,proto3" json:"dispatch"`
|
|
}
|
|
|
|
func (x *DispatchNoticeResp) Reset() {
|
|
*x = DispatchNoticeResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_dispatch_dispatch_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DispatchNoticeResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DispatchNoticeResp) ProtoMessage() {}
|
|
|
|
func (x *DispatchNoticeResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dispatch_dispatch_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 DispatchNoticeResp.ProtoReflect.Descriptor instead.
|
|
func (*DispatchNoticeResp) Descriptor() ([]byte, []int) {
|
|
return file_dispatch_dispatch_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *DispatchNoticeResp) GetDispatch() *Noticeboard {
|
|
if x != nil {
|
|
return x.Dispatch
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//刷新公告
|
|
type DispatchRefreshReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *DispatchRefreshReq) Reset() {
|
|
*x = DispatchRefreshReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_dispatch_dispatch_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DispatchRefreshReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DispatchRefreshReq) ProtoMessage() {}
|
|
|
|
func (x *DispatchRefreshReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dispatch_dispatch_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 DispatchRefreshReq.ProtoReflect.Descriptor instead.
|
|
func (*DispatchRefreshReq) Descriptor() ([]byte, []int) {
|
|
return file_dispatch_dispatch_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type DispatchRefreshResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
FreeCount int32 `protobuf:"varint,1,opt,name=freeCount,proto3" json:"freeCount"` //已使用的免费次数
|
|
RefreshCount int32 `protobuf:"varint,2,opt,name=refreshCount,proto3" json:"refreshCount"` //已刷新次数
|
|
}
|
|
|
|
func (x *DispatchRefreshResp) Reset() {
|
|
*x = DispatchRefreshResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_dispatch_dispatch_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DispatchRefreshResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DispatchRefreshResp) ProtoMessage() {}
|
|
|
|
func (x *DispatchRefreshResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dispatch_dispatch_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 DispatchRefreshResp.ProtoReflect.Descriptor instead.
|
|
func (*DispatchRefreshResp) Descriptor() ([]byte, []int) {
|
|
return file_dispatch_dispatch_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *DispatchRefreshResp) GetFreeCount() int32 {
|
|
if x != nil {
|
|
return x.FreeCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DispatchRefreshResp) GetRefreshCount() int32 {
|
|
if x != nil {
|
|
return x.RefreshCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DispatchTaskRsp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TaskId int32 `protobuf:"varint,1,opt,name=taskId,proto3" json:"taskId"`
|
|
Exaward bool `protobuf:"varint,2,opt,name=exaward,proto3" json:"exaward"`
|
|
}
|
|
|
|
func (x *DispatchTaskRsp) Reset() {
|
|
*x = DispatchTaskRsp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_dispatch_dispatch_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DispatchTaskRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DispatchTaskRsp) ProtoMessage() {}
|
|
|
|
func (x *DispatchTaskRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dispatch_dispatch_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 DispatchTaskRsp.ProtoReflect.Descriptor instead.
|
|
func (*DispatchTaskRsp) Descriptor() ([]byte, []int) {
|
|
return file_dispatch_dispatch_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *DispatchTaskRsp) GetTaskId() int32 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DispatchTaskRsp) GetExaward() bool {
|
|
if x != nil {
|
|
return x.Exaward
|
|
}
|
|
return false
|
|
}
|
|
|
|
// 领取任务奖励
|
|
type DispatchReceiveReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TaskId int32 `protobuf:"varint,1,opt,name=taskId,proto3" json:"taskId"` //任务ID
|
|
}
|
|
|
|
func (x *DispatchReceiveReq) Reset() {
|
|
*x = DispatchReceiveReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_dispatch_dispatch_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DispatchReceiveReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DispatchReceiveReq) ProtoMessage() {}
|
|
|
|
func (x *DispatchReceiveReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dispatch_dispatch_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 DispatchReceiveReq.ProtoReflect.Descriptor instead.
|
|
func (*DispatchReceiveReq) Descriptor() ([]byte, []int) {
|
|
return file_dispatch_dispatch_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *DispatchReceiveReq) GetTaskId() int32 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DispatchReceiveResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Rsp *DispatchTaskRsp `protobuf:"bytes,1,opt,name=rsp,proto3" json:"rsp"`
|
|
}
|
|
|
|
func (x *DispatchReceiveResp) Reset() {
|
|
*x = DispatchReceiveResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_dispatch_dispatch_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DispatchReceiveResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DispatchReceiveResp) ProtoMessage() {}
|
|
|
|
func (x *DispatchReceiveResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dispatch_dispatch_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 DispatchReceiveResp.ProtoReflect.Descriptor instead.
|
|
func (*DispatchReceiveResp) Descriptor() ([]byte, []int) {
|
|
return file_dispatch_dispatch_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *DispatchReceiveResp) GetRsp() *DispatchTaskRsp {
|
|
if x != nil {
|
|
return x.Rsp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//一键领取任务奖励
|
|
type DispatchAutoReceiveReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *DispatchAutoReceiveReq) Reset() {
|
|
*x = DispatchAutoReceiveReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_dispatch_dispatch_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DispatchAutoReceiveReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DispatchAutoReceiveReq) ProtoMessage() {}
|
|
|
|
func (x *DispatchAutoReceiveReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dispatch_dispatch_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 DispatchAutoReceiveReq.ProtoReflect.Descriptor instead.
|
|
func (*DispatchAutoReceiveReq) Descriptor() ([]byte, []int) {
|
|
return file_dispatch_dispatch_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
type DispatchAutoReceiveResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Task []*DispatchTaskRsp `protobuf:"bytes,1,rep,name=task,proto3" json:"task"` //领取奖励的任务ID
|
|
}
|
|
|
|
func (x *DispatchAutoReceiveResp) Reset() {
|
|
*x = DispatchAutoReceiveResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_dispatch_dispatch_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DispatchAutoReceiveResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DispatchAutoReceiveResp) ProtoMessage() {}
|
|
|
|
func (x *DispatchAutoReceiveResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dispatch_dispatch_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 DispatchAutoReceiveResp.ProtoReflect.Descriptor instead.
|
|
func (*DispatchAutoReceiveResp) Descriptor() ([]byte, []int) {
|
|
return file_dispatch_dispatch_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *DispatchAutoReceiveResp) GetTask() []*DispatchTaskRsp {
|
|
if x != nil {
|
|
return x.Task
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 派遣
|
|
type DispatchDoReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TaskId int32 `protobuf:"varint,1,opt,name=taskId,proto3" json:"taskId"`
|
|
HeroIds []string `protobuf:"bytes,2,rep,name=heroIds,proto3" json:"heroIds"`
|
|
}
|
|
|
|
func (x *DispatchDoReq) Reset() {
|
|
*x = DispatchDoReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_dispatch_dispatch_msg_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DispatchDoReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DispatchDoReq) ProtoMessage() {}
|
|
|
|
func (x *DispatchDoReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dispatch_dispatch_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 DispatchDoReq.ProtoReflect.Descriptor instead.
|
|
func (*DispatchDoReq) Descriptor() ([]byte, []int) {
|
|
return file_dispatch_dispatch_msg_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *DispatchDoReq) GetTaskId() int32 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DispatchDoReq) GetHeroIds() []string {
|
|
if x != nil {
|
|
return x.HeroIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DispatchDoResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
IsSucc bool `protobuf:"varint,1,opt,name=isSucc,proto3" json:"isSucc"` //派遣是否成功
|
|
}
|
|
|
|
func (x *DispatchDoResp) Reset() {
|
|
*x = DispatchDoResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_dispatch_dispatch_msg_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DispatchDoResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DispatchDoResp) ProtoMessage() {}
|
|
|
|
func (x *DispatchDoResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dispatch_dispatch_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 DispatchDoResp.ProtoReflect.Descriptor instead.
|
|
func (*DispatchDoResp) Descriptor() ([]byte, []int) {
|
|
return file_dispatch_dispatch_msg_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *DispatchDoResp) GetIsSucc() bool {
|
|
if x != nil {
|
|
return x.IsSucc
|
|
}
|
|
return false
|
|
}
|
|
|
|
// 周奖励领取
|
|
type DispatchWeekReciveReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Idx int32 `protobuf:"varint,1,opt,name=idx,proto3" json:"idx"` // 奖励节点索引号从0开始
|
|
}
|
|
|
|
func (x *DispatchWeekReciveReq) Reset() {
|
|
*x = DispatchWeekReciveReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_dispatch_dispatch_msg_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DispatchWeekReciveReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DispatchWeekReciveReq) ProtoMessage() {}
|
|
|
|
func (x *DispatchWeekReciveReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dispatch_dispatch_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 DispatchWeekReciveReq.ProtoReflect.Descriptor instead.
|
|
func (*DispatchWeekReciveReq) Descriptor() ([]byte, []int) {
|
|
return file_dispatch_dispatch_msg_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *DispatchWeekReciveReq) GetIdx() int32 {
|
|
if x != nil {
|
|
return x.Idx
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DispatchWeekReciveResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Idx int32 `protobuf:"varint,1,opt,name=idx,proto3" json:"idx"`
|
|
}
|
|
|
|
func (x *DispatchWeekReciveResp) Reset() {
|
|
*x = DispatchWeekReciveResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_dispatch_dispatch_msg_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DispatchWeekReciveResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DispatchWeekReciveResp) ProtoMessage() {}
|
|
|
|
func (x *DispatchWeekReciveResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_dispatch_dispatch_msg_proto_msgTypes[12]
|
|
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 DispatchWeekReciveResp.ProtoReflect.Descriptor instead.
|
|
func (*DispatchWeekReciveResp) Descriptor() ([]byte, []int) {
|
|
return file_dispatch_dispatch_msg_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *DispatchWeekReciveResp) GetIdx() int32 {
|
|
if x != nil {
|
|
return x.Idx
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_dispatch_dispatch_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_dispatch_dispatch_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x1b, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x64, 0x69, 0x73, 0x70, 0x61,
|
|
0x74, 0x63, 0x68, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x64,
|
|
0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68,
|
|
0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x13, 0x0a, 0x11, 0x44, 0x69, 0x73,
|
|
0x70, 0x61, 0x74, 0x63, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x22, 0x3e,
|
|
0x0a, 0x12, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65,
|
|
0x52, 0x65, 0x73, 0x70, 0x12, 0x28, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x62,
|
|
0x6f, 0x61, 0x72, 0x64, 0x52, 0x08, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x22, 0x14,
|
|
0x0a, 0x12, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73,
|
|
0x68, 0x52, 0x65, 0x71, 0x22, 0x57, 0x0a, 0x13, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68,
|
|
0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x66,
|
|
0x72, 0x65, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09,
|
|
0x66, 0x72, 0x65, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x66,
|
|
0x72, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x0c, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x43, 0x0a,
|
|
0x0f, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x52, 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, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x78, 0x61, 0x77,
|
|
0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x78, 0x61, 0x77, 0x61,
|
|
0x72, 0x64, 0x22, 0x2c, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65,
|
|
0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 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, 0x39, 0x0a, 0x13, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x63, 0x65,
|
|
0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x22, 0x0a, 0x03, 0x72, 0x73, 0x70, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x54,
|
|
0x61, 0x73, 0x6b, 0x52, 0x73, 0x70, 0x52, 0x03, 0x72, 0x73, 0x70, 0x22, 0x18, 0x0a, 0x16, 0x44,
|
|
0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x63, 0x65, 0x69,
|
|
0x76, 0x65, 0x52, 0x65, 0x71, 0x22, 0x3f, 0x0a, 0x17, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63,
|
|
0x68, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70,
|
|
0x12, 0x24, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10,
|
|
0x2e, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x73, 0x70,
|
|
0x52, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x22, 0x41, 0x0a, 0x0d, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74,
|
|
0x63, 0x68, 0x44, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49,
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12,
|
|
0x18, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
|
|
0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x73, 0x22, 0x28, 0x0a, 0x0e, 0x44, 0x69, 0x73,
|
|
0x70, 0x61, 0x74, 0x63, 0x68, 0x44, 0x6f, 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, 0x29, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x57,
|
|
0x65, 0x65, 0x6b, 0x52, 0x65, 0x63, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03,
|
|
0x69, 0x64, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x69, 0x64, 0x78, 0x22, 0x2a,
|
|
0x0a, 0x16, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x57, 0x65, 0x65, 0x6b, 0x52, 0x65,
|
|
0x63, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x78, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x69, 0x64, 0x78, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b,
|
|
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_dispatch_dispatch_msg_proto_rawDescOnce sync.Once
|
|
file_dispatch_dispatch_msg_proto_rawDescData = file_dispatch_dispatch_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_dispatch_dispatch_msg_proto_rawDescGZIP() []byte {
|
|
file_dispatch_dispatch_msg_proto_rawDescOnce.Do(func() {
|
|
file_dispatch_dispatch_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_dispatch_dispatch_msg_proto_rawDescData)
|
|
})
|
|
return file_dispatch_dispatch_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_dispatch_dispatch_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
|
var file_dispatch_dispatch_msg_proto_goTypes = []interface{}{
|
|
(*DispatchNoticeReq)(nil), // 0: DispatchNoticeReq
|
|
(*DispatchNoticeResp)(nil), // 1: DispatchNoticeResp
|
|
(*DispatchRefreshReq)(nil), // 2: DispatchRefreshReq
|
|
(*DispatchRefreshResp)(nil), // 3: DispatchRefreshResp
|
|
(*DispatchTaskRsp)(nil), // 4: DispatchTaskRsp
|
|
(*DispatchReceiveReq)(nil), // 5: DispatchReceiveReq
|
|
(*DispatchReceiveResp)(nil), // 6: DispatchReceiveResp
|
|
(*DispatchAutoReceiveReq)(nil), // 7: DispatchAutoReceiveReq
|
|
(*DispatchAutoReceiveResp)(nil), // 8: DispatchAutoReceiveResp
|
|
(*DispatchDoReq)(nil), // 9: DispatchDoReq
|
|
(*DispatchDoResp)(nil), // 10: DispatchDoResp
|
|
(*DispatchWeekReciveReq)(nil), // 11: DispatchWeekReciveReq
|
|
(*DispatchWeekReciveResp)(nil), // 12: DispatchWeekReciveResp
|
|
(*Noticeboard)(nil), // 13: Noticeboard
|
|
}
|
|
var file_dispatch_dispatch_msg_proto_depIdxs = []int32{
|
|
13, // 0: DispatchNoticeResp.dispatch:type_name -> Noticeboard
|
|
4, // 1: DispatchReceiveResp.rsp:type_name -> DispatchTaskRsp
|
|
4, // 2: DispatchAutoReceiveResp.task:type_name -> DispatchTaskRsp
|
|
3, // [3:3] is the sub-list for method output_type
|
|
3, // [3:3] is the sub-list for method input_type
|
|
3, // [3:3] is the sub-list for extension type_name
|
|
3, // [3:3] is the sub-list for extension extendee
|
|
0, // [0:3] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_dispatch_dispatch_msg_proto_init() }
|
|
func file_dispatch_dispatch_msg_proto_init() {
|
|
if File_dispatch_dispatch_msg_proto != nil {
|
|
return
|
|
}
|
|
file_dispatch_dispatch_db_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_dispatch_dispatch_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DispatchNoticeReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_dispatch_dispatch_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DispatchNoticeResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_dispatch_dispatch_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DispatchRefreshReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_dispatch_dispatch_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DispatchRefreshResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_dispatch_dispatch_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DispatchTaskRsp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_dispatch_dispatch_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DispatchReceiveReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_dispatch_dispatch_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DispatchReceiveResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_dispatch_dispatch_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DispatchAutoReceiveReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_dispatch_dispatch_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DispatchAutoReceiveResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_dispatch_dispatch_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DispatchDoReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_dispatch_dispatch_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DispatchDoResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_dispatch_dispatch_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DispatchWeekReciveReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_dispatch_dispatch_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DispatchWeekReciveResp); 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_dispatch_dispatch_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 13,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_dispatch_dispatch_msg_proto_goTypes,
|
|
DependencyIndexes: file_dispatch_dispatch_msg_proto_depIdxs,
|
|
MessageInfos: file_dispatch_dispatch_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_dispatch_dispatch_msg_proto = out.File
|
|
file_dispatch_dispatch_msg_proto_rawDesc = nil
|
|
file_dispatch_dispatch_msg_proto_goTypes = nil
|
|
file_dispatch_dispatch_msg_proto_depIdxs = nil
|
|
}
|