// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.6 // protoc v3.19.4 // source: wecom/WCustomerPushNotice.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 CustomerPushNoticeMessage struct { state protoimpl.MessageState `protogen:"open.v1"` WxId string `protobuf:"bytes,1,opt,name=WxId,proto3" json:"WxId,omitempty"` // 设备企业WX号 Contacts []*CustomerMessage `protobuf:"bytes,2,rep,name=Contacts,proto3" json:"Contacts,omitempty"` // 好友信息模型 多个 Size int32 `protobuf:"varint,3,opt,name=Size,proto3" json:"Size,omitempty"` Count int32 `protobuf:"varint,4,opt,name=Count,proto3" json:"Count,omitempty"` Page int32 `protobuf:"varint,5,opt,name=Page,proto3" json:"Page,omitempty"` TaskId int64 `protobuf:"varint,6,opt,name=TaskId,proto3" json:"TaskId,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CustomerPushNoticeMessage) Reset() { *x = CustomerPushNoticeMessage{} mi := &file_wecom_WCustomerPushNotice_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CustomerPushNoticeMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*CustomerPushNoticeMessage) ProtoMessage() {} func (x *CustomerPushNoticeMessage) ProtoReflect() protoreflect.Message { mi := &file_wecom_WCustomerPushNotice_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 CustomerPushNoticeMessage.ProtoReflect.Descriptor instead. func (*CustomerPushNoticeMessage) Descriptor() ([]byte, []int) { return file_wecom_WCustomerPushNotice_proto_rawDescGZIP(), []int{0} } func (x *CustomerPushNoticeMessage) GetWxId() string { if x != nil { return x.WxId } return "" } func (x *CustomerPushNoticeMessage) GetContacts() []*CustomerMessage { if x != nil { return x.Contacts } return nil } func (x *CustomerPushNoticeMessage) GetSize() int32 { if x != nil { return x.Size } return 0 } func (x *CustomerPushNoticeMessage) GetCount() int32 { if x != nil { return x.Count } return 0 } func (x *CustomerPushNoticeMessage) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *CustomerPushNoticeMessage) GetTaskId() int64 { if x != nil { return x.TaskId } return 0 } type CustomerMessage struct { state protoimpl.MessageState `protogen:"open.v1"` RemoteId string `protobuf:"bytes,1,opt,name=RemoteId,proto3" json:"RemoteId,omitempty"` //唯一id (RemoteId>>48==20 App; RemoteId>>48==28 微信用户; RemoteId>>48==33,34 外部客户; RemoteId>>48==39 群机器人; RemoteId>>48==30 内部客服; RemoteId>>48==32 VIP客户;) Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Alias string `protobuf:"bytes,3,opt,name=Alias,proto3" json:"Alias,omitempty"` Avatar string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"` Mobile string `protobuf:"bytes,5,opt,name=Mobile,proto3" json:"Mobile,omitempty"` UnionId string `protobuf:"bytes,6,opt,name=UnionId,proto3" json:"UnionId,omitempty"` // 微信UnionId,可能为空 Gender string `protobuf:"bytes,7,opt,name=Gender,proto3" json:"Gender,omitempty"` CorpId string `protobuf:"bytes,8,opt,name=CorpId,proto3" json:"CorpId,omitempty"` AddTime int32 `protobuf:"varint,9,opt,name=AddTime,proto3" json:"AddTime,omitempty"` Source int32 `protobuf:"varint,10,opt,name=Source,proto3" json:"Source,omitempty"` // 添加来源 LabelIds []string `protobuf:"bytes,11,rep,name=LabelIds,proto3" json:"LabelIds,omitempty"` //设置的用户标签 Suffix string `protobuf:"bytes,12,opt,name=Suffix,proto3" json:"Suffix,omitempty"` // 后缀 OpenId string `protobuf:"bytes,13,opt,name=OpenId,proto3" json:"OpenId,omitempty"` SourceUser int64 `protobuf:"varint,14,opt,name=SourceUser,proto3" json:"SourceUser,omitempty"` SourceRoomId int64 `protobuf:"varint,15,opt,name=SourceRoomId,proto3" json:"SourceRoomId,omitempty"` SourceFriend string `protobuf:"bytes,16,opt,name=SourceFriend,proto3" json:"SourceFriend,omitempty"` //来自微信好友(wxid)来自通讯录(电话号码) ApplyContent string `protobuf:"bytes,17,opt,name=ApplyContent,proto3" json:"ApplyContent,omitempty"` Remark string `protobuf:"bytes,18,opt,name=Remark,proto3" json:"Remark,omitempty"` CompanyRemark string `protobuf:"bytes,19,opt,name=CompanyRemark,proto3" json:"CompanyRemark,omitempty"` PhoneRemark []string `protobuf:"bytes,20,rep,name=PhoneRemark,proto3" json:"PhoneRemark,omitempty"` Desc string `protobuf:"bytes,21,opt,name=Desc,proto3" json:"Desc,omitempty"` DescUrl string `protobuf:"bytes,22,opt,name=DescUrl,proto3" json:"DescUrl,omitempty"` Attr string `protobuf:"bytes,23,opt,name=Attr,proto3" json:"Attr,omitempty"` Attr2 string `protobuf:"bytes,24,opt,name=Attr2,proto3" json:"Attr2,omitempty"` Attr3 string `protobuf:"bytes,25,opt,name=Attr3,proto3" json:"Attr3,omitempty"` ApplyTime int64 `protobuf:"varint,26,opt,name=ApplyTime,proto3" json:"ApplyTime,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CustomerMessage) Reset() { *x = CustomerMessage{} mi := &file_wecom_WCustomerPushNotice_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CustomerMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*CustomerMessage) ProtoMessage() {} func (x *CustomerMessage) ProtoReflect() protoreflect.Message { mi := &file_wecom_WCustomerPushNotice_proto_msgTypes[1] 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 CustomerMessage.ProtoReflect.Descriptor instead. func (*CustomerMessage) Descriptor() ([]byte, []int) { return file_wecom_WCustomerPushNotice_proto_rawDescGZIP(), []int{1} } func (x *CustomerMessage) GetRemoteId() string { if x != nil { return x.RemoteId } return "" } func (x *CustomerMessage) GetName() string { if x != nil { return x.Name } return "" } func (x *CustomerMessage) GetAlias() string { if x != nil { return x.Alias } return "" } func (x *CustomerMessage) GetAvatar() string { if x != nil { return x.Avatar } return "" } func (x *CustomerMessage) GetMobile() string { if x != nil { return x.Mobile } return "" } func (x *CustomerMessage) GetUnionId() string { if x != nil { return x.UnionId } return "" } func (x *CustomerMessage) GetGender() string { if x != nil { return x.Gender } return "" } func (x *CustomerMessage) GetCorpId() string { if x != nil { return x.CorpId } return "" } func (x *CustomerMessage) GetAddTime() int32 { if x != nil { return x.AddTime } return 0 } func (x *CustomerMessage) GetSource() int32 { if x != nil { return x.Source } return 0 } func (x *CustomerMessage) GetLabelIds() []string { if x != nil { return x.LabelIds } return nil } func (x *CustomerMessage) GetSuffix() string { if x != nil { return x.Suffix } return "" } func (x *CustomerMessage) GetOpenId() string { if x != nil { return x.OpenId } return "" } func (x *CustomerMessage) GetSourceUser() int64 { if x != nil { return x.SourceUser } return 0 } func (x *CustomerMessage) GetSourceRoomId() int64 { if x != nil { return x.SourceRoomId } return 0 } func (x *CustomerMessage) GetSourceFriend() string { if x != nil { return x.SourceFriend } return "" } func (x *CustomerMessage) GetApplyContent() string { if x != nil { return x.ApplyContent } return "" } func (x *CustomerMessage) GetRemark() string { if x != nil { return x.Remark } return "" } func (x *CustomerMessage) GetCompanyRemark() string { if x != nil { return x.CompanyRemark } return "" } func (x *CustomerMessage) GetPhoneRemark() []string { if x != nil { return x.PhoneRemark } return nil } func (x *CustomerMessage) GetDesc() string { if x != nil { return x.Desc } return "" } func (x *CustomerMessage) GetDescUrl() string { if x != nil { return x.DescUrl } return "" } func (x *CustomerMessage) GetAttr() string { if x != nil { return x.Attr } return "" } func (x *CustomerMessage) GetAttr2() string { if x != nil { return x.Attr2 } return "" } func (x *CustomerMessage) GetAttr3() string { if x != nil { return x.Attr3 } return "" } func (x *CustomerMessage) GetApplyTime() int64 { if x != nil { return x.ApplyTime } return 0 } var File_wecom_WCustomerPushNotice_proto protoreflect.FileDescriptor const file_wecom_WCustomerPushNotice_proto_rawDesc = "" + "\n" + "\x1fwecom/WCustomerPushNotice.proto\x12\x10Im.Scrm.Ww.Proto\"\xc4\x01\n" + "\x19CustomerPushNoticeMessage\x12\x12\n" + "\x04WxId\x18\x01 \x01(\tR\x04WxId\x12=\n" + "\bContacts\x18\x02 \x03(\v2!.Im.Scrm.Ww.Proto.CustomerMessageR\bContacts\x12\x12\n" + "\x04Size\x18\x03 \x01(\x05R\x04Size\x12\x14\n" + "\x05Count\x18\x04 \x01(\x05R\x05Count\x12\x12\n" + "\x04Page\x18\x05 \x01(\x05R\x04Page\x12\x16\n" + "\x06TaskId\x18\x06 \x01(\x03R\x06TaskId\"\xc7\x05\n" + "\x0fCustomerMessage\x12\x1a\n" + "\bRemoteId\x18\x01 \x01(\tR\bRemoteId\x12\x12\n" + "\x04Name\x18\x02 \x01(\tR\x04Name\x12\x14\n" + "\x05Alias\x18\x03 \x01(\tR\x05Alias\x12\x16\n" + "\x06Avatar\x18\x04 \x01(\tR\x06Avatar\x12\x16\n" + "\x06Mobile\x18\x05 \x01(\tR\x06Mobile\x12\x18\n" + "\aUnionId\x18\x06 \x01(\tR\aUnionId\x12\x16\n" + "\x06Gender\x18\a \x01(\tR\x06Gender\x12\x16\n" + "\x06CorpId\x18\b \x01(\tR\x06CorpId\x12\x18\n" + "\aAddTime\x18\t \x01(\x05R\aAddTime\x12\x16\n" + "\x06Source\x18\n" + " \x01(\x05R\x06Source\x12\x1a\n" + "\bLabelIds\x18\v \x03(\tR\bLabelIds\x12\x16\n" + "\x06Suffix\x18\f \x01(\tR\x06Suffix\x12\x16\n" + "\x06OpenId\x18\r \x01(\tR\x06OpenId\x12\x1e\n" + "\n" + "SourceUser\x18\x0e \x01(\x03R\n" + "SourceUser\x12\"\n" + "\fSourceRoomId\x18\x0f \x01(\x03R\fSourceRoomId\x12\"\n" + "\fSourceFriend\x18\x10 \x01(\tR\fSourceFriend\x12\"\n" + "\fApplyContent\x18\x11 \x01(\tR\fApplyContent\x12\x16\n" + "\x06Remark\x18\x12 \x01(\tR\x06Remark\x12$\n" + "\rCompanyRemark\x18\x13 \x01(\tR\rCompanyRemark\x12 \n" + "\vPhoneRemark\x18\x14 \x03(\tR\vPhoneRemark\x12\x12\n" + "\x04Desc\x18\x15 \x01(\tR\x04Desc\x12\x18\n" + "\aDescUrl\x18\x16 \x01(\tR\aDescUrl\x12\x12\n" + "\x04Attr\x18\x17 \x01(\tR\x04Attr\x12\x14\n" + "\x05Attr2\x18\x18 \x01(\tR\x05Attr2\x12\x14\n" + "\x05Attr3\x18\x19 \x01(\tR\x05Attr3\x12\x1c\n" + "\tApplyTime\x18\x1a \x01(\x03R\tApplyTimeB\x13Z\x11./workphone/wecomb\x06proto3" var ( file_wecom_WCustomerPushNotice_proto_rawDescOnce sync.Once file_wecom_WCustomerPushNotice_proto_rawDescData []byte ) func file_wecom_WCustomerPushNotice_proto_rawDescGZIP() []byte { file_wecom_WCustomerPushNotice_proto_rawDescOnce.Do(func() { file_wecom_WCustomerPushNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WCustomerPushNotice_proto_rawDesc), len(file_wecom_WCustomerPushNotice_proto_rawDesc))) }) return file_wecom_WCustomerPushNotice_proto_rawDescData } var file_wecom_WCustomerPushNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_wecom_WCustomerPushNotice_proto_goTypes = []any{ (*CustomerPushNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.CustomerPushNoticeMessage (*CustomerMessage)(nil), // 1: Im.Scrm.Ww.Proto.CustomerMessage } var file_wecom_WCustomerPushNotice_proto_depIdxs = []int32{ 1, // 0: Im.Scrm.Ww.Proto.CustomerPushNoticeMessage.Contacts:type_name -> Im.Scrm.Ww.Proto.CustomerMessage 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_WCustomerPushNotice_proto_init() } func file_wecom_WCustomerPushNotice_proto_init() { if File_wecom_WCustomerPushNotice_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WCustomerPushNotice_proto_rawDesc), len(file_wecom_WCustomerPushNotice_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 0, }, GoTypes: file_wecom_WCustomerPushNotice_proto_goTypes, DependencyIndexes: file_wecom_WCustomerPushNotice_proto_depIdxs, MessageInfos: file_wecom_WCustomerPushNotice_proto_msgTypes, }.Build() File_wecom_WCustomerPushNotice_proto = out.File file_wecom_WCustomerPushNotice_proto_goTypes = nil file_wecom_WCustomerPushNotice_proto_depIdxs = nil }