python-grpc/strafesnet/ranks_pb2.py
2022-10-23 16:28:08 -04:00

100 lines
4.8 KiB
Python

# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: ranks.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()
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\"m\n\x0bListRequest\x12\x0f\n\x07StyleID\x18\x01 \x01(\x05\x12\x0e\n\x06GameID\x18\x02 \x01(\x05\x12\x0e\n\x06ModeID\x18\x03 \x01(\x05\x12\x0c\n\x04Sort\x18\x04 \x01(\x03\x12\x1f\n\x04Page\x18\x05 \x01(\x0b\x32\x11.ranks.Pagination\"-\n\x08RankList\x12!\n\x05ranks\x18\x01 \x03(\x0b\x32\x12.ranks.RankMessage\"\x9d\x01\n\x0bRankMessage\x12\n\n\x02ID\x18\x01 \x01(\x03\x12!\n\x04User\x18\x02 \x01(\x0b\x32\x13.users.UserResponse\x12\x0f\n\x07StyleID\x18\x03 \x01(\x05\x12\x0e\n\x06ModeID\x18\x04 \x01(\x05\x12\x0e\n\x06GameID\x18\x05 \x01(\x05\x12\x0c\n\x04Rank\x18\x06 \x01(\x01\x12\r\n\x05Skill\x18\x07 \x01(\x01\x12\x11\n\tUpdatedAt\x18\x08 \x01(\x03\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\x05\x12\x0e\n\x06Number\x18\x02 \x01(\x05\"\x0e\n\x0cNullResponse2\x97\x01\n\x0cRanksService\x12,\n\x03Get\x12\x11.ranks.GetRequest\x1a\x12.ranks.RankMessage\x12+\n\x04List\x12\x12.ranks.ListRequest\x1a\x0f.ranks.RankList\x12,\n\x06\x44\x65lete\x12\x10.ranks.IdMessage\x1a\x10.ranks.IdMessageB(Z&git.itzana.me/strafesnet/go-grpc/ranksb\x06proto3')
_IDMESSAGE = DESCRIPTOR.message_types_by_name['IdMessage']
_GETREQUEST = DESCRIPTOR.message_types_by_name['GetRequest']
_LISTREQUEST = DESCRIPTOR.message_types_by_name['ListRequest']
_RANKLIST = DESCRIPTOR.message_types_by_name['RankList']
_RANKMESSAGE = DESCRIPTOR.message_types_by_name['RankMessage']
_PAGINATION = DESCRIPTOR.message_types_by_name['Pagination']
_NULLRESPONSE = DESCRIPTOR.message_types_by_name['NullResponse']
IdMessage = _reflection.GeneratedProtocolMessageType('IdMessage', (_message.Message,), {
'DESCRIPTOR' : _IDMESSAGE,
'__module__' : 'ranks_pb2'
# @@protoc_insertion_point(class_scope:ranks.IdMessage)
})
_sym_db.RegisterMessage(IdMessage)
GetRequest = _reflection.GeneratedProtocolMessageType('GetRequest', (_message.Message,), {
'DESCRIPTOR' : _GETREQUEST,
'__module__' : 'ranks_pb2'
# @@protoc_insertion_point(class_scope:ranks.GetRequest)
})
_sym_db.RegisterMessage(GetRequest)
ListRequest = _reflection.GeneratedProtocolMessageType('ListRequest', (_message.Message,), {
'DESCRIPTOR' : _LISTREQUEST,
'__module__' : 'ranks_pb2'
# @@protoc_insertion_point(class_scope:ranks.ListRequest)
})
_sym_db.RegisterMessage(ListRequest)
RankList = _reflection.GeneratedProtocolMessageType('RankList', (_message.Message,), {
'DESCRIPTOR' : _RANKLIST,
'__module__' : 'ranks_pb2'
# @@protoc_insertion_point(class_scope:ranks.RankList)
})
_sym_db.RegisterMessage(RankList)
RankMessage = _reflection.GeneratedProtocolMessageType('RankMessage', (_message.Message,), {
'DESCRIPTOR' : _RANKMESSAGE,
'__module__' : 'ranks_pb2'
# @@protoc_insertion_point(class_scope:ranks.RankMessage)
})
_sym_db.RegisterMessage(RankMessage)
Pagination = _reflection.GeneratedProtocolMessageType('Pagination', (_message.Message,), {
'DESCRIPTOR' : _PAGINATION,
'__module__' : 'ranks_pb2'
# @@protoc_insertion_point(class_scope:ranks.Pagination)
})
_sym_db.RegisterMessage(Pagination)
NullResponse = _reflection.GeneratedProtocolMessageType('NullResponse', (_message.Message,), {
'DESCRIPTOR' : _NULLRESPONSE,
'__module__' : 'ranks_pb2'
# @@protoc_insertion_point(class_scope:ranks.NullResponse)
})
_sym_db.RegisterMessage(NullResponse)
_RANKSSERVICE = DESCRIPTOR.services_by_name['RanksService']
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=248
_RANKLIST._serialized_start=250
_RANKLIST._serialized_end=295
_RANKMESSAGE._serialized_start=298
_RANKMESSAGE._serialized_end=455
_PAGINATION._serialized_start=457
_PAGINATION._serialized_end=499
_NULLRESPONSE._serialized_start=501
_NULLRESPONSE._serialized_end=515
_RANKSSERVICE._serialized_start=518
_RANKSSERVICE._serialized_end=669
# @@protoc_insertion_point(module_scope)