diff --git a/strafesnet/maps_extended_pb2.py b/strafesnet/maps_extended_pb2.py index b93a9e1..bc77326 100644 --- a/strafesnet/maps_extended_pb2.py +++ b/strafesnet/maps_extended_pb2.py @@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13maps_extended.proto\x12\rmaps_extended\"\x17\n\tMapIdList\x12\n\n\x02ID\x18\x01 \x03(\x03\"\x13\n\x05MapId\x12\n\n\x02ID\x18\x01 \x01(\x03\"\xe1\x01\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(\r\x12\x0c\n\x04\x44\x61te\x18\x05 \x01(\x03\x12\x11\n\tCreatedAt\x18\x06 \x01(\x03\x12\x11\n\tUpdatedAt\x18\x07 \x01(\x03\x12\x11\n\tSubmitter\x18\x08 \x01(\x04\x12\x11\n\tThumbnail\x18\t \x01(\x04\x12\x14\n\x0c\x41ssetVersion\x18\n \x01(\x04\x12\x11\n\tLoadCount\x18\x0b \x01(\r\x12\r\n\x05Modes\x18\x0c \x01(\r\"\x97\x01\n\tMapCreate\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(\r\x12\x0c\n\x04\x44\x61te\x18\x05 \x01(\x03\x12\x11\n\tSubmitter\x18\x06 \x01(\x04\x12\x11\n\tThumbnail\x18\x07 \x01(\x04\x12\x14\n\x0c\x41ssetVersion\x18\x08 \x01(\x04\"\xb5\x02\n\tMapUpdate\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(\rH\x02\x88\x01\x01\x12\x11\n\x04\x44\x61te\x18\x05 \x01(\x03H\x03\x88\x01\x01\x12\x16\n\tSubmitter\x18\x06 \x01(\x04H\x04\x88\x01\x01\x12\x16\n\tThumbnail\x18\x07 \x01(\x04H\x05\x88\x01\x01\x12\x19\n\x0c\x41ssetVersion\x18\x08 \x01(\x04H\x06\x88\x01\x01\x12\x12\n\x05Modes\x18\t \x01(\rH\x07\x88\x01\x01\x42\x0e\n\x0c_DisplayNameB\n\n\x08_CreatorB\t\n\x07_GameIDB\x07\n\x05_DateB\x0c\n\n_SubmitterB\x0c\n\n_ThumbnailB\x0f\n\r_AssetVersionB\x08\n\x06_Modes\"\x9d\x01\n\tMapFilter\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(\rH\x02\x88\x01\x01\x12\x16\n\tSubmitter\x18\x05 \x01(\x04H\x03\x88\x01\x01\x42\x0e\n\x0c_DisplayNameB\n\n\x08_CreatorB\t\n\x07_GameIDB\x0c\n\n_Submitter\"3\n\x07MapList\x12(\n\x04Maps\x18\x01 \x03(\x0b\x32\x1a.maps_extended.MapResponse\"`\n\x0bListRequest\x12(\n\x06\x46ilter\x18\x01 \x01(\x0b\x32\x18.maps_extended.MapFilter\x12\'\n\x04Page\x18\x02 \x01(\x0b\x32\x19.maps_extended.Pagination\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\r\x12\x0e\n\x06Number\x18\x02 \x01(\r\"\x0e\n\x0cNullResponse2\xbd\x03\n\x0bMapsService\x12\x37\n\x03Get\x12\x14.maps_extended.MapId\x1a\x1a.maps_extended.MapResponse\x12;\n\x07GetList\x12\x18.maps_extended.MapIdList\x1a\x16.maps_extended.MapList\x12?\n\x06Update\x12\x18.maps_extended.MapUpdate\x1a\x1b.maps_extended.NullResponse\x12\x38\n\x06\x43reate\x12\x18.maps_extended.MapCreate\x1a\x14.maps_extended.MapId\x12;\n\x06\x44\x65lete\x12\x14.maps_extended.MapId\x1a\x1b.maps_extended.NullResponse\x12:\n\x04List\x12\x1a.maps_extended.ListRequest\x1a\x16.maps_extended.MapList\x12\x44\n\x12TEMP_CreateMigrate\x12\x18.maps_extended.MapCreate\x1a\x14.maps_extended.MapIdB0Z.git.itzana.me/strafesnet/go-grpc/maps_extendedb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13maps_extended.proto\x12\rmaps_extended\"\x17\n\tMapIdList\x12\n\n\x02ID\x18\x01 \x03(\x03\"\x13\n\x05MapId\x12\n\n\x02ID\x18\x01 \x01(\x03\"\xe1\x01\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(\r\x12\x0c\n\x04\x44\x61te\x18\x05 \x01(\x03\x12\x11\n\tCreatedAt\x18\x06 \x01(\x03\x12\x11\n\tUpdatedAt\x18\x07 \x01(\x03\x12\x11\n\tSubmitter\x18\x08 \x01(\x04\x12\x11\n\tThumbnail\x18\t \x01(\x04\x12\x14\n\x0c\x41ssetVersion\x18\n \x01(\x04\x12\x11\n\tLoadCount\x18\x0b \x01(\r\x12\r\n\x05Modes\x18\x0c \x01(\r\"\xa6\x01\n\tMapCreate\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(\r\x12\x0c\n\x04\x44\x61te\x18\x05 \x01(\x03\x12\x11\n\tSubmitter\x18\x06 \x01(\x04\x12\x11\n\tThumbnail\x18\x07 \x01(\x04\x12\x14\n\x0c\x41ssetVersion\x18\x08 \x01(\x04\x12\r\n\x05Modes\x18\t \x01(\r\"\xb5\x02\n\tMapUpdate\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(\rH\x02\x88\x01\x01\x12\x11\n\x04\x44\x61te\x18\x05 \x01(\x03H\x03\x88\x01\x01\x12\x16\n\tSubmitter\x18\x06 \x01(\x04H\x04\x88\x01\x01\x12\x16\n\tThumbnail\x18\x07 \x01(\x04H\x05\x88\x01\x01\x12\x19\n\x0c\x41ssetVersion\x18\x08 \x01(\x04H\x06\x88\x01\x01\x12\x12\n\x05Modes\x18\t \x01(\rH\x07\x88\x01\x01\x42\x0e\n\x0c_DisplayNameB\n\n\x08_CreatorB\t\n\x07_GameIDB\x07\n\x05_DateB\x0c\n\n_SubmitterB\x0c\n\n_ThumbnailB\x0f\n\r_AssetVersionB\x08\n\x06_Modes\"\x9d\x01\n\tMapFilter\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(\rH\x02\x88\x01\x01\x12\x16\n\tSubmitter\x18\x05 \x01(\x04H\x03\x88\x01\x01\x42\x0e\n\x0c_DisplayNameB\n\n\x08_CreatorB\t\n\x07_GameIDB\x0c\n\n_Submitter\"3\n\x07MapList\x12(\n\x04Maps\x18\x01 \x03(\x0b\x32\x1a.maps_extended.MapResponse\"`\n\x0bListRequest\x12(\n\x06\x46ilter\x18\x01 \x01(\x0b\x32\x18.maps_extended.MapFilter\x12\'\n\x04Page\x18\x02 \x01(\x0b\x32\x19.maps_extended.Pagination\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\r\x12\x0e\n\x06Number\x18\x02 \x01(\r\"\x0e\n\x0cNullResponse2\xf7\x02\n\x0bMapsService\x12\x37\n\x03Get\x12\x14.maps_extended.MapId\x1a\x1a.maps_extended.MapResponse\x12;\n\x07GetList\x12\x18.maps_extended.MapIdList\x1a\x16.maps_extended.MapList\x12?\n\x06Update\x12\x18.maps_extended.MapUpdate\x1a\x1b.maps_extended.NullResponse\x12\x38\n\x06\x43reate\x12\x18.maps_extended.MapCreate\x1a\x14.maps_extended.MapId\x12;\n\x06\x44\x65lete\x12\x14.maps_extended.MapId\x1a\x1b.maps_extended.NullResponse\x12:\n\x04List\x12\x1a.maps_extended.ListRequest\x1a\x16.maps_extended.MapListB0Z.git.itzana.me/strafesnet/go-grpc/maps_extendedb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -39,19 +39,19 @@ if not _descriptor._USE_C_DESCRIPTORS: _globals['_MAPRESPONSE']._serialized_start=85 _globals['_MAPRESPONSE']._serialized_end=310 _globals['_MAPCREATE']._serialized_start=313 - _globals['_MAPCREATE']._serialized_end=464 - _globals['_MAPUPDATE']._serialized_start=467 - _globals['_MAPUPDATE']._serialized_end=776 - _globals['_MAPFILTER']._serialized_start=779 - _globals['_MAPFILTER']._serialized_end=936 - _globals['_MAPLIST']._serialized_start=938 - _globals['_MAPLIST']._serialized_end=989 - _globals['_LISTREQUEST']._serialized_start=991 - _globals['_LISTREQUEST']._serialized_end=1087 - _globals['_PAGINATION']._serialized_start=1089 - _globals['_PAGINATION']._serialized_end=1131 - _globals['_NULLRESPONSE']._serialized_start=1133 - _globals['_NULLRESPONSE']._serialized_end=1147 - _globals['_MAPSSERVICE']._serialized_start=1150 - _globals['_MAPSSERVICE']._serialized_end=1595 + _globals['_MAPCREATE']._serialized_end=479 + _globals['_MAPUPDATE']._serialized_start=482 + _globals['_MAPUPDATE']._serialized_end=791 + _globals['_MAPFILTER']._serialized_start=794 + _globals['_MAPFILTER']._serialized_end=951 + _globals['_MAPLIST']._serialized_start=953 + _globals['_MAPLIST']._serialized_end=1004 + _globals['_LISTREQUEST']._serialized_start=1006 + _globals['_LISTREQUEST']._serialized_end=1102 + _globals['_PAGINATION']._serialized_start=1104 + _globals['_PAGINATION']._serialized_end=1146 + _globals['_NULLRESPONSE']._serialized_start=1148 + _globals['_NULLRESPONSE']._serialized_end=1162 + _globals['_MAPSSERVICE']._serialized_start=1165 + _globals['_MAPSSERVICE']._serialized_end=1540 # @@protoc_insertion_point(module_scope) diff --git a/strafesnet/maps_extended_pb2_grpc.py b/strafesnet/maps_extended_pb2_grpc.py index 9d35a6b..7d90a4e 100644 --- a/strafesnet/maps_extended_pb2_grpc.py +++ b/strafesnet/maps_extended_pb2_grpc.py @@ -64,11 +64,6 @@ class MapsServiceStub(object): request_serializer=maps__extended__pb2.ListRequest.SerializeToString, response_deserializer=maps__extended__pb2.MapList.FromString, _registered_method=True) - self.TEMP_CreateMigrate = channel.unary_unary( - '/maps_extended.MapsService/TEMP_CreateMigrate', - request_serializer=maps__extended__pb2.MapCreate.SerializeToString, - response_deserializer=maps__extended__pb2.MapId.FromString, - _registered_method=True) class MapsServiceServicer(object): @@ -110,12 +105,6 @@ class MapsServiceServicer(object): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def TEMP_CreateMigrate(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - def add_MapsServiceServicer_to_server(servicer, server): rpc_method_handlers = { @@ -149,11 +138,6 @@ def add_MapsServiceServicer_to_server(servicer, server): request_deserializer=maps__extended__pb2.ListRequest.FromString, response_serializer=maps__extended__pb2.MapList.SerializeToString, ), - 'TEMP_CreateMigrate': grpc.unary_unary_rpc_method_handler( - servicer.TEMP_CreateMigrate, - request_deserializer=maps__extended__pb2.MapCreate.FromString, - response_serializer=maps__extended__pb2.MapId.SerializeToString, - ), } generic_handler = grpc.method_handlers_generic_handler( 'maps_extended.MapsService', rpc_method_handlers) @@ -326,30 +310,3 @@ class MapsService(object): timeout, metadata, _registered_method=True) - - @staticmethod - def TEMP_CreateMigrate(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/maps_extended.MapsService/TEMP_CreateMigrate', - maps__extended__pb2.MapCreate.SerializeToString, - maps__extended__pb2.MapId.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True)