# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: times.proto # Protobuf Python Version: 5.26.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from . import users_pb2 as users__pb2 from . import maps_pb2 as maps__pb2 from . import bots_pb2 as bots__pb2 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0btimes.proto\x12\x05times\x1a\x0busers.proto\x1a\nmaps.proto\x1a\nbots.proto\"\xf1\x01\n\x0bTimeRequest\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\x11\n\x04Time\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x13\n\x06UserID\x18\x03 \x01(\x03H\x01\x88\x01\x01\x12\x12\n\x05MapID\x18\x04 \x01(\x03H\x02\x88\x01\x01\x12\x11\n\x04\x44\x61te\x18\x05 \x01(\x03H\x03\x88\x01\x01\x12\x14\n\x07StyleID\x18\x06 \x01(\x05H\x04\x88\x01\x01\x12\x13\n\x06ModeID\x18\x07 \x01(\x05H\x05\x88\x01\x01\x12\x13\n\x06GameID\x18\x08 \x01(\x05H\x06\x88\x01\x01\x42\x07\n\x05_TimeB\t\n\x07_UserIDB\x08\n\x06_MapIDB\x07\n\x05_DateB\n\n\x08_StyleIDB\t\n\x07_ModeIDB\t\n\x07_GameID\"\xfc\x01\n\nTimeFilter\x12\x0f\n\x02ID\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x11\n\x04Time\x18\x02 \x01(\x03H\x01\x88\x01\x01\x12\x13\n\x06UserID\x18\x03 \x01(\x03H\x02\x88\x01\x01\x12\x12\n\x05MapID\x18\x04 \x01(\x03H\x03\x88\x01\x01\x12\x11\n\x04\x44\x61te\x18\x05 \x01(\x03H\x04\x88\x01\x01\x12\x14\n\x07StyleID\x18\x06 \x01(\x05H\x05\x88\x01\x01\x12\x13\n\x06ModeID\x18\x07 \x01(\x05H\x06\x88\x01\x01\x12\x13\n\x06GameID\x18\x08 \x01(\x05H\x07\x88\x01\x01\x42\x05\n\x03_IDB\x07\n\x05_TimeB\t\n\x07_UserIDB\x08\n\x06_MapIDB\x07\n\x05_DateB\n\n\x08_StyleIDB\t\n\x07_ModeIDB\t\n\x07_GameID\"\xd7\x01\n\x0cTimeResponse\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\x0c\n\x04Time\x18\x02 \x01(\x03\x12!\n\x04User\x18\x03 \x01(\x0b\x32\x13.users.UserResponse\x12\x1e\n\x03Map\x18\x04 \x01(\x0b\x32\x11.maps.MapResponse\x12#\n\x03\x42ot\x18\x05 \x01(\x0b\x32\x11.bots.BotResponseH\x00\x88\x01\x01\x12\x0c\n\x04\x44\x61te\x18\x06 \x01(\x03\x12\x0f\n\x07StyleID\x18\x07 \x01(\x05\x12\x0e\n\x06ModeID\x18\x08 \x01(\x05\x12\x0e\n\x06GameID\x18\t \x01(\x05\x42\x06\n\x04_Bot\"\x17\n\tIdMessage\x12\n\n\x02ID\x18\x01 \x01(\x03\"=\n\x08TimeList\x12\"\n\x05Times\x18\x01 \x03(\x0b\x32\x13.times.TimeResponse\x12\r\n\x05Total\x18\x02 \x01(\x03\"\x1c\n\x0cRankResponse\x12\x0c\n\x04Rank\x18\x01 \x01(\x03\"t\n\x0bListRequest\x12!\n\x06\x46ilter\x18\x01 \x01(\x0b\x32\x11.times.TimeFilter\x12\x13\n\x0b\x42lacklisted\x18\x02 \x01(\x08\x12\x1f\n\x04Page\x18\x03 \x01(\x0b\x32\x11.times.Pagination\x12\x0c\n\x04Sort\x18\x04 \x01(\r\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\x05\x12\x0e\n\x06Number\x18\x02 \x01(\x05\"\x0e\n\x0cNullResponse2\xac\x02\n\x0cTimesService\x12.\n\x06\x43reate\x12\x12.times.TimeRequest\x1a\x10.times.IdMessage\x12\x31\n\x06Update\x12\x12.times.TimeRequest\x1a\x13.times.NullResponse\x12/\n\x06\x44\x65lete\x12\x10.times.IdMessage\x1a\x13.times.NullResponse\x12,\n\x03Get\x12\x10.times.IdMessage\x1a\x13.times.TimeResponse\x12+\n\x04List\x12\x12.times.ListRequest\x1a\x0f.times.TimeList\x12-\n\x04Rank\x12\x10.times.IdMessage\x1a\x13.times.RankResponseB(Z&git.itzana.me/strafesnet/go-grpc/timesb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'times_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'Z&git.itzana.me/strafesnet/go-grpc/times' _globals['_TIMEREQUEST']._serialized_start=60 _globals['_TIMEREQUEST']._serialized_end=301 _globals['_TIMEFILTER']._serialized_start=304 _globals['_TIMEFILTER']._serialized_end=556 _globals['_TIMERESPONSE']._serialized_start=559 _globals['_TIMERESPONSE']._serialized_end=774 _globals['_IDMESSAGE']._serialized_start=776 _globals['_IDMESSAGE']._serialized_end=799 _globals['_TIMELIST']._serialized_start=801 _globals['_TIMELIST']._serialized_end=862 _globals['_RANKRESPONSE']._serialized_start=864 _globals['_RANKRESPONSE']._serialized_end=892 _globals['_LISTREQUEST']._serialized_start=894 _globals['_LISTREQUEST']._serialized_end=1010 _globals['_PAGINATION']._serialized_start=1012 _globals['_PAGINATION']._serialized_end=1054 _globals['_NULLRESPONSE']._serialized_start=1056 _globals['_NULLRESPONSE']._serialized_end=1070 _globals['_TIMESSERVICE']._serialized_start=1073 _globals['_TIMESSERVICE']._serialized_end=1373 # @@protoc_insertion_point(module_scope)