"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
import builtins
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.message
import th2_grpc_common.common_pb2
import typing
import typing_extensions

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...

class BestPlayer(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    PLAYER_FIELD_NUMBER: builtins.int
    MESSAGE_FIELD_NUMBER: builtins.int

    @property
    def player(self) -> global___Player: ...

    @property
    def message(self) -> th2_grpc_common.common_pb2.Message: ...

    def __init__(self,
        *,
        player : typing.Optional[global___Player] = ...,
        message : typing.Optional[th2_grpc_common.common_pb2.Message] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal[u"message",b"message",u"player",b"player"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"message",b"message",u"player",b"player"]) -> None: ...
global___BestPlayer = BestPlayer

class Match(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    PLAYER1_FIELD_NUMBER: builtins.int
    PLAYER2_FIELD_NUMBER: builtins.int
    SCORE1_FIELD_NUMBER: builtins.int
    SCORE2_FIELD_NUMBER: builtins.int

    @property
    def player1(self) -> global___Player: ...

    @property
    def player2(self) -> global___Player: ...

    @property
    def score1(self) -> global___Score: ...

    @property
    def score2(self) -> global___Score: ...

    def __init__(self,
        *,
        player1 : typing.Optional[global___Player] = ...,
        player2 : typing.Optional[global___Player] = ...,
        score1 : typing.Optional[global___Score] = ...,
        score2 : typing.Optional[global___Score] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal[u"player1",b"player1",u"player2",b"player2",u"score1",b"score1",u"score2",b"score2"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"player1",b"player1",u"player2",b"player2",u"score1",b"score1",u"score2",b"score2"]) -> None: ...
global___Match = Match

class Tournament(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    MATCHES_FIELD_NUMBER: builtins.int

    @property
    def matches(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Match]: ...

    def __init__(self,
        *,
        matches : typing.Optional[typing.Iterable[global___Match]] = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"matches",b"matches"]) -> None: ...
global___Tournament = Tournament

class Score(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    SET1_FIELD_NUMBER: builtins.int
    SET2_FIELD_NUMBER: builtins.int
    SET3_FIELD_NUMBER: builtins.int
    WINNERS_FIELD_NUMBER: builtins.int
    ERRORS_FIELD_NUMBER: builtins.int
    ACES_FIELD_NUMBER: builtins.int
    DOUBLE_FAULTS_FIELD_NUMBER: builtins.int
    set1: builtins.int = ...
    set2: builtins.int = ...
    set3: builtins.int = ...
    winners: builtins.int = ...
    errors: builtins.int = ...
    aces: builtins.int = ...
    double_faults: builtins.int = ...

    def __init__(self,
        *,
        set1 : builtins.int = ...,
        set2 : builtins.int = ...,
        set3 : builtins.int = ...,
        winners : builtins.int = ...,
        errors : builtins.int = ...,
        aces : builtins.int = ...,
        double_faults : builtins.int = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"aces",b"aces",u"double_faults",b"double_faults",u"errors",b"errors",u"set1",b"set1",u"set2",b"set2",u"set3",b"set3",u"winners",b"winners"]) -> None: ...
global___Score = Score

class Player(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    NAME_FIELD_NUMBER: builtins.int
    SURNAME_FIELD_NUMBER: builtins.int
    TITLES_FIELD_NUMBER: builtins.int
    RATING_FIELD_NUMBER: builtins.int
    AGE_FIELD_NUMBER: builtins.int
    WINS_FIELD_NUMBER: builtins.int
    name: typing.Text = ...
    surname: typing.Text = ...
    titles: builtins.int = ...
    rating: builtins.int = ...
    age: builtins.int = ...
    wins: builtins.int = ...

    def __init__(self,
        *,
        name : typing.Text = ...,
        surname : typing.Text = ...,
        titles : builtins.int = ...,
        rating : builtins.int = ...,
        age : builtins.int = ...,
        wins : builtins.int = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"age",b"age",u"name",b"name",u"rating",b"rating",u"surname",b"surname",u"titles",b"titles",u"wins",b"wins"]) -> None: ...
global___Player = Player
