WConfigSetting.pb.go 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.6
  4. // protoc v3.19.4
  5. // source: wecom/WConfigSetting.proto
  6. package wecom
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. unsafe "unsafe"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type ConfigSettingMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` //
  23. BoolConfs []*BoolConfigMessage `protobuf:"bytes,3,rep,name=BoolConfs,proto3" json:"BoolConfs,omitempty"`
  24. IntConfs []*IntConfigMessage `protobuf:"bytes,4,rep,name=IntConfs,proto3" json:"IntConfs,omitempty"`
  25. StrConfs []*StrConfigMessage `protobuf:"bytes,5,rep,name=StrConfs,proto3" json:"StrConfs,omitempty"`
  26. unknownFields protoimpl.UnknownFields
  27. sizeCache protoimpl.SizeCache
  28. }
  29. func (x *ConfigSettingMessage) Reset() {
  30. *x = ConfigSettingMessage{}
  31. mi := &file_wecom_WConfigSetting_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. func (x *ConfigSettingMessage) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*ConfigSettingMessage) ProtoMessage() {}
  39. func (x *ConfigSettingMessage) ProtoReflect() protoreflect.Message {
  40. mi := &file_wecom_WConfigSetting_proto_msgTypes[0]
  41. if x != nil {
  42. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  43. if ms.LoadMessageInfo() == nil {
  44. ms.StoreMessageInfo(mi)
  45. }
  46. return ms
  47. }
  48. return mi.MessageOf(x)
  49. }
  50. // Deprecated: Use ConfigSettingMessage.ProtoReflect.Descriptor instead.
  51. func (*ConfigSettingMessage) Descriptor() ([]byte, []int) {
  52. return file_wecom_WConfigSetting_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *ConfigSettingMessage) GetWxId() int64 {
  55. if x != nil {
  56. return x.WxId
  57. }
  58. return 0
  59. }
  60. func (x *ConfigSettingMessage) GetBoolConfs() []*BoolConfigMessage {
  61. if x != nil {
  62. return x.BoolConfs
  63. }
  64. return nil
  65. }
  66. func (x *ConfigSettingMessage) GetIntConfs() []*IntConfigMessage {
  67. if x != nil {
  68. return x.IntConfs
  69. }
  70. return nil
  71. }
  72. func (x *ConfigSettingMessage) GetStrConfs() []*StrConfigMessage {
  73. if x != nil {
  74. return x.StrConfs
  75. }
  76. return nil
  77. }
  78. var File_wecom_WConfigSetting_proto protoreflect.FileDescriptor
  79. const file_wecom_WConfigSetting_proto_rawDesc = "" +
  80. "\n" +
  81. "\x1awecom/WConfigSetting.proto\x12\x10Im.Scrm.Ww.Proto\x1a\x1dwecom/WConfigPushNotice.proto\"\xed\x01\n" +
  82. "\x14ConfigSettingMessage\x12\x12\n" +
  83. "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12A\n" +
  84. "\tBoolConfs\x18\x03 \x03(\v2#.Im.Scrm.Ww.Proto.BoolConfigMessageR\tBoolConfs\x12>\n" +
  85. "\bIntConfs\x18\x04 \x03(\v2\".Im.Scrm.Ww.Proto.IntConfigMessageR\bIntConfs\x12>\n" +
  86. "\bStrConfs\x18\x05 \x03(\v2\".Im.Scrm.Ww.Proto.StrConfigMessageR\bStrConfsB\x13Z\x11./workphone/wecomb\x06proto3"
  87. var (
  88. file_wecom_WConfigSetting_proto_rawDescOnce sync.Once
  89. file_wecom_WConfigSetting_proto_rawDescData []byte
  90. )
  91. func file_wecom_WConfigSetting_proto_rawDescGZIP() []byte {
  92. file_wecom_WConfigSetting_proto_rawDescOnce.Do(func() {
  93. file_wecom_WConfigSetting_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WConfigSetting_proto_rawDesc), len(file_wecom_WConfigSetting_proto_rawDesc)))
  94. })
  95. return file_wecom_WConfigSetting_proto_rawDescData
  96. }
  97. var file_wecom_WConfigSetting_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  98. var file_wecom_WConfigSetting_proto_goTypes = []any{
  99. (*ConfigSettingMessage)(nil), // 0: Im.Scrm.Ww.Proto.ConfigSettingMessage
  100. (*BoolConfigMessage)(nil), // 1: Im.Scrm.Ww.Proto.BoolConfigMessage
  101. (*IntConfigMessage)(nil), // 2: Im.Scrm.Ww.Proto.IntConfigMessage
  102. (*StrConfigMessage)(nil), // 3: Im.Scrm.Ww.Proto.StrConfigMessage
  103. }
  104. var file_wecom_WConfigSetting_proto_depIdxs = []int32{
  105. 1, // 0: Im.Scrm.Ww.Proto.ConfigSettingMessage.BoolConfs:type_name -> Im.Scrm.Ww.Proto.BoolConfigMessage
  106. 2, // 1: Im.Scrm.Ww.Proto.ConfigSettingMessage.IntConfs:type_name -> Im.Scrm.Ww.Proto.IntConfigMessage
  107. 3, // 2: Im.Scrm.Ww.Proto.ConfigSettingMessage.StrConfs:type_name -> Im.Scrm.Ww.Proto.StrConfigMessage
  108. 3, // [3:3] is the sub-list for method output_type
  109. 3, // [3:3] is the sub-list for method input_type
  110. 3, // [3:3] is the sub-list for extension type_name
  111. 3, // [3:3] is the sub-list for extension extendee
  112. 0, // [0:3] is the sub-list for field type_name
  113. }
  114. func init() { file_wecom_WConfigSetting_proto_init() }
  115. func file_wecom_WConfigSetting_proto_init() {
  116. if File_wecom_WConfigSetting_proto != nil {
  117. return
  118. }
  119. file_wecom_WConfigPushNotice_proto_init()
  120. type x struct{}
  121. out := protoimpl.TypeBuilder{
  122. File: protoimpl.DescBuilder{
  123. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  124. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WConfigSetting_proto_rawDesc), len(file_wecom_WConfigSetting_proto_rawDesc)),
  125. NumEnums: 0,
  126. NumMessages: 1,
  127. NumExtensions: 0,
  128. NumServices: 0,
  129. },
  130. GoTypes: file_wecom_WConfigSetting_proto_goTypes,
  131. DependencyIndexes: file_wecom_WConfigSetting_proto_depIdxs,
  132. MessageInfos: file_wecom_WConfigSetting_proto_msgTypes,
  133. }.Build()
  134. File_wecom_WConfigSetting_proto = out.File
  135. file_wecom_WConfigSetting_proto_goTypes = nil
  136. file_wecom_WConfigSetting_proto_depIdxs = nil
  137. }