WDownloadFileResultNotice.pb.go 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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/WDownloadFileResultNotice.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 DownloadFileResultNoticeMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` // 设备企业WX号
  23. Success bool `protobuf:"varint,2,opt,name=Success,proto3" json:"Success,omitempty"` // 是否成功
  24. ErrMsg string `protobuf:"bytes,3,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` // 错误内容描述 获取 成功时附带的结果内容
  25. OrgUrl string `protobuf:"bytes,4,opt,name=OrgUrl,proto3" json:"OrgUrl,omitempty"` // 原始URL
  26. Url string `protobuf:"bytes,5,opt,name=Url,proto3" json:"Url,omitempty"` //
  27. FileType int32 `protobuf:"varint,6,opt,name=FileType,proto3" json:"FileType,omitempty"` // 文件类型;1 大图 4 语音 5 视频 6 文件
  28. TaskId int64 `protobuf:"varint,7,opt,name=TaskId,proto3" json:"TaskId,omitempty"` // 业务的id,通用的。
  29. MsgId int64 `protobuf:"varint,8,opt,name=MsgId,proto3" json:"MsgId,omitempty"` // 消息唯一id
  30. unknownFields protoimpl.UnknownFields
  31. sizeCache protoimpl.SizeCache
  32. }
  33. func (x *DownloadFileResultNoticeMessage) Reset() {
  34. *x = DownloadFileResultNoticeMessage{}
  35. mi := &file_wecom_WDownloadFileResultNotice_proto_msgTypes[0]
  36. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  37. ms.StoreMessageInfo(mi)
  38. }
  39. func (x *DownloadFileResultNoticeMessage) String() string {
  40. return protoimpl.X.MessageStringOf(x)
  41. }
  42. func (*DownloadFileResultNoticeMessage) ProtoMessage() {}
  43. func (x *DownloadFileResultNoticeMessage) ProtoReflect() protoreflect.Message {
  44. mi := &file_wecom_WDownloadFileResultNotice_proto_msgTypes[0]
  45. if x != nil {
  46. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  47. if ms.LoadMessageInfo() == nil {
  48. ms.StoreMessageInfo(mi)
  49. }
  50. return ms
  51. }
  52. return mi.MessageOf(x)
  53. }
  54. // Deprecated: Use DownloadFileResultNoticeMessage.ProtoReflect.Descriptor instead.
  55. func (*DownloadFileResultNoticeMessage) Descriptor() ([]byte, []int) {
  56. return file_wecom_WDownloadFileResultNotice_proto_rawDescGZIP(), []int{0}
  57. }
  58. func (x *DownloadFileResultNoticeMessage) GetWxId() int64 {
  59. if x != nil {
  60. return x.WxId
  61. }
  62. return 0
  63. }
  64. func (x *DownloadFileResultNoticeMessage) GetSuccess() bool {
  65. if x != nil {
  66. return x.Success
  67. }
  68. return false
  69. }
  70. func (x *DownloadFileResultNoticeMessage) GetErrMsg() string {
  71. if x != nil {
  72. return x.ErrMsg
  73. }
  74. return ""
  75. }
  76. func (x *DownloadFileResultNoticeMessage) GetOrgUrl() string {
  77. if x != nil {
  78. return x.OrgUrl
  79. }
  80. return ""
  81. }
  82. func (x *DownloadFileResultNoticeMessage) GetUrl() string {
  83. if x != nil {
  84. return x.Url
  85. }
  86. return ""
  87. }
  88. func (x *DownloadFileResultNoticeMessage) GetFileType() int32 {
  89. if x != nil {
  90. return x.FileType
  91. }
  92. return 0
  93. }
  94. func (x *DownloadFileResultNoticeMessage) GetTaskId() int64 {
  95. if x != nil {
  96. return x.TaskId
  97. }
  98. return 0
  99. }
  100. func (x *DownloadFileResultNoticeMessage) GetMsgId() int64 {
  101. if x != nil {
  102. return x.MsgId
  103. }
  104. return 0
  105. }
  106. var File_wecom_WDownloadFileResultNotice_proto protoreflect.FileDescriptor
  107. const file_wecom_WDownloadFileResultNotice_proto_rawDesc = "" +
  108. "\n" +
  109. "%wecom/WDownloadFileResultNotice.proto\x12\x10Im.Scrm.Ww.Proto\"\xdb\x01\n" +
  110. "\x1fDownloadFileResultNoticeMessage\x12\x12\n" +
  111. "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12\x18\n" +
  112. "\aSuccess\x18\x02 \x01(\bR\aSuccess\x12\x16\n" +
  113. "\x06ErrMsg\x18\x03 \x01(\tR\x06ErrMsg\x12\x16\n" +
  114. "\x06OrgUrl\x18\x04 \x01(\tR\x06OrgUrl\x12\x10\n" +
  115. "\x03Url\x18\x05 \x01(\tR\x03Url\x12\x1a\n" +
  116. "\bFileType\x18\x06 \x01(\x05R\bFileType\x12\x16\n" +
  117. "\x06TaskId\x18\a \x01(\x03R\x06TaskId\x12\x14\n" +
  118. "\x05MsgId\x18\b \x01(\x03R\x05MsgIdB\x13Z\x11./workphone/wecomb\x06proto3"
  119. var (
  120. file_wecom_WDownloadFileResultNotice_proto_rawDescOnce sync.Once
  121. file_wecom_WDownloadFileResultNotice_proto_rawDescData []byte
  122. )
  123. func file_wecom_WDownloadFileResultNotice_proto_rawDescGZIP() []byte {
  124. file_wecom_WDownloadFileResultNotice_proto_rawDescOnce.Do(func() {
  125. file_wecom_WDownloadFileResultNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WDownloadFileResultNotice_proto_rawDesc), len(file_wecom_WDownloadFileResultNotice_proto_rawDesc)))
  126. })
  127. return file_wecom_WDownloadFileResultNotice_proto_rawDescData
  128. }
  129. var file_wecom_WDownloadFileResultNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  130. var file_wecom_WDownloadFileResultNotice_proto_goTypes = []any{
  131. (*DownloadFileResultNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.DownloadFileResultNoticeMessage
  132. }
  133. var file_wecom_WDownloadFileResultNotice_proto_depIdxs = []int32{
  134. 0, // [0:0] is the sub-list for method output_type
  135. 0, // [0:0] is the sub-list for method input_type
  136. 0, // [0:0] is the sub-list for extension type_name
  137. 0, // [0:0] is the sub-list for extension extendee
  138. 0, // [0:0] is the sub-list for field type_name
  139. }
  140. func init() { file_wecom_WDownloadFileResultNotice_proto_init() }
  141. func file_wecom_WDownloadFileResultNotice_proto_init() {
  142. if File_wecom_WDownloadFileResultNotice_proto != nil {
  143. return
  144. }
  145. type x struct{}
  146. out := protoimpl.TypeBuilder{
  147. File: protoimpl.DescBuilder{
  148. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  149. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WDownloadFileResultNotice_proto_rawDesc), len(file_wecom_WDownloadFileResultNotice_proto_rawDesc)),
  150. NumEnums: 0,
  151. NumMessages: 1,
  152. NumExtensions: 0,
  153. NumServices: 0,
  154. },
  155. GoTypes: file_wecom_WDownloadFileResultNotice_proto_goTypes,
  156. DependencyIndexes: file_wecom_WDownloadFileResultNotice_proto_depIdxs,
  157. MessageInfos: file_wecom_WDownloadFileResultNotice_proto_msgTypes,
  158. }.Build()
  159. File_wecom_WDownloadFileResultNotice_proto = out.File
  160. file_wecom_WDownloadFileResultNotice_proto_goTypes = nil
  161. file_wecom_WDownloadFileResultNotice_proto_depIdxs = nil
  162. }