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

import builtins
import collections.abc
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.message
import sys
import typing

if sys.version_info >= (3, 10):
    import typing as typing_extensions
else:
    import typing_extensions

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

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

    NAME_FIELD_NUMBER: builtins.int
    IPADDRESS_FIELD_NUMBER: builtins.int
    PORT_FIELD_NUMBER: builtins.int
    Name: builtins.str
    IpAddress: builtins.str
    Port: builtins.int
    def __init__(
        self,
        *,
        Name: builtins.str = ...,
        IpAddress: builtins.str = ...,
        Port: builtins.int = ...,
    ) -> None: ...
    def ClearField(
        self,
        field_name: typing.Literal[
            "IpAddress", b"IpAddress", "Name", b"Name", "Port", b"Port"
        ],
    ) -> None: ...

Global___Peer: typing_extensions.TypeAlias = Peer

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

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

Global___GetPeersRequest: typing_extensions.TypeAlias = GetPeersRequest

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

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

Global___GetPeersResponse: typing_extensions.TypeAlias = GetPeersResponse
