dr_dcmtk_idl.pb.go 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  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_dcmtk_idl.proto
  6. package dr_dcmtk_pb
  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 EmptyRequest struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. unknownFields protoimpl.UnknownFields
  23. sizeCache protoimpl.SizeCache
  24. }
  25. func (x *EmptyRequest) Reset() {
  26. *x = EmptyRequest{}
  27. mi := &file_dr_dcmtk_idl_proto_msgTypes[0]
  28. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  29. ms.StoreMessageInfo(mi)
  30. }
  31. func (x *EmptyRequest) String() string {
  32. return protoimpl.X.MessageStringOf(x)
  33. }
  34. func (*EmptyRequest) ProtoMessage() {}
  35. func (x *EmptyRequest) ProtoReflect() protoreflect.Message {
  36. mi := &file_dr_dcmtk_idl_proto_msgTypes[0]
  37. if x != nil {
  38. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  39. if ms.LoadMessageInfo() == nil {
  40. ms.StoreMessageInfo(mi)
  41. }
  42. return ms
  43. }
  44. return mi.MessageOf(x)
  45. }
  46. // Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.
  47. func (*EmptyRequest) Descriptor() ([]byte, []int) {
  48. return file_dr_dcmtk_idl_proto_rawDescGZIP(), []int{0}
  49. }
  50. type SoftwareInfoReply struct {
  51. state protoimpl.MessageState `protogen:"open.v1"`
  52. Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
  53. Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
  54. Build string `protobuf:"bytes,3,opt,name=build,proto3" json:"build,omitempty"`
  55. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
  56. unknownFields protoimpl.UnknownFields
  57. sizeCache protoimpl.SizeCache
  58. }
  59. func (x *SoftwareInfoReply) Reset() {
  60. *x = SoftwareInfoReply{}
  61. mi := &file_dr_dcmtk_idl_proto_msgTypes[1]
  62. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  63. ms.StoreMessageInfo(mi)
  64. }
  65. func (x *SoftwareInfoReply) String() string {
  66. return protoimpl.X.MessageStringOf(x)
  67. }
  68. func (*SoftwareInfoReply) ProtoMessage() {}
  69. func (x *SoftwareInfoReply) ProtoReflect() protoreflect.Message {
  70. mi := &file_dr_dcmtk_idl_proto_msgTypes[1]
  71. if x != nil {
  72. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  73. if ms.LoadMessageInfo() == nil {
  74. ms.StoreMessageInfo(mi)
  75. }
  76. return ms
  77. }
  78. return mi.MessageOf(x)
  79. }
  80. // Deprecated: Use SoftwareInfoReply.ProtoReflect.Descriptor instead.
  81. func (*SoftwareInfoReply) Descriptor() ([]byte, []int) {
  82. return file_dr_dcmtk_idl_proto_rawDescGZIP(), []int{1}
  83. }
  84. func (x *SoftwareInfoReply) GetModule() string {
  85. if x != nil {
  86. return x.Module
  87. }
  88. return ""
  89. }
  90. func (x *SoftwareInfoReply) GetDesc() string {
  91. if x != nil {
  92. return x.Desc
  93. }
  94. return ""
  95. }
  96. func (x *SoftwareInfoReply) GetBuild() string {
  97. if x != nil {
  98. return x.Build
  99. }
  100. return ""
  101. }
  102. func (x *SoftwareInfoReply) GetVersion() string {
  103. if x != nil {
  104. return x.Version
  105. }
  106. return ""
  107. }
  108. type UidRootRequest struct {
  109. state protoimpl.MessageState `protogen:"open.v1"`
  110. UidRoot string `protobuf:"bytes,1,opt,name=uid_root,json=uidRoot,proto3" json:"uid_root,omitempty"`
  111. Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
  112. unknownFields protoimpl.UnknownFields
  113. sizeCache protoimpl.SizeCache
  114. }
  115. func (x *UidRootRequest) Reset() {
  116. *x = UidRootRequest{}
  117. mi := &file_dr_dcmtk_idl_proto_msgTypes[2]
  118. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  119. ms.StoreMessageInfo(mi)
  120. }
  121. func (x *UidRootRequest) String() string {
  122. return protoimpl.X.MessageStringOf(x)
  123. }
  124. func (*UidRootRequest) ProtoMessage() {}
  125. func (x *UidRootRequest) ProtoReflect() protoreflect.Message {
  126. mi := &file_dr_dcmtk_idl_proto_msgTypes[2]
  127. if x != nil {
  128. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  129. if ms.LoadMessageInfo() == nil {
  130. ms.StoreMessageInfo(mi)
  131. }
  132. return ms
  133. }
  134. return mi.MessageOf(x)
  135. }
  136. // Deprecated: Use UidRootRequest.ProtoReflect.Descriptor instead.
  137. func (*UidRootRequest) Descriptor() ([]byte, []int) {
  138. return file_dr_dcmtk_idl_proto_rawDescGZIP(), []int{2}
  139. }
  140. func (x *UidRootRequest) GetUidRoot() string {
  141. if x != nil {
  142. return x.UidRoot
  143. }
  144. return ""
  145. }
  146. func (x *UidRootRequest) GetNumber() int32 {
  147. if x != nil {
  148. return x.Number
  149. }
  150. return 0
  151. }
  152. type UidReply struct {
  153. state protoimpl.MessageState `protogen:"open.v1"`
  154. InstanceUid []string `protobuf:"bytes,1,rep,name=instance_uid,json=instanceUid,proto3" json:"instance_uid,omitempty"`
  155. unknownFields protoimpl.UnknownFields
  156. sizeCache protoimpl.SizeCache
  157. }
  158. func (x *UidReply) Reset() {
  159. *x = UidReply{}
  160. mi := &file_dr_dcmtk_idl_proto_msgTypes[3]
  161. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  162. ms.StoreMessageInfo(mi)
  163. }
  164. func (x *UidReply) String() string {
  165. return protoimpl.X.MessageStringOf(x)
  166. }
  167. func (*UidReply) ProtoMessage() {}
  168. func (x *UidReply) ProtoReflect() protoreflect.Message {
  169. mi := &file_dr_dcmtk_idl_proto_msgTypes[3]
  170. if x != nil {
  171. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  172. if ms.LoadMessageInfo() == nil {
  173. ms.StoreMessageInfo(mi)
  174. }
  175. return ms
  176. }
  177. return mi.MessageOf(x)
  178. }
  179. // Deprecated: Use UidReply.ProtoReflect.Descriptor instead.
  180. func (*UidReply) Descriptor() ([]byte, []int) {
  181. return file_dr_dcmtk_idl_proto_rawDescGZIP(), []int{3}
  182. }
  183. func (x *UidReply) GetInstanceUid() []string {
  184. if x != nil {
  185. return x.InstanceUid
  186. }
  187. return nil
  188. }
  189. var File_dr_dcmtk_idl_proto protoreflect.FileDescriptor
  190. const file_dr_dcmtk_idl_proto_rawDesc = "" +
  191. "\n" +
  192. "\x12dr_dcmtk_idl.proto\x12\bdr.dcmtk\"\x0e\n" +
  193. "\fEmptyRequest\"o\n" +
  194. "\x11SoftwareInfoReply\x12\x16\n" +
  195. "\x06module\x18\x01 \x01(\tR\x06module\x12\x12\n" +
  196. "\x04desc\x18\x02 \x01(\tR\x04desc\x12\x14\n" +
  197. "\x05build\x18\x03 \x01(\tR\x05build\x12\x18\n" +
  198. "\aversion\x18\x04 \x01(\tR\aversion\"C\n" +
  199. "\x0eUidRootRequest\x12\x19\n" +
  200. "\buid_root\x18\x01 \x01(\tR\auidRoot\x12\x16\n" +
  201. "\x06number\x18\x02 \x01(\x05R\x06number\"-\n" +
  202. "\bUidReply\x12!\n" +
  203. "\finstance_uid\x18\x01 \x03(\tR\vinstanceUid2N\n" +
  204. "\x05Basic\x12E\n" +
  205. "\fSoftwareInfo\x12\x16.dr.dcmtk.EmptyRequest\x1a\x1b.dr.dcmtk.SoftwareInfoReply\"\x002Q\n" +
  206. "\x03Dcm\x12J\n" +
  207. "\x18GenerateUniqueIdentifier\x12\x18.dr.dcmtk.UidRootRequest\x1a\x12.dr.dcmtk.UidReply\"\x00B\x0eZ\fdr_dcmtk_pb/b\x06proto3"
  208. var (
  209. file_dr_dcmtk_idl_proto_rawDescOnce sync.Once
  210. file_dr_dcmtk_idl_proto_rawDescData []byte
  211. )
  212. func file_dr_dcmtk_idl_proto_rawDescGZIP() []byte {
  213. file_dr_dcmtk_idl_proto_rawDescOnce.Do(func() {
  214. 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)))
  215. })
  216. return file_dr_dcmtk_idl_proto_rawDescData
  217. }
  218. var file_dr_dcmtk_idl_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  219. var file_dr_dcmtk_idl_proto_goTypes = []any{
  220. (*EmptyRequest)(nil), // 0: dr.dcmtk.EmptyRequest
  221. (*SoftwareInfoReply)(nil), // 1: dr.dcmtk.SoftwareInfoReply
  222. (*UidRootRequest)(nil), // 2: dr.dcmtk.UidRootRequest
  223. (*UidReply)(nil), // 3: dr.dcmtk.UidReply
  224. }
  225. var file_dr_dcmtk_idl_proto_depIdxs = []int32{
  226. 0, // 0: dr.dcmtk.Basic.SoftwareInfo:input_type -> dr.dcmtk.EmptyRequest
  227. 2, // 1: dr.dcmtk.Dcm.GenerateUniqueIdentifier:input_type -> dr.dcmtk.UidRootRequest
  228. 1, // 2: dr.dcmtk.Basic.SoftwareInfo:output_type -> dr.dcmtk.SoftwareInfoReply
  229. 3, // 3: dr.dcmtk.Dcm.GenerateUniqueIdentifier:output_type -> dr.dcmtk.UidReply
  230. 2, // [2:4] is the sub-list for method output_type
  231. 0, // [0:2] is the sub-list for method input_type
  232. 0, // [0:0] is the sub-list for extension type_name
  233. 0, // [0:0] is the sub-list for extension extendee
  234. 0, // [0:0] is the sub-list for field type_name
  235. }
  236. func init() { file_dr_dcmtk_idl_proto_init() }
  237. func file_dr_dcmtk_idl_proto_init() {
  238. if File_dr_dcmtk_idl_proto != nil {
  239. return
  240. }
  241. type x struct{}
  242. out := protoimpl.TypeBuilder{
  243. File: protoimpl.DescBuilder{
  244. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  245. RawDescriptor: unsafe.Slice(unsafe.StringData(file_dr_dcmtk_idl_proto_rawDesc), len(file_dr_dcmtk_idl_proto_rawDesc)),
  246. NumEnums: 0,
  247. NumMessages: 4,
  248. NumExtensions: 0,
  249. NumServices: 2,
  250. },
  251. GoTypes: file_dr_dcmtk_idl_proto_goTypes,
  252. DependencyIndexes: file_dr_dcmtk_idl_proto_depIdxs,
  253. MessageInfos: file_dr_dcmtk_idl_proto_msgTypes,
  254. }.Build()
  255. File_dr_dcmtk_idl_proto = out.File
  256. file_dr_dcmtk_idl_proto_goTypes = nil
  257. file_dr_dcmtk_idl_proto_depIdxs = nil
  258. }