From 172beff55a46098119264d4ac2bf4d8e7be0ff06 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 20 Feb 2024 04:53:04 +0000 Subject: [PATCH] Autogenerated update for https://git.itzana.me/StrafesNET/protobufs/compare/91df514bd6541f52cdda12cc9a6dbaa172438233...db2e2e990f063ffa823640eaec4d659a848c1380 --- strafesnet/bots_pb2.py | 49 ++++++++++++++------------- strafesnet/datastore_pb2.py | 33 +++++++++--------- strafesnet/events_pb2.py | 41 ++++++++++++----------- strafesnet/maps_pb2.py | 53 ++++++++++++++--------------- strafesnet/ranks_pb2.py | 45 +++++++++++++------------ strafesnet/servers_pb2.py | 53 ++++++++++++++--------------- strafesnet/times_pb2.py | 53 ++++++++++++++--------------- strafesnet/transactions_pb2.py | 61 +++++++++++++++++----------------- strafesnet/users_pb2.py | 53 ++++++++++++++--------------- 9 files changed, 225 insertions(+), 216 deletions(-) diff --git a/strafesnet/bots_pb2.py b/strafesnet/bots_pb2.py index 645fcc0..319a147 100644 --- a/strafesnet/bots_pb2.py +++ b/strafesnet/bots_pb2.py @@ -1,11 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: bots.proto +# Protobuf Python Version: 4.25.0 """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 symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -15,28 +16,28 @@ _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') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'bots_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'bots_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z%git.itzana.me/strafesnet/go-grpc/bots' - _IDLIST._serialized_start=20 - _IDLIST._serialized_end=40 - _IDMESSAGE._serialized_start=42 - _IDMESSAGE._serialized_end=65 - _BOTRESPONSE._serialized_start=67 - _BOTRESPONSE._serialized_end=138 - _BOTREQUEST._serialized_start=140 - _BOTREQUEST._serialized_end=256 - _BOTLIST._serialized_start=258 - _BOTLIST._serialized_end=300 - _LISTREQUEST._serialized_start=302 - _LISTREQUEST._serialized_end=381 - _PAGINATION._serialized_start=383 - _PAGINATION._serialized_end=425 - _NULLRESPONSE._serialized_start=427 - _NULLRESPONSE._serialized_end=441 - _BOTSSERVICE._serialized_start=444 - _BOTSSERVICE._serialized_end=722 + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'Z%git.itzana.me/strafesnet/go-grpc/bots' + _globals['_IDLIST']._serialized_start=20 + _globals['_IDLIST']._serialized_end=40 + _globals['_IDMESSAGE']._serialized_start=42 + _globals['_IDMESSAGE']._serialized_end=65 + _globals['_BOTRESPONSE']._serialized_start=67 + _globals['_BOTRESPONSE']._serialized_end=138 + _globals['_BOTREQUEST']._serialized_start=140 + _globals['_BOTREQUEST']._serialized_end=256 + _globals['_BOTLIST']._serialized_start=258 + _globals['_BOTLIST']._serialized_end=300 + _globals['_LISTREQUEST']._serialized_start=302 + _globals['_LISTREQUEST']._serialized_end=381 + _globals['_PAGINATION']._serialized_start=383 + _globals['_PAGINATION']._serialized_end=425 + _globals['_NULLRESPONSE']._serialized_start=427 + _globals['_NULLRESPONSE']._serialized_end=441 + _globals['_BOTSSERVICE']._serialized_start=444 + _globals['_BOTSSERVICE']._serialized_end=722 # @@protoc_insertion_point(module_scope) diff --git a/strafesnet/datastore_pb2.py b/strafesnet/datastore_pb2.py index 26f17de..8e0a1a9 100644 --- a/strafesnet/datastore_pb2.py +++ b/strafesnet/datastore_pb2.py @@ -1,11 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: datastore.proto +# Protobuf Python Version: 4.25.0 """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 symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,20 +17,20 @@ 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') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'datastore_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'datastore_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z*git.itzana.me/strafesnet/go-grpc/datastore' - _KEYMESSAGE._serialized_start=60 - _KEYMESSAGE._serialized_end=85 - _UPDATEMESSAGE._serialized_start=87 - _UPDATEMESSAGE._serialized_end=199 - _OBJECTRESPONSE._serialized_start=201 - _OBJECTRESPONSE._serialized_end=269 - _NULLRESPONSE._serialized_start=271 - _NULLRESPONSE._serialized_end=285 - _DATASTORESERVICE._serialized_start=288 - _DATASTORESERVICE._serialized_end=484 + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'Z*git.itzana.me/strafesnet/go-grpc/datastore' + _globals['_KEYMESSAGE']._serialized_start=60 + _globals['_KEYMESSAGE']._serialized_end=85 + _globals['_UPDATEMESSAGE']._serialized_start=87 + _globals['_UPDATEMESSAGE']._serialized_end=199 + _globals['_OBJECTRESPONSE']._serialized_start=201 + _globals['_OBJECTRESPONSE']._serialized_end=269 + _globals['_NULLRESPONSE']._serialized_start=271 + _globals['_NULLRESPONSE']._serialized_end=285 + _globals['_DATASTORESERVICE']._serialized_start=288 + _globals['_DATASTORESERVICE']._serialized_end=484 # @@protoc_insertion_point(module_scope) diff --git a/strafesnet/events_pb2.py b/strafesnet/events_pb2.py index f69a6b9..e046326 100644 --- a/strafesnet/events_pb2.py +++ b/strafesnet/events_pb2.py @@ -1,11 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: events.proto +# Protobuf Python Version: 4.25.0 """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 symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,24 +17,24 @@ 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\"M\n\rLatestRequest\x12\x11\n\x04\x44\x61te\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12 \n\x04Page\x18\x02 \x01(\x0b\x32\x12.events.PaginationB\x07\n\x05_Date\"*\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') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'events_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'events_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z\'git.itzana.me/strafesnet/go-grpc/events' - _EVENTCREATE._serialized_start=54 - _EVENTCREATE._serialized_end=167 - _EVENTITEM._serialized_start=169 - _EVENTITEM._serialized_end=292 - _LATESTREQUEST._serialized_start=294 - _LATESTREQUEST._serialized_end=371 - _PAGINATION._serialized_start=373 - _PAGINATION._serialized_end=415 - _LATESTRESPONSE._serialized_start=417 - _LATESTRESPONSE._serialized_end=468 - _NULLRESPONSE._serialized_start=470 - _NULLRESPONSE._serialized_end=484 - _EVENTSSERVICE._serialized_start=487 - _EVENTSSERVICE._serialized_end=665 + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'Z\'git.itzana.me/strafesnet/go-grpc/events' + _globals['_EVENTCREATE']._serialized_start=54 + _globals['_EVENTCREATE']._serialized_end=167 + _globals['_EVENTITEM']._serialized_start=169 + _globals['_EVENTITEM']._serialized_end=292 + _globals['_LATESTREQUEST']._serialized_start=294 + _globals['_LATESTREQUEST']._serialized_end=371 + _globals['_PAGINATION']._serialized_start=373 + _globals['_PAGINATION']._serialized_end=415 + _globals['_LATESTRESPONSE']._serialized_start=417 + _globals['_LATESTRESPONSE']._serialized_end=468 + _globals['_NULLRESPONSE']._serialized_start=470 + _globals['_NULLRESPONSE']._serialized_end=484 + _globals['_EVENTSSERVICE']._serialized_start=487 + _globals['_EVENTSSERVICE']._serialized_end=665 # @@protoc_insertion_point(module_scope) diff --git a/strafesnet/maps_pb2.py b/strafesnet/maps_pb2.py index 55806da..c9f091a 100644 --- a/strafesnet/maps_pb2.py +++ b/strafesnet/maps_pb2.py @@ -1,11 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: maps.proto +# Protobuf Python Version: 4.25.0 """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 symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -15,30 +16,30 @@ _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') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'maps_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'maps_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z%git.itzana.me/strafesnet/go-grpc/maps' - _IDLIST._serialized_start=20 - _IDLIST._serialized_end=40 - _IDMESSAGE._serialized_start=42 - _IDMESSAGE._serialized_end=65 - _MAPRESPONSE._serialized_start=67 - _MAPRESPONSE._serialized_end=160 - _MAPREQUEST._serialized_start=163 - _MAPREQUEST._serialized_end=323 - _MAPFILTER._serialized_start=326 - _MAPFILTER._serialized_end=457 - _MAPLIST._serialized_start=459 - _MAPLIST._serialized_end=501 - _LISTREQUEST._serialized_start=503 - _LISTREQUEST._serialized_end=581 - _PAGINATION._serialized_start=583 - _PAGINATION._serialized_end=625 - _NULLRESPONSE._serialized_start=627 - _NULLRESPONSE._serialized_end=641 - _MAPSSERVICE._serialized_start=644 - _MAPSSERVICE._serialized_end=922 + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'Z%git.itzana.me/strafesnet/go-grpc/maps' + _globals['_IDLIST']._serialized_start=20 + _globals['_IDLIST']._serialized_end=40 + _globals['_IDMESSAGE']._serialized_start=42 + _globals['_IDMESSAGE']._serialized_end=65 + _globals['_MAPRESPONSE']._serialized_start=67 + _globals['_MAPRESPONSE']._serialized_end=160 + _globals['_MAPREQUEST']._serialized_start=163 + _globals['_MAPREQUEST']._serialized_end=323 + _globals['_MAPFILTER']._serialized_start=326 + _globals['_MAPFILTER']._serialized_end=457 + _globals['_MAPLIST']._serialized_start=459 + _globals['_MAPLIST']._serialized_end=501 + _globals['_LISTREQUEST']._serialized_start=503 + _globals['_LISTREQUEST']._serialized_end=581 + _globals['_PAGINATION']._serialized_start=583 + _globals['_PAGINATION']._serialized_end=625 + _globals['_NULLRESPONSE']._serialized_start=627 + _globals['_NULLRESPONSE']._serialized_end=641 + _globals['_MAPSSERVICE']._serialized_start=644 + _globals['_MAPSSERVICE']._serialized_end=922 # @@protoc_insertion_point(module_scope) diff --git a/strafesnet/ranks_pb2.py b/strafesnet/ranks_pb2.py index 2fa1ad8..f58da72 100644 --- a/strafesnet/ranks_pb2.py +++ b/strafesnet/ranks_pb2.py @@ -1,11 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ranks.proto +# Protobuf Python Version: 4.25.0 """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 symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,26 +17,26 @@ from . 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\"~\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\x0f\n\x07StateID\x18\x05 \x03(\x05\x12\x1f\n\x04Page\x18\x06 \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') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ranks_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ranks_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z&git.itzana.me/strafesnet/go-grpc/ranks' - _IDMESSAGE._serialized_start=35 - _IDMESSAGE._serialized_end=58 - _GETREQUEST._serialized_start=60 - _GETREQUEST._serialized_end=137 - _LISTREQUEST._serialized_start=139 - _LISTREQUEST._serialized_end=265 - _RANKLIST._serialized_start=267 - _RANKLIST._serialized_end=312 - _RANKMESSAGE._serialized_start=315 - _RANKMESSAGE._serialized_end=472 - _PAGINATION._serialized_start=474 - _PAGINATION._serialized_end=516 - _NULLRESPONSE._serialized_start=518 - _NULLRESPONSE._serialized_end=532 - _RANKSSERVICE._serialized_start=535 - _RANKSSERVICE._serialized_end=686 + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'Z&git.itzana.me/strafesnet/go-grpc/ranks' + _globals['_IDMESSAGE']._serialized_start=35 + _globals['_IDMESSAGE']._serialized_end=58 + _globals['_GETREQUEST']._serialized_start=60 + _globals['_GETREQUEST']._serialized_end=137 + _globals['_LISTREQUEST']._serialized_start=139 + _globals['_LISTREQUEST']._serialized_end=265 + _globals['_RANKLIST']._serialized_start=267 + _globals['_RANKLIST']._serialized_end=312 + _globals['_RANKMESSAGE']._serialized_start=315 + _globals['_RANKMESSAGE']._serialized_end=472 + _globals['_PAGINATION']._serialized_start=474 + _globals['_PAGINATION']._serialized_end=516 + _globals['_NULLRESPONSE']._serialized_start=518 + _globals['_NULLRESPONSE']._serialized_end=532 + _globals['_RANKSSERVICE']._serialized_start=535 + _globals['_RANKSSERVICE']._serialized_end=686 # @@protoc_insertion_point(module_scope) diff --git a/strafesnet/servers_pb2.py b/strafesnet/servers_pb2.py index 480b9a0..42c5efa 100644 --- a/strafesnet/servers_pb2.py +++ b/strafesnet/servers_pb2.py @@ -1,11 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: servers.proto +# Protobuf Python Version: 4.25.0 """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 symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -17,30 +18,30 @@ from . 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') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'servers_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'servers_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z(git.itzana.me/strafesnet/go-grpc/servers' - _SERVERLIST._serialized_start=51 - _SERVERLIST._serialized_end=101 - _IDMESSAGE._serialized_start=103 - _IDMESSAGE._serialized_end=126 - _SERVERCREATE._serialized_start=129 - _SERVERCREATE._serialized_end=316 - _SERVERITEM._serialized_start=319 - _SERVERITEM._serialized_end=540 - _SERVERUPDATE._serialized_start=542 - _SERVERUPDATE._serialized_end=652 - _SERVERFILTER._serialized_start=655 - _SERVERFILTER._serialized_end=863 - _PAGINATION._serialized_start=865 - _PAGINATION._serialized_end=907 - _SERVERLISTREQUEST._serialized_start=909 - _SERVERLISTREQUEST._serialized_end=1002 - _NULLRESPONSE._serialized_start=1004 - _NULLRESPONSE._serialized_end=1018 - _SERVERSERVICE._serialized_start=1021 - _SERVERSERVICE._serialized_end=1306 + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'Z(git.itzana.me/strafesnet/go-grpc/servers' + _globals['_SERVERLIST']._serialized_start=51 + _globals['_SERVERLIST']._serialized_end=101 + _globals['_IDMESSAGE']._serialized_start=103 + _globals['_IDMESSAGE']._serialized_end=126 + _globals['_SERVERCREATE']._serialized_start=129 + _globals['_SERVERCREATE']._serialized_end=316 + _globals['_SERVERITEM']._serialized_start=319 + _globals['_SERVERITEM']._serialized_end=540 + _globals['_SERVERUPDATE']._serialized_start=542 + _globals['_SERVERUPDATE']._serialized_end=652 + _globals['_SERVERFILTER']._serialized_start=655 + _globals['_SERVERFILTER']._serialized_end=863 + _globals['_PAGINATION']._serialized_start=865 + _globals['_PAGINATION']._serialized_end=907 + _globals['_SERVERLISTREQUEST']._serialized_start=909 + _globals['_SERVERLISTREQUEST']._serialized_end=1002 + _globals['_NULLRESPONSE']._serialized_start=1004 + _globals['_NULLRESPONSE']._serialized_end=1018 + _globals['_SERVERSERVICE']._serialized_start=1021 + _globals['_SERVERSERVICE']._serialized_end=1306 # @@protoc_insertion_point(module_scope) diff --git a/strafesnet/times_pb2.py b/strafesnet/times_pb2.py index e0d421b..e6bed1a 100644 --- a/strafesnet/times_pb2.py +++ b/strafesnet/times_pb2.py @@ -1,11 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: times.proto +# Protobuf Python Version: 4.25.0 """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 symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,30 +19,30 @@ 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') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'times_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'times_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z&git.itzana.me/strafesnet/go-grpc/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=1010 - _PAGINATION._serialized_start=1012 - _PAGINATION._serialized_end=1054 - _NULLRESPONSE._serialized_start=1056 - _NULLRESPONSE._serialized_end=1070 - _TIMESSERVICE._serialized_start=1073 - _TIMESSERVICE._serialized_end=1373 + _globals['DESCRIPTOR']._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) diff --git a/strafesnet/transactions_pb2.py b/strafesnet/transactions_pb2.py index d631a0f..c9a66a5 100644 --- a/strafesnet/transactions_pb2.py +++ b/strafesnet/transactions_pb2.py @@ -1,11 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: transactions.proto +# Protobuf Python Version: 4.25.0 """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 symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -17,34 +18,34 @@ 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\"v\n\x11TransactionCreate\x12\n\n\x02ID\x18\x01 \x01(\t\x12\x0e\n\x06UserID\x18\x02 \x01(\x03\x12\r\n\x05Value\x18\x03 \x01(\x03\x12\x0f\n\x07StateID\x18\x04 \x01(\x05\x12%\n\x04\x44\x61ta\x18\x05 \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') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'transactions_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'transactions_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z-git.itzana.me/strafesnet/go-grpc/transactions' - _TRANSACTIONCREATE._serialized_start=79 - _TRANSACTIONCREATE._serialized_end=197 - _TRANSACTIONUPDATE._serialized_start=200 - _TRANSACTIONUPDATE._serialized_end=348 - _TRANSACTIONITEM._serialized_start=351 - _TRANSACTIONITEM._serialized_end=520 - _TRANSACTIONFILTER._serialized_start=522 - _TRANSACTIONFILTER._serialized_end=607 - _LISTREQUEST._serialized_start=609 - _LISTREQUEST._serialized_end=711 - _PAGINATION._serialized_start=713 - _PAGINATION._serialized_end=755 - _TRANSACTIONLIST._serialized_start=757 - _TRANSACTIONLIST._serialized_end=827 - _BALANCERESPONSE._serialized_start=829 - _BALANCERESPONSE._serialized_end=863 - _IDMESSAGE._serialized_start=865 - _IDMESSAGE._serialized_end=888 - _USERIDMESSAGE._serialized_start=890 - _USERIDMESSAGE._serialized_end=921 - _NULLRESPONSE._serialized_start=923 - _NULLRESPONSE._serialized_end=937 - _TRANSACTIONSSERVICE._serialized_start=940 - _TRANSACTIONSSERVICE._serialized_end=1363 + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'Z-git.itzana.me/strafesnet/go-grpc/transactions' + _globals['_TRANSACTIONCREATE']._serialized_start=79 + _globals['_TRANSACTIONCREATE']._serialized_end=197 + _globals['_TRANSACTIONUPDATE']._serialized_start=200 + _globals['_TRANSACTIONUPDATE']._serialized_end=348 + _globals['_TRANSACTIONITEM']._serialized_start=351 + _globals['_TRANSACTIONITEM']._serialized_end=520 + _globals['_TRANSACTIONFILTER']._serialized_start=522 + _globals['_TRANSACTIONFILTER']._serialized_end=607 + _globals['_LISTREQUEST']._serialized_start=609 + _globals['_LISTREQUEST']._serialized_end=711 + _globals['_PAGINATION']._serialized_start=713 + _globals['_PAGINATION']._serialized_end=755 + _globals['_TRANSACTIONLIST']._serialized_start=757 + _globals['_TRANSACTIONLIST']._serialized_end=827 + _globals['_BALANCERESPONSE']._serialized_start=829 + _globals['_BALANCERESPONSE']._serialized_end=863 + _globals['_IDMESSAGE']._serialized_start=865 + _globals['_IDMESSAGE']._serialized_end=888 + _globals['_USERIDMESSAGE']._serialized_start=890 + _globals['_USERIDMESSAGE']._serialized_end=921 + _globals['_NULLRESPONSE']._serialized_start=923 + _globals['_NULLRESPONSE']._serialized_end=937 + _globals['_TRANSACTIONSSERVICE']._serialized_start=940 + _globals['_TRANSACTIONSSERVICE']._serialized_end=1363 # @@protoc_insertion_point(module_scope) diff --git a/strafesnet/users_pb2.py b/strafesnet/users_pb2.py index 169b7c8..229e862 100644 --- a/strafesnet/users_pb2.py +++ b/strafesnet/users_pb2.py @@ -1,11 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: users.proto +# Protobuf Python Version: 4.25.0 """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 symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -15,30 +16,30 @@ _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') -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'users_pb2', globals()) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'users_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z&git.itzana.me/strafesnet/go-grpc/users' - _IDLIST._serialized_start=22 - _IDLIST._serialized_end=42 - _IDMESSAGE._serialized_start=44 - _IDMESSAGE._serialized_end=67 - _USERRESPONSE._serialized_start=69 - _USERRESPONSE._serialized_end=130 - _USERREQUEST._serialized_start=132 - _USERREQUEST._serialized_end=227 - _USERFILTER._serialized_start=229 - _USERFILTER._serialized_end=335 - _USERLIST._serialized_start=337 - _USERLIST._serialized_end=383 - _LISTREQUEST._serialized_start=385 - _LISTREQUEST._serialized_end=466 - _PAGINATION._serialized_start=468 - _PAGINATION._serialized_end=510 - _NULLRESPONSE._serialized_start=512 - _NULLRESPONSE._serialized_end=526 - _USERSSERVICE._serialized_start=529 - _USERSSERVICE._serialized_end=825 + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'Z&git.itzana.me/strafesnet/go-grpc/users' + _globals['_IDLIST']._serialized_start=22 + _globals['_IDLIST']._serialized_end=42 + _globals['_IDMESSAGE']._serialized_start=44 + _globals['_IDMESSAGE']._serialized_end=67 + _globals['_USERRESPONSE']._serialized_start=69 + _globals['_USERRESPONSE']._serialized_end=130 + _globals['_USERREQUEST']._serialized_start=132 + _globals['_USERREQUEST']._serialized_end=227 + _globals['_USERFILTER']._serialized_start=229 + _globals['_USERFILTER']._serialized_end=335 + _globals['_USERLIST']._serialized_start=337 + _globals['_USERLIST']._serialized_end=383 + _globals['_LISTREQUEST']._serialized_start=385 + _globals['_LISTREQUEST']._serialized_end=466 + _globals['_PAGINATION']._serialized_start=468 + _globals['_PAGINATION']._serialized_end=510 + _globals['_NULLRESPONSE']._serialized_start=512 + _globals['_NULLRESPONSE']._serialized_end=526 + _globals['_USERSSERVICE']._serialized_start=529 + _globals['_USERSSERVICE']._serialized_end=825 # @@protoc_insertion_point(module_scope)