diff --git a/api/cast/cast.pb.go b/api/cast/cast.pb.go index 22602ec..507f8fd 100644 --- a/api/cast/cast.pb.go +++ b/api/cast/cast.pb.go @@ -468,6 +468,7 @@ type MediaUserListReq struct { MediaUserID string `protobuf:"bytes,11,opt,name=mediaUserID,proto3" json:"mediaUserID"` NeedStats bool `protobuf:"varint,12,opt,name=needStats,proto3" json:"needStats"` NeedAsInfo bool `protobuf:"varint,13,opt,name=needAsInfo,proto3" json:"needAsInfo"` + Expired int32 `protobuf:"varint,14,opt,name=expired,proto3" json:"expired"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -593,6 +594,13 @@ func (x *MediaUserListReq) GetNeedAsInfo() bool { return false } +func (x *MediaUserListReq) GetExpired() int32 { + if x != nil { + return x.Expired + } + return 0 +} + type MediaUserInfo struct { state protoimpl.MessageState `protogen:"open.v1"` PlatformUserName string `protobuf:"bytes,1,opt,name=platformUserName,proto3" json:"platformUserName"` @@ -613,6 +621,7 @@ type MediaUserInfo struct { ReleasedPostTotal int32 `protobuf:"varint,16,opt,name=releasedPostTotal,proto3" json:"releasedPostTotal"` AsInfo *AsInfo `protobuf:"bytes,17,opt,name=asInfo,proto3" json:"asInfo"` ArtistSubNum string `protobuf:"bytes,18,opt,name=artistSubNum,proto3" json:"artistSubNum"` + Expired int32 `protobuf:"varint,19,opt,name=expired,proto3" json:"expired"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -773,6 +782,13 @@ func (x *MediaUserInfo) GetArtistSubNum() string { return "" } +func (x *MediaUserInfo) GetExpired() int32 { + if x != nil { + return x.Expired + } + return 0 +} + type MediaUserListResp struct { state protoimpl.MessageState `protogen:"open.v1"` Data []*MediaUserInfo `protobuf:"bytes,1,rep,name=data,proto3" json:"data"` @@ -13296,6 +13312,667 @@ func (x *CalculateMediaMetricsByWorksResp) GetSuccess() bool { return false } +// 更新话题标签请求 +type UpdateCastTagReq struct { + state protoimpl.MessageState `protogen:"open.v1"` + Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"` // 话题标签UUID,为空则新增,不为空则更新 + HashTag string `protobuf:"bytes,2,opt,name=hashTag,proto3" json:"hashTag"` // 话题标签内容 + Source uint32 `protobuf:"varint,3,opt,name=source,proto3" json:"source"` // 来源 1:人工导入 2:推荐标签 3.自行新增 4.自动标签 + Status uint32 `protobuf:"varint,4,opt,name=status,proto3" json:"status"` // 状态 1:有效 2:被禁 + Remark string `protobuf:"bytes,5,opt,name=remark,proto3" json:"remark"` // 备注 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UpdateCastTagReq) Reset() { + *x = UpdateCastTagReq{} + mi := &file_pb_fiee_cast_proto_msgTypes[156] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UpdateCastTagReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateCastTagReq) ProtoMessage() {} + +func (x *UpdateCastTagReq) ProtoReflect() protoreflect.Message { + mi := &file_pb_fiee_cast_proto_msgTypes[156] + 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 UpdateCastTagReq.ProtoReflect.Descriptor instead. +func (*UpdateCastTagReq) Descriptor() ([]byte, []int) { + return file_pb_fiee_cast_proto_rawDescGZIP(), []int{156} +} + +func (x *UpdateCastTagReq) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +func (x *UpdateCastTagReq) GetHashTag() string { + if x != nil { + return x.HashTag + } + return "" +} + +func (x *UpdateCastTagReq) GetSource() uint32 { + if x != nil { + return x.Source + } + return 0 +} + +func (x *UpdateCastTagReq) GetStatus() uint32 { + if x != nil { + return x.Status + } + return 0 +} + +func (x *UpdateCastTagReq) GetRemark() string { + if x != nil { + return x.Remark + } + return "" +} + +// 更新话题标签响应 +type UpdateCastTagResp struct { + state protoimpl.MessageState `protogen:"open.v1"` + Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"` // 话题标签UUID + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UpdateCastTagResp) Reset() { + *x = UpdateCastTagResp{} + mi := &file_pb_fiee_cast_proto_msgTypes[157] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UpdateCastTagResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateCastTagResp) ProtoMessage() {} + +func (x *UpdateCastTagResp) ProtoReflect() protoreflect.Message { + mi := &file_pb_fiee_cast_proto_msgTypes[157] + 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 UpdateCastTagResp.ProtoReflect.Descriptor instead. +func (*UpdateCastTagResp) Descriptor() ([]byte, []int) { + return file_pb_fiee_cast_proto_rawDescGZIP(), []int{157} +} + +func (x *UpdateCastTagResp) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +// 获取话题标签列表请求 +type ListCastTagsReq struct { + state protoimpl.MessageState `protogen:"open.v1"` + HashTag string `protobuf:"bytes,1,opt,name=hashTag,proto3" json:"hashTag"` // 话题标签内容(模糊查询) + Source uint32 `protobuf:"varint,2,opt,name=source,proto3" json:"source"` // 来源 1:人工导入 2:推荐标签 3.自行新增 4.自动标签(0表示不过滤) + Status uint32 `protobuf:"varint,3,opt,name=status,proto3" json:"status"` // 状态 1:有效 2:被禁(0表示不过滤) + StatusUpdateTimeStart string `protobuf:"bytes,4,opt,name=statusUpdateTimeStart,proto3" json:"statusUpdateTimeStart"` // 状态更新时间开始(字符串格式) + StatusUpdateTimeEnd string `protobuf:"bytes,5,opt,name=statusUpdateTimeEnd,proto3" json:"statusUpdateTimeEnd"` // 状态更新时间结束(字符串格式) + CreatedAtStart string `protobuf:"bytes,6,opt,name=createdAtStart,proto3" json:"createdAtStart"` // 创建时间开始(字符串格式,如:2006-01-02 15:04:05) + CreatedAtEnd string `protobuf:"bytes,7,opt,name=createdAtEnd,proto3" json:"createdAtEnd"` // 创建时间结束(字符串格式,如:2006-01-02 15:04:05) + OrderBy string `protobuf:"bytes,8,opt,name=orderBy,proto3" json:"orderBy"` // 排序字段(表字段名,如:created_at, quote_count等) + Sort string `protobuf:"bytes,9,opt,name=sort,proto3" json:"sort"` // 排序方式:asc 或 desc(默认 desc) + Page int32 `protobuf:"varint,10,opt,name=page,proto3" json:"page"` // 页码 + PageSize int32 `protobuf:"varint,11,opt,name=pageSize,proto3" json:"pageSize"` // 每页数量 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ListCastTagsReq) Reset() { + *x = ListCastTagsReq{} + mi := &file_pb_fiee_cast_proto_msgTypes[158] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ListCastTagsReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListCastTagsReq) ProtoMessage() {} + +func (x *ListCastTagsReq) ProtoReflect() protoreflect.Message { + mi := &file_pb_fiee_cast_proto_msgTypes[158] + 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 ListCastTagsReq.ProtoReflect.Descriptor instead. +func (*ListCastTagsReq) Descriptor() ([]byte, []int) { + return file_pb_fiee_cast_proto_rawDescGZIP(), []int{158} +} + +func (x *ListCastTagsReq) GetHashTag() string { + if x != nil { + return x.HashTag + } + return "" +} + +func (x *ListCastTagsReq) GetSource() uint32 { + if x != nil { + return x.Source + } + return 0 +} + +func (x *ListCastTagsReq) GetStatus() uint32 { + if x != nil { + return x.Status + } + return 0 +} + +func (x *ListCastTagsReq) GetStatusUpdateTimeStart() string { + if x != nil { + return x.StatusUpdateTimeStart + } + return "" +} + +func (x *ListCastTagsReq) GetStatusUpdateTimeEnd() string { + if x != nil { + return x.StatusUpdateTimeEnd + } + return "" +} + +func (x *ListCastTagsReq) GetCreatedAtStart() string { + if x != nil { + return x.CreatedAtStart + } + return "" +} + +func (x *ListCastTagsReq) GetCreatedAtEnd() string { + if x != nil { + return x.CreatedAtEnd + } + return "" +} + +func (x *ListCastTagsReq) GetOrderBy() string { + if x != nil { + return x.OrderBy + } + return "" +} + +func (x *ListCastTagsReq) GetSort() string { + if x != nil { + return x.Sort + } + return "" +} + +func (x *ListCastTagsReq) GetPage() int32 { + if x != nil { + return x.Page + } + return 0 +} + +func (x *ListCastTagsReq) GetPageSize() int32 { + if x != nil { + return x.PageSize + } + return 0 +} + +// 话题标签信息 +type CastTagInfo struct { + state protoimpl.MessageState `protogen:"open.v1"` + Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"` // 话题标签UUID + HashTag string `protobuf:"bytes,2,opt,name=hashTag,proto3" json:"hashTag"` // 话题标签内容 + CreatorUuid string `protobuf:"bytes,3,opt,name=creatorUuid,proto3" json:"creatorUuid"` // 创建人UUID + CreatorName string `protobuf:"bytes,4,opt,name=creatorName,proto3" json:"creatorName"` // 创建人名称 + Source uint32 `protobuf:"varint,5,opt,name=source,proto3" json:"source"` // 来源 1:人工导入 2:推荐标签 3.自行新增 4.自动标签 + QuoteCount int32 `protobuf:"varint,6,opt,name=quoteCount,proto3" json:"quoteCount"` // 引用次数 + WatchCount int32 `protobuf:"varint,7,opt,name=watchCount,proto3" json:"watchCount"` // 观看次数 + Status uint32 `protobuf:"varint,8,opt,name=status,proto3" json:"status"` // 状态 1:有效 2:被禁 + Remark string `protobuf:"bytes,9,opt,name=remark,proto3" json:"remark"` // 备注 + StatusUpdateTime string `protobuf:"bytes,10,opt,name=statusUpdateTime,proto3" json:"statusUpdateTime"` // 状态更新时间 + CreatedDate string `protobuf:"bytes,11,opt,name=createdDate,proto3" json:"createdDate"` // 创建时间 + Success bool `protobuf:"varint,12,opt,name=success,proto3" json:"success"` // 是否更新成功(批量更新时使用) + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *CastTagInfo) Reset() { + *x = CastTagInfo{} + mi := &file_pb_fiee_cast_proto_msgTypes[159] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *CastTagInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CastTagInfo) ProtoMessage() {} + +func (x *CastTagInfo) ProtoReflect() protoreflect.Message { + mi := &file_pb_fiee_cast_proto_msgTypes[159] + 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 CastTagInfo.ProtoReflect.Descriptor instead. +func (*CastTagInfo) Descriptor() ([]byte, []int) { + return file_pb_fiee_cast_proto_rawDescGZIP(), []int{159} +} + +func (x *CastTagInfo) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +func (x *CastTagInfo) GetHashTag() string { + if x != nil { + return x.HashTag + } + return "" +} + +func (x *CastTagInfo) GetCreatorUuid() string { + if x != nil { + return x.CreatorUuid + } + return "" +} + +func (x *CastTagInfo) GetCreatorName() string { + if x != nil { + return x.CreatorName + } + return "" +} + +func (x *CastTagInfo) GetSource() uint32 { + if x != nil { + return x.Source + } + return 0 +} + +func (x *CastTagInfo) GetQuoteCount() int32 { + if x != nil { + return x.QuoteCount + } + return 0 +} + +func (x *CastTagInfo) GetWatchCount() int32 { + if x != nil { + return x.WatchCount + } + return 0 +} + +func (x *CastTagInfo) GetStatus() uint32 { + if x != nil { + return x.Status + } + return 0 +} + +func (x *CastTagInfo) GetRemark() string { + if x != nil { + return x.Remark + } + return "" +} + +func (x *CastTagInfo) GetStatusUpdateTime() string { + if x != nil { + return x.StatusUpdateTime + } + return "" +} + +func (x *CastTagInfo) GetCreatedDate() string { + if x != nil { + return x.CreatedDate + } + return "" +} + +func (x *CastTagInfo) GetSuccess() bool { + if x != nil { + return x.Success + } + return false +} + +// 获取话题标签列表响应 +type ListCastTagsResp struct { + state protoimpl.MessageState `protogen:"open.v1"` + Data []*CastTagInfo `protobuf:"bytes,1,rep,name=data,proto3" json:"data"` // 话题标签列表 + Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count"` // 总数 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ListCastTagsResp) Reset() { + *x = ListCastTagsResp{} + mi := &file_pb_fiee_cast_proto_msgTypes[160] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ListCastTagsResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListCastTagsResp) ProtoMessage() {} + +func (x *ListCastTagsResp) ProtoReflect() protoreflect.Message { + mi := &file_pb_fiee_cast_proto_msgTypes[160] + 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 ListCastTagsResp.ProtoReflect.Descriptor instead. +func (*ListCastTagsResp) Descriptor() ([]byte, []int) { + return file_pb_fiee_cast_proto_rawDescGZIP(), []int{160} +} + +func (x *ListCastTagsResp) GetData() []*CastTagInfo { + if x != nil { + return x.Data + } + return nil +} + +func (x *ListCastTagsResp) GetCount() int64 { + if x != nil { + return x.Count + } + return 0 +} + +// 批量更新话题标签请求 +type UpdateCastTagBatchReq struct { + state protoimpl.MessageState `protogen:"open.v1"` + Data []*CastTagInfo `protobuf:"bytes,1,rep,name=data,proto3" json:"data"` // 话题标签列表 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UpdateCastTagBatchReq) Reset() { + *x = UpdateCastTagBatchReq{} + mi := &file_pb_fiee_cast_proto_msgTypes[161] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UpdateCastTagBatchReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateCastTagBatchReq) ProtoMessage() {} + +func (x *UpdateCastTagBatchReq) ProtoReflect() protoreflect.Message { + mi := &file_pb_fiee_cast_proto_msgTypes[161] + 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 UpdateCastTagBatchReq.ProtoReflect.Descriptor instead. +func (*UpdateCastTagBatchReq) Descriptor() ([]byte, []int) { + return file_pb_fiee_cast_proto_rawDescGZIP(), []int{161} +} + +func (x *UpdateCastTagBatchReq) GetData() []*CastTagInfo { + if x != nil { + return x.Data + } + return nil +} + +// 批量更新话题标签响应 +type UpdateCastTagBatchResp struct { + state protoimpl.MessageState `protogen:"open.v1"` + Data []*CastTagInfo `protobuf:"bytes,1,rep,name=data,proto3" json:"data"` // 话题标签列表 + SuccessCount int32 `protobuf:"varint,2,opt,name=successCount,proto3" json:"successCount"` // 成功数量 + FailCount int32 `protobuf:"varint,3,opt,name=failCount,proto3" json:"failCount"` // 失败数量 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UpdateCastTagBatchResp) Reset() { + *x = UpdateCastTagBatchResp{} + mi := &file_pb_fiee_cast_proto_msgTypes[162] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UpdateCastTagBatchResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateCastTagBatchResp) ProtoMessage() {} + +func (x *UpdateCastTagBatchResp) ProtoReflect() protoreflect.Message { + mi := &file_pb_fiee_cast_proto_msgTypes[162] + 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 UpdateCastTagBatchResp.ProtoReflect.Descriptor instead. +func (*UpdateCastTagBatchResp) Descriptor() ([]byte, []int) { + return file_pb_fiee_cast_proto_rawDescGZIP(), []int{162} +} + +func (x *UpdateCastTagBatchResp) GetData() []*CastTagInfo { + if x != nil { + return x.Data + } + return nil +} + +func (x *UpdateCastTagBatchResp) GetSuccessCount() int32 { + if x != nil { + return x.SuccessCount + } + return 0 +} + +func (x *UpdateCastTagBatchResp) GetFailCount() int32 { + if x != nil { + return x.FailCount + } + return 0 +} + +// 更新话题标签状态请求 +type UpdateCastTagStatusReq struct { + state protoimpl.MessageState `protogen:"open.v1"` + Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"` // 话题标签UUID(与hashTag二选一) + HashTag string `protobuf:"bytes,2,opt,name=hashTag,proto3" json:"hashTag"` // 话题标签内容(与uuid二选一) + Status uint32 `protobuf:"varint,3,opt,name=status,proto3" json:"status"` // 状态 1:有效 2:被禁 + Remark string `protobuf:"bytes,4,opt,name=remark,proto3" json:"remark"` // 备注 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UpdateCastTagStatusReq) Reset() { + *x = UpdateCastTagStatusReq{} + mi := &file_pb_fiee_cast_proto_msgTypes[163] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UpdateCastTagStatusReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateCastTagStatusReq) ProtoMessage() {} + +func (x *UpdateCastTagStatusReq) ProtoReflect() protoreflect.Message { + mi := &file_pb_fiee_cast_proto_msgTypes[163] + 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 UpdateCastTagStatusReq.ProtoReflect.Descriptor instead. +func (*UpdateCastTagStatusReq) Descriptor() ([]byte, []int) { + return file_pb_fiee_cast_proto_rawDescGZIP(), []int{163} +} + +func (x *UpdateCastTagStatusReq) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +func (x *UpdateCastTagStatusReq) GetHashTag() string { + if x != nil { + return x.HashTag + } + return "" +} + +func (x *UpdateCastTagStatusReq) GetStatus() uint32 { + if x != nil { + return x.Status + } + return 0 +} + +func (x *UpdateCastTagStatusReq) GetRemark() string { + if x != nil { + return x.Remark + } + return "" +} + +// 重新统计话题标签引用数量响应 +type RecalculateCastTagQuoteCountResp struct { + state protoimpl.MessageState `protogen:"open.v1"` + Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success"` // 是否成功 + Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"` // 提示信息 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RecalculateCastTagQuoteCountResp) Reset() { + *x = RecalculateCastTagQuoteCountResp{} + mi := &file_pb_fiee_cast_proto_msgTypes[164] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RecalculateCastTagQuoteCountResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RecalculateCastTagQuoteCountResp) ProtoMessage() {} + +func (x *RecalculateCastTagQuoteCountResp) ProtoReflect() protoreflect.Message { + mi := &file_pb_fiee_cast_proto_msgTypes[164] + 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 RecalculateCastTagQuoteCountResp.ProtoReflect.Descriptor instead. +func (*RecalculateCastTagQuoteCountResp) Descriptor() ([]byte, []int) { + return file_pb_fiee_cast_proto_rawDescGZIP(), []int{164} +} + +func (x *RecalculateCastTagQuoteCountResp) GetSuccess() bool { + if x != nil { + return x.Success + } + return false +} + +func (x *RecalculateCastTagQuoteCountResp) GetMsg() string { + if x != nil { + return x.Msg + } + return "" +} + type WorkListResp_Info struct { state protoimpl.MessageState `protogen:"open.v1"` WorkUuid string `protobuf:"bytes,1,opt,name=workUuid,proto3" json:"workUuid"` @@ -13334,7 +14011,7 @@ type WorkListResp_Info struct { func (x *WorkListResp_Info) Reset() { *x = WorkListResp_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[156] + mi := &file_pb_fiee_cast_proto_msgTypes[165] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13346,7 +14023,7 @@ func (x *WorkListResp_Info) String() string { func (*WorkListResp_Info) ProtoMessage() {} func (x *WorkListResp_Info) ProtoReflect() protoreflect.Message { - mi := &file_pb_fiee_cast_proto_msgTypes[156] + mi := &file_pb_fiee_cast_proto_msgTypes[165] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13586,7 +14263,7 @@ type MediaAccountsResp_Info struct { func (x *MediaAccountsResp_Info) Reset() { *x = MediaAccountsResp_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[159] + mi := &file_pb_fiee_cast_proto_msgTypes[168] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13598,7 +14275,7 @@ func (x *MediaAccountsResp_Info) String() string { func (*MediaAccountsResp_Info) ProtoMessage() {} func (x *MediaAccountsResp_Info) ProtoReflect() protoreflect.Message { - mi := &file_pb_fiee_cast_proto_msgTypes[159] + mi := &file_pb_fiee_cast_proto_msgTypes[168] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13674,7 +14351,7 @@ type MediaWorksResp_Info struct { func (x *MediaWorksResp_Info) Reset() { *x = MediaWorksResp_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[160] + mi := &file_pb_fiee_cast_proto_msgTypes[169] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13686,7 +14363,7 @@ func (x *MediaWorksResp_Info) String() string { func (*MediaWorksResp_Info) ProtoMessage() {} func (x *MediaWorksResp_Info) ProtoReflect() protoreflect.Message { - mi := &file_pb_fiee_cast_proto_msgTypes[160] + mi := &file_pb_fiee_cast_proto_msgTypes[169] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13782,7 +14459,7 @@ type PublishResp_Info struct { func (x *PublishResp_Info) Reset() { *x = PublishResp_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[161] + mi := &file_pb_fiee_cast_proto_msgTypes[170] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13794,7 +14471,7 @@ func (x *PublishResp_Info) String() string { func (*PublishResp_Info) ProtoMessage() {} func (x *PublishResp_Info) ProtoReflect() protoreflect.Message { - mi := &file_pb_fiee_cast_proto_msgTypes[161] + mi := &file_pb_fiee_cast_proto_msgTypes[170] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13835,7 +14512,7 @@ type RefreshWorkListResp_Info struct { func (x *RefreshWorkListResp_Info) Reset() { *x = RefreshWorkListResp_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[162] + mi := &file_pb_fiee_cast_proto_msgTypes[171] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13847,7 +14524,7 @@ func (x *RefreshWorkListResp_Info) String() string { func (*RefreshWorkListResp_Info) ProtoMessage() {} func (x *RefreshWorkListResp_Info) ProtoReflect() protoreflect.Message { - mi := &file_pb_fiee_cast_proto_msgTypes[162] + mi := &file_pb_fiee_cast_proto_msgTypes[171] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13898,7 +14575,7 @@ type RefreshWorkListResp_Info_PlatformInfo struct { func (x *RefreshWorkListResp_Info_PlatformInfo) Reset() { *x = RefreshWorkListResp_Info_PlatformInfo{} - mi := &file_pb_fiee_cast_proto_msgTypes[163] + mi := &file_pb_fiee_cast_proto_msgTypes[172] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13910,7 +14587,7 @@ func (x *RefreshWorkListResp_Info_PlatformInfo) String() string { func (*RefreshWorkListResp_Info_PlatformInfo) ProtoMessage() {} func (x *RefreshWorkListResp_Info_PlatformInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_fiee_cast_proto_msgTypes[163] + mi := &file_pb_fiee_cast_proto_msgTypes[172] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13981,7 +14658,7 @@ type UpdateOAuthReq_Info struct { func (x *UpdateOAuthReq_Info) Reset() { *x = UpdateOAuthReq_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[164] + mi := &file_pb_fiee_cast_proto_msgTypes[173] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13993,7 +14670,7 @@ func (x *UpdateOAuthReq_Info) String() string { func (*UpdateOAuthReq_Info) ProtoMessage() {} func (x *UpdateOAuthReq_Info) ProtoReflect() protoreflect.Message { - mi := &file_pb_fiee_cast_proto_msgTypes[164] + mi := &file_pb_fiee_cast_proto_msgTypes[173] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14053,7 +14730,7 @@ const file_pb_fiee_cast_proto_rawDesc = "" + "\n" + "profileKey\x18\x01 \x01(\tR\n" + "profileKey\x12\x12\n" + - "\x04AsID\x18\x02 \x01(\tR\x04AsID\"\xe8\x03\n" + + "\x04AsID\x18\x02 \x01(\tR\x04AsID\"\x82\x04\n" + "\x10MediaUserListReq\x12\x1c\n" + "\tartistVal\x18\x01 \x01(\tR\tartistVal\x12\x1e\n" + "\n" + @@ -14078,7 +14755,8 @@ const file_pb_fiee_cast_proto_rawDesc = "" + "\tneedStats\x18\f \x01(\bR\tneedStats\x12\x1e\n" + "\n" + "needAsInfo\x18\r \x01(\bR\n" + - "needAsInfo\"\xed\x05\n" + + "needAsInfo\x12\x18\n" + + "\aexpired\x18\x0e \x01(\x05R\aexpired\"\x87\x06\n" + "\rMediaUserInfo\x12*\n" + "\x10platformUserName\x18\x01 \x01(\tR\x10platformUserName\x12\x1e\n" + "\n" + @@ -14106,7 +14784,8 @@ const file_pb_fiee_cast_proto_rawDesc = "" + "\x11uploadedPostCount\x18\x0f \x01(\x05R\x11uploadedPostCount\x12,\n" + "\x11releasedPostTotal\x18\x10 \x01(\x05R\x11releasedPostTotal\x12$\n" + "\x06asInfo\x18\x11 \x01(\v2\f.Cast.AsInfoR\x06asInfo\x12\"\n" + - "\fartistSubNum\x18\x12 \x01(\tR\fartistSubNum\"R\n" + + "\fartistSubNum\x18\x12 \x01(\tR\fartistSubNum\x12\x18\n" + + "\aexpired\x18\x13 \x01(\x05R\aexpired\"R\n" + "\x11MediaUserListResp\x12'\n" + "\x04data\x18\x01 \x03(\v2\x13.Cast.MediaUserInfoR\x04data\x12\x14\n" + "\x05count\x18\x02 \x01(\x03R\x05count\"\xd1\x03\n" + @@ -15640,7 +16319,63 @@ const file_pb_fiee_cast_proto_rawDesc = "" + "\x1fCalculateMediaMetricsByWorksReq\x12\x12\n" + "\x04date\x18\x01 \x01(\x05R\x04date\"<\n" + " CalculateMediaMetricsByWorksResp\x12\x18\n" + - "\asuccess\x18\x01 \x01(\bR\asuccess*T\n" + + "\asuccess\x18\x01 \x01(\bR\asuccess\"\x88\x01\n" + + "\x10UpdateCastTagReq\x12\x12\n" + + "\x04uuid\x18\x01 \x01(\tR\x04uuid\x12\x18\n" + + "\ahashTag\x18\x02 \x01(\tR\ahashTag\x12\x16\n" + + "\x06source\x18\x03 \x01(\rR\x06source\x12\x16\n" + + "\x06status\x18\x04 \x01(\rR\x06status\x12\x16\n" + + "\x06remark\x18\x05 \x01(\tR\x06remark\"'\n" + + "\x11UpdateCastTagResp\x12\x12\n" + + "\x04uuid\x18\x01 \x01(\tR\x04uuid\"\xed\x02\n" + + "\x0fListCastTagsReq\x12\x18\n" + + "\ahashTag\x18\x01 \x01(\tR\ahashTag\x12\x16\n" + + "\x06source\x18\x02 \x01(\rR\x06source\x12\x16\n" + + "\x06status\x18\x03 \x01(\rR\x06status\x124\n" + + "\x15statusUpdateTimeStart\x18\x04 \x01(\tR\x15statusUpdateTimeStart\x120\n" + + "\x13statusUpdateTimeEnd\x18\x05 \x01(\tR\x13statusUpdateTimeEnd\x12&\n" + + "\x0ecreatedAtStart\x18\x06 \x01(\tR\x0ecreatedAtStart\x12\"\n" + + "\fcreatedAtEnd\x18\a \x01(\tR\fcreatedAtEnd\x12\x18\n" + + "\aorderBy\x18\b \x01(\tR\aorderBy\x12\x12\n" + + "\x04sort\x18\t \x01(\tR\x04sort\x12\x12\n" + + "\x04page\x18\n" + + " \x01(\x05R\x04page\x12\x1a\n" + + "\bpageSize\x18\v \x01(\x05R\bpageSize\"\xef\x02\n" + + "\vCastTagInfo\x12\x12\n" + + "\x04uuid\x18\x01 \x01(\tR\x04uuid\x12\x18\n" + + "\ahashTag\x18\x02 \x01(\tR\ahashTag\x12 \n" + + "\vcreatorUuid\x18\x03 \x01(\tR\vcreatorUuid\x12 \n" + + "\vcreatorName\x18\x04 \x01(\tR\vcreatorName\x12\x16\n" + + "\x06source\x18\x05 \x01(\rR\x06source\x12\x1e\n" + + "\n" + + "quoteCount\x18\x06 \x01(\x05R\n" + + "quoteCount\x12\x1e\n" + + "\n" + + "watchCount\x18\a \x01(\x05R\n" + + "watchCount\x12\x16\n" + + "\x06status\x18\b \x01(\rR\x06status\x12\x16\n" + + "\x06remark\x18\t \x01(\tR\x06remark\x12*\n" + + "\x10statusUpdateTime\x18\n" + + " \x01(\tR\x10statusUpdateTime\x12 \n" + + "\vcreatedDate\x18\v \x01(\tR\vcreatedDate\x12\x18\n" + + "\asuccess\x18\f \x01(\bR\asuccess\"O\n" + + "\x10ListCastTagsResp\x12%\n" + + "\x04data\x18\x01 \x03(\v2\x11.Cast.CastTagInfoR\x04data\x12\x14\n" + + "\x05count\x18\x02 \x01(\x03R\x05count\">\n" + + "\x15UpdateCastTagBatchReq\x12%\n" + + "\x04data\x18\x01 \x03(\v2\x11.Cast.CastTagInfoR\x04data\"\x81\x01\n" + + "\x16UpdateCastTagBatchResp\x12%\n" + + "\x04data\x18\x01 \x03(\v2\x11.Cast.CastTagInfoR\x04data\x12\"\n" + + "\fsuccessCount\x18\x02 \x01(\x05R\fsuccessCount\x12\x1c\n" + + "\tfailCount\x18\x03 \x01(\x05R\tfailCount\"v\n" + + "\x16UpdateCastTagStatusReq\x12\x12\n" + + "\x04uuid\x18\x01 \x01(\tR\x04uuid\x12\x18\n" + + "\ahashTag\x18\x02 \x01(\tR\ahashTag\x12\x16\n" + + "\x06status\x18\x03 \x01(\rR\x06status\x12\x16\n" + + "\x06remark\x18\x04 \x01(\tR\x06remark\"N\n" + + " RecalculateCastTagQuoteCountResp\x12\x18\n" + + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x10\n" + + "\x03msg\x18\x02 \x01(\tR\x03msg*T\n" + "\x0ePlatformIDENUM\x12\v\n" + "\aUNKNOWN\x10\x00\x12\n" + "\n" + @@ -15682,7 +16417,7 @@ const file_pb_fiee_cast_proto_rawDesc = "" + "\x05TITLE\x10\x01\x12\v\n" + "\aCONTENT\x10\x02\x12\t\n" + "\x05IMAGE\x10\x03\x12\x10\n" + - "\fLONG_CONTENT\x10\x042\xe7'\n" + + "\fLONG_CONTENT\x10\x042\xf0*\n" + "\x04Cast\x12B\n" + "\rMediaUserList\x12\x16.Cast.MediaUserListReq\x1a\x17.Cast.MediaUserListResp\"\x00\x12Q\n" + "\x12UpdateMediaAccount\x12\x1b.Cast.UpdateMediaAccountReq\x1a\x1c.Cast.UpdateMediaAccountResp\"\x00\x12B\n" + @@ -15755,7 +16490,12 @@ const file_pb_fiee_cast_proto_rawDesc = "" + "\x0eUpsertTaskList\x12\x17.Cast.UpsertTaskListReq\x1a\x18.Cast.UpsertTaskListResp\"\x00\x12<\n" + "\vGetTaskList\x12\x14.Cast.GetTaskListReq\x1a\x15.Cast.GetTaskListResp\"\x00\x12?\n" + "\fListTaskList\x12\x15.Cast.ListTaskListReq\x1a\x16.Cast.ListTaskListResp\"\x00\x12C\n" + - "\x0eDeleteTaskList\x12\x17.Cast.DeleteTaskListReq\x1a\x16.google.protobuf.Empty\"\x00B\rZ\v./cast;castb\x06proto3" + "\x0eDeleteTaskList\x12\x17.Cast.DeleteTaskListReq\x1a\x16.google.protobuf.Empty\"\x00\x12B\n" + + "\rUpdateCastTag\x12\x16.Cast.UpdateCastTagReq\x1a\x17.Cast.UpdateCastTagResp\"\x00\x12?\n" + + "\fListCastTags\x12\x15.Cast.ListCastTagsReq\x1a\x16.Cast.ListCastTagsResp\"\x00\x12Q\n" + + "\x12UpdateCastTagBatch\x12\x1b.Cast.UpdateCastTagBatchReq\x1a\x1c.Cast.UpdateCastTagBatchResp\"\x00\x12M\n" + + "\x13UpdateCastTagStatus\x12\x1c.Cast.UpdateCastTagStatusReq\x1a\x16.google.protobuf.Empty\"\x00\x12`\n" + + "\x1cRecalculateCastTagQuoteCount\x12\x16.google.protobuf.Empty\x1a&.Cast.RecalculateCastTagQuoteCountResp\"\x00B\rZ\v./cast;castb\x06proto3" var ( file_pb_fiee_cast_proto_rawDescOnce sync.Once @@ -15770,7 +16510,7 @@ func file_pb_fiee_cast_proto_rawDescGZIP() []byte { } var file_pb_fiee_cast_proto_enumTypes = make([]protoimpl.EnumInfo, 7) -var file_pb_fiee_cast_proto_msgTypes = make([]protoimpl.MessageInfo, 165) +var file_pb_fiee_cast_proto_msgTypes = make([]protoimpl.MessageInfo, 174) var file_pb_fiee_cast_proto_goTypes = []any{ (PlatformIDENUM)(0), // 0: Cast.PlatformIDENUM (AuthStatusENUM)(0), // 1: Cast.AuthStatusENUM @@ -15935,16 +16675,25 @@ var file_pb_fiee_cast_proto_goTypes = []any{ (*DeleteTaskListReq)(nil), // 160: Cast.DeleteTaskListReq (*CalculateMediaMetricsByWorksReq)(nil), // 161: Cast.CalculateMediaMetricsByWorksReq (*CalculateMediaMetricsByWorksResp)(nil), // 162: Cast.CalculateMediaMetricsByWorksResp - (*WorkListResp_Info)(nil), // 163: Cast.WorkListResp.Info - nil, // 164: Cast.WorkListResp.Info.PublishMediaIDsEntry - nil, // 165: Cast.WorkDetailResp.MediaAccDataEntry - (*MediaAccountsResp_Info)(nil), // 166: Cast.MediaAccountsResp.Info - (*MediaWorksResp_Info)(nil), // 167: Cast.MediaWorksResp.Info - (*PublishResp_Info)(nil), // 168: Cast.PublishResp.Info - (*RefreshWorkListResp_Info)(nil), // 169: Cast.RefreshWorkListResp.Info - (*RefreshWorkListResp_Info_PlatformInfo)(nil), // 170: Cast.RefreshWorkListResp.Info.PlatformInfo - (*UpdateOAuthReq_Info)(nil), // 171: Cast.UpdateOAuthReq.Info - (*emptypb.Empty)(nil), // 172: google.protobuf.Empty + (*UpdateCastTagReq)(nil), // 163: Cast.UpdateCastTagReq + (*UpdateCastTagResp)(nil), // 164: Cast.UpdateCastTagResp + (*ListCastTagsReq)(nil), // 165: Cast.ListCastTagsReq + (*CastTagInfo)(nil), // 166: Cast.CastTagInfo + (*ListCastTagsResp)(nil), // 167: Cast.ListCastTagsResp + (*UpdateCastTagBatchReq)(nil), // 168: Cast.UpdateCastTagBatchReq + (*UpdateCastTagBatchResp)(nil), // 169: Cast.UpdateCastTagBatchResp + (*UpdateCastTagStatusReq)(nil), // 170: Cast.UpdateCastTagStatusReq + (*RecalculateCastTagQuoteCountResp)(nil), // 171: Cast.RecalculateCastTagQuoteCountResp + (*WorkListResp_Info)(nil), // 172: Cast.WorkListResp.Info + nil, // 173: Cast.WorkListResp.Info.PublishMediaIDsEntry + nil, // 174: Cast.WorkDetailResp.MediaAccDataEntry + (*MediaAccountsResp_Info)(nil), // 175: Cast.MediaAccountsResp.Info + (*MediaWorksResp_Info)(nil), // 176: Cast.MediaWorksResp.Info + (*PublishResp_Info)(nil), // 177: Cast.PublishResp.Info + (*RefreshWorkListResp_Info)(nil), // 178: Cast.RefreshWorkListResp.Info + (*RefreshWorkListResp_Info_PlatformInfo)(nil), // 179: Cast.RefreshWorkListResp.Info.PlatformInfo + (*UpdateOAuthReq_Info)(nil), // 180: Cast.UpdateOAuthReq.Info + (*emptypb.Empty)(nil), // 181: google.protobuf.Empty } var file_pb_fiee_cast_proto_depIdxs = []int32{ 0, // 0: Cast.MediaUserListReq.platformID:type_name -> Cast.PlatformIDENUM @@ -15970,28 +16719,28 @@ var file_pb_fiee_cast_proto_depIdxs = []int32{ 9, // 20: Cast.MediaInfoResp.info:type_name -> Cast.MediaUserInfo 0, // 21: Cast.MediaInfoByPlatformReq.platformID:type_name -> Cast.PlatformIDENUM 9, // 22: Cast.MediaInfoByPlatformResp.info:type_name -> Cast.MediaUserInfo - 163, // 23: Cast.WorkListResp.data:type_name -> Cast.WorkListResp.Info + 172, // 23: Cast.WorkListResp.data:type_name -> Cast.WorkListResp.Info 18, // 24: Cast.WorkDetailResp.publishConfig1:type_name -> Cast.PublishConfig 18, // 25: Cast.WorkDetailResp.publishConfig2:type_name -> Cast.PublishConfig 18, // 26: Cast.WorkDetailResp.publishConfig3:type_name -> Cast.PublishConfig 18, // 27: Cast.WorkDetailResp.publishConfig4:type_name -> Cast.PublishConfig 28, // 28: Cast.WorkDetailResp.WorkLogData:type_name -> Cast.WorkLogInfo - 165, // 29: Cast.WorkDetailResp.mediaAccData:type_name -> Cast.WorkDetailResp.MediaAccDataEntry + 174, // 29: Cast.WorkDetailResp.mediaAccData:type_name -> Cast.WorkDetailResp.MediaAccDataEntry 18, // 30: Cast.WorkDetailResp.publishConfig5:type_name -> Cast.PublishConfig 2, // 31: Cast.UpdateStatusReq.workAction:type_name -> Cast.WorkActionENUM 3, // 32: Cast.UpdateStatusReq.autoPublish:type_name -> Cast.AutoPublishENUM 5, // 33: Cast.UpdateStatusReq.confirmFailType:type_name -> Cast.ConfirmFailENUM - 166, // 34: Cast.MediaAccountsResp.data:type_name -> Cast.MediaAccountsResp.Info - 167, // 35: Cast.MediaWorksResp.data:type_name -> Cast.MediaWorksResp.Info - 168, // 36: Cast.PublishResp.data:type_name -> Cast.PublishResp.Info + 175, // 34: Cast.MediaAccountsResp.data:type_name -> Cast.MediaAccountsResp.Info + 176, // 35: Cast.MediaWorksResp.data:type_name -> Cast.MediaWorksResp.Info + 177, // 36: Cast.PublishResp.data:type_name -> Cast.PublishResp.Info 16, // 37: Cast.ImportWorkBatchReq.imageWorks:type_name -> Cast.UpdateWorkImageReq 16, // 38: Cast.ImportWorkBatchResp.imageWorks:type_name -> Cast.UpdateWorkImageReq 4, // 39: Cast.PlatformInfo.publishStatus:type_name -> Cast.PublishStatusENUM 46, // 40: Cast.UpdateWorkPlatformInfoReq.PlatformInfoData:type_name -> Cast.PlatformInfo 0, // 41: Cast.UpdateWorkPublishLogReq.platformID:type_name -> Cast.PlatformIDENUM - 169, // 42: Cast.RefreshWorkListResp.Data:type_name -> Cast.RefreshWorkListResp.Info + 178, // 42: Cast.RefreshWorkListResp.Data:type_name -> Cast.RefreshWorkListResp.Info 0, // 43: Cast.OAuthCodeToTokenReq.platformID:type_name -> Cast.PlatformIDENUM - 171, // 44: Cast.UpdateOAuthReq.Data:type_name -> Cast.UpdateOAuthReq.Info + 180, // 44: Cast.UpdateOAuthReq.Data:type_name -> Cast.UpdateOAuthReq.Info 0, // 45: Cast.RefreshTokenReq.platformID:type_name -> Cast.PlatformIDENUM 71, // 46: Cast.ListVideoScriptsResp.data:type_name -> Cast.VideoScriptInfo 71, // 47: Cast.UpdateVideoScriptBatchReq.data:type_name -> Cast.VideoScriptInfo @@ -16051,154 +16800,167 @@ var file_pb_fiee_cast_proto_depIdxs = []int32{ 151, // 101: Cast.ListWorkMetricsDailyResp.data:type_name -> Cast.WorkMetricsDailyInfo 156, // 102: Cast.GetTaskListResp.data:type_name -> Cast.TaskListInfo 156, // 103: Cast.ListTaskListResp.data:type_name -> Cast.TaskListInfo - 164, // 104: Cast.WorkListResp.Info.PublishMediaIDs:type_name -> Cast.WorkListResp.Info.PublishMediaIDsEntry - 9, // 105: Cast.WorkDetailResp.MediaAccDataEntry.value:type_name -> Cast.MediaUserInfo - 170, // 106: Cast.RefreshWorkListResp.Info.PlatformInfoData:type_name -> Cast.RefreshWorkListResp.Info.PlatformInfo - 0, // 107: Cast.RefreshWorkListResp.Info.PlatformInfo.platformID:type_name -> Cast.PlatformIDENUM - 0, // 108: Cast.UpdateOAuthReq.Info.platformID:type_name -> Cast.PlatformIDENUM - 8, // 109: Cast.Cast.MediaUserList:input_type -> Cast.MediaUserListReq - 11, // 110: Cast.Cast.UpdateMediaAccount:input_type -> Cast.UpdateMediaAccountReq - 13, // 111: Cast.Cast.UnbindManager:input_type -> Cast.UnbindManagerReq - 15, // 112: Cast.Cast.BindManager:input_type -> Cast.BindManagerReq - 16, // 113: Cast.Cast.UpdateWorkImage:input_type -> Cast.UpdateWorkImageReq - 19, // 114: Cast.Cast.UpdateWorkVideo:input_type -> Cast.UpdateWorkVideoReq - 21, // 115: Cast.Cast.MediaInfo:input_type -> Cast.MediaInfoReq - 23, // 116: Cast.Cast.MediaInfoByPlatform:input_type -> Cast.MediaInfoByPlatformReq - 25, // 117: Cast.Cast.WorkList:input_type -> Cast.WorkListReq - 27, // 118: Cast.Cast.WorkDetail:input_type -> Cast.WorkDetailReq - 30, // 119: Cast.Cast.UpdateStatus:input_type -> Cast.UpdateStatusReq - 31, // 120: Cast.Cast.MediaAccounts:input_type -> Cast.MediaAccountsReq - 33, // 121: Cast.Cast.MediaWorks:input_type -> Cast.MediaWorksReq - 35, // 122: Cast.Cast.Publish:input_type -> Cast.PublishReq - 37, // 123: Cast.Cast.RePublish:input_type -> Cast.RePublishReq - 39, // 124: Cast.Cast.DelWork:input_type -> Cast.DelWorkReq - 40, // 125: Cast.Cast.WorkInfo:input_type -> Cast.WorkInfoReq - 42, // 126: Cast.Cast.ArtistInfo:input_type -> Cast.ArtistInfoReq - 44, // 127: Cast.Cast.ImportWorkBatch:input_type -> Cast.ImportWorkBatchReq - 47, // 128: Cast.Cast.UpdateWorkPlatformInfo:input_type -> Cast.UpdateWorkPlatformInfoReq - 49, // 129: Cast.Cast.UpdateWorkPublishLog:input_type -> Cast.UpdateWorkPublishLogReq - 50, // 130: Cast.Cast.RefreshWorkList:input_type -> Cast.RefreshWorkListReq - 52, // 131: Cast.Cast.OAuthAccount:input_type -> Cast.OAuthAccountReq - 54, // 132: Cast.Cast.OAuthAccountV2:input_type -> Cast.OAuthAccountV2Req - 58, // 133: Cast.Cast.OAuthCodeToToken:input_type -> Cast.OAuthCodeToTokenReq - 60, // 134: Cast.Cast.UpdateOAuth:input_type -> Cast.UpdateOAuthReq - 61, // 135: Cast.Cast.RefreshToken:input_type -> Cast.RefreshTokenReq - 63, // 136: Cast.Cast.PublishMediaInfo:input_type -> Cast.PublishMediaInfoReq - 65, // 137: Cast.Cast.Tools:input_type -> Cast.ToolsReq - 66, // 138: Cast.Cast.UpdateVideoScript:input_type -> Cast.UpdateVideoScriptReq - 68, // 139: Cast.Cast.GetVideoScript:input_type -> Cast.GetVideoScriptReq - 70, // 140: Cast.Cast.ListVideoScripts:input_type -> Cast.ListVideoScriptsReq - 73, // 141: Cast.Cast.DeleteVideoScript:input_type -> Cast.DeleteVideoScriptReq - 74, // 142: Cast.Cast.UpdateVideoScriptBatch:input_type -> Cast.UpdateVideoScriptBatchReq - 76, // 143: Cast.Cast.UpdateScriptStatus:input_type -> Cast.UpdateScriptStatusReq - 78, // 144: Cast.Cast.GetLayout:input_type -> Cast.GetLayoutReq - 77, // 145: Cast.Cast.SetLayout:input_type -> Cast.SetLayoutReq - 80, // 146: Cast.Cast.UpdatePrompt:input_type -> Cast.UpdatePromptReq - 81, // 147: Cast.Cast.DeletePrompt:input_type -> Cast.DeletePromptReq - 82, // 148: Cast.Cast.GetPrompt:input_type -> Cast.GetPromptReq - 84, // 149: Cast.Cast.ListPrompts:input_type -> Cast.ListPromptsReq - 87, // 150: Cast.Cast.UpdatePromptBatch:input_type -> Cast.UpdatePromptBatchReq - 90, // 151: Cast.Cast.UpdateArtist:input_type -> Cast.UpdateArtistReq - 92, // 152: Cast.Cast.GetArtist:input_type -> Cast.GetArtistReq - 94, // 153: Cast.Cast.CreateWorkAnalysis:input_type -> Cast.CreateWorkAnalysisReq - 96, // 154: Cast.Cast.UpdateWorkAnalysis:input_type -> Cast.UpdateWorkAnalysisReq - 97, // 155: Cast.Cast.UpdateWorkAnalysisStatus:input_type -> Cast.UpdateWorkAnalysisStatusReq - 108, // 156: Cast.Cast.GetWorkAnalysis:input_type -> Cast.GetWorkAnalysisDetailReq - 109, // 157: Cast.Cast.GetLatestWorkAnalysis:input_type -> Cast.GetLatestWorkAnalysisReq - 112, // 158: Cast.Cast.ListWorkAnalysis:input_type -> Cast.ListWorkAnalysisReq - 115, // 159: Cast.Cast.DeleteWorkAnalysis:input_type -> Cast.DeleteWorkAnalysisReq - 134, // 160: Cast.Cast.UpdateWorkAnalysisApprovalID:input_type -> Cast.UpdateWorkAnalysisApprovalIDReq - 116, // 161: Cast.Cast.ArtistDataList:input_type -> Cast.ArtistDataListReq - 119, // 162: Cast.Cast.MediaDataList:input_type -> Cast.MediaDataListReq - 122, // 163: Cast.Cast.DataOverview:input_type -> Cast.DataOverviewReq - 124, // 164: Cast.Cast.ArtistMetricsSeries:input_type -> Cast.ArtistMetricsSeriesReq - 126, // 165: Cast.Cast.ArtistMetricsDailyWindow:input_type -> Cast.ArtistMetricsDailyWindowReq - 131, // 166: Cast.Cast.TobeConfirmedList:input_type -> Cast.TobeConfirmedListReq - 136, // 167: Cast.Cast.UpsertMediaMetricsDailyBatch:input_type -> Cast.UpsertMediaMetricsDailyBatchReq - 139, // 168: Cast.Cast.UpsertWorkMetricsDailyBatch:input_type -> Cast.UpsertWorkMetricsDailyBatchReq - 147, // 169: Cast.Cast.ListMediaMetricsDaily:input_type -> Cast.ListMediaMetricsDailyReq - 150, // 170: Cast.Cast.ListWorkMetricsDaily:input_type -> Cast.ListWorkMetricsDailyReq - 161, // 171: Cast.Cast.CalculateMediaMetricsByWorks:input_type -> Cast.CalculateMediaMetricsByWorksReq - 141, // 172: Cast.Cast.GetArtistAyrShareInfo:input_type -> Cast.GetArtistAyrShareInfoReq - 144, // 173: Cast.Cast.ListWorkPlatformInfo:input_type -> Cast.ListWorkPlatformInfoReq - 153, // 174: Cast.Cast.UpsertTaskList:input_type -> Cast.UpsertTaskListReq - 155, // 175: Cast.Cast.GetTaskList:input_type -> Cast.GetTaskListReq - 158, // 176: Cast.Cast.ListTaskList:input_type -> Cast.ListTaskListReq - 160, // 177: Cast.Cast.DeleteTaskList:input_type -> Cast.DeleteTaskListReq - 10, // 178: Cast.Cast.MediaUserList:output_type -> Cast.MediaUserListResp - 12, // 179: Cast.Cast.UpdateMediaAccount:output_type -> Cast.UpdateMediaAccountResp - 14, // 180: Cast.Cast.UnbindManager:output_type -> Cast.UnbindManagerResp - 172, // 181: Cast.Cast.BindManager:output_type -> google.protobuf.Empty - 17, // 182: Cast.Cast.UpdateWorkImage:output_type -> Cast.UpdateWorkImageResp - 20, // 183: Cast.Cast.UpdateWorkVideo:output_type -> Cast.UpdateWorkVideoResp - 22, // 184: Cast.Cast.MediaInfo:output_type -> Cast.MediaInfoResp - 24, // 185: Cast.Cast.MediaInfoByPlatform:output_type -> Cast.MediaInfoByPlatformResp - 26, // 186: Cast.Cast.WorkList:output_type -> Cast.WorkListResp - 29, // 187: Cast.Cast.WorkDetail:output_type -> Cast.WorkDetailResp - 172, // 188: Cast.Cast.UpdateStatus:output_type -> google.protobuf.Empty - 32, // 189: Cast.Cast.MediaAccounts:output_type -> Cast.MediaAccountsResp - 34, // 190: Cast.Cast.MediaWorks:output_type -> Cast.MediaWorksResp - 36, // 191: Cast.Cast.Publish:output_type -> Cast.PublishResp - 38, // 192: Cast.Cast.RePublish:output_type -> Cast.RePublishResp - 172, // 193: Cast.Cast.DelWork:output_type -> google.protobuf.Empty - 41, // 194: Cast.Cast.WorkInfo:output_type -> Cast.WorkInfoResp - 43, // 195: Cast.Cast.ArtistInfo:output_type -> Cast.ArtistInfoResp - 45, // 196: Cast.Cast.ImportWorkBatch:output_type -> Cast.ImportWorkBatchResp - 48, // 197: Cast.Cast.UpdateWorkPlatformInfo:output_type -> Cast.UpdateWorkPlatformInfoResp - 172, // 198: Cast.Cast.UpdateWorkPublishLog:output_type -> google.protobuf.Empty - 51, // 199: Cast.Cast.RefreshWorkList:output_type -> Cast.RefreshWorkListResp - 53, // 200: Cast.Cast.OAuthAccount:output_type -> Cast.OAuthAccountResp - 55, // 201: Cast.Cast.OAuthAccountV2:output_type -> Cast.OAuthAccountV2Resp - 59, // 202: Cast.Cast.OAuthCodeToToken:output_type -> Cast.OAuthCodeToTokenResp - 172, // 203: Cast.Cast.UpdateOAuth:output_type -> google.protobuf.Empty - 62, // 204: Cast.Cast.RefreshToken:output_type -> Cast.RefreshTokenResp - 64, // 205: Cast.Cast.PublishMediaInfo:output_type -> Cast.PublishMediaInfoResp - 172, // 206: Cast.Cast.Tools:output_type -> google.protobuf.Empty - 67, // 207: Cast.Cast.UpdateVideoScript:output_type -> Cast.UpdateVideoScriptResp - 69, // 208: Cast.Cast.GetVideoScript:output_type -> Cast.GetVideoScriptResp - 72, // 209: Cast.Cast.ListVideoScripts:output_type -> Cast.ListVideoScriptsResp - 172, // 210: Cast.Cast.DeleteVideoScript:output_type -> google.protobuf.Empty - 75, // 211: Cast.Cast.UpdateVideoScriptBatch:output_type -> Cast.UpdateVideoScriptBatchResp - 172, // 212: Cast.Cast.UpdateScriptStatus:output_type -> google.protobuf.Empty - 79, // 213: Cast.Cast.GetLayout:output_type -> Cast.GetLayoutResp - 172, // 214: Cast.Cast.SetLayout:output_type -> google.protobuf.Empty - 172, // 215: Cast.Cast.UpdatePrompt:output_type -> google.protobuf.Empty - 172, // 216: Cast.Cast.DeletePrompt:output_type -> google.protobuf.Empty - 83, // 217: Cast.Cast.GetPrompt:output_type -> Cast.GetPromptResp - 86, // 218: Cast.Cast.ListPrompts:output_type -> Cast.ListPromptsResp - 88, // 219: Cast.Cast.UpdatePromptBatch:output_type -> Cast.UpdatePromptBatchResp - 91, // 220: Cast.Cast.UpdateArtist:output_type -> Cast.UpdateArtistResp - 93, // 221: Cast.Cast.GetArtist:output_type -> Cast.GetArtistResp - 95, // 222: Cast.Cast.CreateWorkAnalysis:output_type -> Cast.CreateWorkAnalysisResp - 172, // 223: Cast.Cast.UpdateWorkAnalysis:output_type -> google.protobuf.Empty - 172, // 224: Cast.Cast.UpdateWorkAnalysisStatus:output_type -> google.protobuf.Empty - 111, // 225: Cast.Cast.GetWorkAnalysis:output_type -> Cast.GetWorkAnalysisDetailResp - 110, // 226: Cast.Cast.GetLatestWorkAnalysis:output_type -> Cast.GetWorkAnalysisResp - 114, // 227: Cast.Cast.ListWorkAnalysis:output_type -> Cast.ListWorkAnalysisResp - 172, // 228: Cast.Cast.DeleteWorkAnalysis:output_type -> google.protobuf.Empty - 172, // 229: Cast.Cast.UpdateWorkAnalysisApprovalID:output_type -> google.protobuf.Empty - 118, // 230: Cast.Cast.ArtistDataList:output_type -> Cast.ArtistDataListResp - 121, // 231: Cast.Cast.MediaDataList:output_type -> Cast.MediaDataListResp - 123, // 232: Cast.Cast.DataOverview:output_type -> Cast.DataOverviewResp - 125, // 233: Cast.Cast.ArtistMetricsSeries:output_type -> Cast.ArtistMetricsSeriesResp - 130, // 234: Cast.Cast.ArtistMetricsDailyWindow:output_type -> Cast.ArtistMetricsDailyWindowResp - 133, // 235: Cast.Cast.TobeConfirmedList:output_type -> Cast.TobeConfirmedListResp - 137, // 236: Cast.Cast.UpsertMediaMetricsDailyBatch:output_type -> Cast.UpsertMediaMetricsDailyBatchResp - 140, // 237: Cast.Cast.UpsertWorkMetricsDailyBatch:output_type -> Cast.UpsertWorkMetricsDailyBatchResp - 149, // 238: Cast.Cast.ListMediaMetricsDaily:output_type -> Cast.ListMediaMetricsDailyResp - 152, // 239: Cast.Cast.ListWorkMetricsDaily:output_type -> Cast.ListWorkMetricsDailyResp - 162, // 240: Cast.Cast.CalculateMediaMetricsByWorks:output_type -> Cast.CalculateMediaMetricsByWorksResp - 143, // 241: Cast.Cast.GetArtistAyrShareInfo:output_type -> Cast.GetArtistAyrShareInfoResp - 146, // 242: Cast.Cast.ListWorkPlatformInfo:output_type -> Cast.ListWorkPlatformInfoResp - 154, // 243: Cast.Cast.UpsertTaskList:output_type -> Cast.UpsertTaskListResp - 157, // 244: Cast.Cast.GetTaskList:output_type -> Cast.GetTaskListResp - 159, // 245: Cast.Cast.ListTaskList:output_type -> Cast.ListTaskListResp - 172, // 246: Cast.Cast.DeleteTaskList:output_type -> google.protobuf.Empty - 178, // [178:247] is the sub-list for method output_type - 109, // [109:178] is the sub-list for method input_type - 109, // [109:109] is the sub-list for extension type_name - 109, // [109:109] is the sub-list for extension extendee - 0, // [0:109] is the sub-list for field type_name + 166, // 104: Cast.ListCastTagsResp.data:type_name -> Cast.CastTagInfo + 166, // 105: Cast.UpdateCastTagBatchReq.data:type_name -> Cast.CastTagInfo + 166, // 106: Cast.UpdateCastTagBatchResp.data:type_name -> Cast.CastTagInfo + 173, // 107: Cast.WorkListResp.Info.PublishMediaIDs:type_name -> Cast.WorkListResp.Info.PublishMediaIDsEntry + 9, // 108: Cast.WorkDetailResp.MediaAccDataEntry.value:type_name -> Cast.MediaUserInfo + 179, // 109: Cast.RefreshWorkListResp.Info.PlatformInfoData:type_name -> Cast.RefreshWorkListResp.Info.PlatformInfo + 0, // 110: Cast.RefreshWorkListResp.Info.PlatformInfo.platformID:type_name -> Cast.PlatformIDENUM + 0, // 111: Cast.UpdateOAuthReq.Info.platformID:type_name -> Cast.PlatformIDENUM + 8, // 112: Cast.Cast.MediaUserList:input_type -> Cast.MediaUserListReq + 11, // 113: Cast.Cast.UpdateMediaAccount:input_type -> Cast.UpdateMediaAccountReq + 13, // 114: Cast.Cast.UnbindManager:input_type -> Cast.UnbindManagerReq + 15, // 115: Cast.Cast.BindManager:input_type -> Cast.BindManagerReq + 16, // 116: Cast.Cast.UpdateWorkImage:input_type -> Cast.UpdateWorkImageReq + 19, // 117: Cast.Cast.UpdateWorkVideo:input_type -> Cast.UpdateWorkVideoReq + 21, // 118: Cast.Cast.MediaInfo:input_type -> Cast.MediaInfoReq + 23, // 119: Cast.Cast.MediaInfoByPlatform:input_type -> Cast.MediaInfoByPlatformReq + 25, // 120: Cast.Cast.WorkList:input_type -> Cast.WorkListReq + 27, // 121: Cast.Cast.WorkDetail:input_type -> Cast.WorkDetailReq + 30, // 122: Cast.Cast.UpdateStatus:input_type -> Cast.UpdateStatusReq + 31, // 123: Cast.Cast.MediaAccounts:input_type -> Cast.MediaAccountsReq + 33, // 124: Cast.Cast.MediaWorks:input_type -> Cast.MediaWorksReq + 35, // 125: Cast.Cast.Publish:input_type -> Cast.PublishReq + 37, // 126: Cast.Cast.RePublish:input_type -> Cast.RePublishReq + 39, // 127: Cast.Cast.DelWork:input_type -> Cast.DelWorkReq + 40, // 128: Cast.Cast.WorkInfo:input_type -> Cast.WorkInfoReq + 42, // 129: Cast.Cast.ArtistInfo:input_type -> Cast.ArtistInfoReq + 44, // 130: Cast.Cast.ImportWorkBatch:input_type -> Cast.ImportWorkBatchReq + 47, // 131: Cast.Cast.UpdateWorkPlatformInfo:input_type -> Cast.UpdateWorkPlatformInfoReq + 49, // 132: Cast.Cast.UpdateWorkPublishLog:input_type -> Cast.UpdateWorkPublishLogReq + 50, // 133: Cast.Cast.RefreshWorkList:input_type -> Cast.RefreshWorkListReq + 52, // 134: Cast.Cast.OAuthAccount:input_type -> Cast.OAuthAccountReq + 54, // 135: Cast.Cast.OAuthAccountV2:input_type -> Cast.OAuthAccountV2Req + 58, // 136: Cast.Cast.OAuthCodeToToken:input_type -> Cast.OAuthCodeToTokenReq + 60, // 137: Cast.Cast.UpdateOAuth:input_type -> Cast.UpdateOAuthReq + 61, // 138: Cast.Cast.RefreshToken:input_type -> Cast.RefreshTokenReq + 63, // 139: Cast.Cast.PublishMediaInfo:input_type -> Cast.PublishMediaInfoReq + 65, // 140: Cast.Cast.Tools:input_type -> Cast.ToolsReq + 66, // 141: Cast.Cast.UpdateVideoScript:input_type -> Cast.UpdateVideoScriptReq + 68, // 142: Cast.Cast.GetVideoScript:input_type -> Cast.GetVideoScriptReq + 70, // 143: Cast.Cast.ListVideoScripts:input_type -> Cast.ListVideoScriptsReq + 73, // 144: Cast.Cast.DeleteVideoScript:input_type -> Cast.DeleteVideoScriptReq + 74, // 145: Cast.Cast.UpdateVideoScriptBatch:input_type -> Cast.UpdateVideoScriptBatchReq + 76, // 146: Cast.Cast.UpdateScriptStatus:input_type -> Cast.UpdateScriptStatusReq + 78, // 147: Cast.Cast.GetLayout:input_type -> Cast.GetLayoutReq + 77, // 148: Cast.Cast.SetLayout:input_type -> Cast.SetLayoutReq + 80, // 149: Cast.Cast.UpdatePrompt:input_type -> Cast.UpdatePromptReq + 81, // 150: Cast.Cast.DeletePrompt:input_type -> Cast.DeletePromptReq + 82, // 151: Cast.Cast.GetPrompt:input_type -> Cast.GetPromptReq + 84, // 152: Cast.Cast.ListPrompts:input_type -> Cast.ListPromptsReq + 87, // 153: Cast.Cast.UpdatePromptBatch:input_type -> Cast.UpdatePromptBatchReq + 90, // 154: Cast.Cast.UpdateArtist:input_type -> Cast.UpdateArtistReq + 92, // 155: Cast.Cast.GetArtist:input_type -> Cast.GetArtistReq + 94, // 156: Cast.Cast.CreateWorkAnalysis:input_type -> Cast.CreateWorkAnalysisReq + 96, // 157: Cast.Cast.UpdateWorkAnalysis:input_type -> Cast.UpdateWorkAnalysisReq + 97, // 158: Cast.Cast.UpdateWorkAnalysisStatus:input_type -> Cast.UpdateWorkAnalysisStatusReq + 108, // 159: Cast.Cast.GetWorkAnalysis:input_type -> Cast.GetWorkAnalysisDetailReq + 109, // 160: Cast.Cast.GetLatestWorkAnalysis:input_type -> Cast.GetLatestWorkAnalysisReq + 112, // 161: Cast.Cast.ListWorkAnalysis:input_type -> Cast.ListWorkAnalysisReq + 115, // 162: Cast.Cast.DeleteWorkAnalysis:input_type -> Cast.DeleteWorkAnalysisReq + 134, // 163: Cast.Cast.UpdateWorkAnalysisApprovalID:input_type -> Cast.UpdateWorkAnalysisApprovalIDReq + 116, // 164: Cast.Cast.ArtistDataList:input_type -> Cast.ArtistDataListReq + 119, // 165: Cast.Cast.MediaDataList:input_type -> Cast.MediaDataListReq + 122, // 166: Cast.Cast.DataOverview:input_type -> Cast.DataOverviewReq + 124, // 167: Cast.Cast.ArtistMetricsSeries:input_type -> Cast.ArtistMetricsSeriesReq + 126, // 168: Cast.Cast.ArtistMetricsDailyWindow:input_type -> Cast.ArtistMetricsDailyWindowReq + 131, // 169: Cast.Cast.TobeConfirmedList:input_type -> Cast.TobeConfirmedListReq + 136, // 170: Cast.Cast.UpsertMediaMetricsDailyBatch:input_type -> Cast.UpsertMediaMetricsDailyBatchReq + 139, // 171: Cast.Cast.UpsertWorkMetricsDailyBatch:input_type -> Cast.UpsertWorkMetricsDailyBatchReq + 147, // 172: Cast.Cast.ListMediaMetricsDaily:input_type -> Cast.ListMediaMetricsDailyReq + 150, // 173: Cast.Cast.ListWorkMetricsDaily:input_type -> Cast.ListWorkMetricsDailyReq + 161, // 174: Cast.Cast.CalculateMediaMetricsByWorks:input_type -> Cast.CalculateMediaMetricsByWorksReq + 141, // 175: Cast.Cast.GetArtistAyrShareInfo:input_type -> Cast.GetArtistAyrShareInfoReq + 144, // 176: Cast.Cast.ListWorkPlatformInfo:input_type -> Cast.ListWorkPlatformInfoReq + 153, // 177: Cast.Cast.UpsertTaskList:input_type -> Cast.UpsertTaskListReq + 155, // 178: Cast.Cast.GetTaskList:input_type -> Cast.GetTaskListReq + 158, // 179: Cast.Cast.ListTaskList:input_type -> Cast.ListTaskListReq + 160, // 180: Cast.Cast.DeleteTaskList:input_type -> Cast.DeleteTaskListReq + 163, // 181: Cast.Cast.UpdateCastTag:input_type -> Cast.UpdateCastTagReq + 165, // 182: Cast.Cast.ListCastTags:input_type -> Cast.ListCastTagsReq + 168, // 183: Cast.Cast.UpdateCastTagBatch:input_type -> Cast.UpdateCastTagBatchReq + 170, // 184: Cast.Cast.UpdateCastTagStatus:input_type -> Cast.UpdateCastTagStatusReq + 181, // 185: Cast.Cast.RecalculateCastTagQuoteCount:input_type -> google.protobuf.Empty + 10, // 186: Cast.Cast.MediaUserList:output_type -> Cast.MediaUserListResp + 12, // 187: Cast.Cast.UpdateMediaAccount:output_type -> Cast.UpdateMediaAccountResp + 14, // 188: Cast.Cast.UnbindManager:output_type -> Cast.UnbindManagerResp + 181, // 189: Cast.Cast.BindManager:output_type -> google.protobuf.Empty + 17, // 190: Cast.Cast.UpdateWorkImage:output_type -> Cast.UpdateWorkImageResp + 20, // 191: Cast.Cast.UpdateWorkVideo:output_type -> Cast.UpdateWorkVideoResp + 22, // 192: Cast.Cast.MediaInfo:output_type -> Cast.MediaInfoResp + 24, // 193: Cast.Cast.MediaInfoByPlatform:output_type -> Cast.MediaInfoByPlatformResp + 26, // 194: Cast.Cast.WorkList:output_type -> Cast.WorkListResp + 29, // 195: Cast.Cast.WorkDetail:output_type -> Cast.WorkDetailResp + 181, // 196: Cast.Cast.UpdateStatus:output_type -> google.protobuf.Empty + 32, // 197: Cast.Cast.MediaAccounts:output_type -> Cast.MediaAccountsResp + 34, // 198: Cast.Cast.MediaWorks:output_type -> Cast.MediaWorksResp + 36, // 199: Cast.Cast.Publish:output_type -> Cast.PublishResp + 38, // 200: Cast.Cast.RePublish:output_type -> Cast.RePublishResp + 181, // 201: Cast.Cast.DelWork:output_type -> google.protobuf.Empty + 41, // 202: Cast.Cast.WorkInfo:output_type -> Cast.WorkInfoResp + 43, // 203: Cast.Cast.ArtistInfo:output_type -> Cast.ArtistInfoResp + 45, // 204: Cast.Cast.ImportWorkBatch:output_type -> Cast.ImportWorkBatchResp + 48, // 205: Cast.Cast.UpdateWorkPlatformInfo:output_type -> Cast.UpdateWorkPlatformInfoResp + 181, // 206: Cast.Cast.UpdateWorkPublishLog:output_type -> google.protobuf.Empty + 51, // 207: Cast.Cast.RefreshWorkList:output_type -> Cast.RefreshWorkListResp + 53, // 208: Cast.Cast.OAuthAccount:output_type -> Cast.OAuthAccountResp + 55, // 209: Cast.Cast.OAuthAccountV2:output_type -> Cast.OAuthAccountV2Resp + 59, // 210: Cast.Cast.OAuthCodeToToken:output_type -> Cast.OAuthCodeToTokenResp + 181, // 211: Cast.Cast.UpdateOAuth:output_type -> google.protobuf.Empty + 62, // 212: Cast.Cast.RefreshToken:output_type -> Cast.RefreshTokenResp + 64, // 213: Cast.Cast.PublishMediaInfo:output_type -> Cast.PublishMediaInfoResp + 181, // 214: Cast.Cast.Tools:output_type -> google.protobuf.Empty + 67, // 215: Cast.Cast.UpdateVideoScript:output_type -> Cast.UpdateVideoScriptResp + 69, // 216: Cast.Cast.GetVideoScript:output_type -> Cast.GetVideoScriptResp + 72, // 217: Cast.Cast.ListVideoScripts:output_type -> Cast.ListVideoScriptsResp + 181, // 218: Cast.Cast.DeleteVideoScript:output_type -> google.protobuf.Empty + 75, // 219: Cast.Cast.UpdateVideoScriptBatch:output_type -> Cast.UpdateVideoScriptBatchResp + 181, // 220: Cast.Cast.UpdateScriptStatus:output_type -> google.protobuf.Empty + 79, // 221: Cast.Cast.GetLayout:output_type -> Cast.GetLayoutResp + 181, // 222: Cast.Cast.SetLayout:output_type -> google.protobuf.Empty + 181, // 223: Cast.Cast.UpdatePrompt:output_type -> google.protobuf.Empty + 181, // 224: Cast.Cast.DeletePrompt:output_type -> google.protobuf.Empty + 83, // 225: Cast.Cast.GetPrompt:output_type -> Cast.GetPromptResp + 86, // 226: Cast.Cast.ListPrompts:output_type -> Cast.ListPromptsResp + 88, // 227: Cast.Cast.UpdatePromptBatch:output_type -> Cast.UpdatePromptBatchResp + 91, // 228: Cast.Cast.UpdateArtist:output_type -> Cast.UpdateArtistResp + 93, // 229: Cast.Cast.GetArtist:output_type -> Cast.GetArtistResp + 95, // 230: Cast.Cast.CreateWorkAnalysis:output_type -> Cast.CreateWorkAnalysisResp + 181, // 231: Cast.Cast.UpdateWorkAnalysis:output_type -> google.protobuf.Empty + 181, // 232: Cast.Cast.UpdateWorkAnalysisStatus:output_type -> google.protobuf.Empty + 111, // 233: Cast.Cast.GetWorkAnalysis:output_type -> Cast.GetWorkAnalysisDetailResp + 110, // 234: Cast.Cast.GetLatestWorkAnalysis:output_type -> Cast.GetWorkAnalysisResp + 114, // 235: Cast.Cast.ListWorkAnalysis:output_type -> Cast.ListWorkAnalysisResp + 181, // 236: Cast.Cast.DeleteWorkAnalysis:output_type -> google.protobuf.Empty + 181, // 237: Cast.Cast.UpdateWorkAnalysisApprovalID:output_type -> google.protobuf.Empty + 118, // 238: Cast.Cast.ArtistDataList:output_type -> Cast.ArtistDataListResp + 121, // 239: Cast.Cast.MediaDataList:output_type -> Cast.MediaDataListResp + 123, // 240: Cast.Cast.DataOverview:output_type -> Cast.DataOverviewResp + 125, // 241: Cast.Cast.ArtistMetricsSeries:output_type -> Cast.ArtistMetricsSeriesResp + 130, // 242: Cast.Cast.ArtistMetricsDailyWindow:output_type -> Cast.ArtistMetricsDailyWindowResp + 133, // 243: Cast.Cast.TobeConfirmedList:output_type -> Cast.TobeConfirmedListResp + 137, // 244: Cast.Cast.UpsertMediaMetricsDailyBatch:output_type -> Cast.UpsertMediaMetricsDailyBatchResp + 140, // 245: Cast.Cast.UpsertWorkMetricsDailyBatch:output_type -> Cast.UpsertWorkMetricsDailyBatchResp + 149, // 246: Cast.Cast.ListMediaMetricsDaily:output_type -> Cast.ListMediaMetricsDailyResp + 152, // 247: Cast.Cast.ListWorkMetricsDaily:output_type -> Cast.ListWorkMetricsDailyResp + 162, // 248: Cast.Cast.CalculateMediaMetricsByWorks:output_type -> Cast.CalculateMediaMetricsByWorksResp + 143, // 249: Cast.Cast.GetArtistAyrShareInfo:output_type -> Cast.GetArtistAyrShareInfoResp + 146, // 250: Cast.Cast.ListWorkPlatformInfo:output_type -> Cast.ListWorkPlatformInfoResp + 154, // 251: Cast.Cast.UpsertTaskList:output_type -> Cast.UpsertTaskListResp + 157, // 252: Cast.Cast.GetTaskList:output_type -> Cast.GetTaskListResp + 159, // 253: Cast.Cast.ListTaskList:output_type -> Cast.ListTaskListResp + 181, // 254: Cast.Cast.DeleteTaskList:output_type -> google.protobuf.Empty + 164, // 255: Cast.Cast.UpdateCastTag:output_type -> Cast.UpdateCastTagResp + 167, // 256: Cast.Cast.ListCastTags:output_type -> Cast.ListCastTagsResp + 169, // 257: Cast.Cast.UpdateCastTagBatch:output_type -> Cast.UpdateCastTagBatchResp + 181, // 258: Cast.Cast.UpdateCastTagStatus:output_type -> google.protobuf.Empty + 171, // 259: Cast.Cast.RecalculateCastTagQuoteCount:output_type -> Cast.RecalculateCastTagQuoteCountResp + 186, // [186:260] is the sub-list for method output_type + 112, // [112:186] is the sub-list for method input_type + 112, // [112:112] is the sub-list for extension type_name + 112, // [112:112] is the sub-list for extension extendee + 0, // [0:112] is the sub-list for field type_name } func init() { file_pb_fiee_cast_proto_init() } @@ -16212,7 +16974,7 @@ func file_pb_fiee_cast_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_pb_fiee_cast_proto_rawDesc), len(file_pb_fiee_cast_proto_rawDesc)), NumEnums: 7, - NumMessages: 165, + NumMessages: 174, NumExtensions: 0, NumServices: 1, }, diff --git a/api/cast/cast.pb.validate.go b/api/cast/cast.pb.validate.go index 4635a1e..76af698 100644 --- a/api/cast/cast.pb.validate.go +++ b/api/cast/cast.pb.validate.go @@ -185,6 +185,8 @@ func (m *MediaUserListReq) validate(all bool) error { // no validation rules for NeedAsInfo + // no validation rules for Expired + if len(errors) > 0 { return MediaUserListReqMultiError(errors) } @@ -348,6 +350,8 @@ func (m *MediaUserInfo) validate(all bool) error { // no validation rules for ArtistSubNum + // no validation rules for Expired + if len(errors) > 0 { return MediaUserInfoMultiError(errors) } @@ -19988,6 +19992,1096 @@ var _ interface { ErrorName() string } = CalculateMediaMetricsByWorksRespValidationError{} +// Validate checks the field values on UpdateCastTagReq with the rules defined +// in the proto definition for this message. If any rules are violated, the +// first error encountered is returned, or nil if there are no violations. +func (m *UpdateCastTagReq) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on UpdateCastTagReq with the rules +// defined in the proto definition for this message. If any rules are +// violated, the result is a list of violation errors wrapped in +// UpdateCastTagReqMultiError, or nil if none found. +func (m *UpdateCastTagReq) ValidateAll() error { + return m.validate(true) +} + +func (m *UpdateCastTagReq) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + // no validation rules for Uuid + + // no validation rules for HashTag + + // no validation rules for Source + + // no validation rules for Status + + // no validation rules for Remark + + if len(errors) > 0 { + return UpdateCastTagReqMultiError(errors) + } + + return nil +} + +// UpdateCastTagReqMultiError is an error wrapping multiple validation errors +// returned by UpdateCastTagReq.ValidateAll() if the designated constraints +// aren't met. +type UpdateCastTagReqMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m UpdateCastTagReqMultiError) Error() string { + msgs := make([]string, 0, len(m)) + for _, err := range m { + msgs = append(msgs, err.Error()) + } + return strings.Join(msgs, "; ") +} + +// AllErrors returns a list of validation violation errors. +func (m UpdateCastTagReqMultiError) AllErrors() []error { return m } + +// UpdateCastTagReqValidationError is the validation error returned by +// UpdateCastTagReq.Validate if the designated constraints aren't met. +type UpdateCastTagReqValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e UpdateCastTagReqValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e UpdateCastTagReqValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e UpdateCastTagReqValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e UpdateCastTagReqValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e UpdateCastTagReqValidationError) ErrorName() string { return "UpdateCastTagReqValidationError" } + +// Error satisfies the builtin error interface +func (e UpdateCastTagReqValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sUpdateCastTagReq.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = UpdateCastTagReqValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = UpdateCastTagReqValidationError{} + +// Validate checks the field values on UpdateCastTagResp with the rules defined +// in the proto definition for this message. If any rules are violated, the +// first error encountered is returned, or nil if there are no violations. +func (m *UpdateCastTagResp) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on UpdateCastTagResp with the rules +// defined in the proto definition for this message. If any rules are +// violated, the result is a list of violation errors wrapped in +// UpdateCastTagRespMultiError, or nil if none found. +func (m *UpdateCastTagResp) ValidateAll() error { + return m.validate(true) +} + +func (m *UpdateCastTagResp) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + // no validation rules for Uuid + + if len(errors) > 0 { + return UpdateCastTagRespMultiError(errors) + } + + return nil +} + +// UpdateCastTagRespMultiError is an error wrapping multiple validation errors +// returned by UpdateCastTagResp.ValidateAll() if the designated constraints +// aren't met. +type UpdateCastTagRespMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m UpdateCastTagRespMultiError) Error() string { + msgs := make([]string, 0, len(m)) + for _, err := range m { + msgs = append(msgs, err.Error()) + } + return strings.Join(msgs, "; ") +} + +// AllErrors returns a list of validation violation errors. +func (m UpdateCastTagRespMultiError) AllErrors() []error { return m } + +// UpdateCastTagRespValidationError is the validation error returned by +// UpdateCastTagResp.Validate if the designated constraints aren't met. +type UpdateCastTagRespValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e UpdateCastTagRespValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e UpdateCastTagRespValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e UpdateCastTagRespValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e UpdateCastTagRespValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e UpdateCastTagRespValidationError) ErrorName() string { + return "UpdateCastTagRespValidationError" +} + +// Error satisfies the builtin error interface +func (e UpdateCastTagRespValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sUpdateCastTagResp.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = UpdateCastTagRespValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = UpdateCastTagRespValidationError{} + +// Validate checks the field values on ListCastTagsReq with the rules defined +// in the proto definition for this message. If any rules are violated, the +// first error encountered is returned, or nil if there are no violations. +func (m *ListCastTagsReq) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on ListCastTagsReq with the rules +// defined in the proto definition for this message. If any rules are +// violated, the result is a list of violation errors wrapped in +// ListCastTagsReqMultiError, or nil if none found. +func (m *ListCastTagsReq) ValidateAll() error { + return m.validate(true) +} + +func (m *ListCastTagsReq) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + // no validation rules for HashTag + + // no validation rules for Source + + // no validation rules for Status + + // no validation rules for StatusUpdateTimeStart + + // no validation rules for StatusUpdateTimeEnd + + // no validation rules for CreatedAtStart + + // no validation rules for CreatedAtEnd + + // no validation rules for OrderBy + + // no validation rules for Sort + + // no validation rules for Page + + // no validation rules for PageSize + + if len(errors) > 0 { + return ListCastTagsReqMultiError(errors) + } + + return nil +} + +// ListCastTagsReqMultiError is an error wrapping multiple validation errors +// returned by ListCastTagsReq.ValidateAll() if the designated constraints +// aren't met. +type ListCastTagsReqMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m ListCastTagsReqMultiError) Error() string { + msgs := make([]string, 0, len(m)) + for _, err := range m { + msgs = append(msgs, err.Error()) + } + return strings.Join(msgs, "; ") +} + +// AllErrors returns a list of validation violation errors. +func (m ListCastTagsReqMultiError) AllErrors() []error { return m } + +// ListCastTagsReqValidationError is the validation error returned by +// ListCastTagsReq.Validate if the designated constraints aren't met. +type ListCastTagsReqValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ListCastTagsReqValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ListCastTagsReqValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ListCastTagsReqValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ListCastTagsReqValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ListCastTagsReqValidationError) ErrorName() string { return "ListCastTagsReqValidationError" } + +// Error satisfies the builtin error interface +func (e ListCastTagsReqValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sListCastTagsReq.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ListCastTagsReqValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ListCastTagsReqValidationError{} + +// Validate checks the field values on CastTagInfo with the rules defined in +// the proto definition for this message. If any rules are violated, the first +// error encountered is returned, or nil if there are no violations. +func (m *CastTagInfo) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on CastTagInfo with the rules defined in +// the proto definition for this message. If any rules are violated, the +// result is a list of violation errors wrapped in CastTagInfoMultiError, or +// nil if none found. +func (m *CastTagInfo) ValidateAll() error { + return m.validate(true) +} + +func (m *CastTagInfo) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + // no validation rules for Uuid + + // no validation rules for HashTag + + // no validation rules for CreatorUuid + + // no validation rules for CreatorName + + // no validation rules for Source + + // no validation rules for QuoteCount + + // no validation rules for WatchCount + + // no validation rules for Status + + // no validation rules for Remark + + // no validation rules for StatusUpdateTime + + // no validation rules for CreatedDate + + // no validation rules for Success + + if len(errors) > 0 { + return CastTagInfoMultiError(errors) + } + + return nil +} + +// CastTagInfoMultiError is an error wrapping multiple validation errors +// returned by CastTagInfo.ValidateAll() if the designated constraints aren't met. +type CastTagInfoMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m CastTagInfoMultiError) Error() string { + msgs := make([]string, 0, len(m)) + for _, err := range m { + msgs = append(msgs, err.Error()) + } + return strings.Join(msgs, "; ") +} + +// AllErrors returns a list of validation violation errors. +func (m CastTagInfoMultiError) AllErrors() []error { return m } + +// CastTagInfoValidationError is the validation error returned by +// CastTagInfo.Validate if the designated constraints aren't met. +type CastTagInfoValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e CastTagInfoValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e CastTagInfoValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e CastTagInfoValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e CastTagInfoValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e CastTagInfoValidationError) ErrorName() string { return "CastTagInfoValidationError" } + +// Error satisfies the builtin error interface +func (e CastTagInfoValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sCastTagInfo.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = CastTagInfoValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = CastTagInfoValidationError{} + +// Validate checks the field values on ListCastTagsResp with the rules defined +// in the proto definition for this message. If any rules are violated, the +// first error encountered is returned, or nil if there are no violations. +func (m *ListCastTagsResp) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on ListCastTagsResp with the rules +// defined in the proto definition for this message. If any rules are +// violated, the result is a list of violation errors wrapped in +// ListCastTagsRespMultiError, or nil if none found. +func (m *ListCastTagsResp) ValidateAll() error { + return m.validate(true) +} + +func (m *ListCastTagsResp) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + for idx, item := range m.GetData() { + _, _ = idx, item + + if all { + switch v := interface{}(item).(type) { + case interface{ ValidateAll() error }: + if err := v.ValidateAll(); err != nil { + errors = append(errors, ListCastTagsRespValidationError{ + field: fmt.Sprintf("Data[%v]", idx), + reason: "embedded message failed validation", + cause: err, + }) + } + case interface{ Validate() error }: + if err := v.Validate(); err != nil { + errors = append(errors, ListCastTagsRespValidationError{ + field: fmt.Sprintf("Data[%v]", idx), + reason: "embedded message failed validation", + cause: err, + }) + } + } + } else if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ListCastTagsRespValidationError{ + field: fmt.Sprintf("Data[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + // no validation rules for Count + + if len(errors) > 0 { + return ListCastTagsRespMultiError(errors) + } + + return nil +} + +// ListCastTagsRespMultiError is an error wrapping multiple validation errors +// returned by ListCastTagsResp.ValidateAll() if the designated constraints +// aren't met. +type ListCastTagsRespMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m ListCastTagsRespMultiError) Error() string { + msgs := make([]string, 0, len(m)) + for _, err := range m { + msgs = append(msgs, err.Error()) + } + return strings.Join(msgs, "; ") +} + +// AllErrors returns a list of validation violation errors. +func (m ListCastTagsRespMultiError) AllErrors() []error { return m } + +// ListCastTagsRespValidationError is the validation error returned by +// ListCastTagsResp.Validate if the designated constraints aren't met. +type ListCastTagsRespValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ListCastTagsRespValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ListCastTagsRespValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ListCastTagsRespValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ListCastTagsRespValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ListCastTagsRespValidationError) ErrorName() string { return "ListCastTagsRespValidationError" } + +// Error satisfies the builtin error interface +func (e ListCastTagsRespValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sListCastTagsResp.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ListCastTagsRespValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ListCastTagsRespValidationError{} + +// Validate checks the field values on UpdateCastTagBatchReq with the rules +// defined in the proto definition for this message. If any rules are +// violated, the first error encountered is returned, or nil if there are no violations. +func (m *UpdateCastTagBatchReq) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on UpdateCastTagBatchReq with the rules +// defined in the proto definition for this message. If any rules are +// violated, the result is a list of violation errors wrapped in +// UpdateCastTagBatchReqMultiError, or nil if none found. +func (m *UpdateCastTagBatchReq) ValidateAll() error { + return m.validate(true) +} + +func (m *UpdateCastTagBatchReq) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + for idx, item := range m.GetData() { + _, _ = idx, item + + if all { + switch v := interface{}(item).(type) { + case interface{ ValidateAll() error }: + if err := v.ValidateAll(); err != nil { + errors = append(errors, UpdateCastTagBatchReqValidationError{ + field: fmt.Sprintf("Data[%v]", idx), + reason: "embedded message failed validation", + cause: err, + }) + } + case interface{ Validate() error }: + if err := v.Validate(); err != nil { + errors = append(errors, UpdateCastTagBatchReqValidationError{ + field: fmt.Sprintf("Data[%v]", idx), + reason: "embedded message failed validation", + cause: err, + }) + } + } + } else if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return UpdateCastTagBatchReqValidationError{ + field: fmt.Sprintf("Data[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + if len(errors) > 0 { + return UpdateCastTagBatchReqMultiError(errors) + } + + return nil +} + +// UpdateCastTagBatchReqMultiError is an error wrapping multiple validation +// errors returned by UpdateCastTagBatchReq.ValidateAll() if the designated +// constraints aren't met. +type UpdateCastTagBatchReqMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m UpdateCastTagBatchReqMultiError) Error() string { + msgs := make([]string, 0, len(m)) + for _, err := range m { + msgs = append(msgs, err.Error()) + } + return strings.Join(msgs, "; ") +} + +// AllErrors returns a list of validation violation errors. +func (m UpdateCastTagBatchReqMultiError) AllErrors() []error { return m } + +// UpdateCastTagBatchReqValidationError is the validation error returned by +// UpdateCastTagBatchReq.Validate if the designated constraints aren't met. +type UpdateCastTagBatchReqValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e UpdateCastTagBatchReqValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e UpdateCastTagBatchReqValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e UpdateCastTagBatchReqValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e UpdateCastTagBatchReqValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e UpdateCastTagBatchReqValidationError) ErrorName() string { + return "UpdateCastTagBatchReqValidationError" +} + +// Error satisfies the builtin error interface +func (e UpdateCastTagBatchReqValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sUpdateCastTagBatchReq.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = UpdateCastTagBatchReqValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = UpdateCastTagBatchReqValidationError{} + +// Validate checks the field values on UpdateCastTagBatchResp with the rules +// defined in the proto definition for this message. If any rules are +// violated, the first error encountered is returned, or nil if there are no violations. +func (m *UpdateCastTagBatchResp) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on UpdateCastTagBatchResp with the rules +// defined in the proto definition for this message. If any rules are +// violated, the result is a list of violation errors wrapped in +// UpdateCastTagBatchRespMultiError, or nil if none found. +func (m *UpdateCastTagBatchResp) ValidateAll() error { + return m.validate(true) +} + +func (m *UpdateCastTagBatchResp) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + for idx, item := range m.GetData() { + _, _ = idx, item + + if all { + switch v := interface{}(item).(type) { + case interface{ ValidateAll() error }: + if err := v.ValidateAll(); err != nil { + errors = append(errors, UpdateCastTagBatchRespValidationError{ + field: fmt.Sprintf("Data[%v]", idx), + reason: "embedded message failed validation", + cause: err, + }) + } + case interface{ Validate() error }: + if err := v.Validate(); err != nil { + errors = append(errors, UpdateCastTagBatchRespValidationError{ + field: fmt.Sprintf("Data[%v]", idx), + reason: "embedded message failed validation", + cause: err, + }) + } + } + } else if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return UpdateCastTagBatchRespValidationError{ + field: fmt.Sprintf("Data[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + // no validation rules for SuccessCount + + // no validation rules for FailCount + + if len(errors) > 0 { + return UpdateCastTagBatchRespMultiError(errors) + } + + return nil +} + +// UpdateCastTagBatchRespMultiError is an error wrapping multiple validation +// errors returned by UpdateCastTagBatchResp.ValidateAll() if the designated +// constraints aren't met. +type UpdateCastTagBatchRespMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m UpdateCastTagBatchRespMultiError) Error() string { + msgs := make([]string, 0, len(m)) + for _, err := range m { + msgs = append(msgs, err.Error()) + } + return strings.Join(msgs, "; ") +} + +// AllErrors returns a list of validation violation errors. +func (m UpdateCastTagBatchRespMultiError) AllErrors() []error { return m } + +// UpdateCastTagBatchRespValidationError is the validation error returned by +// UpdateCastTagBatchResp.Validate if the designated constraints aren't met. +type UpdateCastTagBatchRespValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e UpdateCastTagBatchRespValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e UpdateCastTagBatchRespValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e UpdateCastTagBatchRespValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e UpdateCastTagBatchRespValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e UpdateCastTagBatchRespValidationError) ErrorName() string { + return "UpdateCastTagBatchRespValidationError" +} + +// Error satisfies the builtin error interface +func (e UpdateCastTagBatchRespValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sUpdateCastTagBatchResp.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = UpdateCastTagBatchRespValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = UpdateCastTagBatchRespValidationError{} + +// Validate checks the field values on UpdateCastTagStatusReq with the rules +// defined in the proto definition for this message. If any rules are +// violated, the first error encountered is returned, or nil if there are no violations. +func (m *UpdateCastTagStatusReq) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on UpdateCastTagStatusReq with the rules +// defined in the proto definition for this message. If any rules are +// violated, the result is a list of violation errors wrapped in +// UpdateCastTagStatusReqMultiError, or nil if none found. +func (m *UpdateCastTagStatusReq) ValidateAll() error { + return m.validate(true) +} + +func (m *UpdateCastTagStatusReq) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + // no validation rules for Uuid + + // no validation rules for HashTag + + // no validation rules for Status + + // no validation rules for Remark + + if len(errors) > 0 { + return UpdateCastTagStatusReqMultiError(errors) + } + + return nil +} + +// UpdateCastTagStatusReqMultiError is an error wrapping multiple validation +// errors returned by UpdateCastTagStatusReq.ValidateAll() if the designated +// constraints aren't met. +type UpdateCastTagStatusReqMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m UpdateCastTagStatusReqMultiError) Error() string { + msgs := make([]string, 0, len(m)) + for _, err := range m { + msgs = append(msgs, err.Error()) + } + return strings.Join(msgs, "; ") +} + +// AllErrors returns a list of validation violation errors. +func (m UpdateCastTagStatusReqMultiError) AllErrors() []error { return m } + +// UpdateCastTagStatusReqValidationError is the validation error returned by +// UpdateCastTagStatusReq.Validate if the designated constraints aren't met. +type UpdateCastTagStatusReqValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e UpdateCastTagStatusReqValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e UpdateCastTagStatusReqValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e UpdateCastTagStatusReqValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e UpdateCastTagStatusReqValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e UpdateCastTagStatusReqValidationError) ErrorName() string { + return "UpdateCastTagStatusReqValidationError" +} + +// Error satisfies the builtin error interface +func (e UpdateCastTagStatusReqValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sUpdateCastTagStatusReq.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = UpdateCastTagStatusReqValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = UpdateCastTagStatusReqValidationError{} + +// Validate checks the field values on RecalculateCastTagQuoteCountResp with +// the rules defined in the proto definition for this message. If any rules +// are violated, the first error encountered is returned, or nil if there are +// no violations. +func (m *RecalculateCastTagQuoteCountResp) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on RecalculateCastTagQuoteCountResp with +// the rules defined in the proto definition for this message. If any rules +// are violated, the result is a list of violation errors wrapped in +// RecalculateCastTagQuoteCountRespMultiError, or nil if none found. +func (m *RecalculateCastTagQuoteCountResp) ValidateAll() error { + return m.validate(true) +} + +func (m *RecalculateCastTagQuoteCountResp) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + // no validation rules for Success + + // no validation rules for Msg + + if len(errors) > 0 { + return RecalculateCastTagQuoteCountRespMultiError(errors) + } + + return nil +} + +// RecalculateCastTagQuoteCountRespMultiError is an error wrapping multiple +// validation errors returned by +// RecalculateCastTagQuoteCountResp.ValidateAll() if the designated +// constraints aren't met. +type RecalculateCastTagQuoteCountRespMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m RecalculateCastTagQuoteCountRespMultiError) Error() string { + msgs := make([]string, 0, len(m)) + for _, err := range m { + msgs = append(msgs, err.Error()) + } + return strings.Join(msgs, "; ") +} + +// AllErrors returns a list of validation violation errors. +func (m RecalculateCastTagQuoteCountRespMultiError) AllErrors() []error { return m } + +// RecalculateCastTagQuoteCountRespValidationError is the validation error +// returned by RecalculateCastTagQuoteCountResp.Validate if the designated +// constraints aren't met. +type RecalculateCastTagQuoteCountRespValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e RecalculateCastTagQuoteCountRespValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e RecalculateCastTagQuoteCountRespValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e RecalculateCastTagQuoteCountRespValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e RecalculateCastTagQuoteCountRespValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e RecalculateCastTagQuoteCountRespValidationError) ErrorName() string { + return "RecalculateCastTagQuoteCountRespValidationError" +} + +// Error satisfies the builtin error interface +func (e RecalculateCastTagQuoteCountRespValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sRecalculateCastTagQuoteCountResp.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = RecalculateCastTagQuoteCountRespValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = RecalculateCastTagQuoteCountRespValidationError{} + // Validate checks the field values on WorkListResp_Info with the rules defined // in the proto definition for this message. If any rules are violated, the // first error encountered is returned, or nil if there are no violations. diff --git a/api/cast/cast_triple.pb.go b/api/cast/cast_triple.pb.go index 50b068d..1eb6fee 100644 --- a/api/cast/cast_triple.pb.go +++ b/api/cast/cast_triple.pb.go @@ -111,6 +111,12 @@ type CastClient interface { GetTaskList(ctx context.Context, in *GetTaskListReq, opts ...grpc_go.CallOption) (*GetTaskListResp, common.ErrorWithAttachment) ListTaskList(ctx context.Context, in *ListTaskListReq, opts ...grpc_go.CallOption) (*ListTaskListResp, common.ErrorWithAttachment) DeleteTaskList(ctx context.Context, in *DeleteTaskListReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) + // 话题标签相关接口 + UpdateCastTag(ctx context.Context, in *UpdateCastTagReq, opts ...grpc_go.CallOption) (*UpdateCastTagResp, common.ErrorWithAttachment) + ListCastTags(ctx context.Context, in *ListCastTagsReq, opts ...grpc_go.CallOption) (*ListCastTagsResp, common.ErrorWithAttachment) + UpdateCastTagBatch(ctx context.Context, in *UpdateCastTagBatchReq, opts ...grpc_go.CallOption) (*UpdateCastTagBatchResp, common.ErrorWithAttachment) + UpdateCastTagStatus(ctx context.Context, in *UpdateCastTagStatusReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) + RecalculateCastTagQuoteCount(ctx context.Context, in *emptypb.Empty, opts ...grpc_go.CallOption) (*RecalculateCastTagQuoteCountResp, common.ErrorWithAttachment) } type castClient struct { @@ -187,6 +193,11 @@ type CastClientImpl struct { GetTaskList func(ctx context.Context, in *GetTaskListReq) (*GetTaskListResp, error) ListTaskList func(ctx context.Context, in *ListTaskListReq) (*ListTaskListResp, error) DeleteTaskList func(ctx context.Context, in *DeleteTaskListReq) (*emptypb.Empty, error) + UpdateCastTag func(ctx context.Context, in *UpdateCastTagReq) (*UpdateCastTagResp, error) + ListCastTags func(ctx context.Context, in *ListCastTagsReq) (*ListCastTagsResp, error) + UpdateCastTagBatch func(ctx context.Context, in *UpdateCastTagBatchReq) (*UpdateCastTagBatchResp, error) + UpdateCastTagStatus func(ctx context.Context, in *UpdateCastTagStatusReq) (*emptypb.Empty, error) + RecalculateCastTagQuoteCount func(ctx context.Context, in *emptypb.Empty) (*RecalculateCastTagQuoteCountResp, error) } func (c *CastClientImpl) GetDubboStub(cc *triple.TripleConn) CastClient { @@ -615,6 +626,36 @@ func (c *castClient) DeleteTaskList(ctx context.Context, in *DeleteTaskListReq, return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DeleteTaskList", in, out) } +func (c *castClient) UpdateCastTag(ctx context.Context, in *UpdateCastTagReq, opts ...grpc_go.CallOption) (*UpdateCastTagResp, common.ErrorWithAttachment) { + out := new(UpdateCastTagResp) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateCastTag", in, out) +} + +func (c *castClient) ListCastTags(ctx context.Context, in *ListCastTagsReq, opts ...grpc_go.CallOption) (*ListCastTagsResp, common.ErrorWithAttachment) { + out := new(ListCastTagsResp) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ListCastTags", in, out) +} + +func (c *castClient) UpdateCastTagBatch(ctx context.Context, in *UpdateCastTagBatchReq, opts ...grpc_go.CallOption) (*UpdateCastTagBatchResp, common.ErrorWithAttachment) { + out := new(UpdateCastTagBatchResp) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateCastTagBatch", in, out) +} + +func (c *castClient) UpdateCastTagStatus(ctx context.Context, in *UpdateCastTagStatusReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) { + out := new(emptypb.Empty) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateCastTagStatus", in, out) +} + +func (c *castClient) RecalculateCastTagQuoteCount(ctx context.Context, in *emptypb.Empty, opts ...grpc_go.CallOption) (*RecalculateCastTagQuoteCountResp, common.ErrorWithAttachment) { + out := new(RecalculateCastTagQuoteCountResp) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/RecalculateCastTagQuoteCount", in, out) +} + // CastServer is the server API for Cast service. // All implementations must embed UnimplementedCastServer // for forward compatibility @@ -701,6 +742,12 @@ type CastServer interface { GetTaskList(context.Context, *GetTaskListReq) (*GetTaskListResp, error) ListTaskList(context.Context, *ListTaskListReq) (*ListTaskListResp, error) DeleteTaskList(context.Context, *DeleteTaskListReq) (*emptypb.Empty, error) + // 话题标签相关接口 + UpdateCastTag(context.Context, *UpdateCastTagReq) (*UpdateCastTagResp, error) + ListCastTags(context.Context, *ListCastTagsReq) (*ListCastTagsResp, error) + UpdateCastTagBatch(context.Context, *UpdateCastTagBatchReq) (*UpdateCastTagBatchResp, error) + UpdateCastTagStatus(context.Context, *UpdateCastTagStatusReq) (*emptypb.Empty, error) + RecalculateCastTagQuoteCount(context.Context, *emptypb.Empty) (*RecalculateCastTagQuoteCountResp, error) mustEmbedUnimplementedCastServer() } @@ -916,6 +963,21 @@ func (UnimplementedCastServer) ListTaskList(context.Context, *ListTaskListReq) ( func (UnimplementedCastServer) DeleteTaskList(context.Context, *DeleteTaskListReq) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteTaskList not implemented") } +func (UnimplementedCastServer) UpdateCastTag(context.Context, *UpdateCastTagReq) (*UpdateCastTagResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateCastTag not implemented") +} +func (UnimplementedCastServer) ListCastTags(context.Context, *ListCastTagsReq) (*ListCastTagsResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListCastTags not implemented") +} +func (UnimplementedCastServer) UpdateCastTagBatch(context.Context, *UpdateCastTagBatchReq) (*UpdateCastTagBatchResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateCastTagBatch not implemented") +} +func (UnimplementedCastServer) UpdateCastTagStatus(context.Context, *UpdateCastTagStatusReq) (*emptypb.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateCastTagStatus not implemented") +} +func (UnimplementedCastServer) RecalculateCastTagQuoteCount(context.Context, *emptypb.Empty) (*RecalculateCastTagQuoteCountResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method RecalculateCastTagQuoteCount not implemented") +} func (s *UnimplementedCastServer) XXX_SetProxyImpl(impl protocol.Invoker) { s.proxyImpl = impl } @@ -2945,6 +3007,151 @@ func _Cast_DeleteTaskList_Handler(srv interface{}, ctx context.Context, dec func return interceptor(ctx, in, info, handler) } +func _Cast_UpdateCastTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateCastTagReq) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("UpdateCastTag", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + +func _Cast_ListCastTags_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(ListCastTagsReq) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("ListCastTags", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + +func _Cast_UpdateCastTagBatch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateCastTagBatchReq) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("UpdateCastTagBatch", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + +func _Cast_UpdateCastTagStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateCastTagStatusReq) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("UpdateCastTagStatus", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + +func _Cast_RecalculateCastTagQuoteCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(emptypb.Empty) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("RecalculateCastTagQuoteCount", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + // Cast_ServiceDesc is the grpc_go.ServiceDesc for Cast service. // It's only intended for direct use with grpc_go.RegisterService, // and not to be introspected or modified (even as a copy) @@ -3228,6 +3435,26 @@ var Cast_ServiceDesc = grpc_go.ServiceDesc{ MethodName: "DeleteTaskList", Handler: _Cast_DeleteTaskList_Handler, }, + { + MethodName: "UpdateCastTag", + Handler: _Cast_UpdateCastTag_Handler, + }, + { + MethodName: "ListCastTags", + Handler: _Cast_ListCastTags_Handler, + }, + { + MethodName: "UpdateCastTagBatch", + Handler: _Cast_UpdateCastTagBatch_Handler, + }, + { + MethodName: "UpdateCastTagStatus", + Handler: _Cast_UpdateCastTagStatus_Handler, + }, + { + MethodName: "RecalculateCastTagQuoteCount", + Handler: _Cast_RecalculateCastTagQuoteCount_Handler, + }, }, Streams: []grpc_go.StreamDesc{}, Metadata: "pb/fiee/cast.proto",