# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: kikimr/public/api/protos/draft/persqueue.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
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()


from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
from kikimr.public.api.protos.draft import persqueue_error_codes_pb2 as kikimr_dot_public_dot_api_dot_protos_dot_draft_dot_persqueue__error__codes__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='kikimr/public/api/protos/draft/persqueue.proto',
  package='NPersQueue',
  syntax='proto3',
  serialized_options=_b('\n\030com.yandex.ydb.persqueue\370\001\001'),
  serialized_pb=_b('\n.kikimr/public/api/protos/draft/persqueue.proto\x12\nNPersQueue\x1a google/protobuf/descriptor.proto\x1a:kikimr/public/api/protos/draft/persqueue_error_codes.proto\"\x14\n\x04Path\x12\x0c\n\x04path\x18\x01 \x01(\t\"M\n\x05\x45rror\x12/\n\x04\x63ode\x18\x01 \x01(\x0e\x32!.NPersQueue.NErrorCode.EErrorCode\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"&\n\x08KeyValue\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\".\n\x07MapType\x12#\n\x05items\x18\x01 \x03(\x0b\x32\x14.NPersQueue.KeyValue\"Q\n\x0b\x43redentials\x12\x1c\n\x12tvm_service_ticket\x18\x01 \x01(\x0cH\x00\x12\x15\n\x0boauth_token\x18\x02 \x01(\x0cH\x00\x42\r\n\x0b\x63redentials\"\x91\x04\n\x0cWriteRequest\x12-\n\x04init\x18\x01 \x01(\x0b\x32\x1d.NPersQueue.WriteRequest.InitH\x00\x12-\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1d.NPersQueue.WriteRequest.DataH\x00\x12\x38\n\ndata_batch\x18\x03 \x01(\x0b\x32\".NPersQueue.WriteRequest.DataBatchH\x00\x12,\n\x0b\x63redentials\x18\x14 \x01(\x0b\x32\x17.NPersQueue.Credentials\x1a\x94\x01\n\x04Init\x12\r\n\x05topic\x18\x01 \x01(\t\x12\x11\n\tsource_id\x18\x02 \x01(\x0c\x12)\n\x0c\x65xtra_fields\x18\x07 \x01(\x0b\x32\x13.NPersQueue.MapType\x12\x14\n\x0cproxy_cookie\x18\x08 \x01(\x04\x12\x17\n\x0fpartition_group\x18\x0c \x01(\r\x12\x10\n\x07version\x18\xe7\x07 \x01(\t\x1a_\n\x04\x44\x61ta\x12\x0e\n\x06seq_no\x18\x01 \x01(\x04\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x16\n\x0e\x63reate_time_ms\x18\x03 \x01(\x04\x12!\n\x05\x63odec\x18\x04 \x01(\x0e\x32\x12.NPersQueue.ECodec\x1a\x38\n\tDataBatch\x12+\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x1d.NPersQueue.WriteRequest.DataB\t\n\x07request\"\x86\x05\n\rWriteResponse\x12.\n\x04init\x18\x01 \x01(\x0b\x32\x1e.NPersQueue.WriteResponse.InitH\x00\x12,\n\x03\x61\x63k\x18\x02 \x01(\x0b\x32\x1d.NPersQueue.WriteResponse.AckH\x00\x12\x37\n\tack_batch\x18\x04 \x01(\x0b\x32\".NPersQueue.WriteResponse.AckBatchH\x00\x12\"\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x11.NPersQueue.ErrorH\x00\x1aP\n\x04Init\x12\x12\n\nmax_seq_no\x18\x01 \x01(\x04\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x11\n\tpartition\x18\x03 \x01(\r\x12\r\n\x05topic\x18\x04 \x01(\t\x1a\x87\x01\n\x04Stat\x12\x15\n\rwrite_time_ms\x18\x01 \x01(\r\x12(\n total_time_in_partition_queue_ms\x18\x02 \x01(\r\x12 \n\x18partition_quoted_time_ms\x18\x03 \x01(\r\x12\x1c\n\x14topic_quoted_time_ms\x18\x04 \x01(\r\x1al\n\x03\x41\x63k\x12\x0e\n\x06seq_no\x18\x01 \x01(\x04\x12\x0e\n\x06offset\x18\x02 \x01(\x04\x12\x17\n\x0f\x61lready_written\x18\x03 \x01(\x08\x12,\n\x04stat\x18\x04 \x01(\x0b\x32\x1e.NPersQueue.WriteResponse.Stat\x1a\x64\n\x08\x41\x63kBatch\x12,\n\x04stat\x18\x02 \x01(\x0b\x32\x1e.NPersQueue.WriteResponse.Stat\x12*\n\x03\x61\x63k\x18\x01 \x03(\x0b\x32\x1d.NPersQueue.WriteResponse.AckB\n\n\x08response\"\xab\t\n\x0bReadRequest\x12,\n\x04init\x18\x01 \x01(\x0b\x32\x1c.NPersQueue.ReadRequest.InitH\x00\x12,\n\x04read\x18\x02 \x01(\x0b\x32\x1c.NPersQueue.ReadRequest.ReadH\x00\x12\x37\n\nstart_read\x18\x03 \x01(\x0b\x32!.NPersQueue.ReadRequest.StartReadH\x00\x12\x30\n\x06\x63ommit\x18\x04 \x01(\x0b\x32\x1e.NPersQueue.ReadRequest.CommitH\x00\x12\x30\n\x06status\x18\x05 \x01(\x0b\x32\x1e.NPersQueue.ReadRequest.StatusH\x00\x12,\n\x0b\x63redentials\x18\x14 \x01(\x0b\x32\x17.NPersQueue.Credentials\x1a\xc4\x03\n\x04Init\x12\x0e\n\x06topics\x18\x01 \x03(\t\x12\x17\n\x0fread_only_local\x18\x02 \x01(\x08\x12\x11\n\tclient_id\x18\x04 \x01(\t\x12 \n\x18\x63lientside_locks_allowed\x18\x05 \x01(\x08\x12\x14\n\x0cproxy_cookie\x18\x06 \x01(\x04\x12#\n\x1b\x62\x61lance_partition_right_now\x18\x08 \x01(\x08\x12\x18\n\x10partition_groups\x18\t \x03(\r\x12\x18\n\x10idle_timeout_sec\x18\n \x01(\r\x12\x1a\n\x12\x63ommit_interval_ms\x18\x0c \x01(\r\x12\x1f\n\x17max_read_messages_count\x18\x0e \x01(\r\x12\x15\n\rmax_read_size\x18\x0f \x01(\r\x12!\n\x19max_read_partitions_count\x18\x10 \x01(\r\x12\x17\n\x0fmax_time_lag_ms\x18\x11 \x01(\r\x12\x19\n\x11read_timestamp_ms\x18\x12 \x01(\x04\x12\x18\n\x10\x63ommits_disabled\x18\x13 \x01(\x08\x12\x10\n\x07version\x18\xe7\x07 \x01(\t\x12\x18\n\x10protocol_version\x18\r \x01(\r\x1a{\n\x04Read\x12\x11\n\tmax_count\x18\x01 \x01(\r\x12\x10\n\x08max_size\x18\x02 \x01(\r\x12\x1a\n\x12partitions_at_once\x18\x03 \x01(\r\x12\x17\n\x0fmax_time_lag_ms\x18\x05 \x01(\r\x12\x19\n\x11read_timestamp_ms\x18\x06 \x01(\x04\x1a\x89\x01\n\tStartRead\x12\r\n\x05topic\x18\x01 \x01(\t\x12\x11\n\tpartition\x18\x02 \x01(\r\x12\x13\n\x0bread_offset\x18\x03 \x01(\x04\x12\x1a\n\x12verify_read_offset\x18\x04 \x01(\x08\x12\x12\n\ngeneration\x18\x05 \x01(\x04\x12\x15\n\rcommit_offset\x18\x06 \x01(\x04\x1a\x18\n\x06\x43ommit\x12\x0e\n\x06\x63ookie\x18\x01 \x03(\x04\x1a>\n\x06Status\x12\x12\n\ngeneration\x18\x01 \x01(\x04\x12\r\n\x05topic\x18\x02 \x01(\t\x12\x11\n\tpartition\x18\x03 \x01(\r\"@\n\x10\x45ProtocolVersion\x12\x08\n\x04\x42\x61se\x10\x00\x12\x0c\n\x08\x42\x61tching\x10\x01\x12\x14\n\x10ReadParamsInInit\x10\x02\x42\t\n\x07request\"\xb9\x01\n\x0bMessageMeta\x12\x11\n\tsource_id\x18\x01 \x01(\x0c\x12\x0e\n\x06seq_no\x18\x02 \x01(\x04\x12\x16\n\x0e\x63reate_time_ms\x18\x03 \x01(\x04\x12\x15\n\rwrite_time_ms\x18\x04 \x01(\x04\x12)\n\x0c\x65xtra_fields\x18\x07 \x01(\x0b\x32\x13.NPersQueue.MapType\x12!\n\x05\x63odec\x18\x08 \x01(\x0e\x32\x12.NPersQueue.ECodec\x12\n\n\x02ip\x18\t \x01(\t\"\xf4\x0c\n\x0cReadResponse\x12-\n\x04init\x18\x01 \x01(\x0b\x32\x1d.NPersQueue.ReadResponse.InitH\x00\x12-\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1d.NPersQueue.ReadResponse.DataH\x00\x12<\n\x0c\x62\x61tched_data\x18\x07 \x01(\x0b\x32$.NPersQueue.ReadResponse.BatchedDataH\x00\x12\"\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x11.NPersQueue.ErrorH\x00\x12-\n\x04lock\x18\x04 \x01(\x0b\x32\x1d.NPersQueue.ReadResponse.LockH\x00\x12\x33\n\x07release\x18\x05 \x01(\x0b\x32 .NPersQueue.ReadResponse.ReleaseH\x00\x12\x31\n\x06\x63ommit\x18\x06 \x01(\x0b\x32\x1f.NPersQueue.ReadResponse.CommitH\x00\x12\x44\n\x10partition_status\x18\x08 \x01(\x0b\x32(.NPersQueue.ReadResponse.PartitionStatusH\x00\x1a\x1a\n\x04Init\x12\x12\n\nsession_id\x18\x02 \x01(\t\x1a\xaf\x02\n\x04\x44\x61ta\x12\x41\n\rmessage_batch\x18\x01 \x03(\x0b\x32*.NPersQueue.ReadResponse.Data.MessageBatch\x12\x0e\n\x06\x63ookie\x18\x02 \x01(\x04\x1aj\n\x07Message\x12%\n\x04meta\x18\x01 \x01(\x0b\x32\x17.NPersQueue.MessageMeta\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0e\n\x06offset\x18\x03 \x01(\x04\x12\x1a\n\x12\x62roken_packed_data\x18\x04 \x01(\x0c\x1ah\n\x0cMessageBatch\x12\r\n\x05topic\x18\x01 \x01(\t\x12\x11\n\tpartition\x18\x02 \x01(\r\x12\x36\n\x07message\x18\x03 \x03(\x0b\x32%.NPersQueue.ReadResponse.Data.Message\x1a\x82\x04\n\x0b\x42\x61tchedData\x12\x0e\n\x06\x63ookie\x18\x02 \x01(\x04\x12J\n\x0epartition_data\x18\x01 \x03(\x0b\x32\x32.NPersQueue.ReadResponse.BatchedData.PartitionData\x1av\n\x0bMessageData\x12!\n\x05\x63odec\x18\x02 \x01(\x0e\x32\x12.NPersQueue.ECodec\x12\x0e\n\x06offset\x18\x03 \x01(\x04\x12\x0e\n\x06seq_no\x18\x04 \x01(\x04\x12\x16\n\x0e\x63reate_time_ms\x18\x05 \x01(\x04\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x1a\xb0\x01\n\x05\x42\x61tch\x12\x11\n\tsource_id\x18\x02 \x01(\x0c\x12)\n\x0c\x65xtra_fields\x18\x03 \x01(\x0b\x32\x13.NPersQueue.MapType\x12\x15\n\rwrite_time_ms\x18\x04 \x01(\x04\x12\n\n\x02ip\x18\x05 \x01(\t\x12\x46\n\x0cmessage_data\x18\x01 \x03(\x0b\x32\x30.NPersQueue.ReadResponse.BatchedData.MessageData\x1al\n\rPartitionData\x12\r\n\x05topic\x18\x02 \x01(\t\x12\x11\n\tpartition\x18\x03 \x01(\r\x12\x39\n\x05\x62\x61tch\x18\x01 \x03(\x0b\x32*.NPersQueue.ReadResponse.BatchedData.Batch\x1a\x65\n\x04Lock\x12\r\n\x05topic\x18\x01 \x01(\t\x12\x11\n\tpartition\x18\x02 \x01(\r\x12\x13\n\x0bread_offset\x18\x03 \x01(\x04\x12\x12\n\nend_offset\x18\x04 \x01(\x04\x12\x12\n\ngeneration\x18\x05 \x01(\x04\x1aS\n\x07Release\x12\r\n\x05topic\x18\x01 \x01(\t\x12\x11\n\tpartition\x18\x02 \x01(\r\x12\x12\n\ncan_commit\x18\x03 \x01(\x08\x12\x12\n\ngeneration\x18\x04 \x01(\x04\x1a\x18\n\x06\x43ommit\x12\x0e\n\x06\x63ookie\x18\x01 \x03(\x04\x1a\x91\x01\n\x0fPartitionStatus\x12\x12\n\ngeneration\x18\x01 \x01(\x04\x12\r\n\x05topic\x18\x02 \x01(\t\x12\x11\n\tpartition\x18\x03 \x01(\r\x12\x18\n\x10\x63ommitted_offset\x18\x04 \x01(\x04\x12\x12\n\nend_offset\x18\x05 \x01(\x04\x12\x1a\n\x12write_watermark_ms\x18\x06 \x01(\x04\x42\n\n\x08response*<\n\x06\x45\x43odec\x12\x07\n\x03RAW\x10\x00\x12\x08\n\x04GZIP\x10\x01\x12\x08\n\x04LZOP\x10\x02\x12\x08\n\x04ZSTD\x10\x03\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x64:7\n\x0fGenerateYaStyle\x12\x1c.google.protobuf.FileOptions\x18\xf5\x88\x04 \x01(\x08\x42\x1d\n\x18\x63om.yandex.ydb.persqueue\xf8\x01\x01\x62\x06proto3')
  ,
  dependencies=[google_dot_protobuf_dot_descriptor__pb2.DESCRIPTOR,kikimr_dot_public_dot_api_dot_protos_dot_draft_dot_persqueue__error__codes__pb2.DESCRIPTOR,])

_ECODEC = _descriptor.EnumDescriptor(
  name='ECodec',
  full_name='NPersQueue.ECodec',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='RAW', index=0, number=0,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='GZIP', index=1, number=1,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='LZOP', index=2, number=2,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='ZSTD', index=3, number=3,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='DEFAULT', index=4, number=100,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=4650,
  serialized_end=4710,
)
_sym_db.RegisterEnumDescriptor(_ECODEC)

ECodec = enum_type_wrapper.EnumTypeWrapper(_ECODEC)
RAW = 0
GZIP = 1
LZOP = 2
ZSTD = 3
DEFAULT = 100

GENERATEYASTYLE_FIELD_NUMBER = 66677
GenerateYaStyle = _descriptor.FieldDescriptor(
  name='GenerateYaStyle', full_name='NPersQueue.GenerateYaStyle', index=0,
  number=66677, type=8, cpp_type=7, label=1,
  has_default_value=False, default_value=False,
  message_type=None, enum_type=None, containing_type=None,
  is_extension=True, extension_scope=None,
  serialized_options=None, file=DESCRIPTOR)

_READREQUEST_EPROTOCOLVERSION = _descriptor.EnumDescriptor(
  name='EProtocolVersion',
  full_name='NPersQueue.ReadRequest.EProtocolVersion',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='Base', index=0, number=0,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='Batching', index=1, number=1,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='ReadParamsInInit', index=2, number=2,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=2730,
  serialized_end=2794,
)
_sym_db.RegisterEnumDescriptor(_READREQUEST_EPROTOCOLVERSION)


_PATH = _descriptor.Descriptor(
  name='Path',
  full_name='NPersQueue.Path',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='path', full_name='NPersQueue.Path.path', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=156,
  serialized_end=176,
)


_ERROR = _descriptor.Descriptor(
  name='Error',
  full_name='NPersQueue.Error',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='code', full_name='NPersQueue.Error.code', index=0,
      number=1, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='description', full_name='NPersQueue.Error.description', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=178,
  serialized_end=255,
)


_KEYVALUE = _descriptor.Descriptor(
  name='KeyValue',
  full_name='NPersQueue.KeyValue',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='NPersQueue.KeyValue.key', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='value', full_name='NPersQueue.KeyValue.value', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=257,
  serialized_end=295,
)


_MAPTYPE = _descriptor.Descriptor(
  name='MapType',
  full_name='NPersQueue.MapType',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='items', full_name='NPersQueue.MapType.items', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=297,
  serialized_end=343,
)


_CREDENTIALS = _descriptor.Descriptor(
  name='Credentials',
  full_name='NPersQueue.Credentials',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='tvm_service_ticket', full_name='NPersQueue.Credentials.tvm_service_ticket', index=0,
      number=1, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='oauth_token', full_name='NPersQueue.Credentials.oauth_token', index=1,
      number=2, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='credentials', full_name='NPersQueue.Credentials.credentials',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=345,
  serialized_end=426,
)


_WRITEREQUEST_INIT = _descriptor.Descriptor(
  name='Init',
  full_name='NPersQueue.WriteRequest.Init',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='topic', full_name='NPersQueue.WriteRequest.Init.topic', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='source_id', full_name='NPersQueue.WriteRequest.Init.source_id', index=1,
      number=2, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='extra_fields', full_name='NPersQueue.WriteRequest.Init.extra_fields', index=2,
      number=7, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='proxy_cookie', full_name='NPersQueue.WriteRequest.Init.proxy_cookie', index=3,
      number=8, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='partition_group', full_name='NPersQueue.WriteRequest.Init.partition_group', index=4,
      number=12, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='version', full_name='NPersQueue.WriteRequest.Init.version', index=5,
      number=999, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=644,
  serialized_end=792,
)

_WRITEREQUEST_DATA = _descriptor.Descriptor(
  name='Data',
  full_name='NPersQueue.WriteRequest.Data',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='seq_no', full_name='NPersQueue.WriteRequest.Data.seq_no', index=0,
      number=1, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='data', full_name='NPersQueue.WriteRequest.Data.data', index=1,
      number=2, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='create_time_ms', full_name='NPersQueue.WriteRequest.Data.create_time_ms', index=2,
      number=3, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='codec', full_name='NPersQueue.WriteRequest.Data.codec', index=3,
      number=4, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=794,
  serialized_end=889,
)

_WRITEREQUEST_DATABATCH = _descriptor.Descriptor(
  name='DataBatch',
  full_name='NPersQueue.WriteRequest.DataBatch',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='data', full_name='NPersQueue.WriteRequest.DataBatch.data', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=891,
  serialized_end=947,
)

_WRITEREQUEST = _descriptor.Descriptor(
  name='WriteRequest',
  full_name='NPersQueue.WriteRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='init', full_name='NPersQueue.WriteRequest.init', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='data', full_name='NPersQueue.WriteRequest.data', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='data_batch', full_name='NPersQueue.WriteRequest.data_batch', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='credentials', full_name='NPersQueue.WriteRequest.credentials', index=3,
      number=20, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[_WRITEREQUEST_INIT, _WRITEREQUEST_DATA, _WRITEREQUEST_DATABATCH, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='request', full_name='NPersQueue.WriteRequest.request',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=429,
  serialized_end=958,
)


_WRITERESPONSE_INIT = _descriptor.Descriptor(
  name='Init',
  full_name='NPersQueue.WriteResponse.Init',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='max_seq_no', full_name='NPersQueue.WriteResponse.Init.max_seq_no', index=0,
      number=1, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='session_id', full_name='NPersQueue.WriteResponse.Init.session_id', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='partition', full_name='NPersQueue.WriteResponse.Init.partition', index=2,
      number=3, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='topic', full_name='NPersQueue.WriteResponse.Init.topic', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1165,
  serialized_end=1245,
)

_WRITERESPONSE_STAT = _descriptor.Descriptor(
  name='Stat',
  full_name='NPersQueue.WriteResponse.Stat',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='write_time_ms', full_name='NPersQueue.WriteResponse.Stat.write_time_ms', index=0,
      number=1, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='total_time_in_partition_queue_ms', full_name='NPersQueue.WriteResponse.Stat.total_time_in_partition_queue_ms', index=1,
      number=2, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='partition_quoted_time_ms', full_name='NPersQueue.WriteResponse.Stat.partition_quoted_time_ms', index=2,
      number=3, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='topic_quoted_time_ms', full_name='NPersQueue.WriteResponse.Stat.topic_quoted_time_ms', index=3,
      number=4, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1248,
  serialized_end=1383,
)

_WRITERESPONSE_ACK = _descriptor.Descriptor(
  name='Ack',
  full_name='NPersQueue.WriteResponse.Ack',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='seq_no', full_name='NPersQueue.WriteResponse.Ack.seq_no', index=0,
      number=1, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='offset', full_name='NPersQueue.WriteResponse.Ack.offset', index=1,
      number=2, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='already_written', full_name='NPersQueue.WriteResponse.Ack.already_written', index=2,
      number=3, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='stat', full_name='NPersQueue.WriteResponse.Ack.stat', index=3,
      number=4, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1385,
  serialized_end=1493,
)

_WRITERESPONSE_ACKBATCH = _descriptor.Descriptor(
  name='AckBatch',
  full_name='NPersQueue.WriteResponse.AckBatch',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='stat', full_name='NPersQueue.WriteResponse.AckBatch.stat', index=0,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='ack', full_name='NPersQueue.WriteResponse.AckBatch.ack', index=1,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1495,
  serialized_end=1595,
)

_WRITERESPONSE = _descriptor.Descriptor(
  name='WriteResponse',
  full_name='NPersQueue.WriteResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='init', full_name='NPersQueue.WriteResponse.init', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='ack', full_name='NPersQueue.WriteResponse.ack', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='ack_batch', full_name='NPersQueue.WriteResponse.ack_batch', index=2,
      number=4, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='error', full_name='NPersQueue.WriteResponse.error', index=3,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[_WRITERESPONSE_INIT, _WRITERESPONSE_STAT, _WRITERESPONSE_ACK, _WRITERESPONSE_ACKBATCH, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='response', full_name='NPersQueue.WriteResponse.response',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=961,
  serialized_end=1607,
)


_READREQUEST_INIT = _descriptor.Descriptor(
  name='Init',
  full_name='NPersQueue.ReadRequest.Init',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='topics', full_name='NPersQueue.ReadRequest.Init.topics', index=0,
      number=1, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='read_only_local', full_name='NPersQueue.ReadRequest.Init.read_only_local', index=1,
      number=2, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='client_id', full_name='NPersQueue.ReadRequest.Init.client_id', index=2,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='clientside_locks_allowed', full_name='NPersQueue.ReadRequest.Init.clientside_locks_allowed', index=3,
      number=5, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='proxy_cookie', full_name='NPersQueue.ReadRequest.Init.proxy_cookie', index=4,
      number=6, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='balance_partition_right_now', full_name='NPersQueue.ReadRequest.Init.balance_partition_right_now', index=5,
      number=8, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='partition_groups', full_name='NPersQueue.ReadRequest.Init.partition_groups', index=6,
      number=9, type=13, cpp_type=3, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='idle_timeout_sec', full_name='NPersQueue.ReadRequest.Init.idle_timeout_sec', index=7,
      number=10, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='commit_interval_ms', full_name='NPersQueue.ReadRequest.Init.commit_interval_ms', index=8,
      number=12, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='max_read_messages_count', full_name='NPersQueue.ReadRequest.Init.max_read_messages_count', index=9,
      number=14, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='max_read_size', full_name='NPersQueue.ReadRequest.Init.max_read_size', index=10,
      number=15, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='max_read_partitions_count', full_name='NPersQueue.ReadRequest.Init.max_read_partitions_count', index=11,
      number=16, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='max_time_lag_ms', full_name='NPersQueue.ReadRequest.Init.max_time_lag_ms', index=12,
      number=17, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='read_timestamp_ms', full_name='NPersQueue.ReadRequest.Init.read_timestamp_ms', index=13,
      number=18, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='commits_disabled', full_name='NPersQueue.ReadRequest.Init.commits_disabled', index=14,
      number=19, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='version', full_name='NPersQueue.ReadRequest.Init.version', index=15,
      number=999, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='protocol_version', full_name='NPersQueue.ReadRequest.Init.protocol_version', index=16,
      number=13, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1921,
  serialized_end=2373,
)

_READREQUEST_READ = _descriptor.Descriptor(
  name='Read',
  full_name='NPersQueue.ReadRequest.Read',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='max_count', full_name='NPersQueue.ReadRequest.Read.max_count', index=0,
      number=1, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='max_size', full_name='NPersQueue.ReadRequest.Read.max_size', index=1,
      number=2, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='partitions_at_once', full_name='NPersQueue.ReadRequest.Read.partitions_at_once', index=2,
      number=3, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='max_time_lag_ms', full_name='NPersQueue.ReadRequest.Read.max_time_lag_ms', index=3,
      number=5, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='read_timestamp_ms', full_name='NPersQueue.ReadRequest.Read.read_timestamp_ms', index=4,
      number=6, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2375,
  serialized_end=2498,
)

_READREQUEST_STARTREAD = _descriptor.Descriptor(
  name='StartRead',
  full_name='NPersQueue.ReadRequest.StartRead',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='topic', full_name='NPersQueue.ReadRequest.StartRead.topic', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='partition', full_name='NPersQueue.ReadRequest.StartRead.partition', index=1,
      number=2, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='read_offset', full_name='NPersQueue.ReadRequest.StartRead.read_offset', index=2,
      number=3, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='verify_read_offset', full_name='NPersQueue.ReadRequest.StartRead.verify_read_offset', index=3,
      number=4, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='generation', full_name='NPersQueue.ReadRequest.StartRead.generation', index=4,
      number=5, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='commit_offset', full_name='NPersQueue.ReadRequest.StartRead.commit_offset', index=5,
      number=6, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2501,
  serialized_end=2638,
)

_READREQUEST_COMMIT = _descriptor.Descriptor(
  name='Commit',
  full_name='NPersQueue.ReadRequest.Commit',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='cookie', full_name='NPersQueue.ReadRequest.Commit.cookie', index=0,
      number=1, type=4, cpp_type=4, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2640,
  serialized_end=2664,
)

_READREQUEST_STATUS = _descriptor.Descriptor(
  name='Status',
  full_name='NPersQueue.ReadRequest.Status',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='generation', full_name='NPersQueue.ReadRequest.Status.generation', index=0,
      number=1, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='topic', full_name='NPersQueue.ReadRequest.Status.topic', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='partition', full_name='NPersQueue.ReadRequest.Status.partition', index=2,
      number=3, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2666,
  serialized_end=2728,
)

_READREQUEST = _descriptor.Descriptor(
  name='ReadRequest',
  full_name='NPersQueue.ReadRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='init', full_name='NPersQueue.ReadRequest.init', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='read', full_name='NPersQueue.ReadRequest.read', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='start_read', full_name='NPersQueue.ReadRequest.start_read', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='commit', full_name='NPersQueue.ReadRequest.commit', index=3,
      number=4, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='status', full_name='NPersQueue.ReadRequest.status', index=4,
      number=5, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='credentials', full_name='NPersQueue.ReadRequest.credentials', index=5,
      number=20, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[_READREQUEST_INIT, _READREQUEST_READ, _READREQUEST_STARTREAD, _READREQUEST_COMMIT, _READREQUEST_STATUS, ],
  enum_types=[
    _READREQUEST_EPROTOCOLVERSION,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='request', full_name='NPersQueue.ReadRequest.request',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=1610,
  serialized_end=2805,
)


_MESSAGEMETA = _descriptor.Descriptor(
  name='MessageMeta',
  full_name='NPersQueue.MessageMeta',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='source_id', full_name='NPersQueue.MessageMeta.source_id', index=0,
      number=1, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='seq_no', full_name='NPersQueue.MessageMeta.seq_no', index=1,
      number=2, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='create_time_ms', full_name='NPersQueue.MessageMeta.create_time_ms', index=2,
      number=3, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='write_time_ms', full_name='NPersQueue.MessageMeta.write_time_ms', index=3,
      number=4, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='extra_fields', full_name='NPersQueue.MessageMeta.extra_fields', index=4,
      number=7, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='codec', full_name='NPersQueue.MessageMeta.codec', index=5,
      number=8, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='ip', full_name='NPersQueue.MessageMeta.ip', index=6,
      number=9, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2808,
  serialized_end=2993,
)


_READRESPONSE_INIT = _descriptor.Descriptor(
  name='Init',
  full_name='NPersQueue.ReadResponse.Init',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='session_id', full_name='NPersQueue.ReadResponse.Init.session_id', index=0,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=3425,
  serialized_end=3451,
)

_READRESPONSE_DATA_MESSAGE = _descriptor.Descriptor(
  name='Message',
  full_name='NPersQueue.ReadResponse.Data.Message',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='meta', full_name='NPersQueue.ReadResponse.Data.Message.meta', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='data', full_name='NPersQueue.ReadResponse.Data.Message.data', index=1,
      number=2, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='offset', full_name='NPersQueue.ReadResponse.Data.Message.offset', index=2,
      number=3, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='broken_packed_data', full_name='NPersQueue.ReadResponse.Data.Message.broken_packed_data', index=3,
      number=4, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=3545,
  serialized_end=3651,
)

_READRESPONSE_DATA_MESSAGEBATCH = _descriptor.Descriptor(
  name='MessageBatch',
  full_name='NPersQueue.ReadResponse.Data.MessageBatch',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='topic', full_name='NPersQueue.ReadResponse.Data.MessageBatch.topic', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='partition', full_name='NPersQueue.ReadResponse.Data.MessageBatch.partition', index=1,
      number=2, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='message', full_name='NPersQueue.ReadResponse.Data.MessageBatch.message', index=2,
      number=3, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=3653,
  serialized_end=3757,
)

_READRESPONSE_DATA = _descriptor.Descriptor(
  name='Data',
  full_name='NPersQueue.ReadResponse.Data',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='message_batch', full_name='NPersQueue.ReadResponse.Data.message_batch', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='cookie', full_name='NPersQueue.ReadResponse.Data.cookie', index=1,
      number=2, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[_READRESPONSE_DATA_MESSAGE, _READRESPONSE_DATA_MESSAGEBATCH, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=3454,
  serialized_end=3757,
)

_READRESPONSE_BATCHEDDATA_MESSAGEDATA = _descriptor.Descriptor(
  name='MessageData',
  full_name='NPersQueue.ReadResponse.BatchedData.MessageData',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='codec', full_name='NPersQueue.ReadResponse.BatchedData.MessageData.codec', index=0,
      number=2, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='offset', full_name='NPersQueue.ReadResponse.BatchedData.MessageData.offset', index=1,
      number=3, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='seq_no', full_name='NPersQueue.ReadResponse.BatchedData.MessageData.seq_no', index=2,
      number=4, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='create_time_ms', full_name='NPersQueue.ReadResponse.BatchedData.MessageData.create_time_ms', index=3,
      number=5, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='data', full_name='NPersQueue.ReadResponse.BatchedData.MessageData.data', index=4,
      number=1, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=3867,
  serialized_end=3985,
)

_READRESPONSE_BATCHEDDATA_BATCH = _descriptor.Descriptor(
  name='Batch',
  full_name='NPersQueue.ReadResponse.BatchedData.Batch',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='source_id', full_name='NPersQueue.ReadResponse.BatchedData.Batch.source_id', index=0,
      number=2, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='extra_fields', full_name='NPersQueue.ReadResponse.BatchedData.Batch.extra_fields', index=1,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='write_time_ms', full_name='NPersQueue.ReadResponse.BatchedData.Batch.write_time_ms', index=2,
      number=4, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='ip', full_name='NPersQueue.ReadResponse.BatchedData.Batch.ip', index=3,
      number=5, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='message_data', full_name='NPersQueue.ReadResponse.BatchedData.Batch.message_data', index=4,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=3988,
  serialized_end=4164,
)

_READRESPONSE_BATCHEDDATA_PARTITIONDATA = _descriptor.Descriptor(
  name='PartitionData',
  full_name='NPersQueue.ReadResponse.BatchedData.PartitionData',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='topic', full_name='NPersQueue.ReadResponse.BatchedData.PartitionData.topic', index=0,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='partition', full_name='NPersQueue.ReadResponse.BatchedData.PartitionData.partition', index=1,
      number=3, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='batch', full_name='NPersQueue.ReadResponse.BatchedData.PartitionData.batch', index=2,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=4166,
  serialized_end=4274,
)

_READRESPONSE_BATCHEDDATA = _descriptor.Descriptor(
  name='BatchedData',
  full_name='NPersQueue.ReadResponse.BatchedData',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='cookie', full_name='NPersQueue.ReadResponse.BatchedData.cookie', index=0,
      number=2, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='partition_data', full_name='NPersQueue.ReadResponse.BatchedData.partition_data', index=1,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[_READRESPONSE_BATCHEDDATA_MESSAGEDATA, _READRESPONSE_BATCHEDDATA_BATCH, _READRESPONSE_BATCHEDDATA_PARTITIONDATA, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=3760,
  serialized_end=4274,
)

_READRESPONSE_LOCK = _descriptor.Descriptor(
  name='Lock',
  full_name='NPersQueue.ReadResponse.Lock',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='topic', full_name='NPersQueue.ReadResponse.Lock.topic', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='partition', full_name='NPersQueue.ReadResponse.Lock.partition', index=1,
      number=2, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='read_offset', full_name='NPersQueue.ReadResponse.Lock.read_offset', index=2,
      number=3, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='end_offset', full_name='NPersQueue.ReadResponse.Lock.end_offset', index=3,
      number=4, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='generation', full_name='NPersQueue.ReadResponse.Lock.generation', index=4,
      number=5, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=4276,
  serialized_end=4377,
)

_READRESPONSE_RELEASE = _descriptor.Descriptor(
  name='Release',
  full_name='NPersQueue.ReadResponse.Release',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='topic', full_name='NPersQueue.ReadResponse.Release.topic', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='partition', full_name='NPersQueue.ReadResponse.Release.partition', index=1,
      number=2, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='can_commit', full_name='NPersQueue.ReadResponse.Release.can_commit', index=2,
      number=3, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='generation', full_name='NPersQueue.ReadResponse.Release.generation', index=3,
      number=4, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=4379,
  serialized_end=4462,
)

_READRESPONSE_COMMIT = _descriptor.Descriptor(
  name='Commit',
  full_name='NPersQueue.ReadResponse.Commit',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='cookie', full_name='NPersQueue.ReadResponse.Commit.cookie', index=0,
      number=1, type=4, cpp_type=4, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2640,
  serialized_end=2664,
)

_READRESPONSE_PARTITIONSTATUS = _descriptor.Descriptor(
  name='PartitionStatus',
  full_name='NPersQueue.ReadResponse.PartitionStatus',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='generation', full_name='NPersQueue.ReadResponse.PartitionStatus.generation', index=0,
      number=1, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='topic', full_name='NPersQueue.ReadResponse.PartitionStatus.topic', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='partition', full_name='NPersQueue.ReadResponse.PartitionStatus.partition', index=2,
      number=3, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='committed_offset', full_name='NPersQueue.ReadResponse.PartitionStatus.committed_offset', index=3,
      number=4, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='end_offset', full_name='NPersQueue.ReadResponse.PartitionStatus.end_offset', index=4,
      number=5, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='write_watermark_ms', full_name='NPersQueue.ReadResponse.PartitionStatus.write_watermark_ms', index=5,
      number=6, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=4491,
  serialized_end=4636,
)

_READRESPONSE = _descriptor.Descriptor(
  name='ReadResponse',
  full_name='NPersQueue.ReadResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='init', full_name='NPersQueue.ReadResponse.init', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='data', full_name='NPersQueue.ReadResponse.data', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='batched_data', full_name='NPersQueue.ReadResponse.batched_data', index=2,
      number=7, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='error', full_name='NPersQueue.ReadResponse.error', index=3,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='lock', full_name='NPersQueue.ReadResponse.lock', index=4,
      number=4, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='release', full_name='NPersQueue.ReadResponse.release', index=5,
      number=5, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='commit', full_name='NPersQueue.ReadResponse.commit', index=6,
      number=6, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='partition_status', full_name='NPersQueue.ReadResponse.partition_status', index=7,
      number=8, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[_READRESPONSE_INIT, _READRESPONSE_DATA, _READRESPONSE_BATCHEDDATA, _READRESPONSE_LOCK, _READRESPONSE_RELEASE, _READRESPONSE_COMMIT, _READRESPONSE_PARTITIONSTATUS, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='response', full_name='NPersQueue.ReadResponse.response',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=2996,
  serialized_end=4648,
)

_ERROR.fields_by_name['code'].enum_type = kikimr_dot_public_dot_api_dot_protos_dot_draft_dot_persqueue__error__codes__pb2._EERRORCODE
_MAPTYPE.fields_by_name['items'].message_type = _KEYVALUE
_CREDENTIALS.oneofs_by_name['credentials'].fields.append(
  _CREDENTIALS.fields_by_name['tvm_service_ticket'])
_CREDENTIALS.fields_by_name['tvm_service_ticket'].containing_oneof = _CREDENTIALS.oneofs_by_name['credentials']
_CREDENTIALS.oneofs_by_name['credentials'].fields.append(
  _CREDENTIALS.fields_by_name['oauth_token'])
_CREDENTIALS.fields_by_name['oauth_token'].containing_oneof = _CREDENTIALS.oneofs_by_name['credentials']
_WRITEREQUEST_INIT.fields_by_name['extra_fields'].message_type = _MAPTYPE
_WRITEREQUEST_INIT.containing_type = _WRITEREQUEST
_WRITEREQUEST_DATA.fields_by_name['codec'].enum_type = _ECODEC
_WRITEREQUEST_DATA.containing_type = _WRITEREQUEST
_WRITEREQUEST_DATABATCH.fields_by_name['data'].message_type = _WRITEREQUEST_DATA
_WRITEREQUEST_DATABATCH.containing_type = _WRITEREQUEST
_WRITEREQUEST.fields_by_name['init'].message_type = _WRITEREQUEST_INIT
_WRITEREQUEST.fields_by_name['data'].message_type = _WRITEREQUEST_DATA
_WRITEREQUEST.fields_by_name['data_batch'].message_type = _WRITEREQUEST_DATABATCH
_WRITEREQUEST.fields_by_name['credentials'].message_type = _CREDENTIALS
_WRITEREQUEST.oneofs_by_name['request'].fields.append(
  _WRITEREQUEST.fields_by_name['init'])
_WRITEREQUEST.fields_by_name['init'].containing_oneof = _WRITEREQUEST.oneofs_by_name['request']
_WRITEREQUEST.oneofs_by_name['request'].fields.append(
  _WRITEREQUEST.fields_by_name['data'])
_WRITEREQUEST.fields_by_name['data'].containing_oneof = _WRITEREQUEST.oneofs_by_name['request']
_WRITEREQUEST.oneofs_by_name['request'].fields.append(
  _WRITEREQUEST.fields_by_name['data_batch'])
_WRITEREQUEST.fields_by_name['data_batch'].containing_oneof = _WRITEREQUEST.oneofs_by_name['request']
_WRITERESPONSE_INIT.containing_type = _WRITERESPONSE
_WRITERESPONSE_STAT.containing_type = _WRITERESPONSE
_WRITERESPONSE_ACK.fields_by_name['stat'].message_type = _WRITERESPONSE_STAT
_WRITERESPONSE_ACK.containing_type = _WRITERESPONSE
_WRITERESPONSE_ACKBATCH.fields_by_name['stat'].message_type = _WRITERESPONSE_STAT
_WRITERESPONSE_ACKBATCH.fields_by_name['ack'].message_type = _WRITERESPONSE_ACK
_WRITERESPONSE_ACKBATCH.containing_type = _WRITERESPONSE
_WRITERESPONSE.fields_by_name['init'].message_type = _WRITERESPONSE_INIT
_WRITERESPONSE.fields_by_name['ack'].message_type = _WRITERESPONSE_ACK
_WRITERESPONSE.fields_by_name['ack_batch'].message_type = _WRITERESPONSE_ACKBATCH
_WRITERESPONSE.fields_by_name['error'].message_type = _ERROR
_WRITERESPONSE.oneofs_by_name['response'].fields.append(
  _WRITERESPONSE.fields_by_name['init'])
_WRITERESPONSE.fields_by_name['init'].containing_oneof = _WRITERESPONSE.oneofs_by_name['response']
_WRITERESPONSE.oneofs_by_name['response'].fields.append(
  _WRITERESPONSE.fields_by_name['ack'])
_WRITERESPONSE.fields_by_name['ack'].containing_oneof = _WRITERESPONSE.oneofs_by_name['response']
_WRITERESPONSE.oneofs_by_name['response'].fields.append(
  _WRITERESPONSE.fields_by_name['ack_batch'])
_WRITERESPONSE.fields_by_name['ack_batch'].containing_oneof = _WRITERESPONSE.oneofs_by_name['response']
_WRITERESPONSE.oneofs_by_name['response'].fields.append(
  _WRITERESPONSE.fields_by_name['error'])
_WRITERESPONSE.fields_by_name['error'].containing_oneof = _WRITERESPONSE.oneofs_by_name['response']
_READREQUEST_INIT.containing_type = _READREQUEST
_READREQUEST_READ.containing_type = _READREQUEST
_READREQUEST_STARTREAD.containing_type = _READREQUEST
_READREQUEST_COMMIT.containing_type = _READREQUEST
_READREQUEST_STATUS.containing_type = _READREQUEST
_READREQUEST.fields_by_name['init'].message_type = _READREQUEST_INIT
_READREQUEST.fields_by_name['read'].message_type = _READREQUEST_READ
_READREQUEST.fields_by_name['start_read'].message_type = _READREQUEST_STARTREAD
_READREQUEST.fields_by_name['commit'].message_type = _READREQUEST_COMMIT
_READREQUEST.fields_by_name['status'].message_type = _READREQUEST_STATUS
_READREQUEST.fields_by_name['credentials'].message_type = _CREDENTIALS
_READREQUEST_EPROTOCOLVERSION.containing_type = _READREQUEST
_READREQUEST.oneofs_by_name['request'].fields.append(
  _READREQUEST.fields_by_name['init'])
_READREQUEST.fields_by_name['init'].containing_oneof = _READREQUEST.oneofs_by_name['request']
_READREQUEST.oneofs_by_name['request'].fields.append(
  _READREQUEST.fields_by_name['read'])
_READREQUEST.fields_by_name['read'].containing_oneof = _READREQUEST.oneofs_by_name['request']
_READREQUEST.oneofs_by_name['request'].fields.append(
  _READREQUEST.fields_by_name['start_read'])
_READREQUEST.fields_by_name['start_read'].containing_oneof = _READREQUEST.oneofs_by_name['request']
_READREQUEST.oneofs_by_name['request'].fields.append(
  _READREQUEST.fields_by_name['commit'])
_READREQUEST.fields_by_name['commit'].containing_oneof = _READREQUEST.oneofs_by_name['request']
_READREQUEST.oneofs_by_name['request'].fields.append(
  _READREQUEST.fields_by_name['status'])
_READREQUEST.fields_by_name['status'].containing_oneof = _READREQUEST.oneofs_by_name['request']
_MESSAGEMETA.fields_by_name['extra_fields'].message_type = _MAPTYPE
_MESSAGEMETA.fields_by_name['codec'].enum_type = _ECODEC
_READRESPONSE_INIT.containing_type = _READRESPONSE
_READRESPONSE_DATA_MESSAGE.fields_by_name['meta'].message_type = _MESSAGEMETA
_READRESPONSE_DATA_MESSAGE.containing_type = _READRESPONSE_DATA
_READRESPONSE_DATA_MESSAGEBATCH.fields_by_name['message'].message_type = _READRESPONSE_DATA_MESSAGE
_READRESPONSE_DATA_MESSAGEBATCH.containing_type = _READRESPONSE_DATA
_READRESPONSE_DATA.fields_by_name['message_batch'].message_type = _READRESPONSE_DATA_MESSAGEBATCH
_READRESPONSE_DATA.containing_type = _READRESPONSE
_READRESPONSE_BATCHEDDATA_MESSAGEDATA.fields_by_name['codec'].enum_type = _ECODEC
_READRESPONSE_BATCHEDDATA_MESSAGEDATA.containing_type = _READRESPONSE_BATCHEDDATA
_READRESPONSE_BATCHEDDATA_BATCH.fields_by_name['extra_fields'].message_type = _MAPTYPE
_READRESPONSE_BATCHEDDATA_BATCH.fields_by_name['message_data'].message_type = _READRESPONSE_BATCHEDDATA_MESSAGEDATA
_READRESPONSE_BATCHEDDATA_BATCH.containing_type = _READRESPONSE_BATCHEDDATA
_READRESPONSE_BATCHEDDATA_PARTITIONDATA.fields_by_name['batch'].message_type = _READRESPONSE_BATCHEDDATA_BATCH
_READRESPONSE_BATCHEDDATA_PARTITIONDATA.containing_type = _READRESPONSE_BATCHEDDATA
_READRESPONSE_BATCHEDDATA.fields_by_name['partition_data'].message_type = _READRESPONSE_BATCHEDDATA_PARTITIONDATA
_READRESPONSE_BATCHEDDATA.containing_type = _READRESPONSE
_READRESPONSE_LOCK.containing_type = _READRESPONSE
_READRESPONSE_RELEASE.containing_type = _READRESPONSE
_READRESPONSE_COMMIT.containing_type = _READRESPONSE
_READRESPONSE_PARTITIONSTATUS.containing_type = _READRESPONSE
_READRESPONSE.fields_by_name['init'].message_type = _READRESPONSE_INIT
_READRESPONSE.fields_by_name['data'].message_type = _READRESPONSE_DATA
_READRESPONSE.fields_by_name['batched_data'].message_type = _READRESPONSE_BATCHEDDATA
_READRESPONSE.fields_by_name['error'].message_type = _ERROR
_READRESPONSE.fields_by_name['lock'].message_type = _READRESPONSE_LOCK
_READRESPONSE.fields_by_name['release'].message_type = _READRESPONSE_RELEASE
_READRESPONSE.fields_by_name['commit'].message_type = _READRESPONSE_COMMIT
_READRESPONSE.fields_by_name['partition_status'].message_type = _READRESPONSE_PARTITIONSTATUS
_READRESPONSE.oneofs_by_name['response'].fields.append(
  _READRESPONSE.fields_by_name['init'])
_READRESPONSE.fields_by_name['init'].containing_oneof = _READRESPONSE.oneofs_by_name['response']
_READRESPONSE.oneofs_by_name['response'].fields.append(
  _READRESPONSE.fields_by_name['data'])
_READRESPONSE.fields_by_name['data'].containing_oneof = _READRESPONSE.oneofs_by_name['response']
_READRESPONSE.oneofs_by_name['response'].fields.append(
  _READRESPONSE.fields_by_name['batched_data'])
_READRESPONSE.fields_by_name['batched_data'].containing_oneof = _READRESPONSE.oneofs_by_name['response']
_READRESPONSE.oneofs_by_name['response'].fields.append(
  _READRESPONSE.fields_by_name['error'])
_READRESPONSE.fields_by_name['error'].containing_oneof = _READRESPONSE.oneofs_by_name['response']
_READRESPONSE.oneofs_by_name['response'].fields.append(
  _READRESPONSE.fields_by_name['lock'])
_READRESPONSE.fields_by_name['lock'].containing_oneof = _READRESPONSE.oneofs_by_name['response']
_READRESPONSE.oneofs_by_name['response'].fields.append(
  _READRESPONSE.fields_by_name['release'])
_READRESPONSE.fields_by_name['release'].containing_oneof = _READRESPONSE.oneofs_by_name['response']
_READRESPONSE.oneofs_by_name['response'].fields.append(
  _READRESPONSE.fields_by_name['commit'])
_READRESPONSE.fields_by_name['commit'].containing_oneof = _READRESPONSE.oneofs_by_name['response']
_READRESPONSE.oneofs_by_name['response'].fields.append(
  _READRESPONSE.fields_by_name['partition_status'])
_READRESPONSE.fields_by_name['partition_status'].containing_oneof = _READRESPONSE.oneofs_by_name['response']
DESCRIPTOR.message_types_by_name['Path'] = _PATH
DESCRIPTOR.message_types_by_name['Error'] = _ERROR
DESCRIPTOR.message_types_by_name['KeyValue'] = _KEYVALUE
DESCRIPTOR.message_types_by_name['MapType'] = _MAPTYPE
DESCRIPTOR.message_types_by_name['Credentials'] = _CREDENTIALS
DESCRIPTOR.message_types_by_name['WriteRequest'] = _WRITEREQUEST
DESCRIPTOR.message_types_by_name['WriteResponse'] = _WRITERESPONSE
DESCRIPTOR.message_types_by_name['ReadRequest'] = _READREQUEST
DESCRIPTOR.message_types_by_name['MessageMeta'] = _MESSAGEMETA
DESCRIPTOR.message_types_by_name['ReadResponse'] = _READRESPONSE
DESCRIPTOR.enum_types_by_name['ECodec'] = _ECODEC
DESCRIPTOR.extensions_by_name['GenerateYaStyle'] = GenerateYaStyle
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Path = _reflection.GeneratedProtocolMessageType('Path', (_message.Message,), dict(
  DESCRIPTOR = _PATH,
  __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
  # @@protoc_insertion_point(class_scope:NPersQueue.Path)
  ))
_sym_db.RegisterMessage(Path)

Error = _reflection.GeneratedProtocolMessageType('Error', (_message.Message,), dict(
  DESCRIPTOR = _ERROR,
  __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
  # @@protoc_insertion_point(class_scope:NPersQueue.Error)
  ))
_sym_db.RegisterMessage(Error)

KeyValue = _reflection.GeneratedProtocolMessageType('KeyValue', (_message.Message,), dict(
  DESCRIPTOR = _KEYVALUE,
  __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
  # @@protoc_insertion_point(class_scope:NPersQueue.KeyValue)
  ))
_sym_db.RegisterMessage(KeyValue)

MapType = _reflection.GeneratedProtocolMessageType('MapType', (_message.Message,), dict(
  DESCRIPTOR = _MAPTYPE,
  __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
  # @@protoc_insertion_point(class_scope:NPersQueue.MapType)
  ))
_sym_db.RegisterMessage(MapType)

Credentials = _reflection.GeneratedProtocolMessageType('Credentials', (_message.Message,), dict(
  DESCRIPTOR = _CREDENTIALS,
  __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
  # @@protoc_insertion_point(class_scope:NPersQueue.Credentials)
  ))
_sym_db.RegisterMessage(Credentials)

WriteRequest = _reflection.GeneratedProtocolMessageType('WriteRequest', (_message.Message,), dict(

  Init = _reflection.GeneratedProtocolMessageType('Init', (_message.Message,), dict(
    DESCRIPTOR = _WRITEREQUEST_INIT,
    __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
    # @@protoc_insertion_point(class_scope:NPersQueue.WriteRequest.Init)
    ))
  ,

  Data = _reflection.GeneratedProtocolMessageType('Data', (_message.Message,), dict(
    DESCRIPTOR = _WRITEREQUEST_DATA,
    __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
    # @@protoc_insertion_point(class_scope:NPersQueue.WriteRequest.Data)
    ))
  ,

  DataBatch = _reflection.GeneratedProtocolMessageType('DataBatch', (_message.Message,), dict(
    DESCRIPTOR = _WRITEREQUEST_DATABATCH,
    __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
    # @@protoc_insertion_point(class_scope:NPersQueue.WriteRequest.DataBatch)
    ))
  ,
  DESCRIPTOR = _WRITEREQUEST,
  __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
  # @@protoc_insertion_point(class_scope:NPersQueue.WriteRequest)
  ))
_sym_db.RegisterMessage(WriteRequest)
_sym_db.RegisterMessage(WriteRequest.Init)
_sym_db.RegisterMessage(WriteRequest.Data)
_sym_db.RegisterMessage(WriteRequest.DataBatch)

WriteResponse = _reflection.GeneratedProtocolMessageType('WriteResponse', (_message.Message,), dict(

  Init = _reflection.GeneratedProtocolMessageType('Init', (_message.Message,), dict(
    DESCRIPTOR = _WRITERESPONSE_INIT,
    __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
    # @@protoc_insertion_point(class_scope:NPersQueue.WriteResponse.Init)
    ))
  ,

  Stat = _reflection.GeneratedProtocolMessageType('Stat', (_message.Message,), dict(
    DESCRIPTOR = _WRITERESPONSE_STAT,
    __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
    # @@protoc_insertion_point(class_scope:NPersQueue.WriteResponse.Stat)
    ))
  ,

  Ack = _reflection.GeneratedProtocolMessageType('Ack', (_message.Message,), dict(
    DESCRIPTOR = _WRITERESPONSE_ACK,
    __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
    # @@protoc_insertion_point(class_scope:NPersQueue.WriteResponse.Ack)
    ))
  ,

  AckBatch = _reflection.GeneratedProtocolMessageType('AckBatch', (_message.Message,), dict(
    DESCRIPTOR = _WRITERESPONSE_ACKBATCH,
    __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
    # @@protoc_insertion_point(class_scope:NPersQueue.WriteResponse.AckBatch)
    ))
  ,
  DESCRIPTOR = _WRITERESPONSE,
  __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
  # @@protoc_insertion_point(class_scope:NPersQueue.WriteResponse)
  ))
_sym_db.RegisterMessage(WriteResponse)
_sym_db.RegisterMessage(WriteResponse.Init)
_sym_db.RegisterMessage(WriteResponse.Stat)
_sym_db.RegisterMessage(WriteResponse.Ack)
_sym_db.RegisterMessage(WriteResponse.AckBatch)

ReadRequest = _reflection.GeneratedProtocolMessageType('ReadRequest', (_message.Message,), dict(

  Init = _reflection.GeneratedProtocolMessageType('Init', (_message.Message,), dict(
    DESCRIPTOR = _READREQUEST_INIT,
    __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
    # @@protoc_insertion_point(class_scope:NPersQueue.ReadRequest.Init)
    ))
  ,

  Read = _reflection.GeneratedProtocolMessageType('Read', (_message.Message,), dict(
    DESCRIPTOR = _READREQUEST_READ,
    __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
    # @@protoc_insertion_point(class_scope:NPersQueue.ReadRequest.Read)
    ))
  ,

  StartRead = _reflection.GeneratedProtocolMessageType('StartRead', (_message.Message,), dict(
    DESCRIPTOR = _READREQUEST_STARTREAD,
    __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
    # @@protoc_insertion_point(class_scope:NPersQueue.ReadRequest.StartRead)
    ))
  ,

  Commit = _reflection.GeneratedProtocolMessageType('Commit', (_message.Message,), dict(
    DESCRIPTOR = _READREQUEST_COMMIT,
    __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
    # @@protoc_insertion_point(class_scope:NPersQueue.ReadRequest.Commit)
    ))
  ,

  Status = _reflection.GeneratedProtocolMessageType('Status', (_message.Message,), dict(
    DESCRIPTOR = _READREQUEST_STATUS,
    __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
    # @@protoc_insertion_point(class_scope:NPersQueue.ReadRequest.Status)
    ))
  ,
  DESCRIPTOR = _READREQUEST,
  __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
  # @@protoc_insertion_point(class_scope:NPersQueue.ReadRequest)
  ))
_sym_db.RegisterMessage(ReadRequest)
_sym_db.RegisterMessage(ReadRequest.Init)
_sym_db.RegisterMessage(ReadRequest.Read)
_sym_db.RegisterMessage(ReadRequest.StartRead)
_sym_db.RegisterMessage(ReadRequest.Commit)
_sym_db.RegisterMessage(ReadRequest.Status)

MessageMeta = _reflection.GeneratedProtocolMessageType('MessageMeta', (_message.Message,), dict(
  DESCRIPTOR = _MESSAGEMETA,
  __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
  # @@protoc_insertion_point(class_scope:NPersQueue.MessageMeta)
  ))
_sym_db.RegisterMessage(MessageMeta)

ReadResponse = _reflection.GeneratedProtocolMessageType('ReadResponse', (_message.Message,), dict(

  Init = _reflection.GeneratedProtocolMessageType('Init', (_message.Message,), dict(
    DESCRIPTOR = _READRESPONSE_INIT,
    __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
    # @@protoc_insertion_point(class_scope:NPersQueue.ReadResponse.Init)
    ))
  ,

  Data = _reflection.GeneratedProtocolMessageType('Data', (_message.Message,), dict(

    Message = _reflection.GeneratedProtocolMessageType('Message', (_message.Message,), dict(
      DESCRIPTOR = _READRESPONSE_DATA_MESSAGE,
      __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
      # @@protoc_insertion_point(class_scope:NPersQueue.ReadResponse.Data.Message)
      ))
    ,

    MessageBatch = _reflection.GeneratedProtocolMessageType('MessageBatch', (_message.Message,), dict(
      DESCRIPTOR = _READRESPONSE_DATA_MESSAGEBATCH,
      __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
      # @@protoc_insertion_point(class_scope:NPersQueue.ReadResponse.Data.MessageBatch)
      ))
    ,
    DESCRIPTOR = _READRESPONSE_DATA,
    __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
    # @@protoc_insertion_point(class_scope:NPersQueue.ReadResponse.Data)
    ))
  ,

  BatchedData = _reflection.GeneratedProtocolMessageType('BatchedData', (_message.Message,), dict(

    MessageData = _reflection.GeneratedProtocolMessageType('MessageData', (_message.Message,), dict(
      DESCRIPTOR = _READRESPONSE_BATCHEDDATA_MESSAGEDATA,
      __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
      # @@protoc_insertion_point(class_scope:NPersQueue.ReadResponse.BatchedData.MessageData)
      ))
    ,

    Batch = _reflection.GeneratedProtocolMessageType('Batch', (_message.Message,), dict(
      DESCRIPTOR = _READRESPONSE_BATCHEDDATA_BATCH,
      __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
      # @@protoc_insertion_point(class_scope:NPersQueue.ReadResponse.BatchedData.Batch)
      ))
    ,

    PartitionData = _reflection.GeneratedProtocolMessageType('PartitionData', (_message.Message,), dict(
      DESCRIPTOR = _READRESPONSE_BATCHEDDATA_PARTITIONDATA,
      __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
      # @@protoc_insertion_point(class_scope:NPersQueue.ReadResponse.BatchedData.PartitionData)
      ))
    ,
    DESCRIPTOR = _READRESPONSE_BATCHEDDATA,
    __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
    # @@protoc_insertion_point(class_scope:NPersQueue.ReadResponse.BatchedData)
    ))
  ,

  Lock = _reflection.GeneratedProtocolMessageType('Lock', (_message.Message,), dict(
    DESCRIPTOR = _READRESPONSE_LOCK,
    __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
    # @@protoc_insertion_point(class_scope:NPersQueue.ReadResponse.Lock)
    ))
  ,

  Release = _reflection.GeneratedProtocolMessageType('Release', (_message.Message,), dict(
    DESCRIPTOR = _READRESPONSE_RELEASE,
    __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
    # @@protoc_insertion_point(class_scope:NPersQueue.ReadResponse.Release)
    ))
  ,

  Commit = _reflection.GeneratedProtocolMessageType('Commit', (_message.Message,), dict(
    DESCRIPTOR = _READRESPONSE_COMMIT,
    __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
    # @@protoc_insertion_point(class_scope:NPersQueue.ReadResponse.Commit)
    ))
  ,

  PartitionStatus = _reflection.GeneratedProtocolMessageType('PartitionStatus', (_message.Message,), dict(
    DESCRIPTOR = _READRESPONSE_PARTITIONSTATUS,
    __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
    # @@protoc_insertion_point(class_scope:NPersQueue.ReadResponse.PartitionStatus)
    ))
  ,
  DESCRIPTOR = _READRESPONSE,
  __module__ = 'kikimr.public.api.protos.draft.persqueue_pb2'
  # @@protoc_insertion_point(class_scope:NPersQueue.ReadResponse)
  ))
_sym_db.RegisterMessage(ReadResponse)
_sym_db.RegisterMessage(ReadResponse.Init)
_sym_db.RegisterMessage(ReadResponse.Data)
_sym_db.RegisterMessage(ReadResponse.Data.Message)
_sym_db.RegisterMessage(ReadResponse.Data.MessageBatch)
_sym_db.RegisterMessage(ReadResponse.BatchedData)
_sym_db.RegisterMessage(ReadResponse.BatchedData.MessageData)
_sym_db.RegisterMessage(ReadResponse.BatchedData.Batch)
_sym_db.RegisterMessage(ReadResponse.BatchedData.PartitionData)
_sym_db.RegisterMessage(ReadResponse.Lock)
_sym_db.RegisterMessage(ReadResponse.Release)
_sym_db.RegisterMessage(ReadResponse.Commit)
_sym_db.RegisterMessage(ReadResponse.PartitionStatus)

google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(GenerateYaStyle)

DESCRIPTOR._options = None
# @@protoc_insertion_point(module_scope)
