diff --git a/schema/druncschema/controller.proto b/schema/druncschema/controller.proto index a6725c7..aa49f67 100644 --- a/schema/druncschema/controller.proto +++ b/schema/druncschema/controller.proto @@ -18,11 +18,11 @@ service Controller { rpc exclude (ExcludeRequest) returns (ExcludeResponse) {} rpc recompute_status (RecomputeStatusRequest) returns (RecomputeStatusResponse) {} - rpc take_control (Request) returns (Response) {} - rpc surrender_control (Request) returns (Response) {} - rpc who_is_in_charge (Request) returns (Response) {} + rpc take_control (TakeControlRequest) returns (TakeControlResponse) {} + rpc surrender_control (SurrenderControlRequest) returns (SurrenderControlResponse) {} + rpc who_is_in_charge (WhoIsInChargeRequest) returns (WhoIsInChargeResponse) {} - rpc to_error (Request) returns (Response) {} + rpc to_error (ToErrorRequest) returns (ToErrorResponse) {} } message AddressedCommand { @@ -105,6 +105,65 @@ message ExcludeResponse { ResponseFlag flag = 5; } +message TakeControlRequest { + Token token = 1; + string target = 2; + bool execute_along_path = 3; + bool execute_on_all_subsequent_children_in_path = 4; +} + +message TakeControlResponse { + Token token = 1; + string name = 2; + string text = 3; + repeated TakeControlResponse children = 4; + ResponseFlag flag = 5; +} + +message SurrenderControlRequest { + Token token = 1; + string target = 2; + bool execute_along_path = 3; + bool execute_on_all_subsequent_children_in_path = 4; +} + +message SurrenderControlResponse { + Token token = 1; + string name = 2; + string text = 3; + repeated SurrenderControlResponse children = 4; + ResponseFlag flag = 5; +} + +message WhoIsInChargeRequest { + Token token = 1; + string target = 2; + bool execute_along_path = 3; + bool execute_on_all_subsequent_children_in_path = 4; +} + +message WhoIsInChargeResponse { + Token token = 1; + string name = 2; + string text = 3; + repeated WhoIsInChargeResponse children = 4; + ResponseFlag flag = 5; +} + +message ToErrorRequest { + Token token = 1; + string target = 2; + bool execute_along_path = 3; + bool execute_on_all_subsequent_children_in_path = 4; +} + +message ToErrorResponse { + Token token = 1; + string name = 2; + repeated ToErrorResponse children = 3; + ResponseFlag flag = 4; +} + message StatusRequest { Token token = 1; string target = 2; diff --git a/src/druncschema/authoriser_pb2.pyi b/src/druncschema/authoriser_pb2.pyi index fd82667..ca678d1 100644 --- a/src/druncschema/authoriser_pb2.pyi +++ b/src/druncschema/authoriser_pb2.pyi @@ -3,27 +3,27 @@ isort:skip_file """ -import builtins -import druncschema.token_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.enum_type_wrapper -import google.protobuf.message +from druncschema import token_pb2 as _token_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +import builtins as _builtins import sys -import typing +import typing as _typing if sys.version_info >= (3, 10): - import typing as typing_extensions + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor class _ActionType: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType + ValueType = _typing.NewType("ValueType", _builtins.int) + V: _TypeAlias = ValueType # noqa: Y015 -class _ActionTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ActionType.ValueType], builtins.type): - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor +class _ActionTypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_ActionType.ValueType], _builtins.type): + DESCRIPTOR: _descriptor.EnumDescriptor CREATE: _ActionType.ValueType # 0 READ: _ActionType.ValueType # 1 UPDATE: _ActionType.ValueType # 2 @@ -37,14 +37,14 @@ READ: ActionType.ValueType # 1 UPDATE: ActionType.ValueType # 2 DELETE: ActionType.ValueType # 3 EXPERT: ActionType.ValueType # 4 -global___ActionType = ActionType +Global___ActionType: _TypeAlias = ActionType # noqa: Y015 class _SystemType: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType + ValueType = _typing.NewType("ValueType", _builtins.int) + V: _TypeAlias = ValueType # noqa: Y015 -class _SystemTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_SystemType.ValueType], builtins.type): - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor +class _SystemTypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_SystemType.ValueType], _builtins.type): + DESCRIPTOR: _descriptor.EnumDescriptor CONTROLLER: _SystemType.ValueType # 0 APPLICATION: _SystemType.ValueType # 1 PROCESS_MANAGER: _SystemType.ValueType # 2 @@ -60,27 +60,29 @@ PROCESS_MANAGER: SystemType.ValueType # 2 SESSION_MANAGER: SystemType.ValueType # 3 RESOURCE_MANAGER: SystemType.ValueType # 4 AUTHORISER_SERVICE: SystemType.ValueType # 5 -global___SystemType = SystemType +Global___SystemType: _TypeAlias = SystemType # noqa: Y015 -@typing.final -class AuthoriserRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class AuthoriserRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - TOKEN_FIELD_NUMBER: builtins.int - ACTION_FIELD_NUMBER: builtins.int - SYSTEM_FIELD_NUMBER: builtins.int - action: global___ActionType.ValueType - system: global___SystemType.ValueType - @property - def token(self) -> druncschema.token_pb2.Token: ... + TOKEN_FIELD_NUMBER: _builtins.int + ACTION_FIELD_NUMBER: _builtins.int + SYSTEM_FIELD_NUMBER: _builtins.int + action: Global___ActionType.ValueType + system: Global___SystemType.ValueType + @_builtins.property + def token(self) -> _token_pb2.Token: ... def __init__( self, *, - token: druncschema.token_pb2.Token | None = ..., - action: global___ActionType.ValueType = ..., - system: global___SystemType.ValueType = ..., + token: _token_pb2.Token | None = ..., + action: Global___ActionType.ValueType = ..., + system: Global___SystemType.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["action", b"action", "system", b"system", "token", b"token"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["action", b"action", "system", b"system", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___AuthoriserRequest = AuthoriserRequest +Global___AuthoriserRequest: _TypeAlias = AuthoriserRequest # noqa: Y015 diff --git a/src/druncschema/broadcast_pb2.pyi b/src/druncschema/broadcast_pb2.pyi index 7e50ff8..17777c4 100644 --- a/src/druncschema/broadcast_pb2.pyi +++ b/src/druncschema/broadcast_pb2.pyi @@ -3,27 +3,27 @@ isort:skip_file """ -import builtins -import google.protobuf.any_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.enum_type_wrapper -import google.protobuf.message +from google.protobuf import any_pb2 as _any_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +import builtins as _builtins import sys -import typing +import typing as _typing if sys.version_info >= (3, 10): - import typing as typing_extensions + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor class _BroadcastType: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType + ValueType = _typing.NewType("ValueType", _builtins.int) + V: _TypeAlias = ValueType # noqa: Y015 -class _BroadcastTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_BroadcastType.ValueType], builtins.type): - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor +class _BroadcastTypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_BroadcastType.ValueType], _builtins.type): + DESCRIPTOR: _descriptor.EnumDescriptor ACK: _BroadcastType.ValueType # 0 RECEIVER_REMOVED: _BroadcastType.ValueType # 1 RECEIVER_ADDED: _BroadcastType.ValueType # 2 @@ -63,94 +63,100 @@ CHILD_COMMAND_EXECUTION_START: BroadcastType.ValueType # 12 CHILD_COMMAND_EXECUTION_SUCCESS: BroadcastType.ValueType # 13 CHILD_COMMAND_EXECUTION_FAILED: BroadcastType.ValueType # 14 FSM_STATUS_UPDATE: BroadcastType.ValueType # 17 -global___BroadcastType = BroadcastType +Global___BroadcastType: _TypeAlias = BroadcastType # noqa: Y015 -@typing.final -class KafkaBroadcastHandlerConfiguration(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class KafkaBroadcastHandlerConfiguration(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KAFKA_ADDRESS_FIELD_NUMBER: builtins.int - TOPIC_FIELD_NUMBER: builtins.int - kafka_address: builtins.str - topic: builtins.str + KAFKA_ADDRESS_FIELD_NUMBER: _builtins.int + TOPIC_FIELD_NUMBER: _builtins.int + kafka_address: _builtins.str + topic: _builtins.str def __init__( self, *, - kafka_address: builtins.str = ..., - topic: builtins.str = ..., + kafka_address: _builtins.str = ..., + topic: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["kafka_address", b"kafka_address", "topic", b"topic"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["kafka_address", b"kafka_address", "topic", b"topic"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___KafkaBroadcastHandlerConfiguration = KafkaBroadcastHandlerConfiguration +Global___KafkaBroadcastHandlerConfiguration: _TypeAlias = KafkaBroadcastHandlerConfiguration # noqa: Y015 -@typing.final -class Emitter(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class Emitter(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - PROCESS_FIELD_NUMBER: builtins.int - SESSION_FIELD_NUMBER: builtins.int - process: builtins.str - session: builtins.str + PROCESS_FIELD_NUMBER: _builtins.int + SESSION_FIELD_NUMBER: _builtins.int + process: _builtins.str + session: _builtins.str def __init__( self, *, - process: builtins.str = ..., - session: builtins.str = ..., + process: _builtins.str = ..., + session: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["process", b"process", "session", b"session"]) -> None: ... - -global___Emitter = Emitter - -@typing.final -class BroadcastMessage(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - EMITTER_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - DATA_FIELD_NUMBER: builtins.int - type: global___BroadcastType.ValueType - @property - def emitter(self) -> global___Emitter: ... - @property - def data(self) -> google.protobuf.any_pb2.Any: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["process", b"process", "session", b"session"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___Emitter: _TypeAlias = Emitter # noqa: Y015 + +@_typing.final +class BroadcastMessage(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + EMITTER_FIELD_NUMBER: _builtins.int + TYPE_FIELD_NUMBER: _builtins.int + DATA_FIELD_NUMBER: _builtins.int + type: Global___BroadcastType.ValueType + @_builtins.property + def emitter(self) -> Global___Emitter: ... + @_builtins.property + def data(self) -> _any_pb2.Any: ... def __init__( self, *, - emitter: global___Emitter | None = ..., - type: global___BroadcastType.ValueType = ..., - data: google.protobuf.any_pb2.Any | None = ..., + emitter: Global___Emitter | None = ..., + type: Global___BroadcastType.ValueType = ..., + data: _any_pb2.Any | None = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["data", b"data", "emitter", b"emitter"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["data", b"data", "emitter", b"emitter", "type", b"type"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["data", b"data", "emitter", b"emitter"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["data", b"data", "emitter", b"emitter", "type", b"type"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___BroadcastMessage = BroadcastMessage +Global___BroadcastMessage: _TypeAlias = BroadcastMessage # noqa: Y015 -@typing.final -class BroadcastRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class BroadcastRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - BROADCAST_RECEIVER_ADDRESS_FIELD_NUMBER: builtins.int - broadcast_receiver_address: builtins.str + BROADCAST_RECEIVER_ADDRESS_FIELD_NUMBER: _builtins.int + broadcast_receiver_address: _builtins.str def __init__( self, *, - broadcast_receiver_address: builtins.str = ..., + broadcast_receiver_address: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["broadcast_receiver_address", b"broadcast_receiver_address"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["broadcast_receiver_address", b"broadcast_receiver_address"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___BroadcastRequest = BroadcastRequest +Global___BroadcastRequest: _TypeAlias = BroadcastRequest # noqa: Y015 -@typing.final -class BroadcastResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class BroadcastResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - SUCCESS_FIELD_NUMBER: builtins.int - success: builtins.bool + SUCCESS_FIELD_NUMBER: _builtins.int + success: _builtins.bool def __init__( self, *, - success: builtins.bool = ..., + success: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["success", b"success"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["success", b"success"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___BroadcastResponse = BroadcastResponse +Global___BroadcastResponse: _TypeAlias = BroadcastResponse # noqa: Y015 diff --git a/src/druncschema/controller_pb2.py b/src/druncschema/controller_pb2.py index ba02a4a..b821210 100644 --- a/src/druncschema/controller_pb2.py +++ b/src/druncschema/controller_pb2.py @@ -28,7 +28,7 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x64runcschema/controller.proto\x12\x1e\x64unedaq.druncschema.controller\x1a\"druncschema/request_response.proto\x1a\x1d\x64runcschema/description.proto\x1a\x17\x64runcschema/token.proto\x1a\x19google/protobuf/any.proto\"\xf5\x01\n\x10\x41\x64\x64ressedCommand\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x14\n\x0c\x63ommand_name\x18\x02 \x01(\t\x12/\n\x0c\x63ommand_data\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyH\x00\x88\x01\x01\x12\x0e\n\x06target\x18\x04 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x05 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x06 \x01(\x08\x42\x0f\n\r_command_data\"\xbd\x01\n\x1b\x45xecuteExpertCommandRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x13\n\x0bjson_string\x18\x02 \x01(\t\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x04 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x05 \x01(\x08\"\xa9\x02\n\x1c\x45xecuteExpertCommandResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\t\x12N\n\x08\x63hildren\x18\x05 \x03(\x0b\x32<.dunedaq.druncschema.controller.ExecuteExpertCommandResponse\x12\x41\n\x08\x66sm_flag\x18\x06 \x01(\x0e\x32/.dunedaq.druncschema.controller.FSMResponseFlag\x12/\n\x04\x66lag\x18\x07 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\xe2\x01\n\x18\x45xecuteFSMCommandRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12;\n\x07\x63ommand\x18\x02 \x01(\x0b\x32*.dunedaq.druncschema.controller.FSMCommand\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x04 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x05 \x01(\x08\"\xb9\x02\n\x19\x45xecuteFSMCommandResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x14\n\x0c\x63ommand_name\x18\x03 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\t\x12K\n\x08\x63hildren\x18\x05 \x03(\x0b\x32\x39.dunedaq.druncschema.controller.ExecuteFSMCommandResponse\x12\x41\n\x08\x66sm_flag\x18\x06 \x01(\x0e\x32/.dunedaq.druncschema.controller.FSMResponseFlag\x12/\n\x04\x66lag\x18\x07 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\xd4\x01\n\nFSMCommand\x12\x14\n\x0c\x63ommand_name\x18\x01 \x01(\t\x12L\n\targuments\x18\x02 \x03(\x0b\x32\x39.dunedaq.druncschema.controller.FSMCommand.ArgumentsEntry\x12\x11\n\x04\x64\x61ta\x18\x04 \x01(\tH\x00\x88\x01\x01\x1a\x46\n\x0e\x41rgumentsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x02\x38\x01\x42\x07\n\x05_data\"\x9b\x01\n\x0eIncludeRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0e\n\x06target\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x03 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x04 \x01(\x08\"\xcc\x01\n\x0fIncludeResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04text\x18\x03 \x01(\t\x12\x41\n\x08\x63hildren\x18\x04 \x03(\x0b\x32/.dunedaq.druncschema.controller.IncludeResponse\x12/\n\x04\x66lag\x18\x05 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\x9b\x01\n\x0e\x45xcludeRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0e\n\x06target\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x03 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x04 \x01(\x08\"\xcc\x01\n\x0f\x45xcludeResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04text\x18\x03 \x01(\t\x12\x41\n\x08\x63hildren\x18\x04 \x03(\x0b\x32/.dunedaq.druncschema.controller.ExcludeResponse\x12/\n\x04\x66lag\x18\x05 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\x9a\x01\n\rStatusRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0e\n\x06target\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x03 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x04 \x01(\x08\"\xf4\x01\n\x0eStatusResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x36\n\x06status\x18\x03 \x01(\x0b\x32&.dunedaq.druncschema.controller.Status\x12@\n\x08\x63hildren\x18\x04 \x03(\x0b\x32..dunedaq.druncschema.controller.StatusResponse\x12/\n\x04\x66lag\x18\x05 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\xa3\x01\n\x16RecomputeStatusRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0e\n\x06target\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x03 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x04 \x01(\x08\"\xce\x01\n\x17RecomputeStatusResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12I\n\x08\x63hildren\x18\x03 \x03(\x0b\x32\x37.dunedaq.druncschema.controller.RecomputeStatusResponse\x12/\n\x04\x66lag\x18\x04 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\x9c\x01\n\x0f\x44\x65scribeRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0e\n\x06target\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x03 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x04 \x01(\x08\"\xf7\x01\n\x10\x44\x65scribeResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x35\n\x0b\x64\x65scription\x18\x03 \x01(\x0b\x32 .dunedaq.druncschema.Description\x12\x42\n\x08\x63hildren\x18\x04 \x03(\x0b\x32\x30.dunedaq.druncschema.controller.DescribeResponse\x12/\n\x04\x66lag\x18\x05 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\xac\x01\n\x12\x44\x65scribeFSMRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0b\n\x03key\x18\x02 \x01(\t\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x04 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x05 \x01(\x08\"\x93\x02\n\x13\x44\x65scribeFSMResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12K\n\x0b\x64\x65scription\x18\x03 \x01(\x0b\x32\x36.dunedaq.druncschema.controller.FSMCommandsDescription\x12\x45\n\x08\x63hildren\x18\x04 \x03(\x0b\x32\x33.dunedaq.druncschema.controller.DescribeFSMResponse\x12/\n\x04\x66lag\x18\x05 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\xee\x02\n\x08\x41rgument\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x43\n\x08presence\x18\x02 \x01(\x0e\x32\x31.dunedaq.druncschema.controller.Argument.Presence\x12;\n\x04type\x18\x03 \x01(\x0e\x32-.dunedaq.druncschema.controller.Argument.Type\x12\x30\n\rdefault_value\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyH\x00\x88\x01\x01\x12%\n\x07\x63hoices\x18\x05 \x03(\x0b\x32\x14.google.protobuf.Any\x12\x0c\n\x04help\x18\x06 \x01(\t\"\'\n\x08Presence\x12\r\n\tMANDATORY\x10\x00\x12\x0c\n\x08OPTIONAL\x10\x01\"0\n\x04Type\x12\x07\n\x03INT\x10\x00\x12\t\n\x05\x46LOAT\x10\x01\x12\n\n\x06STRING\x10\x02\x12\x08\n\x04\x42OOL\x10\x03\x42\x10\n\x0e_default_value\"\x98\x01\n\x15\x46SMCommandDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tdata_type\x18\x02 \x03(\t\x12\x0c\n\x04help\x18\x03 \x01(\t\x12\x13\n\x0breturn_type\x18\x04 \x01(\t\x12;\n\targuments\x18\x05 \x03(\x0b\x32(.dunedaq.druncschema.controller.Argument\".\n\x0b\x46SMSequence\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0b\x63ommand_ids\x18\x02 \x03(\t\"\x8a\x02\n\x16\x46SMCommandsDescription\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x14\n\x07session\x18\x04 \x01(\tH\x00\x88\x01\x01\x12G\n\x08\x63ommands\x18\x05 \x03(\x0b\x32\x35.dunedaq.druncschema.controller.FSMCommandDescription\x12>\n\tsequences\x18\x06 \x03(\x0b\x32+.dunedaq.druncschema.controller.FSMSequenceB\n\n\x08_session\"\x9b\x01\n\x06Status\x12\r\n\x05state\x18\x02 \x01(\t\x12\x11\n\tsub_state\x18\x03 \x01(\t\x12\x10\n\x08in_error\x18\x04 \x01(\x08\x12\x10\n\x08included\x18\x05 \x01(\x08\x12>\n\x08run_info\x18\x06 \x01(\x0b\x32\'.dunedaq.druncschema.controller.RunInfoH\x00\x88\x01\x01\x42\x0b\n\t_run_info\"\xce\x01\n\x07RunInfo\x12\x10\n\x08run_type\x18\x01 \x01(\t\x12\x14\n\x0ctrigger_rate\x18\x02 \x01(\x01\x12\x12\n\nrun_number\x18\x03 \x01(\x04\x12\x1c\n\x14\x64isable_data_storage\x18\x04 \x01(\x08\x12\x19\n\x11run_time_at_start\x18\x05 \x01(\r\x12\x1c\n\x14run_time_since_start\x18\x06 \x01(\r\x12\x17\n\x0frun_config_file\x18\x07 \x01(\t\x12\x17\n\x0frun_config_name\x18\x08 \x01(\t*\x9a\x01\n\x0f\x46SMResponseFlag\x12\x1d\n\x19\x46SM_EXECUTED_SUCCESSFULLY\x10\x00\x12\x0e\n\nFSM_FAILED\x10\x01\x12\x1a\n\x16\x46SM_INVALID_TRANSITION\x10\x02\x12\x1d\n\x19\x46SM_NOT_EXECUTED_EXCLUDED\x10\x03\x12\x1d\n\x19\x46SM_NOT_EXECUTED_IN_ERROR\x10\x04\x32\xaf\n\n\nController\x12o\n\x08\x64\x65scribe\x12/.dunedaq.druncschema.controller.DescribeRequest\x1a\x30.dunedaq.druncschema.controller.DescribeResponse\"\x00\x12i\n\x06status\x12-.dunedaq.druncschema.controller.StatusRequest\x1a..dunedaq.druncschema.controller.StatusResponse\"\x00\x12y\n\x0c\x64\x65scribe_fsm\x12\x32.dunedaq.druncschema.controller.DescribeFSMRequest\x1a\x33.dunedaq.druncschema.controller.DescribeFSMResponse\"\x00\x12\x8c\x01\n\x13\x65xecute_fsm_command\x12\x38.dunedaq.druncschema.controller.ExecuteFSMCommandRequest\x1a\x39.dunedaq.druncschema.controller.ExecuteFSMCommandResponse\"\x00\x12\x95\x01\n\x16\x65xecute_expert_command\x12;.dunedaq.druncschema.controller.ExecuteExpertCommandRequest\x1a<.dunedaq.druncschema.controller.ExecuteExpertCommandResponse\"\x00\x12l\n\x07include\x12..dunedaq.druncschema.controller.IncludeRequest\x1a/.dunedaq.druncschema.controller.IncludeResponse\"\x00\x12l\n\x07\x65xclude\x12..dunedaq.druncschema.controller.ExcludeRequest\x1a/.dunedaq.druncschema.controller.ExcludeResponse\"\x00\x12\x85\x01\n\x10recompute_status\x12\x36.dunedaq.druncschema.controller.RecomputeStatusRequest\x1a\x37.dunedaq.druncschema.controller.RecomputeStatusResponse\"\x00\x12M\n\x0ctake_control\x12\x1c.dunedaq.druncschema.Request\x1a\x1d.dunedaq.druncschema.Response\"\x00\x12R\n\x11surrender_control\x12\x1c.dunedaq.druncschema.Request\x1a\x1d.dunedaq.druncschema.Response\"\x00\x12Q\n\x10who_is_in_charge\x12\x1c.dunedaq.druncschema.Request\x1a\x1d.dunedaq.druncschema.Response\"\x00\x12I\n\x08to_error\x12\x1c.dunedaq.druncschema.Request\x1a\x1d.dunedaq.druncschema.Response\"\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x64runcschema/controller.proto\x12\x1e\x64unedaq.druncschema.controller\x1a\"druncschema/request_response.proto\x1a\x1d\x64runcschema/description.proto\x1a\x17\x64runcschema/token.proto\x1a\x19google/protobuf/any.proto\"\xf5\x01\n\x10\x41\x64\x64ressedCommand\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x14\n\x0c\x63ommand_name\x18\x02 \x01(\t\x12/\n\x0c\x63ommand_data\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyH\x00\x88\x01\x01\x12\x0e\n\x06target\x18\x04 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x05 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x06 \x01(\x08\x42\x0f\n\r_command_data\"\xbd\x01\n\x1b\x45xecuteExpertCommandRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x13\n\x0bjson_string\x18\x02 \x01(\t\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x04 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x05 \x01(\x08\"\xa9\x02\n\x1c\x45xecuteExpertCommandResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\t\x12N\n\x08\x63hildren\x18\x05 \x03(\x0b\x32<.dunedaq.druncschema.controller.ExecuteExpertCommandResponse\x12\x41\n\x08\x66sm_flag\x18\x06 \x01(\x0e\x32/.dunedaq.druncschema.controller.FSMResponseFlag\x12/\n\x04\x66lag\x18\x07 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\xe2\x01\n\x18\x45xecuteFSMCommandRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12;\n\x07\x63ommand\x18\x02 \x01(\x0b\x32*.dunedaq.druncschema.controller.FSMCommand\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x04 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x05 \x01(\x08\"\xb9\x02\n\x19\x45xecuteFSMCommandResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x14\n\x0c\x63ommand_name\x18\x03 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\t\x12K\n\x08\x63hildren\x18\x05 \x03(\x0b\x32\x39.dunedaq.druncschema.controller.ExecuteFSMCommandResponse\x12\x41\n\x08\x66sm_flag\x18\x06 \x01(\x0e\x32/.dunedaq.druncschema.controller.FSMResponseFlag\x12/\n\x04\x66lag\x18\x07 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\xd4\x01\n\nFSMCommand\x12\x14\n\x0c\x63ommand_name\x18\x01 \x01(\t\x12L\n\targuments\x18\x02 \x03(\x0b\x32\x39.dunedaq.druncschema.controller.FSMCommand.ArgumentsEntry\x12\x11\n\x04\x64\x61ta\x18\x04 \x01(\tH\x00\x88\x01\x01\x1a\x46\n\x0e\x41rgumentsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x02\x38\x01\x42\x07\n\x05_data\"\x9b\x01\n\x0eIncludeRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0e\n\x06target\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x03 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x04 \x01(\x08\"\xcc\x01\n\x0fIncludeResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04text\x18\x03 \x01(\t\x12\x41\n\x08\x63hildren\x18\x04 \x03(\x0b\x32/.dunedaq.druncschema.controller.IncludeResponse\x12/\n\x04\x66lag\x18\x05 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\x9b\x01\n\x0e\x45xcludeRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0e\n\x06target\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x03 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x04 \x01(\x08\"\xcc\x01\n\x0f\x45xcludeResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04text\x18\x03 \x01(\t\x12\x41\n\x08\x63hildren\x18\x04 \x03(\x0b\x32/.dunedaq.druncschema.controller.ExcludeResponse\x12/\n\x04\x66lag\x18\x05 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\x9f\x01\n\x12TakeControlRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0e\n\x06target\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x03 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x04 \x01(\x08\"\xd4\x01\n\x13TakeControlResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04text\x18\x03 \x01(\t\x12\x45\n\x08\x63hildren\x18\x04 \x03(\x0b\x32\x33.dunedaq.druncschema.controller.TakeControlResponse\x12/\n\x04\x66lag\x18\x05 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\xa4\x01\n\x17SurrenderControlRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0e\n\x06target\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x03 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x04 \x01(\x08\"\xde\x01\n\x18SurrenderControlResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04text\x18\x03 \x01(\t\x12J\n\x08\x63hildren\x18\x04 \x03(\x0b\x32\x38.dunedaq.druncschema.controller.SurrenderControlResponse\x12/\n\x04\x66lag\x18\x05 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\xa1\x01\n\x14WhoIsInChargeRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0e\n\x06target\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x03 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x04 \x01(\x08\"\xd8\x01\n\x15WhoIsInChargeResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04text\x18\x03 \x01(\t\x12G\n\x08\x63hildren\x18\x04 \x03(\x0b\x32\x35.dunedaq.druncschema.controller.WhoIsInChargeResponse\x12/\n\x04\x66lag\x18\x05 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\x9b\x01\n\x0eToErrorRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0e\n\x06target\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x03 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x04 \x01(\x08\"\xbe\x01\n\x0fToErrorResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x41\n\x08\x63hildren\x18\x03 \x03(\x0b\x32/.dunedaq.druncschema.controller.ToErrorResponse\x12/\n\x04\x66lag\x18\x04 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\x9a\x01\n\rStatusRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0e\n\x06target\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x03 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x04 \x01(\x08\"\xf4\x01\n\x0eStatusResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x36\n\x06status\x18\x03 \x01(\x0b\x32&.dunedaq.druncschema.controller.Status\x12@\n\x08\x63hildren\x18\x04 \x03(\x0b\x32..dunedaq.druncschema.controller.StatusResponse\x12/\n\x04\x66lag\x18\x05 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\xa3\x01\n\x16RecomputeStatusRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0e\n\x06target\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x03 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x04 \x01(\x08\"\xce\x01\n\x17RecomputeStatusResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12I\n\x08\x63hildren\x18\x03 \x03(\x0b\x32\x37.dunedaq.druncschema.controller.RecomputeStatusResponse\x12/\n\x04\x66lag\x18\x04 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\x9c\x01\n\x0f\x44\x65scribeRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0e\n\x06target\x18\x02 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x03 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x04 \x01(\x08\"\xf7\x01\n\x10\x44\x65scribeResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x35\n\x0b\x64\x65scription\x18\x03 \x01(\x0b\x32 .dunedaq.druncschema.Description\x12\x42\n\x08\x63hildren\x18\x04 \x03(\x0b\x32\x30.dunedaq.druncschema.controller.DescribeResponse\x12/\n\x04\x66lag\x18\x05 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\xac\x01\n\x12\x44\x65scribeFSMRequest\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0b\n\x03key\x18\x02 \x01(\t\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x1a\n\x12\x65xecute_along_path\x18\x04 \x01(\x08\x12\x32\n*execute_on_all_subsequent_children_in_path\x18\x05 \x01(\x08\"\x93\x02\n\x13\x44\x65scribeFSMResponse\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04name\x18\x02 \x01(\t\x12K\n\x0b\x64\x65scription\x18\x03 \x01(\x0b\x32\x36.dunedaq.druncschema.controller.FSMCommandsDescription\x12\x45\n\x08\x63hildren\x18\x04 \x03(\x0b\x32\x33.dunedaq.druncschema.controller.DescribeFSMResponse\x12/\n\x04\x66lag\x18\x05 \x01(\x0e\x32!.dunedaq.druncschema.ResponseFlag\"\xee\x02\n\x08\x41rgument\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x43\n\x08presence\x18\x02 \x01(\x0e\x32\x31.dunedaq.druncschema.controller.Argument.Presence\x12;\n\x04type\x18\x03 \x01(\x0e\x32-.dunedaq.druncschema.controller.Argument.Type\x12\x30\n\rdefault_value\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyH\x00\x88\x01\x01\x12%\n\x07\x63hoices\x18\x05 \x03(\x0b\x32\x14.google.protobuf.Any\x12\x0c\n\x04help\x18\x06 \x01(\t\"\'\n\x08Presence\x12\r\n\tMANDATORY\x10\x00\x12\x0c\n\x08OPTIONAL\x10\x01\"0\n\x04Type\x12\x07\n\x03INT\x10\x00\x12\t\n\x05\x46LOAT\x10\x01\x12\n\n\x06STRING\x10\x02\x12\x08\n\x04\x42OOL\x10\x03\x42\x10\n\x0e_default_value\"\x98\x01\n\x15\x46SMCommandDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tdata_type\x18\x02 \x03(\t\x12\x0c\n\x04help\x18\x03 \x01(\t\x12\x13\n\x0breturn_type\x18\x04 \x01(\t\x12;\n\targuments\x18\x05 \x03(\x0b\x32(.dunedaq.druncschema.controller.Argument\".\n\x0b\x46SMSequence\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0b\x63ommand_ids\x18\x02 \x03(\t\"\x8a\x02\n\x16\x46SMCommandsDescription\x12)\n\x05token\x18\x01 \x01(\x0b\x32\x1a.dunedaq.druncschema.Token\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x14\n\x07session\x18\x04 \x01(\tH\x00\x88\x01\x01\x12G\n\x08\x63ommands\x18\x05 \x03(\x0b\x32\x35.dunedaq.druncschema.controller.FSMCommandDescription\x12>\n\tsequences\x18\x06 \x03(\x0b\x32+.dunedaq.druncschema.controller.FSMSequenceB\n\n\x08_session\"\x9b\x01\n\x06Status\x12\r\n\x05state\x18\x02 \x01(\t\x12\x11\n\tsub_state\x18\x03 \x01(\t\x12\x10\n\x08in_error\x18\x04 \x01(\x08\x12\x10\n\x08included\x18\x05 \x01(\x08\x12>\n\x08run_info\x18\x06 \x01(\x0b\x32\'.dunedaq.druncschema.controller.RunInfoH\x00\x88\x01\x01\x42\x0b\n\t_run_info\"\xce\x01\n\x07RunInfo\x12\x10\n\x08run_type\x18\x01 \x01(\t\x12\x14\n\x0ctrigger_rate\x18\x02 \x01(\x01\x12\x12\n\nrun_number\x18\x03 \x01(\x04\x12\x1c\n\x14\x64isable_data_storage\x18\x04 \x01(\x08\x12\x19\n\x11run_time_at_start\x18\x05 \x01(\r\x12\x1c\n\x14run_time_since_start\x18\x06 \x01(\r\x12\x17\n\x0frun_config_file\x18\x07 \x01(\t\x12\x17\n\x0frun_config_name\x18\x08 \x01(\t*\x9a\x01\n\x0f\x46SMResponseFlag\x12\x1d\n\x19\x46SM_EXECUTED_SUCCESSFULLY\x10\x00\x12\x0e\n\nFSM_FAILED\x10\x01\x12\x1a\n\x16\x46SM_INVALID_TRANSITION\x10\x02\x12\x1d\n\x19\x46SM_NOT_EXECUTED_EXCLUDED\x10\x03\x12\x1d\n\x19\x46SM_NOT_EXECUTED_IN_ERROR\x10\x04\x32\xe7\x0b\n\nController\x12o\n\x08\x64\x65scribe\x12/.dunedaq.druncschema.controller.DescribeRequest\x1a\x30.dunedaq.druncschema.controller.DescribeResponse\"\x00\x12i\n\x06status\x12-.dunedaq.druncschema.controller.StatusRequest\x1a..dunedaq.druncschema.controller.StatusResponse\"\x00\x12y\n\x0c\x64\x65scribe_fsm\x12\x32.dunedaq.druncschema.controller.DescribeFSMRequest\x1a\x33.dunedaq.druncschema.controller.DescribeFSMResponse\"\x00\x12\x8c\x01\n\x13\x65xecute_fsm_command\x12\x38.dunedaq.druncschema.controller.ExecuteFSMCommandRequest\x1a\x39.dunedaq.druncschema.controller.ExecuteFSMCommandResponse\"\x00\x12\x95\x01\n\x16\x65xecute_expert_command\x12;.dunedaq.druncschema.controller.ExecuteExpertCommandRequest\x1a<.dunedaq.druncschema.controller.ExecuteExpertCommandResponse\"\x00\x12l\n\x07include\x12..dunedaq.druncschema.controller.IncludeRequest\x1a/.dunedaq.druncschema.controller.IncludeResponse\"\x00\x12l\n\x07\x65xclude\x12..dunedaq.druncschema.controller.ExcludeRequest\x1a/.dunedaq.druncschema.controller.ExcludeResponse\"\x00\x12\x85\x01\n\x10recompute_status\x12\x36.dunedaq.druncschema.controller.RecomputeStatusRequest\x1a\x37.dunedaq.druncschema.controller.RecomputeStatusResponse\"\x00\x12y\n\x0ctake_control\x12\x32.dunedaq.druncschema.controller.TakeControlRequest\x1a\x33.dunedaq.druncschema.controller.TakeControlResponse\"\x00\x12\x88\x01\n\x11surrender_control\x12\x37.dunedaq.druncschema.controller.SurrenderControlRequest\x1a\x38.dunedaq.druncschema.controller.SurrenderControlResponse\"\x00\x12\x81\x01\n\x10who_is_in_charge\x12\x34.dunedaq.druncschema.controller.WhoIsInChargeRequest\x1a\x35.dunedaq.druncschema.controller.WhoIsInChargeResponse\"\x00\x12m\n\x08to_error\x12..dunedaq.druncschema.controller.ToErrorRequest\x1a/.dunedaq.druncschema.controller.ToErrorResponse\"\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -37,8 +37,8 @@ DESCRIPTOR._loaded_options = None _globals['_FSMCOMMAND_ARGUMENTSENTRY']._loaded_options = None _globals['_FSMCOMMAND_ARGUMENTSENTRY']._serialized_options = b'8\001' - _globals['_FSMRESPONSEFLAG']._serialized_start=5263 - _globals['_FSMRESPONSEFLAG']._serialized_end=5417 + _globals['_FSMRESPONSEFLAG']._serialized_start=6766 + _globals['_FSMRESPONSEFLAG']._serialized_end=6920 _globals['_ADDRESSEDCOMMAND']._serialized_start=184 _globals['_ADDRESSEDCOMMAND']._serialized_end=429 _globals['_EXECUTEEXPERTCOMMANDREQUEST']._serialized_start=432 @@ -61,38 +61,54 @@ _globals['_EXCLUDEREQUEST']._serialized_end=2204 _globals['_EXCLUDERESPONSE']._serialized_start=2207 _globals['_EXCLUDERESPONSE']._serialized_end=2411 - _globals['_STATUSREQUEST']._serialized_start=2414 - _globals['_STATUSREQUEST']._serialized_end=2568 - _globals['_STATUSRESPONSE']._serialized_start=2571 - _globals['_STATUSRESPONSE']._serialized_end=2815 - _globals['_RECOMPUTESTATUSREQUEST']._serialized_start=2818 - _globals['_RECOMPUTESTATUSREQUEST']._serialized_end=2981 - _globals['_RECOMPUTESTATUSRESPONSE']._serialized_start=2984 - _globals['_RECOMPUTESTATUSRESPONSE']._serialized_end=3190 - _globals['_DESCRIBEREQUEST']._serialized_start=3193 - _globals['_DESCRIBEREQUEST']._serialized_end=3349 - _globals['_DESCRIBERESPONSE']._serialized_start=3352 - _globals['_DESCRIBERESPONSE']._serialized_end=3599 - _globals['_DESCRIBEFSMREQUEST']._serialized_start=3602 - _globals['_DESCRIBEFSMREQUEST']._serialized_end=3774 - _globals['_DESCRIBEFSMRESPONSE']._serialized_start=3777 - _globals['_DESCRIBEFSMRESPONSE']._serialized_end=4052 - _globals['_ARGUMENT']._serialized_start=4055 - _globals['_ARGUMENT']._serialized_end=4421 - _globals['_ARGUMENT_PRESENCE']._serialized_start=4314 - _globals['_ARGUMENT_PRESENCE']._serialized_end=4353 - _globals['_ARGUMENT_TYPE']._serialized_start=4355 - _globals['_ARGUMENT_TYPE']._serialized_end=4403 - _globals['_FSMCOMMANDDESCRIPTION']._serialized_start=4424 - _globals['_FSMCOMMANDDESCRIPTION']._serialized_end=4576 - _globals['_FSMSEQUENCE']._serialized_start=4578 - _globals['_FSMSEQUENCE']._serialized_end=4624 - _globals['_FSMCOMMANDSDESCRIPTION']._serialized_start=4627 - _globals['_FSMCOMMANDSDESCRIPTION']._serialized_end=4893 - _globals['_STATUS']._serialized_start=4896 - _globals['_STATUS']._serialized_end=5051 - _globals['_RUNINFO']._serialized_start=5054 - _globals['_RUNINFO']._serialized_end=5260 - _globals['_CONTROLLER']._serialized_start=5420 - _globals['_CONTROLLER']._serialized_end=6747 + _globals['_TAKECONTROLREQUEST']._serialized_start=2414 + _globals['_TAKECONTROLREQUEST']._serialized_end=2573 + _globals['_TAKECONTROLRESPONSE']._serialized_start=2576 + _globals['_TAKECONTROLRESPONSE']._serialized_end=2788 + _globals['_SURRENDERCONTROLREQUEST']._serialized_start=2791 + _globals['_SURRENDERCONTROLREQUEST']._serialized_end=2955 + _globals['_SURRENDERCONTROLRESPONSE']._serialized_start=2958 + _globals['_SURRENDERCONTROLRESPONSE']._serialized_end=3180 + _globals['_WHOISINCHARGEREQUEST']._serialized_start=3183 + _globals['_WHOISINCHARGEREQUEST']._serialized_end=3344 + _globals['_WHOISINCHARGERESPONSE']._serialized_start=3347 + _globals['_WHOISINCHARGERESPONSE']._serialized_end=3563 + _globals['_TOERRORREQUEST']._serialized_start=3566 + _globals['_TOERRORREQUEST']._serialized_end=3721 + _globals['_TOERRORRESPONSE']._serialized_start=3724 + _globals['_TOERRORRESPONSE']._serialized_end=3914 + _globals['_STATUSREQUEST']._serialized_start=3917 + _globals['_STATUSREQUEST']._serialized_end=4071 + _globals['_STATUSRESPONSE']._serialized_start=4074 + _globals['_STATUSRESPONSE']._serialized_end=4318 + _globals['_RECOMPUTESTATUSREQUEST']._serialized_start=4321 + _globals['_RECOMPUTESTATUSREQUEST']._serialized_end=4484 + _globals['_RECOMPUTESTATUSRESPONSE']._serialized_start=4487 + _globals['_RECOMPUTESTATUSRESPONSE']._serialized_end=4693 + _globals['_DESCRIBEREQUEST']._serialized_start=4696 + _globals['_DESCRIBEREQUEST']._serialized_end=4852 + _globals['_DESCRIBERESPONSE']._serialized_start=4855 + _globals['_DESCRIBERESPONSE']._serialized_end=5102 + _globals['_DESCRIBEFSMREQUEST']._serialized_start=5105 + _globals['_DESCRIBEFSMREQUEST']._serialized_end=5277 + _globals['_DESCRIBEFSMRESPONSE']._serialized_start=5280 + _globals['_DESCRIBEFSMRESPONSE']._serialized_end=5555 + _globals['_ARGUMENT']._serialized_start=5558 + _globals['_ARGUMENT']._serialized_end=5924 + _globals['_ARGUMENT_PRESENCE']._serialized_start=5817 + _globals['_ARGUMENT_PRESENCE']._serialized_end=5856 + _globals['_ARGUMENT_TYPE']._serialized_start=5858 + _globals['_ARGUMENT_TYPE']._serialized_end=5906 + _globals['_FSMCOMMANDDESCRIPTION']._serialized_start=5927 + _globals['_FSMCOMMANDDESCRIPTION']._serialized_end=6079 + _globals['_FSMSEQUENCE']._serialized_start=6081 + _globals['_FSMSEQUENCE']._serialized_end=6127 + _globals['_FSMCOMMANDSDESCRIPTION']._serialized_start=6130 + _globals['_FSMCOMMANDSDESCRIPTION']._serialized_end=6396 + _globals['_STATUS']._serialized_start=6399 + _globals['_STATUS']._serialized_end=6554 + _globals['_RUNINFO']._serialized_start=6557 + _globals['_RUNINFO']._serialized_end=6763 + _globals['_CONTROLLER']._serialized_start=6923 + _globals['_CONTROLLER']._serialized_end=8434 # @@protoc_insertion_point(module_scope) diff --git a/src/druncschema/controller_pb2.pyi b/src/druncschema/controller_pb2.pyi index ef2d287..9f91d33 100644 --- a/src/druncschema/controller_pb2.pyi +++ b/src/druncschema/controller_pb2.pyi @@ -3,32 +3,32 @@ isort:skip_file """ -import builtins -import collections.abc -import druncschema.description_pb2 -import druncschema.request_response_pb2 -import druncschema.token_pb2 -import google.protobuf.any_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.internal.enum_type_wrapper -import google.protobuf.message +from collections import abc as _abc +from druncschema import description_pb2 as _description_pb2 +from druncschema import request_response_pb2 as _request_response_pb2 +from druncschema import token_pb2 as _token_pb2 +from google.protobuf import any_pb2 as _any_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import containers as _containers +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +import builtins as _builtins import sys -import typing +import typing as _typing if sys.version_info >= (3, 10): - import typing as typing_extensions + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor class _FSMResponseFlag: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType + ValueType = _typing.NewType("ValueType", _builtins.int) + V: _TypeAlias = ValueType # noqa: Y015 -class _FSMResponseFlagEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_FSMResponseFlag.ValueType], builtins.type): - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor +class _FSMResponseFlagEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_FSMResponseFlag.ValueType], _builtins.type): + DESCRIPTOR: _descriptor.EnumDescriptor FSM_EXECUTED_SUCCESSFULLY: _FSMResponseFlag.ValueType # 0 FSM_FAILED: _FSMResponseFlag.ValueType # 1 FSM_INVALID_TRANSITION: _FSMResponseFlag.ValueType # 2 @@ -42,561 +42,840 @@ FSM_FAILED: FSMResponseFlag.ValueType # 1 FSM_INVALID_TRANSITION: FSMResponseFlag.ValueType # 2 FSM_NOT_EXECUTED_EXCLUDED: FSMResponseFlag.ValueType # 3 FSM_NOT_EXECUTED_IN_ERROR: FSMResponseFlag.ValueType # 4 -global___FSMResponseFlag = FSMResponseFlag - -@typing.final -class AddressedCommand(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - COMMAND_NAME_FIELD_NUMBER: builtins.int - COMMAND_DATA_FIELD_NUMBER: builtins.int - TARGET_FIELD_NUMBER: builtins.int - EXECUTE_ALONG_PATH_FIELD_NUMBER: builtins.int - EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: builtins.int - command_name: builtins.str - target: builtins.str - execute_along_path: builtins.bool - execute_on_all_subsequent_children_in_path: builtins.bool - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def command_data(self) -> google.protobuf.any_pb2.Any: ... - def __init__( - self, - *, - token: druncschema.token_pb2.Token | None = ..., - command_name: builtins.str = ..., - command_data: google.protobuf.any_pb2.Any | None = ..., - target: builtins.str = ..., - execute_along_path: builtins.bool = ..., - execute_on_all_subsequent_children_in_path: builtins.bool = ..., - ) -> None: ... - def HasField(self, field_name: typing.Literal["_command_data", b"_command_data", "command_data", b"command_data", "token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["_command_data", b"_command_data", "command_data", b"command_data", "command_name", b"command_name", "execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "target", b"target", "token", b"token"]) -> None: ... - def WhichOneof(self, oneof_group: typing.Literal["_command_data", b"_command_data"]) -> typing.Literal["command_data"] | None: ... - -global___AddressedCommand = AddressedCommand - -@typing.final -class ExecuteExpertCommandRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - JSON_STRING_FIELD_NUMBER: builtins.int - TARGET_FIELD_NUMBER: builtins.int - EXECUTE_ALONG_PATH_FIELD_NUMBER: builtins.int - EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: builtins.int - json_string: builtins.str - target: builtins.str - execute_along_path: builtins.bool - execute_on_all_subsequent_children_in_path: builtins.bool - @property - def token(self) -> druncschema.token_pb2.Token: ... - def __init__( - self, - *, - token: druncschema.token_pb2.Token | None = ..., - json_string: builtins.str = ..., - target: builtins.str = ..., - execute_along_path: builtins.bool = ..., - execute_on_all_subsequent_children_in_path: builtins.bool = ..., - ) -> None: ... - def HasField(self, field_name: typing.Literal["token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "json_string", b"json_string", "target", b"target", "token", b"token"]) -> None: ... - -global___ExecuteExpertCommandRequest = ExecuteExpertCommandRequest - -@typing.final -class ExecuteExpertCommandResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - NAME_FIELD_NUMBER: builtins.int - DATA_FIELD_NUMBER: builtins.int - CHILDREN_FIELD_NUMBER: builtins.int - FSM_FLAG_FIELD_NUMBER: builtins.int - FLAG_FIELD_NUMBER: builtins.int - name: builtins.str - data: builtins.str - fsm_flag: global___FSMResponseFlag.ValueType - flag: druncschema.request_response_pb2.ResponseFlag.ValueType - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def children(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ExecuteExpertCommandResponse]: ... - def __init__( - self, - *, - token: druncschema.token_pb2.Token | None = ..., - name: builtins.str = ..., - data: builtins.str = ..., - children: collections.abc.Iterable[global___ExecuteExpertCommandResponse] | None = ..., - fsm_flag: global___FSMResponseFlag.ValueType = ..., - flag: druncschema.request_response_pb2.ResponseFlag.ValueType = ..., - ) -> None: ... - def HasField(self, field_name: typing.Literal["token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["children", b"children", "data", b"data", "flag", b"flag", "fsm_flag", b"fsm_flag", "name", b"name", "token", b"token"]) -> None: ... - -global___ExecuteExpertCommandResponse = ExecuteExpertCommandResponse - -@typing.final -class ExecuteFSMCommandRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - COMMAND_FIELD_NUMBER: builtins.int - TARGET_FIELD_NUMBER: builtins.int - EXECUTE_ALONG_PATH_FIELD_NUMBER: builtins.int - EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: builtins.int - target: builtins.str - execute_along_path: builtins.bool - execute_on_all_subsequent_children_in_path: builtins.bool - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def command(self) -> global___FSMCommand: ... - def __init__( - self, - *, - token: druncschema.token_pb2.Token | None = ..., - command: global___FSMCommand | None = ..., - target: builtins.str = ..., - execute_along_path: builtins.bool = ..., - execute_on_all_subsequent_children_in_path: builtins.bool = ..., - ) -> None: ... - def HasField(self, field_name: typing.Literal["command", b"command", "token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["command", b"command", "execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "target", b"target", "token", b"token"]) -> None: ... - -global___ExecuteFSMCommandRequest = ExecuteFSMCommandRequest - -@typing.final -class ExecuteFSMCommandResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - NAME_FIELD_NUMBER: builtins.int - COMMAND_NAME_FIELD_NUMBER: builtins.int - DATA_FIELD_NUMBER: builtins.int - CHILDREN_FIELD_NUMBER: builtins.int - FSM_FLAG_FIELD_NUMBER: builtins.int - FLAG_FIELD_NUMBER: builtins.int - name: builtins.str - command_name: builtins.str - data: builtins.str - fsm_flag: global___FSMResponseFlag.ValueType - flag: druncschema.request_response_pb2.ResponseFlag.ValueType - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def children(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ExecuteFSMCommandResponse]: ... - def __init__( - self, - *, - token: druncschema.token_pb2.Token | None = ..., - name: builtins.str = ..., - command_name: builtins.str = ..., - data: builtins.str = ..., - children: collections.abc.Iterable[global___ExecuteFSMCommandResponse] | None = ..., - fsm_flag: global___FSMResponseFlag.ValueType = ..., - flag: druncschema.request_response_pb2.ResponseFlag.ValueType = ..., - ) -> None: ... - def HasField(self, field_name: typing.Literal["token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["children", b"children", "command_name", b"command_name", "data", b"data", "flag", b"flag", "fsm_flag", b"fsm_flag", "name", b"name", "token", b"token"]) -> None: ... - -global___ExecuteFSMCommandResponse = ExecuteFSMCommandResponse - -@typing.final -class FSMCommand(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - @typing.final - class ArgumentsEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - @property - def value(self) -> google.protobuf.any_pb2.Any: ... +Global___FSMResponseFlag: _TypeAlias = FSMResponseFlag # noqa: Y015 + +@_typing.final +class AddressedCommand(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + COMMAND_NAME_FIELD_NUMBER: _builtins.int + COMMAND_DATA_FIELD_NUMBER: _builtins.int + TARGET_FIELD_NUMBER: _builtins.int + EXECUTE_ALONG_PATH_FIELD_NUMBER: _builtins.int + EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: _builtins.int + command_name: _builtins.str + target: _builtins.str + execute_along_path: _builtins.bool + execute_on_all_subsequent_children_in_path: _builtins.bool + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def command_data(self) -> _any_pb2.Any: ... + def __init__( + self, + *, + token: _token_pb2.Token | None = ..., + command_name: _builtins.str = ..., + command_data: _any_pb2.Any | None = ..., + target: _builtins.str = ..., + execute_along_path: _builtins.bool = ..., + execute_on_all_subsequent_children_in_path: _builtins.bool = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["_command_data", b"_command_data", "command_data", b"command_data", "token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["_command_data", b"_command_data", "command_data", b"command_data", "command_name", b"command_name", "execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "target", b"target", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType__command_data: _TypeAlias = _typing.Literal["command_data"] # noqa: Y015 + _WhichOneofArgType__command_data: _TypeAlias = _typing.Literal["_command_data", b"_command_data"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType__command_data) -> _WhichOneofReturnType__command_data | None: ... + +Global___AddressedCommand: _TypeAlias = AddressedCommand # noqa: Y015 + +@_typing.final +class ExecuteExpertCommandRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + JSON_STRING_FIELD_NUMBER: _builtins.int + TARGET_FIELD_NUMBER: _builtins.int + EXECUTE_ALONG_PATH_FIELD_NUMBER: _builtins.int + EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: _builtins.int + json_string: _builtins.str + target: _builtins.str + execute_along_path: _builtins.bool + execute_on_all_subsequent_children_in_path: _builtins.bool + @_builtins.property + def token(self) -> _token_pb2.Token: ... + def __init__( + self, + *, + token: _token_pb2.Token | None = ..., + json_string: _builtins.str = ..., + target: _builtins.str = ..., + execute_along_path: _builtins.bool = ..., + execute_on_all_subsequent_children_in_path: _builtins.bool = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "json_string", b"json_string", "target", b"target", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___ExecuteExpertCommandRequest: _TypeAlias = ExecuteExpertCommandRequest # noqa: Y015 + +@_typing.final +class ExecuteExpertCommandResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + DATA_FIELD_NUMBER: _builtins.int + CHILDREN_FIELD_NUMBER: _builtins.int + FSM_FLAG_FIELD_NUMBER: _builtins.int + FLAG_FIELD_NUMBER: _builtins.int + name: _builtins.str + data: _builtins.str + fsm_flag: Global___FSMResponseFlag.ValueType + flag: _request_response_pb2.ResponseFlag.ValueType + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def children(self) -> _containers.RepeatedCompositeFieldContainer[Global___ExecuteExpertCommandResponse]: ... + def __init__( + self, + *, + token: _token_pb2.Token | None = ..., + name: _builtins.str = ..., + data: _builtins.str = ..., + children: _abc.Iterable[Global___ExecuteExpertCommandResponse] | None = ..., + fsm_flag: Global___FSMResponseFlag.ValueType = ..., + flag: _request_response_pb2.ResponseFlag.ValueType = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["children", b"children", "data", b"data", "flag", b"flag", "fsm_flag", b"fsm_flag", "name", b"name", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___ExecuteExpertCommandResponse: _TypeAlias = ExecuteExpertCommandResponse # noqa: Y015 + +@_typing.final +class ExecuteFSMCommandRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + COMMAND_FIELD_NUMBER: _builtins.int + TARGET_FIELD_NUMBER: _builtins.int + EXECUTE_ALONG_PATH_FIELD_NUMBER: _builtins.int + EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: _builtins.int + target: _builtins.str + execute_along_path: _builtins.bool + execute_on_all_subsequent_children_in_path: _builtins.bool + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def command(self) -> Global___FSMCommand: ... + def __init__( + self, + *, + token: _token_pb2.Token | None = ..., + command: Global___FSMCommand | None = ..., + target: _builtins.str = ..., + execute_along_path: _builtins.bool = ..., + execute_on_all_subsequent_children_in_path: _builtins.bool = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["command", b"command", "token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["command", b"command", "execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "target", b"target", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___ExecuteFSMCommandRequest: _TypeAlias = ExecuteFSMCommandRequest # noqa: Y015 + +@_typing.final +class ExecuteFSMCommandResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + COMMAND_NAME_FIELD_NUMBER: _builtins.int + DATA_FIELD_NUMBER: _builtins.int + CHILDREN_FIELD_NUMBER: _builtins.int + FSM_FLAG_FIELD_NUMBER: _builtins.int + FLAG_FIELD_NUMBER: _builtins.int + name: _builtins.str + command_name: _builtins.str + data: _builtins.str + fsm_flag: Global___FSMResponseFlag.ValueType + flag: _request_response_pb2.ResponseFlag.ValueType + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def children(self) -> _containers.RepeatedCompositeFieldContainer[Global___ExecuteFSMCommandResponse]: ... + def __init__( + self, + *, + token: _token_pb2.Token | None = ..., + name: _builtins.str = ..., + command_name: _builtins.str = ..., + data: _builtins.str = ..., + children: _abc.Iterable[Global___ExecuteFSMCommandResponse] | None = ..., + fsm_flag: Global___FSMResponseFlag.ValueType = ..., + flag: _request_response_pb2.ResponseFlag.ValueType = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["children", b"children", "command_name", b"command_name", "data", b"data", "flag", b"flag", "fsm_flag", b"fsm_flag", "name", b"name", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___ExecuteFSMCommandResponse: _TypeAlias = ExecuteFSMCommandResponse # noqa: Y015 + +@_typing.final +class FSMCommand(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + @_typing.final + class ArgumentsEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + @_builtins.property + def value(self) -> _any_pb2.Any: ... def __init__( self, *, - key: builtins.str = ..., - value: google.protobuf.any_pb2.Any | None = ..., + key: _builtins.str = ..., + value: _any_pb2.Any | None = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ... - - COMMAND_NAME_FIELD_NUMBER: builtins.int - ARGUMENTS_FIELD_NUMBER: builtins.int - DATA_FIELD_NUMBER: builtins.int - command_name: builtins.str - data: builtins.str - @property - def arguments(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, google.protobuf.any_pb2.Any]: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + COMMAND_NAME_FIELD_NUMBER: _builtins.int + ARGUMENTS_FIELD_NUMBER: _builtins.int + DATA_FIELD_NUMBER: _builtins.int + command_name: _builtins.str + data: _builtins.str + @_builtins.property + def arguments(self) -> _containers.MessageMap[_builtins.str, _any_pb2.Any]: ... def __init__( self, *, - command_name: builtins.str = ..., - arguments: collections.abc.Mapping[builtins.str, google.protobuf.any_pb2.Any] | None = ..., - data: builtins.str | None = ..., + command_name: _builtins.str = ..., + arguments: _abc.Mapping[_builtins.str, _any_pb2.Any] | None = ..., + data: _builtins.str | None = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["_data", b"_data", "data", b"data"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["_data", b"_data", "arguments", b"arguments", "command_name", b"command_name", "data", b"data"]) -> None: ... - def WhichOneof(self, oneof_group: typing.Literal["_data", b"_data"]) -> typing.Literal["data"] | None: ... - -global___FSMCommand = FSMCommand - -@typing.final -class IncludeRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - TARGET_FIELD_NUMBER: builtins.int - EXECUTE_ALONG_PATH_FIELD_NUMBER: builtins.int - EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: builtins.int - target: builtins.str - execute_along_path: builtins.bool - execute_on_all_subsequent_children_in_path: builtins.bool - @property - def token(self) -> druncschema.token_pb2.Token: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["_data", b"_data", "data", b"data"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["_data", b"_data", "arguments", b"arguments", "command_name", b"command_name", "data", b"data"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType__data: _TypeAlias = _typing.Literal["data"] # noqa: Y015 + _WhichOneofArgType__data: _TypeAlias = _typing.Literal["_data", b"_data"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType__data) -> _WhichOneofReturnType__data | None: ... + +Global___FSMCommand: _TypeAlias = FSMCommand # noqa: Y015 + +@_typing.final +class IncludeRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + TARGET_FIELD_NUMBER: _builtins.int + EXECUTE_ALONG_PATH_FIELD_NUMBER: _builtins.int + EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: _builtins.int + target: _builtins.str + execute_along_path: _builtins.bool + execute_on_all_subsequent_children_in_path: _builtins.bool + @_builtins.property + def token(self) -> _token_pb2.Token: ... def __init__( self, *, - token: druncschema.token_pb2.Token | None = ..., - target: builtins.str = ..., - execute_along_path: builtins.bool = ..., - execute_on_all_subsequent_children_in_path: builtins.bool = ..., + token: _token_pb2.Token | None = ..., + target: _builtins.str = ..., + execute_along_path: _builtins.bool = ..., + execute_on_all_subsequent_children_in_path: _builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "target", b"target", "token", b"token"]) -> None: ... - -global___IncludeRequest = IncludeRequest - -@typing.final -class IncludeResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - NAME_FIELD_NUMBER: builtins.int - TEXT_FIELD_NUMBER: builtins.int - CHILDREN_FIELD_NUMBER: builtins.int - FLAG_FIELD_NUMBER: builtins.int - name: builtins.str - text: builtins.str - flag: druncschema.request_response_pb2.ResponseFlag.ValueType - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def children(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___IncludeResponse]: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "target", b"target", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___IncludeRequest: _TypeAlias = IncludeRequest # noqa: Y015 + +@_typing.final +class IncludeResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + TEXT_FIELD_NUMBER: _builtins.int + CHILDREN_FIELD_NUMBER: _builtins.int + FLAG_FIELD_NUMBER: _builtins.int + name: _builtins.str + text: _builtins.str + flag: _request_response_pb2.ResponseFlag.ValueType + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def children(self) -> _containers.RepeatedCompositeFieldContainer[Global___IncludeResponse]: ... def __init__( self, *, - token: druncschema.token_pb2.Token | None = ..., - name: builtins.str = ..., - text: builtins.str = ..., - children: collections.abc.Iterable[global___IncludeResponse] | None = ..., - flag: druncschema.request_response_pb2.ResponseFlag.ValueType = ..., + token: _token_pb2.Token | None = ..., + name: _builtins.str = ..., + text: _builtins.str = ..., + children: _abc.Iterable[Global___IncludeResponse] | None = ..., + flag: _request_response_pb2.ResponseFlag.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["children", b"children", "flag", b"flag", "name", b"name", "text", b"text", "token", b"token"]) -> None: ... - -global___IncludeResponse = IncludeResponse - -@typing.final -class ExcludeRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - TARGET_FIELD_NUMBER: builtins.int - EXECUTE_ALONG_PATH_FIELD_NUMBER: builtins.int - EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: builtins.int - target: builtins.str - execute_along_path: builtins.bool - execute_on_all_subsequent_children_in_path: builtins.bool - @property - def token(self) -> druncschema.token_pb2.Token: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["children", b"children", "flag", b"flag", "name", b"name", "text", b"text", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___IncludeResponse: _TypeAlias = IncludeResponse # noqa: Y015 + +@_typing.final +class ExcludeRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + TARGET_FIELD_NUMBER: _builtins.int + EXECUTE_ALONG_PATH_FIELD_NUMBER: _builtins.int + EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: _builtins.int + target: _builtins.str + execute_along_path: _builtins.bool + execute_on_all_subsequent_children_in_path: _builtins.bool + @_builtins.property + def token(self) -> _token_pb2.Token: ... def __init__( self, *, - token: druncschema.token_pb2.Token | None = ..., - target: builtins.str = ..., - execute_along_path: builtins.bool = ..., - execute_on_all_subsequent_children_in_path: builtins.bool = ..., + token: _token_pb2.Token | None = ..., + target: _builtins.str = ..., + execute_along_path: _builtins.bool = ..., + execute_on_all_subsequent_children_in_path: _builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "target", b"target", "token", b"token"]) -> None: ... - -global___ExcludeRequest = ExcludeRequest - -@typing.final -class ExcludeResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - NAME_FIELD_NUMBER: builtins.int - TEXT_FIELD_NUMBER: builtins.int - CHILDREN_FIELD_NUMBER: builtins.int - FLAG_FIELD_NUMBER: builtins.int - name: builtins.str - text: builtins.str - flag: druncschema.request_response_pb2.ResponseFlag.ValueType - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def children(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ExcludeResponse]: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "target", b"target", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___ExcludeRequest: _TypeAlias = ExcludeRequest # noqa: Y015 + +@_typing.final +class ExcludeResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + TEXT_FIELD_NUMBER: _builtins.int + CHILDREN_FIELD_NUMBER: _builtins.int + FLAG_FIELD_NUMBER: _builtins.int + name: _builtins.str + text: _builtins.str + flag: _request_response_pb2.ResponseFlag.ValueType + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def children(self) -> _containers.RepeatedCompositeFieldContainer[Global___ExcludeResponse]: ... def __init__( self, *, - token: druncschema.token_pb2.Token | None = ..., - name: builtins.str = ..., - text: builtins.str = ..., - children: collections.abc.Iterable[global___ExcludeResponse] | None = ..., - flag: druncschema.request_response_pb2.ResponseFlag.ValueType = ..., - ) -> None: ... - def HasField(self, field_name: typing.Literal["token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["children", b"children", "flag", b"flag", "name", b"name", "text", b"text", "token", b"token"]) -> None: ... - -global___ExcludeResponse = ExcludeResponse - -@typing.final -class StatusRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - TARGET_FIELD_NUMBER: builtins.int - EXECUTE_ALONG_PATH_FIELD_NUMBER: builtins.int - EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: builtins.int - target: builtins.str - execute_along_path: builtins.bool - execute_on_all_subsequent_children_in_path: builtins.bool - @property - def token(self) -> druncschema.token_pb2.Token: ... + token: _token_pb2.Token | None = ..., + name: _builtins.str = ..., + text: _builtins.str = ..., + children: _abc.Iterable[Global___ExcludeResponse] | None = ..., + flag: _request_response_pb2.ResponseFlag.ValueType = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["children", b"children", "flag", b"flag", "name", b"name", "text", b"text", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___ExcludeResponse: _TypeAlias = ExcludeResponse # noqa: Y015 + +@_typing.final +class TakeControlRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + TARGET_FIELD_NUMBER: _builtins.int + EXECUTE_ALONG_PATH_FIELD_NUMBER: _builtins.int + EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: _builtins.int + target: _builtins.str + execute_along_path: _builtins.bool + execute_on_all_subsequent_children_in_path: _builtins.bool + @_builtins.property + def token(self) -> _token_pb2.Token: ... def __init__( self, *, - token: druncschema.token_pb2.Token | None = ..., - target: builtins.str = ..., - execute_along_path: builtins.bool = ..., - execute_on_all_subsequent_children_in_path: builtins.bool = ..., - ) -> None: ... - def HasField(self, field_name: typing.Literal["token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "target", b"target", "token", b"token"]) -> None: ... - -global___StatusRequest = StatusRequest - -@typing.final -class StatusResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - NAME_FIELD_NUMBER: builtins.int - STATUS_FIELD_NUMBER: builtins.int - CHILDREN_FIELD_NUMBER: builtins.int - FLAG_FIELD_NUMBER: builtins.int - name: builtins.str - flag: druncschema.request_response_pb2.ResponseFlag.ValueType - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def status(self) -> global___Status: ... - @property - def children(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___StatusResponse]: ... + token: _token_pb2.Token | None = ..., + target: _builtins.str = ..., + execute_along_path: _builtins.bool = ..., + execute_on_all_subsequent_children_in_path: _builtins.bool = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "target", b"target", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___TakeControlRequest: _TypeAlias = TakeControlRequest # noqa: Y015 + +@_typing.final +class TakeControlResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + TEXT_FIELD_NUMBER: _builtins.int + CHILDREN_FIELD_NUMBER: _builtins.int + FLAG_FIELD_NUMBER: _builtins.int + name: _builtins.str + text: _builtins.str + flag: _request_response_pb2.ResponseFlag.ValueType + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def children(self) -> _containers.RepeatedCompositeFieldContainer[Global___TakeControlResponse]: ... def __init__( self, *, - token: druncschema.token_pb2.Token | None = ..., - name: builtins.str = ..., - status: global___Status | None = ..., - children: collections.abc.Iterable[global___StatusResponse] | None = ..., - flag: druncschema.request_response_pb2.ResponseFlag.ValueType = ..., - ) -> None: ... - def HasField(self, field_name: typing.Literal["status", b"status", "token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["children", b"children", "flag", b"flag", "name", b"name", "status", b"status", "token", b"token"]) -> None: ... - -global___StatusResponse = StatusResponse - -@typing.final -class RecomputeStatusRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - TARGET_FIELD_NUMBER: builtins.int - EXECUTE_ALONG_PATH_FIELD_NUMBER: builtins.int - EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: builtins.int - target: builtins.str - execute_along_path: builtins.bool - execute_on_all_subsequent_children_in_path: builtins.bool - @property - def token(self) -> druncschema.token_pb2.Token: ... + token: _token_pb2.Token | None = ..., + name: _builtins.str = ..., + text: _builtins.str = ..., + children: _abc.Iterable[Global___TakeControlResponse] | None = ..., + flag: _request_response_pb2.ResponseFlag.ValueType = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["children", b"children", "flag", b"flag", "name", b"name", "text", b"text", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___TakeControlResponse: _TypeAlias = TakeControlResponse # noqa: Y015 + +@_typing.final +class SurrenderControlRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + TARGET_FIELD_NUMBER: _builtins.int + EXECUTE_ALONG_PATH_FIELD_NUMBER: _builtins.int + EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: _builtins.int + target: _builtins.str + execute_along_path: _builtins.bool + execute_on_all_subsequent_children_in_path: _builtins.bool + @_builtins.property + def token(self) -> _token_pb2.Token: ... def __init__( self, *, - token: druncschema.token_pb2.Token | None = ..., - target: builtins.str = ..., - execute_along_path: builtins.bool = ..., - execute_on_all_subsequent_children_in_path: builtins.bool = ..., - ) -> None: ... - def HasField(self, field_name: typing.Literal["token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "target", b"target", "token", b"token"]) -> None: ... - -global___RecomputeStatusRequest = RecomputeStatusRequest - -@typing.final -class RecomputeStatusResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - NAME_FIELD_NUMBER: builtins.int - CHILDREN_FIELD_NUMBER: builtins.int - FLAG_FIELD_NUMBER: builtins.int - name: builtins.str - flag: druncschema.request_response_pb2.ResponseFlag.ValueType - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def children(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___RecomputeStatusResponse]: ... + token: _token_pb2.Token | None = ..., + target: _builtins.str = ..., + execute_along_path: _builtins.bool = ..., + execute_on_all_subsequent_children_in_path: _builtins.bool = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "target", b"target", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___SurrenderControlRequest: _TypeAlias = SurrenderControlRequest # noqa: Y015 + +@_typing.final +class SurrenderControlResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + TEXT_FIELD_NUMBER: _builtins.int + CHILDREN_FIELD_NUMBER: _builtins.int + FLAG_FIELD_NUMBER: _builtins.int + name: _builtins.str + text: _builtins.str + flag: _request_response_pb2.ResponseFlag.ValueType + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def children(self) -> _containers.RepeatedCompositeFieldContainer[Global___SurrenderControlResponse]: ... def __init__( self, *, - token: druncschema.token_pb2.Token | None = ..., - name: builtins.str = ..., - children: collections.abc.Iterable[global___RecomputeStatusResponse] | None = ..., - flag: druncschema.request_response_pb2.ResponseFlag.ValueType = ..., - ) -> None: ... - def HasField(self, field_name: typing.Literal["token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["children", b"children", "flag", b"flag", "name", b"name", "token", b"token"]) -> None: ... - -global___RecomputeStatusResponse = RecomputeStatusResponse - -@typing.final -class DescribeRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - TARGET_FIELD_NUMBER: builtins.int - EXECUTE_ALONG_PATH_FIELD_NUMBER: builtins.int - EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: builtins.int - target: builtins.str - execute_along_path: builtins.bool - execute_on_all_subsequent_children_in_path: builtins.bool - @property - def token(self) -> druncschema.token_pb2.Token: ... - def __init__( - self, - *, - token: druncschema.token_pb2.Token | None = ..., - target: builtins.str = ..., - execute_along_path: builtins.bool = ..., - execute_on_all_subsequent_children_in_path: builtins.bool = ..., - ) -> None: ... - def HasField(self, field_name: typing.Literal["token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "target", b"target", "token", b"token"]) -> None: ... - -global___DescribeRequest = DescribeRequest - -@typing.final -class DescribeResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - NAME_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - CHILDREN_FIELD_NUMBER: builtins.int - FLAG_FIELD_NUMBER: builtins.int - name: builtins.str - flag: druncschema.request_response_pb2.ResponseFlag.ValueType - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def description(self) -> druncschema.description_pb2.Description: ... - @property - def children(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DescribeResponse]: ... + token: _token_pb2.Token | None = ..., + name: _builtins.str = ..., + text: _builtins.str = ..., + children: _abc.Iterable[Global___SurrenderControlResponse] | None = ..., + flag: _request_response_pb2.ResponseFlag.ValueType = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["children", b"children", "flag", b"flag", "name", b"name", "text", b"text", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___SurrenderControlResponse: _TypeAlias = SurrenderControlResponse # noqa: Y015 + +@_typing.final +class WhoIsInChargeRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + TARGET_FIELD_NUMBER: _builtins.int + EXECUTE_ALONG_PATH_FIELD_NUMBER: _builtins.int + EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: _builtins.int + target: _builtins.str + execute_along_path: _builtins.bool + execute_on_all_subsequent_children_in_path: _builtins.bool + @_builtins.property + def token(self) -> _token_pb2.Token: ... def __init__( self, *, - token: druncschema.token_pb2.Token | None = ..., - name: builtins.str = ..., - description: druncschema.description_pb2.Description | None = ..., - children: collections.abc.Iterable[global___DescribeResponse] | None = ..., - flag: druncschema.request_response_pb2.ResponseFlag.ValueType = ..., + token: _token_pb2.Token | None = ..., + target: _builtins.str = ..., + execute_along_path: _builtins.bool = ..., + execute_on_all_subsequent_children_in_path: _builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["description", b"description", "token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["children", b"children", "description", b"description", "flag", b"flag", "name", b"name", "token", b"token"]) -> None: ... - -global___DescribeResponse = DescribeResponse - -@typing.final -class DescribeFSMRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - KEY_FIELD_NUMBER: builtins.int - TARGET_FIELD_NUMBER: builtins.int - EXECUTE_ALONG_PATH_FIELD_NUMBER: builtins.int - EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: builtins.int - key: builtins.str - target: builtins.str - execute_along_path: builtins.bool - execute_on_all_subsequent_children_in_path: builtins.bool - @property - def token(self) -> druncschema.token_pb2.Token: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "target", b"target", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___WhoIsInChargeRequest: _TypeAlias = WhoIsInChargeRequest # noqa: Y015 + +@_typing.final +class WhoIsInChargeResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + TEXT_FIELD_NUMBER: _builtins.int + CHILDREN_FIELD_NUMBER: _builtins.int + FLAG_FIELD_NUMBER: _builtins.int + name: _builtins.str + text: _builtins.str + flag: _request_response_pb2.ResponseFlag.ValueType + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def children(self) -> _containers.RepeatedCompositeFieldContainer[Global___WhoIsInChargeResponse]: ... def __init__( - self, + self, *, - token: druncschema.token_pb2.Token | None = ..., - key: builtins.str = ..., - target: builtins.str = ..., - execute_along_path: builtins.bool = ..., - execute_on_all_subsequent_children_in_path: builtins.bool = ..., + token: _token_pb2.Token | None = ..., + name: _builtins.str = ..., + text: _builtins.str = ..., + children: _abc.Iterable[Global___WhoIsInChargeResponse] | None = ..., + flag: _request_response_pb2.ResponseFlag.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "key", b"key", "target", b"target", "token", b"token"]) -> None: ... - -global___DescribeFSMRequest = DescribeFSMRequest - -@typing.final -class DescribeFSMResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - NAME_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - CHILDREN_FIELD_NUMBER: builtins.int - FLAG_FIELD_NUMBER: builtins.int - name: builtins.str - flag: druncschema.request_response_pb2.ResponseFlag.ValueType - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def description(self) -> global___FSMCommandsDescription: ... - @property - def children(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DescribeFSMResponse]: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["children", b"children", "flag", b"flag", "name", b"name", "text", b"text", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___WhoIsInChargeResponse: _TypeAlias = WhoIsInChargeResponse # noqa: Y015 + +@_typing.final +class ToErrorRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + TARGET_FIELD_NUMBER: _builtins.int + EXECUTE_ALONG_PATH_FIELD_NUMBER: _builtins.int + EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: _builtins.int + target: _builtins.str + execute_along_path: _builtins.bool + execute_on_all_subsequent_children_in_path: _builtins.bool + @_builtins.property + def token(self) -> _token_pb2.Token: ... def __init__( - self, - *, - token: druncschema.token_pb2.Token | None = ..., - name: builtins.str = ..., - description: global___FSMCommandsDescription | None = ..., - children: collections.abc.Iterable[global___DescribeFSMResponse] | None = ..., - flag: druncschema.request_response_pb2.ResponseFlag.ValueType = ..., + self, + *, + token: _token_pb2.Token | None = ..., + target: _builtins.str = ..., + execute_along_path: _builtins.bool = ..., + execute_on_all_subsequent_children_in_path: _builtins.bool = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["description", b"description", "token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["children", b"children", "description", b"description", "flag", b"flag", "name", b"name", "token", b"token"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "target", b"target", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___ToErrorRequest: _TypeAlias = ToErrorRequest # noqa: Y015 + +@_typing.final +class ToErrorResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + CHILDREN_FIELD_NUMBER: _builtins.int + FLAG_FIELD_NUMBER: _builtins.int + name: _builtins.str + flag: _request_response_pb2.ResponseFlag.ValueType + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def children(self) -> _containers.RepeatedCompositeFieldContainer[Global___ToErrorResponse]: ... + def __init__( + self, + *, + token: _token_pb2.Token | None = ..., + name: _builtins.str = ..., + children: _abc.Iterable[Global___ToErrorResponse] | None = ..., + flag: _request_response_pb2.ResponseFlag.ValueType = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["children", b"children", "flag", b"flag", "name", b"name", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___ToErrorResponse: _TypeAlias = ToErrorResponse # noqa: Y015 + +@_typing.final +class StatusRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + TARGET_FIELD_NUMBER: _builtins.int + EXECUTE_ALONG_PATH_FIELD_NUMBER: _builtins.int + EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: _builtins.int + target: _builtins.str + execute_along_path: _builtins.bool + execute_on_all_subsequent_children_in_path: _builtins.bool + @_builtins.property + def token(self) -> _token_pb2.Token: ... + def __init__( + self, + *, + token: _token_pb2.Token | None = ..., + target: _builtins.str = ..., + execute_along_path: _builtins.bool = ..., + execute_on_all_subsequent_children_in_path: _builtins.bool = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "target", b"target", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___StatusRequest: _TypeAlias = StatusRequest # noqa: Y015 + +@_typing.final +class StatusResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + STATUS_FIELD_NUMBER: _builtins.int + CHILDREN_FIELD_NUMBER: _builtins.int + FLAG_FIELD_NUMBER: _builtins.int + name: _builtins.str + flag: _request_response_pb2.ResponseFlag.ValueType + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def status(self) -> Global___Status: ... + @_builtins.property + def children(self) -> _containers.RepeatedCompositeFieldContainer[Global___StatusResponse]: ... + def __init__( + self, + *, + token: _token_pb2.Token | None = ..., + name: _builtins.str = ..., + status: Global___Status | None = ..., + children: _abc.Iterable[Global___StatusResponse] | None = ..., + flag: _request_response_pb2.ResponseFlag.ValueType = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["status", b"status", "token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["children", b"children", "flag", b"flag", "name", b"name", "status", b"status", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___StatusResponse: _TypeAlias = StatusResponse # noqa: Y015 + +@_typing.final +class RecomputeStatusRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + TARGET_FIELD_NUMBER: _builtins.int + EXECUTE_ALONG_PATH_FIELD_NUMBER: _builtins.int + EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: _builtins.int + target: _builtins.str + execute_along_path: _builtins.bool + execute_on_all_subsequent_children_in_path: _builtins.bool + @_builtins.property + def token(self) -> _token_pb2.Token: ... + def __init__( + self, + *, + token: _token_pb2.Token | None = ..., + target: _builtins.str = ..., + execute_along_path: _builtins.bool = ..., + execute_on_all_subsequent_children_in_path: _builtins.bool = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "target", b"target", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___RecomputeStatusRequest: _TypeAlias = RecomputeStatusRequest # noqa: Y015 + +@_typing.final +class RecomputeStatusResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + CHILDREN_FIELD_NUMBER: _builtins.int + FLAG_FIELD_NUMBER: _builtins.int + name: _builtins.str + flag: _request_response_pb2.ResponseFlag.ValueType + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def children(self) -> _containers.RepeatedCompositeFieldContainer[Global___RecomputeStatusResponse]: ... + def __init__( + self, + *, + token: _token_pb2.Token | None = ..., + name: _builtins.str = ..., + children: _abc.Iterable[Global___RecomputeStatusResponse] | None = ..., + flag: _request_response_pb2.ResponseFlag.ValueType = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["children", b"children", "flag", b"flag", "name", b"name", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___RecomputeStatusResponse: _TypeAlias = RecomputeStatusResponse # noqa: Y015 + +@_typing.final +class DescribeRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + TARGET_FIELD_NUMBER: _builtins.int + EXECUTE_ALONG_PATH_FIELD_NUMBER: _builtins.int + EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: _builtins.int + target: _builtins.str + execute_along_path: _builtins.bool + execute_on_all_subsequent_children_in_path: _builtins.bool + @_builtins.property + def token(self) -> _token_pb2.Token: ... + def __init__( + self, + *, + token: _token_pb2.Token | None = ..., + target: _builtins.str = ..., + execute_along_path: _builtins.bool = ..., + execute_on_all_subsequent_children_in_path: _builtins.bool = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "target", b"target", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___DescribeRequest: _TypeAlias = DescribeRequest # noqa: Y015 + +@_typing.final +class DescribeResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + DESCRIPTION_FIELD_NUMBER: _builtins.int + CHILDREN_FIELD_NUMBER: _builtins.int + FLAG_FIELD_NUMBER: _builtins.int + name: _builtins.str + flag: _request_response_pb2.ResponseFlag.ValueType + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def description(self) -> _description_pb2.Description: ... + @_builtins.property + def children(self) -> _containers.RepeatedCompositeFieldContainer[Global___DescribeResponse]: ... + def __init__( + self, + *, + token: _token_pb2.Token | None = ..., + name: _builtins.str = ..., + description: _description_pb2.Description | None = ..., + children: _abc.Iterable[Global___DescribeResponse] | None = ..., + flag: _request_response_pb2.ResponseFlag.ValueType = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["description", b"description", "token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["children", b"children", "description", b"description", "flag", b"flag", "name", b"name", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___DescribeResponse: _TypeAlias = DescribeResponse # noqa: Y015 + +@_typing.final +class DescribeFSMRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + KEY_FIELD_NUMBER: _builtins.int + TARGET_FIELD_NUMBER: _builtins.int + EXECUTE_ALONG_PATH_FIELD_NUMBER: _builtins.int + EXECUTE_ON_ALL_SUBSEQUENT_CHILDREN_IN_PATH_FIELD_NUMBER: _builtins.int + key: _builtins.str + target: _builtins.str + execute_along_path: _builtins.bool + execute_on_all_subsequent_children_in_path: _builtins.bool + @_builtins.property + def token(self) -> _token_pb2.Token: ... + def __init__( + self, + *, + token: _token_pb2.Token | None = ..., + key: _builtins.str = ..., + target: _builtins.str = ..., + execute_along_path: _builtins.bool = ..., + execute_on_all_subsequent_children_in_path: _builtins.bool = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["execute_along_path", b"execute_along_path", "execute_on_all_subsequent_children_in_path", b"execute_on_all_subsequent_children_in_path", "key", b"key", "target", b"target", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___DescribeFSMRequest: _TypeAlias = DescribeFSMRequest # noqa: Y015 + +@_typing.final +class DescribeFSMResponse(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + DESCRIPTION_FIELD_NUMBER: _builtins.int + CHILDREN_FIELD_NUMBER: _builtins.int + FLAG_FIELD_NUMBER: _builtins.int + name: _builtins.str + flag: _request_response_pb2.ResponseFlag.ValueType + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def description(self) -> Global___FSMCommandsDescription: ... + @_builtins.property + def children(self) -> _containers.RepeatedCompositeFieldContainer[Global___DescribeFSMResponse]: ... + def __init__( + self, + *, + token: _token_pb2.Token | None = ..., + name: _builtins.str = ..., + description: Global___FSMCommandsDescription | None = ..., + children: _abc.Iterable[Global___DescribeFSMResponse] | None = ..., + flag: _request_response_pb2.ResponseFlag.ValueType = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["description", b"description", "token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["children", b"children", "description", b"description", "flag", b"flag", "name", b"name", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___DescribeFSMResponse: _TypeAlias = DescribeFSMResponse # noqa: Y015 -global___DescribeFSMResponse = DescribeFSMResponse - -@typing.final -class Argument(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class Argument(_message.Message): + DESCRIPTOR: _descriptor.Descriptor class _Presence: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType + ValueType = _typing.NewType("ValueType", _builtins.int) + V: _TypeAlias = ValueType # noqa: Y015 - class _PresenceEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Argument._Presence.ValueType], builtins.type): - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + class _PresenceEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Argument._Presence.ValueType], _builtins.type): + DESCRIPTOR: _descriptor.EnumDescriptor MANDATORY: Argument._Presence.ValueType # 0 OPTIONAL: Argument._Presence.ValueType # 1 @@ -605,11 +884,11 @@ class Argument(google.protobuf.message.Message): OPTIONAL: Argument.Presence.ValueType # 1 class _Type: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType + ValueType = _typing.NewType("ValueType", _builtins.int) + V: _TypeAlias = ValueType # noqa: Y015 - class _TypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Argument._Type.ValueType], builtins.type): - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + class _TypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Argument._Type.ValueType], _builtins.type): + DESCRIPTOR: _descriptor.EnumDescriptor INT: Argument._Type.ValueType # 0 FLOAT: Argument._Type.ValueType # 1 STRING: Argument._Type.ValueType # 2 @@ -621,181 +900,196 @@ class Argument(google.protobuf.message.Message): STRING: Argument.Type.ValueType # 2 BOOL: Argument.Type.ValueType # 3 - NAME_FIELD_NUMBER: builtins.int - PRESENCE_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - DEFAULT_VALUE_FIELD_NUMBER: builtins.int - CHOICES_FIELD_NUMBER: builtins.int - HELP_FIELD_NUMBER: builtins.int - name: builtins.str - presence: global___Argument.Presence.ValueType - type: global___Argument.Type.ValueType - help: builtins.str - @property - def default_value(self) -> google.protobuf.any_pb2.Any: ... - @property - def choices(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.any_pb2.Any]: ... - def __init__( - self, + NAME_FIELD_NUMBER: _builtins.int + PRESENCE_FIELD_NUMBER: _builtins.int + TYPE_FIELD_NUMBER: _builtins.int + DEFAULT_VALUE_FIELD_NUMBER: _builtins.int + CHOICES_FIELD_NUMBER: _builtins.int + HELP_FIELD_NUMBER: _builtins.int + name: _builtins.str + presence: Global___Argument.Presence.ValueType + type: Global___Argument.Type.ValueType + help: _builtins.str + @_builtins.property + def default_value(self) -> _any_pb2.Any: ... + @_builtins.property + def choices(self) -> _containers.RepeatedCompositeFieldContainer[_any_pb2.Any]: ... + def __init__( + self, + *, + name: _builtins.str = ..., + presence: Global___Argument.Presence.ValueType = ..., + type: Global___Argument.Type.ValueType = ..., + default_value: _any_pb2.Any | None = ..., + choices: _abc.Iterable[_any_pb2.Any] | None = ..., + help: _builtins.str = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["_default_value", b"_default_value", "default_value", b"default_value"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["_default_value", b"_default_value", "choices", b"choices", "default_value", b"default_value", "help", b"help", "name", b"name", "presence", b"presence", "type", b"type"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType__default_value: _TypeAlias = _typing.Literal["default_value"] # noqa: Y015 + _WhichOneofArgType__default_value: _TypeAlias = _typing.Literal["_default_value", b"_default_value"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType__default_value) -> _WhichOneofReturnType__default_value | None: ... + +Global___Argument: _TypeAlias = Argument # noqa: Y015 + +@_typing.final +class FSMCommandDescription(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + NAME_FIELD_NUMBER: _builtins.int + DATA_TYPE_FIELD_NUMBER: _builtins.int + HELP_FIELD_NUMBER: _builtins.int + RETURN_TYPE_FIELD_NUMBER: _builtins.int + ARGUMENTS_FIELD_NUMBER: _builtins.int + name: _builtins.str + help: _builtins.str + return_type: _builtins.str + @_builtins.property + def data_type(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... + @_builtins.property + def arguments(self) -> _containers.RepeatedCompositeFieldContainer[Global___Argument]: ... + def __init__( + self, + *, + name: _builtins.str = ..., + data_type: _abc.Iterable[_builtins.str] | None = ..., + help: _builtins.str = ..., + return_type: _builtins.str = ..., + arguments: _abc.Iterable[Global___Argument] | None = ..., + ) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["arguments", b"arguments", "data_type", b"data_type", "help", b"help", "name", b"name", "return_type", b"return_type"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___FSMCommandDescription: _TypeAlias = FSMCommandDescription # noqa: Y015 + +@_typing.final +class FSMSequence(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + ID_FIELD_NUMBER: _builtins.int + COMMAND_IDS_FIELD_NUMBER: _builtins.int + id: _builtins.str + @_builtins.property + def command_ids(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... + def __init__( + self, + *, + id: _builtins.str = ..., + command_ids: _abc.Iterable[_builtins.str] | None = ..., + ) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["command_ids", b"command_ids", "id", b"id"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___FSMSequence: _TypeAlias = FSMSequence # noqa: Y015 + +@_typing.final +class FSMCommandsDescription(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + TYPE_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + SESSION_FIELD_NUMBER: _builtins.int + COMMANDS_FIELD_NUMBER: _builtins.int + SEQUENCES_FIELD_NUMBER: _builtins.int + type: _builtins.str + name: _builtins.str + session: _builtins.str + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def commands(self) -> _containers.RepeatedCompositeFieldContainer[Global___FSMCommandDescription]: ... + @_builtins.property + def sequences(self) -> _containers.RepeatedCompositeFieldContainer[Global___FSMSequence]: ... + def __init__( + self, *, - name: builtins.str = ..., - presence: global___Argument.Presence.ValueType = ..., - type: global___Argument.Type.ValueType = ..., - default_value: google.protobuf.any_pb2.Any | None = ..., - choices: collections.abc.Iterable[google.protobuf.any_pb2.Any] | None = ..., - help: builtins.str = ..., - ) -> None: ... - def HasField(self, field_name: typing.Literal["_default_value", b"_default_value", "default_value", b"default_value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["_default_value", b"_default_value", "choices", b"choices", "default_value", b"default_value", "help", b"help", "name", b"name", "presence", b"presence", "type", b"type"]) -> None: ... - def WhichOneof(self, oneof_group: typing.Literal["_default_value", b"_default_value"]) -> typing.Literal["default_value"] | None: ... - -global___Argument = Argument - -@typing.final -class FSMCommandDescription(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - NAME_FIELD_NUMBER: builtins.int - DATA_TYPE_FIELD_NUMBER: builtins.int - HELP_FIELD_NUMBER: builtins.int - RETURN_TYPE_FIELD_NUMBER: builtins.int - ARGUMENTS_FIELD_NUMBER: builtins.int - name: builtins.str - help: builtins.str - return_type: builtins.str - @property - def data_type(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def arguments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Argument]: ... - def __init__( - self, - *, - name: builtins.str = ..., - data_type: collections.abc.Iterable[builtins.str] | None = ..., - help: builtins.str = ..., - return_type: builtins.str = ..., - arguments: collections.abc.Iterable[global___Argument] | None = ..., - ) -> None: ... - def ClearField(self, field_name: typing.Literal["arguments", b"arguments", "data_type", b"data_type", "help", b"help", "name", b"name", "return_type", b"return_type"]) -> None: ... - -global___FSMCommandDescription = FSMCommandDescription - -@typing.final -class FSMSequence(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - ID_FIELD_NUMBER: builtins.int - COMMAND_IDS_FIELD_NUMBER: builtins.int - id: builtins.str - @property - def command_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - def __init__( - self, - *, - id: builtins.str = ..., - command_ids: collections.abc.Iterable[builtins.str] | None = ..., - ) -> None: ... - def ClearField(self, field_name: typing.Literal["command_ids", b"command_ids", "id", b"id"]) -> None: ... - -global___FSMSequence = FSMSequence - -@typing.final -class FSMCommandsDescription(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - NAME_FIELD_NUMBER: builtins.int - SESSION_FIELD_NUMBER: builtins.int - COMMANDS_FIELD_NUMBER: builtins.int - SEQUENCES_FIELD_NUMBER: builtins.int - type: builtins.str - name: builtins.str - session: builtins.str - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def commands(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FSMCommandDescription]: ... - @property - def sequences(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FSMSequence]: ... - def __init__( - self, - *, - token: druncschema.token_pb2.Token | None = ..., - type: builtins.str = ..., - name: builtins.str = ..., - session: builtins.str | None = ..., - commands: collections.abc.Iterable[global___FSMCommandDescription] | None = ..., - sequences: collections.abc.Iterable[global___FSMSequence] | None = ..., - ) -> None: ... - def HasField(self, field_name: typing.Literal["_session", b"_session", "session", b"session", "token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["_session", b"_session", "commands", b"commands", "name", b"name", "sequences", b"sequences", "session", b"session", "token", b"token", "type", b"type"]) -> None: ... - def WhichOneof(self, oneof_group: typing.Literal["_session", b"_session"]) -> typing.Literal["session"] | None: ... - -global___FSMCommandsDescription = FSMCommandsDescription - -@typing.final -class Status(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - STATE_FIELD_NUMBER: builtins.int - SUB_STATE_FIELD_NUMBER: builtins.int - IN_ERROR_FIELD_NUMBER: builtins.int - INCLUDED_FIELD_NUMBER: builtins.int - RUN_INFO_FIELD_NUMBER: builtins.int - state: builtins.str - sub_state: builtins.str - in_error: builtins.bool - included: builtins.bool - @property - def run_info(self) -> global___RunInfo: ... - def __init__( - self, - *, - state: builtins.str = ..., - sub_state: builtins.str = ..., - in_error: builtins.bool = ..., - included: builtins.bool = ..., - run_info: global___RunInfo | None = ..., - ) -> None: ... - def HasField(self, field_name: typing.Literal["_run_info", b"_run_info", "run_info", b"run_info"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["_run_info", b"_run_info", "in_error", b"in_error", "included", b"included", "run_info", b"run_info", "state", b"state", "sub_state", b"sub_state"]) -> None: ... - def WhichOneof(self, oneof_group: typing.Literal["_run_info", b"_run_info"]) -> typing.Literal["run_info"] | None: ... - -global___Status = Status - -@typing.final -class RunInfo(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + token: _token_pb2.Token | None = ..., + type: _builtins.str = ..., + name: _builtins.str = ..., + session: _builtins.str | None = ..., + commands: _abc.Iterable[Global___FSMCommandDescription] | None = ..., + sequences: _abc.Iterable[Global___FSMSequence] | None = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["_session", b"_session", "session", b"session", "token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["_session", b"_session", "commands", b"commands", "name", b"name", "sequences", b"sequences", "session", b"session", "token", b"token", "type", b"type"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType__session: _TypeAlias = _typing.Literal["session"] # noqa: Y015 + _WhichOneofArgType__session: _TypeAlias = _typing.Literal["_session", b"_session"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType__session) -> _WhichOneofReturnType__session | None: ... + +Global___FSMCommandsDescription: _TypeAlias = FSMCommandsDescription # noqa: Y015 + +@_typing.final +class Status(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + STATE_FIELD_NUMBER: _builtins.int + SUB_STATE_FIELD_NUMBER: _builtins.int + IN_ERROR_FIELD_NUMBER: _builtins.int + INCLUDED_FIELD_NUMBER: _builtins.int + RUN_INFO_FIELD_NUMBER: _builtins.int + state: _builtins.str + sub_state: _builtins.str + in_error: _builtins.bool + included: _builtins.bool + @_builtins.property + def run_info(self) -> Global___RunInfo: ... + def __init__( + self, + *, + state: _builtins.str = ..., + sub_state: _builtins.str = ..., + in_error: _builtins.bool = ..., + included: _builtins.bool = ..., + run_info: Global___RunInfo | None = ..., + ) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["_run_info", b"_run_info", "run_info", b"run_info"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["_run_info", b"_run_info", "in_error", b"in_error", "included", b"included", "run_info", b"run_info", "state", b"state", "sub_state", b"sub_state"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType__run_info: _TypeAlias = _typing.Literal["run_info"] # noqa: Y015 + _WhichOneofArgType__run_info: _TypeAlias = _typing.Literal["_run_info", b"_run_info"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType__run_info) -> _WhichOneofReturnType__run_info | None: ... + +Global___Status: _TypeAlias = Status # noqa: Y015 + +@_typing.final +class RunInfo(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + RUN_TYPE_FIELD_NUMBER: _builtins.int + TRIGGER_RATE_FIELD_NUMBER: _builtins.int + RUN_NUMBER_FIELD_NUMBER: _builtins.int + DISABLE_DATA_STORAGE_FIELD_NUMBER: _builtins.int + RUN_TIME_AT_START_FIELD_NUMBER: _builtins.int + RUN_TIME_SINCE_START_FIELD_NUMBER: _builtins.int + RUN_CONFIG_FILE_FIELD_NUMBER: _builtins.int + RUN_CONFIG_NAME_FIELD_NUMBER: _builtins.int + run_type: _builtins.str + trigger_rate: _builtins.float + run_number: _builtins.int + disable_data_storage: _builtins.bool + run_time_at_start: _builtins.int + run_time_since_start: _builtins.int + run_config_file: _builtins.str + run_config_name: _builtins.str + def __init__( + self, + *, + run_type: _builtins.str = ..., + trigger_rate: _builtins.float = ..., + run_number: _builtins.int = ..., + disable_data_storage: _builtins.bool = ..., + run_time_at_start: _builtins.int = ..., + run_time_since_start: _builtins.int = ..., + run_config_file: _builtins.str = ..., + run_config_name: _builtins.str = ..., + ) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["disable_data_storage", b"disable_data_storage", "run_config_file", b"run_config_file", "run_config_name", b"run_config_name", "run_number", b"run_number", "run_time_at_start", b"run_time_at_start", "run_time_since_start", b"run_time_since_start", "run_type", b"run_type", "trigger_rate", b"trigger_rate"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - RUN_TYPE_FIELD_NUMBER: builtins.int - TRIGGER_RATE_FIELD_NUMBER: builtins.int - RUN_NUMBER_FIELD_NUMBER: builtins.int - DISABLE_DATA_STORAGE_FIELD_NUMBER: builtins.int - RUN_TIME_AT_START_FIELD_NUMBER: builtins.int - RUN_TIME_SINCE_START_FIELD_NUMBER: builtins.int - RUN_CONFIG_FILE_FIELD_NUMBER: builtins.int - RUN_CONFIG_NAME_FIELD_NUMBER: builtins.int - run_type: builtins.str - trigger_rate: builtins.float - run_number: builtins.int - disable_data_storage: builtins.bool - run_time_at_start: builtins.int - run_time_since_start: builtins.int - run_config_file: builtins.str - run_config_name: builtins.str - def __init__( - self, - *, - run_type: builtins.str = ..., - trigger_rate: builtins.float = ..., - run_number: builtins.int = ..., - disable_data_storage: builtins.bool = ..., - run_time_at_start: builtins.int = ..., - run_time_since_start: builtins.int = ..., - run_config_file: builtins.str = ..., - run_config_name: builtins.str = ..., - ) -> None: ... - def ClearField(self, field_name: typing.Literal["disable_data_storage", b"disable_data_storage", "run_config_file", b"run_config_file", "run_config_name", b"run_config_name", "run_number", b"run_number", "run_time_at_start", b"run_time_at_start", "run_time_since_start", b"run_time_since_start", "run_type", b"run_type", "trigger_rate", b"trigger_rate"]) -> None: ... - -global___RunInfo = RunInfo +Global___RunInfo: _TypeAlias = RunInfo # noqa: Y015 diff --git a/src/druncschema/controller_pb2_grpc.py b/src/druncschema/controller_pb2_grpc.py index 6701633..a475edd 100644 --- a/src/druncschema/controller_pb2_grpc.py +++ b/src/druncschema/controller_pb2_grpc.py @@ -4,7 +4,6 @@ import warnings from druncschema import controller_pb2 as druncschema_dot_controller__pb2 -from druncschema import request_response_pb2 as druncschema_dot_request__response__pb2 GRPC_GENERATED_VERSION = '1.75.0' GRPC_VERSION = grpc.__version__ @@ -77,23 +76,23 @@ def __init__(self, channel): _registered_method=True) self.take_control = channel.unary_unary( '/dunedaq.druncschema.controller.Controller/take_control', - request_serializer=druncschema_dot_request__response__pb2.Request.SerializeToString, - response_deserializer=druncschema_dot_request__response__pb2.Response.FromString, + request_serializer=druncschema_dot_controller__pb2.TakeControlRequest.SerializeToString, + response_deserializer=druncschema_dot_controller__pb2.TakeControlResponse.FromString, _registered_method=True) self.surrender_control = channel.unary_unary( '/dunedaq.druncschema.controller.Controller/surrender_control', - request_serializer=druncschema_dot_request__response__pb2.Request.SerializeToString, - response_deserializer=druncschema_dot_request__response__pb2.Response.FromString, + request_serializer=druncschema_dot_controller__pb2.SurrenderControlRequest.SerializeToString, + response_deserializer=druncschema_dot_controller__pb2.SurrenderControlResponse.FromString, _registered_method=True) self.who_is_in_charge = channel.unary_unary( '/dunedaq.druncschema.controller.Controller/who_is_in_charge', - request_serializer=druncschema_dot_request__response__pb2.Request.SerializeToString, - response_deserializer=druncschema_dot_request__response__pb2.Response.FromString, + request_serializer=druncschema_dot_controller__pb2.WhoIsInChargeRequest.SerializeToString, + response_deserializer=druncschema_dot_controller__pb2.WhoIsInChargeResponse.FromString, _registered_method=True) self.to_error = channel.unary_unary( '/dunedaq.druncschema.controller.Controller/to_error', - request_serializer=druncschema_dot_request__response__pb2.Request.SerializeToString, - response_deserializer=druncschema_dot_request__response__pb2.Response.FromString, + request_serializer=druncschema_dot_controller__pb2.ToErrorRequest.SerializeToString, + response_deserializer=druncschema_dot_controller__pb2.ToErrorResponse.FromString, _registered_method=True) @@ -217,23 +216,23 @@ def add_ControllerServicer_to_server(servicer, server): ), 'take_control': grpc.unary_unary_rpc_method_handler( servicer.take_control, - request_deserializer=druncschema_dot_request__response__pb2.Request.FromString, - response_serializer=druncschema_dot_request__response__pb2.Response.SerializeToString, + request_deserializer=druncschema_dot_controller__pb2.TakeControlRequest.FromString, + response_serializer=druncschema_dot_controller__pb2.TakeControlResponse.SerializeToString, ), 'surrender_control': grpc.unary_unary_rpc_method_handler( servicer.surrender_control, - request_deserializer=druncschema_dot_request__response__pb2.Request.FromString, - response_serializer=druncschema_dot_request__response__pb2.Response.SerializeToString, + request_deserializer=druncschema_dot_controller__pb2.SurrenderControlRequest.FromString, + response_serializer=druncschema_dot_controller__pb2.SurrenderControlResponse.SerializeToString, ), 'who_is_in_charge': grpc.unary_unary_rpc_method_handler( servicer.who_is_in_charge, - request_deserializer=druncschema_dot_request__response__pb2.Request.FromString, - response_serializer=druncschema_dot_request__response__pb2.Response.SerializeToString, + request_deserializer=druncschema_dot_controller__pb2.WhoIsInChargeRequest.FromString, + response_serializer=druncschema_dot_controller__pb2.WhoIsInChargeResponse.SerializeToString, ), 'to_error': grpc.unary_unary_rpc_method_handler( servicer.to_error, - request_deserializer=druncschema_dot_request__response__pb2.Request.FromString, - response_serializer=druncschema_dot_request__response__pb2.Response.SerializeToString, + request_deserializer=druncschema_dot_controller__pb2.ToErrorRequest.FromString, + response_serializer=druncschema_dot_controller__pb2.ToErrorResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( @@ -477,8 +476,8 @@ def take_control(request, request, target, '/dunedaq.druncschema.controller.Controller/take_control', - druncschema_dot_request__response__pb2.Request.SerializeToString, - druncschema_dot_request__response__pb2.Response.FromString, + druncschema_dot_controller__pb2.TakeControlRequest.SerializeToString, + druncschema_dot_controller__pb2.TakeControlResponse.FromString, options, channel_credentials, insecure, @@ -504,8 +503,8 @@ def surrender_control(request, request, target, '/dunedaq.druncschema.controller.Controller/surrender_control', - druncschema_dot_request__response__pb2.Request.SerializeToString, - druncschema_dot_request__response__pb2.Response.FromString, + druncschema_dot_controller__pb2.SurrenderControlRequest.SerializeToString, + druncschema_dot_controller__pb2.SurrenderControlResponse.FromString, options, channel_credentials, insecure, @@ -531,8 +530,8 @@ def who_is_in_charge(request, request, target, '/dunedaq.druncschema.controller.Controller/who_is_in_charge', - druncschema_dot_request__response__pb2.Request.SerializeToString, - druncschema_dot_request__response__pb2.Response.FromString, + druncschema_dot_controller__pb2.WhoIsInChargeRequest.SerializeToString, + druncschema_dot_controller__pb2.WhoIsInChargeResponse.FromString, options, channel_credentials, insecure, @@ -558,8 +557,8 @@ def to_error(request, request, target, '/dunedaq.druncschema.controller.Controller/to_error', - druncschema_dot_request__response__pb2.Request.SerializeToString, - druncschema_dot_request__response__pb2.Response.FromString, + druncschema_dot_controller__pb2.ToErrorRequest.SerializeToString, + druncschema_dot_controller__pb2.ToErrorResponse.FromString, options, channel_credentials, insecure, diff --git a/src/druncschema/description_pb2.pyi b/src/druncschema/description_pb2.pyi index 87dbaf9..8485592 100644 --- a/src/druncschema/description_pb2.pyi +++ b/src/druncschema/description_pb2.pyi @@ -3,88 +3,103 @@ isort:skip_file """ -import builtins -import collections.abc -import druncschema.request_response_pb2 -import druncschema.token_pb2 -import google.protobuf.any_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message -import typing +from collections import abc as _abc +from druncschema import request_response_pb2 as _request_response_pb2 +from druncschema import token_pb2 as _token_pb2 +from google.protobuf import any_pb2 as _any_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import containers as _containers +import builtins as _builtins +import sys +import typing as _typing -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias +else: + from typing_extensions import TypeAlias as _TypeAlias -@typing.final -class CommandDescription(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +DESCRIPTOR: _descriptor.FileDescriptor - NAME_FIELD_NUMBER: builtins.int - DATA_TYPE_FIELD_NUMBER: builtins.int - HELP_FIELD_NUMBER: builtins.int - RETURN_TYPE_FIELD_NUMBER: builtins.int - name: builtins.str - help: builtins.str - return_type: builtins.str - @property - def data_type(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... +@_typing.final +class CommandDescription(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + NAME_FIELD_NUMBER: _builtins.int + DATA_TYPE_FIELD_NUMBER: _builtins.int + HELP_FIELD_NUMBER: _builtins.int + RETURN_TYPE_FIELD_NUMBER: _builtins.int + name: _builtins.str + help: _builtins.str + return_type: _builtins.str + @_builtins.property + def data_type(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... def __init__( self, *, - name: builtins.str = ..., - data_type: collections.abc.Iterable[builtins.str] | None = ..., - help: builtins.str = ..., - return_type: builtins.str = ..., + name: _builtins.str = ..., + data_type: _abc.Iterable[_builtins.str] | None = ..., + help: _builtins.str = ..., + return_type: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["data_type", b"data_type", "help", b"help", "name", b"name", "return_type", b"return_type"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["data_type", b"data_type", "help", b"help", "name", b"name", "return_type", b"return_type"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___CommandDescription = CommandDescription +Global___CommandDescription: _TypeAlias = CommandDescription # noqa: Y015 -@typing.final -class Description(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class Description(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - TOKEN_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - NAME_FIELD_NUMBER: builtins.int - ENDPOINT_FIELD_NUMBER: builtins.int - INFO_FIELD_NUMBER: builtins.int - SESSION_FIELD_NUMBER: builtins.int - COMMANDS_FIELD_NUMBER: builtins.int - BROADCAST_FIELD_NUMBER: builtins.int - FLAG_FIELD_NUMBER: builtins.int - type: builtins.str - name: builtins.str - endpoint: builtins.str - info: builtins.str - session: builtins.str - flag: druncschema.request_response_pb2.ResponseFlag.ValueType - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def commands(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CommandDescription]: ... - @property - def broadcast(self) -> google.protobuf.any_pb2.Any: ... + TOKEN_FIELD_NUMBER: _builtins.int + TYPE_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + ENDPOINT_FIELD_NUMBER: _builtins.int + INFO_FIELD_NUMBER: _builtins.int + SESSION_FIELD_NUMBER: _builtins.int + COMMANDS_FIELD_NUMBER: _builtins.int + BROADCAST_FIELD_NUMBER: _builtins.int + FLAG_FIELD_NUMBER: _builtins.int + type: _builtins.str + name: _builtins.str + endpoint: _builtins.str + info: _builtins.str + session: _builtins.str + flag: _request_response_pb2.ResponseFlag.ValueType + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def commands(self) -> _containers.RepeatedCompositeFieldContainer[Global___CommandDescription]: ... + @_builtins.property + def broadcast(self) -> _any_pb2.Any: ... def __init__( self, *, - token: druncschema.token_pb2.Token | None = ..., - type: builtins.str = ..., - name: builtins.str = ..., - endpoint: builtins.str = ..., - info: builtins.str | None = ..., - session: builtins.str | None = ..., - commands: collections.abc.Iterable[global___CommandDescription] | None = ..., - broadcast: google.protobuf.any_pb2.Any | None = ..., - flag: druncschema.request_response_pb2.ResponseFlag.ValueType = ..., + token: _token_pb2.Token | None = ..., + type: _builtins.str = ..., + name: _builtins.str = ..., + endpoint: _builtins.str = ..., + info: _builtins.str | None = ..., + session: _builtins.str | None = ..., + commands: _abc.Iterable[Global___CommandDescription] | None = ..., + broadcast: _any_pb2.Any | None = ..., + flag: _request_response_pb2.ResponseFlag.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["_broadcast", b"_broadcast", "_info", b"_info", "_session", b"_session", "broadcast", b"broadcast", "info", b"info", "session", b"session", "token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["_broadcast", b"_broadcast", "_info", b"_info", "_session", b"_session", "broadcast", b"broadcast", "commands", b"commands", "endpoint", b"endpoint", "flag", b"flag", "info", b"info", "name", b"name", "session", b"session", "token", b"token", "type", b"type"]) -> None: ... - @typing.overload - def WhichOneof(self, oneof_group: typing.Literal["_broadcast", b"_broadcast"]) -> typing.Literal["broadcast"] | None: ... - @typing.overload - def WhichOneof(self, oneof_group: typing.Literal["_info", b"_info"]) -> typing.Literal["info"] | None: ... - @typing.overload - def WhichOneof(self, oneof_group: typing.Literal["_session", b"_session"]) -> typing.Literal["session"] | None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["_broadcast", b"_broadcast", "_info", b"_info", "_session", b"_session", "broadcast", b"broadcast", "info", b"info", "session", b"session", "token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["_broadcast", b"_broadcast", "_info", b"_info", "_session", b"_session", "broadcast", b"broadcast", "commands", b"commands", "endpoint", b"endpoint", "flag", b"flag", "info", b"info", "name", b"name", "session", b"session", "token", b"token", "type", b"type"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType__broadcast: _TypeAlias = _typing.Literal["broadcast"] # noqa: Y015 + _WhichOneofArgType__broadcast: _TypeAlias = _typing.Literal["_broadcast", b"_broadcast"] # noqa: Y015 + _WhichOneofReturnType__info: _TypeAlias = _typing.Literal["info"] # noqa: Y015 + _WhichOneofArgType__info: _TypeAlias = _typing.Literal["_info", b"_info"] # noqa: Y015 + _WhichOneofReturnType__session: _TypeAlias = _typing.Literal["session"] # noqa: Y015 + _WhichOneofArgType__session: _TypeAlias = _typing.Literal["_session", b"_session"] # noqa: Y015 + @_typing.overload + def WhichOneof(self, oneof_group: _WhichOneofArgType__broadcast) -> _WhichOneofReturnType__broadcast | None: ... + @_typing.overload + def WhichOneof(self, oneof_group: _WhichOneofArgType__info) -> _WhichOneofReturnType__info | None: ... + @_typing.overload + def WhichOneof(self, oneof_group: _WhichOneofArgType__session) -> _WhichOneofReturnType__session | None: ... -global___Description = Description +Global___Description: _TypeAlias = Description # noqa: Y015 diff --git a/src/druncschema/generic_pb2.pyi b/src/druncschema/generic_pb2.pyi index 69f7440..05ba34b 100644 --- a/src/druncschema/generic_pb2.pyi +++ b/src/druncschema/generic_pb2.pyi @@ -3,160 +3,175 @@ isort:skip_file """ -import builtins -import collections.abc -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message -import typing +from collections import abc as _abc +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import containers as _containers +import builtins as _builtins +import sys +import typing as _typing -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias +else: + from typing_extensions import TypeAlias as _TypeAlias -@typing.final -class Empty(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +DESCRIPTOR: _descriptor.FileDescriptor + +@_typing.final +class Empty(_message.Message): + DESCRIPTOR: _descriptor.Descriptor def __init__( self, ) -> None: ... -global___Empty = Empty +Global___Empty: _TypeAlias = Empty # noqa: Y015 -@typing.final -class PlainText(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class PlainText(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - TEXT_FIELD_NUMBER: builtins.int - text: builtins.str + TEXT_FIELD_NUMBER: _builtins.int + text: _builtins.str def __init__( self, *, - text: builtins.str = ..., + text: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["text", b"text"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["text", b"text"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___PlainText = PlainText +Global___PlainText: _TypeAlias = PlainText # noqa: Y015 -@typing.final -class PlainTextVector(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class PlainTextVector(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - TEXT_FIELD_NUMBER: builtins.int - @property - def text(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... + TEXT_FIELD_NUMBER: _builtins.int + @_builtins.property + def text(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... def __init__( self, *, - text: collections.abc.Iterable[builtins.str] | None = ..., + text: _abc.Iterable[_builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["text", b"text"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["text", b"text"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___PlainTextVector = PlainTextVector +Global___PlainTextVector: _TypeAlias = PlainTextVector # noqa: Y015 -@typing.final -class Stacktrace(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class Stacktrace(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - TEXT_FIELD_NUMBER: builtins.int - @property - def text(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... + TEXT_FIELD_NUMBER: _builtins.int + @_builtins.property + def text(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... def __init__( self, *, - text: collections.abc.Iterable[builtins.str] | None = ..., + text: _abc.Iterable[_builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["text", b"text"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["text", b"text"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___Stacktrace = Stacktrace +Global___Stacktrace: _TypeAlias = Stacktrace # noqa: Y015 -@typing.final -class StringStringMap(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class StringStringMap(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - @typing.final - class MapEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class MapEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - MAP_FIELD_NUMBER: builtins.int - @property - def map(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + MAP_FIELD_NUMBER: _builtins.int + @_builtins.property + def map(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... def __init__( self, *, - map: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., + map: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["map", b"map"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["map", b"map"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___StringStringMap = StringStringMap +Global___StringStringMap: _TypeAlias = StringStringMap # noqa: Y015 -@typing.final -class int_msg(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class int_msg(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VALUE_FIELD_NUMBER: builtins.int - value: builtins.int + VALUE_FIELD_NUMBER: _builtins.int + value: _builtins.int def __init__( self, *, - value: builtins.int = ..., + value: _builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___int_msg = int_msg +Global___int_msg: _TypeAlias = int_msg # noqa: Y015 -@typing.final -class float_msg(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class float_msg(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VALUE_FIELD_NUMBER: builtins.int - value: builtins.float + VALUE_FIELD_NUMBER: _builtins.int + value: _builtins.float def __init__( self, *, - value: builtins.float = ..., + value: _builtins.float = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___float_msg = float_msg +Global___float_msg: _TypeAlias = float_msg # noqa: Y015 -@typing.final -class string_msg(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class string_msg(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VALUE_FIELD_NUMBER: builtins.int - value: builtins.str + VALUE_FIELD_NUMBER: _builtins.int + value: _builtins.str def __init__( self, *, - value: builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___string_msg = string_msg +Global___string_msg: _TypeAlias = string_msg # noqa: Y015 -@typing.final -class bool_msg(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class bool_msg(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VALUE_FIELD_NUMBER: builtins.int - value: builtins.bool + VALUE_FIELD_NUMBER: _builtins.int + value: _builtins.bool def __init__( self, *, - value: builtins.bool = ..., + value: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["value", b"value"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___bool_msg = bool_msg +Global___bool_msg: _TypeAlias = bool_msg # noqa: Y015 diff --git a/src/druncschema/opmon/FSM_pb2.pyi b/src/druncschema/opmon/FSM_pb2.pyi index 6fc7704..330a173 100644 --- a/src/druncschema/opmon/FSM_pb2.pyi +++ b/src/druncschema/opmon/FSM_pb2.pyi @@ -3,48 +3,56 @@ isort:skip_file """ -import builtins -import google.protobuf.descriptor -import google.protobuf.message -import typing - -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor - -@typing.final -class FSMStatus(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - STATE_FIELD_NUMBER: builtins.int - SUB_STATE_FIELD_NUMBER: builtins.int - IN_ERROR_FIELD_NUMBER: builtins.int - INCLUDED_FIELD_NUMBER: builtins.int - state: builtins.str - sub_state: builtins.str - in_error: builtins.bool - included: builtins.bool +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +import builtins as _builtins +import sys +import typing as _typing + +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias +else: + from typing_extensions import TypeAlias as _TypeAlias + +DESCRIPTOR: _descriptor.FileDescriptor + +@_typing.final +class FSMStatus(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + STATE_FIELD_NUMBER: _builtins.int + SUB_STATE_FIELD_NUMBER: _builtins.int + IN_ERROR_FIELD_NUMBER: _builtins.int + INCLUDED_FIELD_NUMBER: _builtins.int + state: _builtins.str + sub_state: _builtins.str + in_error: _builtins.bool + included: _builtins.bool def __init__( self, *, - state: builtins.str = ..., - sub_state: builtins.str = ..., - in_error: builtins.bool = ..., - included: builtins.bool = ..., + state: _builtins.str = ..., + sub_state: _builtins.str = ..., + in_error: _builtins.bool = ..., + included: _builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["in_error", b"in_error", "included", b"included", "state", b"state", "sub_state", b"sub_state"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["in_error", b"in_error", "included", b"included", "state", b"state", "sub_state", b"sub_state"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___FSMStatus = FSMStatus +Global___FSMStatus: _TypeAlias = FSMStatus # noqa: Y015 -@typing.final -class CommandTime(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class CommandTime(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - EXECUTION_TIME_NS_FIELD_NUMBER: builtins.int - execution_time_ns: builtins.int + EXECUTION_TIME_NS_FIELD_NUMBER: _builtins.int + execution_time_ns: _builtins.int def __init__( self, *, - execution_time_ns: builtins.int = ..., + execution_time_ns: _builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["execution_time_ns", b"execution_time_ns"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["execution_time_ns", b"execution_time_ns"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___CommandTime = CommandTime +Global___CommandTime: _TypeAlias = CommandTime # noqa: Y015 diff --git a/src/druncschema/opmon/FSM_pb2_grpc.py b/src/druncschema/opmon/FSM_pb2_grpc.py index b53a75e..4915a15 100644 --- a/src/druncschema/opmon/FSM_pb2_grpc.py +++ b/src/druncschema/opmon/FSM_pb2_grpc.py @@ -4,7 +4,7 @@ import warnings -GRPC_GENERATED_VERSION = '1.68.0' +GRPC_GENERATED_VERSION = '1.75.0' GRPC_VERSION = grpc.__version__ _version_not_supported = False diff --git a/src/druncschema/opmon/generic_pb2.pyi b/src/druncschema/opmon/generic_pb2.pyi index 311c93c..68bfdfb 100644 --- a/src/druncschema/opmon/generic_pb2.pyi +++ b/src/druncschema/opmon/generic_pb2.pyi @@ -3,45 +3,52 @@ isort:skip_file """ -import builtins -import google.protobuf.descriptor -import google.protobuf.message -import typing +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +import builtins as _builtins +import sys +import typing as _typing -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias +else: + from typing_extensions import TypeAlias as _TypeAlias -@typing.final -class RunInfo(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +DESCRIPTOR: _descriptor.FileDescriptor - RUN_TYPE_FIELD_NUMBER: builtins.int - TRIGGER_RATE_FIELD_NUMBER: builtins.int - RUN_NUMBER_FIELD_NUMBER: builtins.int - DISABLE_DATA_STORAGE_FIELD_NUMBER: builtins.int - RUN_TIME_AT_START_FIELD_NUMBER: builtins.int - RUN_TIME_SINCE_START_FIELD_NUMBER: builtins.int - RUN_CONFIG_FILE_FIELD_NUMBER: builtins.int - RUN_CONFIG_NAME_FIELD_NUMBER: builtins.int - run_type: builtins.str - trigger_rate: builtins.float - run_number: builtins.int - disable_data_storage: builtins.bool - run_time_at_start: builtins.int - run_time_since_start: builtins.int - run_config_file: builtins.str - run_config_name: builtins.str +@_typing.final +class RunInfo(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + RUN_TYPE_FIELD_NUMBER: _builtins.int + TRIGGER_RATE_FIELD_NUMBER: _builtins.int + RUN_NUMBER_FIELD_NUMBER: _builtins.int + DISABLE_DATA_STORAGE_FIELD_NUMBER: _builtins.int + RUN_TIME_AT_START_FIELD_NUMBER: _builtins.int + RUN_TIME_SINCE_START_FIELD_NUMBER: _builtins.int + RUN_CONFIG_FILE_FIELD_NUMBER: _builtins.int + RUN_CONFIG_NAME_FIELD_NUMBER: _builtins.int + run_type: _builtins.str + trigger_rate: _builtins.float + run_number: _builtins.int + disable_data_storage: _builtins.bool + run_time_at_start: _builtins.int + run_time_since_start: _builtins.int + run_config_file: _builtins.str + run_config_name: _builtins.str def __init__( self, *, - run_type: builtins.str = ..., - trigger_rate: builtins.float = ..., - run_number: builtins.int = ..., - disable_data_storage: builtins.bool = ..., - run_time_at_start: builtins.int = ..., - run_time_since_start: builtins.int = ..., - run_config_file: builtins.str = ..., - run_config_name: builtins.str = ..., + run_type: _builtins.str = ..., + trigger_rate: _builtins.float = ..., + run_number: _builtins.int = ..., + disable_data_storage: _builtins.bool = ..., + run_time_at_start: _builtins.int = ..., + run_time_since_start: _builtins.int = ..., + run_config_file: _builtins.str = ..., + run_config_name: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["disable_data_storage", b"disable_data_storage", "run_config_file", b"run_config_file", "run_config_name", b"run_config_name", "run_number", b"run_number", "run_time_at_start", b"run_time_at_start", "run_time_since_start", b"run_time_since_start", "run_type", b"run_type", "trigger_rate", b"trigger_rate"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["disable_data_storage", b"disable_data_storage", "run_config_file", b"run_config_file", "run_config_name", b"run_config_name", "run_number", b"run_number", "run_time_at_start", b"run_time_at_start", "run_time_since_start", b"run_time_since_start", "run_type", b"run_type", "trigger_rate", b"trigger_rate"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___RunInfo = RunInfo +Global___RunInfo: _TypeAlias = RunInfo # noqa: Y015 diff --git a/src/druncschema/opmon/generic_pb2_grpc.py b/src/druncschema/opmon/generic_pb2_grpc.py index 94aae48..6f9f997 100644 --- a/src/druncschema/opmon/generic_pb2_grpc.py +++ b/src/druncschema/opmon/generic_pb2_grpc.py @@ -4,7 +4,7 @@ import warnings -GRPC_GENERATED_VERSION = '1.68.0' +GRPC_GENERATED_VERSION = '1.75.0' GRPC_VERSION = grpc.__version__ _version_not_supported = False diff --git a/src/druncschema/opmon/process_manager_pb2.pyi b/src/druncschema/opmon/process_manager_pb2.pyi index cdd6e9d..71566a8 100644 --- a/src/druncschema/opmon/process_manager_pb2.pyi +++ b/src/druncschema/opmon/process_manager_pb2.pyi @@ -3,30 +3,37 @@ isort:skip_file """ -import builtins -import google.protobuf.descriptor -import google.protobuf.message -import typing +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +import builtins as _builtins +import sys +import typing as _typing -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias +else: + from typing_extensions import TypeAlias as _TypeAlias -@typing.final -class ProcessStatus(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +DESCRIPTOR: _descriptor.FileDescriptor - N_RUNNING_FIELD_NUMBER: builtins.int - N_DEAD_FIELD_NUMBER: builtins.int - N_SESSION_FIELD_NUMBER: builtins.int - n_running: builtins.int - n_dead: builtins.int - n_session: builtins.int +@_typing.final +class ProcessStatus(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + N_RUNNING_FIELD_NUMBER: _builtins.int + N_DEAD_FIELD_NUMBER: _builtins.int + N_SESSION_FIELD_NUMBER: _builtins.int + n_running: _builtins.int + n_dead: _builtins.int + n_session: _builtins.int def __init__( self, *, - n_running: builtins.int = ..., - n_dead: builtins.int = ..., - n_session: builtins.int = ..., + n_running: _builtins.int = ..., + n_dead: _builtins.int = ..., + n_session: _builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["n_dead", b"n_dead", "n_running", b"n_running", "n_session", b"n_session"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["n_dead", b"n_dead", "n_running", b"n_running", "n_session", b"n_session"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ProcessStatus = ProcessStatus +Global___ProcessStatus: _TypeAlias = ProcessStatus # noqa: Y015 diff --git a/src/druncschema/opmon/process_manager_pb2_grpc.py b/src/druncschema/opmon/process_manager_pb2_grpc.py index eec5f36..9e93027 100644 --- a/src/druncschema/opmon/process_manager_pb2_grpc.py +++ b/src/druncschema/opmon/process_manager_pb2_grpc.py @@ -4,7 +4,7 @@ import warnings -GRPC_GENERATED_VERSION = '1.68.0' +GRPC_GENERATED_VERSION = '1.75.0' GRPC_VERSION = grpc.__version__ _version_not_supported = False diff --git a/src/druncschema/process_manager_pb2.pyi b/src/druncschema/process_manager_pb2.pyi index dea113d..297d546 100644 --- a/src/druncschema/process_manager_pb2.pyi +++ b/src/druncschema/process_manager_pb2.pyi @@ -3,346 +3,372 @@ isort:skip_file """ -import builtins -import collections.abc -import druncschema.request_response_pb2 -import druncschema.token_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.internal.enum_type_wrapper -import google.protobuf.message +from collections import abc as _abc +from druncschema import request_response_pb2 as _request_response_pb2 +from druncschema import token_pb2 as _token_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import containers as _containers +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +import builtins as _builtins import sys -import typing +import typing as _typing if sys.version_info >= (3, 10): - import typing as typing_extensions + from typing import TypeAlias as _TypeAlias else: - import typing_extensions - -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor - -@typing.final -class ProcessRestriction(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - ALLOWED_HOSTS_FIELD_NUMBER: builtins.int - ALLOWED_HOST_TYPES_FIELD_NUMBER: builtins.int - DATA_MOUNT_FIELD_NUMBER: builtins.int - data_mount: builtins.str - @property - def allowed_hosts(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def allowed_host_types(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... + from typing_extensions import TypeAlias as _TypeAlias + +DESCRIPTOR: _descriptor.FileDescriptor + +@_typing.final +class ProcessRestriction(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + ALLOWED_HOSTS_FIELD_NUMBER: _builtins.int + ALLOWED_HOST_TYPES_FIELD_NUMBER: _builtins.int + DATA_MOUNT_FIELD_NUMBER: _builtins.int + data_mount: _builtins.str + @_builtins.property + def allowed_hosts(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... + @_builtins.property + def allowed_host_types(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... def __init__( self, *, - allowed_hosts: collections.abc.Iterable[builtins.str] | None = ..., - allowed_host_types: collections.abc.Iterable[builtins.str] | None = ..., - data_mount: builtins.str | None = ..., + allowed_hosts: _abc.Iterable[_builtins.str] | None = ..., + allowed_host_types: _abc.Iterable[_builtins.str] | None = ..., + data_mount: _builtins.str | None = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["_data_mount", b"_data_mount", "data_mount", b"data_mount"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["_data_mount", b"_data_mount", "allowed_host_types", b"allowed_host_types", "allowed_hosts", b"allowed_hosts", "data_mount", b"data_mount"]) -> None: ... - def WhichOneof(self, oneof_group: typing.Literal["_data_mount", b"_data_mount"]) -> typing.Literal["data_mount"] | None: ... - -global___ProcessRestriction = ProcessRestriction - -@typing.final -class CommandNotificationMessage(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - USER_FIELD_NUMBER: builtins.int - COMMAND_FIELD_NUMBER: builtins.int - user: builtins.str - command: builtins.str + _HasFieldArgType: _TypeAlias = _typing.Literal["_data_mount", b"_data_mount", "data_mount", b"data_mount"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["_data_mount", b"_data_mount", "allowed_host_types", b"allowed_host_types", "allowed_hosts", b"allowed_hosts", "data_mount", b"data_mount"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType__data_mount: _TypeAlias = _typing.Literal["data_mount"] # noqa: Y015 + _WhichOneofArgType__data_mount: _TypeAlias = _typing.Literal["_data_mount", b"_data_mount"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType__data_mount) -> _WhichOneofReturnType__data_mount | None: ... + +Global___ProcessRestriction: _TypeAlias = ProcessRestriction # noqa: Y015 + +@_typing.final +class CommandNotificationMessage(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + USER_FIELD_NUMBER: _builtins.int + COMMAND_FIELD_NUMBER: _builtins.int + user: _builtins.str + command: _builtins.str def __init__( self, *, - user: builtins.str = ..., - command: builtins.str = ..., + user: _builtins.str = ..., + command: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["command", b"command", "user", b"user"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["command", b"command", "user", b"user"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___CommandNotificationMessage = CommandNotificationMessage +Global___CommandNotificationMessage: _TypeAlias = CommandNotificationMessage # noqa: Y015 -@typing.final -class GenericNotificationMessage(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class GenericNotificationMessage(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - MESSAGE_FIELD_NUMBER: builtins.int - message: builtins.str + MESSAGE_FIELD_NUMBER: _builtins.int + message: _builtins.str def __init__( self, *, - message: builtins.str = ..., + message: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["message", b"message"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["message", b"message"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___GenericNotificationMessage = GenericNotificationMessage +Global___GenericNotificationMessage: _TypeAlias = GenericNotificationMessage # noqa: Y015 -@typing.final -class ExceptionNotification(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ExceptionNotification(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - @typing.final - class StackLine(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class StackLine(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - LINE_TEXT_FIELD_NUMBER: builtins.int - LINE_NUMBER_FIELD_NUMBER: builtins.int - FILE_FIELD_NUMBER: builtins.int - line_text: builtins.str - line_number: builtins.str - file: builtins.str + LINE_TEXT_FIELD_NUMBER: _builtins.int + LINE_NUMBER_FIELD_NUMBER: _builtins.int + FILE_FIELD_NUMBER: _builtins.int + line_text: _builtins.str + line_number: _builtins.str + file: _builtins.str def __init__( self, *, - line_text: builtins.str = ..., - line_number: builtins.str = ..., - file: builtins.str = ..., + line_text: _builtins.str = ..., + line_number: _builtins.str = ..., + file: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["file", b"file", "line_number", b"line_number", "line_text", b"line_text"]) -> None: ... - - ERROR_TEXT_FIELD_NUMBER: builtins.int - STACK_TRACE_FIELD_NUMBER: builtins.int - error_text: builtins.str - @property - def stack_trace(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ExceptionNotification.StackLine]: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["file", b"file", "line_number", b"line_number", "line_text", b"line_text"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + ERROR_TEXT_FIELD_NUMBER: _builtins.int + STACK_TRACE_FIELD_NUMBER: _builtins.int + error_text: _builtins.str + @_builtins.property + def stack_trace(self) -> _containers.RepeatedCompositeFieldContainer[Global___ExceptionNotification.StackLine]: ... def __init__( self, *, - error_text: builtins.str = ..., - stack_trace: collections.abc.Iterable[global___ExceptionNotification.StackLine] | None = ..., + error_text: _builtins.str = ..., + stack_trace: _abc.Iterable[Global___ExceptionNotification.StackLine] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["error_text", b"error_text", "stack_trace", b"stack_trace"]) -> None: ... - -global___ExceptionNotification = ExceptionNotification - -@typing.final -class LogRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - QUERY_FIELD_NUMBER: builtins.int - HOW_FAR_FIELD_NUMBER: builtins.int - how_far: builtins.int - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def query(self) -> global___ProcessQuery: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["error_text", b"error_text", "stack_trace", b"stack_trace"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___ExceptionNotification: _TypeAlias = ExceptionNotification # noqa: Y015 + +@_typing.final +class LogRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + QUERY_FIELD_NUMBER: _builtins.int + HOW_FAR_FIELD_NUMBER: _builtins.int + how_far: _builtins.int + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def query(self) -> Global___ProcessQuery: ... def __init__( self, *, - token: druncschema.token_pb2.Token | None = ..., - query: global___ProcessQuery | None = ..., - how_far: builtins.int = ..., + token: _token_pb2.Token | None = ..., + query: Global___ProcessQuery | None = ..., + how_far: _builtins.int = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["query", b"query", "token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["how_far", b"how_far", "query", b"query", "token", b"token"]) -> None: ... - -global___LogRequest = LogRequest - -@typing.final -class LogLines(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - NAME_FIELD_NUMBER: builtins.int - TOKEN_FIELD_NUMBER: builtins.int - UUID_FIELD_NUMBER: builtins.int - LINES_FIELD_NUMBER: builtins.int - FLAG_FIELD_NUMBER: builtins.int - name: builtins.str - flag: druncschema.request_response_pb2.ResponseFlag.ValueType - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def uuid(self) -> global___ProcessUUID: ... - @property - def lines(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["query", b"query", "token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["how_far", b"how_far", "query", b"query", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___LogRequest: _TypeAlias = LogRequest # noqa: Y015 + +@_typing.final +class LogLines(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + NAME_FIELD_NUMBER: _builtins.int + TOKEN_FIELD_NUMBER: _builtins.int + UUID_FIELD_NUMBER: _builtins.int + LINES_FIELD_NUMBER: _builtins.int + FLAG_FIELD_NUMBER: _builtins.int + name: _builtins.str + flag: _request_response_pb2.ResponseFlag.ValueType + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def uuid(self) -> Global___ProcessUUID: ... + @_builtins.property + def lines(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... def __init__( self, *, - name: builtins.str = ..., - token: druncschema.token_pb2.Token | None = ..., - uuid: global___ProcessUUID | None = ..., - lines: collections.abc.Iterable[builtins.str] | None = ..., - flag: druncschema.request_response_pb2.ResponseFlag.ValueType = ..., + name: _builtins.str = ..., + token: _token_pb2.Token | None = ..., + uuid: Global___ProcessUUID | None = ..., + lines: _abc.Iterable[_builtins.str] | None = ..., + flag: _request_response_pb2.ResponseFlag.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["token", b"token", "uuid", b"uuid"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["flag", b"flag", "lines", b"lines", "name", b"name", "token", b"token", "uuid", b"uuid"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token", "uuid", b"uuid"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["flag", b"flag", "lines", b"lines", "name", b"name", "token", b"token", "uuid", b"uuid"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___LogLines = LogLines +Global___LogLines: _TypeAlias = LogLines # noqa: Y015 -@typing.final -class ProcessUUID(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ProcessUUID(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - UUID_FIELD_NUMBER: builtins.int - uuid: builtins.str + UUID_FIELD_NUMBER: _builtins.int + uuid: _builtins.str def __init__( self, *, - uuid: builtins.str = ..., + uuid: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["uuid", b"uuid"]) -> None: ... - -global___ProcessUUID = ProcessUUID - -@typing.final -class ProcessMetadata(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - UUID_FIELD_NUMBER: builtins.int - USER_FIELD_NUMBER: builtins.int - SESSION_FIELD_NUMBER: builtins.int - NAME_FIELD_NUMBER: builtins.int - HOSTNAME_FIELD_NUMBER: builtins.int - TREE_ID_FIELD_NUMBER: builtins.int - user: builtins.str - session: builtins.str - name: builtins.str - hostname: builtins.str - tree_id: builtins.str - @property - def uuid(self) -> global___ProcessUUID: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["uuid", b"uuid"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___ProcessUUID: _TypeAlias = ProcessUUID # noqa: Y015 + +@_typing.final +class ProcessMetadata(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + UUID_FIELD_NUMBER: _builtins.int + USER_FIELD_NUMBER: _builtins.int + SESSION_FIELD_NUMBER: _builtins.int + NAME_FIELD_NUMBER: _builtins.int + HOSTNAME_FIELD_NUMBER: _builtins.int + TREE_ID_FIELD_NUMBER: _builtins.int + user: _builtins.str + session: _builtins.str + name: _builtins.str + hostname: _builtins.str + tree_id: _builtins.str + @_builtins.property + def uuid(self) -> Global___ProcessUUID: ... def __init__( self, *, - uuid: global___ProcessUUID | None = ..., - user: builtins.str = ..., - session: builtins.str | None = ..., - name: builtins.str = ..., - hostname: builtins.str = ..., - tree_id: builtins.str | None = ..., + uuid: Global___ProcessUUID | None = ..., + user: _builtins.str = ..., + session: _builtins.str | None = ..., + name: _builtins.str = ..., + hostname: _builtins.str = ..., + tree_id: _builtins.str | None = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["_session", b"_session", "_tree_id", b"_tree_id", "session", b"session", "tree_id", b"tree_id", "uuid", b"uuid"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["_session", b"_session", "_tree_id", b"_tree_id", "hostname", b"hostname", "name", b"name", "session", b"session", "tree_id", b"tree_id", "user", b"user", "uuid", b"uuid"]) -> None: ... - @typing.overload - def WhichOneof(self, oneof_group: typing.Literal["_session", b"_session"]) -> typing.Literal["session"] | None: ... - @typing.overload - def WhichOneof(self, oneof_group: typing.Literal["_tree_id", b"_tree_id"]) -> typing.Literal["tree_id"] | None: ... - -global___ProcessMetadata = ProcessMetadata - -@typing.final -class ProcessQuery(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - UUIDS_FIELD_NUMBER: builtins.int - NAMES_FIELD_NUMBER: builtins.int - USER_FIELD_NUMBER: builtins.int - SESSION_FIELD_NUMBER: builtins.int - user: builtins.str - session: builtins.str - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def uuids(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ProcessUUID]: ... - @property - def names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["_session", b"_session", "_tree_id", b"_tree_id", "session", b"session", "tree_id", b"tree_id", "uuid", b"uuid"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["_session", b"_session", "_tree_id", b"_tree_id", "hostname", b"hostname", "name", b"name", "session", b"session", "tree_id", b"tree_id", "user", b"user", "uuid", b"uuid"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType__session: _TypeAlias = _typing.Literal["session"] # noqa: Y015 + _WhichOneofArgType__session: _TypeAlias = _typing.Literal["_session", b"_session"] # noqa: Y015 + _WhichOneofReturnType__tree_id: _TypeAlias = _typing.Literal["tree_id"] # noqa: Y015 + _WhichOneofArgType__tree_id: _TypeAlias = _typing.Literal["_tree_id", b"_tree_id"] # noqa: Y015 + @_typing.overload + def WhichOneof(self, oneof_group: _WhichOneofArgType__session) -> _WhichOneofReturnType__session | None: ... + @_typing.overload + def WhichOneof(self, oneof_group: _WhichOneofArgType__tree_id) -> _WhichOneofReturnType__tree_id | None: ... + +Global___ProcessMetadata: _TypeAlias = ProcessMetadata # noqa: Y015 + +@_typing.final +class ProcessQuery(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + UUIDS_FIELD_NUMBER: _builtins.int + NAMES_FIELD_NUMBER: _builtins.int + USER_FIELD_NUMBER: _builtins.int + SESSION_FIELD_NUMBER: _builtins.int + user: _builtins.str + session: _builtins.str + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def uuids(self) -> _containers.RepeatedCompositeFieldContainer[Global___ProcessUUID]: ... + @_builtins.property + def names(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... def __init__( self, *, - token: druncschema.token_pb2.Token | None = ..., - uuids: collections.abc.Iterable[global___ProcessUUID] | None = ..., - names: collections.abc.Iterable[builtins.str] | None = ..., - user: builtins.str = ..., - session: builtins.str = ..., + token: _token_pb2.Token | None = ..., + uuids: _abc.Iterable[Global___ProcessUUID] | None = ..., + names: _abc.Iterable[_builtins.str] | None = ..., + user: _builtins.str = ..., + session: _builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["names", b"names", "session", b"session", "token", b"token", "user", b"user", "uuids", b"uuids"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["names", b"names", "session", b"session", "token", b"token", "user", b"user", "uuids", b"uuids"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ProcessQuery = ProcessQuery +Global___ProcessQuery: _TypeAlias = ProcessQuery # noqa: Y015 -@typing.final -class ProcessDescription(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ProcessDescription(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - @typing.final - class StringList(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class StringList(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - VALUES_FIELD_NUMBER: builtins.int - @property - def values(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... + VALUES_FIELD_NUMBER: _builtins.int + @_builtins.property + def values(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... def __init__( self, *, - values: collections.abc.Iterable[builtins.str] | None = ..., + values: _abc.Iterable[_builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["values", b"values"]) -> None: ... - - @typing.final - class ExecAndArgs(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - EXEC_FIELD_NUMBER: builtins.int - ARGS_FIELD_NUMBER: builtins.int - exec: builtins.str - @property - def args(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["values", b"values"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + @_typing.final + class ExecAndArgs(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + EXEC_FIELD_NUMBER: _builtins.int + ARGS_FIELD_NUMBER: _builtins.int + exec: _builtins.str + @_builtins.property + def args(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ... def __init__( self, *, - exec: builtins.str = ..., - args: collections.abc.Iterable[builtins.str] | None = ..., + exec: _builtins.str = ..., + args: _abc.Iterable[_builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["args", b"args", "exec", b"exec"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["args", b"args", "exec", b"exec"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... - @typing.final - class EnvEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor + @_typing.final + class EnvEntry(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.str + KEY_FIELD_NUMBER: _builtins.int + VALUE_FIELD_NUMBER: _builtins.int + key: _builtins.str + value: _builtins.str def __init__( self, *, - key: builtins.str = ..., - value: builtins.str = ..., + key: _builtins.str = ..., + value: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ... - - METADATA_FIELD_NUMBER: builtins.int - ENV_FIELD_NUMBER: builtins.int - EXECUTABLE_AND_ARGUMENTS_FIELD_NUMBER: builtins.int - PROCESS_EXECUTION_DIRECTORY_FIELD_NUMBER: builtins.int - PROCESS_LOGS_PATH_FIELD_NUMBER: builtins.int - process_execution_directory: builtins.str - process_logs_path: builtins.str + _ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + + METADATA_FIELD_NUMBER: _builtins.int + ENV_FIELD_NUMBER: _builtins.int + EXECUTABLE_AND_ARGUMENTS_FIELD_NUMBER: _builtins.int + PROCESS_EXECUTION_DIRECTORY_FIELD_NUMBER: _builtins.int + PROCESS_LOGS_PATH_FIELD_NUMBER: _builtins.int + process_execution_directory: _builtins.str + process_logs_path: _builtins.str """map runtime_environment = 4;""" - @property - def metadata(self) -> global___ProcessMetadata: ... - @property - def env(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... - @property - def executable_and_arguments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ProcessDescription.ExecAndArgs]: ... + @_builtins.property + def metadata(self) -> Global___ProcessMetadata: ... + @_builtins.property + def env(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ... + @_builtins.property + def executable_and_arguments(self) -> _containers.RepeatedCompositeFieldContainer[Global___ProcessDescription.ExecAndArgs]: ... def __init__( self, *, - metadata: global___ProcessMetadata | None = ..., - env: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - executable_and_arguments: collections.abc.Iterable[global___ProcessDescription.ExecAndArgs] | None = ..., - process_execution_directory: builtins.str = ..., - process_logs_path: builtins.str = ..., + metadata: Global___ProcessMetadata | None = ..., + env: _abc.Mapping[_builtins.str, _builtins.str] | None = ..., + executable_and_arguments: _abc.Iterable[Global___ProcessDescription.ExecAndArgs] | None = ..., + process_execution_directory: _builtins.str = ..., + process_logs_path: _builtins.str = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["metadata", b"metadata"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["env", b"env", "executable_and_arguments", b"executable_and_arguments", "metadata", b"metadata", "process_execution_directory", b"process_execution_directory", "process_logs_path", b"process_logs_path"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["metadata", b"metadata"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["env", b"env", "executable_and_arguments", b"executable_and_arguments", "metadata", b"metadata", "process_execution_directory", b"process_execution_directory", "process_logs_path", b"process_logs_path"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ProcessDescription = ProcessDescription +Global___ProcessDescription: _TypeAlias = ProcessDescription # noqa: Y015 -@typing.final -class ProcessInstance(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ProcessInstance(_message.Message): + DESCRIPTOR: _descriptor.Descriptor class _StatusCode: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType + ValueType = _typing.NewType("ValueType", _builtins.int) + V: _TypeAlias = ValueType # noqa: Y015 - class _StatusCodeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ProcessInstance._StatusCode.ValueType], builtins.type): - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + class _StatusCodeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[ProcessInstance._StatusCode.ValueType], _builtins.type): + DESCRIPTOR: _descriptor.EnumDescriptor RUNNING: ProcessInstance._StatusCode.ValueType # 0 DEAD: ProcessInstance._StatusCode.ValueType # 1 @@ -350,81 +376,87 @@ class ProcessInstance(google.protobuf.message.Message): RUNNING: ProcessInstance.StatusCode.ValueType # 0 DEAD: ProcessInstance.StatusCode.ValueType # 1 - PROCESS_DESCRIPTION_FIELD_NUMBER: builtins.int - PROCESS_RESTRICTION_FIELD_NUMBER: builtins.int - STATUS_CODE_FIELD_NUMBER: builtins.int - RETURN_CODE_FIELD_NUMBER: builtins.int - UUID_FIELD_NUMBER: builtins.int - status_code: global___ProcessInstance.StatusCode.ValueType - return_code: builtins.int - @property - def process_description(self) -> global___ProcessDescription: ... - @property - def process_restriction(self) -> global___ProcessRestriction: ... - @property - def uuid(self) -> global___ProcessUUID: ... + PROCESS_DESCRIPTION_FIELD_NUMBER: _builtins.int + PROCESS_RESTRICTION_FIELD_NUMBER: _builtins.int + STATUS_CODE_FIELD_NUMBER: _builtins.int + RETURN_CODE_FIELD_NUMBER: _builtins.int + UUID_FIELD_NUMBER: _builtins.int + status_code: Global___ProcessInstance.StatusCode.ValueType + return_code: _builtins.int + @_builtins.property + def process_description(self) -> Global___ProcessDescription: ... + @_builtins.property + def process_restriction(self) -> Global___ProcessRestriction: ... + @_builtins.property + def uuid(self) -> Global___ProcessUUID: ... def __init__( self, *, - process_description: global___ProcessDescription | None = ..., - process_restriction: global___ProcessRestriction | None = ..., - status_code: global___ProcessInstance.StatusCode.ValueType = ..., - return_code: builtins.int = ..., - uuid: global___ProcessUUID | None = ..., + process_description: Global___ProcessDescription | None = ..., + process_restriction: Global___ProcessRestriction | None = ..., + status_code: Global___ProcessInstance.StatusCode.ValueType = ..., + return_code: _builtins.int = ..., + uuid: Global___ProcessUUID | None = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["process_description", b"process_description", "process_restriction", b"process_restriction", "uuid", b"uuid"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["process_description", b"process_description", "process_restriction", b"process_restriction", "return_code", b"return_code", "status_code", b"status_code", "uuid", b"uuid"]) -> None: ... - -global___ProcessInstance = ProcessInstance - -@typing.final -class ProcessInstanceList(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - NAME_FIELD_NUMBER: builtins.int - TOKEN_FIELD_NUMBER: builtins.int - VALUES_FIELD_NUMBER: builtins.int - FLAG_FIELD_NUMBER: builtins.int - name: builtins.str - flag: druncschema.request_response_pb2.ResponseFlag.ValueType - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def values(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ProcessInstance]: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["process_description", b"process_description", "process_restriction", b"process_restriction", "uuid", b"uuid"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["process_description", b"process_description", "process_restriction", b"process_restriction", "return_code", b"return_code", "status_code", b"status_code", "uuid", b"uuid"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___ProcessInstance: _TypeAlias = ProcessInstance # noqa: Y015 + +@_typing.final +class ProcessInstanceList(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + NAME_FIELD_NUMBER: _builtins.int + TOKEN_FIELD_NUMBER: _builtins.int + VALUES_FIELD_NUMBER: _builtins.int + FLAG_FIELD_NUMBER: _builtins.int + name: _builtins.str + flag: _request_response_pb2.ResponseFlag.ValueType + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def values(self) -> _containers.RepeatedCompositeFieldContainer[Global___ProcessInstance]: ... def __init__( self, *, - name: builtins.str = ..., - token: druncschema.token_pb2.Token | None = ..., - values: collections.abc.Iterable[global___ProcessInstance] | None = ..., - flag: druncschema.request_response_pb2.ResponseFlag.ValueType = ..., + name: _builtins.str = ..., + token: _token_pb2.Token | None = ..., + values: _abc.Iterable[Global___ProcessInstance] | None = ..., + flag: _request_response_pb2.ResponseFlag.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["flag", b"flag", "name", b"name", "token", b"token", "values", b"values"]) -> None: ... - -global___ProcessInstanceList = ProcessInstanceList - -@typing.final -class BootRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - PROCESS_DESCRIPTION_FIELD_NUMBER: builtins.int - PROCESS_RESTRICTION_FIELD_NUMBER: builtins.int - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def process_description(self) -> global___ProcessDescription: ... - @property - def process_restriction(self) -> global___ProcessRestriction: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["flag", b"flag", "name", b"name", "token", b"token", "values", b"values"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + +Global___ProcessInstanceList: _TypeAlias = ProcessInstanceList # noqa: Y015 + +@_typing.final +class BootRequest(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + PROCESS_DESCRIPTION_FIELD_NUMBER: _builtins.int + PROCESS_RESTRICTION_FIELD_NUMBER: _builtins.int + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def process_description(self) -> Global___ProcessDescription: ... + @_builtins.property + def process_restriction(self) -> Global___ProcessRestriction: ... def __init__( self, *, - token: druncschema.token_pb2.Token | None = ..., - process_description: global___ProcessDescription | None = ..., - process_restriction: global___ProcessRestriction | None = ..., + token: _token_pb2.Token | None = ..., + process_description: Global___ProcessDescription | None = ..., + process_restriction: Global___ProcessRestriction | None = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["process_description", b"process_description", "process_restriction", b"process_restriction", "token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["process_description", b"process_description", "process_restriction", b"process_restriction", "token", b"token"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["process_description", b"process_description", "process_restriction", b"process_restriction", "token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["process_description", b"process_description", "process_restriction", b"process_restriction", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___BootRequest = BootRequest +Global___BootRequest: _TypeAlias = BootRequest # noqa: Y015 diff --git a/src/druncschema/request_response_pb2.pyi b/src/druncschema/request_response_pb2.pyi index 0953c9e..2de902d 100644 --- a/src/druncschema/request_response_pb2.pyi +++ b/src/druncschema/request_response_pb2.pyi @@ -3,30 +3,30 @@ isort:skip_file """ -import builtins -import collections.abc -import druncschema.token_pb2 -import google.protobuf.any_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.internal.enum_type_wrapper -import google.protobuf.message +from collections import abc as _abc +from druncschema import token_pb2 as _token_pb2 +from google.protobuf import any_pb2 as _any_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import containers as _containers +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +import builtins as _builtins import sys -import typing +import typing as _typing if sys.version_info >= (3, 10): - import typing as typing_extensions + from typing import TypeAlias as _TypeAlias else: - import typing_extensions + from typing_extensions import TypeAlias as _TypeAlias -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +DESCRIPTOR: _descriptor.FileDescriptor class _ResponseFlag: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType + ValueType = _typing.NewType("ValueType", _builtins.int) + V: _TypeAlias = ValueType # noqa: Y015 -class _ResponseFlagEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResponseFlag.ValueType], builtins.type): - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor +class _ResponseFlagEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_ResponseFlag.ValueType], _builtins.type): + DESCRIPTOR: _descriptor.EnumDescriptor EXECUTED_SUCCESSFULLY: _ResponseFlag.ValueType # 0 FAILED: _ResponseFlag.ValueType # 1 NOT_EXECUTED_NOT_IMPLEMENTED: _ResponseFlag.ValueType # 2 @@ -50,67 +50,75 @@ DRUNC_EXCEPTION_THROWN: ResponseFlag.ValueType # 6 UNHANDLED_EXCEPTION_THROWN: ResponseFlag.ValueType # 7 NOT_EXECUTED_BAD_REQUEST_FORMAT: ResponseFlag.ValueType # 8 NOT_EXECUTED_NOT_READY: ResponseFlag.ValueType # 9 -global___ResponseFlag = ResponseFlag - -@typing.final -class Request(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - TOKEN_FIELD_NUMBER: builtins.int - DATA_FIELD_NUMBER: builtins.int - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def data(self) -> google.protobuf.any_pb2.Any: ... +Global___ResponseFlag: _TypeAlias = ResponseFlag # noqa: Y015 + +@_typing.final +class Request(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + DATA_FIELD_NUMBER: _builtins.int + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def data(self) -> _any_pb2.Any: ... def __init__( self, *, - token: druncschema.token_pb2.Token | None = ..., - data: google.protobuf.any_pb2.Any | None = ..., + token: _token_pb2.Token | None = ..., + data: _any_pb2.Any | None = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["_data", b"_data", "data", b"data", "token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["_data", b"_data", "data", b"data", "token", b"token"]) -> None: ... - def WhichOneof(self, oneof_group: typing.Literal["_data", b"_data"]) -> typing.Literal["data"] | None: ... - -global___Request = Request - -@typing.final -class Response(google.protobuf.message.Message): + _HasFieldArgType: _TypeAlias = _typing.Literal["_data", b"_data", "data", b"data", "token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["_data", b"_data", "data", b"data", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType__data: _TypeAlias = _typing.Literal["data"] # noqa: Y015 + _WhichOneofArgType__data: _TypeAlias = _typing.Literal["_data", b"_data"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType__data) -> _WhichOneofReturnType__data | None: ... + +Global___Request: _TypeAlias = Request # noqa: Y015 + +@_typing.final +class Response(_message.Message): """The "decoded" version (i.e. without Any) of this message is defined at the top of drunc/src/utils/shell_utils.py, modify it there if you want to change the format""" - DESCRIPTOR: google.protobuf.descriptor.Descriptor + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - TOKEN_FIELD_NUMBER: builtins.int - DATA_FIELD_NUMBER: builtins.int - FLAG_FIELD_NUMBER: builtins.int - CHILDREN_FIELD_NUMBER: builtins.int - name: builtins.str - flag: global___ResponseFlag.ValueType + NAME_FIELD_NUMBER: _builtins.int + TOKEN_FIELD_NUMBER: _builtins.int + DATA_FIELD_NUMBER: _builtins.int + FLAG_FIELD_NUMBER: _builtins.int + CHILDREN_FIELD_NUMBER: _builtins.int + name: _builtins.str + flag: Global___ResponseFlag.ValueType """whether the command was successfull ON SELF ONLY!""" - @property - def token(self) -> druncschema.token_pb2.Token: + @_builtins.property + def token(self) -> _token_pb2.Token: """The token of the sender""" - @property - def data(self) -> google.protobuf.any_pb2.Any: + @_builtins.property + def data(self) -> _any_pb2.Any: """Any arbitrary data returned by the command""" - @property - def children(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Response]: + @_builtins.property + def children(self) -> _containers.RepeatedCompositeFieldContainer[Global___Response]: """a map of the response flags of the children""" def __init__( self, *, - name: builtins.str = ..., - token: druncschema.token_pb2.Token | None = ..., - data: google.protobuf.any_pb2.Any | None = ..., - flag: global___ResponseFlag.ValueType = ..., - children: collections.abc.Iterable[global___Response] | None = ..., + name: _builtins.str = ..., + token: _token_pb2.Token | None = ..., + data: _any_pb2.Any | None = ..., + flag: Global___ResponseFlag.ValueType = ..., + children: _abc.Iterable[Global___Response] | None = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["_data", b"_data", "data", b"data", "token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["_data", b"_data", "children", b"children", "data", b"data", "flag", b"flag", "name", b"name", "token", b"token"]) -> None: ... - def WhichOneof(self, oneof_group: typing.Literal["_data", b"_data"]) -> typing.Literal["data"] | None: ... - -global___Response = Response + _HasFieldArgType: _TypeAlias = _typing.Literal["_data", b"_data", "data", b"data", "token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["_data", b"_data", "children", b"children", "data", b"data", "flag", b"flag", "name", b"name", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... + _WhichOneofReturnType__data: _TypeAlias = _typing.Literal["data"] # noqa: Y015 + _WhichOneofArgType__data: _TypeAlias = _typing.Literal["_data", b"_data"] # noqa: Y015 + def WhichOneof(self, oneof_group: _WhichOneofArgType__data) -> _WhichOneofReturnType__data | None: ... + +Global___Response: _TypeAlias = Response # noqa: Y015 diff --git a/src/druncschema/session_manager_pb2.pyi b/src/druncschema/session_manager_pb2.pyi index 23aa055..f3c45d3 100644 --- a/src/druncschema/session_manager_pb2.pyi +++ b/src/druncschema/session_manager_pb2.pyi @@ -3,108 +3,121 @@ isort:skip_file """ -import builtins -import collections.abc -import druncschema.request_response_pb2 -import druncschema.token_pb2 -import google.protobuf.descriptor -import google.protobuf.internal.containers -import google.protobuf.message -import typing +from collections import abc as _abc +from druncschema import request_response_pb2 as _request_response_pb2 +from druncschema import token_pb2 as _token_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf.internal import containers as _containers +import builtins as _builtins +import sys +import typing as _typing -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias +else: + from typing_extensions import TypeAlias as _TypeAlias -@typing.final -class ConfigKey(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +DESCRIPTOR: _descriptor.FileDescriptor - FILE_FIELD_NUMBER: builtins.int - SESSION_ID_FIELD_NUMBER: builtins.int - file: builtins.str - session_id: builtins.str +@_typing.final +class ConfigKey(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + FILE_FIELD_NUMBER: _builtins.int + SESSION_ID_FIELD_NUMBER: _builtins.int + file: _builtins.str + session_id: _builtins.str def __init__( self, *, - file: builtins.str = ..., - session_id: builtins.str = ..., + file: _builtins.str = ..., + session_id: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["file", b"file", "session_id", b"session_id"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["file", b"file", "session_id", b"session_id"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ConfigKey = ConfigKey +Global___ConfigKey: _TypeAlias = ConfigKey # noqa: Y015 -@typing.final -class AllConfigKeys(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class AllConfigKeys(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - TOKEN_FIELD_NUMBER: builtins.int - CONFIG_KEYS_FIELD_NUMBER: builtins.int - FLAG_FIELD_NUMBER: builtins.int - name: builtins.str - flag: druncschema.request_response_pb2.ResponseFlag.ValueType - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def config_keys(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ConfigKey]: ... + NAME_FIELD_NUMBER: _builtins.int + TOKEN_FIELD_NUMBER: _builtins.int + CONFIG_KEYS_FIELD_NUMBER: _builtins.int + FLAG_FIELD_NUMBER: _builtins.int + name: _builtins.str + flag: _request_response_pb2.ResponseFlag.ValueType + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def config_keys(self) -> _containers.RepeatedCompositeFieldContainer[Global___ConfigKey]: ... def __init__( self, *, - name: builtins.str = ..., - token: druncschema.token_pb2.Token | None = ..., - config_keys: collections.abc.Iterable[global___ConfigKey] | None = ..., - flag: druncschema.request_response_pb2.ResponseFlag.ValueType = ..., + name: _builtins.str = ..., + token: _token_pb2.Token | None = ..., + config_keys: _abc.Iterable[Global___ConfigKey] | None = ..., + flag: _request_response_pb2.ResponseFlag.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["config_keys", b"config_keys", "flag", b"flag", "name", b"name", "token", b"token"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["config_keys", b"config_keys", "flag", b"flag", "name", b"name", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___AllConfigKeys = AllConfigKeys +Global___AllConfigKeys: _TypeAlias = AllConfigKeys # noqa: Y015 -@typing.final -class ActiveSession(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class ActiveSession(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - USER_FIELD_NUMBER: builtins.int - CONFIG_KEY_FIELD_NUMBER: builtins.int - name: builtins.str - user: builtins.str - @property - def config_key(self) -> global___ConfigKey: ... + NAME_FIELD_NUMBER: _builtins.int + USER_FIELD_NUMBER: _builtins.int + CONFIG_KEY_FIELD_NUMBER: _builtins.int + name: _builtins.str + user: _builtins.str + @_builtins.property + def config_key(self) -> Global___ConfigKey: ... def __init__( self, *, - name: builtins.str = ..., - user: builtins.str = ..., - config_key: global___ConfigKey | None = ..., + name: _builtins.str = ..., + user: _builtins.str = ..., + config_key: Global___ConfigKey | None = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["config_key", b"config_key"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["config_key", b"config_key", "name", b"name", "user", b"user"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["config_key", b"config_key"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["config_key", b"config_key", "name", b"name", "user", b"user"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___ActiveSession = ActiveSession +Global___ActiveSession: _TypeAlias = ActiveSession # noqa: Y015 -@typing.final -class AllActiveSessions(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +@_typing.final +class AllActiveSessions(_message.Message): + DESCRIPTOR: _descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - TOKEN_FIELD_NUMBER: builtins.int - ACTIVE_SESSIONS_FIELD_NUMBER: builtins.int - FLAG_FIELD_NUMBER: builtins.int - name: builtins.str - flag: druncschema.request_response_pb2.ResponseFlag.ValueType - @property - def token(self) -> druncschema.token_pb2.Token: ... - @property - def active_sessions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ActiveSession]: ... + NAME_FIELD_NUMBER: _builtins.int + TOKEN_FIELD_NUMBER: _builtins.int + ACTIVE_SESSIONS_FIELD_NUMBER: _builtins.int + FLAG_FIELD_NUMBER: _builtins.int + name: _builtins.str + flag: _request_response_pb2.ResponseFlag.ValueType + @_builtins.property + def token(self) -> _token_pb2.Token: ... + @_builtins.property + def active_sessions(self) -> _containers.RepeatedCompositeFieldContainer[Global___ActiveSession]: ... def __init__( self, *, - name: builtins.str = ..., - token: druncschema.token_pb2.Token | None = ..., - active_sessions: collections.abc.Iterable[global___ActiveSession] | None = ..., - flag: druncschema.request_response_pb2.ResponseFlag.ValueType = ..., + name: _builtins.str = ..., + token: _token_pb2.Token | None = ..., + active_sessions: _abc.Iterable[Global___ActiveSession] | None = ..., + flag: _request_response_pb2.ResponseFlag.ValueType = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["token", b"token"]) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["active_sessions", b"active_sessions", "flag", b"flag", "name", b"name", "token", b"token"]) -> None: ... + _HasFieldArgType: _TypeAlias = _typing.Literal["token", b"token"] # noqa: Y015 + def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["active_sessions", b"active_sessions", "flag", b"flag", "name", b"name", "token", b"token"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___AllActiveSessions = AllActiveSessions +Global___AllActiveSessions: _TypeAlias = AllActiveSessions # noqa: Y015 diff --git a/src/druncschema/token_pb2.pyi b/src/druncschema/token_pb2.pyi index 9425627..ef159d3 100644 --- a/src/druncschema/token_pb2.pyi +++ b/src/druncschema/token_pb2.pyi @@ -3,27 +3,34 @@ isort:skip_file """ -import builtins -import google.protobuf.descriptor -import google.protobuf.message -import typing +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +import builtins as _builtins +import sys +import typing as _typing -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +if sys.version_info >= (3, 10): + from typing import TypeAlias as _TypeAlias +else: + from typing_extensions import TypeAlias as _TypeAlias -@typing.final -class Token(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor +DESCRIPTOR: _descriptor.FileDescriptor - TOKEN_FIELD_NUMBER: builtins.int - USER_NAME_FIELD_NUMBER: builtins.int - token: builtins.str - user_name: builtins.str +@_typing.final +class Token(_message.Message): + DESCRIPTOR: _descriptor.Descriptor + + TOKEN_FIELD_NUMBER: _builtins.int + USER_NAME_FIELD_NUMBER: _builtins.int + token: _builtins.str + user_name: _builtins.str def __init__( self, *, - token: builtins.str = ..., - user_name: builtins.str = ..., + token: _builtins.str = ..., + user_name: _builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["token", b"token", "user_name", b"user_name"]) -> None: ... + _ClearFieldArgType: _TypeAlias = _typing.Literal["token", b"token", "user_name", b"user_name"] # noqa: Y015 + def ClearField(self, field_name: _ClearFieldArgType) -> None: ... -global___Token = Token +Global___Token: _TypeAlias = Token # noqa: Y015