// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.6 // protoc v3.19.4 // source: wecom/WDownloadFileByUrlTask.proto package wecom import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) 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 DownloadFileByUrlTaskMessage struct { state protoimpl.MessageState `protogen:"open.v1"` WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` // Url string `protobuf:"bytes,2,opt,name=Url,proto3" json:"Url,omitempty"` // url或FileId AesKey string `protobuf:"bytes,3,opt,name=AesKey,proto3" json:"AesKey,omitempty"` // AuthKey string `protobuf:"bytes,4,opt,name=AuthKey,proto3" json:"AuthKey,omitempty"` // 微信CDN AuthKey FileName string `protobuf:"bytes,5,opt,name=FileName,proto3" json:"FileName,omitempty"` // 文件名(一般文件消息才有) MsgType int32 `protobuf:"varint,6,opt,name=MsgType,proto3" json:"MsgType,omitempty"` // 消息类型 FileType int32 `protobuf:"varint,7,opt,name=FileType,proto3" json:"FileType,omitempty"` // 下载文件的类型 0 原始文件(原图,视频,音频,文件) 1 大图, 2 缩率图(预览图) TaskId int64 `protobuf:"varint,8,opt,name=TaskId,proto3" json:"TaskId,omitempty"` ReSend bool `protobuf:"varint,9,opt,name=ReSend,proto3" json:"ReSend,omitempty"` // 重新上传文件 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DownloadFileByUrlTaskMessage) Reset() { *x = DownloadFileByUrlTaskMessage{} mi := &file_wecom_WDownloadFileByUrlTask_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DownloadFileByUrlTaskMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*DownloadFileByUrlTaskMessage) ProtoMessage() {} func (x *DownloadFileByUrlTaskMessage) ProtoReflect() protoreflect.Message { mi := &file_wecom_WDownloadFileByUrlTask_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 DownloadFileByUrlTaskMessage.ProtoReflect.Descriptor instead. func (*DownloadFileByUrlTaskMessage) Descriptor() ([]byte, []int) { return file_wecom_WDownloadFileByUrlTask_proto_rawDescGZIP(), []int{0} } func (x *DownloadFileByUrlTaskMessage) GetWxId() int64 { if x != nil { return x.WxId } return 0 } func (x *DownloadFileByUrlTaskMessage) GetUrl() string { if x != nil { return x.Url } return "" } func (x *DownloadFileByUrlTaskMessage) GetAesKey() string { if x != nil { return x.AesKey } return "" } func (x *DownloadFileByUrlTaskMessage) GetAuthKey() string { if x != nil { return x.AuthKey } return "" } func (x *DownloadFileByUrlTaskMessage) GetFileName() string { if x != nil { return x.FileName } return "" } func (x *DownloadFileByUrlTaskMessage) GetMsgType() int32 { if x != nil { return x.MsgType } return 0 } func (x *DownloadFileByUrlTaskMessage) GetFileType() int32 { if x != nil { return x.FileType } return 0 } func (x *DownloadFileByUrlTaskMessage) GetTaskId() int64 { if x != nil { return x.TaskId } return 0 } func (x *DownloadFileByUrlTaskMessage) GetReSend() bool { if x != nil { return x.ReSend } return false } var File_wecom_WDownloadFileByUrlTask_proto protoreflect.FileDescriptor const file_wecom_WDownloadFileByUrlTask_proto_rawDesc = "" + "\n" + "\"wecom/WDownloadFileByUrlTask.proto\x12\x10Im.Scrm.Ww.Proto\"\xf8\x01\n" + "\x1cDownloadFileByUrlTaskMessage\x12\x12\n" + "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12\x10\n" + "\x03Url\x18\x02 \x01(\tR\x03Url\x12\x16\n" + "\x06AesKey\x18\x03 \x01(\tR\x06AesKey\x12\x18\n" + "\aAuthKey\x18\x04 \x01(\tR\aAuthKey\x12\x1a\n" + "\bFileName\x18\x05 \x01(\tR\bFileName\x12\x18\n" + "\aMsgType\x18\x06 \x01(\x05R\aMsgType\x12\x1a\n" + "\bFileType\x18\a \x01(\x05R\bFileType\x12\x16\n" + "\x06TaskId\x18\b \x01(\x03R\x06TaskId\x12\x16\n" + "\x06ReSend\x18\t \x01(\bR\x06ReSendB\x13Z\x11./workphone/wecomb\x06proto3" var ( file_wecom_WDownloadFileByUrlTask_proto_rawDescOnce sync.Once file_wecom_WDownloadFileByUrlTask_proto_rawDescData []byte ) func file_wecom_WDownloadFileByUrlTask_proto_rawDescGZIP() []byte { file_wecom_WDownloadFileByUrlTask_proto_rawDescOnce.Do(func() { file_wecom_WDownloadFileByUrlTask_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WDownloadFileByUrlTask_proto_rawDesc), len(file_wecom_WDownloadFileByUrlTask_proto_rawDesc))) }) return file_wecom_WDownloadFileByUrlTask_proto_rawDescData } var file_wecom_WDownloadFileByUrlTask_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_wecom_WDownloadFileByUrlTask_proto_goTypes = []any{ (*DownloadFileByUrlTaskMessage)(nil), // 0: Im.Scrm.Ww.Proto.DownloadFileByUrlTaskMessage } var file_wecom_WDownloadFileByUrlTask_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name } func init() { file_wecom_WDownloadFileByUrlTask_proto_init() } func file_wecom_WDownloadFileByUrlTask_proto_init() { if File_wecom_WDownloadFileByUrlTask_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WDownloadFileByUrlTask_proto_rawDesc), len(file_wecom_WDownloadFileByUrlTask_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, GoTypes: file_wecom_WDownloadFileByUrlTask_proto_goTypes, DependencyIndexes: file_wecom_WDownloadFileByUrlTask_proto_depIdxs, MessageInfos: file_wecom_WDownloadFileByUrlTask_proto_msgTypes, }.Build() File_wecom_WDownloadFileByUrlTask_proto = out.File file_wecom_WDownloadFileByUrlTask_proto_goTypes = nil file_wecom_WDownloadFileByUrlTask_proto_depIdxs = nil }