添加配置dm
This commit is contained in:
parent
c94e110832
commit
168bbaf27a
@ -1143,16 +1143,17 @@ type UpdateWorkVideoReq struct {
|
||||
PublishConfig1 *PublishConfig `protobuf:"bytes,8,opt,name=publishConfig1,proto3" json:"publishConfig1"`
|
||||
PublishConfig2 *PublishConfig `protobuf:"bytes,9,opt,name=publishConfig2,proto3" json:"publishConfig2"`
|
||||
PublishConfig3 *PublishConfig `protobuf:"bytes,10,opt,name=publishConfig3,proto3" json:"publishConfig3"`
|
||||
Action string `protobuf:"bytes,11,opt,name=action,proto3" json:"action"`
|
||||
WorkUuid string `protobuf:"bytes,12,opt,name=workUuid,proto3" json:"workUuid"`
|
||||
ArtistUuid string `protobuf:"bytes,13,opt,name=artistUuid,proto3" json:"artistUuid"`
|
||||
ArtistPhone string `protobuf:"bytes,14,opt,name=artistPhone,proto3" json:"artistPhone"`
|
||||
ArtistName string `protobuf:"bytes,15,opt,name=artistName,proto3" json:"artistName"`
|
||||
ArtistPhoneAreaCode string `protobuf:"bytes,16,opt,name=artistPhoneAreaCode,proto3" json:"artistPhoneAreaCode"`
|
||||
Source uint32 `protobuf:"varint,17,opt,name=source,proto3" json:"source"`
|
||||
CoverTimestampMs uint64 `protobuf:"varint,18,opt,name=coverTimestampMs,proto3" json:"coverTimestampMs"`
|
||||
AutoPublish AutoPublishENUM `protobuf:"varint,19,opt,name=autoPublish,proto3,enum=Cast.AutoPublishENUM" json:"autoPublish"`
|
||||
ScriptUuid string `protobuf:"bytes,20,opt,name=scriptUuid,proto3" json:"scriptUuid"`
|
||||
PublishConfig4 *PublishConfig `protobuf:"bytes,11,opt,name=publishConfig4,proto3" json:"publishConfig4"`
|
||||
Action string `protobuf:"bytes,12,opt,name=action,proto3" json:"action"`
|
||||
WorkUuid string `protobuf:"bytes,13,opt,name=workUuid,proto3" json:"workUuid"`
|
||||
ArtistUuid string `protobuf:"bytes,14,opt,name=artistUuid,proto3" json:"artistUuid"`
|
||||
ArtistPhone string `protobuf:"bytes,15,opt,name=artistPhone,proto3" json:"artistPhone"`
|
||||
ArtistName string `protobuf:"bytes,16,opt,name=artistName,proto3" json:"artistName"`
|
||||
ArtistPhoneAreaCode string `protobuf:"bytes,17,opt,name=artistPhoneAreaCode,proto3" json:"artistPhoneAreaCode"`
|
||||
Source uint32 `protobuf:"varint,18,opt,name=source,proto3" json:"source"`
|
||||
CoverTimestampMs uint64 `protobuf:"varint,19,opt,name=coverTimestampMs,proto3" json:"coverTimestampMs"`
|
||||
AutoPublish AutoPublishENUM `protobuf:"varint,20,opt,name=autoPublish,proto3,enum=Cast.AutoPublishENUM" json:"autoPublish"`
|
||||
ScriptUuid string `protobuf:"bytes,21,opt,name=scriptUuid,proto3" json:"scriptUuid"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@ -1257,6 +1258,13 @@ func (x *UpdateWorkVideoReq) GetPublishConfig3() *PublishConfig {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UpdateWorkVideoReq) GetPublishConfig4() *PublishConfig {
|
||||
if x != nil {
|
||||
return x.PublishConfig4
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UpdateWorkVideoReq) GetAction() string {
|
||||
if x != nil {
|
||||
return x.Action
|
||||
@ -1736,14 +1744,15 @@ type WorkDetailResp struct {
|
||||
PublishConfig1 *PublishConfig `protobuf:"bytes,9,opt,name=publishConfig1,proto3" json:"publishConfig1"`
|
||||
PublishConfig2 *PublishConfig `protobuf:"bytes,10,opt,name=publishConfig2,proto3" json:"publishConfig2"`
|
||||
PublishConfig3 *PublishConfig `protobuf:"bytes,11,opt,name=publishConfig3,proto3" json:"publishConfig3"`
|
||||
VideoUrl string `protobuf:"bytes,12,opt,name=videoUrl,proto3" json:"videoUrl"`
|
||||
CoverUrl string `protobuf:"bytes,13,opt,name=coverUrl,proto3" json:"coverUrl"`
|
||||
ApprovalID string `protobuf:"bytes,14,opt,name=approvalID,proto3" json:"approvalID"`
|
||||
WorkLogData []*WorkLogInfo `protobuf:"bytes,15,rep,name=WorkLogData,proto3" json:"WorkLogData"`
|
||||
WorkCategory uint32 `protobuf:"varint,16,opt,name=workCategory,proto3" json:"workCategory"`
|
||||
MediaAccData map[string]*MediaUserInfo `protobuf:"bytes,17,rep,name=mediaAccData,proto3" json:"mediaAccData" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
CoverTimestampMs uint64 `protobuf:"varint,18,opt,name=coverTimestampMs,proto3" json:"coverTimestampMs"`
|
||||
ScriptUuid string `protobuf:"bytes,19,opt,name=scriptUuid,proto3" json:"scriptUuid"`
|
||||
PublishConfig4 *PublishConfig `protobuf:"bytes,12,opt,name=publishConfig4,proto3" json:"publishConfig4"`
|
||||
VideoUrl string `protobuf:"bytes,13,opt,name=videoUrl,proto3" json:"videoUrl"`
|
||||
CoverUrl string `protobuf:"bytes,14,opt,name=coverUrl,proto3" json:"coverUrl"`
|
||||
ApprovalID string `protobuf:"bytes,15,opt,name=approvalID,proto3" json:"approvalID"`
|
||||
WorkLogData []*WorkLogInfo `protobuf:"bytes,16,rep,name=WorkLogData,proto3" json:"WorkLogData"`
|
||||
WorkCategory uint32 `protobuf:"varint,17,opt,name=workCategory,proto3" json:"workCategory"`
|
||||
MediaAccData map[string]*MediaUserInfo `protobuf:"bytes,18,rep,name=mediaAccData,proto3" json:"mediaAccData" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
CoverTimestampMs uint64 `protobuf:"varint,19,opt,name=coverTimestampMs,proto3" json:"coverTimestampMs"`
|
||||
ScriptUuid string `protobuf:"bytes,20,opt,name=scriptUuid,proto3" json:"scriptUuid"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@ -1855,6 +1864,13 @@ func (x *WorkDetailResp) GetPublishConfig3() *PublishConfig {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkDetailResp) GetPublishConfig4() *PublishConfig {
|
||||
if x != nil {
|
||||
return x.PublishConfig4
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkDetailResp) GetVideoUrl() string {
|
||||
if x != nil {
|
||||
return x.VideoUrl
|
||||
@ -4535,6 +4551,7 @@ type PromptInfo struct {
|
||||
PromptUuid string `protobuf:"bytes,1,opt,name=promptUuid,proto3" json:"promptUuid"` // 关键词UUID
|
||||
Prompt string `protobuf:"bytes,2,opt,name=prompt,proto3" json:"prompt"` // 关键词
|
||||
Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category"` // 分类
|
||||
Remark string `protobuf:"bytes,4,opt,name=remark,proto3" json:"remark"` // 备注
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@ -4590,6 +4607,13 @@ func (x *PromptInfo) GetCategory() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *PromptInfo) GetRemark() string {
|
||||
if x != nil {
|
||||
return x.Remark
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type ListPromptsResp struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Data []*PromptInfo `protobuf:"bytes,1,rep,name=data,proto3" json:"data"` // 关键词列表
|
||||
@ -4642,6 +4666,110 @@ func (x *ListPromptsResp) GetCount() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
type UpdatePromptBatchReq struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Data []*PromptInfo `protobuf:"bytes,1,rep,name=data,proto3" json:"data"` // 关键词列表
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *UpdatePromptBatchReq) Reset() {
|
||||
*x = UpdatePromptBatchReq{}
|
||||
mi := &file_pb_fiee_cast_proto_msgTypes[63]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *UpdatePromptBatchReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdatePromptBatchReq) ProtoMessage() {}
|
||||
|
||||
func (x *UpdatePromptBatchReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_fiee_cast_proto_msgTypes[63]
|
||||
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 UpdatePromptBatchReq.ProtoReflect.Descriptor instead.
|
||||
func (*UpdatePromptBatchReq) Descriptor() ([]byte, []int) {
|
||||
return file_pb_fiee_cast_proto_rawDescGZIP(), []int{63}
|
||||
}
|
||||
|
||||
func (x *UpdatePromptBatchReq) GetData() []*PromptInfo {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type UpdatePromptBatchResp struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Data []*PromptInfo `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 *UpdatePromptBatchResp) Reset() {
|
||||
*x = UpdatePromptBatchResp{}
|
||||
mi := &file_pb_fiee_cast_proto_msgTypes[64]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *UpdatePromptBatchResp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdatePromptBatchResp) ProtoMessage() {}
|
||||
|
||||
func (x *UpdatePromptBatchResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_fiee_cast_proto_msgTypes[64]
|
||||
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 UpdatePromptBatchResp.ProtoReflect.Descriptor instead.
|
||||
func (*UpdatePromptBatchResp) Descriptor() ([]byte, []int) {
|
||||
return file_pb_fiee_cast_proto_rawDescGZIP(), []int{64}
|
||||
}
|
||||
|
||||
func (x *UpdatePromptBatchResp) GetData() []*PromptInfo {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UpdatePromptBatchResp) GetSuccessCount() int32 {
|
||||
if x != nil {
|
||||
return x.SuccessCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *UpdatePromptBatchResp) GetFailCount() int32 {
|
||||
if x != nil {
|
||||
return x.FailCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type WorkListResp_Info struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
WorkUuid string `protobuf:"bytes,1,opt,name=workUuid,proto3" json:"workUuid"`
|
||||
@ -4665,7 +4793,7 @@ type WorkListResp_Info struct {
|
||||
|
||||
func (x *WorkListResp_Info) Reset() {
|
||||
*x = WorkListResp_Info{}
|
||||
mi := &file_pb_fiee_cast_proto_msgTypes[63]
|
||||
mi := &file_pb_fiee_cast_proto_msgTypes[65]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -4677,7 +4805,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[63]
|
||||
mi := &file_pb_fiee_cast_proto_msgTypes[65]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -4812,7 +4940,7 @@ type MediaAccountsResp_Info struct {
|
||||
|
||||
func (x *MediaAccountsResp_Info) Reset() {
|
||||
*x = MediaAccountsResp_Info{}
|
||||
mi := &file_pb_fiee_cast_proto_msgTypes[65]
|
||||
mi := &file_pb_fiee_cast_proto_msgTypes[67]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -4824,7 +4952,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[65]
|
||||
mi := &file_pb_fiee_cast_proto_msgTypes[67]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -4900,7 +5028,7 @@ type MediaWorksResp_Info struct {
|
||||
|
||||
func (x *MediaWorksResp_Info) Reset() {
|
||||
*x = MediaWorksResp_Info{}
|
||||
mi := &file_pb_fiee_cast_proto_msgTypes[66]
|
||||
mi := &file_pb_fiee_cast_proto_msgTypes[68]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -4912,7 +5040,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[66]
|
||||
mi := &file_pb_fiee_cast_proto_msgTypes[68]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -5008,7 +5136,7 @@ type PublishResp_Info struct {
|
||||
|
||||
func (x *PublishResp_Info) Reset() {
|
||||
*x = PublishResp_Info{}
|
||||
mi := &file_pb_fiee_cast_proto_msgTypes[67]
|
||||
mi := &file_pb_fiee_cast_proto_msgTypes[69]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -5020,7 +5148,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[67]
|
||||
mi := &file_pb_fiee_cast_proto_msgTypes[69]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -5161,7 +5289,7 @@ const file_pb_fiee_cast_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"canComment\x18\x05 \x01(\rR\n" +
|
||||
"canComment\x12\x12\n" +
|
||||
"\x04isAI\x18\x06 \x01(\rR\x04isAI\"\xac\x06\n" +
|
||||
"\x04isAI\x18\x06 \x01(\rR\x04isAI\"\xe9\x06\n" +
|
||||
"\x12UpdateWorkVideoReq\x12\x14\n" +
|
||||
"\x05title\x18\x01 \x01(\tR\x05title\x12\x18\n" +
|
||||
"\acontent\x18\x02 \x01(\tR\acontent\x12\x1a\n" +
|
||||
@ -5173,22 +5301,23 @@ const file_pb_fiee_cast_proto_rawDesc = "" +
|
||||
"\x0epublishConfig1\x18\b \x01(\v2\x13.Cast.PublishConfigR\x0epublishConfig1\x12;\n" +
|
||||
"\x0epublishConfig2\x18\t \x01(\v2\x13.Cast.PublishConfigR\x0epublishConfig2\x12;\n" +
|
||||
"\x0epublishConfig3\x18\n" +
|
||||
" \x01(\v2\x13.Cast.PublishConfigR\x0epublishConfig3\x12\x16\n" +
|
||||
"\x06action\x18\v \x01(\tR\x06action\x12\x1a\n" +
|
||||
"\bworkUuid\x18\f \x01(\tR\bworkUuid\x12\x1e\n" +
|
||||
" \x01(\v2\x13.Cast.PublishConfigR\x0epublishConfig3\x12;\n" +
|
||||
"\x0epublishConfig4\x18\v \x01(\v2\x13.Cast.PublishConfigR\x0epublishConfig4\x12\x16\n" +
|
||||
"\x06action\x18\f \x01(\tR\x06action\x12\x1a\n" +
|
||||
"\bworkUuid\x18\r \x01(\tR\bworkUuid\x12\x1e\n" +
|
||||
"\n" +
|
||||
"artistUuid\x18\r \x01(\tR\n" +
|
||||
"artistUuid\x18\x0e \x01(\tR\n" +
|
||||
"artistUuid\x12 \n" +
|
||||
"\vartistPhone\x18\x0e \x01(\tR\vartistPhone\x12\x1e\n" +
|
||||
"\vartistPhone\x18\x0f \x01(\tR\vartistPhone\x12\x1e\n" +
|
||||
"\n" +
|
||||
"artistName\x18\x0f \x01(\tR\n" +
|
||||
"artistName\x18\x10 \x01(\tR\n" +
|
||||
"artistName\x120\n" +
|
||||
"\x13artistPhoneAreaCode\x18\x10 \x01(\tR\x13artistPhoneAreaCode\x12\x16\n" +
|
||||
"\x06source\x18\x11 \x01(\rR\x06source\x12*\n" +
|
||||
"\x10coverTimestampMs\x18\x12 \x01(\x04R\x10coverTimestampMs\x127\n" +
|
||||
"\vautoPublish\x18\x13 \x01(\x0e2\x15.Cast.AutoPublishENUMR\vautoPublish\x12\x1e\n" +
|
||||
"\x13artistPhoneAreaCode\x18\x11 \x01(\tR\x13artistPhoneAreaCode\x12\x16\n" +
|
||||
"\x06source\x18\x12 \x01(\rR\x06source\x12*\n" +
|
||||
"\x10coverTimestampMs\x18\x13 \x01(\x04R\x10coverTimestampMs\x127\n" +
|
||||
"\vautoPublish\x18\x14 \x01(\x0e2\x15.Cast.AutoPublishENUMR\vautoPublish\x12\x1e\n" +
|
||||
"\n" +
|
||||
"scriptUuid\x18\x14 \x01(\tR\n" +
|
||||
"scriptUuid\x18\x15 \x01(\tR\n" +
|
||||
"scriptUuid\"1\n" +
|
||||
"\x13UpdateWorkVideoResp\x12\x1a\n" +
|
||||
"\bworkUuid\x18\x01 \x01(\tR\bworkUuid\"\xab\x04\n" +
|
||||
@ -5257,7 +5386,7 @@ const file_pb_fiee_cast_proto_rawDesc = "" +
|
||||
"\textraData\x18\a \x01(\tR\textraData\x12\x1e\n" +
|
||||
"\n" +
|
||||
"workStatus\x18\b \x01(\rR\n" +
|
||||
"workStatus\"\xe8\x06\n" +
|
||||
"workStatus\"\xa5\a\n" +
|
||||
"\x0eWorkDetailResp\x12\x1a\n" +
|
||||
"\bworkUuid\x18\x01 \x01(\tR\bworkUuid\x12\x14\n" +
|
||||
"\x05title\x18\x02 \x01(\tR\x05title\x12\x18\n" +
|
||||
@ -5272,18 +5401,19 @@ const file_pb_fiee_cast_proto_rawDesc = "" +
|
||||
"\x0epublishConfig1\x18\t \x01(\v2\x13.Cast.PublishConfigR\x0epublishConfig1\x12;\n" +
|
||||
"\x0epublishConfig2\x18\n" +
|
||||
" \x01(\v2\x13.Cast.PublishConfigR\x0epublishConfig2\x12;\n" +
|
||||
"\x0epublishConfig3\x18\v \x01(\v2\x13.Cast.PublishConfigR\x0epublishConfig3\x12\x1a\n" +
|
||||
"\bvideoUrl\x18\f \x01(\tR\bvideoUrl\x12\x1a\n" +
|
||||
"\bcoverUrl\x18\r \x01(\tR\bcoverUrl\x12\x1e\n" +
|
||||
"\x0epublishConfig3\x18\v \x01(\v2\x13.Cast.PublishConfigR\x0epublishConfig3\x12;\n" +
|
||||
"\x0epublishConfig4\x18\f \x01(\v2\x13.Cast.PublishConfigR\x0epublishConfig4\x12\x1a\n" +
|
||||
"\bvideoUrl\x18\r \x01(\tR\bvideoUrl\x12\x1a\n" +
|
||||
"\bcoverUrl\x18\x0e \x01(\tR\bcoverUrl\x12\x1e\n" +
|
||||
"\n" +
|
||||
"approvalID\x18\x0e \x01(\tR\n" +
|
||||
"approvalID\x18\x0f \x01(\tR\n" +
|
||||
"approvalID\x123\n" +
|
||||
"\vWorkLogData\x18\x0f \x03(\v2\x11.Cast.WorkLogInfoR\vWorkLogData\x12\"\n" +
|
||||
"\fworkCategory\x18\x10 \x01(\rR\fworkCategory\x12J\n" +
|
||||
"\fmediaAccData\x18\x11 \x03(\v2&.Cast.WorkDetailResp.MediaAccDataEntryR\fmediaAccData\x12*\n" +
|
||||
"\x10coverTimestampMs\x18\x12 \x01(\x04R\x10coverTimestampMs\x12\x1e\n" +
|
||||
"\vWorkLogData\x18\x10 \x03(\v2\x11.Cast.WorkLogInfoR\vWorkLogData\x12\"\n" +
|
||||
"\fworkCategory\x18\x11 \x01(\rR\fworkCategory\x12J\n" +
|
||||
"\fmediaAccData\x18\x12 \x03(\v2&.Cast.WorkDetailResp.MediaAccDataEntryR\fmediaAccData\x12*\n" +
|
||||
"\x10coverTimestampMs\x18\x13 \x01(\x04R\x10coverTimestampMs\x12\x1e\n" +
|
||||
"\n" +
|
||||
"scriptUuid\x18\x13 \x01(\tR\n" +
|
||||
"scriptUuid\x18\x14 \x01(\tR\n" +
|
||||
"scriptUuid\x1aT\n" +
|
||||
"\x11MediaAccDataEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12)\n" +
|
||||
@ -5555,17 +5685,24 @@ const file_pb_fiee_cast_proto_rawDesc = "" +
|
||||
"\x06prompt\x18\x01 \x01(\tR\x06prompt\x12\x1a\n" +
|
||||
"\bcategory\x18\x02 \x01(\tR\bcategory\x12\x12\n" +
|
||||
"\x04page\x18\x03 \x01(\x05R\x04page\x12\x1a\n" +
|
||||
"\bpageSize\x18\x04 \x01(\x05R\bpageSize\"`\n" +
|
||||
"\bpageSize\x18\x04 \x01(\x05R\bpageSize\"x\n" +
|
||||
"\n" +
|
||||
"PromptInfo\x12\x1e\n" +
|
||||
"\n" +
|
||||
"promptUuid\x18\x01 \x01(\tR\n" +
|
||||
"promptUuid\x12\x16\n" +
|
||||
"\x06prompt\x18\x02 \x01(\tR\x06prompt\x12\x1a\n" +
|
||||
"\bcategory\x18\x03 \x01(\tR\bcategory\"M\n" +
|
||||
"\bcategory\x18\x03 \x01(\tR\bcategory\x12\x16\n" +
|
||||
"\x06remark\x18\x04 \x01(\tR\x06remark\"M\n" +
|
||||
"\x0fListPromptsResp\x12$\n" +
|
||||
"\x04data\x18\x01 \x03(\v2\x10.Cast.PromptInfoR\x04data\x12\x14\n" +
|
||||
"\x05count\x18\x02 \x01(\x03R\x05count*G\n" +
|
||||
"\x05count\x18\x02 \x01(\x03R\x05count\"<\n" +
|
||||
"\x14UpdatePromptBatchReq\x12$\n" +
|
||||
"\x04data\x18\x01 \x03(\v2\x10.Cast.PromptInfoR\x04data\"\x7f\n" +
|
||||
"\x15UpdatePromptBatchResp\x12$\n" +
|
||||
"\x04data\x18\x01 \x03(\v2\x10.Cast.PromptInfoR\x04data\x12\"\n" +
|
||||
"\fsuccessCount\x18\x02 \x01(\x05R\fsuccessCount\x12\x1c\n" +
|
||||
"\tfailCount\x18\x03 \x01(\x05R\tfailCount*G\n" +
|
||||
"\x0ePlatformIDENUM\x12\v\n" +
|
||||
"\aUNKNOWN\x10\x00\x12\n" +
|
||||
"\n" +
|
||||
@ -5589,7 +5726,7 @@ const file_pb_fiee_cast_proto_rawDesc = "" +
|
||||
"\x0fAutoPublishENUM\x12\x16\n" +
|
||||
"\x12AutoPublish_UNKONW\x10\x00\x12\x14\n" +
|
||||
"\x10AutoPublish_TRUE\x10\x01\x12\x15\n" +
|
||||
"\x11AutoPublish_FALSE\x10\x022\x91\x11\n" +
|
||||
"\x11AutoPublish_FALSE\x10\x022\xe1\x11\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" +
|
||||
@ -5626,7 +5763,8 @@ const file_pb_fiee_cast_proto_rawDesc = "" +
|
||||
"\fUpdatePrompt\x12\x15.Cast.UpdatePromptReq\x1a\x16.google.protobuf.Empty\"\x00\x12?\n" +
|
||||
"\fDeletePrompt\x12\x15.Cast.DeletePromptReq\x1a\x16.google.protobuf.Empty\"\x00\x126\n" +
|
||||
"\tGetPrompt\x12\x12.Cast.GetPromptReq\x1a\x13.Cast.GetPromptResp\"\x00\x12<\n" +
|
||||
"\vListPrompts\x12\x14.Cast.ListPromptsReq\x1a\x15.Cast.ListPromptsResp\"\x00B\rZ\v./cast;castb\x06proto3"
|
||||
"\vListPrompts\x12\x14.Cast.ListPromptsReq\x1a\x15.Cast.ListPromptsResp\"\x00\x12N\n" +
|
||||
"\x11UpdatePromptBatch\x12\x1a.Cast.UpdatePromptBatchReq\x1a\x1b.Cast.UpdatePromptBatchResp\"\x00B\rZ\v./cast;castb\x06proto3"
|
||||
|
||||
var (
|
||||
file_pb_fiee_cast_proto_rawDescOnce sync.Once
|
||||
@ -5641,7 +5779,7 @@ func file_pb_fiee_cast_proto_rawDescGZIP() []byte {
|
||||
}
|
||||
|
||||
var file_pb_fiee_cast_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
|
||||
var file_pb_fiee_cast_proto_msgTypes = make([]protoimpl.MessageInfo, 68)
|
||||
var file_pb_fiee_cast_proto_msgTypes = make([]protoimpl.MessageInfo, 70)
|
||||
var file_pb_fiee_cast_proto_goTypes = []any{
|
||||
(PlatformIDENUM)(0), // 0: Cast.PlatformIDENUM
|
||||
(AuthStatusENUM)(0), // 1: Cast.AuthStatusENUM
|
||||
@ -5710,12 +5848,14 @@ var file_pb_fiee_cast_proto_goTypes = []any{
|
||||
(*ListPromptsReq)(nil), // 64: Cast.ListPromptsReq
|
||||
(*PromptInfo)(nil), // 65: Cast.PromptInfo
|
||||
(*ListPromptsResp)(nil), // 66: Cast.ListPromptsResp
|
||||
(*WorkListResp_Info)(nil), // 67: Cast.WorkListResp.Info
|
||||
nil, // 68: Cast.WorkDetailResp.MediaAccDataEntry
|
||||
(*MediaAccountsResp_Info)(nil), // 69: Cast.MediaAccountsResp.Info
|
||||
(*MediaWorksResp_Info)(nil), // 70: Cast.MediaWorksResp.Info
|
||||
(*PublishResp_Info)(nil), // 71: Cast.PublishResp.Info
|
||||
(*emptypb.Empty)(nil), // 72: google.protobuf.Empty
|
||||
(*UpdatePromptBatchReq)(nil), // 67: Cast.UpdatePromptBatchReq
|
||||
(*UpdatePromptBatchResp)(nil), // 68: Cast.UpdatePromptBatchResp
|
||||
(*WorkListResp_Info)(nil), // 69: Cast.WorkListResp.Info
|
||||
nil, // 70: Cast.WorkDetailResp.MediaAccDataEntry
|
||||
(*MediaAccountsResp_Info)(nil), // 71: Cast.MediaAccountsResp.Info
|
||||
(*MediaWorksResp_Info)(nil), // 72: Cast.MediaWorksResp.Info
|
||||
(*PublishResp_Info)(nil), // 73: Cast.PublishResp.Info
|
||||
(*emptypb.Empty)(nil), // 74: google.protobuf.Empty
|
||||
}
|
||||
var file_pb_fiee_cast_proto_depIdxs = []int32{
|
||||
0, // 0: Cast.MediaUserListReq.platformID:type_name -> Cast.PlatformIDENUM
|
||||
@ -5732,97 +5872,103 @@ var file_pb_fiee_cast_proto_depIdxs = []int32{
|
||||
14, // 11: Cast.UpdateWorkVideoReq.publishConfig1:type_name -> Cast.PublishConfig
|
||||
14, // 12: Cast.UpdateWorkVideoReq.publishConfig2:type_name -> Cast.PublishConfig
|
||||
14, // 13: Cast.UpdateWorkVideoReq.publishConfig3:type_name -> Cast.PublishConfig
|
||||
3, // 14: Cast.UpdateWorkVideoReq.autoPublish:type_name -> Cast.AutoPublishENUM
|
||||
67, // 15: Cast.WorkListResp.data:type_name -> Cast.WorkListResp.Info
|
||||
14, // 16: Cast.WorkDetailResp.publishConfig1:type_name -> Cast.PublishConfig
|
||||
14, // 17: Cast.WorkDetailResp.publishConfig2:type_name -> Cast.PublishConfig
|
||||
14, // 18: Cast.WorkDetailResp.publishConfig3:type_name -> Cast.PublishConfig
|
||||
20, // 19: Cast.WorkDetailResp.WorkLogData:type_name -> Cast.WorkLogInfo
|
||||
68, // 20: Cast.WorkDetailResp.mediaAccData:type_name -> Cast.WorkDetailResp.MediaAccDataEntry
|
||||
2, // 21: Cast.UpdateStatusReq.workAction:type_name -> Cast.WorkActionENUM
|
||||
3, // 22: Cast.UpdateStatusReq.autoPublish:type_name -> Cast.AutoPublishENUM
|
||||
69, // 23: Cast.MediaAccountsResp.data:type_name -> Cast.MediaAccountsResp.Info
|
||||
70, // 24: Cast.MediaWorksResp.data:type_name -> Cast.MediaWorksResp.Info
|
||||
71, // 25: Cast.PublishResp.data:type_name -> Cast.PublishResp.Info
|
||||
0, // 26: Cast.OAuthCodeToTokenReq.platformID:type_name -> Cast.PlatformIDENUM
|
||||
0, // 27: Cast.RefreshTokenReq.platformID:type_name -> Cast.PlatformIDENUM
|
||||
51, // 28: Cast.ListVideoScriptsResp.data:type_name -> Cast.VideoScriptInfo
|
||||
51, // 29: Cast.UpdateVideoScriptBatchReq.data:type_name -> Cast.VideoScriptInfo
|
||||
51, // 30: Cast.UpdateVideoScriptBatchResp.data:type_name -> Cast.VideoScriptInfo
|
||||
2, // 31: Cast.UpdateScriptStatusReq.workAction:type_name -> Cast.WorkActionENUM
|
||||
65, // 32: Cast.ListPromptsResp.data:type_name -> Cast.PromptInfo
|
||||
5, // 33: Cast.WorkDetailResp.MediaAccDataEntry.value:type_name -> Cast.MediaUserInfo
|
||||
4, // 34: Cast.Cast.MediaUserList:input_type -> Cast.MediaUserListReq
|
||||
7, // 35: Cast.Cast.UpdateMediaAccount:input_type -> Cast.UpdateMediaAccountReq
|
||||
9, // 36: Cast.Cast.UnbindManager:input_type -> Cast.UnbindManagerReq
|
||||
11, // 37: Cast.Cast.BindManager:input_type -> Cast.BindManagerReq
|
||||
12, // 38: Cast.Cast.UpdateWorkImage:input_type -> Cast.UpdateWorkImageReq
|
||||
15, // 39: Cast.Cast.UpdateWorkVideo:input_type -> Cast.UpdateWorkVideoReq
|
||||
17, // 40: Cast.Cast.WorkList:input_type -> Cast.WorkListReq
|
||||
19, // 41: Cast.Cast.WorkDetail:input_type -> Cast.WorkDetailReq
|
||||
22, // 42: Cast.Cast.UpdateStatus:input_type -> Cast.UpdateStatusReq
|
||||
23, // 43: Cast.Cast.MediaAccounts:input_type -> Cast.MediaAccountsReq
|
||||
25, // 44: Cast.Cast.MediaWorks:input_type -> Cast.MediaWorksReq
|
||||
27, // 45: Cast.Cast.Publish:input_type -> Cast.PublishReq
|
||||
29, // 46: Cast.Cast.RePublish:input_type -> Cast.RePublishReq
|
||||
31, // 47: Cast.Cast.DelWork:input_type -> Cast.DelWorkReq
|
||||
32, // 48: Cast.Cast.WorkInfo:input_type -> Cast.WorkInfoReq
|
||||
34, // 49: Cast.Cast.ArtistInfo:input_type -> Cast.ArtistInfoReq
|
||||
36, // 50: Cast.Cast.OAuthAccount:input_type -> Cast.OAuthAccountReq
|
||||
40, // 51: Cast.Cast.OAuthCodeToToken:input_type -> Cast.OAuthCodeToTokenReq
|
||||
42, // 52: Cast.Cast.RefreshToken:input_type -> Cast.RefreshTokenReq
|
||||
44, // 53: Cast.Cast.PublishMediaInfo:input_type -> Cast.PublishMediaInfoReq
|
||||
72, // 54: Cast.Cast.Test:input_type -> google.protobuf.Empty
|
||||
46, // 55: Cast.Cast.UpdateVideoScript:input_type -> Cast.UpdateVideoScriptReq
|
||||
48, // 56: Cast.Cast.GetVideoScript:input_type -> Cast.GetVideoScriptReq
|
||||
50, // 57: Cast.Cast.ListVideoScripts:input_type -> Cast.ListVideoScriptsReq
|
||||
53, // 58: Cast.Cast.DeleteVideoScript:input_type -> Cast.DeleteVideoScriptReq
|
||||
54, // 59: Cast.Cast.UpdateVideoScriptBatch:input_type -> Cast.UpdateVideoScriptBatchReq
|
||||
56, // 60: Cast.Cast.UpdateScriptStatus:input_type -> Cast.UpdateScriptStatusReq
|
||||
58, // 61: Cast.Cast.GetLayout:input_type -> Cast.GetLayoutReq
|
||||
57, // 62: Cast.Cast.SetLayout:input_type -> Cast.SetLayoutReq
|
||||
60, // 63: Cast.Cast.UpdatePrompt:input_type -> Cast.UpdatePromptReq
|
||||
61, // 64: Cast.Cast.DeletePrompt:input_type -> Cast.DeletePromptReq
|
||||
62, // 65: Cast.Cast.GetPrompt:input_type -> Cast.GetPromptReq
|
||||
64, // 66: Cast.Cast.ListPrompts:input_type -> Cast.ListPromptsReq
|
||||
6, // 67: Cast.Cast.MediaUserList:output_type -> Cast.MediaUserListResp
|
||||
8, // 68: Cast.Cast.UpdateMediaAccount:output_type -> Cast.UpdateMediaAccountResp
|
||||
10, // 69: Cast.Cast.UnbindManager:output_type -> Cast.UnbindManagerResp
|
||||
72, // 70: Cast.Cast.BindManager:output_type -> google.protobuf.Empty
|
||||
13, // 71: Cast.Cast.UpdateWorkImage:output_type -> Cast.UpdateWorkImageResp
|
||||
16, // 72: Cast.Cast.UpdateWorkVideo:output_type -> Cast.UpdateWorkVideoResp
|
||||
18, // 73: Cast.Cast.WorkList:output_type -> Cast.WorkListResp
|
||||
21, // 74: Cast.Cast.WorkDetail:output_type -> Cast.WorkDetailResp
|
||||
72, // 75: Cast.Cast.UpdateStatus:output_type -> google.protobuf.Empty
|
||||
24, // 76: Cast.Cast.MediaAccounts:output_type -> Cast.MediaAccountsResp
|
||||
26, // 77: Cast.Cast.MediaWorks:output_type -> Cast.MediaWorksResp
|
||||
28, // 78: Cast.Cast.Publish:output_type -> Cast.PublishResp
|
||||
30, // 79: Cast.Cast.RePublish:output_type -> Cast.RePublishResp
|
||||
72, // 80: Cast.Cast.DelWork:output_type -> google.protobuf.Empty
|
||||
33, // 81: Cast.Cast.WorkInfo:output_type -> Cast.WorkInfoResp
|
||||
35, // 82: Cast.Cast.ArtistInfo:output_type -> Cast.ArtistInfoResp
|
||||
37, // 83: Cast.Cast.OAuthAccount:output_type -> Cast.OAuthAccountResp
|
||||
41, // 84: Cast.Cast.OAuthCodeToToken:output_type -> Cast.OAuthCodeToTokenResp
|
||||
43, // 85: Cast.Cast.RefreshToken:output_type -> Cast.RefreshTokenResp
|
||||
45, // 86: Cast.Cast.PublishMediaInfo:output_type -> Cast.PublishMediaInfoResp
|
||||
72, // 87: Cast.Cast.Test:output_type -> google.protobuf.Empty
|
||||
47, // 88: Cast.Cast.UpdateVideoScript:output_type -> Cast.UpdateVideoScriptResp
|
||||
49, // 89: Cast.Cast.GetVideoScript:output_type -> Cast.GetVideoScriptResp
|
||||
52, // 90: Cast.Cast.ListVideoScripts:output_type -> Cast.ListVideoScriptsResp
|
||||
72, // 91: Cast.Cast.DeleteVideoScript:output_type -> google.protobuf.Empty
|
||||
55, // 92: Cast.Cast.UpdateVideoScriptBatch:output_type -> Cast.UpdateVideoScriptBatchResp
|
||||
72, // 93: Cast.Cast.UpdateScriptStatus:output_type -> google.protobuf.Empty
|
||||
59, // 94: Cast.Cast.GetLayout:output_type -> Cast.GetLayoutResp
|
||||
72, // 95: Cast.Cast.SetLayout:output_type -> google.protobuf.Empty
|
||||
72, // 96: Cast.Cast.UpdatePrompt:output_type -> google.protobuf.Empty
|
||||
72, // 97: Cast.Cast.DeletePrompt:output_type -> google.protobuf.Empty
|
||||
63, // 98: Cast.Cast.GetPrompt:output_type -> Cast.GetPromptResp
|
||||
66, // 99: Cast.Cast.ListPrompts:output_type -> Cast.ListPromptsResp
|
||||
67, // [67:100] is the sub-list for method output_type
|
||||
34, // [34:67] is the sub-list for method input_type
|
||||
34, // [34:34] is the sub-list for extension type_name
|
||||
34, // [34:34] is the sub-list for extension extendee
|
||||
0, // [0:34] is the sub-list for field type_name
|
||||
14, // 14: Cast.UpdateWorkVideoReq.publishConfig4:type_name -> Cast.PublishConfig
|
||||
3, // 15: Cast.UpdateWorkVideoReq.autoPublish:type_name -> Cast.AutoPublishENUM
|
||||
69, // 16: Cast.WorkListResp.data:type_name -> Cast.WorkListResp.Info
|
||||
14, // 17: Cast.WorkDetailResp.publishConfig1:type_name -> Cast.PublishConfig
|
||||
14, // 18: Cast.WorkDetailResp.publishConfig2:type_name -> Cast.PublishConfig
|
||||
14, // 19: Cast.WorkDetailResp.publishConfig3:type_name -> Cast.PublishConfig
|
||||
14, // 20: Cast.WorkDetailResp.publishConfig4:type_name -> Cast.PublishConfig
|
||||
20, // 21: Cast.WorkDetailResp.WorkLogData:type_name -> Cast.WorkLogInfo
|
||||
70, // 22: Cast.WorkDetailResp.mediaAccData:type_name -> Cast.WorkDetailResp.MediaAccDataEntry
|
||||
2, // 23: Cast.UpdateStatusReq.workAction:type_name -> Cast.WorkActionENUM
|
||||
3, // 24: Cast.UpdateStatusReq.autoPublish:type_name -> Cast.AutoPublishENUM
|
||||
71, // 25: Cast.MediaAccountsResp.data:type_name -> Cast.MediaAccountsResp.Info
|
||||
72, // 26: Cast.MediaWorksResp.data:type_name -> Cast.MediaWorksResp.Info
|
||||
73, // 27: Cast.PublishResp.data:type_name -> Cast.PublishResp.Info
|
||||
0, // 28: Cast.OAuthCodeToTokenReq.platformID:type_name -> Cast.PlatformIDENUM
|
||||
0, // 29: Cast.RefreshTokenReq.platformID:type_name -> Cast.PlatformIDENUM
|
||||
51, // 30: Cast.ListVideoScriptsResp.data:type_name -> Cast.VideoScriptInfo
|
||||
51, // 31: Cast.UpdateVideoScriptBatchReq.data:type_name -> Cast.VideoScriptInfo
|
||||
51, // 32: Cast.UpdateVideoScriptBatchResp.data:type_name -> Cast.VideoScriptInfo
|
||||
2, // 33: Cast.UpdateScriptStatusReq.workAction:type_name -> Cast.WorkActionENUM
|
||||
65, // 34: Cast.ListPromptsResp.data:type_name -> Cast.PromptInfo
|
||||
65, // 35: Cast.UpdatePromptBatchReq.data:type_name -> Cast.PromptInfo
|
||||
65, // 36: Cast.UpdatePromptBatchResp.data:type_name -> Cast.PromptInfo
|
||||
5, // 37: Cast.WorkDetailResp.MediaAccDataEntry.value:type_name -> Cast.MediaUserInfo
|
||||
4, // 38: Cast.Cast.MediaUserList:input_type -> Cast.MediaUserListReq
|
||||
7, // 39: Cast.Cast.UpdateMediaAccount:input_type -> Cast.UpdateMediaAccountReq
|
||||
9, // 40: Cast.Cast.UnbindManager:input_type -> Cast.UnbindManagerReq
|
||||
11, // 41: Cast.Cast.BindManager:input_type -> Cast.BindManagerReq
|
||||
12, // 42: Cast.Cast.UpdateWorkImage:input_type -> Cast.UpdateWorkImageReq
|
||||
15, // 43: Cast.Cast.UpdateWorkVideo:input_type -> Cast.UpdateWorkVideoReq
|
||||
17, // 44: Cast.Cast.WorkList:input_type -> Cast.WorkListReq
|
||||
19, // 45: Cast.Cast.WorkDetail:input_type -> Cast.WorkDetailReq
|
||||
22, // 46: Cast.Cast.UpdateStatus:input_type -> Cast.UpdateStatusReq
|
||||
23, // 47: Cast.Cast.MediaAccounts:input_type -> Cast.MediaAccountsReq
|
||||
25, // 48: Cast.Cast.MediaWorks:input_type -> Cast.MediaWorksReq
|
||||
27, // 49: Cast.Cast.Publish:input_type -> Cast.PublishReq
|
||||
29, // 50: Cast.Cast.RePublish:input_type -> Cast.RePublishReq
|
||||
31, // 51: Cast.Cast.DelWork:input_type -> Cast.DelWorkReq
|
||||
32, // 52: Cast.Cast.WorkInfo:input_type -> Cast.WorkInfoReq
|
||||
34, // 53: Cast.Cast.ArtistInfo:input_type -> Cast.ArtistInfoReq
|
||||
36, // 54: Cast.Cast.OAuthAccount:input_type -> Cast.OAuthAccountReq
|
||||
40, // 55: Cast.Cast.OAuthCodeToToken:input_type -> Cast.OAuthCodeToTokenReq
|
||||
42, // 56: Cast.Cast.RefreshToken:input_type -> Cast.RefreshTokenReq
|
||||
44, // 57: Cast.Cast.PublishMediaInfo:input_type -> Cast.PublishMediaInfoReq
|
||||
74, // 58: Cast.Cast.Test:input_type -> google.protobuf.Empty
|
||||
46, // 59: Cast.Cast.UpdateVideoScript:input_type -> Cast.UpdateVideoScriptReq
|
||||
48, // 60: Cast.Cast.GetVideoScript:input_type -> Cast.GetVideoScriptReq
|
||||
50, // 61: Cast.Cast.ListVideoScripts:input_type -> Cast.ListVideoScriptsReq
|
||||
53, // 62: Cast.Cast.DeleteVideoScript:input_type -> Cast.DeleteVideoScriptReq
|
||||
54, // 63: Cast.Cast.UpdateVideoScriptBatch:input_type -> Cast.UpdateVideoScriptBatchReq
|
||||
56, // 64: Cast.Cast.UpdateScriptStatus:input_type -> Cast.UpdateScriptStatusReq
|
||||
58, // 65: Cast.Cast.GetLayout:input_type -> Cast.GetLayoutReq
|
||||
57, // 66: Cast.Cast.SetLayout:input_type -> Cast.SetLayoutReq
|
||||
60, // 67: Cast.Cast.UpdatePrompt:input_type -> Cast.UpdatePromptReq
|
||||
61, // 68: Cast.Cast.DeletePrompt:input_type -> Cast.DeletePromptReq
|
||||
62, // 69: Cast.Cast.GetPrompt:input_type -> Cast.GetPromptReq
|
||||
64, // 70: Cast.Cast.ListPrompts:input_type -> Cast.ListPromptsReq
|
||||
67, // 71: Cast.Cast.UpdatePromptBatch:input_type -> Cast.UpdatePromptBatchReq
|
||||
6, // 72: Cast.Cast.MediaUserList:output_type -> Cast.MediaUserListResp
|
||||
8, // 73: Cast.Cast.UpdateMediaAccount:output_type -> Cast.UpdateMediaAccountResp
|
||||
10, // 74: Cast.Cast.UnbindManager:output_type -> Cast.UnbindManagerResp
|
||||
74, // 75: Cast.Cast.BindManager:output_type -> google.protobuf.Empty
|
||||
13, // 76: Cast.Cast.UpdateWorkImage:output_type -> Cast.UpdateWorkImageResp
|
||||
16, // 77: Cast.Cast.UpdateWorkVideo:output_type -> Cast.UpdateWorkVideoResp
|
||||
18, // 78: Cast.Cast.WorkList:output_type -> Cast.WorkListResp
|
||||
21, // 79: Cast.Cast.WorkDetail:output_type -> Cast.WorkDetailResp
|
||||
74, // 80: Cast.Cast.UpdateStatus:output_type -> google.protobuf.Empty
|
||||
24, // 81: Cast.Cast.MediaAccounts:output_type -> Cast.MediaAccountsResp
|
||||
26, // 82: Cast.Cast.MediaWorks:output_type -> Cast.MediaWorksResp
|
||||
28, // 83: Cast.Cast.Publish:output_type -> Cast.PublishResp
|
||||
30, // 84: Cast.Cast.RePublish:output_type -> Cast.RePublishResp
|
||||
74, // 85: Cast.Cast.DelWork:output_type -> google.protobuf.Empty
|
||||
33, // 86: Cast.Cast.WorkInfo:output_type -> Cast.WorkInfoResp
|
||||
35, // 87: Cast.Cast.ArtistInfo:output_type -> Cast.ArtistInfoResp
|
||||
37, // 88: Cast.Cast.OAuthAccount:output_type -> Cast.OAuthAccountResp
|
||||
41, // 89: Cast.Cast.OAuthCodeToToken:output_type -> Cast.OAuthCodeToTokenResp
|
||||
43, // 90: Cast.Cast.RefreshToken:output_type -> Cast.RefreshTokenResp
|
||||
45, // 91: Cast.Cast.PublishMediaInfo:output_type -> Cast.PublishMediaInfoResp
|
||||
74, // 92: Cast.Cast.Test:output_type -> google.protobuf.Empty
|
||||
47, // 93: Cast.Cast.UpdateVideoScript:output_type -> Cast.UpdateVideoScriptResp
|
||||
49, // 94: Cast.Cast.GetVideoScript:output_type -> Cast.GetVideoScriptResp
|
||||
52, // 95: Cast.Cast.ListVideoScripts:output_type -> Cast.ListVideoScriptsResp
|
||||
74, // 96: Cast.Cast.DeleteVideoScript:output_type -> google.protobuf.Empty
|
||||
55, // 97: Cast.Cast.UpdateVideoScriptBatch:output_type -> Cast.UpdateVideoScriptBatchResp
|
||||
74, // 98: Cast.Cast.UpdateScriptStatus:output_type -> google.protobuf.Empty
|
||||
59, // 99: Cast.Cast.GetLayout:output_type -> Cast.GetLayoutResp
|
||||
74, // 100: Cast.Cast.SetLayout:output_type -> google.protobuf.Empty
|
||||
74, // 101: Cast.Cast.UpdatePrompt:output_type -> google.protobuf.Empty
|
||||
74, // 102: Cast.Cast.DeletePrompt:output_type -> google.protobuf.Empty
|
||||
63, // 103: Cast.Cast.GetPrompt:output_type -> Cast.GetPromptResp
|
||||
66, // 104: Cast.Cast.ListPrompts:output_type -> Cast.ListPromptsResp
|
||||
68, // 105: Cast.Cast.UpdatePromptBatch:output_type -> Cast.UpdatePromptBatchResp
|
||||
72, // [72:106] is the sub-list for method output_type
|
||||
38, // [38:72] is the sub-list for method input_type
|
||||
38, // [38:38] is the sub-list for extension type_name
|
||||
38, // [38:38] is the sub-list for extension extendee
|
||||
0, // [0:38] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_pb_fiee_cast_proto_init() }
|
||||
@ -5836,7 +5982,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: 4,
|
||||
NumMessages: 68,
|
||||
NumMessages: 70,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
@ -1520,6 +1520,35 @@ func (m *UpdateWorkVideoReq) validate(all bool) error {
|
||||
}
|
||||
}
|
||||
|
||||
if all {
|
||||
switch v := interface{}(m.GetPublishConfig4()).(type) {
|
||||
case interface{ ValidateAll() error }:
|
||||
if err := v.ValidateAll(); err != nil {
|
||||
errors = append(errors, UpdateWorkVideoReqValidationError{
|
||||
field: "PublishConfig4",
|
||||
reason: "embedded message failed validation",
|
||||
cause: err,
|
||||
})
|
||||
}
|
||||
case interface{ Validate() error }:
|
||||
if err := v.Validate(); err != nil {
|
||||
errors = append(errors, UpdateWorkVideoReqValidationError{
|
||||
field: "PublishConfig4",
|
||||
reason: "embedded message failed validation",
|
||||
cause: err,
|
||||
})
|
||||
}
|
||||
}
|
||||
} else if v, ok := interface{}(m.GetPublishConfig4()).(interface{ Validate() error }); ok {
|
||||
if err := v.Validate(); err != nil {
|
||||
return UpdateWorkVideoReqValidationError{
|
||||
field: "PublishConfig4",
|
||||
reason: "embedded message failed validation",
|
||||
cause: err,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// no validation rules for Action
|
||||
|
||||
// no validation rules for WorkUuid
|
||||
@ -2320,6 +2349,35 @@ func (m *WorkDetailResp) validate(all bool) error {
|
||||
}
|
||||
}
|
||||
|
||||
if all {
|
||||
switch v := interface{}(m.GetPublishConfig4()).(type) {
|
||||
case interface{ ValidateAll() error }:
|
||||
if err := v.ValidateAll(); err != nil {
|
||||
errors = append(errors, WorkDetailRespValidationError{
|
||||
field: "PublishConfig4",
|
||||
reason: "embedded message failed validation",
|
||||
cause: err,
|
||||
})
|
||||
}
|
||||
case interface{ Validate() error }:
|
||||
if err := v.Validate(); err != nil {
|
||||
errors = append(errors, WorkDetailRespValidationError{
|
||||
field: "PublishConfig4",
|
||||
reason: "embedded message failed validation",
|
||||
cause: err,
|
||||
})
|
||||
}
|
||||
}
|
||||
} else if v, ok := interface{}(m.GetPublishConfig4()).(interface{ Validate() error }); ok {
|
||||
if err := v.Validate(); err != nil {
|
||||
return WorkDetailRespValidationError{
|
||||
field: "PublishConfig4",
|
||||
reason: "embedded message failed validation",
|
||||
cause: err,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// no validation rules for VideoUrl
|
||||
|
||||
// no validation rules for CoverUrl
|
||||
@ -7295,6 +7353,8 @@ func (m *PromptInfo) validate(all bool) error {
|
||||
|
||||
// no validation rules for Category
|
||||
|
||||
// no validation rules for Remark
|
||||
|
||||
if len(errors) > 0 {
|
||||
return PromptInfoMultiError(errors)
|
||||
}
|
||||
@ -7508,6 +7568,282 @@ var _ interface {
|
||||
ErrorName() string
|
||||
} = ListPromptsRespValidationError{}
|
||||
|
||||
// Validate checks the field values on UpdatePromptBatchReq 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 *UpdatePromptBatchReq) Validate() error {
|
||||
return m.validate(false)
|
||||
}
|
||||
|
||||
// ValidateAll checks the field values on UpdatePromptBatchReq 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
|
||||
// UpdatePromptBatchReqMultiError, or nil if none found.
|
||||
func (m *UpdatePromptBatchReq) ValidateAll() error {
|
||||
return m.validate(true)
|
||||
}
|
||||
|
||||
func (m *UpdatePromptBatchReq) 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, UpdatePromptBatchReqValidationError{
|
||||
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, UpdatePromptBatchReqValidationError{
|
||||
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 UpdatePromptBatchReqValidationError{
|
||||
field: fmt.Sprintf("Data[%v]", idx),
|
||||
reason: "embedded message failed validation",
|
||||
cause: err,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if len(errors) > 0 {
|
||||
return UpdatePromptBatchReqMultiError(errors)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
// UpdatePromptBatchReqMultiError is an error wrapping multiple validation
|
||||
// errors returned by UpdatePromptBatchReq.ValidateAll() if the designated
|
||||
// constraints aren't met.
|
||||
type UpdatePromptBatchReqMultiError []error
|
||||
|
||||
// Error returns a concatenation of all the error messages it wraps.
|
||||
func (m UpdatePromptBatchReqMultiError) 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 UpdatePromptBatchReqMultiError) AllErrors() []error { return m }
|
||||
|
||||
// UpdatePromptBatchReqValidationError is the validation error returned by
|
||||
// UpdatePromptBatchReq.Validate if the designated constraints aren't met.
|
||||
type UpdatePromptBatchReqValidationError struct {
|
||||
field string
|
||||
reason string
|
||||
cause error
|
||||
key bool
|
||||
}
|
||||
|
||||
// Field function returns field value.
|
||||
func (e UpdatePromptBatchReqValidationError) Field() string { return e.field }
|
||||
|
||||
// Reason function returns reason value.
|
||||
func (e UpdatePromptBatchReqValidationError) Reason() string { return e.reason }
|
||||
|
||||
// Cause function returns cause value.
|
||||
func (e UpdatePromptBatchReqValidationError) Cause() error { return e.cause }
|
||||
|
||||
// Key function returns key value.
|
||||
func (e UpdatePromptBatchReqValidationError) Key() bool { return e.key }
|
||||
|
||||
// ErrorName returns error name.
|
||||
func (e UpdatePromptBatchReqValidationError) ErrorName() string {
|
||||
return "UpdatePromptBatchReqValidationError"
|
||||
}
|
||||
|
||||
// Error satisfies the builtin error interface
|
||||
func (e UpdatePromptBatchReqValidationError) 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 %sUpdatePromptBatchReq.%s: %s%s",
|
||||
key,
|
||||
e.field,
|
||||
e.reason,
|
||||
cause)
|
||||
}
|
||||
|
||||
var _ error = UpdatePromptBatchReqValidationError{}
|
||||
|
||||
var _ interface {
|
||||
Field() string
|
||||
Reason() string
|
||||
Key() bool
|
||||
Cause() error
|
||||
ErrorName() string
|
||||
} = UpdatePromptBatchReqValidationError{}
|
||||
|
||||
// Validate checks the field values on UpdatePromptBatchResp 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 *UpdatePromptBatchResp) Validate() error {
|
||||
return m.validate(false)
|
||||
}
|
||||
|
||||
// ValidateAll checks the field values on UpdatePromptBatchResp 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
|
||||
// UpdatePromptBatchRespMultiError, or nil if none found.
|
||||
func (m *UpdatePromptBatchResp) ValidateAll() error {
|
||||
return m.validate(true)
|
||||
}
|
||||
|
||||
func (m *UpdatePromptBatchResp) 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, UpdatePromptBatchRespValidationError{
|
||||
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, UpdatePromptBatchRespValidationError{
|
||||
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 UpdatePromptBatchRespValidationError{
|
||||
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 UpdatePromptBatchRespMultiError(errors)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
// UpdatePromptBatchRespMultiError is an error wrapping multiple validation
|
||||
// errors returned by UpdatePromptBatchResp.ValidateAll() if the designated
|
||||
// constraints aren't met.
|
||||
type UpdatePromptBatchRespMultiError []error
|
||||
|
||||
// Error returns a concatenation of all the error messages it wraps.
|
||||
func (m UpdatePromptBatchRespMultiError) 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 UpdatePromptBatchRespMultiError) AllErrors() []error { return m }
|
||||
|
||||
// UpdatePromptBatchRespValidationError is the validation error returned by
|
||||
// UpdatePromptBatchResp.Validate if the designated constraints aren't met.
|
||||
type UpdatePromptBatchRespValidationError struct {
|
||||
field string
|
||||
reason string
|
||||
cause error
|
||||
key bool
|
||||
}
|
||||
|
||||
// Field function returns field value.
|
||||
func (e UpdatePromptBatchRespValidationError) Field() string { return e.field }
|
||||
|
||||
// Reason function returns reason value.
|
||||
func (e UpdatePromptBatchRespValidationError) Reason() string { return e.reason }
|
||||
|
||||
// Cause function returns cause value.
|
||||
func (e UpdatePromptBatchRespValidationError) Cause() error { return e.cause }
|
||||
|
||||
// Key function returns key value.
|
||||
func (e UpdatePromptBatchRespValidationError) Key() bool { return e.key }
|
||||
|
||||
// ErrorName returns error name.
|
||||
func (e UpdatePromptBatchRespValidationError) ErrorName() string {
|
||||
return "UpdatePromptBatchRespValidationError"
|
||||
}
|
||||
|
||||
// Error satisfies the builtin error interface
|
||||
func (e UpdatePromptBatchRespValidationError) 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 %sUpdatePromptBatchResp.%s: %s%s",
|
||||
key,
|
||||
e.field,
|
||||
e.reason,
|
||||
cause)
|
||||
}
|
||||
|
||||
var _ error = UpdatePromptBatchRespValidationError{}
|
||||
|
||||
var _ interface {
|
||||
Field() string
|
||||
Reason() string
|
||||
Key() bool
|
||||
Cause() error
|
||||
ErrorName() string
|
||||
} = UpdatePromptBatchRespValidationError{}
|
||||
|
||||
// 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.
|
||||
|
||||
@ -64,6 +64,7 @@ type CastClient interface {
|
||||
DeletePrompt(ctx context.Context, in *DeletePromptReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
|
||||
GetPrompt(ctx context.Context, in *GetPromptReq, opts ...grpc_go.CallOption) (*GetPromptResp, common.ErrorWithAttachment)
|
||||
ListPrompts(ctx context.Context, in *ListPromptsReq, opts ...grpc_go.CallOption) (*ListPromptsResp, common.ErrorWithAttachment)
|
||||
UpdatePromptBatch(ctx context.Context, in *UpdatePromptBatchReq, opts ...grpc_go.CallOption) (*UpdatePromptBatchResp, common.ErrorWithAttachment)
|
||||
}
|
||||
|
||||
type castClient struct {
|
||||
@ -104,6 +105,7 @@ type CastClientImpl struct {
|
||||
DeletePrompt func(ctx context.Context, in *DeletePromptReq) (*emptypb.Empty, error)
|
||||
GetPrompt func(ctx context.Context, in *GetPromptReq) (*GetPromptResp, error)
|
||||
ListPrompts func(ctx context.Context, in *ListPromptsReq) (*ListPromptsResp, error)
|
||||
UpdatePromptBatch func(ctx context.Context, in *UpdatePromptBatchReq) (*UpdatePromptBatchResp, error)
|
||||
}
|
||||
|
||||
func (c *CastClientImpl) GetDubboStub(cc *triple.TripleConn) CastClient {
|
||||
@ -316,6 +318,12 @@ func (c *castClient) ListPrompts(ctx context.Context, in *ListPromptsReq, opts .
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ListPrompts", in, out)
|
||||
}
|
||||
|
||||
func (c *castClient) UpdatePromptBatch(ctx context.Context, in *UpdatePromptBatchReq, opts ...grpc_go.CallOption) (*UpdatePromptBatchResp, common.ErrorWithAttachment) {
|
||||
out := new(UpdatePromptBatchResp)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdatePromptBatch", in, out)
|
||||
}
|
||||
|
||||
// CastServer is the server API for Cast service.
|
||||
// All implementations must embed UnimplementedCastServer
|
||||
// for forward compatibility
|
||||
@ -355,6 +363,7 @@ type CastServer interface {
|
||||
DeletePrompt(context.Context, *DeletePromptReq) (*emptypb.Empty, error)
|
||||
GetPrompt(context.Context, *GetPromptReq) (*GetPromptResp, error)
|
||||
ListPrompts(context.Context, *ListPromptsReq) (*ListPromptsResp, error)
|
||||
UpdatePromptBatch(context.Context, *UpdatePromptBatchReq) (*UpdatePromptBatchResp, error)
|
||||
mustEmbedUnimplementedCastServer()
|
||||
}
|
||||
|
||||
@ -462,6 +471,9 @@ func (UnimplementedCastServer) GetPrompt(context.Context, *GetPromptReq) (*GetPr
|
||||
func (UnimplementedCastServer) ListPrompts(context.Context, *ListPromptsReq) (*ListPromptsResp, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ListPrompts not implemented")
|
||||
}
|
||||
func (UnimplementedCastServer) UpdatePromptBatch(context.Context, *UpdatePromptBatchReq) (*UpdatePromptBatchResp, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdatePromptBatch not implemented")
|
||||
}
|
||||
func (s *UnimplementedCastServer) XXX_SetProxyImpl(impl protocol.Invoker) {
|
||||
s.proxyImpl = impl
|
||||
}
|
||||
@ -1447,6 +1459,35 @@ func _Cast_ListPrompts_Handler(srv interface{}, ctx context.Context, dec func(in
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Cast_UpdatePromptBatch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UpdatePromptBatchReq)
|
||||
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("UpdatePromptBatch", 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)
|
||||
@ -1586,6 +1627,10 @@ var Cast_ServiceDesc = grpc_go.ServiceDesc{
|
||||
MethodName: "ListPrompts",
|
||||
Handler: _Cast_ListPrompts_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UpdatePromptBatch",
|
||||
Handler: _Cast_UpdatePromptBatch_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc_go.StreamDesc{},
|
||||
Metadata: "pb/fiee/cast.proto",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user