# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: db/db.proto """Generated protocol buffer code.""" from google.protobuf.internal import builder as _builder 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 # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from ..common import error_pb2 as common_dot_error__pb2 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0b\x64\x62/db.proto\x12\x06\x64\x66s.db\x1a\x12\x63ommon/error.proto\"q\n\x07\x46indReq\x12\x33\n\nconditions\x18\x01 \x03(\x0b\x32\x1f.dfs.db.FindReq.ConditionsEntry\x1a\x31\n\x0f\x43onditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"^\n\x08\x46indResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x0f\n\x07records\x18\x04 \x01(\x0c\"o\n\x06GetReq\x12\x32\n\nconditions\x18\x01 \x03(\x0b\x32\x1e.dfs.db.GetReq.ConditionsEntry\x1a\x31\n\x0f\x43onditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\n\x07GetResp\x12\x0f\n\x07\x63olumns\x18\x01 \x03(\t\x12\x0e\n\x06record\x18\x02 \x01(\x0c\"s\n\x08WriteReq\x12\x34\n\nconditions\x18\x01 \x03(\x0b\x32 .dfs.db.WriteReq.ConditionsEntry\x1a\x31\n\x0f\x43onditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x8d\x01\n\x0eWriteStreamReq\x12:\n\nconditions\x18\x01 \x03(\x0b\x32&.dfs.db.WriteStreamReq.ConditionsEntry\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x1a\x31\n\x0f\x43onditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"[\n\tWriteResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x0f\n\x07\x63olumns\x18\x03 \x03(\t\x12\x0e\n\x06record\x18\x04 \x01(\x0c\"u\n\tUpdateReq\x12\x35\n\nconditions\x18\x01 \x03(\x0b\x32!.dfs.db.UpdateReq.ConditionsEntry\x1a\x31\n\x0f\x43onditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\";\n\nUpdateResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\x81\x02\n\x05\x44\x42Srv\x12-\n\x04\x46ind\x12\x0f.dfs.db.FindReq\x1a\x10.dfs.db.FindResp\"\x00\x30\x01\x12(\n\x03Get\x12\x0e.dfs.db.GetReq\x1a\x0f.dfs.db.GetResp\"\x00\x12.\n\x05Write\x12\x10.dfs.db.WriteReq\x1a\x11.dfs.db.WriteResp\"\x00\x12<\n\x0bWriteStream\x12\x16.dfs.db.WriteStreamReq\x1a\x11.dfs.db.WriteResp\"\x00(\x01\x12\x31\n\x06Update\x12\x11.dfs.db.UpdateReq\x1a\x12.dfs.db.UpdateResp\"\x00\x42\x19Z\x17\x63nlab.net/csst/proto/dbb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'db.db_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z\027cnlab.net/csst/proto/db' _FINDREQ_CONDITIONSENTRY._options = None _FINDREQ_CONDITIONSENTRY._serialized_options = b'8\001' _GETREQ_CONDITIONSENTRY._options = None _GETREQ_CONDITIONSENTRY._serialized_options = b'8\001' _WRITEREQ_CONDITIONSENTRY._options = None _WRITEREQ_CONDITIONSENTRY._serialized_options = b'8\001' _WRITESTREAMREQ_CONDITIONSENTRY._options = None _WRITESTREAMREQ_CONDITIONSENTRY._serialized_options = b'8\001' _UPDATEREQ_CONDITIONSENTRY._options = None _UPDATEREQ_CONDITIONSENTRY._serialized_options = b'8\001' _FINDREQ._serialized_start=43 _FINDREQ._serialized_end=156 _FINDREQ_CONDITIONSENTRY._serialized_start=107 _FINDREQ_CONDITIONSENTRY._serialized_end=156 _FINDRESP._serialized_start=158 _FINDRESP._serialized_end=252 _GETREQ._serialized_start=254 _GETREQ._serialized_end=365 _GETREQ_CONDITIONSENTRY._serialized_start=107 _GETREQ_CONDITIONSENTRY._serialized_end=156 _GETRESP._serialized_start=367 _GETRESP._serialized_end=409 _WRITEREQ._serialized_start=411 _WRITEREQ._serialized_end=526 _WRITEREQ_CONDITIONSENTRY._serialized_start=107 _WRITEREQ_CONDITIONSENTRY._serialized_end=156 _WRITESTREAMREQ._serialized_start=529 _WRITESTREAMREQ._serialized_end=670 _WRITESTREAMREQ_CONDITIONSENTRY._serialized_start=107 _WRITESTREAMREQ_CONDITIONSENTRY._serialized_end=156 _WRITERESP._serialized_start=672 _WRITERESP._serialized_end=763 _UPDATEREQ._serialized_start=765 _UPDATEREQ._serialized_end=882 _UPDATEREQ_CONDITIONSENTRY._serialized_start=107 _UPDATEREQ_CONDITIONSENTRY._serialized_end=156 _UPDATERESP._serialized_start=884 _UPDATERESP._serialized_end=943 _DBSRV._serialized_start=946 _DBSRV._serialized_end=1203 # @@protoc_insertion_point(module_scope)