# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: tennis_new_library/tennis_new.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
from th2_grpc_common import common_pb2 as th2__grpc__common_dot_common__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='tennis_new_library/tennis_new.proto',
  package='alexander.oniani.tennis_new',
  syntax='proto3',
  serialized_options=b'\n\033alexander.oniani.tennis_newP\001',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n#tennis_new_library/tennis_new.proto\x12\x1b\x61lexander.oniani.tennis_new\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cth2_grpc_common/common.proto\"\\\n\nBestPlayer\x12\x33\n\x06player\x18\x01 \x01(\x0b\x32#.alexander.oniani.tennis_new.Player\x12\x19\n\x07message\x18\x02 \x01(\x0b\x32\x08.Message\"\xdb\x01\n\x05Match\x12\x34\n\x07player1\x18\x01 \x01(\x0b\x32#.alexander.oniani.tennis_new.Player\x12\x34\n\x07player2\x18\x02 \x01(\x0b\x32#.alexander.oniani.tennis_new.Player\x12\x32\n\x06score1\x18\x03 \x01(\x0b\x32\".alexander.oniani.tennis_new.Score\x12\x32\n\x06score2\x18\x04 \x01(\x0b\x32\".alexander.oniani.tennis_new.Score\"A\n\nTournament\x12\x33\n\x07matches\x18\x01 \x03(\x0b\x32\".alexander.oniani.tennis_new.Match\"w\n\x05Score\x12\x0c\n\x04set1\x18\x01 \x01(\x05\x12\x0c\n\x04set2\x18\x02 \x01(\x05\x12\x0c\n\x04set3\x18\x03 \x01(\x05\x12\x0f\n\x07winners\x18\x04 \x01(\x05\x12\x0e\n\x06\x65rrors\x18\x05 \x01(\x05\x12\x0c\n\x04\x61\x63\x65s\x18\x06 \x01(\x05\x12\x15\n\rdouble_faults\x18\x07 \x01(\x05\"b\n\x06Player\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07surname\x18\x02 \x01(\t\x12\x0e\n\x06titles\x18\x03 \x01(\x05\x12\x0e\n\x06rating\x18\x04 \x01(\x05\x12\x0b\n\x03\x61ge\x18\x05 \x01(\x05\x12\x0c\n\x04wins\x18\x06 \x01(\x05\x32\xd3\x03\n\tMatchInfo\x12=\n\x0bMatchResult\x12\".alexander.oniani.tennis_new.Match\x1a\x08.Message\"\x00\x12\x61\n\x0bMostWinners\x12\'.alexander.oniani.tennis_new.Tournament\x1a\'.alexander.oniani.tennis_new.BestPlayer\"\x00\x12`\n\nMostErrors\x12\'.alexander.oniani.tennis_new.Tournament\x1a\'.alexander.oniani.tennis_new.BestPlayer\"\x00\x12^\n\x08MostAces\x12\'.alexander.oniani.tennis_new.Tournament\x1a\'.alexander.oniani.tennis_new.BestPlayer\"\x00\x12\x62\n\x0cMostGamesWon\x12\'.alexander.oniani.tennis_new.Tournament\x1a\'.alexander.oniani.tennis_new.BestPlayer\"\x00\x42\x1f\n\x1b\x61lexander.oniani.tennis_newP\x01\x62\x06proto3'
  ,
  dependencies=[google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,th2__grpc__common_dot_common__pb2.DESCRIPTOR,])




_BESTPLAYER = _descriptor.Descriptor(
  name='BestPlayer',
  full_name='alexander.oniani.tennis_new.BestPlayer',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='player', full_name='alexander.oniani.tennis_new.BestPlayer.player', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='message', full_name='alexander.oniani.tennis_new.BestPlayer.message', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=195,
  serialized_end=287,
)


_MATCH = _descriptor.Descriptor(
  name='Match',
  full_name='alexander.oniani.tennis_new.Match',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='player1', full_name='alexander.oniani.tennis_new.Match.player1', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='player2', full_name='alexander.oniani.tennis_new.Match.player2', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='score1', full_name='alexander.oniani.tennis_new.Match.score1', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='score2', full_name='alexander.oniani.tennis_new.Match.score2', index=3,
      number=4, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=290,
  serialized_end=509,
)


_TOURNAMENT = _descriptor.Descriptor(
  name='Tournament',
  full_name='alexander.oniani.tennis_new.Tournament',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='matches', full_name='alexander.oniani.tennis_new.Tournament.matches', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=511,
  serialized_end=576,
)


_SCORE = _descriptor.Descriptor(
  name='Score',
  full_name='alexander.oniani.tennis_new.Score',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='set1', full_name='alexander.oniani.tennis_new.Score.set1', index=0,
      number=1, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='set2', full_name='alexander.oniani.tennis_new.Score.set2', index=1,
      number=2, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='set3', full_name='alexander.oniani.tennis_new.Score.set3', index=2,
      number=3, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='winners', full_name='alexander.oniani.tennis_new.Score.winners', index=3,
      number=4, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='errors', full_name='alexander.oniani.tennis_new.Score.errors', index=4,
      number=5, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='aces', full_name='alexander.oniani.tennis_new.Score.aces', index=5,
      number=6, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='double_faults', full_name='alexander.oniani.tennis_new.Score.double_faults', index=6,
      number=7, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=578,
  serialized_end=697,
)


_PLAYER = _descriptor.Descriptor(
  name='Player',
  full_name='alexander.oniani.tennis_new.Player',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='alexander.oniani.tennis_new.Player.name', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='surname', full_name='alexander.oniani.tennis_new.Player.surname', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='titles', full_name='alexander.oniani.tennis_new.Player.titles', index=2,
      number=3, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='rating', full_name='alexander.oniani.tennis_new.Player.rating', index=3,
      number=4, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='age', full_name='alexander.oniani.tennis_new.Player.age', index=4,
      number=5, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='wins', full_name='alexander.oniani.tennis_new.Player.wins', index=5,
      number=6, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=699,
  serialized_end=797,
)

_BESTPLAYER.fields_by_name['player'].message_type = _PLAYER
_BESTPLAYER.fields_by_name['message'].message_type = th2__grpc__common_dot_common__pb2._MESSAGE
_MATCH.fields_by_name['player1'].message_type = _PLAYER
_MATCH.fields_by_name['player2'].message_type = _PLAYER
_MATCH.fields_by_name['score1'].message_type = _SCORE
_MATCH.fields_by_name['score2'].message_type = _SCORE
_TOURNAMENT.fields_by_name['matches'].message_type = _MATCH
DESCRIPTOR.message_types_by_name['BestPlayer'] = _BESTPLAYER
DESCRIPTOR.message_types_by_name['Match'] = _MATCH
DESCRIPTOR.message_types_by_name['Tournament'] = _TOURNAMENT
DESCRIPTOR.message_types_by_name['Score'] = _SCORE
DESCRIPTOR.message_types_by_name['Player'] = _PLAYER
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

BestPlayer = _reflection.GeneratedProtocolMessageType('BestPlayer', (_message.Message,), {
  'DESCRIPTOR' : _BESTPLAYER,
  '__module__' : 'tennis_new_library.tennis_new_pb2'
  # @@protoc_insertion_point(class_scope:alexander.oniani.tennis_new.BestPlayer)
  })
_sym_db.RegisterMessage(BestPlayer)

Match = _reflection.GeneratedProtocolMessageType('Match', (_message.Message,), {
  'DESCRIPTOR' : _MATCH,
  '__module__' : 'tennis_new_library.tennis_new_pb2'
  # @@protoc_insertion_point(class_scope:alexander.oniani.tennis_new.Match)
  })
_sym_db.RegisterMessage(Match)

Tournament = _reflection.GeneratedProtocolMessageType('Tournament', (_message.Message,), {
  'DESCRIPTOR' : _TOURNAMENT,
  '__module__' : 'tennis_new_library.tennis_new_pb2'
  # @@protoc_insertion_point(class_scope:alexander.oniani.tennis_new.Tournament)
  })
_sym_db.RegisterMessage(Tournament)

Score = _reflection.GeneratedProtocolMessageType('Score', (_message.Message,), {
  'DESCRIPTOR' : _SCORE,
  '__module__' : 'tennis_new_library.tennis_new_pb2'
  # @@protoc_insertion_point(class_scope:alexander.oniani.tennis_new.Score)
  })
_sym_db.RegisterMessage(Score)

Player = _reflection.GeneratedProtocolMessageType('Player', (_message.Message,), {
  'DESCRIPTOR' : _PLAYER,
  '__module__' : 'tennis_new_library.tennis_new_pb2'
  # @@protoc_insertion_point(class_scope:alexander.oniani.tennis_new.Player)
  })
_sym_db.RegisterMessage(Player)


DESCRIPTOR._options = None

_MATCHINFO = _descriptor.ServiceDescriptor(
  name='MatchInfo',
  full_name='alexander.oniani.tennis_new.MatchInfo',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=800,
  serialized_end=1267,
  methods=[
  _descriptor.MethodDescriptor(
    name='MatchResult',
    full_name='alexander.oniani.tennis_new.MatchInfo.MatchResult',
    index=0,
    containing_service=None,
    input_type=_MATCH,
    output_type=th2__grpc__common_dot_common__pb2._MESSAGE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='MostWinners',
    full_name='alexander.oniani.tennis_new.MatchInfo.MostWinners',
    index=1,
    containing_service=None,
    input_type=_TOURNAMENT,
    output_type=_BESTPLAYER,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='MostErrors',
    full_name='alexander.oniani.tennis_new.MatchInfo.MostErrors',
    index=2,
    containing_service=None,
    input_type=_TOURNAMENT,
    output_type=_BESTPLAYER,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='MostAces',
    full_name='alexander.oniani.tennis_new.MatchInfo.MostAces',
    index=3,
    containing_service=None,
    input_type=_TOURNAMENT,
    output_type=_BESTPLAYER,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='MostGamesWon',
    full_name='alexander.oniani.tennis_new.MatchInfo.MostGamesWon',
    index=4,
    containing_service=None,
    input_type=_TOURNAMENT,
    output_type=_BESTPLAYER,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_MATCHINFO)

DESCRIPTOR.services_by_name['MatchInfo'] = _MATCHINFO

# @@protoc_insertion_point(module_scope)
