Autogenerated update for 3b8af798d4...c198e9f003

This commit is contained in:
itzaname 2022-10-29 04:45:34 +00:00
parent b215668595
commit 264fb34a79
18 changed files with 43 additions and 637 deletions

View File

@ -2,10 +2,9 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: bots.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
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)
@ -16,73 +15,8 @@ _sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nbots.proto\x12\x04\x62ots\"\x14\n\x06IdList\x12\n\n\x02ID\x18\x01 \x03(\x03\"\x17\n\tIdMessage\x12\n\n\x02ID\x18\x01 \x01(\x03\"G\n\x0b\x42otResponse\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\x0e\n\x06TimeID\x18\x02 \x01(\x03\x12\x0c\n\x04\x44\x61te\x18\x03 \x01(\x03\x12\x0e\n\x06\x46ileID\x18\x04 \x01(\t\"t\n\nBotRequest\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\x13\n\x06TimeID\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x11\n\x04\x44\x61te\x18\x03 \x01(\x03H\x01\x88\x01\x01\x12\x13\n\x06\x46ileID\x18\x04 \x01(\tH\x02\x88\x01\x01\x42\t\n\x07_TimeIDB\x07\n\x05_DateB\t\n\x07_FileID\"*\n\x07\x42otList\x12\x1f\n\x04\x42ots\x18\x01 \x03(\x0b\x32\x11.bots.BotResponse\"O\n\x0bListRequest\x12 \n\x06\x46ilter\x18\x01 \x01(\x0b\x32\x10.bots.BotRequest\x12\x1e\n\x04Page\x18\x02 \x01(\x0b\x32\x10.bots.Pagination\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\x05\x12\x0e\n\x06Number\x18\x02 \x01(\x05\"\x0e\n\x0cNullResponse2\x96\x02\n\x0b\x42otsService\x12)\n\x03Get\x12\x0f.bots.IdMessage\x1a\x11.bots.BotResponse\x12&\n\x07GetList\x12\x0c.bots.IdList\x1a\r.bots.BotList\x12.\n\x06Update\x12\x10.bots.BotRequest\x1a\x12.bots.NullResponse\x12+\n\x06\x43reate\x12\x10.bots.BotRequest\x1a\x0f.bots.IdMessage\x12-\n\x06\x44\x65lete\x12\x0f.bots.IdMessage\x1a\x12.bots.NullResponse\x12(\n\x04List\x12\x11.bots.ListRequest\x1a\r.bots.BotListB\'Z%git.itzana.me/strafesnet/go-grpc/botsb\x06proto3')
_IDLIST = DESCRIPTOR.message_types_by_name['IdList']
_IDMESSAGE = DESCRIPTOR.message_types_by_name['IdMessage']
_BOTRESPONSE = DESCRIPTOR.message_types_by_name['BotResponse']
_BOTREQUEST = DESCRIPTOR.message_types_by_name['BotRequest']
_BOTLIST = DESCRIPTOR.message_types_by_name['BotList']
_LISTREQUEST = DESCRIPTOR.message_types_by_name['ListRequest']
_PAGINATION = DESCRIPTOR.message_types_by_name['Pagination']
_NULLRESPONSE = DESCRIPTOR.message_types_by_name['NullResponse']
IdList = _reflection.GeneratedProtocolMessageType('IdList', (_message.Message,), {
'DESCRIPTOR' : _IDLIST,
'__module__' : 'bots_pb2'
# @@protoc_insertion_point(class_scope:bots.IdList)
})
_sym_db.RegisterMessage(IdList)
IdMessage = _reflection.GeneratedProtocolMessageType('IdMessage', (_message.Message,), {
'DESCRIPTOR' : _IDMESSAGE,
'__module__' : 'bots_pb2'
# @@protoc_insertion_point(class_scope:bots.IdMessage)
})
_sym_db.RegisterMessage(IdMessage)
BotResponse = _reflection.GeneratedProtocolMessageType('BotResponse', (_message.Message,), {
'DESCRIPTOR' : _BOTRESPONSE,
'__module__' : 'bots_pb2'
# @@protoc_insertion_point(class_scope:bots.BotResponse)
})
_sym_db.RegisterMessage(BotResponse)
BotRequest = _reflection.GeneratedProtocolMessageType('BotRequest', (_message.Message,), {
'DESCRIPTOR' : _BOTREQUEST,
'__module__' : 'bots_pb2'
# @@protoc_insertion_point(class_scope:bots.BotRequest)
})
_sym_db.RegisterMessage(BotRequest)
BotList = _reflection.GeneratedProtocolMessageType('BotList', (_message.Message,), {
'DESCRIPTOR' : _BOTLIST,
'__module__' : 'bots_pb2'
# @@protoc_insertion_point(class_scope:bots.BotList)
})
_sym_db.RegisterMessage(BotList)
ListRequest = _reflection.GeneratedProtocolMessageType('ListRequest', (_message.Message,), {
'DESCRIPTOR' : _LISTREQUEST,
'__module__' : 'bots_pb2'
# @@protoc_insertion_point(class_scope:bots.ListRequest)
})
_sym_db.RegisterMessage(ListRequest)
Pagination = _reflection.GeneratedProtocolMessageType('Pagination', (_message.Message,), {
'DESCRIPTOR' : _PAGINATION,
'__module__' : 'bots_pb2'
# @@protoc_insertion_point(class_scope:bots.Pagination)
})
_sym_db.RegisterMessage(Pagination)
NullResponse = _reflection.GeneratedProtocolMessageType('NullResponse', (_message.Message,), {
'DESCRIPTOR' : _NULLRESPONSE,
'__module__' : 'bots_pb2'
# @@protoc_insertion_point(class_scope:bots.NullResponse)
})
_sym_db.RegisterMessage(NullResponse)
_BOTSSERVICE = DESCRIPTOR.services_by_name['BotsService']
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'bots_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None

View File

@ -2,7 +2,7 @@
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from . import bots_pb2 as bots__pb2
import bots_pb2 as bots__pb2
class BotsServiceStub(object):

View File

@ -2,10 +2,9 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: datastore.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
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)
@ -17,41 +16,8 @@ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0f\x64\x61tastore.proto\x12\tdatastore\x1a\x1cgoogle/protobuf/struct.proto\"\x19\n\nKeyMessage\x12\x0b\n\x03Key\x18\x01 \x01(\t\"p\n\rUpdateMessage\x12\x0b\n\x03Key\x18\x01 \x01(\t\x12(\n\x07Updates\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12(\n\x07\x44\x65letes\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\"D\n\x0eObjectResponse\x12\x0b\n\x03Key\x18\x01 \x01(\t\x12%\n\x04\x44\x61ta\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x0e\n\x0cNullResponse2\xc4\x01\n\x10\x44\x61tastoreService\x12\x37\n\x03Get\x12\x15.datastore.KeyMessage\x1a\x19.datastore.ObjectResponse\x12=\n\x06Update\x12\x18.datastore.UpdateMessage\x1a\x19.datastore.ObjectResponse\x12\x38\n\x06\x44\x65lete\x12\x15.datastore.KeyMessage\x1a\x17.datastore.NullResponseB,Z*git.itzana.me/strafesnet/go-grpc/datastoreb\x06proto3')
_KEYMESSAGE = DESCRIPTOR.message_types_by_name['KeyMessage']
_UPDATEMESSAGE = DESCRIPTOR.message_types_by_name['UpdateMessage']
_OBJECTRESPONSE = DESCRIPTOR.message_types_by_name['ObjectResponse']
_NULLRESPONSE = DESCRIPTOR.message_types_by_name['NullResponse']
KeyMessage = _reflection.GeneratedProtocolMessageType('KeyMessage', (_message.Message,), {
'DESCRIPTOR' : _KEYMESSAGE,
'__module__' : 'datastore_pb2'
# @@protoc_insertion_point(class_scope:datastore.KeyMessage)
})
_sym_db.RegisterMessage(KeyMessage)
UpdateMessage = _reflection.GeneratedProtocolMessageType('UpdateMessage', (_message.Message,), {
'DESCRIPTOR' : _UPDATEMESSAGE,
'__module__' : 'datastore_pb2'
# @@protoc_insertion_point(class_scope:datastore.UpdateMessage)
})
_sym_db.RegisterMessage(UpdateMessage)
ObjectResponse = _reflection.GeneratedProtocolMessageType('ObjectResponse', (_message.Message,), {
'DESCRIPTOR' : _OBJECTRESPONSE,
'__module__' : 'datastore_pb2'
# @@protoc_insertion_point(class_scope:datastore.ObjectResponse)
})
_sym_db.RegisterMessage(ObjectResponse)
NullResponse = _reflection.GeneratedProtocolMessageType('NullResponse', (_message.Message,), {
'DESCRIPTOR' : _NULLRESPONSE,
'__module__' : 'datastore_pb2'
# @@protoc_insertion_point(class_scope:datastore.NullResponse)
})
_sym_db.RegisterMessage(NullResponse)
_DATASTORESERVICE = DESCRIPTOR.services_by_name['DatastoreService']
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'datastore_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None

View File

@ -2,7 +2,7 @@
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from . import datastore_pb2 as datastore__pb2
import datastore_pb2 as datastore__pb2
class DatastoreServiceStub(object):

View File

@ -2,10 +2,9 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: events.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
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)
@ -17,57 +16,8 @@ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0c\x65vents.proto\x12\x06\x65vents\x1a\x1cgoogle/protobuf/struct.proto\"q\n\x0b\x45ventCreate\x12\r\n\x05\x45vent\x18\x01 \x01(\t\x12\x0e\n\x06Server\x18\x02 \x01(\t\x12\x0e\n\x06GameID\x18\x03 \x01(\x05\x12\x0c\n\x04\x44\x61te\x18\x04 \x01(\x03\x12%\n\x04\x44\x61ta\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\"{\n\tEventItem\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\r\n\x05\x45vent\x18\x02 \x01(\t\x12\x0e\n\x06Server\x18\x03 \x01(\t\x12\x0e\n\x06GameID\x18\x04 \x01(\x05\x12\x0c\n\x04\x44\x61te\x18\x05 \x01(\x03\x12%\n\x04\x44\x61ta\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\"Q\n\rLatestRequest\x12\x13\n\x06LastID\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12 \n\x04Page\x18\x02 \x01(\x0b\x32\x12.events.PaginationB\t\n\x07_LastID\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\x05\x12\x0e\n\x06Number\x18\x02 \x01(\x05\"3\n\x0eLatestResponse\x12!\n\x06\x45vents\x18\x01 \x03(\x0b\x32\x11.events.EventItem\"\x0e\n\x0cNullResponse2\xb2\x01\n\rEventsService\x12\x37\n\x06Latest\x12\x15.events.LatestRequest\x1a\x16.events.LatestResponse\x12\x33\n\x06\x43reate\x12\x13.events.EventCreate\x1a\x14.events.NullResponse\x12\x33\n\x05\x43lean\x12\x14.events.NullResponse\x1a\x14.events.NullResponseB)Z\'git.itzana.me/strafesnet/go-grpc/eventsb\x06proto3')
_EVENTCREATE = DESCRIPTOR.message_types_by_name['EventCreate']
_EVENTITEM = DESCRIPTOR.message_types_by_name['EventItem']
_LATESTREQUEST = DESCRIPTOR.message_types_by_name['LatestRequest']
_PAGINATION = DESCRIPTOR.message_types_by_name['Pagination']
_LATESTRESPONSE = DESCRIPTOR.message_types_by_name['LatestResponse']
_NULLRESPONSE = DESCRIPTOR.message_types_by_name['NullResponse']
EventCreate = _reflection.GeneratedProtocolMessageType('EventCreate', (_message.Message,), {
'DESCRIPTOR' : _EVENTCREATE,
'__module__' : 'events_pb2'
# @@protoc_insertion_point(class_scope:events.EventCreate)
})
_sym_db.RegisterMessage(EventCreate)
EventItem = _reflection.GeneratedProtocolMessageType('EventItem', (_message.Message,), {
'DESCRIPTOR' : _EVENTITEM,
'__module__' : 'events_pb2'
# @@protoc_insertion_point(class_scope:events.EventItem)
})
_sym_db.RegisterMessage(EventItem)
LatestRequest = _reflection.GeneratedProtocolMessageType('LatestRequest', (_message.Message,), {
'DESCRIPTOR' : _LATESTREQUEST,
'__module__' : 'events_pb2'
# @@protoc_insertion_point(class_scope:events.LatestRequest)
})
_sym_db.RegisterMessage(LatestRequest)
Pagination = _reflection.GeneratedProtocolMessageType('Pagination', (_message.Message,), {
'DESCRIPTOR' : _PAGINATION,
'__module__' : 'events_pb2'
# @@protoc_insertion_point(class_scope:events.Pagination)
})
_sym_db.RegisterMessage(Pagination)
LatestResponse = _reflection.GeneratedProtocolMessageType('LatestResponse', (_message.Message,), {
'DESCRIPTOR' : _LATESTRESPONSE,
'__module__' : 'events_pb2'
# @@protoc_insertion_point(class_scope:events.LatestResponse)
})
_sym_db.RegisterMessage(LatestResponse)
NullResponse = _reflection.GeneratedProtocolMessageType('NullResponse', (_message.Message,), {
'DESCRIPTOR' : _NULLRESPONSE,
'__module__' : 'events_pb2'
# @@protoc_insertion_point(class_scope:events.NullResponse)
})
_sym_db.RegisterMessage(NullResponse)
_EVENTSSERVICE = DESCRIPTOR.services_by_name['EventsService']
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'events_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None

View File

@ -2,7 +2,7 @@
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from . import events_pb2 as events__pb2
import events_pb2 as events__pb2
class EventsServiceStub(object):

View File

@ -2,10 +2,9 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: maps.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
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)
@ -16,81 +15,8 @@ _sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nmaps.proto\x12\x04maps\"\x14\n\x06IdList\x12\n\n\x02ID\x18\x01 \x03(\x03\"\x17\n\tIdMessage\x12\n\n\x02ID\x18\x01 \x01(\x03\"]\n\x0bMapResponse\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\x13\n\x0b\x44isplayName\x18\x02 \x01(\t\x12\x0f\n\x07\x43reator\x18\x03 \x01(\t\x12\x0e\n\x06GameID\x18\x04 \x01(\x05\x12\x0c\n\x04\x44\x61te\x18\x05 \x01(\x03\"\xa0\x01\n\nMapRequest\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\x18\n\x0b\x44isplayName\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x07\x43reator\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x13\n\x06GameID\x18\x04 \x01(\x05H\x02\x88\x01\x01\x12\x11\n\x04\x44\x61te\x18\x05 \x01(\x03H\x03\x88\x01\x01\x42\x0e\n\x0c_DisplayNameB\n\n\x08_CreatorB\t\n\x07_GameIDB\x07\n\x05_Date\"\x83\x01\n\tMapFilter\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\x18\n\x0b\x44isplayName\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x07\x43reator\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x13\n\x06GameID\x18\x04 \x01(\x05H\x02\x88\x01\x01\x42\x0e\n\x0c_DisplayNameB\n\n\x08_CreatorB\t\n\x07_GameID\"*\n\x07MapList\x12\x1f\n\x04Maps\x18\x01 \x03(\x0b\x32\x11.maps.MapResponse\"N\n\x0bListRequest\x12\x1f\n\x06\x46ilter\x18\x01 \x01(\x0b\x32\x0f.maps.MapFilter\x12\x1e\n\x04Page\x18\x02 \x01(\x0b\x32\x10.maps.Pagination\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\x05\x12\x0e\n\x06Number\x18\x02 \x01(\x05\"\x0e\n\x0cNullResponse2\x96\x02\n\x0bMapsService\x12)\n\x03Get\x12\x0f.maps.IdMessage\x1a\x11.maps.MapResponse\x12&\n\x07GetList\x12\x0c.maps.IdList\x1a\r.maps.MapList\x12.\n\x06Update\x12\x10.maps.MapRequest\x1a\x12.maps.NullResponse\x12+\n\x06\x43reate\x12\x10.maps.MapRequest\x1a\x0f.maps.IdMessage\x12-\n\x06\x44\x65lete\x12\x0f.maps.IdMessage\x1a\x12.maps.NullResponse\x12(\n\x04List\x12\x11.maps.ListRequest\x1a\r.maps.MapListB\'Z%git.itzana.me/strafesnet/go-grpc/mapsb\x06proto3')
_IDLIST = DESCRIPTOR.message_types_by_name['IdList']
_IDMESSAGE = DESCRIPTOR.message_types_by_name['IdMessage']
_MAPRESPONSE = DESCRIPTOR.message_types_by_name['MapResponse']
_MAPREQUEST = DESCRIPTOR.message_types_by_name['MapRequest']
_MAPFILTER = DESCRIPTOR.message_types_by_name['MapFilter']
_MAPLIST = DESCRIPTOR.message_types_by_name['MapList']
_LISTREQUEST = DESCRIPTOR.message_types_by_name['ListRequest']
_PAGINATION = DESCRIPTOR.message_types_by_name['Pagination']
_NULLRESPONSE = DESCRIPTOR.message_types_by_name['NullResponse']
IdList = _reflection.GeneratedProtocolMessageType('IdList', (_message.Message,), {
'DESCRIPTOR' : _IDLIST,
'__module__' : 'maps_pb2'
# @@protoc_insertion_point(class_scope:maps.IdList)
})
_sym_db.RegisterMessage(IdList)
IdMessage = _reflection.GeneratedProtocolMessageType('IdMessage', (_message.Message,), {
'DESCRIPTOR' : _IDMESSAGE,
'__module__' : 'maps_pb2'
# @@protoc_insertion_point(class_scope:maps.IdMessage)
})
_sym_db.RegisterMessage(IdMessage)
MapResponse = _reflection.GeneratedProtocolMessageType('MapResponse', (_message.Message,), {
'DESCRIPTOR' : _MAPRESPONSE,
'__module__' : 'maps_pb2'
# @@protoc_insertion_point(class_scope:maps.MapResponse)
})
_sym_db.RegisterMessage(MapResponse)
MapRequest = _reflection.GeneratedProtocolMessageType('MapRequest', (_message.Message,), {
'DESCRIPTOR' : _MAPREQUEST,
'__module__' : 'maps_pb2'
# @@protoc_insertion_point(class_scope:maps.MapRequest)
})
_sym_db.RegisterMessage(MapRequest)
MapFilter = _reflection.GeneratedProtocolMessageType('MapFilter', (_message.Message,), {
'DESCRIPTOR' : _MAPFILTER,
'__module__' : 'maps_pb2'
# @@protoc_insertion_point(class_scope:maps.MapFilter)
})
_sym_db.RegisterMessage(MapFilter)
MapList = _reflection.GeneratedProtocolMessageType('MapList', (_message.Message,), {
'DESCRIPTOR' : _MAPLIST,
'__module__' : 'maps_pb2'
# @@protoc_insertion_point(class_scope:maps.MapList)
})
_sym_db.RegisterMessage(MapList)
ListRequest = _reflection.GeneratedProtocolMessageType('ListRequest', (_message.Message,), {
'DESCRIPTOR' : _LISTREQUEST,
'__module__' : 'maps_pb2'
# @@protoc_insertion_point(class_scope:maps.ListRequest)
})
_sym_db.RegisterMessage(ListRequest)
Pagination = _reflection.GeneratedProtocolMessageType('Pagination', (_message.Message,), {
'DESCRIPTOR' : _PAGINATION,
'__module__' : 'maps_pb2'
# @@protoc_insertion_point(class_scope:maps.Pagination)
})
_sym_db.RegisterMessage(Pagination)
NullResponse = _reflection.GeneratedProtocolMessageType('NullResponse', (_message.Message,), {
'DESCRIPTOR' : _NULLRESPONSE,
'__module__' : 'maps_pb2'
# @@protoc_insertion_point(class_scope:maps.NullResponse)
})
_sym_db.RegisterMessage(NullResponse)
_MAPSSERVICE = DESCRIPTOR.services_by_name['MapsService']
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'maps_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None

View File

@ -2,7 +2,7 @@
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from . import maps_pb2 as maps__pb2
import maps_pb2 as maps__pb2
class MapsServiceStub(object):

View File

@ -2,80 +2,22 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: ranks.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
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()
from . import users_pb2 as users__pb2
import users_pb2 as users__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0branks.proto\x12\x05ranks\x1a\x0busers.proto\"\x17\n\tIdMessage\x12\n\n\x02ID\x18\x01 \x01(\x03\"M\n\nGetRequest\x12\x0e\n\x06UserID\x18\x01 \x01(\x03\x12\x0f\n\x07StyleID\x18\x02 \x01(\x05\x12\x0e\n\x06GameID\x18\x03 \x01(\x05\x12\x0e\n\x06ModeID\x18\x04 \x01(\x05\"m\n\x0bListRequest\x12\x0f\n\x07StyleID\x18\x01 \x01(\x05\x12\x0e\n\x06GameID\x18\x02 \x01(\x05\x12\x0e\n\x06ModeID\x18\x03 \x01(\x05\x12\x0c\n\x04Sort\x18\x04 \x01(\x03\x12\x1f\n\x04Page\x18\x05 \x01(\x0b\x32\x11.ranks.Pagination\"-\n\x08RankList\x12!\n\x05ranks\x18\x01 \x03(\x0b\x32\x12.ranks.RankMessage\"\x9d\x01\n\x0bRankMessage\x12\n\n\x02ID\x18\x01 \x01(\x03\x12!\n\x04User\x18\x02 \x01(\x0b\x32\x13.users.UserResponse\x12\x0f\n\x07StyleID\x18\x03 \x01(\x05\x12\x0e\n\x06ModeID\x18\x04 \x01(\x05\x12\x0e\n\x06GameID\x18\x05 \x01(\x05\x12\x0c\n\x04Rank\x18\x06 \x01(\x01\x12\r\n\x05Skill\x18\x07 \x01(\x01\x12\x11\n\tUpdatedAt\x18\x08 \x01(\x03\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\x05\x12\x0e\n\x06Number\x18\x02 \x01(\x05\"\x0e\n\x0cNullResponse2\x97\x01\n\x0cRanksService\x12,\n\x03Get\x12\x11.ranks.GetRequest\x1a\x12.ranks.RankMessage\x12+\n\x04List\x12\x12.ranks.ListRequest\x1a\x0f.ranks.RankList\x12,\n\x06\x44\x65lete\x12\x10.ranks.IdMessage\x1a\x10.ranks.IdMessageB(Z&git.itzana.me/strafesnet/go-grpc/ranksb\x06proto3')
_IDMESSAGE = DESCRIPTOR.message_types_by_name['IdMessage']
_GETREQUEST = DESCRIPTOR.message_types_by_name['GetRequest']
_LISTREQUEST = DESCRIPTOR.message_types_by_name['ListRequest']
_RANKLIST = DESCRIPTOR.message_types_by_name['RankList']
_RANKMESSAGE = DESCRIPTOR.message_types_by_name['RankMessage']
_PAGINATION = DESCRIPTOR.message_types_by_name['Pagination']
_NULLRESPONSE = DESCRIPTOR.message_types_by_name['NullResponse']
IdMessage = _reflection.GeneratedProtocolMessageType('IdMessage', (_message.Message,), {
'DESCRIPTOR' : _IDMESSAGE,
'__module__' : 'ranks_pb2'
# @@protoc_insertion_point(class_scope:ranks.IdMessage)
})
_sym_db.RegisterMessage(IdMessage)
GetRequest = _reflection.GeneratedProtocolMessageType('GetRequest', (_message.Message,), {
'DESCRIPTOR' : _GETREQUEST,
'__module__' : 'ranks_pb2'
# @@protoc_insertion_point(class_scope:ranks.GetRequest)
})
_sym_db.RegisterMessage(GetRequest)
ListRequest = _reflection.GeneratedProtocolMessageType('ListRequest', (_message.Message,), {
'DESCRIPTOR' : _LISTREQUEST,
'__module__' : 'ranks_pb2'
# @@protoc_insertion_point(class_scope:ranks.ListRequest)
})
_sym_db.RegisterMessage(ListRequest)
RankList = _reflection.GeneratedProtocolMessageType('RankList', (_message.Message,), {
'DESCRIPTOR' : _RANKLIST,
'__module__' : 'ranks_pb2'
# @@protoc_insertion_point(class_scope:ranks.RankList)
})
_sym_db.RegisterMessage(RankList)
RankMessage = _reflection.GeneratedProtocolMessageType('RankMessage', (_message.Message,), {
'DESCRIPTOR' : _RANKMESSAGE,
'__module__' : 'ranks_pb2'
# @@protoc_insertion_point(class_scope:ranks.RankMessage)
})
_sym_db.RegisterMessage(RankMessage)
Pagination = _reflection.GeneratedProtocolMessageType('Pagination', (_message.Message,), {
'DESCRIPTOR' : _PAGINATION,
'__module__' : 'ranks_pb2'
# @@protoc_insertion_point(class_scope:ranks.Pagination)
})
_sym_db.RegisterMessage(Pagination)
NullResponse = _reflection.GeneratedProtocolMessageType('NullResponse', (_message.Message,), {
'DESCRIPTOR' : _NULLRESPONSE,
'__module__' : 'ranks_pb2'
# @@protoc_insertion_point(class_scope:ranks.NullResponse)
})
_sym_db.RegisterMessage(NullResponse)
_RANKSSERVICE = DESCRIPTOR.services_by_name['RanksService']
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ranks_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None

View File

@ -2,7 +2,7 @@
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from . import ranks_pb2 as ranks__pb2
import ranks_pb2 as ranks__pb2
class RanksServiceStub(object):

View File

@ -2,97 +2,23 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: servers.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
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()
from . import users_pb2 as users__pb2
from . import maps_pb2 as maps__pb2
import users_pb2 as users__pb2
import maps_pb2 as maps__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rservers.proto\x12\x07servers\x1a\x0busers.proto\x1a\nmaps.proto\"2\n\nServerList\x12$\n\x07Servers\x18\x01 \x03(\x0b\x32\x13.servers.ServerItem\"\x17\n\tIdMessage\x12\n\n\x02ID\x18\x01 \x01(\t\"\xbb\x01\n\x0cServerCreate\x12\n\n\x02ID\x18\x01 \x01(\t\x12\x0f\n\x07PlaceID\x18\x02 \x01(\x03\x12\x11\n\tStartTime\x18\x03 \x01(\x03\x12\x13\n\x0bVipServerID\x18\x04 \x01(\t\x12\x0e\n\x06UserID\x18\x05 \x01(\x03\x12\x0e\n\x06GameID\x18\x06 \x01(\x05\x12\r\n\x05MapID\x18\x07 \x01(\x03\x12\x0f\n\x07MapDate\x18\x08 \x01(\x03\x12\x12\n\nPlayerList\x18\t \x03(\x03\x12\x12\n\nLastUpdate\x18\n \x01(\x03\"\xdd\x01\n\nServerItem\x12\n\n\x02ID\x18\x01 \x01(\t\x12\x0f\n\x07PlaceID\x18\x02 \x01(\x03\x12\x11\n\tStartTime\x18\x03 \x01(\x03\x12\x13\n\x0bVipServerID\x18\x04 \x01(\t\x12!\n\x04User\x18\x05 \x01(\x0b\x32\x13.users.UserResponse\x12\x0e\n\x06GameID\x18\x06 \x01(\x05\x12\x1e\n\x03Map\x18\x07 \x01(\x0b\x32\x11.maps.MapResponse\x12\x0f\n\x07MapDate\x18\x08 \x01(\x03\x12\x12\n\nPlayerList\x18\t \x03(\x03\x12\x12\n\nLastUpdate\x18\n \x01(\x03\"n\n\x0cServerUpdate\x12\n\n\x02ID\x18\x01 \x01(\t\x12\x12\n\x05MapID\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x14\n\x07MapDate\x18\x03 \x01(\x03H\x01\x88\x01\x01\x12\x12\n\nPlayerList\x18\x04 \x03(\x03\x42\x08\n\x06_MapIDB\n\n\x08_MapDate\"\xd0\x01\n\x0cServerFilter\x12\x0f\n\x02ID\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x07PlaceID\x18\x02 \x01(\x03H\x01\x88\x01\x01\x12\x18\n\x0bVipServerID\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x13\n\x06UserID\x18\x05 \x01(\x03H\x03\x88\x01\x01\x12\x13\n\x06GameID\x18\x06 \x01(\x05H\x04\x88\x01\x01\x12\x12\n\x05MapID\x18\x07 \x01(\x03H\x05\x88\x01\x01\x42\x05\n\x03_IDB\n\n\x08_PlaceIDB\x0e\n\x0c_VipServerIDB\t\n\x07_UserIDB\t\n\x07_GameIDB\x08\n\x06_MapID\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\x05\x12\x0e\n\x06Number\x18\x02 \x01(\x05\"]\n\x11ServerListRequest\x12%\n\x06\x46ilter\x18\x01 \x01(\x0b\x32\x15.servers.ServerFilter\x12!\n\x04Page\x18\x02 \x01(\x0b\x32\x13.servers.Pagination\"\x0e\n\x0cNullResponse2\x9d\x02\n\rServerService\x12\x36\n\x06\x43reate\x12\x15.servers.ServerCreate\x1a\x15.servers.NullResponse\x12\x36\n\x06Update\x12\x15.servers.ServerUpdate\x1a\x15.servers.NullResponse\x12\x33\n\x06\x44\x65lete\x12\x12.servers.IdMessage\x1a\x15.servers.NullResponse\x12.\n\x03Get\x12\x12.servers.IdMessage\x1a\x13.servers.ServerItem\x12\x37\n\x04List\x12\x1a.servers.ServerListRequest\x1a\x13.servers.ServerListB*Z(git.itzana.me/strafesnet/go-grpc/serversb\x06proto3')
_SERVERLIST = DESCRIPTOR.message_types_by_name['ServerList']
_IDMESSAGE = DESCRIPTOR.message_types_by_name['IdMessage']
_SERVERCREATE = DESCRIPTOR.message_types_by_name['ServerCreate']
_SERVERITEM = DESCRIPTOR.message_types_by_name['ServerItem']
_SERVERUPDATE = DESCRIPTOR.message_types_by_name['ServerUpdate']
_SERVERFILTER = DESCRIPTOR.message_types_by_name['ServerFilter']
_PAGINATION = DESCRIPTOR.message_types_by_name['Pagination']
_SERVERLISTREQUEST = DESCRIPTOR.message_types_by_name['ServerListRequest']
_NULLRESPONSE = DESCRIPTOR.message_types_by_name['NullResponse']
ServerList = _reflection.GeneratedProtocolMessageType('ServerList', (_message.Message,), {
'DESCRIPTOR' : _SERVERLIST,
'__module__' : 'servers_pb2'
# @@protoc_insertion_point(class_scope:servers.ServerList)
})
_sym_db.RegisterMessage(ServerList)
IdMessage = _reflection.GeneratedProtocolMessageType('IdMessage', (_message.Message,), {
'DESCRIPTOR' : _IDMESSAGE,
'__module__' : 'servers_pb2'
# @@protoc_insertion_point(class_scope:servers.IdMessage)
})
_sym_db.RegisterMessage(IdMessage)
ServerCreate = _reflection.GeneratedProtocolMessageType('ServerCreate', (_message.Message,), {
'DESCRIPTOR' : _SERVERCREATE,
'__module__' : 'servers_pb2'
# @@protoc_insertion_point(class_scope:servers.ServerCreate)
})
_sym_db.RegisterMessage(ServerCreate)
ServerItem = _reflection.GeneratedProtocolMessageType('ServerItem', (_message.Message,), {
'DESCRIPTOR' : _SERVERITEM,
'__module__' : 'servers_pb2'
# @@protoc_insertion_point(class_scope:servers.ServerItem)
})
_sym_db.RegisterMessage(ServerItem)
ServerUpdate = _reflection.GeneratedProtocolMessageType('ServerUpdate', (_message.Message,), {
'DESCRIPTOR' : _SERVERUPDATE,
'__module__' : 'servers_pb2'
# @@protoc_insertion_point(class_scope:servers.ServerUpdate)
})
_sym_db.RegisterMessage(ServerUpdate)
ServerFilter = _reflection.GeneratedProtocolMessageType('ServerFilter', (_message.Message,), {
'DESCRIPTOR' : _SERVERFILTER,
'__module__' : 'servers_pb2'
# @@protoc_insertion_point(class_scope:servers.ServerFilter)
})
_sym_db.RegisterMessage(ServerFilter)
Pagination = _reflection.GeneratedProtocolMessageType('Pagination', (_message.Message,), {
'DESCRIPTOR' : _PAGINATION,
'__module__' : 'servers_pb2'
# @@protoc_insertion_point(class_scope:servers.Pagination)
})
_sym_db.RegisterMessage(Pagination)
ServerListRequest = _reflection.GeneratedProtocolMessageType('ServerListRequest', (_message.Message,), {
'DESCRIPTOR' : _SERVERLISTREQUEST,
'__module__' : 'servers_pb2'
# @@protoc_insertion_point(class_scope:servers.ServerListRequest)
})
_sym_db.RegisterMessage(ServerListRequest)
NullResponse = _reflection.GeneratedProtocolMessageType('NullResponse', (_message.Message,), {
'DESCRIPTOR' : _NULLRESPONSE,
'__module__' : 'servers_pb2'
# @@protoc_insertion_point(class_scope:servers.NullResponse)
})
_sym_db.RegisterMessage(NullResponse)
_SERVERSERVICE = DESCRIPTOR.services_by_name['ServerService']
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'servers_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None

View File

@ -2,7 +2,7 @@
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from . import servers_pb2 as servers__pb2
import servers_pb2 as servers__pb2
class ServerServiceStub(object):

View File

@ -2,98 +2,24 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: times.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
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()
from . import users_pb2 as users__pb2
from . import maps_pb2 as maps__pb2
from . import bots_pb2 as bots__pb2
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(Z&git.itzana.me/strafesnet/go-grpc/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']
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'times_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None

View File

@ -2,7 +2,7 @@
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from . import times_pb2 as times__pb2
import times_pb2 as times__pb2
class TimesServiceStub(object):

View File

@ -2,113 +2,23 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: transactions.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
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()
from . import users_pb2 as users__pb2
import users_pb2 as users__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12transactions.proto\x12\x0ctransactions\x1a\x0busers.proto\x1a\x1cgoogle/protobuf/struct.proto\"j\n\x11TransactionCreate\x12\x0e\n\x06UserID\x18\x01 \x01(\x03\x12\r\n\x05Value\x18\x02 \x01(\x03\x12\x0f\n\x07StateID\x18\x03 \x01(\x05\x12%\n\x04\x44\x61ta\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x94\x01\n\x11TransactionUpdate\x12\n\n\x02ID\x18\x01 \x01(\t\x12\x12\n\x05Value\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x14\n\x07StateID\x18\x03 \x01(\x03H\x01\x88\x01\x01\x12*\n\x04\x44\x61ta\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructH\x02\x88\x01\x01\x42\x08\n\x06_ValueB\n\n\x08_StateIDB\x07\n\x05_Data\"\xa9\x01\n\x0fTransactionItem\x12\n\n\x02ID\x18\x01 \x01(\t\x12!\n\x04User\x18\x02 \x01(\x0b\x32\x13.users.UserResponse\x12\r\n\x05Value\x18\x03 \x01(\x03\x12\x0f\n\x07StateID\x18\x04 \x01(\x05\x12\x0f\n\x07\x43reated\x18\x05 \x01(\x03\x12\x0f\n\x07Updated\x18\x06 \x01(\x03\x12%\n\x04\x44\x61ta\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct\"U\n\x11TransactionFilter\x12\x13\n\x06UserID\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x14\n\x07StateID\x18\x02 \x01(\x05H\x01\x88\x01\x01\x42\t\n\x07_UserIDB\n\n\x08_StateID\"f\n\x0bListRequest\x12/\n\x06\x46ilter\x18\x01 \x01(\x0b\x32\x1f.transactions.TransactionFilter\x12&\n\x04Page\x18\x02 \x01(\x0b\x32\x18.transactions.Pagination\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\x05\x12\x0e\n\x06Number\x18\x02 \x01(\x05\"F\n\x0fTransactionList\x12\x33\n\x0cTransactions\x18\x01 \x03(\x0b\x32\x1d.transactions.TransactionItem\"\"\n\x0f\x42\x61lanceResponse\x12\x0f\n\x07\x42\x61lance\x18\x01 \x01(\x03\"\x17\n\tIdMessage\x12\n\n\x02ID\x18\x01 \x01(\t\"\x1f\n\rUserIdMessage\x12\x0e\n\x06UserID\x18\x01 \x01(\x03\"\x0e\n\x0cNullResponse2\xa7\x03\n\x13TransactionsService\x12\x42\n\x06\x43reate\x12\x1f.transactions.TransactionCreate\x1a\x17.transactions.IdMessage\x12\x45\n\x06Update\x12\x1f.transactions.TransactionUpdate\x1a\x1a.transactions.NullResponse\x12=\n\x06\x44\x65lete\x12\x17.transactions.IdMessage\x1a\x1a.transactions.NullResponse\x12\x45\n\x07\x42\x61lance\x12\x1b.transactions.UserIdMessage\x1a\x1d.transactions.BalanceResponse\x12=\n\x03Get\x12\x17.transactions.IdMessage\x1a\x1d.transactions.TransactionItem\x12@\n\x04List\x12\x19.transactions.ListRequest\x1a\x1d.transactions.TransactionListB/Z-git.itzana.me/strafesnet/go-grpc/transactionsb\x06proto3')
_TRANSACTIONCREATE = DESCRIPTOR.message_types_by_name['TransactionCreate']
_TRANSACTIONUPDATE = DESCRIPTOR.message_types_by_name['TransactionUpdate']
_TRANSACTIONITEM = DESCRIPTOR.message_types_by_name['TransactionItem']
_TRANSACTIONFILTER = DESCRIPTOR.message_types_by_name['TransactionFilter']
_LISTREQUEST = DESCRIPTOR.message_types_by_name['ListRequest']
_PAGINATION = DESCRIPTOR.message_types_by_name['Pagination']
_TRANSACTIONLIST = DESCRIPTOR.message_types_by_name['TransactionList']
_BALANCERESPONSE = DESCRIPTOR.message_types_by_name['BalanceResponse']
_IDMESSAGE = DESCRIPTOR.message_types_by_name['IdMessage']
_USERIDMESSAGE = DESCRIPTOR.message_types_by_name['UserIdMessage']
_NULLRESPONSE = DESCRIPTOR.message_types_by_name['NullResponse']
TransactionCreate = _reflection.GeneratedProtocolMessageType('TransactionCreate', (_message.Message,), {
'DESCRIPTOR' : _TRANSACTIONCREATE,
'__module__' : 'transactions_pb2'
# @@protoc_insertion_point(class_scope:transactions.TransactionCreate)
})
_sym_db.RegisterMessage(TransactionCreate)
TransactionUpdate = _reflection.GeneratedProtocolMessageType('TransactionUpdate', (_message.Message,), {
'DESCRIPTOR' : _TRANSACTIONUPDATE,
'__module__' : 'transactions_pb2'
# @@protoc_insertion_point(class_scope:transactions.TransactionUpdate)
})
_sym_db.RegisterMessage(TransactionUpdate)
TransactionItem = _reflection.GeneratedProtocolMessageType('TransactionItem', (_message.Message,), {
'DESCRIPTOR' : _TRANSACTIONITEM,
'__module__' : 'transactions_pb2'
# @@protoc_insertion_point(class_scope:transactions.TransactionItem)
})
_sym_db.RegisterMessage(TransactionItem)
TransactionFilter = _reflection.GeneratedProtocolMessageType('TransactionFilter', (_message.Message,), {
'DESCRIPTOR' : _TRANSACTIONFILTER,
'__module__' : 'transactions_pb2'
# @@protoc_insertion_point(class_scope:transactions.TransactionFilter)
})
_sym_db.RegisterMessage(TransactionFilter)
ListRequest = _reflection.GeneratedProtocolMessageType('ListRequest', (_message.Message,), {
'DESCRIPTOR' : _LISTREQUEST,
'__module__' : 'transactions_pb2'
# @@protoc_insertion_point(class_scope:transactions.ListRequest)
})
_sym_db.RegisterMessage(ListRequest)
Pagination = _reflection.GeneratedProtocolMessageType('Pagination', (_message.Message,), {
'DESCRIPTOR' : _PAGINATION,
'__module__' : 'transactions_pb2'
# @@protoc_insertion_point(class_scope:transactions.Pagination)
})
_sym_db.RegisterMessage(Pagination)
TransactionList = _reflection.GeneratedProtocolMessageType('TransactionList', (_message.Message,), {
'DESCRIPTOR' : _TRANSACTIONLIST,
'__module__' : 'transactions_pb2'
# @@protoc_insertion_point(class_scope:transactions.TransactionList)
})
_sym_db.RegisterMessage(TransactionList)
BalanceResponse = _reflection.GeneratedProtocolMessageType('BalanceResponse', (_message.Message,), {
'DESCRIPTOR' : _BALANCERESPONSE,
'__module__' : 'transactions_pb2'
# @@protoc_insertion_point(class_scope:transactions.BalanceResponse)
})
_sym_db.RegisterMessage(BalanceResponse)
IdMessage = _reflection.GeneratedProtocolMessageType('IdMessage', (_message.Message,), {
'DESCRIPTOR' : _IDMESSAGE,
'__module__' : 'transactions_pb2'
# @@protoc_insertion_point(class_scope:transactions.IdMessage)
})
_sym_db.RegisterMessage(IdMessage)
UserIdMessage = _reflection.GeneratedProtocolMessageType('UserIdMessage', (_message.Message,), {
'DESCRIPTOR' : _USERIDMESSAGE,
'__module__' : 'transactions_pb2'
# @@protoc_insertion_point(class_scope:transactions.UserIdMessage)
})
_sym_db.RegisterMessage(UserIdMessage)
NullResponse = _reflection.GeneratedProtocolMessageType('NullResponse', (_message.Message,), {
'DESCRIPTOR' : _NULLRESPONSE,
'__module__' : 'transactions_pb2'
# @@protoc_insertion_point(class_scope:transactions.NullResponse)
})
_sym_db.RegisterMessage(NullResponse)
_TRANSACTIONSSERVICE = DESCRIPTOR.services_by_name['TransactionsService']
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'transactions_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None

View File

@ -2,7 +2,7 @@
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from . import transactions_pb2 as transactions__pb2
import transactions_pb2 as transactions__pb2
class TransactionsServiceStub(object):

View File

@ -2,10 +2,9 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: users.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
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)
@ -16,81 +15,8 @@ _sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0busers.proto\x12\x05users\"\x14\n\x06IdList\x12\n\n\x02ID\x18\x01 \x03(\x03\"\x17\n\tIdMessage\x12\n\n\x02ID\x18\x01 \x01(\x03\"=\n\x0cUserResponse\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\x10\n\x08Username\x18\x02 \x01(\t\x12\x0f\n\x07StateID\x18\x03 \x01(\x05\"_\n\x0bUserRequest\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\x15\n\x08Username\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x07StateID\x18\x03 \x01(\x05H\x01\x88\x01\x01\x42\x0b\n\t_UsernameB\n\n\x08_StateID\"j\n\nUserFilter\x12\x0f\n\x02ID\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x15\n\x08Username\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x14\n\x07StateID\x18\x03 \x01(\x05H\x02\x88\x01\x01\x42\x05\n\x03_IDB\x0b\n\t_UsernameB\n\n\x08_StateID\".\n\x08UserList\x12\"\n\x05Users\x18\x01 \x03(\x0b\x32\x13.users.UserResponse\"Q\n\x0bListRequest\x12!\n\x06\x46ilter\x18\x01 \x01(\x0b\x32\x11.users.UserFilter\x12\x1f\n\x04Page\x18\x02 \x01(\x0b\x32\x11.users.Pagination\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\x05\x12\x0e\n\x06Number\x18\x02 \x01(\x05\"\x0e\n\x0cNullResponse2\xa8\x02\n\x0cUsersService\x12,\n\x03Get\x12\x10.users.IdMessage\x1a\x13.users.UserResponse\x12)\n\x07GetList\x12\r.users.IdList\x1a\x0f.users.UserList\x12\x31\n\x06Update\x12\x12.users.UserRequest\x1a\x13.users.NullResponse\x12.\n\x06\x43reate\x12\x12.users.UserRequest\x1a\x10.users.IdMessage\x12/\n\x06\x44\x65lete\x12\x10.users.IdMessage\x1a\x13.users.NullResponse\x12+\n\x04List\x12\x12.users.ListRequest\x1a\x0f.users.UserListB(Z&git.itzana.me/strafesnet/go-grpc/usersb\x06proto3')
_IDLIST = DESCRIPTOR.message_types_by_name['IdList']
_IDMESSAGE = DESCRIPTOR.message_types_by_name['IdMessage']
_USERRESPONSE = DESCRIPTOR.message_types_by_name['UserResponse']
_USERREQUEST = DESCRIPTOR.message_types_by_name['UserRequest']
_USERFILTER = DESCRIPTOR.message_types_by_name['UserFilter']
_USERLIST = DESCRIPTOR.message_types_by_name['UserList']
_LISTREQUEST = DESCRIPTOR.message_types_by_name['ListRequest']
_PAGINATION = DESCRIPTOR.message_types_by_name['Pagination']
_NULLRESPONSE = DESCRIPTOR.message_types_by_name['NullResponse']
IdList = _reflection.GeneratedProtocolMessageType('IdList', (_message.Message,), {
'DESCRIPTOR' : _IDLIST,
'__module__' : 'users_pb2'
# @@protoc_insertion_point(class_scope:users.IdList)
})
_sym_db.RegisterMessage(IdList)
IdMessage = _reflection.GeneratedProtocolMessageType('IdMessage', (_message.Message,), {
'DESCRIPTOR' : _IDMESSAGE,
'__module__' : 'users_pb2'
# @@protoc_insertion_point(class_scope:users.IdMessage)
})
_sym_db.RegisterMessage(IdMessage)
UserResponse = _reflection.GeneratedProtocolMessageType('UserResponse', (_message.Message,), {
'DESCRIPTOR' : _USERRESPONSE,
'__module__' : 'users_pb2'
# @@protoc_insertion_point(class_scope:users.UserResponse)
})
_sym_db.RegisterMessage(UserResponse)
UserRequest = _reflection.GeneratedProtocolMessageType('UserRequest', (_message.Message,), {
'DESCRIPTOR' : _USERREQUEST,
'__module__' : 'users_pb2'
# @@protoc_insertion_point(class_scope:users.UserRequest)
})
_sym_db.RegisterMessage(UserRequest)
UserFilter = _reflection.GeneratedProtocolMessageType('UserFilter', (_message.Message,), {
'DESCRIPTOR' : _USERFILTER,
'__module__' : 'users_pb2'
# @@protoc_insertion_point(class_scope:users.UserFilter)
})
_sym_db.RegisterMessage(UserFilter)
UserList = _reflection.GeneratedProtocolMessageType('UserList', (_message.Message,), {
'DESCRIPTOR' : _USERLIST,
'__module__' : 'users_pb2'
# @@protoc_insertion_point(class_scope:users.UserList)
})
_sym_db.RegisterMessage(UserList)
ListRequest = _reflection.GeneratedProtocolMessageType('ListRequest', (_message.Message,), {
'DESCRIPTOR' : _LISTREQUEST,
'__module__' : 'users_pb2'
# @@protoc_insertion_point(class_scope:users.ListRequest)
})
_sym_db.RegisterMessage(ListRequest)
Pagination = _reflection.GeneratedProtocolMessageType('Pagination', (_message.Message,), {
'DESCRIPTOR' : _PAGINATION,
'__module__' : 'users_pb2'
# @@protoc_insertion_point(class_scope:users.Pagination)
})
_sym_db.RegisterMessage(Pagination)
NullResponse = _reflection.GeneratedProtocolMessageType('NullResponse', (_message.Message,), {
'DESCRIPTOR' : _NULLRESPONSE,
'__module__' : 'users_pb2'
# @@protoc_insertion_point(class_scope:users.NullResponse)
})
_sym_db.RegisterMessage(NullResponse)
_USERSSERVICE = DESCRIPTOR.services_by_name['UsersService']
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'users_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None

View File

@ -2,7 +2,7 @@
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from . import users_pb2 as users__pb2
import users_pb2 as users__pb2
class UsersServiceStub(object):