FriendAddNotice.pb.go 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.5
  4. // protoc v3.21.12
  5. // source: FriendAddNotice.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. 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 FriendMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. FriendId string `protobuf:"bytes,1,opt,name=FriendId,proto3" json:"FriendId,omitempty"` // wxid
  23. FriendNo string `protobuf:"bytes,2,opt,name=FriendNo,proto3" json:"FriendNo,omitempty"` // 微信号
  24. FriendNick string `protobuf:"bytes,3,opt,name=FriendNick,proto3" json:"FriendNick,omitempty"` // 昵称
  25. Memo string `protobuf:"bytes,4,opt,name=Memo,proto3" json:"Memo,omitempty"` // 备注
  26. Gender string `protobuf:"bytes,5,opt,name=Gender,proto3" json:"Gender,omitempty"` //性别
  27. Country string `protobuf:"bytes,6,opt,name=Country,proto3" json:"Country,omitempty"` //国家 (非必传)
  28. Province string `protobuf:"bytes,7,opt,name=Province,proto3" json:"Province,omitempty"` //省份
  29. City string `protobuf:"bytes,8,opt,name=City,proto3" json:"City,omitempty"` //城市
  30. Avatar string `protobuf:"bytes,9,opt,name=Avatar,proto3" json:"Avatar,omitempty"` //头像
  31. Remark string `protobuf:"bytes,10,opt,name=Remark,proto3" json:"Remark,omitempty"` // 业务备注
  32. Type int32 `protobuf:"varint,11,opt,name=Type,proto3" json:"Type,omitempty"` // 联系人类型,参考 (&512 消息免打扰)
  33. LabelIds string `protobuf:"bytes,12,opt,name=LabelIds,proto3" json:"LabelIds,omitempty"` // 标签Id
  34. Phone string `protobuf:"bytes,13,opt,name=Phone,proto3" json:"Phone,omitempty"` // 手机号
  35. Desc string `protobuf:"bytes,14,opt,name=Desc,proto3" json:"Desc,omitempty"` // 描述
  36. Source int32 `protobuf:"varint,15,opt,name=Source,proto3" json:"Source,omitempty"` // 好友来源
  37. SourceExt string `protobuf:"bytes,16,opt,name=SourceExt,proto3" json:"SourceExt,omitempty"` //来源扩展信息
  38. unknownFields protoimpl.UnknownFields
  39. sizeCache protoimpl.SizeCache
  40. }
  41. func (x *FriendMessage) Reset() {
  42. *x = FriendMessage{}
  43. mi := &file_FriendAddNotice_proto_msgTypes[0]
  44. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  45. ms.StoreMessageInfo(mi)
  46. }
  47. func (x *FriendMessage) String() string {
  48. return protoimpl.X.MessageStringOf(x)
  49. }
  50. func (*FriendMessage) ProtoMessage() {}
  51. func (x *FriendMessage) ProtoReflect() protoreflect.Message {
  52. mi := &file_FriendAddNotice_proto_msgTypes[0]
  53. if x != nil {
  54. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  55. if ms.LoadMessageInfo() == nil {
  56. ms.StoreMessageInfo(mi)
  57. }
  58. return ms
  59. }
  60. return mi.MessageOf(x)
  61. }
  62. // Deprecated: Use FriendMessage.ProtoReflect.Descriptor instead.
  63. func (*FriendMessage) Descriptor() ([]byte, []int) {
  64. return file_FriendAddNotice_proto_rawDescGZIP(), []int{0}
  65. }
  66. func (x *FriendMessage) GetFriendId() string {
  67. if x != nil {
  68. return x.FriendId
  69. }
  70. return ""
  71. }
  72. func (x *FriendMessage) GetFriendNo() string {
  73. if x != nil {
  74. return x.FriendNo
  75. }
  76. return ""
  77. }
  78. func (x *FriendMessage) GetFriendNick() string {
  79. if x != nil {
  80. return x.FriendNick
  81. }
  82. return ""
  83. }
  84. func (x *FriendMessage) GetMemo() string {
  85. if x != nil {
  86. return x.Memo
  87. }
  88. return ""
  89. }
  90. func (x *FriendMessage) GetGender() string {
  91. if x != nil {
  92. return x.Gender
  93. }
  94. return ""
  95. }
  96. func (x *FriendMessage) GetCountry() string {
  97. if x != nil {
  98. return x.Country
  99. }
  100. return ""
  101. }
  102. func (x *FriendMessage) GetProvince() string {
  103. if x != nil {
  104. return x.Province
  105. }
  106. return ""
  107. }
  108. func (x *FriendMessage) GetCity() string {
  109. if x != nil {
  110. return x.City
  111. }
  112. return ""
  113. }
  114. func (x *FriendMessage) GetAvatar() string {
  115. if x != nil {
  116. return x.Avatar
  117. }
  118. return ""
  119. }
  120. func (x *FriendMessage) GetRemark() string {
  121. if x != nil {
  122. return x.Remark
  123. }
  124. return ""
  125. }
  126. func (x *FriendMessage) GetType() int32 {
  127. if x != nil {
  128. return x.Type
  129. }
  130. return 0
  131. }
  132. func (x *FriendMessage) GetLabelIds() string {
  133. if x != nil {
  134. return x.LabelIds
  135. }
  136. return ""
  137. }
  138. func (x *FriendMessage) GetPhone() string {
  139. if x != nil {
  140. return x.Phone
  141. }
  142. return ""
  143. }
  144. func (x *FriendMessage) GetDesc() string {
  145. if x != nil {
  146. return x.Desc
  147. }
  148. return ""
  149. }
  150. func (x *FriendMessage) GetSource() int32 {
  151. if x != nil {
  152. return x.Source
  153. }
  154. return 0
  155. }
  156. func (x *FriendMessage) GetSourceExt() string {
  157. if x != nil {
  158. return x.SourceExt
  159. }
  160. return ""
  161. }
  162. type FriendAddNoticeMessage struct {
  163. state protoimpl.MessageState `protogen:"open.v1"`
  164. WeChatId string `protobuf:"bytes,1,opt,name=WeChatId,proto3" json:"WeChatId,omitempty"` // 全局唯一识别码
  165. Friend *FriendMessage `protobuf:"bytes,3,opt,name=Friend,proto3" json:"Friend,omitempty"` // 好友信息
  166. unknownFields protoimpl.UnknownFields
  167. sizeCache protoimpl.SizeCache
  168. }
  169. func (x *FriendAddNoticeMessage) Reset() {
  170. *x = FriendAddNoticeMessage{}
  171. mi := &file_FriendAddNotice_proto_msgTypes[1]
  172. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  173. ms.StoreMessageInfo(mi)
  174. }
  175. func (x *FriendAddNoticeMessage) String() string {
  176. return protoimpl.X.MessageStringOf(x)
  177. }
  178. func (*FriendAddNoticeMessage) ProtoMessage() {}
  179. func (x *FriendAddNoticeMessage) ProtoReflect() protoreflect.Message {
  180. mi := &file_FriendAddNotice_proto_msgTypes[1]
  181. if x != nil {
  182. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  183. if ms.LoadMessageInfo() == nil {
  184. ms.StoreMessageInfo(mi)
  185. }
  186. return ms
  187. }
  188. return mi.MessageOf(x)
  189. }
  190. // Deprecated: Use FriendAddNoticeMessage.ProtoReflect.Descriptor instead.
  191. func (*FriendAddNoticeMessage) Descriptor() ([]byte, []int) {
  192. return file_FriendAddNotice_proto_rawDescGZIP(), []int{1}
  193. }
  194. func (x *FriendAddNoticeMessage) GetWeChatId() string {
  195. if x != nil {
  196. return x.WeChatId
  197. }
  198. return ""
  199. }
  200. func (x *FriendAddNoticeMessage) GetFriend() *FriendMessage {
  201. if x != nil {
  202. return x.Friend
  203. }
  204. return nil
  205. }
  206. var File_FriendAddNotice_proto protoreflect.FileDescriptor
  207. var file_FriendAddNotice_proto_rawDesc = string([]byte{
  208. 0x0a, 0x15, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x41, 0x64, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x63,
  209. 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75,
  210. 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f,
  211. 0x22, 0x9d, 0x03, 0x0a, 0x0d, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61,
  212. 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x18, 0x01,
  213. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x1a,
  214. 0x0a, 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  215. 0x52, 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x46, 0x72,
  216. 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x69, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
  217. 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x69, 0x63, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x4d, 0x65,
  218. 0x6d, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4d, 0x65, 0x6d, 0x6f, 0x12, 0x16,
  219. 0x0a, 0x06, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
  220. 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x72,
  221. 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79,
  222. 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01,
  223. 0x28, 0x09, 0x52, 0x08, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04,
  224. 0x43, 0x69, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x43, 0x69, 0x74, 0x79,
  225. 0x12, 0x16, 0x0a, 0x06, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09,
  226. 0x52, 0x06, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x61,
  227. 0x72, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b,
  228. 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
  229. 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x49, 0x64, 0x73,
  230. 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x49, 0x64, 0x73,
  231. 0x12, 0x14, 0x0a, 0x05, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52,
  232. 0x05, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x44, 0x65, 0x73, 0x63, 0x18, 0x0e,
  233. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x44, 0x65, 0x73, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x6f,
  234. 0x75, 0x72, 0x63, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x53, 0x6f, 0x75, 0x72,
  235. 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x78, 0x74, 0x18,
  236. 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x78, 0x74,
  237. 0x22, 0x74, 0x0a, 0x16, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x41, 0x64, 0x64, 0x4e, 0x6f, 0x74,
  238. 0x69, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x57, 0x65,
  239. 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x57, 0x65,
  240. 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x06, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64,
  241. 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75,
  242. 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f,
  243. 0x2e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x06,
  244. 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x77, 0x6f, 0x72, 0x6b,
  245. 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  246. })
  247. var (
  248. file_FriendAddNotice_proto_rawDescOnce sync.Once
  249. file_FriendAddNotice_proto_rawDescData []byte
  250. )
  251. func file_FriendAddNotice_proto_rawDescGZIP() []byte {
  252. file_FriendAddNotice_proto_rawDescOnce.Do(func() {
  253. file_FriendAddNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_FriendAddNotice_proto_rawDesc), len(file_FriendAddNotice_proto_rawDesc)))
  254. })
  255. return file_FriendAddNotice_proto_rawDescData
  256. }
  257. var file_FriendAddNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  258. var file_FriendAddNotice_proto_goTypes = []any{
  259. (*FriendMessage)(nil), // 0: Jubo.JuLiao.IM.Wx.Proto.FriendMessage
  260. (*FriendAddNoticeMessage)(nil), // 1: Jubo.JuLiao.IM.Wx.Proto.FriendAddNoticeMessage
  261. }
  262. var file_FriendAddNotice_proto_depIdxs = []int32{
  263. 0, // 0: Jubo.JuLiao.IM.Wx.Proto.FriendAddNoticeMessage.Friend:type_name -> Jubo.JuLiao.IM.Wx.Proto.FriendMessage
  264. 1, // [1:1] is the sub-list for method output_type
  265. 1, // [1:1] is the sub-list for method input_type
  266. 1, // [1:1] is the sub-list for extension type_name
  267. 1, // [1:1] is the sub-list for extension extendee
  268. 0, // [0:1] is the sub-list for field type_name
  269. }
  270. func init() { file_FriendAddNotice_proto_init() }
  271. func file_FriendAddNotice_proto_init() {
  272. if File_FriendAddNotice_proto != nil {
  273. return
  274. }
  275. type x struct{}
  276. out := protoimpl.TypeBuilder{
  277. File: protoimpl.DescBuilder{
  278. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  279. RawDescriptor: unsafe.Slice(unsafe.StringData(file_FriendAddNotice_proto_rawDesc), len(file_FriendAddNotice_proto_rawDesc)),
  280. NumEnums: 0,
  281. NumMessages: 2,
  282. NumExtensions: 0,
  283. NumServices: 0,
  284. },
  285. GoTypes: file_FriendAddNotice_proto_goTypes,
  286. DependencyIndexes: file_FriendAddNotice_proto_depIdxs,
  287. MessageInfos: file_FriendAddNotice_proto_msgTypes,
  288. }.Build()
  289. File_FriendAddNotice_proto = out.File
  290. file_FriendAddNotice_proto_goTypes = nil
  291. file_FriendAddNotice_proto_depIdxs = nil
  292. }