BizConversPushNotice.pb.go 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.2
  4. // protoc v5.28.3
  5. // source: BizConversPushNotice.proto
  6. package workphone
  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. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type BizConversMessage struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. UserName string `protobuf:"bytes,1,opt,name=UserName,proto3" json:"UserName,omitempty"` // 全局唯一识别码
  24. Digest string `protobuf:"bytes,2,opt,name=Digest,proto3" json:"Digest,omitempty"` // 消息概要显示
  25. DigestUser string `protobuf:"bytes,3,opt,name=DigestUser,proto3" json:"DigestUser,omitempty"` // 消息发送者id
  26. IsSend bool `protobuf:"varint,4,opt,name=IsSend,proto3" json:"IsSend,omitempty"` // 最后消息是否自己发送
  27. MsgCnt int32 `protobuf:"varint,5,opt,name=MsgCnt,proto3" json:"MsgCnt,omitempty"` // 消息条数
  28. UnreadCnt int32 `protobuf:"varint,6,opt,name=UnreadCnt,proto3" json:"UnreadCnt,omitempty"` // 未读消息条数
  29. UpdateTime int64 `protobuf:"varint,7,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"` // 最后消息的时间
  30. // bool IsTop = 8; // 是否置顶
  31. // bool IsSilent = 9; // 是否消息免打扰
  32. // int32 ChatMode = 10; //是否可以发消息
  33. ShowName string `protobuf:"bytes,11,opt,name=ShowName,proto3" json:"ShowName,omitempty"` // 会话名称(备注或昵称)
  34. Avatar string `protobuf:"bytes,12,opt,name=Avatar,proto3" json:"Avatar,omitempty"` // 头像
  35. }
  36. func (x *BizConversMessage) Reset() {
  37. *x = BizConversMessage{}
  38. mi := &file_BizConversPushNotice_proto_msgTypes[0]
  39. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  40. ms.StoreMessageInfo(mi)
  41. }
  42. func (x *BizConversMessage) String() string {
  43. return protoimpl.X.MessageStringOf(x)
  44. }
  45. func (*BizConversMessage) ProtoMessage() {}
  46. func (x *BizConversMessage) ProtoReflect() protoreflect.Message {
  47. mi := &file_BizConversPushNotice_proto_msgTypes[0]
  48. if x != nil {
  49. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  50. if ms.LoadMessageInfo() == nil {
  51. ms.StoreMessageInfo(mi)
  52. }
  53. return ms
  54. }
  55. return mi.MessageOf(x)
  56. }
  57. // Deprecated: Use BizConversMessage.ProtoReflect.Descriptor instead.
  58. func (*BizConversMessage) Descriptor() ([]byte, []int) {
  59. return file_BizConversPushNotice_proto_rawDescGZIP(), []int{0}
  60. }
  61. func (x *BizConversMessage) GetUserName() string {
  62. if x != nil {
  63. return x.UserName
  64. }
  65. return ""
  66. }
  67. func (x *BizConversMessage) GetDigest() string {
  68. if x != nil {
  69. return x.Digest
  70. }
  71. return ""
  72. }
  73. func (x *BizConversMessage) GetDigestUser() string {
  74. if x != nil {
  75. return x.DigestUser
  76. }
  77. return ""
  78. }
  79. func (x *BizConversMessage) GetIsSend() bool {
  80. if x != nil {
  81. return x.IsSend
  82. }
  83. return false
  84. }
  85. func (x *BizConversMessage) GetMsgCnt() int32 {
  86. if x != nil {
  87. return x.MsgCnt
  88. }
  89. return 0
  90. }
  91. func (x *BizConversMessage) GetUnreadCnt() int32 {
  92. if x != nil {
  93. return x.UnreadCnt
  94. }
  95. return 0
  96. }
  97. func (x *BizConversMessage) GetUpdateTime() int64 {
  98. if x != nil {
  99. return x.UpdateTime
  100. }
  101. return 0
  102. }
  103. func (x *BizConversMessage) GetShowName() string {
  104. if x != nil {
  105. return x.ShowName
  106. }
  107. return ""
  108. }
  109. func (x *BizConversMessage) GetAvatar() string {
  110. if x != nil {
  111. return x.Avatar
  112. }
  113. return ""
  114. }
  115. type BizConversPushNoticeMessage struct {
  116. state protoimpl.MessageState
  117. sizeCache protoimpl.SizeCache
  118. unknownFields protoimpl.UnknownFields
  119. WeChatId string `protobuf:"bytes,1,opt,name=WeChatId,proto3" json:"WeChatId,omitempty"` // 客服个微全局唯一识别码
  120. Convers []*BizConversMessage `protobuf:"bytes,2,rep,name=Convers,proto3" json:"Convers,omitempty"`
  121. Size int32 `protobuf:"varint,3,opt,name=Size,proto3" json:"Size,omitempty"`
  122. Count int32 `protobuf:"varint,4,opt,name=Count,proto3" json:"Count,omitempty"`
  123. Page int32 `protobuf:"varint,5,opt,name=Page,proto3" json:"Page,omitempty"`
  124. TaskId int64 `protobuf:"varint,6,opt,name=TaskId,proto3" json:"TaskId,omitempty"`
  125. }
  126. func (x *BizConversPushNoticeMessage) Reset() {
  127. *x = BizConversPushNoticeMessage{}
  128. mi := &file_BizConversPushNotice_proto_msgTypes[1]
  129. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  130. ms.StoreMessageInfo(mi)
  131. }
  132. func (x *BizConversPushNoticeMessage) String() string {
  133. return protoimpl.X.MessageStringOf(x)
  134. }
  135. func (*BizConversPushNoticeMessage) ProtoMessage() {}
  136. func (x *BizConversPushNoticeMessage) ProtoReflect() protoreflect.Message {
  137. mi := &file_BizConversPushNotice_proto_msgTypes[1]
  138. if x != nil {
  139. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  140. if ms.LoadMessageInfo() == nil {
  141. ms.StoreMessageInfo(mi)
  142. }
  143. return ms
  144. }
  145. return mi.MessageOf(x)
  146. }
  147. // Deprecated: Use BizConversPushNoticeMessage.ProtoReflect.Descriptor instead.
  148. func (*BizConversPushNoticeMessage) Descriptor() ([]byte, []int) {
  149. return file_BizConversPushNotice_proto_rawDescGZIP(), []int{1}
  150. }
  151. func (x *BizConversPushNoticeMessage) GetWeChatId() string {
  152. if x != nil {
  153. return x.WeChatId
  154. }
  155. return ""
  156. }
  157. func (x *BizConversPushNoticeMessage) GetConvers() []*BizConversMessage {
  158. if x != nil {
  159. return x.Convers
  160. }
  161. return nil
  162. }
  163. func (x *BizConversPushNoticeMessage) GetSize() int32 {
  164. if x != nil {
  165. return x.Size
  166. }
  167. return 0
  168. }
  169. func (x *BizConversPushNoticeMessage) GetCount() int32 {
  170. if x != nil {
  171. return x.Count
  172. }
  173. return 0
  174. }
  175. func (x *BizConversPushNoticeMessage) GetPage() int32 {
  176. if x != nil {
  177. return x.Page
  178. }
  179. return 0
  180. }
  181. func (x *BizConversPushNoticeMessage) GetTaskId() int64 {
  182. if x != nil {
  183. return x.TaskId
  184. }
  185. return 0
  186. }
  187. var File_BizConversPushNotice_proto protoreflect.FileDescriptor
  188. var file_BizConversPushNotice_proto_rawDesc = []byte{
  189. 0x0a, 0x1a, 0x42, 0x69, 0x7a, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x50, 0x75, 0x73, 0x68,
  190. 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x4a, 0x75,
  191. 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e,
  192. 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x02, 0x0a, 0x11, 0x42, 0x69, 0x7a, 0x43, 0x6f, 0x6e,
  193. 0x76, 0x65, 0x72, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x55,
  194. 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x55,
  195. 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x44, 0x69, 0x67, 0x65, 0x73,
  196. 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x12,
  197. 0x1e, 0x0a, 0x0a, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20,
  198. 0x01, 0x28, 0x09, 0x52, 0x0a, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12,
  199. 0x16, 0x0a, 0x06, 0x49, 0x73, 0x53, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52,
  200. 0x06, 0x49, 0x73, 0x53, 0x65, 0x6e, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x4d, 0x73, 0x67, 0x43, 0x6e,
  201. 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x4d, 0x73, 0x67, 0x43, 0x6e, 0x74, 0x12,
  202. 0x1c, 0x0a, 0x09, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01,
  203. 0x28, 0x05, 0x52, 0x09, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6e, 0x74, 0x12, 0x1e, 0x0a,
  204. 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
  205. 0x03, 0x52, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a,
  206. 0x08, 0x53, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,
  207. 0x08, 0x53, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x76, 0x61,
  208. 0x74, 0x61, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x41, 0x76, 0x61, 0x74, 0x61,
  209. 0x72, 0x22, 0xd5, 0x01, 0x0a, 0x1b, 0x42, 0x69, 0x7a, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73,
  210. 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  211. 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20,
  212. 0x01, 0x28, 0x09, 0x52, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x44, 0x0a,
  213. 0x07, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a,
  214. 0x2e, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e,
  215. 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x69, 0x7a, 0x43, 0x6f, 0x6e, 0x76,
  216. 0x65, 0x72, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x43, 0x6f, 0x6e, 0x76,
  217. 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  218. 0x05, 0x52, 0x04, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74,
  219. 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a,
  220. 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x50, 0x61, 0x67,
  221. 0x65, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28,
  222. 0x03, 0x52, 0x06, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x77,
  223. 0x6f, 0x72, 0x6b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  224. }
  225. var (
  226. file_BizConversPushNotice_proto_rawDescOnce sync.Once
  227. file_BizConversPushNotice_proto_rawDescData = file_BizConversPushNotice_proto_rawDesc
  228. )
  229. func file_BizConversPushNotice_proto_rawDescGZIP() []byte {
  230. file_BizConversPushNotice_proto_rawDescOnce.Do(func() {
  231. file_BizConversPushNotice_proto_rawDescData = protoimpl.X.CompressGZIP(file_BizConversPushNotice_proto_rawDescData)
  232. })
  233. return file_BizConversPushNotice_proto_rawDescData
  234. }
  235. var file_BizConversPushNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  236. var file_BizConversPushNotice_proto_goTypes = []any{
  237. (*BizConversMessage)(nil), // 0: Jubo.JuLiao.IM.Wx.Proto.BizConversMessage
  238. (*BizConversPushNoticeMessage)(nil), // 1: Jubo.JuLiao.IM.Wx.Proto.BizConversPushNoticeMessage
  239. }
  240. var file_BizConversPushNotice_proto_depIdxs = []int32{
  241. 0, // 0: Jubo.JuLiao.IM.Wx.Proto.BizConversPushNoticeMessage.Convers:type_name -> Jubo.JuLiao.IM.Wx.Proto.BizConversMessage
  242. 1, // [1:1] is the sub-list for method output_type
  243. 1, // [1:1] is the sub-list for method input_type
  244. 1, // [1:1] is the sub-list for extension type_name
  245. 1, // [1:1] is the sub-list for extension extendee
  246. 0, // [0:1] is the sub-list for field type_name
  247. }
  248. func init() { file_BizConversPushNotice_proto_init() }
  249. func file_BizConversPushNotice_proto_init() {
  250. if File_BizConversPushNotice_proto != nil {
  251. return
  252. }
  253. type x struct{}
  254. out := protoimpl.TypeBuilder{
  255. File: protoimpl.DescBuilder{
  256. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  257. RawDescriptor: file_BizConversPushNotice_proto_rawDesc,
  258. NumEnums: 0,
  259. NumMessages: 2,
  260. NumExtensions: 0,
  261. NumServices: 0,
  262. },
  263. GoTypes: file_BizConversPushNotice_proto_goTypes,
  264. DependencyIndexes: file_BizConversPushNotice_proto_depIdxs,
  265. MessageInfos: file_BizConversPushNotice_proto_msgTypes,
  266. }.Build()
  267. File_BizConversPushNotice_proto = out.File
  268. file_BizConversPushNotice_proto_rawDesc = nil
  269. file_BizConversPushNotice_proto_goTypes = nil
  270. file_BizConversPushNotice_proto_depIdxs = nil
  271. }