{"modulePath":"github.com/AliceO2Group/Control","version":"v1.51.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package odc\n\n## Constants\n\n```go\nconst (\n\tODC_Initialize_FullMethodName    = \"/odc.ODC/Initialize\"\n\tODC_Submit_FullMethodName        = \"/odc.ODC/Submit\"\n\tODC_Activate_FullMethodName      = \"/odc.ODC/Activate\"\n\tODC_Run_FullMethodName           = \"/odc.ODC/Run\"\n\tODC_Update_FullMethodName        = \"/odc.ODC/Update\"\n\tODC_Configure_FullMethodName     = \"/odc.ODC/Configure\"\n\tODC_SetProperties_FullMethodName = \"/odc.ODC/SetProperties\"\n\tODC_GetState_FullMethodName      = \"/odc.ODC/GetState\"\n\tODC_Start_FullMethodName         = \"/odc.ODC/Start\"\n\tODC_Stop_FullMethodName          = \"/odc.ODC/Stop\"\n\tODC_Reset_FullMethodName         = \"/odc.ODC/Reset\"\n\tODC_Terminate_FullMethodName     = \"/odc.ODC/Terminate\"\n\tODC_Shutdown_FullMethodName      = \"/odc.ODC/Shutdown\"\n\tODC_Status_FullMethodName        = \"/odc.ODC/Status\"\n)\n```\n\n## Variables\n\n```go\nvar (\n\tReplyStatus_name = map[int32]string{\n\t\t0: \"UNKNOWN\",\n\t\t1: \"SUCCESS\",\n\t\t2: \"ERROR\",\n\t}\n\tReplyStatus_value = map[string]int32{\n\t\t\"UNKNOWN\": 0,\n\t\t\"SUCCESS\": 1,\n\t\t\"ERROR\":   2,\n\t}\n)\n```\nEnum value maps for ReplyStatus.\n\n```go\nvar (\n\tSessionStatus_name = map[int32]string{\n\t\t0: \"UNKNOWN_\",\n\t\t1: \"RUNNING\",\n\t\t2: \"STOPPED\",\n\t}\n\tSessionStatus_value = map[string]int32{\n\t\t\"UNKNOWN_\": 0,\n\t\t\"RUNNING\":  1,\n\t\t\"STOPPED\":  2,\n\t}\n)\n```\nEnum value maps for SessionStatus.\n\n```go\nvar File_protos_odc_proto protoreflect.FileDescriptor\n```\n\n```go\nvar ODC_ServiceDesc = grpc.ServiceDesc{\n\tServiceName: \"odc.ODC\",\n\tHandlerType: (*ODCServer)(nil),\n\tMethods: []grpc.MethodDesc{\n\t\t{\n\t\t\tMethodName: \"Initialize\",\n\t\t\tHandler:    _ODC_Initialize_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"Submit\",\n\t\t\tHandler:    _ODC_Submit_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"Activate\",\n\t\t\tHandler:    _ODC_Activate_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"Run\",\n\t\t\tHandler:    _ODC_Run_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"Update\",\n\t\t\tHandler:    _ODC_Update_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"Configure\",\n\t\t\tHandler:    _ODC_Configure_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"SetProperties\",\n\t\t\tHandler:    _ODC_SetProperties_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"GetState\",\n\t\t\tHandler:    _ODC_GetState_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"Start\",\n\t\t\tHandler:    _ODC_Start_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"Stop\",\n\t\t\tHandler:    _ODC_Stop_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"Reset\",\n\t\t\tHandler:    _ODC_Reset_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"Terminate\",\n\t\t\tHandler:    _ODC_Terminate_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"Shutdown\",\n\t\t\tHandler:    _ODC_Shutdown_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"Status\",\n\t\t\tHandler:    _ODC_Status_Handler,\n\t\t},\n\t},\n\tStreams:  []grpc.StreamDesc{},\n\tMetadata: \"protos/odc.proto\",\n}\n```\nODC\\_ServiceDesc is the grpc.ServiceDesc for ODC service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)\n\n## Functions\n\n```go\nfunc RegisterODCServer(s grpc.ServiceRegistrar, srv ODCServer)\n```\n\n## Types\n\n```go\ntype ActivateRequest struct {\n\tPartitionid string `protobuf:\"bytes,1,opt,name=partitionid,proto3\" json:\"partitionid,omitempty\"` // Partition ID from ECS\n\tRunnr       uint64 `protobuf:\"varint,5,opt,name=runnr,proto3\" json:\"runnr,omitempty\"`            // Run number from ECS\n\tTimeout     uint32 `protobuf:\"varint,6,opt,name=timeout,proto3\" json:\"timeout,omitempty\"`        // Request timeout in sec. If not set or 0 than default is used.\n\t// Either `topology`, `content` or `script` has to be set. If all or none is set then an error is returned.\n\tTopology string `protobuf:\"bytes,2,opt,name=topology,proto3\" json:\"topology,omitempty\"` // Filepath to the XML DDS topology file\n\tContent  string `protobuf:\"bytes,3,opt,name=content,proto3\" json:\"content,omitempty\"`   // Content of the XML DDS topology\n\tScript   string `protobuf:\"bytes,4,opt,name=script,proto3\" json:\"script,omitempty\"`     // Shell commands to be executed by ODC in order to generate content of the XML DDS topology\n\t// contains filtered or unexported fields\n}\n```\nActivate request\n\n```go\nfunc (*ActivateRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use ActivateRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *ActivateRequest) GetContent() string\n```\n\n```go\nfunc (x *ActivateRequest) GetPartitionid() string\n```\n\n```go\nfunc (x *ActivateRequest) GetRunnr() uint64\n```\n\n```go\nfunc (x *ActivateRequest) GetScript() string\n```\n\n```go\nfunc (x *ActivateRequest) GetTimeout() uint32\n```\n\n```go\nfunc (x *ActivateRequest) GetTopology() string\n```\n\n```go\nfunc (*ActivateRequest) ProtoMessage()\n```\n\n```go\nfunc (x *ActivateRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *ActivateRequest) Reset()\n```\n\n```go\nfunc (x *ActivateRequest) String() string\n```\n\n```go\ntype Collection struct {\n\tId    uint64 `protobuf:\"varint,1,opt,name=id,proto3\" json:\"id,omitempty\"`      // Runtime collection ID (same as in DDS)\n\tState string `protobuf:\"bytes,2,opt,name=state,proto3\" json:\"state,omitempty\"` // Aggregated state as string\n\tPath  string `protobuf:\"bytes,3,opt,name=path,proto3\" json:\"path,omitempty\"`   // Path in the topology\n\tHost  string `protobuf:\"bytes,5,opt,name=host,proto3\" json:\"host,omitempty\"`   // Host where the collection runs\n\t// contains filtered or unexported fields\n}\n```\nCollection information\n\n```go\nfunc (*Collection) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Collection.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Collection) GetHost() string\n```\n\n```go\nfunc (x *Collection) GetId() uint64\n```\n\n```go\nfunc (x *Collection) GetPath() string\n```\n\n```go\nfunc (x *Collection) GetState() string\n```\n\n```go\nfunc (*Collection) ProtoMessage()\n```\n\n```go\nfunc (x *Collection) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Collection) Reset()\n```\n\n```go\nfunc (x *Collection) String() string\n```\n\n```go\ntype ConfigureRequest struct {\n\tRequest *StateRequest `protobuf:\"bytes,1,opt,name=request,proto3\" json:\"request,omitempty\"` // State change request. See StateRequest for details.\n\t// contains filtered or unexported fields\n}\n```\nConfigure request\n\n```go\nfunc (*ConfigureRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use ConfigureRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *ConfigureRequest) GetRequest() *StateRequest\n```\n\n```go\nfunc (*ConfigureRequest) ProtoMessage()\n```\n\n```go\nfunc (x *ConfigureRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *ConfigureRequest) Reset()\n```\n\n```go\nfunc (x *ConfigureRequest) String() string\n```\n\n```go\ntype Device struct {\n\tId         uint64 `protobuf:\"varint,1,opt,name=id,proto3\" json:\"id,omitempty\"`                 // Runtime task ID (same as in DDS)\n\tState      string `protobuf:\"bytes,2,opt,name=state,proto3\" json:\"state,omitempty\"`            // FairMQ device state as string\n\tPath       string `protobuf:\"bytes,3,opt,name=path,proto3\" json:\"path,omitempty\"`              // Runtime task path (same as in DDS)\n\tIgnored    bool   `protobuf:\"varint,4,opt,name=ignored,proto3\" json:\"ignored,omitempty\"`       // Device was stopped and set to be ignored\n\tHost       string `protobuf:\"bytes,5,opt,name=host,proto3\" json:\"host,omitempty\"`              // Host where the task runs\n\tExpendable bool   `protobuf:\"varint,6,opt,name=expendable,proto3\" json:\"expendable,omitempty\"` // Device is expendable\n\tRmsjobid   string `protobuf:\"bytes,7,opt,name=rmsjobid,proto3\" json:\"rmsjobid,omitempty\"`      // job IDs from the resource management system\n\t// contains filtered or unexported fields\n}\n```\nDevice information Runtime task ID and path are the same as in DDS. To get task details use DDS Topology API.\n\n```go\nfunc (*Device) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Device.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Device) GetExpendable() bool\n```\n\n```go\nfunc (x *Device) GetHost() string\n```\n\n```go\nfunc (x *Device) GetId() uint64\n```\n\n```go\nfunc (x *Device) GetIgnored() bool\n```\n\n```go\nfunc (x *Device) GetPath() string\n```\n\n```go\nfunc (x *Device) GetRmsjobid() string\n```\n\n```go\nfunc (x *Device) GetState() string\n```\n\n```go\nfunc (*Device) ProtoMessage()\n```\n\n```go\nfunc (x *Device) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Device) Reset()\n```\n\n```go\nfunc (x *Device) String() string\n```\n\n```go\ntype Error struct {\n\tMsg  string `protobuf:\"bytes,1,opt,name=msg,proto3\" json:\"msg,omitempty\"`    // Detailed error message\n\tCode int32  `protobuf:\"varint,2,opt,name=code,proto3\" json:\"code,omitempty\"` // Error code.\n\t// contains filtered or unexported fields\n}\n```\nGeneral error\n\n```go\nfunc (*Error) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Error.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Error) GetCode() int32\n```\n\n```go\nfunc (x *Error) GetMsg() string\n```\n\n```go\nfunc (*Error) ProtoMessage()\n```\n\n```go\nfunc (x *Error) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Error) Reset()\n```\n\n```go\nfunc (x *Error) String() string\n```\n\n```go\ntype GeneralReply struct {\n\tMsg         string      `protobuf:\"bytes,1,opt,name=msg,proto3\" json:\"msg,omitempty\"`                             // Detailed reply message\n\tStatus      ReplyStatus `protobuf:\"varint,2,opt,name=status,proto3,enum=odc.ReplyStatus\" json:\"status,omitempty\"` // Request status code (UNKNOWN, SUCCESS, ERROR)\n\tError       *Error      `protobuf:\"bytes,3,opt,name=error,proto3\" json:\"error,omitempty\"`                         // If status is ERROR than this field contains error description otherwise it's empty\n\tExectime    int32       `protobuf:\"varint,4,opt,name=exectime,proto3\" json:\"exectime,omitempty\"`                  // Request execution time in ms\n\tPartitionid string      `protobuf:\"bytes,5,opt,name=partitionid,proto3\" json:\"partitionid,omitempty\"`             // Partition ID from ECS\n\tSessionid   string      `protobuf:\"bytes,6,opt,name=sessionid,proto3\" json:\"sessionid,omitempty\"`                 // DDS session ID\n\tState       string      `protobuf:\"bytes,7,opt,name=state,proto3\" json:\"state,omitempty\"`                         // If successful and applicable to a request then contains an aggregated FairMQ device state, otherwise UNDEFINED.\n\tRunnr       uint64      `protobuf:\"varint,8,opt,name=runnr,proto3\" json:\"runnr,omitempty\"`                        // Run number from ECS (optional)\n\tHosts       []string    `protobuf:\"bytes,9,rep,name=hosts,proto3\" json:\"hosts,omitempty\"`                         // Where applicable, provides a list of used hosts (Submit/Run requests)\n\tRmsjobids   string      `protobuf:\"bytes,10,opt,name=rmsjobids,proto3\" json:\"rmsjobids,omitempty\"`                // Where applicable, provides a list of job IDs from the resource management system\n\t// contains filtered or unexported fields\n}\n```\nGeneral reply to requests\n\n```go\nfunc (*GeneralReply) Descriptor() ([]byte, []int)\n```\nDeprecated: Use GeneralReply.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *GeneralReply) GetError() *Error\n```\n\n```go\nfunc (x *GeneralReply) GetExectime() int32\n```\n\n```go\nfunc (x *GeneralReply) GetHosts() []string\n```\n\n```go\nfunc (x *GeneralReply) GetMsg() string\n```\n\n```go\nfunc (x *GeneralReply) GetPartitionid() string\n```\n\n```go\nfunc (x *GeneralReply) GetRmsjobids() string\n```\n\n```go\nfunc (x *GeneralReply) GetRunnr() uint64\n```\n\n```go\nfunc (x *GeneralReply) GetSessionid() string\n```\n\n```go\nfunc (x *GeneralReply) GetState() string\n```\n\n```go\nfunc (x *GeneralReply) GetStatus() ReplyStatus\n```\n\n```go\nfunc (*GeneralReply) ProtoMessage()\n```\n\n```go\nfunc (x *GeneralReply) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *GeneralReply) Reset()\n```\n\n```go\nfunc (x *GeneralReply) String() string\n```\n\n```go\ntype InitializeRequest struct {\n\tPartitionid string `protobuf:\"bytes,1,opt,name=partitionid,proto3\" json:\"partitionid,omitempty\"` // Partition ID from ECS\n\tRunnr       uint64 `protobuf:\"varint,3,opt,name=runnr,proto3\" json:\"runnr,omitempty\"`            // Run number from ECS\n\tTimeout     uint32 `protobuf:\"varint,4,opt,name=timeout,proto3\" json:\"timeout,omitempty\"`        // Request timeout in sec. If not set or 0 than default is used.\n\tSessionid   string `protobuf:\"bytes,2,opt,name=sessionid,proto3\" json:\"sessionid,omitempty\"`     // DDS session ID. If session ID is provided that ODC connects to an existing DDS session. If session ID is an empty string that a new DDS session is created.\n\t// contains filtered or unexported fields\n}\n```\nInitialize request\n\n```go\nfunc (*InitializeRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use InitializeRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *InitializeRequest) GetPartitionid() string\n```\n\n```go\nfunc (x *InitializeRequest) GetRunnr() uint64\n```\n\n```go\nfunc (x *InitializeRequest) GetSessionid() string\n```\n\n```go\nfunc (x *InitializeRequest) GetTimeout() uint32\n```\n\n```go\nfunc (*InitializeRequest) ProtoMessage()\n```\n\n```go\nfunc (x *InitializeRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *InitializeRequest) Reset()\n```\n\n```go\nfunc (x *InitializeRequest) String() string\n```\n\n```go\ntype ODCClient interface {\n\t// Creates a new DDS session or attaches to an existing DDS session.\n\tInitialize(ctx context.Context, in *InitializeRequest, opts ...grpc.CallOption) (*GeneralReply, error)\n\t// Submits DDS agents (deploys a dynamic cluster) according to a specified computing resources.\n\t// Can be called multiple times in order to submit more DDS agents (allocate more resources).\n\tSubmit(ctx context.Context, in *SubmitRequest, opts ...grpc.CallOption) (*GeneralReply, error)\n\t// Activates a given topology.\n\tActivate(ctx context.Context, in *ActivateRequest, opts ...grpc.CallOption) (*GeneralReply, error)\n\t// Run request combines Initialize, Submit and Activate into a single request.\n\t// Run request always creates a new DDS session.\n\tRun(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*GeneralReply, error)\n\t// Updates a topology (up or down scale number of tasks or any other topology change).\n\t// It consists of 3 commands: Reset, Activate and Configure.\n\t// Can be called multiple times.\n\tUpdate(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*GeneralReply, error)\n\t// Transitions devices into Ready state.\n\tConfigure(ctx context.Context, in *ConfigureRequest, opts ...grpc.CallOption) (*StateReply, error)\n\t// Changes devices configuration.\n\tSetProperties(ctx context.Context, in *SetPropertiesRequest, opts ...grpc.CallOption) (*GeneralReply, error)\n\t// Get current aggregated state of devices.\n\tGetState(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*StateReply, error)\n\t// Transition devices into Running state.\n\tStart(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StateReply, error)\n\t// Transitions devices into Ready state.\n\tStop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StateReply, error)\n\t// Transitions devices into Idle state.\n\tReset(ctx context.Context, in *ResetRequest, opts ...grpc.CallOption) (*StateReply, error)\n\t// Shuts devices down via End transition.\n\tTerminate(ctx context.Context, in *TerminateRequest, opts ...grpc.CallOption) (*StateReply, error)\n\t// Shutdown DDS session.\n\tShutdown(ctx context.Context, in *ShutdownRequest, opts ...grpc.CallOption) (*GeneralReply, error)\n\t// Status request.\n\tStatus(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusReply, error)\n}\n```\nODCClient is the client API for ODC 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 NewODCClient(cc grpc.ClientConnInterface) ODCClient\n```\n\n```go\ntype ODCServer interface {\n\t// Creates a new DDS session or attaches to an existing DDS session.\n\tInitialize(context.Context, *InitializeRequest) (*GeneralReply, error)\n\t// Submits DDS agents (deploys a dynamic cluster) according to a specified computing resources.\n\t// Can be called multiple times in order to submit more DDS agents (allocate more resources).\n\tSubmit(context.Context, *SubmitRequest) (*GeneralReply, error)\n\t// Activates a given topology.\n\tActivate(context.Context, *ActivateRequest) (*GeneralReply, error)\n\t// Run request combines Initialize, Submit and Activate into a single request.\n\t// Run request always creates a new DDS session.\n\tRun(context.Context, *RunRequest) (*GeneralReply, error)\n\t// Updates a topology (up or down scale number of tasks or any other topology change).\n\t// It consists of 3 commands: Reset, Activate and Configure.\n\t// Can be called multiple times.\n\tUpdate(context.Context, *UpdateRequest) (*GeneralReply, error)\n\t// Transitions devices into Ready state.\n\tConfigure(context.Context, *ConfigureRequest) (*StateReply, error)\n\t// Changes devices configuration.\n\tSetProperties(context.Context, *SetPropertiesRequest) (*GeneralReply, error)\n\t// Get current aggregated state of devices.\n\tGetState(context.Context, *StateRequest) (*StateReply, error)\n\t// Transition devices into Running state.\n\tStart(context.Context, *StartRequest) (*StateReply, error)\n\t// Transitions devices into Ready state.\n\tStop(context.Context, *StopRequest) (*StateReply, error)\n\t// Transitions devices into Idle state.\n\tReset(context.Context, *ResetRequest) (*StateReply, error)\n\t// Shuts devices down via End transition.\n\tTerminate(context.Context, *TerminateRequest) (*StateReply, error)\n\t// Shutdown DDS session.\n\tShutdown(context.Context, *ShutdownRequest) (*GeneralReply, error)\n\t// Status request.\n\tStatus(context.Context, *StatusRequest) (*StatusReply, error)\n}\n```\nODCServer is the server API for ODC service. All implementations should embed UnimplementedODCServer for forward compatibility\n\n```go\ntype PartitionStatus struct {\n\tPartitionid string        `protobuf:\"bytes,1,opt,name=partitionid,proto3\" json:\"partitionid,omitempty\"`               // Partition ID from ECS\n\tRunnr       uint64        `protobuf:\"varint,5,opt,name=runnr,proto3\" json:\"runnr,omitempty\"`                          // Run number from ECS\n\tTimeout     uint32        `protobuf:\"varint,6,opt,name=timeout,proto3\" json:\"timeout,omitempty\"`                      // Request timeout in sec. If not set or 0 than default is used.\n\tSessionid   string        `protobuf:\"bytes,2,opt,name=sessionid,proto3\" json:\"sessionid,omitempty\"`                   // DDS session ID\n\tStatus      SessionStatus `protobuf:\"varint,3,opt,name=status,proto3,enum=odc.SessionStatus\" json:\"status,omitempty\"` // DDS session status\n\tState       string        `protobuf:\"bytes,4,opt,name=state,proto3\" json:\"state,omitempty\"`                           // If successful and applicable to a request then contains an aggregated FairMQ device state, otherwise UNDEFINED.\n\t// contains filtered or unexported fields\n}\n```\nStatus of each partition\n\n```go\nfunc (*PartitionStatus) Descriptor() ([]byte, []int)\n```\nDeprecated: Use PartitionStatus.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *PartitionStatus) GetPartitionid() string\n```\n\n```go\nfunc (x *PartitionStatus) GetRunnr() uint64\n```\n\n```go\nfunc (x *PartitionStatus) GetSessionid() string\n```\n\n```go\nfunc (x *PartitionStatus) GetState() string\n```\n\n```go\nfunc (x *PartitionStatus) GetStatus() SessionStatus\n```\n\n```go\nfunc (x *PartitionStatus) GetTimeout() uint32\n```\n\n```go\nfunc (*PartitionStatus) ProtoMessage()\n```\n\n```go\nfunc (x *PartitionStatus) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *PartitionStatus) Reset()\n```\n\n```go\nfunc (x *PartitionStatus) String() string\n```\n\n```go\ntype Property struct {\n\tKey   string `protobuf:\"bytes,1,opt,name=key,proto3\" json:\"key,omitempty\"`     // Property key\n\tValue string `protobuf:\"bytes,2,opt,name=value,proto3\" json:\"value,omitempty\"` // Property value\n\t// contains filtered or unexported fields\n}\n```\nKey-Value property\n\n```go\nfunc (*Property) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Property.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Property) GetKey() string\n```\n\n```go\nfunc (x *Property) GetValue() string\n```\n\n```go\nfunc (*Property) ProtoMessage()\n```\n\n```go\nfunc (x *Property) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Property) Reset()\n```\n\n```go\nfunc (x *Property) String() string\n```\n\n```go\ntype ReplyStatus int32\n```\nRequest status\n\n```go\nconst (\n\tReplyStatus_UNKNOWN ReplyStatus = 0 // Status is unknown\n\tReplyStatus_SUCCESS ReplyStatus = 1 // Request performed successfully\n\tReplyStatus_ERROR   ReplyStatus = 2 // Failed to perform request\n)\n```\n\n```go\nfunc (ReplyStatus) Descriptor() protoreflect.EnumDescriptor\n```\n\n```go\nfunc (x ReplyStatus) Enum() *ReplyStatus\n```\n\n```go\nfunc (ReplyStatus) EnumDescriptor() ([]byte, []int)\n```\nDeprecated: Use ReplyStatus.Descriptor instead.\n\n```go\nfunc (x ReplyStatus) Number() protoreflect.EnumNumber\n```\n\n```go\nfunc (x ReplyStatus) String() string\n```\n\n```go\nfunc (ReplyStatus) Type() protoreflect.EnumType\n```\n\n```go\ntype ResetRequest struct {\n\tRequest *StateRequest `protobuf:\"bytes,1,opt,name=request,proto3\" json:\"request,omitempty\"` // State change request. See StateRequest for details.\n\t// contains filtered or unexported fields\n}\n```\nReset request\n\n```go\nfunc (*ResetRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use ResetRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *ResetRequest) GetRequest() *StateRequest\n```\n\n```go\nfunc (*ResetRequest) ProtoMessage()\n```\n\n```go\nfunc (x *ResetRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *ResetRequest) Reset()\n```\n\n```go\nfunc (x *ResetRequest) String() string\n```\n\n```go\ntype RunRequest struct {\n\tPartitionid string `protobuf:\"bytes,1,opt,name=partitionid,proto3\" json:\"partitionid,omitempty\"` // Partition ID from ECS\n\tRunnr       uint64 `protobuf:\"varint,7,opt,name=runnr,proto3\" json:\"runnr,omitempty\"`            // Run number from ECS\n\tTimeout     uint32 `protobuf:\"varint,8,opt,name=timeout,proto3\" json:\"timeout,omitempty\"`        // Request timeout in sec. If not set or 0 than default is used.\n\t// Either `topology`, `content` or `script` has to be set. If all or none is set then an error is returned.\n\tTopology             string `protobuf:\"bytes,2,opt,name=topology,proto3\" json:\"topology,omitempty\"`                          // Filepath to the XML DDS topology file\n\tContent              string `protobuf:\"bytes,5,opt,name=content,proto3\" json:\"content,omitempty\"`                            // Content of the XML DDS topology\n\tScript               string `protobuf:\"bytes,6,opt,name=script,proto3\" json:\"script,omitempty\"`                              // Shell commands to be executed by ODC in order to generate content of the XML DDS topology\n\tPlugin               string `protobuf:\"bytes,3,opt,name=plugin,proto3\" json:\"plugin,omitempty\"`                              // Name of the resource plugin registered in odc-server\n\tResources            string `protobuf:\"bytes,4,opt,name=resources,proto3\" json:\"resources,omitempty\"`                        // Resource description\n\tExtractTopoResources bool   `protobuf:\"varint,9,opt,name=extractTopoResources,proto3\" json:\"extractTopoResources,omitempty\"` // extract required resources from the topology file only (plugin \u0026 resources fields are ignored)\n\t// contains filtered or unexported fields\n}\n```\nRun request\n\n```go\nfunc (*RunRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use RunRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *RunRequest) GetContent() string\n```\n\n```go\nfunc (x *RunRequest) GetExtractTopoResources() bool\n```\n\n```go\nfunc (x *RunRequest) GetPartitionid() string\n```\n\n```go\nfunc (x *RunRequest) GetPlugin() string\n```\n\n```go\nfunc (x *RunRequest) GetResources() string\n```\n\n```go\nfunc (x *RunRequest) GetRunnr() uint64\n```\n\n```go\nfunc (x *RunRequest) GetScript() string\n```\n\n```go\nfunc (x *RunRequest) GetTimeout() uint32\n```\n\n```go\nfunc (x *RunRequest) GetTopology() string\n```\n\n```go\nfunc (*RunRequest) ProtoMessage()\n```\n\n```go\nfunc (x *RunRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *RunRequest) Reset()\n```\n\n```go\nfunc (x *RunRequest) String() string\n```\n\n```go\ntype SessionStatus int32\n```\nSession status as defined by DDS\n\n```go\nconst (\n\tSessionStatus_UNKNOWN_ SessionStatus = 0 // Status is unknown\n\tSessionStatus_RUNNING  SessionStatus = 1 // DDS session is running\n\tSessionStatus_STOPPED  SessionStatus = 2 // DDS session is stopped\n)\n```\n\n```go\nfunc (SessionStatus) Descriptor() protoreflect.EnumDescriptor\n```\n\n```go\nfunc (x SessionStatus) Enum() *SessionStatus\n```\n\n```go\nfunc (SessionStatus) EnumDescriptor() ([]byte, []int)\n```\nDeprecated: Use SessionStatus.Descriptor instead.\n\n```go\nfunc (x SessionStatus) Number() protoreflect.EnumNumber\n```\n\n```go\nfunc (x SessionStatus) String() string\n```\n\n```go\nfunc (SessionStatus) Type() protoreflect.EnumType\n```\n\n```go\ntype SetPropertiesRequest struct {\n\tPartitionid string      `protobuf:\"bytes,1,opt,name=partitionid,proto3\" json:\"partitionid,omitempty\"` // Partition ID from ECS\n\tRunnr       uint64      `protobuf:\"varint,4,opt,name=runnr,proto3\" json:\"runnr,omitempty\"`            // Run number from ECS\n\tTimeout     uint32      `protobuf:\"varint,5,opt,name=timeout,proto3\" json:\"timeout,omitempty\"`        // Request timeout in sec. If not set or 0 than default is used.\n\tPath        string      `protobuf:\"bytes,2,opt,name=path,proto3\" json:\"path,omitempty\"`               // Task path in the DDS topology. Can be a regular expression.\n\tProperties  []*Property `protobuf:\"bytes,3,rep,name=properties,proto3\" json:\"properties,omitempty\"`   // List of properties to be set\n\t// contains filtered or unexported fields\n}\n```\nSet properties request\n\n```go\nfunc (*SetPropertiesRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use SetPropertiesRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *SetPropertiesRequest) GetPartitionid() string\n```\n\n```go\nfunc (x *SetPropertiesRequest) GetPath() string\n```\n\n```go\nfunc (x *SetPropertiesRequest) GetProperties() []*Property\n```\n\n```go\nfunc (x *SetPropertiesRequest) GetRunnr() uint64\n```\n\n```go\nfunc (x *SetPropertiesRequest) GetTimeout() uint32\n```\n\n```go\nfunc (*SetPropertiesRequest) ProtoMessage()\n```\n\n```go\nfunc (x *SetPropertiesRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *SetPropertiesRequest) Reset()\n```\n\n```go\nfunc (x *SetPropertiesRequest) String() string\n```\n\n```go\ntype ShutdownRequest struct {\n\tPartitionid string `protobuf:\"bytes,1,opt,name=partitionid,proto3\" json:\"partitionid,omitempty\"` // Partition ID from ECS\n\tRunnr       uint64 `protobuf:\"varint,2,opt,name=runnr,proto3\" json:\"runnr,omitempty\"`            // Run number from ECS\n\tTimeout     uint32 `protobuf:\"varint,3,opt,name=timeout,proto3\" json:\"timeout,omitempty\"`        // Request timeout in sec. If not set or 0 than default is used.\n\t// contains filtered or unexported fields\n}\n```\nShutdown request\n\n```go\nfunc (*ShutdownRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use ShutdownRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *ShutdownRequest) GetPartitionid() string\n```\n\n```go\nfunc (x *ShutdownRequest) GetRunnr() uint64\n```\n\n```go\nfunc (x *ShutdownRequest) GetTimeout() uint32\n```\n\n```go\nfunc (*ShutdownRequest) ProtoMessage()\n```\n\n```go\nfunc (x *ShutdownRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *ShutdownRequest) Reset()\n```\n\n```go\nfunc (x *ShutdownRequest) String() string\n```\n\n```go\ntype StartRequest struct {\n\tRequest *StateRequest `protobuf:\"bytes,1,opt,name=request,proto3\" json:\"request,omitempty\"` // State change request. See StateRequest for details.\n\t// contains filtered or unexported fields\n}\n```\nStart request\n\n```go\nfunc (*StartRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use StartRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *StartRequest) GetRequest() *StateRequest\n```\n\n```go\nfunc (*StartRequest) ProtoMessage()\n```\n\n```go\nfunc (x *StartRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *StartRequest) Reset()\n```\n\n```go\nfunc (x *StartRequest) String() string\n```\n\n```go\ntype StateReply struct {\n\tReply       *GeneralReply `protobuf:\"bytes,1,opt,name=reply,proto3\" json:\"reply,omitempty\"`             // General reply. See GeneralReply message for details.\n\tDevices     []*Device     `protobuf:\"bytes,2,rep,name=devices,proto3\" json:\"devices,omitempty\"`         // If detailed reply is requested then this field contains a list of affected devices otherwise it's empty.\n\tCollections []*Collection `protobuf:\"bytes,3,rep,name=collections,proto3\" json:\"collections,omitempty\"` // If detailed reply is requested then this field contains a list of affected collections otherwise it's empty.\n\t// contains filtered or unexported fields\n}\n```\nDevice change/get state reply\n\n```go\nfunc (*StateReply) Descriptor() ([]byte, []int)\n```\nDeprecated: Use StateReply.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *StateReply) GetCollections() []*Collection\n```\n\n```go\nfunc (x *StateReply) GetDevices() []*Device\n```\n\n```go\nfunc (x *StateReply) GetReply() *GeneralReply\n```\n\n```go\nfunc (*StateReply) ProtoMessage()\n```\n\n```go\nfunc (x *StateReply) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *StateReply) Reset()\n```\n\n```go\nfunc (x *StateReply) String() string\n```\n\n```go\ntype StateRequest struct {\n\tPartitionid string `protobuf:\"bytes,1,opt,name=partitionid,proto3\" json:\"partitionid,omitempty\"` // Partition ID from ECS\n\tRunnr       uint64 `protobuf:\"varint,4,opt,name=runnr,proto3\" json:\"runnr,omitempty\"`            // Run number from ECS\n\tTimeout     uint32 `protobuf:\"varint,5,opt,name=timeout,proto3\" json:\"timeout,omitempty\"`        // Request timeout in sec. If not set or 0 than default is used.\n\tPath        string `protobuf:\"bytes,2,opt,name=path,proto3\" json:\"path,omitempty\"`               // Task path in the DDS topology. Can be a regular expression.\n\tDetailed    bool   `protobuf:\"varint,3,opt,name=detailed,proto3\" json:\"detailed,omitempty\"`      // If true then a list of affected devices is populated in the reply.\n\t// contains filtered or unexported fields\n}\n```\nDevice change/get state request\n\n```go\nfunc (*StateRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use StateRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *StateRequest) GetDetailed() bool\n```\n\n```go\nfunc (x *StateRequest) GetPartitionid() string\n```\n\n```go\nfunc (x *StateRequest) GetPath() string\n```\n\n```go\nfunc (x *StateRequest) GetRunnr() uint64\n```\n\n```go\nfunc (x *StateRequest) GetTimeout() uint32\n```\n\n```go\nfunc (*StateRequest) ProtoMessage()\n```\n\n```go\nfunc (x *StateRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *StateRequest) Reset()\n```\n\n```go\nfunc (x *StateRequest) String() string\n```\n\n```go\ntype StatusReply struct {\n\tMsg        string             `protobuf:\"bytes,1,opt,name=msg,proto3\" json:\"msg,omitempty\"`                             // Detailed reply message\n\tStatus     ReplyStatus        `protobuf:\"varint,2,opt,name=status,proto3,enum=odc.ReplyStatus\" json:\"status,omitempty\"` // Request status code (UNKNOWN, SUCCESS, ERROR)\n\tError      *Error             `protobuf:\"bytes,3,opt,name=error,proto3\" json:\"error,omitempty\"`                         // If status is ERROR than this field contains error description otherwise it's empty\n\tExectime   int32              `protobuf:\"varint,4,opt,name=exectime,proto3\" json:\"exectime,omitempty\"`                  // Request execution time in ms\n\tPartitions []*PartitionStatus `protobuf:\"bytes,5,rep,name=partitions,proto3\" json:\"partitions,omitempty\"`               // Status of each partition\n\t// contains filtered or unexported fields\n}\n```\nODC status reply\n\n```go\nfunc (*StatusReply) Descriptor() ([]byte, []int)\n```\nDeprecated: Use StatusReply.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *StatusReply) GetError() *Error\n```\n\n```go\nfunc (x *StatusReply) GetExectime() int32\n```\n\n```go\nfunc (x *StatusReply) GetMsg() string\n```\n\n```go\nfunc (x *StatusReply) GetPartitions() []*PartitionStatus\n```\n\n```go\nfunc (x *StatusReply) GetStatus() ReplyStatus\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\tRunning bool `protobuf:\"varint,1,opt,name=running,proto3\" json:\"running,omitempty\"` // Select only running DDS sessions\n\t// contains filtered or unexported fields\n}\n```\nStatus request\n\n```go\nfunc (*StatusRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use StatusRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *StatusRequest) GetRunning() bool\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 StopRequest struct {\n\tRequest *StateRequest `protobuf:\"bytes,1,opt,name=request,proto3\" json:\"request,omitempty\"` // State change request. See StateRequest for details.\n\t// contains filtered or unexported fields\n}\n```\nStop request\n\n```go\nfunc (*StopRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use StopRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *StopRequest) GetRequest() *StateRequest\n```\n\n```go\nfunc (*StopRequest) ProtoMessage()\n```\n\n```go\nfunc (x *StopRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *StopRequest) Reset()\n```\n\n```go\nfunc (x *StopRequest) String() string\n```\n\n```go\ntype SubmitRequest struct {\n\tPartitionid string `protobuf:\"bytes,1,opt,name=partitionid,proto3\" json:\"partitionid,omitempty\"` // Partition ID from ECS\n\tRunnr       uint64 `protobuf:\"varint,4,opt,name=runnr,proto3\" json:\"runnr,omitempty\"`            // Run number from ECS\n\tTimeout     uint32 `protobuf:\"varint,5,opt,name=timeout,proto3\" json:\"timeout,omitempty\"`        // Request timeout in sec. If not set or 0 than default is used.\n\tPlugin      string `protobuf:\"bytes,2,opt,name=plugin,proto3\" json:\"plugin,omitempty\"`           // Name of the resource plugin registered in odc-server\n\tResources   string `protobuf:\"bytes,3,opt,name=resources,proto3\" json:\"resources,omitempty\"`     // Resource description\n\t// contains filtered or unexported fields\n}\n```\nSubmit request\n\n```go\nfunc (*SubmitRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use SubmitRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *SubmitRequest) GetPartitionid() string\n```\n\n```go\nfunc (x *SubmitRequest) GetPlugin() string\n```\n\n```go\nfunc (x *SubmitRequest) GetResources() string\n```\n\n```go\nfunc (x *SubmitRequest) GetRunnr() uint64\n```\n\n```go\nfunc (x *SubmitRequest) GetTimeout() uint32\n```\n\n```go\nfunc (*SubmitRequest) ProtoMessage()\n```\n\n```go\nfunc (x *SubmitRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *SubmitRequest) Reset()\n```\n\n```go\nfunc (x *SubmitRequest) String() string\n```\n\n```go\ntype TerminateRequest struct {\n\tRequest *StateRequest `protobuf:\"bytes,1,opt,name=request,proto3\" json:\"request,omitempty\"` // State change request. See StateRequest for details.\n\t// contains filtered or unexported fields\n}\n```\nTerminate request\n\n```go\nfunc (*TerminateRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use TerminateRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *TerminateRequest) GetRequest() *StateRequest\n```\n\n```go\nfunc (*TerminateRequest) ProtoMessage()\n```\n\n```go\nfunc (x *TerminateRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *TerminateRequest) Reset()\n```\n\n```go\nfunc (x *TerminateRequest) String() string\n```\n\n```go\ntype UnimplementedODCServer struct {\n}\n```\nUnimplementedODCServer should be embedded to have forward compatible implementations.\n\n```go\nfunc (UnimplementedODCServer) Activate(context.Context, *ActivateRequest) (*GeneralReply, error)\n```\n\n```go\nfunc (UnimplementedODCServer) Configure(context.Context, *ConfigureRequest) (*StateReply, error)\n```\n\n```go\nfunc (UnimplementedODCServer) GetState(context.Context, *StateRequest) (*StateReply, error)\n```\n\n```go\nfunc (UnimplementedODCServer) Initialize(context.Context, *InitializeRequest) (*GeneralReply, error)\n```\n\n```go\nfunc (UnimplementedODCServer) Reset(context.Context, *ResetRequest) (*StateReply, error)\n```\n\n```go\nfunc (UnimplementedODCServer) Run(context.Context, *RunRequest) (*GeneralReply, error)\n```\n\n```go\nfunc (UnimplementedODCServer) SetProperties(context.Context, *SetPropertiesRequest) (*GeneralReply, error)\n```\n\n```go\nfunc (UnimplementedODCServer) Shutdown(context.Context, *ShutdownRequest) (*GeneralReply, error)\n```\n\n```go\nfunc (UnimplementedODCServer) Start(context.Context, *StartRequest) (*StateReply, error)\n```\n\n```go\nfunc (UnimplementedODCServer) Status(context.Context, *StatusRequest) (*StatusReply, error)\n```\n\n```go\nfunc (UnimplementedODCServer) Stop(context.Context, *StopRequest) (*StateReply, error)\n```\n\n```go\nfunc (UnimplementedODCServer) Submit(context.Context, *SubmitRequest) (*GeneralReply, error)\n```\n\n```go\nfunc (UnimplementedODCServer) Terminate(context.Context, *TerminateRequest) (*StateReply, error)\n```\n\n```go\nfunc (UnimplementedODCServer) Update(context.Context, *UpdateRequest) (*GeneralReply, error)\n```\n\n```go\ntype UnsafeODCServer interface {\n\t// contains filtered or unexported methods\n}\n```\nUnsafeODCServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ODCServer will result in compilation errors.\n\n```go\ntype UpdateRequest struct {\n\tPartitionid string `protobuf:\"bytes,1,opt,name=partitionid,proto3\" json:\"partitionid,omitempty\"` // Partition ID from ECS\n\tRunnr       uint64 `protobuf:\"varint,5,opt,name=runnr,proto3\" json:\"runnr,omitempty\"`            // Run number from ECS\n\tTimeout     uint32 `protobuf:\"varint,6,opt,name=timeout,proto3\" json:\"timeout,omitempty\"`        // Request timeout in sec. If not set or 0 than default is used.\n\t// Either `topology`, `content` or `script` has to be set. If all or none is set then an error is returned.\n\tTopology string `protobuf:\"bytes,2,opt,name=topology,proto3\" json:\"topology,omitempty\"` // Filepath to the XML DDS topology file\n\tContent  string `protobuf:\"bytes,3,opt,name=content,proto3\" json:\"content,omitempty\"`   // Content of the XML DDS topology\n\tScript   string `protobuf:\"bytes,4,opt,name=script,proto3\" json:\"script,omitempty\"`     // Shell commands to be executed by ODC in order to generate content of the XML DDS topology\n\t// contains filtered or unexported fields\n}\n```\nUpdate request\n\n```go\nfunc (*UpdateRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *UpdateRequest) GetContent() string\n```\n\n```go\nfunc (x *UpdateRequest) GetPartitionid() string\n```\n\n```go\nfunc (x *UpdateRequest) GetRunnr() uint64\n```\n\n```go\nfunc (x *UpdateRequest) GetScript() string\n```\n\n```go\nfunc (x *UpdateRequest) GetTimeout() uint32\n```\n\n```go\nfunc (x *UpdateRequest) GetTopology() string\n```\n\n```go\nfunc (*UpdateRequest) ProtoMessage()\n```\n\n```go\nfunc (x *UpdateRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *UpdateRequest) Reset()\n```\n\n```go\nfunc (x *UpdateRequest) String() string\n```\n\n","path":"github.com/AliceO2Group/Control/core/integration/odc/protos","name":"odc","synopsis":"","isRedistributable":true}
