from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from collections.abc import Mapping as _Mapping
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union

DESCRIPTOR: _descriptor.FileDescriptor

class GRPCServerConfig(_message.Message):
    __slots__ = ("host", "port", "enable_reflection", "id")
    HOST_FIELD_NUMBER: _ClassVar[int]
    PORT_FIELD_NUMBER: _ClassVar[int]
    ENABLE_REFLECTION_FIELD_NUMBER: _ClassVar[int]
    ID_FIELD_NUMBER: _ClassVar[int]
    host: str
    port: str
    enable_reflection: bool
    id: str
    def __init__(self, host: _Optional[str] = ..., port: _Optional[str] = ..., enable_reflection: _Optional[bool] = ..., id: _Optional[str] = ...) -> None: ...

class GRPCServerRootConfig(_message.Message):
    __slots__ = ("grpc_server",)
    GRPC_SERVER_FIELD_NUMBER: _ClassVar[int]
    grpc_server: GRPCServerConfig
    def __init__(self, grpc_server: _Optional[_Union[GRPCServerConfig, _Mapping]] = ...) -> None: ...
