WwOnlineNotice.pb.go 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  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/WwOnlineNotice.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. type WwOnlineNoticeMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` //账号ID
  23. Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` //名称
  24. Alias string `protobuf:"bytes,3,opt,name=Alias,proto3" json:"Alias,omitempty"` //别称
  25. AcctId string `protobuf:"bytes,4,opt,name=AcctId,proto3" json:"AcctId,omitempty"` //内部账号
  26. Avatar string `protobuf:"bytes,5,opt,name=Avatar,proto3" json:"Avatar,omitempty"` //微信头像
  27. Gender EnumGender `protobuf:"varint,6,opt,name=Gender,proto3,enum=Im.Scrm.Ww.Proto.EnumGender" json:"Gender,omitempty"` //性别
  28. Job string `protobuf:"bytes,7,opt,name=Job,proto3" json:"Job,omitempty"` // 职位
  29. Phone string `protobuf:"bytes,8,opt,name=Phone,proto3" json:"Phone,omitempty"` //
  30. CorpId int64 `protobuf:"varint,9,opt,name=CorpId,proto3" json:"CorpId,omitempty"` //公司ID
  31. Attr int64 `protobuf:"varint,10,opt,name=Attr,proto3" json:"Attr,omitempty"` //属性 备用
  32. // SimpleDepartMessage Departs = 11; // 部门信息
  33. DepartIds []int64 `protobuf:"varint,11,rep,packed,name=DepartIds,proto3" json:"DepartIds,omitempty"`
  34. IMEI string `protobuf:"bytes,12,opt,name=IMEI,proto3" json:"IMEI,omitempty"` // imei号
  35. SyncStat int32 `protobuf:"varint,13,opt,name=SyncStat,proto3" json:"SyncStat,omitempty"`
  36. CorpName string `protobuf:"bytes,14,opt,name=CorpName,proto3" json:"CorpName,omitempty"`
  37. ShowName string `protobuf:"bytes,15,opt,name=ShowName,proto3" json:"ShowName,omitempty"`
  38. CorpShortName string `protobuf:"bytes,16,opt,name=CorpShortName,proto3" json:"CorpShortName,omitempty"`
  39. Uid string `protobuf:"bytes,20,opt,name=Uid,proto3" json:"Uid,omitempty"`
  40. unknownFields protoimpl.UnknownFields
  41. sizeCache protoimpl.SizeCache
  42. }
  43. func (x *WwOnlineNoticeMessage) Reset() {
  44. *x = WwOnlineNoticeMessage{}
  45. mi := &file_wecom_WwOnlineNotice_proto_msgTypes[0]
  46. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  47. ms.StoreMessageInfo(mi)
  48. }
  49. func (x *WwOnlineNoticeMessage) String() string {
  50. return protoimpl.X.MessageStringOf(x)
  51. }
  52. func (*WwOnlineNoticeMessage) ProtoMessage() {}
  53. func (x *WwOnlineNoticeMessage) ProtoReflect() protoreflect.Message {
  54. mi := &file_wecom_WwOnlineNotice_proto_msgTypes[0]
  55. if x != nil {
  56. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  57. if ms.LoadMessageInfo() == nil {
  58. ms.StoreMessageInfo(mi)
  59. }
  60. return ms
  61. }
  62. return mi.MessageOf(x)
  63. }
  64. // Deprecated: Use WwOnlineNoticeMessage.ProtoReflect.Descriptor instead.
  65. func (*WwOnlineNoticeMessage) Descriptor() ([]byte, []int) {
  66. return file_wecom_WwOnlineNotice_proto_rawDescGZIP(), []int{0}
  67. }
  68. func (x *WwOnlineNoticeMessage) GetWxId() int64 {
  69. if x != nil {
  70. return x.WxId
  71. }
  72. return 0
  73. }
  74. func (x *WwOnlineNoticeMessage) GetName() string {
  75. if x != nil {
  76. return x.Name
  77. }
  78. return ""
  79. }
  80. func (x *WwOnlineNoticeMessage) GetAlias() string {
  81. if x != nil {
  82. return x.Alias
  83. }
  84. return ""
  85. }
  86. func (x *WwOnlineNoticeMessage) GetAcctId() string {
  87. if x != nil {
  88. return x.AcctId
  89. }
  90. return ""
  91. }
  92. func (x *WwOnlineNoticeMessage) GetAvatar() string {
  93. if x != nil {
  94. return x.Avatar
  95. }
  96. return ""
  97. }
  98. func (x *WwOnlineNoticeMessage) GetGender() EnumGender {
  99. if x != nil {
  100. return x.Gender
  101. }
  102. return EnumGender_UnknownGender
  103. }
  104. func (x *WwOnlineNoticeMessage) GetJob() string {
  105. if x != nil {
  106. return x.Job
  107. }
  108. return ""
  109. }
  110. func (x *WwOnlineNoticeMessage) GetPhone() string {
  111. if x != nil {
  112. return x.Phone
  113. }
  114. return ""
  115. }
  116. func (x *WwOnlineNoticeMessage) GetCorpId() int64 {
  117. if x != nil {
  118. return x.CorpId
  119. }
  120. return 0
  121. }
  122. func (x *WwOnlineNoticeMessage) GetAttr() int64 {
  123. if x != nil {
  124. return x.Attr
  125. }
  126. return 0
  127. }
  128. func (x *WwOnlineNoticeMessage) GetDepartIds() []int64 {
  129. if x != nil {
  130. return x.DepartIds
  131. }
  132. return nil
  133. }
  134. func (x *WwOnlineNoticeMessage) GetIMEI() string {
  135. if x != nil {
  136. return x.IMEI
  137. }
  138. return ""
  139. }
  140. func (x *WwOnlineNoticeMessage) GetSyncStat() int32 {
  141. if x != nil {
  142. return x.SyncStat
  143. }
  144. return 0
  145. }
  146. func (x *WwOnlineNoticeMessage) GetCorpName() string {
  147. if x != nil {
  148. return x.CorpName
  149. }
  150. return ""
  151. }
  152. func (x *WwOnlineNoticeMessage) GetShowName() string {
  153. if x != nil {
  154. return x.ShowName
  155. }
  156. return ""
  157. }
  158. func (x *WwOnlineNoticeMessage) GetCorpShortName() string {
  159. if x != nil {
  160. return x.CorpShortName
  161. }
  162. return ""
  163. }
  164. func (x *WwOnlineNoticeMessage) GetUid() string {
  165. if x != nil {
  166. return x.Uid
  167. }
  168. return ""
  169. }
  170. var File_wecom_WwOnlineNotice_proto protoreflect.FileDescriptor
  171. const file_wecom_WwOnlineNotice_proto_rawDesc = "" +
  172. "\n" +
  173. "\x1awecom/WwOnlineNotice.proto\x12\x10Im.Scrm.Ww.Proto\x1a\x16wecom/WTransport.proto\"\xcd\x03\n" +
  174. "\x15WwOnlineNoticeMessage\x12\x12\n" +
  175. "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12\x12\n" +
  176. "\x04Name\x18\x02 \x01(\tR\x04Name\x12\x14\n" +
  177. "\x05Alias\x18\x03 \x01(\tR\x05Alias\x12\x16\n" +
  178. "\x06AcctId\x18\x04 \x01(\tR\x06AcctId\x12\x16\n" +
  179. "\x06Avatar\x18\x05 \x01(\tR\x06Avatar\x124\n" +
  180. "\x06Gender\x18\x06 \x01(\x0e2\x1c.Im.Scrm.Ww.Proto.EnumGenderR\x06Gender\x12\x10\n" +
  181. "\x03Job\x18\a \x01(\tR\x03Job\x12\x14\n" +
  182. "\x05Phone\x18\b \x01(\tR\x05Phone\x12\x16\n" +
  183. "\x06CorpId\x18\t \x01(\x03R\x06CorpId\x12\x12\n" +
  184. "\x04Attr\x18\n" +
  185. " \x01(\x03R\x04Attr\x12\x1c\n" +
  186. "\tDepartIds\x18\v \x03(\x03R\tDepartIds\x12\x12\n" +
  187. "\x04IMEI\x18\f \x01(\tR\x04IMEI\x12\x1a\n" +
  188. "\bSyncStat\x18\r \x01(\x05R\bSyncStat\x12\x1a\n" +
  189. "\bCorpName\x18\x0e \x01(\tR\bCorpName\x12\x1a\n" +
  190. "\bShowName\x18\x0f \x01(\tR\bShowName\x12$\n" +
  191. "\rCorpShortName\x18\x10 \x01(\tR\rCorpShortName\x12\x10\n" +
  192. "\x03Uid\x18\x14 \x01(\tR\x03UidB\x13Z\x11./workphone/wecomb\x06proto3"
  193. var (
  194. file_wecom_WwOnlineNotice_proto_rawDescOnce sync.Once
  195. file_wecom_WwOnlineNotice_proto_rawDescData []byte
  196. )
  197. func file_wecom_WwOnlineNotice_proto_rawDescGZIP() []byte {
  198. file_wecom_WwOnlineNotice_proto_rawDescOnce.Do(func() {
  199. file_wecom_WwOnlineNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WwOnlineNotice_proto_rawDesc), len(file_wecom_WwOnlineNotice_proto_rawDesc)))
  200. })
  201. return file_wecom_WwOnlineNotice_proto_rawDescData
  202. }
  203. var file_wecom_WwOnlineNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  204. var file_wecom_WwOnlineNotice_proto_goTypes = []any{
  205. (*WwOnlineNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.WwOnlineNoticeMessage
  206. (EnumGender)(0), // 1: Im.Scrm.Ww.Proto.EnumGender
  207. }
  208. var file_wecom_WwOnlineNotice_proto_depIdxs = []int32{
  209. 1, // 0: Im.Scrm.Ww.Proto.WwOnlineNoticeMessage.Gender:type_name -> Im.Scrm.Ww.Proto.EnumGender
  210. 1, // [1:1] is the sub-list for method output_type
  211. 1, // [1:1] is the sub-list for method input_type
  212. 1, // [1:1] is the sub-list for extension type_name
  213. 1, // [1:1] is the sub-list for extension extendee
  214. 0, // [0:1] is the sub-list for field type_name
  215. }
  216. func init() { file_wecom_WwOnlineNotice_proto_init() }
  217. func file_wecom_WwOnlineNotice_proto_init() {
  218. if File_wecom_WwOnlineNotice_proto != nil {
  219. return
  220. }
  221. file_wecom_WTransport_proto_init()
  222. type x struct{}
  223. out := protoimpl.TypeBuilder{
  224. File: protoimpl.DescBuilder{
  225. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  226. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WwOnlineNotice_proto_rawDesc), len(file_wecom_WwOnlineNotice_proto_rawDesc)),
  227. NumEnums: 0,
  228. NumMessages: 1,
  229. NumExtensions: 0,
  230. NumServices: 0,
  231. },
  232. GoTypes: file_wecom_WwOnlineNotice_proto_goTypes,
  233. DependencyIndexes: file_wecom_WwOnlineNotice_proto_depIdxs,
  234. MessageInfos: file_wecom_WwOnlineNotice_proto_msgTypes,
  235. }.Build()
  236. File_wecom_WwOnlineNotice_proto = out.File
  237. file_wecom_WwOnlineNotice_proto_goTypes = nil
  238. file_wecom_WwOnlineNotice_proto_depIdxs = nil
  239. }