# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: kikimr/public/api/protos/persqueue_error_codes_v1.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()




DESCRIPTOR = _descriptor.FileDescriptor(
  name='kikimr/public/api/protos/persqueue_error_codes_v1.proto',
  package='Ydb.PersQueue.ErrorCode',
  syntax='proto3',
  serialized_options=_b('\n\"com.yandex.ydb.persqueue.errorcode'),
  serialized_pb=_b('\n7kikimr/public/api/protos/persqueue_error_codes_v1.proto\x12\x17Ydb.PersQueue.ErrorCode*\xee\x04\n\tErrorCode\x12\x06\n\x02OK\x10\x00\x12\x12\n\x0cINITIALIZING\x10\xa1\xc2\x1e\x12\x0e\n\x08OVERLOAD\x10\xa2\xc2\x1e\x12\x11\n\x0b\x42\x41\x44_REQUEST\x10\xa3\xc2\x1e\x12\x12\n\x0cWRONG_COOKIE\x10\xa4\xc2\x1e\x12#\n\x1dWRITE_ERROR_PARTITION_IS_FULL\x10\xa5\xc2\x1e\x12\x1e\n\x18WRITE_ERROR_DISK_IS_FULL\x10\xaf\xc2\x1e\x12\x1c\n\x16WRITE_ERROR_BAD_OFFSET\x10\xb3\xc2\x1e\x12#\n\x1d\x43REATE_SESSION_ALREADY_LOCKED\x10\xa6\xc2\x1e\x12\x1f\n\x19\x44\x45LETE_SESSION_NO_SESSION\x10\xa7\xc2\x1e\x12\x1c\n\x16READ_ERROR_IN_PROGRESS\x10\xa8\xc2\x1e\x12\x1b\n\x15READ_ERROR_NO_SESSION\x10\xa9\xc2\x1e\x12!\n\x1bREAD_ERROR_TOO_SMALL_OFFSET\x10\xab\xc2\x1e\x12\x1f\n\x19READ_ERROR_TOO_BIG_OFFSET\x10\xac\xc2\x1e\x12\'\n!SET_OFFSET_ERROR_COMMIT_TO_FUTURE\x10\xad\xc2\x1e\x12\x17\n\x11TABLET_IS_DROPPED\x10\xae\xc2\x1e\x12\x13\n\rREAD_NOT_DONE\x10\xb0\xc2\x1e\x12\x13\n\rUNKNOWN_TOPIC\x10\xb1\xc2\x1e\x12\x13\n\rACCESS_DENIED\x10\xb2\xc2\x1e\x12\x16\n\x10\x43LUSTER_DISABLED\x10\xb4\xc2\x1e\x12\x1c\n\x16WRONG_PARTITION_NUMBER\x10\xb5\xc2\x1e\x12\"\n\x1cPREFERRED_CLUSTER_MISMATCHED\x10\xb6\xc2\x1e\x12\x0b\n\x05\x45RROR\x10\x84\xc3\x1e\x42$\n\"com.yandex.ydb.persqueue.errorcodeb\x06proto3')
)

_ERRORCODE = _descriptor.EnumDescriptor(
  name='ErrorCode',
  full_name='Ydb.PersQueue.ErrorCode.ErrorCode',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='OK', index=0, number=0,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='INITIALIZING', index=1, number=500001,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='OVERLOAD', index=2, number=500002,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='BAD_REQUEST', index=3, number=500003,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='WRONG_COOKIE', index=4, number=500004,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='WRITE_ERROR_PARTITION_IS_FULL', index=5, number=500005,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='WRITE_ERROR_DISK_IS_FULL', index=6, number=500015,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='WRITE_ERROR_BAD_OFFSET', index=7, number=500019,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='CREATE_SESSION_ALREADY_LOCKED', index=8, number=500006,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='DELETE_SESSION_NO_SESSION', index=9, number=500007,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='READ_ERROR_IN_PROGRESS', index=10, number=500008,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='READ_ERROR_NO_SESSION', index=11, number=500009,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='READ_ERROR_TOO_SMALL_OFFSET', index=12, number=500011,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='READ_ERROR_TOO_BIG_OFFSET', index=13, number=500012,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='SET_OFFSET_ERROR_COMMIT_TO_FUTURE', index=14, number=500013,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='TABLET_IS_DROPPED', index=15, number=500014,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='READ_NOT_DONE', index=16, number=500016,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='UNKNOWN_TOPIC', index=17, number=500017,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='ACCESS_DENIED', index=18, number=500018,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='CLUSTER_DISABLED', index=19, number=500020,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='WRONG_PARTITION_NUMBER', index=20, number=500021,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='PREFERRED_CLUSTER_MISMATCHED', index=21, number=500022,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='ERROR', index=22, number=500100,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=85,
  serialized_end=707,
)
_sym_db.RegisterEnumDescriptor(_ERRORCODE)

ErrorCode = enum_type_wrapper.EnumTypeWrapper(_ERRORCODE)
OK = 0
INITIALIZING = 500001
OVERLOAD = 500002
BAD_REQUEST = 500003
WRONG_COOKIE = 500004
WRITE_ERROR_PARTITION_IS_FULL = 500005
WRITE_ERROR_DISK_IS_FULL = 500015
WRITE_ERROR_BAD_OFFSET = 500019
CREATE_SESSION_ALREADY_LOCKED = 500006
DELETE_SESSION_NO_SESSION = 500007
READ_ERROR_IN_PROGRESS = 500008
READ_ERROR_NO_SESSION = 500009
READ_ERROR_TOO_SMALL_OFFSET = 500011
READ_ERROR_TOO_BIG_OFFSET = 500012
SET_OFFSET_ERROR_COMMIT_TO_FUTURE = 500013
TABLET_IS_DROPPED = 500014
READ_NOT_DONE = 500016
UNKNOWN_TOPIC = 500017
ACCESS_DENIED = 500018
CLUSTER_DISABLED = 500020
WRONG_PARTITION_NUMBER = 500021
PREFERRED_CLUSTER_MISMATCHED = 500022
ERROR = 500100


DESCRIPTOR.enum_types_by_name['ErrorCode'] = _ERRORCODE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)


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