# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: spymonk.proto
# Protobuf Python Version: 6.31.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,
    6,
    31,
    1,
    '',
    'spymonk.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rspymonk.proto\x12\x07spymonk\"F\n\tTimestamp\x12\x10\n\x08physical\x18\x01 \x01(\x03\x12\x0f\n\x07logical\x18\x02 \x01(\x03\x12\x16\n\x0euncertainty_ns\x18\x03 \x01(\x03\"X\n\x17\x42\x65ginTransactionRequest\x12\x11\n\tread_only\x18\x01 \x01(\x08\x12*\n\x0eread_timestamp\x18\x02 \x01(\x0b\x32\x12.spymonk.Timestamp\"_\n\x18\x42\x65ginTransactionResponse\x12\x16\n\x0etransaction_id\x18\x01 \x01(\t\x12+\n\x0fstart_timestamp\x18\x02 \x01(\x0b\x32\x12.spymonk.Timestamp\"2\n\x18\x43ommitTransactionRequest\x12\x16\n\x0etransaction_id\x18\x01 \x01(\t\"Z\n\x19\x43ommitTransactionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12,\n\x10\x63ommit_timestamp\x18\x02 \x01(\x0b\x32\x12.spymonk.Timestamp\"1\n\x17\x41\x62ortTransactionRequest\x12\x16\n\x0etransaction_id\x18\x01 \x01(\t\"+\n\x18\x41\x62ortTransactionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"]\n\nGetRequest\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\x16\n\x0etransaction_id\x18\x02 \x01(\t\x12*\n\x0eread_timestamp\x18\x03 \x01(\x0b\x32\x12.spymonk.Timestamp\"Z\n\x0bGetResponse\x12\r\n\x05value\x18\x01 \x01(\x0c\x12\r\n\x05\x66ound\x18\x02 \x01(\x08\x12-\n\x11version_timestamp\x18\x03 \x01(\x0b\x32\x12.spymonk.Timestamp\"@\n\nPutRequest\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x12\x16\n\x0etransaction_id\x18\x03 \x01(\t\"E\n\x0bPutResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12%\n\ttimestamp\x18\x02 \x01(\x0b\x32\x12.spymonk.Timestamp\"4\n\rDeleteRequest\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\x16\n\x0etransaction_id\x18\x02 \x01(\t\"H\n\x0e\x44\x65leteResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12%\n\ttimestamp\x18\x02 \x01(\x0b\x32\x12.spymonk.Timestamp\"\x84\x01\n\x0bScanRequest\x12\x11\n\tstart_key\x18\x01 \x01(\x0c\x12\x0f\n\x07\x65nd_key\x18\x02 \x01(\x0c\x12\r\n\x05limit\x18\x03 \x01(\x05\x12\x16\n\x0etransaction_id\x18\x04 \x01(\t\x12*\n\x0eread_timestamp\x18\x05 \x01(\x0b\x32\x12.spymonk.Timestamp\"Y\n\x0cScanResponse\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\x12-\n\x11version_timestamp\x18\x03 \x01(\x0b\x32\x12.spymonk.Timestamp\"8\n\x11\x45xecuteSQLRequest\x12\x0b\n\x03sql\x18\x01 \x01(\t\x12\x16\n\x0etransaction_id\x18\x02 \x01(\t\"L\n\x12\x45xecuteSQLResponse\x12\x1f\n\x04rows\x18\x01 \x03(\x0b\x32\x11.spymonk.QueryRow\x12\x15\n\raffected_rows\x18\x02 \x01(\x05\":\n\x13\x45xecuteQueryRequest\x12\x0b\n\x03sql\x18\x01 \x01(\t\x12\x16\n\x0etransaction_id\x18\x02 \x01(\t\"k\n\x08QueryRow\x12/\n\x07\x63olumns\x18\x01 \x03(\x0b\x32\x1e.spymonk.QueryRow.ColumnsEntry\x1a.\n\x0c\x43olumnsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"w\n\x11\x42\x61tchWriteRequest\x12!\n\x04puts\x18\x01 \x03(\x0b\x32\x13.spymonk.PutRequest\x12\'\n\x07\x64\x65letes\x18\x02 \x03(\x0b\x32\x16.spymonk.DeleteRequest\x12\x16\n\x0etransaction_id\x18\x03 \x01(\t\"@\n\x12\x42\x61tchWriteResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x19\n\x11mutations_applied\x18\x02 \x01(\x05\"P\n\x0ePrepareRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x17\n\x0fproposal_number\x18\x02 \x01(\x03\x12\x13\n\x0bproposer_id\x18\x03 \x01(\t\"v\n\x0fPrepareResponse\x12\x10\n\x08promised\x18\x01 \x01(\x08\x12\x17\n\x0fproposal_number\x18\x02 \x01(\x03\x12\x16\n\x0e\x61\x63\x63\x65pted_value\x18\x03 \x01(\x0c\x12 \n\x18\x61\x63\x63\x65pted_proposal_number\x18\x04 \x01(\x03\"p\n\rAcceptRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x17\n\x0fproposal_number\x18\x02 \x01(\x03\x12\r\n\x05value\x18\x03 \x01(\x0c\x12%\n\ttimestamp\x18\x04 \x01(\x0b\x32\x12.spymonk.Timestamp\";\n\x0e\x41\x63\x63\x65ptResponse\x12\x10\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x08\x12\x17\n\x0fproposal_number\x18\x02 \x01(\x03\"C\n\rCommitRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x11\n\tlog_index\x18\x02 \x01(\x03\x12\r\n\x05value\x18\x03 \x01(\x0c\"!\n\x0e\x43ommitResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"_\n\x08LogEntry\x12\r\n\x05index\x18\x01 \x01(\x03\x12\x0c\n\x04term\x18\x02 \x01(\x03\x12\x0f\n\x07\x63ommand\x18\x03 \x01(\x0c\x12%\n\ttimestamp\x18\x04 \x01(\x0b\x32\x12.spymonk.Timestamp\"\xb3\x01\n\x14\x41ppendEntriesRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x11\n\tleader_id\x18\x02 \x01(\t\x12\x0c\n\x04term\x18\x03 \x01(\x03\x12\x16\n\x0eprev_log_index\x18\x04 \x01(\x03\x12\x15\n\rprev_log_term\x18\x05 \x01(\x03\x12\"\n\x07\x65ntries\x18\x06 \x03(\x0b\x32\x11.spymonk.LogEntry\x12\x15\n\rleader_commit\x18\x07 \x01(\x03\"K\n\x15\x41ppendEntriesResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x0c\n\x04term\x18\x02 \x01(\x03\x12\x13\n\x0bmatch_index\x18\x03 \x01(\x03\"\x7f\n\rSnapshotChunk\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x1b\n\x13last_included_index\x18\x02 \x01(\x03\x12\x1a\n\x12last_included_term\x18\x03 \x01(\x03\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x12\x15\n\ris_last_chunk\x18\x05 \x01(\x08\"8\n\x17InstallSnapshotResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x0c\n\x04term\x18\x02 \x01(\x03\x32\xc0\x05\n\tSpyMonkDB\x12W\n\x10\x42\x65ginTransaction\x12 .spymonk.BeginTransactionRequest\x1a!.spymonk.BeginTransactionResponse\x12Z\n\x11\x43ommitTransaction\x12!.spymonk.CommitTransactionRequest\x1a\".spymonk.CommitTransactionResponse\x12W\n\x10\x41\x62ortTransaction\x12 .spymonk.AbortTransactionRequest\x1a!.spymonk.AbortTransactionResponse\x12\x30\n\x03Get\x12\x13.spymonk.GetRequest\x1a\x14.spymonk.GetResponse\x12\x30\n\x03Put\x12\x13.spymonk.PutRequest\x1a\x14.spymonk.PutResponse\x12\x39\n\x06\x44\x65lete\x12\x16.spymonk.DeleteRequest\x1a\x17.spymonk.DeleteResponse\x12\x35\n\x04Scan\x12\x14.spymonk.ScanRequest\x1a\x15.spymonk.ScanResponse0\x01\x12\x45\n\nExecuteSQL\x12\x1a.spymonk.ExecuteSQLRequest\x1a\x1b.spymonk.ExecuteSQLResponse\x12\x41\n\x0c\x45xecuteQuery\x12\x1c.spymonk.ExecuteQueryRequest\x1a\x11.spymonk.QueryRow0\x01\x12\x45\n\nBatchWrite\x12\x1a.spymonk.BatchWriteRequest\x1a\x1b.spymonk.BatchWriteResponse2\xe7\x02\n\x12ReplicationService\x12<\n\x07Prepare\x12\x17.spymonk.PrepareRequest\x1a\x18.spymonk.PrepareResponse\x12\x39\n\x06\x41\x63\x63\x65pt\x12\x16.spymonk.AcceptRequest\x1a\x17.spymonk.AcceptResponse\x12\x39\n\x06\x43ommit\x12\x16.spymonk.CommitRequest\x1a\x17.spymonk.CommitResponse\x12N\n\rAppendEntries\x12\x1d.spymonk.AppendEntriesRequest\x1a\x1e.spymonk.AppendEntriesResponse\x12M\n\x0fInstallSnapshot\x12\x16.spymonk.SnapshotChunk\x1a .spymonk.InstallSnapshotResponse(\x01\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'spymonk_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_QUERYROW_COLUMNSENTRY']._loaded_options = None
  _globals['_QUERYROW_COLUMNSENTRY']._serialized_options = b'8\001'
  _globals['_TIMESTAMP']._serialized_start=26
  _globals['_TIMESTAMP']._serialized_end=96
  _globals['_BEGINTRANSACTIONREQUEST']._serialized_start=98
  _globals['_BEGINTRANSACTIONREQUEST']._serialized_end=186
  _globals['_BEGINTRANSACTIONRESPONSE']._serialized_start=188
  _globals['_BEGINTRANSACTIONRESPONSE']._serialized_end=283
  _globals['_COMMITTRANSACTIONREQUEST']._serialized_start=285
  _globals['_COMMITTRANSACTIONREQUEST']._serialized_end=335
  _globals['_COMMITTRANSACTIONRESPONSE']._serialized_start=337
  _globals['_COMMITTRANSACTIONRESPONSE']._serialized_end=427
  _globals['_ABORTTRANSACTIONREQUEST']._serialized_start=429
  _globals['_ABORTTRANSACTIONREQUEST']._serialized_end=478
  _globals['_ABORTTRANSACTIONRESPONSE']._serialized_start=480
  _globals['_ABORTTRANSACTIONRESPONSE']._serialized_end=523
  _globals['_GETREQUEST']._serialized_start=525
  _globals['_GETREQUEST']._serialized_end=618
  _globals['_GETRESPONSE']._serialized_start=620
  _globals['_GETRESPONSE']._serialized_end=710
  _globals['_PUTREQUEST']._serialized_start=712
  _globals['_PUTREQUEST']._serialized_end=776
  _globals['_PUTRESPONSE']._serialized_start=778
  _globals['_PUTRESPONSE']._serialized_end=847
  _globals['_DELETEREQUEST']._serialized_start=849
  _globals['_DELETEREQUEST']._serialized_end=901
  _globals['_DELETERESPONSE']._serialized_start=903
  _globals['_DELETERESPONSE']._serialized_end=975
  _globals['_SCANREQUEST']._serialized_start=978
  _globals['_SCANREQUEST']._serialized_end=1110
  _globals['_SCANRESPONSE']._serialized_start=1112
  _globals['_SCANRESPONSE']._serialized_end=1201
  _globals['_EXECUTESQLREQUEST']._serialized_start=1203
  _globals['_EXECUTESQLREQUEST']._serialized_end=1259
  _globals['_EXECUTESQLRESPONSE']._serialized_start=1261
  _globals['_EXECUTESQLRESPONSE']._serialized_end=1337
  _globals['_EXECUTEQUERYREQUEST']._serialized_start=1339
  _globals['_EXECUTEQUERYREQUEST']._serialized_end=1397
  _globals['_QUERYROW']._serialized_start=1399
  _globals['_QUERYROW']._serialized_end=1506
  _globals['_QUERYROW_COLUMNSENTRY']._serialized_start=1460
  _globals['_QUERYROW_COLUMNSENTRY']._serialized_end=1506
  _globals['_BATCHWRITEREQUEST']._serialized_start=1508
  _globals['_BATCHWRITEREQUEST']._serialized_end=1627
  _globals['_BATCHWRITERESPONSE']._serialized_start=1629
  _globals['_BATCHWRITERESPONSE']._serialized_end=1693
  _globals['_PREPAREREQUEST']._serialized_start=1695
  _globals['_PREPAREREQUEST']._serialized_end=1775
  _globals['_PREPARERESPONSE']._serialized_start=1777
  _globals['_PREPARERESPONSE']._serialized_end=1895
  _globals['_ACCEPTREQUEST']._serialized_start=1897
  _globals['_ACCEPTREQUEST']._serialized_end=2009
  _globals['_ACCEPTRESPONSE']._serialized_start=2011
  _globals['_ACCEPTRESPONSE']._serialized_end=2070
  _globals['_COMMITREQUEST']._serialized_start=2072
  _globals['_COMMITREQUEST']._serialized_end=2139
  _globals['_COMMITRESPONSE']._serialized_start=2141
  _globals['_COMMITRESPONSE']._serialized_end=2174
  _globals['_LOGENTRY']._serialized_start=2176
  _globals['_LOGENTRY']._serialized_end=2271
  _globals['_APPENDENTRIESREQUEST']._serialized_start=2274
  _globals['_APPENDENTRIESREQUEST']._serialized_end=2453
  _globals['_APPENDENTRIESRESPONSE']._serialized_start=2455
  _globals['_APPENDENTRIESRESPONSE']._serialized_end=2530
  _globals['_SNAPSHOTCHUNK']._serialized_start=2532
  _globals['_SNAPSHOTCHUNK']._serialized_end=2659
  _globals['_INSTALLSNAPSHOTRESPONSE']._serialized_start=2661
  _globals['_INSTALLSNAPSHOTRESPONSE']._serialized_end=2717
  _globals['_SPYMONKDB']._serialized_start=2720
  _globals['_SPYMONKDB']._serialized_end=3424
  _globals['_REPLICATIONSERVICE']._serialized_start=3427
  _globals['_REPLICATIONSERVICE']._serialized_end=3786
# @@protoc_insertion_point(module_scope)
