WDownloadFileByMsgIdTask.pb.go 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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/WDownloadFileByMsgIdTask.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 DownloadFileByMsgIdTaskMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` //
  23. MsgId int64 `protobuf:"varint,2,opt,name=MsgId,proto3" json:"MsgId,omitempty"`
  24. MsgRemoteId int64 `protobuf:"varint,3,opt,name=MsgRemoteId,proto3" json:"MsgRemoteId,omitempty"` //
  25. FileType int32 `protobuf:"varint,4,opt,name=FileType,proto3" json:"FileType,omitempty"` // 下载文件的类型 0 原始文件(原图,视频,音频,文件)
  26. TaskId int64 `protobuf:"varint,5,opt,name=TaskId,proto3" json:"TaskId,omitempty"`
  27. ReSend bool `protobuf:"varint,6,opt,name=ReSend,proto3" json:"ReSend,omitempty"` // 重新上传文件
  28. unknownFields protoimpl.UnknownFields
  29. sizeCache protoimpl.SizeCache
  30. }
  31. func (x *DownloadFileByMsgIdTaskMessage) Reset() {
  32. *x = DownloadFileByMsgIdTaskMessage{}
  33. mi := &file_wecom_WDownloadFileByMsgIdTask_proto_msgTypes[0]
  34. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  35. ms.StoreMessageInfo(mi)
  36. }
  37. func (x *DownloadFileByMsgIdTaskMessage) String() string {
  38. return protoimpl.X.MessageStringOf(x)
  39. }
  40. func (*DownloadFileByMsgIdTaskMessage) ProtoMessage() {}
  41. func (x *DownloadFileByMsgIdTaskMessage) ProtoReflect() protoreflect.Message {
  42. mi := &file_wecom_WDownloadFileByMsgIdTask_proto_msgTypes[0]
  43. if x != nil {
  44. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  45. if ms.LoadMessageInfo() == nil {
  46. ms.StoreMessageInfo(mi)
  47. }
  48. return ms
  49. }
  50. return mi.MessageOf(x)
  51. }
  52. // Deprecated: Use DownloadFileByMsgIdTaskMessage.ProtoReflect.Descriptor instead.
  53. func (*DownloadFileByMsgIdTaskMessage) Descriptor() ([]byte, []int) {
  54. return file_wecom_WDownloadFileByMsgIdTask_proto_rawDescGZIP(), []int{0}
  55. }
  56. func (x *DownloadFileByMsgIdTaskMessage) GetWxId() int64 {
  57. if x != nil {
  58. return x.WxId
  59. }
  60. return 0
  61. }
  62. func (x *DownloadFileByMsgIdTaskMessage) GetMsgId() int64 {
  63. if x != nil {
  64. return x.MsgId
  65. }
  66. return 0
  67. }
  68. func (x *DownloadFileByMsgIdTaskMessage) GetMsgRemoteId() int64 {
  69. if x != nil {
  70. return x.MsgRemoteId
  71. }
  72. return 0
  73. }
  74. func (x *DownloadFileByMsgIdTaskMessage) GetFileType() int32 {
  75. if x != nil {
  76. return x.FileType
  77. }
  78. return 0
  79. }
  80. func (x *DownloadFileByMsgIdTaskMessage) GetTaskId() int64 {
  81. if x != nil {
  82. return x.TaskId
  83. }
  84. return 0
  85. }
  86. func (x *DownloadFileByMsgIdTaskMessage) GetReSend() bool {
  87. if x != nil {
  88. return x.ReSend
  89. }
  90. return false
  91. }
  92. var File_wecom_WDownloadFileByMsgIdTask_proto protoreflect.FileDescriptor
  93. const file_wecom_WDownloadFileByMsgIdTask_proto_rawDesc = "" +
  94. "\n" +
  95. "$wecom/WDownloadFileByMsgIdTask.proto\x12\x10Im.Scrm.Ww.Proto\"\xb8\x01\n" +
  96. "\x1eDownloadFileByMsgIdTaskMessage\x12\x12\n" +
  97. "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12\x14\n" +
  98. "\x05MsgId\x18\x02 \x01(\x03R\x05MsgId\x12 \n" +
  99. "\vMsgRemoteId\x18\x03 \x01(\x03R\vMsgRemoteId\x12\x1a\n" +
  100. "\bFileType\x18\x04 \x01(\x05R\bFileType\x12\x16\n" +
  101. "\x06TaskId\x18\x05 \x01(\x03R\x06TaskId\x12\x16\n" +
  102. "\x06ReSend\x18\x06 \x01(\bR\x06ReSendB\x13Z\x11./workphone/wecomb\x06proto3"
  103. var (
  104. file_wecom_WDownloadFileByMsgIdTask_proto_rawDescOnce sync.Once
  105. file_wecom_WDownloadFileByMsgIdTask_proto_rawDescData []byte
  106. )
  107. func file_wecom_WDownloadFileByMsgIdTask_proto_rawDescGZIP() []byte {
  108. file_wecom_WDownloadFileByMsgIdTask_proto_rawDescOnce.Do(func() {
  109. file_wecom_WDownloadFileByMsgIdTask_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WDownloadFileByMsgIdTask_proto_rawDesc), len(file_wecom_WDownloadFileByMsgIdTask_proto_rawDesc)))
  110. })
  111. return file_wecom_WDownloadFileByMsgIdTask_proto_rawDescData
  112. }
  113. var file_wecom_WDownloadFileByMsgIdTask_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  114. var file_wecom_WDownloadFileByMsgIdTask_proto_goTypes = []any{
  115. (*DownloadFileByMsgIdTaskMessage)(nil), // 0: Im.Scrm.Ww.Proto.DownloadFileByMsgIdTaskMessage
  116. }
  117. var file_wecom_WDownloadFileByMsgIdTask_proto_depIdxs = []int32{
  118. 0, // [0:0] is the sub-list for method output_type
  119. 0, // [0:0] is the sub-list for method input_type
  120. 0, // [0:0] is the sub-list for extension type_name
  121. 0, // [0:0] is the sub-list for extension extendee
  122. 0, // [0:0] is the sub-list for field type_name
  123. }
  124. func init() { file_wecom_WDownloadFileByMsgIdTask_proto_init() }
  125. func file_wecom_WDownloadFileByMsgIdTask_proto_init() {
  126. if File_wecom_WDownloadFileByMsgIdTask_proto != nil {
  127. return
  128. }
  129. type x struct{}
  130. out := protoimpl.TypeBuilder{
  131. File: protoimpl.DescBuilder{
  132. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  133. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WDownloadFileByMsgIdTask_proto_rawDesc), len(file_wecom_WDownloadFileByMsgIdTask_proto_rawDesc)),
  134. NumEnums: 0,
  135. NumMessages: 1,
  136. NumExtensions: 0,
  137. NumServices: 0,
  138. },
  139. GoTypes: file_wecom_WDownloadFileByMsgIdTask_proto_goTypes,
  140. DependencyIndexes: file_wecom_WDownloadFileByMsgIdTask_proto_depIdxs,
  141. MessageInfos: file_wecom_WDownloadFileByMsgIdTask_proto_msgTypes,
  142. }.Build()
  143. File_wecom_WDownloadFileByMsgIdTask_proto = out.File
  144. file_wecom_WDownloadFileByMsgIdTask_proto_goTypes = nil
  145. file_wecom_WDownloadFileByMsgIdTask_proto_depIdxs = nil
  146. }