WConfigPushNotice.pb.go 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  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/WConfigPushNotice.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 BoolConfigMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
  23. Value bool `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
  24. Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
  25. Desc string `protobuf:"bytes,4,opt,name=Desc,proto3" json:"Desc,omitempty"`
  26. unknownFields protoimpl.UnknownFields
  27. sizeCache protoimpl.SizeCache
  28. }
  29. func (x *BoolConfigMessage) Reset() {
  30. *x = BoolConfigMessage{}
  31. mi := &file_wecom_WConfigPushNotice_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. func (x *BoolConfigMessage) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*BoolConfigMessage) ProtoMessage() {}
  39. func (x *BoolConfigMessage) ProtoReflect() protoreflect.Message {
  40. mi := &file_wecom_WConfigPushNotice_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 BoolConfigMessage.ProtoReflect.Descriptor instead.
  51. func (*BoolConfigMessage) Descriptor() ([]byte, []int) {
  52. return file_wecom_WConfigPushNotice_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *BoolConfigMessage) GetKey() string {
  55. if x != nil {
  56. return x.Key
  57. }
  58. return ""
  59. }
  60. func (x *BoolConfigMessage) GetValue() bool {
  61. if x != nil {
  62. return x.Value
  63. }
  64. return false
  65. }
  66. func (x *BoolConfigMessage) GetName() string {
  67. if x != nil {
  68. return x.Name
  69. }
  70. return ""
  71. }
  72. func (x *BoolConfigMessage) GetDesc() string {
  73. if x != nil {
  74. return x.Desc
  75. }
  76. return ""
  77. }
  78. type IntConfigMessage struct {
  79. state protoimpl.MessageState `protogen:"open.v1"`
  80. Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
  81. Value int32 `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
  82. Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
  83. Desc string `protobuf:"bytes,4,opt,name=Desc,proto3" json:"Desc,omitempty"`
  84. unknownFields protoimpl.UnknownFields
  85. sizeCache protoimpl.SizeCache
  86. }
  87. func (x *IntConfigMessage) Reset() {
  88. *x = IntConfigMessage{}
  89. mi := &file_wecom_WConfigPushNotice_proto_msgTypes[1]
  90. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  91. ms.StoreMessageInfo(mi)
  92. }
  93. func (x *IntConfigMessage) String() string {
  94. return protoimpl.X.MessageStringOf(x)
  95. }
  96. func (*IntConfigMessage) ProtoMessage() {}
  97. func (x *IntConfigMessage) ProtoReflect() protoreflect.Message {
  98. mi := &file_wecom_WConfigPushNotice_proto_msgTypes[1]
  99. if x != nil {
  100. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  101. if ms.LoadMessageInfo() == nil {
  102. ms.StoreMessageInfo(mi)
  103. }
  104. return ms
  105. }
  106. return mi.MessageOf(x)
  107. }
  108. // Deprecated: Use IntConfigMessage.ProtoReflect.Descriptor instead.
  109. func (*IntConfigMessage) Descriptor() ([]byte, []int) {
  110. return file_wecom_WConfigPushNotice_proto_rawDescGZIP(), []int{1}
  111. }
  112. func (x *IntConfigMessage) GetKey() string {
  113. if x != nil {
  114. return x.Key
  115. }
  116. return ""
  117. }
  118. func (x *IntConfigMessage) GetValue() int32 {
  119. if x != nil {
  120. return x.Value
  121. }
  122. return 0
  123. }
  124. func (x *IntConfigMessage) GetName() string {
  125. if x != nil {
  126. return x.Name
  127. }
  128. return ""
  129. }
  130. func (x *IntConfigMessage) GetDesc() string {
  131. if x != nil {
  132. return x.Desc
  133. }
  134. return ""
  135. }
  136. type StrConfigMessage struct {
  137. state protoimpl.MessageState `protogen:"open.v1"`
  138. Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
  139. Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
  140. Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
  141. Desc string `protobuf:"bytes,4,opt,name=Desc,proto3" json:"Desc,omitempty"`
  142. unknownFields protoimpl.UnknownFields
  143. sizeCache protoimpl.SizeCache
  144. }
  145. func (x *StrConfigMessage) Reset() {
  146. *x = StrConfigMessage{}
  147. mi := &file_wecom_WConfigPushNotice_proto_msgTypes[2]
  148. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  149. ms.StoreMessageInfo(mi)
  150. }
  151. func (x *StrConfigMessage) String() string {
  152. return protoimpl.X.MessageStringOf(x)
  153. }
  154. func (*StrConfigMessage) ProtoMessage() {}
  155. func (x *StrConfigMessage) ProtoReflect() protoreflect.Message {
  156. mi := &file_wecom_WConfigPushNotice_proto_msgTypes[2]
  157. if x != nil {
  158. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  159. if ms.LoadMessageInfo() == nil {
  160. ms.StoreMessageInfo(mi)
  161. }
  162. return ms
  163. }
  164. return mi.MessageOf(x)
  165. }
  166. // Deprecated: Use StrConfigMessage.ProtoReflect.Descriptor instead.
  167. func (*StrConfigMessage) Descriptor() ([]byte, []int) {
  168. return file_wecom_WConfigPushNotice_proto_rawDescGZIP(), []int{2}
  169. }
  170. func (x *StrConfigMessage) GetKey() string {
  171. if x != nil {
  172. return x.Key
  173. }
  174. return ""
  175. }
  176. func (x *StrConfigMessage) GetValue() string {
  177. if x != nil {
  178. return x.Value
  179. }
  180. return ""
  181. }
  182. func (x *StrConfigMessage) GetName() string {
  183. if x != nil {
  184. return x.Name
  185. }
  186. return ""
  187. }
  188. func (x *StrConfigMessage) GetDesc() string {
  189. if x != nil {
  190. return x.Desc
  191. }
  192. return ""
  193. }
  194. type ConfigPushNoticeMessage struct {
  195. state protoimpl.MessageState `protogen:"open.v1"`
  196. WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` //
  197. BoolConfs []*BoolConfigMessage `protobuf:"bytes,3,rep,name=BoolConfs,proto3" json:"BoolConfs,omitempty"`
  198. IntConfs []*IntConfigMessage `protobuf:"bytes,4,rep,name=IntConfs,proto3" json:"IntConfs,omitempty"`
  199. StrConfs []*StrConfigMessage `protobuf:"bytes,5,rep,name=StrConfs,proto3" json:"StrConfs,omitempty"`
  200. unknownFields protoimpl.UnknownFields
  201. sizeCache protoimpl.SizeCache
  202. }
  203. func (x *ConfigPushNoticeMessage) Reset() {
  204. *x = ConfigPushNoticeMessage{}
  205. mi := &file_wecom_WConfigPushNotice_proto_msgTypes[3]
  206. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  207. ms.StoreMessageInfo(mi)
  208. }
  209. func (x *ConfigPushNoticeMessage) String() string {
  210. return protoimpl.X.MessageStringOf(x)
  211. }
  212. func (*ConfigPushNoticeMessage) ProtoMessage() {}
  213. func (x *ConfigPushNoticeMessage) ProtoReflect() protoreflect.Message {
  214. mi := &file_wecom_WConfigPushNotice_proto_msgTypes[3]
  215. if x != nil {
  216. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  217. if ms.LoadMessageInfo() == nil {
  218. ms.StoreMessageInfo(mi)
  219. }
  220. return ms
  221. }
  222. return mi.MessageOf(x)
  223. }
  224. // Deprecated: Use ConfigPushNoticeMessage.ProtoReflect.Descriptor instead.
  225. func (*ConfigPushNoticeMessage) Descriptor() ([]byte, []int) {
  226. return file_wecom_WConfigPushNotice_proto_rawDescGZIP(), []int{3}
  227. }
  228. func (x *ConfigPushNoticeMessage) GetWxId() int64 {
  229. if x != nil {
  230. return x.WxId
  231. }
  232. return 0
  233. }
  234. func (x *ConfigPushNoticeMessage) GetBoolConfs() []*BoolConfigMessage {
  235. if x != nil {
  236. return x.BoolConfs
  237. }
  238. return nil
  239. }
  240. func (x *ConfigPushNoticeMessage) GetIntConfs() []*IntConfigMessage {
  241. if x != nil {
  242. return x.IntConfs
  243. }
  244. return nil
  245. }
  246. func (x *ConfigPushNoticeMessage) GetStrConfs() []*StrConfigMessage {
  247. if x != nil {
  248. return x.StrConfs
  249. }
  250. return nil
  251. }
  252. var File_wecom_WConfigPushNotice_proto protoreflect.FileDescriptor
  253. const file_wecom_WConfigPushNotice_proto_rawDesc = "" +
  254. "\n" +
  255. "\x1dwecom/WConfigPushNotice.proto\x12\x10Im.Scrm.Ww.Proto\"c\n" +
  256. "\x11BoolConfigMessage\x12\x10\n" +
  257. "\x03Key\x18\x01 \x01(\tR\x03Key\x12\x14\n" +
  258. "\x05Value\x18\x02 \x01(\bR\x05Value\x12\x12\n" +
  259. "\x04Name\x18\x03 \x01(\tR\x04Name\x12\x12\n" +
  260. "\x04Desc\x18\x04 \x01(\tR\x04Desc\"b\n" +
  261. "\x10IntConfigMessage\x12\x10\n" +
  262. "\x03Key\x18\x01 \x01(\tR\x03Key\x12\x14\n" +
  263. "\x05Value\x18\x02 \x01(\x05R\x05Value\x12\x12\n" +
  264. "\x04Name\x18\x03 \x01(\tR\x04Name\x12\x12\n" +
  265. "\x04Desc\x18\x04 \x01(\tR\x04Desc\"b\n" +
  266. "\x10StrConfigMessage\x12\x10\n" +
  267. "\x03Key\x18\x01 \x01(\tR\x03Key\x12\x14\n" +
  268. "\x05Value\x18\x02 \x01(\tR\x05Value\x12\x12\n" +
  269. "\x04Name\x18\x03 \x01(\tR\x04Name\x12\x12\n" +
  270. "\x04Desc\x18\x04 \x01(\tR\x04Desc\"\xf0\x01\n" +
  271. "\x17ConfigPushNoticeMessage\x12\x12\n" +
  272. "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12A\n" +
  273. "\tBoolConfs\x18\x03 \x03(\v2#.Im.Scrm.Ww.Proto.BoolConfigMessageR\tBoolConfs\x12>\n" +
  274. "\bIntConfs\x18\x04 \x03(\v2\".Im.Scrm.Ww.Proto.IntConfigMessageR\bIntConfs\x12>\n" +
  275. "\bStrConfs\x18\x05 \x03(\v2\".Im.Scrm.Ww.Proto.StrConfigMessageR\bStrConfsB\x13Z\x11./workphone/wecomb\x06proto3"
  276. var (
  277. file_wecom_WConfigPushNotice_proto_rawDescOnce sync.Once
  278. file_wecom_WConfigPushNotice_proto_rawDescData []byte
  279. )
  280. func file_wecom_WConfigPushNotice_proto_rawDescGZIP() []byte {
  281. file_wecom_WConfigPushNotice_proto_rawDescOnce.Do(func() {
  282. file_wecom_WConfigPushNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WConfigPushNotice_proto_rawDesc), len(file_wecom_WConfigPushNotice_proto_rawDesc)))
  283. })
  284. return file_wecom_WConfigPushNotice_proto_rawDescData
  285. }
  286. var file_wecom_WConfigPushNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  287. var file_wecom_WConfigPushNotice_proto_goTypes = []any{
  288. (*BoolConfigMessage)(nil), // 0: Im.Scrm.Ww.Proto.BoolConfigMessage
  289. (*IntConfigMessage)(nil), // 1: Im.Scrm.Ww.Proto.IntConfigMessage
  290. (*StrConfigMessage)(nil), // 2: Im.Scrm.Ww.Proto.StrConfigMessage
  291. (*ConfigPushNoticeMessage)(nil), // 3: Im.Scrm.Ww.Proto.ConfigPushNoticeMessage
  292. }
  293. var file_wecom_WConfigPushNotice_proto_depIdxs = []int32{
  294. 0, // 0: Im.Scrm.Ww.Proto.ConfigPushNoticeMessage.BoolConfs:type_name -> Im.Scrm.Ww.Proto.BoolConfigMessage
  295. 1, // 1: Im.Scrm.Ww.Proto.ConfigPushNoticeMessage.IntConfs:type_name -> Im.Scrm.Ww.Proto.IntConfigMessage
  296. 2, // 2: Im.Scrm.Ww.Proto.ConfigPushNoticeMessage.StrConfs:type_name -> Im.Scrm.Ww.Proto.StrConfigMessage
  297. 3, // [3:3] is the sub-list for method output_type
  298. 3, // [3:3] is the sub-list for method input_type
  299. 3, // [3:3] is the sub-list for extension type_name
  300. 3, // [3:3] is the sub-list for extension extendee
  301. 0, // [0:3] is the sub-list for field type_name
  302. }
  303. func init() { file_wecom_WConfigPushNotice_proto_init() }
  304. func file_wecom_WConfigPushNotice_proto_init() {
  305. if File_wecom_WConfigPushNotice_proto != nil {
  306. return
  307. }
  308. type x struct{}
  309. out := protoimpl.TypeBuilder{
  310. File: protoimpl.DescBuilder{
  311. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  312. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WConfigPushNotice_proto_rawDesc), len(file_wecom_WConfigPushNotice_proto_rawDesc)),
  313. NumEnums: 0,
  314. NumMessages: 4,
  315. NumExtensions: 0,
  316. NumServices: 0,
  317. },
  318. GoTypes: file_wecom_WConfigPushNotice_proto_goTypes,
  319. DependencyIndexes: file_wecom_WConfigPushNotice_proto_depIdxs,
  320. MessageInfos: file_wecom_WConfigPushNotice_proto_msgTypes,
  321. }.Build()
  322. File_wecom_WConfigPushNotice_proto = out.File
  323. file_wecom_WConfigPushNotice_proto_goTypes = nil
  324. file_wecom_WConfigPushNotice_proto_depIdxs = nil
  325. }