{"modulePath":"github.com/AliceO2Group/Control","version":"v1.51.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package dcspb\n\n## Constants\n\n```go\nconst (\n\tConfigurator_Subscribe_FullMethodName     = \"/dcs.Configurator/Subscribe\"\n\tConfigurator_PrepareForRun_FullMethodName = \"/dcs.Configurator/PrepareForRun\"\n\tConfigurator_StartOfRun_FullMethodName    = \"/dcs.Configurator/StartOfRun\"\n\tConfigurator_EndOfRun_FullMethodName      = \"/dcs.Configurator/EndOfRun\"\n\tConfigurator_GetStatus_FullMethodName     = \"/dcs.Configurator/GetStatus\"\n)\n```\n\n## Variables\n\n```go\nvar (\n\tEventType_name = map[int32]string{\n\t\t0:  \"NULL_EVENT\",\n\t\t1:  \"HEARTBEAT\",\n\t\t2:  \"STATE_CHANGE_EVENT\",\n\t\t3:  \"ERROR_EVENT\",\n\t\t4:  \"ACK_EVENT\",\n\t\t20: \"SOR_EVENT\",\n\t\t30: \"EOR_EVENT\",\n\t\t40: \"EVENT_TIMEOUT\",\n\t\t50: \"PFR_EVENT\",\n\t}\n\tEventType_value = map[string]int32{\n\t\t\"NULL_EVENT\":         0,\n\t\t\"HEARTBEAT\":          1,\n\t\t\"STATE_CHANGE_EVENT\": 2,\n\t\t\"ERROR_EVENT\":        3,\n\t\t\"ACK_EVENT\":          4,\n\t\t\"SOR_EVENT\":          20,\n\t\t\"EOR_EVENT\":          30,\n\t\t\"EVENT_TIMEOUT\":      40,\n\t\t\"PFR_EVENT\":          50,\n\t}\n)\n```\nEnum value maps for EventType.\n\n```go\nvar (\n\tDetector_name = map[int32]string{\n\t\t0:  \"NULL_DETECTOR\",\n\t\t2:  \"EMC\",\n\t\t3:  \"FDD\",\n\t\t4:  \"FT0\",\n\t\t5:  \"FV0\",\n\t\t6:  \"ITS\",\n\t\t7:  \"HMP\",\n\t\t8:  \"MCH\",\n\t\t9:  \"MFT\",\n\t\t10: \"MID\",\n\t\t12: \"TOF\",\n\t\t13: \"TPC\",\n\t\t14: \"TRD\",\n\t\t15: \"ZDC\",\n\t\t16: \"LHC\",\n\t\t17: \"DCS\",\n\t\t18: \"AGD\",\n\t}\n\tDetector_value = map[string]int32{\n\t\t\"NULL_DETECTOR\": 0,\n\t\t\"EMC\":           2,\n\t\t\"FDD\":           3,\n\t\t\"FT0\":           4,\n\t\t\"FV0\":           5,\n\t\t\"ITS\":           6,\n\t\t\"HMP\":           7,\n\t\t\"MCH\":           8,\n\t\t\"MFT\":           9,\n\t\t\"MID\":           10,\n\t\t\"TOF\":           12,\n\t\t\"TPC\":           13,\n\t\t\"TRD\":           14,\n\t\t\"ZDC\":           15,\n\t\t\"LHC\":           16,\n\t\t\"DCS\":           17,\n\t\t\"AGD\":           18,\n\t}\n)\n```\nEnum value maps for Detector.\n\n```go\nvar (\n\tDetectorState_name = map[int32]string{\n\t\t0:  \"NULL_STATE\",\n\t\t1:  \"READY\",\n\t\t2:  \"RUN_OK\",\n\t\t3:  \"RUN_FAILURE\",\n\t\t4:  \"RUN_INHIBIT\",\n\t\t5:  \"SOR_PROGRESSING\",\n\t\t6:  \"EOR_PROGRESSING\",\n\t\t7:  \"SOR_FAILURE\",\n\t\t8:  \"EOR_FAILURE\",\n\t\t9:  \"ERROR\",\n\t\t10: \"DEAD\",\n\t\t11: \"SOR_UNAVAILABLE\",\n\t\t12: \"EOR_UNAVAILABLE\",\n\t\t13: \"PREPARING\",\n\t\t14: \"SOR_AVAILABLE\",\n\t\t15: \"EOR_AVAILABLE\",\n\t\t16: \"PFR_AVAILABLE\",\n\t\t17: \"PFR_UNAVAILABLE\",\n\t\t18: \"TIMEOUT\",\n\t}\n\tDetectorState_value = map[string]int32{\n\t\t\"NULL_STATE\":      0,\n\t\t\"READY\":           1,\n\t\t\"RUN_OK\":          2,\n\t\t\"RUN_FAILURE\":     3,\n\t\t\"RUN_INHIBIT\":     4,\n\t\t\"SOR_PROGRESSING\": 5,\n\t\t\"EOR_PROGRESSING\": 6,\n\t\t\"SOR_FAILURE\":     7,\n\t\t\"EOR_FAILURE\":     8,\n\t\t\"ERROR\":           9,\n\t\t\"DEAD\":            10,\n\t\t\"SOR_UNAVAILABLE\": 11,\n\t\t\"EOR_UNAVAILABLE\": 12,\n\t\t\"PREPARING\":       13,\n\t\t\"SOR_AVAILABLE\":   14,\n\t\t\"EOR_AVAILABLE\":   15,\n\t\t\"PFR_AVAILABLE\":   16,\n\t\t\"PFR_UNAVAILABLE\": 17,\n\t\t\"TIMEOUT\":         18,\n\t}\n)\n```\nEnum value maps for DetectorState.\n\n```go\nvar (\n\tRunType_name = map[int32]string{\n\t\t0:   \"NULL_RUNTYPE\",\n\t\t1:   \"PHYSICS\",\n\t\t2:   \"TECHNICAL\",\n\t\t3:   \"PEDESTALS\",\n\t\t4:   \"PULSER\",\n\t\t5:   \"LASER\",\n\t\t6:   \"CALIBRATION_ITHR_TUNING\",\n\t\t7:   \"CALIBRATION_VCASN_TUNING\",\n\t\t8:   \"CALIBRATION_THR_SCAN\",\n\t\t9:   \"CALIBRATION_DIGITAL_SCAN\",\n\t\t10:  \"CALIBRATION_ANALOG_SCAN\",\n\t\t11:  \"CALIBRATION_FHR\",\n\t\t12:  \"CALIBRATION_ALPIDE_SCAN\",\n\t\t16:  \"NOISE\",\n\t\t17:  \"CALIBRATION_PULSE_LENGTH\",\n\t\t18:  \"CALIBRATION_VRESETD\",\n\t\t300: \"ANY\",\n\t}\n\tRunType_value = map[string]int32{\n\t\t\"NULL_RUNTYPE\":             0,\n\t\t\"PHYSICS\":                  1,\n\t\t\"TECHNICAL\":                2,\n\t\t\"PEDESTALS\":                3,\n\t\t\"PULSER\":                   4,\n\t\t\"LASER\":                    5,\n\t\t\"CALIBRATION_ITHR_TUNING\":  6,\n\t\t\"CALIBRATION_VCASN_TUNING\": 7,\n\t\t\"CALIBRATION_THR_SCAN\":     8,\n\t\t\"CALIBRATION_DIGITAL_SCAN\": 9,\n\t\t\"CALIBRATION_ANALOG_SCAN\":  10,\n\t\t\"CALIBRATION_FHR\":          11,\n\t\t\"CALIBRATION_ALPIDE_SCAN\":  12,\n\t\t\"NOISE\":                    16,\n\t\t\"CALIBRATION_PULSE_LENGTH\": 17,\n\t\t\"CALIBRATION_VRESETD\":      18,\n\t\t\"ANY\":                      300,\n\t}\n)\n```\nEnum value maps for RunType.\n\n```go\nvar (\n\tTriggerMode_name = map[int32]string{\n\t\t0: \"CONTINUOUS\",\n\t\t1: \"TRIGGERED\",\n\t}\n\tTriggerMode_value = map[string]int32{\n\t\t\"CONTINUOUS\": 0,\n\t\t\"TRIGGERED\":  1,\n\t}\n)\n```\nEnum value maps for TriggerMode.\n\n```go\nvar (\n\tSorMode_name = map[int32]string{\n\t\t0: \"FULL\",\n\t\t1: \"FAST\",\n\t}\n\tSorMode_value = map[string]int32{\n\t\t\"FULL\": 0,\n\t\t\"FAST\": 1,\n\t}\n)\n```\nEnum value maps for SorMode.\n\n```go\nvar Configurator_ServiceDesc = grpc.ServiceDesc{\n\tServiceName: \"dcs.Configurator\",\n\tHandlerType: (*ConfiguratorServer)(nil),\n\tMethods: []grpc.MethodDesc{\n\t\t{\n\t\t\tMethodName: \"GetStatus\",\n\t\t\tHandler:    _Configurator_GetStatus_Handler,\n\t\t},\n\t},\n\tStreams: []grpc.StreamDesc{\n\t\t{\n\t\t\tStreamName:    \"Subscribe\",\n\t\t\tHandler:       _Configurator_Subscribe_Handler,\n\t\t\tServerStreams: true,\n\t\t},\n\t\t{\n\t\t\tStreamName:    \"PrepareForRun\",\n\t\t\tHandler:       _Configurator_PrepareForRun_Handler,\n\t\t\tServerStreams: true,\n\t\t},\n\t\t{\n\t\t\tStreamName:    \"StartOfRun\",\n\t\t\tHandler:       _Configurator_StartOfRun_Handler,\n\t\t\tServerStreams: true,\n\t\t},\n\t\t{\n\t\t\tStreamName:    \"EndOfRun\",\n\t\t\tHandler:       _Configurator_EndOfRun_Handler,\n\t\t\tServerStreams: true,\n\t\t},\n\t},\n\tMetadata: \"protos/dcs.proto\",\n}\n```\nConfigurator\\_ServiceDesc is the grpc.ServiceDesc for Configurator service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)\n\n```go\nvar File_protos_dcs_proto protoreflect.FileDescriptor\n```\n\n## Functions\n\n```go\nfunc RegisterConfiguratorServer(s grpc.ServiceRegistrar, srv ConfiguratorServer)\n```\n\n## Types\n\n```go\ntype ConfiguratorClient interface {\n\t// Optional call, legal at any time, to subscribe to all future events from\n\t// the DCS service. The server stops serving the stream when the client closes\n\t// it. Multiple concurrent stream subscriptions are allowed.\n\tSubscribe(ctx context.Context, in *SubscriptionRequest, opts ...grpc.CallOption) (Configurator_SubscribeClient, error)\n\t// Single PFR request for a data taking session, with per-detector parameters.\n\t// Returns an event stream which returns subsequent intermediate states within\n\t// the PFR operation. Upon PFR completion (DetectorState.RUN_OK), the server\n\t// closes the stream.\n\tPrepareForRun(ctx context.Context, in *PfrRequest, opts ...grpc.CallOption) (Configurator_PrepareForRunClient, error)\n\t// Single SOR request for a data taking session, with run number.\n\t// Returns an event stream which returns subsequent intermediate states within\n\t// the SOR operation. Upon SOR completion (DetectorState.RUN_OK), the server\n\t// closes the stream.\n\t// If the DetectorOperationRequest or run type parameters are the same as the\n\t// last PrepareForRun request (no matter how far back in time) and the DCS\n\t// state hasn't changed, the SOR operations should be fast. Otherwise, the SOR\n\t// also implicitly includes any number of PrepareForRun operations as needed,\n\t// this can take a while but should not change the overall behavior reported\n\t// to ECS.\n\tStartOfRun(ctx context.Context, in *SorRequest, opts ...grpc.CallOption) (Configurator_StartOfRunClient, error)\n\t// Single EOR request for a data taking session, with per-detector parameters.\n\t// Returns an event stream which returns subsequent intermediate states within\n\t// the EOR operation. Upon EOR completion (DetectorState.RUN_OK), the server\n\t// closes the stream.\n\tEndOfRun(ctx context.Context, in *EorRequest, opts ...grpc.CallOption) (Configurator_EndOfRunClient, error)\n\t// Optional call, legal at any time, to query the status of the DCS service\n\t// and either some or all of its constituent detectors. This call returns a\n\t// single value (not a stream), reflecting the service state at that\n\t// specific moment.\n\tGetStatus(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusReply, error)\n}\n```\nConfiguratorClient is the client API for Configurator service.\n\nFor semantics around ctx use and closing/ending streaming RPCs, please refer to [https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream](https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream).\n\n```go\nfunc NewConfiguratorClient(cc grpc.ClientConnInterface) ConfiguratorClient\n```\n\n```go\ntype ConfiguratorServer interface {\n\t// Optional call, legal at any time, to subscribe to all future events from\n\t// the DCS service. The server stops serving the stream when the client closes\n\t// it. Multiple concurrent stream subscriptions are allowed.\n\tSubscribe(*SubscriptionRequest, Configurator_SubscribeServer) error\n\t// Single PFR request for a data taking session, with per-detector parameters.\n\t// Returns an event stream which returns subsequent intermediate states within\n\t// the PFR operation. Upon PFR completion (DetectorState.RUN_OK), the server\n\t// closes the stream.\n\tPrepareForRun(*PfrRequest, Configurator_PrepareForRunServer) error\n\t// Single SOR request for a data taking session, with run number.\n\t// Returns an event stream which returns subsequent intermediate states within\n\t// the SOR operation. Upon SOR completion (DetectorState.RUN_OK), the server\n\t// closes the stream.\n\t// If the DetectorOperationRequest or run type parameters are the same as the\n\t// last PrepareForRun request (no matter how far back in time) and the DCS\n\t// state hasn't changed, the SOR operations should be fast. Otherwise, the SOR\n\t// also implicitly includes any number of PrepareForRun operations as needed,\n\t// this can take a while but should not change the overall behavior reported\n\t// to ECS.\n\tStartOfRun(*SorRequest, Configurator_StartOfRunServer) error\n\t// Single EOR request for a data taking session, with per-detector parameters.\n\t// Returns an event stream which returns subsequent intermediate states within\n\t// the EOR operation. Upon EOR completion (DetectorState.RUN_OK), the server\n\t// closes the stream.\n\tEndOfRun(*EorRequest, Configurator_EndOfRunServer) error\n\t// Optional call, legal at any time, to query the status of the DCS service\n\t// and either some or all of its constituent detectors. This call returns a\n\t// single value (not a stream), reflecting the service state at that\n\t// specific moment.\n\tGetStatus(context.Context, *StatusRequest) (*StatusReply, error)\n}\n```\nConfiguratorServer is the server API for Configurator service. All implementations should embed UnimplementedConfiguratorServer for forward compatibility\n\n```go\ntype Configurator_EndOfRunClient interface {\n\tRecv() (*RunEvent, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype Configurator_EndOfRunServer interface {\n\tSend(*RunEvent) error\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype Configurator_PrepareForRunClient interface {\n\tRecv() (*RunEvent, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype Configurator_PrepareForRunServer interface {\n\tSend(*RunEvent) error\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype Configurator_StartOfRunClient interface {\n\tRecv() (*RunEvent, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype Configurator_StartOfRunServer interface {\n\tSend(*RunEvent) error\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype Configurator_SubscribeClient interface {\n\tRecv() (*Event, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype Configurator_SubscribeServer interface {\n\tSend(*Event) error\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype Detector int32\n```\n\n```go\nconst (\n\tDetector_NULL_DETECTOR Detector = 0\n\tDetector_EMC           Detector = 2\n\tDetector_FDD           Detector = 3\n\tDetector_FT0           Detector = 4\n\tDetector_FV0           Detector = 5\n\tDetector_ITS           Detector = 6\n\tDetector_HMP           Detector = 7\n\tDetector_MCH           Detector = 8\n\tDetector_MFT           Detector = 9\n\tDetector_MID           Detector = 10\n\tDetector_TOF           Detector = 12\n\tDetector_TPC           Detector = 13\n\tDetector_TRD           Detector = 14\n\tDetector_ZDC           Detector = 15\n\tDetector_LHC           Detector = 16\n\tDetector_DCS           Detector = 17\n\tDetector_AGD           Detector = 18\n)\n```\n\n```go\nfunc (Detector) Descriptor() protoreflect.EnumDescriptor\n```\n\n```go\nfunc (x Detector) Enum() *Detector\n```\n\n```go\nfunc (Detector) EnumDescriptor() ([]byte, []int)\n```\nDeprecated: Use Detector.Descriptor instead.\n\n```go\nfunc (x Detector) Number() protoreflect.EnumNumber\n```\n\n```go\nfunc (x Detector) String() string\n```\n\n```go\nfunc (Detector) Type() protoreflect.EnumType\n```\n\n```go\ntype DetectorInfo struct {\n\tDetector        Detector      `protobuf:\"varint,1,opt,name=detector,proto3,enum=dcs.Detector\" json:\"detector,omitempty\"`                     // 1 detector per DetectorInfo\n\tState           DetectorState `protobuf:\"varint,2,opt,name=state,proto3,enum=dcs.DetectorState\" json:\"state,omitempty\"`                      // state of this detector at the time of response generation\n\tTimestamp       string        `protobuf:\"bytes,3,opt,name=timestamp,proto3\" json:\"timestamp,omitempty\"`                                      // time when the detector state is as declared\n\tAllowedRunTypes []RunType     `protobuf:\"varint,4,rep,packed,name=allowedRunTypes,proto3,enum=dcs.RunType\" json:\"allowedRunTypes,omitempty\"` // a list of run types that are currently\n\t// possible with the given detector, taking into\n\t// account all low-level information;\n\t// for example, at a given moment TECHNICAL\n\t// runs might be possible but not PHYSICS\n\tPfrAvailability DetectorState `protobuf:\"varint,5,opt,name=pfrAvailability,proto3,enum=dcs.DetectorState\" json:\"pfrAvailability,omitempty\"` // availability of this detector for PFR at the time of response generation\n\tSorAvailability DetectorState `protobuf:\"varint,6,opt,name=sorAvailability,proto3,enum=dcs.DetectorState\" json:\"sorAvailability,omitempty\"` // availability of this detector for SOR at the time of response generation\n\t// contains filtered or unexported fields\n}\n```\nA DetectorInfo is a full status report for a single detector, multiple such payloads are then aggregated in a StatusReply or Subscribe Event.\n\n```go\nfunc (*DetectorInfo) Descriptor() ([]byte, []int)\n```\nDeprecated: Use DetectorInfo.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *DetectorInfo) GetAllowedRunTypes() []RunType\n```\n\n```go\nfunc (x *DetectorInfo) GetDetector() Detector\n```\n\n```go\nfunc (x *DetectorInfo) GetPfrAvailability() DetectorState\n```\n\n```go\nfunc (x *DetectorInfo) GetSorAvailability() DetectorState\n```\n\n```go\nfunc (x *DetectorInfo) GetState() DetectorState\n```\n\n```go\nfunc (x *DetectorInfo) GetTimestamp() string\n```\n\n```go\nfunc (*DetectorInfo) ProtoMessage()\n```\n\n```go\nfunc (x *DetectorInfo) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *DetectorInfo) Reset()\n```\n\n```go\nfunc (x *DetectorInfo) String() string\n```\n\n```go\ntype DetectorOperationRequest struct {\n\tDetector        Detector          `protobuf:\"varint,1,opt,name=detector,proto3,enum=dcs.Detector\" json:\"detector,omitempty\"`\n\tExtraParameters map[string]string `protobuf:\"bytes,2,rep,name=extraParameters,proto3\" json:\"extraParameters,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"` // detector-specific parameters\n\t// contains filtered or unexported fields\n}\n```\nEach PfrRequest/SorRequest/EorRequest contains multiple DetectorOperationRequests, one per detector. This is needed in order to pass per-detector parameters within a single PFR/SOR/EOR operation.\n\n```go\nfunc (*DetectorOperationRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use DetectorOperationRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *DetectorOperationRequest) GetDetector() Detector\n```\n\n```go\nfunc (x *DetectorOperationRequest) GetExtraParameters() map[string]string\n```\n\n```go\nfunc (*DetectorOperationRequest) ProtoMessage()\n```\n\n```go\nfunc (x *DetectorOperationRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *DetectorOperationRequest) Reset()\n```\n\n```go\nfunc (x *DetectorOperationRequest) String() string\n```\n\n```go\ntype DetectorState int32\n```\n\n```go\nconst (\n\tDetectorState_NULL_STATE      DetectorState = 0\n\tDetectorState_READY           DetectorState = 1\n\tDetectorState_RUN_OK          DetectorState = 2\n\tDetectorState_RUN_FAILURE     DetectorState = 3\n\tDetectorState_RUN_INHIBIT     DetectorState = 4\n\tDetectorState_SOR_PROGRESSING DetectorState = 5\n\tDetectorState_EOR_PROGRESSING DetectorState = 6\n\tDetectorState_SOR_FAILURE     DetectorState = 7\n\tDetectorState_EOR_FAILURE     DetectorState = 8\n\tDetectorState_ERROR           DetectorState = 9\n\tDetectorState_DEAD            DetectorState = 10\n\tDetectorState_SOR_UNAVAILABLE DetectorState = 11\n\tDetectorState_EOR_UNAVAILABLE DetectorState = 12\n\tDetectorState_PREPARING       DetectorState = 13\n\tDetectorState_SOR_AVAILABLE   DetectorState = 14\n\tDetectorState_EOR_AVAILABLE   DetectorState = 15\n\tDetectorState_PFR_AVAILABLE   DetectorState = 16\n\tDetectorState_PFR_UNAVAILABLE DetectorState = 17\n\tDetectorState_TIMEOUT         DetectorState = 18\n)\n```\n\n```go\nfunc (DetectorState) Descriptor() protoreflect.EnumDescriptor\n```\n\n```go\nfunc (x DetectorState) Enum() *DetectorState\n```\n\n```go\nfunc (DetectorState) EnumDescriptor() ([]byte, []int)\n```\nDeprecated: Use DetectorState.Descriptor instead.\n\n```go\nfunc (x DetectorState) Number() protoreflect.EnumNumber\n```\n\n```go\nfunc (x DetectorState) String() string\n```\n\n```go\nfunc (DetectorState) Type() protoreflect.EnumType\n```\n\n```go\ntype EorRequest struct {\n\tDetectors []*DetectorOperationRequest `protobuf:\"bytes,1,rep,name=detectors,proto3\" json:\"detectors,omitempty\"`\n\tRunNumber int32                       `protobuf:\"varint,2,opt,name=runNumber,proto3\" json:\"runNumber,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nAn EorRequest encapsulates a list of detector-specific request payloads, plus a runNumber to identify the run being stopped.\n\n```go\nfunc (*EorRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use EorRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *EorRequest) GetDetectors() []*DetectorOperationRequest\n```\n\n```go\nfunc (x *EorRequest) GetRunNumber() int32\n```\n\n```go\nfunc (*EorRequest) ProtoMessage()\n```\n\n```go\nfunc (x *EorRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *EorRequest) Reset()\n```\n\n```go\nfunc (x *EorRequest) String() string\n```\n\n```go\ntype Event struct {\n\tEventtype      EventType       `protobuf:\"varint,1,opt,name=eventtype,proto3,enum=dcs.EventType\" json:\"eventtype,omitempty\"` // type of event being published by the DCS service\n\tDetectorMatrix []*DetectorInfo `protobuf:\"bytes,2,rep,name=detectorMatrix,proto3\" json:\"detectorMatrix,omitempty\"`           // detector-specific status payloads (optional depending\n\t// on event type)\n\tExtraParameters map[string]string `protobuf:\"bytes,3,rep,name=extraParameters,proto3\" json:\"extraParameters,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"` // general key-value map just in case\n\tTimestamp       string            `protobuf:\"bytes,4,opt,name=timestamp,proto3\" json:\"timestamp,omitempty\"`                                                                                                     // this corresponds to the moment where this Event-answer\n\t// was valid from the source\n\tMessage string `protobuf:\"bytes,5,opt,name=message,proto3\" json:\"message,omitempty\"` // optional user-facing error message, if the DCS wants to\n\t// contains filtered or unexported fields\n}\n```\nThe Subscribe response stream returns Event payloads:\n\n 1. as needed, Events of type ERROR\\_EVENT, TIMEOUT, etc. when something unexpected happens, especially outside of a SOR or EOR operation (which are already served by operation-specific streams)\n 2. periodically, Events of type HEARTBEAT with a full detectorMatrix to republish the full status of all detectors in the system\n 3. as needed, Events of type STATE\\_CHANGE\\_EVENT and similar, with a partial detectorMatrix that only reflects the changes in some detectors, usually when the internal state of a detector has changed on the DCS side in some way that makes a new RunType possible, or that inhibits a RunType that was previously possible and now isn't any more.\n\n```go\nfunc (*Event) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Event.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Event) GetDetectorMatrix() []*DetectorInfo\n```\n\n```go\nfunc (x *Event) GetEventtype() EventType\n```\n\n```go\nfunc (x *Event) GetExtraParameters() map[string]string\n```\n\n```go\nfunc (x *Event) GetMessage() string\n```\n\n```go\nfunc (x *Event) GetTimestamp() string\n```\n\n```go\nfunc (*Event) ProtoMessage()\n```\n\n```go\nfunc (x *Event) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Event) Reset()\n```\n\n```go\nfunc (x *Event) String() string\n```\n\n```go\ntype EventType int32\n```\n\n```go\nconst (\n\tEventType_NULL_EVENT         EventType = 0\n\tEventType_HEARTBEAT          EventType = 1\n\tEventType_STATE_CHANGE_EVENT EventType = 2\n\tEventType_ERROR_EVENT        EventType = 3\n\tEventType_ACK_EVENT          EventType = 4\n\tEventType_SOR_EVENT          EventType = 20\n\tEventType_EOR_EVENT          EventType = 30\n\tEventType_EVENT_TIMEOUT      EventType = 40\n\tEventType_PFR_EVENT          EventType = 50\n)\n```\n\n```go\nfunc (EventType) Descriptor() protoreflect.EnumDescriptor\n```\n\n```go\nfunc (x EventType) Enum() *EventType\n```\n\n```go\nfunc (EventType) EnumDescriptor() ([]byte, []int)\n```\nDeprecated: Use EventType.Descriptor instead.\n\n```go\nfunc (x EventType) Number() protoreflect.EnumNumber\n```\n\n```go\nfunc (x EventType) String() string\n```\n\n```go\nfunc (EventType) Type() protoreflect.EnumType\n```\n\n```go\ntype PfrRequest struct {\n\tDetectors   []*DetectorOperationRequest `protobuf:\"bytes,1,rep,name=detectors,proto3\" json:\"detectors,omitempty\"`\n\tRunType     RunType                     `protobuf:\"varint,2,opt,name=runType,proto3,enum=dcs.RunType\" json:\"runType,omitempty\"` // default: NULL_RUNTYPE, should probably never be sent\n\tPartitionId string                      `protobuf:\"bytes,3,opt,name=partitionId,proto3\" json:\"partitionId,omitempty\"`           // unique id for a pfr request\n\t// contains filtered or unexported fields\n}\n```\nA PfrRequest encapsulates a list of detector-specific request payloads, plus a common runType any future runs.\n\n```go\nfunc (*PfrRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use PfrRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *PfrRequest) GetDetectors() []*DetectorOperationRequest\n```\n\n```go\nfunc (x *PfrRequest) GetPartitionId() string\n```\n\n```go\nfunc (x *PfrRequest) GetRunType() RunType\n```\n\n```go\nfunc (*PfrRequest) ProtoMessage()\n```\n\n```go\nfunc (x *PfrRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *PfrRequest) Reset()\n```\n\n```go\nfunc (x *PfrRequest) String() string\n```\n\n```go\ntype RunEvent struct {\n\tEventtype EventType     `protobuf:\"varint,1,opt,name=eventtype,proto3,enum=dcs.EventType\" json:\"eventtype,omitempty\"` // type of event being published by the DCS service\n\tDetector  Detector      `protobuf:\"varint,2,opt,name=detector,proto3,enum=dcs.Detector\" json:\"detector,omitempty\"`    // detector that produced the event\n\tState     DetectorState `protobuf:\"varint,3,opt,name=state,proto3,enum=dcs.DetectorState\" json:\"state,omitempty\"`     // aggregate state for all detectors involved in current\n\t// PFR/SOR/EOR operation\n\tExtraParameters map[string]string `protobuf:\"bytes,4,rep,name=extraParameters,proto3\" json:\"extraParameters,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\tTimestamp       string            `protobuf:\"bytes,5,opt,name=timestamp,proto3\" json:\"timestamp,omitempty\"`\n\tMessage         string            `protobuf:\"bytes,6,opt,name=message,proto3\" json:\"message,omitempty\"` // optional user-facing error message, if the DCS wants to\n\t// contains filtered or unexported fields\n}\n```\nA stream of Event objects is returned by PFR, SOR and EOR calls. Most fields are optional and filled as needed, depending on the type of request.\n\n```go\nfunc (*RunEvent) Descriptor() ([]byte, []int)\n```\nDeprecated: Use RunEvent.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *RunEvent) GetDetector() Detector\n```\n\n```go\nfunc (x *RunEvent) GetEventtype() EventType\n```\n\n```go\nfunc (x *RunEvent) GetExtraParameters() map[string]string\n```\n\n```go\nfunc (x *RunEvent) GetMessage() string\n```\n\n```go\nfunc (x *RunEvent) GetState() DetectorState\n```\n\n```go\nfunc (x *RunEvent) GetTimestamp() string\n```\n\n```go\nfunc (*RunEvent) ProtoMessage()\n```\n\n```go\nfunc (x *RunEvent) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *RunEvent) Reset()\n```\n\n```go\nfunc (x *RunEvent) String() string\n```\n\n```go\ntype RunType int32\n```\n\n```go\nconst (\n\tRunType_NULL_RUNTYPE             RunType = 0\n\tRunType_PHYSICS                  RunType = 1\n\tRunType_TECHNICAL                RunType = 2\n\tRunType_PEDESTALS                RunType = 3\n\tRunType_PULSER                   RunType = 4\n\tRunType_LASER                    RunType = 5\n\tRunType_CALIBRATION_ITHR_TUNING  RunType = 6\n\tRunType_CALIBRATION_VCASN_TUNING RunType = 7\n\tRunType_CALIBRATION_THR_SCAN     RunType = 8\n\tRunType_CALIBRATION_DIGITAL_SCAN RunType = 9\n\tRunType_CALIBRATION_ANALOG_SCAN  RunType = 10\n\tRunType_CALIBRATION_FHR          RunType = 11\n\tRunType_CALIBRATION_ALPIDE_SCAN  RunType = 12\n\tRunType_NOISE                    RunType = 16\n\tRunType_CALIBRATION_PULSE_LENGTH RunType = 17\n\tRunType_CALIBRATION_VRESETD      RunType = 18\n\tRunType_ANY                      RunType = 300\n)\n```\n\n```go\nfunc (RunType) Descriptor() protoreflect.EnumDescriptor\n```\n\n```go\nfunc (x RunType) Enum() *RunType\n```\n\n```go\nfunc (RunType) EnumDescriptor() ([]byte, []int)\n```\nDeprecated: Use RunType.Descriptor instead.\n\n```go\nfunc (x RunType) Number() protoreflect.EnumNumber\n```\n\n```go\nfunc (x RunType) String() string\n```\n\n```go\nfunc (RunType) Type() protoreflect.EnumType\n```\n\n```go\ntype SorMode int32\n```\n\n```go\nconst (\n\tSorMode_FULL SorMode = 0\n\tSorMode_FAST SorMode = 1\n)\n```\n\n```go\nfunc (SorMode) Descriptor() protoreflect.EnumDescriptor\n```\n\n```go\nfunc (x SorMode) Enum() *SorMode\n```\n\n```go\nfunc (SorMode) EnumDescriptor() ([]byte, []int)\n```\nDeprecated: Use SorMode.Descriptor instead.\n\n```go\nfunc (x SorMode) Number() protoreflect.EnumNumber\n```\n\n```go\nfunc (x SorMode) String() string\n```\n\n```go\nfunc (SorMode) Type() protoreflect.EnumType\n```\n\n```go\ntype SorRequest struct {\n\tDetectors []*DetectorOperationRequest `protobuf:\"bytes,1,rep,name=detectors,proto3\" json:\"detectors,omitempty\"`\n\tRunType   RunType                     `protobuf:\"varint,2,opt,name=runType,proto3,enum=dcs.RunType\" json:\"runType,omitempty\"` // default: NULL_RUNTYPE, should probably never be sent\n\tRunNumber int32                       `protobuf:\"varint,3,opt,name=runNumber,proto3\" json:\"runNumber,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nA SorRequest encapsulates a list of detector-specific request payloads, plus a common runType and a runNumber for the run about to start.\n\n```go\nfunc (*SorRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use SorRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *SorRequest) GetDetectors() []*DetectorOperationRequest\n```\n\n```go\nfunc (x *SorRequest) GetRunNumber() int32\n```\n\n```go\nfunc (x *SorRequest) GetRunType() RunType\n```\n\n```go\nfunc (*SorRequest) ProtoMessage()\n```\n\n```go\nfunc (x *SorRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *SorRequest) Reset()\n```\n\n```go\nfunc (x *SorRequest) String() string\n```\n\n```go\ntype StatusReply struct {\n\tDetectorMatrix []*DetectorInfo `protobuf:\"bytes,1,rep,name=detectorMatrix,proto3\" json:\"detectorMatrix,omitempty\"` // an exhaustive list of DetectorInfos\n\t// contains filtered or unexported fields\n}\n```\nAggregate response to a GetStatus call, wraps around a list of DetectorInfo payloads.\n\n```go\nfunc (*StatusReply) Descriptor() ([]byte, []int)\n```\nDeprecated: Use StatusReply.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *StatusReply) GetDetectorMatrix() []*DetectorInfo\n```\n\n```go\nfunc (*StatusReply) ProtoMessage()\n```\n\n```go\nfunc (x *StatusReply) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *StatusReply) Reset()\n```\n\n```go\nfunc (x *StatusReply) String() string\n```\n\n```go\ntype StatusRequest struct {\n\tDetector []Detector `protobuf:\"varint,1,rep,packed,name=detector,proto3,enum=dcs.Detector\" json:\"detector,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nPayload for the GetStatus call, just a list of detectors to query.\n\n```go\nfunc (*StatusRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use StatusRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *StatusRequest) GetDetector() []Detector\n```\n\n```go\nfunc (*StatusRequest) ProtoMessage()\n```\n\n```go\nfunc (x *StatusRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *StatusRequest) Reset()\n```\n\n```go\nfunc (x *StatusRequest) String() string\n```\n\n```go\ntype SubscriptionRequest struct {\n\tInstanceId string `protobuf:\"bytes,1,opt,name=instanceId,proto3\" json:\"instanceId,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*SubscriptionRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use SubscriptionRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *SubscriptionRequest) GetInstanceId() string\n```\n\n```go\nfunc (*SubscriptionRequest) ProtoMessage()\n```\n\n```go\nfunc (x *SubscriptionRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *SubscriptionRequest) Reset()\n```\n\n```go\nfunc (x *SubscriptionRequest) String() string\n```\n\n```go\ntype TriggerMode int32\n```\n\n```go\nconst (\n\tTriggerMode_CONTINUOUS TriggerMode = 0\n\tTriggerMode_TRIGGERED  TriggerMode = 1\n)\n```\n\n```go\nfunc (TriggerMode) Descriptor() protoreflect.EnumDescriptor\n```\n\n```go\nfunc (x TriggerMode) Enum() *TriggerMode\n```\n\n```go\nfunc (TriggerMode) EnumDescriptor() ([]byte, []int)\n```\nDeprecated: Use TriggerMode.Descriptor instead.\n\n```go\nfunc (x TriggerMode) Number() protoreflect.EnumNumber\n```\n\n```go\nfunc (x TriggerMode) String() string\n```\n\n```go\nfunc (TriggerMode) Type() protoreflect.EnumType\n```\n\n```go\ntype UnimplementedConfiguratorServer struct {\n}\n```\nUnimplementedConfiguratorServer should be embedded to have forward compatible implementations.\n\n```go\nfunc (UnimplementedConfiguratorServer) EndOfRun(*EorRequest, Configurator_EndOfRunServer) error\n```\n\n```go\nfunc (UnimplementedConfiguratorServer) GetStatus(context.Context, *StatusRequest) (*StatusReply, error)\n```\n\n```go\nfunc (UnimplementedConfiguratorServer) PrepareForRun(*PfrRequest, Configurator_PrepareForRunServer) error\n```\n\n```go\nfunc (UnimplementedConfiguratorServer) StartOfRun(*SorRequest, Configurator_StartOfRunServer) error\n```\n\n```go\nfunc (UnimplementedConfiguratorServer) Subscribe(*SubscriptionRequest, Configurator_SubscribeServer) error\n```\n\n```go\ntype UnsafeConfiguratorServer interface {\n\t// contains filtered or unexported methods\n}\n```\nUnsafeConfiguratorServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConfiguratorServer will result in compilation errors.\n\n","path":"github.com/AliceO2Group/Control/core/integration/dcs/protos","name":"dcspb","synopsis":"","isRedistributable":true}
