dr_resource_idl.pb.go 22 KB

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