123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.6
- // protoc v3.19.4
- // source: wecom/WwOnlineNotice.proto
- package wecom
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- unsafe "unsafe"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- type WwOnlineNoticeMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` //账号ID
- Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` //名称
- Alias string `protobuf:"bytes,3,opt,name=Alias,proto3" json:"Alias,omitempty"` //别称
- AcctId string `protobuf:"bytes,4,opt,name=AcctId,proto3" json:"AcctId,omitempty"` //内部账号
- Avatar string `protobuf:"bytes,5,opt,name=Avatar,proto3" json:"Avatar,omitempty"` //微信头像
- Gender EnumGender `protobuf:"varint,6,opt,name=Gender,proto3,enum=Im.Scrm.Ww.Proto.EnumGender" json:"Gender,omitempty"` //性别
- Job string `protobuf:"bytes,7,opt,name=Job,proto3" json:"Job,omitempty"` // 职位
- Phone string `protobuf:"bytes,8,opt,name=Phone,proto3" json:"Phone,omitempty"` //
- CorpId int64 `protobuf:"varint,9,opt,name=CorpId,proto3" json:"CorpId,omitempty"` //公司ID
- Attr int64 `protobuf:"varint,10,opt,name=Attr,proto3" json:"Attr,omitempty"` //属性 备用
- // SimpleDepartMessage Departs = 11; // 部门信息
- DepartIds []int64 `protobuf:"varint,11,rep,packed,name=DepartIds,proto3" json:"DepartIds,omitempty"`
- IMEI string `protobuf:"bytes,12,opt,name=IMEI,proto3" json:"IMEI,omitempty"` // imei号
- SyncStat int32 `protobuf:"varint,13,opt,name=SyncStat,proto3" json:"SyncStat,omitempty"`
- CorpName string `protobuf:"bytes,14,opt,name=CorpName,proto3" json:"CorpName,omitempty"`
- ShowName string `protobuf:"bytes,15,opt,name=ShowName,proto3" json:"ShowName,omitempty"`
- CorpShortName string `protobuf:"bytes,16,opt,name=CorpShortName,proto3" json:"CorpShortName,omitempty"`
- Uid string `protobuf:"bytes,20,opt,name=Uid,proto3" json:"Uid,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *WwOnlineNoticeMessage) Reset() {
- *x = WwOnlineNoticeMessage{}
- mi := &file_wecom_WwOnlineNotice_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *WwOnlineNoticeMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*WwOnlineNoticeMessage) ProtoMessage() {}
- func (x *WwOnlineNoticeMessage) ProtoReflect() protoreflect.Message {
- mi := &file_wecom_WwOnlineNotice_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use WwOnlineNoticeMessage.ProtoReflect.Descriptor instead.
- func (*WwOnlineNoticeMessage) Descriptor() ([]byte, []int) {
- return file_wecom_WwOnlineNotice_proto_rawDescGZIP(), []int{0}
- }
- func (x *WwOnlineNoticeMessage) GetWxId() int64 {
- if x != nil {
- return x.WxId
- }
- return 0
- }
- func (x *WwOnlineNoticeMessage) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *WwOnlineNoticeMessage) GetAlias() string {
- if x != nil {
- return x.Alias
- }
- return ""
- }
- func (x *WwOnlineNoticeMessage) GetAcctId() string {
- if x != nil {
- return x.AcctId
- }
- return ""
- }
- func (x *WwOnlineNoticeMessage) GetAvatar() string {
- if x != nil {
- return x.Avatar
- }
- return ""
- }
- func (x *WwOnlineNoticeMessage) GetGender() EnumGender {
- if x != nil {
- return x.Gender
- }
- return EnumGender_UnknownGender
- }
- func (x *WwOnlineNoticeMessage) GetJob() string {
- if x != nil {
- return x.Job
- }
- return ""
- }
- func (x *WwOnlineNoticeMessage) GetPhone() string {
- if x != nil {
- return x.Phone
- }
- return ""
- }
- func (x *WwOnlineNoticeMessage) GetCorpId() int64 {
- if x != nil {
- return x.CorpId
- }
- return 0
- }
- func (x *WwOnlineNoticeMessage) GetAttr() int64 {
- if x != nil {
- return x.Attr
- }
- return 0
- }
- func (x *WwOnlineNoticeMessage) GetDepartIds() []int64 {
- if x != nil {
- return x.DepartIds
- }
- return nil
- }
- func (x *WwOnlineNoticeMessage) GetIMEI() string {
- if x != nil {
- return x.IMEI
- }
- return ""
- }
- func (x *WwOnlineNoticeMessage) GetSyncStat() int32 {
- if x != nil {
- return x.SyncStat
- }
- return 0
- }
- func (x *WwOnlineNoticeMessage) GetCorpName() string {
- if x != nil {
- return x.CorpName
- }
- return ""
- }
- func (x *WwOnlineNoticeMessage) GetShowName() string {
- if x != nil {
- return x.ShowName
- }
- return ""
- }
- func (x *WwOnlineNoticeMessage) GetCorpShortName() string {
- if x != nil {
- return x.CorpShortName
- }
- return ""
- }
- func (x *WwOnlineNoticeMessage) GetUid() string {
- if x != nil {
- return x.Uid
- }
- return ""
- }
- var File_wecom_WwOnlineNotice_proto protoreflect.FileDescriptor
- const file_wecom_WwOnlineNotice_proto_rawDesc = "" +
- "\n" +
- "\x1awecom/WwOnlineNotice.proto\x12\x10Im.Scrm.Ww.Proto\x1a\x16wecom/WTransport.proto\"\xcd\x03\n" +
- "\x15WwOnlineNoticeMessage\x12\x12\n" +
- "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12\x12\n" +
- "\x04Name\x18\x02 \x01(\tR\x04Name\x12\x14\n" +
- "\x05Alias\x18\x03 \x01(\tR\x05Alias\x12\x16\n" +
- "\x06AcctId\x18\x04 \x01(\tR\x06AcctId\x12\x16\n" +
- "\x06Avatar\x18\x05 \x01(\tR\x06Avatar\x124\n" +
- "\x06Gender\x18\x06 \x01(\x0e2\x1c.Im.Scrm.Ww.Proto.EnumGenderR\x06Gender\x12\x10\n" +
- "\x03Job\x18\a \x01(\tR\x03Job\x12\x14\n" +
- "\x05Phone\x18\b \x01(\tR\x05Phone\x12\x16\n" +
- "\x06CorpId\x18\t \x01(\x03R\x06CorpId\x12\x12\n" +
- "\x04Attr\x18\n" +
- " \x01(\x03R\x04Attr\x12\x1c\n" +
- "\tDepartIds\x18\v \x03(\x03R\tDepartIds\x12\x12\n" +
- "\x04IMEI\x18\f \x01(\tR\x04IMEI\x12\x1a\n" +
- "\bSyncStat\x18\r \x01(\x05R\bSyncStat\x12\x1a\n" +
- "\bCorpName\x18\x0e \x01(\tR\bCorpName\x12\x1a\n" +
- "\bShowName\x18\x0f \x01(\tR\bShowName\x12$\n" +
- "\rCorpShortName\x18\x10 \x01(\tR\rCorpShortName\x12\x10\n" +
- "\x03Uid\x18\x14 \x01(\tR\x03UidB\x13Z\x11./workphone/wecomb\x06proto3"
- var (
- file_wecom_WwOnlineNotice_proto_rawDescOnce sync.Once
- file_wecom_WwOnlineNotice_proto_rawDescData []byte
- )
- func file_wecom_WwOnlineNotice_proto_rawDescGZIP() []byte {
- file_wecom_WwOnlineNotice_proto_rawDescOnce.Do(func() {
- file_wecom_WwOnlineNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WwOnlineNotice_proto_rawDesc), len(file_wecom_WwOnlineNotice_proto_rawDesc)))
- })
- return file_wecom_WwOnlineNotice_proto_rawDescData
- }
- var file_wecom_WwOnlineNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
- var file_wecom_WwOnlineNotice_proto_goTypes = []any{
- (*WwOnlineNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.WwOnlineNoticeMessage
- (EnumGender)(0), // 1: Im.Scrm.Ww.Proto.EnumGender
- }
- var file_wecom_WwOnlineNotice_proto_depIdxs = []int32{
- 1, // 0: Im.Scrm.Ww.Proto.WwOnlineNoticeMessage.Gender:type_name -> Im.Scrm.Ww.Proto.EnumGender
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
- }
- func init() { file_wecom_WwOnlineNotice_proto_init() }
- func file_wecom_WwOnlineNotice_proto_init() {
- if File_wecom_WwOnlineNotice_proto != nil {
- return
- }
- file_wecom_WTransport_proto_init()
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WwOnlineNotice_proto_rawDesc), len(file_wecom_WwOnlineNotice_proto_rawDesc)),
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_wecom_WwOnlineNotice_proto_goTypes,
- DependencyIndexes: file_wecom_WwOnlineNotice_proto_depIdxs,
- MessageInfos: file_wecom_WwOnlineNotice_proto_msgTypes,
- }.Build()
- File_wecom_WwOnlineNotice_proto = out.File
- file_wecom_WwOnlineNotice_proto_goTypes = nil
- file_wecom_WwOnlineNotice_proto_depIdxs = nil
- }
|