123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.6
- // protoc v3.19.4
- // source: wecom/WGetWeChatsResp.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)
- )
- // 定义消息类型 GetWeChatsResp
- type GetWeChatsRespMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- MsgType string `protobuf:"bytes,1,opt,name=msgType,proto3" json:"msgType,omitempty"` // 对应msgType字段
- Message []*Message `protobuf:"bytes,2,rep,name=message,proto3" json:"message,omitempty"` // 对应message字段, 是个Json数组,使用repeated类型
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *GetWeChatsRespMessage) Reset() {
- *x = GetWeChatsRespMessage{}
- mi := &file_wecom_WGetWeChatsResp_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GetWeChatsRespMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetWeChatsRespMessage) ProtoMessage() {}
- func (x *GetWeChatsRespMessage) ProtoReflect() protoreflect.Message {
- mi := &file_wecom_WGetWeChatsResp_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 GetWeChatsRespMessage.ProtoReflect.Descriptor instead.
- func (*GetWeChatsRespMessage) Descriptor() ([]byte, []int) {
- return file_wecom_WGetWeChatsResp_proto_rawDescGZIP(), []int{0}
- }
- func (x *GetWeChatsRespMessage) GetMsgType() string {
- if x != nil {
- return x.MsgType
- }
- return ""
- }
- func (x *GetWeChatsRespMessage) GetMessage() []*Message {
- if x != nil {
- return x.Message
- }
- return nil
- }
- // 定义单个微信用户的消息格式
- type Message struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Accountid int32 `protobuf:"varint,1,opt,name=accountid,proto3" json:"accountid,omitempty"` // 对应accountid字段
- Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` // 对应alias字段
- Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"` // 对应avatar字段
- Brand string `protobuf:"bytes,4,opt,name=brand,proto3" json:"brand,omitempty"` // 对应brand字段
- Cid int32 `protobuf:"varint,5,opt,name=cid,proto3" json:"cid,omitempty"` // 对应cid字段
- Corpid string `protobuf:"bytes,6,opt,name=corpid,proto3" json:"corpid,omitempty"` // 对应corpid字段
- Deviceid string `protobuf:"bytes,7,opt,name=deviceid,proto3" json:"deviceid,omitempty"` // 对应deviceid字段
- Devnickname string `protobuf:"bytes,8,opt,name=devnickname,proto3" json:"devnickname,omitempty"` // 对应devnickname字段
- Gender int32 `protobuf:"varint,9,opt,name=gender,proto3" json:"gender,omitempty"` // 对应gender字段
- Id int32 `protobuf:"varint,10,opt,name=id,proto3" json:"id,omitempty"` // 对应id字段
- Isonline int32 `protobuf:"varint,11,opt,name=isonline,proto3" json:"isonline,omitempty"` // 对应isonline字段
- Job string `protobuf:"bytes,12,opt,name=job,proto3" json:"job,omitempty"` // 对应job字段
- LoginTime int64 `protobuf:"varint,13,opt,name=login_time,json=loginTime,proto3" json:"login_time,omitempty"` // 对应login_time字段(作为时间戳)
- ModifyTime int64 `protobuf:"varint,14,opt,name=modify_time,json=modifyTime,proto3" json:"modify_time,omitempty"` // 对应modify_time字段(作为时间戳)
- Module string `protobuf:"bytes,15,opt,name=module,proto3" json:"module,omitempty"` // 对应module字段
- Name string `protobuf:"bytes,16,opt,name=name,proto3" json:"name,omitempty"` // 对应name字段
- Phone string `protobuf:"bytes,17,opt,name=phone,proto3" json:"phone,omitempty"` // 对应phone字段
- Wxid string `protobuf:"bytes,18,opt,name=wxid,proto3" json:"wxid,omitempty"` // 对应wxid字段
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Message) Reset() {
- *x = Message{}
- mi := &file_wecom_WGetWeChatsResp_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Message) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Message) ProtoMessage() {}
- func (x *Message) ProtoReflect() protoreflect.Message {
- mi := &file_wecom_WGetWeChatsResp_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 Message.ProtoReflect.Descriptor instead.
- func (*Message) Descriptor() ([]byte, []int) {
- return file_wecom_WGetWeChatsResp_proto_rawDescGZIP(), []int{1}
- }
- func (x *Message) GetAccountid() int32 {
- if x != nil {
- return x.Accountid
- }
- return 0
- }
- func (x *Message) GetAlias() string {
- if x != nil {
- return x.Alias
- }
- return ""
- }
- func (x *Message) GetAvatar() string {
- if x != nil {
- return x.Avatar
- }
- return ""
- }
- func (x *Message) GetBrand() string {
- if x != nil {
- return x.Brand
- }
- return ""
- }
- func (x *Message) GetCid() int32 {
- if x != nil {
- return x.Cid
- }
- return 0
- }
- func (x *Message) GetCorpid() string {
- if x != nil {
- return x.Corpid
- }
- return ""
- }
- func (x *Message) GetDeviceid() string {
- if x != nil {
- return x.Deviceid
- }
- return ""
- }
- func (x *Message) GetDevnickname() string {
- if x != nil {
- return x.Devnickname
- }
- return ""
- }
- func (x *Message) GetGender() int32 {
- if x != nil {
- return x.Gender
- }
- return 0
- }
- func (x *Message) GetId() int32 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *Message) GetIsonline() int32 {
- if x != nil {
- return x.Isonline
- }
- return 0
- }
- func (x *Message) GetJob() string {
- if x != nil {
- return x.Job
- }
- return ""
- }
- func (x *Message) GetLoginTime() int64 {
- if x != nil {
- return x.LoginTime
- }
- return 0
- }
- func (x *Message) GetModifyTime() int64 {
- if x != nil {
- return x.ModifyTime
- }
- return 0
- }
- func (x *Message) GetModule() string {
- if x != nil {
- return x.Module
- }
- return ""
- }
- func (x *Message) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *Message) GetPhone() string {
- if x != nil {
- return x.Phone
- }
- return ""
- }
- func (x *Message) GetWxid() string {
- if x != nil {
- return x.Wxid
- }
- return ""
- }
- var File_wecom_WGetWeChatsResp_proto protoreflect.FileDescriptor
- const file_wecom_WGetWeChatsResp_proto_rawDesc = "" +
- "\n" +
- "\x1bwecom/WGetWeChatsResp.proto\x12\x10Im.Scrm.Ww.Proto\"f\n" +
- "\x15GetWeChatsRespMessage\x12\x18\n" +
- "\amsgType\x18\x01 \x01(\tR\amsgType\x123\n" +
- "\amessage\x18\x02 \x03(\v2\x19.Im.Scrm.Ww.Proto.MessageR\amessage\"\xbf\x03\n" +
- "\aMessage\x12\x1c\n" +
- "\taccountid\x18\x01 \x01(\x05R\taccountid\x12\x14\n" +
- "\x05alias\x18\x02 \x01(\tR\x05alias\x12\x16\n" +
- "\x06avatar\x18\x03 \x01(\tR\x06avatar\x12\x14\n" +
- "\x05brand\x18\x04 \x01(\tR\x05brand\x12\x10\n" +
- "\x03cid\x18\x05 \x01(\x05R\x03cid\x12\x16\n" +
- "\x06corpid\x18\x06 \x01(\tR\x06corpid\x12\x1a\n" +
- "\bdeviceid\x18\a \x01(\tR\bdeviceid\x12 \n" +
- "\vdevnickname\x18\b \x01(\tR\vdevnickname\x12\x16\n" +
- "\x06gender\x18\t \x01(\x05R\x06gender\x12\x0e\n" +
- "\x02id\x18\n" +
- " \x01(\x05R\x02id\x12\x1a\n" +
- "\bisonline\x18\v \x01(\x05R\bisonline\x12\x10\n" +
- "\x03job\x18\f \x01(\tR\x03job\x12\x1d\n" +
- "\n" +
- "login_time\x18\r \x01(\x03R\tloginTime\x12\x1f\n" +
- "\vmodify_time\x18\x0e \x01(\x03R\n" +
- "modifyTime\x12\x16\n" +
- "\x06module\x18\x0f \x01(\tR\x06module\x12\x12\n" +
- "\x04name\x18\x10 \x01(\tR\x04name\x12\x14\n" +
- "\x05phone\x18\x11 \x01(\tR\x05phone\x12\x12\n" +
- "\x04wxid\x18\x12 \x01(\tR\x04wxidB\x13Z\x11./workphone/wecomb\x06proto3"
- var (
- file_wecom_WGetWeChatsResp_proto_rawDescOnce sync.Once
- file_wecom_WGetWeChatsResp_proto_rawDescData []byte
- )
- func file_wecom_WGetWeChatsResp_proto_rawDescGZIP() []byte {
- file_wecom_WGetWeChatsResp_proto_rawDescOnce.Do(func() {
- file_wecom_WGetWeChatsResp_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WGetWeChatsResp_proto_rawDesc), len(file_wecom_WGetWeChatsResp_proto_rawDesc)))
- })
- return file_wecom_WGetWeChatsResp_proto_rawDescData
- }
- var file_wecom_WGetWeChatsResp_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
- var file_wecom_WGetWeChatsResp_proto_goTypes = []any{
- (*GetWeChatsRespMessage)(nil), // 0: Im.Scrm.Ww.Proto.GetWeChatsRespMessage
- (*Message)(nil), // 1: Im.Scrm.Ww.Proto.Message
- }
- var file_wecom_WGetWeChatsResp_proto_depIdxs = []int32{
- 1, // 0: Im.Scrm.Ww.Proto.GetWeChatsRespMessage.message:type_name -> Im.Scrm.Ww.Proto.Message
- 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_WGetWeChatsResp_proto_init() }
- func file_wecom_WGetWeChatsResp_proto_init() {
- if File_wecom_WGetWeChatsResp_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WGetWeChatsResp_proto_rawDesc), len(file_wecom_WGetWeChatsResp_proto_rawDesc)),
- NumEnums: 0,
- NumMessages: 2,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_wecom_WGetWeChatsResp_proto_goTypes,
- DependencyIndexes: file_wecom_WGetWeChatsResp_proto_depIdxs,
- MessageInfos: file_wecom_WGetWeChatsResp_proto_msgTypes,
- }.Build()
- File_wecom_WGetWeChatsResp_proto = out.File
- file_wecom_WGetWeChatsResp_proto_goTypes = nil
- file_wecom_WGetWeChatsResp_proto_depIdxs = nil
- }
|