Autogenerated update for 77d88876f6...d9db4fefb8
This commit is contained in:
55
strafesnet/maps_embedded_pb2.py
Normal file
55
strafesnet/maps_embedded_pb2.py
Normal file
@@ -0,0 +1,55 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# NO CHECKED-IN PROTOBUF GENCODE
|
||||
# source: maps_embedded.proto
|
||||
# Protobuf Python Version: 6.31.0
|
||||
"""Generated protocol buffer code."""
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import descriptor_pool as _descriptor_pool
|
||||
from google.protobuf import runtime_version as _runtime_version
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
from google.protobuf.internal import builder as _builder
|
||||
_runtime_version.ValidateProtobufRuntimeVersion(
|
||||
_runtime_version.Domain.PUBLIC,
|
||||
6,
|
||||
31,
|
||||
0,
|
||||
'',
|
||||
'maps_embedded.proto'
|
||||
)
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13maps_embedded.proto\x12\rmaps_embedded\"\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\"w\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(\x05H\x02\x88\x01\x01\x42\x0e\n\x0c_DisplayNameB\n\n\x08_CreatorB\t\n\x07_GameID\"3\n\x07MapList\x12(\n\x04Maps\x18\x01 \x03(\x0b\x32\x1a.maps_embedded.MapResponse\"`\n\x0bListRequest\x12(\n\x06\x46ilter\x18\x01 \x01(\x0b\x32\x18.maps_embedded.MapFilter\x12\'\n\x04Page\x18\x02 \x01(\x0b\x32\x19.maps_embedded.Pagination\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\x05\x12\x0e\n\x06Number\x18\x02 \x01(\x05\"\x0e\n\x0cNullResponse2\x82\x03\n\x0bMapsService\x12;\n\x03Get\x12\x18.maps_embedded.IdMessage\x1a\x1a.maps_embedded.MapResponse\x12\x38\n\x07GetList\x12\x15.maps_embedded.IdList\x1a\x16.maps_embedded.MapList\x12@\n\x06Update\x12\x19.maps_embedded.MapRequest\x1a\x1b.maps_embedded.NullResponse\x12=\n\x06\x43reate\x12\x19.maps_embedded.MapRequest\x1a\x18.maps_embedded.IdMessage\x12?\n\x06\x44\x65lete\x12\x18.maps_embedded.IdMessage\x1a\x1b.maps_embedded.NullResponse\x12:\n\x04List\x12\x1a.maps_embedded.ListRequest\x1a\x16.maps_embedded.MapListB0Z.git.itzana.me/strafesnet/go-grpc/maps_embeddedb\x06proto3')
|
||||
|
||||
_globals = globals()
|
||||
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
||||
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'maps_embedded_pb2', _globals)
|
||||
if not _descriptor._USE_C_DESCRIPTORS:
|
||||
_globals['DESCRIPTOR']._loaded_options = None
|
||||
_globals['DESCRIPTOR']._serialized_options = b'Z.git.itzana.me/strafesnet/go-grpc/maps_embedded'
|
||||
_globals['_IDLIST']._serialized_start=38
|
||||
_globals['_IDLIST']._serialized_end=58
|
||||
_globals['_IDMESSAGE']._serialized_start=60
|
||||
_globals['_IDMESSAGE']._serialized_end=83
|
||||
_globals['_MAPRESPONSE']._serialized_start=85
|
||||
_globals['_MAPRESPONSE']._serialized_end=178
|
||||
_globals['_MAPREQUEST']._serialized_start=181
|
||||
_globals['_MAPREQUEST']._serialized_end=341
|
||||
_globals['_MAPFILTER']._serialized_start=343
|
||||
_globals['_MAPFILTER']._serialized_end=462
|
||||
_globals['_MAPLIST']._serialized_start=464
|
||||
_globals['_MAPLIST']._serialized_end=515
|
||||
_globals['_LISTREQUEST']._serialized_start=517
|
||||
_globals['_LISTREQUEST']._serialized_end=613
|
||||
_globals['_PAGINATION']._serialized_start=615
|
||||
_globals['_PAGINATION']._serialized_end=657
|
||||
_globals['_NULLRESPONSE']._serialized_start=659
|
||||
_globals['_NULLRESPONSE']._serialized_end=673
|
||||
_globals['_MAPSSERVICE']._serialized_start=676
|
||||
_globals['_MAPSSERVICE']._serialized_end=1062
|
||||
# @@protoc_insertion_point(module_scope)
|
||||
312
strafesnet/maps_embedded_pb2_grpc.py
Normal file
312
strafesnet/maps_embedded_pb2_grpc.py
Normal file
@@ -0,0 +1,312 @@
|
||||
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
||||
"""Client and server classes corresponding to protobuf-defined services."""
|
||||
import grpc
|
||||
import warnings
|
||||
|
||||
from . import maps_embedded_pb2 as maps__embedded__pb2
|
||||
|
||||
GRPC_GENERATED_VERSION = '1.73.1'
|
||||
GRPC_VERSION = grpc.__version__
|
||||
_version_not_supported = False
|
||||
|
||||
try:
|
||||
from grpc._utilities import first_version_is_lower
|
||||
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
||||
except ImportError:
|
||||
_version_not_supported = True
|
||||
|
||||
if _version_not_supported:
|
||||
raise RuntimeError(
|
||||
f'The grpc package installed is at version {GRPC_VERSION},'
|
||||
+ f' but the generated code in maps_embedded_pb2_grpc.py depends on'
|
||||
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
||||
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
||||
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
||||
)
|
||||
|
||||
|
||||
class MapsServiceStub(object):
|
||||
"""Missing associated documentation comment in .proto file."""
|
||||
|
||||
def __init__(self, channel):
|
||||
"""Constructor.
|
||||
|
||||
Args:
|
||||
channel: A grpc.Channel.
|
||||
"""
|
||||
self.Get = channel.unary_unary(
|
||||
'/maps_embedded.MapsService/Get',
|
||||
request_serializer=maps__embedded__pb2.IdMessage.SerializeToString,
|
||||
response_deserializer=maps__embedded__pb2.MapResponse.FromString,
|
||||
_registered_method=True)
|
||||
self.GetList = channel.unary_unary(
|
||||
'/maps_embedded.MapsService/GetList',
|
||||
request_serializer=maps__embedded__pb2.IdList.SerializeToString,
|
||||
response_deserializer=maps__embedded__pb2.MapList.FromString,
|
||||
_registered_method=True)
|
||||
self.Update = channel.unary_unary(
|
||||
'/maps_embedded.MapsService/Update',
|
||||
request_serializer=maps__embedded__pb2.MapRequest.SerializeToString,
|
||||
response_deserializer=maps__embedded__pb2.NullResponse.FromString,
|
||||
_registered_method=True)
|
||||
self.Create = channel.unary_unary(
|
||||
'/maps_embedded.MapsService/Create',
|
||||
request_serializer=maps__embedded__pb2.MapRequest.SerializeToString,
|
||||
response_deserializer=maps__embedded__pb2.IdMessage.FromString,
|
||||
_registered_method=True)
|
||||
self.Delete = channel.unary_unary(
|
||||
'/maps_embedded.MapsService/Delete',
|
||||
request_serializer=maps__embedded__pb2.IdMessage.SerializeToString,
|
||||
response_deserializer=maps__embedded__pb2.NullResponse.FromString,
|
||||
_registered_method=True)
|
||||
self.List = channel.unary_unary(
|
||||
'/maps_embedded.MapsService/List',
|
||||
request_serializer=maps__embedded__pb2.ListRequest.SerializeToString,
|
||||
response_deserializer=maps__embedded__pb2.MapList.FromString,
|
||||
_registered_method=True)
|
||||
|
||||
|
||||
class MapsServiceServicer(object):
|
||||
"""Missing associated documentation comment in .proto file."""
|
||||
|
||||
def Get(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 GetList(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 Update(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 Create(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 Delete(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 List(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 = {
|
||||
'Get': grpc.unary_unary_rpc_method_handler(
|
||||
servicer.Get,
|
||||
request_deserializer=maps__embedded__pb2.IdMessage.FromString,
|
||||
response_serializer=maps__embedded__pb2.MapResponse.SerializeToString,
|
||||
),
|
||||
'GetList': grpc.unary_unary_rpc_method_handler(
|
||||
servicer.GetList,
|
||||
request_deserializer=maps__embedded__pb2.IdList.FromString,
|
||||
response_serializer=maps__embedded__pb2.MapList.SerializeToString,
|
||||
),
|
||||
'Update': grpc.unary_unary_rpc_method_handler(
|
||||
servicer.Update,
|
||||
request_deserializer=maps__embedded__pb2.MapRequest.FromString,
|
||||
response_serializer=maps__embedded__pb2.NullResponse.SerializeToString,
|
||||
),
|
||||
'Create': grpc.unary_unary_rpc_method_handler(
|
||||
servicer.Create,
|
||||
request_deserializer=maps__embedded__pb2.MapRequest.FromString,
|
||||
response_serializer=maps__embedded__pb2.IdMessage.SerializeToString,
|
||||
),
|
||||
'Delete': grpc.unary_unary_rpc_method_handler(
|
||||
servicer.Delete,
|
||||
request_deserializer=maps__embedded__pb2.IdMessage.FromString,
|
||||
response_serializer=maps__embedded__pb2.NullResponse.SerializeToString,
|
||||
),
|
||||
'List': grpc.unary_unary_rpc_method_handler(
|
||||
servicer.List,
|
||||
request_deserializer=maps__embedded__pb2.ListRequest.FromString,
|
||||
response_serializer=maps__embedded__pb2.MapList.SerializeToString,
|
||||
),
|
||||
}
|
||||
generic_handler = grpc.method_handlers_generic_handler(
|
||||
'maps_embedded.MapsService', rpc_method_handlers)
|
||||
server.add_generic_rpc_handlers((generic_handler,))
|
||||
server.add_registered_method_handlers('maps_embedded.MapsService', rpc_method_handlers)
|
||||
|
||||
|
||||
# This class is part of an EXPERIMENTAL API.
|
||||
class MapsService(object):
|
||||
"""Missing associated documentation comment in .proto file."""
|
||||
|
||||
@staticmethod
|
||||
def Get(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_embedded.MapsService/Get',
|
||||
maps__embedded__pb2.IdMessage.SerializeToString,
|
||||
maps__embedded__pb2.MapResponse.FromString,
|
||||
options,
|
||||
channel_credentials,
|
||||
insecure,
|
||||
call_credentials,
|
||||
compression,
|
||||
wait_for_ready,
|
||||
timeout,
|
||||
metadata,
|
||||
_registered_method=True)
|
||||
|
||||
@staticmethod
|
||||
def GetList(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_embedded.MapsService/GetList',
|
||||
maps__embedded__pb2.IdList.SerializeToString,
|
||||
maps__embedded__pb2.MapList.FromString,
|
||||
options,
|
||||
channel_credentials,
|
||||
insecure,
|
||||
call_credentials,
|
||||
compression,
|
||||
wait_for_ready,
|
||||
timeout,
|
||||
metadata,
|
||||
_registered_method=True)
|
||||
|
||||
@staticmethod
|
||||
def Update(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_embedded.MapsService/Update',
|
||||
maps__embedded__pb2.MapRequest.SerializeToString,
|
||||
maps__embedded__pb2.NullResponse.FromString,
|
||||
options,
|
||||
channel_credentials,
|
||||
insecure,
|
||||
call_credentials,
|
||||
compression,
|
||||
wait_for_ready,
|
||||
timeout,
|
||||
metadata,
|
||||
_registered_method=True)
|
||||
|
||||
@staticmethod
|
||||
def Create(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_embedded.MapsService/Create',
|
||||
maps__embedded__pb2.MapRequest.SerializeToString,
|
||||
maps__embedded__pb2.IdMessage.FromString,
|
||||
options,
|
||||
channel_credentials,
|
||||
insecure,
|
||||
call_credentials,
|
||||
compression,
|
||||
wait_for_ready,
|
||||
timeout,
|
||||
metadata,
|
||||
_registered_method=True)
|
||||
|
||||
@staticmethod
|
||||
def Delete(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_embedded.MapsService/Delete',
|
||||
maps__embedded__pb2.IdMessage.SerializeToString,
|
||||
maps__embedded__pb2.NullResponse.FromString,
|
||||
options,
|
||||
channel_credentials,
|
||||
insecure,
|
||||
call_credentials,
|
||||
compression,
|
||||
wait_for_ready,
|
||||
timeout,
|
||||
metadata,
|
||||
_registered_method=True)
|
||||
|
||||
@staticmethod
|
||||
def List(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_embedded.MapsService/List',
|
||||
maps__embedded__pb2.ListRequest.SerializeToString,
|
||||
maps__embedded__pb2.MapList.FromString,
|
||||
options,
|
||||
channel_credentials,
|
||||
insecure,
|
||||
call_credentials,
|
||||
compression,
|
||||
wait_for_ready,
|
||||
timeout,
|
||||
metadata,
|
||||
_registered_method=True)
|
||||
@@ -23,10 +23,10 @@ _sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from . import users_pb2 as users__pb2
|
||||
from . import maps_pb2 as maps__pb2
|
||||
from . import maps_embedded_pb2 as maps__embedded__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')
|
||||
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rservers.proto\x12\x07servers\x1a\x0busers.proto\x1a\x13maps_embedded.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\"\xe6\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\'\n\x03Map\x18\x07 \x01(\x0b\x32\x1a.maps_embedded.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')
|
||||
|
||||
_globals = globals()
|
||||
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
||||
@@ -34,24 +34,24 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'servers_pb2', _globals)
|
||||
if not _descriptor._USE_C_DESCRIPTORS:
|
||||
_globals['DESCRIPTOR']._loaded_options = None
|
||||
_globals['DESCRIPTOR']._serialized_options = b'Z(git.itzana.me/strafesnet/go-grpc/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
|
||||
_globals['_SERVERLIST']._serialized_start=60
|
||||
_globals['_SERVERLIST']._serialized_end=110
|
||||
_globals['_IDMESSAGE']._serialized_start=112
|
||||
_globals['_IDMESSAGE']._serialized_end=135
|
||||
_globals['_SERVERCREATE']._serialized_start=138
|
||||
_globals['_SERVERCREATE']._serialized_end=325
|
||||
_globals['_SERVERITEM']._serialized_start=328
|
||||
_globals['_SERVERITEM']._serialized_end=558
|
||||
_globals['_SERVERUPDATE']._serialized_start=560
|
||||
_globals['_SERVERUPDATE']._serialized_end=670
|
||||
_globals['_SERVERFILTER']._serialized_start=673
|
||||
_globals['_SERVERFILTER']._serialized_end=881
|
||||
_globals['_PAGINATION']._serialized_start=883
|
||||
_globals['_PAGINATION']._serialized_end=925
|
||||
_globals['_SERVERLISTREQUEST']._serialized_start=927
|
||||
_globals['_SERVERLISTREQUEST']._serialized_end=1020
|
||||
_globals['_NULLRESPONSE']._serialized_start=1022
|
||||
_globals['_NULLRESPONSE']._serialized_end=1036
|
||||
_globals['_SERVERSERVICE']._serialized_start=1039
|
||||
_globals['_SERVERSERVICE']._serialized_end=1324
|
||||
# @@protoc_insertion_point(module_scope)
|
||||
|
||||
@@ -23,11 +23,11 @@ _sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
from . import users_pb2 as users__pb2
|
||||
from . import maps_pb2 as maps__pb2
|
||||
from . import maps_embedded_pb2 as maps__embedded__pb2
|
||||
from . import bots_pb2 as bots__pb2
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0btimes.proto\x12\x05times\x1a\x0busers.proto\x1a\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\"\x1b\n\rIdListMessage\x12\n\n\x02ID\x18\x01 \x03(\x03\"=\n\x08TimeList\x12\"\n\x05Times\x18\x01 \x03(\x0b\x32\x13.times.TimeResponse\x12\r\n\x05Total\x18\x02 \x01(\x03\"6\n\x10RankListResponse\x12\"\n\x05Ranks\x18\x01 \x03(\x0b\x32\x13.times.RankResponse\"(\n\x0cRankResponse\x12\x0c\n\x04Rank\x18\x01 \x01(\x03\x12\n\n\x02ID\x18\x02 \x01(\x03\"t\n\x0bListRequest\x12!\n\x06\x46ilter\x18\x01 \x01(\x0b\x32\x11.times.TimeFilter\x12\x13\n\x0b\x42lacklisted\x18\x02 \x01(\x08\x12\x1f\n\x04Page\x18\x03 \x01(\x0b\x32\x11.times.Pagination\x12\x0c\n\x04Sort\x18\x04 \x01(\r\"S\n\rWrListRequest\x12!\n\x06\x46ilter\x18\x01 \x01(\x0b\x32\x11.times.TimeFilter\x12\x1f\n\x04Page\x18\x02 \x01(\x0b\x32\x11.times.Pagination\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\x05\x12\x0e\n\x06Number\x18\x02 \x01(\x05\"\x0e\n\x0cNullResponse2\x99\x03\n\x0cTimesService\x12.\n\x06\x43reate\x12\x12.times.TimeRequest\x1a\x10.times.IdMessage\x12\x31\n\x06Update\x12\x12.times.TimeRequest\x1a\x13.times.NullResponse\x12/\n\x06\x44\x65lete\x12\x10.times.IdMessage\x1a\x13.times.NullResponse\x12,\n\x03Get\x12\x10.times.IdMessage\x1a\x13.times.TimeResponse\x12+\n\x04List\x12\x12.times.ListRequest\x1a\x0f.times.TimeList\x12/\n\x06ListWr\x12\x14.times.WrListRequest\x1a\x0f.times.TimeList\x12-\n\x04Rank\x12\x10.times.IdMessage\x1a\x13.times.RankResponse\x12:\n\tRankBatch\x12\x14.times.IdListMessage\x1a\x17.times.RankListResponseB(Z&git.itzana.me/strafesnet/go-grpc/timesb\x06proto3')
|
||||
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0btimes.proto\x12\x05times\x1a\x0busers.proto\x1a\x13maps_embedded.proto\x1a\nbots.proto\"\xf1\x01\n\x0bTimeRequest\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\x11\n\x04Time\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x13\n\x06UserID\x18\x03 \x01(\x03H\x01\x88\x01\x01\x12\x12\n\x05MapID\x18\x04 \x01(\x03H\x02\x88\x01\x01\x12\x11\n\x04\x44\x61te\x18\x05 \x01(\x03H\x03\x88\x01\x01\x12\x14\n\x07StyleID\x18\x06 \x01(\x05H\x04\x88\x01\x01\x12\x13\n\x06ModeID\x18\x07 \x01(\x05H\x05\x88\x01\x01\x12\x13\n\x06GameID\x18\x08 \x01(\x05H\x06\x88\x01\x01\x42\x07\n\x05_TimeB\t\n\x07_UserIDB\x08\n\x06_MapIDB\x07\n\x05_DateB\n\n\x08_StyleIDB\t\n\x07_ModeIDB\t\n\x07_GameID\"\xfc\x01\n\nTimeFilter\x12\x0f\n\x02ID\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x11\n\x04Time\x18\x02 \x01(\x03H\x01\x88\x01\x01\x12\x13\n\x06UserID\x18\x03 \x01(\x03H\x02\x88\x01\x01\x12\x12\n\x05MapID\x18\x04 \x01(\x03H\x03\x88\x01\x01\x12\x11\n\x04\x44\x61te\x18\x05 \x01(\x03H\x04\x88\x01\x01\x12\x14\n\x07StyleID\x18\x06 \x01(\x05H\x05\x88\x01\x01\x12\x13\n\x06ModeID\x18\x07 \x01(\x05H\x06\x88\x01\x01\x12\x13\n\x06GameID\x18\x08 \x01(\x05H\x07\x88\x01\x01\x42\x05\n\x03_IDB\x07\n\x05_TimeB\t\n\x07_UserIDB\x08\n\x06_MapIDB\x07\n\x05_DateB\n\n\x08_StyleIDB\t\n\x07_ModeIDB\t\n\x07_GameID\"\xe0\x01\n\x0cTimeResponse\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\x0c\n\x04Time\x18\x02 \x01(\x03\x12!\n\x04User\x18\x03 \x01(\x0b\x32\x13.users.UserResponse\x12\'\n\x03Map\x18\x04 \x01(\x0b\x32\x1a.maps_embedded.MapResponse\x12#\n\x03\x42ot\x18\x05 \x01(\x0b\x32\x11.bots.BotResponseH\x00\x88\x01\x01\x12\x0c\n\x04\x44\x61te\x18\x06 \x01(\x03\x12\x0f\n\x07StyleID\x18\x07 \x01(\x05\x12\x0e\n\x06ModeID\x18\x08 \x01(\x05\x12\x0e\n\x06GameID\x18\t \x01(\x05\x42\x06\n\x04_Bot\"\x17\n\tIdMessage\x12\n\n\x02ID\x18\x01 \x01(\x03\"\x1b\n\rIdListMessage\x12\n\n\x02ID\x18\x01 \x03(\x03\"=\n\x08TimeList\x12\"\n\x05Times\x18\x01 \x03(\x0b\x32\x13.times.TimeResponse\x12\r\n\x05Total\x18\x02 \x01(\x03\"6\n\x10RankListResponse\x12\"\n\x05Ranks\x18\x01 \x03(\x0b\x32\x13.times.RankResponse\"(\n\x0cRankResponse\x12\x0c\n\x04Rank\x18\x01 \x01(\x03\x12\n\n\x02ID\x18\x02 \x01(\x03\"t\n\x0bListRequest\x12!\n\x06\x46ilter\x18\x01 \x01(\x0b\x32\x11.times.TimeFilter\x12\x13\n\x0b\x42lacklisted\x18\x02 \x01(\x08\x12\x1f\n\x04Page\x18\x03 \x01(\x0b\x32\x11.times.Pagination\x12\x0c\n\x04Sort\x18\x04 \x01(\r\"S\n\rWrListRequest\x12!\n\x06\x46ilter\x18\x01 \x01(\x0b\x32\x11.times.TimeFilter\x12\x1f\n\x04Page\x18\x02 \x01(\x0b\x32\x11.times.Pagination\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\x05\x12\x0e\n\x06Number\x18\x02 \x01(\x05\"\x0e\n\x0cNullResponse2\x99\x03\n\x0cTimesService\x12.\n\x06\x43reate\x12\x12.times.TimeRequest\x1a\x10.times.IdMessage\x12\x31\n\x06Update\x12\x12.times.TimeRequest\x1a\x13.times.NullResponse\x12/\n\x06\x44\x65lete\x12\x10.times.IdMessage\x1a\x13.times.NullResponse\x12,\n\x03Get\x12\x10.times.IdMessage\x1a\x13.times.TimeResponse\x12+\n\x04List\x12\x12.times.ListRequest\x1a\x0f.times.TimeList\x12/\n\x06ListWr\x12\x14.times.WrListRequest\x1a\x0f.times.TimeList\x12-\n\x04Rank\x12\x10.times.IdMessage\x1a\x13.times.RankResponse\x12:\n\tRankBatch\x12\x14.times.IdListMessage\x1a\x17.times.RankListResponseB(Z&git.itzana.me/strafesnet/go-grpc/timesb\x06proto3')
|
||||
|
||||
_globals = globals()
|
||||
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
||||
@@ -35,30 +35,30 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'times_pb2', _globals)
|
||||
if not _descriptor._USE_C_DESCRIPTORS:
|
||||
_globals['DESCRIPTOR']._loaded_options = None
|
||||
_globals['DESCRIPTOR']._serialized_options = b'Z&git.itzana.me/strafesnet/go-grpc/times'
|
||||
_globals['_TIMEREQUEST']._serialized_start=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['_IDLISTMESSAGE']._serialized_start=801
|
||||
_globals['_IDLISTMESSAGE']._serialized_end=828
|
||||
_globals['_TIMELIST']._serialized_start=830
|
||||
_globals['_TIMELIST']._serialized_end=891
|
||||
_globals['_RANKLISTRESPONSE']._serialized_start=893
|
||||
_globals['_RANKLISTRESPONSE']._serialized_end=947
|
||||
_globals['_RANKRESPONSE']._serialized_start=949
|
||||
_globals['_RANKRESPONSE']._serialized_end=989
|
||||
_globals['_LISTREQUEST']._serialized_start=991
|
||||
_globals['_LISTREQUEST']._serialized_end=1107
|
||||
_globals['_WRLISTREQUEST']._serialized_start=1109
|
||||
_globals['_WRLISTREQUEST']._serialized_end=1192
|
||||
_globals['_PAGINATION']._serialized_start=1194
|
||||
_globals['_PAGINATION']._serialized_end=1236
|
||||
_globals['_NULLRESPONSE']._serialized_start=1238
|
||||
_globals['_NULLRESPONSE']._serialized_end=1252
|
||||
_globals['_TIMESSERVICE']._serialized_start=1255
|
||||
_globals['_TIMESSERVICE']._serialized_end=1664
|
||||
_globals['_TIMEREQUEST']._serialized_start=69
|
||||
_globals['_TIMEREQUEST']._serialized_end=310
|
||||
_globals['_TIMEFILTER']._serialized_start=313
|
||||
_globals['_TIMEFILTER']._serialized_end=565
|
||||
_globals['_TIMERESPONSE']._serialized_start=568
|
||||
_globals['_TIMERESPONSE']._serialized_end=792
|
||||
_globals['_IDMESSAGE']._serialized_start=794
|
||||
_globals['_IDMESSAGE']._serialized_end=817
|
||||
_globals['_IDLISTMESSAGE']._serialized_start=819
|
||||
_globals['_IDLISTMESSAGE']._serialized_end=846
|
||||
_globals['_TIMELIST']._serialized_start=848
|
||||
_globals['_TIMELIST']._serialized_end=909
|
||||
_globals['_RANKLISTRESPONSE']._serialized_start=911
|
||||
_globals['_RANKLISTRESPONSE']._serialized_end=965
|
||||
_globals['_RANKRESPONSE']._serialized_start=967
|
||||
_globals['_RANKRESPONSE']._serialized_end=1007
|
||||
_globals['_LISTREQUEST']._serialized_start=1009
|
||||
_globals['_LISTREQUEST']._serialized_end=1125
|
||||
_globals['_WRLISTREQUEST']._serialized_start=1127
|
||||
_globals['_WRLISTREQUEST']._serialized_end=1210
|
||||
_globals['_PAGINATION']._serialized_start=1212
|
||||
_globals['_PAGINATION']._serialized_end=1254
|
||||
_globals['_NULLRESPONSE']._serialized_start=1256
|
||||
_globals['_NULLRESPONSE']._serialized_end=1270
|
||||
_globals['_TIMESSERVICE']._serialized_start=1273
|
||||
_globals['_TIMESSERVICE']._serialized_end=1682
|
||||
# @@protoc_insertion_point(module_scope)
|
||||
|
||||
Reference in New Issue
Block a user