AddFriendNotice.pb.go 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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: AddFriendNotice.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 AddFriendNoticeMessage struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. WeChatId string `protobuf:"bytes,1,opt,name=WeChatId,proto3" json:"WeChatId,omitempty"` // 商家个人微信内部全局唯一识别码
  24. FriendId string `protobuf:"bytes,2,opt,name=FriendId,proto3" json:"FriendId,omitempty"` // 请求好友微信内部全局唯一识别码
  25. FriendNo string `protobuf:"bytes,3,opt,name=FriendNo,proto3" json:"FriendNo,omitempty"` // 微信号
  26. FriendNick string `protobuf:"bytes,4,opt,name=FriendNick,proto3" json:"FriendNick,omitempty"` // 好友的微信昵称
  27. Reason string `protobuf:"bytes,5,opt,name=Reason,proto3" json:"Reason,omitempty"` // 招呼语
  28. Avatar string `protobuf:"bytes,6,opt,name=Avatar,proto3" json:"Avatar,omitempty"` //微信头像
  29. Source int32 `protobuf:"varint,7,opt,name=Source,proto3" json:"Source,omitempty"` // 来源
  30. SourceUser string `protobuf:"bytes,8,opt,name=SourceUser,proto3" json:"SourceUser,omitempty"` // 来源的微信id(推荐人,群聊房间号)
  31. Gender EnumGender `protobuf:"varint,9,opt,name=Gender,proto3,enum=Jubo.JuLiao.IM.Wx.Proto.EnumGender" json:"Gender,omitempty"` //性别
  32. Province string `protobuf:"bytes,10,opt,name=Province,proto3" json:"Province,omitempty"` //省份
  33. City string `protobuf:"bytes,11,opt,name=City,proto3" json:"City,omitempty"` //城市
  34. }
  35. func (x *AddFriendNoticeMessage) Reset() {
  36. *x = AddFriendNoticeMessage{}
  37. mi := &file_AddFriendNotice_proto_msgTypes[0]
  38. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  39. ms.StoreMessageInfo(mi)
  40. }
  41. func (x *AddFriendNoticeMessage) String() string {
  42. return protoimpl.X.MessageStringOf(x)
  43. }
  44. func (*AddFriendNoticeMessage) ProtoMessage() {}
  45. func (x *AddFriendNoticeMessage) ProtoReflect() protoreflect.Message {
  46. mi := &file_AddFriendNotice_proto_msgTypes[0]
  47. if x != nil {
  48. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  49. if ms.LoadMessageInfo() == nil {
  50. ms.StoreMessageInfo(mi)
  51. }
  52. return ms
  53. }
  54. return mi.MessageOf(x)
  55. }
  56. // Deprecated: Use AddFriendNoticeMessage.ProtoReflect.Descriptor instead.
  57. func (*AddFriendNoticeMessage) Descriptor() ([]byte, []int) {
  58. return file_AddFriendNotice_proto_rawDescGZIP(), []int{0}
  59. }
  60. func (x *AddFriendNoticeMessage) GetWeChatId() string {
  61. if x != nil {
  62. return x.WeChatId
  63. }
  64. return ""
  65. }
  66. func (x *AddFriendNoticeMessage) GetFriendId() string {
  67. if x != nil {
  68. return x.FriendId
  69. }
  70. return ""
  71. }
  72. func (x *AddFriendNoticeMessage) GetFriendNo() string {
  73. if x != nil {
  74. return x.FriendNo
  75. }
  76. return ""
  77. }
  78. func (x *AddFriendNoticeMessage) GetFriendNick() string {
  79. if x != nil {
  80. return x.FriendNick
  81. }
  82. return ""
  83. }
  84. func (x *AddFriendNoticeMessage) GetReason() string {
  85. if x != nil {
  86. return x.Reason
  87. }
  88. return ""
  89. }
  90. func (x *AddFriendNoticeMessage) GetAvatar() string {
  91. if x != nil {
  92. return x.Avatar
  93. }
  94. return ""
  95. }
  96. func (x *AddFriendNoticeMessage) GetSource() int32 {
  97. if x != nil {
  98. return x.Source
  99. }
  100. return 0
  101. }
  102. func (x *AddFriendNoticeMessage) GetSourceUser() string {
  103. if x != nil {
  104. return x.SourceUser
  105. }
  106. return ""
  107. }
  108. func (x *AddFriendNoticeMessage) GetGender() EnumGender {
  109. if x != nil {
  110. return x.Gender
  111. }
  112. return EnumGender_UnknownGender
  113. }
  114. func (x *AddFriendNoticeMessage) GetProvince() string {
  115. if x != nil {
  116. return x.Province
  117. }
  118. return ""
  119. }
  120. func (x *AddFriendNoticeMessage) GetCity() string {
  121. if x != nil {
  122. return x.City
  123. }
  124. return ""
  125. }
  126. var File_AddFriendNotice_proto protoreflect.FileDescriptor
  127. var file_AddFriendNotice_proto_rawDesc = []byte{
  128. 0x0a, 0x15, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x63,
  129. 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75,
  130. 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f,
  131. 0x1a, 0x16, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61,
  132. 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe1, 0x02, 0x0a, 0x16, 0x41, 0x64, 0x64,
  133. 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73,
  134. 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x18,
  135. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12,
  136. 0x1a, 0x0a, 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  137. 0x09, 0x52, 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x46,
  138. 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x46,
  139. 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x46, 0x72, 0x69, 0x65, 0x6e,
  140. 0x64, 0x4e, 0x69, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x46, 0x72, 0x69,
  141. 0x65, 0x6e, 0x64, 0x4e, 0x69, 0x63, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x61, 0x73, 0x6f,
  142. 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12,
  143. 0x16, 0x0a, 0x06, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
  144. 0x06, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63,
  145. 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12,
  146. 0x1e, 0x0a, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x73, 0x65, 0x72, 0x18, 0x08, 0x20,
  147. 0x01, 0x28, 0x09, 0x52, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12,
  148. 0x3b, 0x0a, 0x06, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32,
  149. 0x23, 0x2e, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d,
  150. 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x47, 0x65,
  151. 0x6e, 0x64, 0x65, 0x72, 0x52, 0x06, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08,
  152. 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  153. 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x69, 0x74, 0x79,
  154. 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x43, 0x69, 0x74, 0x79, 0x42, 0x0d, 0x5a, 0x0b,
  155. 0x2e, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f,
  156. 0x74, 0x6f, 0x33,
  157. }
  158. var (
  159. file_AddFriendNotice_proto_rawDescOnce sync.Once
  160. file_AddFriendNotice_proto_rawDescData = file_AddFriendNotice_proto_rawDesc
  161. )
  162. func file_AddFriendNotice_proto_rawDescGZIP() []byte {
  163. file_AddFriendNotice_proto_rawDescOnce.Do(func() {
  164. file_AddFriendNotice_proto_rawDescData = protoimpl.X.CompressGZIP(file_AddFriendNotice_proto_rawDescData)
  165. })
  166. return file_AddFriendNotice_proto_rawDescData
  167. }
  168. var file_AddFriendNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  169. var file_AddFriendNotice_proto_goTypes = []any{
  170. (*AddFriendNoticeMessage)(nil), // 0: Jubo.JuLiao.IM.Wx.Proto.AddFriendNoticeMessage
  171. (EnumGender)(0), // 1: Jubo.JuLiao.IM.Wx.Proto.EnumGender
  172. }
  173. var file_AddFriendNotice_proto_depIdxs = []int32{
  174. 1, // 0: Jubo.JuLiao.IM.Wx.Proto.AddFriendNoticeMessage.Gender:type_name -> Jubo.JuLiao.IM.Wx.Proto.EnumGender
  175. 1, // [1:1] is the sub-list for method output_type
  176. 1, // [1:1] is the sub-list for method input_type
  177. 1, // [1:1] is the sub-list for extension type_name
  178. 1, // [1:1] is the sub-list for extension extendee
  179. 0, // [0:1] is the sub-list for field type_name
  180. }
  181. func init() { file_AddFriendNotice_proto_init() }
  182. func file_AddFriendNotice_proto_init() {
  183. if File_AddFriendNotice_proto != nil {
  184. return
  185. }
  186. file_TransportMessage_proto_init()
  187. type x struct{}
  188. out := protoimpl.TypeBuilder{
  189. File: protoimpl.DescBuilder{
  190. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  191. RawDescriptor: file_AddFriendNotice_proto_rawDesc,
  192. NumEnums: 0,
  193. NumMessages: 1,
  194. NumExtensions: 0,
  195. NumServices: 0,
  196. },
  197. GoTypes: file_AddFriendNotice_proto_goTypes,
  198. DependencyIndexes: file_AddFriendNotice_proto_depIdxs,
  199. MessageInfos: file_AddFriendNotice_proto_msgTypes,
  200. }.Build()
  201. File_AddFriendNotice_proto = out.File
  202. file_AddFriendNotice_proto_rawDesc = nil
  203. file_AddFriendNotice_proto_goTypes = nil
  204. file_AddFriendNotice_proto_depIdxs = nil
  205. }