// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.6 // protoc v6.31.0 // source: dr_resource_idl.proto package dr_resource_pb 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 EmptyRequest struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *EmptyRequest) Reset() { *x = EmptyRequest{} mi := &file_dr_resource_idl_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *EmptyRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*EmptyRequest) ProtoMessage() {} func (x *EmptyRequest) ProtoReflect() protoreflect.Message { mi := &file_dr_resource_idl_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 EmptyRequest.ProtoReflect.Descriptor instead. func (*EmptyRequest) Descriptor() ([]byte, []int) { return file_dr_resource_idl_proto_rawDescGZIP(), []int{0} } type SoftwareInfoReply struct { state protoimpl.MessageState `protogen:"open.v1"` Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"` Build string `protobuf:"bytes,3,opt,name=build,proto3" json:"build,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SoftwareInfoReply) Reset() { *x = SoftwareInfoReply{} mi := &file_dr_resource_idl_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SoftwareInfoReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*SoftwareInfoReply) ProtoMessage() {} func (x *SoftwareInfoReply) ProtoReflect() protoreflect.Message { mi := &file_dr_resource_idl_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 SoftwareInfoReply.ProtoReflect.Descriptor instead. func (*SoftwareInfoReply) Descriptor() ([]byte, []int) { return file_dr_resource_idl_proto_rawDescGZIP(), []int{1} } func (x *SoftwareInfoReply) GetModule() string { if x != nil { return x.Module } return "" } func (x *SoftwareInfoReply) GetDesc() string { if x != nil { return x.Desc } return "" } func (x *SoftwareInfoReply) GetBuild() string { if x != nil { return x.Build } return "" } func (x *SoftwareInfoReply) GetVersion() string { if x != nil { return x.Version } return "" } type ConfigOptionListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Flag string `protobuf:"bytes,1,opt,name=flag,proto3" json:"flag,omitempty"` IsEnabled bool `protobuf:"varint,2,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ConfigOptionListRequest) Reset() { *x = ConfigOptionListRequest{} mi := &file_dr_resource_idl_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ConfigOptionListRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ConfigOptionListRequest) ProtoMessage() {} func (x *ConfigOptionListRequest) ProtoReflect() protoreflect.Message { mi := &file_dr_resource_idl_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 ConfigOptionListRequest.ProtoReflect.Descriptor instead. func (*ConfigOptionListRequest) Descriptor() ([]byte, []int) { return file_dr_resource_idl_proto_rawDescGZIP(), []int{2} } func (x *ConfigOptionListRequest) GetFlag() string { if x != nil { return x.Flag } return "" } func (x *ConfigOptionListRequest) GetIsEnabled() bool { if x != nil { return x.IsEnabled } return false } type ConfigOption struct { state protoimpl.MessageState `protogen:"open.v1"` Flag string `protobuf:"bytes,1,opt,name=flag,proto3" json:"flag,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Order int32 `protobuf:"varint,4,opt,name=order,proto3" json:"order,omitempty"` IsEnabled bool `protobuf:"varint,5,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ConfigOption) Reset() { *x = ConfigOption{} mi := &file_dr_resource_idl_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ConfigOption) String() string { return protoimpl.X.MessageStringOf(x) } func (*ConfigOption) ProtoMessage() {} func (x *ConfigOption) ProtoReflect() protoreflect.Message { mi := &file_dr_resource_idl_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 ConfigOption.ProtoReflect.Descriptor instead. func (*ConfigOption) Descriptor() ([]byte, []int) { return file_dr_resource_idl_proto_rawDescGZIP(), []int{3} } func (x *ConfigOption) GetFlag() string { if x != nil { return x.Flag } return "" } func (x *ConfigOption) GetText() string { if x != nil { return x.Text } return "" } func (x *ConfigOption) GetValue() string { if x != nil { return x.Value } return "" } func (x *ConfigOption) GetOrder() int32 { if x != nil { return x.Order } return 0 } func (x *ConfigOption) GetIsEnabled() bool { if x != nil { return x.IsEnabled } return false } type ConfigOptionListReply struct { state protoimpl.MessageState `protogen:"open.v1"` ConfigOption []*ConfigOption `protobuf:"bytes,1,rep,name=configOption,proto3" json:"configOption,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ConfigOptionListReply) Reset() { *x = ConfigOptionListReply{} mi := &file_dr_resource_idl_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ConfigOptionListReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*ConfigOptionListReply) ProtoMessage() {} func (x *ConfigOptionListReply) ProtoReflect() protoreflect.Message { mi := &file_dr_resource_idl_proto_msgTypes[4] 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 ConfigOptionListReply.ProtoReflect.Descriptor instead. func (*ConfigOptionListReply) Descriptor() ([]byte, []int) { return file_dr_resource_idl_proto_rawDescGZIP(), []int{4} } func (x *ConfigOptionListReply) GetConfigOption() []*ConfigOption { if x != nil { return x.ConfigOption } return nil } type ConfigListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // Types that are valid to be assigned to Filter: // // *ConfigListRequest_Group // *ConfigListRequest_Key Filter isConfigListRequest_Filter `protobuf_oneof:"filter"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ConfigListRequest) Reset() { *x = ConfigListRequest{} mi := &file_dr_resource_idl_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ConfigListRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ConfigListRequest) ProtoMessage() {} func (x *ConfigListRequest) ProtoReflect() protoreflect.Message { mi := &file_dr_resource_idl_proto_msgTypes[5] 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 ConfigListRequest.ProtoReflect.Descriptor instead. func (*ConfigListRequest) Descriptor() ([]byte, []int) { return file_dr_resource_idl_proto_rawDescGZIP(), []int{5} } func (x *ConfigListRequest) GetFilter() isConfigListRequest_Filter { if x != nil { return x.Filter } return nil } func (x *ConfigListRequest) GetGroup() string { if x != nil { if x, ok := x.Filter.(*ConfigListRequest_Group); ok { return x.Group } } return "" } func (x *ConfigListRequest) GetKey() string { if x != nil { if x, ok := x.Filter.(*ConfigListRequest_Key); ok { return x.Key } } return "" } type isConfigListRequest_Filter interface { isConfigListRequest_Filter() } type ConfigListRequest_Group struct { Group string `protobuf:"bytes,1,opt,name=group,proto3,oneof"` } type ConfigListRequest_Key struct { Key string `protobuf:"bytes,2,opt,name=key,proto3,oneof"` } func (*ConfigListRequest_Group) isConfigListRequest_Filter() {} func (*ConfigListRequest_Key) isConfigListRequest_Filter() {} type ConfigListResponse 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"` OptionKey string `protobuf:"bytes,3,opt,name=option_key,json=optionKey,proto3" json:"option_key,omitempty"` ValueType string `protobuf:"bytes,4,opt,name=value_type,json=valueType,proto3" json:"value_type,omitempty"` Desc string `protobuf:"bytes,5,opt,name=desc,proto3" json:"desc,omitempty"` Order int32 `protobuf:"varint,6,opt,name=order,proto3" json:"order,omitempty"` IsEnabled bool `protobuf:"varint,7,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"` Uri string `protobuf:"bytes,8,opt,name=uri,proto3" json:"uri,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ConfigListResponse) Reset() { *x = ConfigListResponse{} mi := &file_dr_resource_idl_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ConfigListResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ConfigListResponse) ProtoMessage() {} func (x *ConfigListResponse) ProtoReflect() protoreflect.Message { mi := &file_dr_resource_idl_proto_msgTypes[6] 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 ConfigListResponse.ProtoReflect.Descriptor instead. func (*ConfigListResponse) Descriptor() ([]byte, []int) { return file_dr_resource_idl_proto_rawDescGZIP(), []int{6} } func (x *ConfigListResponse) GetKey() string { if x != nil { return x.Key } return "" } func (x *ConfigListResponse) GetValue() string { if x != nil { return x.Value } return "" } func (x *ConfigListResponse) GetOptionKey() string { if x != nil { return x.OptionKey } return "" } func (x *ConfigListResponse) GetValueType() string { if x != nil { return x.ValueType } return "" } func (x *ConfigListResponse) GetDesc() string { if x != nil { return x.Desc } return "" } func (x *ConfigListResponse) GetOrder() int32 { if x != nil { return x.Order } return 0 } func (x *ConfigListResponse) GetIsEnabled() bool { if x != nil { return x.IsEnabled } return false } func (x *ConfigListResponse) GetUri() string { if x != nil { return x.Uri } return "" } type ConfigItemRequest struct { state protoimpl.MessageState `protogen:"open.v1"` 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ConfigItemRequest) Reset() { *x = ConfigItemRequest{} mi := &file_dr_resource_idl_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ConfigItemRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ConfigItemRequest) ProtoMessage() {} func (x *ConfigItemRequest) ProtoReflect() protoreflect.Message { mi := &file_dr_resource_idl_proto_msgTypes[7] 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 ConfigItemRequest.ProtoReflect.Descriptor instead. func (*ConfigItemRequest) Descriptor() ([]byte, []int) { return file_dr_resource_idl_proto_rawDescGZIP(), []int{7} } func (x *ConfigItemRequest) GetItems() map[string]string { if x != nil { return x.Items } return nil } var File_dr_resource_idl_proto protoreflect.FileDescriptor const file_dr_resource_idl_proto_rawDesc = "" + "\n" + "\x15dr_resource_idl.proto\x12\vdr.resource\"\x0e\n" + "\fEmptyRequest\"o\n" + "\x11SoftwareInfoReply\x12\x16\n" + "\x06module\x18\x01 \x01(\tR\x06module\x12\x12\n" + "\x04desc\x18\x02 \x01(\tR\x04desc\x12\x14\n" + "\x05build\x18\x03 \x01(\tR\x05build\x12\x18\n" + "\aversion\x18\x04 \x01(\tR\aversion\"L\n" + "\x17ConfigOptionListRequest\x12\x12\n" + "\x04flag\x18\x01 \x01(\tR\x04flag\x12\x1d\n" + "\n" + "is_enabled\x18\x02 \x01(\bR\tisEnabled\"\x81\x01\n" + "\fConfigOption\x12\x12\n" + "\x04flag\x18\x01 \x01(\tR\x04flag\x12\x12\n" + "\x04text\x18\x02 \x01(\tR\x04text\x12\x14\n" + "\x05value\x18\x03 \x01(\tR\x05value\x12\x14\n" + "\x05order\x18\x04 \x01(\x05R\x05order\x12\x1d\n" + "\n" + "is_enabled\x18\x05 \x01(\bR\tisEnabled\"V\n" + "\x15ConfigOptionListReply\x12=\n" + "\fconfigOption\x18\x01 \x03(\v2\x19.dr.resource.ConfigOptionR\fconfigOption\"I\n" + "\x11ConfigListRequest\x12\x16\n" + "\x05group\x18\x01 \x01(\tH\x00R\x05group\x12\x12\n" + "\x03key\x18\x02 \x01(\tH\x00R\x03keyB\b\n" + "\x06filter\"\xd5\x01\n" + "\x12ConfigListResponse\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + "\x05value\x18\x02 \x01(\tR\x05value\x12\x1d\n" + "\n" + "option_key\x18\x03 \x01(\tR\toptionKey\x12\x1d\n" + "\n" + "value_type\x18\x04 \x01(\tR\tvalueType\x12\x12\n" + "\x04desc\x18\x05 \x01(\tR\x04desc\x12\x14\n" + "\x05order\x18\x06 \x01(\x05R\x05order\x12\x1d\n" + "\n" + "is_enabled\x18\a \x01(\bR\tisEnabled\x12\x10\n" + "\x03uri\x18\b \x01(\tR\x03uri\"\x8e\x01\n" + "\x11ConfigItemRequest\x12?\n" + "\x05items\x18\x01 \x03(\v2).dr.resource.ConfigItemRequest.ItemsEntryR\x05items\x1a8\n" + "\n" + "ItemsEntry\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x012T\n" + "\x05Basic\x12K\n" + "\fSoftwareInfo\x12\x19.dr.resource.EmptyRequest\x1a\x1e.dr.resource.SoftwareInfoReply\"\x002\x91\x02\n" + "\x06Config\x12^\n" + "\x10ConfigOptionList\x12$.dr.resource.ConfigOptionListRequest\x1a\".dr.resource.ConfigOptionListReply\"\x00\x12O\n" + "\n" + "ConfigList\x12\x1e.dr.resource.ConfigListRequest\x1a\x1f.dr.resource.ConfigListResponse\"\x00\x12V\n" + "\x11UpdateConfigItems\x12\x1e.dr.resource.ConfigItemRequest\x1a\x1f.dr.resource.ConfigListResponse\"\x00B\x11Z\x0fdr_resource_pb/b\x06proto3" var ( file_dr_resource_idl_proto_rawDescOnce sync.Once file_dr_resource_idl_proto_rawDescData []byte ) func file_dr_resource_idl_proto_rawDescGZIP() []byte { file_dr_resource_idl_proto_rawDescOnce.Do(func() { 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))) }) return file_dr_resource_idl_proto_rawDescData } var file_dr_resource_idl_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_dr_resource_idl_proto_goTypes = []any{ (*EmptyRequest)(nil), // 0: dr.resource.EmptyRequest (*SoftwareInfoReply)(nil), // 1: dr.resource.SoftwareInfoReply (*ConfigOptionListRequest)(nil), // 2: dr.resource.ConfigOptionListRequest (*ConfigOption)(nil), // 3: dr.resource.ConfigOption (*ConfigOptionListReply)(nil), // 4: dr.resource.ConfigOptionListReply (*ConfigListRequest)(nil), // 5: dr.resource.ConfigListRequest (*ConfigListResponse)(nil), // 6: dr.resource.ConfigListResponse (*ConfigItemRequest)(nil), // 7: dr.resource.ConfigItemRequest nil, // 8: dr.resource.ConfigItemRequest.ItemsEntry } var file_dr_resource_idl_proto_depIdxs = []int32{ 3, // 0: dr.resource.ConfigOptionListReply.configOption:type_name -> dr.resource.ConfigOption 8, // 1: dr.resource.ConfigItemRequest.items:type_name -> dr.resource.ConfigItemRequest.ItemsEntry 0, // 2: dr.resource.Basic.SoftwareInfo:input_type -> dr.resource.EmptyRequest 2, // 3: dr.resource.Config.ConfigOptionList:input_type -> dr.resource.ConfigOptionListRequest 5, // 4: dr.resource.Config.ConfigList:input_type -> dr.resource.ConfigListRequest 7, // 5: dr.resource.Config.UpdateConfigItems:input_type -> dr.resource.ConfigItemRequest 1, // 6: dr.resource.Basic.SoftwareInfo:output_type -> dr.resource.SoftwareInfoReply 4, // 7: dr.resource.Config.ConfigOptionList:output_type -> dr.resource.ConfigOptionListReply 6, // 8: dr.resource.Config.ConfigList:output_type -> dr.resource.ConfigListResponse 6, // 9: dr.resource.Config.UpdateConfigItems:output_type -> dr.resource.ConfigListResponse 6, // [6:10] is the sub-list for method output_type 2, // [2:6] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name 2, // [2:2] is the sub-list for extension extendee 0, // [0:2] is the sub-list for field type_name } func init() { file_dr_resource_idl_proto_init() } func file_dr_resource_idl_proto_init() { if File_dr_resource_idl_proto != nil { return } file_dr_resource_idl_proto_msgTypes[5].OneofWrappers = []any{ (*ConfigListRequest_Group)(nil), (*ConfigListRequest_Key)(nil), } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_dr_resource_idl_proto_rawDesc), len(file_dr_resource_idl_proto_rawDesc)), NumEnums: 0, NumMessages: 9, NumExtensions: 0, NumServices: 2, }, GoTypes: file_dr_resource_idl_proto_goTypes, DependencyIndexes: file_dr_resource_idl_proto_depIdxs, MessageInfos: file_dr_resource_idl_proto_msgTypes, }.Build() File_dr_resource_idl_proto = out.File file_dr_resource_idl_proto_goTypes = nil file_dr_resource_idl_proto_depIdxs = nil }