| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- # -*- coding: utf-8 -*-
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # NO CHECKED-IN PROTOBUF GENCODE
- # source: chatto/api/v1/pagination.proto
- # Protobuf Python Version: 7.34.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 runtime_version as _runtime_version
- from google.protobuf import symbol_database as _symbol_database
- from google.protobuf.internal import builder as _builder
- _runtime_version.ValidateProtobufRuntimeVersion(
- _runtime_version.Domain.PUBLIC,
- 7,
- 34,
- 1,
- '',
- 'chatto/api/v1/pagination.proto'
- )
- # @@protoc_insertion_point(imports)
- _sym_db = _symbol_database.Default()
- from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63hatto/api/v1/pagination.proto\x12\rchatto.api.v1\x1a\x1b\x62uf/validate/validate.proto\"A\n\x0bPageRequest\x12\x19\n\x05limit\x18\x01 \x01(\x05\x42\n\xbaH\x07\x1a\x05\x18\xf4\x03(\x00\x12\x17\n\x06offset\x18\x02 \x01(\x05\x42\x07\xbaH\x04\x1a\x02(\x00\"1\n\x08PageInfo\x12\x13\n\x0btotal_count\x18\x01 \x01(\x03\x12\x10\n\x08has_more\x18\x02 \x01(\x08\x62\x06proto3')
- _globals = globals()
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chatto.api.v1.pagination_pb2', _globals)
- if not _descriptor._USE_C_DESCRIPTORS:
- DESCRIPTOR._loaded_options = None
- _globals['_PAGEREQUEST'].fields_by_name['limit']._loaded_options = None
- _globals['_PAGEREQUEST'].fields_by_name['limit']._serialized_options = b'\272H\007\032\005\030\364\003(\000'
- _globals['_PAGEREQUEST'].fields_by_name['offset']._loaded_options = None
- _globals['_PAGEREQUEST'].fields_by_name['offset']._serialized_options = b'\272H\004\032\002(\000'
- _globals['_PAGEREQUEST']._serialized_start=78
- _globals['_PAGEREQUEST']._serialized_end=143
- _globals['_PAGEINFO']._serialized_start=145
- _globals['_PAGEINFO']._serialized_end=194
- # @@protoc_insertion_point(module_scope)
|