WCustomerPushNotice.pb.go 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  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/WCustomerPushNotice.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 CustomerPushNoticeMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. WxId string `protobuf:"bytes,1,opt,name=WxId,proto3" json:"WxId,omitempty"` // 设备企业WX号
  23. Contacts []*CustomerMessage `protobuf:"bytes,2,rep,name=Contacts,proto3" json:"Contacts,omitempty"` // 好友信息模型 多个
  24. Size int32 `protobuf:"varint,3,opt,name=Size,proto3" json:"Size,omitempty"`
  25. Count int32 `protobuf:"varint,4,opt,name=Count,proto3" json:"Count,omitempty"`
  26. Page int32 `protobuf:"varint,5,opt,name=Page,proto3" json:"Page,omitempty"`
  27. TaskId int64 `protobuf:"varint,6,opt,name=TaskId,proto3" json:"TaskId,omitempty"`
  28. unknownFields protoimpl.UnknownFields
  29. sizeCache protoimpl.SizeCache
  30. }
  31. func (x *CustomerPushNoticeMessage) Reset() {
  32. *x = CustomerPushNoticeMessage{}
  33. mi := &file_wecom_WCustomerPushNotice_proto_msgTypes[0]
  34. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  35. ms.StoreMessageInfo(mi)
  36. }
  37. func (x *CustomerPushNoticeMessage) String() string {
  38. return protoimpl.X.MessageStringOf(x)
  39. }
  40. func (*CustomerPushNoticeMessage) ProtoMessage() {}
  41. func (x *CustomerPushNoticeMessage) ProtoReflect() protoreflect.Message {
  42. mi := &file_wecom_WCustomerPushNotice_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 CustomerPushNoticeMessage.ProtoReflect.Descriptor instead.
  53. func (*CustomerPushNoticeMessage) Descriptor() ([]byte, []int) {
  54. return file_wecom_WCustomerPushNotice_proto_rawDescGZIP(), []int{0}
  55. }
  56. func (x *CustomerPushNoticeMessage) GetWxId() string {
  57. if x != nil {
  58. return x.WxId
  59. }
  60. return ""
  61. }
  62. func (x *CustomerPushNoticeMessage) GetContacts() []*CustomerMessage {
  63. if x != nil {
  64. return x.Contacts
  65. }
  66. return nil
  67. }
  68. func (x *CustomerPushNoticeMessage) GetSize() int32 {
  69. if x != nil {
  70. return x.Size
  71. }
  72. return 0
  73. }
  74. func (x *CustomerPushNoticeMessage) GetCount() int32 {
  75. if x != nil {
  76. return x.Count
  77. }
  78. return 0
  79. }
  80. func (x *CustomerPushNoticeMessage) GetPage() int32 {
  81. if x != nil {
  82. return x.Page
  83. }
  84. return 0
  85. }
  86. func (x *CustomerPushNoticeMessage) GetTaskId() int64 {
  87. if x != nil {
  88. return x.TaskId
  89. }
  90. return 0
  91. }
  92. type CustomerMessage struct {
  93. state protoimpl.MessageState `protogen:"open.v1"`
  94. RemoteId string `protobuf:"bytes,1,opt,name=RemoteId,proto3" json:"RemoteId,omitempty"` //唯一id (RemoteId>>48==20 App; RemoteId>>48==28 微信用户; RemoteId>>48==33,34 外部客户; RemoteId>>48==39 群机器人; RemoteId>>48==30 内部客服; RemoteId>>48==32 VIP客户;)
  95. Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
  96. Alias string `protobuf:"bytes,3,opt,name=Alias,proto3" json:"Alias,omitempty"`
  97. Avatar string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"`
  98. Mobile string `protobuf:"bytes,5,opt,name=Mobile,proto3" json:"Mobile,omitempty"`
  99. UnionId string `protobuf:"bytes,6,opt,name=UnionId,proto3" json:"UnionId,omitempty"` // 微信UnionId,可能为空
  100. Gender string `protobuf:"bytes,7,opt,name=Gender,proto3" json:"Gender,omitempty"`
  101. CorpId string `protobuf:"bytes,8,opt,name=CorpId,proto3" json:"CorpId,omitempty"`
  102. AddTime int32 `protobuf:"varint,9,opt,name=AddTime,proto3" json:"AddTime,omitempty"`
  103. Source int32 `protobuf:"varint,10,opt,name=Source,proto3" json:"Source,omitempty"` // 添加来源
  104. LabelIds []string `protobuf:"bytes,11,rep,name=LabelIds,proto3" json:"LabelIds,omitempty"` //设置的用户标签
  105. Suffix string `protobuf:"bytes,12,opt,name=Suffix,proto3" json:"Suffix,omitempty"` // 后缀
  106. OpenId string `protobuf:"bytes,13,opt,name=OpenId,proto3" json:"OpenId,omitempty"`
  107. SourceUser int64 `protobuf:"varint,14,opt,name=SourceUser,proto3" json:"SourceUser,omitempty"`
  108. SourceRoomId int64 `protobuf:"varint,15,opt,name=SourceRoomId,proto3" json:"SourceRoomId,omitempty"`
  109. SourceFriend string `protobuf:"bytes,16,opt,name=SourceFriend,proto3" json:"SourceFriend,omitempty"` //来自微信好友(wxid)来自通讯录(电话号码)
  110. ApplyContent string `protobuf:"bytes,17,opt,name=ApplyContent,proto3" json:"ApplyContent,omitempty"`
  111. Remark string `protobuf:"bytes,18,opt,name=Remark,proto3" json:"Remark,omitempty"`
  112. CompanyRemark string `protobuf:"bytes,19,opt,name=CompanyRemark,proto3" json:"CompanyRemark,omitempty"`
  113. PhoneRemark []string `protobuf:"bytes,20,rep,name=PhoneRemark,proto3" json:"PhoneRemark,omitempty"`
  114. Desc string `protobuf:"bytes,21,opt,name=Desc,proto3" json:"Desc,omitempty"`
  115. DescUrl string `protobuf:"bytes,22,opt,name=DescUrl,proto3" json:"DescUrl,omitempty"`
  116. Attr string `protobuf:"bytes,23,opt,name=Attr,proto3" json:"Attr,omitempty"`
  117. Attr2 string `protobuf:"bytes,24,opt,name=Attr2,proto3" json:"Attr2,omitempty"`
  118. Attr3 string `protobuf:"bytes,25,opt,name=Attr3,proto3" json:"Attr3,omitempty"`
  119. ApplyTime int64 `protobuf:"varint,26,opt,name=ApplyTime,proto3" json:"ApplyTime,omitempty"`
  120. unknownFields protoimpl.UnknownFields
  121. sizeCache protoimpl.SizeCache
  122. }
  123. func (x *CustomerMessage) Reset() {
  124. *x = CustomerMessage{}
  125. mi := &file_wecom_WCustomerPushNotice_proto_msgTypes[1]
  126. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  127. ms.StoreMessageInfo(mi)
  128. }
  129. func (x *CustomerMessage) String() string {
  130. return protoimpl.X.MessageStringOf(x)
  131. }
  132. func (*CustomerMessage) ProtoMessage() {}
  133. func (x *CustomerMessage) ProtoReflect() protoreflect.Message {
  134. mi := &file_wecom_WCustomerPushNotice_proto_msgTypes[1]
  135. if x != nil {
  136. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  137. if ms.LoadMessageInfo() == nil {
  138. ms.StoreMessageInfo(mi)
  139. }
  140. return ms
  141. }
  142. return mi.MessageOf(x)
  143. }
  144. // Deprecated: Use CustomerMessage.ProtoReflect.Descriptor instead.
  145. func (*CustomerMessage) Descriptor() ([]byte, []int) {
  146. return file_wecom_WCustomerPushNotice_proto_rawDescGZIP(), []int{1}
  147. }
  148. func (x *CustomerMessage) GetRemoteId() string {
  149. if x != nil {
  150. return x.RemoteId
  151. }
  152. return ""
  153. }
  154. func (x *CustomerMessage) GetName() string {
  155. if x != nil {
  156. return x.Name
  157. }
  158. return ""
  159. }
  160. func (x *CustomerMessage) GetAlias() string {
  161. if x != nil {
  162. return x.Alias
  163. }
  164. return ""
  165. }
  166. func (x *CustomerMessage) GetAvatar() string {
  167. if x != nil {
  168. return x.Avatar
  169. }
  170. return ""
  171. }
  172. func (x *CustomerMessage) GetMobile() string {
  173. if x != nil {
  174. return x.Mobile
  175. }
  176. return ""
  177. }
  178. func (x *CustomerMessage) GetUnionId() string {
  179. if x != nil {
  180. return x.UnionId
  181. }
  182. return ""
  183. }
  184. func (x *CustomerMessage) GetGender() string {
  185. if x != nil {
  186. return x.Gender
  187. }
  188. return ""
  189. }
  190. func (x *CustomerMessage) GetCorpId() string {
  191. if x != nil {
  192. return x.CorpId
  193. }
  194. return ""
  195. }
  196. func (x *CustomerMessage) GetAddTime() int32 {
  197. if x != nil {
  198. return x.AddTime
  199. }
  200. return 0
  201. }
  202. func (x *CustomerMessage) GetSource() int32 {
  203. if x != nil {
  204. return x.Source
  205. }
  206. return 0
  207. }
  208. func (x *CustomerMessage) GetLabelIds() []string {
  209. if x != nil {
  210. return x.LabelIds
  211. }
  212. return nil
  213. }
  214. func (x *CustomerMessage) GetSuffix() string {
  215. if x != nil {
  216. return x.Suffix
  217. }
  218. return ""
  219. }
  220. func (x *CustomerMessage) GetOpenId() string {
  221. if x != nil {
  222. return x.OpenId
  223. }
  224. return ""
  225. }
  226. func (x *CustomerMessage) GetSourceUser() int64 {
  227. if x != nil {
  228. return x.SourceUser
  229. }
  230. return 0
  231. }
  232. func (x *CustomerMessage) GetSourceRoomId() int64 {
  233. if x != nil {
  234. return x.SourceRoomId
  235. }
  236. return 0
  237. }
  238. func (x *CustomerMessage) GetSourceFriend() string {
  239. if x != nil {
  240. return x.SourceFriend
  241. }
  242. return ""
  243. }
  244. func (x *CustomerMessage) GetApplyContent() string {
  245. if x != nil {
  246. return x.ApplyContent
  247. }
  248. return ""
  249. }
  250. func (x *CustomerMessage) GetRemark() string {
  251. if x != nil {
  252. return x.Remark
  253. }
  254. return ""
  255. }
  256. func (x *CustomerMessage) GetCompanyRemark() string {
  257. if x != nil {
  258. return x.CompanyRemark
  259. }
  260. return ""
  261. }
  262. func (x *CustomerMessage) GetPhoneRemark() []string {
  263. if x != nil {
  264. return x.PhoneRemark
  265. }
  266. return nil
  267. }
  268. func (x *CustomerMessage) GetDesc() string {
  269. if x != nil {
  270. return x.Desc
  271. }
  272. return ""
  273. }
  274. func (x *CustomerMessage) GetDescUrl() string {
  275. if x != nil {
  276. return x.DescUrl
  277. }
  278. return ""
  279. }
  280. func (x *CustomerMessage) GetAttr() string {
  281. if x != nil {
  282. return x.Attr
  283. }
  284. return ""
  285. }
  286. func (x *CustomerMessage) GetAttr2() string {
  287. if x != nil {
  288. return x.Attr2
  289. }
  290. return ""
  291. }
  292. func (x *CustomerMessage) GetAttr3() string {
  293. if x != nil {
  294. return x.Attr3
  295. }
  296. return ""
  297. }
  298. func (x *CustomerMessage) GetApplyTime() int64 {
  299. if x != nil {
  300. return x.ApplyTime
  301. }
  302. return 0
  303. }
  304. var File_wecom_WCustomerPushNotice_proto protoreflect.FileDescriptor
  305. const file_wecom_WCustomerPushNotice_proto_rawDesc = "" +
  306. "\n" +
  307. "\x1fwecom/WCustomerPushNotice.proto\x12\x10Im.Scrm.Ww.Proto\"\xc4\x01\n" +
  308. "\x19CustomerPushNoticeMessage\x12\x12\n" +
  309. "\x04WxId\x18\x01 \x01(\tR\x04WxId\x12=\n" +
  310. "\bContacts\x18\x02 \x03(\v2!.Im.Scrm.Ww.Proto.CustomerMessageR\bContacts\x12\x12\n" +
  311. "\x04Size\x18\x03 \x01(\x05R\x04Size\x12\x14\n" +
  312. "\x05Count\x18\x04 \x01(\x05R\x05Count\x12\x12\n" +
  313. "\x04Page\x18\x05 \x01(\x05R\x04Page\x12\x16\n" +
  314. "\x06TaskId\x18\x06 \x01(\x03R\x06TaskId\"\xc7\x05\n" +
  315. "\x0fCustomerMessage\x12\x1a\n" +
  316. "\bRemoteId\x18\x01 \x01(\tR\bRemoteId\x12\x12\n" +
  317. "\x04Name\x18\x02 \x01(\tR\x04Name\x12\x14\n" +
  318. "\x05Alias\x18\x03 \x01(\tR\x05Alias\x12\x16\n" +
  319. "\x06Avatar\x18\x04 \x01(\tR\x06Avatar\x12\x16\n" +
  320. "\x06Mobile\x18\x05 \x01(\tR\x06Mobile\x12\x18\n" +
  321. "\aUnionId\x18\x06 \x01(\tR\aUnionId\x12\x16\n" +
  322. "\x06Gender\x18\a \x01(\tR\x06Gender\x12\x16\n" +
  323. "\x06CorpId\x18\b \x01(\tR\x06CorpId\x12\x18\n" +
  324. "\aAddTime\x18\t \x01(\x05R\aAddTime\x12\x16\n" +
  325. "\x06Source\x18\n" +
  326. " \x01(\x05R\x06Source\x12\x1a\n" +
  327. "\bLabelIds\x18\v \x03(\tR\bLabelIds\x12\x16\n" +
  328. "\x06Suffix\x18\f \x01(\tR\x06Suffix\x12\x16\n" +
  329. "\x06OpenId\x18\r \x01(\tR\x06OpenId\x12\x1e\n" +
  330. "\n" +
  331. "SourceUser\x18\x0e \x01(\x03R\n" +
  332. "SourceUser\x12\"\n" +
  333. "\fSourceRoomId\x18\x0f \x01(\x03R\fSourceRoomId\x12\"\n" +
  334. "\fSourceFriend\x18\x10 \x01(\tR\fSourceFriend\x12\"\n" +
  335. "\fApplyContent\x18\x11 \x01(\tR\fApplyContent\x12\x16\n" +
  336. "\x06Remark\x18\x12 \x01(\tR\x06Remark\x12$\n" +
  337. "\rCompanyRemark\x18\x13 \x01(\tR\rCompanyRemark\x12 \n" +
  338. "\vPhoneRemark\x18\x14 \x03(\tR\vPhoneRemark\x12\x12\n" +
  339. "\x04Desc\x18\x15 \x01(\tR\x04Desc\x12\x18\n" +
  340. "\aDescUrl\x18\x16 \x01(\tR\aDescUrl\x12\x12\n" +
  341. "\x04Attr\x18\x17 \x01(\tR\x04Attr\x12\x14\n" +
  342. "\x05Attr2\x18\x18 \x01(\tR\x05Attr2\x12\x14\n" +
  343. "\x05Attr3\x18\x19 \x01(\tR\x05Attr3\x12\x1c\n" +
  344. "\tApplyTime\x18\x1a \x01(\x03R\tApplyTimeB\x13Z\x11./workphone/wecomb\x06proto3"
  345. var (
  346. file_wecom_WCustomerPushNotice_proto_rawDescOnce sync.Once
  347. file_wecom_WCustomerPushNotice_proto_rawDescData []byte
  348. )
  349. func file_wecom_WCustomerPushNotice_proto_rawDescGZIP() []byte {
  350. file_wecom_WCustomerPushNotice_proto_rawDescOnce.Do(func() {
  351. file_wecom_WCustomerPushNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WCustomerPushNotice_proto_rawDesc), len(file_wecom_WCustomerPushNotice_proto_rawDesc)))
  352. })
  353. return file_wecom_WCustomerPushNotice_proto_rawDescData
  354. }
  355. var file_wecom_WCustomerPushNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  356. var file_wecom_WCustomerPushNotice_proto_goTypes = []any{
  357. (*CustomerPushNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.CustomerPushNoticeMessage
  358. (*CustomerMessage)(nil), // 1: Im.Scrm.Ww.Proto.CustomerMessage
  359. }
  360. var file_wecom_WCustomerPushNotice_proto_depIdxs = []int32{
  361. 1, // 0: Im.Scrm.Ww.Proto.CustomerPushNoticeMessage.Contacts:type_name -> Im.Scrm.Ww.Proto.CustomerMessage
  362. 1, // [1:1] is the sub-list for method output_type
  363. 1, // [1:1] is the sub-list for method input_type
  364. 1, // [1:1] is the sub-list for extension type_name
  365. 1, // [1:1] is the sub-list for extension extendee
  366. 0, // [0:1] is the sub-list for field type_name
  367. }
  368. func init() { file_wecom_WCustomerPushNotice_proto_init() }
  369. func file_wecom_WCustomerPushNotice_proto_init() {
  370. if File_wecom_WCustomerPushNotice_proto != nil {
  371. return
  372. }
  373. type x struct{}
  374. out := protoimpl.TypeBuilder{
  375. File: protoimpl.DescBuilder{
  376. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  377. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WCustomerPushNotice_proto_rawDesc), len(file_wecom_WCustomerPushNotice_proto_rawDesc)),
  378. NumEnums: 0,
  379. NumMessages: 2,
  380. NumExtensions: 0,
  381. NumServices: 0,
  382. },
  383. GoTypes: file_wecom_WCustomerPushNotice_proto_goTypes,
  384. DependencyIndexes: file_wecom_WCustomerPushNotice_proto_depIdxs,
  385. MessageInfos: file_wecom_WCustomerPushNotice_proto_msgTypes,
  386. }.Build()
  387. File_wecom_WCustomerPushNotice_proto = out.File
  388. file_wecom_WCustomerPushNotice_proto_goTypes = nil
  389. file_wecom_WCustomerPushNotice_proto_depIdxs = nil
  390. }