{"modulePath":"github.com/AliceO2Group/Control","version":"v0.40.1","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package pb\n\n## Variables\n\n```go\nvar (\n\tStateChangeTrigger_name = map[int32]string{\n\t\t0: \"EXECUTOR\",\n\t\t1: \"DEVICE_INTENTIONAL\",\n\t\t2: \"DEVICE_ERROR\",\n\t}\n\tStateChangeTrigger_value = map[string]int32{\n\t\t\"EXECUTOR\":           0,\n\t\t\"DEVICE_INTENTIONAL\": 1,\n\t\t\"DEVICE_ERROR\":       2,\n\t}\n)\n```\nEnum value maps for StateChangeTrigger.\n\n```go\nvar (\n\tStateType_name = map[int32]string{\n\t\t0: \"STATE_STABLE\",\n\t\t1: \"STATE_INTERMEDIATE\",\n\t}\n\tStateType_value = map[string]int32{\n\t\t\"STATE_STABLE\":       0,\n\t\t\"STATE_INTERMEDIATE\": 1,\n\t}\n)\n```\nEnum value maps for StateType.\n\n```go\nvar (\n\tDeviceEventType_name = map[int32]string{\n\t\t0: \"NULL_DEVICE_EVENT\",\n\t\t1: \"END_OF_STREAM\",\n\t\t2: \"BASIC_TASK_TERMINATED\",\n\t}\n\tDeviceEventType_value = map[string]int32{\n\t\t\"NULL_DEVICE_EVENT\":     0,\n\t\t\"END_OF_STREAM\":         1,\n\t\t\"BASIC_TASK_TERMINATED\": 2,\n\t}\n)\n```\nEnum value maps for DeviceEventType.\n\n```go\nvar File_protos_occ_proto protoreflect.FileDescriptor\n```\n\n```go\nvar Occ_ServiceDesc = grpc.ServiceDesc{\n\tServiceName: \"occ_pb.Occ\",\n\tHandlerType: (*OccServer)(nil),\n\tMethods: []grpc.MethodDesc{\n\t\t{\n\t\t\tMethodName: \"GetState\",\n\t\t\tHandler:    _Occ_GetState_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"Transition\",\n\t\t\tHandler:    _Occ_Transition_Handler,\n\t\t},\n\t},\n\tStreams: []grpc.StreamDesc{\n\t\t{\n\t\t\tStreamName:    \"EventStream\",\n\t\t\tHandler:       _Occ_EventStream_Handler,\n\t\t\tServerStreams: true,\n\t\t},\n\t\t{\n\t\t\tStreamName:    \"StateStream\",\n\t\t\tHandler:       _Occ_StateStream_Handler,\n\t\t\tServerStreams: true,\n\t\t},\n\t},\n\tMetadata: \"protos/occ.proto\",\n}\n```\nOcc\\_ServiceDesc is the grpc.ServiceDesc for Occ 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 RegisterOccServer(s grpc.ServiceRegistrar, srv OccServer)\n```\n\n## Types\n\n```go\ntype ConfigEntry struct {\n\tKey   string `protobuf:\"bytes,1,opt,name=key,proto3\" json:\"key,omitempty\"`\n\tValue string `protobuf:\"bytes,2,opt,name=value,proto3\" json:\"value,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*ConfigEntry) Descriptor() ([]byte, []int)\n```\nDeprecated: Use ConfigEntry.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *ConfigEntry) GetKey() string\n```\n\n```go\nfunc (x *ConfigEntry) GetValue() string\n```\n\n```go\nfunc (*ConfigEntry) ProtoMessage()\n```\n\n```go\nfunc (x *ConfigEntry) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *ConfigEntry) Reset()\n```\n\n```go\nfunc (x *ConfigEntry) String() string\n```\n\n```go\ntype DeviceEvent struct {\n\tType DeviceEventType `protobuf:\"varint,1,opt,name=type,proto3,enum=occ_pb.DeviceEventType\" json:\"type,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*DeviceEvent) Descriptor() ([]byte, []int)\n```\nDeprecated: Use DeviceEvent.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *DeviceEvent) GetType() DeviceEventType\n```\n\n```go\nfunc (*DeviceEvent) ProtoMessage()\n```\n\n```go\nfunc (x *DeviceEvent) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *DeviceEvent) Reset()\n```\n\n```go\nfunc (x *DeviceEvent) String() string\n```\n\n```go\ntype DeviceEventType int32\n```\n\n```go\nconst (\n\tDeviceEventType_NULL_DEVICE_EVENT     DeviceEventType = 0\n\tDeviceEventType_END_OF_STREAM         DeviceEventType = 1\n\tDeviceEventType_BASIC_TASK_TERMINATED DeviceEventType = 2\n)\n```\n\n```go\nfunc (DeviceEventType) Descriptor() protoreflect.EnumDescriptor\n```\n\n```go\nfunc (x DeviceEventType) Enum() *DeviceEventType\n```\n\n```go\nfunc (DeviceEventType) EnumDescriptor() ([]byte, []int)\n```\nDeprecated: Use DeviceEventType.Descriptor instead.\n\n```go\nfunc (x DeviceEventType) Number() protoreflect.EnumNumber\n```\n\n```go\nfunc (x DeviceEventType) String() string\n```\n\n```go\nfunc (DeviceEventType) Type() protoreflect.EnumType\n```\n\n```go\ntype EventStreamReply struct {\n\tEvent *DeviceEvent `protobuf:\"bytes,1,opt,name=event,proto3\" json:\"event,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*EventStreamReply) Descriptor() ([]byte, []int)\n```\nDeprecated: Use EventStreamReply.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *EventStreamReply) GetEvent() *DeviceEvent\n```\n\n```go\nfunc (*EventStreamReply) ProtoMessage()\n```\n\n```go\nfunc (x *EventStreamReply) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *EventStreamReply) Reset()\n```\n\n```go\nfunc (x *EventStreamReply) String() string\n```\n\n```go\ntype EventStreamRequest struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*EventStreamRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use EventStreamRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (*EventStreamRequest) ProtoMessage()\n```\n\n```go\nfunc (x *EventStreamRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *EventStreamRequest) Reset()\n```\n\n```go\nfunc (x *EventStreamRequest) String() string\n```\n\n```go\ntype GetStateReply struct {\n\tState string `protobuf:\"bytes,1,opt,name=state,proto3\" json:\"state,omitempty\"`\n\tPid   int32  `protobuf:\"varint,2,opt,name=pid,proto3\" json:\"pid,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*GetStateReply) Descriptor() ([]byte, []int)\n```\nDeprecated: Use GetStateReply.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *GetStateReply) GetPid() int32\n```\n\n```go\nfunc (x *GetStateReply) GetState() string\n```\n\n```go\nfunc (*GetStateReply) ProtoMessage()\n```\n\n```go\nfunc (x *GetStateReply) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *GetStateReply) Reset()\n```\n\n```go\nfunc (x *GetStateReply) String() string\n```\n\n```go\ntype GetStateRequest struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*GetStateRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use GetStateRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (*GetStateRequest) ProtoMessage()\n```\n\n```go\nfunc (x *GetStateRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *GetStateRequest) Reset()\n```\n\n```go\nfunc (x *GetStateRequest) String() string\n```\n\n```go\ntype OccClient interface {\n\t// We have to have a notification stream because the FairMQDevice might transition\n\t// on its own for whatever reason.\n\tEventStream(ctx context.Context, in *EventStreamRequest, opts ...grpc.CallOption) (Occ_EventStreamClient, error)\n\tStateStream(ctx context.Context, in *StateStreamRequest, opts ...grpc.CallOption) (Occ_StateStreamClient, error)\n\tGetState(ctx context.Context, in *GetStateRequest, opts ...grpc.CallOption) (*GetStateReply, error)\n\tTransition(ctx context.Context, in *TransitionRequest, opts ...grpc.CallOption) (*TransitionReply, error)\n}\n```\nOccClient is the client API for Occ 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 NewOccClient(cc grpc.ClientConnInterface) OccClient\n```\n\n```go\ntype OccServer interface {\n\t// We have to have a notification stream because the FairMQDevice might transition\n\t// on its own for whatever reason.\n\tEventStream(*EventStreamRequest, Occ_EventStreamServer) error\n\tStateStream(*StateStreamRequest, Occ_StateStreamServer) error\n\tGetState(context.Context, *GetStateRequest) (*GetStateReply, error)\n\tTransition(context.Context, *TransitionRequest) (*TransitionReply, error)\n\t// contains filtered or unexported methods\n}\n```\nOccServer is the server API for Occ service. All implementations must embed UnimplementedOccServer for forward compatibility\n\n```go\ntype Occ_EventStreamClient interface {\n\tRecv() (*EventStreamReply, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype Occ_EventStreamServer interface {\n\tSend(*EventStreamReply) error\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype Occ_StateStreamClient interface {\n\tRecv() (*StateStreamReply, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype Occ_StateStreamServer interface {\n\tSend(*StateStreamReply) error\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype StateChangeTrigger int32\n```\n\n```go\nconst (\n\tStateChangeTrigger_EXECUTOR           StateChangeTrigger = 0\n\tStateChangeTrigger_DEVICE_INTENTIONAL StateChangeTrigger = 1\n\tStateChangeTrigger_DEVICE_ERROR       StateChangeTrigger = 2\n)\n```\n\n```go\nfunc (StateChangeTrigger) Descriptor() protoreflect.EnumDescriptor\n```\n\n```go\nfunc (x StateChangeTrigger) Enum() *StateChangeTrigger\n```\n\n```go\nfunc (StateChangeTrigger) EnumDescriptor() ([]byte, []int)\n```\nDeprecated: Use StateChangeTrigger.Descriptor instead.\n\n```go\nfunc (x StateChangeTrigger) Number() protoreflect.EnumNumber\n```\n\n```go\nfunc (x StateChangeTrigger) String() string\n```\n\n```go\nfunc (StateChangeTrigger) Type() protoreflect.EnumType\n```\n\n```go\ntype StateStreamReply struct {\n\tType  StateType `protobuf:\"varint,1,opt,name=type,proto3,enum=occ_pb.StateType\" json:\"type,omitempty\"`\n\tState string    `protobuf:\"bytes,2,opt,name=state,proto3\" json:\"state,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*StateStreamReply) Descriptor() ([]byte, []int)\n```\nDeprecated: Use StateStreamReply.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *StateStreamReply) GetState() string\n```\n\n```go\nfunc (x *StateStreamReply) GetType() StateType\n```\n\n```go\nfunc (*StateStreamReply) ProtoMessage()\n```\n\n```go\nfunc (x *StateStreamReply) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *StateStreamReply) Reset()\n```\n\n```go\nfunc (x *StateStreamReply) String() string\n```\n\n```go\ntype StateStreamRequest struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*StateStreamRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use StateStreamRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (*StateStreamRequest) ProtoMessage()\n```\n\n```go\nfunc (x *StateStreamRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *StateStreamRequest) Reset()\n```\n\n```go\nfunc (x *StateStreamRequest) String() string\n```\n\n```go\ntype StateType int32\n```\n\n```go\nconst (\n\tStateType_STATE_STABLE       StateType = 0\n\tStateType_STATE_INTERMEDIATE StateType = 1\n)\n```\n\n```go\nfunc (StateType) Descriptor() protoreflect.EnumDescriptor\n```\n\n```go\nfunc (x StateType) Enum() *StateType\n```\n\n```go\nfunc (StateType) EnumDescriptor() ([]byte, []int)\n```\nDeprecated: Use StateType.Descriptor instead.\n\n```go\nfunc (x StateType) Number() protoreflect.EnumNumber\n```\n\n```go\nfunc (x StateType) String() string\n```\n\n```go\nfunc (StateType) Type() protoreflect.EnumType\n```\n\n```go\ntype TransitionReply struct {\n\tTrigger         StateChangeTrigger `protobuf:\"varint,1,opt,name=trigger,proto3,enum=occ_pb.StateChangeTrigger\" json:\"trigger,omitempty\"`\n\tState           string             `protobuf:\"bytes,2,opt,name=state,proto3\" json:\"state,omitempty\"`\n\tTransitionEvent string             `protobuf:\"bytes,3,opt,name=transitionEvent,proto3\" json:\"transitionEvent,omitempty\"`\n\tOk              bool               `protobuf:\"varint,4,opt,name=ok,proto3\" json:\"ok,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*TransitionReply) Descriptor() ([]byte, []int)\n```\nDeprecated: Use TransitionReply.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *TransitionReply) GetOk() bool\n```\n\n```go\nfunc (x *TransitionReply) GetState() string\n```\n\n```go\nfunc (x *TransitionReply) GetTransitionEvent() string\n```\n\n```go\nfunc (x *TransitionReply) GetTrigger() StateChangeTrigger\n```\n\n```go\nfunc (*TransitionReply) ProtoMessage()\n```\n\n```go\nfunc (x *TransitionReply) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *TransitionReply) Reset()\n```\n\n```go\nfunc (x *TransitionReply) String() string\n```\n\n```go\ntype TransitionRequest struct {\n\tSrcState        string         `protobuf:\"bytes,1,opt,name=srcState,proto3\" json:\"srcState,omitempty\"`\n\tTransitionEvent string         `protobuf:\"bytes,2,opt,name=transitionEvent,proto3\" json:\"transitionEvent,omitempty\"`\n\tArguments       []*ConfigEntry `protobuf:\"bytes,3,rep,name=arguments,proto3\" json:\"arguments,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*TransitionRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use TransitionRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *TransitionRequest) GetArguments() []*ConfigEntry\n```\n\n```go\nfunc (x *TransitionRequest) GetSrcState() string\n```\n\n```go\nfunc (x *TransitionRequest) GetTransitionEvent() string\n```\n\n```go\nfunc (*TransitionRequest) ProtoMessage()\n```\n\n```go\nfunc (x *TransitionRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *TransitionRequest) Reset()\n```\n\n```go\nfunc (x *TransitionRequest) String() string\n```\n\n```go\ntype UnimplementedOccServer struct {\n}\n```\nUnimplementedOccServer must be embedded to have forward compatible implementations.\n\n```go\nfunc (UnimplementedOccServer) EventStream(*EventStreamRequest, Occ_EventStreamServer) error\n```\n\n```go\nfunc (UnimplementedOccServer) GetState(context.Context, *GetStateRequest) (*GetStateReply, error)\n```\n\n```go\nfunc (UnimplementedOccServer) StateStream(*StateStreamRequest, Occ_StateStreamServer) error\n```\n\n```go\nfunc (UnimplementedOccServer) Transition(context.Context, *TransitionRequest) (*TransitionReply, error)\n```\n\n```go\ntype UnsafeOccServer interface {\n\t// contains filtered or unexported methods\n}\n```\nUnsafeOccServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OccServer will result in compilation errors.\n\n","path":"github.com/AliceO2Group/Control/executor/protos","name":"pb","synopsis":"","isRedistributable":true}
