123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.6
- // protoc v3.19.4
- // source: wecom/WConfigPushNotice.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 BoolConfigMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
- Value bool `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
- Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
- Desc string `protobuf:"bytes,4,opt,name=Desc,proto3" json:"Desc,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *BoolConfigMessage) Reset() {
- *x = BoolConfigMessage{}
- mi := &file_wecom_WConfigPushNotice_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *BoolConfigMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*BoolConfigMessage) ProtoMessage() {}
- func (x *BoolConfigMessage) ProtoReflect() protoreflect.Message {
- mi := &file_wecom_WConfigPushNotice_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 BoolConfigMessage.ProtoReflect.Descriptor instead.
- func (*BoolConfigMessage) Descriptor() ([]byte, []int) {
- return file_wecom_WConfigPushNotice_proto_rawDescGZIP(), []int{0}
- }
- func (x *BoolConfigMessage) GetKey() string {
- if x != nil {
- return x.Key
- }
- return ""
- }
- func (x *BoolConfigMessage) GetValue() bool {
- if x != nil {
- return x.Value
- }
- return false
- }
- func (x *BoolConfigMessage) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *BoolConfigMessage) GetDesc() string {
- if x != nil {
- return x.Desc
- }
- return ""
- }
- type IntConfigMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
- Value int32 `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
- Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
- Desc string `protobuf:"bytes,4,opt,name=Desc,proto3" json:"Desc,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *IntConfigMessage) Reset() {
- *x = IntConfigMessage{}
- mi := &file_wecom_WConfigPushNotice_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *IntConfigMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*IntConfigMessage) ProtoMessage() {}
- func (x *IntConfigMessage) ProtoReflect() protoreflect.Message {
- mi := &file_wecom_WConfigPushNotice_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 IntConfigMessage.ProtoReflect.Descriptor instead.
- func (*IntConfigMessage) Descriptor() ([]byte, []int) {
- return file_wecom_WConfigPushNotice_proto_rawDescGZIP(), []int{1}
- }
- func (x *IntConfigMessage) GetKey() string {
- if x != nil {
- return x.Key
- }
- return ""
- }
- func (x *IntConfigMessage) GetValue() int32 {
- if x != nil {
- return x.Value
- }
- return 0
- }
- func (x *IntConfigMessage) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *IntConfigMessage) GetDesc() string {
- if x != nil {
- return x.Desc
- }
- return ""
- }
- type StrConfigMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
- Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
- Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
- Desc string `protobuf:"bytes,4,opt,name=Desc,proto3" json:"Desc,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *StrConfigMessage) Reset() {
- *x = StrConfigMessage{}
- mi := &file_wecom_WConfigPushNotice_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *StrConfigMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*StrConfigMessage) ProtoMessage() {}
- func (x *StrConfigMessage) ProtoReflect() protoreflect.Message {
- mi := &file_wecom_WConfigPushNotice_proto_msgTypes[2]
- 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 StrConfigMessage.ProtoReflect.Descriptor instead.
- func (*StrConfigMessage) Descriptor() ([]byte, []int) {
- return file_wecom_WConfigPushNotice_proto_rawDescGZIP(), []int{2}
- }
- func (x *StrConfigMessage) GetKey() string {
- if x != nil {
- return x.Key
- }
- return ""
- }
- func (x *StrConfigMessage) GetValue() string {
- if x != nil {
- return x.Value
- }
- return ""
- }
- func (x *StrConfigMessage) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *StrConfigMessage) GetDesc() string {
- if x != nil {
- return x.Desc
- }
- return ""
- }
- type ConfigPushNoticeMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` //
- BoolConfs []*BoolConfigMessage `protobuf:"bytes,3,rep,name=BoolConfs,proto3" json:"BoolConfs,omitempty"`
- IntConfs []*IntConfigMessage `protobuf:"bytes,4,rep,name=IntConfs,proto3" json:"IntConfs,omitempty"`
- StrConfs []*StrConfigMessage `protobuf:"bytes,5,rep,name=StrConfs,proto3" json:"StrConfs,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConfigPushNoticeMessage) Reset() {
- *x = ConfigPushNoticeMessage{}
- mi := &file_wecom_WConfigPushNotice_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConfigPushNoticeMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConfigPushNoticeMessage) ProtoMessage() {}
- func (x *ConfigPushNoticeMessage) ProtoReflect() protoreflect.Message {
- mi := &file_wecom_WConfigPushNotice_proto_msgTypes[3]
- 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 ConfigPushNoticeMessage.ProtoReflect.Descriptor instead.
- func (*ConfigPushNoticeMessage) Descriptor() ([]byte, []int) {
- return file_wecom_WConfigPushNotice_proto_rawDescGZIP(), []int{3}
- }
- func (x *ConfigPushNoticeMessage) GetWxId() int64 {
- if x != nil {
- return x.WxId
- }
- return 0
- }
- func (x *ConfigPushNoticeMessage) GetBoolConfs() []*BoolConfigMessage {
- if x != nil {
- return x.BoolConfs
- }
- return nil
- }
- func (x *ConfigPushNoticeMessage) GetIntConfs() []*IntConfigMessage {
- if x != nil {
- return x.IntConfs
- }
- return nil
- }
- func (x *ConfigPushNoticeMessage) GetStrConfs() []*StrConfigMessage {
- if x != nil {
- return x.StrConfs
- }
- return nil
- }
- var File_wecom_WConfigPushNotice_proto protoreflect.FileDescriptor
- const file_wecom_WConfigPushNotice_proto_rawDesc = "" +
- "\n" +
- "\x1dwecom/WConfigPushNotice.proto\x12\x10Im.Scrm.Ww.Proto\"c\n" +
- "\x11BoolConfigMessage\x12\x10\n" +
- "\x03Key\x18\x01 \x01(\tR\x03Key\x12\x14\n" +
- "\x05Value\x18\x02 \x01(\bR\x05Value\x12\x12\n" +
- "\x04Name\x18\x03 \x01(\tR\x04Name\x12\x12\n" +
- "\x04Desc\x18\x04 \x01(\tR\x04Desc\"b\n" +
- "\x10IntConfigMessage\x12\x10\n" +
- "\x03Key\x18\x01 \x01(\tR\x03Key\x12\x14\n" +
- "\x05Value\x18\x02 \x01(\x05R\x05Value\x12\x12\n" +
- "\x04Name\x18\x03 \x01(\tR\x04Name\x12\x12\n" +
- "\x04Desc\x18\x04 \x01(\tR\x04Desc\"b\n" +
- "\x10StrConfigMessage\x12\x10\n" +
- "\x03Key\x18\x01 \x01(\tR\x03Key\x12\x14\n" +
- "\x05Value\x18\x02 \x01(\tR\x05Value\x12\x12\n" +
- "\x04Name\x18\x03 \x01(\tR\x04Name\x12\x12\n" +
- "\x04Desc\x18\x04 \x01(\tR\x04Desc\"\xf0\x01\n" +
- "\x17ConfigPushNoticeMessage\x12\x12\n" +
- "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12A\n" +
- "\tBoolConfs\x18\x03 \x03(\v2#.Im.Scrm.Ww.Proto.BoolConfigMessageR\tBoolConfs\x12>\n" +
- "\bIntConfs\x18\x04 \x03(\v2\".Im.Scrm.Ww.Proto.IntConfigMessageR\bIntConfs\x12>\n" +
- "\bStrConfs\x18\x05 \x03(\v2\".Im.Scrm.Ww.Proto.StrConfigMessageR\bStrConfsB\x13Z\x11./workphone/wecomb\x06proto3"
- var (
- file_wecom_WConfigPushNotice_proto_rawDescOnce sync.Once
- file_wecom_WConfigPushNotice_proto_rawDescData []byte
- )
- func file_wecom_WConfigPushNotice_proto_rawDescGZIP() []byte {
- file_wecom_WConfigPushNotice_proto_rawDescOnce.Do(func() {
- file_wecom_WConfigPushNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WConfigPushNotice_proto_rawDesc), len(file_wecom_WConfigPushNotice_proto_rawDesc)))
- })
- return file_wecom_WConfigPushNotice_proto_rawDescData
- }
- var file_wecom_WConfigPushNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
- var file_wecom_WConfigPushNotice_proto_goTypes = []any{
- (*BoolConfigMessage)(nil), // 0: Im.Scrm.Ww.Proto.BoolConfigMessage
- (*IntConfigMessage)(nil), // 1: Im.Scrm.Ww.Proto.IntConfigMessage
- (*StrConfigMessage)(nil), // 2: Im.Scrm.Ww.Proto.StrConfigMessage
- (*ConfigPushNoticeMessage)(nil), // 3: Im.Scrm.Ww.Proto.ConfigPushNoticeMessage
- }
- var file_wecom_WConfigPushNotice_proto_depIdxs = []int32{
- 0, // 0: Im.Scrm.Ww.Proto.ConfigPushNoticeMessage.BoolConfs:type_name -> Im.Scrm.Ww.Proto.BoolConfigMessage
- 1, // 1: Im.Scrm.Ww.Proto.ConfigPushNoticeMessage.IntConfs:type_name -> Im.Scrm.Ww.Proto.IntConfigMessage
- 2, // 2: Im.Scrm.Ww.Proto.ConfigPushNoticeMessage.StrConfs:type_name -> Im.Scrm.Ww.Proto.StrConfigMessage
- 3, // [3:3] is the sub-list for method output_type
- 3, // [3:3] is the sub-list for method input_type
- 3, // [3:3] is the sub-list for extension type_name
- 3, // [3:3] is the sub-list for extension extendee
- 0, // [0:3] is the sub-list for field type_name
- }
- func init() { file_wecom_WConfigPushNotice_proto_init() }
- func file_wecom_WConfigPushNotice_proto_init() {
- if File_wecom_WConfigPushNotice_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WConfigPushNotice_proto_rawDesc), len(file_wecom_WConfigPushNotice_proto_rawDesc)),
- NumEnums: 0,
- NumMessages: 4,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_wecom_WConfigPushNotice_proto_goTypes,
- DependencyIndexes: file_wecom_WConfigPushNotice_proto_depIdxs,
- MessageInfos: file_wecom_WConfigPushNotice_proto_msgTypes,
- }.Build()
- File_wecom_WConfigPushNotice_proto = out.File
- file_wecom_WConfigPushNotice_proto_goTypes = nil
- file_wecom_WConfigPushNotice_proto_depIdxs = nil
- }
|