WGetWeChatsResp.pb.go 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  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/WGetWeChatsResp.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. // 定义消息类型 GetWeChatsResp
  21. type GetWeChatsRespMessage struct {
  22. state protoimpl.MessageState `protogen:"open.v1"`
  23. MsgType string `protobuf:"bytes,1,opt,name=msgType,proto3" json:"msgType,omitempty"` // 对应msgType字段
  24. Message []*Message `protobuf:"bytes,2,rep,name=message,proto3" json:"message,omitempty"` // 对应message字段, 是个Json数组,使用repeated类型
  25. unknownFields protoimpl.UnknownFields
  26. sizeCache protoimpl.SizeCache
  27. }
  28. func (x *GetWeChatsRespMessage) Reset() {
  29. *x = GetWeChatsRespMessage{}
  30. mi := &file_wecom_WGetWeChatsResp_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. func (x *GetWeChatsRespMessage) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*GetWeChatsRespMessage) ProtoMessage() {}
  38. func (x *GetWeChatsRespMessage) ProtoReflect() protoreflect.Message {
  39. mi := &file_wecom_WGetWeChatsResp_proto_msgTypes[0]
  40. if x != nil {
  41. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  42. if ms.LoadMessageInfo() == nil {
  43. ms.StoreMessageInfo(mi)
  44. }
  45. return ms
  46. }
  47. return mi.MessageOf(x)
  48. }
  49. // Deprecated: Use GetWeChatsRespMessage.ProtoReflect.Descriptor instead.
  50. func (*GetWeChatsRespMessage) Descriptor() ([]byte, []int) {
  51. return file_wecom_WGetWeChatsResp_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *GetWeChatsRespMessage) GetMsgType() string {
  54. if x != nil {
  55. return x.MsgType
  56. }
  57. return ""
  58. }
  59. func (x *GetWeChatsRespMessage) GetMessage() []*Message {
  60. if x != nil {
  61. return x.Message
  62. }
  63. return nil
  64. }
  65. // 定义单个微信用户的消息格式
  66. type Message struct {
  67. state protoimpl.MessageState `protogen:"open.v1"`
  68. Accountid int32 `protobuf:"varint,1,opt,name=accountid,proto3" json:"accountid,omitempty"` // 对应accountid字段
  69. Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` // 对应alias字段
  70. Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"` // 对应avatar字段
  71. Brand string `protobuf:"bytes,4,opt,name=brand,proto3" json:"brand,omitempty"` // 对应brand字段
  72. Cid int32 `protobuf:"varint,5,opt,name=cid,proto3" json:"cid,omitempty"` // 对应cid字段
  73. Corpid string `protobuf:"bytes,6,opt,name=corpid,proto3" json:"corpid,omitempty"` // 对应corpid字段
  74. Deviceid string `protobuf:"bytes,7,opt,name=deviceid,proto3" json:"deviceid,omitempty"` // 对应deviceid字段
  75. Devnickname string `protobuf:"bytes,8,opt,name=devnickname,proto3" json:"devnickname,omitempty"` // 对应devnickname字段
  76. Gender int32 `protobuf:"varint,9,opt,name=gender,proto3" json:"gender,omitempty"` // 对应gender字段
  77. Id int32 `protobuf:"varint,10,opt,name=id,proto3" json:"id,omitempty"` // 对应id字段
  78. Isonline int32 `protobuf:"varint,11,opt,name=isonline,proto3" json:"isonline,omitempty"` // 对应isonline字段
  79. Job string `protobuf:"bytes,12,opt,name=job,proto3" json:"job,omitempty"` // 对应job字段
  80. LoginTime int64 `protobuf:"varint,13,opt,name=login_time,json=loginTime,proto3" json:"login_time,omitempty"` // 对应login_time字段(作为时间戳)
  81. ModifyTime int64 `protobuf:"varint,14,opt,name=modify_time,json=modifyTime,proto3" json:"modify_time,omitempty"` // 对应modify_time字段(作为时间戳)
  82. Module string `protobuf:"bytes,15,opt,name=module,proto3" json:"module,omitempty"` // 对应module字段
  83. Name string `protobuf:"bytes,16,opt,name=name,proto3" json:"name,omitempty"` // 对应name字段
  84. Phone string `protobuf:"bytes,17,opt,name=phone,proto3" json:"phone,omitempty"` // 对应phone字段
  85. Wxid string `protobuf:"bytes,18,opt,name=wxid,proto3" json:"wxid,omitempty"` // 对应wxid字段
  86. unknownFields protoimpl.UnknownFields
  87. sizeCache protoimpl.SizeCache
  88. }
  89. func (x *Message) Reset() {
  90. *x = Message{}
  91. mi := &file_wecom_WGetWeChatsResp_proto_msgTypes[1]
  92. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  93. ms.StoreMessageInfo(mi)
  94. }
  95. func (x *Message) String() string {
  96. return protoimpl.X.MessageStringOf(x)
  97. }
  98. func (*Message) ProtoMessage() {}
  99. func (x *Message) ProtoReflect() protoreflect.Message {
  100. mi := &file_wecom_WGetWeChatsResp_proto_msgTypes[1]
  101. if x != nil {
  102. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  103. if ms.LoadMessageInfo() == nil {
  104. ms.StoreMessageInfo(mi)
  105. }
  106. return ms
  107. }
  108. return mi.MessageOf(x)
  109. }
  110. // Deprecated: Use Message.ProtoReflect.Descriptor instead.
  111. func (*Message) Descriptor() ([]byte, []int) {
  112. return file_wecom_WGetWeChatsResp_proto_rawDescGZIP(), []int{1}
  113. }
  114. func (x *Message) GetAccountid() int32 {
  115. if x != nil {
  116. return x.Accountid
  117. }
  118. return 0
  119. }
  120. func (x *Message) GetAlias() string {
  121. if x != nil {
  122. return x.Alias
  123. }
  124. return ""
  125. }
  126. func (x *Message) GetAvatar() string {
  127. if x != nil {
  128. return x.Avatar
  129. }
  130. return ""
  131. }
  132. func (x *Message) GetBrand() string {
  133. if x != nil {
  134. return x.Brand
  135. }
  136. return ""
  137. }
  138. func (x *Message) GetCid() int32 {
  139. if x != nil {
  140. return x.Cid
  141. }
  142. return 0
  143. }
  144. func (x *Message) GetCorpid() string {
  145. if x != nil {
  146. return x.Corpid
  147. }
  148. return ""
  149. }
  150. func (x *Message) GetDeviceid() string {
  151. if x != nil {
  152. return x.Deviceid
  153. }
  154. return ""
  155. }
  156. func (x *Message) GetDevnickname() string {
  157. if x != nil {
  158. return x.Devnickname
  159. }
  160. return ""
  161. }
  162. func (x *Message) GetGender() int32 {
  163. if x != nil {
  164. return x.Gender
  165. }
  166. return 0
  167. }
  168. func (x *Message) GetId() int32 {
  169. if x != nil {
  170. return x.Id
  171. }
  172. return 0
  173. }
  174. func (x *Message) GetIsonline() int32 {
  175. if x != nil {
  176. return x.Isonline
  177. }
  178. return 0
  179. }
  180. func (x *Message) GetJob() string {
  181. if x != nil {
  182. return x.Job
  183. }
  184. return ""
  185. }
  186. func (x *Message) GetLoginTime() int64 {
  187. if x != nil {
  188. return x.LoginTime
  189. }
  190. return 0
  191. }
  192. func (x *Message) GetModifyTime() int64 {
  193. if x != nil {
  194. return x.ModifyTime
  195. }
  196. return 0
  197. }
  198. func (x *Message) GetModule() string {
  199. if x != nil {
  200. return x.Module
  201. }
  202. return ""
  203. }
  204. func (x *Message) GetName() string {
  205. if x != nil {
  206. return x.Name
  207. }
  208. return ""
  209. }
  210. func (x *Message) GetPhone() string {
  211. if x != nil {
  212. return x.Phone
  213. }
  214. return ""
  215. }
  216. func (x *Message) GetWxid() string {
  217. if x != nil {
  218. return x.Wxid
  219. }
  220. return ""
  221. }
  222. var File_wecom_WGetWeChatsResp_proto protoreflect.FileDescriptor
  223. const file_wecom_WGetWeChatsResp_proto_rawDesc = "" +
  224. "\n" +
  225. "\x1bwecom/WGetWeChatsResp.proto\x12\x10Im.Scrm.Ww.Proto\"f\n" +
  226. "\x15GetWeChatsRespMessage\x12\x18\n" +
  227. "\amsgType\x18\x01 \x01(\tR\amsgType\x123\n" +
  228. "\amessage\x18\x02 \x03(\v2\x19.Im.Scrm.Ww.Proto.MessageR\amessage\"\xbf\x03\n" +
  229. "\aMessage\x12\x1c\n" +
  230. "\taccountid\x18\x01 \x01(\x05R\taccountid\x12\x14\n" +
  231. "\x05alias\x18\x02 \x01(\tR\x05alias\x12\x16\n" +
  232. "\x06avatar\x18\x03 \x01(\tR\x06avatar\x12\x14\n" +
  233. "\x05brand\x18\x04 \x01(\tR\x05brand\x12\x10\n" +
  234. "\x03cid\x18\x05 \x01(\x05R\x03cid\x12\x16\n" +
  235. "\x06corpid\x18\x06 \x01(\tR\x06corpid\x12\x1a\n" +
  236. "\bdeviceid\x18\a \x01(\tR\bdeviceid\x12 \n" +
  237. "\vdevnickname\x18\b \x01(\tR\vdevnickname\x12\x16\n" +
  238. "\x06gender\x18\t \x01(\x05R\x06gender\x12\x0e\n" +
  239. "\x02id\x18\n" +
  240. " \x01(\x05R\x02id\x12\x1a\n" +
  241. "\bisonline\x18\v \x01(\x05R\bisonline\x12\x10\n" +
  242. "\x03job\x18\f \x01(\tR\x03job\x12\x1d\n" +
  243. "\n" +
  244. "login_time\x18\r \x01(\x03R\tloginTime\x12\x1f\n" +
  245. "\vmodify_time\x18\x0e \x01(\x03R\n" +
  246. "modifyTime\x12\x16\n" +
  247. "\x06module\x18\x0f \x01(\tR\x06module\x12\x12\n" +
  248. "\x04name\x18\x10 \x01(\tR\x04name\x12\x14\n" +
  249. "\x05phone\x18\x11 \x01(\tR\x05phone\x12\x12\n" +
  250. "\x04wxid\x18\x12 \x01(\tR\x04wxidB\x13Z\x11./workphone/wecomb\x06proto3"
  251. var (
  252. file_wecom_WGetWeChatsResp_proto_rawDescOnce sync.Once
  253. file_wecom_WGetWeChatsResp_proto_rawDescData []byte
  254. )
  255. func file_wecom_WGetWeChatsResp_proto_rawDescGZIP() []byte {
  256. file_wecom_WGetWeChatsResp_proto_rawDescOnce.Do(func() {
  257. file_wecom_WGetWeChatsResp_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WGetWeChatsResp_proto_rawDesc), len(file_wecom_WGetWeChatsResp_proto_rawDesc)))
  258. })
  259. return file_wecom_WGetWeChatsResp_proto_rawDescData
  260. }
  261. var file_wecom_WGetWeChatsResp_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  262. var file_wecom_WGetWeChatsResp_proto_goTypes = []any{
  263. (*GetWeChatsRespMessage)(nil), // 0: Im.Scrm.Ww.Proto.GetWeChatsRespMessage
  264. (*Message)(nil), // 1: Im.Scrm.Ww.Proto.Message
  265. }
  266. var file_wecom_WGetWeChatsResp_proto_depIdxs = []int32{
  267. 1, // 0: Im.Scrm.Ww.Proto.GetWeChatsRespMessage.message:type_name -> Im.Scrm.Ww.Proto.Message
  268. 1, // [1:1] is the sub-list for method output_type
  269. 1, // [1:1] is the sub-list for method input_type
  270. 1, // [1:1] is the sub-list for extension type_name
  271. 1, // [1:1] is the sub-list for extension extendee
  272. 0, // [0:1] is the sub-list for field type_name
  273. }
  274. func init() { file_wecom_WGetWeChatsResp_proto_init() }
  275. func file_wecom_WGetWeChatsResp_proto_init() {
  276. if File_wecom_WGetWeChatsResp_proto != nil {
  277. return
  278. }
  279. type x struct{}
  280. out := protoimpl.TypeBuilder{
  281. File: protoimpl.DescBuilder{
  282. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  283. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WGetWeChatsResp_proto_rawDesc), len(file_wecom_WGetWeChatsResp_proto_rawDesc)),
  284. NumEnums: 0,
  285. NumMessages: 2,
  286. NumExtensions: 0,
  287. NumServices: 0,
  288. },
  289. GoTypes: file_wecom_WGetWeChatsResp_proto_goTypes,
  290. DependencyIndexes: file_wecom_WGetWeChatsResp_proto_depIdxs,
  291. MessageInfos: file_wecom_WGetWeChatsResp_proto_msgTypes,
  292. }.Build()
  293. File_wecom_WGetWeChatsResp_proto = out.File
  294. file_wecom_WGetWeChatsResp_proto_goTypes = nil
  295. file_wecom_WGetWeChatsResp_proto_depIdxs = nil
  296. }