FriendAddReqListNotice.pb.go 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  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: FriendAddReqListNotice.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 FriendReqMessage struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. FriendId string `protobuf:"bytes,1,opt,name=FriendId,proto3" json:"FriendId,omitempty"` // 请求好友微信内部全局唯一识别码
  24. FriendNo string `protobuf:"bytes,2,opt,name=FriendNo,proto3" json:"FriendNo,omitempty"`
  25. FriendNick string `protobuf:"bytes,3,opt,name=FriendNick,proto3" json:"FriendNick,omitempty"` // 好友的微信昵称
  26. Avatar string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"` //微信头像
  27. Reason string `protobuf:"bytes,5,opt,name=Reason,proto3" json:"Reason,omitempty"` // 招呼语
  28. Gender EnumGender `protobuf:"varint,6,opt,name=Gender,proto3,enum=Jubo.JuLiao.IM.Wx.Proto.EnumGender" json:"Gender,omitempty"` //性别
  29. Province string `protobuf:"bytes,7,opt,name=Province,proto3" json:"Province,omitempty"` //省份 (国家用不上)
  30. City string `protobuf:"bytes,8,opt,name=City,proto3" json:"City,omitempty"` //城市
  31. Source int32 `protobuf:"varint,9,opt,name=Source,proto3" json:"Source,omitempty"` // 来源 (17: 名片分享)
  32. SourceUser string `protobuf:"bytes,10,opt,name=SourceUser,proto3" json:"SourceUser,omitempty"` // 来源的微信id(推荐人,群聊房间号)
  33. ReqTime int64 `protobuf:"varint,11,opt,name=ReqTime,proto3" json:"ReqTime,omitempty"` //最后请求的时间
  34. State int32 `protobuf:"varint,12,opt,name=State,proto3" json:"State,omitempty"` // 状态,0 未添加,1 已添加
  35. FirstReq int64 `protobuf:"varint,13,opt,name=FirstReq,proto3" json:"FirstReq,omitempty"` // 第一次发送请求的时间
  36. }
  37. func (x *FriendReqMessage) Reset() {
  38. *x = FriendReqMessage{}
  39. mi := &file_FriendAddReqListNotice_proto_msgTypes[0]
  40. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  41. ms.StoreMessageInfo(mi)
  42. }
  43. func (x *FriendReqMessage) String() string {
  44. return protoimpl.X.MessageStringOf(x)
  45. }
  46. func (*FriendReqMessage) ProtoMessage() {}
  47. func (x *FriendReqMessage) ProtoReflect() protoreflect.Message {
  48. mi := &file_FriendAddReqListNotice_proto_msgTypes[0]
  49. if x != nil {
  50. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  51. if ms.LoadMessageInfo() == nil {
  52. ms.StoreMessageInfo(mi)
  53. }
  54. return ms
  55. }
  56. return mi.MessageOf(x)
  57. }
  58. // Deprecated: Use FriendReqMessage.ProtoReflect.Descriptor instead.
  59. func (*FriendReqMessage) Descriptor() ([]byte, []int) {
  60. return file_FriendAddReqListNotice_proto_rawDescGZIP(), []int{0}
  61. }
  62. func (x *FriendReqMessage) GetFriendId() string {
  63. if x != nil {
  64. return x.FriendId
  65. }
  66. return ""
  67. }
  68. func (x *FriendReqMessage) GetFriendNo() string {
  69. if x != nil {
  70. return x.FriendNo
  71. }
  72. return ""
  73. }
  74. func (x *FriendReqMessage) GetFriendNick() string {
  75. if x != nil {
  76. return x.FriendNick
  77. }
  78. return ""
  79. }
  80. func (x *FriendReqMessage) GetAvatar() string {
  81. if x != nil {
  82. return x.Avatar
  83. }
  84. return ""
  85. }
  86. func (x *FriendReqMessage) GetReason() string {
  87. if x != nil {
  88. return x.Reason
  89. }
  90. return ""
  91. }
  92. func (x *FriendReqMessage) GetGender() EnumGender {
  93. if x != nil {
  94. return x.Gender
  95. }
  96. return EnumGender_UnknownGender
  97. }
  98. func (x *FriendReqMessage) GetProvince() string {
  99. if x != nil {
  100. return x.Province
  101. }
  102. return ""
  103. }
  104. func (x *FriendReqMessage) GetCity() string {
  105. if x != nil {
  106. return x.City
  107. }
  108. return ""
  109. }
  110. func (x *FriendReqMessage) GetSource() int32 {
  111. if x != nil {
  112. return x.Source
  113. }
  114. return 0
  115. }
  116. func (x *FriendReqMessage) GetSourceUser() string {
  117. if x != nil {
  118. return x.SourceUser
  119. }
  120. return ""
  121. }
  122. func (x *FriendReqMessage) GetReqTime() int64 {
  123. if x != nil {
  124. return x.ReqTime
  125. }
  126. return 0
  127. }
  128. func (x *FriendReqMessage) GetState() int32 {
  129. if x != nil {
  130. return x.State
  131. }
  132. return 0
  133. }
  134. func (x *FriendReqMessage) GetFirstReq() int64 {
  135. if x != nil {
  136. return x.FirstReq
  137. }
  138. return 0
  139. }
  140. type FriendAddReqListNoticeMessage struct {
  141. state protoimpl.MessageState
  142. sizeCache protoimpl.SizeCache
  143. unknownFields protoimpl.UnknownFields
  144. WeChatId string `protobuf:"bytes,1,opt,name=WeChatId,proto3" json:"WeChatId,omitempty"` // 商家个人微信内部全局唯一识别码
  145. Requests []*FriendReqMessage `protobuf:"bytes,2,rep,name=Requests,proto3" json:"Requests,omitempty"` // 请求列表,只包含未通过的请求,时间不限,多次消息来往只上传一条
  146. }
  147. func (x *FriendAddReqListNoticeMessage) Reset() {
  148. *x = FriendAddReqListNoticeMessage{}
  149. mi := &file_FriendAddReqListNotice_proto_msgTypes[1]
  150. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  151. ms.StoreMessageInfo(mi)
  152. }
  153. func (x *FriendAddReqListNoticeMessage) String() string {
  154. return protoimpl.X.MessageStringOf(x)
  155. }
  156. func (*FriendAddReqListNoticeMessage) ProtoMessage() {}
  157. func (x *FriendAddReqListNoticeMessage) ProtoReflect() protoreflect.Message {
  158. mi := &file_FriendAddReqListNotice_proto_msgTypes[1]
  159. if x != nil {
  160. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  161. if ms.LoadMessageInfo() == nil {
  162. ms.StoreMessageInfo(mi)
  163. }
  164. return ms
  165. }
  166. return mi.MessageOf(x)
  167. }
  168. // Deprecated: Use FriendAddReqListNoticeMessage.ProtoReflect.Descriptor instead.
  169. func (*FriendAddReqListNoticeMessage) Descriptor() ([]byte, []int) {
  170. return file_FriendAddReqListNotice_proto_rawDescGZIP(), []int{1}
  171. }
  172. func (x *FriendAddReqListNoticeMessage) GetWeChatId() string {
  173. if x != nil {
  174. return x.WeChatId
  175. }
  176. return ""
  177. }
  178. func (x *FriendAddReqListNoticeMessage) GetRequests() []*FriendReqMessage {
  179. if x != nil {
  180. return x.Requests
  181. }
  182. return nil
  183. }
  184. var File_FriendAddReqListNotice_proto protoreflect.FileDescriptor
  185. var file_FriendAddReqListNotice_proto_rawDesc = []byte{
  186. 0x0a, 0x1c, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x4c, 0x69,
  187. 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17,
  188. 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57,
  189. 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
  190. 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
  191. 0x8b, 0x03, 0x0a, 0x10, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x4d, 0x65, 0x73,
  192. 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64,
  193. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64,
  194. 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x18, 0x02, 0x20, 0x01,
  195. 0x28, 0x09, 0x52, 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x12, 0x1e, 0x0a, 0x0a,
  196. 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x69, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  197. 0x52, 0x0a, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x69, 0x63, 0x6b, 0x12, 0x16, 0x0a, 0x06,
  198. 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x41, 0x76,
  199. 0x61, 0x74, 0x61, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x05,
  200. 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x06,
  201. 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x4a,
  202. 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78,
  203. 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x47, 0x65, 0x6e, 0x64, 0x65,
  204. 0x72, 0x52, 0x06, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x72, 0x6f,
  205. 0x76, 0x69, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x72, 0x6f,
  206. 0x76, 0x69, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x69, 0x74, 0x79, 0x18, 0x08, 0x20,
  207. 0x01, 0x28, 0x09, 0x52, 0x04, 0x43, 0x69, 0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x6f, 0x75,
  208. 0x72, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63,
  209. 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x73, 0x65, 0x72, 0x18,
  210. 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x73, 0x65,
  211. 0x72, 0x12, 0x18, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01,
  212. 0x28, 0x03, 0x52, 0x07, 0x52, 0x65, 0x71, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x53,
  213. 0x74, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x53, 0x74, 0x61, 0x74,
  214. 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x69, 0x72, 0x73, 0x74, 0x52, 0x65, 0x71, 0x18, 0x0d, 0x20,
  215. 0x01, 0x28, 0x03, 0x52, 0x08, 0x46, 0x69, 0x72, 0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x82, 0x01,
  216. 0x0a, 0x1d, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x4c, 0x69,
  217. 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
  218. 0x1a, 0x0a, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  219. 0x09, 0x52, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x08, 0x52,
  220. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e,
  221. 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57,
  222. 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65,
  223. 0x71, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  224. 0x74, 0x73, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x70, 0x68, 0x6f, 0x6e,
  225. 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  226. }
  227. var (
  228. file_FriendAddReqListNotice_proto_rawDescOnce sync.Once
  229. file_FriendAddReqListNotice_proto_rawDescData = file_FriendAddReqListNotice_proto_rawDesc
  230. )
  231. func file_FriendAddReqListNotice_proto_rawDescGZIP() []byte {
  232. file_FriendAddReqListNotice_proto_rawDescOnce.Do(func() {
  233. file_FriendAddReqListNotice_proto_rawDescData = protoimpl.X.CompressGZIP(file_FriendAddReqListNotice_proto_rawDescData)
  234. })
  235. return file_FriendAddReqListNotice_proto_rawDescData
  236. }
  237. var file_FriendAddReqListNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  238. var file_FriendAddReqListNotice_proto_goTypes = []any{
  239. (*FriendReqMessage)(nil), // 0: Jubo.JuLiao.IM.Wx.Proto.FriendReqMessage
  240. (*FriendAddReqListNoticeMessage)(nil), // 1: Jubo.JuLiao.IM.Wx.Proto.FriendAddReqListNoticeMessage
  241. (EnumGender)(0), // 2: Jubo.JuLiao.IM.Wx.Proto.EnumGender
  242. }
  243. var file_FriendAddReqListNotice_proto_depIdxs = []int32{
  244. 2, // 0: Jubo.JuLiao.IM.Wx.Proto.FriendReqMessage.Gender:type_name -> Jubo.JuLiao.IM.Wx.Proto.EnumGender
  245. 0, // 1: Jubo.JuLiao.IM.Wx.Proto.FriendAddReqListNoticeMessage.Requests:type_name -> Jubo.JuLiao.IM.Wx.Proto.FriendReqMessage
  246. 2, // [2:2] is the sub-list for method output_type
  247. 2, // [2:2] is the sub-list for method input_type
  248. 2, // [2:2] is the sub-list for extension type_name
  249. 2, // [2:2] is the sub-list for extension extendee
  250. 0, // [0:2] is the sub-list for field type_name
  251. }
  252. func init() { file_FriendAddReqListNotice_proto_init() }
  253. func file_FriendAddReqListNotice_proto_init() {
  254. if File_FriendAddReqListNotice_proto != nil {
  255. return
  256. }
  257. file_TransportMessage_proto_init()
  258. type x struct{}
  259. out := protoimpl.TypeBuilder{
  260. File: protoimpl.DescBuilder{
  261. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  262. RawDescriptor: file_FriendAddReqListNotice_proto_rawDesc,
  263. NumEnums: 0,
  264. NumMessages: 2,
  265. NumExtensions: 0,
  266. NumServices: 0,
  267. },
  268. GoTypes: file_FriendAddReqListNotice_proto_goTypes,
  269. DependencyIndexes: file_FriendAddReqListNotice_proto_depIdxs,
  270. MessageInfos: file_FriendAddReqListNotice_proto_msgTypes,
  271. }.Build()
  272. File_FriendAddReqListNotice_proto = out.File
  273. file_FriendAddReqListNotice_proto_rawDesc = nil
  274. file_FriendAddReqListNotice_proto_goTypes = nil
  275. file_FriendAddReqListNotice_proto_depIdxs = nil
  276. }