python-grpc/times_pb2.py

122 lines
7.0 KiB
Python
Raw Normal View History

# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: times.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
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()
import users_pb2 as users__pb2
import maps_pb2 as maps__pb2
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\"f\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\"*\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\x0fZ\rpkg/rpc/timesb\x06proto3')
_TIMEREQUEST = DESCRIPTOR.message_types_by_name['TimeRequest']
_TIMEFILTER = DESCRIPTOR.message_types_by_name['TimeFilter']
_TIMERESPONSE = DESCRIPTOR.message_types_by_name['TimeResponse']
_IDMESSAGE = DESCRIPTOR.message_types_by_name['IdMessage']
_TIMELIST = DESCRIPTOR.message_types_by_name['TimeList']
_RANKRESPONSE = DESCRIPTOR.message_types_by_name['RankResponse']
_LISTREQUEST = DESCRIPTOR.message_types_by_name['ListRequest']
_PAGINATION = DESCRIPTOR.message_types_by_name['Pagination']
_NULLRESPONSE = DESCRIPTOR.message_types_by_name['NullResponse']
TimeRequest = _reflection.GeneratedProtocolMessageType('TimeRequest', (_message.Message,), {
'DESCRIPTOR' : _TIMEREQUEST,
'__module__' : 'times_pb2'
# @@protoc_insertion_point(class_scope:times.TimeRequest)
})
_sym_db.RegisterMessage(TimeRequest)
TimeFilter = _reflection.GeneratedProtocolMessageType('TimeFilter', (_message.Message,), {
'DESCRIPTOR' : _TIMEFILTER,
'__module__' : 'times_pb2'
# @@protoc_insertion_point(class_scope:times.TimeFilter)
})
_sym_db.RegisterMessage(TimeFilter)
TimeResponse = _reflection.GeneratedProtocolMessageType('TimeResponse', (_message.Message,), {
'DESCRIPTOR' : _TIMERESPONSE,
'__module__' : 'times_pb2'
# @@protoc_insertion_point(class_scope:times.TimeResponse)
})
_sym_db.RegisterMessage(TimeResponse)
IdMessage = _reflection.GeneratedProtocolMessageType('IdMessage', (_message.Message,), {
'DESCRIPTOR' : _IDMESSAGE,
'__module__' : 'times_pb2'
# @@protoc_insertion_point(class_scope:times.IdMessage)
})
_sym_db.RegisterMessage(IdMessage)
TimeList = _reflection.GeneratedProtocolMessageType('TimeList', (_message.Message,), {
'DESCRIPTOR' : _TIMELIST,
'__module__' : 'times_pb2'
# @@protoc_insertion_point(class_scope:times.TimeList)
})
_sym_db.RegisterMessage(TimeList)
RankResponse = _reflection.GeneratedProtocolMessageType('RankResponse', (_message.Message,), {
'DESCRIPTOR' : _RANKRESPONSE,
'__module__' : 'times_pb2'
# @@protoc_insertion_point(class_scope:times.RankResponse)
})
_sym_db.RegisterMessage(RankResponse)
ListRequest = _reflection.GeneratedProtocolMessageType('ListRequest', (_message.Message,), {
'DESCRIPTOR' : _LISTREQUEST,
'__module__' : 'times_pb2'
# @@protoc_insertion_point(class_scope:times.ListRequest)
})
_sym_db.RegisterMessage(ListRequest)
Pagination = _reflection.GeneratedProtocolMessageType('Pagination', (_message.Message,), {
'DESCRIPTOR' : _PAGINATION,
'__module__' : 'times_pb2'
# @@protoc_insertion_point(class_scope:times.Pagination)
})
_sym_db.RegisterMessage(Pagination)
NullResponse = _reflection.GeneratedProtocolMessageType('NullResponse', (_message.Message,), {
'DESCRIPTOR' : _NULLRESPONSE,
'__module__' : 'times_pb2'
# @@protoc_insertion_point(class_scope:times.NullResponse)
})
_sym_db.RegisterMessage(NullResponse)
_TIMESSERVICE = DESCRIPTOR.services_by_name['TimesService']
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b'Z\rpkg/rpc/times'
_TIMEREQUEST._serialized_start=60
_TIMEREQUEST._serialized_end=301
_TIMEFILTER._serialized_start=304
_TIMEFILTER._serialized_end=556
_TIMERESPONSE._serialized_start=559
_TIMERESPONSE._serialized_end=774
_IDMESSAGE._serialized_start=776
_IDMESSAGE._serialized_end=799
_TIMELIST._serialized_start=801
_TIMELIST._serialized_end=862
_RANKRESPONSE._serialized_start=864
_RANKRESPONSE._serialized_end=892
_LISTREQUEST._serialized_start=894
_LISTREQUEST._serialized_end=996
_PAGINATION._serialized_start=998
_PAGINATION._serialized_end=1040
_NULLRESPONSE._serialized_start=1042
_NULLRESPONSE._serialized_end=1056
_TIMESSERVICE._serialized_start=1059
_TIMESSERVICE._serialized_end=1359
# @@protoc_insertion_point(module_scope)