// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.35.2 // protoc v5.28.3 // source: CDNDownloadFileTask.proto package workphone import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type CDNFileType int32 const ( CDNFileType_NoteMsg_Picture CDNFileType = 0 //笔记消息内容中的图片 CDNFileType_NoteMsg_Thumb CDNFileType = 1 //笔记消息内容中的图片视频的缩略图 CDNFileType_NoteMsg_Video CDNFileType = 2 //笔记消息内容中的视频 CDNFileType_NoteMsg_File CDNFileType = 3 //笔记消息内容中的文件(html,语音(speex),pdf,ppt,doc等其他文件) CDNFileType_ChatMsg_Picture CDNFileType = 4 //聊天消息的图片 // 未实现 CDNFileType_ChatMsg_Thumb CDNFileType = 5 //聊天消息的缩略图(图片,视频的缩略图)// 未实现 CDNFileType_ChatMsg_Video CDNFileType = 6 //聊天消息的视频 // 未实现 CDNFileType_ChatMsg_File CDNFileType = 7 //聊天消息的文件 // 未实现 CDNFileType_ChatMsg_Emoji CDNFileType = 8 //聊天消息表情 // 未实现 ) // Enum value maps for CDNFileType. var ( CDNFileType_name = map[int32]string{ 0: "NoteMsg_Picture", 1: "NoteMsg_Thumb", 2: "NoteMsg_Video", 3: "NoteMsg_File", 4: "ChatMsg_Picture", 5: "ChatMsg_Thumb", 6: "ChatMsg_Video", 7: "ChatMsg_File", 8: "ChatMsg_Emoji", } CDNFileType_value = map[string]int32{ "NoteMsg_Picture": 0, "NoteMsg_Thumb": 1, "NoteMsg_Video": 2, "NoteMsg_File": 3, "ChatMsg_Picture": 4, "ChatMsg_Thumb": 5, "ChatMsg_Video": 6, "ChatMsg_File": 7, "ChatMsg_Emoji": 8, } ) func (x CDNFileType) Enum() *CDNFileType { p := new(CDNFileType) *p = x return p } func (x CDNFileType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (CDNFileType) Descriptor() protoreflect.EnumDescriptor { return file_CDNDownloadFileTask_proto_enumTypes[0].Descriptor() } func (CDNFileType) Type() protoreflect.EnumType { return &file_CDNDownloadFileTask_proto_enumTypes[0] } func (x CDNFileType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use CDNFileType.Descriptor instead. func (CDNFileType) EnumDescriptor() ([]byte, []int) { return file_CDNDownloadFileTask_proto_rawDescGZIP(), []int{0} } type CDNDownloadFileTaskMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields WeChatId string `protobuf:"bytes,1,opt,name=WeChatId,proto3" json:"WeChatId,omitempty"` // 商家所属微信号 CdnUrl string `protobuf:"bytes,2,opt,name=CdnUrl,proto3" json:"CdnUrl,omitempty"` CdnKey string `protobuf:"bytes,3,opt,name=CdnKey,proto3" json:"CdnKey,omitempty"` FileType CDNFileType `protobuf:"varint,4,opt,name=FileType,proto3,enum=Jubo.JuLiao.IM.Wx.Proto.CDNFileType" json:"FileType,omitempty"` // 文件下载的场景 FileId string `protobuf:"bytes,5,opt,name=FileId,proto3" json:"FileId,omitempty"` // 文件id,返回结果标识匹配,如果没有自己生成一个(比如用msgSvrId) FileFmt string `protobuf:"bytes,6,opt,name=FileFmt,proto3" json:"FileFmt,omitempty"` // 文件格式(后缀) FileSize int32 `protobuf:"varint,7,opt,name=FileSize,proto3" json:"FileSize,omitempty"` // 文件大小 MsgSvrId int64 `protobuf:"varint,8,opt,name=MsgSvrId,proto3" json:"MsgSvrId,omitempty"` // 聊天消息id(msgSvrId) 可不传,没有cndUrl,可只传图片,视频,文件消息的msgSvrid // 未实现 } func (x *CDNDownloadFileTaskMessage) Reset() { *x = CDNDownloadFileTaskMessage{} mi := &file_CDNDownloadFileTask_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CDNDownloadFileTaskMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*CDNDownloadFileTaskMessage) ProtoMessage() {} func (x *CDNDownloadFileTaskMessage) ProtoReflect() protoreflect.Message { mi := &file_CDNDownloadFileTask_proto_msgTypes[0] 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 CDNDownloadFileTaskMessage.ProtoReflect.Descriptor instead. func (*CDNDownloadFileTaskMessage) Descriptor() ([]byte, []int) { return file_CDNDownloadFileTask_proto_rawDescGZIP(), []int{0} } func (x *CDNDownloadFileTaskMessage) GetWeChatId() string { if x != nil { return x.WeChatId } return "" } func (x *CDNDownloadFileTaskMessage) GetCdnUrl() string { if x != nil { return x.CdnUrl } return "" } func (x *CDNDownloadFileTaskMessage) GetCdnKey() string { if x != nil { return x.CdnKey } return "" } func (x *CDNDownloadFileTaskMessage) GetFileType() CDNFileType { if x != nil { return x.FileType } return CDNFileType_NoteMsg_Picture } func (x *CDNDownloadFileTaskMessage) GetFileId() string { if x != nil { return x.FileId } return "" } func (x *CDNDownloadFileTaskMessage) GetFileFmt() string { if x != nil { return x.FileFmt } return "" } func (x *CDNDownloadFileTaskMessage) GetFileSize() int32 { if x != nil { return x.FileSize } return 0 } func (x *CDNDownloadFileTaskMessage) GetMsgSvrId() int64 { if x != nil { return x.MsgSvrId } return 0 } var File_CDNDownloadFileTask_proto protoreflect.FileDescriptor var file_CDNDownloadFileTask_proto_rawDesc = []byte{ 0x0a, 0x19, 0x43, 0x44, 0x4e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x02, 0x0a, 0x1a, 0x43, 0x44, 0x4e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x43, 0x64, 0x6e, 0x55, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x43, 0x64, 0x6e, 0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x43, 0x64, 0x6e, 0x4b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x43, 0x64, 0x6e, 0x4b, 0x65, 0x79, 0x12, 0x40, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x44, 0x4e, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x46, 0x69, 0x6c, 0x65, 0x46, 0x6d, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x46, 0x69, 0x6c, 0x65, 0x46, 0x6d, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x4d, 0x73, 0x67, 0x53, 0x76, 0x72, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x4d, 0x73, 0x67, 0x53, 0x76, 0x72, 0x49, 0x64, 0x2a, 0xba, 0x01, 0x0a, 0x0b, 0x43, 0x44, 0x4e, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x6f, 0x74, 0x65, 0x4d, 0x73, 0x67, 0x5f, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x4e, 0x6f, 0x74, 0x65, 0x4d, 0x73, 0x67, 0x5f, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x4e, 0x6f, 0x74, 0x65, 0x4d, 0x73, 0x67, 0x5f, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x4e, 0x6f, 0x74, 0x65, 0x4d, 0x73, 0x67, 0x5f, 0x46, 0x69, 0x6c, 0x65, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x73, 0x67, 0x5f, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x10, 0x04, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x73, 0x67, 0x5f, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x10, 0x05, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x73, 0x67, 0x5f, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x10, 0x06, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x73, 0x67, 0x5f, 0x46, 0x69, 0x6c, 0x65, 0x10, 0x07, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x73, 0x67, 0x5f, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x10, 0x08, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_CDNDownloadFileTask_proto_rawDescOnce sync.Once file_CDNDownloadFileTask_proto_rawDescData = file_CDNDownloadFileTask_proto_rawDesc ) func file_CDNDownloadFileTask_proto_rawDescGZIP() []byte { file_CDNDownloadFileTask_proto_rawDescOnce.Do(func() { file_CDNDownloadFileTask_proto_rawDescData = protoimpl.X.CompressGZIP(file_CDNDownloadFileTask_proto_rawDescData) }) return file_CDNDownloadFileTask_proto_rawDescData } var file_CDNDownloadFileTask_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_CDNDownloadFileTask_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_CDNDownloadFileTask_proto_goTypes = []any{ (CDNFileType)(0), // 0: Jubo.JuLiao.IM.Wx.Proto.CDNFileType (*CDNDownloadFileTaskMessage)(nil), // 1: Jubo.JuLiao.IM.Wx.Proto.CDNDownloadFileTaskMessage } var file_CDNDownloadFileTask_proto_depIdxs = []int32{ 0, // 0: Jubo.JuLiao.IM.Wx.Proto.CDNDownloadFileTaskMessage.FileType:type_name -> Jubo.JuLiao.IM.Wx.Proto.CDNFileType 1, // [1:1] is the sub-list for method output_type 1, // [1:1] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name } func init() { file_CDNDownloadFileTask_proto_init() } func file_CDNDownloadFileTask_proto_init() { if File_CDNDownloadFileTask_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_CDNDownloadFileTask_proto_rawDesc, NumEnums: 1, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, GoTypes: file_CDNDownloadFileTask_proto_goTypes, DependencyIndexes: file_CDNDownloadFileTask_proto_depIdxs, EnumInfos: file_CDNDownloadFileTask_proto_enumTypes, MessageInfos: file_CDNDownloadFileTask_proto_msgTypes, }.Build() File_CDNDownloadFileTask_proto = out.File file_CDNDownloadFileTask_proto_rawDesc = nil file_CDNDownloadFileTask_proto_goTypes = nil file_CDNDownloadFileTask_proto_depIdxs = nil }