119 lines
5.9 KiB
Python
119 lines
5.9 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: maps.proto
|
|
"""Generated protocol buffer code."""
|
|
from google.protobuf import descriptor as _descriptor
|
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
from google.protobuf import message as _message
|
|
from google.protobuf import reflection as _reflection
|
|
from google.protobuf import symbol_database as _symbol_database
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
|
|
|
|
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']
|
|
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
|
|
# @@protoc_insertion_point(module_scope)
|