WDownloadFileByUrlTask.pb.go 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.6
  4. // protoc v3.19.4
  5. // source: wecom/WDownloadFileByUrlTask.proto
  6. package wecom
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. unsafe "unsafe"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type DownloadFileByUrlTaskMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` //
  23. Url string `protobuf:"bytes,2,opt,name=Url,proto3" json:"Url,omitempty"` // url或FileId
  24. AesKey string `protobuf:"bytes,3,opt,name=AesKey,proto3" json:"AesKey,omitempty"` //
  25. AuthKey string `protobuf:"bytes,4,opt,name=AuthKey,proto3" json:"AuthKey,omitempty"` // 微信CDN AuthKey
  26. FileName string `protobuf:"bytes,5,opt,name=FileName,proto3" json:"FileName,omitempty"` // 文件名(一般文件消息才有)
  27. MsgType int32 `protobuf:"varint,6,opt,name=MsgType,proto3" json:"MsgType,omitempty"` // 消息类型
  28. FileType int32 `protobuf:"varint,7,opt,name=FileType,proto3" json:"FileType,omitempty"` // 下载文件的类型 0 原始文件(原图,视频,音频,文件) 1 大图, 2 缩率图(预览图)
  29. TaskId int64 `protobuf:"varint,8,opt,name=TaskId,proto3" json:"TaskId,omitempty"`
  30. ReSend bool `protobuf:"varint,9,opt,name=ReSend,proto3" json:"ReSend,omitempty"` // 重新上传文件
  31. unknownFields protoimpl.UnknownFields
  32. sizeCache protoimpl.SizeCache
  33. }
  34. func (x *DownloadFileByUrlTaskMessage) Reset() {
  35. *x = DownloadFileByUrlTaskMessage{}
  36. mi := &file_wecom_WDownloadFileByUrlTask_proto_msgTypes[0]
  37. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  38. ms.StoreMessageInfo(mi)
  39. }
  40. func (x *DownloadFileByUrlTaskMessage) String() string {
  41. return protoimpl.X.MessageStringOf(x)
  42. }
  43. func (*DownloadFileByUrlTaskMessage) ProtoMessage() {}
  44. func (x *DownloadFileByUrlTaskMessage) ProtoReflect() protoreflect.Message {
  45. mi := &file_wecom_WDownloadFileByUrlTask_proto_msgTypes[0]
  46. if x != nil {
  47. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  48. if ms.LoadMessageInfo() == nil {
  49. ms.StoreMessageInfo(mi)
  50. }
  51. return ms
  52. }
  53. return mi.MessageOf(x)
  54. }
  55. // Deprecated: Use DownloadFileByUrlTaskMessage.ProtoReflect.Descriptor instead.
  56. func (*DownloadFileByUrlTaskMessage) Descriptor() ([]byte, []int) {
  57. return file_wecom_WDownloadFileByUrlTask_proto_rawDescGZIP(), []int{0}
  58. }
  59. func (x *DownloadFileByUrlTaskMessage) GetWxId() int64 {
  60. if x != nil {
  61. return x.WxId
  62. }
  63. return 0
  64. }
  65. func (x *DownloadFileByUrlTaskMessage) GetUrl() string {
  66. if x != nil {
  67. return x.Url
  68. }
  69. return ""
  70. }
  71. func (x *DownloadFileByUrlTaskMessage) GetAesKey() string {
  72. if x != nil {
  73. return x.AesKey
  74. }
  75. return ""
  76. }
  77. func (x *DownloadFileByUrlTaskMessage) GetAuthKey() string {
  78. if x != nil {
  79. return x.AuthKey
  80. }
  81. return ""
  82. }
  83. func (x *DownloadFileByUrlTaskMessage) GetFileName() string {
  84. if x != nil {
  85. return x.FileName
  86. }
  87. return ""
  88. }
  89. func (x *DownloadFileByUrlTaskMessage) GetMsgType() int32 {
  90. if x != nil {
  91. return x.MsgType
  92. }
  93. return 0
  94. }
  95. func (x *DownloadFileByUrlTaskMessage) GetFileType() int32 {
  96. if x != nil {
  97. return x.FileType
  98. }
  99. return 0
  100. }
  101. func (x *DownloadFileByUrlTaskMessage) GetTaskId() int64 {
  102. if x != nil {
  103. return x.TaskId
  104. }
  105. return 0
  106. }
  107. func (x *DownloadFileByUrlTaskMessage) GetReSend() bool {
  108. if x != nil {
  109. return x.ReSend
  110. }
  111. return false
  112. }
  113. var File_wecom_WDownloadFileByUrlTask_proto protoreflect.FileDescriptor
  114. const file_wecom_WDownloadFileByUrlTask_proto_rawDesc = "" +
  115. "\n" +
  116. "\"wecom/WDownloadFileByUrlTask.proto\x12\x10Im.Scrm.Ww.Proto\"\xf8\x01\n" +
  117. "\x1cDownloadFileByUrlTaskMessage\x12\x12\n" +
  118. "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12\x10\n" +
  119. "\x03Url\x18\x02 \x01(\tR\x03Url\x12\x16\n" +
  120. "\x06AesKey\x18\x03 \x01(\tR\x06AesKey\x12\x18\n" +
  121. "\aAuthKey\x18\x04 \x01(\tR\aAuthKey\x12\x1a\n" +
  122. "\bFileName\x18\x05 \x01(\tR\bFileName\x12\x18\n" +
  123. "\aMsgType\x18\x06 \x01(\x05R\aMsgType\x12\x1a\n" +
  124. "\bFileType\x18\a \x01(\x05R\bFileType\x12\x16\n" +
  125. "\x06TaskId\x18\b \x01(\x03R\x06TaskId\x12\x16\n" +
  126. "\x06ReSend\x18\t \x01(\bR\x06ReSendB\x13Z\x11./workphone/wecomb\x06proto3"
  127. var (
  128. file_wecom_WDownloadFileByUrlTask_proto_rawDescOnce sync.Once
  129. file_wecom_WDownloadFileByUrlTask_proto_rawDescData []byte
  130. )
  131. func file_wecom_WDownloadFileByUrlTask_proto_rawDescGZIP() []byte {
  132. file_wecom_WDownloadFileByUrlTask_proto_rawDescOnce.Do(func() {
  133. file_wecom_WDownloadFileByUrlTask_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WDownloadFileByUrlTask_proto_rawDesc), len(file_wecom_WDownloadFileByUrlTask_proto_rawDesc)))
  134. })
  135. return file_wecom_WDownloadFileByUrlTask_proto_rawDescData
  136. }
  137. var file_wecom_WDownloadFileByUrlTask_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  138. var file_wecom_WDownloadFileByUrlTask_proto_goTypes = []any{
  139. (*DownloadFileByUrlTaskMessage)(nil), // 0: Im.Scrm.Ww.Proto.DownloadFileByUrlTaskMessage
  140. }
  141. var file_wecom_WDownloadFileByUrlTask_proto_depIdxs = []int32{
  142. 0, // [0:0] is the sub-list for method output_type
  143. 0, // [0:0] is the sub-list for method input_type
  144. 0, // [0:0] is the sub-list for extension type_name
  145. 0, // [0:0] is the sub-list for extension extendee
  146. 0, // [0:0] is the sub-list for field type_name
  147. }
  148. func init() { file_wecom_WDownloadFileByUrlTask_proto_init() }
  149. func file_wecom_WDownloadFileByUrlTask_proto_init() {
  150. if File_wecom_WDownloadFileByUrlTask_proto != nil {
  151. return
  152. }
  153. type x struct{}
  154. out := protoimpl.TypeBuilder{
  155. File: protoimpl.DescBuilder{
  156. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  157. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WDownloadFileByUrlTask_proto_rawDesc), len(file_wecom_WDownloadFileByUrlTask_proto_rawDesc)),
  158. NumEnums: 0,
  159. NumMessages: 1,
  160. NumExtensions: 0,
  161. NumServices: 0,
  162. },
  163. GoTypes: file_wecom_WDownloadFileByUrlTask_proto_goTypes,
  164. DependencyIndexes: file_wecom_WDownloadFileByUrlTask_proto_depIdxs,
  165. MessageInfos: file_wecom_WDownloadFileByUrlTask_proto_msgTypes,
  166. }.Build()
  167. File_wecom_WDownloadFileByUrlTask_proto = out.File
  168. file_wecom_WDownloadFileByUrlTask_proto_goTypes = nil
  169. file_wecom_WDownloadFileByUrlTask_proto_depIdxs = nil
  170. }