# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: MLDataFormats.proto
# Protobuf Python Version: 6.31.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 runtime_version as _runtime_version
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()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13MLDataFormats.proto\"&\n\x08KeyValue\x12\x0b\n\x03key\x18\x01 \x02(\t\x12\r\n\x05value\x18\x02 \x02(\t\"D\n\x15OffloadDriverMetadata\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x1d\n\nproperties\x18\x02 \x03(\x0b\x32\t.KeyValue\"\xc9\x01\n\x0eOffloadContext\x12\x0e\n\x06uidMsb\x18\x01 \x01(\x03\x12\x0e\n\x06uidLsb\x18\x02 \x01(\x03\x12\x10\n\x08\x63omplete\x18\x03 \x01(\x08\x12\x19\n\x11\x62ookkeeperDeleted\x18\x04 \x01(\x08\x12\x11\n\ttimestamp\x18\x05 \x01(\x03\x12.\n\x0e\x64riverMetadata\x18\x06 \x01(\x0b\x32\x16.OffloadDriverMetadata\x12\'\n\x0eoffloadSegment\x18\x07 \x03(\x0b\x32\x0f.OffloadSegment\"\xbd\x01\n\x0eOffloadSegment\x12\x0e\n\x06uidMsb\x18\x01 \x01(\x03\x12\x0e\n\x06uidLsb\x18\x02 \x01(\x03\x12\x10\n\x08\x63omplete\x18\x03 \x01(\x08\x12\x19\n\x11\x61ssignedTimestamp\x18\x04 \x01(\x03\x12\x1a\n\x12offloadedTimestamp\x18\x05 \x01(\x03\x12\x12\n\nendEntryId\x18\x06 \x01(\x03\x12.\n\x0e\x64riverMetadata\x18\x07 \x01(\x0b\x32\x16.OffloadDriverMetadata\"\xb1\x02\n\x11ManagedLedgerInfo\x12\x31\n\nledgerInfo\x18\x01 \x03(\x0b\x32\x1d.ManagedLedgerInfo.LedgerInfo\x12/\n\x12terminatedPosition\x18\x02 \x01(\x0b\x32\x13.NestedPositionInfo\x12\x1d\n\nproperties\x18\x03 \x03(\x0b\x32\t.KeyValue\x1a\x98\x01\n\nLedgerInfo\x12\x10\n\x08ledgerId\x18\x01 \x02(\x03\x12\x0f\n\x07\x65ntries\x18\x02 \x01(\x03\x12\x0c\n\x04size\x18\x03 \x01(\x03\x12\x11\n\ttimestamp\x18\x04 \x01(\x03\x12\'\n\x0eoffloadContext\x18\x05 \x01(\x0b\x32\x0f.OffloadContext\x12\x1d\n\nproperties\x18\x06 \x03(\x0b\x32\t.KeyValue\"\x83\x02\n\x0cPositionInfo\x12\x10\n\x08ledgerId\x18\x01 \x02(\x03\x12\x0f\n\x07\x65ntryId\x18\x02 \x02(\x03\x12\x30\n\x19individualDeletedMessages\x18\x03 \x03(\x0b\x32\r.MessageRange\x12!\n\nproperties\x18\x04 \x03(\x0b\x32\r.LongProperty\x12\x45\n\x1d\x62\x61tchedEntryDeletionIndexInfo\x18\x05 \x03(\x0b\x32\x1e.BatchedEntryDeletionIndexInfo\x12\x34\n\x1eindividualDeletedMessageRanges\x18\x06 \x03(\x0b\x32\x0c.LongListMap\"7\n\x12NestedPositionInfo\x12\x10\n\x08ledgerId\x18\x01 \x02(\x03\x12\x0f\n\x07\x65ntryId\x18\x02 \x02(\x03\"*\n\x0bLongListMap\x12\x0b\n\x03key\x18\x01 \x02(\x03\x12\x0e\n\x06values\x18\x02 \x03(\x03\"f\n\x0cMessageRange\x12*\n\rlowerEndpoint\x18\x01 \x02(\x0b\x32\x13.NestedPositionInfo\x12*\n\rupperEndpoint\x18\x02 \x02(\x0b\x32\x13.NestedPositionInfo\"Y\n\x1d\x42\x61tchedEntryDeletionIndexInfo\x12%\n\x08position\x18\x01 \x02(\x0b\x32\x13.NestedPositionInfo\x12\x11\n\tdeleteSet\x18\x02 \x03(\x03\"+\n\x0cLongProperty\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\r\n\x05value\x18\x02 \x02(\x03\"-\n\x0eStringProperty\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\r\n\x05value\x18\x02 \x02(\t\"\xc2\x02\n\x11ManagedCursorInfo\x12\x17\n\x0f\x63ursorsLedgerId\x18\x01 \x02(\x03\x12\x1a\n\x12markDeleteLedgerId\x18\x02 \x01(\x03\x12\x19\n\x11markDeleteEntryId\x18\x03 \x01(\x03\x12\x30\n\x19individualDeletedMessages\x18\x04 \x03(\x0b\x32\r.MessageRange\x12!\n\nproperties\x18\x05 \x03(\x0b\x32\r.LongProperty\x12\x16\n\nlastActive\x18\x06 \x01(\x03\x42\x02\x18\x01\x12\x45\n\x1d\x62\x61tchedEntryDeletionIndexInfo\x18\x07 \x03(\x0b\x32\x1e.BatchedEntryDeletionIndexInfo\x12)\n\x10\x63ursorProperties\x18\x08 \x03(\x0b\x32\x0f.StringProperty\"`\n\x19ManagedLedgerInfoMetadata\x12)\n\x0f\x63ompressionType\x18\x01 \x02(\x0e\x32\x10.CompressionType\x12\x18\n\x10uncompressedSize\x18\x02 \x02(\x05\"`\n\x19ManagedCursorInfoMetadata\x12)\n\x0f\x63ompressionType\x18\x01 \x02(\x0e\x32\x10.CompressionType\x12\x18\n\x10uncompressedSize\x18\x02 \x02(\x05*D\n\x0f\x43ompressionType\x12\x08\n\x04NONE\x10\x00\x12\x07\n\x03LZ4\x10\x01\x12\x08\n\x04ZLIB\x10\x02\x12\x08\n\x04ZSTD\x10\x03\x12\n\n\x06SNAPPY\x10\x04\x42\'\n#org.apache.bookkeeper.mledger.protoH\x01')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'MLDataFormats_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n#org.apache.bookkeeper.mledger.protoH\001'
  _globals['_MANAGEDCURSORINFO'].fields_by_name['lastActive']._loaded_options = None
  _globals['_MANAGEDCURSORINFO'].fields_by_name['lastActive']._serialized_options = b'\030\001'
  _globals['_COMPRESSIONTYPE']._serialized_start=2008
  _globals['_COMPRESSIONTYPE']._serialized_end=2076
  _globals['_KEYVALUE']._serialized_start=23
  _globals['_KEYVALUE']._serialized_end=61
  _globals['_OFFLOADDRIVERMETADATA']._serialized_start=63
  _globals['_OFFLOADDRIVERMETADATA']._serialized_end=131
  _globals['_OFFLOADCONTEXT']._serialized_start=134
  _globals['_OFFLOADCONTEXT']._serialized_end=335
  _globals['_OFFLOADSEGMENT']._serialized_start=338
  _globals['_OFFLOADSEGMENT']._serialized_end=527
  _globals['_MANAGEDLEDGERINFO']._serialized_start=530
  _globals['_MANAGEDLEDGERINFO']._serialized_end=835
  _globals['_MANAGEDLEDGERINFO_LEDGERINFO']._serialized_start=683
  _globals['_MANAGEDLEDGERINFO_LEDGERINFO']._serialized_end=835
  _globals['_POSITIONINFO']._serialized_start=838
  _globals['_POSITIONINFO']._serialized_end=1097
  _globals['_NESTEDPOSITIONINFO']._serialized_start=1099
  _globals['_NESTEDPOSITIONINFO']._serialized_end=1154
  _globals['_LONGLISTMAP']._serialized_start=1156
  _globals['_LONGLISTMAP']._serialized_end=1198
  _globals['_MESSAGERANGE']._serialized_start=1200
  _globals['_MESSAGERANGE']._serialized_end=1302
  _globals['_BATCHEDENTRYDELETIONINDEXINFO']._serialized_start=1304
  _globals['_BATCHEDENTRYDELETIONINDEXINFO']._serialized_end=1393
  _globals['_LONGPROPERTY']._serialized_start=1395
  _globals['_LONGPROPERTY']._serialized_end=1438
  _globals['_STRINGPROPERTY']._serialized_start=1440
  _globals['_STRINGPROPERTY']._serialized_end=1485
  _globals['_MANAGEDCURSORINFO']._serialized_start=1488
  _globals['_MANAGEDCURSORINFO']._serialized_end=1810
  _globals['_MANAGEDLEDGERINFOMETADATA']._serialized_start=1812
  _globals['_MANAGEDLEDGERINFOMETADATA']._serialized_end=1908
  _globals['_MANAGEDCURSORINFOMETADATA']._serialized_start=1910
  _globals['_MANAGEDCURSORINFOMETADATA']._serialized_end=2006
# @@protoc_insertion_point(module_scope)
