123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.6
- // protoc v6.31.0
- // source: dr_dcmtk_idl.proto
- package dr_dcmtk_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_dcmtk_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_dcmtk_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_dcmtk_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_dcmtk_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_dcmtk_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_dcmtk_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 UidRootRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- UidRoot string `protobuf:"bytes,1,opt,name=uid_root,json=uidRoot,proto3" json:"uid_root,omitempty"`
- Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *UidRootRequest) Reset() {
- *x = UidRootRequest{}
- mi := &file_dr_dcmtk_idl_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *UidRootRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UidRootRequest) ProtoMessage() {}
- func (x *UidRootRequest) ProtoReflect() protoreflect.Message {
- mi := &file_dr_dcmtk_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 UidRootRequest.ProtoReflect.Descriptor instead.
- func (*UidRootRequest) Descriptor() ([]byte, []int) {
- return file_dr_dcmtk_idl_proto_rawDescGZIP(), []int{2}
- }
- func (x *UidRootRequest) GetUidRoot() string {
- if x != nil {
- return x.UidRoot
- }
- return ""
- }
- func (x *UidRootRequest) GetNumber() int32 {
- if x != nil {
- return x.Number
- }
- return 0
- }
- type UidReply struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- InstanceUid []string `protobuf:"bytes,1,rep,name=instance_uid,json=instanceUid,proto3" json:"instance_uid,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *UidReply) Reset() {
- *x = UidReply{}
- mi := &file_dr_dcmtk_idl_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *UidReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UidReply) ProtoMessage() {}
- func (x *UidReply) ProtoReflect() protoreflect.Message {
- mi := &file_dr_dcmtk_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 UidReply.ProtoReflect.Descriptor instead.
- func (*UidReply) Descriptor() ([]byte, []int) {
- return file_dr_dcmtk_idl_proto_rawDescGZIP(), []int{3}
- }
- func (x *UidReply) GetInstanceUid() []string {
- if x != nil {
- return x.InstanceUid
- }
- return nil
- }
- var File_dr_dcmtk_idl_proto protoreflect.FileDescriptor
- const file_dr_dcmtk_idl_proto_rawDesc = "" +
- "\n" +
- "\x12dr_dcmtk_idl.proto\x12\bdr.dcmtk\"\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\"C\n" +
- "\x0eUidRootRequest\x12\x19\n" +
- "\buid_root\x18\x01 \x01(\tR\auidRoot\x12\x16\n" +
- "\x06number\x18\x02 \x01(\x05R\x06number\"-\n" +
- "\bUidReply\x12!\n" +
- "\finstance_uid\x18\x01 \x03(\tR\vinstanceUid2N\n" +
- "\x05Basic\x12E\n" +
- "\fSoftwareInfo\x12\x16.dr.dcmtk.EmptyRequest\x1a\x1b.dr.dcmtk.SoftwareInfoReply\"\x002Q\n" +
- "\x03Dcm\x12J\n" +
- "\x18GenerateUniqueIdentifier\x12\x18.dr.dcmtk.UidRootRequest\x1a\x12.dr.dcmtk.UidReply\"\x00B\x0eZ\fdr_dcmtk_pb/b\x06proto3"
- var (
- file_dr_dcmtk_idl_proto_rawDescOnce sync.Once
- file_dr_dcmtk_idl_proto_rawDescData []byte
- )
- func file_dr_dcmtk_idl_proto_rawDescGZIP() []byte {
- file_dr_dcmtk_idl_proto_rawDescOnce.Do(func() {
- file_dr_dcmtk_idl_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dr_dcmtk_idl_proto_rawDesc), len(file_dr_dcmtk_idl_proto_rawDesc)))
- })
- return file_dr_dcmtk_idl_proto_rawDescData
- }
- var file_dr_dcmtk_idl_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
- var file_dr_dcmtk_idl_proto_goTypes = []any{
- (*EmptyRequest)(nil), // 0: dr.dcmtk.EmptyRequest
- (*SoftwareInfoReply)(nil), // 1: dr.dcmtk.SoftwareInfoReply
- (*UidRootRequest)(nil), // 2: dr.dcmtk.UidRootRequest
- (*UidReply)(nil), // 3: dr.dcmtk.UidReply
- }
- var file_dr_dcmtk_idl_proto_depIdxs = []int32{
- 0, // 0: dr.dcmtk.Basic.SoftwareInfo:input_type -> dr.dcmtk.EmptyRequest
- 2, // 1: dr.dcmtk.Dcm.GenerateUniqueIdentifier:input_type -> dr.dcmtk.UidRootRequest
- 1, // 2: dr.dcmtk.Basic.SoftwareInfo:output_type -> dr.dcmtk.SoftwareInfoReply
- 3, // 3: dr.dcmtk.Dcm.GenerateUniqueIdentifier:output_type -> dr.dcmtk.UidReply
- 2, // [2:4] is the sub-list for method output_type
- 0, // [0:2] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
- }
- func init() { file_dr_dcmtk_idl_proto_init() }
- func file_dr_dcmtk_idl_proto_init() {
- if File_dr_dcmtk_idl_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_dr_dcmtk_idl_proto_rawDesc), len(file_dr_dcmtk_idl_proto_rawDesc)),
- NumEnums: 0,
- NumMessages: 4,
- NumExtensions: 0,
- NumServices: 2,
- },
- GoTypes: file_dr_dcmtk_idl_proto_goTypes,
- DependencyIndexes: file_dr_dcmtk_idl_proto_depIdxs,
- MessageInfos: file_dr_dcmtk_idl_proto_msgTypes,
- }.Build()
- File_dr_dcmtk_idl_proto = out.File
- file_dr_dcmtk_idl_proto_goTypes = nil
- file_dr_dcmtk_idl_proto_depIdxs = nil
- }
|