dr_dcmtk_idl.pb.go 7.8 KB

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