109 lines
5.1 KiB
Python
109 lines
5.1 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: bots.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\nbots.proto\x12\x04\x62ots\"\x14\n\x06IdList\x12\n\n\x02ID\x18\x01 \x03(\x03\"\x17\n\tIdMessage\x12\n\n\x02ID\x18\x01 \x01(\x03\"G\n\x0b\x42otResponse\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\x0e\n\x06TimeID\x18\x02 \x01(\x03\x12\x0c\n\x04\x44\x61te\x18\x03 \x01(\x03\x12\x0e\n\x06\x46ileID\x18\x04 \x01(\t\"t\n\nBotRequest\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\x13\n\x06TimeID\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x11\n\x04\x44\x61te\x18\x03 \x01(\x03H\x01\x88\x01\x01\x12\x13\n\x06\x46ileID\x18\x04 \x01(\tH\x02\x88\x01\x01\x42\t\n\x07_TimeIDB\x07\n\x05_DateB\t\n\x07_FileID\"*\n\x07\x42otList\x12\x1f\n\x04\x42ots\x18\x01 \x03(\x0b\x32\x11.bots.BotResponse\"O\n\x0bListRequest\x12 \n\x06\x46ilter\x18\x01 \x01(\x0b\x32\x10.bots.BotRequest\x12\x1e\n\x04Page\x18\x02 \x01(\x0b\x32\x10.bots.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\x0b\x42otsService\x12)\n\x03Get\x12\x0f.bots.IdMessage\x1a\x11.bots.BotResponse\x12&\n\x07GetList\x12\x0c.bots.IdList\x1a\r.bots.BotList\x12.\n\x06Update\x12\x10.bots.BotRequest\x1a\x12.bots.NullResponse\x12+\n\x06\x43reate\x12\x10.bots.BotRequest\x1a\x0f.bots.IdMessage\x12-\n\x06\x44\x65lete\x12\x0f.bots.IdMessage\x1a\x12.bots.NullResponse\x12(\n\x04List\x12\x11.bots.ListRequest\x1a\r.bots.BotListB\'Z%git.itzana.me/strafesnet/go-grpc/botsb\x06proto3')
|
|
|
|
|
|
|
|
_IDLIST = DESCRIPTOR.message_types_by_name['IdList']
|
|
_IDMESSAGE = DESCRIPTOR.message_types_by_name['IdMessage']
|
|
_BOTRESPONSE = DESCRIPTOR.message_types_by_name['BotResponse']
|
|
_BOTREQUEST = DESCRIPTOR.message_types_by_name['BotRequest']
|
|
_BOTLIST = DESCRIPTOR.message_types_by_name['BotList']
|
|
_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__' : 'bots_pb2'
|
|
# @@protoc_insertion_point(class_scope:bots.IdList)
|
|
})
|
|
_sym_db.RegisterMessage(IdList)
|
|
|
|
IdMessage = _reflection.GeneratedProtocolMessageType('IdMessage', (_message.Message,), {
|
|
'DESCRIPTOR' : _IDMESSAGE,
|
|
'__module__' : 'bots_pb2'
|
|
# @@protoc_insertion_point(class_scope:bots.IdMessage)
|
|
})
|
|
_sym_db.RegisterMessage(IdMessage)
|
|
|
|
BotResponse = _reflection.GeneratedProtocolMessageType('BotResponse', (_message.Message,), {
|
|
'DESCRIPTOR' : _BOTRESPONSE,
|
|
'__module__' : 'bots_pb2'
|
|
# @@protoc_insertion_point(class_scope:bots.BotResponse)
|
|
})
|
|
_sym_db.RegisterMessage(BotResponse)
|
|
|
|
BotRequest = _reflection.GeneratedProtocolMessageType('BotRequest', (_message.Message,), {
|
|
'DESCRIPTOR' : _BOTREQUEST,
|
|
'__module__' : 'bots_pb2'
|
|
# @@protoc_insertion_point(class_scope:bots.BotRequest)
|
|
})
|
|
_sym_db.RegisterMessage(BotRequest)
|
|
|
|
BotList = _reflection.GeneratedProtocolMessageType('BotList', (_message.Message,), {
|
|
'DESCRIPTOR' : _BOTLIST,
|
|
'__module__' : 'bots_pb2'
|
|
# @@protoc_insertion_point(class_scope:bots.BotList)
|
|
})
|
|
_sym_db.RegisterMessage(BotList)
|
|
|
|
ListRequest = _reflection.GeneratedProtocolMessageType('ListRequest', (_message.Message,), {
|
|
'DESCRIPTOR' : _LISTREQUEST,
|
|
'__module__' : 'bots_pb2'
|
|
# @@protoc_insertion_point(class_scope:bots.ListRequest)
|
|
})
|
|
_sym_db.RegisterMessage(ListRequest)
|
|
|
|
Pagination = _reflection.GeneratedProtocolMessageType('Pagination', (_message.Message,), {
|
|
'DESCRIPTOR' : _PAGINATION,
|
|
'__module__' : 'bots_pb2'
|
|
# @@protoc_insertion_point(class_scope:bots.Pagination)
|
|
})
|
|
_sym_db.RegisterMessage(Pagination)
|
|
|
|
NullResponse = _reflection.GeneratedProtocolMessageType('NullResponse', (_message.Message,), {
|
|
'DESCRIPTOR' : _NULLRESPONSE,
|
|
'__module__' : 'bots_pb2'
|
|
# @@protoc_insertion_point(class_scope:bots.NullResponse)
|
|
})
|
|
_sym_db.RegisterMessage(NullResponse)
|
|
|
|
_BOTSSERVICE = DESCRIPTOR.services_by_name['BotsService']
|
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
|
DESCRIPTOR._options = None
|
|
DESCRIPTOR._serialized_options = b'Z%git.itzana.me/strafesnet/go-grpc/bots'
|
|
_IDLIST._serialized_start=20
|
|
_IDLIST._serialized_end=40
|
|
_IDMESSAGE._serialized_start=42
|
|
_IDMESSAGE._serialized_end=65
|
|
_BOTRESPONSE._serialized_start=67
|
|
_BOTRESPONSE._serialized_end=138
|
|
_BOTREQUEST._serialized_start=140
|
|
_BOTREQUEST._serialized_end=256
|
|
_BOTLIST._serialized_start=258
|
|
_BOTLIST._serialized_end=300
|
|
_LISTREQUEST._serialized_start=302
|
|
_LISTREQUEST._serialized_end=381
|
|
_PAGINATION._serialized_start=383
|
|
_PAGINATION._serialized_end=425
|
|
_NULLRESPONSE._serialized_start=427
|
|
_NULLRESPONSE._serialized_end=441
|
|
_BOTSSERVICE._serialized_start=444
|
|
_BOTSSERVICE._serialized_end=722
|
|
# @@protoc_insertion_point(module_scope)
|