# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: base/base.proto """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper 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\x0f\x62\x61se/base.proto\x12\x04\x62\x61se\"]\n\x07\x42\x61seReq\x12%\n\x04tags\x18\x01 \x03(\x0b\x32\x17.base.BaseReq.TagsEntry\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x82\x01\n\x08\x42\x61seResp\x12&\n\x04tags\x18\x01 \x03(\x0b\x32\x18.base.BaseResp.TagsEntry\x12\x10\n\x08\x65rr_code\x18\x02 \x01(\x03\x12\x0f\n\x07\x65rr_msg\x18\x03 \x01(\t\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"(\n\x05Pager\x12\x0c\n\x04page\x18\x01 \x01(\x03\x12\x11\n\tpage_size\x18\x02 \x01(\x03\"4\n\x06Sorter\x12\x10\n\x08order_by\x18\x01 \x01(\t\x12\x18\n\x04sort\x18\x02 \x01(\x0e\x32\n.base.Sort*#\n\x04Sort\x12\x0c\n\x08SORT_ASC\x10\x00\x12\r\n\tSORT_DESC\x10\x01\x42\x31Z/github.com/LinuxGit/base/gen/proto/go/base;baseb\x06proto3') _SORT = DESCRIPTOR.enum_types_by_name['Sort'] Sort = enum_type_wrapper.EnumTypeWrapper(_SORT) SORT_ASC = 0 SORT_DESC = 1 _BASEREQ = DESCRIPTOR.message_types_by_name['BaseReq'] _BASEREQ_TAGSENTRY = _BASEREQ.nested_types_by_name['TagsEntry'] _BASERESP = DESCRIPTOR.message_types_by_name['BaseResp'] _BASERESP_TAGSENTRY = _BASERESP.nested_types_by_name['TagsEntry'] _PAGER = DESCRIPTOR.message_types_by_name['Pager'] _SORTER = DESCRIPTOR.message_types_by_name['Sorter'] BaseReq = _reflection.GeneratedProtocolMessageType('BaseReq', (_message.Message,), { 'TagsEntry' : _reflection.GeneratedProtocolMessageType('TagsEntry', (_message.Message,), { 'DESCRIPTOR' : _BASEREQ_TAGSENTRY, '__module__' : 'base.base_pb2' # @@protoc_insertion_point(class_scope:base.BaseReq.TagsEntry) }) , 'DESCRIPTOR' : _BASEREQ, '__module__' : 'base.base_pb2' # @@protoc_insertion_point(class_scope:base.BaseReq) }) _sym_db.RegisterMessage(BaseReq) _sym_db.RegisterMessage(BaseReq.TagsEntry) BaseResp = _reflection.GeneratedProtocolMessageType('BaseResp', (_message.Message,), { 'TagsEntry' : _reflection.GeneratedProtocolMessageType('TagsEntry', (_message.Message,), { 'DESCRIPTOR' : _BASERESP_TAGSENTRY, '__module__' : 'base.base_pb2' # @@protoc_insertion_point(class_scope:base.BaseResp.TagsEntry) }) , 'DESCRIPTOR' : _BASERESP, '__module__' : 'base.base_pb2' # @@protoc_insertion_point(class_scope:base.BaseResp) }) _sym_db.RegisterMessage(BaseResp) _sym_db.RegisterMessage(BaseResp.TagsEntry) Pager = _reflection.GeneratedProtocolMessageType('Pager', (_message.Message,), { 'DESCRIPTOR' : _PAGER, '__module__' : 'base.base_pb2' # @@protoc_insertion_point(class_scope:base.Pager) }) _sym_db.RegisterMessage(Pager) Sorter = _reflection.GeneratedProtocolMessageType('Sorter', (_message.Message,), { 'DESCRIPTOR' : _SORTER, '__module__' : 'base.base_pb2' # @@protoc_insertion_point(class_scope:base.Sorter) }) _sym_db.RegisterMessage(Sorter) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z/github.com/LinuxGit/base/gen/proto/go/base;base' _BASEREQ_TAGSENTRY._options = None _BASEREQ_TAGSENTRY._serialized_options = b'8\001' _BASERESP_TAGSENTRY._options = None _BASERESP_TAGSENTRY._serialized_options = b'8\001' _SORT._serialized_start=349 _SORT._serialized_end=384 _BASEREQ._serialized_start=25 _BASEREQ._serialized_end=118 _BASEREQ_TAGSENTRY._serialized_start=75 _BASEREQ_TAGSENTRY._serialized_end=118 _BASERESP._serialized_start=121 _BASERESP._serialized_end=251 _BASERESP_TAGSENTRY._serialized_start=75 _BASERESP_TAGSENTRY._serialized_end=118 _PAGER._serialized_start=253 _PAGER._serialized_end=293 _SORTER._serialized_start=295 _SORTER._serialized_end=347 # @@protoc_insertion_point(module_scope)