"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""

import typing
import builtins
import collections.abc

import google.protobuf.message
import google.protobuf.descriptor
import google.protobuf.internal.containers

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

@typing.final
class HealthCheckRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    def __init__(
        self,
    ) -> None: ...

global___HealthCheckRequest = HealthCheckRequest

@typing.final
class HealthCheckResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    IS_HEALTHY_FIELD_NUMBER: builtins.int
    STATUS_MESSAGE_FIELD_NUMBER: builtins.int
    is_healthy: builtins.bool
    status_message: builtins.str
    def __init__(
        self,
        *,
        is_healthy: builtins.bool = ...,
        status_message: builtins.str = ...,
    ) -> None: ...
    def ClearField(
        self, field_name: typing.Literal["is_healthy", b"is_healthy", "status_message", b"status_message"]
    ) -> None: ...

global___HealthCheckResponse = HealthCheckResponse

@typing.final
class ConfigProcessorsRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    PROCESSORS_FIELD_NUMBER: builtins.int
    @property
    def processors(
        self,
    ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ProcessorConfig]: ...
    def __init__(
        self,
        *,
        processors: collections.abc.Iterable[global___ProcessorConfig] | None = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["processors", b"processors"]) -> None: ...

global___ConfigProcessorsRequest = ConfigProcessorsRequest

@typing.final
class ProcessorConfig(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    @typing.final
    class SettingsEntry(google.protobuf.message.Message):
        DESCRIPTOR: google.protobuf.descriptor.Descriptor

        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 = ...,
        ) -> None: ...
        def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...

    NAME_FIELD_NUMBER: builtins.int
    SETTINGS_FIELD_NUMBER: builtins.int
    name: builtins.str
    """e.g. "frame_rate", "resolution" """
    @property
    def settings(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
        """e.g. {"fps": "5"}"""

    def __init__(
        self,
        *,
        name: builtins.str = ...,
        settings: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["name", b"name", "settings", b"settings"]) -> None: ...

global___ProcessorConfig = ProcessorConfig

@typing.final
class ConfigProcessorsResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    SUCCESS_FIELD_NUMBER: builtins.int
    ERROR_MESSAGE_FIELD_NUMBER: builtins.int
    success: builtins.bool
    error_message: builtins.str
    def __init__(
        self,
        *,
        success: builtins.bool = ...,
        error_message: builtins.str = ...,
    ) -> None: ...
    def ClearField(
        self, field_name: typing.Literal["error_message", b"error_message", "success", b"success"]
    ) -> None: ...

global___ConfigProcessorsResponse = ConfigProcessorsResponse

@typing.final
class ProcessFrameRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    TARGET_FRAME_FIELD_NUMBER: builtins.int
    target_frame: builtins.bytes
    def __init__(
        self,
        *,
        target_frame: builtins.bytes = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["target_frame", b"target_frame"]) -> None: ...

global___ProcessFrameRequest = ProcessFrameRequest

@typing.final
class ProcessFrameResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    SUCCESS_FIELD_NUMBER: builtins.int
    PROCESSED_FRAME_FIELD_NUMBER: builtins.int
    ERROR_MESSAGE_FIELD_NUMBER: builtins.int
    success: builtins.bool
    processed_frame: builtins.bytes
    error_message: builtins.str
    def __init__(
        self,
        *,
        success: builtins.bool = ...,
        processed_frame: builtins.bytes | None = ...,
        error_message: builtins.str = ...,
    ) -> None: ...
    def HasField(
        self, field_name: typing.Literal["_processed_frame", b"_processed_frame", "processed_frame", b"processed_frame"]
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing.Literal[
            "_processed_frame",
            b"_processed_frame",
            "error_message",
            b"error_message",
            "processed_frame",
            b"processed_frame",
            "success",
            b"success",
        ],
    ) -> None: ...
    def WhichOneof(
        self, oneof_group: typing.Literal["_processed_frame", b"_processed_frame"]
    ) -> typing.Literal["processed_frame"] | None: ...

global___ProcessFrameResponse = ProcessFrameResponse
