ChatRoomMembersNotice.pb.go 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  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: ChatRoomMembersNotice.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 StrangerMessage struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Wxid string `protobuf:"bytes,1,opt,name=Wxid,proto3" json:"Wxid,omitempty"` // 微信号
  24. Alias string `protobuf:"bytes,2,opt,name=Alias,proto3" json:"Alias,omitempty"` // 微信别名
  25. Nickname string `protobuf:"bytes,3,opt,name=Nickname,proto3" json:"Nickname,omitempty"` // 好友的微信昵称
  26. Avatar string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"` //微信头像
  27. Type int32 `protobuf:"varint,5,opt,name=Type,proto3" json:"Type,omitempty"` // 联系人类型,判断是否为好友
  28. Gender EnumGender `protobuf:"varint,6,opt,name=Gender,proto3,enum=Jubo.JuLiao.IM.Wx.Proto.EnumGender" json:"Gender,omitempty"` //性别
  29. Country string `protobuf:"bytes,7,opt,name=Country,proto3" json:"Country,omitempty"` //国家 (非必传)
  30. Province string `protobuf:"bytes,8,opt,name=Province,proto3" json:"Province,omitempty"` //省份
  31. City string `protobuf:"bytes,9,opt,name=City,proto3" json:"City,omitempty"` //城市
  32. Memo string `protobuf:"bytes,10,opt,name=Memo,proto3" json:"Memo,omitempty"` // 机主的备注
  33. Signature string `protobuf:"bytes,11,opt,name=Signature,proto3" json:"Signature,omitempty"` //签名
  34. }
  35. func (x *StrangerMessage) Reset() {
  36. *x = StrangerMessage{}
  37. mi := &file_ChatRoomMembersNotice_proto_msgTypes[0]
  38. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  39. ms.StoreMessageInfo(mi)
  40. }
  41. func (x *StrangerMessage) String() string {
  42. return protoimpl.X.MessageStringOf(x)
  43. }
  44. func (*StrangerMessage) ProtoMessage() {}
  45. func (x *StrangerMessage) ProtoReflect() protoreflect.Message {
  46. mi := &file_ChatRoomMembersNotice_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 StrangerMessage.ProtoReflect.Descriptor instead.
  57. func (*StrangerMessage) Descriptor() ([]byte, []int) {
  58. return file_ChatRoomMembersNotice_proto_rawDescGZIP(), []int{0}
  59. }
  60. func (x *StrangerMessage) GetWxid() string {
  61. if x != nil {
  62. return x.Wxid
  63. }
  64. return ""
  65. }
  66. func (x *StrangerMessage) GetAlias() string {
  67. if x != nil {
  68. return x.Alias
  69. }
  70. return ""
  71. }
  72. func (x *StrangerMessage) GetNickname() string {
  73. if x != nil {
  74. return x.Nickname
  75. }
  76. return ""
  77. }
  78. func (x *StrangerMessage) GetAvatar() string {
  79. if x != nil {
  80. return x.Avatar
  81. }
  82. return ""
  83. }
  84. func (x *StrangerMessage) GetType() int32 {
  85. if x != nil {
  86. return x.Type
  87. }
  88. return 0
  89. }
  90. func (x *StrangerMessage) GetGender() EnumGender {
  91. if x != nil {
  92. return x.Gender
  93. }
  94. return EnumGender_UnknownGender
  95. }
  96. func (x *StrangerMessage) GetCountry() string {
  97. if x != nil {
  98. return x.Country
  99. }
  100. return ""
  101. }
  102. func (x *StrangerMessage) GetProvince() string {
  103. if x != nil {
  104. return x.Province
  105. }
  106. return ""
  107. }
  108. func (x *StrangerMessage) GetCity() string {
  109. if x != nil {
  110. return x.City
  111. }
  112. return ""
  113. }
  114. func (x *StrangerMessage) GetMemo() string {
  115. if x != nil {
  116. return x.Memo
  117. }
  118. return ""
  119. }
  120. func (x *StrangerMessage) GetSignature() string {
  121. if x != nil {
  122. return x.Signature
  123. }
  124. return ""
  125. }
  126. type ChatRoomMembersNoticeMessage struct {
  127. state protoimpl.MessageState
  128. sizeCache protoimpl.SizeCache
  129. unknownFields protoimpl.UnknownFields
  130. WeChatId string `protobuf:"bytes,1,opt,name=WeChatId,proto3" json:"WeChatId,omitempty"` // 商家个人微信内部全局唯一识别码
  131. Members []*StrangerMessage `protobuf:"bytes,3,rep,name=Members,proto3" json:"Members,omitempty"` // 联系人信息
  132. }
  133. func (x *ChatRoomMembersNoticeMessage) Reset() {
  134. *x = ChatRoomMembersNoticeMessage{}
  135. mi := &file_ChatRoomMembersNotice_proto_msgTypes[1]
  136. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  137. ms.StoreMessageInfo(mi)
  138. }
  139. func (x *ChatRoomMembersNoticeMessage) String() string {
  140. return protoimpl.X.MessageStringOf(x)
  141. }
  142. func (*ChatRoomMembersNoticeMessage) ProtoMessage() {}
  143. func (x *ChatRoomMembersNoticeMessage) ProtoReflect() protoreflect.Message {
  144. mi := &file_ChatRoomMembersNotice_proto_msgTypes[1]
  145. if x != nil {
  146. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  147. if ms.LoadMessageInfo() == nil {
  148. ms.StoreMessageInfo(mi)
  149. }
  150. return ms
  151. }
  152. return mi.MessageOf(x)
  153. }
  154. // Deprecated: Use ChatRoomMembersNoticeMessage.ProtoReflect.Descriptor instead.
  155. func (*ChatRoomMembersNoticeMessage) Descriptor() ([]byte, []int) {
  156. return file_ChatRoomMembersNotice_proto_rawDescGZIP(), []int{1}
  157. }
  158. func (x *ChatRoomMembersNoticeMessage) GetWeChatId() string {
  159. if x != nil {
  160. return x.WeChatId
  161. }
  162. return ""
  163. }
  164. func (x *ChatRoomMembersNoticeMessage) GetMembers() []*StrangerMessage {
  165. if x != nil {
  166. return x.Members
  167. }
  168. return nil
  169. }
  170. var File_ChatRoomMembersNotice_proto protoreflect.FileDescriptor
  171. var file_ChatRoomMembersNotice_proto_rawDesc = []byte{
  172. 0x0a, 0x1b, 0x43, 0x68, 0x61, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  173. 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x4a,
  174. 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78,
  175. 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72,
  176. 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbc,
  177. 0x02, 0x0a, 0x0f, 0x53, 0x74, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61,
  178. 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x57, 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  179. 0x52, 0x04, 0x57, 0x78, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x18,
  180. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1a, 0x0a, 0x08,
  181. 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  182. 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x76, 0x61, 0x74,
  183. 0x61, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72,
  184. 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
  185. 0x54, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x06,
  186. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69,
  187. 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45,
  188. 0x6e, 0x75, 0x6d, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x06, 0x47, 0x65, 0x6e, 0x64, 0x65,
  189. 0x72, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01,
  190. 0x28, 0x09, 0x52, 0x07, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x50,
  191. 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50,
  192. 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x69, 0x74, 0x79, 0x18,
  193. 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x43, 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x4d,
  194. 0x65, 0x6d, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4d, 0x65, 0x6d, 0x6f, 0x12,
  195. 0x1c, 0x0a, 0x09, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x0b, 0x20, 0x01,
  196. 0x28, 0x09, 0x52, 0x09, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x7e, 0x0a,
  197. 0x1c, 0x43, 0x68, 0x61, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73,
  198. 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a,
  199. 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  200. 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x07, 0x4d, 0x65, 0x6d,
  201. 0x62, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x4a, 0x75, 0x62,
  202. 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50,
  203. 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x72, 0x4d, 0x65, 0x73,
  204. 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x42, 0x0d, 0x5a,
  205. 0x0b, 0x2e, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72,
  206. 0x6f, 0x74, 0x6f, 0x33,
  207. }
  208. var (
  209. file_ChatRoomMembersNotice_proto_rawDescOnce sync.Once
  210. file_ChatRoomMembersNotice_proto_rawDescData = file_ChatRoomMembersNotice_proto_rawDesc
  211. )
  212. func file_ChatRoomMembersNotice_proto_rawDescGZIP() []byte {
  213. file_ChatRoomMembersNotice_proto_rawDescOnce.Do(func() {
  214. file_ChatRoomMembersNotice_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChatRoomMembersNotice_proto_rawDescData)
  215. })
  216. return file_ChatRoomMembersNotice_proto_rawDescData
  217. }
  218. var file_ChatRoomMembersNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  219. var file_ChatRoomMembersNotice_proto_goTypes = []any{
  220. (*StrangerMessage)(nil), // 0: Jubo.JuLiao.IM.Wx.Proto.StrangerMessage
  221. (*ChatRoomMembersNoticeMessage)(nil), // 1: Jubo.JuLiao.IM.Wx.Proto.ChatRoomMembersNoticeMessage
  222. (EnumGender)(0), // 2: Jubo.JuLiao.IM.Wx.Proto.EnumGender
  223. }
  224. var file_ChatRoomMembersNotice_proto_depIdxs = []int32{
  225. 2, // 0: Jubo.JuLiao.IM.Wx.Proto.StrangerMessage.Gender:type_name -> Jubo.JuLiao.IM.Wx.Proto.EnumGender
  226. 0, // 1: Jubo.JuLiao.IM.Wx.Proto.ChatRoomMembersNoticeMessage.Members:type_name -> Jubo.JuLiao.IM.Wx.Proto.StrangerMessage
  227. 2, // [2:2] is the sub-list for method output_type
  228. 2, // [2:2] is the sub-list for method input_type
  229. 2, // [2:2] is the sub-list for extension type_name
  230. 2, // [2:2] is the sub-list for extension extendee
  231. 0, // [0:2] is the sub-list for field type_name
  232. }
  233. func init() { file_ChatRoomMembersNotice_proto_init() }
  234. func file_ChatRoomMembersNotice_proto_init() {
  235. if File_ChatRoomMembersNotice_proto != nil {
  236. return
  237. }
  238. file_TransportMessage_proto_init()
  239. type x struct{}
  240. out := protoimpl.TypeBuilder{
  241. File: protoimpl.DescBuilder{
  242. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  243. RawDescriptor: file_ChatRoomMembersNotice_proto_rawDesc,
  244. NumEnums: 0,
  245. NumMessages: 2,
  246. NumExtensions: 0,
  247. NumServices: 0,
  248. },
  249. GoTypes: file_ChatRoomMembersNotice_proto_goTypes,
  250. DependencyIndexes: file_ChatRoomMembersNotice_proto_depIdxs,
  251. MessageInfos: file_ChatRoomMembersNotice_proto_msgTypes,
  252. }.Build()
  253. File_ChatRoomMembersNotice_proto = out.File
  254. file_ChatRoomMembersNotice_proto_rawDesc = nil
  255. file_ChatRoomMembersNotice_proto_goTypes = nil
  256. file_ChatRoomMembersNotice_proto_depIdxs = nil
  257. }