python-grpc/strafesnet/users_pb2.py

46 lines
3.3 KiB
Python
Raw Normal View History

2022-07-17 08:24:59 +00:00
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: users.proto
# Protobuf Python Version: 4.25.0
2022-07-17 08:24:59 +00:00
"""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
2022-07-17 08:24:59 +00:00
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0busers.proto\x12\x05users\"\x14\n\x06IdList\x12\n\n\x02ID\x18\x01 \x03(\x03\"\x17\n\tIdMessage\x12\n\n\x02ID\x18\x01 \x01(\x03\"=\n\x0cUserResponse\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\x10\n\x08Username\x18\x02 \x01(\t\x12\x0f\n\x07StateID\x18\x03 \x01(\x05\"_\n\x0bUserRequest\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\x15\n\x08Username\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x07StateID\x18\x03 \x01(\x05H\x01\x88\x01\x01\x42\x0b\n\t_UsernameB\n\n\x08_StateID\"j\n\nUserFilter\x12\x0f\n\x02ID\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x15\n\x08Username\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x14\n\x07StateID\x18\x03 \x01(\x05H\x02\x88\x01\x01\x42\x05\n\x03_IDB\x0b\n\t_UsernameB\n\n\x08_StateID\".\n\x08UserList\x12\"\n\x05Users\x18\x01 \x03(\x0b\x32\x13.users.UserResponse\"Q\n\x0bListRequest\x12!\n\x06\x46ilter\x18\x01 \x01(\x0b\x32\x11.users.UserFilter\x12\x1f\n\x04Page\x18\x02 \x01(\x0b\x32\x11.users.Pagination\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\x05\x12\x0e\n\x06Number\x18\x02 \x01(\x05\"\x0e\n\x0cNullResponse2\xa8\x02\n\x0cUsersService\x12,\n\x03Get\x12\x10.users.IdMessage\x1a\x13.users.UserResponse\x12)\n\x07GetList\x12\r.users.IdList\x1a\x0f.users.UserList\x12\x31\n\x06Update\x12\x12.users.UserRequest\x1a\x13.users.NullResponse\x12.\n\x06\x43reate\x12\x12.users.UserRequest\x1a\x10.users.IdMessage\x12/\n\x06\x44\x65lete\x12\x10.users.IdMessage\x1a\x13.users.NullResponse\x12+\n\x04List\x12\x12.users.ListRequest\x1a\x0f.users.UserListB(Z&git.itzana.me/strafesnet/go-grpc/usersb\x06proto3')
2022-07-17 08:24:59 +00:00
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'users_pb2', _globals)
2022-07-17 08:24:59 +00:00
if _descriptor._USE_C_DESCRIPTORS == False:
_globals['DESCRIPTOR']._options = None
_globals['DESCRIPTOR']._serialized_options = b'Z&git.itzana.me/strafesnet/go-grpc/users'
_globals['_IDLIST']._serialized_start=22
_globals['_IDLIST']._serialized_end=42
_globals['_IDMESSAGE']._serialized_start=44
_globals['_IDMESSAGE']._serialized_end=67
_globals['_USERRESPONSE']._serialized_start=69
_globals['_USERRESPONSE']._serialized_end=130
_globals['_USERREQUEST']._serialized_start=132
_globals['_USERREQUEST']._serialized_end=227
_globals['_USERFILTER']._serialized_start=229
_globals['_USERFILTER']._serialized_end=335
_globals['_USERLIST']._serialized_start=337
_globals['_USERLIST']._serialized_end=383
_globals['_LISTREQUEST']._serialized_start=385
_globals['_LISTREQUEST']._serialized_end=466
_globals['_PAGINATION']._serialized_start=468
_globals['_PAGINATION']._serialized_end=510
_globals['_NULLRESPONSE']._serialized_start=512
_globals['_NULLRESPONSE']._serialized_end=526
_globals['_USERSSERVICE']._serialized_start=529
_globals['_USERSSERVICE']._serialized_end=825
2022-07-17 08:24:59 +00:00
# @@protoc_insertion_point(module_scope)