Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

24.9 KB
Raw Blame
# Generated from process/process.proto. DO NOT EDIT.
# Generated by protoc-gen-py v0.6.0 with parameter "".
# ruff: noqa: PGH004
# ruff: noqa
# fmt: off

from __future__ import annotations

from typing import Literal, NoReturn, TYPE_CHECKING, TypeAlias

from protobuf import Enum, Message
from protobuf._codegen import file_desc

if TYPE_CHECKING:
    from protobuf import DescFile, Oneof


_PTYFields: TypeAlias = Literal["size"]

class PTY(Message[_PTYFields]):
    """
    ```proto
    message process.PTY
    ```

    Attributes:
        size:
            ```proto
            optional process.PTY.Size size = 1;
            ```
    """

    __slots__ = ("size",)

    if TYPE_CHECKING:

        def __init__(
            self,
            *,
            size: PTY.Size | None = None,
        ) -> None:
            pass

        size: PTY.Size | None

    _SizeFields: TypeAlias = Literal["cols", "rows"]

    class Size(Message[_SizeFields]):
        """
        ```proto
        message process.PTY.Size
        ```

        Attributes:
            cols:
                ```proto
                uint32 cols = 1;
                ```
            rows:
                ```proto
                uint32 rows = 2;
                ```
        """

        __slots__ = ("cols", "rows")

        if TYPE_CHECKING:

            def __init__(
                self,
                *,
                cols: int = 0,
                rows: int = 0,
            ) -> None:
                pass

            cols: int
            rows: int

_ProcessConfigFields: TypeAlias = Literal["cmd", "args", "envs", "cwd"]

class ProcessConfig(Message[_ProcessConfigFields]):
    """
    ```proto
    message process.ProcessConfig
    ```

    Attributes:
        cmd:
            ```proto
            string cmd = 1;
            ```
        args:
            ```proto
            repeated string args = 2;
            ```
        envs:
            ```proto
            map<string, string> envs = 3;
            ```
        cwd:
            ```proto
            optional string cwd = 4;
            ```
    """

    __slots__ = ("cmd", "args", "envs", "cwd")

    if TYPE_CHECKING:

        def __init__(
            self,
            *,
            cmd: str = "",
            args: list[str] | None = None,
            envs: dict[str, str] | None = None,
            cwd: str | None = None,
        ) -> None:
            pass

        cmd: str
        args: list[str]
        envs: dict[str, str]
        cwd: str

_ListRequestFields: TypeAlias = NoReturn

class ListRequest(Message[_ListRequestFields]):
    """
    ```proto
    message process.ListRequest
    ```
    """

    __slots__ = ()

    if TYPE_CHECKING:

        def __init__(
            self,
        ) -> None:
            pass

_ProcessInfoFields: TypeAlias = Literal["config", "pid", "tag"]

class ProcessInfo(Message[_ProcessInfoFields]):
    """
    ```proto
    message process.ProcessInfo
    ```

    Attributes:
        config:
            ```proto
            optional process.ProcessConfig config = 1;
            ```
        pid:
            ```proto
            uint32 pid = 2;
            ```
        tag:
            ```proto
            optional string tag = 3;
            ```
    """

    __slots__ = ("config", "pid", "tag")

    if TYPE_CHECKING:

        def __init__(
            self,
            *,
            config: ProcessConfig | None = None,
            pid: int = 0,
            tag: str | None = None,
        ) -> None:
            pass

        config: ProcessConfig | None
        pid: int
        tag: str

_ListResponseFields: TypeAlias = Literal["processes"]

class ListResponse(Message[_ListResponseFields]):
    """
    ```proto
    message process.ListResponse
    ```

    Attributes:
        processes:
            ```proto
            repeated process.ProcessInfo processes = 1;
            ```
    """

    __slots__ = ("processes",)

    if TYPE_CHECKING:

        def __init__(
            self,
            *,
            processes: list[ProcessInfo] | None = None,
        ) -> None:
            pass

        processes: list[ProcessInfo]

_StartRequestFields: TypeAlias = Literal["process", "pty", "tag", "stdin"]

class StartRequest(Message[_StartRequestFields]):
    """
    ```proto
    message process.StartRequest
    ```

    Attributes:
        process:
            ```proto
            optional process.ProcessConfig process = 1;
            ```
        pty:
            ```proto
            optional process.PTY pty = 2;
            ```
        tag:
            ```proto
            optional string tag = 3;
            ```
        stdin:
            This is optional for backwards compatibility.
            We default to true. New SDK versions will set this to false by default.

            ```proto
            optional bool stdin = 4;
            ```
    """

    __slots__ = ("process", "pty", "tag", "stdin")

    if TYPE_CHECKING:

        def __init__(
            self,
            *,
            process: ProcessConfig | None = None,
            pty: PTY | None = None,
            tag: str | None = None,
            stdin: bool | None = None,
        ) -> None:
            pass

        process: ProcessConfig | None
        pty: PTY | None
        tag: str
        stdin: bool

_UpdateRequestFields: TypeAlias = Literal["process", "pty"]

class UpdateRequest(Message[_UpdateRequestFields]):
    """
    ```proto
    message process.UpdateRequest
    ```

    Attributes:
        process:
            ```proto
            optional process.ProcessSelector process = 1;
            ```
        pty:
            ```proto
            optional process.PTY pty = 2;
            ```
    """

    __slots__ = ("process", "pty")

    if TYPE_CHECKING:

        def __init__(
            self,
            *,
            process: ProcessSelector | None = None,
            pty: PTY | None = None,
        ) -> None:
            pass

        process: ProcessSelector | None
        pty: PTY | None

_UpdateResponseFields: TypeAlias = NoReturn

class UpdateResponse(Message[_UpdateResponseFields]):
    """
    ```proto
    message process.UpdateResponse
    ```
    """

    __slots__ = ()

    if TYPE_CHECKING:

        def __init__(
            self,
        ) -> None:
            pass

_ProcessEventFields: TypeAlias = Literal["start", "data", "end", "keepalive"]

class ProcessEvent(Message[_ProcessEventFields]):
    """
    ```proto
    message process.ProcessEvent
    ```

    Attributes:
        event:
            ```proto
            oneof event
            ```
    """

    __slots__ = ("event",)

    if TYPE_CHECKING:

        def __init__(
            self,
            *,
            event: Oneof[Literal["start"], ProcessEvent.StartEvent] | Oneof[Literal["data"], ProcessEvent.DataEvent] | Oneof[Literal["end"], ProcessEvent.EndEvent] | Oneof[Literal["keepalive"], ProcessEvent.KeepAlive] | None = None,
        ) -> None:
            pass

        event: Oneof[Literal["start"], ProcessEvent.StartEvent] | Oneof[Literal["data"], ProcessEvent.DataEvent] | Oneof[Literal["end"], ProcessEvent.EndEvent] | Oneof[Literal["keepalive"], ProcessEvent.KeepAlive] | None

    _StartEventFields: TypeAlias = Literal["pid"]

    class StartEvent(Message[_StartEventFields]):
        """
        ```proto
        message process.ProcessEvent.StartEvent
        ```

        Attributes:
            pid:
                ```proto
                uint32 pid = 1;
                ```
        """

        __slots__ = ("pid",)

        if TYPE_CHECKING:

            def __init__(
                self,
                *,
                pid: int = 0,
            ) -> None:
                pass

            pid: int

    _DataEventFields: TypeAlias = Literal["stdout", "stderr", "pty"]

    class DataEvent(Message[_DataEventFields]):
        """
        ```proto
        message process.ProcessEvent.DataEvent
        ```

        Attributes:
            output:
                ```proto
                oneof output
                ```
        """

        __slots__ = ("output",)

        if TYPE_CHECKING:

            def __init__(
                self,
                *,
                output: Oneof[Literal["stdout"], bytes] | Oneof[Literal["stderr"], bytes] | Oneof[Literal["pty"], bytes] | None = None,
            ) -> None:
                pass

            output: Oneof[Literal["stdout"], bytes] | Oneof[Literal["stderr"], bytes] | Oneof[Literal["pty"], bytes] | None

    _EndEventFields: TypeAlias = Literal["exit_code", "exited", "status", "error"]

    class EndEvent(Message[_EndEventFields]):
        """
        ```proto
        message process.ProcessEvent.EndEvent
        ```

        Attributes:
            exit_code:
                ```proto
                sint32 exit_code = 1;
                ```
            exited:
                ```proto
                bool exited = 2;
                ```
            status:
                ```proto
                string status = 3;
                ```
            error:
                ```proto
                optional string error = 4;
                ```
        """

        __slots__ = ("exit_code", "exited", "status", "error")

        if TYPE_CHECKING:

            def __init__(
                self,
                *,
                exit_code: int = 0,
                exited: bool = False,
                status: str = "",
                error: str | None = None,
            ) -> None:
                pass

            exit_code: int
            exited: bool
            status: str
            error: str

    _KeepAliveFields: TypeAlias = NoReturn

    class KeepAlive(Message[_KeepAliveFields]):
        """
        ```proto
        message process.ProcessEvent.KeepAlive
        ```
        """

        __slots__ = ()

        if TYPE_CHECKING:

            def __init__(
                self,
            ) -> None:
                pass

_StartResponseFields: TypeAlias = Literal["event"]

class StartResponse(Message[_StartResponseFields]):
    """
    ```proto
    message process.StartResponse
    ```

    Attributes:
        event:
            ```proto
            optional process.ProcessEvent event = 1;
            ```
    """

    __slots__ = ("event",)

    if TYPE_CHECKING:

        def __init__(
            self,
            *,
            event: ProcessEvent | None = None,
        ) -> None:
            pass

        event: ProcessEvent | None

_ConnectResponseFields: TypeAlias = Literal["event"]

class ConnectResponse(Message[_ConnectResponseFields]):
    """
    ```proto
    message process.ConnectResponse
    ```

    Attributes:
        event:
            ```proto
            optional process.ProcessEvent event = 1;
            ```
    """

    __slots__ = ("event",)

    if TYPE_CHECKING:

        def __init__(
            self,
            *,
            event: ProcessEvent | None = None,
        ) -> None:
            pass

        event: ProcessEvent | None

_SendInputRequestFields: TypeAlias = Literal["process", "input"]

class SendInputRequest(Message[_SendInputRequestFields]):
    """
    ```proto
    message process.SendInputRequest
    ```

    Attributes:
        process:
            ```proto
            optional process.ProcessSelector process = 1;
            ```
        input:
            ```proto
            optional process.ProcessInput input = 2;
            ```
    """

    __slots__ = ("process", "input")

    if TYPE_CHECKING:

        def __init__(
            self,
            *,
            process: ProcessSelector | None = None,
            input: ProcessInput | None = None,
        ) -> None:
            pass

        process: ProcessSelector | None
        input: ProcessInput | None

_SendInputResponseFields: TypeAlias = NoReturn

class SendInputResponse(Message[_SendInputResponseFields]):
    """
    ```proto
    message process.SendInputResponse
    ```
    """

    __slots__ = ()

    if TYPE_CHECKING:

        def __init__(
            self,
        ) -> None:
            pass

_ProcessInputFields: TypeAlias = Literal["stdin", "pty"]

class ProcessInput(Message[_ProcessInputFields]):
    """
    ```proto
    message process.ProcessInput
    ```

    Attributes:
        input:
            ```proto
            oneof input
            ```
    """

    __slots__ = ("input",)

    if TYPE_CHECKING:

        def __init__(
            self,
            *,
            input: Oneof[Literal["stdin"], bytes] | Oneof[Literal["pty"], bytes] | None = None,
        ) -> None:
            pass

        input: Oneof[Literal["stdin"], bytes] | Oneof[Literal["pty"], bytes] | None

_StreamInputRequestFields: TypeAlias = Literal["start", "data", "keepalive"]

class StreamInputRequest(Message[_StreamInputRequestFields]):
    """
    ```proto
    message process.StreamInputRequest
    ```

    Attributes:
        event:
            ```proto
            oneof event
            ```
    """

    __slots__ = ("event",)

    if TYPE_CHECKING:

        def __init__(
            self,
            *,
            event: Oneof[Literal["start"], StreamInputRequest.StartEvent] | Oneof[Literal["data"], StreamInputRequest.DataEvent] | Oneof[Literal["keepalive"], StreamInputRequest.KeepAlive] | None = None,
        ) -> None:
            pass

        event: Oneof[Literal["start"], StreamInputRequest.StartEvent] | Oneof[Literal["data"], StreamInputRequest.DataEvent] | Oneof[Literal["keepalive"], StreamInputRequest.KeepAlive] | None

    _StartEventFields: TypeAlias = Literal["process"]

    class StartEvent(Message[_StartEventFields]):
        """
        ```proto
        message process.StreamInputRequest.StartEvent
        ```

        Attributes:
            process:
                ```proto
                optional process.ProcessSelector process = 1;
                ```
        """

        __slots__ = ("process",)

        if TYPE_CHECKING:

            def __init__(
                self,
                *,
                process: ProcessSelector | None = None,
            ) -> None:
                pass

            process: ProcessSelector | None

    _DataEventFields: TypeAlias = Literal["input"]

    class DataEvent(Message[_DataEventFields]):
        """
        ```proto
        message process.StreamInputRequest.DataEvent
        ```

        Attributes:
            input:
                ```proto
                optional process.ProcessInput input = 2;
                ```
        """

        __slots__ = ("input",)

        if TYPE_CHECKING:

            def __init__(
                self,
                *,
                input: ProcessInput | None = None,
            ) -> None:
                pass

            input: ProcessInput | None

    _KeepAliveFields: TypeAlias = NoReturn

    class KeepAlive(Message[_KeepAliveFields]):
        """
        ```proto
        message process.StreamInputRequest.KeepAlive
        ```
        """

        __slots__ = ()

        if TYPE_CHECKING:

            def __init__(
                self,
            ) -> None:
                pass

_StreamInputResponseFields: TypeAlias = NoReturn

class StreamInputResponse(Message[_StreamInputResponseFields]):
    """
    ```proto
    message process.StreamInputResponse
    ```
    """

    __slots__ = ()

    if TYPE_CHECKING:

        def __init__(
            self,
        ) -> None:
            pass

_SendSignalRequestFields: TypeAlias = Literal["process", "signal"]

class SendSignalRequest(Message[_SendSignalRequestFields]):
    """
    ```proto
    message process.SendSignalRequest
    ```

    Attributes:
        process:
            ```proto
            optional process.ProcessSelector process = 1;
            ```
        signal:
            ```proto
            process.Signal signal = 2;
            ```
    """

    __slots__ = ("process", "signal")

    if TYPE_CHECKING:

        def __init__(
            self,
            *,
            process: ProcessSelector | None = None,
            signal: Signal | None = None,
        ) -> None:
            pass

        process: ProcessSelector | None
        signal: Signal

_SendSignalResponseFields: TypeAlias = NoReturn

class SendSignalResponse(Message[_SendSignalResponseFields]):
    """
    ```proto
    message process.SendSignalResponse
    ```
    """

    __slots__ = ()

    if TYPE_CHECKING:

        def __init__(
            self,
        ) -> None:
            pass

_CloseStdinRequestFields: TypeAlias = Literal["process"]

class CloseStdinRequest(Message[_CloseStdinRequestFields]):
    """
    ```proto
    message process.CloseStdinRequest
    ```

    Attributes:
        process:
            ```proto
            optional process.ProcessSelector process = 1;
            ```
    """

    __slots__ = ("process",)

    if TYPE_CHECKING:

        def __init__(
            self,
            *,
            process: ProcessSelector | None = None,
        ) -> None:
            pass

        process: ProcessSelector | None

_CloseStdinResponseFields: TypeAlias = NoReturn

class CloseStdinResponse(Message[_CloseStdinResponseFields]):
    """
    ```proto
    message process.CloseStdinResponse
    ```
    """

    __slots__ = ()

    if TYPE_CHECKING:

        def __init__(
            self,
        ) -> None:
            pass

_ConnectRequestFields: TypeAlias = Literal["process"]

class ConnectRequest(Message[_ConnectRequestFields]):
    """
    ```proto
    message process.ConnectRequest
    ```

    Attributes:
        process:
            ```proto
            optional process.ProcessSelector process = 1;
            ```
    """

    __slots__ = ("process",)

    if TYPE_CHECKING:

        def __init__(
            self,
            *,
            process: ProcessSelector | None = None,
        ) -> None:
            pass

        process: ProcessSelector | None

_ProcessSelectorFields: TypeAlias = Literal["pid", "tag"]

class ProcessSelector(Message[_ProcessSelectorFields]):
    """
    ```proto
    message process.ProcessSelector
    ```

    Attributes:
        selector:
            ```proto
            oneof selector
            ```
    """

    __slots__ = ("selector",)

    if TYPE_CHECKING:

        def __init__(
            self,
            *,
            selector: Oneof[Literal["pid"], int] | Oneof[Literal["tag"], str] | None = None,
        ) -> None:
            pass

        selector: Oneof[Literal["pid"], int] | Oneof[Literal["tag"], str] | None

class Signal(Enum):
    """
    ```proto
    enum process.Signal
    ```

    Attributes:
        UNSPECIFIED:
            ```proto
            SIGNAL_UNSPECIFIED = 0
            ```
        SIGTERM:
            ```proto
            SIGNAL_SIGTERM = 15
            ```
        SIGKILL:
            ```proto
            SIGNAL_SIGKILL = 9
            ```
    """

    UNSPECIFIED = 0
    SIGTERM = 15
    SIGKILL = 9


_DESC = file_desc(
    b'\n\x15process/process.proto\x12\x07process"\\\n\x03PTY\x12%\n\x04size\x18\x01 \x01(\x0b2\x11.process.PTY.SizeR\x04size\x1a.\n\x04Size\x12\x12\n\x04cols\x18\x01 \x01(\rR\x04cols\x12\x12\n\x04rows\x18\x02 \x01(\rR\x04rows"\xc3\x01\n\rProcessConfig\x12\x10\n\x03cmd\x18\x01 \x01(\tR\x03cmd\x12\x12\n\x04args\x18\x02 \x03(\tR\x04args\x124\n\x04envs\x18\x03 \x03(\x0b2 .process.ProcessConfig.EnvsEntryR\x04envs\x12\x15\n\x03cwd\x18\x04 \x01(\tH\x00R\x03cwd\x88\x01\x01\x1a7\n\tEnvsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\x06\n\x04_cwd"\r\n\x0bListRequest"n\n\x0bProcessInfo\x12.\n\x06config\x18\x01 \x01(\x0b2\x16.process.ProcessConfigR\x06config\x12\x10\n\x03pid\x18\x02 \x01(\rR\x03pid\x12\x15\n\x03tag\x18\x03 \x01(\tH\x00R\x03tag\x88\x01\x01B\x06\n\x04_tag"B\n\x0cListResponse\x122\n\tprocesses\x18\x01 \x03(\x0b2\x14.process.ProcessInfoR\tprocesses"\xb1\x01\n\x0cStartRequest\x120\n\x07process\x18\x01 \x01(\x0b2\x16.process.ProcessConfigR\x07process\x12#\n\x03pty\x18\x02 \x01(\x0b2\x0c.process.PTYH\x00R\x03pty\x88\x01\x01\x12\x15\n\x03tag\x18\x03 \x01(\tH\x01R\x03tag\x88\x01\x01\x12\x19\n\x05stdin\x18\x04 \x01(\x08H\x02R\x05stdin\x88\x01\x01B\x06\n\x04_ptyB\x06\n\x04_tagB\x08\n\x06_stdin"p\n\rUpdateRequest\x122\n\x07process\x18\x01 \x01(\x0b2\x18.process.ProcessSelectorR\x07process\x12#\n\x03pty\x18\x02 \x01(\x0b2\x0c.process.PTYH\x00R\x03pty\x88\x01\x01B\x06\n\x04_pty"\x10\n\x0eUpdateResponse"\x87\x04\n\x0cProcessEvent\x128\n\x05start\x18\x01 \x01(\x0b2 .process.ProcessEvent.StartEventH\x00R\x05start\x125\n\x04data\x18\x02 \x01(\x0b2\x1f.process.ProcessEvent.DataEventH\x00R\x04data\x122\n\x03end\x18\x03 \x01(\x0b2\x1e.process.ProcessEvent.EndEventH\x00R\x03end\x12?\n\tkeepalive\x18\x04 \x01(\x0b2\x1f.process.ProcessEvent.KeepAliveH\x00R\tkeepalive\x1a\x1e\n\nStartEvent\x12\x10\n\x03pid\x18\x01 \x01(\rR\x03pid\x1a]\n\tDataEvent\x12\x18\n\x06stdout\x18\x01 \x01(\x0cH\x00R\x06stdout\x12\x18\n\x06stderr\x18\x02 \x01(\x0cH\x00R\x06stderr\x12\x12\n\x03pty\x18\x03 \x01(\x0cH\x00R\x03ptyB\x08\n\x06output\x1a|\n\x08EndEvent\x12\x1b\n\texit_code\x18\x01 \x01(\x11R\x08exitCode\x12\x16\n\x06exited\x18\x02 \x01(\x08R\x06exited\x12\x16\n\x06status\x18\x03 \x01(\tR\x06status\x12\x19\n\x05error\x18\x04 \x01(\tH\x00R\x05error\x88\x01\x01B\x08\n\x06_error\x1a\x0b\n\tKeepAliveB\x07\n\x05event"<\n\rStartResponse\x12+\n\x05event\x18\x01 \x01(\x0b2\x15.process.ProcessEventR\x05event">\n\x0fConnectResponse\x12+\n\x05event\x18\x01 \x01(\x0b2\x15.process.ProcessEventR\x05event"s\n\x10SendInputRequest\x122\n\x07process\x18\x01 \x01(\x0b2\x18.process.ProcessSelectorR\x07process\x12+\n\x05input\x18\x02 \x01(\x0b2\x15.process.ProcessInputR\x05input"\x13\n\x11SendInputResponse"C\n\x0cProcessInput\x12\x16\n\x05stdin\x18\x01 \x01(\x0cH\x00R\x05stdin\x12\x12\n\x03pty\x18\x02 \x01(\x0cH\x00R\x03ptyB\x07\n\x05input"\xea\x02\n\x12StreamInputRequest\x12>\n\x05start\x18\x01 \x01(\x0b2&.process.StreamInputRequest.StartEventH\x00R\x05start\x12;\n\x04data\x18\x02 \x01(\x0b2%.process.StreamInputRequest.DataEventH\x00R\x04data\x12E\n\tkeepalive\x18\x03 \x01(\x0b2%.process.StreamInputRequest.KeepAliveH\x00R\tkeepalive\x1a@\n\nStartEvent\x122\n\x07process\x18\x01 \x01(\x0b2\x18.process.ProcessSelectorR\x07process\x1a8\n\tDataEvent\x12+\n\x05input\x18\x02 \x01(\x0b2\x15.process.ProcessInputR\x05input\x1a\x0b\n\tKeepAliveB\x07\n\x05event"\x15\n\x13StreamInputResponse"p\n\x11SendSignalRequest\x122\n\x07process\x18\x01 \x01(\x0b2\x18.process.ProcessSelectorR\x07process\x12\'\n\x06signal\x18\x02 \x01(\x0e2\x0f.process.SignalR\x06signal"\x14\n\x12SendSignalResponse"G\n\x11CloseStdinRequest\x122\n\x07process\x18\x01 \x01(\x0b2\x18.process.ProcessSelectorR\x07process"\x14\n\x12CloseStdinResponse"D\n\x0eConnectRequest\x122\n\x07process\x18\x01 \x01(\x0b2\x18.process.ProcessSelectorR\x07process"E\n\x0fProcessSelector\x12\x12\n\x03pid\x18\x01 \x01(\rH\x00R\x03pid\x12\x12\n\x03tag\x18\x02 \x01(\tH\x00R\x03tagB\n\n\x08selector*H\n\x06Signal\x12\x16\n\x12SIGNAL_UNSPECIFIED\x10\x00\x12\x12\n\x0eSIGNAL_SIGTERM\x10\x0f\x12\x12\n\x0eSIGNAL_SIGKILL\x10\t2\x91\x04\n\x07Process\x123\n\x04List\x12\x14.process.ListRequest\x1a\x15.process.ListResponse\x12>\n\x07Connect\x12\x17.process.ConnectRequest\x1a\x18.process.ConnectResponse0\x01\x128\n\x05Start\x12\x15.process.StartRequest\x1a\x16.process.StartResponse0\x01\x129\n\x06Update\x12\x16.process.UpdateRequest\x1a\x17.process.UpdateResponse\x12J\n\x0bStreamInput\x12\x1b.process.StreamInputRequest\x1a\x1c.process.StreamInputResponse(\x01\x12B\n\tSendInput\x12\x19.process.SendInputRequest\x1a\x1a.process.SendInputResponse\x12E\n\nSendSignal\x12\x1a.process.SendSignalRequest\x1a\x1b.process.SendSignalResponse\x12E\n\nCloseStdin\x12\x1a.process.CloseStdinRequest\x1a\x1b.process.CloseStdinResponseBW\n\x0bcom.processB\x0cProcessProtoP\x01\xa2\x02\x03PXX\xaa\x02\x07Process\xca\x02\x07Process\xe2\x02\x13Process\\GPBMetadata\xea\x02\x07Processb\x06proto3',
    [],
    {
        "PTY": PTY,
        "PTY.Size": PTY.Size,
        "ProcessConfig": ProcessConfig,
        "ListRequest": ListRequest,
        "ProcessInfo": ProcessInfo,
        "ListResponse": ListResponse,
        "StartRequest": StartRequest,
        "UpdateRequest": UpdateRequest,
        "UpdateResponse": UpdateResponse,
        "ProcessEvent": ProcessEvent,
        "ProcessEvent.StartEvent": ProcessEvent.StartEvent,
        "ProcessEvent.DataEvent": ProcessEvent.DataEvent,
        "ProcessEvent.EndEvent": ProcessEvent.EndEvent,
        "ProcessEvent.KeepAlive": ProcessEvent.KeepAlive,
        "StartResponse": StartResponse,
        "ConnectResponse": ConnectResponse,
        "SendInputRequest": SendInputRequest,
        "SendInputResponse": SendInputResponse,
        "ProcessInput": ProcessInput,
        "StreamInputRequest": StreamInputRequest,
        "StreamInputRequest.StartEvent": StreamInputRequest.StartEvent,
        "StreamInputRequest.DataEvent": StreamInputRequest.DataEvent,
        "StreamInputRequest.KeepAlive": StreamInputRequest.KeepAlive,
        "StreamInputResponse": StreamInputResponse,
        "SendSignalRequest": SendSignalRequest,
        "SendSignalResponse": SendSignalResponse,
        "CloseStdinRequest": CloseStdinRequest,
        "CloseStdinResponse": CloseStdinResponse,
        "ConnectRequest": ConnectRequest,
        "ProcessSelector": ProcessSelector,
        "Signal": Signal,
    },
)


def desc() -> DescFile:
    """Returns the descriptor for the file `process/process.proto`."""
    return _DESC