From 7f0d61b22959fabb002e61393005e83a33cba4e7 Mon Sep 17 00:00:00 2001 From: daiyb <570956418@qq.com> Date: Tue, 3 Feb 2026 15:28:12 +0800 Subject: [PATCH] 1 --- api/cast/cast.pb.go | 749 +++++++++++++++++++++-------------- api/cast/cast.pb.validate.go | 216 ++++++++++ api/cast/cast_triple.pb.go | 45 +++ 3 files changed, 704 insertions(+), 306 deletions(-) diff --git a/api/cast/cast.pb.go b/api/cast/cast.pb.go index a6b9031..44e003e 100644 --- a/api/cast/cast.pb.go +++ b/api/cast/cast.pb.go @@ -3884,6 +3884,7 @@ type PlatformInfo struct { PublishMediaStatus PublishStatusENUM `protobuf:"varint,7,opt,name=publishMediaStatus,proto3,enum=Cast.PublishStatusENUM" json:"publishMediaStatus"` Remark string `protobuf:"bytes,8,opt,name=remark,proto3" json:"remark"` PlatformUuid string `protobuf:"bytes,9,opt,name=platformUuid,proto3" json:"platformUuid"` + PublishSource PublishSourceENUM `protobuf:"varint,10,opt,name=publishSource,proto3,enum=Cast.PublishSourceENUM" json:"publishSource"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3981,6 +3982,13 @@ func (x *PlatformInfo) GetPlatformUuid() string { return "" } +func (x *PlatformInfo) GetPublishSource() PublishSourceENUM { + if x != nil { + return x.PublishSource + } + return PublishSourceENUM_RePublishType_UNKNOW +} + type UpdateWorkPlatformInfoReq struct { state protoimpl.MessageState `protogen:"open.v1"` PlatformInfoData []*PlatformInfo `protobuf:"bytes,1,rep,name=PlatformInfoData,proto3" json:"PlatformInfoData"` @@ -4075,6 +4083,7 @@ type UpdateWorkPublishLogReq struct { PlatformID PlatformIDENUM `protobuf:"varint,2,opt,name=platformID,proto3,enum=Cast.PlatformIDENUM" json:"platformID"` Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail"` Action string `protobuf:"bytes,4,opt,name=action,proto3" json:"action"` + PublishSource PublishSourceENUM `protobuf:"varint,5,opt,name=publishSource,proto3,enum=Cast.PublishSourceENUM" json:"publishSource"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -4137,6 +4146,13 @@ func (x *UpdateWorkPublishLogReq) GetAction() string { return "" } +func (x *UpdateWorkPublishLogReq) GetPublishSource() PublishSourceENUM { + if x != nil { + return x.PublishSource + } + return PublishSourceENUM_RePublishType_UNKNOW +} + type RefreshWorkListReq struct { state protoimpl.MessageState `protogen:"open.v1"` PublishStatus uint32 `protobuf:"varint,1,opt,name=publishStatus,proto3" json:"publishStatus"` @@ -16439,6 +16455,111 @@ func (x *UpdateMediaAccStatusResp) GetMediaAccUserID() string { return "" } +// 解除自媒体账号授权 +type UnbindMediaAuthReq struct { + state protoimpl.MessageState `protogen:"open.v1"` + MediaAccountUuid string `protobuf:"bytes,1,opt,name=mediaAccountUuid,proto3" json:"mediaAccountUuid"` // 自媒体账号UUID(必填) + Remark string `protobuf:"bytes,2,opt,name=remark,proto3" json:"remark"` // 备注信息(可选) + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UnbindMediaAuthReq) Reset() { + *x = UnbindMediaAuthReq{} + mi := &file_pb_fiee_cast_proto_msgTypes[196] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UnbindMediaAuthReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnbindMediaAuthReq) ProtoMessage() {} + +func (x *UnbindMediaAuthReq) ProtoReflect() protoreflect.Message { + mi := &file_pb_fiee_cast_proto_msgTypes[196] + 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 UnbindMediaAuthReq.ProtoReflect.Descriptor instead. +func (*UnbindMediaAuthReq) Descriptor() ([]byte, []int) { + return file_pb_fiee_cast_proto_rawDescGZIP(), []int{196} +} + +func (x *UnbindMediaAuthReq) GetMediaAccountUuid() string { + if x != nil { + return x.MediaAccountUuid + } + return "" +} + +func (x *UnbindMediaAuthReq) GetRemark() string { + if x != nil { + return x.Remark + } + return "" +} + +type UnbindMediaAuthResp struct { + state protoimpl.MessageState `protogen:"open.v1"` + Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success"` // 操作是否成功 + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message"` // 返回信息 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UnbindMediaAuthResp) Reset() { + *x = UnbindMediaAuthResp{} + mi := &file_pb_fiee_cast_proto_msgTypes[197] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UnbindMediaAuthResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnbindMediaAuthResp) ProtoMessage() {} + +func (x *UnbindMediaAuthResp) ProtoReflect() protoreflect.Message { + mi := &file_pb_fiee_cast_proto_msgTypes[197] + 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 UnbindMediaAuthResp.ProtoReflect.Descriptor instead. +func (*UnbindMediaAuthResp) Descriptor() ([]byte, []int) { + return file_pb_fiee_cast_proto_rawDescGZIP(), []int{197} +} + +func (x *UnbindMediaAuthResp) GetSuccess() bool { + if x != nil { + return x.Success + } + return false +} + +func (x *UnbindMediaAuthResp) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + type WorkListResp_Info struct { state protoimpl.MessageState `protogen:"open.v1"` WorkUuid string `protobuf:"bytes,1,opt,name=workUuid,proto3" json:"workUuid"` @@ -16477,7 +16598,7 @@ type WorkListResp_Info struct { func (x *WorkListResp_Info) Reset() { *x = WorkListResp_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[196] + mi := &file_pb_fiee_cast_proto_msgTypes[198] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16489,7 +16610,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[196] + mi := &file_pb_fiee_cast_proto_msgTypes[198] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16729,7 +16850,7 @@ type MediaAccountsResp_Info struct { func (x *MediaAccountsResp_Info) Reset() { *x = MediaAccountsResp_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[199] + mi := &file_pb_fiee_cast_proto_msgTypes[201] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16741,7 +16862,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[199] + mi := &file_pb_fiee_cast_proto_msgTypes[201] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16817,7 +16938,7 @@ type MediaWorksResp_Info struct { func (x *MediaWorksResp_Info) Reset() { *x = MediaWorksResp_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[200] + mi := &file_pb_fiee_cast_proto_msgTypes[202] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16829,7 +16950,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[200] + mi := &file_pb_fiee_cast_proto_msgTypes[202] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16925,7 +17046,7 @@ type PublishResp_Info struct { func (x *PublishResp_Info) Reset() { *x = PublishResp_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[201] + mi := &file_pb_fiee_cast_proto_msgTypes[203] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16937,7 +17058,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[201] + mi := &file_pb_fiee_cast_proto_msgTypes[203] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16987,7 +17108,7 @@ type WorkListPublishedResp_Info struct { func (x *WorkListPublishedResp_Info) Reset() { *x = WorkListPublishedResp_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[202] + mi := &file_pb_fiee_cast_proto_msgTypes[204] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16999,7 +17120,7 @@ func (x *WorkListPublishedResp_Info) String() string { func (*WorkListPublishedResp_Info) ProtoMessage() {} func (x *WorkListPublishedResp_Info) ProtoReflect() protoreflect.Message { - mi := &file_pb_fiee_cast_proto_msgTypes[202] + mi := &file_pb_fiee_cast_proto_msgTypes[204] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17110,7 +17231,7 @@ type RefreshWorkListResp_Info struct { func (x *RefreshWorkListResp_Info) Reset() { *x = RefreshWorkListResp_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[203] + mi := &file_pb_fiee_cast_proto_msgTypes[205] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17122,7 +17243,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[203] + mi := &file_pb_fiee_cast_proto_msgTypes[205] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17173,7 +17294,7 @@ type RefreshWorkListResp_Info_PlatformInfo struct { func (x *RefreshWorkListResp_Info_PlatformInfo) Reset() { *x = RefreshWorkListResp_Info_PlatformInfo{} - mi := &file_pb_fiee_cast_proto_msgTypes[204] + mi := &file_pb_fiee_cast_proto_msgTypes[206] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17185,7 +17306,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[204] + mi := &file_pb_fiee_cast_proto_msgTypes[206] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17256,7 +17377,7 @@ type UpdateOAuthReq_Info struct { func (x *UpdateOAuthReq_Info) Reset() { *x = UpdateOAuthReq_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[205] + mi := &file_pb_fiee_cast_proto_msgTypes[207] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17268,7 +17389,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[205] + mi := &file_pb_fiee_cast_proto_msgTypes[207] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17820,7 +17941,7 @@ const file_pb_fiee_cast_proto_rawDesc = "" + "imageWorks\x18\x01 \x03(\v2\x18.Cast.UpdateWorkImageReqR\n" + "imageWorks\x12\"\n" + "\fsuccessCount\x18\x02 \x01(\x05R\fsuccessCount\x12\x1c\n" + - "\tfailCount\x18\x03 \x01(\x05R\tfailCount\"\xe7\x02\n" + + "\tfailCount\x18\x03 \x01(\x05R\tfailCount\"\xa6\x03\n" + "\fPlatformInfo\x12\x1a\n" + "\bworkUuid\x18\x01 \x01(\tR\bworkUuid\x12*\n" + "\x10mediaAccountUuid\x18\x02 \x01(\tR\x10mediaAccountUuid\x12\x1e\n" + @@ -17832,18 +17953,21 @@ const file_pb_fiee_cast_proto_rawDesc = "" + "\x0epublishMediaId\x18\x06 \x01(\tR\x0epublishMediaId\x12G\n" + "\x12publishMediaStatus\x18\a \x01(\x0e2\x17.Cast.PublishStatusENUMR\x12publishMediaStatus\x12\x16\n" + "\x06remark\x18\b \x01(\tR\x06remark\x12\"\n" + - "\fplatformUuid\x18\t \x01(\tR\fplatformUuid\"[\n" + + "\fplatformUuid\x18\t \x01(\tR\fplatformUuid\x12=\n" + + "\rpublishSource\x18\n" + + " \x01(\x0e2\x17.Cast.PublishSourceENUMR\rpublishSource\"[\n" + "\x19UpdateWorkPlatformInfoReq\x12>\n" + "\x10PlatformInfoData\x18\x01 \x03(\v2\x12.Cast.PlatformInfoR\x10PlatformInfoData\"8\n" + "\x1aUpdateWorkPlatformInfoResp\x12\x1a\n" + - "\bworkUuid\x18\x01 \x03(\tR\bworkUuid\"\x9b\x01\n" + + "\bworkUuid\x18\x01 \x03(\tR\bworkUuid\"\xda\x01\n" + "\x17UpdateWorkPublishLogReq\x12\x1a\n" + "\bworkUuid\x18\x01 \x01(\tR\bworkUuid\x124\n" + "\n" + "platformID\x18\x02 \x01(\x0e2\x14.Cast.PlatformIDENUMR\n" + "platformID\x12\x16\n" + "\x06detail\x18\x03 \x01(\tR\x06detail\x12\x16\n" + - "\x06action\x18\x04 \x01(\tR\x06action\":\n" + + "\x06action\x18\x04 \x01(\tR\x06action\x12=\n" + + "\rpublishSource\x18\x05 \x01(\x0e2\x17.Cast.PublishSourceENUMR\rpublishSource\":\n" + "\x12RefreshWorkListReq\x12$\n" + "\rpublishStatus\x18\x01 \x01(\rR\rpublishStatus\"\xe2\x03\n" + "\x13RefreshWorkListResp\x122\n" + @@ -19234,7 +19358,13 @@ const file_pb_fiee_cast_proto_rawDesc = "" + "\binfoResp\x18\x03 \x01(\tR\binfoResp\"l\n" + "\x18UpdateMediaAccStatusResp\x12(\n" + "\x0fexceptionStatus\x18\x01 \x01(\x05R\x0fexceptionStatus\x12&\n" + - "\x0emediaAccUserID\x18\x02 \x01(\tR\x0emediaAccUserID*T\n" + + "\x0emediaAccUserID\x18\x02 \x01(\tR\x0emediaAccUserID\"X\n" + + "\x12UnbindMediaAuthReq\x12*\n" + + "\x10mediaAccountUuid\x18\x01 \x01(\tR\x10mediaAccountUuid\x12\x16\n" + + "\x06remark\x18\x02 \x01(\tR\x06remark\"I\n" + + "\x13UnbindMediaAuthResp\x12\x18\n" + + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" + + "\amessage\x18\x02 \x01(\tR\amessage*T\n" + "\x0ePlatformIDENUM\x12\v\n" + "\aUNKNOWN\x10\x00\x12\n" + "\n" + @@ -19281,7 +19411,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\xa46\n" + + "\fLONG_CONTENT\x10\x042\xee6\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" + @@ -19312,7 +19442,8 @@ const file_pb_fiee_cast_proto_rawDesc = "" + "\fWorkResource\x12\x15.Cast.WorkResourceReq\x1a\x16.Cast.WorkResourceResp\"\x00\x12Q\n" + "\x12UpdateWorkResource\x12\x1b.Cast.UpdateWorkResourceReq\x1a\x1c.Cast.UpdateWorkResourceResp\"\x00\x12W\n" + "\x14UpdateMediaAccStatus\x12\x1d.Cast.UpdateMediaAccStatusReq\x1a\x1e.Cast.UpdateMediaAccStatusResp\"\x00\x12?\n" + - "\fOAuthAccount\x12\x15.Cast.OAuthAccountReq\x1a\x16.Cast.OAuthAccountResp\"\x00\x12E\n" + + "\fOAuthAccount\x12\x15.Cast.OAuthAccountReq\x1a\x16.Cast.OAuthAccountResp\"\x00\x12H\n" + + "\x0fUnbindMediaAuth\x12\x18.Cast.UnbindMediaAuthReq\x1a\x19.Cast.UnbindMediaAuthResp\"\x00\x12E\n" + "\x0eOAuthAccountV2\x12\x17.Cast.OAuthAccountV2Req\x1a\x18.Cast.OAuthAccountV2Resp\"\x00\x12K\n" + "\x10OAuthCodeToToken\x12\x19.Cast.OAuthCodeToTokenReq\x1a\x1a.Cast.OAuthCodeToTokenResp\"\x00\x12=\n" + "\vUpdateOAuth\x12\x14.Cast.UpdateOAuthReq\x1a\x16.google.protobuf.Empty\"\x00\x12?\n" + @@ -19389,7 +19520,7 @@ func file_pb_fiee_cast_proto_rawDescGZIP() []byte { } var file_pb_fiee_cast_proto_enumTypes = make([]protoimpl.EnumInfo, 8) -var file_pb_fiee_cast_proto_msgTypes = make([]protoimpl.MessageInfo, 206) +var file_pb_fiee_cast_proto_msgTypes = make([]protoimpl.MessageInfo, 208) var file_pb_fiee_cast_proto_goTypes = []any{ (PlatformIDENUM)(0), // 0: Cast.PlatformIDENUM (AuthStatusENUM)(0), // 1: Cast.AuthStatusENUM @@ -19595,17 +19726,19 @@ var file_pb_fiee_cast_proto_goTypes = []any{ (*UpdateWorkResourceResp)(nil), // 201: Cast.UpdateWorkResourceResp (*UpdateMediaAccStatusReq)(nil), // 202: Cast.UpdateMediaAccStatusReq (*UpdateMediaAccStatusResp)(nil), // 203: Cast.UpdateMediaAccStatusResp - (*WorkListResp_Info)(nil), // 204: Cast.WorkListResp.Info - nil, // 205: Cast.WorkListResp.Info.PublishMediaIDsEntry - nil, // 206: Cast.WorkDetailResp.MediaAccDataEntry - (*MediaAccountsResp_Info)(nil), // 207: Cast.MediaAccountsResp.Info - (*MediaWorksResp_Info)(nil), // 208: Cast.MediaWorksResp.Info - (*PublishResp_Info)(nil), // 209: Cast.PublishResp.Info - (*WorkListPublishedResp_Info)(nil), // 210: Cast.WorkListPublishedResp.Info - (*RefreshWorkListResp_Info)(nil), // 211: Cast.RefreshWorkListResp.Info - (*RefreshWorkListResp_Info_PlatformInfo)(nil), // 212: Cast.RefreshWorkListResp.Info.PlatformInfo - (*UpdateOAuthReq_Info)(nil), // 213: Cast.UpdateOAuthReq.Info - (*emptypb.Empty)(nil), // 214: google.protobuf.Empty + (*UnbindMediaAuthReq)(nil), // 204: Cast.UnbindMediaAuthReq + (*UnbindMediaAuthResp)(nil), // 205: Cast.UnbindMediaAuthResp + (*WorkListResp_Info)(nil), // 206: Cast.WorkListResp.Info + nil, // 207: Cast.WorkListResp.Info.PublishMediaIDsEntry + nil, // 208: Cast.WorkDetailResp.MediaAccDataEntry + (*MediaAccountsResp_Info)(nil), // 209: Cast.MediaAccountsResp.Info + (*MediaWorksResp_Info)(nil), // 210: Cast.MediaWorksResp.Info + (*PublishResp_Info)(nil), // 211: Cast.PublishResp.Info + (*WorkListPublishedResp_Info)(nil), // 212: Cast.WorkListPublishedResp.Info + (*RefreshWorkListResp_Info)(nil), // 213: Cast.RefreshWorkListResp.Info + (*RefreshWorkListResp_Info_PlatformInfo)(nil), // 214: Cast.RefreshWorkListResp.Info.PlatformInfo + (*UpdateOAuthReq_Info)(nil), // 215: Cast.UpdateOAuthReq.Info + (*emptypb.Empty)(nil), // 216: google.protobuf.Empty } var file_pb_fiee_cast_proto_depIdxs = []int32{ 0, // 0: Cast.MediaUserListReq.platformID:type_name -> Cast.PlatformIDENUM @@ -19631,293 +19764,297 @@ var file_pb_fiee_cast_proto_depIdxs = []int32{ 10, // 20: Cast.MediaInfoResp.info:type_name -> Cast.MediaUserInfo 0, // 21: Cast.MediaInfoByPlatformReq.platformID:type_name -> Cast.PlatformIDENUM 10, // 22: Cast.MediaInfoByPlatformResp.info:type_name -> Cast.MediaUserInfo - 204, // 23: Cast.WorkListResp.data:type_name -> Cast.WorkListResp.Info + 206, // 23: Cast.WorkListResp.data:type_name -> Cast.WorkListResp.Info 19, // 24: Cast.WorkDetailResp.publishConfig1:type_name -> Cast.PublishConfig 19, // 25: Cast.WorkDetailResp.publishConfig2:type_name -> Cast.PublishConfig 19, // 26: Cast.WorkDetailResp.publishConfig3:type_name -> Cast.PublishConfig 19, // 27: Cast.WorkDetailResp.publishConfig4:type_name -> Cast.PublishConfig 29, // 28: Cast.WorkDetailResp.WorkLogData:type_name -> Cast.WorkLogInfo - 206, // 29: Cast.WorkDetailResp.mediaAccData:type_name -> Cast.WorkDetailResp.MediaAccDataEntry + 208, // 29: Cast.WorkDetailResp.mediaAccData:type_name -> Cast.WorkDetailResp.MediaAccDataEntry 19, // 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 - 207, // 34: Cast.MediaAccountsResp.data:type_name -> Cast.MediaAccountsResp.Info - 208, // 35: Cast.MediaWorksResp.data:type_name -> Cast.MediaWorksResp.Info + 209, // 34: Cast.MediaAccountsResp.data:type_name -> Cast.MediaAccountsResp.Info + 210, // 35: Cast.MediaWorksResp.data:type_name -> Cast.MediaWorksResp.Info 6, // 36: Cast.PublishReq.publishSource:type_name -> Cast.PublishSourceENUM - 209, // 37: Cast.PublishResp.data:type_name -> Cast.PublishResp.Info + 211, // 37: Cast.PublishResp.data:type_name -> Cast.PublishResp.Info 0, // 38: Cast.RePublishReq.platformIDs:type_name -> Cast.PlatformIDENUM 6, // 39: Cast.RePublishReq.publishSource:type_name -> Cast.PublishSourceENUM 49, // 40: Cast.WorkInfoResp.platformInfoData:type_name -> Cast.PlatformInfo 4, // 41: Cast.WorkInfoResp.publishStatus:type_name -> Cast.PublishStatusENUM - 210, // 42: Cast.WorkListPublishedResp.data:type_name -> Cast.WorkListPublishedResp.Info + 212, // 42: Cast.WorkListPublishedResp.data:type_name -> Cast.WorkListPublishedResp.Info 17, // 43: Cast.ImportWorkBatchReq.imageWorks:type_name -> Cast.UpdateWorkImageReq 17, // 44: Cast.ImportWorkBatchResp.imageWorks:type_name -> Cast.UpdateWorkImageReq 4, // 45: Cast.PlatformInfo.publishMediaStatus:type_name -> Cast.PublishStatusENUM - 49, // 46: Cast.UpdateWorkPlatformInfoReq.PlatformInfoData:type_name -> Cast.PlatformInfo - 0, // 47: Cast.UpdateWorkPublishLogReq.platformID:type_name -> Cast.PlatformIDENUM - 211, // 48: Cast.RefreshWorkListResp.Data:type_name -> Cast.RefreshWorkListResp.Info - 0, // 49: Cast.OAuthCodeToTokenReq.platformID:type_name -> Cast.PlatformIDENUM - 213, // 50: Cast.UpdateOAuthReq.Data:type_name -> Cast.UpdateOAuthReq.Info - 0, // 51: Cast.RefreshTokenReq.platformID:type_name -> Cast.PlatformIDENUM - 74, // 52: Cast.ListVideoScriptsResp.data:type_name -> Cast.VideoScriptInfo - 74, // 53: Cast.UpdateVideoScriptBatchReq.data:type_name -> Cast.VideoScriptInfo - 74, // 54: Cast.UpdateVideoScriptBatchResp.data:type_name -> Cast.VideoScriptInfo - 2, // 55: Cast.UpdateScriptStatusReq.workAction:type_name -> Cast.WorkActionENUM - 7, // 56: Cast.UpdatePromptReq.category:type_name -> Cast.CategoryENUM - 7, // 57: Cast.GetPromptResp.category:type_name -> Cast.CategoryENUM - 7, // 58: Cast.ListPromptsReq.category:type_name -> Cast.CategoryENUM - 7, // 59: Cast.PromptInfo.category:type_name -> Cast.CategoryENUM - 88, // 60: Cast.ListPromptsResp.data:type_name -> Cast.PromptInfo - 88, // 61: Cast.UpdatePromptBatchReq.data:type_name -> Cast.PromptInfo - 88, // 62: Cast.UpdatePromptBatchResp.data:type_name -> Cast.PromptInfo - 92, // 63: Cast.UpdateArtistReq.artistInfo:type_name -> Cast.ArtistInfo - 92, // 64: Cast.GetArtistResp.artistInfo:type_name -> Cast.ArtistInfo - 2, // 65: Cast.UpdateWorkAnalysisStatusReq.workAction:type_name -> Cast.WorkActionENUM - 102, // 66: Cast.GetWorkAnalysisResp.fansSeries:type_name -> Cast.WorkAnalysisFansSeries - 103, // 67: Cast.GetWorkAnalysisResp.viewsSeries:type_name -> Cast.WorkAnalysisViewsSeries - 104, // 68: Cast.GetWorkAnalysisResp.likesSeries:type_name -> Cast.WorkAnalysisLikesSeries - 105, // 69: Cast.GetWorkAnalysisResp.commentsSeries:type_name -> Cast.WorkAnalysisCommentsSeries - 106, // 70: Cast.GetWorkAnalysisResp.sharesSeries:type_name -> Cast.WorkAnalysisSharesSeries - 107, // 71: Cast.GetWorkAnalysisResp.topCitiesSeries:type_name -> Cast.WorkAnalysisTopCities - 108, // 72: Cast.GetWorkAnalysisResp.mostActiveDaySeries:type_name -> Cast.WorkAnalysisMostActiveDay - 109, // 73: Cast.GetWorkAnalysisResp.bestPostTimeSeries:type_name -> Cast.WorkAnalysisBestPostTime - 101, // 74: Cast.GetWorkAnalysisDetailResp.WorkAnalysisLogData:type_name -> Cast.WorkAnalysisLogInfo - 102, // 75: Cast.GetWorkAnalysisDetailResp.fansSeries:type_name -> Cast.WorkAnalysisFansSeries - 103, // 76: Cast.GetWorkAnalysisDetailResp.viewsSeries:type_name -> Cast.WorkAnalysisViewsSeries - 104, // 77: Cast.GetWorkAnalysisDetailResp.likesSeries:type_name -> Cast.WorkAnalysisLikesSeries - 105, // 78: Cast.GetWorkAnalysisDetailResp.commentsSeries:type_name -> Cast.WorkAnalysisCommentsSeries - 106, // 79: Cast.GetWorkAnalysisDetailResp.sharesSeries:type_name -> Cast.WorkAnalysisSharesSeries - 107, // 80: Cast.GetWorkAnalysisDetailResp.topCitiesSeries:type_name -> Cast.WorkAnalysisTopCities - 108, // 81: Cast.GetWorkAnalysisDetailResp.mostActiveDaySeries:type_name -> Cast.WorkAnalysisMostActiveDay - 109, // 82: Cast.GetWorkAnalysisDetailResp.bestPostTimeSeries:type_name -> Cast.WorkAnalysisBestPostTime - 110, // 83: Cast.GetWorkAnalysisDetailResp.extra:type_name -> Cast.WorkAnalysisExtra - 116, // 84: Cast.ListWorkAnalysisResp.data:type_name -> Cast.WorkAnalysisInfo - 120, // 85: Cast.ArtistDataListResp.data:type_name -> Cast.ArtistDataRespItem - 123, // 86: Cast.MediaDataListResp.data:type_name -> Cast.MediaDataListItem - 102, // 87: Cast.ArtistMetricsSeriesResp.fansSeries:type_name -> Cast.WorkAnalysisFansSeries - 103, // 88: Cast.ArtistMetricsSeriesResp.viewsSeries:type_name -> Cast.WorkAnalysisViewsSeries - 104, // 89: Cast.ArtistMetricsSeriesResp.likesSeries:type_name -> Cast.WorkAnalysisLikesSeries - 105, // 90: Cast.ArtistMetricsSeriesResp.commentsSeries:type_name -> Cast.WorkAnalysisCommentsSeries - 106, // 91: Cast.ArtistMetricsSeriesResp.sharesSeries:type_name -> Cast.WorkAnalysisSharesSeries - 109, // 92: Cast.ArtistMetricsSeriesResp.bestPostTime:type_name -> Cast.WorkAnalysisBestPostTime - 108, // 93: Cast.ArtistMetricsSeriesResp.mostActiveDay:type_name -> Cast.WorkAnalysisMostActiveDay - 130, // 94: Cast.ArtistMetricsDailyWindowResp.fans:type_name -> Cast.SimplePoint - 130, // 95: Cast.ArtistMetricsDailyWindowResp.views:type_name -> Cast.SimplePoint - 130, // 96: Cast.ArtistMetricsDailyWindowResp.likes:type_name -> Cast.SimplePoint - 130, // 97: Cast.ArtistMetricsDailyWindowResp.comments:type_name -> Cast.SimplePoint - 130, // 98: Cast.ArtistMetricsDailyWindowResp.shares:type_name -> Cast.SimplePoint - 131, // 99: Cast.ArtistMetricsDailyWindowResp.bestPostTime:type_name -> Cast.BestPostTimePoint - 132, // 100: Cast.ArtistMetricsDailyWindowResp.mostActiveDay:type_name -> Cast.MostActiveDayPoint - 135, // 101: Cast.TobeConfirmedListResp.data:type_name -> Cast.TobeConfirmedItem - 138, // 102: Cast.UpsertMediaMetricsDailyBatchReq.data:type_name -> Cast.MediaMetricsDailyItem - 141, // 103: Cast.UpsertWorkMetricsDailyBatchReq.data:type_name -> Cast.WorkMetricsDailyItem - 145, // 104: Cast.GetArtistAyrShareInfoResp.data:type_name -> Cast.ArtistAyrShareInfo - 145, // 105: Cast.GetArtistAyrShareInfoByPlatformIDsResp.data:type_name -> Cast.ArtistAyrShareInfo - 150, // 106: Cast.ListWorkPlatformInfoResp.data:type_name -> Cast.WorkPlatformInfo - 153, // 107: Cast.ListMediaMetricsDailyResp.data:type_name -> Cast.MediaMetricsDailyInfo - 156, // 108: Cast.ListWorkMetricsDailyResp.data:type_name -> Cast.WorkMetricsDailyInfo - 161, // 109: Cast.GetTaskListResp.data:type_name -> Cast.TaskListInfo - 161, // 110: Cast.ListTaskListResp.data:type_name -> Cast.TaskListInfo - 171, // 111: Cast.ListCastTagsResp.data:type_name -> Cast.CastTagInfo - 171, // 112: Cast.UpdateCastTagBatchReq.data:type_name -> Cast.CastTagInfo - 171, // 113: Cast.UpdateCastTagBatchResp.data:type_name -> Cast.CastTagInfo - 171, // 114: Cast.BatchUpdateCastTagsReq.data:type_name -> Cast.CastTagInfo - 2, // 115: Cast.UpdateCompetitiveReportStatusReq.workAction:type_name -> Cast.WorkActionENUM - 183, // 116: Cast.GetCompetitiveReportDetailResp.reportLogData:type_name -> Cast.CompetitiveReportLogInfo - 184, // 117: Cast.GetCompetitiveReportDetailResp.extra:type_name -> Cast.CompetitiveReportExtra - 190, // 118: Cast.ListCompetitiveReportResp.data:type_name -> Cast.CompetitiveReportInfo - 178, // 119: Cast.ImportCompetitiveReportBatchReq.reports:type_name -> Cast.CreateCompetitiveReportReq - 178, // 120: Cast.ImportCompetitiveReportBatchResp.reports:type_name -> Cast.CreateCompetitiveReportReq - 196, // 121: Cast.CountCompetitiveReportByWorkUuidsResp.data:type_name -> Cast.WorkUuidCount - 205, // 122: Cast.WorkListResp.Info.PublishMediaIDs:type_name -> Cast.WorkListResp.Info.PublishMediaIDsEntry - 10, // 123: Cast.WorkDetailResp.MediaAccDataEntry.value:type_name -> Cast.MediaUserInfo - 212, // 124: Cast.RefreshWorkListResp.Info.PlatformInfoData:type_name -> Cast.RefreshWorkListResp.Info.PlatformInfo - 0, // 125: Cast.RefreshWorkListResp.Info.PlatformInfo.platformID:type_name -> Cast.PlatformIDENUM - 0, // 126: Cast.UpdateOAuthReq.Info.platformID:type_name -> Cast.PlatformIDENUM - 9, // 127: Cast.Cast.MediaUserList:input_type -> Cast.MediaUserListReq - 12, // 128: Cast.Cast.UpdateMediaAccount:input_type -> Cast.UpdateMediaAccountReq - 14, // 129: Cast.Cast.UnbindManager:input_type -> Cast.UnbindManagerReq - 16, // 130: Cast.Cast.BindManager:input_type -> Cast.BindManagerReq - 17, // 131: Cast.Cast.UpdateWorkImage:input_type -> Cast.UpdateWorkImageReq - 20, // 132: Cast.Cast.UpdateWorkVideo:input_type -> Cast.UpdateWorkVideoReq - 22, // 133: Cast.Cast.MediaInfo:input_type -> Cast.MediaInfoReq - 24, // 134: Cast.Cast.MediaInfoByPlatform:input_type -> Cast.MediaInfoByPlatformReq - 26, // 135: Cast.Cast.WorkList:input_type -> Cast.WorkListReq - 43, // 136: Cast.Cast.WorkListPublished:input_type -> Cast.WorkListPublishedReq - 28, // 137: Cast.Cast.WorkDetail:input_type -> Cast.WorkDetailReq - 31, // 138: Cast.Cast.UpdateStatus:input_type -> Cast.UpdateStatusReq - 32, // 139: Cast.Cast.MediaAccounts:input_type -> Cast.MediaAccountsReq - 34, // 140: Cast.Cast.MediaWorks:input_type -> Cast.MediaWorksReq - 36, // 141: Cast.Cast.Publish:input_type -> Cast.PublishReq - 38, // 142: Cast.Cast.RePublish:input_type -> Cast.RePublishReq - 40, // 143: Cast.Cast.DelWork:input_type -> Cast.DelWorkReq - 41, // 144: Cast.Cast.WorkInfo:input_type -> Cast.WorkInfoReq - 45, // 145: Cast.Cast.ArtistInfo:input_type -> Cast.ArtistInfoReq - 47, // 146: Cast.Cast.ImportWorkBatch:input_type -> Cast.ImportWorkBatchReq - 50, // 147: Cast.Cast.UpdateWorkPlatformInfo:input_type -> Cast.UpdateWorkPlatformInfoReq - 52, // 148: Cast.Cast.UpdateWorkPublishLog:input_type -> Cast.UpdateWorkPublishLogReq - 53, // 149: Cast.Cast.RefreshWorkList:input_type -> Cast.RefreshWorkListReq - 198, // 150: Cast.Cast.WorkResource:input_type -> Cast.WorkResourceReq - 200, // 151: Cast.Cast.UpdateWorkResource:input_type -> Cast.UpdateWorkResourceReq - 202, // 152: Cast.Cast.UpdateMediaAccStatus:input_type -> Cast.UpdateMediaAccStatusReq - 55, // 153: Cast.Cast.OAuthAccount:input_type -> Cast.OAuthAccountReq - 57, // 154: Cast.Cast.OAuthAccountV2:input_type -> Cast.OAuthAccountV2Req - 61, // 155: Cast.Cast.OAuthCodeToToken:input_type -> Cast.OAuthCodeToTokenReq - 63, // 156: Cast.Cast.UpdateOAuth:input_type -> Cast.UpdateOAuthReq - 64, // 157: Cast.Cast.RefreshToken:input_type -> Cast.RefreshTokenReq - 66, // 158: Cast.Cast.PublishMediaInfo:input_type -> Cast.PublishMediaInfoReq - 68, // 159: Cast.Cast.Tools:input_type -> Cast.ToolsReq - 69, // 160: Cast.Cast.UpdateVideoScript:input_type -> Cast.UpdateVideoScriptReq - 71, // 161: Cast.Cast.GetVideoScript:input_type -> Cast.GetVideoScriptReq - 73, // 162: Cast.Cast.ListVideoScripts:input_type -> Cast.ListVideoScriptsReq - 76, // 163: Cast.Cast.DeleteVideoScript:input_type -> Cast.DeleteVideoScriptReq - 77, // 164: Cast.Cast.UpdateVideoScriptBatch:input_type -> Cast.UpdateVideoScriptBatchReq - 79, // 165: Cast.Cast.UpdateScriptStatus:input_type -> Cast.UpdateScriptStatusReq - 81, // 166: Cast.Cast.GetLayout:input_type -> Cast.GetLayoutReq - 80, // 167: Cast.Cast.SetLayout:input_type -> Cast.SetLayoutReq - 83, // 168: Cast.Cast.UpdatePrompt:input_type -> Cast.UpdatePromptReq - 84, // 169: Cast.Cast.DeletePrompt:input_type -> Cast.DeletePromptReq - 85, // 170: Cast.Cast.GetPrompt:input_type -> Cast.GetPromptReq - 87, // 171: Cast.Cast.ListPrompts:input_type -> Cast.ListPromptsReq - 90, // 172: Cast.Cast.UpdatePromptBatch:input_type -> Cast.UpdatePromptBatchReq - 93, // 173: Cast.Cast.UpdateArtist:input_type -> Cast.UpdateArtistReq - 95, // 174: Cast.Cast.GetArtist:input_type -> Cast.GetArtistReq - 97, // 175: Cast.Cast.CreateWorkAnalysis:input_type -> Cast.CreateWorkAnalysisReq - 99, // 176: Cast.Cast.UpdateWorkAnalysis:input_type -> Cast.UpdateWorkAnalysisReq - 100, // 177: Cast.Cast.UpdateWorkAnalysisStatus:input_type -> Cast.UpdateWorkAnalysisStatusReq - 111, // 178: Cast.Cast.GetWorkAnalysis:input_type -> Cast.GetWorkAnalysisDetailReq - 112, // 179: Cast.Cast.GetLatestWorkAnalysis:input_type -> Cast.GetLatestWorkAnalysisReq - 115, // 180: Cast.Cast.ListWorkAnalysis:input_type -> Cast.ListWorkAnalysisReq - 118, // 181: Cast.Cast.DeleteWorkAnalysis:input_type -> Cast.DeleteWorkAnalysisReq - 137, // 182: Cast.Cast.UpdateWorkAnalysisApprovalID:input_type -> Cast.UpdateWorkAnalysisApprovalIDReq - 119, // 183: Cast.Cast.ArtistDataList:input_type -> Cast.ArtistDataListReq - 122, // 184: Cast.Cast.MediaDataList:input_type -> Cast.MediaDataListReq - 125, // 185: Cast.Cast.DataOverview:input_type -> Cast.DataOverviewReq - 127, // 186: Cast.Cast.ArtistMetricsSeries:input_type -> Cast.ArtistMetricsSeriesReq - 129, // 187: Cast.Cast.ArtistMetricsDailyWindow:input_type -> Cast.ArtistMetricsDailyWindowReq - 134, // 188: Cast.Cast.TobeConfirmedList:input_type -> Cast.TobeConfirmedListReq - 139, // 189: Cast.Cast.UpsertMediaMetricsDailyBatch:input_type -> Cast.UpsertMediaMetricsDailyBatchReq - 142, // 190: Cast.Cast.UpsertWorkMetricsDailyBatch:input_type -> Cast.UpsertWorkMetricsDailyBatchReq - 152, // 191: Cast.Cast.ListMediaMetricsDaily:input_type -> Cast.ListMediaMetricsDailyReq - 155, // 192: Cast.Cast.ListWorkMetricsDaily:input_type -> Cast.ListWorkMetricsDailyReq - 166, // 193: Cast.Cast.CalculateMediaMetricsByWorks:input_type -> Cast.CalculateMediaMetricsByWorksReq - 144, // 194: Cast.Cast.GetArtistAyrShareInfo:input_type -> Cast.GetArtistAyrShareInfoReq - 147, // 195: Cast.Cast.GetArtistAyrShareInfoByPlatformIDs:input_type -> Cast.GetArtistAyrShareInfoByPlatformIDsReq - 149, // 196: Cast.Cast.ListWorkPlatformInfo:input_type -> Cast.ListWorkPlatformInfoReq - 158, // 197: Cast.Cast.UpsertTaskList:input_type -> Cast.UpsertTaskListReq - 160, // 198: Cast.Cast.GetTaskList:input_type -> Cast.GetTaskListReq - 163, // 199: Cast.Cast.ListTaskList:input_type -> Cast.ListTaskListReq - 165, // 200: Cast.Cast.DeleteTaskList:input_type -> Cast.DeleteTaskListReq - 168, // 201: Cast.Cast.UpdateCastTag:input_type -> Cast.UpdateCastTagReq - 170, // 202: Cast.Cast.ListCastTags:input_type -> Cast.ListCastTagsReq - 173, // 203: Cast.Cast.UpdateCastTagBatch:input_type -> Cast.UpdateCastTagBatchReq - 175, // 204: Cast.Cast.BatchUpdateCastTags:input_type -> Cast.BatchUpdateCastTagsReq - 176, // 205: Cast.Cast.UpdateCastTagStatus:input_type -> Cast.UpdateCastTagStatusReq - 214, // 206: Cast.Cast.RecalculateCastTagQuoteCount:input_type -> google.protobuf.Empty - 178, // 207: Cast.Cast.CreateCompetitiveReport:input_type -> Cast.CreateCompetitiveReportReq - 193, // 208: Cast.Cast.ImportCompetitiveReportBatch:input_type -> Cast.ImportCompetitiveReportBatchReq - 181, // 209: Cast.Cast.UpdateCompetitiveReportStatus:input_type -> Cast.UpdateCompetitiveReportStatusReq - 185, // 210: Cast.Cast.GetCompetitiveReport:input_type -> Cast.GetCompetitiveReportDetailReq - 186, // 211: Cast.Cast.GetCompetitiveReportForApp:input_type -> Cast.GetCompetitiveReportForAppReq - 189, // 212: Cast.Cast.ListCompetitiveReport:input_type -> Cast.ListCompetitiveReportReq - 192, // 213: Cast.Cast.DeleteCompetitiveReport:input_type -> Cast.DeleteCompetitiveReportReq - 182, // 214: Cast.Cast.UpdateCompetitiveReportApprovalID:input_type -> Cast.UpdateCompetitiveReportApprovalIDReq - 195, // 215: Cast.Cast.CountCompetitiveReportByWorkUuids:input_type -> Cast.CountCompetitiveReportByWorkUuidsReq - 11, // 216: Cast.Cast.MediaUserList:output_type -> Cast.MediaUserListResp - 13, // 217: Cast.Cast.UpdateMediaAccount:output_type -> Cast.UpdateMediaAccountResp - 15, // 218: Cast.Cast.UnbindManager:output_type -> Cast.UnbindManagerResp - 214, // 219: Cast.Cast.BindManager:output_type -> google.protobuf.Empty - 18, // 220: Cast.Cast.UpdateWorkImage:output_type -> Cast.UpdateWorkImageResp - 21, // 221: Cast.Cast.UpdateWorkVideo:output_type -> Cast.UpdateWorkVideoResp - 23, // 222: Cast.Cast.MediaInfo:output_type -> Cast.MediaInfoResp - 25, // 223: Cast.Cast.MediaInfoByPlatform:output_type -> Cast.MediaInfoByPlatformResp - 27, // 224: Cast.Cast.WorkList:output_type -> Cast.WorkListResp - 44, // 225: Cast.Cast.WorkListPublished:output_type -> Cast.WorkListPublishedResp - 30, // 226: Cast.Cast.WorkDetail:output_type -> Cast.WorkDetailResp - 214, // 227: Cast.Cast.UpdateStatus:output_type -> google.protobuf.Empty - 33, // 228: Cast.Cast.MediaAccounts:output_type -> Cast.MediaAccountsResp - 35, // 229: Cast.Cast.MediaWorks:output_type -> Cast.MediaWorksResp - 37, // 230: Cast.Cast.Publish:output_type -> Cast.PublishResp - 39, // 231: Cast.Cast.RePublish:output_type -> Cast.RePublishResp - 214, // 232: Cast.Cast.DelWork:output_type -> google.protobuf.Empty - 42, // 233: Cast.Cast.WorkInfo:output_type -> Cast.WorkInfoResp - 46, // 234: Cast.Cast.ArtistInfo:output_type -> Cast.ArtistInfoResp - 48, // 235: Cast.Cast.ImportWorkBatch:output_type -> Cast.ImportWorkBatchResp - 51, // 236: Cast.Cast.UpdateWorkPlatformInfo:output_type -> Cast.UpdateWorkPlatformInfoResp - 214, // 237: Cast.Cast.UpdateWorkPublishLog:output_type -> google.protobuf.Empty - 54, // 238: Cast.Cast.RefreshWorkList:output_type -> Cast.RefreshWorkListResp - 199, // 239: Cast.Cast.WorkResource:output_type -> Cast.WorkResourceResp - 201, // 240: Cast.Cast.UpdateWorkResource:output_type -> Cast.UpdateWorkResourceResp - 203, // 241: Cast.Cast.UpdateMediaAccStatus:output_type -> Cast.UpdateMediaAccStatusResp - 56, // 242: Cast.Cast.OAuthAccount:output_type -> Cast.OAuthAccountResp - 58, // 243: Cast.Cast.OAuthAccountV2:output_type -> Cast.OAuthAccountV2Resp - 62, // 244: Cast.Cast.OAuthCodeToToken:output_type -> Cast.OAuthCodeToTokenResp - 214, // 245: Cast.Cast.UpdateOAuth:output_type -> google.protobuf.Empty - 65, // 246: Cast.Cast.RefreshToken:output_type -> Cast.RefreshTokenResp - 67, // 247: Cast.Cast.PublishMediaInfo:output_type -> Cast.PublishMediaInfoResp - 214, // 248: Cast.Cast.Tools:output_type -> google.protobuf.Empty - 70, // 249: Cast.Cast.UpdateVideoScript:output_type -> Cast.UpdateVideoScriptResp - 72, // 250: Cast.Cast.GetVideoScript:output_type -> Cast.GetVideoScriptResp - 75, // 251: Cast.Cast.ListVideoScripts:output_type -> Cast.ListVideoScriptsResp - 214, // 252: Cast.Cast.DeleteVideoScript:output_type -> google.protobuf.Empty - 78, // 253: Cast.Cast.UpdateVideoScriptBatch:output_type -> Cast.UpdateVideoScriptBatchResp - 214, // 254: Cast.Cast.UpdateScriptStatus:output_type -> google.protobuf.Empty - 82, // 255: Cast.Cast.GetLayout:output_type -> Cast.GetLayoutResp - 214, // 256: Cast.Cast.SetLayout:output_type -> google.protobuf.Empty - 214, // 257: Cast.Cast.UpdatePrompt:output_type -> google.protobuf.Empty - 214, // 258: Cast.Cast.DeletePrompt:output_type -> google.protobuf.Empty - 86, // 259: Cast.Cast.GetPrompt:output_type -> Cast.GetPromptResp - 89, // 260: Cast.Cast.ListPrompts:output_type -> Cast.ListPromptsResp - 91, // 261: Cast.Cast.UpdatePromptBatch:output_type -> Cast.UpdatePromptBatchResp - 94, // 262: Cast.Cast.UpdateArtist:output_type -> Cast.UpdateArtistResp - 96, // 263: Cast.Cast.GetArtist:output_type -> Cast.GetArtistResp - 98, // 264: Cast.Cast.CreateWorkAnalysis:output_type -> Cast.CreateWorkAnalysisResp - 214, // 265: Cast.Cast.UpdateWorkAnalysis:output_type -> google.protobuf.Empty - 214, // 266: Cast.Cast.UpdateWorkAnalysisStatus:output_type -> google.protobuf.Empty - 114, // 267: Cast.Cast.GetWorkAnalysis:output_type -> Cast.GetWorkAnalysisDetailResp - 113, // 268: Cast.Cast.GetLatestWorkAnalysis:output_type -> Cast.GetWorkAnalysisResp - 117, // 269: Cast.Cast.ListWorkAnalysis:output_type -> Cast.ListWorkAnalysisResp - 214, // 270: Cast.Cast.DeleteWorkAnalysis:output_type -> google.protobuf.Empty - 214, // 271: Cast.Cast.UpdateWorkAnalysisApprovalID:output_type -> google.protobuf.Empty - 121, // 272: Cast.Cast.ArtistDataList:output_type -> Cast.ArtistDataListResp - 124, // 273: Cast.Cast.MediaDataList:output_type -> Cast.MediaDataListResp - 126, // 274: Cast.Cast.DataOverview:output_type -> Cast.DataOverviewResp - 128, // 275: Cast.Cast.ArtistMetricsSeries:output_type -> Cast.ArtistMetricsSeriesResp - 133, // 276: Cast.Cast.ArtistMetricsDailyWindow:output_type -> Cast.ArtistMetricsDailyWindowResp - 136, // 277: Cast.Cast.TobeConfirmedList:output_type -> Cast.TobeConfirmedListResp - 140, // 278: Cast.Cast.UpsertMediaMetricsDailyBatch:output_type -> Cast.UpsertMediaMetricsDailyBatchResp - 143, // 279: Cast.Cast.UpsertWorkMetricsDailyBatch:output_type -> Cast.UpsertWorkMetricsDailyBatchResp - 154, // 280: Cast.Cast.ListMediaMetricsDaily:output_type -> Cast.ListMediaMetricsDailyResp - 157, // 281: Cast.Cast.ListWorkMetricsDaily:output_type -> Cast.ListWorkMetricsDailyResp - 167, // 282: Cast.Cast.CalculateMediaMetricsByWorks:output_type -> Cast.CalculateMediaMetricsByWorksResp - 146, // 283: Cast.Cast.GetArtistAyrShareInfo:output_type -> Cast.GetArtistAyrShareInfoResp - 148, // 284: Cast.Cast.GetArtistAyrShareInfoByPlatformIDs:output_type -> Cast.GetArtistAyrShareInfoByPlatformIDsResp - 151, // 285: Cast.Cast.ListWorkPlatformInfo:output_type -> Cast.ListWorkPlatformInfoResp - 159, // 286: Cast.Cast.UpsertTaskList:output_type -> Cast.UpsertTaskListResp - 162, // 287: Cast.Cast.GetTaskList:output_type -> Cast.GetTaskListResp - 164, // 288: Cast.Cast.ListTaskList:output_type -> Cast.ListTaskListResp - 214, // 289: Cast.Cast.DeleteTaskList:output_type -> google.protobuf.Empty - 169, // 290: Cast.Cast.UpdateCastTag:output_type -> Cast.UpdateCastTagResp - 172, // 291: Cast.Cast.ListCastTags:output_type -> Cast.ListCastTagsResp - 174, // 292: Cast.Cast.UpdateCastTagBatch:output_type -> Cast.UpdateCastTagBatchResp - 214, // 293: Cast.Cast.BatchUpdateCastTags:output_type -> google.protobuf.Empty - 214, // 294: Cast.Cast.UpdateCastTagStatus:output_type -> google.protobuf.Empty - 177, // 295: Cast.Cast.RecalculateCastTagQuoteCount:output_type -> Cast.RecalculateCastTagQuoteCountResp - 179, // 296: Cast.Cast.CreateCompetitiveReport:output_type -> Cast.CreateCompetitiveReportResp - 194, // 297: Cast.Cast.ImportCompetitiveReportBatch:output_type -> Cast.ImportCompetitiveReportBatchResp - 214, // 298: Cast.Cast.UpdateCompetitiveReportStatus:output_type -> google.protobuf.Empty - 188, // 299: Cast.Cast.GetCompetitiveReport:output_type -> Cast.GetCompetitiveReportDetailResp - 187, // 300: Cast.Cast.GetCompetitiveReportForApp:output_type -> Cast.GetCompetitiveReportForAppResp - 191, // 301: Cast.Cast.ListCompetitiveReport:output_type -> Cast.ListCompetitiveReportResp - 214, // 302: Cast.Cast.DeleteCompetitiveReport:output_type -> google.protobuf.Empty - 214, // 303: Cast.Cast.UpdateCompetitiveReportApprovalID:output_type -> google.protobuf.Empty - 197, // 304: Cast.Cast.CountCompetitiveReportByWorkUuids:output_type -> Cast.CountCompetitiveReportByWorkUuidsResp - 216, // [216:305] is the sub-list for method output_type - 127, // [127:216] is the sub-list for method input_type - 127, // [127:127] is the sub-list for extension type_name - 127, // [127:127] is the sub-list for extension extendee - 0, // [0:127] is the sub-list for field type_name + 6, // 46: Cast.PlatformInfo.publishSource:type_name -> Cast.PublishSourceENUM + 49, // 47: Cast.UpdateWorkPlatformInfoReq.PlatformInfoData:type_name -> Cast.PlatformInfo + 0, // 48: Cast.UpdateWorkPublishLogReq.platformID:type_name -> Cast.PlatformIDENUM + 6, // 49: Cast.UpdateWorkPublishLogReq.publishSource:type_name -> Cast.PublishSourceENUM + 213, // 50: Cast.RefreshWorkListResp.Data:type_name -> Cast.RefreshWorkListResp.Info + 0, // 51: Cast.OAuthCodeToTokenReq.platformID:type_name -> Cast.PlatformIDENUM + 215, // 52: Cast.UpdateOAuthReq.Data:type_name -> Cast.UpdateOAuthReq.Info + 0, // 53: Cast.RefreshTokenReq.platformID:type_name -> Cast.PlatformIDENUM + 74, // 54: Cast.ListVideoScriptsResp.data:type_name -> Cast.VideoScriptInfo + 74, // 55: Cast.UpdateVideoScriptBatchReq.data:type_name -> Cast.VideoScriptInfo + 74, // 56: Cast.UpdateVideoScriptBatchResp.data:type_name -> Cast.VideoScriptInfo + 2, // 57: Cast.UpdateScriptStatusReq.workAction:type_name -> Cast.WorkActionENUM + 7, // 58: Cast.UpdatePromptReq.category:type_name -> Cast.CategoryENUM + 7, // 59: Cast.GetPromptResp.category:type_name -> Cast.CategoryENUM + 7, // 60: Cast.ListPromptsReq.category:type_name -> Cast.CategoryENUM + 7, // 61: Cast.PromptInfo.category:type_name -> Cast.CategoryENUM + 88, // 62: Cast.ListPromptsResp.data:type_name -> Cast.PromptInfo + 88, // 63: Cast.UpdatePromptBatchReq.data:type_name -> Cast.PromptInfo + 88, // 64: Cast.UpdatePromptBatchResp.data:type_name -> Cast.PromptInfo + 92, // 65: Cast.UpdateArtistReq.artistInfo:type_name -> Cast.ArtistInfo + 92, // 66: Cast.GetArtistResp.artistInfo:type_name -> Cast.ArtistInfo + 2, // 67: Cast.UpdateWorkAnalysisStatusReq.workAction:type_name -> Cast.WorkActionENUM + 102, // 68: Cast.GetWorkAnalysisResp.fansSeries:type_name -> Cast.WorkAnalysisFansSeries + 103, // 69: Cast.GetWorkAnalysisResp.viewsSeries:type_name -> Cast.WorkAnalysisViewsSeries + 104, // 70: Cast.GetWorkAnalysisResp.likesSeries:type_name -> Cast.WorkAnalysisLikesSeries + 105, // 71: Cast.GetWorkAnalysisResp.commentsSeries:type_name -> Cast.WorkAnalysisCommentsSeries + 106, // 72: Cast.GetWorkAnalysisResp.sharesSeries:type_name -> Cast.WorkAnalysisSharesSeries + 107, // 73: Cast.GetWorkAnalysisResp.topCitiesSeries:type_name -> Cast.WorkAnalysisTopCities + 108, // 74: Cast.GetWorkAnalysisResp.mostActiveDaySeries:type_name -> Cast.WorkAnalysisMostActiveDay + 109, // 75: Cast.GetWorkAnalysisResp.bestPostTimeSeries:type_name -> Cast.WorkAnalysisBestPostTime + 101, // 76: Cast.GetWorkAnalysisDetailResp.WorkAnalysisLogData:type_name -> Cast.WorkAnalysisLogInfo + 102, // 77: Cast.GetWorkAnalysisDetailResp.fansSeries:type_name -> Cast.WorkAnalysisFansSeries + 103, // 78: Cast.GetWorkAnalysisDetailResp.viewsSeries:type_name -> Cast.WorkAnalysisViewsSeries + 104, // 79: Cast.GetWorkAnalysisDetailResp.likesSeries:type_name -> Cast.WorkAnalysisLikesSeries + 105, // 80: Cast.GetWorkAnalysisDetailResp.commentsSeries:type_name -> Cast.WorkAnalysisCommentsSeries + 106, // 81: Cast.GetWorkAnalysisDetailResp.sharesSeries:type_name -> Cast.WorkAnalysisSharesSeries + 107, // 82: Cast.GetWorkAnalysisDetailResp.topCitiesSeries:type_name -> Cast.WorkAnalysisTopCities + 108, // 83: Cast.GetWorkAnalysisDetailResp.mostActiveDaySeries:type_name -> Cast.WorkAnalysisMostActiveDay + 109, // 84: Cast.GetWorkAnalysisDetailResp.bestPostTimeSeries:type_name -> Cast.WorkAnalysisBestPostTime + 110, // 85: Cast.GetWorkAnalysisDetailResp.extra:type_name -> Cast.WorkAnalysisExtra + 116, // 86: Cast.ListWorkAnalysisResp.data:type_name -> Cast.WorkAnalysisInfo + 120, // 87: Cast.ArtistDataListResp.data:type_name -> Cast.ArtistDataRespItem + 123, // 88: Cast.MediaDataListResp.data:type_name -> Cast.MediaDataListItem + 102, // 89: Cast.ArtistMetricsSeriesResp.fansSeries:type_name -> Cast.WorkAnalysisFansSeries + 103, // 90: Cast.ArtistMetricsSeriesResp.viewsSeries:type_name -> Cast.WorkAnalysisViewsSeries + 104, // 91: Cast.ArtistMetricsSeriesResp.likesSeries:type_name -> Cast.WorkAnalysisLikesSeries + 105, // 92: Cast.ArtistMetricsSeriesResp.commentsSeries:type_name -> Cast.WorkAnalysisCommentsSeries + 106, // 93: Cast.ArtistMetricsSeriesResp.sharesSeries:type_name -> Cast.WorkAnalysisSharesSeries + 109, // 94: Cast.ArtistMetricsSeriesResp.bestPostTime:type_name -> Cast.WorkAnalysisBestPostTime + 108, // 95: Cast.ArtistMetricsSeriesResp.mostActiveDay:type_name -> Cast.WorkAnalysisMostActiveDay + 130, // 96: Cast.ArtistMetricsDailyWindowResp.fans:type_name -> Cast.SimplePoint + 130, // 97: Cast.ArtistMetricsDailyWindowResp.views:type_name -> Cast.SimplePoint + 130, // 98: Cast.ArtistMetricsDailyWindowResp.likes:type_name -> Cast.SimplePoint + 130, // 99: Cast.ArtistMetricsDailyWindowResp.comments:type_name -> Cast.SimplePoint + 130, // 100: Cast.ArtistMetricsDailyWindowResp.shares:type_name -> Cast.SimplePoint + 131, // 101: Cast.ArtistMetricsDailyWindowResp.bestPostTime:type_name -> Cast.BestPostTimePoint + 132, // 102: Cast.ArtistMetricsDailyWindowResp.mostActiveDay:type_name -> Cast.MostActiveDayPoint + 135, // 103: Cast.TobeConfirmedListResp.data:type_name -> Cast.TobeConfirmedItem + 138, // 104: Cast.UpsertMediaMetricsDailyBatchReq.data:type_name -> Cast.MediaMetricsDailyItem + 141, // 105: Cast.UpsertWorkMetricsDailyBatchReq.data:type_name -> Cast.WorkMetricsDailyItem + 145, // 106: Cast.GetArtistAyrShareInfoResp.data:type_name -> Cast.ArtistAyrShareInfo + 145, // 107: Cast.GetArtistAyrShareInfoByPlatformIDsResp.data:type_name -> Cast.ArtistAyrShareInfo + 150, // 108: Cast.ListWorkPlatformInfoResp.data:type_name -> Cast.WorkPlatformInfo + 153, // 109: Cast.ListMediaMetricsDailyResp.data:type_name -> Cast.MediaMetricsDailyInfo + 156, // 110: Cast.ListWorkMetricsDailyResp.data:type_name -> Cast.WorkMetricsDailyInfo + 161, // 111: Cast.GetTaskListResp.data:type_name -> Cast.TaskListInfo + 161, // 112: Cast.ListTaskListResp.data:type_name -> Cast.TaskListInfo + 171, // 113: Cast.ListCastTagsResp.data:type_name -> Cast.CastTagInfo + 171, // 114: Cast.UpdateCastTagBatchReq.data:type_name -> Cast.CastTagInfo + 171, // 115: Cast.UpdateCastTagBatchResp.data:type_name -> Cast.CastTagInfo + 171, // 116: Cast.BatchUpdateCastTagsReq.data:type_name -> Cast.CastTagInfo + 2, // 117: Cast.UpdateCompetitiveReportStatusReq.workAction:type_name -> Cast.WorkActionENUM + 183, // 118: Cast.GetCompetitiveReportDetailResp.reportLogData:type_name -> Cast.CompetitiveReportLogInfo + 184, // 119: Cast.GetCompetitiveReportDetailResp.extra:type_name -> Cast.CompetitiveReportExtra + 190, // 120: Cast.ListCompetitiveReportResp.data:type_name -> Cast.CompetitiveReportInfo + 178, // 121: Cast.ImportCompetitiveReportBatchReq.reports:type_name -> Cast.CreateCompetitiveReportReq + 178, // 122: Cast.ImportCompetitiveReportBatchResp.reports:type_name -> Cast.CreateCompetitiveReportReq + 196, // 123: Cast.CountCompetitiveReportByWorkUuidsResp.data:type_name -> Cast.WorkUuidCount + 207, // 124: Cast.WorkListResp.Info.PublishMediaIDs:type_name -> Cast.WorkListResp.Info.PublishMediaIDsEntry + 10, // 125: Cast.WorkDetailResp.MediaAccDataEntry.value:type_name -> Cast.MediaUserInfo + 214, // 126: Cast.RefreshWorkListResp.Info.PlatformInfoData:type_name -> Cast.RefreshWorkListResp.Info.PlatformInfo + 0, // 127: Cast.RefreshWorkListResp.Info.PlatformInfo.platformID:type_name -> Cast.PlatformIDENUM + 0, // 128: Cast.UpdateOAuthReq.Info.platformID:type_name -> Cast.PlatformIDENUM + 9, // 129: Cast.Cast.MediaUserList:input_type -> Cast.MediaUserListReq + 12, // 130: Cast.Cast.UpdateMediaAccount:input_type -> Cast.UpdateMediaAccountReq + 14, // 131: Cast.Cast.UnbindManager:input_type -> Cast.UnbindManagerReq + 16, // 132: Cast.Cast.BindManager:input_type -> Cast.BindManagerReq + 17, // 133: Cast.Cast.UpdateWorkImage:input_type -> Cast.UpdateWorkImageReq + 20, // 134: Cast.Cast.UpdateWorkVideo:input_type -> Cast.UpdateWorkVideoReq + 22, // 135: Cast.Cast.MediaInfo:input_type -> Cast.MediaInfoReq + 24, // 136: Cast.Cast.MediaInfoByPlatform:input_type -> Cast.MediaInfoByPlatformReq + 26, // 137: Cast.Cast.WorkList:input_type -> Cast.WorkListReq + 43, // 138: Cast.Cast.WorkListPublished:input_type -> Cast.WorkListPublishedReq + 28, // 139: Cast.Cast.WorkDetail:input_type -> Cast.WorkDetailReq + 31, // 140: Cast.Cast.UpdateStatus:input_type -> Cast.UpdateStatusReq + 32, // 141: Cast.Cast.MediaAccounts:input_type -> Cast.MediaAccountsReq + 34, // 142: Cast.Cast.MediaWorks:input_type -> Cast.MediaWorksReq + 36, // 143: Cast.Cast.Publish:input_type -> Cast.PublishReq + 38, // 144: Cast.Cast.RePublish:input_type -> Cast.RePublishReq + 40, // 145: Cast.Cast.DelWork:input_type -> Cast.DelWorkReq + 41, // 146: Cast.Cast.WorkInfo:input_type -> Cast.WorkInfoReq + 45, // 147: Cast.Cast.ArtistInfo:input_type -> Cast.ArtistInfoReq + 47, // 148: Cast.Cast.ImportWorkBatch:input_type -> Cast.ImportWorkBatchReq + 50, // 149: Cast.Cast.UpdateWorkPlatformInfo:input_type -> Cast.UpdateWorkPlatformInfoReq + 52, // 150: Cast.Cast.UpdateWorkPublishLog:input_type -> Cast.UpdateWorkPublishLogReq + 53, // 151: Cast.Cast.RefreshWorkList:input_type -> Cast.RefreshWorkListReq + 198, // 152: Cast.Cast.WorkResource:input_type -> Cast.WorkResourceReq + 200, // 153: Cast.Cast.UpdateWorkResource:input_type -> Cast.UpdateWorkResourceReq + 202, // 154: Cast.Cast.UpdateMediaAccStatus:input_type -> Cast.UpdateMediaAccStatusReq + 55, // 155: Cast.Cast.OAuthAccount:input_type -> Cast.OAuthAccountReq + 204, // 156: Cast.Cast.UnbindMediaAuth:input_type -> Cast.UnbindMediaAuthReq + 57, // 157: Cast.Cast.OAuthAccountV2:input_type -> Cast.OAuthAccountV2Req + 61, // 158: Cast.Cast.OAuthCodeToToken:input_type -> Cast.OAuthCodeToTokenReq + 63, // 159: Cast.Cast.UpdateOAuth:input_type -> Cast.UpdateOAuthReq + 64, // 160: Cast.Cast.RefreshToken:input_type -> Cast.RefreshTokenReq + 66, // 161: Cast.Cast.PublishMediaInfo:input_type -> Cast.PublishMediaInfoReq + 68, // 162: Cast.Cast.Tools:input_type -> Cast.ToolsReq + 69, // 163: Cast.Cast.UpdateVideoScript:input_type -> Cast.UpdateVideoScriptReq + 71, // 164: Cast.Cast.GetVideoScript:input_type -> Cast.GetVideoScriptReq + 73, // 165: Cast.Cast.ListVideoScripts:input_type -> Cast.ListVideoScriptsReq + 76, // 166: Cast.Cast.DeleteVideoScript:input_type -> Cast.DeleteVideoScriptReq + 77, // 167: Cast.Cast.UpdateVideoScriptBatch:input_type -> Cast.UpdateVideoScriptBatchReq + 79, // 168: Cast.Cast.UpdateScriptStatus:input_type -> Cast.UpdateScriptStatusReq + 81, // 169: Cast.Cast.GetLayout:input_type -> Cast.GetLayoutReq + 80, // 170: Cast.Cast.SetLayout:input_type -> Cast.SetLayoutReq + 83, // 171: Cast.Cast.UpdatePrompt:input_type -> Cast.UpdatePromptReq + 84, // 172: Cast.Cast.DeletePrompt:input_type -> Cast.DeletePromptReq + 85, // 173: Cast.Cast.GetPrompt:input_type -> Cast.GetPromptReq + 87, // 174: Cast.Cast.ListPrompts:input_type -> Cast.ListPromptsReq + 90, // 175: Cast.Cast.UpdatePromptBatch:input_type -> Cast.UpdatePromptBatchReq + 93, // 176: Cast.Cast.UpdateArtist:input_type -> Cast.UpdateArtistReq + 95, // 177: Cast.Cast.GetArtist:input_type -> Cast.GetArtistReq + 97, // 178: Cast.Cast.CreateWorkAnalysis:input_type -> Cast.CreateWorkAnalysisReq + 99, // 179: Cast.Cast.UpdateWorkAnalysis:input_type -> Cast.UpdateWorkAnalysisReq + 100, // 180: Cast.Cast.UpdateWorkAnalysisStatus:input_type -> Cast.UpdateWorkAnalysisStatusReq + 111, // 181: Cast.Cast.GetWorkAnalysis:input_type -> Cast.GetWorkAnalysisDetailReq + 112, // 182: Cast.Cast.GetLatestWorkAnalysis:input_type -> Cast.GetLatestWorkAnalysisReq + 115, // 183: Cast.Cast.ListWorkAnalysis:input_type -> Cast.ListWorkAnalysisReq + 118, // 184: Cast.Cast.DeleteWorkAnalysis:input_type -> Cast.DeleteWorkAnalysisReq + 137, // 185: Cast.Cast.UpdateWorkAnalysisApprovalID:input_type -> Cast.UpdateWorkAnalysisApprovalIDReq + 119, // 186: Cast.Cast.ArtistDataList:input_type -> Cast.ArtistDataListReq + 122, // 187: Cast.Cast.MediaDataList:input_type -> Cast.MediaDataListReq + 125, // 188: Cast.Cast.DataOverview:input_type -> Cast.DataOverviewReq + 127, // 189: Cast.Cast.ArtistMetricsSeries:input_type -> Cast.ArtistMetricsSeriesReq + 129, // 190: Cast.Cast.ArtistMetricsDailyWindow:input_type -> Cast.ArtistMetricsDailyWindowReq + 134, // 191: Cast.Cast.TobeConfirmedList:input_type -> Cast.TobeConfirmedListReq + 139, // 192: Cast.Cast.UpsertMediaMetricsDailyBatch:input_type -> Cast.UpsertMediaMetricsDailyBatchReq + 142, // 193: Cast.Cast.UpsertWorkMetricsDailyBatch:input_type -> Cast.UpsertWorkMetricsDailyBatchReq + 152, // 194: Cast.Cast.ListMediaMetricsDaily:input_type -> Cast.ListMediaMetricsDailyReq + 155, // 195: Cast.Cast.ListWorkMetricsDaily:input_type -> Cast.ListWorkMetricsDailyReq + 166, // 196: Cast.Cast.CalculateMediaMetricsByWorks:input_type -> Cast.CalculateMediaMetricsByWorksReq + 144, // 197: Cast.Cast.GetArtistAyrShareInfo:input_type -> Cast.GetArtistAyrShareInfoReq + 147, // 198: Cast.Cast.GetArtistAyrShareInfoByPlatformIDs:input_type -> Cast.GetArtistAyrShareInfoByPlatformIDsReq + 149, // 199: Cast.Cast.ListWorkPlatformInfo:input_type -> Cast.ListWorkPlatformInfoReq + 158, // 200: Cast.Cast.UpsertTaskList:input_type -> Cast.UpsertTaskListReq + 160, // 201: Cast.Cast.GetTaskList:input_type -> Cast.GetTaskListReq + 163, // 202: Cast.Cast.ListTaskList:input_type -> Cast.ListTaskListReq + 165, // 203: Cast.Cast.DeleteTaskList:input_type -> Cast.DeleteTaskListReq + 168, // 204: Cast.Cast.UpdateCastTag:input_type -> Cast.UpdateCastTagReq + 170, // 205: Cast.Cast.ListCastTags:input_type -> Cast.ListCastTagsReq + 173, // 206: Cast.Cast.UpdateCastTagBatch:input_type -> Cast.UpdateCastTagBatchReq + 175, // 207: Cast.Cast.BatchUpdateCastTags:input_type -> Cast.BatchUpdateCastTagsReq + 176, // 208: Cast.Cast.UpdateCastTagStatus:input_type -> Cast.UpdateCastTagStatusReq + 216, // 209: Cast.Cast.RecalculateCastTagQuoteCount:input_type -> google.protobuf.Empty + 178, // 210: Cast.Cast.CreateCompetitiveReport:input_type -> Cast.CreateCompetitiveReportReq + 193, // 211: Cast.Cast.ImportCompetitiveReportBatch:input_type -> Cast.ImportCompetitiveReportBatchReq + 181, // 212: Cast.Cast.UpdateCompetitiveReportStatus:input_type -> Cast.UpdateCompetitiveReportStatusReq + 185, // 213: Cast.Cast.GetCompetitiveReport:input_type -> Cast.GetCompetitiveReportDetailReq + 186, // 214: Cast.Cast.GetCompetitiveReportForApp:input_type -> Cast.GetCompetitiveReportForAppReq + 189, // 215: Cast.Cast.ListCompetitiveReport:input_type -> Cast.ListCompetitiveReportReq + 192, // 216: Cast.Cast.DeleteCompetitiveReport:input_type -> Cast.DeleteCompetitiveReportReq + 182, // 217: Cast.Cast.UpdateCompetitiveReportApprovalID:input_type -> Cast.UpdateCompetitiveReportApprovalIDReq + 195, // 218: Cast.Cast.CountCompetitiveReportByWorkUuids:input_type -> Cast.CountCompetitiveReportByWorkUuidsReq + 11, // 219: Cast.Cast.MediaUserList:output_type -> Cast.MediaUserListResp + 13, // 220: Cast.Cast.UpdateMediaAccount:output_type -> Cast.UpdateMediaAccountResp + 15, // 221: Cast.Cast.UnbindManager:output_type -> Cast.UnbindManagerResp + 216, // 222: Cast.Cast.BindManager:output_type -> google.protobuf.Empty + 18, // 223: Cast.Cast.UpdateWorkImage:output_type -> Cast.UpdateWorkImageResp + 21, // 224: Cast.Cast.UpdateWorkVideo:output_type -> Cast.UpdateWorkVideoResp + 23, // 225: Cast.Cast.MediaInfo:output_type -> Cast.MediaInfoResp + 25, // 226: Cast.Cast.MediaInfoByPlatform:output_type -> Cast.MediaInfoByPlatformResp + 27, // 227: Cast.Cast.WorkList:output_type -> Cast.WorkListResp + 44, // 228: Cast.Cast.WorkListPublished:output_type -> Cast.WorkListPublishedResp + 30, // 229: Cast.Cast.WorkDetail:output_type -> Cast.WorkDetailResp + 216, // 230: Cast.Cast.UpdateStatus:output_type -> google.protobuf.Empty + 33, // 231: Cast.Cast.MediaAccounts:output_type -> Cast.MediaAccountsResp + 35, // 232: Cast.Cast.MediaWorks:output_type -> Cast.MediaWorksResp + 37, // 233: Cast.Cast.Publish:output_type -> Cast.PublishResp + 39, // 234: Cast.Cast.RePublish:output_type -> Cast.RePublishResp + 216, // 235: Cast.Cast.DelWork:output_type -> google.protobuf.Empty + 42, // 236: Cast.Cast.WorkInfo:output_type -> Cast.WorkInfoResp + 46, // 237: Cast.Cast.ArtistInfo:output_type -> Cast.ArtistInfoResp + 48, // 238: Cast.Cast.ImportWorkBatch:output_type -> Cast.ImportWorkBatchResp + 51, // 239: Cast.Cast.UpdateWorkPlatformInfo:output_type -> Cast.UpdateWorkPlatformInfoResp + 216, // 240: Cast.Cast.UpdateWorkPublishLog:output_type -> google.protobuf.Empty + 54, // 241: Cast.Cast.RefreshWorkList:output_type -> Cast.RefreshWorkListResp + 199, // 242: Cast.Cast.WorkResource:output_type -> Cast.WorkResourceResp + 201, // 243: Cast.Cast.UpdateWorkResource:output_type -> Cast.UpdateWorkResourceResp + 203, // 244: Cast.Cast.UpdateMediaAccStatus:output_type -> Cast.UpdateMediaAccStatusResp + 56, // 245: Cast.Cast.OAuthAccount:output_type -> Cast.OAuthAccountResp + 205, // 246: Cast.Cast.UnbindMediaAuth:output_type -> Cast.UnbindMediaAuthResp + 58, // 247: Cast.Cast.OAuthAccountV2:output_type -> Cast.OAuthAccountV2Resp + 62, // 248: Cast.Cast.OAuthCodeToToken:output_type -> Cast.OAuthCodeToTokenResp + 216, // 249: Cast.Cast.UpdateOAuth:output_type -> google.protobuf.Empty + 65, // 250: Cast.Cast.RefreshToken:output_type -> Cast.RefreshTokenResp + 67, // 251: Cast.Cast.PublishMediaInfo:output_type -> Cast.PublishMediaInfoResp + 216, // 252: Cast.Cast.Tools:output_type -> google.protobuf.Empty + 70, // 253: Cast.Cast.UpdateVideoScript:output_type -> Cast.UpdateVideoScriptResp + 72, // 254: Cast.Cast.GetVideoScript:output_type -> Cast.GetVideoScriptResp + 75, // 255: Cast.Cast.ListVideoScripts:output_type -> Cast.ListVideoScriptsResp + 216, // 256: Cast.Cast.DeleteVideoScript:output_type -> google.protobuf.Empty + 78, // 257: Cast.Cast.UpdateVideoScriptBatch:output_type -> Cast.UpdateVideoScriptBatchResp + 216, // 258: Cast.Cast.UpdateScriptStatus:output_type -> google.protobuf.Empty + 82, // 259: Cast.Cast.GetLayout:output_type -> Cast.GetLayoutResp + 216, // 260: Cast.Cast.SetLayout:output_type -> google.protobuf.Empty + 216, // 261: Cast.Cast.UpdatePrompt:output_type -> google.protobuf.Empty + 216, // 262: Cast.Cast.DeletePrompt:output_type -> google.protobuf.Empty + 86, // 263: Cast.Cast.GetPrompt:output_type -> Cast.GetPromptResp + 89, // 264: Cast.Cast.ListPrompts:output_type -> Cast.ListPromptsResp + 91, // 265: Cast.Cast.UpdatePromptBatch:output_type -> Cast.UpdatePromptBatchResp + 94, // 266: Cast.Cast.UpdateArtist:output_type -> Cast.UpdateArtistResp + 96, // 267: Cast.Cast.GetArtist:output_type -> Cast.GetArtistResp + 98, // 268: Cast.Cast.CreateWorkAnalysis:output_type -> Cast.CreateWorkAnalysisResp + 216, // 269: Cast.Cast.UpdateWorkAnalysis:output_type -> google.protobuf.Empty + 216, // 270: Cast.Cast.UpdateWorkAnalysisStatus:output_type -> google.protobuf.Empty + 114, // 271: Cast.Cast.GetWorkAnalysis:output_type -> Cast.GetWorkAnalysisDetailResp + 113, // 272: Cast.Cast.GetLatestWorkAnalysis:output_type -> Cast.GetWorkAnalysisResp + 117, // 273: Cast.Cast.ListWorkAnalysis:output_type -> Cast.ListWorkAnalysisResp + 216, // 274: Cast.Cast.DeleteWorkAnalysis:output_type -> google.protobuf.Empty + 216, // 275: Cast.Cast.UpdateWorkAnalysisApprovalID:output_type -> google.protobuf.Empty + 121, // 276: Cast.Cast.ArtistDataList:output_type -> Cast.ArtistDataListResp + 124, // 277: Cast.Cast.MediaDataList:output_type -> Cast.MediaDataListResp + 126, // 278: Cast.Cast.DataOverview:output_type -> Cast.DataOverviewResp + 128, // 279: Cast.Cast.ArtistMetricsSeries:output_type -> Cast.ArtistMetricsSeriesResp + 133, // 280: Cast.Cast.ArtistMetricsDailyWindow:output_type -> Cast.ArtistMetricsDailyWindowResp + 136, // 281: Cast.Cast.TobeConfirmedList:output_type -> Cast.TobeConfirmedListResp + 140, // 282: Cast.Cast.UpsertMediaMetricsDailyBatch:output_type -> Cast.UpsertMediaMetricsDailyBatchResp + 143, // 283: Cast.Cast.UpsertWorkMetricsDailyBatch:output_type -> Cast.UpsertWorkMetricsDailyBatchResp + 154, // 284: Cast.Cast.ListMediaMetricsDaily:output_type -> Cast.ListMediaMetricsDailyResp + 157, // 285: Cast.Cast.ListWorkMetricsDaily:output_type -> Cast.ListWorkMetricsDailyResp + 167, // 286: Cast.Cast.CalculateMediaMetricsByWorks:output_type -> Cast.CalculateMediaMetricsByWorksResp + 146, // 287: Cast.Cast.GetArtistAyrShareInfo:output_type -> Cast.GetArtistAyrShareInfoResp + 148, // 288: Cast.Cast.GetArtistAyrShareInfoByPlatformIDs:output_type -> Cast.GetArtistAyrShareInfoByPlatformIDsResp + 151, // 289: Cast.Cast.ListWorkPlatformInfo:output_type -> Cast.ListWorkPlatformInfoResp + 159, // 290: Cast.Cast.UpsertTaskList:output_type -> Cast.UpsertTaskListResp + 162, // 291: Cast.Cast.GetTaskList:output_type -> Cast.GetTaskListResp + 164, // 292: Cast.Cast.ListTaskList:output_type -> Cast.ListTaskListResp + 216, // 293: Cast.Cast.DeleteTaskList:output_type -> google.protobuf.Empty + 169, // 294: Cast.Cast.UpdateCastTag:output_type -> Cast.UpdateCastTagResp + 172, // 295: Cast.Cast.ListCastTags:output_type -> Cast.ListCastTagsResp + 174, // 296: Cast.Cast.UpdateCastTagBatch:output_type -> Cast.UpdateCastTagBatchResp + 216, // 297: Cast.Cast.BatchUpdateCastTags:output_type -> google.protobuf.Empty + 216, // 298: Cast.Cast.UpdateCastTagStatus:output_type -> google.protobuf.Empty + 177, // 299: Cast.Cast.RecalculateCastTagQuoteCount:output_type -> Cast.RecalculateCastTagQuoteCountResp + 179, // 300: Cast.Cast.CreateCompetitiveReport:output_type -> Cast.CreateCompetitiveReportResp + 194, // 301: Cast.Cast.ImportCompetitiveReportBatch:output_type -> Cast.ImportCompetitiveReportBatchResp + 216, // 302: Cast.Cast.UpdateCompetitiveReportStatus:output_type -> google.protobuf.Empty + 188, // 303: Cast.Cast.GetCompetitiveReport:output_type -> Cast.GetCompetitiveReportDetailResp + 187, // 304: Cast.Cast.GetCompetitiveReportForApp:output_type -> Cast.GetCompetitiveReportForAppResp + 191, // 305: Cast.Cast.ListCompetitiveReport:output_type -> Cast.ListCompetitiveReportResp + 216, // 306: Cast.Cast.DeleteCompetitiveReport:output_type -> google.protobuf.Empty + 216, // 307: Cast.Cast.UpdateCompetitiveReportApprovalID:output_type -> google.protobuf.Empty + 197, // 308: Cast.Cast.CountCompetitiveReportByWorkUuids:output_type -> Cast.CountCompetitiveReportByWorkUuidsResp + 219, // [219:309] is the sub-list for method output_type + 129, // [129:219] is the sub-list for method input_type + 129, // [129:129] is the sub-list for extension type_name + 129, // [129:129] is the sub-list for extension extendee + 0, // [0:129] is the sub-list for field type_name } func init() { file_pb_fiee_cast_proto_init() } @@ -19931,7 +20068,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: 8, - NumMessages: 206, + NumMessages: 208, NumExtensions: 0, NumServices: 1, }, diff --git a/api/cast/cast.pb.validate.go b/api/cast/cast.pb.validate.go index 29a2f77..7f965ef 100644 --- a/api/cast/cast.pb.validate.go +++ b/api/cast/cast.pb.validate.go @@ -5487,6 +5487,8 @@ func (m *PlatformInfo) validate(all bool) error { // no validation rules for PlatformUuid + // no validation rules for PublishSource + if len(errors) > 0 { return PlatformInfoMultiError(errors) } @@ -5832,6 +5834,8 @@ func (m *UpdateWorkPublishLogReq) validate(all bool) error { // no validation rules for Action + // no validation rules for PublishSource + if len(errors) > 0 { return UpdateWorkPublishLogReqMultiError(errors) } @@ -24881,6 +24885,218 @@ var _ interface { ErrorName() string } = UpdateMediaAccStatusRespValidationError{} +// Validate checks the field values on UnbindMediaAuthReq 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 *UnbindMediaAuthReq) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on UnbindMediaAuthReq 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 +// UnbindMediaAuthReqMultiError, or nil if none found. +func (m *UnbindMediaAuthReq) ValidateAll() error { + return m.validate(true) +} + +func (m *UnbindMediaAuthReq) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + // no validation rules for MediaAccountUuid + + // no validation rules for Remark + + if len(errors) > 0 { + return UnbindMediaAuthReqMultiError(errors) + } + + return nil +} + +// UnbindMediaAuthReqMultiError is an error wrapping multiple validation errors +// returned by UnbindMediaAuthReq.ValidateAll() if the designated constraints +// aren't met. +type UnbindMediaAuthReqMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m UnbindMediaAuthReqMultiError) 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 UnbindMediaAuthReqMultiError) AllErrors() []error { return m } + +// UnbindMediaAuthReqValidationError is the validation error returned by +// UnbindMediaAuthReq.Validate if the designated constraints aren't met. +type UnbindMediaAuthReqValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e UnbindMediaAuthReqValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e UnbindMediaAuthReqValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e UnbindMediaAuthReqValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e UnbindMediaAuthReqValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e UnbindMediaAuthReqValidationError) ErrorName() string { + return "UnbindMediaAuthReqValidationError" +} + +// Error satisfies the builtin error interface +func (e UnbindMediaAuthReqValidationError) 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 %sUnbindMediaAuthReq.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = UnbindMediaAuthReqValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = UnbindMediaAuthReqValidationError{} + +// Validate checks the field values on UnbindMediaAuthResp 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 *UnbindMediaAuthResp) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on UnbindMediaAuthResp 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 +// UnbindMediaAuthRespMultiError, or nil if none found. +func (m *UnbindMediaAuthResp) ValidateAll() error { + return m.validate(true) +} + +func (m *UnbindMediaAuthResp) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + // no validation rules for Success + + // no validation rules for Message + + if len(errors) > 0 { + return UnbindMediaAuthRespMultiError(errors) + } + + return nil +} + +// UnbindMediaAuthRespMultiError is an error wrapping multiple validation +// errors returned by UnbindMediaAuthResp.ValidateAll() if the designated +// constraints aren't met. +type UnbindMediaAuthRespMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m UnbindMediaAuthRespMultiError) 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 UnbindMediaAuthRespMultiError) AllErrors() []error { return m } + +// UnbindMediaAuthRespValidationError is the validation error returned by +// UnbindMediaAuthResp.Validate if the designated constraints aren't met. +type UnbindMediaAuthRespValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e UnbindMediaAuthRespValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e UnbindMediaAuthRespValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e UnbindMediaAuthRespValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e UnbindMediaAuthRespValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e UnbindMediaAuthRespValidationError) ErrorName() string { + return "UnbindMediaAuthRespValidationError" +} + +// Error satisfies the builtin error interface +func (e UnbindMediaAuthRespValidationError) 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 %sUnbindMediaAuthResp.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = UnbindMediaAuthRespValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = UnbindMediaAuthRespValidationError{} + // 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 1cb8566..957cda9 100644 --- a/api/cast/cast_triple.pb.go +++ b/api/cast/cast_triple.pb.go @@ -56,6 +56,7 @@ type CastClient interface { UpdateWorkResource(ctx context.Context, in *UpdateWorkResourceReq, opts ...grpc_go.CallOption) (*UpdateWorkResourceResp, common.ErrorWithAttachment) UpdateMediaAccStatus(ctx context.Context, in *UpdateMediaAccStatusReq, opts ...grpc_go.CallOption) (*UpdateMediaAccStatusResp, common.ErrorWithAttachment) OAuthAccount(ctx context.Context, in *OAuthAccountReq, opts ...grpc_go.CallOption) (*OAuthAccountResp, common.ErrorWithAttachment) + UnbindMediaAuth(ctx context.Context, in *UnbindMediaAuthReq, opts ...grpc_go.CallOption) (*UnbindMediaAuthResp, common.ErrorWithAttachment) OAuthAccountV2(ctx context.Context, in *OAuthAccountV2Req, opts ...grpc_go.CallOption) (*OAuthAccountV2Resp, common.ErrorWithAttachment) OAuthCodeToToken(ctx context.Context, in *OAuthCodeToTokenReq, opts ...grpc_go.CallOption) (*OAuthCodeToTokenResp, common.ErrorWithAttachment) UpdateOAuth(ctx context.Context, in *UpdateOAuthReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) @@ -167,6 +168,7 @@ type CastClientImpl struct { UpdateWorkResource func(ctx context.Context, in *UpdateWorkResourceReq) (*UpdateWorkResourceResp, error) UpdateMediaAccStatus func(ctx context.Context, in *UpdateMediaAccStatusReq) (*UpdateMediaAccStatusResp, error) OAuthAccount func(ctx context.Context, in *OAuthAccountReq) (*OAuthAccountResp, error) + UnbindMediaAuth func(ctx context.Context, in *UnbindMediaAuthReq) (*UnbindMediaAuthResp, error) OAuthAccountV2 func(ctx context.Context, in *OAuthAccountV2Req) (*OAuthAccountV2Resp, error) OAuthCodeToToken func(ctx context.Context, in *OAuthCodeToTokenReq) (*OAuthCodeToTokenResp, error) UpdateOAuth func(ctx context.Context, in *UpdateOAuthReq) (*emptypb.Empty, error) @@ -405,6 +407,12 @@ func (c *castClient) OAuthAccount(ctx context.Context, in *OAuthAccountReq, opts return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/OAuthAccount", in, out) } +func (c *castClient) UnbindMediaAuth(ctx context.Context, in *UnbindMediaAuthReq, opts ...grpc_go.CallOption) (*UnbindMediaAuthResp, common.ErrorWithAttachment) { + out := new(UnbindMediaAuthResp) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UnbindMediaAuth", in, out) +} + func (c *castClient) OAuthAccountV2(ctx context.Context, in *OAuthAccountV2Req, opts ...grpc_go.CallOption) (*OAuthAccountV2Resp, common.ErrorWithAttachment) { out := new(OAuthAccountV2Resp) interfaceKey := ctx.Value(constant.InterfaceKey).(string) @@ -808,6 +816,7 @@ type CastServer interface { UpdateWorkResource(context.Context, *UpdateWorkResourceReq) (*UpdateWorkResourceResp, error) UpdateMediaAccStatus(context.Context, *UpdateMediaAccStatusReq) (*UpdateMediaAccStatusResp, error) OAuthAccount(context.Context, *OAuthAccountReq) (*OAuthAccountResp, error) + UnbindMediaAuth(context.Context, *UnbindMediaAuthReq) (*UnbindMediaAuthResp, error) OAuthAccountV2(context.Context, *OAuthAccountV2Req) (*OAuthAccountV2Resp, error) OAuthCodeToToken(context.Context, *OAuthCodeToTokenReq) (*OAuthCodeToTokenResp, error) UpdateOAuth(context.Context, *UpdateOAuthReq) (*emptypb.Empty, error) @@ -974,6 +983,9 @@ func (UnimplementedCastServer) UpdateMediaAccStatus(context.Context, *UpdateMedi func (UnimplementedCastServer) OAuthAccount(context.Context, *OAuthAccountReq) (*OAuthAccountResp, error) { return nil, status.Errorf(codes.Unimplemented, "method OAuthAccount not implemented") } +func (UnimplementedCastServer) UnbindMediaAuth(context.Context, *UnbindMediaAuthReq) (*UnbindMediaAuthResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method UnbindMediaAuth not implemented") +} func (UnimplementedCastServer) OAuthAccountV2(context.Context, *OAuthAccountV2Req) (*OAuthAccountV2Resp, error) { return nil, status.Errorf(codes.Unimplemented, "method OAuthAccountV2 not implemented") } @@ -1971,6 +1983,35 @@ func _Cast_OAuthAccount_Handler(srv interface{}, ctx context.Context, dec func(i return interceptor(ctx, in, info, handler) } +func _Cast_UnbindMediaAuth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(UnbindMediaAuthReq) + 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("UnbindMediaAuth", 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_OAuthAccountV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(OAuthAccountV2Req) if err := dec(in); err != nil { @@ -3884,6 +3925,10 @@ var Cast_ServiceDesc = grpc_go.ServiceDesc{ MethodName: "OAuthAccount", Handler: _Cast_OAuthAccount_Handler, }, + { + MethodName: "UnbindMediaAuth", + Handler: _Cast_UnbindMediaAuth_Handler, + }, { MethodName: "OAuthAccountV2", Handler: _Cast_OAuthAccountV2_Handler,