|
@@ -9,7 +9,6 @@ package dr_protocol_pb
|
|
|
import (
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
- anypb "google.golang.org/protobuf/types/known/anypb"
|
|
|
structpb "google.golang.org/protobuf/types/known/structpb"
|
|
|
reflect "reflect"
|
|
|
sync "sync"
|
|
@@ -163,68 +162,16 @@ func (x *OptionRequest) GetFlag() string {
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-type Option struct {
|
|
|
- state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
- Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
|
|
|
- Value *anypb.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Option) Reset() {
|
|
|
- *x = Option{}
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[3]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Option) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*Option) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *Option) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_dr_protocol_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 Option.ProtoReflect.Descriptor instead.
|
|
|
-func (*Option) Descriptor() ([]byte, []int) {
|
|
|
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{3}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Option) GetText() string {
|
|
|
- if x != nil {
|
|
|
- return x.Text
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Option) GetValue() *anypb.Any {
|
|
|
- if x != nil {
|
|
|
- return x.Value
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
type OptionReply struct {
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
- Option []*Option `protobuf:"bytes,1,rep,name=option,proto3" json:"option,omitempty"`
|
|
|
+ Option []*structpb.Struct `protobuf:"bytes,1,rep,name=option,proto3" json:"option,omitempty"`
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
}
|
|
|
|
|
|
func (x *OptionReply) Reset() {
|
|
|
*x = OptionReply{}
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[4]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[3]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -236,7 +183,7 @@ func (x *OptionReply) String() string {
|
|
|
func (*OptionReply) ProtoMessage() {}
|
|
|
|
|
|
func (x *OptionReply) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[4]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[3]
|
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -249,10 +196,10 @@ func (x *OptionReply) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use OptionReply.ProtoReflect.Descriptor instead.
|
|
|
func (*OptionReply) Descriptor() ([]byte, []int) {
|
|
|
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{4}
|
|
|
+ return file_dr_protocol_idl_proto_rawDescGZIP(), []int{3}
|
|
|
}
|
|
|
|
|
|
-func (x *OptionReply) GetOption() []*Option {
|
|
|
+func (x *OptionReply) GetOption() []*structpb.Struct {
|
|
|
if x != nil {
|
|
|
return x.Option
|
|
|
}
|
|
@@ -271,7 +218,7 @@ type SoftwareInfoReply struct {
|
|
|
|
|
|
func (x *SoftwareInfoReply) Reset() {
|
|
|
*x = SoftwareInfoReply{}
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[5]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[4]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -283,7 +230,7 @@ func (x *SoftwareInfoReply) String() string {
|
|
|
func (*SoftwareInfoReply) ProtoMessage() {}
|
|
|
|
|
|
func (x *SoftwareInfoReply) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[5]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[4]
|
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -296,7 +243,7 @@ func (x *SoftwareInfoReply) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use SoftwareInfoReply.ProtoReflect.Descriptor instead.
|
|
|
func (*SoftwareInfoReply) Descriptor() ([]byte, []int) {
|
|
|
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{5}
|
|
|
+ return file_dr_protocol_idl_proto_rawDescGZIP(), []int{4}
|
|
|
}
|
|
|
|
|
|
func (x *SoftwareInfoReply) GetModule() string {
|
|
@@ -337,7 +284,7 @@ type PatientTypeRequest struct {
|
|
|
|
|
|
func (x *PatientTypeRequest) Reset() {
|
|
|
*x = PatientTypeRequest{}
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[6]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[5]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -349,7 +296,7 @@ func (x *PatientTypeRequest) String() string {
|
|
|
func (*PatientTypeRequest) ProtoMessage() {}
|
|
|
|
|
|
func (x *PatientTypeRequest) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[6]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[5]
|
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -362,7 +309,7 @@ func (x *PatientTypeRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use PatientTypeRequest.ProtoReflect.Descriptor instead.
|
|
|
func (*PatientTypeRequest) Descriptor() ([]byte, []int) {
|
|
|
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{6}
|
|
|
+ return file_dr_protocol_idl_proto_rawDescGZIP(), []int{5}
|
|
|
}
|
|
|
|
|
|
func (x *PatientTypeRequest) GetIsEnabled() bool {
|
|
@@ -396,7 +343,7 @@ type PatientType struct {
|
|
|
|
|
|
func (x *PatientType) Reset() {
|
|
|
*x = PatientType{}
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[7]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[6]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -408,7 +355,7 @@ func (x *PatientType) String() string {
|
|
|
func (*PatientType) ProtoMessage() {}
|
|
|
|
|
|
func (x *PatientType) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[7]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[6]
|
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -421,7 +368,7 @@ func (x *PatientType) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use PatientType.ProtoReflect.Descriptor instead.
|
|
|
func (*PatientType) Descriptor() ([]byte, []int) {
|
|
|
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{7}
|
|
|
+ return file_dr_protocol_idl_proto_rawDescGZIP(), []int{6}
|
|
|
}
|
|
|
|
|
|
func (x *PatientType) GetId() uint64 {
|
|
@@ -496,7 +443,7 @@ type PatientTypeReply struct {
|
|
|
|
|
|
func (x *PatientTypeReply) Reset() {
|
|
|
*x = PatientTypeReply{}
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[8]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[7]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -508,7 +455,7 @@ func (x *PatientTypeReply) String() string {
|
|
|
func (*PatientTypeReply) ProtoMessage() {}
|
|
|
|
|
|
func (x *PatientTypeReply) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[8]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[7]
|
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -521,7 +468,7 @@ func (x *PatientTypeReply) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use PatientTypeReply.ProtoReflect.Descriptor instead.
|
|
|
func (*PatientTypeReply) Descriptor() ([]byte, []int) {
|
|
|
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{8}
|
|
|
+ return file_dr_protocol_idl_proto_rawDescGZIP(), []int{7}
|
|
|
}
|
|
|
|
|
|
func (x *PatientTypeReply) GetPatientTypeList() []*PatientType {
|
|
@@ -543,7 +490,7 @@ type BodyPartRequest struct {
|
|
|
|
|
|
func (x *BodyPartRequest) Reset() {
|
|
|
*x = BodyPartRequest{}
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[9]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[8]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -555,7 +502,7 @@ func (x *BodyPartRequest) String() string {
|
|
|
func (*BodyPartRequest) ProtoMessage() {}
|
|
|
|
|
|
func (x *BodyPartRequest) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[9]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[8]
|
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -568,7 +515,7 @@ func (x *BodyPartRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use BodyPartRequest.ProtoReflect.Descriptor instead.
|
|
|
func (*BodyPartRequest) Descriptor() ([]byte, []int) {
|
|
|
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{9}
|
|
|
+ return file_dr_protocol_idl_proto_rawDescGZIP(), []int{8}
|
|
|
}
|
|
|
|
|
|
func (x *BodyPartRequest) GetPatientType() string {
|
|
@@ -618,7 +565,7 @@ type BodyPart struct {
|
|
|
|
|
|
func (x *BodyPart) Reset() {
|
|
|
*x = BodyPart{}
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[10]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[9]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -630,7 +577,7 @@ func (x *BodyPart) String() string {
|
|
|
func (*BodyPart) ProtoMessage() {}
|
|
|
|
|
|
func (x *BodyPart) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[10]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[9]
|
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -643,7 +590,7 @@ func (x *BodyPart) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use BodyPart.ProtoReflect.Descriptor instead.
|
|
|
func (*BodyPart) Descriptor() ([]byte, []int) {
|
|
|
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{10}
|
|
|
+ return file_dr_protocol_idl_proto_rawDescGZIP(), []int{9}
|
|
|
}
|
|
|
|
|
|
func (x *BodyPart) GetId() uint64 {
|
|
@@ -732,7 +679,7 @@ type BodyPartReply struct {
|
|
|
|
|
|
func (x *BodyPartReply) Reset() {
|
|
|
*x = BodyPartReply{}
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[11]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[10]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -744,7 +691,7 @@ func (x *BodyPartReply) String() string {
|
|
|
func (*BodyPartReply) ProtoMessage() {}
|
|
|
|
|
|
func (x *BodyPartReply) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[11]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[10]
|
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -757,7 +704,7 @@ func (x *BodyPartReply) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use BodyPartReply.ProtoReflect.Descriptor instead.
|
|
|
func (*BodyPartReply) Descriptor() ([]byte, []int) {
|
|
|
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{11}
|
|
|
+ return file_dr_protocol_idl_proto_rawDescGZIP(), []int{10}
|
|
|
}
|
|
|
|
|
|
func (x *BodyPartReply) GetBodyPartList() []*BodyPart {
|
|
@@ -780,7 +727,7 @@ type ProcedureRequest struct {
|
|
|
|
|
|
func (x *ProcedureRequest) Reset() {
|
|
|
*x = ProcedureRequest{}
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[12]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[11]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -792,7 +739,7 @@ func (x *ProcedureRequest) String() string {
|
|
|
func (*ProcedureRequest) ProtoMessage() {}
|
|
|
|
|
|
func (x *ProcedureRequest) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[12]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[11]
|
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -805,7 +752,7 @@ func (x *ProcedureRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use ProcedureRequest.ProtoReflect.Descriptor instead.
|
|
|
func (*ProcedureRequest) Descriptor() ([]byte, []int) {
|
|
|
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{12}
|
|
|
+ return file_dr_protocol_idl_proto_rawDescGZIP(), []int{11}
|
|
|
}
|
|
|
|
|
|
func (x *ProcedureRequest) GetPatientType() string {
|
|
@@ -870,7 +817,7 @@ type Procedure struct {
|
|
|
|
|
|
func (x *Procedure) Reset() {
|
|
|
*x = Procedure{}
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[13]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[12]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -882,7 +829,7 @@ func (x *Procedure) String() string {
|
|
|
func (*Procedure) ProtoMessage() {}
|
|
|
|
|
|
func (x *Procedure) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[13]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[12]
|
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -895,7 +842,7 @@ func (x *Procedure) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use Procedure.ProtoReflect.Descriptor instead.
|
|
|
func (*Procedure) Descriptor() ([]byte, []int) {
|
|
|
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{13}
|
|
|
+ return file_dr_protocol_idl_proto_rawDescGZIP(), []int{12}
|
|
|
}
|
|
|
|
|
|
func (x *Procedure) GetId() uint64 {
|
|
@@ -1040,7 +987,7 @@ type ProcedureReply struct {
|
|
|
|
|
|
func (x *ProcedureReply) Reset() {
|
|
|
*x = ProcedureReply{}
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[14]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[13]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -1052,7 +999,7 @@ func (x *ProcedureReply) String() string {
|
|
|
func (*ProcedureReply) ProtoMessage() {}
|
|
|
|
|
|
func (x *ProcedureReply) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[14]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[13]
|
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -1065,7 +1012,7 @@ func (x *ProcedureReply) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use ProcedureReply.ProtoReflect.Descriptor instead.
|
|
|
func (*ProcedureReply) Descriptor() ([]byte, []int) {
|
|
|
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{14}
|
|
|
+ return file_dr_protocol_idl_proto_rawDescGZIP(), []int{13}
|
|
|
}
|
|
|
|
|
|
func (x *ProcedureReply) GetProcedureList() []*Procedure {
|
|
@@ -1089,7 +1036,7 @@ type ViewRequest struct {
|
|
|
|
|
|
func (x *ViewRequest) Reset() {
|
|
|
*x = ViewRequest{}
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[15]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[14]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -1101,7 +1048,7 @@ func (x *ViewRequest) String() string {
|
|
|
func (*ViewRequest) ProtoMessage() {}
|
|
|
|
|
|
func (x *ViewRequest) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[15]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[14]
|
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -1114,7 +1061,7 @@ func (x *ViewRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use ViewRequest.ProtoReflect.Descriptor instead.
|
|
|
func (*ViewRequest) Descriptor() ([]byte, []int) {
|
|
|
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{15}
|
|
|
+ return file_dr_protocol_idl_proto_rawDescGZIP(), []int{14}
|
|
|
}
|
|
|
|
|
|
func (x *ViewRequest) GetPatientType() string {
|
|
@@ -1190,7 +1137,7 @@ type View struct {
|
|
|
|
|
|
func (x *View) Reset() {
|
|
|
*x = View{}
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[16]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[15]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -1202,7 +1149,7 @@ func (x *View) String() string {
|
|
|
func (*View) ProtoMessage() {}
|
|
|
|
|
|
func (x *View) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[16]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[15]
|
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -1215,7 +1162,7 @@ func (x *View) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use View.ProtoReflect.Descriptor instead.
|
|
|
func (*View) Descriptor() ([]byte, []int) {
|
|
|
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{16}
|
|
|
+ return file_dr_protocol_idl_proto_rawDescGZIP(), []int{15}
|
|
|
}
|
|
|
|
|
|
func (x *View) GetInternalId() string {
|
|
@@ -1388,7 +1335,7 @@ type ViewReply struct {
|
|
|
|
|
|
func (x *ViewReply) Reset() {
|
|
|
*x = ViewReply{}
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[17]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[16]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -1400,7 +1347,7 @@ func (x *ViewReply) String() string {
|
|
|
func (*ViewReply) ProtoMessage() {}
|
|
|
|
|
|
func (x *ViewReply) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[17]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[16]
|
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -1413,7 +1360,7 @@ func (x *ViewReply) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use ViewReply.ProtoReflect.Descriptor instead.
|
|
|
func (*ViewReply) Descriptor() ([]byte, []int) {
|
|
|
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{17}
|
|
|
+ return file_dr_protocol_idl_proto_rawDescGZIP(), []int{16}
|
|
|
}
|
|
|
|
|
|
func (x *ViewReply) GetViewList() []*View {
|
|
@@ -1434,7 +1381,7 @@ type AprRequest struct {
|
|
|
|
|
|
func (x *AprRequest) Reset() {
|
|
|
*x = AprRequest{}
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[18]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[17]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -1446,7 +1393,7 @@ func (x *AprRequest) String() string {
|
|
|
func (*AprRequest) ProtoMessage() {}
|
|
|
|
|
|
func (x *AprRequest) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[18]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[17]
|
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -1459,7 +1406,7 @@ func (x *AprRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use AprRequest.ProtoReflect.Descriptor instead.
|
|
|
func (*AprRequest) Descriptor() ([]byte, []int) {
|
|
|
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{18}
|
|
|
+ return file_dr_protocol_idl_proto_rawDescGZIP(), []int{17}
|
|
|
}
|
|
|
|
|
|
func (x *AprRequest) GetViewId() string {
|
|
@@ -1494,7 +1441,7 @@ type AprSub struct {
|
|
|
|
|
|
func (x *AprSub) Reset() {
|
|
|
*x = AprSub{}
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[19]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[18]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -1506,7 +1453,7 @@ func (x *AprSub) String() string {
|
|
|
func (*AprSub) ProtoMessage() {}
|
|
|
|
|
|
func (x *AprSub) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[19]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[18]
|
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -1519,7 +1466,7 @@ func (x *AprSub) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use AprSub.ProtoReflect.Descriptor instead.
|
|
|
func (*AprSub) Descriptor() ([]byte, []int) {
|
|
|
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{19}
|
|
|
+ return file_dr_protocol_idl_proto_rawDescGZIP(), []int{18}
|
|
|
}
|
|
|
|
|
|
func (x *AprSub) GetWorkStationId() int32 {
|
|
@@ -1564,7 +1511,7 @@ type AprReply struct {
|
|
|
|
|
|
func (x *AprReply) Reset() {
|
|
|
*x = AprReply{}
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[20]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[19]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -1576,7 +1523,7 @@ func (x *AprReply) String() string {
|
|
|
func (*AprReply) ProtoMessage() {}
|
|
|
|
|
|
func (x *AprReply) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_dr_protocol_idl_proto_msgTypes[20]
|
|
|
+ mi := &file_dr_protocol_idl_proto_msgTypes[19]
|
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -1589,7 +1536,7 @@ func (x *AprReply) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use AprReply.ProtoReflect.Descriptor instead.
|
|
|
func (*AprReply) Descriptor() ([]byte, []int) {
|
|
|
- return file_dr_protocol_idl_proto_rawDescGZIP(), []int{20}
|
|
|
+ return file_dr_protocol_idl_proto_rawDescGZIP(), []int{19}
|
|
|
}
|
|
|
|
|
|
func (x *AprReply) GetAprId() string {
|
|
@@ -1687,7 +1634,7 @@ var File_dr_protocol_idl_proto protoreflect.FileDescriptor
|
|
|
|
|
|
const file_dr_protocol_idl_proto_rawDesc = "" +
|
|
|
"\n" +
|
|
|
- "\x15dr_protocol_idl.proto\x12\vdr.protocol\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x0e\n" +
|
|
|
+ "\x15dr_protocol_idl.proto\x12\vdr.protocol\x1a\x1cgoogle/protobuf/struct.proto\"\x0e\n" +
|
|
|
"\fEmptyRequest\"]\n" +
|
|
|
"\tIDRequest\x12\x13\n" +
|
|
|
"\x02id\x18\x01 \x01(\rH\x00R\x02id\x88\x01\x01\x12$\n" +
|
|
@@ -1697,12 +1644,9 @@ const file_dr_protocol_idl_proto_rawDesc = "" +
|
|
|
"\f_instance_id\"9\n" +
|
|
|
"\rOptionRequest\x12\x14\n" +
|
|
|
"\x05group\x18\x01 \x01(\tR\x05group\x12\x12\n" +
|
|
|
- "\x04flag\x18\x02 \x01(\tR\x04flag\"H\n" +
|
|
|
- "\x06Option\x12\x12\n" +
|
|
|
- "\x04text\x18\x01 \x01(\tR\x04text\x12*\n" +
|
|
|
- "\x05value\x18\x02 \x01(\v2\x14.google.protobuf.AnyR\x05value\":\n" +
|
|
|
- "\vOptionReply\x12+\n" +
|
|
|
- "\x06option\x18\x01 \x03(\v2\x13.dr.protocol.OptionR\x06option\"o\n" +
|
|
|
+ "\x04flag\x18\x02 \x01(\tR\x04flag\">\n" +
|
|
|
+ "\vOptionReply\x12/\n" +
|
|
|
+ "\x06option\x18\x01 \x03(\v2\x17.google.protobuf.StructR\x06option\"o\n" +
|
|
|
"\x11SoftwareInfoReply\x12\x16\n" +
|
|
|
"\x06module\x18\x01 \x01(\tR\x06module\x12\x12\n" +
|
|
|
"\x04desc\x18\x02 \x01(\tR\x04desc\x12\x14\n" +
|
|
@@ -1895,65 +1839,62 @@ func file_dr_protocol_idl_proto_rawDescGZIP() []byte {
|
|
|
return file_dr_protocol_idl_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
-var file_dr_protocol_idl_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
|
|
|
+var file_dr_protocol_idl_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
|
|
|
var file_dr_protocol_idl_proto_goTypes = []any{
|
|
|
(*EmptyRequest)(nil), // 0: dr.protocol.EmptyRequest
|
|
|
(*IDRequest)(nil), // 1: dr.protocol.IDRequest
|
|
|
(*OptionRequest)(nil), // 2: dr.protocol.OptionRequest
|
|
|
- (*Option)(nil), // 3: dr.protocol.Option
|
|
|
- (*OptionReply)(nil), // 4: dr.protocol.OptionReply
|
|
|
- (*SoftwareInfoReply)(nil), // 5: dr.protocol.SoftwareInfoReply
|
|
|
- (*PatientTypeRequest)(nil), // 6: dr.protocol.PatientTypeRequest
|
|
|
- (*PatientType)(nil), // 7: dr.protocol.PatientType
|
|
|
- (*PatientTypeReply)(nil), // 8: dr.protocol.PatientTypeReply
|
|
|
- (*BodyPartRequest)(nil), // 9: dr.protocol.BodyPartRequest
|
|
|
- (*BodyPart)(nil), // 10: dr.protocol.BodyPart
|
|
|
- (*BodyPartReply)(nil), // 11: dr.protocol.BodyPartReply
|
|
|
- (*ProcedureRequest)(nil), // 12: dr.protocol.ProcedureRequest
|
|
|
- (*Procedure)(nil), // 13: dr.protocol.Procedure
|
|
|
- (*ProcedureReply)(nil), // 14: dr.protocol.ProcedureReply
|
|
|
- (*ViewRequest)(nil), // 15: dr.protocol.ViewRequest
|
|
|
- (*View)(nil), // 16: dr.protocol.View
|
|
|
- (*ViewReply)(nil), // 17: dr.protocol.ViewReply
|
|
|
- (*AprRequest)(nil), // 18: dr.protocol.AprRequest
|
|
|
- (*AprSub)(nil), // 19: dr.protocol.AprSub
|
|
|
- (*AprReply)(nil), // 20: dr.protocol.AprReply
|
|
|
- (*anypb.Any)(nil), // 21: google.protobuf.Any
|
|
|
- (*structpb.Struct)(nil), // 22: google.protobuf.Struct
|
|
|
+ (*OptionReply)(nil), // 3: dr.protocol.OptionReply
|
|
|
+ (*SoftwareInfoReply)(nil), // 4: dr.protocol.SoftwareInfoReply
|
|
|
+ (*PatientTypeRequest)(nil), // 5: dr.protocol.PatientTypeRequest
|
|
|
+ (*PatientType)(nil), // 6: dr.protocol.PatientType
|
|
|
+ (*PatientTypeReply)(nil), // 7: dr.protocol.PatientTypeReply
|
|
|
+ (*BodyPartRequest)(nil), // 8: dr.protocol.BodyPartRequest
|
|
|
+ (*BodyPart)(nil), // 9: dr.protocol.BodyPart
|
|
|
+ (*BodyPartReply)(nil), // 10: dr.protocol.BodyPartReply
|
|
|
+ (*ProcedureRequest)(nil), // 11: dr.protocol.ProcedureRequest
|
|
|
+ (*Procedure)(nil), // 12: dr.protocol.Procedure
|
|
|
+ (*ProcedureReply)(nil), // 13: dr.protocol.ProcedureReply
|
|
|
+ (*ViewRequest)(nil), // 14: dr.protocol.ViewRequest
|
|
|
+ (*View)(nil), // 15: dr.protocol.View
|
|
|
+ (*ViewReply)(nil), // 16: dr.protocol.ViewReply
|
|
|
+ (*AprRequest)(nil), // 17: dr.protocol.AprRequest
|
|
|
+ (*AprSub)(nil), // 18: dr.protocol.AprSub
|
|
|
+ (*AprReply)(nil), // 19: dr.protocol.AprReply
|
|
|
+ (*structpb.Struct)(nil), // 20: google.protobuf.Struct
|
|
|
}
|
|
|
var file_dr_protocol_idl_proto_depIdxs = []int32{
|
|
|
- 21, // 0: dr.protocol.Option.value:type_name -> google.protobuf.Any
|
|
|
- 3, // 1: dr.protocol.OptionReply.option:type_name -> dr.protocol.Option
|
|
|
- 7, // 2: dr.protocol.PatientTypeReply.patient_type_list:type_name -> dr.protocol.PatientType
|
|
|
- 10, // 3: dr.protocol.BodyPartReply.body_part_list:type_name -> dr.protocol.BodyPart
|
|
|
- 13, // 4: dr.protocol.ProcedureReply.procedure_list:type_name -> dr.protocol.Procedure
|
|
|
- 22, // 5: dr.protocol.View.config_object:type_name -> google.protobuf.Struct
|
|
|
- 16, // 6: dr.protocol.ViewReply.view_list:type_name -> dr.protocol.View
|
|
|
- 22, // 7: dr.protocol.AprSub.config_object:type_name -> google.protobuf.Struct
|
|
|
- 19, // 8: dr.protocol.AprReply.sub:type_name -> dr.protocol.AprSub
|
|
|
- 0, // 9: dr.protocol.Basic.SoftwareInfo:input_type -> dr.protocol.EmptyRequest
|
|
|
- 2, // 10: dr.protocol.Basic.GetOptions:input_type -> dr.protocol.OptionRequest
|
|
|
- 6, // 11: dr.protocol.Protocol.GetPatientTypeList:input_type -> dr.protocol.PatientTypeRequest
|
|
|
- 9, // 12: dr.protocol.Protocol.GetBodyPartList:input_type -> dr.protocol.BodyPartRequest
|
|
|
- 12, // 13: dr.protocol.Protocol.GetProcedureList:input_type -> dr.protocol.ProcedureRequest
|
|
|
- 1, // 14: dr.protocol.Protocol.GetProcedure:input_type -> dr.protocol.IDRequest
|
|
|
- 15, // 15: dr.protocol.Protocol.GetViewList:input_type -> dr.protocol.ViewRequest
|
|
|
- 1, // 16: dr.protocol.Protocol.GetView:input_type -> dr.protocol.IDRequest
|
|
|
- 18, // 17: dr.protocol.Apr.GetApr:input_type -> dr.protocol.AprRequest
|
|
|
- 5, // 18: dr.protocol.Basic.SoftwareInfo:output_type -> dr.protocol.SoftwareInfoReply
|
|
|
- 4, // 19: dr.protocol.Basic.GetOptions:output_type -> dr.protocol.OptionReply
|
|
|
- 8, // 20: dr.protocol.Protocol.GetPatientTypeList:output_type -> dr.protocol.PatientTypeReply
|
|
|
- 11, // 21: dr.protocol.Protocol.GetBodyPartList:output_type -> dr.protocol.BodyPartReply
|
|
|
- 14, // 22: dr.protocol.Protocol.GetProcedureList:output_type -> dr.protocol.ProcedureReply
|
|
|
- 13, // 23: dr.protocol.Protocol.GetProcedure:output_type -> dr.protocol.Procedure
|
|
|
- 17, // 24: dr.protocol.Protocol.GetViewList:output_type -> dr.protocol.ViewReply
|
|
|
- 16, // 25: dr.protocol.Protocol.GetView:output_type -> dr.protocol.View
|
|
|
- 20, // 26: dr.protocol.Apr.GetApr:output_type -> dr.protocol.AprReply
|
|
|
- 18, // [18:27] is the sub-list for method output_type
|
|
|
- 9, // [9:18] is the sub-list for method input_type
|
|
|
- 9, // [9:9] is the sub-list for extension type_name
|
|
|
- 9, // [9:9] is the sub-list for extension extendee
|
|
|
- 0, // [0:9] is the sub-list for field type_name
|
|
|
+ 20, // 0: dr.protocol.OptionReply.option:type_name -> google.protobuf.Struct
|
|
|
+ 6, // 1: dr.protocol.PatientTypeReply.patient_type_list:type_name -> dr.protocol.PatientType
|
|
|
+ 9, // 2: dr.protocol.BodyPartReply.body_part_list:type_name -> dr.protocol.BodyPart
|
|
|
+ 12, // 3: dr.protocol.ProcedureReply.procedure_list:type_name -> dr.protocol.Procedure
|
|
|
+ 20, // 4: dr.protocol.View.config_object:type_name -> google.protobuf.Struct
|
|
|
+ 15, // 5: dr.protocol.ViewReply.view_list:type_name -> dr.protocol.View
|
|
|
+ 20, // 6: dr.protocol.AprSub.config_object:type_name -> google.protobuf.Struct
|
|
|
+ 18, // 7: dr.protocol.AprReply.sub:type_name -> dr.protocol.AprSub
|
|
|
+ 0, // 8: dr.protocol.Basic.SoftwareInfo:input_type -> dr.protocol.EmptyRequest
|
|
|
+ 2, // 9: dr.protocol.Basic.GetOptions:input_type -> dr.protocol.OptionRequest
|
|
|
+ 5, // 10: dr.protocol.Protocol.GetPatientTypeList:input_type -> dr.protocol.PatientTypeRequest
|
|
|
+ 8, // 11: dr.protocol.Protocol.GetBodyPartList:input_type -> dr.protocol.BodyPartRequest
|
|
|
+ 11, // 12: dr.protocol.Protocol.GetProcedureList:input_type -> dr.protocol.ProcedureRequest
|
|
|
+ 1, // 13: dr.protocol.Protocol.GetProcedure:input_type -> dr.protocol.IDRequest
|
|
|
+ 14, // 14: dr.protocol.Protocol.GetViewList:input_type -> dr.protocol.ViewRequest
|
|
|
+ 1, // 15: dr.protocol.Protocol.GetView:input_type -> dr.protocol.IDRequest
|
|
|
+ 17, // 16: dr.protocol.Apr.GetApr:input_type -> dr.protocol.AprRequest
|
|
|
+ 4, // 17: dr.protocol.Basic.SoftwareInfo:output_type -> dr.protocol.SoftwareInfoReply
|
|
|
+ 3, // 18: dr.protocol.Basic.GetOptions:output_type -> dr.protocol.OptionReply
|
|
|
+ 7, // 19: dr.protocol.Protocol.GetPatientTypeList:output_type -> dr.protocol.PatientTypeReply
|
|
|
+ 10, // 20: dr.protocol.Protocol.GetBodyPartList:output_type -> dr.protocol.BodyPartReply
|
|
|
+ 13, // 21: dr.protocol.Protocol.GetProcedureList:output_type -> dr.protocol.ProcedureReply
|
|
|
+ 12, // 22: dr.protocol.Protocol.GetProcedure:output_type -> dr.protocol.Procedure
|
|
|
+ 16, // 23: dr.protocol.Protocol.GetViewList:output_type -> dr.protocol.ViewReply
|
|
|
+ 15, // 24: dr.protocol.Protocol.GetView:output_type -> dr.protocol.View
|
|
|
+ 19, // 25: dr.protocol.Apr.GetApr:output_type -> dr.protocol.AprReply
|
|
|
+ 17, // [17:26] is the sub-list for method output_type
|
|
|
+ 8, // [8:17] is the sub-list for method input_type
|
|
|
+ 8, // [8:8] is the sub-list for extension type_name
|
|
|
+ 8, // [8:8] is the sub-list for extension extendee
|
|
|
+ 0, // [0:8] is the sub-list for field type_name
|
|
|
}
|
|
|
|
|
|
func init() { file_dr_protocol_idl_proto_init() }
|
|
@@ -1962,18 +1903,18 @@ func file_dr_protocol_idl_proto_init() {
|
|
|
return
|
|
|
}
|
|
|
file_dr_protocol_idl_proto_msgTypes[1].OneofWrappers = []any{}
|
|
|
- file_dr_protocol_idl_proto_msgTypes[6].OneofWrappers = []any{}
|
|
|
- file_dr_protocol_idl_proto_msgTypes[9].OneofWrappers = []any{}
|
|
|
- file_dr_protocol_idl_proto_msgTypes[12].OneofWrappers = []any{}
|
|
|
- file_dr_protocol_idl_proto_msgTypes[15].OneofWrappers = []any{}
|
|
|
- file_dr_protocol_idl_proto_msgTypes[18].OneofWrappers = []any{}
|
|
|
+ file_dr_protocol_idl_proto_msgTypes[5].OneofWrappers = []any{}
|
|
|
+ file_dr_protocol_idl_proto_msgTypes[8].OneofWrappers = []any{}
|
|
|
+ file_dr_protocol_idl_proto_msgTypes[11].OneofWrappers = []any{}
|
|
|
+ file_dr_protocol_idl_proto_msgTypes[14].OneofWrappers = []any{}
|
|
|
+ file_dr_protocol_idl_proto_msgTypes[17].OneofWrappers = []any{}
|
|
|
type x struct{}
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
File: protoimpl.DescBuilder{
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_dr_protocol_idl_proto_rawDesc), len(file_dr_protocol_idl_proto_rawDesc)),
|
|
|
NumEnums: 0,
|
|
|
- NumMessages: 21,
|
|
|
+ NumMessages: 20,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 3,
|
|
|
},
|