123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.6
- // protoc v3.19.4
- // source: ContactLabelInfoNotice.proto
- package workphone
- 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 LabelInfoMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- LabelId int32 `protobuf:"varint,1,opt,name=LabelId,proto3" json:"LabelId,omitempty"`
- LabelName string `protobuf:"bytes,2,opt,name=LabelName,proto3" json:"LabelName,omitempty"`
- CreateTime string `protobuf:"bytes,3,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LabelInfoMessage) Reset() {
- *x = LabelInfoMessage{}
- mi := &file_ContactLabelInfoNotice_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LabelInfoMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LabelInfoMessage) ProtoMessage() {}
- func (x *LabelInfoMessage) ProtoReflect() protoreflect.Message {
- mi := &file_ContactLabelInfoNotice_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 LabelInfoMessage.ProtoReflect.Descriptor instead.
- func (*LabelInfoMessage) Descriptor() ([]byte, []int) {
- return file_ContactLabelInfoNotice_proto_rawDescGZIP(), []int{0}
- }
- func (x *LabelInfoMessage) GetLabelId() int32 {
- if x != nil {
- return x.LabelId
- }
- return 0
- }
- func (x *LabelInfoMessage) GetLabelName() string {
- if x != nil {
- return x.LabelName
- }
- return ""
- }
- func (x *LabelInfoMessage) GetCreateTime() string {
- if x != nil {
- return x.CreateTime
- }
- return ""
- }
- type ContactLabelInfoNoticeMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- WeChatId string `protobuf:"bytes,1,opt,name=WeChatId,proto3" json:"WeChatId,omitempty"` // 商家个人微信内部全局唯一识别码
- Labels []*LabelInfoMessage `protobuf:"bytes,2,rep,name=Labels,proto3" json:"Labels,omitempty"` // 标签列表
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ContactLabelInfoNoticeMessage) Reset() {
- *x = ContactLabelInfoNoticeMessage{}
- mi := &file_ContactLabelInfoNotice_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ContactLabelInfoNoticeMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ContactLabelInfoNoticeMessage) ProtoMessage() {}
- func (x *ContactLabelInfoNoticeMessage) ProtoReflect() protoreflect.Message {
- mi := &file_ContactLabelInfoNotice_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 ContactLabelInfoNoticeMessage.ProtoReflect.Descriptor instead.
- func (*ContactLabelInfoNoticeMessage) Descriptor() ([]byte, []int) {
- return file_ContactLabelInfoNotice_proto_rawDescGZIP(), []int{1}
- }
- func (x *ContactLabelInfoNoticeMessage) GetWeChatId() string {
- if x != nil {
- return x.WeChatId
- }
- return ""
- }
- func (x *ContactLabelInfoNoticeMessage) GetLabels() []*LabelInfoMessage {
- if x != nil {
- return x.Labels
- }
- return nil
- }
- var File_ContactLabelInfoNotice_proto protoreflect.FileDescriptor
- const file_ContactLabelInfoNotice_proto_rawDesc = "" +
- "\n" +
- "\x1cContactLabelInfoNotice.proto\x12\x17Jubo.JuLiao.IM.Wx.Proto\"j\n" +
- "\x10LabelInfoMessage\x12\x18\n" +
- "\aLabelId\x18\x01 \x01(\x05R\aLabelId\x12\x1c\n" +
- "\tLabelName\x18\x02 \x01(\tR\tLabelName\x12\x1e\n" +
- "\n" +
- "CreateTime\x18\x03 \x01(\tR\n" +
- "CreateTime\"~\n" +
- "\x1dContactLabelInfoNoticeMessage\x12\x1a\n" +
- "\bWeChatId\x18\x01 \x01(\tR\bWeChatId\x12A\n" +
- "\x06Labels\x18\x02 \x03(\v2).Jubo.JuLiao.IM.Wx.Proto.LabelInfoMessageR\x06LabelsB\rZ\v./workphoneb\x06proto3"
- var (
- file_ContactLabelInfoNotice_proto_rawDescOnce sync.Once
- file_ContactLabelInfoNotice_proto_rawDescData []byte
- )
- func file_ContactLabelInfoNotice_proto_rawDescGZIP() []byte {
- file_ContactLabelInfoNotice_proto_rawDescOnce.Do(func() {
- file_ContactLabelInfoNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ContactLabelInfoNotice_proto_rawDesc), len(file_ContactLabelInfoNotice_proto_rawDesc)))
- })
- return file_ContactLabelInfoNotice_proto_rawDescData
- }
- var file_ContactLabelInfoNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
- var file_ContactLabelInfoNotice_proto_goTypes = []any{
- (*LabelInfoMessage)(nil), // 0: Jubo.JuLiao.IM.Wx.Proto.LabelInfoMessage
- (*ContactLabelInfoNoticeMessage)(nil), // 1: Jubo.JuLiao.IM.Wx.Proto.ContactLabelInfoNoticeMessage
- }
- var file_ContactLabelInfoNotice_proto_depIdxs = []int32{
- 0, // 0: Jubo.JuLiao.IM.Wx.Proto.ContactLabelInfoNoticeMessage.Labels:type_name -> Jubo.JuLiao.IM.Wx.Proto.LabelInfoMessage
- 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_ContactLabelInfoNotice_proto_init() }
- func file_ContactLabelInfoNotice_proto_init() {
- if File_ContactLabelInfoNotice_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_ContactLabelInfoNotice_proto_rawDesc), len(file_ContactLabelInfoNotice_proto_rawDesc)),
- NumEnums: 0,
- NumMessages: 2,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_ContactLabelInfoNotice_proto_goTypes,
- DependencyIndexes: file_ContactLabelInfoNotice_proto_depIdxs,
- MessageInfos: file_ContactLabelInfoNotice_proto_msgTypes,
- }.Build()
- File_ContactLabelInfoNotice_proto = out.File
- file_ContactLabelInfoNotice_proto_goTypes = nil
- file_ContactLabelInfoNotice_proto_depIdxs = nil
- }
|