41 lines
2.9 KiB
Python
41 lines
2.9 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: events.proto
|
|
# Protobuf Python Version: 4.25.0
|
|
"""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 google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
|
|
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0c\x65vents.proto\x12\x06\x65vents\x1a\x1cgoogle/protobuf/struct.proto\"q\n\x0b\x45ventCreate\x12\r\n\x05\x45vent\x18\x01 \x01(\t\x12\x0e\n\x06Server\x18\x02 \x01(\t\x12\x0e\n\x06GameID\x18\x03 \x01(\x05\x12\x0c\n\x04\x44\x61te\x18\x04 \x01(\x03\x12%\n\x04\x44\x61ta\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\"{\n\tEventItem\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\r\n\x05\x45vent\x18\x02 \x01(\t\x12\x0e\n\x06Server\x18\x03 \x01(\t\x12\x0e\n\x06GameID\x18\x04 \x01(\x05\x12\x0c\n\x04\x44\x61te\x18\x05 \x01(\x03\x12%\n\x04\x44\x61ta\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\"M\n\rLatestRequest\x12\x11\n\x04\x44\x61te\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12 \n\x04Page\x18\x02 \x01(\x0b\x32\x12.events.PaginationB\x07\n\x05_Date\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\x05\x12\x0e\n\x06Number\x18\x02 \x01(\x05\"3\n\x0eLatestResponse\x12!\n\x06\x45vents\x18\x01 \x03(\x0b\x32\x11.events.EventItem\"\x0e\n\x0cNullResponse2\xb2\x01\n\rEventsService\x12\x37\n\x06Latest\x12\x15.events.LatestRequest\x1a\x16.events.LatestResponse\x12\x33\n\x06\x43reate\x12\x13.events.EventCreate\x1a\x14.events.NullResponse\x12\x33\n\x05\x43lean\x12\x14.events.NullResponse\x1a\x14.events.NullResponseB)Z\'git.itzana.me/strafesnet/go-grpc/eventsb\x06proto3')
|
|
|
|
_globals = globals()
|
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'events_pb2', _globals)
|
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
_globals['DESCRIPTOR']._options = None
|
|
_globals['DESCRIPTOR']._serialized_options = b'Z\'git.itzana.me/strafesnet/go-grpc/events'
|
|
_globals['_EVENTCREATE']._serialized_start=54
|
|
_globals['_EVENTCREATE']._serialized_end=167
|
|
_globals['_EVENTITEM']._serialized_start=169
|
|
_globals['_EVENTITEM']._serialized_end=292
|
|
_globals['_LATESTREQUEST']._serialized_start=294
|
|
_globals['_LATESTREQUEST']._serialized_end=371
|
|
_globals['_PAGINATION']._serialized_start=373
|
|
_globals['_PAGINATION']._serialized_end=415
|
|
_globals['_LATESTRESPONSE']._serialized_start=417
|
|
_globals['_LATESTRESPONSE']._serialized_end=468
|
|
_globals['_NULLRESPONSE']._serialized_start=470
|
|
_globals['_NULLRESPONSE']._serialized_end=484
|
|
_globals['_EVENTSSERVICE']._serialized_start=487
|
|
_globals['_EVENTSSERVICE']._serialized_end=665
|
|
# @@protoc_insertion_point(module_scope)
|