dr_resource_idl.pb.go 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.6
  4. // protoc v6.31.0
  5. // source: dr_resource_idl.proto
  6. package dr_resource_pb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. structpb "google.golang.org/protobuf/types/known/structpb"
  11. reflect "reflect"
  12. sync "sync"
  13. unsafe "unsafe"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. type EmptyRequest struct {
  22. state protoimpl.MessageState `protogen:"open.v1"`
  23. unknownFields protoimpl.UnknownFields
  24. sizeCache protoimpl.SizeCache
  25. }
  26. func (x *EmptyRequest) Reset() {
  27. *x = EmptyRequest{}
  28. mi := &file_dr_resource_idl_proto_msgTypes[0]
  29. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  30. ms.StoreMessageInfo(mi)
  31. }
  32. func (x *EmptyRequest) String() string {
  33. return protoimpl.X.MessageStringOf(x)
  34. }
  35. func (*EmptyRequest) ProtoMessage() {}
  36. func (x *EmptyRequest) ProtoReflect() protoreflect.Message {
  37. mi := &file_dr_resource_idl_proto_msgTypes[0]
  38. if x != nil {
  39. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  40. if ms.LoadMessageInfo() == nil {
  41. ms.StoreMessageInfo(mi)
  42. }
  43. return ms
  44. }
  45. return mi.MessageOf(x)
  46. }
  47. // Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.
  48. func (*EmptyRequest) Descriptor() ([]byte, []int) {
  49. return file_dr_resource_idl_proto_rawDescGZIP(), []int{0}
  50. }
  51. type SoftwareInfoReply struct {
  52. state protoimpl.MessageState `protogen:"open.v1"`
  53. Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
  54. Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
  55. Build string `protobuf:"bytes,3,opt,name=build,proto3" json:"build,omitempty"`
  56. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
  57. unknownFields protoimpl.UnknownFields
  58. sizeCache protoimpl.SizeCache
  59. }
  60. func (x *SoftwareInfoReply) Reset() {
  61. *x = SoftwareInfoReply{}
  62. mi := &file_dr_resource_idl_proto_msgTypes[1]
  63. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  64. ms.StoreMessageInfo(mi)
  65. }
  66. func (x *SoftwareInfoReply) String() string {
  67. return protoimpl.X.MessageStringOf(x)
  68. }
  69. func (*SoftwareInfoReply) ProtoMessage() {}
  70. func (x *SoftwareInfoReply) ProtoReflect() protoreflect.Message {
  71. mi := &file_dr_resource_idl_proto_msgTypes[1]
  72. if x != nil {
  73. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  74. if ms.LoadMessageInfo() == nil {
  75. ms.StoreMessageInfo(mi)
  76. }
  77. return ms
  78. }
  79. return mi.MessageOf(x)
  80. }
  81. // Deprecated: Use SoftwareInfoReply.ProtoReflect.Descriptor instead.
  82. func (*SoftwareInfoReply) Descriptor() ([]byte, []int) {
  83. return file_dr_resource_idl_proto_rawDescGZIP(), []int{1}
  84. }
  85. func (x *SoftwareInfoReply) GetModule() string {
  86. if x != nil {
  87. return x.Module
  88. }
  89. return ""
  90. }
  91. func (x *SoftwareInfoReply) GetDesc() string {
  92. if x != nil {
  93. return x.Desc
  94. }
  95. return ""
  96. }
  97. func (x *SoftwareInfoReply) GetBuild() string {
  98. if x != nil {
  99. return x.Build
  100. }
  101. return ""
  102. }
  103. func (x *SoftwareInfoReply) GetVersion() string {
  104. if x != nil {
  105. return x.Version
  106. }
  107. return ""
  108. }
  109. type OptionRequest struct {
  110. state protoimpl.MessageState `protogen:"open.v1"`
  111. Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
  112. Flag string `protobuf:"bytes,2,opt,name=flag,proto3" json:"flag,omitempty"`
  113. unknownFields protoimpl.UnknownFields
  114. sizeCache protoimpl.SizeCache
  115. }
  116. func (x *OptionRequest) Reset() {
  117. *x = OptionRequest{}
  118. mi := &file_dr_resource_idl_proto_msgTypes[2]
  119. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  120. ms.StoreMessageInfo(mi)
  121. }
  122. func (x *OptionRequest) String() string {
  123. return protoimpl.X.MessageStringOf(x)
  124. }
  125. func (*OptionRequest) ProtoMessage() {}
  126. func (x *OptionRequest) ProtoReflect() protoreflect.Message {
  127. mi := &file_dr_resource_idl_proto_msgTypes[2]
  128. if x != nil {
  129. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  130. if ms.LoadMessageInfo() == nil {
  131. ms.StoreMessageInfo(mi)
  132. }
  133. return ms
  134. }
  135. return mi.MessageOf(x)
  136. }
  137. // Deprecated: Use OptionRequest.ProtoReflect.Descriptor instead.
  138. func (*OptionRequest) Descriptor() ([]byte, []int) {
  139. return file_dr_resource_idl_proto_rawDescGZIP(), []int{2}
  140. }
  141. func (x *OptionRequest) GetGroup() string {
  142. if x != nil {
  143. return x.Group
  144. }
  145. return ""
  146. }
  147. func (x *OptionRequest) GetFlag() string {
  148. if x != nil {
  149. return x.Flag
  150. }
  151. return ""
  152. }
  153. type OptionReply struct {
  154. state protoimpl.MessageState `protogen:"open.v1"`
  155. Option []*structpb.Struct `protobuf:"bytes,1,rep,name=option,proto3" json:"option,omitempty"`
  156. unknownFields protoimpl.UnknownFields
  157. sizeCache protoimpl.SizeCache
  158. }
  159. func (x *OptionReply) Reset() {
  160. *x = OptionReply{}
  161. mi := &file_dr_resource_idl_proto_msgTypes[3]
  162. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  163. ms.StoreMessageInfo(mi)
  164. }
  165. func (x *OptionReply) String() string {
  166. return protoimpl.X.MessageStringOf(x)
  167. }
  168. func (*OptionReply) ProtoMessage() {}
  169. func (x *OptionReply) ProtoReflect() protoreflect.Message {
  170. mi := &file_dr_resource_idl_proto_msgTypes[3]
  171. if x != nil {
  172. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  173. if ms.LoadMessageInfo() == nil {
  174. ms.StoreMessageInfo(mi)
  175. }
  176. return ms
  177. }
  178. return mi.MessageOf(x)
  179. }
  180. // Deprecated: Use OptionReply.ProtoReflect.Descriptor instead.
  181. func (*OptionReply) Descriptor() ([]byte, []int) {
  182. return file_dr_resource_idl_proto_rawDescGZIP(), []int{3}
  183. }
  184. func (x *OptionReply) GetOption() []*structpb.Struct {
  185. if x != nil {
  186. return x.Option
  187. }
  188. return nil
  189. }
  190. type ConfigOptionListRequest struct {
  191. state protoimpl.MessageState `protogen:"open.v1"`
  192. Flag string `protobuf:"bytes,1,opt,name=flag,proto3" json:"flag,omitempty"`
  193. IsEnabled bool `protobuf:"varint,2,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
  194. unknownFields protoimpl.UnknownFields
  195. sizeCache protoimpl.SizeCache
  196. }
  197. func (x *ConfigOptionListRequest) Reset() {
  198. *x = ConfigOptionListRequest{}
  199. mi := &file_dr_resource_idl_proto_msgTypes[4]
  200. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  201. ms.StoreMessageInfo(mi)
  202. }
  203. func (x *ConfigOptionListRequest) String() string {
  204. return protoimpl.X.MessageStringOf(x)
  205. }
  206. func (*ConfigOptionListRequest) ProtoMessage() {}
  207. func (x *ConfigOptionListRequest) ProtoReflect() protoreflect.Message {
  208. mi := &file_dr_resource_idl_proto_msgTypes[4]
  209. if x != nil {
  210. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  211. if ms.LoadMessageInfo() == nil {
  212. ms.StoreMessageInfo(mi)
  213. }
  214. return ms
  215. }
  216. return mi.MessageOf(x)
  217. }
  218. // Deprecated: Use ConfigOptionListRequest.ProtoReflect.Descriptor instead.
  219. func (*ConfigOptionListRequest) Descriptor() ([]byte, []int) {
  220. return file_dr_resource_idl_proto_rawDescGZIP(), []int{4}
  221. }
  222. func (x *ConfigOptionListRequest) GetFlag() string {
  223. if x != nil {
  224. return x.Flag
  225. }
  226. return ""
  227. }
  228. func (x *ConfigOptionListRequest) GetIsEnabled() bool {
  229. if x != nil {
  230. return x.IsEnabled
  231. }
  232. return false
  233. }
  234. type ConfigOption struct {
  235. state protoimpl.MessageState `protogen:"open.v1"`
  236. Flag string `protobuf:"bytes,1,opt,name=flag,proto3" json:"flag,omitempty"`
  237. Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
  238. Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
  239. Order int32 `protobuf:"varint,4,opt,name=order,proto3" json:"order,omitempty"`
  240. IsEnabled bool `protobuf:"varint,5,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
  241. unknownFields protoimpl.UnknownFields
  242. sizeCache protoimpl.SizeCache
  243. }
  244. func (x *ConfigOption) Reset() {
  245. *x = ConfigOption{}
  246. mi := &file_dr_resource_idl_proto_msgTypes[5]
  247. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  248. ms.StoreMessageInfo(mi)
  249. }
  250. func (x *ConfigOption) String() string {
  251. return protoimpl.X.MessageStringOf(x)
  252. }
  253. func (*ConfigOption) ProtoMessage() {}
  254. func (x *ConfigOption) ProtoReflect() protoreflect.Message {
  255. mi := &file_dr_resource_idl_proto_msgTypes[5]
  256. if x != nil {
  257. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  258. if ms.LoadMessageInfo() == nil {
  259. ms.StoreMessageInfo(mi)
  260. }
  261. return ms
  262. }
  263. return mi.MessageOf(x)
  264. }
  265. // Deprecated: Use ConfigOption.ProtoReflect.Descriptor instead.
  266. func (*ConfigOption) Descriptor() ([]byte, []int) {
  267. return file_dr_resource_idl_proto_rawDescGZIP(), []int{5}
  268. }
  269. func (x *ConfigOption) GetFlag() string {
  270. if x != nil {
  271. return x.Flag
  272. }
  273. return ""
  274. }
  275. func (x *ConfigOption) GetText() string {
  276. if x != nil {
  277. return x.Text
  278. }
  279. return ""
  280. }
  281. func (x *ConfigOption) GetValue() string {
  282. if x != nil {
  283. return x.Value
  284. }
  285. return ""
  286. }
  287. func (x *ConfigOption) GetOrder() int32 {
  288. if x != nil {
  289. return x.Order
  290. }
  291. return 0
  292. }
  293. func (x *ConfigOption) GetIsEnabled() bool {
  294. if x != nil {
  295. return x.IsEnabled
  296. }
  297. return false
  298. }
  299. type ConfigOptionListReply struct {
  300. state protoimpl.MessageState `protogen:"open.v1"`
  301. ConfigOption []*ConfigOption `protobuf:"bytes,1,rep,name=configOption,proto3" json:"configOption,omitempty"`
  302. unknownFields protoimpl.UnknownFields
  303. sizeCache protoimpl.SizeCache
  304. }
  305. func (x *ConfigOptionListReply) Reset() {
  306. *x = ConfigOptionListReply{}
  307. mi := &file_dr_resource_idl_proto_msgTypes[6]
  308. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  309. ms.StoreMessageInfo(mi)
  310. }
  311. func (x *ConfigOptionListReply) String() string {
  312. return protoimpl.X.MessageStringOf(x)
  313. }
  314. func (*ConfigOptionListReply) ProtoMessage() {}
  315. func (x *ConfigOptionListReply) ProtoReflect() protoreflect.Message {
  316. mi := &file_dr_resource_idl_proto_msgTypes[6]
  317. if x != nil {
  318. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  319. if ms.LoadMessageInfo() == nil {
  320. ms.StoreMessageInfo(mi)
  321. }
  322. return ms
  323. }
  324. return mi.MessageOf(x)
  325. }
  326. // Deprecated: Use ConfigOptionListReply.ProtoReflect.Descriptor instead.
  327. func (*ConfigOptionListReply) Descriptor() ([]byte, []int) {
  328. return file_dr_resource_idl_proto_rawDescGZIP(), []int{6}
  329. }
  330. func (x *ConfigOptionListReply) GetConfigOption() []*ConfigOption {
  331. if x != nil {
  332. return x.ConfigOption
  333. }
  334. return nil
  335. }
  336. type ConfigListRequest struct {
  337. state protoimpl.MessageState `protogen:"open.v1"`
  338. // Types that are valid to be assigned to Filter:
  339. //
  340. // *ConfigListRequest_Group
  341. // *ConfigListRequest_Key
  342. Filter isConfigListRequest_Filter `protobuf_oneof:"filter"`
  343. unknownFields protoimpl.UnknownFields
  344. sizeCache protoimpl.SizeCache
  345. }
  346. func (x *ConfigListRequest) Reset() {
  347. *x = ConfigListRequest{}
  348. mi := &file_dr_resource_idl_proto_msgTypes[7]
  349. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  350. ms.StoreMessageInfo(mi)
  351. }
  352. func (x *ConfigListRequest) String() string {
  353. return protoimpl.X.MessageStringOf(x)
  354. }
  355. func (*ConfigListRequest) ProtoMessage() {}
  356. func (x *ConfigListRequest) ProtoReflect() protoreflect.Message {
  357. mi := &file_dr_resource_idl_proto_msgTypes[7]
  358. if x != nil {
  359. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  360. if ms.LoadMessageInfo() == nil {
  361. ms.StoreMessageInfo(mi)
  362. }
  363. return ms
  364. }
  365. return mi.MessageOf(x)
  366. }
  367. // Deprecated: Use ConfigListRequest.ProtoReflect.Descriptor instead.
  368. func (*ConfigListRequest) Descriptor() ([]byte, []int) {
  369. return file_dr_resource_idl_proto_rawDescGZIP(), []int{7}
  370. }
  371. func (x *ConfigListRequest) GetFilter() isConfigListRequest_Filter {
  372. if x != nil {
  373. return x.Filter
  374. }
  375. return nil
  376. }
  377. func (x *ConfigListRequest) GetGroup() string {
  378. if x != nil {
  379. if x, ok := x.Filter.(*ConfigListRequest_Group); ok {
  380. return x.Group
  381. }
  382. }
  383. return ""
  384. }
  385. func (x *ConfigListRequest) GetKey() string {
  386. if x != nil {
  387. if x, ok := x.Filter.(*ConfigListRequest_Key); ok {
  388. return x.Key
  389. }
  390. }
  391. return ""
  392. }
  393. type isConfigListRequest_Filter interface {
  394. isConfigListRequest_Filter()
  395. }
  396. type ConfigListRequest_Group struct {
  397. Group string `protobuf:"bytes,1,opt,name=group,proto3,oneof"`
  398. }
  399. type ConfigListRequest_Key struct {
  400. Key string `protobuf:"bytes,2,opt,name=key,proto3,oneof"`
  401. }
  402. func (*ConfigListRequest_Group) isConfigListRequest_Filter() {}
  403. func (*ConfigListRequest_Key) isConfigListRequest_Filter() {}
  404. type ConfigListResponse struct {
  405. state protoimpl.MessageState `protogen:"open.v1"`
  406. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  407. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  408. OptionKey string `protobuf:"bytes,3,opt,name=option_key,json=optionKey,proto3" json:"option_key,omitempty"`
  409. ValueType string `protobuf:"bytes,4,opt,name=value_type,json=valueType,proto3" json:"value_type,omitempty"`
  410. Desc string `protobuf:"bytes,5,opt,name=desc,proto3" json:"desc,omitempty"`
  411. Order int32 `protobuf:"varint,6,opt,name=order,proto3" json:"order,omitempty"`
  412. IsEnabled bool `protobuf:"varint,7,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
  413. Uri string `protobuf:"bytes,8,opt,name=uri,proto3" json:"uri,omitempty"`
  414. unknownFields protoimpl.UnknownFields
  415. sizeCache protoimpl.SizeCache
  416. }
  417. func (x *ConfigListResponse) Reset() {
  418. *x = ConfigListResponse{}
  419. mi := &file_dr_resource_idl_proto_msgTypes[8]
  420. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  421. ms.StoreMessageInfo(mi)
  422. }
  423. func (x *ConfigListResponse) String() string {
  424. return protoimpl.X.MessageStringOf(x)
  425. }
  426. func (*ConfigListResponse) ProtoMessage() {}
  427. func (x *ConfigListResponse) ProtoReflect() protoreflect.Message {
  428. mi := &file_dr_resource_idl_proto_msgTypes[8]
  429. if x != nil {
  430. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  431. if ms.LoadMessageInfo() == nil {
  432. ms.StoreMessageInfo(mi)
  433. }
  434. return ms
  435. }
  436. return mi.MessageOf(x)
  437. }
  438. // Deprecated: Use ConfigListResponse.ProtoReflect.Descriptor instead.
  439. func (*ConfigListResponse) Descriptor() ([]byte, []int) {
  440. return file_dr_resource_idl_proto_rawDescGZIP(), []int{8}
  441. }
  442. func (x *ConfigListResponse) GetKey() string {
  443. if x != nil {
  444. return x.Key
  445. }
  446. return ""
  447. }
  448. func (x *ConfigListResponse) GetValue() string {
  449. if x != nil {
  450. return x.Value
  451. }
  452. return ""
  453. }
  454. func (x *ConfigListResponse) GetOptionKey() string {
  455. if x != nil {
  456. return x.OptionKey
  457. }
  458. return ""
  459. }
  460. func (x *ConfigListResponse) GetValueType() string {
  461. if x != nil {
  462. return x.ValueType
  463. }
  464. return ""
  465. }
  466. func (x *ConfigListResponse) GetDesc() string {
  467. if x != nil {
  468. return x.Desc
  469. }
  470. return ""
  471. }
  472. func (x *ConfigListResponse) GetOrder() int32 {
  473. if x != nil {
  474. return x.Order
  475. }
  476. return 0
  477. }
  478. func (x *ConfigListResponse) GetIsEnabled() bool {
  479. if x != nil {
  480. return x.IsEnabled
  481. }
  482. return false
  483. }
  484. func (x *ConfigListResponse) GetUri() string {
  485. if x != nil {
  486. return x.Uri
  487. }
  488. return ""
  489. }
  490. type ConfigItemRequest struct {
  491. state protoimpl.MessageState `protogen:"open.v1"`
  492. Items map[string]string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  493. unknownFields protoimpl.UnknownFields
  494. sizeCache protoimpl.SizeCache
  495. }
  496. func (x *ConfigItemRequest) Reset() {
  497. *x = ConfigItemRequest{}
  498. mi := &file_dr_resource_idl_proto_msgTypes[9]
  499. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  500. ms.StoreMessageInfo(mi)
  501. }
  502. func (x *ConfigItemRequest) String() string {
  503. return protoimpl.X.MessageStringOf(x)
  504. }
  505. func (*ConfigItemRequest) ProtoMessage() {}
  506. func (x *ConfigItemRequest) ProtoReflect() protoreflect.Message {
  507. mi := &file_dr_resource_idl_proto_msgTypes[9]
  508. if x != nil {
  509. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  510. if ms.LoadMessageInfo() == nil {
  511. ms.StoreMessageInfo(mi)
  512. }
  513. return ms
  514. }
  515. return mi.MessageOf(x)
  516. }
  517. // Deprecated: Use ConfigItemRequest.ProtoReflect.Descriptor instead.
  518. func (*ConfigItemRequest) Descriptor() ([]byte, []int) {
  519. return file_dr_resource_idl_proto_rawDescGZIP(), []int{9}
  520. }
  521. func (x *ConfigItemRequest) GetItems() map[string]string {
  522. if x != nil {
  523. return x.Items
  524. }
  525. return nil
  526. }
  527. var File_dr_resource_idl_proto protoreflect.FileDescriptor
  528. const file_dr_resource_idl_proto_rawDesc = "" +
  529. "\n" +
  530. "\x15dr_resource_idl.proto\x12\vdr.resource\x1a\x1cgoogle/protobuf/struct.proto\"\x0e\n" +
  531. "\fEmptyRequest\"o\n" +
  532. "\x11SoftwareInfoReply\x12\x16\n" +
  533. "\x06module\x18\x01 \x01(\tR\x06module\x12\x12\n" +
  534. "\x04desc\x18\x02 \x01(\tR\x04desc\x12\x14\n" +
  535. "\x05build\x18\x03 \x01(\tR\x05build\x12\x18\n" +
  536. "\aversion\x18\x04 \x01(\tR\aversion\"9\n" +
  537. "\rOptionRequest\x12\x14\n" +
  538. "\x05group\x18\x01 \x01(\tR\x05group\x12\x12\n" +
  539. "\x04flag\x18\x02 \x01(\tR\x04flag\">\n" +
  540. "\vOptionReply\x12/\n" +
  541. "\x06option\x18\x01 \x03(\v2\x17.google.protobuf.StructR\x06option\"L\n" +
  542. "\x17ConfigOptionListRequest\x12\x12\n" +
  543. "\x04flag\x18\x01 \x01(\tR\x04flag\x12\x1d\n" +
  544. "\n" +
  545. "is_enabled\x18\x02 \x01(\bR\tisEnabled\"\x81\x01\n" +
  546. "\fConfigOption\x12\x12\n" +
  547. "\x04flag\x18\x01 \x01(\tR\x04flag\x12\x12\n" +
  548. "\x04text\x18\x02 \x01(\tR\x04text\x12\x14\n" +
  549. "\x05value\x18\x03 \x01(\tR\x05value\x12\x14\n" +
  550. "\x05order\x18\x04 \x01(\x05R\x05order\x12\x1d\n" +
  551. "\n" +
  552. "is_enabled\x18\x05 \x01(\bR\tisEnabled\"V\n" +
  553. "\x15ConfigOptionListReply\x12=\n" +
  554. "\fconfigOption\x18\x01 \x03(\v2\x19.dr.resource.ConfigOptionR\fconfigOption\"I\n" +
  555. "\x11ConfigListRequest\x12\x16\n" +
  556. "\x05group\x18\x01 \x01(\tH\x00R\x05group\x12\x12\n" +
  557. "\x03key\x18\x02 \x01(\tH\x00R\x03keyB\b\n" +
  558. "\x06filter\"\xd5\x01\n" +
  559. "\x12ConfigListResponse\x12\x10\n" +
  560. "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
  561. "\x05value\x18\x02 \x01(\tR\x05value\x12\x1d\n" +
  562. "\n" +
  563. "option_key\x18\x03 \x01(\tR\toptionKey\x12\x1d\n" +
  564. "\n" +
  565. "value_type\x18\x04 \x01(\tR\tvalueType\x12\x12\n" +
  566. "\x04desc\x18\x05 \x01(\tR\x04desc\x12\x14\n" +
  567. "\x05order\x18\x06 \x01(\x05R\x05order\x12\x1d\n" +
  568. "\n" +
  569. "is_enabled\x18\a \x01(\bR\tisEnabled\x12\x10\n" +
  570. "\x03uri\x18\b \x01(\tR\x03uri\"\x8e\x01\n" +
  571. "\x11ConfigItemRequest\x12?\n" +
  572. "\x05items\x18\x01 \x03(\v2).dr.resource.ConfigItemRequest.ItemsEntryR\x05items\x1a8\n" +
  573. "\n" +
  574. "ItemsEntry\x12\x10\n" +
  575. "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
  576. "\x05value\x18\x02 \x01(\tR\x05value:\x028\x012T\n" +
  577. "\x05Basic\x12K\n" +
  578. "\fSoftwareInfo\x12\x19.dr.resource.EmptyRequest\x1a\x1e.dr.resource.SoftwareInfoReply\"\x002\xd7\x02\n" +
  579. "\x06Config\x12D\n" +
  580. "\n" +
  581. "GetOptions\x12\x1a.dr.resource.OptionRequest\x1a\x18.dr.resource.OptionReply\"\x00\x12^\n" +
  582. "\x10ConfigOptionList\x12$.dr.resource.ConfigOptionListRequest\x1a\".dr.resource.ConfigOptionListReply\"\x00\x12O\n" +
  583. "\n" +
  584. "ConfigList\x12\x1e.dr.resource.ConfigListRequest\x1a\x1f.dr.resource.ConfigListResponse\"\x00\x12V\n" +
  585. "\x11UpdateConfigItems\x12\x1e.dr.resource.ConfigItemRequest\x1a\x1f.dr.resource.ConfigListResponse\"\x00B\x11Z\x0fdr_resource_pb/b\x06proto3"
  586. var (
  587. file_dr_resource_idl_proto_rawDescOnce sync.Once
  588. file_dr_resource_idl_proto_rawDescData []byte
  589. )
  590. func file_dr_resource_idl_proto_rawDescGZIP() []byte {
  591. file_dr_resource_idl_proto_rawDescOnce.Do(func() {
  592. file_dr_resource_idl_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dr_resource_idl_proto_rawDesc), len(file_dr_resource_idl_proto_rawDesc)))
  593. })
  594. return file_dr_resource_idl_proto_rawDescData
  595. }
  596. var file_dr_resource_idl_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
  597. var file_dr_resource_idl_proto_goTypes = []any{
  598. (*EmptyRequest)(nil), // 0: dr.resource.EmptyRequest
  599. (*SoftwareInfoReply)(nil), // 1: dr.resource.SoftwareInfoReply
  600. (*OptionRequest)(nil), // 2: dr.resource.OptionRequest
  601. (*OptionReply)(nil), // 3: dr.resource.OptionReply
  602. (*ConfigOptionListRequest)(nil), // 4: dr.resource.ConfigOptionListRequest
  603. (*ConfigOption)(nil), // 5: dr.resource.ConfigOption
  604. (*ConfigOptionListReply)(nil), // 6: dr.resource.ConfigOptionListReply
  605. (*ConfigListRequest)(nil), // 7: dr.resource.ConfigListRequest
  606. (*ConfigListResponse)(nil), // 8: dr.resource.ConfigListResponse
  607. (*ConfigItemRequest)(nil), // 9: dr.resource.ConfigItemRequest
  608. nil, // 10: dr.resource.ConfigItemRequest.ItemsEntry
  609. (*structpb.Struct)(nil), // 11: google.protobuf.Struct
  610. }
  611. var file_dr_resource_idl_proto_depIdxs = []int32{
  612. 11, // 0: dr.resource.OptionReply.option:type_name -> google.protobuf.Struct
  613. 5, // 1: dr.resource.ConfigOptionListReply.configOption:type_name -> dr.resource.ConfigOption
  614. 10, // 2: dr.resource.ConfigItemRequest.items:type_name -> dr.resource.ConfigItemRequest.ItemsEntry
  615. 0, // 3: dr.resource.Basic.SoftwareInfo:input_type -> dr.resource.EmptyRequest
  616. 2, // 4: dr.resource.Config.GetOptions:input_type -> dr.resource.OptionRequest
  617. 4, // 5: dr.resource.Config.ConfigOptionList:input_type -> dr.resource.ConfigOptionListRequest
  618. 7, // 6: dr.resource.Config.ConfigList:input_type -> dr.resource.ConfigListRequest
  619. 9, // 7: dr.resource.Config.UpdateConfigItems:input_type -> dr.resource.ConfigItemRequest
  620. 1, // 8: dr.resource.Basic.SoftwareInfo:output_type -> dr.resource.SoftwareInfoReply
  621. 3, // 9: dr.resource.Config.GetOptions:output_type -> dr.resource.OptionReply
  622. 6, // 10: dr.resource.Config.ConfigOptionList:output_type -> dr.resource.ConfigOptionListReply
  623. 8, // 11: dr.resource.Config.ConfigList:output_type -> dr.resource.ConfigListResponse
  624. 8, // 12: dr.resource.Config.UpdateConfigItems:output_type -> dr.resource.ConfigListResponse
  625. 8, // [8:13] is the sub-list for method output_type
  626. 3, // [3:8] is the sub-list for method input_type
  627. 3, // [3:3] is the sub-list for extension type_name
  628. 3, // [3:3] is the sub-list for extension extendee
  629. 0, // [0:3] is the sub-list for field type_name
  630. }
  631. func init() { file_dr_resource_idl_proto_init() }
  632. func file_dr_resource_idl_proto_init() {
  633. if File_dr_resource_idl_proto != nil {
  634. return
  635. }
  636. file_dr_resource_idl_proto_msgTypes[7].OneofWrappers = []any{
  637. (*ConfigListRequest_Group)(nil),
  638. (*ConfigListRequest_Key)(nil),
  639. }
  640. type x struct{}
  641. out := protoimpl.TypeBuilder{
  642. File: protoimpl.DescBuilder{
  643. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  644. RawDescriptor: unsafe.Slice(unsafe.StringData(file_dr_resource_idl_proto_rawDesc), len(file_dr_resource_idl_proto_rawDesc)),
  645. NumEnums: 0,
  646. NumMessages: 11,
  647. NumExtensions: 0,
  648. NumServices: 2,
  649. },
  650. GoTypes: file_dr_resource_idl_proto_goTypes,
  651. DependencyIndexes: file_dr_resource_idl_proto_depIdxs,
  652. MessageInfos: file_dr_resource_idl_proto_msgTypes,
  653. }.Build()
  654. File_dr_resource_idl_proto = out.File
  655. file_dr_resource_idl_proto_goTypes = nil
  656. file_dr_resource_idl_proto_depIdxs = nil
  657. }