43 lines
3.1 KiB
Python
43 lines
3.1 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: ranks.proto
|
|
# Protobuf Python Version: 5.26.1
|
|
"""Generated protocol buffer code."""
|
|
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()
|
|
|
|
|
|
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\"^\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\x12\x0f\n\x07StateID\x18\x05 \x03(\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')
|
|
|
|
_globals = globals()
|
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ranks_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/ranks'
|
|
_globals['_IDMESSAGE']._serialized_start=35
|
|
_globals['_IDMESSAGE']._serialized_end=58
|
|
_globals['_GETREQUEST']._serialized_start=60
|
|
_globals['_GETREQUEST']._serialized_end=154
|
|
_globals['_LISTREQUEST']._serialized_start=156
|
|
_globals['_LISTREQUEST']._serialized_end=282
|
|
_globals['_RANKLIST']._serialized_start=284
|
|
_globals['_RANKLIST']._serialized_end=329
|
|
_globals['_RANKMESSAGE']._serialized_start=332
|
|
_globals['_RANKMESSAGE']._serialized_end=489
|
|
_globals['_PAGINATION']._serialized_start=491
|
|
_globals['_PAGINATION']._serialized_end=533
|
|
_globals['_NULLRESPONSE']._serialized_start=535
|
|
_globals['_NULLRESPONSE']._serialized_end=549
|
|
_globals['_RANKSSERVICE']._serialized_start=552
|
|
_globals['_RANKSSERVICE']._serialized_end=703
|
|
# @@protoc_insertion_point(module_scope)
|