65 lines
5.7 KiB
Python
65 lines
5.7 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: times.proto
|
|
# Protobuf Python Version: 6.31.0
|
|
"""Generated protocol buffer code."""
|
|
from google.protobuf import descriptor as _descriptor
|
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
from google.protobuf import runtime_version as _runtime_version
|
|
from google.protobuf import symbol_database as _symbol_database
|
|
from google.protobuf.internal import builder as _builder
|
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
_runtime_version.Domain.PUBLIC,
|
|
6,
|
|
31,
|
|
0,
|
|
'',
|
|
'times.proto'
|
|
)
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
from . import users_pb2 as users__pb2
|
|
from . import maps_embedded_pb2 as maps__embedded__pb2
|
|
from . import bots_pb2 as bots__pb2
|
|
|
|
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0btimes.proto\x12\x05times\x1a\x0busers.proto\x1a\x13maps_embedded.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\"\xe0\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\'\n\x03Map\x18\x04 \x01(\x0b\x32\x1a.maps_embedded.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\"\x1b\n\rIdListMessage\x12\n\n\x02ID\x18\x01 \x03(\x03\"=\n\x08TimeList\x12\"\n\x05Times\x18\x01 \x03(\x0b\x32\x13.times.TimeResponse\x12\r\n\x05Total\x18\x02 \x01(\x03\"6\n\x10RankListResponse\x12\"\n\x05Ranks\x18\x01 \x03(\x0b\x32\x13.times.RankResponse\"(\n\x0cRankResponse\x12\x0c\n\x04Rank\x18\x01 \x01(\x03\x12\n\n\x02ID\x18\x02 \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\"S\n\rWrListRequest\x12!\n\x06\x46ilter\x18\x01 \x01(\x0b\x32\x11.times.TimeFilter\x12\x1f\n\x04Page\x18\x02 \x01(\x0b\x32\x11.times.Pagination\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\x05\x12\x0e\n\x06Number\x18\x02 \x01(\x05\"\x0e\n\x0cNullResponse2\x99\x03\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\x06ListWr\x12\x14.times.WrListRequest\x1a\x0f.times.TimeList\x12-\n\x04Rank\x12\x10.times.IdMessage\x1a\x13.times.RankResponse\x12:\n\tRankBatch\x12\x14.times.IdListMessage\x1a\x17.times.RankListResponseB(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=69
|
|
_globals['_TIMEREQUEST']._serialized_end=310
|
|
_globals['_TIMEFILTER']._serialized_start=313
|
|
_globals['_TIMEFILTER']._serialized_end=565
|
|
_globals['_TIMERESPONSE']._serialized_start=568
|
|
_globals['_TIMERESPONSE']._serialized_end=792
|
|
_globals['_IDMESSAGE']._serialized_start=794
|
|
_globals['_IDMESSAGE']._serialized_end=817
|
|
_globals['_IDLISTMESSAGE']._serialized_start=819
|
|
_globals['_IDLISTMESSAGE']._serialized_end=846
|
|
_globals['_TIMELIST']._serialized_start=848
|
|
_globals['_TIMELIST']._serialized_end=909
|
|
_globals['_RANKLISTRESPONSE']._serialized_start=911
|
|
_globals['_RANKLISTRESPONSE']._serialized_end=965
|
|
_globals['_RANKRESPONSE']._serialized_start=967
|
|
_globals['_RANKRESPONSE']._serialized_end=1007
|
|
_globals['_LISTREQUEST']._serialized_start=1009
|
|
_globals['_LISTREQUEST']._serialized_end=1125
|
|
_globals['_WRLISTREQUEST']._serialized_start=1127
|
|
_globals['_WRLISTREQUEST']._serialized_end=1210
|
|
_globals['_PAGINATION']._serialized_start=1212
|
|
_globals['_PAGINATION']._serialized_end=1254
|
|
_globals['_NULLRESPONSE']._serialized_start=1256
|
|
_globals['_NULLRESPONSE']._serialized_end=1270
|
|
_globals['_TIMESSERVICE']._serialized_start=1273
|
|
_globals['_TIMESSERVICE']._serialized_end=1682
|
|
# @@protoc_insertion_point(module_scope)
|