@ -9,6 +9,7 @@ package cron
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
_ "google.golang.org/protobuf/types/known/emptypb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
@ -1038,18 +1039,18 @@ func (x *CreateScheduleTaskResponse) GetData() *ScheduleTask {
}
type UpdateScheduleTaskRequest struct {
state protoimpl . MessageState ` protogen:"open.v1" `
TaskId uint64 ` protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id" ` // 任务ID, 用于标识需要更新的任务
TaskTitle string ` protobuf:"bytes,2,opt,name=task_title,json=taskTitle,proto3" json:"task_title" ` // 任务标题
Description string ` protobuf:"bytes,3,opt,name=description,proto3" json:"description" ` // 描述
PeriodType int32 ` protobuf:"varint,4,opt,name=period_type,json=periodType,proto3" json:"period_type" ` // 周期类型
Weekdays [ ] int32 ` protobuf:"varint,5,rep,packed,name=weekdays,proto3" json:"weekdays" ` // 每周任务的星期几
CustomDays [ ] string ` protobuf:"bytes,6,rep,name=custom_days,json=customDays,proto3" json:"custom_days" ` // 自定义日期
StartDate string ` protobuf:"bytes,7,opt,name=start_date,json=startDate,proto3" json:"start_date" ` // 开始日期
ExecuteStartTime string ` protobuf:"bytes,8,opt,name=execute_start_time,json=executeStartTime,proto3" json:"execute_start_time" ` // 执行开始时间
ExecuteEndTime string ` protobuf:"bytes,9,opt,name=execute_end_time,json=executeEndTime,proto3" json:"execute_end_time" ` // 执行结束时间
Remark string ` protobuf:"bytes,10,opt,name=remark,proto3" json:"remark" ` // 备注
TaskDetail * UpdateSchedule TaskRequestTaskDetail ` protobuf:"bytes,11,opt,name=task_detail,json=taskDetail,proto3" json:"task_detail" ` // 任务详情
state protoimpl . MessageState ` protogen:"open.v1" `
TaskId uint64 ` protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id" ` // 任务ID, 用于标识需要更新的任务
TaskTitle string ` protobuf:"bytes,2,opt,name=task_title,json=taskTitle,proto3" json:"task_title" ` // 任务标题
Description string ` protobuf:"bytes,3,opt,name=description,proto3" json:"description" ` // 描述
PeriodType int32 ` protobuf:"varint,4,opt,name=period_type,json=periodType,proto3" json:"period_type" ` // 周期类型
Weekdays [ ] int32 ` protobuf:"varint,5,rep,packed,name=weekdays,proto3" json:"weekdays" ` // 每周任务的星期几
CustomDays [ ] string ` protobuf:"bytes,6,rep,name=custom_days,json=customDays,proto3" json:"custom_days" ` // 自定义日期
StartDate string ` protobuf:"bytes,7,opt,name=start_date,json=startDate,proto3" json:"start_date" ` // 开始日期
ExecuteStartTime string ` protobuf:"bytes,8,opt,name=execute_start_time,json=executeStartTime,proto3" json:"execute_start_time" ` // 执行开始时间
ExecuteEndTime string ` protobuf:"bytes,9,opt,name=execute_end_time,json=executeEndTime,proto3" json:"execute_end_time" ` // 执行结束时间
Remark string ` protobuf:"bytes,10,opt,name=remark,proto3" json:"remark" ` // 备注
TaskDetail * TaskDetail Request ` protobuf:"bytes,11,opt,name=task_detail,json=taskDetail,proto3" json:"task_detail" ` // 任务详情
unknownFields protoimpl . UnknownFields
sizeCache protoimpl . SizeCache
}
@ -1154,97 +1155,13 @@ func (x *UpdateScheduleTaskRequest) GetRemark() string {
return ""
}
func ( x * UpdateScheduleTaskRequest ) GetTaskDetail ( ) * UpdateSchedule TaskRequestTaskDetail {
func ( x * UpdateScheduleTaskRequest ) GetTaskDetail ( ) * TaskDetail Request {
if x != nil {
return x . TaskDetail
}
return nil
}
type UpdateScheduleTaskRequestTaskDetail struct {
state protoimpl . MessageState ` protogen:"open.v1" `
Id int32 ` protobuf:"varint,5,opt,name=id,proto3" json:"id" `
TaskId int32 ` protobuf:"varint,6,opt,name=task_id,json=taskId,proto3" json:"task_id" `
ArtistCount int32 ` protobuf:"varint,1,opt,name=artist_count,json=artistCount,proto3" json:"artist_count" ` // 艺人数量
Artists [ ] * ArtistInfo ` protobuf:"bytes,2,rep,name=artists,proto3" json:"artists" ` // 艺人信息列表
Num int32 ` protobuf:"varint,3,opt,name=num,proto3" json:"num" ` // 任务数量
ContentType int32 ` protobuf:"varint,4,opt,name=content_type,json=contentType,proto3" json:"content_type" ` // 内容类型
unknownFields protoimpl . UnknownFields
sizeCache protoimpl . SizeCache
}
func ( x * UpdateScheduleTaskRequestTaskDetail ) Reset ( ) {
* x = UpdateScheduleTaskRequestTaskDetail { }
mi := & file_pb_cron_proto_msgTypes [ 11 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
func ( x * UpdateScheduleTaskRequestTaskDetail ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * UpdateScheduleTaskRequestTaskDetail ) ProtoMessage ( ) { }
func ( x * UpdateScheduleTaskRequestTaskDetail ) ProtoReflect ( ) protoreflect . Message {
mi := & file_pb_cron_proto_msgTypes [ 11 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use UpdateScheduleTaskRequestTaskDetail.ProtoReflect.Descriptor instead.
func ( * UpdateScheduleTaskRequestTaskDetail ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_pb_cron_proto_rawDescGZIP ( ) , [ ] int { 11 }
}
func ( x * UpdateScheduleTaskRequestTaskDetail ) GetId ( ) int32 {
if x != nil {
return x . Id
}
return 0
}
func ( x * UpdateScheduleTaskRequestTaskDetail ) GetTaskId ( ) int32 {
if x != nil {
return x . TaskId
}
return 0
}
func ( x * UpdateScheduleTaskRequestTaskDetail ) GetArtistCount ( ) int32 {
if x != nil {
return x . ArtistCount
}
return 0
}
func ( x * UpdateScheduleTaskRequestTaskDetail ) GetArtists ( ) [ ] * ArtistInfo {
if x != nil {
return x . Artists
}
return nil
}
func ( x * UpdateScheduleTaskRequestTaskDetail ) GetNum ( ) int32 {
if x != nil {
return x . Num
}
return 0
}
func ( x * UpdateScheduleTaskRequestTaskDetail ) GetContentType ( ) int32 {
if x != nil {
return x . ContentType
}
return 0
}
type UpdateScheduleTaskResponse struct {
state protoimpl . MessageState ` protogen:"open.v1" `
Code int32 ` protobuf:"varint,1,opt,name=code,proto3" json:"code" ` // 响应码
@ -1256,7 +1173,7 @@ type UpdateScheduleTaskResponse struct {
func ( x * UpdateScheduleTaskResponse ) Reset ( ) {
* x = UpdateScheduleTaskResponse { }
mi := & file_pb_cron_proto_msgTypes [ 1 2 ]
mi := & file_pb_cron_proto_msgTypes [ 1 1 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1268,7 +1185,7 @@ func (x *UpdateScheduleTaskResponse) String() string {
func ( * UpdateScheduleTaskResponse ) ProtoMessage ( ) { }
func ( x * UpdateScheduleTaskResponse ) ProtoReflect ( ) protoreflect . Message {
mi := & file_pb_cron_proto_msgTypes [ 1 2 ]
mi := & file_pb_cron_proto_msgTypes [ 1 1 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1281,7 +1198,7 @@ func (x *UpdateScheduleTaskResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use UpdateScheduleTaskResponse.ProtoReflect.Descriptor instead.
func ( * UpdateScheduleTaskResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_pb_cron_proto_rawDescGZIP ( ) , [ ] int { 1 2 }
return file_pb_cron_proto_rawDescGZIP ( ) , [ ] int { 1 1 }
}
func ( x * UpdateScheduleTaskResponse ) GetCode ( ) int32 {
@ -1322,7 +1239,7 @@ type GetListScheduleTaskRequest struct {
func ( x * GetListScheduleTaskRequest ) Reset ( ) {
* x = GetListScheduleTaskRequest { }
mi := & file_pb_cron_proto_msgTypes [ 1 3 ]
mi := & file_pb_cron_proto_msgTypes [ 1 2 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1334,7 +1251,7 @@ func (x *GetListScheduleTaskRequest) String() string {
func ( * GetListScheduleTaskRequest ) ProtoMessage ( ) { }
func ( x * GetListScheduleTaskRequest ) ProtoReflect ( ) protoreflect . Message {
mi := & file_pb_cron_proto_msgTypes [ 1 3 ]
mi := & file_pb_cron_proto_msgTypes [ 1 2 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1347,7 +1264,7 @@ func (x *GetListScheduleTaskRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetListScheduleTaskRequest.ProtoReflect.Descriptor instead.
func ( * GetListScheduleTaskRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_pb_cron_proto_rawDescGZIP ( ) , [ ] int { 1 3 }
return file_pb_cron_proto_rawDescGZIP ( ) , [ ] int { 1 2 }
}
func ( x * GetListScheduleTaskRequest ) GetPage ( ) int32 {
@ -1427,7 +1344,7 @@ type GetListScheduleTaskResponse struct {
func ( x * GetListScheduleTaskResponse ) Reset ( ) {
* x = GetListScheduleTaskResponse { }
mi := & file_pb_cron_proto_msgTypes [ 1 4 ]
mi := & file_pb_cron_proto_msgTypes [ 1 3 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1439,7 +1356,7 @@ func (x *GetListScheduleTaskResponse) String() string {
func ( * GetListScheduleTaskResponse ) ProtoMessage ( ) { }
func ( x * GetListScheduleTaskResponse ) ProtoReflect ( ) protoreflect . Message {
mi := & file_pb_cron_proto_msgTypes [ 1 4 ]
mi := & file_pb_cron_proto_msgTypes [ 1 3 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1452,7 +1369,7 @@ func (x *GetListScheduleTaskResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetListScheduleTaskResponse.ProtoReflect.Descriptor instead.
func ( * GetListScheduleTaskResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_pb_cron_proto_rawDescGZIP ( ) , [ ] int { 1 4 }
return file_pb_cron_proto_rawDescGZIP ( ) , [ ] int { 1 3 }
}
func ( x * GetListScheduleTaskResponse ) GetCode ( ) int32 {
@ -1513,7 +1430,7 @@ type GetListExecutionRecordRequest struct {
func ( x * GetListExecutionRecordRequest ) Reset ( ) {
* x = GetListExecutionRecordRequest { }
mi := & file_pb_cron_proto_msgTypes [ 1 5 ]
mi := & file_pb_cron_proto_msgTypes [ 1 4 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1525,7 +1442,7 @@ func (x *GetListExecutionRecordRequest) String() string {
func ( * GetListExecutionRecordRequest ) ProtoMessage ( ) { }
func ( x * GetListExecutionRecordRequest ) ProtoReflect ( ) protoreflect . Message {
mi := & file_pb_cron_proto_msgTypes [ 1 5 ]
mi := & file_pb_cron_proto_msgTypes [ 1 4 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1538,7 +1455,7 @@ func (x *GetListExecutionRecordRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetListExecutionRecordRequest.ProtoReflect.Descriptor instead.
func ( * GetListExecutionRecordRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_pb_cron_proto_rawDescGZIP ( ) , [ ] int { 1 5 }
return file_pb_cron_proto_rawDescGZIP ( ) , [ ] int { 1 4 }
}
func ( x * GetListExecutionRecordRequest ) GetPage ( ) int32 {
@ -1611,7 +1528,7 @@ type GetListExecutionRecordResponse struct {
func ( x * GetListExecutionRecordResponse ) Reset ( ) {
* x = GetListExecutionRecordResponse { }
mi := & file_pb_cron_proto_msgTypes [ 1 6 ]
mi := & file_pb_cron_proto_msgTypes [ 1 5 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1623,7 +1540,7 @@ func (x *GetListExecutionRecordResponse) String() string {
func ( * GetListExecutionRecordResponse ) ProtoMessage ( ) { }
func ( x * GetListExecutionRecordResponse ) ProtoReflect ( ) protoreflect . Message {
mi := & file_pb_cron_proto_msgTypes [ 1 6 ]
mi := & file_pb_cron_proto_msgTypes [ 1 5 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1636,7 +1553,7 @@ func (x *GetListExecutionRecordResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetListExecutionRecordResponse.ProtoReflect.Descriptor instead.
func ( * GetListExecutionRecordResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_pb_cron_proto_rawDescGZIP ( ) , [ ] int { 1 6 }
return file_pb_cron_proto_rawDescGZIP ( ) , [ ] int { 1 5 }
}
func ( x * GetListExecutionRecordResponse ) GetCode ( ) int32 {
@ -1698,7 +1615,7 @@ type GetListExecutionResultRequest struct {
func ( x * GetListExecutionResultRequest ) Reset ( ) {
* x = GetListExecutionResultRequest { }
mi := & file_pb_cron_proto_msgTypes [ 1 7 ]
mi := & file_pb_cron_proto_msgTypes [ 1 6 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1710,7 +1627,7 @@ func (x *GetListExecutionResultRequest) String() string {
func ( * GetListExecutionResultRequest ) ProtoMessage ( ) { }
func ( x * GetListExecutionResultRequest ) ProtoReflect ( ) protoreflect . Message {
mi := & file_pb_cron_proto_msgTypes [ 1 7 ]
mi := & file_pb_cron_proto_msgTypes [ 1 6 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1723,7 +1640,7 @@ func (x *GetListExecutionResultRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetListExecutionResultRequest.ProtoReflect.Descriptor instead.
func ( * GetListExecutionResultRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_pb_cron_proto_rawDescGZIP ( ) , [ ] int { 1 7 }
return file_pb_cron_proto_rawDescGZIP ( ) , [ ] int { 1 6 }
}
func ( x * GetListExecutionResultRequest ) GetPage ( ) int32 {
@ -1803,7 +1720,7 @@ type GetListExecutionResultResponse struct {
func ( x * GetListExecutionResultResponse ) Reset ( ) {
* x = GetListExecutionResultResponse { }
mi := & file_pb_cron_proto_msgTypes [ 1 8 ]
mi := & file_pb_cron_proto_msgTypes [ 1 7 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1815,7 +1732,7 @@ func (x *GetListExecutionResultResponse) String() string {
func ( * GetListExecutionResultResponse ) ProtoMessage ( ) { }
func ( x * GetListExecutionResultResponse ) ProtoReflect ( ) protoreflect . Message {
mi := & file_pb_cron_proto_msgTypes [ 1 8 ]
mi := & file_pb_cron_proto_msgTypes [ 1 7 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1828,7 +1745,7 @@ func (x *GetListExecutionResultResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetListExecutionResultResponse.ProtoReflect.Descriptor instead.
func ( * GetListExecutionResultResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_pb_cron_proto_rawDescGZIP ( ) , [ ] int { 1 8 }
return file_pb_cron_proto_rawDescGZIP ( ) , [ ] int { 1 7 }
}
func ( x * GetListExecutionResultResponse ) GetCode ( ) int32 {
@ -1883,7 +1800,7 @@ type TaskStatus struct {
func ( x * TaskStatus ) Reset ( ) {
* x = TaskStatus { }
mi := & file_pb_cron_proto_msgTypes [ 1 9 ]
mi := & file_pb_cron_proto_msgTypes [ 1 8 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1895,7 +1812,7 @@ func (x *TaskStatus) String() string {
func ( * TaskStatus ) ProtoMessage ( ) { }
func ( x * TaskStatus ) ProtoReflect ( ) protoreflect . Message {
mi := & file_pb_cron_proto_msgTypes [ 1 9 ]
mi := & file_pb_cron_proto_msgTypes [ 1 8 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1908,7 +1825,7 @@ func (x *TaskStatus) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskStatus.ProtoReflect.Descriptor instead.
func ( * TaskStatus ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_pb_cron_proto_rawDescGZIP ( ) , [ ] int { 1 9 }
return file_pb_cron_proto_rawDescGZIP ( ) , [ ] int { 1 8 }
}
func ( x * TaskStatus ) GetKey ( ) int32 {
@ -1936,7 +1853,7 @@ type GetScheduleTaskStatusResponse struct {
func ( x * GetScheduleTaskStatusResponse ) Reset ( ) {
* x = GetScheduleTaskStatusResponse { }
mi := & file_pb_cron_proto_msgTypes [ 20 ]
mi := & file_pb_cron_proto_msgTypes [ 19 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
@ -1948,7 +1865,7 @@ func (x *GetScheduleTaskStatusResponse) String() string {
func ( * GetScheduleTaskStatusResponse ) ProtoMessage ( ) { }
func ( x * GetScheduleTaskStatusResponse ) ProtoReflect ( ) protoreflect . Message {
mi := & file_pb_cron_proto_msgTypes [ 20 ]
mi := & file_pb_cron_proto_msgTypes [ 19 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
@ -1961,7 +1878,7 @@ func (x *GetScheduleTaskStatusResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetScheduleTaskStatusResponse.ProtoReflect.Descriptor instead.
func ( * GetScheduleTaskStatusResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_pb_cron_proto_rawDescGZIP ( ) , [ ] int { 20 }
return file_pb_cron_proto_rawDescGZIP ( ) , [ ] int { 19 }
}
func ( x * GetScheduleTaskStatusResponse ) GetCode ( ) int32 {
@ -1989,7 +1906,7 @@ var File_pb_cron_proto protoreflect.FileDescriptor
const file_pb_cron_proto_rawDesc = "" +
"\n" +
"\rpb/cron.proto\x12\x04cron\ "!\n" +
"\rpb/cron.proto\x12\x04cron\ x1a\x1bgoogle/protobuf/empty.proto\ "!\n" +
"\x0fCommonIDRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\rR\x02id\">\n" +
"\x0eCommonResponse\x12\x12\n" +
@ -2109,7 +2026,7 @@ const file_pb_cron_proto_rawDesc = "" +
"\x1aCreateScheduleTaskResponse\x12\x12\n" +
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x18\n" +
"\amessage\x18\x02 \x01(\tR\amessage\x12&\n" +
"\x04data\x18\x03 \x01(\v2\x12.cron.ScheduleTaskR\x04data\"\x ae \x03\n" +
"\x04data\x18\x03 \x01(\v2\x12.cron.ScheduleTaskR\x04data\"\x 9c \x03\n" +
"\x19UpdateScheduleTaskRequest\x12\x17\n" +
"\atask_id\x18\x01 \x01(\x04R\x06taskId\x12\x1d\n" +
"\n" +
@ -2125,16 +2042,9 @@ const file_pb_cron_proto_rawDesc = "" +
"\x12execute_start_time\x18\b \x01(\tR\x10executeStartTime\x12(\n" +
"\x10execute_end_time\x18\t \x01(\tR\x0eexecuteEndTime\x12\x16\n" +
"\x06remark\x18\n" +
" \x01(\tR\x06remark\x12J\n" +
"\vtask_detail\x18\v \x01(\v2).cron.UpdateScheduleTaskRequestTaskDetailR\n" +
"taskDetail\"\xd2\x01\n" +
"#UpdateScheduleTaskRequestTaskDetail\x12\x0e\n" +
"\x02id\x18\x05 \x01(\x05R\x02id\x12\x17\n" +
"\atask_id\x18\x06 \x01(\x05R\x06taskId\x12!\n" +
"\fartist_count\x18\x01 \x01(\x05R\vartistCount\x12*\n" +
"\aartists\x18\x02 \x03(\v2\x10.cron.ArtistInfoR\aartists\x12\x10\n" +
"\x03num\x18\x03 \x01(\x05R\x03num\x12!\n" +
"\fcontent_type\x18\x04 \x01(\x05R\vcontentType\"r\n" +
" \x01(\tR\x06remark\x128\n" +
"\vtask_detail\x18\v \x01(\v2\x17.cron.TaskDetailRequestR\n" +
"taskDetail\"r\n" +
"\x1aUpdateScheduleTaskResponse\x12\x12\n" +
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x18\n" +
"\amessage\x18\x02 \x01(\tR\amessage\x12&\n" +
@ -2223,30 +2133,29 @@ func file_pb_cron_proto_rawDescGZIP() []byte {
return file_pb_cron_proto_rawDescData
}
var file_pb_cron_proto_msgTypes = make ( [ ] protoimpl . MessageInfo , 2 2 )
var file_pb_cron_proto_msgTypes = make ( [ ] protoimpl . MessageInfo , 2 1 )
var file_pb_cron_proto_goTypes = [ ] any {
( * CommonIDRequest ) ( nil ) , // 0: cron.CommonIDRequest
( * CommonResponse ) ( nil ) , // 1: cron.CommonResponse
( * ScheduleTask ) ( nil ) , // 2: cron.ScheduleTask
( * TaskDetail ) ( nil ) , // 3: cron.TaskDetail
( * ArtistInfo ) ( nil ) , // 4: cron.ArtistInfo
( * ExecutionRecord ) ( nil ) , // 5: cron.ExecutionRecord
( * ExecutionResult ) ( nil ) , // 6: cron.ExecutionResult
( * CreateScheduleTaskRequest ) ( nil ) , // 7: cron.CreateScheduleTaskRequest
( * TaskDetailRequest ) ( nil ) , // 8: cron.TaskDetailRequest
( * CreateScheduleTaskResponse ) ( nil ) , // 9: cron.CreateScheduleTaskResponse
( * UpdateScheduleTaskRequest ) ( nil ) , // 10: cron.UpdateScheduleTaskRequest
( * UpdateScheduleTaskRequestTaskDetail ) ( nil ) , // 11: cron.UpdateScheduleTaskRequestTaskDetail
( * UpdateScheduleTaskResponse ) ( nil ) , // 12: cron.UpdateScheduleTaskResponse
( * GetListScheduleTaskRequest ) ( nil ) , // 13: cron.GetListScheduleTaskRequest
( * GetListScheduleTaskResponse ) ( nil ) , // 14: cron.GetListScheduleTaskResponse
( * GetListExecutionRecordRequest ) ( nil ) , // 15: cron.GetListExecutionRecordRequest
( * GetListExecutionRecordResponse ) ( nil ) , // 16: cron.GetListExecutionRecordResponse
( * GetListExecutionResultRequest ) ( nil ) , // 17: cron.GetListExecutionResultRequest
( * GetListExecutionResultResponse ) ( nil ) , // 18: cron.GetListExecutionResultResponse
( * TaskStatus ) ( nil ) , // 19: cron.TaskStatus
( * GetScheduleTaskStatusResponse ) ( nil ) , // 20: cron.GetScheduleTaskStatusResponse
nil , // 21: cron.GetListScheduleTaskRequest.SortsEntry
( * CommonIDRequest ) ( nil ) , // 0: cron.CommonIDRequest
( * CommonResponse ) ( nil ) , // 1: cron.CommonResponse
( * ScheduleTask ) ( nil ) , // 2: cron.ScheduleTask
( * TaskDetail ) ( nil ) , // 3: cron.TaskDetail
( * ArtistInfo ) ( nil ) , // 4: cron.ArtistInfo
( * ExecutionRecord ) ( nil ) , // 5: cron.ExecutionRecord
( * ExecutionResult ) ( nil ) , // 6: cron.ExecutionResult
( * CreateScheduleTaskRequest ) ( nil ) , // 7: cron.CreateScheduleTaskRequest
( * TaskDetailRequest ) ( nil ) , // 8: cron.TaskDetailRequest
( * CreateScheduleTaskResponse ) ( nil ) , // 9: cron.CreateScheduleTaskResponse
( * UpdateScheduleTaskRequest ) ( nil ) , // 10: cron.UpdateScheduleTaskRequest
( * UpdateScheduleTaskResponse ) ( nil ) , // 11: cron.UpdateScheduleTaskResponse
( * GetListScheduleTaskRequest ) ( nil ) , // 12: cron.GetListScheduleTaskRequest
( * GetListScheduleTaskResponse ) ( nil ) , // 13: cron.GetListScheduleTaskResponse
( * GetListExecutionRecordRequest ) ( nil ) , // 14: cron.GetListExecutionRecordRequest
( * GetListExecutionRecordResponse ) ( nil ) , // 15: cron.GetListExecutionRecordResponse
( * GetListExecutionResultRequest ) ( nil ) , // 16: cron.GetListExecutionResultRequest
( * GetListExecutionResultResponse ) ( nil ) , // 17: cron.GetListExecutionResultResponse
( * TaskStatus ) ( nil ) , // 18: cron.TaskStatus
( * GetScheduleTaskStatusResponse ) ( nil ) , // 19: cron.GetScheduleTaskStatusResponse
nil , // 20: cron.GetListScheduleTaskRequest.SortsEntry
}
var file_pb_cron_proto_depIdxs = [ ] int32 {
3 , // 0: cron.ScheduleTask.task_detail:type_name -> cron.TaskDetail
@ -2256,19 +2165,18 @@ var file_pb_cron_proto_depIdxs = []int32{
8 , // 4: cron.CreateScheduleTaskRequest.task_detail:type_name -> cron.TaskDetailRequest
4 , // 5: cron.TaskDetailRequest.artists:type_name -> cron.ArtistInfo
2 , // 6: cron.CreateScheduleTaskResponse.data:type_name -> cron.ScheduleTask
11 , // 7: cron.UpdateScheduleTaskRequest.task_detail:type_name -> cron.UpdateScheduleTaskRequestTaskDetail
4 , // 8: cron.UpdateScheduleTaskRequestTaskDetail.artists:type_name -> cron.ArtistInfo
2 , // 9: cron.UpdateScheduleTaskResponse.data:type_name -> cron.ScheduleTask
21 , // 10: cron.GetListScheduleTaskRequest.sorts:type_name -> cron.GetListScheduleTaskRequest.SortsEntry
2 , // 11: cron.GetListScheduleTaskResponse.data:type_name -> cron.ScheduleTask
5 , // 12: cron.GetListExecutionRecordResponse.data:type_name -> cron.ExecutionRecord
6 , // 13: cron.GetListExecutionResultResponse.data:type_name -> cron.ExecutionResult
19 , // 14: cron.GetScheduleTaskStatusResponse.data:type_name -> cron.TaskStatus
15 , // [15:15] is the sub-list for method output_type
15 , // [15:15] is the sub-list for method input_type
15 , // [15:15] is the sub-list for extension type_name
15 , // [15:15] is the sub-list for extension extendee
0 , // [0:15] is the sub-list for field type_name
8 , // 7: cron.UpdateScheduleTaskRequest.task_detail:type_name -> cron.TaskDetailRequest
2 , // 8: cron.UpdateScheduleTaskResponse.data:type_name -> cron.ScheduleTask
20 , // 9: cron.GetListScheduleTaskRequest.sorts:type_name -> cron.GetListScheduleTaskRequest.SortsEntry
2 , // 10: cron.GetListScheduleTaskResponse.data:type_name -> cron.ScheduleTask
5 , // 11: cron.GetListExecutionRecordResponse.data:type_name -> cron.ExecutionRecord
6 , // 12: cron.GetListExecutionResultResponse.data:type_name -> cron.ExecutionResult
18 , // 13: cron.GetScheduleTaskStatusResponse.data:type_name -> cron.TaskStatus
14 , // [14:14] is the sub-list for method output_type
14 , // [14:14] is the sub-list for method input_type
14 , // [14:14] is the sub-list for extension type_name
14 , // [14:14] is the sub-list for extension extendee
0 , // [0:14] is the sub-list for field type_name
}
func init ( ) { file_pb_cron_proto_init ( ) }
@ -2282,7 +2190,7 @@ func file_pb_cron_proto_init() {
GoPackagePath : reflect . TypeOf ( x { } ) . PkgPath ( ) ,
RawDescriptor : unsafe . Slice ( unsafe . StringData ( file_pb_cron_proto_rawDesc ) , len ( file_pb_cron_proto_rawDesc ) ) ,
NumEnums : 0 ,
NumMessages : 2 2 ,
NumMessages : 2 1 ,
NumExtensions : 0 ,
NumServices : 0 ,
} ,