diff --git a/CHANGELOG.md b/CHANGELOG.md index 84b3ed418..74e1f538e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +* Query session attach stream handles `NodeShutdown` and `SessionShutdown` session hints: on `NodeShutdown` the session's node connection is pessimized and the session is retired, on `SessionShutdown` the session is retired without touching the node +* Bumped `ydb-api-protos` and regenerated gRPC/protobuf stubs (v3–v6) to include query service session hints + ## 3.29.1 ## * Fix driver.wait hang diff --git a/tests/query/test_query_session_hints.py b/tests/query/test_query_session_hints.py new file mode 100644 index 000000000..f44aa6e52 --- /dev/null +++ b/tests/query/test_query_session_hints.py @@ -0,0 +1,70 @@ +from unittest import mock + +from ydb._grpc.common.protos import ydb_query_pb2 +from ydb.query.session import QuerySession + + +def _make_session(node_id=42): + driver = mock.Mock() + driver._store = mock.Mock() + driver._store.connections_by_node_id = {node_id: mock.Mock()} + driver._on_disconnected = mock.Mock(return_value=None) + session = QuerySession(driver) + session._session_id = "test-session" + session._node_id = node_id + return session, driver + + +class TestQuerySessionAttachHints: + def test_node_shutdown_pessimizes_node_and_invalidates_session(self): + session, driver = _make_session(node_id=42) + connection = driver._store.connections_by_node_id[42] + + session._handle_attach_session_state( + ydb_query_pb2.SessionState( + status=0, + node_shutdown=ydb_query_pb2.NodeShutdownHint(), + ) + ) + + driver._on_disconnected.assert_called_once_with(connection) + assert session._invalidated + assert session._closed + + def test_session_shutdown_invalidates_without_pessimizing_node(self): + session, driver = _make_session(node_id=42) + + session._handle_attach_session_state( + ydb_query_pb2.SessionState( + status=0, + session_shutdown=ydb_query_pb2.SessionShutdownHint(), + ) + ) + + driver._on_disconnected.assert_not_called() + assert session._invalidated + assert session._closed + + def test_node_shutdown_with_zero_node_id_skips_pessimization(self): + session, driver = _make_session(node_id=0) + + session._handle_attach_session_state( + ydb_query_pb2.SessionState( + status=0, + node_shutdown=ydb_query_pb2.NodeShutdownHint(), + ) + ) + + driver._on_disconnected.assert_not_called() + assert session._invalidated + + def test_no_hint_does_not_invalidate(self): + session, driver = _make_session() + + session._handle_attach_session_state( + ydb_query_pb2.SessionState(status=0), + ) + + driver._on_disconnected.assert_not_called() + assert not session._invalidated + assert not session._closed diff --git a/ydb-api-protos b/ydb-api-protos index fe52dcb89..47ddff577 160000 --- a/ydb-api-protos +++ b/ydb-api-protos @@ -1 +1 @@ -Subproject commit fe52dcb89f1e9c501dde91994ae3241840ea7a5a +Subproject commit 47ddff5778b00b02ba928493cd14c2e779b130e3 diff --git a/ydb/_grpc/v3/draft/protos/ydb_maintenance_pb2.py b/ydb/_grpc/v3/draft/protos/ydb_maintenance_pb2.py index c7e4d6031..c9369c536 100644 --- a/ydb/_grpc/v3/draft/protos/ydb_maintenance_pb2.py +++ b/ydb/_grpc/v3/draft/protos/ydb_maintenance_pb2.py @@ -27,7 +27,7 @@ syntax='proto3', serialized_options=b'\n#tech.ydb.proto.draft.maintenance.v1ZDgithub.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_Maintenance\370\001\001', create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\"draft/protos/ydb_maintenance.proto\x12\x0fYdb.Maintenance\x1a#protos/annotations/validation.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x1aprotos/ydb_discovery.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf0\x02\n\x04Node\x12\x0f\n\x07node_id\x18\x01 \x01(\r\x12\x0c\n\x04host\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\x12-\n\x08location\x18\x04 \x01(\x0b\x32\x1b.Ydb.Discovery.NodeLocation\x12)\n\x05state\x18\x05 \x01(\x0e\x32\x1a.Ydb.Maintenance.ItemState\x12\x34\n\x07storage\x18\x06 \x01(\x0b\x32!.Ydb.Maintenance.Node.StorageNodeH\x00\x12\x34\n\x07\x64ynamic\x18\x07 \x01(\x0b\x32!.Ydb.Maintenance.Node.DynamicNodeH\x00\x12.\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07version\x18\t \x01(\t\x1a\r\n\x0bStorageNode\x1a\x1d\n\x0b\x44ynamicNode\x12\x0e\n\x06tenant\x18\x01 \x01(\tB\x06\n\x04type\"T\n\x17ListClusterNodesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\">\n\x16ListClusterNodesResult\x12$\n\x05nodes\x18\x01 \x03(\x0b\x32\x15.Ydb.Maintenance.Node\"H\n\x18ListClusterNodesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xc3\x01\n\x16MaintenanceTaskOptions\x12\x19\n\x08task_uid\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x1c\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12<\n\x11\x61vailability_mode\x18\x03 \x01(\x0e\x32!.Ydb.Maintenance.AvailabilityMode\x12\x0f\n\x07\x64ry_run\x18\x04 \x01(\x08\x12!\n\x08priority\x18\x05 \x01(\x05\x42\x0f\xb2\xe6*\x0b[-100; 100]\"B\n\x0b\x41\x63tionScope\x12\x11\n\x07node_id\x18\x01 \x01(\rH\x00\x12\x17\n\x04host\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\xff\x01H\x00\x42\x07\n\x05scope\"f\n\nLockAction\x12+\n\x05scope\x18\x01 \x01(\x0b\x32\x1c.Ydb.Maintenance.ActionScope\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"F\n\x06\x41\x63tion\x12\x32\n\x0block_action\x18\x01 \x01(\x0b\x32\x1b.Ydb.Maintenance.LockActionH\x00\x42\x08\n\x06\x61\x63tion\"?\n\x0b\x41\x63tionGroup\x12\x30\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32\x17.Ydb.Maintenance.ActionB\x06\x9a\xe6*\x02(\x01\"\xd5\x01\n\x1c\x43reateMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12=\n\x0ctask_options\x18\x02 \x01(\x0b\x32\'.Ydb.Maintenance.MaintenanceTaskOptions\x12;\n\raction_groups\x18\x03 \x03(\x0b\x32\x1c.Ydb.Maintenance.ActionGroupB\x06\x9a\xe6*\x02(\x01\"u\n\x1dRefreshMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"]\n\tActionUid\x12\x19\n\x08task_uid\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x19\n\x08group_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x1a\n\taction_id\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"\x8f\x06\n\x0b\x41\x63tionState\x12\'\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32\x17.Ydb.Maintenance.Action\x12.\n\naction_uid\x18\x02 \x01(\x0b\x32\x1a.Ydb.Maintenance.ActionUid\x12\x39\n\x06status\x18\x03 \x01(\x0e\x32).Ydb.Maintenance.ActionState.ActionStatus\x12\x39\n\x06reason\x18\x04 \x01(\x0e\x32).Ydb.Maintenance.ActionState.ActionReason\x12\x16\n\x0ereason_details\x18\x06 \x01(\t\x12,\n\x08\x64\x65\x61\x64line\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"e\n\x0c\x41\x63tionStatus\x12\x1d\n\x19\x41\x43TION_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41\x43TION_STATUS_PENDING\x10\x01\x12\x1b\n\x17\x41\x43TION_STATUS_PERFORMED\x10\x02\"\x83\x03\n\x0c\x41\x63tionReason\x12\x1d\n\x19\x41\x43TION_REASON_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41\x43TION_REASON_OK\x10\x01\x12-\n)ACTION_REASON_TOO_MANY_UNAVAILABLE_VDISKS\x10\x02\x12:\n6ACTION_REASON_TOO_MANY_UNAVAILABLE_STATE_STORAGE_RINGS\x10\x03\x12.\n*ACTION_REASON_DISABLED_NODES_LIMIT_REACHED\x10\x04\x12\x35\n1ACTION_REASON_TENANT_DISABLED_NODES_LIMIT_REACHED\x10\x05\x12\x1f\n\x1b\x41\x43TION_REASON_WRONG_REQUEST\x10\x06\x12\x30\n,ACTION_REASON_SYS_TABLETS_NODE_LIMIT_REACHED\x10\x07\x12\x19\n\x15\x41\x43TION_REASON_GENERIC\x10\x08\"H\n\x11\x41\x63tionGroupStates\x12\x33\n\raction_states\x18\x01 \x03(\x0b\x32\x1c.Ydb.Maintenance.ActionState\"\xb0\x01\n\x15MaintenanceTaskResult\x12\x10\n\x08task_uid\x18\x01 \x01(\t\x12?\n\x13\x61\x63tion_group_states\x18\x02 \x03(\x0b\x32\".Ydb.Maintenance.ActionGroupStates\x12\x34\n\x0bretry_after\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x42\x0e\n\x0c_retry_after\"G\n\x17MaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"q\n\x19GetMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"\x9a\x01\n\x18GetMaintenanceTaskResult\x12=\n\x0ctask_options\x18\x01 \x01(\x0b\x32\'.Ydb.Maintenance.MaintenanceTaskOptions\x12?\n\x13\x61\x63tion_group_states\x18\x02 \x03(\x0b\x32\".Ydb.Maintenance.ActionGroupStates\"J\n\x1aGetMaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"t\n\x1bListMaintenanceTasksRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x11\n\x04user\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x07\n\x05_user\"0\n\x1aListMaintenanceTasksResult\x12\x12\n\ntasks_uids\x18\x01 \x03(\t\"L\n\x1cListMaintenanceTasksResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"r\n\x1a\x44ropMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"M\n\x1dManageMaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x8b\x01\n\x15\x43ompleteActionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x37\n\x0b\x61\x63tion_uids\x18\x02 \x03(\x0b\x32\x1a.Ydb.Maintenance.ActionUidB\x06\x9a\xe6*\x02(\x01\"\xbe\x01\n\x12ManageActionResult\x12\x43\n\x0f\x61\x63tion_statuses\x18\x01 \x03(\x0b\x32*.Ydb.Maintenance.ManageActionResult.Status\x1a\x63\n\x06Status\x12.\n\naction_uid\x18\x01 \x01(\x0b\x32\x1a.Ydb.Maintenance.ActionUid\x12)\n\x06status\x18\x02 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\"D\n\x14ManageActionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation*k\n\tItemState\x12\x1a\n\x16ITEM_STATE_UNSPECIFIED\x10\x00\x12\x11\n\rITEM_STATE_UP\x10\x01\x12\x1a\n\x16ITEM_STATE_MAINTENANCE\x10\x02\x12\x13\n\x0fITEM_STATE_DOWN\x10\x03*\x8c\x01\n\x10\x41vailabilityMode\x12!\n\x1d\x41VAILABILITY_MODE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41VAILABILITY_MODE_STRONG\x10\x01\x12\x1a\n\x16\x41VAILABILITY_MODE_WEAK\x10\x02\x12\x1b\n\x17\x41VAILABILITY_MODE_FORCE\x10\x03\x42n\n#tech.ydb.proto.draft.maintenance.v1ZDgithub.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_Maintenance\xf8\x01\x01\x62\x06proto3' + serialized_pb=b'\n\"draft/protos/ydb_maintenance.proto\x12\x0fYdb.Maintenance\x1a#protos/annotations/validation.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x1aprotos/ydb_discovery.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf0\x02\n\x04Node\x12\x0f\n\x07node_id\x18\x01 \x01(\r\x12\x0c\n\x04host\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\x12-\n\x08location\x18\x04 \x01(\x0b\x32\x1b.Ydb.Discovery.NodeLocation\x12)\n\x05state\x18\x05 \x01(\x0e\x32\x1a.Ydb.Maintenance.ItemState\x12\x34\n\x07storage\x18\x06 \x01(\x0b\x32!.Ydb.Maintenance.Node.StorageNodeH\x00\x12\x34\n\x07\x64ynamic\x18\x07 \x01(\x0b\x32!.Ydb.Maintenance.Node.DynamicNodeH\x00\x12.\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07version\x18\t \x01(\t\x1a\r\n\x0bStorageNode\x1a\x1d\n\x0b\x44ynamicNode\x12\x0e\n\x06tenant\x18\x01 \x01(\tB\x06\n\x04type\"T\n\x17ListClusterNodesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\">\n\x16ListClusterNodesResult\x12$\n\x05nodes\x18\x01 \x03(\x0b\x32\x15.Ydb.Maintenance.Node\"H\n\x18ListClusterNodesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xc3\x01\n\x16MaintenanceTaskOptions\x12\x19\n\x08task_uid\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x1c\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12<\n\x11\x61vailability_mode\x18\x03 \x01(\x0e\x32!.Ydb.Maintenance.AvailabilityMode\x12\x0f\n\x07\x64ry_run\x18\x04 \x01(\x08\x12!\n\x08priority\x18\x05 \x01(\x05\x42\x0f\xb2\xe6*\x0b[-100; 100]\"\xf7\x02\n\x0b\x41\x63tionScope\x12\x11\n\x07node_id\x18\x01 \x01(\rH\x00\x12\x17\n\x04host\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\xff\x01H\x00\x12\x33\n\x05pdisk\x18\x03 \x01(\x0b\x32\".Ydb.Maintenance.ActionScope.PDiskH\x00\x1a,\n\x07PDiskId\x12\x0f\n\x07node_id\x18\x01 \x01(\r\x12\x10\n\x08pdisk_id\x18\x02 \x01(\r\x1a=\n\rPDiskLocation\x12\x15\n\x04host\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\xff\x01\x12\x15\n\x04path\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\xff\x01\x1a\x90\x01\n\x05PDisk\x12\x38\n\x08pdisk_id\x18\x01 \x01(\x0b\x32$.Ydb.Maintenance.ActionScope.PDiskIdH\x00\x12\x44\n\x0epdisk_location\x18\x02 \x01(\x0b\x32*.Ydb.Maintenance.ActionScope.PDiskLocationH\x00\x42\x07\n\x05pdiskB\x07\n\x05scope\"f\n\nLockAction\x12+\n\x05scope\x18\x01 \x01(\x0b\x32\x1c.Ydb.Maintenance.ActionScope\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\":\n\x0b\x44rainAction\x12+\n\x05scope\x18\x01 \x01(\x0b\x32\x1c.Ydb.Maintenance.ActionScope\";\n\x0c\x43ordonAction\x12+\n\x05scope\x18\x01 \x01(\x0b\x32\x1c.Ydb.Maintenance.ActionScope\"\xb4\x01\n\x06\x41\x63tion\x12\x32\n\x0block_action\x18\x01 \x01(\x0b\x32\x1b.Ydb.Maintenance.LockActionH\x00\x12\x34\n\x0c\x64rain_action\x18\x02 \x01(\x0b\x32\x1c.Ydb.Maintenance.DrainActionH\x00\x12\x36\n\rcordon_action\x18\x03 \x01(\x0b\x32\x1d.Ydb.Maintenance.CordonActionH\x00\x42\x08\n\x06\x61\x63tion\"?\n\x0b\x41\x63tionGroup\x12\x30\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32\x17.Ydb.Maintenance.ActionB\x06\x9a\xe6*\x02(\x01\"\xd5\x01\n\x1c\x43reateMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12=\n\x0ctask_options\x18\x02 \x01(\x0b\x32\'.Ydb.Maintenance.MaintenanceTaskOptions\x12;\n\raction_groups\x18\x03 \x03(\x0b\x32\x1c.Ydb.Maintenance.ActionGroupB\x06\x9a\xe6*\x02(\x01\"u\n\x1dRefreshMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"]\n\tActionUid\x12\x19\n\x08task_uid\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x19\n\x08group_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x1a\n\taction_id\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"\xa8\x06\n\x0b\x41\x63tionState\x12\'\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32\x17.Ydb.Maintenance.Action\x12.\n\naction_uid\x18\x02 \x01(\x0b\x32\x1a.Ydb.Maintenance.ActionUid\x12\x39\n\x06status\x18\x03 \x01(\x0e\x32).Ydb.Maintenance.ActionState.ActionStatus\x12\x39\n\x06reason\x18\x04 \x01(\x0e\x32).Ydb.Maintenance.ActionState.ActionReason\x12\x0f\n\x07\x64\x65tails\x18\x06 \x01(\t\x12,\n\x08\x64\x65\x61\x64line\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x84\x01\n\x0c\x41\x63tionStatus\x12\x1d\n\x19\x41\x43TION_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41\x43TION_STATUS_PENDING\x10\x01\x12\x1b\n\x17\x41\x43TION_STATUS_PERFORMED\x10\x02\x12\x1d\n\x19\x41\x43TION_STATUS_IN_PROGRESS\x10\x03\"\x83\x03\n\x0c\x41\x63tionReason\x12\x1d\n\x19\x41\x43TION_REASON_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41\x43TION_REASON_OK\x10\x01\x12-\n)ACTION_REASON_TOO_MANY_UNAVAILABLE_VDISKS\x10\x02\x12:\n6ACTION_REASON_TOO_MANY_UNAVAILABLE_STATE_STORAGE_RINGS\x10\x03\x12.\n*ACTION_REASON_DISABLED_NODES_LIMIT_REACHED\x10\x04\x12\x35\n1ACTION_REASON_TENANT_DISABLED_NODES_LIMIT_REACHED\x10\x05\x12\x1f\n\x1b\x41\x43TION_REASON_WRONG_REQUEST\x10\x06\x12\x30\n,ACTION_REASON_SYS_TABLETS_NODE_LIMIT_REACHED\x10\x07\x12\x19\n\x15\x41\x43TION_REASON_GENERIC\x10\x08\"H\n\x11\x41\x63tionGroupStates\x12\x33\n\raction_states\x18\x01 \x03(\x0b\x32\x1c.Ydb.Maintenance.ActionState\"\x98\x02\n\x15MaintenanceTaskResult\x12\x10\n\x08task_uid\x18\x01 \x01(\t\x12?\n\x13\x61\x63tion_group_states\x18\x02 \x03(\x0b\x32\".Ydb.Maintenance.ActionGroupStates\x12\x34\n\x0bretry_after\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_refresh_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0e\n\x0c_retry_after\"G\n\x17MaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"q\n\x19GetMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"\x82\x02\n\x18GetMaintenanceTaskResult\x12=\n\x0ctask_options\x18\x01 \x01(\x0b\x32\'.Ydb.Maintenance.MaintenanceTaskOptions\x12?\n\x13\x61\x63tion_group_states\x18\x02 \x03(\x0b\x32\".Ydb.Maintenance.ActionGroupStates\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_refresh_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"J\n\x1aGetMaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"t\n\x1bListMaintenanceTasksRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x11\n\x04user\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x07\n\x05_user\"0\n\x1aListMaintenanceTasksResult\x12\x12\n\ntasks_uids\x18\x01 \x03(\t\"L\n\x1cListMaintenanceTasksResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"r\n\x1a\x44ropMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"M\n\x1dManageMaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x8b\x01\n\x15\x43ompleteActionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x37\n\x0b\x61\x63tion_uids\x18\x02 \x03(\x0b\x32\x1a.Ydb.Maintenance.ActionUidB\x06\x9a\xe6*\x02(\x01\"\xbe\x01\n\x12ManageActionResult\x12\x43\n\x0f\x61\x63tion_statuses\x18\x01 \x03(\x0b\x32*.Ydb.Maintenance.ManageActionResult.Status\x1a\x63\n\x06Status\x12.\n\naction_uid\x18\x01 \x01(\x0b\x32\x1a.Ydb.Maintenance.ActionUid\x12)\n\x06status\x18\x02 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\"D\n\x14ManageActionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation*k\n\tItemState\x12\x1a\n\x16ITEM_STATE_UNSPECIFIED\x10\x00\x12\x11\n\rITEM_STATE_UP\x10\x01\x12\x1a\n\x16ITEM_STATE_MAINTENANCE\x10\x02\x12\x13\n\x0fITEM_STATE_DOWN\x10\x03*\xa9\x01\n\x10\x41vailabilityMode\x12!\n\x1d\x41VAILABILITY_MODE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41VAILABILITY_MODE_STRONG\x10\x01\x12\x1a\n\x16\x41VAILABILITY_MODE_WEAK\x10\x02\x12\x1b\n\x17\x41VAILABILITY_MODE_FORCE\x10\x03\x12\x1b\n\x17\x41VAILABILITY_MODE_SMART\x10\x04\x42n\n#tech.ydb.proto.draft.maintenance.v1ZDgithub.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_Maintenance\xf8\x01\x01\x62\x06proto3' , dependencies=[protos_dot_annotations_dot_validation__pb2.DESCRIPTOR,protos_dot_ydb__status__codes__pb2.DESCRIPTOR,protos_dot_ydb__discovery__pb2.DESCRIPTOR,protos_dot_ydb__operation__pb2.DESCRIPTOR,google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,]) @@ -61,8 +61,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=4082, - serialized_end=4189, + serialized_start=4857, + serialized_end=4964, ) _sym_db.RegisterEnumDescriptor(_ITEMSTATE) @@ -94,11 +94,16 @@ serialized_options=None, type=None, create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AVAILABILITY_MODE_SMART', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, - serialized_start=4192, - serialized_end=4332, + serialized_start=4967, + serialized_end=5136, ) _sym_db.RegisterEnumDescriptor(_AVAILABILITYMODE) @@ -111,6 +116,7 @@ AVAILABILITY_MODE_STRONG = 1 AVAILABILITY_MODE_WEAK = 2 AVAILABILITY_MODE_FORCE = 3 +AVAILABILITY_MODE_SMART = 4 _ACTIONSTATE_ACTIONSTATUS = _descriptor.EnumDescriptor( @@ -135,11 +141,16 @@ serialized_options=None, type=None, create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ACTION_STATUS_IN_PROGRESS', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, - serialized_start=2069, - serialized_end=2170, + serialized_start=2605, + serialized_end=2737, ) _sym_db.RegisterEnumDescriptor(_ACTIONSTATE_ACTIONSTATUS) @@ -198,8 +209,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=2173, - serialized_end=2560, + serialized_start=2740, + serialized_end=3127, ) _sym_db.RegisterEnumDescriptor(_ACTIONSTATE_ACTIONREASON) @@ -508,6 +519,125 @@ ) +_ACTIONSCOPE_PDISKID = _descriptor.Descriptor( + name='PDiskId', + full_name='Ydb.Maintenance.ActionScope.PDiskId', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='node_id', full_name='Ydb.Maintenance.ActionScope.PDiskId.node_id', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='pdisk_id', full_name='Ydb.Maintenance.ActionScope.PDiskId.pdisk_id', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1150, + serialized_end=1194, +) + +_ACTIONSCOPE_PDISKLOCATION = _descriptor.Descriptor( + name='PDiskLocation', + full_name='Ydb.Maintenance.ActionScope.PDiskLocation', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='host', full_name='Ydb.Maintenance.ActionScope.PDiskLocation.host', 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=b'\242\346*\003\030\377\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='path', full_name='Ydb.Maintenance.ActionScope.PDiskLocation.path', 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=b'\242\346*\003\030\377\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1196, + serialized_end=1257, +) + +_ACTIONSCOPE_PDISK = _descriptor.Descriptor( + name='PDisk', + full_name='Ydb.Maintenance.ActionScope.PDisk', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='pdisk_id', full_name='Ydb.Maintenance.ActionScope.PDisk.pdisk_id', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='pdisk_location', full_name='Ydb.Maintenance.ActionScope.PDisk.pdisk_location', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='pdisk', full_name='Ydb.Maintenance.ActionScope.PDisk.pdisk', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1260, + serialized_end=1404, +) + _ACTIONSCOPE = _descriptor.Descriptor( name='ActionScope', full_name='Ydb.Maintenance.ActionScope', @@ -530,10 +660,17 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\242\346*\003\030\377\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='pdisk', full_name='Ydb.Maintenance.ActionScope.pdisk', 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, create_key=_descriptor._internal_create_key), ], extensions=[ ], - nested_types=[], + nested_types=[_ACTIONSCOPE_PDISKID, _ACTIONSCOPE_PDISKLOCATION, _ACTIONSCOPE_PDISK, ], enum_types=[ ], serialized_options=None, @@ -547,8 +684,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=1037, - serialized_end=1103, + serialized_start=1038, + serialized_end=1413, ) @@ -586,8 +723,72 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1105, - serialized_end=1207, + serialized_start=1415, + serialized_end=1517, +) + + +_DRAINACTION = _descriptor.Descriptor( + name='DrainAction', + full_name='Ydb.Maintenance.DrainAction', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='scope', full_name='Ydb.Maintenance.DrainAction.scope', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1519, + serialized_end=1577, +) + + +_CORDONACTION = _descriptor.Descriptor( + name='CordonAction', + full_name='Ydb.Maintenance.CordonAction', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='scope', full_name='Ydb.Maintenance.CordonAction.scope', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1579, + serialized_end=1638, ) @@ -606,6 +807,20 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='drain_action', full_name='Ydb.Maintenance.Action.drain_action', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cordon_action', full_name='Ydb.Maintenance.Action.cordon_action', 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, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -623,8 +838,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=1209, - serialized_end=1279, + serialized_start=1641, + serialized_end=1821, ) @@ -655,8 +870,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1281, - serialized_end=1344, + serialized_start=1823, + serialized_end=1886, ) @@ -701,8 +916,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1347, - serialized_end=1560, + serialized_start=1889, + serialized_end=2102, ) @@ -740,8 +955,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1562, - serialized_end=1679, + serialized_start=2104, + serialized_end=2221, ) @@ -786,8 +1001,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1681, - serialized_end=1774, + serialized_start=2223, + serialized_end=2316, ) @@ -828,7 +1043,7 @@ is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( - name='reason_details', full_name='Ydb.Maintenance.ActionState.reason_details', index=4, + name='details', full_name='Ydb.Maintenance.ActionState.details', index=4, number=6, 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, @@ -855,8 +1070,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1777, - serialized_end=2560, + serialized_start=2319, + serialized_end=3127, ) @@ -887,8 +1102,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2562, - serialized_end=2634, + serialized_start=3129, + serialized_end=3201, ) @@ -921,6 +1136,20 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='create_time', full_name='Ydb.Maintenance.MaintenanceTaskResult.create_time', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='last_refresh_time', full_name='Ydb.Maintenance.MaintenanceTaskResult.last_refresh_time', 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, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -938,8 +1167,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=2637, - serialized_end=2813, + serialized_start=3204, + serialized_end=3484, ) @@ -970,8 +1199,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2815, - serialized_end=2886, + serialized_start=3486, + serialized_end=3557, ) @@ -1009,8 +1238,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2888, - serialized_end=3001, + serialized_start=3559, + serialized_end=3672, ) @@ -1036,6 +1265,20 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='create_time', full_name='Ydb.Maintenance.GetMaintenanceTaskResult.create_time', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='last_refresh_time', full_name='Ydb.Maintenance.GetMaintenanceTaskResult.last_refresh_time', 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, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1048,8 +1291,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3004, - serialized_end=3158, + serialized_start=3675, + serialized_end=3933, ) @@ -1080,8 +1323,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3160, - serialized_end=3234, + serialized_start=3935, + serialized_end=4009, ) @@ -1124,8 +1367,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=3236, - serialized_end=3352, + serialized_start=4011, + serialized_end=4127, ) @@ -1156,8 +1399,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3354, - serialized_end=3402, + serialized_start=4129, + serialized_end=4177, ) @@ -1188,8 +1431,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3404, - serialized_end=3480, + serialized_start=4179, + serialized_end=4255, ) @@ -1227,8 +1470,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3482, - serialized_end=3596, + serialized_start=4257, + serialized_end=4371, ) @@ -1259,8 +1502,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3598, - serialized_end=3675, + serialized_start=4373, + serialized_end=4450, ) @@ -1298,8 +1541,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3678, - serialized_end=3817, + serialized_start=4453, + serialized_end=4592, ) @@ -1337,8 +1580,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3911, - serialized_end=4010, + serialized_start=4686, + serialized_end=4785, ) _MANAGEACTIONRESULT = _descriptor.Descriptor( @@ -1368,8 +1611,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3820, - serialized_end=4010, + serialized_start=4595, + serialized_end=4785, ) @@ -1400,8 +1643,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4012, - serialized_end=4080, + serialized_start=4787, + serialized_end=4855, ) _NODE_STORAGENODE.containing_type = _NODE @@ -1421,18 +1664,43 @@ _LISTCLUSTERNODESRESULT.fields_by_name['nodes'].message_type = _NODE _LISTCLUSTERNODESRESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION _MAINTENANCETASKOPTIONS.fields_by_name['availability_mode'].enum_type = _AVAILABILITYMODE +_ACTIONSCOPE_PDISKID.containing_type = _ACTIONSCOPE +_ACTIONSCOPE_PDISKLOCATION.containing_type = _ACTIONSCOPE +_ACTIONSCOPE_PDISK.fields_by_name['pdisk_id'].message_type = _ACTIONSCOPE_PDISKID +_ACTIONSCOPE_PDISK.fields_by_name['pdisk_location'].message_type = _ACTIONSCOPE_PDISKLOCATION +_ACTIONSCOPE_PDISK.containing_type = _ACTIONSCOPE +_ACTIONSCOPE_PDISK.oneofs_by_name['pdisk'].fields.append( + _ACTIONSCOPE_PDISK.fields_by_name['pdisk_id']) +_ACTIONSCOPE_PDISK.fields_by_name['pdisk_id'].containing_oneof = _ACTIONSCOPE_PDISK.oneofs_by_name['pdisk'] +_ACTIONSCOPE_PDISK.oneofs_by_name['pdisk'].fields.append( + _ACTIONSCOPE_PDISK.fields_by_name['pdisk_location']) +_ACTIONSCOPE_PDISK.fields_by_name['pdisk_location'].containing_oneof = _ACTIONSCOPE_PDISK.oneofs_by_name['pdisk'] +_ACTIONSCOPE.fields_by_name['pdisk'].message_type = _ACTIONSCOPE_PDISK _ACTIONSCOPE.oneofs_by_name['scope'].fields.append( _ACTIONSCOPE.fields_by_name['node_id']) _ACTIONSCOPE.fields_by_name['node_id'].containing_oneof = _ACTIONSCOPE.oneofs_by_name['scope'] _ACTIONSCOPE.oneofs_by_name['scope'].fields.append( _ACTIONSCOPE.fields_by_name['host']) _ACTIONSCOPE.fields_by_name['host'].containing_oneof = _ACTIONSCOPE.oneofs_by_name['scope'] +_ACTIONSCOPE.oneofs_by_name['scope'].fields.append( + _ACTIONSCOPE.fields_by_name['pdisk']) +_ACTIONSCOPE.fields_by_name['pdisk'].containing_oneof = _ACTIONSCOPE.oneofs_by_name['scope'] _LOCKACTION.fields_by_name['scope'].message_type = _ACTIONSCOPE _LOCKACTION.fields_by_name['duration'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_DRAINACTION.fields_by_name['scope'].message_type = _ACTIONSCOPE +_CORDONACTION.fields_by_name['scope'].message_type = _ACTIONSCOPE _ACTION.fields_by_name['lock_action'].message_type = _LOCKACTION +_ACTION.fields_by_name['drain_action'].message_type = _DRAINACTION +_ACTION.fields_by_name['cordon_action'].message_type = _CORDONACTION _ACTION.oneofs_by_name['action'].fields.append( _ACTION.fields_by_name['lock_action']) _ACTION.fields_by_name['lock_action'].containing_oneof = _ACTION.oneofs_by_name['action'] +_ACTION.oneofs_by_name['action'].fields.append( + _ACTION.fields_by_name['drain_action']) +_ACTION.fields_by_name['drain_action'].containing_oneof = _ACTION.oneofs_by_name['action'] +_ACTION.oneofs_by_name['action'].fields.append( + _ACTION.fields_by_name['cordon_action']) +_ACTION.fields_by_name['cordon_action'].containing_oneof = _ACTION.oneofs_by_name['action'] _ACTIONGROUP.fields_by_name['actions'].message_type = _ACTION _CREATEMAINTENANCETASKREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS _CREATEMAINTENANCETASKREQUEST.fields_by_name['task_options'].message_type = _MAINTENANCETASKOPTIONS @@ -1448,6 +1716,8 @@ _ACTIONGROUPSTATES.fields_by_name['action_states'].message_type = _ACTIONSTATE _MAINTENANCETASKRESULT.fields_by_name['action_group_states'].message_type = _ACTIONGROUPSTATES _MAINTENANCETASKRESULT.fields_by_name['retry_after'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_MAINTENANCETASKRESULT.fields_by_name['create_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_MAINTENANCETASKRESULT.fields_by_name['last_refresh_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _MAINTENANCETASKRESULT.oneofs_by_name['_retry_after'].fields.append( _MAINTENANCETASKRESULT.fields_by_name['retry_after']) _MAINTENANCETASKRESULT.fields_by_name['retry_after'].containing_oneof = _MAINTENANCETASKRESULT.oneofs_by_name['_retry_after'] @@ -1455,6 +1725,8 @@ _GETMAINTENANCETASKREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS _GETMAINTENANCETASKRESULT.fields_by_name['task_options'].message_type = _MAINTENANCETASKOPTIONS _GETMAINTENANCETASKRESULT.fields_by_name['action_group_states'].message_type = _ACTIONGROUPSTATES +_GETMAINTENANCETASKRESULT.fields_by_name['create_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_GETMAINTENANCETASKRESULT.fields_by_name['last_refresh_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _GETMAINTENANCETASKRESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION _LISTMAINTENANCETASKSREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS _LISTMAINTENANCETASKSREQUEST.oneofs_by_name['_user'].fields.append( @@ -1477,6 +1749,8 @@ DESCRIPTOR.message_types_by_name['MaintenanceTaskOptions'] = _MAINTENANCETASKOPTIONS DESCRIPTOR.message_types_by_name['ActionScope'] = _ACTIONSCOPE DESCRIPTOR.message_types_by_name['LockAction'] = _LOCKACTION +DESCRIPTOR.message_types_by_name['DrainAction'] = _DRAINACTION +DESCRIPTOR.message_types_by_name['CordonAction'] = _CORDONACTION DESCRIPTOR.message_types_by_name['Action'] = _ACTION DESCRIPTOR.message_types_by_name['ActionGroup'] = _ACTIONGROUP DESCRIPTOR.message_types_by_name['CreateMaintenanceTaskRequest'] = _CREATEMAINTENANCETASKREQUEST @@ -1553,11 +1827,35 @@ _sym_db.RegisterMessage(MaintenanceTaskOptions) ActionScope = _reflection.GeneratedProtocolMessageType('ActionScope', (_message.Message,), { + + 'PDiskId' : _reflection.GeneratedProtocolMessageType('PDiskId', (_message.Message,), { + 'DESCRIPTOR' : _ACTIONSCOPE_PDISKID, + '__module__' : 'draft.protos.ydb_maintenance_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Maintenance.ActionScope.PDiskId) + }) + , + + 'PDiskLocation' : _reflection.GeneratedProtocolMessageType('PDiskLocation', (_message.Message,), { + 'DESCRIPTOR' : _ACTIONSCOPE_PDISKLOCATION, + '__module__' : 'draft.protos.ydb_maintenance_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Maintenance.ActionScope.PDiskLocation) + }) + , + + 'PDisk' : _reflection.GeneratedProtocolMessageType('PDisk', (_message.Message,), { + 'DESCRIPTOR' : _ACTIONSCOPE_PDISK, + '__module__' : 'draft.protos.ydb_maintenance_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Maintenance.ActionScope.PDisk) + }) + , 'DESCRIPTOR' : _ACTIONSCOPE, '__module__' : 'draft.protos.ydb_maintenance_pb2' # @@protoc_insertion_point(class_scope:Ydb.Maintenance.ActionScope) }) _sym_db.RegisterMessage(ActionScope) +_sym_db.RegisterMessage(ActionScope.PDiskId) +_sym_db.RegisterMessage(ActionScope.PDiskLocation) +_sym_db.RegisterMessage(ActionScope.PDisk) LockAction = _reflection.GeneratedProtocolMessageType('LockAction', (_message.Message,), { 'DESCRIPTOR' : _LOCKACTION, @@ -1566,6 +1864,20 @@ }) _sym_db.RegisterMessage(LockAction) +DrainAction = _reflection.GeneratedProtocolMessageType('DrainAction', (_message.Message,), { + 'DESCRIPTOR' : _DRAINACTION, + '__module__' : 'draft.protos.ydb_maintenance_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Maintenance.DrainAction) + }) +_sym_db.RegisterMessage(DrainAction) + +CordonAction = _reflection.GeneratedProtocolMessageType('CordonAction', (_message.Message,), { + 'DESCRIPTOR' : _CORDONACTION, + '__module__' : 'draft.protos.ydb_maintenance_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Maintenance.CordonAction) + }) +_sym_db.RegisterMessage(CordonAction) + Action = _reflection.GeneratedProtocolMessageType('Action', (_message.Message,), { 'DESCRIPTOR' : _ACTION, '__module__' : 'draft.protos.ydb_maintenance_pb2' @@ -1719,6 +2031,8 @@ _MAINTENANCETASKOPTIONS.fields_by_name['task_uid']._options = None _MAINTENANCETASKOPTIONS.fields_by_name['description']._options = None _MAINTENANCETASKOPTIONS.fields_by_name['priority']._options = None +_ACTIONSCOPE_PDISKLOCATION.fields_by_name['host']._options = None +_ACTIONSCOPE_PDISKLOCATION.fields_by_name['path']._options = None _ACTIONSCOPE.fields_by_name['host']._options = None _ACTIONGROUP.fields_by_name['actions']._options = None _CREATEMAINTENANCETASKREQUEST.fields_by_name['action_groups']._options = None diff --git a/ydb/_grpc/v3/draft/protos/ydb_replication_pb2.py b/ydb/_grpc/v3/draft/protos/ydb_replication_pb2.py new file mode 100644 index 000000000..61671dee8 --- /dev/null +++ b/ydb/_grpc/v3/draft/protos/ydb_replication_pb2.py @@ -0,0 +1,1234 @@ +# -*- coding: utf-8 -*- +# flake8: noqa +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: draft/protos/ydb_replication.proto +"""Generated protocol buffer code.""" +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 ydb._grpc.v3.protos.annotations import validation_pb2 as protos_dot_annotations_dot_validation__pb2 +from ydb._grpc.v3.protos import ydb_issue_message_pb2 as protos_dot_ydb__issue__message__pb2 +from ydb._grpc.v3.protos import ydb_operation_pb2 as protos_dot_ydb__operation__pb2 +from ydb._grpc.v3.protos import ydb_scheme_pb2 as protos_dot_ydb__scheme__pb2 +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='draft/protos/ydb_replication.proto', + package='Ydb.Replication', + syntax='proto3', + serialized_options=b'\n tech.ydb.proto.draft.replicationZDgithub.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_Replication\370\001\001', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n\"draft/protos/ydb_replication.proto\x12\x0fYdb.Replication\x1a#protos/annotations/validation.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1egoogle/protobuf/duration.proto\"\x82\x01\n\x1a\x44\x65scribeReplicationRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\x04path\x18\x02 \x01(\tB\x04\x90\xe6*\x01\x12\x15\n\rinclude_stats\x18\x03 \x01(\x08\"K\n\x1b\x44\x65scribeReplicationResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xe6\x02\n\x10\x43onnectionParams\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x10\n\x08\x64\x61tabase\x18\x02 \x01(\t\x12\x12\n\nenable_ssl\x18\x05 \x01(\x08\x12\x19\n\x11\x63onnection_string\x18\x06 \x01(\t\x12Q\n\x12static_credentials\x18\x03 \x01(\x0b\x32\x33.Ydb.Replication.ConnectionParams.StaticCredentialsH\x00\x12\x38\n\x05oauth\x18\x04 \x01(\x0b\x32\'.Ydb.Replication.ConnectionParams.OAuthH\x00\x1a?\n\x11StaticCredentials\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x1c\n\x14password_secret_name\x18\x02 \x01(\t\x1a\"\n\x05OAuth\x12\x19\n\x11token_secret_name\x18\x01 \x01(\tB\r\n\x0b\x63redentials\"\x15\n\x13\x43onsistencyLevelRow\"L\n\x16\x43onsistencyLevelGlobal\x12\x32\n\x0f\x63ommit_interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xe9\x08\n\x19\x44\x65scribeReplicationResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12<\n\x11\x63onnection_params\x18\x02 \x01(\x0b\x32!.Ydb.Replication.ConnectionParams\x12?\n\x0frow_consistency\x18\x07 \x01(\x0b\x32$.Ydb.Replication.ConsistencyLevelRowH\x00\x12\x45\n\x12global_consistency\x18\x08 \x01(\x0b\x32\'.Ydb.Replication.ConsistencyLevelGlobalH\x00\x12>\n\x05items\x18\x03 \x03(\x0b\x32/.Ydb.Replication.DescribeReplicationResult.Item\x12J\n\x07running\x18\x04 \x01(\x0b\x32\x37.Ydb.Replication.DescribeReplicationResult.RunningStateH\x01\x12\x46\n\x05\x65rror\x18\x05 \x01(\x0b\x32\x35.Ydb.Replication.DescribeReplicationResult.ErrorStateH\x01\x12\x44\n\x04\x64one\x18\x06 \x01(\x0b\x32\x34.Ydb.Replication.DescribeReplicationResult.DoneStateH\x01\x12H\n\x06paused\x18\t \x01(\x0b\x32\x36.Ydb.Replication.DescribeReplicationResult.PausedStateH\x01\x1az\n\x05Stats\x12+\n\x03lag\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x12\"\n\x15initial_scan_progress\x18\x02 \x01(\x02H\x01\x88\x01\x01\x42\x06\n\x04_lagB\x18\n\x16_initial_scan_progress\x1a\xc2\x01\n\x04Item\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12#\n\x16source_changefeed_name\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\n\n\x02id\x18\x04 \x01(\x04\x12?\n\x05stats\x18\x05 \x01(\x0b\x32\x30.Ydb.Replication.DescribeReplicationResult.StatsB\x19\n\x17_source_changefeed_name\x1aO\n\x0cRunningState\x12?\n\x05stats\x18\x01 \x01(\x0b\x32\x30.Ydb.Replication.DescribeReplicationResult.Stats\x1a\x35\n\nErrorState\x12\'\n\x06issues\x18\x01 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x1a\x0b\n\tDoneState\x1a\r\n\x0bPausedStateB\x13\n\x11\x63onsistency_levelB\x07\n\x05state\"h\n\x17\x44\x65scribeTransferRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\x04path\x18\x02 \x01(\tB\x04\x90\xe6*\x01\"H\n\x18\x44\x65scribeTransferResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb3\x06\n\x16\x44\x65scribeTransferResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12<\n\x11\x63onnection_params\x18\x02 \x01(\x0b\x32!.Ydb.Replication.ConnectionParams\x12G\n\x07running\x18\x03 \x01(\x0b\x32\x34.Ydb.Replication.DescribeTransferResult.RunningStateH\x00\x12\x43\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x32.Ydb.Replication.DescribeTransferResult.ErrorStateH\x00\x12\x41\n\x04\x64one\x18\x05 \x01(\x0b\x32\x31.Ydb.Replication.DescribeTransferResult.DoneStateH\x00\x12\x45\n\x06paused\x18\x06 \x01(\x0b\x32\x33.Ydb.Replication.DescribeTransferResult.PausedStateH\x00\x12\x13\n\x0bsource_path\x18\x07 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x08 \x01(\t\x12\x1d\n\x15transformation_lambda\x18\t \x01(\t\x12\x15\n\rconsumer_name\x18\n \x01(\t\x12R\n\x0e\x62\x61tch_settings\x18\x0b \x01(\x0b\x32\x35.Ydb.Replication.DescribeTransferResult.BatchSettingsH\x01\x88\x01\x01\x1a\x0e\n\x0cRunningState\x1a\x35\n\nErrorState\x12\'\n\x06issues\x18\x01 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x1a\x0b\n\tDoneState\x1a\r\n\x0bPausedState\x1aj\n\rBatchSettings\x12\x17\n\nsize_bytes\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x31\n\x0e\x66lush_interval\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\n\x0b_size_bytesB\x07\n\x05stateB\x11\n\x0f_batch_settingsBk\n tech.ydb.proto.draft.replicationZDgithub.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_Replication\xf8\x01\x01\x62\x06proto3' + , + dependencies=[protos_dot_annotations_dot_validation__pb2.DESCRIPTOR,protos_dot_ydb__issue__message__pb2.DESCRIPTOR,protos_dot_ydb__operation__pb2.DESCRIPTOR,protos_dot_ydb__scheme__pb2.DESCRIPTOR,google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,]) + + + + +_DESCRIBEREPLICATIONREQUEST = _descriptor.Descriptor( + name='DescribeReplicationRequest', + full_name='Ydb.Replication.DescribeReplicationRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='operation_params', full_name='Ydb.Replication.DescribeReplicationRequest.operation_params', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='path', full_name='Ydb.Replication.DescribeReplicationRequest.path', 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=b'\220\346*\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='include_stats', full_name='Ydb.Replication.DescribeReplicationRequest.include_stats', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=210, + serialized_end=340, +) + + +_DESCRIBEREPLICATIONRESPONSE = _descriptor.Descriptor( + name='DescribeReplicationResponse', + full_name='Ydb.Replication.DescribeReplicationResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='operation', full_name='Ydb.Replication.DescribeReplicationResponse.operation', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=342, + serialized_end=417, +) + + +_CONNECTIONPARAMS_STATICCREDENTIALS = _descriptor.Descriptor( + name='StaticCredentials', + full_name='Ydb.Replication.ConnectionParams.StaticCredentials', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='user', full_name='Ydb.Replication.ConnectionParams.StaticCredentials.user', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='password_secret_name', full_name='Ydb.Replication.ConnectionParams.StaticCredentials.password_secret_name', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=664, + serialized_end=727, +) + +_CONNECTIONPARAMS_OAUTH = _descriptor.Descriptor( + name='OAuth', + full_name='Ydb.Replication.ConnectionParams.OAuth', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='token_secret_name', full_name='Ydb.Replication.ConnectionParams.OAuth.token_secret_name', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=729, + serialized_end=763, +) + +_CONNECTIONPARAMS = _descriptor.Descriptor( + name='ConnectionParams', + full_name='Ydb.Replication.ConnectionParams', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='endpoint', full_name='Ydb.Replication.ConnectionParams.endpoint', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='database', full_name='Ydb.Replication.ConnectionParams.database', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='enable_ssl', full_name='Ydb.Replication.ConnectionParams.enable_ssl', index=2, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='connection_string', full_name='Ydb.Replication.ConnectionParams.connection_string', index=3, + number=6, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='static_credentials', full_name='Ydb.Replication.ConnectionParams.static_credentials', index=4, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='oauth', full_name='Ydb.Replication.ConnectionParams.oauth', index=5, + 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_CONNECTIONPARAMS_STATICCREDENTIALS, _CONNECTIONPARAMS_OAUTH, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='credentials', full_name='Ydb.Replication.ConnectionParams.credentials', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=420, + serialized_end=778, +) + + +_CONSISTENCYLEVELROW = _descriptor.Descriptor( + name='ConsistencyLevelRow', + full_name='Ydb.Replication.ConsistencyLevelRow', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=780, + serialized_end=801, +) + + +_CONSISTENCYLEVELGLOBAL = _descriptor.Descriptor( + name='ConsistencyLevelGlobal', + full_name='Ydb.Replication.ConsistencyLevelGlobal', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='commit_interval', full_name='Ydb.Replication.ConsistencyLevelGlobal.commit_interval', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=803, + serialized_end=879, +) + + +_DESCRIBEREPLICATIONRESULT_STATS = _descriptor.Descriptor( + name='Stats', + full_name='Ydb.Replication.DescribeReplicationResult.Stats', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='lag', full_name='Ydb.Replication.DescribeReplicationResult.Stats.lag', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initial_scan_progress', full_name='Ydb.Replication.DescribeReplicationResult.Stats.initial_scan_progress', index=1, + number=2, type=2, cpp_type=6, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_lag', full_name='Ydb.Replication.DescribeReplicationResult.Stats._lag', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_initial_scan_progress', full_name='Ydb.Replication.DescribeReplicationResult.Stats._initial_scan_progress', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1498, + serialized_end=1620, +) + +_DESCRIBEREPLICATIONRESULT_ITEM = _descriptor.Descriptor( + name='Item', + full_name='Ydb.Replication.DescribeReplicationResult.Item', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='source_path', full_name='Ydb.Replication.DescribeReplicationResult.Item.source_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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='destination_path', full_name='Ydb.Replication.DescribeReplicationResult.Item.destination_path', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='source_changefeed_name', full_name='Ydb.Replication.DescribeReplicationResult.Item.source_changefeed_name', index=2, + number=3, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='id', full_name='Ydb.Replication.DescribeReplicationResult.Item.id', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='stats', full_name='Ydb.Replication.DescribeReplicationResult.Item.stats', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_source_changefeed_name', full_name='Ydb.Replication.DescribeReplicationResult.Item._source_changefeed_name', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1623, + serialized_end=1817, +) + +_DESCRIBEREPLICATIONRESULT_RUNNINGSTATE = _descriptor.Descriptor( + name='RunningState', + full_name='Ydb.Replication.DescribeReplicationResult.RunningState', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='stats', full_name='Ydb.Replication.DescribeReplicationResult.RunningState.stats', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1819, + serialized_end=1898, +) + +_DESCRIBEREPLICATIONRESULT_ERRORSTATE = _descriptor.Descriptor( + name='ErrorState', + full_name='Ydb.Replication.DescribeReplicationResult.ErrorState', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='issues', full_name='Ydb.Replication.DescribeReplicationResult.ErrorState.issues', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1900, + serialized_end=1953, +) + +_DESCRIBEREPLICATIONRESULT_DONESTATE = _descriptor.Descriptor( + name='DoneState', + full_name='Ydb.Replication.DescribeReplicationResult.DoneState', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1955, + serialized_end=1966, +) + +_DESCRIBEREPLICATIONRESULT_PAUSEDSTATE = _descriptor.Descriptor( + name='PausedState', + full_name='Ydb.Replication.DescribeReplicationResult.PausedState', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1968, + serialized_end=1981, +) + +_DESCRIBEREPLICATIONRESULT = _descriptor.Descriptor( + name='DescribeReplicationResult', + full_name='Ydb.Replication.DescribeReplicationResult', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='self', full_name='Ydb.Replication.DescribeReplicationResult.self', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='connection_params', full_name='Ydb.Replication.DescribeReplicationResult.connection_params', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='row_consistency', full_name='Ydb.Replication.DescribeReplicationResult.row_consistency', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='global_consistency', full_name='Ydb.Replication.DescribeReplicationResult.global_consistency', index=3, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='items', full_name='Ydb.Replication.DescribeReplicationResult.items', index=4, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='running', full_name='Ydb.Replication.DescribeReplicationResult.running', index=5, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='error', full_name='Ydb.Replication.DescribeReplicationResult.error', index=6, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='done', full_name='Ydb.Replication.DescribeReplicationResult.done', index=7, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='paused', full_name='Ydb.Replication.DescribeReplicationResult.paused', index=8, + number=9, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_DESCRIBEREPLICATIONRESULT_STATS, _DESCRIBEREPLICATIONRESULT_ITEM, _DESCRIBEREPLICATIONRESULT_RUNNINGSTATE, _DESCRIBEREPLICATIONRESULT_ERRORSTATE, _DESCRIBEREPLICATIONRESULT_DONESTATE, _DESCRIBEREPLICATIONRESULT_PAUSEDSTATE, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='consistency_level', full_name='Ydb.Replication.DescribeReplicationResult.consistency_level', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='state', full_name='Ydb.Replication.DescribeReplicationResult.state', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=882, + serialized_end=2011, +) + + +_DESCRIBETRANSFERREQUEST = _descriptor.Descriptor( + name='DescribeTransferRequest', + full_name='Ydb.Replication.DescribeTransferRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='operation_params', full_name='Ydb.Replication.DescribeTransferRequest.operation_params', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='path', full_name='Ydb.Replication.DescribeTransferRequest.path', 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=b'\220\346*\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2013, + serialized_end=2117, +) + + +_DESCRIBETRANSFERRESPONSE = _descriptor.Descriptor( + name='DescribeTransferResponse', + full_name='Ydb.Replication.DescribeTransferResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='operation', full_name='Ydb.Replication.DescribeTransferResponse.operation', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2119, + serialized_end=2191, +) + + +_DESCRIBETRANSFERRESULT_RUNNINGSTATE = _descriptor.Descriptor( + name='RunningState', + full_name='Ydb.Replication.DescribeTransferResult.RunningState', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1819, + serialized_end=1833, +) + +_DESCRIBETRANSFERRESULT_ERRORSTATE = _descriptor.Descriptor( + name='ErrorState', + full_name='Ydb.Replication.DescribeTransferResult.ErrorState', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='issues', full_name='Ydb.Replication.DescribeTransferResult.ErrorState.issues', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1900, + serialized_end=1953, +) + +_DESCRIBETRANSFERRESULT_DONESTATE = _descriptor.Descriptor( + name='DoneState', + full_name='Ydb.Replication.DescribeTransferResult.DoneState', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1955, + serialized_end=1966, +) + +_DESCRIBETRANSFERRESULT_PAUSEDSTATE = _descriptor.Descriptor( + name='PausedState', + full_name='Ydb.Replication.DescribeTransferResult.PausedState', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1968, + serialized_end=1981, +) + +_DESCRIBETRANSFERRESULT_BATCHSETTINGS = _descriptor.Descriptor( + name='BatchSettings', + full_name='Ydb.Replication.DescribeTransferResult.BatchSettings', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='size_bytes', full_name='Ydb.Replication.DescribeTransferResult.BatchSettings.size_bytes', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='flush_interval', full_name='Ydb.Replication.DescribeTransferResult.BatchSettings.flush_interval', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_size_bytes', full_name='Ydb.Replication.DescribeTransferResult.BatchSettings._size_bytes', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2879, + serialized_end=2985, +) + +_DESCRIBETRANSFERRESULT = _descriptor.Descriptor( + name='DescribeTransferResult', + full_name='Ydb.Replication.DescribeTransferResult', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='self', full_name='Ydb.Replication.DescribeTransferResult.self', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='connection_params', full_name='Ydb.Replication.DescribeTransferResult.connection_params', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='running', full_name='Ydb.Replication.DescribeTransferResult.running', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='error', full_name='Ydb.Replication.DescribeTransferResult.error', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='done', full_name='Ydb.Replication.DescribeTransferResult.done', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='paused', full_name='Ydb.Replication.DescribeTransferResult.paused', index=5, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='source_path', full_name='Ydb.Replication.DescribeTransferResult.source_path', index=6, + number=7, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='destination_path', full_name='Ydb.Replication.DescribeTransferResult.destination_path', index=7, + number=8, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='transformation_lambda', full_name='Ydb.Replication.DescribeTransferResult.transformation_lambda', index=8, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='consumer_name', full_name='Ydb.Replication.DescribeTransferResult.consumer_name', index=9, + number=10, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='batch_settings', full_name='Ydb.Replication.DescribeTransferResult.batch_settings', index=10, + number=11, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_DESCRIBETRANSFERRESULT_RUNNINGSTATE, _DESCRIBETRANSFERRESULT_ERRORSTATE, _DESCRIBETRANSFERRESULT_DONESTATE, _DESCRIBETRANSFERRESULT_PAUSEDSTATE, _DESCRIBETRANSFERRESULT_BATCHSETTINGS, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='state', full_name='Ydb.Replication.DescribeTransferResult.state', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_batch_settings', full_name='Ydb.Replication.DescribeTransferResult._batch_settings', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2194, + serialized_end=3013, +) + +_DESCRIBEREPLICATIONREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS +_DESCRIBEREPLICATIONRESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION +_CONNECTIONPARAMS_STATICCREDENTIALS.containing_type = _CONNECTIONPARAMS +_CONNECTIONPARAMS_OAUTH.containing_type = _CONNECTIONPARAMS +_CONNECTIONPARAMS.fields_by_name['static_credentials'].message_type = _CONNECTIONPARAMS_STATICCREDENTIALS +_CONNECTIONPARAMS.fields_by_name['oauth'].message_type = _CONNECTIONPARAMS_OAUTH +_CONNECTIONPARAMS.oneofs_by_name['credentials'].fields.append( + _CONNECTIONPARAMS.fields_by_name['static_credentials']) +_CONNECTIONPARAMS.fields_by_name['static_credentials'].containing_oneof = _CONNECTIONPARAMS.oneofs_by_name['credentials'] +_CONNECTIONPARAMS.oneofs_by_name['credentials'].fields.append( + _CONNECTIONPARAMS.fields_by_name['oauth']) +_CONNECTIONPARAMS.fields_by_name['oauth'].containing_oneof = _CONNECTIONPARAMS.oneofs_by_name['credentials'] +_CONSISTENCYLEVELGLOBAL.fields_by_name['commit_interval'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_DESCRIBEREPLICATIONRESULT_STATS.fields_by_name['lag'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_DESCRIBEREPLICATIONRESULT_STATS.containing_type = _DESCRIBEREPLICATIONRESULT +_DESCRIBEREPLICATIONRESULT_STATS.oneofs_by_name['_lag'].fields.append( + _DESCRIBEREPLICATIONRESULT_STATS.fields_by_name['lag']) +_DESCRIBEREPLICATIONRESULT_STATS.fields_by_name['lag'].containing_oneof = _DESCRIBEREPLICATIONRESULT_STATS.oneofs_by_name['_lag'] +_DESCRIBEREPLICATIONRESULT_STATS.oneofs_by_name['_initial_scan_progress'].fields.append( + _DESCRIBEREPLICATIONRESULT_STATS.fields_by_name['initial_scan_progress']) +_DESCRIBEREPLICATIONRESULT_STATS.fields_by_name['initial_scan_progress'].containing_oneof = _DESCRIBEREPLICATIONRESULT_STATS.oneofs_by_name['_initial_scan_progress'] +_DESCRIBEREPLICATIONRESULT_ITEM.fields_by_name['stats'].message_type = _DESCRIBEREPLICATIONRESULT_STATS +_DESCRIBEREPLICATIONRESULT_ITEM.containing_type = _DESCRIBEREPLICATIONRESULT +_DESCRIBEREPLICATIONRESULT_ITEM.oneofs_by_name['_source_changefeed_name'].fields.append( + _DESCRIBEREPLICATIONRESULT_ITEM.fields_by_name['source_changefeed_name']) +_DESCRIBEREPLICATIONRESULT_ITEM.fields_by_name['source_changefeed_name'].containing_oneof = _DESCRIBEREPLICATIONRESULT_ITEM.oneofs_by_name['_source_changefeed_name'] +_DESCRIBEREPLICATIONRESULT_RUNNINGSTATE.fields_by_name['stats'].message_type = _DESCRIBEREPLICATIONRESULT_STATS +_DESCRIBEREPLICATIONRESULT_RUNNINGSTATE.containing_type = _DESCRIBEREPLICATIONRESULT +_DESCRIBEREPLICATIONRESULT_ERRORSTATE.fields_by_name['issues'].message_type = protos_dot_ydb__issue__message__pb2._ISSUEMESSAGE +_DESCRIBEREPLICATIONRESULT_ERRORSTATE.containing_type = _DESCRIBEREPLICATIONRESULT +_DESCRIBEREPLICATIONRESULT_DONESTATE.containing_type = _DESCRIBEREPLICATIONRESULT +_DESCRIBEREPLICATIONRESULT_PAUSEDSTATE.containing_type = _DESCRIBEREPLICATIONRESULT +_DESCRIBEREPLICATIONRESULT.fields_by_name['self'].message_type = protos_dot_ydb__scheme__pb2._ENTRY +_DESCRIBEREPLICATIONRESULT.fields_by_name['connection_params'].message_type = _CONNECTIONPARAMS +_DESCRIBEREPLICATIONRESULT.fields_by_name['row_consistency'].message_type = _CONSISTENCYLEVELROW +_DESCRIBEREPLICATIONRESULT.fields_by_name['global_consistency'].message_type = _CONSISTENCYLEVELGLOBAL +_DESCRIBEREPLICATIONRESULT.fields_by_name['items'].message_type = _DESCRIBEREPLICATIONRESULT_ITEM +_DESCRIBEREPLICATIONRESULT.fields_by_name['running'].message_type = _DESCRIBEREPLICATIONRESULT_RUNNINGSTATE +_DESCRIBEREPLICATIONRESULT.fields_by_name['error'].message_type = _DESCRIBEREPLICATIONRESULT_ERRORSTATE +_DESCRIBEREPLICATIONRESULT.fields_by_name['done'].message_type = _DESCRIBEREPLICATIONRESULT_DONESTATE +_DESCRIBEREPLICATIONRESULT.fields_by_name['paused'].message_type = _DESCRIBEREPLICATIONRESULT_PAUSEDSTATE +_DESCRIBEREPLICATIONRESULT.oneofs_by_name['consistency_level'].fields.append( + _DESCRIBEREPLICATIONRESULT.fields_by_name['row_consistency']) +_DESCRIBEREPLICATIONRESULT.fields_by_name['row_consistency'].containing_oneof = _DESCRIBEREPLICATIONRESULT.oneofs_by_name['consistency_level'] +_DESCRIBEREPLICATIONRESULT.oneofs_by_name['consistency_level'].fields.append( + _DESCRIBEREPLICATIONRESULT.fields_by_name['global_consistency']) +_DESCRIBEREPLICATIONRESULT.fields_by_name['global_consistency'].containing_oneof = _DESCRIBEREPLICATIONRESULT.oneofs_by_name['consistency_level'] +_DESCRIBEREPLICATIONRESULT.oneofs_by_name['state'].fields.append( + _DESCRIBEREPLICATIONRESULT.fields_by_name['running']) +_DESCRIBEREPLICATIONRESULT.fields_by_name['running'].containing_oneof = _DESCRIBEREPLICATIONRESULT.oneofs_by_name['state'] +_DESCRIBEREPLICATIONRESULT.oneofs_by_name['state'].fields.append( + _DESCRIBEREPLICATIONRESULT.fields_by_name['error']) +_DESCRIBEREPLICATIONRESULT.fields_by_name['error'].containing_oneof = _DESCRIBEREPLICATIONRESULT.oneofs_by_name['state'] +_DESCRIBEREPLICATIONRESULT.oneofs_by_name['state'].fields.append( + _DESCRIBEREPLICATIONRESULT.fields_by_name['done']) +_DESCRIBEREPLICATIONRESULT.fields_by_name['done'].containing_oneof = _DESCRIBEREPLICATIONRESULT.oneofs_by_name['state'] +_DESCRIBEREPLICATIONRESULT.oneofs_by_name['state'].fields.append( + _DESCRIBEREPLICATIONRESULT.fields_by_name['paused']) +_DESCRIBEREPLICATIONRESULT.fields_by_name['paused'].containing_oneof = _DESCRIBEREPLICATIONRESULT.oneofs_by_name['state'] +_DESCRIBETRANSFERREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS +_DESCRIBETRANSFERRESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION +_DESCRIBETRANSFERRESULT_RUNNINGSTATE.containing_type = _DESCRIBETRANSFERRESULT +_DESCRIBETRANSFERRESULT_ERRORSTATE.fields_by_name['issues'].message_type = protos_dot_ydb__issue__message__pb2._ISSUEMESSAGE +_DESCRIBETRANSFERRESULT_ERRORSTATE.containing_type = _DESCRIBETRANSFERRESULT +_DESCRIBETRANSFERRESULT_DONESTATE.containing_type = _DESCRIBETRANSFERRESULT +_DESCRIBETRANSFERRESULT_PAUSEDSTATE.containing_type = _DESCRIBETRANSFERRESULT +_DESCRIBETRANSFERRESULT_BATCHSETTINGS.fields_by_name['flush_interval'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_DESCRIBETRANSFERRESULT_BATCHSETTINGS.containing_type = _DESCRIBETRANSFERRESULT +_DESCRIBETRANSFERRESULT_BATCHSETTINGS.oneofs_by_name['_size_bytes'].fields.append( + _DESCRIBETRANSFERRESULT_BATCHSETTINGS.fields_by_name['size_bytes']) +_DESCRIBETRANSFERRESULT_BATCHSETTINGS.fields_by_name['size_bytes'].containing_oneof = _DESCRIBETRANSFERRESULT_BATCHSETTINGS.oneofs_by_name['_size_bytes'] +_DESCRIBETRANSFERRESULT.fields_by_name['self'].message_type = protos_dot_ydb__scheme__pb2._ENTRY +_DESCRIBETRANSFERRESULT.fields_by_name['connection_params'].message_type = _CONNECTIONPARAMS +_DESCRIBETRANSFERRESULT.fields_by_name['running'].message_type = _DESCRIBETRANSFERRESULT_RUNNINGSTATE +_DESCRIBETRANSFERRESULT.fields_by_name['error'].message_type = _DESCRIBETRANSFERRESULT_ERRORSTATE +_DESCRIBETRANSFERRESULT.fields_by_name['done'].message_type = _DESCRIBETRANSFERRESULT_DONESTATE +_DESCRIBETRANSFERRESULT.fields_by_name['paused'].message_type = _DESCRIBETRANSFERRESULT_PAUSEDSTATE +_DESCRIBETRANSFERRESULT.fields_by_name['batch_settings'].message_type = _DESCRIBETRANSFERRESULT_BATCHSETTINGS +_DESCRIBETRANSFERRESULT.oneofs_by_name['state'].fields.append( + _DESCRIBETRANSFERRESULT.fields_by_name['running']) +_DESCRIBETRANSFERRESULT.fields_by_name['running'].containing_oneof = _DESCRIBETRANSFERRESULT.oneofs_by_name['state'] +_DESCRIBETRANSFERRESULT.oneofs_by_name['state'].fields.append( + _DESCRIBETRANSFERRESULT.fields_by_name['error']) +_DESCRIBETRANSFERRESULT.fields_by_name['error'].containing_oneof = _DESCRIBETRANSFERRESULT.oneofs_by_name['state'] +_DESCRIBETRANSFERRESULT.oneofs_by_name['state'].fields.append( + _DESCRIBETRANSFERRESULT.fields_by_name['done']) +_DESCRIBETRANSFERRESULT.fields_by_name['done'].containing_oneof = _DESCRIBETRANSFERRESULT.oneofs_by_name['state'] +_DESCRIBETRANSFERRESULT.oneofs_by_name['state'].fields.append( + _DESCRIBETRANSFERRESULT.fields_by_name['paused']) +_DESCRIBETRANSFERRESULT.fields_by_name['paused'].containing_oneof = _DESCRIBETRANSFERRESULT.oneofs_by_name['state'] +_DESCRIBETRANSFERRESULT.oneofs_by_name['_batch_settings'].fields.append( + _DESCRIBETRANSFERRESULT.fields_by_name['batch_settings']) +_DESCRIBETRANSFERRESULT.fields_by_name['batch_settings'].containing_oneof = _DESCRIBETRANSFERRESULT.oneofs_by_name['_batch_settings'] +DESCRIPTOR.message_types_by_name['DescribeReplicationRequest'] = _DESCRIBEREPLICATIONREQUEST +DESCRIPTOR.message_types_by_name['DescribeReplicationResponse'] = _DESCRIBEREPLICATIONRESPONSE +DESCRIPTOR.message_types_by_name['ConnectionParams'] = _CONNECTIONPARAMS +DESCRIPTOR.message_types_by_name['ConsistencyLevelRow'] = _CONSISTENCYLEVELROW +DESCRIPTOR.message_types_by_name['ConsistencyLevelGlobal'] = _CONSISTENCYLEVELGLOBAL +DESCRIPTOR.message_types_by_name['DescribeReplicationResult'] = _DESCRIBEREPLICATIONRESULT +DESCRIPTOR.message_types_by_name['DescribeTransferRequest'] = _DESCRIBETRANSFERREQUEST +DESCRIPTOR.message_types_by_name['DescribeTransferResponse'] = _DESCRIBETRANSFERRESPONSE +DESCRIPTOR.message_types_by_name['DescribeTransferResult'] = _DESCRIBETRANSFERRESULT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DescribeReplicationRequest = _reflection.GeneratedProtocolMessageType('DescribeReplicationRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEREPLICATIONREQUEST, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.DescribeReplicationRequest) + }) +_sym_db.RegisterMessage(DescribeReplicationRequest) + +DescribeReplicationResponse = _reflection.GeneratedProtocolMessageType('DescribeReplicationResponse', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEREPLICATIONRESPONSE, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.DescribeReplicationResponse) + }) +_sym_db.RegisterMessage(DescribeReplicationResponse) + +ConnectionParams = _reflection.GeneratedProtocolMessageType('ConnectionParams', (_message.Message,), { + + 'StaticCredentials' : _reflection.GeneratedProtocolMessageType('StaticCredentials', (_message.Message,), { + 'DESCRIPTOR' : _CONNECTIONPARAMS_STATICCREDENTIALS, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.ConnectionParams.StaticCredentials) + }) + , + + 'OAuth' : _reflection.GeneratedProtocolMessageType('OAuth', (_message.Message,), { + 'DESCRIPTOR' : _CONNECTIONPARAMS_OAUTH, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.ConnectionParams.OAuth) + }) + , + 'DESCRIPTOR' : _CONNECTIONPARAMS, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.ConnectionParams) + }) +_sym_db.RegisterMessage(ConnectionParams) +_sym_db.RegisterMessage(ConnectionParams.StaticCredentials) +_sym_db.RegisterMessage(ConnectionParams.OAuth) + +ConsistencyLevelRow = _reflection.GeneratedProtocolMessageType('ConsistencyLevelRow', (_message.Message,), { + 'DESCRIPTOR' : _CONSISTENCYLEVELROW, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.ConsistencyLevelRow) + }) +_sym_db.RegisterMessage(ConsistencyLevelRow) + +ConsistencyLevelGlobal = _reflection.GeneratedProtocolMessageType('ConsistencyLevelGlobal', (_message.Message,), { + 'DESCRIPTOR' : _CONSISTENCYLEVELGLOBAL, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.ConsistencyLevelGlobal) + }) +_sym_db.RegisterMessage(ConsistencyLevelGlobal) + +DescribeReplicationResult = _reflection.GeneratedProtocolMessageType('DescribeReplicationResult', (_message.Message,), { + + 'Stats' : _reflection.GeneratedProtocolMessageType('Stats', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEREPLICATIONRESULT_STATS, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.DescribeReplicationResult.Stats) + }) + , + + 'Item' : _reflection.GeneratedProtocolMessageType('Item', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEREPLICATIONRESULT_ITEM, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.DescribeReplicationResult.Item) + }) + , + + 'RunningState' : _reflection.GeneratedProtocolMessageType('RunningState', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEREPLICATIONRESULT_RUNNINGSTATE, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.DescribeReplicationResult.RunningState) + }) + , + + 'ErrorState' : _reflection.GeneratedProtocolMessageType('ErrorState', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEREPLICATIONRESULT_ERRORSTATE, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.DescribeReplicationResult.ErrorState) + }) + , + + 'DoneState' : _reflection.GeneratedProtocolMessageType('DoneState', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEREPLICATIONRESULT_DONESTATE, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.DescribeReplicationResult.DoneState) + }) + , + + 'PausedState' : _reflection.GeneratedProtocolMessageType('PausedState', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEREPLICATIONRESULT_PAUSEDSTATE, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.DescribeReplicationResult.PausedState) + }) + , + 'DESCRIPTOR' : _DESCRIBEREPLICATIONRESULT, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.DescribeReplicationResult) + }) +_sym_db.RegisterMessage(DescribeReplicationResult) +_sym_db.RegisterMessage(DescribeReplicationResult.Stats) +_sym_db.RegisterMessage(DescribeReplicationResult.Item) +_sym_db.RegisterMessage(DescribeReplicationResult.RunningState) +_sym_db.RegisterMessage(DescribeReplicationResult.ErrorState) +_sym_db.RegisterMessage(DescribeReplicationResult.DoneState) +_sym_db.RegisterMessage(DescribeReplicationResult.PausedState) + +DescribeTransferRequest = _reflection.GeneratedProtocolMessageType('DescribeTransferRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBETRANSFERREQUEST, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.DescribeTransferRequest) + }) +_sym_db.RegisterMessage(DescribeTransferRequest) + +DescribeTransferResponse = _reflection.GeneratedProtocolMessageType('DescribeTransferResponse', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBETRANSFERRESPONSE, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.DescribeTransferResponse) + }) +_sym_db.RegisterMessage(DescribeTransferResponse) + +DescribeTransferResult = _reflection.GeneratedProtocolMessageType('DescribeTransferResult', (_message.Message,), { + + 'RunningState' : _reflection.GeneratedProtocolMessageType('RunningState', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBETRANSFERRESULT_RUNNINGSTATE, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.DescribeTransferResult.RunningState) + }) + , + + 'ErrorState' : _reflection.GeneratedProtocolMessageType('ErrorState', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBETRANSFERRESULT_ERRORSTATE, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.DescribeTransferResult.ErrorState) + }) + , + + 'DoneState' : _reflection.GeneratedProtocolMessageType('DoneState', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBETRANSFERRESULT_DONESTATE, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.DescribeTransferResult.DoneState) + }) + , + + 'PausedState' : _reflection.GeneratedProtocolMessageType('PausedState', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBETRANSFERRESULT_PAUSEDSTATE, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.DescribeTransferResult.PausedState) + }) + , + + 'BatchSettings' : _reflection.GeneratedProtocolMessageType('BatchSettings', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBETRANSFERRESULT_BATCHSETTINGS, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.DescribeTransferResult.BatchSettings) + }) + , + 'DESCRIPTOR' : _DESCRIBETRANSFERRESULT, + '__module__' : 'draft.protos.ydb_replication_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Replication.DescribeTransferResult) + }) +_sym_db.RegisterMessage(DescribeTransferResult) +_sym_db.RegisterMessage(DescribeTransferResult.RunningState) +_sym_db.RegisterMessage(DescribeTransferResult.ErrorState) +_sym_db.RegisterMessage(DescribeTransferResult.DoneState) +_sym_db.RegisterMessage(DescribeTransferResult.PausedState) +_sym_db.RegisterMessage(DescribeTransferResult.BatchSettings) + + +DESCRIPTOR._options = None +_DESCRIBEREPLICATIONREQUEST.fields_by_name['path']._options = None +_DESCRIBETRANSFERREQUEST.fields_by_name['path']._options = None +# @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v3/draft/protos/ydb_replication_pb2_grpc.py b/ydb/_grpc/v3/draft/protos/ydb_replication_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/ydb/_grpc/v3/draft/protos/ydb_replication_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/ydb/_grpc/v3/draft/protos/ydb_view_pb2.py b/ydb/_grpc/v3/draft/protos/ydb_view_pb2.py new file mode 100644 index 000000000..4729023d4 --- /dev/null +++ b/ydb/_grpc/v3/draft/protos/ydb_view_pb2.py @@ -0,0 +1,174 @@ +# -*- coding: utf-8 -*- +# flake8: noqa +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: draft/protos/ydb_view.proto +"""Generated protocol buffer code.""" +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 ydb._grpc.v3.protos.annotations import validation_pb2 as protos_dot_annotations_dot_validation__pb2 +from ydb._grpc.v3.protos import ydb_operation_pb2 as protos_dot_ydb__operation__pb2 +from ydb._grpc.v3.protos import ydb_scheme_pb2 as protos_dot_ydb__scheme__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='draft/protos/ydb_view.proto', + package='Ydb.View', + syntax='proto3', + serialized_options=b'\n\031tech.ydb.proto.draft.viewZ=github.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_View\370\001\001', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n\x1b\x64raft/protos/ydb_view.proto\x12\x08Ydb.View\x1a#protos/annotations/validation.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x17protos/ydb_scheme.proto\"d\n\x13\x44\x65scribeViewRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\x04path\x18\x02 \x01(\tB\x04\x90\xe6*\x01\"D\n\x14\x44\x65scribeViewResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"I\n\x12\x44\x65scribeViewResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12\x12\n\nquery_text\x18\x02 \x01(\tB]\n\x19tech.ydb.proto.draft.viewZ=github.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_View\xf8\x01\x01\x62\x06proto3' + , + dependencies=[protos_dot_annotations_dot_validation__pb2.DESCRIPTOR,protos_dot_ydb__operation__pb2.DESCRIPTOR,protos_dot_ydb__scheme__pb2.DESCRIPTOR,]) + + + + +_DESCRIBEVIEWREQUEST = _descriptor.Descriptor( + name='DescribeViewRequest', + full_name='Ydb.View.DescribeViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='operation_params', full_name='Ydb.View.DescribeViewRequest.operation_params', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='path', full_name='Ydb.View.DescribeViewRequest.path', 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=b'\220\346*\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=131, + serialized_end=231, +) + + +_DESCRIBEVIEWRESPONSE = _descriptor.Descriptor( + name='DescribeViewResponse', + full_name='Ydb.View.DescribeViewResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='operation', full_name='Ydb.View.DescribeViewResponse.operation', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=233, + serialized_end=301, +) + + +_DESCRIBEVIEWRESULT = _descriptor.Descriptor( + name='DescribeViewResult', + full_name='Ydb.View.DescribeViewResult', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='self', full_name='Ydb.View.DescribeViewResult.self', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='query_text', full_name='Ydb.View.DescribeViewResult.query_text', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=303, + serialized_end=376, +) + +_DESCRIBEVIEWREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS +_DESCRIBEVIEWRESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION +_DESCRIBEVIEWRESULT.fields_by_name['self'].message_type = protos_dot_ydb__scheme__pb2._ENTRY +DESCRIPTOR.message_types_by_name['DescribeViewRequest'] = _DESCRIBEVIEWREQUEST +DESCRIPTOR.message_types_by_name['DescribeViewResponse'] = _DESCRIBEVIEWRESPONSE +DESCRIPTOR.message_types_by_name['DescribeViewResult'] = _DESCRIBEVIEWRESULT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DescribeViewRequest = _reflection.GeneratedProtocolMessageType('DescribeViewRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEVIEWREQUEST, + '__module__' : 'draft.protos.ydb_view_pb2' + # @@protoc_insertion_point(class_scope:Ydb.View.DescribeViewRequest) + }) +_sym_db.RegisterMessage(DescribeViewRequest) + +DescribeViewResponse = _reflection.GeneratedProtocolMessageType('DescribeViewResponse', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEVIEWRESPONSE, + '__module__' : 'draft.protos.ydb_view_pb2' + # @@protoc_insertion_point(class_scope:Ydb.View.DescribeViewResponse) + }) +_sym_db.RegisterMessage(DescribeViewResponse) + +DescribeViewResult = _reflection.GeneratedProtocolMessageType('DescribeViewResult', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEVIEWRESULT, + '__module__' : 'draft.protos.ydb_view_pb2' + # @@protoc_insertion_point(class_scope:Ydb.View.DescribeViewResult) + }) +_sym_db.RegisterMessage(DescribeViewResult) + + +DESCRIPTOR._options = None +_DESCRIBEVIEWREQUEST.fields_by_name['path']._options = None +# @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v3/draft/protos/ydb_view_pb2_grpc.py b/ydb/_grpc/v3/draft/protos/ydb_view_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/ydb/_grpc/v3/draft/protos/ydb_view_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/ydb/_grpc/v3/draft/ydb_replication_v1_pb2.py b/ydb/_grpc/v3/draft/ydb_replication_v1_pb2.py new file mode 100644 index 000000000..628734698 --- /dev/null +++ b/ydb/_grpc/v3/draft/ydb_replication_v1_pb2.py @@ -0,0 +1,70 @@ +# -*- coding: utf-8 -*- +# flake8: noqa +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: draft/ydb_replication_v1.proto +"""Generated protocol buffer code.""" +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 ydb._grpc.v3.draft.protos import ydb_replication_pb2 as draft_dot_protos_dot_ydb__replication__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='draft/ydb_replication_v1.proto', + package='Ydb.Replication.V1', + syntax='proto3', + serialized_options=b'\n#tech.ydb.proto.draft.replication.v1Z@github.com/ydb-platform/ydb-go-genproto/draft/Ydb_Replication_V1\370\001\001', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n\x1e\x64raft/ydb_replication_v1.proto\x12\x12Ydb.Replication.V1\x1a\"draft/protos/ydb_replication.proto2\xef\x01\n\x12ReplicationService\x12p\n\x13\x44\x65scribeReplication\x12+.Ydb.Replication.DescribeReplicationRequest\x1a,.Ydb.Replication.DescribeReplicationResponse\x12g\n\x10\x44\x65scribeTransfer\x12(.Ydb.Replication.DescribeTransferRequest\x1a).Ydb.Replication.DescribeTransferResponseBj\n#tech.ydb.proto.draft.replication.v1Z@github.com/ydb-platform/ydb-go-genproto/draft/Ydb_Replication_V1\xf8\x01\x01\x62\x06proto3' + , + dependencies=[draft_dot_protos_dot_ydb__replication__pb2.DESCRIPTOR,]) + + + +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + + +DESCRIPTOR._options = None + +_REPLICATIONSERVICE = _descriptor.ServiceDescriptor( + name='ReplicationService', + full_name='Ydb.Replication.V1.ReplicationService', + file=DESCRIPTOR, + index=0, + serialized_options=None, + create_key=_descriptor._internal_create_key, + serialized_start=91, + serialized_end=330, + methods=[ + _descriptor.MethodDescriptor( + name='DescribeReplication', + full_name='Ydb.Replication.V1.ReplicationService.DescribeReplication', + index=0, + containing_service=None, + input_type=draft_dot_protos_dot_ydb__replication__pb2._DESCRIBEREPLICATIONREQUEST, + output_type=draft_dot_protos_dot_ydb__replication__pb2._DESCRIBEREPLICATIONRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='DescribeTransfer', + full_name='Ydb.Replication.V1.ReplicationService.DescribeTransfer', + index=1, + containing_service=None, + input_type=draft_dot_protos_dot_ydb__replication__pb2._DESCRIBETRANSFERREQUEST, + output_type=draft_dot_protos_dot_ydb__replication__pb2._DESCRIBETRANSFERRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), +]) +_sym_db.RegisterServiceDescriptor(_REPLICATIONSERVICE) + +DESCRIPTOR.services_by_name['ReplicationService'] = _REPLICATIONSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v3/draft/ydb_replication_v1_pb2_grpc.py b/ydb/_grpc/v3/draft/ydb_replication_v1_pb2_grpc.py new file mode 100644 index 000000000..3a6d50f20 --- /dev/null +++ b/ydb/_grpc/v3/draft/ydb_replication_v1_pb2_grpc.py @@ -0,0 +1,99 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from ydb._grpc.v3.draft.protos import ydb_replication_pb2 as draft_dot_protos_dot_ydb__replication__pb2 + + +class ReplicationServiceStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.DescribeReplication = channel.unary_unary( + '/Ydb.Replication.V1.ReplicationService/DescribeReplication', + request_serializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationRequest.SerializeToString, + response_deserializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationResponse.FromString, + ) + self.DescribeTransfer = channel.unary_unary( + '/Ydb.Replication.V1.ReplicationService/DescribeTransfer', + request_serializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferRequest.SerializeToString, + response_deserializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferResponse.FromString, + ) + + +class ReplicationServiceServicer(object): + """Missing associated documentation comment in .proto file.""" + + def DescribeReplication(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DescribeTransfer(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ReplicationServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'DescribeReplication': grpc.unary_unary_rpc_method_handler( + servicer.DescribeReplication, + request_deserializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationRequest.FromString, + response_serializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationResponse.SerializeToString, + ), + 'DescribeTransfer': grpc.unary_unary_rpc_method_handler( + servicer.DescribeTransfer, + request_deserializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferRequest.FromString, + response_serializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'Ydb.Replication.V1.ReplicationService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class ReplicationService(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def DescribeReplication(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/Ydb.Replication.V1.ReplicationService/DescribeReplication', + draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationRequest.SerializeToString, + draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DescribeTransfer(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/Ydb.Replication.V1.ReplicationService/DescribeTransfer', + draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferRequest.SerializeToString, + draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/ydb/_grpc/v3/draft/ydb_view_v1_pb2.py b/ydb/_grpc/v3/draft/ydb_view_v1_pb2.py new file mode 100644 index 000000000..eee8d5cba --- /dev/null +++ b/ydb/_grpc/v3/draft/ydb_view_v1_pb2.py @@ -0,0 +1,60 @@ +# -*- coding: utf-8 -*- +# flake8: noqa +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: draft/ydb_view_v1.proto +"""Generated protocol buffer code.""" +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 ydb._grpc.v3.draft.protos import ydb_view_pb2 as draft_dot_protos_dot_ydb__view__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='draft/ydb_view_v1.proto', + package='Ydb.View.V1', + syntax='proto3', + serialized_options=b'\n\034tech.ydb.proto.draft.view.v1Z9github.com/ydb-platform/ydb-go-genproto/draft/Ydb_View_V1\370\001\001', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n\x17\x64raft/ydb_view_v1.proto\x12\x0bYdb.View.V1\x1a\x1b\x64raft/protos/ydb_view.proto2\\\n\x0bViewService\x12M\n\x0c\x44\x65scribeView\x12\x1d.Ydb.View.DescribeViewRequest\x1a\x1e.Ydb.View.DescribeViewResponseB\\\n\x1ctech.ydb.proto.draft.view.v1Z9github.com/ydb-platform/ydb-go-genproto/draft/Ydb_View_V1\xf8\x01\x01\x62\x06proto3' + , + dependencies=[draft_dot_protos_dot_ydb__view__pb2.DESCRIPTOR,]) + + + +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + + +DESCRIPTOR._options = None + +_VIEWSERVICE = _descriptor.ServiceDescriptor( + name='ViewService', + full_name='Ydb.View.V1.ViewService', + file=DESCRIPTOR, + index=0, + serialized_options=None, + create_key=_descriptor._internal_create_key, + serialized_start=69, + serialized_end=161, + methods=[ + _descriptor.MethodDescriptor( + name='DescribeView', + full_name='Ydb.View.V1.ViewService.DescribeView', + index=0, + containing_service=None, + input_type=draft_dot_protos_dot_ydb__view__pb2._DESCRIBEVIEWREQUEST, + output_type=draft_dot_protos_dot_ydb__view__pb2._DESCRIBEVIEWRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), +]) +_sym_db.RegisterServiceDescriptor(_VIEWSERVICE) + +DESCRIPTOR.services_by_name['ViewService'] = _VIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v3/draft/ydb_view_v1_pb2_grpc.py b/ydb/_grpc/v3/draft/ydb_view_v1_pb2_grpc.py new file mode 100644 index 000000000..c82c7e4f5 --- /dev/null +++ b/ydb/_grpc/v3/draft/ydb_view_v1_pb2_grpc.py @@ -0,0 +1,66 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from ydb._grpc.v3.draft.protos import ydb_view_pb2 as draft_dot_protos_dot_ydb__view__pb2 + + +class ViewServiceStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.DescribeView = channel.unary_unary( + '/Ydb.View.V1.ViewService/DescribeView', + request_serializer=draft_dot_protos_dot_ydb__view__pb2.DescribeViewRequest.SerializeToString, + response_deserializer=draft_dot_protos_dot_ydb__view__pb2.DescribeViewResponse.FromString, + ) + + +class ViewServiceServicer(object): + """Missing associated documentation comment in .proto file.""" + + def DescribeView(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ViewServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'DescribeView': grpc.unary_unary_rpc_method_handler( + servicer.DescribeView, + request_deserializer=draft_dot_protos_dot_ydb__view__pb2.DescribeViewRequest.FromString, + response_serializer=draft_dot_protos_dot_ydb__view__pb2.DescribeViewResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'Ydb.View.V1.ViewService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class ViewService(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def DescribeView(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/Ydb.View.V1.ViewService/DescribeView', + draft_dot_protos_dot_ydb__view__pb2.DescribeViewRequest.SerializeToString, + draft_dot_protos_dot_ydb__view__pb2.DescribeViewResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/ydb/_grpc/v3/protos/ydb_query_pb2.py b/ydb/_grpc/v3/protos/ydb_query_pb2.py index 1cd18f274..3872754b1 100644 --- a/ydb/_grpc/v3/protos/ydb_query_pb2.py +++ b/ydb/_grpc/v3/protos/ydb_query_pb2.py @@ -29,7 +29,7 @@ syntax='proto3', serialized_options=b'\n\024tech.ydb.proto.queryZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Query\370\001\001', create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x16protos/ydb_query.proto\x12\tYdb.Query\x1a\x1egoogle/protobuf/duration.proto\x1a#protos/annotations/validation.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1cprotos/ydb_query_stats.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x18protos/ydb_formats.proto\x1a\x16protos/ydb_value.proto\"\x16\n\x14\x43reateSessionRequest\"\xa3\x01\n\x15\x43reateSessionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x1b\n\nsession_id\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x19\n\x07node_id\x18\x04 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\"3\n\x14\x44\x65leteSessionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"k\n\x15\x44\x65leteSessionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"3\n\x14\x41ttachSessionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"b\n\x0cSessionState\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"\x1a\n\x18SerializableModeSettings\"6\n\x12OnlineModeSettings\x12 \n\x18\x61llow_inconsistent_reads\x18\x01 \x01(\x08\"\x13\n\x11StaleModeSettings\"\x16\n\x14SnapshotModeSettings\"\x18\n\x16SnapshotRWModeSettings\"\xdd\x02\n\x13TransactionSettings\x12\x46\n\x17serializable_read_write\x18\x01 \x01(\x0b\x32#.Ydb.Query.SerializableModeSettingsH\x00\x12\x39\n\x10online_read_only\x18\x02 \x01(\x0b\x32\x1d.Ydb.Query.OnlineModeSettingsH\x00\x12\x37\n\x0fstale_read_only\x18\x03 \x01(\x0b\x32\x1c.Ydb.Query.StaleModeSettingsH\x00\x12=\n\x12snapshot_read_only\x18\x04 \x01(\x0b\x32\x1f.Ydb.Query.SnapshotModeSettingsH\x00\x12@\n\x13snapshot_read_write\x18\x05 \x01(\x0b\x32!.Ydb.Query.SnapshotRWModeSettingsH\x00\x42\t\n\x07tx_mode\"\x84\x01\n\x12TransactionControl\x12\x18\n\x05tx_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08H\x00\x12\x32\n\x08\x62\x65gin_tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Query.TransactionSettingsH\x00\x12\x11\n\tcommit_tx\x18\n \x01(\x08\x42\r\n\x0btx_selector\"k\n\x17\x42\x65ginTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x33\n\x0btx_settings\x18\x02 \x01(\x0b\x32\x1e.Ydb.Query.TransactionSettings\"&\n\x0fTransactionMeta\x12\x13\n\x02id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"\x9b\x01\n\x18\x42\x65ginTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12+\n\x07tx_meta\x18\x03 \x01(\x0b\x32\x1a.Ydb.Query.TransactionMeta\"O\n\x18\x43ommitTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x16\n\x05tx_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"o\n\x19\x43ommitTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"Q\n\x1aRollbackTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x16\n\x05tx_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"q\n\x1bRollbackTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"?\n\x0cQueryContent\x12!\n\x06syntax\x18\x01 \x01(\x0e\x32\x11.Ydb.Query.Syntax\x12\x0c\n\x04text\x18\x02 \x01(\t\"\xb6\x05\n\x13\x45xecuteQueryRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12&\n\texec_mode\x18\x02 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12\x31\n\ntx_control\x18\x03 \x01(\x0b\x32\x1d.Ydb.Query.TransactionControl\x12\x30\n\rquery_content\x18\x04 \x01(\x0b\x32\x17.Ydb.Query.QueryContentH\x00\x12\x42\n\nparameters\x18\x06 \x03(\x0b\x32..Ydb.Query.ExecuteQueryRequest.ParametersEntry\x12(\n\nstats_mode\x18\x07 \x01(\x0e\x32\x14.Ydb.Query.StatsMode\x12\x1e\n\x16\x63oncurrent_result_sets\x18\x08 \x01(\x08\x12\x34\n\x19response_part_limit_bytes\x18\t \x01(\x03\x42\x11\xb2\xe6*\r[0; 33554432]\x12\x0f\n\x07pool_id\x18\n \x01(\t\x12!\n\x0fstats_period_ms\x18\x0b \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12=\n\x15schema_inclusion_mode\x18\x0c \x01(\x0e\x32\x1e.Ydb.Query.SchemaInclusionMode\x12\x30\n\x11result_set_format\x18\r \x01(\x0e\x32\x15.Ydb.ResultSet.Format\x12?\n\x15\x61rrow_format_settings\x18\x0e \x01(\x0b\x32 .Ydb.Formats.ArrowFormatSettings\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\x42\x07\n\x05query\"-\n\rResultSetMeta\x12\x1c\n\x07\x63olumns\x18\x01 \x03(\x0b\x32\x0b.Ydb.Column\"\x93\x02\n\x18\x45xecuteQueryResponsePart\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\x10result_set_index\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\"\n\nresult_set\x18\x04 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12.\n\nexec_stats\x18\x05 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\x12+\n\x07tx_meta\x18\x06 \x01(\x0b\x32\x1a.Ydb.Query.TransactionMeta\"\x9e\x03\n\x14\x45xecuteScriptRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12&\n\texec_mode\x18\x02 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12/\n\x0escript_content\x18\x03 \x01(\x0b\x32\x17.Ydb.Query.QueryContent\x12\x43\n\nparameters\x18\x04 \x03(\x0b\x32/.Ydb.Query.ExecuteScriptRequest.ParametersEntry\x12(\n\nstats_mode\x18\x05 \x01(\x0e\x32\x14.Ydb.Query.StatsMode\x12.\n\x0bresults_ttl\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07pool_id\x18\x07 \x01(\t\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"\x9f\x02\n\x15\x45xecuteScriptMetadata\x12\x1d\n\x0c\x65xecution_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12*\n\x0b\x65xec_status\x18\x02 \x01(\x0e\x32\x15.Ydb.Query.ExecStatus\x12/\n\x0escript_content\x18\x03 \x01(\x0b\x32\x17.Ydb.Query.QueryContent\x12\x32\n\x10result_sets_meta\x18\x04 \x03(\x0b\x32\x18.Ydb.Query.ResultSetMeta\x12&\n\texec_mode\x18\x05 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12.\n\nexec_stats\x18\x06 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"\x90\x01\n\x19\x46\x65tchScriptResultsRequest\x12\x1d\n\x0coperation_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x18\n\x10result_set_index\x18\x02 \x01(\x03\x12\x1c\n\x0b\x66\x65tch_token\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x1c\n\nrows_limit\x18\x04 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\"\xdb\x01\n\x1a\x46\x65tchScriptResultsResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\x10result_set_index\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\"\n\nresult_set\x18\x04 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12!\n\x10next_fetch_token\x18\x05 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"9\n\x06Script\x12/\n\x0escript_content\x18\x01 \x01(\x0b\x32\x17.Ydb.Query.QueryContent*B\n\x06Syntax\x12\x16\n\x12SYNTAX_UNSPECIFIED\x10\x00\x12\x11\n\rSYNTAX_YQL_V1\x10\x01\x12\r\n\tSYNTAX_PG\x10\x02*\x86\x01\n\x08\x45xecMode\x12\x19\n\x15\x45XEC_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x45XEC_MODE_PARSE\x10\n\x12\x16\n\x12\x45XEC_MODE_VALIDATE\x10\x14\x12\x15\n\x11\x45XEC_MODE_EXPLAIN\x10\x1e\x12\x15\n\x11\x45XEC_MODE_EXECUTE\x10\x32\"\x04\x08(\x10(*\x7f\n\tStatsMode\x12\x1a\n\x16STATS_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSTATS_MODE_NONE\x10\n\x12\x14\n\x10STATS_MODE_BASIC\x10\x14\x12\x13\n\x0fSTATS_MODE_FULL\x10\x1e\x12\x16\n\x12STATS_MODE_PROFILE\x10(*\x84\x01\n\x13SchemaInclusionMode\x12%\n!SCHEMA_INCLUSION_MODE_UNSPECIFIED\x10\x00\x12 \n\x1cSCHEMA_INCLUSION_MODE_ALWAYS\x10\x01\x12$\n SCHEMA_INCLUSION_MODE_FIRST_ONLY\x10\x02*\xaa\x01\n\nExecStatus\x12\x1b\n\x17\x45XEC_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14\x45XEC_STATUS_STARTING\x10\n\x12\x17\n\x13\x45XEC_STATUS_ABORTED\x10\x14\x12\x19\n\x15\x45XEC_STATUS_CANCELLED\x10\x1e\x12\x19\n\x15\x45XEC_STATUS_COMPLETED\x10(\x12\x16\n\x12\x45XEC_STATUS_FAILED\x10\x32\x42S\n\x14tech.ydb.proto.queryZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Query\xf8\x01\x01\x62\x06proto3' + serialized_pb=b'\n\x16protos/ydb_query.proto\x12\tYdb.Query\x1a\x1egoogle/protobuf/duration.proto\x1a#protos/annotations/validation.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1cprotos/ydb_query_stats.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x18protos/ydb_formats.proto\x1a\x16protos/ydb_value.proto\"\x16\n\x14\x43reateSessionRequest\"\xa3\x01\n\x15\x43reateSessionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x1b\n\nsession_id\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x19\n\x07node_id\x18\x04 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\"3\n\x14\x44\x65leteSessionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"k\n\x15\x44\x65leteSessionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"3\n\x14\x41ttachSessionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"\x15\n\x13SessionShutdownHint\"\x12\n\x10NodeShutdownHint\"\xe4\x01\n\x0cSessionState\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12:\n\x10session_shutdown\x18\x03 \x01(\x0b\x32\x1e.Ydb.Query.SessionShutdownHintH\x00\x12\x34\n\rnode_shutdown\x18\x04 \x01(\x0b\x32\x1b.Ydb.Query.NodeShutdownHintH\x00\x42\x0e\n\x0csession_hint\"\x1a\n\x18SerializableModeSettings\"6\n\x12OnlineModeSettings\x12 \n\x18\x61llow_inconsistent_reads\x18\x01 \x01(\x08\"\x13\n\x11StaleModeSettings\"\x16\n\x14SnapshotModeSettings\"\x18\n\x16SnapshotRWModeSettings\"\xdd\x02\n\x13TransactionSettings\x12\x46\n\x17serializable_read_write\x18\x01 \x01(\x0b\x32#.Ydb.Query.SerializableModeSettingsH\x00\x12\x39\n\x10online_read_only\x18\x02 \x01(\x0b\x32\x1d.Ydb.Query.OnlineModeSettingsH\x00\x12\x37\n\x0fstale_read_only\x18\x03 \x01(\x0b\x32\x1c.Ydb.Query.StaleModeSettingsH\x00\x12=\n\x12snapshot_read_only\x18\x04 \x01(\x0b\x32\x1f.Ydb.Query.SnapshotModeSettingsH\x00\x12@\n\x13snapshot_read_write\x18\x05 \x01(\x0b\x32!.Ydb.Query.SnapshotRWModeSettingsH\x00\x42\t\n\x07tx_mode\"\x84\x01\n\x12TransactionControl\x12\x18\n\x05tx_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08H\x00\x12\x32\n\x08\x62\x65gin_tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Query.TransactionSettingsH\x00\x12\x11\n\tcommit_tx\x18\n \x01(\x08\x42\r\n\x0btx_selector\"k\n\x17\x42\x65ginTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x33\n\x0btx_settings\x18\x02 \x01(\x0b\x32\x1e.Ydb.Query.TransactionSettings\"&\n\x0fTransactionMeta\x12\x13\n\x02id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"\x9b\x01\n\x18\x42\x65ginTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12+\n\x07tx_meta\x18\x03 \x01(\x0b\x32\x1a.Ydb.Query.TransactionMeta\"O\n\x18\x43ommitTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x16\n\x05tx_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"o\n\x19\x43ommitTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"Q\n\x1aRollbackTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x16\n\x05tx_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"q\n\x1bRollbackTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"?\n\x0cQueryContent\x12!\n\x06syntax\x18\x01 \x01(\x0e\x32\x11.Ydb.Query.Syntax\x12\x0c\n\x04text\x18\x02 \x01(\t\"\xb6\x05\n\x13\x45xecuteQueryRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12&\n\texec_mode\x18\x02 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12\x31\n\ntx_control\x18\x03 \x01(\x0b\x32\x1d.Ydb.Query.TransactionControl\x12\x30\n\rquery_content\x18\x04 \x01(\x0b\x32\x17.Ydb.Query.QueryContentH\x00\x12\x42\n\nparameters\x18\x06 \x03(\x0b\x32..Ydb.Query.ExecuteQueryRequest.ParametersEntry\x12(\n\nstats_mode\x18\x07 \x01(\x0e\x32\x14.Ydb.Query.StatsMode\x12\x1e\n\x16\x63oncurrent_result_sets\x18\x08 \x01(\x08\x12\x34\n\x19response_part_limit_bytes\x18\t \x01(\x03\x42\x11\xb2\xe6*\r[0; 33554432]\x12\x0f\n\x07pool_id\x18\n \x01(\t\x12!\n\x0fstats_period_ms\x18\x0b \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12=\n\x15schema_inclusion_mode\x18\x0c \x01(\x0e\x32\x1e.Ydb.Query.SchemaInclusionMode\x12\x30\n\x11result_set_format\x18\r \x01(\x0e\x32\x15.Ydb.ResultSet.Format\x12?\n\x15\x61rrow_format_settings\x18\x0e \x01(\x0b\x32 .Ydb.Formats.ArrowFormatSettings\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\x42\x07\n\x05query\"-\n\rResultSetMeta\x12\x1c\n\x07\x63olumns\x18\x01 \x03(\x0b\x32\x0b.Ydb.Column\"\x93\x02\n\x18\x45xecuteQueryResponsePart\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\x10result_set_index\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\"\n\nresult_set\x18\x04 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12.\n\nexec_stats\x18\x05 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\x12+\n\x07tx_meta\x18\x06 \x01(\x0b\x32\x1a.Ydb.Query.TransactionMeta\"\x9e\x03\n\x14\x45xecuteScriptRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12&\n\texec_mode\x18\x02 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12/\n\x0escript_content\x18\x03 \x01(\x0b\x32\x17.Ydb.Query.QueryContent\x12\x43\n\nparameters\x18\x04 \x03(\x0b\x32/.Ydb.Query.ExecuteScriptRequest.ParametersEntry\x12(\n\nstats_mode\x18\x05 \x01(\x0e\x32\x14.Ydb.Query.StatsMode\x12.\n\x0bresults_ttl\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07pool_id\x18\x07 \x01(\t\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"\x9f\x02\n\x15\x45xecuteScriptMetadata\x12\x1d\n\x0c\x65xecution_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12*\n\x0b\x65xec_status\x18\x02 \x01(\x0e\x32\x15.Ydb.Query.ExecStatus\x12/\n\x0escript_content\x18\x03 \x01(\x0b\x32\x17.Ydb.Query.QueryContent\x12\x32\n\x10result_sets_meta\x18\x04 \x03(\x0b\x32\x18.Ydb.Query.ResultSetMeta\x12&\n\texec_mode\x18\x05 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12.\n\nexec_stats\x18\x06 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"\x90\x01\n\x19\x46\x65tchScriptResultsRequest\x12\x1d\n\x0coperation_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x18\n\x10result_set_index\x18\x02 \x01(\x03\x12\x1c\n\x0b\x66\x65tch_token\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x1c\n\nrows_limit\x18\x04 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\"\xdb\x01\n\x1a\x46\x65tchScriptResultsResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\x10result_set_index\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\"\n\nresult_set\x18\x04 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12!\n\x10next_fetch_token\x18\x05 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"9\n\x06Script\x12/\n\x0escript_content\x18\x01 \x01(\x0b\x32\x17.Ydb.Query.QueryContent*B\n\x06Syntax\x12\x16\n\x12SYNTAX_UNSPECIFIED\x10\x00\x12\x11\n\rSYNTAX_YQL_V1\x10\x01\x12\r\n\tSYNTAX_PG\x10\x02*\x86\x01\n\x08\x45xecMode\x12\x19\n\x15\x45XEC_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x45XEC_MODE_PARSE\x10\n\x12\x16\n\x12\x45XEC_MODE_VALIDATE\x10\x14\x12\x15\n\x11\x45XEC_MODE_EXPLAIN\x10\x1e\x12\x15\n\x11\x45XEC_MODE_EXECUTE\x10\x32\"\x04\x08(\x10(*\x7f\n\tStatsMode\x12\x1a\n\x16STATS_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSTATS_MODE_NONE\x10\n\x12\x14\n\x10STATS_MODE_BASIC\x10\x14\x12\x13\n\x0fSTATS_MODE_FULL\x10\x1e\x12\x16\n\x12STATS_MODE_PROFILE\x10(*\x84\x01\n\x13SchemaInclusionMode\x12%\n!SCHEMA_INCLUSION_MODE_UNSPECIFIED\x10\x00\x12 \n\x1cSCHEMA_INCLUSION_MODE_ALWAYS\x10\x01\x12$\n SCHEMA_INCLUSION_MODE_FIRST_ONLY\x10\x02*\xaa\x01\n\nExecStatus\x12\x1b\n\x17\x45XEC_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14\x45XEC_STATUS_STARTING\x10\n\x12\x17\n\x13\x45XEC_STATUS_ABORTED\x10\x14\x12\x19\n\x15\x45XEC_STATUS_CANCELLED\x10\x1e\x12\x19\n\x15\x45XEC_STATUS_COMPLETED\x10(\x12\x16\n\x12\x45XEC_STATUS_FAILED\x10\x32\x42S\n\x14tech.ydb.proto.queryZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Query\xf8\x01\x01\x62\x06proto3' , dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,protos_dot_annotations_dot_validation__pb2.DESCRIPTOR,protos_dot_ydb__issue__message__pb2.DESCRIPTOR,protos_dot_ydb__operation__pb2.DESCRIPTOR,protos_dot_ydb__query__stats__pb2.DESCRIPTOR,protos_dot_ydb__status__codes__pb2.DESCRIPTOR,protos_dot_ydb__formats__pb2.DESCRIPTOR,protos_dot_ydb__value__pb2.DESCRIPTOR,]) @@ -58,8 +58,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=4345, - serialized_end=4411, + serialized_start=4519, + serialized_end=4585, ) _sym_db.RegisterEnumDescriptor(_SYNTAX) @@ -99,8 +99,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=4414, - serialized_end=4548, + serialized_start=4588, + serialized_end=4722, ) _sym_db.RegisterEnumDescriptor(_EXECMODE) @@ -140,8 +140,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=4550, - serialized_end=4677, + serialized_start=4724, + serialized_end=4851, ) _sym_db.RegisterEnumDescriptor(_STATSMODE) @@ -171,8 +171,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=4680, - serialized_end=4812, + serialized_start=4854, + serialized_end=4986, ) _sym_db.RegisterEnumDescriptor(_SCHEMAINCLUSIONMODE) @@ -217,8 +217,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=4815, - serialized_end=4985, + serialized_start=4989, + serialized_end=5159, ) _sym_db.RegisterEnumDescriptor(_EXECSTATUS) @@ -429,6 +429,56 @@ ) +_SESSIONSHUTDOWNHINT = _descriptor.Descriptor( + name='SessionShutdownHint', + full_name='Ydb.Query.SessionShutdownHint', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=682, + serialized_end=703, +) + + +_NODESHUTDOWNHINT = _descriptor.Descriptor( + name='NodeShutdownHint', + full_name='Ydb.Query.NodeShutdownHint', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=705, + serialized_end=723, +) + + _SESSIONSTATE = _descriptor.Descriptor( name='SessionState', full_name='Ydb.Query.SessionState', @@ -451,6 +501,20 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='session_shutdown', full_name='Ydb.Query.SessionState.session_shutdown', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='node_shutdown', full_name='Ydb.Query.SessionState.node_shutdown', 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, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -462,9 +526,14 @@ syntax='proto3', extension_ranges=[], oneofs=[ + _descriptor.OneofDescriptor( + name='session_hint', full_name='Ydb.Query.SessionState.session_hint', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), ], - serialized_start=682, - serialized_end=780, + serialized_start=726, + serialized_end=954, ) @@ -488,8 +557,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=782, - serialized_end=808, + serialized_start=956, + serialized_end=982, ) @@ -520,8 +589,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=810, - serialized_end=864, + serialized_start=984, + serialized_end=1038, ) @@ -545,8 +614,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=866, - serialized_end=885, + serialized_start=1040, + serialized_end=1059, ) @@ -570,8 +639,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=887, - serialized_end=909, + serialized_start=1061, + serialized_end=1083, ) @@ -595,8 +664,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=911, - serialized_end=935, + serialized_start=1085, + serialized_end=1109, ) @@ -660,8 +729,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=938, - serialized_end=1287, + serialized_start=1112, + serialized_end=1461, ) @@ -711,8 +780,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=1290, - serialized_end=1422, + serialized_start=1464, + serialized_end=1596, ) @@ -750,8 +819,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1424, - serialized_end=1531, + serialized_start=1598, + serialized_end=1705, ) @@ -782,8 +851,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1533, - serialized_end=1571, + serialized_start=1707, + serialized_end=1745, ) @@ -828,8 +897,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1574, - serialized_end=1729, + serialized_start=1748, + serialized_end=1903, ) @@ -867,8 +936,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1731, - serialized_end=1810, + serialized_start=1905, + serialized_end=1984, ) @@ -906,8 +975,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1812, - serialized_end=1923, + serialized_start=1986, + serialized_end=2097, ) @@ -945,8 +1014,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1925, - serialized_end=2006, + serialized_start=2099, + serialized_end=2180, ) @@ -984,8 +1053,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2008, - serialized_end=2121, + serialized_start=2182, + serialized_end=2295, ) @@ -1023,8 +1092,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2123, - serialized_end=2186, + serialized_start=2297, + serialized_end=2360, ) @@ -1062,8 +1131,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2808, - serialized_end=2874, + serialized_start=2982, + serialized_end=3048, ) _EXECUTEQUERYREQUEST = _descriptor.Descriptor( @@ -1182,8 +1251,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=2189, - serialized_end=2883, + serialized_start=2363, + serialized_end=3057, ) @@ -1214,8 +1283,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2885, - serialized_end=2930, + serialized_start=3059, + serialized_end=3104, ) @@ -1281,8 +1350,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2933, - serialized_end=3208, + serialized_start=3107, + serialized_end=3382, ) @@ -1320,8 +1389,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2808, - serialized_end=2874, + serialized_start=2982, + serialized_end=3048, ) _EXECUTESCRIPTREQUEST = _descriptor.Descriptor( @@ -1393,8 +1462,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3211, - serialized_end=3625, + serialized_start=3385, + serialized_end=3799, ) @@ -1460,8 +1529,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3628, - serialized_end=3915, + serialized_start=3802, + serialized_end=4089, ) @@ -1513,8 +1582,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3918, - serialized_end=4062, + serialized_start=4092, + serialized_end=4236, ) @@ -1573,8 +1642,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4065, - serialized_end=4284, + serialized_start=4239, + serialized_end=4458, ) @@ -1605,8 +1674,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4286, - serialized_end=4343, + serialized_start=4460, + serialized_end=4517, ) _CREATESESSIONRESPONSE.fields_by_name['status'].enum_type = protos_dot_ydb__status__codes__pb2._STATUSIDS_STATUSCODE @@ -1615,6 +1684,14 @@ _DELETESESSIONRESPONSE.fields_by_name['issues'].message_type = protos_dot_ydb__issue__message__pb2._ISSUEMESSAGE _SESSIONSTATE.fields_by_name['status'].enum_type = protos_dot_ydb__status__codes__pb2._STATUSIDS_STATUSCODE _SESSIONSTATE.fields_by_name['issues'].message_type = protos_dot_ydb__issue__message__pb2._ISSUEMESSAGE +_SESSIONSTATE.fields_by_name['session_shutdown'].message_type = _SESSIONSHUTDOWNHINT +_SESSIONSTATE.fields_by_name['node_shutdown'].message_type = _NODESHUTDOWNHINT +_SESSIONSTATE.oneofs_by_name['session_hint'].fields.append( + _SESSIONSTATE.fields_by_name['session_shutdown']) +_SESSIONSTATE.fields_by_name['session_shutdown'].containing_oneof = _SESSIONSTATE.oneofs_by_name['session_hint'] +_SESSIONSTATE.oneofs_by_name['session_hint'].fields.append( + _SESSIONSTATE.fields_by_name['node_shutdown']) +_SESSIONSTATE.fields_by_name['node_shutdown'].containing_oneof = _SESSIONSTATE.oneofs_by_name['session_hint'] _TRANSACTIONSETTINGS.fields_by_name['serializable_read_write'].message_type = _SERIALIZABLEMODESETTINGS _TRANSACTIONSETTINGS.fields_by_name['online_read_only'].message_type = _ONLINEMODESETTINGS _TRANSACTIONSETTINGS.fields_by_name['stale_read_only'].message_type = _STALEMODESETTINGS @@ -1692,6 +1769,8 @@ DESCRIPTOR.message_types_by_name['DeleteSessionRequest'] = _DELETESESSIONREQUEST DESCRIPTOR.message_types_by_name['DeleteSessionResponse'] = _DELETESESSIONRESPONSE DESCRIPTOR.message_types_by_name['AttachSessionRequest'] = _ATTACHSESSIONREQUEST +DESCRIPTOR.message_types_by_name['SessionShutdownHint'] = _SESSIONSHUTDOWNHINT +DESCRIPTOR.message_types_by_name['NodeShutdownHint'] = _NODESHUTDOWNHINT DESCRIPTOR.message_types_by_name['SessionState'] = _SESSIONSTATE DESCRIPTOR.message_types_by_name['SerializableModeSettings'] = _SERIALIZABLEMODESETTINGS DESCRIPTOR.message_types_by_name['OnlineModeSettings'] = _ONLINEMODESETTINGS @@ -1758,6 +1837,20 @@ }) _sym_db.RegisterMessage(AttachSessionRequest) +SessionShutdownHint = _reflection.GeneratedProtocolMessageType('SessionShutdownHint', (_message.Message,), { + 'DESCRIPTOR' : _SESSIONSHUTDOWNHINT, + '__module__' : 'protos.ydb_query_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Query.SessionShutdownHint) + }) +_sym_db.RegisterMessage(SessionShutdownHint) + +NodeShutdownHint = _reflection.GeneratedProtocolMessageType('NodeShutdownHint', (_message.Message,), { + 'DESCRIPTOR' : _NODESHUTDOWNHINT, + '__module__' : 'protos.ydb_query_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Query.NodeShutdownHint) + }) +_sym_db.RegisterMessage(NodeShutdownHint) + SessionState = _reflection.GeneratedProtocolMessageType('SessionState', (_message.Message,), { 'DESCRIPTOR' : _SESSIONSTATE, '__module__' : 'protos.ydb_query_pb2' diff --git a/ydb/_grpc/v3/protos/ydb_table_pb2.py b/ydb/_grpc/v3/protos/ydb_table_pb2.py index a5eb56f7e..a0694c024 100644 --- a/ydb/_grpc/v3/protos/ydb_table_pb2.py +++ b/ydb/_grpc/v3/protos/ydb_table_pb2.py @@ -34,7 +34,7 @@ syntax='proto3', serialized_options=b'\n\024tech.ydb.proto.tableZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Table\370\001\001', create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x16protos/ydb_table.proto\x12\tYdb.Table\x1a#protos/annotations/validation.proto\x1a\x17protos/ydb_common.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1cprotos/ydb_query_stats.proto\x1a\x16protos/ydb_value.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x16protos/ydb_topic.proto\x1a\x18protos/ydb_formats.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"Q\n\x14\x43reateSessionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"E\n\x15\x43reateSessionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\")\n\x13\x43reateSessionResult\x12\x12\n\nsession_id\x18\x01 \x01(\t\"e\n\x14\x44\x65leteSessionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x39\n\x10operation_params\x18\x02 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"E\n\x15\x44\x65leteSessionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\r\n\x0bGlobalIndex\"\x12\n\x10GlobalAsyncIndex\"\x13\n\x11GlobalUniqueIndex\"\xf7\x01\n\nTableIndex\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rindex_columns\x18\x02 \x03(\t\x12.\n\x0cglobal_index\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.GlobalIndexH\x00\x12\x39\n\x12global_async_index\x18\x04 \x01(\x0b\x32\x1b.Ydb.Table.GlobalAsyncIndexH\x00\x12;\n\x13global_unique_index\x18\x06 \x01(\x0b\x32\x1c.Ydb.Table.GlobalUniqueIndexH\x00\x12\x14\n\x0c\x64\x61ta_columns\x18\x05 \x03(\tB\x06\n\x04type\"\x98\x03\n\x15TableIndexDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rindex_columns\x18\x02 \x03(\t\x12.\n\x0cglobal_index\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.GlobalIndexH\x00\x12\x39\n\x12global_async_index\x18\x05 \x01(\x0b\x32\x1b.Ydb.Table.GlobalAsyncIndexH\x00\x12;\n\x13global_unique_index\x18\x08 \x01(\x0b\x32\x1c.Ydb.Table.GlobalUniqueIndexH\x00\x12\x37\n\x06status\x18\x04 \x01(\x0e\x32\'.Ydb.Table.TableIndexDescription.Status\x12\x14\n\x0c\x64\x61ta_columns\x18\x06 \x03(\t\x12\x12\n\nsize_bytes\x18\x07 \x01(\x04\"G\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATUS_READY\x10\x01\x12\x13\n\x0fSTATUS_BUILDING\x10\x02\x42\x06\n\x04type\"\xdd\x01\n\x0fIndexBuildState\"\xc9\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSTATE_PREPARING\x10\x01\x12\x1a\n\x16STATE_TRANSFERING_DATA\x10\x02\x12\x12\n\x0eSTATE_APPLYING\x10\x03\x12\x0e\n\nSTATE_DONE\x10\x04\x12\x16\n\x12STATE_CANCELLATION\x10\x05\x12\x13\n\x0fSTATE_CANCELLED\x10\x06\x12\x13\n\x0fSTATE_REJECTION\x10\x07\x12\x12\n\x0eSTATE_REJECTED\x10\x08\"K\n\x15IndexBuildDescription\x12\x0c\n\x04path\x18\x01 \x01(\t\x12$\n\x05index\x18\x02 \x01(\x0b\x32\x15.Ydb.Table.TableIndex\"\x8e\x01\n\x12IndexBuildMetadata\x12\x35\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32 .Ydb.Table.IndexBuildDescription\x12/\n\x05state\x18\x02 \x01(\x0e\x32 .Ydb.Table.IndexBuildState.State\x12\x10\n\x08progress\x18\x03 \x01(\x02\"\x9a\x01\n\x0e\x43hangefeedMode\"\x87\x01\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0eMODE_KEYS_ONLY\x10\x01\x12\x10\n\x0cMODE_UPDATES\x10\x02\x12\x12\n\x0eMODE_NEW_IMAGE\x10\x03\x12\x12\n\x0eMODE_OLD_IMAGE\x10\x04\x12\x1b\n\x17MODE_NEW_AND_OLD_IMAGES\x10\x05\"\x81\x01\n\x10\x43hangefeedFormat\"m\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x46ORMAT_JSON\x10\x01\x12 \n\x1c\x46ORMAT_DYNAMODB_STREAMS_JSON\x10\x02\x12\x18\n\x14\x46ORMAT_DEBEZIUM_JSON\x10\x03\"\x8e\x04\n\nChangefeed\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x04mode\x18\x02 \x01(\x0e\x32\x1e.Ydb.Table.ChangefeedMode.Mode\x12\x32\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\".Ydb.Table.ChangefeedFormat.Format\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1a\n\x12virtual_timestamps\x18\x05 \x01(\x08\x12\x14\n\x0cinitial_scan\x18\x06 \x01(\x08\x12R\n\nattributes\x18\x07 \x03(\x0b\x32%.Ydb.Table.Changefeed.AttributesEntryB\x17\xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\xa2\xe6*\x07\n\x05\x08\x01\x10\x80 \x12\x1b\n\naws_region\x18\x08 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12?\n\x1cresolved_timestamps_interval\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x44\n\x1btopic_partitioning_settings\x18\n \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x87\x04\n\x15\x43hangefeedDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x04mode\x18\x02 \x01(\x0e\x32\x1e.Ydb.Table.ChangefeedMode.Mode\x12\x32\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\".Ydb.Table.ChangefeedFormat.Format\x12\x35\n\x05state\x18\x04 \x01(\x0e\x32&.Ydb.Table.ChangefeedDescription.State\x12\x1a\n\x12virtual_timestamps\x18\x05 \x01(\x08\x12\x44\n\nattributes\x18\x06 \x03(\x0b\x32\x30.Ydb.Table.ChangefeedDescription.AttributesEntry\x12\x12\n\naws_region\x18\x07 \x01(\t\x12?\n\x1cresolved_timestamps_interval\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"]\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_ENABLED\x10\x01\x12\x12\n\x0eSTATE_DISABLED\x10\x02\x12\x16\n\x12STATE_INITIAL_SCAN\x10\x03\"\x1c\n\x0bStoragePool\x12\r\n\x05media\x18\x01 \x01(\t\"\xaa\x02\n\rStoragePolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12&\n\x06syslog\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12#\n\x03log\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12$\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x05 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12/\n\x0ekeep_in_memory\x18\x06 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x36\n\x0f\x63olumn_families\x18\x07 \x03(\x0b\x32\x1d.Ydb.Table.ColumnFamilyPolicy\"\xb1\x02\n\x12\x43olumnFamilyPolicy\x12\x0c\n\x04name\x18\x01 \x01(\t\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12/\n\x0ekeep_in_memory\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12>\n\x0b\x63ompression\x18\x05 \x01(\x0e\x32).Ydb.Table.ColumnFamilyPolicy.Compression\"L\n\x0b\x43ompression\x12\x1b\n\x17\x43OMPRESSION_UNSPECIFIED\x10\x00\x12\x10\n\x0cUNCOMPRESSED\x10\x01\x12\x0e\n\nCOMPRESSED\x10\x02\"\'\n\x10\x43ompactionPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\";\n\x12\x45xplicitPartitions\x12%\n\x0csplit_points\x18\x01 \x03(\x0b\x32\x0f.Ydb.TypedValue\"S\n\x0ePartitionStats\x12\x15\n\rrows_estimate\x18\x01 \x01(\x04\x12\x12\n\nstore_size\x18\x02 \x01(\x04\x12\x16\n\x0eleader_node_id\x18\x03 \x01(\r\"\xe9\x01\n\nTableStats\x12\x32\n\x0fpartition_stats\x18\x01 \x03(\x0b\x32\x19.Ydb.Table.PartitionStats\x12\x15\n\rrows_estimate\x18\x02 \x01(\x04\x12\x12\n\nstore_size\x18\x03 \x01(\x04\x12\x12\n\npartitions\x18\x04 \x01(\x04\x12\x31\n\rcreation_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11modification_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xdc\x02\n\x12PartitioningPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12O\n\x11\x61uto_partitioning\x18\x02 \x01(\x0e\x32\x34.Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy\x12\x1c\n\x12uniform_partitions\x18\x03 \x01(\x04H\x00\x12<\n\x13\x65xplicit_partitions\x18\x04 \x01(\x0b\x32\x1d.Ydb.Table.ExplicitPartitionsH\x00\"v\n\x16\x41utoPartitioningPolicy\x12(\n$AUTO_PARTITIONING_POLICY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x0e\n\nAUTO_SPLIT\x10\x02\x12\x14\n\x10\x41UTO_SPLIT_MERGE\x10\x03\x42\x0c\n\npartitions\"&\n\x0f\x45xecutionPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\"\xb1\x01\n\x11ReplicationPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12\x16\n\x0ereplicas_count\x18\x02 \x01(\r\x12=\n\x1c\x63reate_per_availability_zone\x18\x03 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x30\n\x0f\x61llow_promotion\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"$\n\rCachingPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\"\xeb\x02\n\x0cTableProfile\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12\x30\n\x0estorage_policy\x18\x02 \x01(\x0b\x32\x18.Ydb.Table.StoragePolicy\x12\x36\n\x11\x63ompaction_policy\x18\x03 \x01(\x0b\x32\x1b.Ydb.Table.CompactionPolicy\x12:\n\x13partitioning_policy\x18\x04 \x01(\x0b\x32\x1d.Ydb.Table.PartitioningPolicy\x12\x34\n\x10\x65xecution_policy\x18\x05 \x01(\x0b\x32\x1a.Ydb.Table.ExecutionPolicy\x12\x38\n\x12replication_policy\x18\x06 \x01(\x0b\x32\x1c.Ydb.Table.ReplicationPolicy\x12\x30\n\x0e\x63\x61\x63hing_policy\x18\x07 \x01(\x0b\x32\x18.Ydb.Table.CachingPolicy\"\xaa\x03\n\x13SequenceDescription\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x16\n\tmin_value\x18\x02 \x01(\x12H\x01\x88\x01\x01\x12\x16\n\tmax_value\x18\x03 \x01(\x12H\x02\x88\x01\x01\x12\x18\n\x0bstart_value\x18\x04 \x01(\x12H\x03\x88\x01\x01\x12\x12\n\x05\x63\x61\x63he\x18\x05 \x01(\x04H\x04\x88\x01\x01\x12\x16\n\tincrement\x18\x06 \x01(\x12H\x05\x88\x01\x01\x12\x12\n\x05\x63ycle\x18\x07 \x01(\x08H\x06\x88\x01\x01\x12;\n\x07set_val\x18\x08 \x01(\x0b\x32%.Ydb.Table.SequenceDescription.SetValH\x07\x88\x01\x01\x1aV\n\x06SetVal\x12\x17\n\nnext_value\x18\x01 \x01(\x12H\x00\x88\x01\x01\x12\x16\n\tnext_used\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\r\n\x0b_next_valueB\x0c\n\n_next_usedB\x07\n\x05_nameB\x0c\n\n_min_valueB\x0c\n\n_max_valueB\x0e\n\x0c_start_valueB\x08\n\x06_cacheB\x0c\n\n_incrementB\x08\n\x06_cycleB\n\n\x08_set_val\"\xda\x01\n\nColumnMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\x04type\x18\x02 \x01(\x0b\x32\t.Ydb.Type\x12\x0e\n\x06\x66\x61mily\x18\x03 \x01(\t\x12\x15\n\x08not_null\x18\x04 \x01(\x08H\x01\x88\x01\x01\x12\'\n\x0c\x66rom_literal\x18\x05 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12\x37\n\rfrom_sequence\x18\x06 \x01(\x0b\x32\x1e.Ydb.Table.SequenceDescriptionH\x00\x42\x0f\n\rdefault_valueB\x0b\n\t_not_null\"O\n\x1a\x44\x61teTypeColumnModeSettings\x12\x13\n\x0b\x63olumn_name\x18\x01 \x01(\t\x12\x1c\n\x14\x65xpire_after_seconds\x18\x02 \x01(\r\"\x8e\x02\n\x1fValueSinceUnixEpochModeSettings\x12\x13\n\x0b\x63olumn_name\x18\x01 \x01(\t\x12\x44\n\x0b\x63olumn_unit\x18\x02 \x01(\x0e\x32/.Ydb.Table.ValueSinceUnixEpochModeSettings.Unit\x12\x1c\n\x14\x65xpire_after_seconds\x18\x03 \x01(\r\"r\n\x04Unit\x12\x14\n\x10UNIT_UNSPECIFIED\x10\x00\x12\x10\n\x0cUNIT_SECONDS\x10\x01\x12\x15\n\x11UNIT_MILLISECONDS\x10\x02\x12\x15\n\x11UNIT_MICROSECONDS\x10\x03\x12\x14\n\x10UNIT_NANOSECONDS\x10\x04\"\xc4\x01\n\x0bTtlSettings\x12\x41\n\x10\x64\x61te_type_column\x18\x01 \x01(\x0b\x32%.Ydb.Table.DateTypeColumnModeSettingsH\x00\x12L\n\x16value_since_unix_epoch\x18\x02 \x01(\x0b\x32*.Ydb.Table.ValueSinceUnixEpochModeSettingsH\x00\x12\x1c\n\x14run_interval_seconds\x18\x03 \x01(\rB\x06\n\x04mode\"\xda\x01\n\x0fStorageSettings\x12\x32\n\x12tablet_commit_log0\x18\x01 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x32\n\x12tablet_commit_log1\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x04 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x35\n\x14store_external_blobs\x18\x05 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"\x84\x02\n\x0c\x43olumnFamily\x12\x0c\n\x04name\x18\x01 \x01(\t\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x38\n\x0b\x63ompression\x18\x03 \x01(\x0e\x32#.Ydb.Table.ColumnFamily.Compression\x12/\n\x0ekeep_in_memory\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"U\n\x0b\x43ompression\x12\x1b\n\x17\x43OMPRESSION_UNSPECIFIED\x10\x00\x12\x14\n\x10\x43OMPRESSION_NONE\x10\x01\x12\x13\n\x0f\x43OMPRESSION_LZ4\x10\x02\"\xf7\x01\n\x14PartitioningSettings\x12\x14\n\x0cpartition_by\x18\x01 \x03(\t\x12\x35\n\x14partitioning_by_size\x18\x02 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x19\n\x11partition_size_mb\x18\x03 \x01(\x04\x12\x35\n\x14partitioning_by_load\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x1c\n\x14min_partitions_count\x18\x06 \x01(\x04\x12\x1c\n\x14max_partitions_count\x18\x07 \x01(\x04J\x04\x08\x05\x10\x06\"C\n\x16\x41zReadReplicasSettings\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1b\n\x13read_replicas_count\x18\x02 \x01(\x04\"_\n\x17\x43lusterReplicasSettings\x12\x44\n\x19\x61z_read_replicas_settings\x18\x02 \x03(\x0b\x32!.Ydb.Table.AzReadReplicasSettings\"t\n\x14ReadReplicasSettings\x12$\n\x1aper_az_read_replicas_count\x18\x01 \x01(\x04H\x00\x12$\n\x1a\x61ny_az_read_replicas_count\x18\x02 \x01(\x04H\x00\x42\n\n\x08settingsJ\x04\x08\x03\x10\x04\"\xaa\x07\n\x12\x43reateTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12&\n\x07\x63olumns\x18\x03 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x04 \x03(\t\x12(\n\x07profile\x18\x05 \x01(\x0b\x32\x17.Ydb.Table.TableProfile\x12\x39\n\x10operation_params\x18\x06 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12&\n\x07indexes\x18\x07 \x03(\x0b\x32\x15.Ydb.Table.TableIndex\x12,\n\x0cttl_settings\x18\x08 \x01(\x0b\x32\x16.Ydb.Table.TtlSettings\x12\x34\n\x10storage_settings\x18\t \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x30\n\x0f\x63olumn_families\x18\n \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12Z\n\nattributes\x18\x0b \x03(\x0b\x32-.Ydb.Table.CreateTableRequest.AttributesEntryB\x17\xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\xa2\xe6*\x07\n\x05\x08\x01\x10\x80 \x12\x19\n\x11\x63ompaction_policy\x18\x0c \x01(\t\x12\x1c\n\x12uniform_partitions\x18\r \x01(\x04H\x00\x12:\n\x11partition_at_keys\x18\x0e \x01(\x0b\x32\x1d.Ydb.Table.ExplicitPartitionsH\x00\x12>\n\x15partitioning_settings\x18\x0f \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x31\n\x10key_bloom_filter\x18\x10 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12?\n\x16read_replicas_settings\x18\x11 \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12\x0f\n\x07tiering\x18\x12 \x01(\t\x12\x11\n\ttemporary\x18\x13 \x01(\x08\x12(\n\nstore_type\x18\x14 \x01(\x0e\x32\x14.Ydb.Table.StoreType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\npartitions\"C\n\x13\x43reateTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"u\n\x10\x44ropTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParamsJ\x04\x08\x03\x10\x04\"A\n\x11\x44ropTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"]\n\x0fRenameIndexItem\x12\x13\n\x0bsource_name\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_name\x18\x02 \x01(\t\x12\x1b\n\x13replace_destination\x18\x03 \x01(\x08\"\x95\t\n\x11\x41lterTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12*\n\x0b\x61\x64\x64_columns\x18\x03 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x14\n\x0c\x64rop_columns\x18\x04 \x03(\t\x12\x39\n\x10operation_params\x18\x05 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12,\n\ralter_columns\x18\x06 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x32\n\x10set_ttl_settings\x18\x07 \x01(\x0b\x32\x16.Ydb.Table.TtlSettingsH\x00\x12\x33\n\x11\x64rop_ttl_settings\x18\x08 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12*\n\x0b\x61\x64\x64_indexes\x18\t \x03(\x0b\x32\x15.Ydb.Table.TableIndex\x12\x14\n\x0c\x64rop_indexes\x18\n \x03(\t\x12:\n\x16\x61lter_storage_settings\x18\x0b \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x34\n\x13\x61\x64\x64_column_families\x18\x0c \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12\x36\n\x15\x61lter_column_families\x18\r \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12`\n\x10\x61lter_attributes\x18\x0e \x03(\x0b\x32\x31.Ydb.Table.AlterTableRequest.AlterAttributesEntryB\x13\xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\xa2\xe6*\x03\x18\x80 \x12\x1d\n\x15set_compaction_policy\x18\x0f \x01(\t\x12\x44\n\x1b\x61lter_partitioning_settings\x18\x10 \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x35\n\x14set_key_bloom_filter\x18\x11 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x43\n\x1aset_read_replicas_settings\x18\x12 \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12.\n\x0f\x61\x64\x64_changefeeds\x18\x13 \x03(\x0b\x32\x15.Ydb.Table.Changefeed\x12\x18\n\x10\x64rop_changefeeds\x18\x14 \x03(\t\x12\x32\n\x0erename_indexes\x18\x15 \x03(\x0b\x32\x1a.Ydb.Table.RenameIndexItem\x12\x15\n\x0bset_tiering\x18\x16 \x01(\tH\x01\x12.\n\x0c\x64rop_tiering\x18\x17 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\nttl_actionB\x10\n\x0etiering_action\"B\n\x12\x41lterTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x90\x01\n\x10\x43opyTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x13\n\x0bsource_path\x18\x02 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x03 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"A\n\x11\x43opyTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"T\n\rCopyTableItem\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12\x14\n\x0comit_indexes\x18\x03 \x01(\x08\"\x8c\x01\n\x11\x43opyTablesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12(\n\x06tables\x18\x03 \x03(\x0b\x32\x18.Ydb.Table.CopyTableItem\"B\n\x12\x43opyTablesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"]\n\x0fRenameTableItem\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12\x1b\n\x13replace_destination\x18\x03 \x01(\x08\"\x90\x01\n\x13RenameTablesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12*\n\x06tables\x18\x03 \x03(\x0b\x32\x1a.Ydb.Table.RenameTableItem\"D\n\x14RenameTablesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xf5\x01\n\x14\x44\x65scribeTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12 \n\x18include_shard_key_bounds\x18\x05 \x01(\x08\x12\x1b\n\x13include_table_stats\x18\x06 \x01(\x08\x12\x1f\n\x17include_partition_stats\x18\x07 \x01(\x08\x12 \n\x18include_shard_nodes_info\x18\t \x01(\x08\"E\n\x15\x44\x65scribeTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xc9\x06\n\x13\x44\x65scribeTableResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12&\n\x07\x63olumns\x18\x02 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x03 \x03(\t\x12)\n\x10shard_key_bounds\x18\x04 \x03(\x0b\x32\x0f.Ydb.TypedValue\x12\x31\n\x07indexes\x18\x05 \x03(\x0b\x32 .Ydb.Table.TableIndexDescription\x12*\n\x0btable_stats\x18\x06 \x01(\x0b\x32\x15.Ydb.Table.TableStats\x12,\n\x0cttl_settings\x18\x07 \x01(\x0b\x32\x16.Ydb.Table.TtlSettings\x12\x34\n\x10storage_settings\x18\x08 \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x30\n\x0f\x63olumn_families\x18\t \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12\x42\n\nattributes\x18\n \x03(\x0b\x32..Ydb.Table.DescribeTableResult.AttributesEntry\x12>\n\x15partitioning_settings\x18\x0c \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x31\n\x10key_bloom_filter\x18\r \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12?\n\x16read_replicas_settings\x18\x0e \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12\x35\n\x0b\x63hangefeeds\x18\x0f \x03(\x0b\x32 .Ydb.Table.ChangefeedDescription\x12\x0f\n\x07tiering\x18\x10 \x01(\t\x12\x11\n\ttemporary\x18\x11 \x01(\x08\x12(\n\nstore_type\x18\x12 \x01(\x0e\x32\x14.Ydb.Table.StoreType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x0b\x10\x0c\"2\n\x05Query\x12\x12\n\x08yql_text\x18\x01 \x01(\tH\x00\x12\x0c\n\x02id\x18\x02 \x01(\tH\x00\x42\x07\n\x05query\"\x1a\n\x18SerializableModeSettings\"6\n\x12OnlineModeSettings\x12 \n\x18\x61llow_inconsistent_reads\x18\x01 \x01(\x08\"\x13\n\x11StaleModeSettings\"\x16\n\x14SnapshotModeSettings\"\x18\n\x16SnapshotRWModeSettings\"\xdd\x02\n\x13TransactionSettings\x12\x46\n\x17serializable_read_write\x18\x01 \x01(\x0b\x32#.Ydb.Table.SerializableModeSettingsH\x00\x12\x39\n\x10online_read_only\x18\x02 \x01(\x0b\x32\x1d.Ydb.Table.OnlineModeSettingsH\x00\x12\x37\n\x0fstale_read_only\x18\x03 \x01(\x0b\x32\x1c.Ydb.Table.StaleModeSettingsH\x00\x12=\n\x12snapshot_read_only\x18\x04 \x01(\x0b\x32\x1f.Ydb.Table.SnapshotModeSettingsH\x00\x12@\n\x13snapshot_read_write\x18\x05 \x01(\x0b\x32!.Ydb.Table.SnapshotRWModeSettingsH\x00\x42\t\n\x07tx_mode\"{\n\x12TransactionControl\x12\x0f\n\x05tx_id\x18\x01 \x01(\tH\x00\x12\x32\n\x08\x62\x65gin_tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Table.TransactionSettingsH\x00\x12\x11\n\tcommit_tx\x18\n \x01(\x08\x42\r\n\x0btx_selector\")\n\x10QueryCachePolicy\x12\x15\n\rkeep_in_cache\x18\x01 \x01(\x08\"\xb1\x01\n\x14QueryStatsCollection\"\x98\x01\n\x04Mode\x12 \n\x1cSTATS_COLLECTION_UNSPECIFIED\x10\x00\x12\x19\n\x15STATS_COLLECTION_NONE\x10\x01\x12\x1a\n\x16STATS_COLLECTION_BASIC\x10\x02\x12\x19\n\x15STATS_COLLECTION_FULL\x10\x03\x12\x1c\n\x18STATS_COLLECTION_PROFILE\x10\x04\"\xbe\x03\n\x17\x45xecuteDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x31\n\ntx_control\x18\x02 \x01(\x0b\x32\x1d.Ydb.Table.TransactionControl\x12\x1f\n\x05query\x18\x03 \x01(\x0b\x32\x10.Ydb.Table.Query\x12\x46\n\nparameters\x18\x04 \x03(\x0b\x32\x32.Ydb.Table.ExecuteDataQueryRequest.ParametersEntry\x12\x37\n\x12query_cache_policy\x18\x05 \x01(\x0b\x32\x1b.Ydb.Table.QueryCachePolicy\x12\x39\n\x10operation_params\x18\x06 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12;\n\rcollect_stats\x18\x07 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"H\n\x18\x45xecuteDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"|\n\x19\x45xecuteSchemeQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"J\n\x1a\x45xecuteSchemeQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x1d\n\x0fTransactionMeta\x12\n\n\x02id\x18\x01 \x01(\t\"\x9f\x01\n\tQueryMeta\x12\n\n\x02id\x18\x01 \x01(\t\x12\x43\n\x10parameters_types\x18\x02 \x03(\x0b\x32).Ydb.Table.QueryMeta.ParametersTypesEntry\x1a\x41\n\x14ParametersTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.Ydb.Type:\x02\x38\x01\"\xc1\x01\n\x12\x45xecuteQueryResult\x12#\n\x0bresult_sets\x18\x01 \x03(\x0b\x32\x0e.Ydb.ResultSet\x12+\n\x07tx_meta\x18\x02 \x01(\x0b\x32\x1a.Ydb.Table.TransactionMeta\x12(\n\nquery_meta\x18\x03 \x01(\x0b\x32\x14.Ydb.Table.QueryMeta\x12/\n\x0bquery_stats\x18\x04 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"\x9c\x01\n\x17\x45xplainDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12 \n\x18\x63ollect_full_diagnostics\x18\x04 \x01(\x08\"H\n\x18\x45xplainDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"[\n\x12\x45xplainQueryResult\x12\x11\n\tquery_ast\x18\x01 \x01(\t\x12\x12\n\nquery_plan\x18\x02 \x01(\t\x12\x1e\n\x16query_full_diagnostics\x18\x03 \x01(\t\"z\n\x17PrepareDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"H\n\x18PrepareDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb7\x01\n\x12PrepareQueryResult\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12L\n\x10parameters_types\x18\x02 \x03(\x0b\x32\x32.Ydb.Table.PrepareQueryResult.ParametersTypesEntry\x1a\x41\n\x14ParametersTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.Ydb.Type:\x02\x38\x01\"a\n\x10KeepAliveRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x39\n\x10operation_params\x18\x02 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"A\n\x11KeepAliveResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb7\x01\n\x0fKeepAliveResult\x12@\n\x0esession_status\x18\x01 \x01(\x0e\x32(.Ydb.Table.KeepAliveResult.SessionStatus\"b\n\rSessionStatus\x12\x1e\n\x1aSESSION_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14SESSION_STATUS_READY\x10\x01\x12\x17\n\x13SESSION_STATUS_BUSY\x10\x02\"\x9d\x01\n\x17\x42\x65ginTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x33\n\x0btx_settings\x18\x02 \x01(\x0b\x32\x1e.Ydb.Table.TransactionSettings\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"H\n\x18\x42\x65ginTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"E\n\x16\x42\x65ginTransactionResult\x12+\n\x07tx_meta\x18\x01 \x01(\x0b\x32\x1a.Ydb.Table.TransactionMeta\"\xb5\x01\n\x18\x43ommitTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\r\n\x05tx_id\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12;\n\rcollect_stats\x18\x04 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\"I\n\x19\x43ommitTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"J\n\x17\x43ommitTransactionResult\x12/\n\x0bquery_stats\x18\x01 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"z\n\x1aRollbackTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\r\n\x05tx_id\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"K\n\x1bRollbackTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x98\x01\n\x18StoragePolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x06labels\x18\x02 \x03(\x0b\x32/.Ydb.Table.StoragePolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9e\x01\n\x1b\x43ompactionPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x42\n\x06labels\x18\x02 \x03(\x0b\x32\x32.Ydb.Table.CompactionPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa2\x01\n\x1dPartitioningPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x06labels\x18\x02 \x03(\x0b\x32\x34.Ydb.Table.PartitioningPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9c\x01\n\x1a\x45xecutionPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x41\n\x06labels\x18\x02 \x03(\x0b\x32\x31.Ydb.Table.ExecutionPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa0\x01\n\x1cReplicationPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x43\n\x06labels\x18\x02 \x03(\x0b\x32\x33.Ydb.Table.ReplicationPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x98\x01\n\x18\x43\x61\x63hingPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x06labels\x18\x02 \x03(\x0b\x32/.Ydb.Table.CachingPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbe\x04\n\x17TableProfileDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12>\n\x06labels\x18\x02 \x03(\x0b\x32..Ydb.Table.TableProfileDescription.LabelsEntry\x12\x1e\n\x16\x64\x65\x66\x61ult_storage_policy\x18\x03 \x01(\t\x12 \n\x18\x61llowed_storage_policies\x18\x04 \x03(\t\x12!\n\x19\x64\x65\x66\x61ult_compaction_policy\x18\x05 \x01(\t\x12#\n\x1b\x61llowed_compaction_policies\x18\x06 \x03(\t\x12#\n\x1b\x64\x65\x66\x61ult_partitioning_policy\x18\x07 \x01(\t\x12%\n\x1d\x61llowed_partitioning_policies\x18\x08 \x03(\t\x12 \n\x18\x64\x65\x66\x61ult_execution_policy\x18\t \x01(\t\x12\"\n\x1a\x61llowed_execution_policies\x18\n \x03(\t\x12\"\n\x1a\x64\x65\x66\x61ult_replication_policy\x18\x0b \x01(\t\x12$\n\x1c\x61llowed_replication_policies\x18\x0c \x03(\t\x12\x1e\n\x16\x64\x65\x66\x61ult_caching_policy\x18\r \x01(\t\x12 \n\x18\x61llowed_caching_policies\x18\x0e \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"X\n\x1b\x44\x65scribeTableOptionsRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"L\n\x1c\x44\x65scribeTableOptionsResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x99\x04\n\x1a\x44\x65scribeTableOptionsResult\x12\x41\n\x15table_profile_presets\x18\x01 \x03(\x0b\x32\".Ydb.Table.TableProfileDescription\x12\x43\n\x16storage_policy_presets\x18\x02 \x03(\x0b\x32#.Ydb.Table.StoragePolicyDescription\x12I\n\x19\x63ompaction_policy_presets\x18\x03 \x03(\x0b\x32&.Ydb.Table.CompactionPolicyDescription\x12M\n\x1bpartitioning_policy_presets\x18\x04 \x03(\x0b\x32(.Ydb.Table.PartitioningPolicyDescription\x12G\n\x18\x65xecution_policy_presets\x18\x05 \x03(\x0b\x32%.Ydb.Table.ExecutionPolicyDescription\x12K\n\x1areplication_policy_presets\x18\x06 \x03(\x0b\x32\'.Ydb.Table.ReplicationPolicyDescription\x12\x43\n\x16\x63\x61\x63hing_policy_presets\x18\x07 \x03(\x0b\x32#.Ydb.Table.CachingPolicyDescription\"\xc0\x01\n\x08KeyRange\x12\"\n\x07greater\x18\x01 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12+\n\x10greater_or_equal\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12\x1f\n\x04less\x18\x03 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x01\x12(\n\rless_or_equal\x18\x04 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x01\x42\x0c\n\nfrom_boundB\n\n\x08to_bound\"\xb8\x02\n\x10ReadTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12&\n\tkey_range\x18\x03 \x01(\x0b\x32\x13.Ydb.Table.KeyRange\x12\x0f\n\x07\x63olumns\x18\x04 \x03(\t\x12\x0f\n\x07ordered\x18\x05 \x01(\x08\x12\x11\n\trow_limit\x18\x06 \x01(\x04\x12-\n\x0cuse_snapshot\x18\x07 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x19\n\x11\x62\x61tch_limit_bytes\x18\x08 \x01(\x04\x12\x18\n\x10\x62\x61tch_limit_rows\x18\t \x01(\x04\x12\x41\n return_not_null_data_as_optional\x18\n \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"\xbc\x01\n\x11ReadTableResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\'\n\x08snapshot\x18\x04 \x01(\x0b\x32\x15.Ydb.VirtualTimestamp\x12*\n\x06result\x18\x03 \x01(\x0b\x32\x1a.Ydb.Table.ReadTableResult\"5\n\x0fReadTableResult\x12\"\n\nresult_set\x18\x01 \x01(\x0b\x32\x0e.Ydb.ResultSet\"c\n\x0fReadRowsRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x1d\n\x04keys\x18\x03 \x01(\x0b\x32\x0f.Ydb.TypedValue\x12\x0f\n\x07\x63olumns\x18\x04 \x03(\t\"\x8a\x01\n\x10ReadRowsResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\nresult_set\x18\x03 \x01(\x0b\x32\x0e.Ydb.ResultSet\"\x8d\x02\n\x11\x42ulkUpsertRequest\x12\r\n\x05table\x18\x01 \x01(\t\x12\x1d\n\x04rows\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12?\n\x14\x61rrow_batch_settings\x18\x07 \x01(\x0b\x32\x1f.Ydb.Formats.ArrowBatchSettingsH\x00\x12\x30\n\x0c\x63sv_settings\x18\x08 \x01(\x0b\x32\x18.Ydb.Formats.CsvSettingsH\x00\x12\r\n\x04\x64\x61ta\x18\xe8\x07 \x01(\x0c\x42\r\n\x0b\x64\x61ta_format\"B\n\x12\x42ulkUpsertResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x12\n\x10\x42ulkUpsertResult\"\xb3\x03\n\x17\x45xecuteScanQueryRequest\x12\x1f\n\x05query\x18\x03 \x01(\x0b\x32\x10.Ydb.Table.Query\x12\x46\n\nparameters\x18\x04 \x03(\x0b\x32\x32.Ydb.Table.ExecuteScanQueryRequest.ParametersEntry\x12\x35\n\x04mode\x18\x06 \x01(\x0e\x32\'.Ydb.Table.ExecuteScanQueryRequest.Mode\x12;\n\rcollect_stats\x18\x08 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\x12 \n\x18\x63ollect_full_diagnostics\x18\t \x01(\x08\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"=\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cMODE_EXPLAIN\x10\x01\x12\r\n\tMODE_EXEC\x10\x03J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x05\x10\x06J\x04\x08\x07\x10\x08\"\xaf\x01\n\x1f\x45xecuteScanQueryPartialResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x38\n\x06result\x18\x03 \x01(\x0b\x32(.Ydb.Table.ExecuteScanQueryPartialResult\"\xac\x01\n\x1d\x45xecuteScanQueryPartialResult\x12\"\n\nresult_set\x18\x01 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12/\n\x0bquery_stats\x18\x06 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\x12\x1e\n\x16query_full_diagnostics\x18\x07 \x01(\tJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06*R\n\tStoreType\x12\x1a\n\x16STORE_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eSTORE_TYPE_ROW\x10\x01\x12\x15\n\x11STORE_TYPE_COLUMN\x10\x02\x42S\n\x14tech.ydb.proto.tableZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Table\xf8\x01\x01\x62\x06proto3' + serialized_pb=b'\n\x16protos/ydb_table.proto\x12\tYdb.Table\x1a#protos/annotations/validation.proto\x1a\x17protos/ydb_common.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1cprotos/ydb_query_stats.proto\x1a\x16protos/ydb_value.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x16protos/ydb_topic.proto\x1a\x18protos/ydb_formats.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"Q\n\x14\x43reateSessionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"E\n\x15\x43reateSessionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\")\n\x13\x43reateSessionResult\x12\x12\n\nsession_id\x18\x01 \x01(\t\"e\n\x14\x44\x65leteSessionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x39\n\x10operation_params\x18\x02 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"E\n\x15\x44\x65leteSessionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\r\n\x0bGlobalIndex\"\x12\n\x10GlobalAsyncIndex\"\x13\n\x11GlobalUniqueIndex\"\xf7\x01\n\nTableIndex\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rindex_columns\x18\x02 \x03(\t\x12.\n\x0cglobal_index\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.GlobalIndexH\x00\x12\x39\n\x12global_async_index\x18\x04 \x01(\x0b\x32\x1b.Ydb.Table.GlobalAsyncIndexH\x00\x12;\n\x13global_unique_index\x18\x06 \x01(\x0b\x32\x1c.Ydb.Table.GlobalUniqueIndexH\x00\x12\x14\n\x0c\x64\x61ta_columns\x18\x05 \x03(\tB\x06\n\x04type\"\x98\x03\n\x15TableIndexDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rindex_columns\x18\x02 \x03(\t\x12.\n\x0cglobal_index\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.GlobalIndexH\x00\x12\x39\n\x12global_async_index\x18\x05 \x01(\x0b\x32\x1b.Ydb.Table.GlobalAsyncIndexH\x00\x12;\n\x13global_unique_index\x18\x08 \x01(\x0b\x32\x1c.Ydb.Table.GlobalUniqueIndexH\x00\x12\x37\n\x06status\x18\x04 \x01(\x0e\x32\'.Ydb.Table.TableIndexDescription.Status\x12\x14\n\x0c\x64\x61ta_columns\x18\x06 \x03(\t\x12\x12\n\nsize_bytes\x18\x07 \x01(\x04\"G\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATUS_READY\x10\x01\x12\x13\n\x0fSTATUS_BUILDING\x10\x02\x42\x06\n\x04type\"\xdd\x01\n\x0fIndexBuildState\"\xc9\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSTATE_PREPARING\x10\x01\x12\x1a\n\x16STATE_TRANSFERING_DATA\x10\x02\x12\x12\n\x0eSTATE_APPLYING\x10\x03\x12\x0e\n\nSTATE_DONE\x10\x04\x12\x16\n\x12STATE_CANCELLATION\x10\x05\x12\x13\n\x0fSTATE_CANCELLED\x10\x06\x12\x13\n\x0fSTATE_REJECTION\x10\x07\x12\x12\n\x0eSTATE_REJECTED\x10\x08\"K\n\x15IndexBuildDescription\x12\x0c\n\x04path\x18\x01 \x01(\t\x12$\n\x05index\x18\x02 \x01(\x0b\x32\x15.Ydb.Table.TableIndex\"\x8e\x01\n\x12IndexBuildMetadata\x12\x35\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32 .Ydb.Table.IndexBuildDescription\x12/\n\x05state\x18\x02 \x01(\x0e\x32 .Ydb.Table.IndexBuildState.State\x12\x10\n\x08progress\x18\x03 \x01(\x02\"\x9a\x01\n\x0e\x43hangefeedMode\"\x87\x01\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0eMODE_KEYS_ONLY\x10\x01\x12\x10\n\x0cMODE_UPDATES\x10\x02\x12\x12\n\x0eMODE_NEW_IMAGE\x10\x03\x12\x12\n\x0eMODE_OLD_IMAGE\x10\x04\x12\x1b\n\x17MODE_NEW_AND_OLD_IMAGES\x10\x05\"\x81\x01\n\x10\x43hangefeedFormat\"m\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x46ORMAT_JSON\x10\x01\x12 \n\x1c\x46ORMAT_DYNAMODB_STREAMS_JSON\x10\x02\x12\x18\n\x14\x46ORMAT_DEBEZIUM_JSON\x10\x03\"\xa6\x04\n\nChangefeed\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x04mode\x18\x02 \x01(\x0e\x32\x1e.Ydb.Table.ChangefeedMode.Mode\x12\x32\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\".Ydb.Table.ChangefeedFormat.Format\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1a\n\x12virtual_timestamps\x18\x05 \x01(\x08\x12\x14\n\x0cinitial_scan\x18\x06 \x01(\x08\x12R\n\nattributes\x18\x07 \x03(\x0b\x32%.Ydb.Table.Changefeed.AttributesEntryB\x17\xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\xa2\xe6*\x07\n\x05\x08\x01\x10\x80 \x12\x1b\n\naws_region\x18\x08 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12?\n\x1cresolved_timestamps_interval\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x44\n\x1btopic_partitioning_settings\x18\n \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12\x16\n\x0eschema_changes\x18\x0b \x01(\x08\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb9\x05\n\x15\x43hangefeedDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x04mode\x18\x02 \x01(\x0e\x32\x1e.Ydb.Table.ChangefeedMode.Mode\x12\x32\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\".Ydb.Table.ChangefeedFormat.Format\x12\x35\n\x05state\x18\x04 \x01(\x0e\x32&.Ydb.Table.ChangefeedDescription.State\x12\x1a\n\x12virtual_timestamps\x18\x05 \x01(\x08\x12\x44\n\nattributes\x18\x06 \x03(\x0b\x32\x30.Ydb.Table.ChangefeedDescription.AttributesEntry\x12\x12\n\naws_region\x18\x07 \x01(\t\x12?\n\x1cresolved_timestamps_interval\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12S\n\x15initial_scan_progress\x18\t \x01(\x0b\x32\x34.Ydb.Table.ChangefeedDescription.InitialScanProgress\x12\x16\n\x0eschema_changes\x18\n \x01(\x08\x1a\x43\n\x13InitialScanProgress\x12\x13\n\x0bparts_total\x18\x01 \x01(\r\x12\x17\n\x0fparts_completed\x18\x02 \x01(\r\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"]\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_ENABLED\x10\x01\x12\x12\n\x0eSTATE_DISABLED\x10\x02\x12\x16\n\x12STATE_INITIAL_SCAN\x10\x03\"\x1c\n\x0bStoragePool\x12\r\n\x05media\x18\x01 \x01(\t\"\xaa\x02\n\rStoragePolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12&\n\x06syslog\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12#\n\x03log\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12$\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x05 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12/\n\x0ekeep_in_memory\x18\x06 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x36\n\x0f\x63olumn_families\x18\x07 \x03(\x0b\x32\x1d.Ydb.Table.ColumnFamilyPolicy\"\xb1\x02\n\x12\x43olumnFamilyPolicy\x12\x0c\n\x04name\x18\x01 \x01(\t\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12/\n\x0ekeep_in_memory\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12>\n\x0b\x63ompression\x18\x05 \x01(\x0e\x32).Ydb.Table.ColumnFamilyPolicy.Compression\"L\n\x0b\x43ompression\x12\x1b\n\x17\x43OMPRESSION_UNSPECIFIED\x10\x00\x12\x10\n\x0cUNCOMPRESSED\x10\x01\x12\x0e\n\nCOMPRESSED\x10\x02\"\'\n\x10\x43ompactionPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\";\n\x12\x45xplicitPartitions\x12%\n\x0csplit_points\x18\x01 \x03(\x0b\x32\x0f.Ydb.TypedValue\"S\n\x0ePartitionStats\x12\x15\n\rrows_estimate\x18\x01 \x01(\x04\x12\x12\n\nstore_size\x18\x02 \x01(\x04\x12\x16\n\x0eleader_node_id\x18\x03 \x01(\r\"\xe9\x01\n\nTableStats\x12\x32\n\x0fpartition_stats\x18\x01 \x03(\x0b\x32\x19.Ydb.Table.PartitionStats\x12\x15\n\rrows_estimate\x18\x02 \x01(\x04\x12\x12\n\nstore_size\x18\x03 \x01(\x04\x12\x12\n\npartitions\x18\x04 \x01(\x04\x12\x31\n\rcreation_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11modification_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xdc\x02\n\x12PartitioningPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12O\n\x11\x61uto_partitioning\x18\x02 \x01(\x0e\x32\x34.Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy\x12\x1c\n\x12uniform_partitions\x18\x03 \x01(\x04H\x00\x12<\n\x13\x65xplicit_partitions\x18\x04 \x01(\x0b\x32\x1d.Ydb.Table.ExplicitPartitionsH\x00\"v\n\x16\x41utoPartitioningPolicy\x12(\n$AUTO_PARTITIONING_POLICY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x0e\n\nAUTO_SPLIT\x10\x02\x12\x14\n\x10\x41UTO_SPLIT_MERGE\x10\x03\x42\x0c\n\npartitions\"&\n\x0f\x45xecutionPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\"\xb1\x01\n\x11ReplicationPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12\x16\n\x0ereplicas_count\x18\x02 \x01(\r\x12=\n\x1c\x63reate_per_availability_zone\x18\x03 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x30\n\x0f\x61llow_promotion\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"$\n\rCachingPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\"\xeb\x02\n\x0cTableProfile\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12\x30\n\x0estorage_policy\x18\x02 \x01(\x0b\x32\x18.Ydb.Table.StoragePolicy\x12\x36\n\x11\x63ompaction_policy\x18\x03 \x01(\x0b\x32\x1b.Ydb.Table.CompactionPolicy\x12:\n\x13partitioning_policy\x18\x04 \x01(\x0b\x32\x1d.Ydb.Table.PartitioningPolicy\x12\x34\n\x10\x65xecution_policy\x18\x05 \x01(\x0b\x32\x1a.Ydb.Table.ExecutionPolicy\x12\x38\n\x12replication_policy\x18\x06 \x01(\x0b\x32\x1c.Ydb.Table.ReplicationPolicy\x12\x30\n\x0e\x63\x61\x63hing_policy\x18\x07 \x01(\x0b\x32\x18.Ydb.Table.CachingPolicy\"\xaa\x03\n\x13SequenceDescription\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x16\n\tmin_value\x18\x02 \x01(\x12H\x01\x88\x01\x01\x12\x16\n\tmax_value\x18\x03 \x01(\x12H\x02\x88\x01\x01\x12\x18\n\x0bstart_value\x18\x04 \x01(\x12H\x03\x88\x01\x01\x12\x12\n\x05\x63\x61\x63he\x18\x05 \x01(\x04H\x04\x88\x01\x01\x12\x16\n\tincrement\x18\x06 \x01(\x12H\x05\x88\x01\x01\x12\x12\n\x05\x63ycle\x18\x07 \x01(\x08H\x06\x88\x01\x01\x12;\n\x07set_val\x18\x08 \x01(\x0b\x32%.Ydb.Table.SequenceDescription.SetValH\x07\x88\x01\x01\x1aV\n\x06SetVal\x12\x17\n\nnext_value\x18\x01 \x01(\x12H\x00\x88\x01\x01\x12\x16\n\tnext_used\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\r\n\x0b_next_valueB\x0c\n\n_next_usedB\x07\n\x05_nameB\x0c\n\n_min_valueB\x0c\n\n_max_valueB\x0e\n\x0c_start_valueB\x08\n\x06_cacheB\x0c\n\n_incrementB\x08\n\x06_cycleB\n\n\x08_set_val\"\xda\x01\n\nColumnMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\x04type\x18\x02 \x01(\x0b\x32\t.Ydb.Type\x12\x0e\n\x06\x66\x61mily\x18\x03 \x01(\t\x12\x15\n\x08not_null\x18\x04 \x01(\x08H\x01\x88\x01\x01\x12\'\n\x0c\x66rom_literal\x18\x05 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12\x37\n\rfrom_sequence\x18\x06 \x01(\x0b\x32\x1e.Ydb.Table.SequenceDescriptionH\x00\x42\x0f\n\rdefault_valueB\x0b\n\t_not_null\"O\n\x1a\x44\x61teTypeColumnModeSettings\x12\x13\n\x0b\x63olumn_name\x18\x01 \x01(\t\x12\x1c\n\x14\x65xpire_after_seconds\x18\x02 \x01(\r\"\x8e\x02\n\x1fValueSinceUnixEpochModeSettings\x12\x13\n\x0b\x63olumn_name\x18\x01 \x01(\t\x12\x44\n\x0b\x63olumn_unit\x18\x02 \x01(\x0e\x32/.Ydb.Table.ValueSinceUnixEpochModeSettings.Unit\x12\x1c\n\x14\x65xpire_after_seconds\x18\x03 \x01(\r\"r\n\x04Unit\x12\x14\n\x10UNIT_UNSPECIFIED\x10\x00\x12\x10\n\x0cUNIT_SECONDS\x10\x01\x12\x15\n\x11UNIT_MILLISECONDS\x10\x02\x12\x15\n\x11UNIT_MICROSECONDS\x10\x03\x12\x14\n\x10UNIT_NANOSECONDS\x10\x04\"\xc4\x01\n\x0bTtlSettings\x12\x41\n\x10\x64\x61te_type_column\x18\x01 \x01(\x0b\x32%.Ydb.Table.DateTypeColumnModeSettingsH\x00\x12L\n\x16value_since_unix_epoch\x18\x02 \x01(\x0b\x32*.Ydb.Table.ValueSinceUnixEpochModeSettingsH\x00\x12\x1c\n\x14run_interval_seconds\x18\x03 \x01(\rB\x06\n\x04mode\"\xda\x01\n\x0fStorageSettings\x12\x32\n\x12tablet_commit_log0\x18\x01 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x32\n\x12tablet_commit_log1\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x04 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x35\n\x14store_external_blobs\x18\x05 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"\x84\x02\n\x0c\x43olumnFamily\x12\x0c\n\x04name\x18\x01 \x01(\t\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x38\n\x0b\x63ompression\x18\x03 \x01(\x0e\x32#.Ydb.Table.ColumnFamily.Compression\x12/\n\x0ekeep_in_memory\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"U\n\x0b\x43ompression\x12\x1b\n\x17\x43OMPRESSION_UNSPECIFIED\x10\x00\x12\x14\n\x10\x43OMPRESSION_NONE\x10\x01\x12\x13\n\x0f\x43OMPRESSION_LZ4\x10\x02\"\xf7\x01\n\x14PartitioningSettings\x12\x14\n\x0cpartition_by\x18\x01 \x03(\t\x12\x35\n\x14partitioning_by_size\x18\x02 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x19\n\x11partition_size_mb\x18\x03 \x01(\x04\x12\x35\n\x14partitioning_by_load\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x1c\n\x14min_partitions_count\x18\x06 \x01(\x04\x12\x1c\n\x14max_partitions_count\x18\x07 \x01(\x04J\x04\x08\x05\x10\x06\"C\n\x16\x41zReadReplicasSettings\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1b\n\x13read_replicas_count\x18\x02 \x01(\x04\"_\n\x17\x43lusterReplicasSettings\x12\x44\n\x19\x61z_read_replicas_settings\x18\x02 \x03(\x0b\x32!.Ydb.Table.AzReadReplicasSettings\"t\n\x14ReadReplicasSettings\x12$\n\x1aper_az_read_replicas_count\x18\x01 \x01(\x04H\x00\x12$\n\x1a\x61ny_az_read_replicas_count\x18\x02 \x01(\x04H\x00\x42\n\n\x08settingsJ\x04\x08\x03\x10\x04\"\xaa\x07\n\x12\x43reateTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12&\n\x07\x63olumns\x18\x03 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x04 \x03(\t\x12(\n\x07profile\x18\x05 \x01(\x0b\x32\x17.Ydb.Table.TableProfile\x12\x39\n\x10operation_params\x18\x06 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12&\n\x07indexes\x18\x07 \x03(\x0b\x32\x15.Ydb.Table.TableIndex\x12,\n\x0cttl_settings\x18\x08 \x01(\x0b\x32\x16.Ydb.Table.TtlSettings\x12\x34\n\x10storage_settings\x18\t \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x30\n\x0f\x63olumn_families\x18\n \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12Z\n\nattributes\x18\x0b \x03(\x0b\x32-.Ydb.Table.CreateTableRequest.AttributesEntryB\x17\xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\xa2\xe6*\x07\n\x05\x08\x01\x10\x80 \x12\x19\n\x11\x63ompaction_policy\x18\x0c \x01(\t\x12\x1c\n\x12uniform_partitions\x18\r \x01(\x04H\x00\x12:\n\x11partition_at_keys\x18\x0e \x01(\x0b\x32\x1d.Ydb.Table.ExplicitPartitionsH\x00\x12>\n\x15partitioning_settings\x18\x0f \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x31\n\x10key_bloom_filter\x18\x10 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12?\n\x16read_replicas_settings\x18\x11 \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12\x0f\n\x07tiering\x18\x12 \x01(\t\x12\x11\n\ttemporary\x18\x13 \x01(\x08\x12(\n\nstore_type\x18\x14 \x01(\x0e\x32\x14.Ydb.Table.StoreType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\npartitions\"C\n\x13\x43reateTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"u\n\x10\x44ropTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParamsJ\x04\x08\x03\x10\x04\"A\n\x11\x44ropTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"]\n\x0fRenameIndexItem\x12\x13\n\x0bsource_name\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_name\x18\x02 \x01(\t\x12\x1b\n\x13replace_destination\x18\x03 \x01(\x08\"\x95\t\n\x11\x41lterTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12*\n\x0b\x61\x64\x64_columns\x18\x03 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x14\n\x0c\x64rop_columns\x18\x04 \x03(\t\x12\x39\n\x10operation_params\x18\x05 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12,\n\ralter_columns\x18\x06 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x32\n\x10set_ttl_settings\x18\x07 \x01(\x0b\x32\x16.Ydb.Table.TtlSettingsH\x00\x12\x33\n\x11\x64rop_ttl_settings\x18\x08 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12*\n\x0b\x61\x64\x64_indexes\x18\t \x03(\x0b\x32\x15.Ydb.Table.TableIndex\x12\x14\n\x0c\x64rop_indexes\x18\n \x03(\t\x12:\n\x16\x61lter_storage_settings\x18\x0b \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x34\n\x13\x61\x64\x64_column_families\x18\x0c \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12\x36\n\x15\x61lter_column_families\x18\r \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12`\n\x10\x61lter_attributes\x18\x0e \x03(\x0b\x32\x31.Ydb.Table.AlterTableRequest.AlterAttributesEntryB\x13\xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\xa2\xe6*\x03\x18\x80 \x12\x1d\n\x15set_compaction_policy\x18\x0f \x01(\t\x12\x44\n\x1b\x61lter_partitioning_settings\x18\x10 \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x35\n\x14set_key_bloom_filter\x18\x11 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x43\n\x1aset_read_replicas_settings\x18\x12 \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12.\n\x0f\x61\x64\x64_changefeeds\x18\x13 \x03(\x0b\x32\x15.Ydb.Table.Changefeed\x12\x18\n\x10\x64rop_changefeeds\x18\x14 \x03(\t\x12\x32\n\x0erename_indexes\x18\x15 \x03(\x0b\x32\x1a.Ydb.Table.RenameIndexItem\x12\x15\n\x0bset_tiering\x18\x16 \x01(\tH\x01\x12.\n\x0c\x64rop_tiering\x18\x17 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\nttl_actionB\x10\n\x0etiering_action\"B\n\x12\x41lterTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x90\x01\n\x10\x43opyTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x13\n\x0bsource_path\x18\x02 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x03 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"A\n\x11\x43opyTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"T\n\rCopyTableItem\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12\x14\n\x0comit_indexes\x18\x03 \x01(\x08\"\x8c\x01\n\x11\x43opyTablesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12(\n\x06tables\x18\x03 \x03(\x0b\x32\x18.Ydb.Table.CopyTableItem\"B\n\x12\x43opyTablesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"]\n\x0fRenameTableItem\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12\x1b\n\x13replace_destination\x18\x03 \x01(\x08\"\x90\x01\n\x13RenameTablesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12*\n\x06tables\x18\x03 \x03(\x0b\x32\x1a.Ydb.Table.RenameTableItem\"D\n\x14RenameTablesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x8e\x02\n\x14\x44\x65scribeTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12 \n\x18include_shard_key_bounds\x18\x05 \x01(\x08\x12\x1b\n\x13include_table_stats\x18\x06 \x01(\x08\x12\x1f\n\x17include_partition_stats\x18\x07 \x01(\x08\x12\x17\n\x0finclude_set_val\x18\x08 \x01(\x08\x12 \n\x18include_shard_nodes_info\x18\t \x01(\x08\"E\n\x15\x44\x65scribeTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xc9\x06\n\x13\x44\x65scribeTableResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12&\n\x07\x63olumns\x18\x02 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x03 \x03(\t\x12)\n\x10shard_key_bounds\x18\x04 \x03(\x0b\x32\x0f.Ydb.TypedValue\x12\x31\n\x07indexes\x18\x05 \x03(\x0b\x32 .Ydb.Table.TableIndexDescription\x12*\n\x0btable_stats\x18\x06 \x01(\x0b\x32\x15.Ydb.Table.TableStats\x12,\n\x0cttl_settings\x18\x07 \x01(\x0b\x32\x16.Ydb.Table.TtlSettings\x12\x34\n\x10storage_settings\x18\x08 \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x30\n\x0f\x63olumn_families\x18\t \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12\x42\n\nattributes\x18\n \x03(\x0b\x32..Ydb.Table.DescribeTableResult.AttributesEntry\x12>\n\x15partitioning_settings\x18\x0c \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x31\n\x10key_bloom_filter\x18\r \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12?\n\x16read_replicas_settings\x18\x0e \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12\x35\n\x0b\x63hangefeeds\x18\x0f \x03(\x0b\x32 .Ydb.Table.ChangefeedDescription\x12\x0f\n\x07tiering\x18\x10 \x01(\t\x12\x11\n\ttemporary\x18\x11 \x01(\x08\x12(\n\nstore_type\x18\x12 \x01(\x0e\x32\x14.Ydb.Table.StoreType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x0b\x10\x0c\"2\n\x05Query\x12\x12\n\x08yql_text\x18\x01 \x01(\tH\x00\x12\x0c\n\x02id\x18\x02 \x01(\tH\x00\x42\x07\n\x05query\"\x1a\n\x18SerializableModeSettings\"6\n\x12OnlineModeSettings\x12 \n\x18\x61llow_inconsistent_reads\x18\x01 \x01(\x08\"\x13\n\x11StaleModeSettings\"\x16\n\x14SnapshotModeSettings\"\x18\n\x16SnapshotRWModeSettings\"\xdd\x02\n\x13TransactionSettings\x12\x46\n\x17serializable_read_write\x18\x01 \x01(\x0b\x32#.Ydb.Table.SerializableModeSettingsH\x00\x12\x39\n\x10online_read_only\x18\x02 \x01(\x0b\x32\x1d.Ydb.Table.OnlineModeSettingsH\x00\x12\x37\n\x0fstale_read_only\x18\x03 \x01(\x0b\x32\x1c.Ydb.Table.StaleModeSettingsH\x00\x12=\n\x12snapshot_read_only\x18\x04 \x01(\x0b\x32\x1f.Ydb.Table.SnapshotModeSettingsH\x00\x12@\n\x13snapshot_read_write\x18\x05 \x01(\x0b\x32!.Ydb.Table.SnapshotRWModeSettingsH\x00\x42\t\n\x07tx_mode\"{\n\x12TransactionControl\x12\x0f\n\x05tx_id\x18\x01 \x01(\tH\x00\x12\x32\n\x08\x62\x65gin_tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Table.TransactionSettingsH\x00\x12\x11\n\tcommit_tx\x18\n \x01(\x08\x42\r\n\x0btx_selector\")\n\x10QueryCachePolicy\x12\x15\n\rkeep_in_cache\x18\x01 \x01(\x08\"\xb1\x01\n\x14QueryStatsCollection\"\x98\x01\n\x04Mode\x12 \n\x1cSTATS_COLLECTION_UNSPECIFIED\x10\x00\x12\x19\n\x15STATS_COLLECTION_NONE\x10\x01\x12\x1a\n\x16STATS_COLLECTION_BASIC\x10\x02\x12\x19\n\x15STATS_COLLECTION_FULL\x10\x03\x12\x1c\n\x18STATS_COLLECTION_PROFILE\x10\x04\"\xbe\x03\n\x17\x45xecuteDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x31\n\ntx_control\x18\x02 \x01(\x0b\x32\x1d.Ydb.Table.TransactionControl\x12\x1f\n\x05query\x18\x03 \x01(\x0b\x32\x10.Ydb.Table.Query\x12\x46\n\nparameters\x18\x04 \x03(\x0b\x32\x32.Ydb.Table.ExecuteDataQueryRequest.ParametersEntry\x12\x37\n\x12query_cache_policy\x18\x05 \x01(\x0b\x32\x1b.Ydb.Table.QueryCachePolicy\x12\x39\n\x10operation_params\x18\x06 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12;\n\rcollect_stats\x18\x07 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"H\n\x18\x45xecuteDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"|\n\x19\x45xecuteSchemeQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"J\n\x1a\x45xecuteSchemeQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x1d\n\x0fTransactionMeta\x12\n\n\x02id\x18\x01 \x01(\t\"\x9f\x01\n\tQueryMeta\x12\n\n\x02id\x18\x01 \x01(\t\x12\x43\n\x10parameters_types\x18\x02 \x03(\x0b\x32).Ydb.Table.QueryMeta.ParametersTypesEntry\x1a\x41\n\x14ParametersTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.Ydb.Type:\x02\x38\x01\"\xc1\x01\n\x12\x45xecuteQueryResult\x12#\n\x0bresult_sets\x18\x01 \x03(\x0b\x32\x0e.Ydb.ResultSet\x12+\n\x07tx_meta\x18\x02 \x01(\x0b\x32\x1a.Ydb.Table.TransactionMeta\x12(\n\nquery_meta\x18\x03 \x01(\x0b\x32\x14.Ydb.Table.QueryMeta\x12/\n\x0bquery_stats\x18\x04 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"\x9c\x01\n\x17\x45xplainDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12 \n\x18\x63ollect_full_diagnostics\x18\x04 \x01(\x08\"H\n\x18\x45xplainDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"[\n\x12\x45xplainQueryResult\x12\x11\n\tquery_ast\x18\x01 \x01(\t\x12\x12\n\nquery_plan\x18\x02 \x01(\t\x12\x1e\n\x16query_full_diagnostics\x18\x03 \x01(\t\"z\n\x17PrepareDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"H\n\x18PrepareDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb7\x01\n\x12PrepareQueryResult\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12L\n\x10parameters_types\x18\x02 \x03(\x0b\x32\x32.Ydb.Table.PrepareQueryResult.ParametersTypesEntry\x1a\x41\n\x14ParametersTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.Ydb.Type:\x02\x38\x01\"a\n\x10KeepAliveRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x39\n\x10operation_params\x18\x02 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"A\n\x11KeepAliveResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb7\x01\n\x0fKeepAliveResult\x12@\n\x0esession_status\x18\x01 \x01(\x0e\x32(.Ydb.Table.KeepAliveResult.SessionStatus\"b\n\rSessionStatus\x12\x1e\n\x1aSESSION_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14SESSION_STATUS_READY\x10\x01\x12\x17\n\x13SESSION_STATUS_BUSY\x10\x02\"\x9d\x01\n\x17\x42\x65ginTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x33\n\x0btx_settings\x18\x02 \x01(\x0b\x32\x1e.Ydb.Table.TransactionSettings\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"H\n\x18\x42\x65ginTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"E\n\x16\x42\x65ginTransactionResult\x12+\n\x07tx_meta\x18\x01 \x01(\x0b\x32\x1a.Ydb.Table.TransactionMeta\"\xb5\x01\n\x18\x43ommitTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\r\n\x05tx_id\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12;\n\rcollect_stats\x18\x04 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\"I\n\x19\x43ommitTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"J\n\x17\x43ommitTransactionResult\x12/\n\x0bquery_stats\x18\x01 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"z\n\x1aRollbackTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\r\n\x05tx_id\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"K\n\x1bRollbackTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x98\x01\n\x18StoragePolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x06labels\x18\x02 \x03(\x0b\x32/.Ydb.Table.StoragePolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9e\x01\n\x1b\x43ompactionPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x42\n\x06labels\x18\x02 \x03(\x0b\x32\x32.Ydb.Table.CompactionPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa2\x01\n\x1dPartitioningPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x06labels\x18\x02 \x03(\x0b\x32\x34.Ydb.Table.PartitioningPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9c\x01\n\x1a\x45xecutionPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x41\n\x06labels\x18\x02 \x03(\x0b\x32\x31.Ydb.Table.ExecutionPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa0\x01\n\x1cReplicationPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x43\n\x06labels\x18\x02 \x03(\x0b\x32\x33.Ydb.Table.ReplicationPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x98\x01\n\x18\x43\x61\x63hingPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x06labels\x18\x02 \x03(\x0b\x32/.Ydb.Table.CachingPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbe\x04\n\x17TableProfileDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12>\n\x06labels\x18\x02 \x03(\x0b\x32..Ydb.Table.TableProfileDescription.LabelsEntry\x12\x1e\n\x16\x64\x65\x66\x61ult_storage_policy\x18\x03 \x01(\t\x12 \n\x18\x61llowed_storage_policies\x18\x04 \x03(\t\x12!\n\x19\x64\x65\x66\x61ult_compaction_policy\x18\x05 \x01(\t\x12#\n\x1b\x61llowed_compaction_policies\x18\x06 \x03(\t\x12#\n\x1b\x64\x65\x66\x61ult_partitioning_policy\x18\x07 \x01(\t\x12%\n\x1d\x61llowed_partitioning_policies\x18\x08 \x03(\t\x12 \n\x18\x64\x65\x66\x61ult_execution_policy\x18\t \x01(\t\x12\"\n\x1a\x61llowed_execution_policies\x18\n \x03(\t\x12\"\n\x1a\x64\x65\x66\x61ult_replication_policy\x18\x0b \x01(\t\x12$\n\x1c\x61llowed_replication_policies\x18\x0c \x03(\t\x12\x1e\n\x16\x64\x65\x66\x61ult_caching_policy\x18\r \x01(\t\x12 \n\x18\x61llowed_caching_policies\x18\x0e \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"X\n\x1b\x44\x65scribeTableOptionsRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"L\n\x1c\x44\x65scribeTableOptionsResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x99\x04\n\x1a\x44\x65scribeTableOptionsResult\x12\x41\n\x15table_profile_presets\x18\x01 \x03(\x0b\x32\".Ydb.Table.TableProfileDescription\x12\x43\n\x16storage_policy_presets\x18\x02 \x03(\x0b\x32#.Ydb.Table.StoragePolicyDescription\x12I\n\x19\x63ompaction_policy_presets\x18\x03 \x03(\x0b\x32&.Ydb.Table.CompactionPolicyDescription\x12M\n\x1bpartitioning_policy_presets\x18\x04 \x03(\x0b\x32(.Ydb.Table.PartitioningPolicyDescription\x12G\n\x18\x65xecution_policy_presets\x18\x05 \x03(\x0b\x32%.Ydb.Table.ExecutionPolicyDescription\x12K\n\x1areplication_policy_presets\x18\x06 \x03(\x0b\x32\'.Ydb.Table.ReplicationPolicyDescription\x12\x43\n\x16\x63\x61\x63hing_policy_presets\x18\x07 \x03(\x0b\x32#.Ydb.Table.CachingPolicyDescription\"\xc0\x01\n\x08KeyRange\x12\"\n\x07greater\x18\x01 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12+\n\x10greater_or_equal\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12\x1f\n\x04less\x18\x03 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x01\x12(\n\rless_or_equal\x18\x04 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x01\x42\x0c\n\nfrom_boundB\n\n\x08to_bound\"\xb8\x02\n\x10ReadTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12&\n\tkey_range\x18\x03 \x01(\x0b\x32\x13.Ydb.Table.KeyRange\x12\x0f\n\x07\x63olumns\x18\x04 \x03(\t\x12\x0f\n\x07ordered\x18\x05 \x01(\x08\x12\x11\n\trow_limit\x18\x06 \x01(\x04\x12-\n\x0cuse_snapshot\x18\x07 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x19\n\x11\x62\x61tch_limit_bytes\x18\x08 \x01(\x04\x12\x18\n\x10\x62\x61tch_limit_rows\x18\t \x01(\x04\x12\x41\n return_not_null_data_as_optional\x18\n \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"\xbc\x01\n\x11ReadTableResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\'\n\x08snapshot\x18\x04 \x01(\x0b\x32\x15.Ydb.VirtualTimestamp\x12*\n\x06result\x18\x03 \x01(\x0b\x32\x1a.Ydb.Table.ReadTableResult\"5\n\x0fReadTableResult\x12\"\n\nresult_set\x18\x01 \x01(\x0b\x32\x0e.Ydb.ResultSet\"c\n\x0fReadRowsRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x1d\n\x04keys\x18\x03 \x01(\x0b\x32\x0f.Ydb.TypedValue\x12\x0f\n\x07\x63olumns\x18\x04 \x03(\t\"\x8a\x01\n\x10ReadRowsResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\nresult_set\x18\x03 \x01(\x0b\x32\x0e.Ydb.ResultSet\"\x8d\x02\n\x11\x42ulkUpsertRequest\x12\r\n\x05table\x18\x01 \x01(\t\x12\x1d\n\x04rows\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12?\n\x14\x61rrow_batch_settings\x18\x07 \x01(\x0b\x32\x1f.Ydb.Formats.ArrowBatchSettingsH\x00\x12\x30\n\x0c\x63sv_settings\x18\x08 \x01(\x0b\x32\x18.Ydb.Formats.CsvSettingsH\x00\x12\r\n\x04\x64\x61ta\x18\xe8\x07 \x01(\x0c\x42\r\n\x0b\x64\x61ta_format\"B\n\x12\x42ulkUpsertResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x12\n\x10\x42ulkUpsertResult\"\xb7\x03\n\x17\x45xecuteScanQueryRequest\x12\x1f\n\x05query\x18\x03 \x01(\x0b\x32\x10.Ydb.Table.Query\x12\x46\n\nparameters\x18\x04 \x03(\x0b\x32\x32.Ydb.Table.ExecuteScanQueryRequest.ParametersEntry\x12\x35\n\x04mode\x18\x06 \x01(\x0e\x32\'.Ydb.Table.ExecuteScanQueryRequest.Mode\x12;\n\rcollect_stats\x18\x08 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\x12$\n\x18\x63ollect_full_diagnostics\x18\t \x01(\x08\x42\x02\x18\x01\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"=\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cMODE_EXPLAIN\x10\x01\x12\r\n\tMODE_EXEC\x10\x03J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x05\x10\x06J\x04\x08\x07\x10\x08\"\xaf\x01\n\x1f\x45xecuteScanQueryPartialResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x38\n\x06result\x18\x03 \x01(\x0b\x32(.Ydb.Table.ExecuteScanQueryPartialResult\"\xd9\x01\n\x1d\x45xecuteScanQueryPartialResult\x12\"\n\nresult_set\x18\x01 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12/\n\x0bquery_stats\x18\x06 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\x12\"\n\x16query_full_diagnostics\x18\x07 \x01(\tB\x02\x18\x01\x12\'\n\x08snapshot\x18\x08 \x01(\x0b\x32\x15.Ydb.VirtualTimestampJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\"l\n!DescribeExternalDataSourceRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"R\n\"DescribeExternalDataSourceResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x95\x02\n DescribeExternalDataSourceResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12\x18\n\x0bsource_type\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08location\x18\x03 \x01(\tH\x01\x88\x01\x01\x12O\n\nproperties\x18\x04 \x03(\x0b\x32;.Ydb.Table.DescribeExternalDataSourceResult.PropertiesEntry\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0c_source_typeB\x0b\n\t_location\"g\n\x1c\x44\x65scribeExternalTableRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"M\n\x1d\x44\x65scribeExternalTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xde\x02\n\x1b\x44\x65scribeExternalTableResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12\x18\n\x0bsource_type\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x1d\n\x10\x64\x61ta_source_path\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x15\n\x08location\x18\x04 \x01(\tH\x02\x88\x01\x01\x12&\n\x07\x63olumns\x18\x05 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x44\n\x07\x63ontent\x18\x06 \x03(\x0b\x32\x33.Ydb.Table.DescribeExternalTableResult.ContentEntry\x1a.\n\x0c\x43ontentEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0c_source_typeB\x13\n\x11_data_source_pathB\x0b\n\t_location\"d\n\x19\x44\x65scribeSystemViewRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"J\n\x1a\x44\x65scribeSystemViewResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xa0\x02\n\x18\x44\x65scribeSystemViewResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12\x13\n\x0bsys_view_id\x18\x02 \x01(\x04\x12\x15\n\rsys_view_name\x18\x03 \x01(\t\x12&\n\x07\x63olumns\x18\x04 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x05 \x03(\t\x12G\n\nattributes\x18\x06 \x03(\x0b\x32\x33.Ydb.Table.DescribeSystemViewResult.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01*R\n\tStoreType\x12\x1a\n\x16STORE_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eSTORE_TYPE_ROW\x10\x01\x12\x15\n\x11STORE_TYPE_COLUMN\x10\x02\x42S\n\x14tech.ydb.proto.tableZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Table\xf8\x01\x01\x62\x06proto3' , dependencies=[protos_dot_annotations_dot_validation__pb2.DESCRIPTOR,protos_dot_ydb__common__pb2.DESCRIPTOR,protos_dot_ydb__issue__message__pb2.DESCRIPTOR,protos_dot_ydb__operation__pb2.DESCRIPTOR,protos_dot_ydb__query__stats__pb2.DESCRIPTOR,protos_dot_ydb__value__pb2.DESCRIPTOR,protos_dot_ydb__scheme__pb2.DESCRIPTOR,protos_dot_ydb__status__codes__pb2.DESCRIPTOR,protos_dot_ydb__topic__pb2.DESCRIPTOR,protos_dot_ydb__formats__pb2.DESCRIPTOR,google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,]) @@ -63,8 +63,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=20382, - serialized_end=20464, + serialized_start=22138, + serialized_end=22220, ) _sym_db.RegisterEnumDescriptor(_STORETYPE) @@ -274,8 +274,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=3192, - serialized_end=3285, + serialized_start=3394, + serialized_end=3487, ) _sym_db.RegisterEnumDescriptor(_CHANGEFEEDDESCRIPTION_STATE) @@ -304,8 +304,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=3848, - serialized_end=3924, + serialized_start=4050, + serialized_end=4126, ) _sym_db.RegisterEnumDescriptor(_COLUMNFAMILYPOLICY_COMPRESSION) @@ -339,8 +339,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=4566, - serialized_end=4684, + serialized_start=4768, + serialized_end=4886, ) _sym_db.RegisterEnumDescriptor(_PARTITIONINGPOLICY_AUTOPARTITIONINGPOLICY) @@ -379,8 +379,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=6212, - serialized_end=6326, + serialized_start=6414, + serialized_end=6528, ) _sym_db.RegisterEnumDescriptor(_VALUESINCEUNIXEPOCHMODESETTINGS_UNIT) @@ -409,8 +409,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=6924, - serialized_end=7009, + serialized_start=7126, + serialized_end=7211, ) _sym_db.RegisterEnumDescriptor(_COLUMNFAMILY_COMPRESSION) @@ -449,8 +449,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=12819, - serialized_end=12971, + serialized_start=13046, + serialized_end=13198, ) _sym_db.RegisterEnumDescriptor(_QUERYSTATSCOLLECTION_MODE) @@ -479,8 +479,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=15049, - serialized_end=15147, + serialized_start=15276, + serialized_end=15374, ) _sym_db.RegisterEnumDescriptor(_KEEPALIVERESULT_SESSIONSTATUS) @@ -509,8 +509,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=19942, - serialized_end=20003, + serialized_start=20173, + serialized_end=20234, ) _sym_db.RegisterEnumDescriptor(_EXECUTESCANQUERYREQUEST_MODE) @@ -1113,8 +1113,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2714, - serialized_end=2763, + serialized_start=2738, + serialized_end=2787, ) _CHANGEFEED = _descriptor.Descriptor( @@ -1195,6 +1195,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='schema_changes', full_name='Ydb.Table.Changefeed.schema_changes', index=10, + number=11, 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, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1208,10 +1215,48 @@ oneofs=[ ], serialized_start=2237, - serialized_end=2763, + serialized_end=2787, ) +_CHANGEFEEDDESCRIPTION_INITIALSCANPROGRESS = _descriptor.Descriptor( + name='InitialScanProgress', + full_name='Ydb.Table.ChangefeedDescription.InitialScanProgress', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='parts_total', full_name='Ydb.Table.ChangefeedDescription.InitialScanProgress.parts_total', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='parts_completed', full_name='Ydb.Table.ChangefeedDescription.InitialScanProgress.parts_completed', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3274, + serialized_end=3341, +) + _CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY = _descriptor.Descriptor( name='AttributesEntry', full_name='Ydb.Table.ChangefeedDescription.AttributesEntry', @@ -1246,8 +1291,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2714, - serialized_end=2763, + serialized_start=2738, + serialized_end=2787, ) _CHANGEFEEDDESCRIPTION = _descriptor.Descriptor( @@ -1314,10 +1359,24 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='initial_scan_progress', full_name='Ydb.Table.ChangefeedDescription.initial_scan_progress', index=8, + number=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='schema_changes', full_name='Ydb.Table.ChangefeedDescription.schema_changes', index=9, + number=10, 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, create_key=_descriptor._internal_create_key), ], extensions=[ ], - nested_types=[_CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY, ], + nested_types=[_CHANGEFEEDDESCRIPTION_INITIALSCANPROGRESS, _CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY, ], enum_types=[ _CHANGEFEEDDESCRIPTION_STATE, ], @@ -1327,8 +1386,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2766, - serialized_end=3285, + serialized_start=2790, + serialized_end=3487, ) @@ -1359,8 +1418,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3287, - serialized_end=3315, + serialized_start=3489, + serialized_end=3517, ) @@ -1433,8 +1492,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3318, - serialized_end=3616, + serialized_start=3520, + serialized_end=3818, ) @@ -1494,8 +1553,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3619, - serialized_end=3924, + serialized_start=3821, + serialized_end=4126, ) @@ -1526,8 +1585,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3926, - serialized_end=3965, + serialized_start=4128, + serialized_end=4167, ) @@ -1558,8 +1617,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3967, - serialized_end=4026, + serialized_start=4169, + serialized_end=4228, ) @@ -1604,8 +1663,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4028, - serialized_end=4111, + serialized_start=4230, + serialized_end=4313, ) @@ -1671,8 +1730,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4114, - serialized_end=4347, + serialized_start=4316, + serialized_end=4549, ) @@ -1730,8 +1789,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=4350, - serialized_end=4698, + serialized_start=4552, + serialized_end=4900, ) @@ -1762,8 +1821,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4700, - serialized_end=4738, + serialized_start=4902, + serialized_end=4940, ) @@ -1815,8 +1874,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4741, - serialized_end=4918, + serialized_start=4943, + serialized_end=5120, ) @@ -1847,8 +1906,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4920, - serialized_end=4956, + serialized_start=5122, + serialized_end=5158, ) @@ -1921,8 +1980,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4959, - serialized_end=5322, + serialized_start=5161, + serialized_end=5524, ) @@ -1970,8 +2029,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=5566, - serialized_end=5652, + serialized_start=5768, + serialized_end=5854, ) _SEQUENCEDESCRIPTION = _descriptor.Descriptor( @@ -2090,8 +2149,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=5325, - serialized_end=5751, + serialized_start=5527, + serialized_end=5953, ) @@ -2167,8 +2226,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=5754, - serialized_end=5972, + serialized_start=5956, + serialized_end=6174, ) @@ -2206,8 +2265,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5974, - serialized_end=6053, + serialized_start=6176, + serialized_end=6255, ) @@ -2253,8 +2312,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6056, - serialized_end=6326, + serialized_start=6258, + serialized_end=6528, ) @@ -2304,8 +2363,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=6329, - serialized_end=6525, + serialized_start=6531, + serialized_end=6727, ) @@ -2357,8 +2416,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6528, - serialized_end=6746, + serialized_start=6730, + serialized_end=6948, ) @@ -2411,8 +2470,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6749, - serialized_end=7009, + serialized_start=6951, + serialized_end=7211, ) @@ -2478,8 +2537,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=7012, - serialized_end=7259, + serialized_start=7214, + serialized_end=7461, ) @@ -2517,8 +2576,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=7261, - serialized_end=7328, + serialized_start=7463, + serialized_end=7530, ) @@ -2549,8 +2608,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=7330, - serialized_end=7425, + serialized_start=7532, + serialized_end=7627, ) @@ -2593,8 +2652,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=7427, - serialized_end=7543, + serialized_start=7629, + serialized_end=7745, ) @@ -2632,8 +2691,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2714, - serialized_end=2763, + serialized_start=2738, + serialized_end=2787, ) _CREATETABLEREQUEST = _descriptor.Descriptor( @@ -2801,8 +2860,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=7546, - serialized_end=8484, + serialized_start=7748, + serialized_end=8686, ) @@ -2833,8 +2892,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=8486, - serialized_end=8553, + serialized_start=8688, + serialized_end=8755, ) @@ -2879,8 +2938,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=8555, - serialized_end=8672, + serialized_start=8757, + serialized_end=8874, ) @@ -2911,8 +2970,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=8674, - serialized_end=8739, + serialized_start=8876, + serialized_end=8941, ) @@ -2957,8 +3016,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=8741, - serialized_end=8834, + serialized_start=8943, + serialized_end=9036, ) @@ -2996,8 +3055,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=9924, - serialized_end=9978, + serialized_start=10126, + serialized_end=10180, ) _ALTERTABLEREQUEST = _descriptor.Descriptor( @@ -3191,8 +3250,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=8837, - serialized_end=10010, + serialized_start=9039, + serialized_end=10212, ) @@ -3223,8 +3282,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=10012, - serialized_end=10078, + serialized_start=10214, + serialized_end=10280, ) @@ -3276,8 +3335,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=10081, - serialized_end=10225, + serialized_start=10283, + serialized_end=10427, ) @@ -3308,8 +3367,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=10227, - serialized_end=10292, + serialized_start=10429, + serialized_end=10494, ) @@ -3354,8 +3413,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=10294, - serialized_end=10378, + serialized_start=10496, + serialized_end=10580, ) @@ -3400,8 +3459,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=10381, - serialized_end=10521, + serialized_start=10583, + serialized_end=10723, ) @@ -3432,8 +3491,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=10523, - serialized_end=10589, + serialized_start=10725, + serialized_end=10791, ) @@ -3478,8 +3537,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=10591, - serialized_end=10684, + serialized_start=10793, + serialized_end=10886, ) @@ -3524,8 +3583,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=10687, - serialized_end=10831, + serialized_start=10889, + serialized_end=11033, ) @@ -3556,8 +3615,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=10833, - serialized_end=10901, + serialized_start=11035, + serialized_end=11103, ) @@ -3612,7 +3671,14 @@ is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( - name='include_shard_nodes_info', full_name='Ydb.Table.DescribeTableRequest.include_shard_nodes_info', index=6, + name='include_set_val', full_name='Ydb.Table.DescribeTableRequest.include_set_val', index=6, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='include_shard_nodes_info', full_name='Ydb.Table.DescribeTableRequest.include_shard_nodes_info', index=7, number=9, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -3630,8 +3696,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=10904, - serialized_end=11149, + serialized_start=11106, + serialized_end=11376, ) @@ -3662,8 +3728,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=11151, - serialized_end=11220, + serialized_start=11378, + serialized_end=11447, ) @@ -3701,8 +3767,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2714, - serialized_end=2763, + serialized_start=2738, + serialized_end=2787, ) _DESCRIBETABLERESULT = _descriptor.Descriptor( @@ -3844,8 +3910,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=11223, - serialized_end=12064, + serialized_start=11450, + serialized_end=12291, ) @@ -3888,8 +3954,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=12066, - serialized_end=12116, + serialized_start=12293, + serialized_end=12343, ) @@ -3913,8 +3979,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=12118, - serialized_end=12144, + serialized_start=12345, + serialized_end=12371, ) @@ -3945,8 +4011,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=12146, - serialized_end=12200, + serialized_start=12373, + serialized_end=12427, ) @@ -3970,8 +4036,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=12202, - serialized_end=12221, + serialized_start=12429, + serialized_end=12448, ) @@ -3995,8 +4061,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=12223, - serialized_end=12245, + serialized_start=12450, + serialized_end=12472, ) @@ -4020,8 +4086,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=12247, - serialized_end=12271, + serialized_start=12474, + serialized_end=12498, ) @@ -4085,8 +4151,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=12274, - serialized_end=12623, + serialized_start=12501, + serialized_end=12850, ) @@ -4136,8 +4202,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=12625, - serialized_end=12748, + serialized_start=12852, + serialized_end=12975, ) @@ -4168,8 +4234,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=12750, - serialized_end=12791, + serialized_start=12977, + serialized_end=13018, ) @@ -4194,8 +4260,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=12794, - serialized_end=12971, + serialized_start=13021, + serialized_end=13198, ) @@ -4233,8 +4299,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=13354, - serialized_end=13420, + serialized_start=13581, + serialized_end=13647, ) _EXECUTEDATAQUERYREQUEST = _descriptor.Descriptor( @@ -4306,8 +4372,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=12974, - serialized_end=13420, + serialized_start=13201, + serialized_end=13647, ) @@ -4338,8 +4404,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=13422, - serialized_end=13494, + serialized_start=13649, + serialized_end=13721, ) @@ -4384,8 +4450,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=13496, - serialized_end=13620, + serialized_start=13723, + serialized_end=13847, ) @@ -4416,8 +4482,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=13622, - serialized_end=13696, + serialized_start=13849, + serialized_end=13923, ) @@ -4448,8 +4514,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=13698, - serialized_end=13727, + serialized_start=13925, + serialized_end=13954, ) @@ -4487,8 +4553,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=13824, - serialized_end=13889, + serialized_start=14051, + serialized_end=14116, ) _QUERYMETA = _descriptor.Descriptor( @@ -4525,8 +4591,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=13730, - serialized_end=13889, + serialized_start=13957, + serialized_end=14116, ) @@ -4578,8 +4644,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=13892, - serialized_end=14085, + serialized_start=14119, + serialized_end=14312, ) @@ -4631,8 +4697,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=14088, - serialized_end=14244, + serialized_start=14315, + serialized_end=14471, ) @@ -4663,8 +4729,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=14246, - serialized_end=14318, + serialized_start=14473, + serialized_end=14545, ) @@ -4709,8 +4775,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=14320, - serialized_end=14411, + serialized_start=14547, + serialized_end=14638, ) @@ -4755,8 +4821,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=14413, - serialized_end=14535, + serialized_start=14640, + serialized_end=14762, ) @@ -4787,8 +4853,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=14537, - serialized_end=14609, + serialized_start=14764, + serialized_end=14836, ) @@ -4826,8 +4892,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=13824, - serialized_end=13889, + serialized_start=14051, + serialized_end=14116, ) _PREPAREQUERYRESULT = _descriptor.Descriptor( @@ -4864,8 +4930,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=14612, - serialized_end=14795, + serialized_start=14839, + serialized_end=15022, ) @@ -4903,8 +4969,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=14797, - serialized_end=14894, + serialized_start=15024, + serialized_end=15121, ) @@ -4935,8 +5001,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=14896, - serialized_end=14961, + serialized_start=15123, + serialized_end=15188, ) @@ -4968,8 +5034,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=14964, - serialized_end=15147, + serialized_start=15191, + serialized_end=15374, ) @@ -5014,8 +5080,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=15150, - serialized_end=15307, + serialized_start=15377, + serialized_end=15534, ) @@ -5046,8 +5112,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=15309, - serialized_end=15381, + serialized_start=15536, + serialized_end=15608, ) @@ -5078,8 +5144,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=15383, - serialized_end=15452, + serialized_start=15610, + serialized_end=15679, ) @@ -5131,8 +5197,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=15455, - serialized_end=15636, + serialized_start=15682, + serialized_end=15863, ) @@ -5163,8 +5229,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=15638, - serialized_end=15711, + serialized_start=15865, + serialized_end=15938, ) @@ -5195,8 +5261,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=15713, - serialized_end=15787, + serialized_start=15940, + serialized_end=16014, ) @@ -5241,8 +5307,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=15789, - serialized_end=15911, + serialized_start=16016, + serialized_end=16138, ) @@ -5273,8 +5339,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=15913, - serialized_end=15988, + serialized_start=16140, + serialized_end=16215, ) @@ -5312,8 +5378,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16098, - serialized_end=16143, + serialized_start=16325, + serialized_end=16370, ) _STORAGEPOLICYDESCRIPTION = _descriptor.Descriptor( @@ -5350,8 +5416,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=15991, - serialized_end=16143, + serialized_start=16218, + serialized_end=16370, ) @@ -5389,8 +5455,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16098, - serialized_end=16143, + serialized_start=16325, + serialized_end=16370, ) _COMPACTIONPOLICYDESCRIPTION = _descriptor.Descriptor( @@ -5427,8 +5493,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16146, - serialized_end=16304, + serialized_start=16373, + serialized_end=16531, ) @@ -5466,8 +5532,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16098, - serialized_end=16143, + serialized_start=16325, + serialized_end=16370, ) _PARTITIONINGPOLICYDESCRIPTION = _descriptor.Descriptor( @@ -5504,8 +5570,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16307, - serialized_end=16469, + serialized_start=16534, + serialized_end=16696, ) @@ -5543,8 +5609,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16098, - serialized_end=16143, + serialized_start=16325, + serialized_end=16370, ) _EXECUTIONPOLICYDESCRIPTION = _descriptor.Descriptor( @@ -5581,8 +5647,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16472, - serialized_end=16628, + serialized_start=16699, + serialized_end=16855, ) @@ -5620,8 +5686,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16098, - serialized_end=16143, + serialized_start=16325, + serialized_end=16370, ) _REPLICATIONPOLICYDESCRIPTION = _descriptor.Descriptor( @@ -5658,8 +5724,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16631, - serialized_end=16791, + serialized_start=16858, + serialized_end=17018, ) @@ -5697,8 +5763,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16098, - serialized_end=16143, + serialized_start=16325, + serialized_end=16370, ) _CACHINGPOLICYDESCRIPTION = _descriptor.Descriptor( @@ -5735,8 +5801,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16794, - serialized_end=16946, + serialized_start=17021, + serialized_end=17173, ) @@ -5774,8 +5840,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16098, - serialized_end=16143, + serialized_start=16325, + serialized_end=16370, ) _TABLEPROFILEDESCRIPTION = _descriptor.Descriptor( @@ -5896,8 +5962,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16949, - serialized_end=17523, + serialized_start=17176, + serialized_end=17750, ) @@ -5928,8 +5994,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=17525, - serialized_end=17613, + serialized_start=17752, + serialized_end=17840, ) @@ -5960,8 +6026,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=17615, - serialized_end=17691, + serialized_start=17842, + serialized_end=17918, ) @@ -6034,8 +6100,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=17694, - serialized_end=18231, + serialized_start=17921, + serialized_end=18458, ) @@ -6097,8 +6163,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=18234, - serialized_end=18426, + serialized_start=18461, + serialized_end=18653, ) @@ -6192,8 +6258,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=18429, - serialized_end=18741, + serialized_start=18656, + serialized_end=18968, ) @@ -6245,8 +6311,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=18744, - serialized_end=18932, + serialized_start=18971, + serialized_end=19159, ) @@ -6277,8 +6343,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=18934, - serialized_end=18987, + serialized_start=19161, + serialized_end=19214, ) @@ -6330,8 +6396,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=18989, - serialized_end=19088, + serialized_start=19216, + serialized_end=19315, ) @@ -6376,8 +6442,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=19091, - serialized_end=19229, + serialized_start=19318, + serialized_end=19456, ) @@ -6448,8 +6514,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=19232, - serialized_end=19501, + serialized_start=19459, + serialized_end=19728, ) @@ -6480,8 +6546,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=19503, - serialized_end=19569, + serialized_start=19730, + serialized_end=19796, ) @@ -6505,8 +6571,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=19571, - serialized_end=19589, + serialized_start=19798, + serialized_end=19816, ) @@ -6544,8 +6610,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=13354, - serialized_end=13420, + serialized_start=13581, + serialized_end=13647, ) _EXECUTESCANQUERYREQUEST = _descriptor.Descriptor( @@ -6590,7 +6656,7 @@ 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, create_key=_descriptor._internal_create_key), + serialized_options=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -6604,8 +6670,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=19592, - serialized_end=20027, + serialized_start=19819, + serialized_end=20258, ) @@ -6650,8 +6716,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=20030, - serialized_end=20205, + serialized_start=20261, + serialized_end=20436, ) @@ -6683,6 +6749,13 @@ 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='snapshot', full_name='Ydb.Table.ExecuteScanQueryPartialResult.snapshot', index=3, + 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, create_key=_descriptor._internal_create_key), ], extensions=[ @@ -6696,208 +6769,749 @@ extension_ranges=[], oneofs=[ ], - serialized_start=20208, - serialized_end=20380, + serialized_start=20439, + serialized_end=20656, ) -_CREATESESSIONREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS -_CREATESESSIONRESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION -_DELETESESSIONREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS -_DELETESESSIONRESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION -_TABLEINDEX.fields_by_name['global_index'].message_type = _GLOBALINDEX -_TABLEINDEX.fields_by_name['global_async_index'].message_type = _GLOBALASYNCINDEX -_TABLEINDEX.fields_by_name['global_unique_index'].message_type = _GLOBALUNIQUEINDEX -_TABLEINDEX.oneofs_by_name['type'].fields.append( - _TABLEINDEX.fields_by_name['global_index']) -_TABLEINDEX.fields_by_name['global_index'].containing_oneof = _TABLEINDEX.oneofs_by_name['type'] -_TABLEINDEX.oneofs_by_name['type'].fields.append( - _TABLEINDEX.fields_by_name['global_async_index']) -_TABLEINDEX.fields_by_name['global_async_index'].containing_oneof = _TABLEINDEX.oneofs_by_name['type'] -_TABLEINDEX.oneofs_by_name['type'].fields.append( - _TABLEINDEX.fields_by_name['global_unique_index']) -_TABLEINDEX.fields_by_name['global_unique_index'].containing_oneof = _TABLEINDEX.oneofs_by_name['type'] -_TABLEINDEXDESCRIPTION.fields_by_name['global_index'].message_type = _GLOBALINDEX -_TABLEINDEXDESCRIPTION.fields_by_name['global_async_index'].message_type = _GLOBALASYNCINDEX -_TABLEINDEXDESCRIPTION.fields_by_name['global_unique_index'].message_type = _GLOBALUNIQUEINDEX -_TABLEINDEXDESCRIPTION.fields_by_name['status'].enum_type = _TABLEINDEXDESCRIPTION_STATUS -_TABLEINDEXDESCRIPTION_STATUS.containing_type = _TABLEINDEXDESCRIPTION -_TABLEINDEXDESCRIPTION.oneofs_by_name['type'].fields.append( - _TABLEINDEXDESCRIPTION.fields_by_name['global_index']) -_TABLEINDEXDESCRIPTION.fields_by_name['global_index'].containing_oneof = _TABLEINDEXDESCRIPTION.oneofs_by_name['type'] -_TABLEINDEXDESCRIPTION.oneofs_by_name['type'].fields.append( - _TABLEINDEXDESCRIPTION.fields_by_name['global_async_index']) -_TABLEINDEXDESCRIPTION.fields_by_name['global_async_index'].containing_oneof = _TABLEINDEXDESCRIPTION.oneofs_by_name['type'] -_TABLEINDEXDESCRIPTION.oneofs_by_name['type'].fields.append( - _TABLEINDEXDESCRIPTION.fields_by_name['global_unique_index']) -_TABLEINDEXDESCRIPTION.fields_by_name['global_unique_index'].containing_oneof = _TABLEINDEXDESCRIPTION.oneofs_by_name['type'] -_INDEXBUILDSTATE_STATE.containing_type = _INDEXBUILDSTATE -_INDEXBUILDDESCRIPTION.fields_by_name['index'].message_type = _TABLEINDEX -_INDEXBUILDMETADATA.fields_by_name['description'].message_type = _INDEXBUILDDESCRIPTION -_INDEXBUILDMETADATA.fields_by_name['state'].enum_type = _INDEXBUILDSTATE_STATE -_CHANGEFEEDMODE_MODE.containing_type = _CHANGEFEEDMODE -_CHANGEFEEDFORMAT_FORMAT.containing_type = _CHANGEFEEDFORMAT -_CHANGEFEED_ATTRIBUTESENTRY.containing_type = _CHANGEFEED -_CHANGEFEED.fields_by_name['mode'].enum_type = _CHANGEFEEDMODE_MODE -_CHANGEFEED.fields_by_name['format'].enum_type = _CHANGEFEEDFORMAT_FORMAT -_CHANGEFEED.fields_by_name['retention_period'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_CHANGEFEED.fields_by_name['attributes'].message_type = _CHANGEFEED_ATTRIBUTESENTRY -_CHANGEFEED.fields_by_name['resolved_timestamps_interval'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_CHANGEFEED.fields_by_name['topic_partitioning_settings'].message_type = protos_dot_ydb__topic__pb2._PARTITIONINGSETTINGS -_CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY.containing_type = _CHANGEFEEDDESCRIPTION -_CHANGEFEEDDESCRIPTION.fields_by_name['mode'].enum_type = _CHANGEFEEDMODE_MODE -_CHANGEFEEDDESCRIPTION.fields_by_name['format'].enum_type = _CHANGEFEEDFORMAT_FORMAT -_CHANGEFEEDDESCRIPTION.fields_by_name['state'].enum_type = _CHANGEFEEDDESCRIPTION_STATE -_CHANGEFEEDDESCRIPTION.fields_by_name['attributes'].message_type = _CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY -_CHANGEFEEDDESCRIPTION.fields_by_name['resolved_timestamps_interval'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_CHANGEFEEDDESCRIPTION_STATE.containing_type = _CHANGEFEEDDESCRIPTION -_STORAGEPOLICY.fields_by_name['syslog'].message_type = _STORAGEPOOL -_STORAGEPOLICY.fields_by_name['log'].message_type = _STORAGEPOOL -_STORAGEPOLICY.fields_by_name['data'].message_type = _STORAGEPOOL -_STORAGEPOLICY.fields_by_name['external'].message_type = _STORAGEPOOL -_STORAGEPOLICY.fields_by_name['keep_in_memory'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS -_STORAGEPOLICY.fields_by_name['column_families'].message_type = _COLUMNFAMILYPOLICY -_COLUMNFAMILYPOLICY.fields_by_name['data'].message_type = _STORAGEPOOL -_COLUMNFAMILYPOLICY.fields_by_name['external'].message_type = _STORAGEPOOL -_COLUMNFAMILYPOLICY.fields_by_name['keep_in_memory'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS -_COLUMNFAMILYPOLICY.fields_by_name['compression'].enum_type = _COLUMNFAMILYPOLICY_COMPRESSION -_COLUMNFAMILYPOLICY_COMPRESSION.containing_type = _COLUMNFAMILYPOLICY -_EXPLICITPARTITIONS.fields_by_name['split_points'].message_type = protos_dot_ydb__value__pb2._TYPEDVALUE -_TABLESTATS.fields_by_name['partition_stats'].message_type = _PARTITIONSTATS -_TABLESTATS.fields_by_name['creation_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TABLESTATS.fields_by_name['modification_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_PARTITIONINGPOLICY.fields_by_name['auto_partitioning'].enum_type = _PARTITIONINGPOLICY_AUTOPARTITIONINGPOLICY -_PARTITIONINGPOLICY.fields_by_name['explicit_partitions'].message_type = _EXPLICITPARTITIONS -_PARTITIONINGPOLICY_AUTOPARTITIONINGPOLICY.containing_type = _PARTITIONINGPOLICY -_PARTITIONINGPOLICY.oneofs_by_name['partitions'].fields.append( - _PARTITIONINGPOLICY.fields_by_name['uniform_partitions']) -_PARTITIONINGPOLICY.fields_by_name['uniform_partitions'].containing_oneof = _PARTITIONINGPOLICY.oneofs_by_name['partitions'] -_PARTITIONINGPOLICY.oneofs_by_name['partitions'].fields.append( - _PARTITIONINGPOLICY.fields_by_name['explicit_partitions']) -_PARTITIONINGPOLICY.fields_by_name['explicit_partitions'].containing_oneof = _PARTITIONINGPOLICY.oneofs_by_name['partitions'] -_REPLICATIONPOLICY.fields_by_name['create_per_availability_zone'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS -_REPLICATIONPOLICY.fields_by_name['allow_promotion'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS -_TABLEPROFILE.fields_by_name['storage_policy'].message_type = _STORAGEPOLICY -_TABLEPROFILE.fields_by_name['compaction_policy'].message_type = _COMPACTIONPOLICY -_TABLEPROFILE.fields_by_name['partitioning_policy'].message_type = _PARTITIONINGPOLICY -_TABLEPROFILE.fields_by_name['execution_policy'].message_type = _EXECUTIONPOLICY -_TABLEPROFILE.fields_by_name['replication_policy'].message_type = _REPLICATIONPOLICY -_TABLEPROFILE.fields_by_name['caching_policy'].message_type = _CACHINGPOLICY -_SEQUENCEDESCRIPTION_SETVAL.containing_type = _SEQUENCEDESCRIPTION -_SEQUENCEDESCRIPTION_SETVAL.oneofs_by_name['_next_value'].fields.append( - _SEQUENCEDESCRIPTION_SETVAL.fields_by_name['next_value']) -_SEQUENCEDESCRIPTION_SETVAL.fields_by_name['next_value'].containing_oneof = _SEQUENCEDESCRIPTION_SETVAL.oneofs_by_name['_next_value'] -_SEQUENCEDESCRIPTION_SETVAL.oneofs_by_name['_next_used'].fields.append( - _SEQUENCEDESCRIPTION_SETVAL.fields_by_name['next_used']) -_SEQUENCEDESCRIPTION_SETVAL.fields_by_name['next_used'].containing_oneof = _SEQUENCEDESCRIPTION_SETVAL.oneofs_by_name['_next_used'] -_SEQUENCEDESCRIPTION.fields_by_name['set_val'].message_type = _SEQUENCEDESCRIPTION_SETVAL -_SEQUENCEDESCRIPTION.oneofs_by_name['_name'].fields.append( - _SEQUENCEDESCRIPTION.fields_by_name['name']) -_SEQUENCEDESCRIPTION.fields_by_name['name'].containing_oneof = _SEQUENCEDESCRIPTION.oneofs_by_name['_name'] -_SEQUENCEDESCRIPTION.oneofs_by_name['_min_value'].fields.append( - _SEQUENCEDESCRIPTION.fields_by_name['min_value']) -_SEQUENCEDESCRIPTION.fields_by_name['min_value'].containing_oneof = _SEQUENCEDESCRIPTION.oneofs_by_name['_min_value'] -_SEQUENCEDESCRIPTION.oneofs_by_name['_max_value'].fields.append( - _SEQUENCEDESCRIPTION.fields_by_name['max_value']) -_SEQUENCEDESCRIPTION.fields_by_name['max_value'].containing_oneof = _SEQUENCEDESCRIPTION.oneofs_by_name['_max_value'] -_SEQUENCEDESCRIPTION.oneofs_by_name['_start_value'].fields.append( - _SEQUENCEDESCRIPTION.fields_by_name['start_value']) -_SEQUENCEDESCRIPTION.fields_by_name['start_value'].containing_oneof = _SEQUENCEDESCRIPTION.oneofs_by_name['_start_value'] -_SEQUENCEDESCRIPTION.oneofs_by_name['_cache'].fields.append( - _SEQUENCEDESCRIPTION.fields_by_name['cache']) -_SEQUENCEDESCRIPTION.fields_by_name['cache'].containing_oneof = _SEQUENCEDESCRIPTION.oneofs_by_name['_cache'] -_SEQUENCEDESCRIPTION.oneofs_by_name['_increment'].fields.append( - _SEQUENCEDESCRIPTION.fields_by_name['increment']) -_SEQUENCEDESCRIPTION.fields_by_name['increment'].containing_oneof = _SEQUENCEDESCRIPTION.oneofs_by_name['_increment'] -_SEQUENCEDESCRIPTION.oneofs_by_name['_cycle'].fields.append( - _SEQUENCEDESCRIPTION.fields_by_name['cycle']) -_SEQUENCEDESCRIPTION.fields_by_name['cycle'].containing_oneof = _SEQUENCEDESCRIPTION.oneofs_by_name['_cycle'] -_SEQUENCEDESCRIPTION.oneofs_by_name['_set_val'].fields.append( - _SEQUENCEDESCRIPTION.fields_by_name['set_val']) -_SEQUENCEDESCRIPTION.fields_by_name['set_val'].containing_oneof = _SEQUENCEDESCRIPTION.oneofs_by_name['_set_val'] -_COLUMNMETA.fields_by_name['type'].message_type = protos_dot_ydb__value__pb2._TYPE -_COLUMNMETA.fields_by_name['from_literal'].message_type = protos_dot_ydb__value__pb2._TYPEDVALUE -_COLUMNMETA.fields_by_name['from_sequence'].message_type = _SEQUENCEDESCRIPTION -_COLUMNMETA.oneofs_by_name['default_value'].fields.append( - _COLUMNMETA.fields_by_name['from_literal']) -_COLUMNMETA.fields_by_name['from_literal'].containing_oneof = _COLUMNMETA.oneofs_by_name['default_value'] -_COLUMNMETA.oneofs_by_name['default_value'].fields.append( - _COLUMNMETA.fields_by_name['from_sequence']) -_COLUMNMETA.fields_by_name['from_sequence'].containing_oneof = _COLUMNMETA.oneofs_by_name['default_value'] -_COLUMNMETA.oneofs_by_name['_not_null'].fields.append( - _COLUMNMETA.fields_by_name['not_null']) -_COLUMNMETA.fields_by_name['not_null'].containing_oneof = _COLUMNMETA.oneofs_by_name['_not_null'] -_VALUESINCEUNIXEPOCHMODESETTINGS.fields_by_name['column_unit'].enum_type = _VALUESINCEUNIXEPOCHMODESETTINGS_UNIT -_VALUESINCEUNIXEPOCHMODESETTINGS_UNIT.containing_type = _VALUESINCEUNIXEPOCHMODESETTINGS -_TTLSETTINGS.fields_by_name['date_type_column'].message_type = _DATETYPECOLUMNMODESETTINGS -_TTLSETTINGS.fields_by_name['value_since_unix_epoch'].message_type = _VALUESINCEUNIXEPOCHMODESETTINGS -_TTLSETTINGS.oneofs_by_name['mode'].fields.append( - _TTLSETTINGS.fields_by_name['date_type_column']) -_TTLSETTINGS.fields_by_name['date_type_column'].containing_oneof = _TTLSETTINGS.oneofs_by_name['mode'] -_TTLSETTINGS.oneofs_by_name['mode'].fields.append( - _TTLSETTINGS.fields_by_name['value_since_unix_epoch']) -_TTLSETTINGS.fields_by_name['value_since_unix_epoch'].containing_oneof = _TTLSETTINGS.oneofs_by_name['mode'] -_STORAGESETTINGS.fields_by_name['tablet_commit_log0'].message_type = _STORAGEPOOL -_STORAGESETTINGS.fields_by_name['tablet_commit_log1'].message_type = _STORAGEPOOL -_STORAGESETTINGS.fields_by_name['external'].message_type = _STORAGEPOOL -_STORAGESETTINGS.fields_by_name['store_external_blobs'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS -_COLUMNFAMILY.fields_by_name['data'].message_type = _STORAGEPOOL -_COLUMNFAMILY.fields_by_name['compression'].enum_type = _COLUMNFAMILY_COMPRESSION -_COLUMNFAMILY.fields_by_name['keep_in_memory'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS -_COLUMNFAMILY_COMPRESSION.containing_type = _COLUMNFAMILY -_PARTITIONINGSETTINGS.fields_by_name['partitioning_by_size'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS -_PARTITIONINGSETTINGS.fields_by_name['partitioning_by_load'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS -_CLUSTERREPLICASSETTINGS.fields_by_name['az_read_replicas_settings'].message_type = _AZREADREPLICASSETTINGS -_READREPLICASSETTINGS.oneofs_by_name['settings'].fields.append( - _READREPLICASSETTINGS.fields_by_name['per_az_read_replicas_count']) -_READREPLICASSETTINGS.fields_by_name['per_az_read_replicas_count'].containing_oneof = _READREPLICASSETTINGS.oneofs_by_name['settings'] -_READREPLICASSETTINGS.oneofs_by_name['settings'].fields.append( - _READREPLICASSETTINGS.fields_by_name['any_az_read_replicas_count']) -_READREPLICASSETTINGS.fields_by_name['any_az_read_replicas_count'].containing_oneof = _READREPLICASSETTINGS.oneofs_by_name['settings'] -_CREATETABLEREQUEST_ATTRIBUTESENTRY.containing_type = _CREATETABLEREQUEST -_CREATETABLEREQUEST.fields_by_name['columns'].message_type = _COLUMNMETA -_CREATETABLEREQUEST.fields_by_name['profile'].message_type = _TABLEPROFILE -_CREATETABLEREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS -_CREATETABLEREQUEST.fields_by_name['indexes'].message_type = _TABLEINDEX -_CREATETABLEREQUEST.fields_by_name['ttl_settings'].message_type = _TTLSETTINGS -_CREATETABLEREQUEST.fields_by_name['storage_settings'].message_type = _STORAGESETTINGS -_CREATETABLEREQUEST.fields_by_name['column_families'].message_type = _COLUMNFAMILY -_CREATETABLEREQUEST.fields_by_name['attributes'].message_type = _CREATETABLEREQUEST_ATTRIBUTESENTRY -_CREATETABLEREQUEST.fields_by_name['partition_at_keys'].message_type = _EXPLICITPARTITIONS -_CREATETABLEREQUEST.fields_by_name['partitioning_settings'].message_type = _PARTITIONINGSETTINGS -_CREATETABLEREQUEST.fields_by_name['key_bloom_filter'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS -_CREATETABLEREQUEST.fields_by_name['read_replicas_settings'].message_type = _READREPLICASSETTINGS -_CREATETABLEREQUEST.fields_by_name['store_type'].enum_type = _STORETYPE -_CREATETABLEREQUEST.oneofs_by_name['partitions'].fields.append( - _CREATETABLEREQUEST.fields_by_name['uniform_partitions']) -_CREATETABLEREQUEST.fields_by_name['uniform_partitions'].containing_oneof = _CREATETABLEREQUEST.oneofs_by_name['partitions'] -_CREATETABLEREQUEST.oneofs_by_name['partitions'].fields.append( - _CREATETABLEREQUEST.fields_by_name['partition_at_keys']) -_CREATETABLEREQUEST.fields_by_name['partition_at_keys'].containing_oneof = _CREATETABLEREQUEST.oneofs_by_name['partitions'] -_CREATETABLERESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION -_DROPTABLEREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS -_DROPTABLERESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION -_ALTERTABLEREQUEST_ALTERATTRIBUTESENTRY.containing_type = _ALTERTABLEREQUEST -_ALTERTABLEREQUEST.fields_by_name['add_columns'].message_type = _COLUMNMETA -_ALTERTABLEREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS -_ALTERTABLEREQUEST.fields_by_name['alter_columns'].message_type = _COLUMNMETA -_ALTERTABLEREQUEST.fields_by_name['set_ttl_settings'].message_type = _TTLSETTINGS -_ALTERTABLEREQUEST.fields_by_name['drop_ttl_settings'].message_type = google_dot_protobuf_dot_empty__pb2._EMPTY -_ALTERTABLEREQUEST.fields_by_name['add_indexes'].message_type = _TABLEINDEX -_ALTERTABLEREQUEST.fields_by_name['alter_storage_settings'].message_type = _STORAGESETTINGS -_ALTERTABLEREQUEST.fields_by_name['add_column_families'].message_type = _COLUMNFAMILY -_ALTERTABLEREQUEST.fields_by_name['alter_column_families'].message_type = _COLUMNFAMILY -_ALTERTABLEREQUEST.fields_by_name['alter_attributes'].message_type = _ALTERTABLEREQUEST_ALTERATTRIBUTESENTRY -_ALTERTABLEREQUEST.fields_by_name['alter_partitioning_settings'].message_type = _PARTITIONINGSETTINGS -_ALTERTABLEREQUEST.fields_by_name['set_key_bloom_filter'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS -_ALTERTABLEREQUEST.fields_by_name['set_read_replicas_settings'].message_type = _READREPLICASSETTINGS -_ALTERTABLEREQUEST.fields_by_name['add_changefeeds'].message_type = _CHANGEFEED -_ALTERTABLEREQUEST.fields_by_name['rename_indexes'].message_type = _RENAMEINDEXITEM -_ALTERTABLEREQUEST.fields_by_name['drop_tiering'].message_type = google_dot_protobuf_dot_empty__pb2._EMPTY -_ALTERTABLEREQUEST.oneofs_by_name['ttl_action'].fields.append( - _ALTERTABLEREQUEST.fields_by_name['set_ttl_settings']) -_ALTERTABLEREQUEST.fields_by_name['set_ttl_settings'].containing_oneof = _ALTERTABLEREQUEST.oneofs_by_name['ttl_action'] -_ALTERTABLEREQUEST.oneofs_by_name['ttl_action'].fields.append( - _ALTERTABLEREQUEST.fields_by_name['drop_ttl_settings']) + +_DESCRIBEEXTERNALDATASOURCEREQUEST = _descriptor.Descriptor( + name='DescribeExternalDataSourceRequest', + full_name='Ydb.Table.DescribeExternalDataSourceRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='operation_params', full_name='Ydb.Table.DescribeExternalDataSourceRequest.operation_params', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='path', full_name='Ydb.Table.DescribeExternalDataSourceRequest.path', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=20658, + serialized_end=20766, +) + + +_DESCRIBEEXTERNALDATASOURCERESPONSE = _descriptor.Descriptor( + name='DescribeExternalDataSourceResponse', + full_name='Ydb.Table.DescribeExternalDataSourceResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='operation', full_name='Ydb.Table.DescribeExternalDataSourceResponse.operation', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=20768, + serialized_end=20850, +) + + +_DESCRIBEEXTERNALDATASOURCERESULT_PROPERTIESENTRY = _descriptor.Descriptor( + name='PropertiesEntry', + full_name='Ydb.Table.DescribeExternalDataSourceResult.PropertiesEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='Ydb.Table.DescribeExternalDataSourceResult.PropertiesEntry.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='Ydb.Table.DescribeExternalDataSourceResult.PropertiesEntry.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=21052, + serialized_end=21101, +) + +_DESCRIBEEXTERNALDATASOURCERESULT = _descriptor.Descriptor( + name='DescribeExternalDataSourceResult', + full_name='Ydb.Table.DescribeExternalDataSourceResult', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='self', full_name='Ydb.Table.DescribeExternalDataSourceResult.self', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='source_type', full_name='Ydb.Table.DescribeExternalDataSourceResult.source_type', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='location', full_name='Ydb.Table.DescribeExternalDataSourceResult.location', index=2, + number=3, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='properties', full_name='Ydb.Table.DescribeExternalDataSourceResult.properties', index=3, + number=4, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_DESCRIBEEXTERNALDATASOURCERESULT_PROPERTIESENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_source_type', full_name='Ydb.Table.DescribeExternalDataSourceResult._source_type', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_location', full_name='Ydb.Table.DescribeExternalDataSourceResult._location', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=20853, + serialized_end=21130, +) + + +_DESCRIBEEXTERNALTABLEREQUEST = _descriptor.Descriptor( + name='DescribeExternalTableRequest', + full_name='Ydb.Table.DescribeExternalTableRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='operation_params', full_name='Ydb.Table.DescribeExternalTableRequest.operation_params', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='path', full_name='Ydb.Table.DescribeExternalTableRequest.path', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=21132, + serialized_end=21235, +) + + +_DESCRIBEEXTERNALTABLERESPONSE = _descriptor.Descriptor( + name='DescribeExternalTableResponse', + full_name='Ydb.Table.DescribeExternalTableResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='operation', full_name='Ydb.Table.DescribeExternalTableResponse.operation', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=21237, + serialized_end=21314, +) + + +_DESCRIBEEXTERNALTABLERESULT_CONTENTENTRY = _descriptor.Descriptor( + name='ContentEntry', + full_name='Ydb.Table.DescribeExternalTableResult.ContentEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='Ydb.Table.DescribeExternalTableResult.ContentEntry.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='Ydb.Table.DescribeExternalTableResult.ContentEntry.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=21571, + serialized_end=21617, +) + +_DESCRIBEEXTERNALTABLERESULT = _descriptor.Descriptor( + name='DescribeExternalTableResult', + full_name='Ydb.Table.DescribeExternalTableResult', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='self', full_name='Ydb.Table.DescribeExternalTableResult.self', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='source_type', full_name='Ydb.Table.DescribeExternalTableResult.source_type', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='data_source_path', full_name='Ydb.Table.DescribeExternalTableResult.data_source_path', index=2, + number=3, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='location', full_name='Ydb.Table.DescribeExternalTableResult.location', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='columns', full_name='Ydb.Table.DescribeExternalTableResult.columns', index=4, + number=5, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='content', full_name='Ydb.Table.DescribeExternalTableResult.content', index=5, + number=6, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_DESCRIBEEXTERNALTABLERESULT_CONTENTENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_source_type', full_name='Ydb.Table.DescribeExternalTableResult._source_type', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_data_source_path', full_name='Ydb.Table.DescribeExternalTableResult._data_source_path', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_location', full_name='Ydb.Table.DescribeExternalTableResult._location', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=21317, + serialized_end=21667, +) + + +_DESCRIBESYSTEMVIEWREQUEST = _descriptor.Descriptor( + name='DescribeSystemViewRequest', + full_name='Ydb.Table.DescribeSystemViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='operation_params', full_name='Ydb.Table.DescribeSystemViewRequest.operation_params', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='path', full_name='Ydb.Table.DescribeSystemViewRequest.path', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=21669, + serialized_end=21769, +) + + +_DESCRIBESYSTEMVIEWRESPONSE = _descriptor.Descriptor( + name='DescribeSystemViewResponse', + full_name='Ydb.Table.DescribeSystemViewResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='operation', full_name='Ydb.Table.DescribeSystemViewResponse.operation', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=21771, + serialized_end=21845, +) + + +_DESCRIBESYSTEMVIEWRESULT_ATTRIBUTESENTRY = _descriptor.Descriptor( + name='AttributesEntry', + full_name='Ydb.Table.DescribeSystemViewResult.AttributesEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='Ydb.Table.DescribeSystemViewResult.AttributesEntry.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='Ydb.Table.DescribeSystemViewResult.AttributesEntry.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'8\001', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2738, + serialized_end=2787, +) + +_DESCRIBESYSTEMVIEWRESULT = _descriptor.Descriptor( + name='DescribeSystemViewResult', + full_name='Ydb.Table.DescribeSystemViewResult', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='self', full_name='Ydb.Table.DescribeSystemViewResult.self', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='sys_view_id', full_name='Ydb.Table.DescribeSystemViewResult.sys_view_id', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='sys_view_name', full_name='Ydb.Table.DescribeSystemViewResult.sys_view_name', index=2, + number=3, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='columns', full_name='Ydb.Table.DescribeSystemViewResult.columns', index=3, + number=4, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='primary_key', full_name='Ydb.Table.DescribeSystemViewResult.primary_key', index=4, + number=5, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='attributes', full_name='Ydb.Table.DescribeSystemViewResult.attributes', index=5, + number=6, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_DESCRIBESYSTEMVIEWRESULT_ATTRIBUTESENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=21848, + serialized_end=22136, +) + +_CREATESESSIONREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS +_CREATESESSIONRESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION +_DELETESESSIONREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS +_DELETESESSIONRESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION +_TABLEINDEX.fields_by_name['global_index'].message_type = _GLOBALINDEX +_TABLEINDEX.fields_by_name['global_async_index'].message_type = _GLOBALASYNCINDEX +_TABLEINDEX.fields_by_name['global_unique_index'].message_type = _GLOBALUNIQUEINDEX +_TABLEINDEX.oneofs_by_name['type'].fields.append( + _TABLEINDEX.fields_by_name['global_index']) +_TABLEINDEX.fields_by_name['global_index'].containing_oneof = _TABLEINDEX.oneofs_by_name['type'] +_TABLEINDEX.oneofs_by_name['type'].fields.append( + _TABLEINDEX.fields_by_name['global_async_index']) +_TABLEINDEX.fields_by_name['global_async_index'].containing_oneof = _TABLEINDEX.oneofs_by_name['type'] +_TABLEINDEX.oneofs_by_name['type'].fields.append( + _TABLEINDEX.fields_by_name['global_unique_index']) +_TABLEINDEX.fields_by_name['global_unique_index'].containing_oneof = _TABLEINDEX.oneofs_by_name['type'] +_TABLEINDEXDESCRIPTION.fields_by_name['global_index'].message_type = _GLOBALINDEX +_TABLEINDEXDESCRIPTION.fields_by_name['global_async_index'].message_type = _GLOBALASYNCINDEX +_TABLEINDEXDESCRIPTION.fields_by_name['global_unique_index'].message_type = _GLOBALUNIQUEINDEX +_TABLEINDEXDESCRIPTION.fields_by_name['status'].enum_type = _TABLEINDEXDESCRIPTION_STATUS +_TABLEINDEXDESCRIPTION_STATUS.containing_type = _TABLEINDEXDESCRIPTION +_TABLEINDEXDESCRIPTION.oneofs_by_name['type'].fields.append( + _TABLEINDEXDESCRIPTION.fields_by_name['global_index']) +_TABLEINDEXDESCRIPTION.fields_by_name['global_index'].containing_oneof = _TABLEINDEXDESCRIPTION.oneofs_by_name['type'] +_TABLEINDEXDESCRIPTION.oneofs_by_name['type'].fields.append( + _TABLEINDEXDESCRIPTION.fields_by_name['global_async_index']) +_TABLEINDEXDESCRIPTION.fields_by_name['global_async_index'].containing_oneof = _TABLEINDEXDESCRIPTION.oneofs_by_name['type'] +_TABLEINDEXDESCRIPTION.oneofs_by_name['type'].fields.append( + _TABLEINDEXDESCRIPTION.fields_by_name['global_unique_index']) +_TABLEINDEXDESCRIPTION.fields_by_name['global_unique_index'].containing_oneof = _TABLEINDEXDESCRIPTION.oneofs_by_name['type'] +_INDEXBUILDSTATE_STATE.containing_type = _INDEXBUILDSTATE +_INDEXBUILDDESCRIPTION.fields_by_name['index'].message_type = _TABLEINDEX +_INDEXBUILDMETADATA.fields_by_name['description'].message_type = _INDEXBUILDDESCRIPTION +_INDEXBUILDMETADATA.fields_by_name['state'].enum_type = _INDEXBUILDSTATE_STATE +_CHANGEFEEDMODE_MODE.containing_type = _CHANGEFEEDMODE +_CHANGEFEEDFORMAT_FORMAT.containing_type = _CHANGEFEEDFORMAT +_CHANGEFEED_ATTRIBUTESENTRY.containing_type = _CHANGEFEED +_CHANGEFEED.fields_by_name['mode'].enum_type = _CHANGEFEEDMODE_MODE +_CHANGEFEED.fields_by_name['format'].enum_type = _CHANGEFEEDFORMAT_FORMAT +_CHANGEFEED.fields_by_name['retention_period'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_CHANGEFEED.fields_by_name['attributes'].message_type = _CHANGEFEED_ATTRIBUTESENTRY +_CHANGEFEED.fields_by_name['resolved_timestamps_interval'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_CHANGEFEED.fields_by_name['topic_partitioning_settings'].message_type = protos_dot_ydb__topic__pb2._PARTITIONINGSETTINGS +_CHANGEFEEDDESCRIPTION_INITIALSCANPROGRESS.containing_type = _CHANGEFEEDDESCRIPTION +_CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY.containing_type = _CHANGEFEEDDESCRIPTION +_CHANGEFEEDDESCRIPTION.fields_by_name['mode'].enum_type = _CHANGEFEEDMODE_MODE +_CHANGEFEEDDESCRIPTION.fields_by_name['format'].enum_type = _CHANGEFEEDFORMAT_FORMAT +_CHANGEFEEDDESCRIPTION.fields_by_name['state'].enum_type = _CHANGEFEEDDESCRIPTION_STATE +_CHANGEFEEDDESCRIPTION.fields_by_name['attributes'].message_type = _CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY +_CHANGEFEEDDESCRIPTION.fields_by_name['resolved_timestamps_interval'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_CHANGEFEEDDESCRIPTION.fields_by_name['initial_scan_progress'].message_type = _CHANGEFEEDDESCRIPTION_INITIALSCANPROGRESS +_CHANGEFEEDDESCRIPTION_STATE.containing_type = _CHANGEFEEDDESCRIPTION +_STORAGEPOLICY.fields_by_name['syslog'].message_type = _STORAGEPOOL +_STORAGEPOLICY.fields_by_name['log'].message_type = _STORAGEPOOL +_STORAGEPOLICY.fields_by_name['data'].message_type = _STORAGEPOOL +_STORAGEPOLICY.fields_by_name['external'].message_type = _STORAGEPOOL +_STORAGEPOLICY.fields_by_name['keep_in_memory'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS +_STORAGEPOLICY.fields_by_name['column_families'].message_type = _COLUMNFAMILYPOLICY +_COLUMNFAMILYPOLICY.fields_by_name['data'].message_type = _STORAGEPOOL +_COLUMNFAMILYPOLICY.fields_by_name['external'].message_type = _STORAGEPOOL +_COLUMNFAMILYPOLICY.fields_by_name['keep_in_memory'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS +_COLUMNFAMILYPOLICY.fields_by_name['compression'].enum_type = _COLUMNFAMILYPOLICY_COMPRESSION +_COLUMNFAMILYPOLICY_COMPRESSION.containing_type = _COLUMNFAMILYPOLICY +_EXPLICITPARTITIONS.fields_by_name['split_points'].message_type = protos_dot_ydb__value__pb2._TYPEDVALUE +_TABLESTATS.fields_by_name['partition_stats'].message_type = _PARTITIONSTATS +_TABLESTATS.fields_by_name['creation_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_TABLESTATS.fields_by_name['modification_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_PARTITIONINGPOLICY.fields_by_name['auto_partitioning'].enum_type = _PARTITIONINGPOLICY_AUTOPARTITIONINGPOLICY +_PARTITIONINGPOLICY.fields_by_name['explicit_partitions'].message_type = _EXPLICITPARTITIONS +_PARTITIONINGPOLICY_AUTOPARTITIONINGPOLICY.containing_type = _PARTITIONINGPOLICY +_PARTITIONINGPOLICY.oneofs_by_name['partitions'].fields.append( + _PARTITIONINGPOLICY.fields_by_name['uniform_partitions']) +_PARTITIONINGPOLICY.fields_by_name['uniform_partitions'].containing_oneof = _PARTITIONINGPOLICY.oneofs_by_name['partitions'] +_PARTITIONINGPOLICY.oneofs_by_name['partitions'].fields.append( + _PARTITIONINGPOLICY.fields_by_name['explicit_partitions']) +_PARTITIONINGPOLICY.fields_by_name['explicit_partitions'].containing_oneof = _PARTITIONINGPOLICY.oneofs_by_name['partitions'] +_REPLICATIONPOLICY.fields_by_name['create_per_availability_zone'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS +_REPLICATIONPOLICY.fields_by_name['allow_promotion'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS +_TABLEPROFILE.fields_by_name['storage_policy'].message_type = _STORAGEPOLICY +_TABLEPROFILE.fields_by_name['compaction_policy'].message_type = _COMPACTIONPOLICY +_TABLEPROFILE.fields_by_name['partitioning_policy'].message_type = _PARTITIONINGPOLICY +_TABLEPROFILE.fields_by_name['execution_policy'].message_type = _EXECUTIONPOLICY +_TABLEPROFILE.fields_by_name['replication_policy'].message_type = _REPLICATIONPOLICY +_TABLEPROFILE.fields_by_name['caching_policy'].message_type = _CACHINGPOLICY +_SEQUENCEDESCRIPTION_SETVAL.containing_type = _SEQUENCEDESCRIPTION +_SEQUENCEDESCRIPTION_SETVAL.oneofs_by_name['_next_value'].fields.append( + _SEQUENCEDESCRIPTION_SETVAL.fields_by_name['next_value']) +_SEQUENCEDESCRIPTION_SETVAL.fields_by_name['next_value'].containing_oneof = _SEQUENCEDESCRIPTION_SETVAL.oneofs_by_name['_next_value'] +_SEQUENCEDESCRIPTION_SETVAL.oneofs_by_name['_next_used'].fields.append( + _SEQUENCEDESCRIPTION_SETVAL.fields_by_name['next_used']) +_SEQUENCEDESCRIPTION_SETVAL.fields_by_name['next_used'].containing_oneof = _SEQUENCEDESCRIPTION_SETVAL.oneofs_by_name['_next_used'] +_SEQUENCEDESCRIPTION.fields_by_name['set_val'].message_type = _SEQUENCEDESCRIPTION_SETVAL +_SEQUENCEDESCRIPTION.oneofs_by_name['_name'].fields.append( + _SEQUENCEDESCRIPTION.fields_by_name['name']) +_SEQUENCEDESCRIPTION.fields_by_name['name'].containing_oneof = _SEQUENCEDESCRIPTION.oneofs_by_name['_name'] +_SEQUENCEDESCRIPTION.oneofs_by_name['_min_value'].fields.append( + _SEQUENCEDESCRIPTION.fields_by_name['min_value']) +_SEQUENCEDESCRIPTION.fields_by_name['min_value'].containing_oneof = _SEQUENCEDESCRIPTION.oneofs_by_name['_min_value'] +_SEQUENCEDESCRIPTION.oneofs_by_name['_max_value'].fields.append( + _SEQUENCEDESCRIPTION.fields_by_name['max_value']) +_SEQUENCEDESCRIPTION.fields_by_name['max_value'].containing_oneof = _SEQUENCEDESCRIPTION.oneofs_by_name['_max_value'] +_SEQUENCEDESCRIPTION.oneofs_by_name['_start_value'].fields.append( + _SEQUENCEDESCRIPTION.fields_by_name['start_value']) +_SEQUENCEDESCRIPTION.fields_by_name['start_value'].containing_oneof = _SEQUENCEDESCRIPTION.oneofs_by_name['_start_value'] +_SEQUENCEDESCRIPTION.oneofs_by_name['_cache'].fields.append( + _SEQUENCEDESCRIPTION.fields_by_name['cache']) +_SEQUENCEDESCRIPTION.fields_by_name['cache'].containing_oneof = _SEQUENCEDESCRIPTION.oneofs_by_name['_cache'] +_SEQUENCEDESCRIPTION.oneofs_by_name['_increment'].fields.append( + _SEQUENCEDESCRIPTION.fields_by_name['increment']) +_SEQUENCEDESCRIPTION.fields_by_name['increment'].containing_oneof = _SEQUENCEDESCRIPTION.oneofs_by_name['_increment'] +_SEQUENCEDESCRIPTION.oneofs_by_name['_cycle'].fields.append( + _SEQUENCEDESCRIPTION.fields_by_name['cycle']) +_SEQUENCEDESCRIPTION.fields_by_name['cycle'].containing_oneof = _SEQUENCEDESCRIPTION.oneofs_by_name['_cycle'] +_SEQUENCEDESCRIPTION.oneofs_by_name['_set_val'].fields.append( + _SEQUENCEDESCRIPTION.fields_by_name['set_val']) +_SEQUENCEDESCRIPTION.fields_by_name['set_val'].containing_oneof = _SEQUENCEDESCRIPTION.oneofs_by_name['_set_val'] +_COLUMNMETA.fields_by_name['type'].message_type = protos_dot_ydb__value__pb2._TYPE +_COLUMNMETA.fields_by_name['from_literal'].message_type = protos_dot_ydb__value__pb2._TYPEDVALUE +_COLUMNMETA.fields_by_name['from_sequence'].message_type = _SEQUENCEDESCRIPTION +_COLUMNMETA.oneofs_by_name['default_value'].fields.append( + _COLUMNMETA.fields_by_name['from_literal']) +_COLUMNMETA.fields_by_name['from_literal'].containing_oneof = _COLUMNMETA.oneofs_by_name['default_value'] +_COLUMNMETA.oneofs_by_name['default_value'].fields.append( + _COLUMNMETA.fields_by_name['from_sequence']) +_COLUMNMETA.fields_by_name['from_sequence'].containing_oneof = _COLUMNMETA.oneofs_by_name['default_value'] +_COLUMNMETA.oneofs_by_name['_not_null'].fields.append( + _COLUMNMETA.fields_by_name['not_null']) +_COLUMNMETA.fields_by_name['not_null'].containing_oneof = _COLUMNMETA.oneofs_by_name['_not_null'] +_VALUESINCEUNIXEPOCHMODESETTINGS.fields_by_name['column_unit'].enum_type = _VALUESINCEUNIXEPOCHMODESETTINGS_UNIT +_VALUESINCEUNIXEPOCHMODESETTINGS_UNIT.containing_type = _VALUESINCEUNIXEPOCHMODESETTINGS +_TTLSETTINGS.fields_by_name['date_type_column'].message_type = _DATETYPECOLUMNMODESETTINGS +_TTLSETTINGS.fields_by_name['value_since_unix_epoch'].message_type = _VALUESINCEUNIXEPOCHMODESETTINGS +_TTLSETTINGS.oneofs_by_name['mode'].fields.append( + _TTLSETTINGS.fields_by_name['date_type_column']) +_TTLSETTINGS.fields_by_name['date_type_column'].containing_oneof = _TTLSETTINGS.oneofs_by_name['mode'] +_TTLSETTINGS.oneofs_by_name['mode'].fields.append( + _TTLSETTINGS.fields_by_name['value_since_unix_epoch']) +_TTLSETTINGS.fields_by_name['value_since_unix_epoch'].containing_oneof = _TTLSETTINGS.oneofs_by_name['mode'] +_STORAGESETTINGS.fields_by_name['tablet_commit_log0'].message_type = _STORAGEPOOL +_STORAGESETTINGS.fields_by_name['tablet_commit_log1'].message_type = _STORAGEPOOL +_STORAGESETTINGS.fields_by_name['external'].message_type = _STORAGEPOOL +_STORAGESETTINGS.fields_by_name['store_external_blobs'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS +_COLUMNFAMILY.fields_by_name['data'].message_type = _STORAGEPOOL +_COLUMNFAMILY.fields_by_name['compression'].enum_type = _COLUMNFAMILY_COMPRESSION +_COLUMNFAMILY.fields_by_name['keep_in_memory'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS +_COLUMNFAMILY_COMPRESSION.containing_type = _COLUMNFAMILY +_PARTITIONINGSETTINGS.fields_by_name['partitioning_by_size'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS +_PARTITIONINGSETTINGS.fields_by_name['partitioning_by_load'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS +_CLUSTERREPLICASSETTINGS.fields_by_name['az_read_replicas_settings'].message_type = _AZREADREPLICASSETTINGS +_READREPLICASSETTINGS.oneofs_by_name['settings'].fields.append( + _READREPLICASSETTINGS.fields_by_name['per_az_read_replicas_count']) +_READREPLICASSETTINGS.fields_by_name['per_az_read_replicas_count'].containing_oneof = _READREPLICASSETTINGS.oneofs_by_name['settings'] +_READREPLICASSETTINGS.oneofs_by_name['settings'].fields.append( + _READREPLICASSETTINGS.fields_by_name['any_az_read_replicas_count']) +_READREPLICASSETTINGS.fields_by_name['any_az_read_replicas_count'].containing_oneof = _READREPLICASSETTINGS.oneofs_by_name['settings'] +_CREATETABLEREQUEST_ATTRIBUTESENTRY.containing_type = _CREATETABLEREQUEST +_CREATETABLEREQUEST.fields_by_name['columns'].message_type = _COLUMNMETA +_CREATETABLEREQUEST.fields_by_name['profile'].message_type = _TABLEPROFILE +_CREATETABLEREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS +_CREATETABLEREQUEST.fields_by_name['indexes'].message_type = _TABLEINDEX +_CREATETABLEREQUEST.fields_by_name['ttl_settings'].message_type = _TTLSETTINGS +_CREATETABLEREQUEST.fields_by_name['storage_settings'].message_type = _STORAGESETTINGS +_CREATETABLEREQUEST.fields_by_name['column_families'].message_type = _COLUMNFAMILY +_CREATETABLEREQUEST.fields_by_name['attributes'].message_type = _CREATETABLEREQUEST_ATTRIBUTESENTRY +_CREATETABLEREQUEST.fields_by_name['partition_at_keys'].message_type = _EXPLICITPARTITIONS +_CREATETABLEREQUEST.fields_by_name['partitioning_settings'].message_type = _PARTITIONINGSETTINGS +_CREATETABLEREQUEST.fields_by_name['key_bloom_filter'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS +_CREATETABLEREQUEST.fields_by_name['read_replicas_settings'].message_type = _READREPLICASSETTINGS +_CREATETABLEREQUEST.fields_by_name['store_type'].enum_type = _STORETYPE +_CREATETABLEREQUEST.oneofs_by_name['partitions'].fields.append( + _CREATETABLEREQUEST.fields_by_name['uniform_partitions']) +_CREATETABLEREQUEST.fields_by_name['uniform_partitions'].containing_oneof = _CREATETABLEREQUEST.oneofs_by_name['partitions'] +_CREATETABLEREQUEST.oneofs_by_name['partitions'].fields.append( + _CREATETABLEREQUEST.fields_by_name['partition_at_keys']) +_CREATETABLEREQUEST.fields_by_name['partition_at_keys'].containing_oneof = _CREATETABLEREQUEST.oneofs_by_name['partitions'] +_CREATETABLERESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION +_DROPTABLEREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS +_DROPTABLERESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION +_ALTERTABLEREQUEST_ALTERATTRIBUTESENTRY.containing_type = _ALTERTABLEREQUEST +_ALTERTABLEREQUEST.fields_by_name['add_columns'].message_type = _COLUMNMETA +_ALTERTABLEREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS +_ALTERTABLEREQUEST.fields_by_name['alter_columns'].message_type = _COLUMNMETA +_ALTERTABLEREQUEST.fields_by_name['set_ttl_settings'].message_type = _TTLSETTINGS +_ALTERTABLEREQUEST.fields_by_name['drop_ttl_settings'].message_type = google_dot_protobuf_dot_empty__pb2._EMPTY +_ALTERTABLEREQUEST.fields_by_name['add_indexes'].message_type = _TABLEINDEX +_ALTERTABLEREQUEST.fields_by_name['alter_storage_settings'].message_type = _STORAGESETTINGS +_ALTERTABLEREQUEST.fields_by_name['add_column_families'].message_type = _COLUMNFAMILY +_ALTERTABLEREQUEST.fields_by_name['alter_column_families'].message_type = _COLUMNFAMILY +_ALTERTABLEREQUEST.fields_by_name['alter_attributes'].message_type = _ALTERTABLEREQUEST_ALTERATTRIBUTESENTRY +_ALTERTABLEREQUEST.fields_by_name['alter_partitioning_settings'].message_type = _PARTITIONINGSETTINGS +_ALTERTABLEREQUEST.fields_by_name['set_key_bloom_filter'].enum_type = protos_dot_ydb__common__pb2._FEATUREFLAG_STATUS +_ALTERTABLEREQUEST.fields_by_name['set_read_replicas_settings'].message_type = _READREPLICASSETTINGS +_ALTERTABLEREQUEST.fields_by_name['add_changefeeds'].message_type = _CHANGEFEED +_ALTERTABLEREQUEST.fields_by_name['rename_indexes'].message_type = _RENAMEINDEXITEM +_ALTERTABLEREQUEST.fields_by_name['drop_tiering'].message_type = google_dot_protobuf_dot_empty__pb2._EMPTY +_ALTERTABLEREQUEST.oneofs_by_name['ttl_action'].fields.append( + _ALTERTABLEREQUEST.fields_by_name['set_ttl_settings']) +_ALTERTABLEREQUEST.fields_by_name['set_ttl_settings'].containing_oneof = _ALTERTABLEREQUEST.oneofs_by_name['ttl_action'] +_ALTERTABLEREQUEST.oneofs_by_name['ttl_action'].fields.append( + _ALTERTABLEREQUEST.fields_by_name['drop_ttl_settings']) _ALTERTABLEREQUEST.fields_by_name['drop_ttl_settings'].containing_oneof = _ALTERTABLEREQUEST.oneofs_by_name['ttl_action'] _ALTERTABLEREQUEST.oneofs_by_name['tiering_action'].fields.append( _ALTERTABLEREQUEST.fields_by_name['set_tiering']) @@ -7078,6 +7692,39 @@ _EXECUTESCANQUERYPARTIALRESPONSE.fields_by_name['result'].message_type = _EXECUTESCANQUERYPARTIALRESULT _EXECUTESCANQUERYPARTIALRESULT.fields_by_name['result_set'].message_type = protos_dot_ydb__value__pb2._RESULTSET _EXECUTESCANQUERYPARTIALRESULT.fields_by_name['query_stats'].message_type = protos_dot_ydb__query__stats__pb2._QUERYSTATS +_EXECUTESCANQUERYPARTIALRESULT.fields_by_name['snapshot'].message_type = protos_dot_ydb__common__pb2._VIRTUALTIMESTAMP +_DESCRIBEEXTERNALDATASOURCEREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS +_DESCRIBEEXTERNALDATASOURCERESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION +_DESCRIBEEXTERNALDATASOURCERESULT_PROPERTIESENTRY.containing_type = _DESCRIBEEXTERNALDATASOURCERESULT +_DESCRIBEEXTERNALDATASOURCERESULT.fields_by_name['self'].message_type = protos_dot_ydb__scheme__pb2._ENTRY +_DESCRIBEEXTERNALDATASOURCERESULT.fields_by_name['properties'].message_type = _DESCRIBEEXTERNALDATASOURCERESULT_PROPERTIESENTRY +_DESCRIBEEXTERNALDATASOURCERESULT.oneofs_by_name['_source_type'].fields.append( + _DESCRIBEEXTERNALDATASOURCERESULT.fields_by_name['source_type']) +_DESCRIBEEXTERNALDATASOURCERESULT.fields_by_name['source_type'].containing_oneof = _DESCRIBEEXTERNALDATASOURCERESULT.oneofs_by_name['_source_type'] +_DESCRIBEEXTERNALDATASOURCERESULT.oneofs_by_name['_location'].fields.append( + _DESCRIBEEXTERNALDATASOURCERESULT.fields_by_name['location']) +_DESCRIBEEXTERNALDATASOURCERESULT.fields_by_name['location'].containing_oneof = _DESCRIBEEXTERNALDATASOURCERESULT.oneofs_by_name['_location'] +_DESCRIBEEXTERNALTABLEREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS +_DESCRIBEEXTERNALTABLERESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION +_DESCRIBEEXTERNALTABLERESULT_CONTENTENTRY.containing_type = _DESCRIBEEXTERNALTABLERESULT +_DESCRIBEEXTERNALTABLERESULT.fields_by_name['self'].message_type = protos_dot_ydb__scheme__pb2._ENTRY +_DESCRIBEEXTERNALTABLERESULT.fields_by_name['columns'].message_type = _COLUMNMETA +_DESCRIBEEXTERNALTABLERESULT.fields_by_name['content'].message_type = _DESCRIBEEXTERNALTABLERESULT_CONTENTENTRY +_DESCRIBEEXTERNALTABLERESULT.oneofs_by_name['_source_type'].fields.append( + _DESCRIBEEXTERNALTABLERESULT.fields_by_name['source_type']) +_DESCRIBEEXTERNALTABLERESULT.fields_by_name['source_type'].containing_oneof = _DESCRIBEEXTERNALTABLERESULT.oneofs_by_name['_source_type'] +_DESCRIBEEXTERNALTABLERESULT.oneofs_by_name['_data_source_path'].fields.append( + _DESCRIBEEXTERNALTABLERESULT.fields_by_name['data_source_path']) +_DESCRIBEEXTERNALTABLERESULT.fields_by_name['data_source_path'].containing_oneof = _DESCRIBEEXTERNALTABLERESULT.oneofs_by_name['_data_source_path'] +_DESCRIBEEXTERNALTABLERESULT.oneofs_by_name['_location'].fields.append( + _DESCRIBEEXTERNALTABLERESULT.fields_by_name['location']) +_DESCRIBEEXTERNALTABLERESULT.fields_by_name['location'].containing_oneof = _DESCRIBEEXTERNALTABLERESULT.oneofs_by_name['_location'] +_DESCRIBESYSTEMVIEWREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS +_DESCRIBESYSTEMVIEWRESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION +_DESCRIBESYSTEMVIEWRESULT_ATTRIBUTESENTRY.containing_type = _DESCRIBESYSTEMVIEWRESULT +_DESCRIBESYSTEMVIEWRESULT.fields_by_name['self'].message_type = protos_dot_ydb__scheme__pb2._ENTRY +_DESCRIBESYSTEMVIEWRESULT.fields_by_name['columns'].message_type = _COLUMNMETA +_DESCRIBESYSTEMVIEWRESULT.fields_by_name['attributes'].message_type = _DESCRIBESYSTEMVIEWRESULT_ATTRIBUTESENTRY DESCRIPTOR.message_types_by_name['CreateSessionRequest'] = _CREATESESSIONREQUEST DESCRIPTOR.message_types_by_name['CreateSessionResponse'] = _CREATESESSIONRESPONSE DESCRIPTOR.message_types_by_name['CreateSessionResult'] = _CREATESESSIONRESULT @@ -7192,6 +7839,15 @@ DESCRIPTOR.message_types_by_name['ExecuteScanQueryRequest'] = _EXECUTESCANQUERYREQUEST DESCRIPTOR.message_types_by_name['ExecuteScanQueryPartialResponse'] = _EXECUTESCANQUERYPARTIALRESPONSE DESCRIPTOR.message_types_by_name['ExecuteScanQueryPartialResult'] = _EXECUTESCANQUERYPARTIALRESULT +DESCRIPTOR.message_types_by_name['DescribeExternalDataSourceRequest'] = _DESCRIBEEXTERNALDATASOURCEREQUEST +DESCRIPTOR.message_types_by_name['DescribeExternalDataSourceResponse'] = _DESCRIBEEXTERNALDATASOURCERESPONSE +DESCRIPTOR.message_types_by_name['DescribeExternalDataSourceResult'] = _DESCRIBEEXTERNALDATASOURCERESULT +DESCRIPTOR.message_types_by_name['DescribeExternalTableRequest'] = _DESCRIBEEXTERNALTABLEREQUEST +DESCRIPTOR.message_types_by_name['DescribeExternalTableResponse'] = _DESCRIBEEXTERNALTABLERESPONSE +DESCRIPTOR.message_types_by_name['DescribeExternalTableResult'] = _DESCRIBEEXTERNALTABLERESULT +DESCRIPTOR.message_types_by_name['DescribeSystemViewRequest'] = _DESCRIBESYSTEMVIEWREQUEST +DESCRIPTOR.message_types_by_name['DescribeSystemViewResponse'] = _DESCRIBESYSTEMVIEWRESPONSE +DESCRIPTOR.message_types_by_name['DescribeSystemViewResult'] = _DESCRIBESYSTEMVIEWRESULT DESCRIPTOR.enum_types_by_name['StoreType'] = _STORETYPE _sym_db.RegisterFileDescriptor(DESCRIPTOR) @@ -7317,6 +7973,13 @@ ChangefeedDescription = _reflection.GeneratedProtocolMessageType('ChangefeedDescription', (_message.Message,), { + 'InitialScanProgress' : _reflection.GeneratedProtocolMessageType('InitialScanProgress', (_message.Message,), { + 'DESCRIPTOR' : _CHANGEFEEDDESCRIPTION_INITIALSCANPROGRESS, + '__module__' : 'protos.ydb_table_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Table.ChangefeedDescription.InitialScanProgress) + }) + , + 'AttributesEntry' : _reflection.GeneratedProtocolMessageType('AttributesEntry', (_message.Message,), { 'DESCRIPTOR' : _CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY, '__module__' : 'protos.ydb_table_pb2' @@ -7328,6 +7991,7 @@ # @@protoc_insertion_point(class_scope:Ydb.Table.ChangefeedDescription) }) _sym_db.RegisterMessage(ChangefeedDescription) +_sym_db.RegisterMessage(ChangefeedDescription.InitialScanProgress) _sym_db.RegisterMessage(ChangefeedDescription.AttributesEntry) StoragePool = _reflection.GeneratedProtocolMessageType('StoragePool', (_message.Message,), { @@ -8129,6 +8793,93 @@ }) _sym_db.RegisterMessage(ExecuteScanQueryPartialResult) +DescribeExternalDataSourceRequest = _reflection.GeneratedProtocolMessageType('DescribeExternalDataSourceRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEEXTERNALDATASOURCEREQUEST, + '__module__' : 'protos.ydb_table_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Table.DescribeExternalDataSourceRequest) + }) +_sym_db.RegisterMessage(DescribeExternalDataSourceRequest) + +DescribeExternalDataSourceResponse = _reflection.GeneratedProtocolMessageType('DescribeExternalDataSourceResponse', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEEXTERNALDATASOURCERESPONSE, + '__module__' : 'protos.ydb_table_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Table.DescribeExternalDataSourceResponse) + }) +_sym_db.RegisterMessage(DescribeExternalDataSourceResponse) + +DescribeExternalDataSourceResult = _reflection.GeneratedProtocolMessageType('DescribeExternalDataSourceResult', (_message.Message,), { + + 'PropertiesEntry' : _reflection.GeneratedProtocolMessageType('PropertiesEntry', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEEXTERNALDATASOURCERESULT_PROPERTIESENTRY, + '__module__' : 'protos.ydb_table_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Table.DescribeExternalDataSourceResult.PropertiesEntry) + }) + , + 'DESCRIPTOR' : _DESCRIBEEXTERNALDATASOURCERESULT, + '__module__' : 'protos.ydb_table_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Table.DescribeExternalDataSourceResult) + }) +_sym_db.RegisterMessage(DescribeExternalDataSourceResult) +_sym_db.RegisterMessage(DescribeExternalDataSourceResult.PropertiesEntry) + +DescribeExternalTableRequest = _reflection.GeneratedProtocolMessageType('DescribeExternalTableRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEEXTERNALTABLEREQUEST, + '__module__' : 'protos.ydb_table_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Table.DescribeExternalTableRequest) + }) +_sym_db.RegisterMessage(DescribeExternalTableRequest) + +DescribeExternalTableResponse = _reflection.GeneratedProtocolMessageType('DescribeExternalTableResponse', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEEXTERNALTABLERESPONSE, + '__module__' : 'protos.ydb_table_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Table.DescribeExternalTableResponse) + }) +_sym_db.RegisterMessage(DescribeExternalTableResponse) + +DescribeExternalTableResult = _reflection.GeneratedProtocolMessageType('DescribeExternalTableResult', (_message.Message,), { + + 'ContentEntry' : _reflection.GeneratedProtocolMessageType('ContentEntry', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBEEXTERNALTABLERESULT_CONTENTENTRY, + '__module__' : 'protos.ydb_table_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Table.DescribeExternalTableResult.ContentEntry) + }) + , + 'DESCRIPTOR' : _DESCRIBEEXTERNALTABLERESULT, + '__module__' : 'protos.ydb_table_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Table.DescribeExternalTableResult) + }) +_sym_db.RegisterMessage(DescribeExternalTableResult) +_sym_db.RegisterMessage(DescribeExternalTableResult.ContentEntry) + +DescribeSystemViewRequest = _reflection.GeneratedProtocolMessageType('DescribeSystemViewRequest', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBESYSTEMVIEWREQUEST, + '__module__' : 'protos.ydb_table_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Table.DescribeSystemViewRequest) + }) +_sym_db.RegisterMessage(DescribeSystemViewRequest) + +DescribeSystemViewResponse = _reflection.GeneratedProtocolMessageType('DescribeSystemViewResponse', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBESYSTEMVIEWRESPONSE, + '__module__' : 'protos.ydb_table_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Table.DescribeSystemViewResponse) + }) +_sym_db.RegisterMessage(DescribeSystemViewResponse) + +DescribeSystemViewResult = _reflection.GeneratedProtocolMessageType('DescribeSystemViewResult', (_message.Message,), { + + 'AttributesEntry' : _reflection.GeneratedProtocolMessageType('AttributesEntry', (_message.Message,), { + 'DESCRIPTOR' : _DESCRIBESYSTEMVIEWRESULT_ATTRIBUTESENTRY, + '__module__' : 'protos.ydb_table_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Table.DescribeSystemViewResult.AttributesEntry) + }) + , + 'DESCRIPTOR' : _DESCRIBESYSTEMVIEWRESULT, + '__module__' : 'protos.ydb_table_pb2' + # @@protoc_insertion_point(class_scope:Ydb.Table.DescribeSystemViewResult) + }) +_sym_db.RegisterMessage(DescribeSystemViewResult) +_sym_db.RegisterMessage(DescribeSystemViewResult.AttributesEntry) + DESCRIPTOR._options = None _CHANGEFEED_ATTRIBUTESENTRY._options = None @@ -8151,4 +8902,9 @@ _CACHINGPOLICYDESCRIPTION_LABELSENTRY._options = None _TABLEPROFILEDESCRIPTION_LABELSENTRY._options = None _EXECUTESCANQUERYREQUEST_PARAMETERSENTRY._options = None +_EXECUTESCANQUERYREQUEST.fields_by_name['collect_full_diagnostics']._options = None +_EXECUTESCANQUERYPARTIALRESULT.fields_by_name['query_full_diagnostics']._options = None +_DESCRIBEEXTERNALDATASOURCERESULT_PROPERTIESENTRY._options = None +_DESCRIBEEXTERNALTABLERESULT_CONTENTENTRY._options = None +_DESCRIBESYSTEMVIEWRESULT_ATTRIBUTESENTRY._options = None # @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v3/protos/ydb_topic_pb2.py b/ydb/_grpc/v3/protos/ydb_topic_pb2.py index 51d32d69a..5def696e4 100644 --- a/ydb/_grpc/v3/protos/ydb_topic_pb2.py +++ b/ydb/_grpc/v3/protos/ydb_topic_pb2.py @@ -30,7 +30,7 @@ syntax='proto3', serialized_options=b'\n\024tech.ydb.proto.topicZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Topic\370\001\001', create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x16protos/ydb_topic.proto\x12\tYdb.Topic\x1a\x1aprotos/ydb_operation.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\"protos/annotations/sensitive.proto\x1a#protos/annotations/validation.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"7\n\x0fSupportedCodecs\x12$\n\x06\x63odecs\x18\x01 \x03(\x05\x42\x14\xb2\xe6*\n[1; 19999]\x9a\xe6*\x02\x18\x64\"*\n\x0cOffsetsRange\x12\r\n\x05start\x18\x01 \x01(\x03\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x03\")\n\x12UpdateTokenRequest\x12\x13\n\x05token\x18\x01 \x01(\tB\x04\xb8\xe6*\x01\"\x15\n\x13UpdateTokenResponse\"C\n\x17PartitionWithGeneration\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x12\n\ngeneration\x18\x02 \x01(\x03\"*\n\x0cMetadataItem\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\"\x9e\x14\n\x12StreamWriteMessage\x1a\xe5\x01\n\nFromClient\x12\x41\n\x0cinit_request\x18\x01 \x01(\x0b\x32).Ydb.Topic.StreamWriteMessage.InitRequestH\x00\x12\x43\n\rwrite_request\x18\x02 \x01(\x0b\x32*.Ydb.Topic.StreamWriteMessage.WriteRequestH\x00\x12=\n\x14update_token_request\x18\x03 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x42\x10\n\x0e\x63lient_message\x1a\xbf\x02\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x43\n\rinit_response\x18\x03 \x01(\x0b\x32*.Ydb.Topic.StreamWriteMessage.InitResponseH\x00\x12\x45\n\x0ewrite_response\x18\x04 \x01(\x0b\x32+.Ydb.Topic.StreamWriteMessage.WriteResponseH\x00\x12?\n\x15update_token_response\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x42\x10\n\x0eserver_message\x1a\xfe\x02\n\x0bInitRequest\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x1c\n\x0bproducer_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12[\n\x12write_session_meta\x18\x03 \x03(\x0b\x32?.Ydb.Topic.StreamWriteMessage.InitRequest.WriteSessionMetaEntry\x12#\n\x10message_group_id\x18\x04 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10H\x00\x12\x16\n\x0cpartition_id\x18\x05 \x01(\x03H\x00\x12G\n\x19partition_with_generation\x18\x07 \x01(\x0b\x32\".Ydb.Topic.PartitionWithGenerationH\x00\x12\x17\n\x0fget_last_seq_no\x18\x06 \x01(\x08\x1a\x37\n\x15WriteSessionMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0cpartitioning\x1a\x83\x01\n\x0cInitResponse\x12\x13\n\x0blast_seq_no\x18\x01 \x01(\x03\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x34\n\x10supported_codecs\x18\x04 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x1a\xe8\x03\n\x0cWriteRequest\x12H\n\x08messages\x18\x01 \x03(\x0b\x32\x36.Ydb.Topic.StreamWriteMessage.WriteRequest.MessageData\x12\r\n\x05\x63odec\x18\x02 \x01(\x05\x12/\n\x02tx\x18\x03 \x01(\x0b\x32\x1e.Ydb.Topic.TransactionIdentityH\x00\x88\x01\x01\x1a\xc6\x02\n\x0bMessageData\x12\x0e\n\x06seq_no\x18\x01 \x01(\x03\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x19\n\x11uncompressed_size\x18\x04 \x01(\x03\x12#\n\x10message_group_id\x18\x05 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10H\x00\x12\x16\n\x0cpartition_id\x18\x06 \x01(\x03H\x00\x12G\n\x19partition_with_generation\x18\x08 \x01(\x0b\x32\".Ydb.Topic.PartitionWithGenerationH\x00\x12\x38\n\x0emetadata_items\x18\x07 \x03(\x0b\x32\x17.Ydb.Topic.MetadataItemB\x07\x9a\xe6*\x03\x18\xe8\x07\x42\x0e\n\x0cpartitioningB\x05\n\x03_tx\x1a\xeb\x07\n\rWriteResponse\x12\x42\n\x04\x61\x63ks\x18\x01 \x03(\x0b\x32\x34.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck\x12\x14\n\x0cpartition_id\x18\x02 \x01(\x03\x12U\n\x10write_statistics\x18\x03 \x01(\x0b\x32;.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteStatistics\x1a\xf8\x03\n\x08WriteAck\x12\x0e\n\x06seq_no\x18\x01 \x01(\x03\x12O\n\x07written\x18\x02 \x01(\x0b\x32<.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.WrittenH\x00\x12O\n\x07skipped\x18\x03 \x01(\x0b\x32<.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.SkippedH\x00\x12Y\n\rwritten_in_tx\x18\x04 \x01(\x0b\x32@.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.WrittenInTxH\x00\x1a\x19\n\x07Written\x12\x0e\n\x06offset\x18\x01 \x01(\x03\x1a\x9c\x01\n\x07Skipped\x12S\n\x06reason\x18\x01 \x01(\x0e\x32\x43.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.Skipped.Reason\"<\n\x06Reason\x12\x16\n\x12REASON_UNSPECIFIED\x10\x00\x12\x1a\n\x16REASON_ALREADY_WRITTEN\x10\x01\x1a\r\n\x0bWrittenInTxB\x16\n\x14message_write_status\x1a\xad\x02\n\x0fWriteStatistics\x12\x32\n\x0fpersisting_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13min_queue_wait_time\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13max_queue_wait_time\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19partition_quota_wait_time\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15topic_quota_wait_time\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x9c#\n\x11StreamReadMessage\x1aT\n\x10PartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x1a\xb1\x05\n\nFromClient\x12@\n\x0cinit_request\x18\x01 \x01(\x0b\x32(.Ydb.Topic.StreamReadMessage.InitRequestH\x00\x12@\n\x0cread_request\x18\x02 \x01(\x0b\x32(.Ydb.Topic.StreamReadMessage.ReadRequestH\x00\x12Q\n\x15\x63ommit_offset_request\x18\x03 \x01(\x0b\x32\x30.Ydb.Topic.StreamReadMessage.CommitOffsetRequestH\x00\x12\x66\n partition_session_status_request\x18\x04 \x01(\x0b\x32:.Ydb.Topic.StreamReadMessage.PartitionSessionStatusRequestH\x00\x12=\n\x14update_token_request\x18\x05 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x12\x45\n\x0f\x64irect_read_ack\x18\x08 \x01(\x0b\x32*.Ydb.Topic.StreamReadMessage.DirectReadAckH\x00\x12\x66\n start_partition_session_response\x18\x06 \x01(\x0b\x32:.Ydb.Topic.StreamReadMessage.StartPartitionSessionResponseH\x00\x12\x64\n\x1fstop_partition_session_response\x18\x07 \x01(\x0b\x32\x39.Ydb.Topic.StreamReadMessage.StopPartitionSessionResponseH\x00\x42\x10\n\x0e\x63lient_message\x1a\xf0\x06\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x42\n\rinit_response\x18\x03 \x01(\x0b\x32).Ydb.Topic.StreamReadMessage.InitResponseH\x00\x12\x42\n\rread_response\x18\x04 \x01(\x0b\x32).Ydb.Topic.StreamReadMessage.ReadResponseH\x00\x12S\n\x16\x63ommit_offset_response\x18\x05 \x01(\x0b\x32\x31.Ydb.Topic.StreamReadMessage.CommitOffsetResponseH\x00\x12h\n!partition_session_status_response\x18\x06 \x01(\x0b\x32;.Ydb.Topic.StreamReadMessage.PartitionSessionStatusResponseH\x00\x12?\n\x15update_token_response\x18\x07 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x12\x64\n\x1fstart_partition_session_request\x18\x08 \x01(\x0b\x32\x39.Ydb.Topic.StreamReadMessage.StartPartitionSessionRequestH\x00\x12\x62\n\x1estop_partition_session_request\x18\t \x01(\x0b\x32\x38.Ydb.Topic.StreamReadMessage.StopPartitionSessionRequestH\x00\x12W\n\x18update_partition_session\x18\n \x01(\x0b\x32\x33.Ydb.Topic.StreamReadMessage.UpdatePartitionSessionH\x00\x12Q\n\x15\x65nd_partition_session\x18\x0b \x01(\x0b\x32\x30.Ydb.Topic.StreamReadMessage.EndPartitionSessionH\x00\x42\x10\n\x0eserver_message\x1a\xdc\x02\n\x0bInitRequest\x12X\n\x14topics_read_settings\x18\x01 \x03(\x0b\x32:.Ydb.Topic.StreamReadMessage.InitRequest.TopicReadSettings\x12\x10\n\x08\x63onsumer\x18\x02 \x01(\t\x12\x13\n\x0breader_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64irect_read\x18\x04 \x01(\x08\x12!\n\x19\x61uto_partitioning_support\x18\x05 \x01(\x08\x1a\x93\x01\n\x11TopicReadSettings\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x15\n\rpartition_ids\x18\x02 \x03(\x03\x12*\n\x07max_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\tread_from\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\"\n\x0cInitResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\x1a!\n\x0bReadRequest\x12\x12\n\nbytes_size\x18\x01 \x01(\x03\x1a\x91\x06\n\x0cReadResponse\x12O\n\x0epartition_data\x18\x01 \x03(\x0b\x32\x37.Ydb.Topic.StreamReadMessage.ReadResponse.PartitionData\x12\x12\n\nbytes_size\x18\x02 \x01(\x03\x1a\xda\x01\n\x0bMessageData\x12\x0e\n\x06offset\x18\x01 \x01(\x03\x12\x0e\n\x06seq_no\x18\x02 \x01(\x03\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c\x12\x19\n\x11uncompressed_size\x18\x06 \x01(\x03\x12!\n\x10message_group_id\x18\x07 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12/\n\x0emetadata_items\x18\x08 \x03(\x0b\x32\x17.Ydb.Topic.MetadataItem\x1a\xcd\x02\n\x05\x42\x61tch\x12K\n\x0cmessage_data\x18\x01 \x03(\x0b\x32\x35.Ydb.Topic.StreamReadMessage.ReadResponse.MessageData\x12\x1c\n\x0bproducer_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12\x61\n\x12write_session_meta\x18\x03 \x03(\x0b\x32\x45.Ydb.Topic.StreamReadMessage.ReadResponse.Batch.WriteSessionMetaEntry\x12\r\n\x05\x63odec\x18\x04 \x01(\x05\x12.\n\nwritten_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x37\n\x15WriteSessionMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1ao\n\rPartitionData\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12@\n\x07\x62\x61tches\x18\x02 \x03(\x0b\x32/.Ydb.Topic.StreamReadMessage.ReadResponse.Batch\x1a\xd6\x01\n\x13\x43ommitOffsetRequest\x12^\n\x0e\x63ommit_offsets\x18\x01 \x03(\x0b\x32\x46.Ydb.Topic.StreamReadMessage.CommitOffsetRequest.PartitionCommitOffset\x1a_\n\x15PartitionCommitOffset\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12(\n\x07offsets\x18\x02 \x03(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x1a\xdc\x01\n\x14\x43ommitOffsetResponse\x12p\n\x1cpartitions_committed_offsets\x18\x01 \x03(\x0b\x32J.Ydb.Topic.StreamReadMessage.CommitOffsetResponse.PartitionCommittedOffset\x1aR\n\x18PartitionCommittedOffset\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x1a=\n\x1dPartitionSessionStatusRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x1a\xcb\x01\n\x1ePartitionSessionStatusResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x02 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x18\n\x10\x63ommitted_offset\x18\x03 \x01(\x03\x12=\n\x19write_time_high_watermark\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\xf0\x01\n\x1cStartPartitionSessionRequest\x12H\n\x11partition_session\x18\x01 \x01(\x0b\x32-.Ydb.Topic.StreamReadMessage.PartitionSession\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x03 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x38\n\x12partition_location\x18\x04 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\x95\x01\n\x1dStartPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x18\n\x0bread_offset\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x1a\n\rcommit_offset\x18\x03 \x01(\x03H\x01\x88\x01\x01\x42\x0e\n\x0c_read_offsetB\x10\n\x0e_commit_offset\x1a\x84\x01\n\x1bStopPartitionSessionRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x10\n\x08graceful\x18\x02 \x01(\x08\x12\x18\n\x10\x63ommitted_offset\x18\x03 \x01(\x03\x12\x1b\n\x13last_direct_read_id\x18\x04 \x01(\x03\x1aN\n\x1cStopPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x10\n\x08graceful\x18\x02 \x01(\x08\x1ap\n\x16UpdatePartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x38\n\x12partition_location\x18\x02 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\x45\n\rDirectReadAck\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x16\n\x0e\x64irect_read_id\x18\x02 \x01(\x03\x1ap\n\x13\x45ndPartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x1e\n\x16\x61\x64jacent_partition_ids\x18\x02 \x03(\x03\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\"\x8b\r\n\x17StreamDirectReadMessage\x1a\xa8\x02\n\nFromClient\x12\x46\n\x0cinit_request\x18\x01 \x01(\x0b\x32..Ydb.Topic.StreamDirectReadMessage.InitRequestH\x00\x12\x80\x01\n+start_direct_read_partition_session_request\x18\x02 \x01(\x0b\x32I.Ydb.Topic.StreamDirectReadMessage.StartDirectReadPartitionSessionRequestH\x00\x12=\n\x14update_token_request\x18\x03 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x42\x10\n\x0e\x63lient_message\x1a\xca\x04\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12H\n\rinit_response\x18\x06 \x01(\x0b\x32/.Ydb.Topic.StreamDirectReadMessage.InitResponseH\x00\x12\x82\x01\n,start_direct_read_partition_session_response\x18\x07 \x01(\x0b\x32J.Ydb.Topic.StreamDirectReadMessage.StartDirectReadPartitionSessionResponseH\x00\x12o\n\"stop_direct_read_partition_session\x18\x03 \x01(\x0b\x32\x41.Ydb.Topic.StreamDirectReadMessage.StopDirectReadPartitionSessionH\x00\x12U\n\x14\x64irect_read_response\x18\x04 \x01(\x0b\x32\x35.Ydb.Topic.StreamDirectReadMessage.DirectReadResponseH\x00\x12?\n\x15update_token_response\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x42\x10\n\x0eserver_message\x1a\xb6\x01\n\x0bInitRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12^\n\x14topics_read_settings\x18\x02 \x03(\x0b\x32@.Ydb.Topic.StreamDirectReadMessage.InitRequest.TopicReadSettings\x12\x10\n\x08\x63onsumer\x18\x03 \x01(\t\x1a!\n\x11TopicReadSettings\x12\x0c\n\x04path\x18\x01 \x01(\t\x1a\x0e\n\x0cInitResponse\x1aw\n&StartDirectReadPartitionSessionRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x1b\n\x13last_direct_read_id\x18\x02 \x01(\x03\x12\x12\n\ngeneration\x18\x03 \x01(\x03\x1a[\n\'StartDirectReadPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x12\n\ngeneration\x18\x02 \x01(\x03\x1a\xa6\x01\n\x1eStopDirectReadPartitionSession\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x1c\n\x14partition_session_id\x18\x03 \x01(\x03\x12\x12\n\ngeneration\x18\x04 \x01(\x03\x1a\xaf\x01\n\x12\x44irectReadResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x16\n\x0e\x64irect_read_id\x18\x02 \x01(\x03\x12O\n\x0epartition_data\x18\x03 \x01(\x0b\x32\x37.Ydb.Topic.StreamReadMessage.ReadResponse.PartitionData\x12\x12\n\nbytes_size\x18\x04 \x01(\x03\"2\n\x13TransactionIdentity\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07session\x18\x02 \x01(\t\"\xc4\x03\n!UpdateOffsetsInTransactionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12*\n\x02tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Topic.TransactionIdentity\x12I\n\x06topics\x18\x03 \x03(\x0b\x32\x39.Ydb.Topic.UpdateOffsetsInTransactionRequest.TopicOffsets\x12\x10\n\x08\x63onsumer\x18\x04 \x01(\t\x1a\xda\x01\n\x0cTopicOffsets\x12\x0c\n\x04path\x18\x01 \x01(\t\x12^\n\npartitions\x18\x02 \x03(\x0b\x32J.Ydb.Topic.UpdateOffsetsInTransactionRequest.TopicOffsets.PartitionOffsets\x1a\\\n\x10PartitionOffsets\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x02 \x03(\x0b\x32\x17.Ydb.Topic.OffsetsRange\"R\n\"UpdateOffsetsInTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\"\n UpdateOffsetsInTransactionResult\"\xaf\x01\n\x13\x43ommitOffsetRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x10\n\x08\x63onsumer\x18\x04 \x01(\t\x12\x0e\n\x06offset\x18\x05 \x01(\x03\x12\x17\n\x0fread_session_id\x18\x06 \x01(\t\"D\n\x14\x43ommitOffsetResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x14\n\x12\x43ommitOffsetResult\"L\n\x13MultipleWindowsStat\x12\x12\n\nper_minute\x18\x01 \x01(\x03\x12\x10\n\x08per_hour\x18\x02 \x01(\x03\x12\x0f\n\x07per_day\x18\x03 \x01(\x03\"\xc3\x05\n\x08\x43onsumer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\timportant\x18\x02 \x01(\x08\x12-\n\tread_from\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10supported_codecs\x18\x05 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x37\n\nattributes\x18\x06 \x03(\x0b\x32#.Ydb.Topic.Consumer.AttributesEntry\x12\x39\n\x0e\x63onsumer_stats\x18\x07 \x01(\x0b\x32!.Ydb.Topic.Consumer.ConsumerStats\x12;\n\x13\x61vailability_period\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xae\x02\n\rConsumerStats\x12\x41\n\x1dmin_partitions_last_read_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x11max_read_time_lag\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12max_write_time_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16max_committed_time_lag\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\nbytes_read\x18\x04 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStatB\x16\n\x14_availability_periodJ\x04\x08\x04\x10\x05\"\xd8\x03\n\rAlterConsumer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1a\n\rset_important\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x31\n\rset_read_from\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14set_supported_codecs\x18\x05 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12G\n\x10\x61lter_attributes\x18\x06 \x03(\x0b\x32-.Ydb.Topic.AlterConsumer.AlterAttributesEntry\x12<\n\x17set_availability_period\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12;\n\x19reset_availability_period\x18\x08 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x1c\n\x1a\x61vailability_period_actionB\x10\n\x0e_set_importantJ\x04\x08\x04\x10\x05\"\xdc\x01\n\x14PartitioningSettings\x12\'\n\x15min_active_partitions\x18\x01 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\'\n\x15max_active_partitions\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12)\n\x15partition_count_limit\x18\x02 \x01(\x03\x42\n\x18\x01\xb2\xe6*\x04>= 0\x12G\n\x1a\x61uto_partitioning_settings\x18\x04 \x01(\x0b\x32#.Ydb.Topic.AutoPartitioningSettings\"\x9f\x01\n\x18\x41utoPartitioningSettings\x12\x35\n\x08strategy\x18\x01 \x01(\x0e\x32#.Ydb.Topic.AutoPartitioningStrategy\x12L\n\x15partition_write_speed\x18\x02 \x01(\x0b\x32-.Ydb.Topic.AutoPartitioningWriteSpeedStrategy\"\xb3\x01\n\"AutoPartitioningWriteSpeedStrategy\x12\x37\n\x14stabilization_window\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n\x16up_utilization_percent\x18\x02 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0\x12*\n\x18\x64own_utilization_percent\x18\x03 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0\"\x8b\x03\n\x19\x41lterPartitioningSettings\x12\x30\n\x19set_min_active_partitions\x18\x01 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x00\x88\x01\x01\x12\x30\n\x19set_max_active_partitions\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x32\n\x19set_partition_count_limit\x18\x02 \x01(\x03\x42\n\x18\x01\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x12W\n alter_auto_partitioning_settings\x18\x04 \x01(\x0b\x32(.Ydb.Topic.AlterAutoPartitioningSettingsH\x03\x88\x01\x01\x42\x1c\n\x1a_set_min_active_partitionsB\x1c\n\x1a_set_max_active_partitionsB\x1c\n\x1a_set_partition_count_limitB#\n!_alter_auto_partitioning_settings\"\xea\x01\n\x1d\x41lterAutoPartitioningSettings\x12>\n\x0cset_strategy\x18\x01 \x01(\x0e\x32#.Ydb.Topic.AutoPartitioningStrategyH\x00\x88\x01\x01\x12Z\n\x19set_partition_write_speed\x18\x02 \x01(\x0b\x32\x32.Ydb.Topic.AlterAutoPartitioningWriteSpeedStrategyH\x01\x88\x01\x01\x42\x0f\n\r_set_strategyB\x1c\n\x1a_set_partition_write_speed\"\xb0\x02\n\'AlterAutoPartitioningWriteSpeedStrategy\x12@\n\x18set_stabilization_window\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x12\x31\n\x1aset_up_utilization_percent\x18\x02 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x33\n\x1cset_down_utilization_percent\x18\x03 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x42\x1b\n\x19_set_stabilization_windowB\x1d\n\x1b_set_up_utilization_percentB\x1f\n\x1d_set_down_utilization_percent\"\xf6\x04\n\x12\x43reateTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12>\n\x15partitioning_settings\x18\x03 \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12&\n\x14retention_storage_mb\x18\x05 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\x34\n\x10supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x38\n&partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12-\n\x1bpartition_write_burst_bytes\x18\t \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\x41\n\nattributes\x18\n \x03(\x0b\x32-.Ydb.Topic.CreateTopicRequest.AttributesEntry\x12/\n\tconsumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.ConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12.\n\rmetering_mode\x18\x0c \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x06\x10\x07\"C\n\x13\x43reateTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x13\n\x11\x43reateTopicResult\"8\n\x11PartitionLocation\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x12\n\ngeneration\x18\x02 \x01(\x03\"\x90\x01\n\x14\x44\x65scribeTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x15\n\rinclude_stats\x18\x03 \x01(\x08\x12\x18\n\x10include_location\x18\x04 \x01(\x08\"E\n\x15\x44\x65scribeTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"_\n\x11PartitionKeyRange\x12\x17\n\nfrom_bound\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x15\n\x08to_bound\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x42\r\n\x0b_from_boundB\x0b\n\t_to_bound\"\xfa\t\n\x13\x44\x65scribeTopicResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12>\n\x15partitioning_settings\x18\x02 \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12@\n\npartitions\x18\x03 \x03(\x0b\x32,.Ydb.Topic.DescribeTopicResult.PartitionInfo\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14retention_storage_mb\x18\x05 \x01(\x03\x12\x34\n\x10supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12.\n&partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x12\x33\n+partition_total_read_speed_bytes_per_second\x18\x0e \x01(\x03\x12\x36\n.partition_consumer_read_speed_bytes_per_second\x18\x0f \x01(\x03\x12#\n\x1bpartition_write_burst_bytes\x18\t \x01(\x03\x12\x42\n\nattributes\x18\n \x03(\x0b\x32..Ydb.Topic.DescribeTopicResult.AttributesEntry\x12&\n\tconsumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.Consumer\x12.\n\rmetering_mode\x18\x0c \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x12>\n\x0btopic_stats\x18\r \x01(\x0b\x32).Ydb.Topic.DescribeTopicResult.TopicStats\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x8f\x02\n\rPartitionInfo\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x61\x63tive\x18\x02 \x01(\x08\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\x12\x1c\n\x14parent_partition_ids\x18\x04 \x03(\x03\x12\x32\n\x0fpartition_stats\x18\x05 \x01(\x0b\x32\x19.Ydb.Topic.PartitionStats\x12\x38\n\x12partition_location\x18\x06 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x12/\n\tkey_range\x18\x07 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionKeyRange\x1a\xcd\x01\n\nTopicStats\x12\x18\n\x10store_size_bytes\x18\x01 \x01(\x03\x12\x37\n\x13min_last_write_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12max_write_time_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\rbytes_written\x18\x04 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStatJ\x04\x08\x06\x10\x07\"\xaa\x01\n\x18\x44\x65scribePartitionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x15\n\rinclude_stats\x18\x04 \x01(\x08\x12\x18\n\x10include_location\x18\x05 \x01(\x08\"I\n\x19\x44\x65scribePartitionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"Z\n\x17\x44\x65scribePartitionResult\x12?\n\tpartition\x18\x01 \x01(\x0b\x32,.Ydb.Topic.DescribeTopicResult.PartitionInfo\"\xa5\x01\n\x17\x44\x65scribeConsumerRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x10\n\x08\x63onsumer\x18\x03 \x01(\t\x12\x15\n\rinclude_stats\x18\x04 \x01(\x08\x12\x18\n\x10include_location\x18\x05 \x01(\x08\"H\n\x18\x44\x65scribeConsumerResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xd3\x07\n\x16\x44\x65scribeConsumerResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12%\n\x08\x63onsumer\x18\x02 \x01(\x0b\x32\x13.Ydb.Topic.Consumer\x12\x43\n\npartitions\x18\x03 \x03(\x0b\x32/.Ydb.Topic.DescribeConsumerResult.PartitionInfo\x1a\xba\x02\n\rPartitionInfo\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x61\x63tive\x18\x02 \x01(\x08\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\x12\x1c\n\x14parent_partition_ids\x18\x04 \x03(\x03\x12\x32\n\x0fpartition_stats\x18\x05 \x01(\x0b\x32\x19.Ydb.Topic.PartitionStats\x12Z\n\x18partition_consumer_stats\x18\x06 \x01(\x0b\x32\x38.Ydb.Topic.DescribeConsumerResult.PartitionConsumerStats\x12\x38\n\x12partition_location\x18\x07 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\xee\x03\n\x16PartitionConsumerStats\x12\x18\n\x10last_read_offset\x18\x01 \x01(\x03\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x12\x17\n\x0fread_session_id\x18\x03 \x01(\t\x12\x46\n\"partition_read_session_create_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0elast_read_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x11max_read_time_lag\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12max_write_time_lag\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16max_committed_time_lag\x18\r \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\nbytes_read\x18\x08 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStat\x12\x13\n\x0breader_name\x18\x0b \x01(\t\x12\x1a\n\x12\x63onnection_node_id\x18\x0c \x01(\x05\"\xa0\x02\n\x0ePartitionStats\x12\x32\n\x11partition_offsets\x18\x01 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x18\n\x10store_size_bytes\x18\x02 \x01(\x03\x12\x33\n\x0flast_write_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12max_write_time_lag\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\rbytes_written\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStat\x12\x1d\n\x11partition_node_id\x18\x08 \x01(\x05\x42\x02\x18\x01\"\x87\x07\n\x11\x41lterTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12I\n\x1b\x61lter_partitioning_settings\x18\x03 \x01(\x0b\x32$.Ydb.Topic.AlterPartitioningSettings\x12\x37\n\x14set_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x18set_retention_storage_mb\x18\x05 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x00\x88\x01\x01\x12\x38\n\x14set_supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x41\n*set_partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x36\n\x1fset_partition_write_burst_bytes\x18\t \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x12K\n\x10\x61lter_attributes\x18\n \x03(\x0b\x32\x31.Ydb.Topic.AlterTopicRequest.AlterAttributesEntry\x12\x33\n\radd_consumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.ConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12\x1f\n\x0e\x64rop_consumers\x18\x0c \x03(\tB\x07\x9a\xe6*\x03\x18\xb8\x17\x12:\n\x0f\x61lter_consumers\x18\r \x03(\x0b\x32\x18.Ydb.Topic.AlterConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12\x32\n\x11set_metering_mode\x18\x0e \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x1b\n\x19_set_retention_storage_mbB-\n+_set_partition_write_speed_bytes_per_secondB\"\n _set_partition_write_burst_bytesJ\x04\x08\x06\x10\x07\"B\n\x12\x41lterTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x12\n\x10\x41lterTopicResult\"[\n\x10\x44ropTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"A\n\x11\x44ropTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x11\n\x0f\x44ropTopicResult*\x83\x01\n\x05\x43odec\x12\x15\n\x11\x43ODEC_UNSPECIFIED\x10\x00\x12\r\n\tCODEC_RAW\x10\x01\x12\x0e\n\nCODEC_GZIP\x10\x02\x12\x0e\n\nCODEC_LZOP\x10\x03\x12\x0e\n\nCODEC_ZSTD\x10\x04\x12\x11\n\x0c\x43ODEC_CUSTOM\x10\x90N\"\x05\x08\x05\x10\x8fN\"\n\x08\xa0\x9c\x01\x10\xff\xff\xff\xff\x07*\xf1\x01\n\x18\x41utoPartitioningStrategy\x12*\n&AUTO_PARTITIONING_STRATEGY_UNSPECIFIED\x10\x00\x12\'\n#AUTO_PARTITIONING_STRATEGY_DISABLED\x10\x01\x12\'\n#AUTO_PARTITIONING_STRATEGY_SCALE_UP\x10\x02\x12\x30\n,AUTO_PARTITIONING_STRATEGY_SCALE_UP_AND_DOWN\x10\x03\x12%\n!AUTO_PARTITIONING_STRATEGY_PAUSED\x10\x04*s\n\x0cMeteringMode\x12\x1d\n\x19METERING_MODE_UNSPECIFIED\x10\x00\x12#\n\x1fMETERING_MODE_RESERVED_CAPACITY\x10\x01\x12\x1f\n\x1bMETERING_MODE_REQUEST_UNITS\x10\x02\x42S\n\x14tech.ydb.proto.topicZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Topic\xf8\x01\x01\x62\x06proto3' + serialized_pb=b'\n\x16protos/ydb_topic.proto\x12\tYdb.Topic\x1a\x1aprotos/ydb_operation.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\"protos/annotations/sensitive.proto\x1a#protos/annotations/validation.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"7\n\x0fSupportedCodecs\x12$\n\x06\x63odecs\x18\x01 \x03(\x05\x42\x14\xb2\xe6*\n[1; 19999]\x9a\xe6*\x02\x18\x64\"*\n\x0cOffsetsRange\x12\r\n\x05start\x18\x01 \x01(\x03\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x03\")\n\x12UpdateTokenRequest\x12\x13\n\x05token\x18\x01 \x01(\tB\x04\xb8\xe6*\x01\"\x15\n\x13UpdateTokenResponse\"C\n\x17PartitionWithGeneration\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x12\n\ngeneration\x18\x02 \x01(\x03\"*\n\x0cMetadataItem\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\"\x9e\x14\n\x12StreamWriteMessage\x1a\xe5\x01\n\nFromClient\x12\x41\n\x0cinit_request\x18\x01 \x01(\x0b\x32).Ydb.Topic.StreamWriteMessage.InitRequestH\x00\x12\x43\n\rwrite_request\x18\x02 \x01(\x0b\x32*.Ydb.Topic.StreamWriteMessage.WriteRequestH\x00\x12=\n\x14update_token_request\x18\x03 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x42\x10\n\x0e\x63lient_message\x1a\xbf\x02\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x43\n\rinit_response\x18\x03 \x01(\x0b\x32*.Ydb.Topic.StreamWriteMessage.InitResponseH\x00\x12\x45\n\x0ewrite_response\x18\x04 \x01(\x0b\x32+.Ydb.Topic.StreamWriteMessage.WriteResponseH\x00\x12?\n\x15update_token_response\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x42\x10\n\x0eserver_message\x1a\xfe\x02\n\x0bInitRequest\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x1c\n\x0bproducer_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12[\n\x12write_session_meta\x18\x03 \x03(\x0b\x32?.Ydb.Topic.StreamWriteMessage.InitRequest.WriteSessionMetaEntry\x12#\n\x10message_group_id\x18\x04 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10H\x00\x12\x16\n\x0cpartition_id\x18\x05 \x01(\x03H\x00\x12G\n\x19partition_with_generation\x18\x07 \x01(\x0b\x32\".Ydb.Topic.PartitionWithGenerationH\x00\x12\x17\n\x0fget_last_seq_no\x18\x06 \x01(\x08\x1a\x37\n\x15WriteSessionMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0cpartitioning\x1a\x83\x01\n\x0cInitResponse\x12\x13\n\x0blast_seq_no\x18\x01 \x01(\x03\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x34\n\x10supported_codecs\x18\x04 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x1a\xe8\x03\n\x0cWriteRequest\x12H\n\x08messages\x18\x01 \x03(\x0b\x32\x36.Ydb.Topic.StreamWriteMessage.WriteRequest.MessageData\x12\r\n\x05\x63odec\x18\x02 \x01(\x05\x12/\n\x02tx\x18\x03 \x01(\x0b\x32\x1e.Ydb.Topic.TransactionIdentityH\x00\x88\x01\x01\x1a\xc6\x02\n\x0bMessageData\x12\x0e\n\x06seq_no\x18\x01 \x01(\x03\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x19\n\x11uncompressed_size\x18\x04 \x01(\x03\x12#\n\x10message_group_id\x18\x05 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10H\x00\x12\x16\n\x0cpartition_id\x18\x06 \x01(\x03H\x00\x12G\n\x19partition_with_generation\x18\x08 \x01(\x0b\x32\".Ydb.Topic.PartitionWithGenerationH\x00\x12\x38\n\x0emetadata_items\x18\x07 \x03(\x0b\x32\x17.Ydb.Topic.MetadataItemB\x07\x9a\xe6*\x03\x18\xe8\x07\x42\x0e\n\x0cpartitioningB\x05\n\x03_tx\x1a\xeb\x07\n\rWriteResponse\x12\x42\n\x04\x61\x63ks\x18\x01 \x03(\x0b\x32\x34.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck\x12\x14\n\x0cpartition_id\x18\x02 \x01(\x03\x12U\n\x10write_statistics\x18\x03 \x01(\x0b\x32;.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteStatistics\x1a\xf8\x03\n\x08WriteAck\x12\x0e\n\x06seq_no\x18\x01 \x01(\x03\x12O\n\x07written\x18\x02 \x01(\x0b\x32<.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.WrittenH\x00\x12O\n\x07skipped\x18\x03 \x01(\x0b\x32<.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.SkippedH\x00\x12Y\n\rwritten_in_tx\x18\x04 \x01(\x0b\x32@.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.WrittenInTxH\x00\x1a\x19\n\x07Written\x12\x0e\n\x06offset\x18\x01 \x01(\x03\x1a\x9c\x01\n\x07Skipped\x12S\n\x06reason\x18\x01 \x01(\x0e\x32\x43.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.Skipped.Reason\"<\n\x06Reason\x12\x16\n\x12REASON_UNSPECIFIED\x10\x00\x12\x1a\n\x16REASON_ALREADY_WRITTEN\x10\x01\x1a\r\n\x0bWrittenInTxB\x16\n\x14message_write_status\x1a\xad\x02\n\x0fWriteStatistics\x12\x32\n\x0fpersisting_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13min_queue_wait_time\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13max_queue_wait_time\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19partition_quota_wait_time\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15topic_quota_wait_time\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xd8#\n\x11StreamReadMessage\x1aT\n\x10PartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x1a\xb1\x05\n\nFromClient\x12@\n\x0cinit_request\x18\x01 \x01(\x0b\x32(.Ydb.Topic.StreamReadMessage.InitRequestH\x00\x12@\n\x0cread_request\x18\x02 \x01(\x0b\x32(.Ydb.Topic.StreamReadMessage.ReadRequestH\x00\x12Q\n\x15\x63ommit_offset_request\x18\x03 \x01(\x0b\x32\x30.Ydb.Topic.StreamReadMessage.CommitOffsetRequestH\x00\x12\x66\n partition_session_status_request\x18\x04 \x01(\x0b\x32:.Ydb.Topic.StreamReadMessage.PartitionSessionStatusRequestH\x00\x12=\n\x14update_token_request\x18\x05 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x12\x45\n\x0f\x64irect_read_ack\x18\x08 \x01(\x0b\x32*.Ydb.Topic.StreamReadMessage.DirectReadAckH\x00\x12\x66\n start_partition_session_response\x18\x06 \x01(\x0b\x32:.Ydb.Topic.StreamReadMessage.StartPartitionSessionResponseH\x00\x12\x64\n\x1fstop_partition_session_response\x18\x07 \x01(\x0b\x32\x39.Ydb.Topic.StreamReadMessage.StopPartitionSessionResponseH\x00\x42\x10\n\x0e\x63lient_message\x1a\xf0\x06\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x42\n\rinit_response\x18\x03 \x01(\x0b\x32).Ydb.Topic.StreamReadMessage.InitResponseH\x00\x12\x42\n\rread_response\x18\x04 \x01(\x0b\x32).Ydb.Topic.StreamReadMessage.ReadResponseH\x00\x12S\n\x16\x63ommit_offset_response\x18\x05 \x01(\x0b\x32\x31.Ydb.Topic.StreamReadMessage.CommitOffsetResponseH\x00\x12h\n!partition_session_status_response\x18\x06 \x01(\x0b\x32;.Ydb.Topic.StreamReadMessage.PartitionSessionStatusResponseH\x00\x12?\n\x15update_token_response\x18\x07 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x12\x64\n\x1fstart_partition_session_request\x18\x08 \x01(\x0b\x32\x39.Ydb.Topic.StreamReadMessage.StartPartitionSessionRequestH\x00\x12\x62\n\x1estop_partition_session_request\x18\t \x01(\x0b\x32\x38.Ydb.Topic.StreamReadMessage.StopPartitionSessionRequestH\x00\x12W\n\x18update_partition_session\x18\n \x01(\x0b\x32\x33.Ydb.Topic.StreamReadMessage.UpdatePartitionSessionH\x00\x12Q\n\x15\x65nd_partition_session\x18\x0b \x01(\x0b\x32\x30.Ydb.Topic.StreamReadMessage.EndPartitionSessionH\x00\x42\x10\n\x0eserver_message\x1a\x83\x03\n\x0bInitRequest\x12X\n\x14topics_read_settings\x18\x01 \x03(\x0b\x32:.Ydb.Topic.StreamReadMessage.InitRequest.TopicReadSettings\x12\x10\n\x08\x63onsumer\x18\x02 \x01(\t\x12\x13\n\x0breader_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64irect_read\x18\x04 \x01(\x08\x12!\n\x19\x61uto_partitioning_support\x18\x05 \x01(\x08\x12%\n\x1dpartition_max_in_flight_bytes\x18\x06 \x01(\x04\x1a\x93\x01\n\x11TopicReadSettings\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x15\n\rpartition_ids\x18\x02 \x03(\x03\x12*\n\x07max_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\tread_from\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\"\n\x0cInitResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\x1a!\n\x0bReadRequest\x12\x12\n\nbytes_size\x18\x01 \x01(\x03\x1a\x91\x06\n\x0cReadResponse\x12O\n\x0epartition_data\x18\x01 \x03(\x0b\x32\x37.Ydb.Topic.StreamReadMessage.ReadResponse.PartitionData\x12\x12\n\nbytes_size\x18\x02 \x01(\x03\x1a\xda\x01\n\x0bMessageData\x12\x0e\n\x06offset\x18\x01 \x01(\x03\x12\x0e\n\x06seq_no\x18\x02 \x01(\x03\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c\x12\x19\n\x11uncompressed_size\x18\x06 \x01(\x03\x12!\n\x10message_group_id\x18\x07 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12/\n\x0emetadata_items\x18\x08 \x03(\x0b\x32\x17.Ydb.Topic.MetadataItem\x1a\xcd\x02\n\x05\x42\x61tch\x12K\n\x0cmessage_data\x18\x01 \x03(\x0b\x32\x35.Ydb.Topic.StreamReadMessage.ReadResponse.MessageData\x12\x1c\n\x0bproducer_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12\x61\n\x12write_session_meta\x18\x03 \x03(\x0b\x32\x45.Ydb.Topic.StreamReadMessage.ReadResponse.Batch.WriteSessionMetaEntry\x12\r\n\x05\x63odec\x18\x04 \x01(\x05\x12.\n\nwritten_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x37\n\x15WriteSessionMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1ao\n\rPartitionData\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12@\n\x07\x62\x61tches\x18\x02 \x03(\x0b\x32/.Ydb.Topic.StreamReadMessage.ReadResponse.Batch\x1a\xd6\x01\n\x13\x43ommitOffsetRequest\x12^\n\x0e\x63ommit_offsets\x18\x01 \x03(\x0b\x32\x46.Ydb.Topic.StreamReadMessage.CommitOffsetRequest.PartitionCommitOffset\x1a_\n\x15PartitionCommitOffset\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12(\n\x07offsets\x18\x02 \x03(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x1a\xdc\x01\n\x14\x43ommitOffsetResponse\x12p\n\x1cpartitions_committed_offsets\x18\x01 \x03(\x0b\x32J.Ydb.Topic.StreamReadMessage.CommitOffsetResponse.PartitionCommittedOffset\x1aR\n\x18PartitionCommittedOffset\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x1a=\n\x1dPartitionSessionStatusRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x1a\xe0\x01\n\x1ePartitionSessionStatusResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x02 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x18\n\x10\x63ommitted_offset\x18\x03 \x01(\x03\x12=\n\x19write_time_high_watermark\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bread_offset\x18\x05 \x01(\x03\x1a\xf0\x01\n\x1cStartPartitionSessionRequest\x12H\n\x11partition_session\x18\x01 \x01(\x0b\x32-.Ydb.Topic.StreamReadMessage.PartitionSession\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x03 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x38\n\x12partition_location\x18\x04 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\x95\x01\n\x1dStartPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x18\n\x0bread_offset\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x1a\n\rcommit_offset\x18\x03 \x01(\x03H\x01\x88\x01\x01\x42\x0e\n\x0c_read_offsetB\x10\n\x0e_commit_offset\x1a\x84\x01\n\x1bStopPartitionSessionRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x10\n\x08graceful\x18\x02 \x01(\x08\x12\x18\n\x10\x63ommitted_offset\x18\x03 \x01(\x03\x12\x1b\n\x13last_direct_read_id\x18\x04 \x01(\x03\x1aN\n\x1cStopPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x10\n\x08graceful\x18\x02 \x01(\x08\x1ap\n\x16UpdatePartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x38\n\x12partition_location\x18\x02 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\x45\n\rDirectReadAck\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x16\n\x0e\x64irect_read_id\x18\x02 \x01(\x03\x1ap\n\x13\x45ndPartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x1e\n\x16\x61\x64jacent_partition_ids\x18\x02 \x03(\x03\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\"\x8b\r\n\x17StreamDirectReadMessage\x1a\xa8\x02\n\nFromClient\x12\x46\n\x0cinit_request\x18\x01 \x01(\x0b\x32..Ydb.Topic.StreamDirectReadMessage.InitRequestH\x00\x12\x80\x01\n+start_direct_read_partition_session_request\x18\x02 \x01(\x0b\x32I.Ydb.Topic.StreamDirectReadMessage.StartDirectReadPartitionSessionRequestH\x00\x12=\n\x14update_token_request\x18\x03 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x42\x10\n\x0e\x63lient_message\x1a\xca\x04\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12H\n\rinit_response\x18\x06 \x01(\x0b\x32/.Ydb.Topic.StreamDirectReadMessage.InitResponseH\x00\x12\x82\x01\n,start_direct_read_partition_session_response\x18\x07 \x01(\x0b\x32J.Ydb.Topic.StreamDirectReadMessage.StartDirectReadPartitionSessionResponseH\x00\x12o\n\"stop_direct_read_partition_session\x18\x03 \x01(\x0b\x32\x41.Ydb.Topic.StreamDirectReadMessage.StopDirectReadPartitionSessionH\x00\x12U\n\x14\x64irect_read_response\x18\x04 \x01(\x0b\x32\x35.Ydb.Topic.StreamDirectReadMessage.DirectReadResponseH\x00\x12?\n\x15update_token_response\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x42\x10\n\x0eserver_message\x1a\xb6\x01\n\x0bInitRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12^\n\x14topics_read_settings\x18\x02 \x03(\x0b\x32@.Ydb.Topic.StreamDirectReadMessage.InitRequest.TopicReadSettings\x12\x10\n\x08\x63onsumer\x18\x03 \x01(\t\x1a!\n\x11TopicReadSettings\x12\x0c\n\x04path\x18\x01 \x01(\t\x1a\x0e\n\x0cInitResponse\x1aw\n&StartDirectReadPartitionSessionRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x1b\n\x13last_direct_read_id\x18\x02 \x01(\x03\x12\x12\n\ngeneration\x18\x03 \x01(\x03\x1a[\n\'StartDirectReadPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x12\n\ngeneration\x18\x02 \x01(\x03\x1a\xa6\x01\n\x1eStopDirectReadPartitionSession\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x1c\n\x14partition_session_id\x18\x03 \x01(\x03\x12\x12\n\ngeneration\x18\x04 \x01(\x03\x1a\xaf\x01\n\x12\x44irectReadResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x16\n\x0e\x64irect_read_id\x18\x02 \x01(\x03\x12O\n\x0epartition_data\x18\x03 \x01(\x0b\x32\x37.Ydb.Topic.StreamReadMessage.ReadResponse.PartitionData\x12\x12\n\nbytes_size\x18\x04 \x01(\x03\"2\n\x13TransactionIdentity\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07session\x18\x02 \x01(\t\"\xc4\x03\n!UpdateOffsetsInTransactionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12*\n\x02tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Topic.TransactionIdentity\x12I\n\x06topics\x18\x03 \x03(\x0b\x32\x39.Ydb.Topic.UpdateOffsetsInTransactionRequest.TopicOffsets\x12\x10\n\x08\x63onsumer\x18\x04 \x01(\t\x1a\xda\x01\n\x0cTopicOffsets\x12\x0c\n\x04path\x18\x01 \x01(\t\x12^\n\npartitions\x18\x02 \x03(\x0b\x32J.Ydb.Topic.UpdateOffsetsInTransactionRequest.TopicOffsets.PartitionOffsets\x1a\\\n\x10PartitionOffsets\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x02 \x03(\x0b\x32\x17.Ydb.Topic.OffsetsRange\"R\n\"UpdateOffsetsInTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\"\n UpdateOffsetsInTransactionResult\"\xaf\x01\n\x13\x43ommitOffsetRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x10\n\x08\x63onsumer\x18\x04 \x01(\t\x12\x0e\n\x06offset\x18\x05 \x01(\x03\x12\x17\n\x0fread_session_id\x18\x06 \x01(\t\"D\n\x14\x43ommitOffsetResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x14\n\x12\x43ommitOffsetResult\"L\n\x13MultipleWindowsStat\x12\x12\n\nper_minute\x18\x01 \x01(\x03\x12\x10\n\x08per_hour\x18\x02 \x01(\x03\x12\x0f\n\x07per_day\x18\x03 \x01(\x03\"\xc3\x05\n\x08\x43onsumer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\timportant\x18\x02 \x01(\x08\x12-\n\tread_from\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10supported_codecs\x18\x05 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x37\n\nattributes\x18\x06 \x03(\x0b\x32#.Ydb.Topic.Consumer.AttributesEntry\x12\x39\n\x0e\x63onsumer_stats\x18\x07 \x01(\x0b\x32!.Ydb.Topic.Consumer.ConsumerStats\x12;\n\x13\x61vailability_period\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xae\x02\n\rConsumerStats\x12\x41\n\x1dmin_partitions_last_read_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x11max_read_time_lag\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12max_write_time_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16max_committed_time_lag\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\nbytes_read\x18\x04 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStatB\x16\n\x14_availability_periodJ\x04\x08\x04\x10\x05\"\xd8\x03\n\rAlterConsumer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1a\n\rset_important\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x31\n\rset_read_from\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14set_supported_codecs\x18\x05 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12G\n\x10\x61lter_attributes\x18\x06 \x03(\x0b\x32-.Ydb.Topic.AlterConsumer.AlterAttributesEntry\x12<\n\x17set_availability_period\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12;\n\x19reset_availability_period\x18\x08 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x1c\n\x1a\x61vailability_period_actionB\x10\n\x0e_set_importantJ\x04\x08\x04\x10\x05\"\xdc\x01\n\x14PartitioningSettings\x12\'\n\x15min_active_partitions\x18\x01 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\'\n\x15max_active_partitions\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12)\n\x15partition_count_limit\x18\x02 \x01(\x03\x42\n\x18\x01\xb2\xe6*\x04>= 0\x12G\n\x1a\x61uto_partitioning_settings\x18\x04 \x01(\x0b\x32#.Ydb.Topic.AutoPartitioningSettings\"\x9f\x01\n\x18\x41utoPartitioningSettings\x12\x35\n\x08strategy\x18\x01 \x01(\x0e\x32#.Ydb.Topic.AutoPartitioningStrategy\x12L\n\x15partition_write_speed\x18\x02 \x01(\x0b\x32-.Ydb.Topic.AutoPartitioningWriteSpeedStrategy\"\xb3\x01\n\"AutoPartitioningWriteSpeedStrategy\x12\x37\n\x14stabilization_window\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n\x16up_utilization_percent\x18\x02 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0\x12*\n\x18\x64own_utilization_percent\x18\x03 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0\"\x8b\x03\n\x19\x41lterPartitioningSettings\x12\x30\n\x19set_min_active_partitions\x18\x01 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x00\x88\x01\x01\x12\x30\n\x19set_max_active_partitions\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x32\n\x19set_partition_count_limit\x18\x02 \x01(\x03\x42\n\x18\x01\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x12W\n alter_auto_partitioning_settings\x18\x04 \x01(\x0b\x32(.Ydb.Topic.AlterAutoPartitioningSettingsH\x03\x88\x01\x01\x42\x1c\n\x1a_set_min_active_partitionsB\x1c\n\x1a_set_max_active_partitionsB\x1c\n\x1a_set_partition_count_limitB#\n!_alter_auto_partitioning_settings\"\xea\x01\n\x1d\x41lterAutoPartitioningSettings\x12>\n\x0cset_strategy\x18\x01 \x01(\x0e\x32#.Ydb.Topic.AutoPartitioningStrategyH\x00\x88\x01\x01\x12Z\n\x19set_partition_write_speed\x18\x02 \x01(\x0b\x32\x32.Ydb.Topic.AlterAutoPartitioningWriteSpeedStrategyH\x01\x88\x01\x01\x42\x0f\n\r_set_strategyB\x1c\n\x1a_set_partition_write_speed\"\xb0\x02\n\'AlterAutoPartitioningWriteSpeedStrategy\x12@\n\x18set_stabilization_window\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x12\x31\n\x1aset_up_utilization_percent\x18\x02 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x33\n\x1cset_down_utilization_percent\x18\x03 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x42\x1b\n\x19_set_stabilization_windowB\x1d\n\x1b_set_up_utilization_percentB\x1f\n\x1d_set_down_utilization_percent\"\xc9\x05\n\x12\x43reateTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12>\n\x15partitioning_settings\x18\x03 \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12&\n\x14retention_storage_mb\x18\x05 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\x34\n\x10supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x38\n&partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12-\n\x1bpartition_write_burst_bytes\x18\t \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\x41\n\nattributes\x18\n \x03(\x0b\x32-.Ydb.Topic.CreateTopicRequest.AttributesEntry\x12/\n\tconsumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.ConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12.\n\rmetering_mode\x18\x0c \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x12\x1a\n\rmetrics_level\x18\r \x01(\rH\x00\x88\x01\x01\x12#\n\x1b\x63ontent_based_deduplication\x18\x0e \x01(\x08\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x10\n\x0e_metrics_levelJ\x04\x08\x06\x10\x07\"C\n\x13\x43reateTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x13\n\x11\x43reateTopicResult\"8\n\x11PartitionLocation\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x12\n\ngeneration\x18\x02 \x01(\x03\"\x90\x01\n\x14\x44\x65scribeTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x15\n\rinclude_stats\x18\x03 \x01(\x08\x12\x18\n\x10include_location\x18\x04 \x01(\x08\"E\n\x15\x44\x65scribeTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"_\n\x11PartitionKeyRange\x12\x17\n\nfrom_bound\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x15\n\x08to_bound\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x42\r\n\x0b_from_boundB\x0b\n\t_to_bound\"\xcd\n\n\x13\x44\x65scribeTopicResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12>\n\x15partitioning_settings\x18\x02 \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12@\n\npartitions\x18\x03 \x03(\x0b\x32,.Ydb.Topic.DescribeTopicResult.PartitionInfo\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14retention_storage_mb\x18\x05 \x01(\x03\x12\x34\n\x10supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12.\n&partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x12\x33\n+partition_total_read_speed_bytes_per_second\x18\x0e \x01(\x03\x12\x36\n.partition_consumer_read_speed_bytes_per_second\x18\x0f \x01(\x03\x12#\n\x1bpartition_write_burst_bytes\x18\t \x01(\x03\x12\x42\n\nattributes\x18\n \x03(\x0b\x32..Ydb.Topic.DescribeTopicResult.AttributesEntry\x12&\n\tconsumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.Consumer\x12.\n\rmetering_mode\x18\x0c \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x12>\n\x0btopic_stats\x18\r \x01(\x0b\x32).Ydb.Topic.DescribeTopicResult.TopicStats\x12\x1a\n\rmetrics_level\x18\x10 \x01(\rH\x00\x88\x01\x01\x12#\n\x1b\x63ontent_based_deduplication\x18\x11 \x01(\x08\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x8f\x02\n\rPartitionInfo\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x61\x63tive\x18\x02 \x01(\x08\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\x12\x1c\n\x14parent_partition_ids\x18\x04 \x03(\x03\x12\x32\n\x0fpartition_stats\x18\x05 \x01(\x0b\x32\x19.Ydb.Topic.PartitionStats\x12\x38\n\x12partition_location\x18\x06 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x12/\n\tkey_range\x18\x07 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionKeyRange\x1a\xcd\x01\n\nTopicStats\x12\x18\n\x10store_size_bytes\x18\x01 \x01(\x03\x12\x37\n\x13min_last_write_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12max_write_time_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\rbytes_written\x18\x04 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStatB\x10\n\x0e_metrics_levelJ\x04\x08\x06\x10\x07\"\xaa\x01\n\x18\x44\x65scribePartitionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x15\n\rinclude_stats\x18\x04 \x01(\x08\x12\x18\n\x10include_location\x18\x05 \x01(\x08\"I\n\x19\x44\x65scribePartitionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"Z\n\x17\x44\x65scribePartitionResult\x12?\n\tpartition\x18\x01 \x01(\x0b\x32,.Ydb.Topic.DescribeTopicResult.PartitionInfo\"\xa5\x01\n\x17\x44\x65scribeConsumerRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x10\n\x08\x63onsumer\x18\x03 \x01(\t\x12\x15\n\rinclude_stats\x18\x04 \x01(\x08\x12\x18\n\x10include_location\x18\x05 \x01(\x08\"H\n\x18\x44\x65scribeConsumerResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xd3\x07\n\x16\x44\x65scribeConsumerResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12%\n\x08\x63onsumer\x18\x02 \x01(\x0b\x32\x13.Ydb.Topic.Consumer\x12\x43\n\npartitions\x18\x03 \x03(\x0b\x32/.Ydb.Topic.DescribeConsumerResult.PartitionInfo\x1a\xba\x02\n\rPartitionInfo\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x61\x63tive\x18\x02 \x01(\x08\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\x12\x1c\n\x14parent_partition_ids\x18\x04 \x03(\x03\x12\x32\n\x0fpartition_stats\x18\x05 \x01(\x0b\x32\x19.Ydb.Topic.PartitionStats\x12Z\n\x18partition_consumer_stats\x18\x06 \x01(\x0b\x32\x38.Ydb.Topic.DescribeConsumerResult.PartitionConsumerStats\x12\x38\n\x12partition_location\x18\x07 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\xee\x03\n\x16PartitionConsumerStats\x12\x18\n\x10last_read_offset\x18\x01 \x01(\x03\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x12\x17\n\x0fread_session_id\x18\x03 \x01(\t\x12\x46\n\"partition_read_session_create_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0elast_read_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x11max_read_time_lag\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12max_write_time_lag\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16max_committed_time_lag\x18\r \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\nbytes_read\x18\x08 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStat\x12\x13\n\x0breader_name\x18\x0b \x01(\t\x12\x1a\n\x12\x63onnection_node_id\x18\x0c \x01(\x05\"\xa0\x02\n\x0ePartitionStats\x12\x32\n\x11partition_offsets\x18\x01 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x18\n\x10store_size_bytes\x18\x02 \x01(\x03\x12\x33\n\x0flast_write_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12max_write_time_lag\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\rbytes_written\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStat\x12\x1d\n\x11partition_node_id\x18\x08 \x01(\x05\x42\x02\x18\x01\"\xbe\x08\n\x11\x41lterTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12I\n\x1b\x61lter_partitioning_settings\x18\x03 \x01(\x0b\x32$.Ydb.Topic.AlterPartitioningSettings\x12\x37\n\x14set_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x18set_retention_storage_mb\x18\x05 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x38\n\x14set_supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x41\n*set_partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x12\x36\n\x1fset_partition_write_burst_bytes\x18\t \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x03\x88\x01\x01\x12K\n\x10\x61lter_attributes\x18\n \x03(\x0b\x32\x31.Ydb.Topic.AlterTopicRequest.AlterAttributesEntry\x12\x33\n\radd_consumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.ConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12\x1f\n\x0e\x64rop_consumers\x18\x0c \x03(\tB\x07\x9a\xe6*\x03\x18\xb8\x17\x12:\n\x0f\x61lter_consumers\x18\r \x03(\x0b\x32\x18.Ydb.Topic.AlterConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12\x32\n\x11set_metering_mode\x18\x0e \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x12\x1b\n\x11set_metrics_level\x18\x0f \x01(\rH\x00\x12\x35\n\x13reset_metrics_level\x18\x10 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12,\n\x1fset_content_based_deduplication\x18\x11 \x01(\x08H\x04\x88\x01\x01\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\rmetrics_levelB\x1b\n\x19_set_retention_storage_mbB-\n+_set_partition_write_speed_bytes_per_secondB\"\n _set_partition_write_burst_bytesB\"\n _set_content_based_deduplicationJ\x04\x08\x06\x10\x07\"B\n\x12\x41lterTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x12\n\x10\x41lterTopicResult\"[\n\x10\x44ropTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"A\n\x11\x44ropTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x11\n\x0f\x44ropTopicResult*\x83\x01\n\x05\x43odec\x12\x15\n\x11\x43ODEC_UNSPECIFIED\x10\x00\x12\r\n\tCODEC_RAW\x10\x01\x12\x0e\n\nCODEC_GZIP\x10\x02\x12\x0e\n\nCODEC_LZOP\x10\x03\x12\x0e\n\nCODEC_ZSTD\x10\x04\x12\x11\n\x0c\x43ODEC_CUSTOM\x10\x90N\"\x05\x08\x05\x10\x8fN\"\n\x08\xa0\x9c\x01\x10\xff\xff\xff\xff\x07*\xf1\x01\n\x18\x41utoPartitioningStrategy\x12*\n&AUTO_PARTITIONING_STRATEGY_UNSPECIFIED\x10\x00\x12\'\n#AUTO_PARTITIONING_STRATEGY_DISABLED\x10\x01\x12\'\n#AUTO_PARTITIONING_STRATEGY_SCALE_UP\x10\x02\x12\x30\n,AUTO_PARTITIONING_STRATEGY_SCALE_UP_AND_DOWN\x10\x03\x12%\n!AUTO_PARTITIONING_STRATEGY_PAUSED\x10\x04*s\n\x0cMeteringMode\x12\x1d\n\x19METERING_MODE_UNSPECIFIED\x10\x00\x12#\n\x1fMETERING_MODE_RESERVED_CAPACITY\x10\x01\x12\x1f\n\x1bMETERING_MODE_REQUEST_UNITS\x10\x02\x42S\n\x14tech.ydb.proto.topicZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Topic\xf8\x01\x01\x62\x06proto3' , dependencies=[protos_dot_ydb__operation__pb2.DESCRIPTOR,protos_dot_ydb__scheme__pb2.DESCRIPTOR,protos_dot_ydb__status__codes__pb2.DESCRIPTOR,protos_dot_ydb__issue__message__pb2.DESCRIPTOR,protos_dot_annotations_dot_sensitive__pb2.DESCRIPTOR,protos_dot_annotations_dot_validation__pb2.DESCRIPTOR,google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,]) @@ -74,8 +74,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=18453, - serialized_end=18584, + serialized_start=18862, + serialized_end=18993, ) _sym_db.RegisterEnumDescriptor(_CODEC) @@ -115,8 +115,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=18587, - serialized_end=18828, + serialized_start=18996, + serialized_end=19237, ) _sym_db.RegisterEnumDescriptor(_AUTOPARTITIONINGSTRATEGY) @@ -146,8 +146,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=18830, - serialized_end=18945, + serialized_start=19239, + serialized_end=19354, ) _sym_db.RegisterEnumDescriptor(_METERINGMODE) @@ -1374,8 +1374,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5078, - serialized_end=5225, + serialized_start=5117, + serialized_end=5264, ) _STREAMREADMESSAGE_INITREQUEST = _descriptor.Descriptor( @@ -1421,6 +1421,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='partition_max_in_flight_bytes', full_name='Ydb.Topic.StreamReadMessage.InitRequest.partition_max_in_flight_bytes', 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, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1434,7 +1441,7 @@ oneofs=[ ], serialized_start=4877, - serialized_end=5225, + serialized_end=5264, ) _STREAMREADMESSAGE_INITRESPONSE = _descriptor.Descriptor( @@ -1464,8 +1471,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5227, - serialized_end=5261, + serialized_start=5266, + serialized_end=5300, ) _STREAMREADMESSAGE_READREQUEST = _descriptor.Descriptor( @@ -1495,8 +1502,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5263, - serialized_end=5296, + serialized_start=5302, + serialized_end=5335, ) _STREAMREADMESSAGE_READRESPONSE_MESSAGEDATA = _descriptor.Descriptor( @@ -1568,8 +1575,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5417, - serialized_end=5635, + serialized_start=5456, + serialized_end=5674, ) _STREAMREADMESSAGE_READRESPONSE_BATCH_WRITESESSIONMETAENTRY = _descriptor.Descriptor( @@ -1665,8 +1672,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5638, - serialized_end=5971, + serialized_start=5677, + serialized_end=6010, ) _STREAMREADMESSAGE_READRESPONSE_PARTITIONDATA = _descriptor.Descriptor( @@ -1703,8 +1710,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5973, - serialized_end=6084, + serialized_start=6012, + serialized_end=6123, ) _STREAMREADMESSAGE_READRESPONSE = _descriptor.Descriptor( @@ -1741,8 +1748,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5299, - serialized_end=6084, + serialized_start=5338, + serialized_end=6123, ) _STREAMREADMESSAGE_COMMITOFFSETREQUEST_PARTITIONCOMMITOFFSET = _descriptor.Descriptor( @@ -1779,8 +1786,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6206, - serialized_end=6301, + serialized_start=6245, + serialized_end=6340, ) _STREAMREADMESSAGE_COMMITOFFSETREQUEST = _descriptor.Descriptor( @@ -1810,8 +1817,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6087, - serialized_end=6301, + serialized_start=6126, + serialized_end=6340, ) _STREAMREADMESSAGE_COMMITOFFSETRESPONSE_PARTITIONCOMMITTEDOFFSET = _descriptor.Descriptor( @@ -1848,8 +1855,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6442, - serialized_end=6524, + serialized_start=6481, + serialized_end=6563, ) _STREAMREADMESSAGE_COMMITOFFSETRESPONSE = _descriptor.Descriptor( @@ -1879,8 +1886,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6304, - serialized_end=6524, + serialized_start=6343, + serialized_end=6563, ) _STREAMREADMESSAGE_PARTITIONSESSIONSTATUSREQUEST = _descriptor.Descriptor( @@ -1910,8 +1917,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6526, - serialized_end=6587, + serialized_start=6565, + serialized_end=6626, ) _STREAMREADMESSAGE_PARTITIONSESSIONSTATUSRESPONSE = _descriptor.Descriptor( @@ -1950,6 +1957,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='read_offset', full_name='Ydb.Topic.StreamReadMessage.PartitionSessionStatusResponse.read_offset', index=4, + number=5, type=3, cpp_type=2, 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, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1962,8 +1976,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6590, - serialized_end=6793, + serialized_start=6629, + serialized_end=6853, ) _STREAMREADMESSAGE_STARTPARTITIONSESSIONREQUEST = _descriptor.Descriptor( @@ -2014,8 +2028,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6796, - serialized_end=7036, + serialized_start=6856, + serialized_end=7096, ) _STREAMREADMESSAGE_STARTPARTITIONSESSIONRESPONSE = _descriptor.Descriptor( @@ -2069,8 +2083,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=7039, - serialized_end=7188, + serialized_start=7099, + serialized_end=7248, ) _STREAMREADMESSAGE_STOPPARTITIONSESSIONREQUEST = _descriptor.Descriptor( @@ -2121,8 +2135,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=7191, - serialized_end=7323, + serialized_start=7251, + serialized_end=7383, ) _STREAMREADMESSAGE_STOPPARTITIONSESSIONRESPONSE = _descriptor.Descriptor( @@ -2159,8 +2173,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=7325, - serialized_end=7403, + serialized_start=7385, + serialized_end=7463, ) _STREAMREADMESSAGE_UPDATEPARTITIONSESSION = _descriptor.Descriptor( @@ -2197,8 +2211,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=7405, - serialized_end=7517, + serialized_start=7465, + serialized_end=7577, ) _STREAMREADMESSAGE_DIRECTREADACK = _descriptor.Descriptor( @@ -2235,8 +2249,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=7519, - serialized_end=7588, + serialized_start=7579, + serialized_end=7648, ) _STREAMREADMESSAGE_ENDPARTITIONSESSION = _descriptor.Descriptor( @@ -2280,8 +2294,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=7590, - serialized_end=7702, + serialized_start=7650, + serialized_end=7762, ) _STREAMREADMESSAGE = _descriptor.Descriptor( @@ -2305,7 +2319,7 @@ oneofs=[ ], serialized_start=3194, - serialized_end=7702, + serialized_end=7762, ) @@ -2355,8 +2369,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=7733, - serialized_end=8029, + serialized_start=7793, + serialized_end=8089, ) _STREAMDIRECTREADMESSAGE_FROMSERVER = _descriptor.Descriptor( @@ -2433,8 +2447,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=8032, - serialized_end=8618, + serialized_start=8092, + serialized_end=8678, ) _STREAMDIRECTREADMESSAGE_INITREQUEST_TOPICREADSETTINGS = _descriptor.Descriptor( @@ -2464,8 +2478,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5078, - serialized_end=5111, + serialized_start=5117, + serialized_end=5150, ) _STREAMDIRECTREADMESSAGE_INITREQUEST = _descriptor.Descriptor( @@ -2509,8 +2523,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=8621, - serialized_end=8803, + serialized_start=8681, + serialized_end=8863, ) _STREAMDIRECTREADMESSAGE_INITRESPONSE = _descriptor.Descriptor( @@ -2578,8 +2592,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=8821, - serialized_end=8940, + serialized_start=8881, + serialized_end=9000, ) _STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONRESPONSE = _descriptor.Descriptor( @@ -2616,8 +2630,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=8942, - serialized_end=9033, + serialized_start=9002, + serialized_end=9093, ) _STREAMDIRECTREADMESSAGE_STOPDIRECTREADPARTITIONSESSION = _descriptor.Descriptor( @@ -2668,8 +2682,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=9036, - serialized_end=9202, + serialized_start=9096, + serialized_end=9262, ) _STREAMDIRECTREADMESSAGE_DIRECTREADRESPONSE = _descriptor.Descriptor( @@ -2720,8 +2734,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=9205, - serialized_end=9380, + serialized_start=9265, + serialized_end=9440, ) _STREAMDIRECTREADMESSAGE = _descriptor.Descriptor( @@ -2744,8 +2758,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=7705, - serialized_end=9380, + serialized_start=7765, + serialized_end=9440, ) @@ -2783,8 +2797,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=9382, - serialized_end=9432, + serialized_start=9442, + serialized_end=9492, ) @@ -2822,8 +2836,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=9795, - serialized_end=9887, + serialized_start=9855, + serialized_end=9947, ) _UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS = _descriptor.Descriptor( @@ -2860,8 +2874,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=9669, - serialized_end=9887, + serialized_start=9729, + serialized_end=9947, ) _UPDATEOFFSETSINTRANSACTIONREQUEST = _descriptor.Descriptor( @@ -2912,8 +2926,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=9435, - serialized_end=9887, + serialized_start=9495, + serialized_end=9947, ) @@ -2944,8 +2958,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=9889, - serialized_end=9971, + serialized_start=9949, + serialized_end=10031, ) @@ -2969,8 +2983,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=9973, - serialized_end=10007, + serialized_start=10033, + serialized_end=10067, ) @@ -3036,8 +3050,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=10010, - serialized_end=10185, + serialized_start=10070, + serialized_end=10245, ) @@ -3068,8 +3082,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=10187, - serialized_end=10255, + serialized_start=10247, + serialized_end=10315, ) @@ -3093,8 +3107,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=10257, - serialized_end=10277, + serialized_start=10317, + serialized_end=10337, ) @@ -3139,8 +3153,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=10279, - serialized_end=10355, + serialized_start=10339, + serialized_end=10415, ) @@ -3178,8 +3192,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=10681, - serialized_end=10730, + serialized_start=10741, + serialized_end=10790, ) _CONSUMER_CONSUMERSTATS = _descriptor.Descriptor( @@ -3237,8 +3251,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=10733, - serialized_end=11035, + serialized_start=10793, + serialized_end=11095, ) _CONSUMER = _descriptor.Descriptor( @@ -3315,8 +3329,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=10358, - serialized_end=11065, + serialized_start=10418, + serialized_end=11125, ) @@ -3354,8 +3368,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=11432, - serialized_end=11486, + serialized_start=11492, + serialized_end=11546, ) _ALTERCONSUMER = _descriptor.Descriptor( @@ -3437,8 +3451,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=11068, - serialized_end=11540, + serialized_start=11128, + serialized_end=11600, ) @@ -3490,8 +3504,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=11543, - serialized_end=11763, + serialized_start=11603, + serialized_end=11823, ) @@ -3529,8 +3543,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=11766, - serialized_end=11925, + serialized_start=11826, + serialized_end=11985, ) @@ -3575,8 +3589,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=11928, - serialized_end=12107, + serialized_start=11988, + serialized_end=12167, ) @@ -3648,8 +3662,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=12110, - serialized_end=12505, + serialized_start=12170, + serialized_end=12565, ) @@ -3697,8 +3711,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=12508, - serialized_end=12742, + serialized_start=12568, + serialized_end=12802, ) @@ -3758,8 +3772,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=12745, - serialized_end=13049, + serialized_start=12805, + serialized_end=13109, ) @@ -3797,8 +3811,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=10681, - serialized_end=10730, + serialized_start=10741, + serialized_end=10790, ) _CREATETOPICREQUEST = _descriptor.Descriptor( @@ -3886,6 +3900,20 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='metrics_level', full_name='Ydb.Topic.CreateTopicRequest.metrics_level', index=11, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='content_based_deduplication', full_name='Ydb.Topic.CreateTopicRequest.content_based_deduplication', index=12, + number=14, 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, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -3897,9 +3925,14 @@ syntax='proto3', extension_ranges=[], oneofs=[ + _descriptor.OneofDescriptor( + name='_metrics_level', full_name='Ydb.Topic.CreateTopicRequest._metrics_level', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), ], - serialized_start=13052, - serialized_end=13682, + serialized_start=13112, + serialized_end=13825, ) @@ -3930,8 +3963,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=13684, - serialized_end=13751, + serialized_start=13827, + serialized_end=13894, ) @@ -3955,8 +3988,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=13753, - serialized_end=13772, + serialized_start=13896, + serialized_end=13915, ) @@ -3994,8 +4027,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=13774, - serialized_end=13830, + serialized_start=13917, + serialized_end=13973, ) @@ -4047,8 +4080,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=13833, - serialized_end=13977, + serialized_start=13976, + serialized_end=14120, ) @@ -4079,8 +4112,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=13979, - serialized_end=14048, + serialized_start=14122, + serialized_end=14191, ) @@ -4128,8 +4161,8 @@ create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=14050, - serialized_end=14145, + serialized_start=14193, + serialized_end=14288, ) @@ -4167,8 +4200,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=10681, - serialized_end=10730, + serialized_start=10741, + serialized_end=10790, ) _DESCRIBETOPICRESULT_PARTITIONINFO = _descriptor.Descriptor( @@ -4240,8 +4273,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=14937, - serialized_end=15208, + serialized_start=15145, + serialized_end=15416, ) _DESCRIBETOPICRESULT_TOPICSTATS = _descriptor.Descriptor( @@ -4292,8 +4325,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=15211, - serialized_end=15416, + serialized_start=15419, + serialized_end=15624, ) _DESCRIBETOPICRESULT = _descriptor.Descriptor( @@ -4402,6 +4435,20 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='metrics_level', full_name='Ydb.Topic.DescribeTopicResult.metrics_level', index=14, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='content_based_deduplication', full_name='Ydb.Topic.DescribeTopicResult.content_based_deduplication', index=15, + number=17, 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, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -4413,9 +4460,14 @@ syntax='proto3', extension_ranges=[], oneofs=[ + _descriptor.OneofDescriptor( + name='_metrics_level', full_name='Ydb.Topic.DescribeTopicResult._metrics_level', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), ], - serialized_start=14148, - serialized_end=15422, + serialized_start=14291, + serialized_end=15648, ) @@ -4474,8 +4526,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=15425, - serialized_end=15595, + serialized_start=15651, + serialized_end=15821, ) @@ -4506,8 +4558,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=15597, - serialized_end=15670, + serialized_start=15823, + serialized_end=15896, ) @@ -4538,8 +4590,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=15672, - serialized_end=15762, + serialized_start=15898, + serialized_end=15988, ) @@ -4598,8 +4650,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=15765, - serialized_end=15930, + serialized_start=15991, + serialized_end=16156, ) @@ -4630,8 +4682,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=15932, - serialized_end=16004, + serialized_start=16158, + serialized_end=16230, ) @@ -4704,8 +4756,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16175, - serialized_end=16489, + serialized_start=16401, + serialized_end=16715, ) _DESCRIBECONSUMERRESULT_PARTITIONCONSUMERSTATS = _descriptor.Descriptor( @@ -4805,8 +4857,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16492, - serialized_end=16986, + serialized_start=16718, + serialized_end=17212, ) _DESCRIBECONSUMERRESULT = _descriptor.Descriptor( @@ -4850,8 +4902,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16007, - serialized_end=16986, + serialized_start=16233, + serialized_end=17212, ) @@ -4917,8 +4969,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16989, - serialized_end=17277, + serialized_start=17215, + serialized_end=17503, ) @@ -4956,8 +5008,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=11432, - serialized_end=11486, + serialized_start=11492, + serialized_end=11546, ) _ALTERTOPICREQUEST = _descriptor.Descriptor( @@ -5059,6 +5111,27 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='set_metrics_level', full_name='Ydb.Topic.AlterTopicRequest.set_metrics_level', index=13, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='reset_metrics_level', full_name='Ydb.Topic.AlterTopicRequest.reset_metrics_level', index=14, + number=16, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='set_content_based_deduplication', full_name='Ydb.Topic.AlterTopicRequest.set_content_based_deduplication', index=15, + number=17, 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, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -5071,23 +5144,33 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='_set_retention_storage_mb', full_name='Ydb.Topic.AlterTopicRequest._set_retention_storage_mb', + name='metrics_level', full_name='Ydb.Topic.AlterTopicRequest.metrics_level', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), _descriptor.OneofDescriptor( - name='_set_partition_write_speed_bytes_per_second', full_name='Ydb.Topic.AlterTopicRequest._set_partition_write_speed_bytes_per_second', + name='_set_retention_storage_mb', full_name='Ydb.Topic.AlterTopicRequest._set_retention_storage_mb', index=1, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), _descriptor.OneofDescriptor( - name='_set_partition_write_burst_bytes', full_name='Ydb.Topic.AlterTopicRequest._set_partition_write_burst_bytes', + name='_set_partition_write_speed_bytes_per_second', full_name='Ydb.Topic.AlterTopicRequest._set_partition_write_speed_bytes_per_second', index=2, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), + _descriptor.OneofDescriptor( + name='_set_partition_write_burst_bytes', full_name='Ydb.Topic.AlterTopicRequest._set_partition_write_burst_bytes', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_set_content_based_deduplication', full_name='Ydb.Topic.AlterTopicRequest._set_content_based_deduplication', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), ], - serialized_start=17280, - serialized_end=18183, + serialized_start=17506, + serialized_end=18592, ) @@ -5118,8 +5201,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=18185, - serialized_end=18251, + serialized_start=18594, + serialized_end=18660, ) @@ -5143,8 +5226,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=18253, - serialized_end=18271, + serialized_start=18662, + serialized_end=18680, ) @@ -5182,8 +5265,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=18273, - serialized_end=18364, + serialized_start=18682, + serialized_end=18773, ) @@ -5214,8 +5297,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=18366, - serialized_end=18431, + serialized_start=18775, + serialized_end=18840, ) @@ -5239,8 +5322,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=18433, - serialized_end=18450, + serialized_start=18842, + serialized_end=18859, ) _STREAMWRITEMESSAGE_FROMCLIENT.fields_by_name['init_request'].message_type = _STREAMWRITEMESSAGE_INITREQUEST @@ -5582,6 +5665,9 @@ _CREATETOPICREQUEST.fields_by_name['attributes'].message_type = _CREATETOPICREQUEST_ATTRIBUTESENTRY _CREATETOPICREQUEST.fields_by_name['consumers'].message_type = _CONSUMER _CREATETOPICREQUEST.fields_by_name['metering_mode'].enum_type = _METERINGMODE +_CREATETOPICREQUEST.oneofs_by_name['_metrics_level'].fields.append( + _CREATETOPICREQUEST.fields_by_name['metrics_level']) +_CREATETOPICREQUEST.fields_by_name['metrics_level'].containing_oneof = _CREATETOPICREQUEST.oneofs_by_name['_metrics_level'] _CREATETOPICRESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION _DESCRIBETOPICREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS _DESCRIBETOPICRESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION @@ -5609,6 +5695,9 @@ _DESCRIBETOPICRESULT.fields_by_name['consumers'].message_type = _CONSUMER _DESCRIBETOPICRESULT.fields_by_name['metering_mode'].enum_type = _METERINGMODE _DESCRIBETOPICRESULT.fields_by_name['topic_stats'].message_type = _DESCRIBETOPICRESULT_TOPICSTATS +_DESCRIBETOPICRESULT.oneofs_by_name['_metrics_level'].fields.append( + _DESCRIBETOPICRESULT.fields_by_name['metrics_level']) +_DESCRIBETOPICRESULT.fields_by_name['metrics_level'].containing_oneof = _DESCRIBETOPICRESULT.oneofs_by_name['_metrics_level'] _DESCRIBEPARTITIONREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS _DESCRIBEPARTITIONRESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION _DESCRIBEPARTITIONRESULT.fields_by_name['partition'].message_type = _DESCRIBETOPICRESULT_PARTITIONINFO @@ -5641,6 +5730,13 @@ _ALTERTOPICREQUEST.fields_by_name['add_consumers'].message_type = _CONSUMER _ALTERTOPICREQUEST.fields_by_name['alter_consumers'].message_type = _ALTERCONSUMER _ALTERTOPICREQUEST.fields_by_name['set_metering_mode'].enum_type = _METERINGMODE +_ALTERTOPICREQUEST.fields_by_name['reset_metrics_level'].message_type = google_dot_protobuf_dot_empty__pb2._EMPTY +_ALTERTOPICREQUEST.oneofs_by_name['metrics_level'].fields.append( + _ALTERTOPICREQUEST.fields_by_name['set_metrics_level']) +_ALTERTOPICREQUEST.fields_by_name['set_metrics_level'].containing_oneof = _ALTERTOPICREQUEST.oneofs_by_name['metrics_level'] +_ALTERTOPICREQUEST.oneofs_by_name['metrics_level'].fields.append( + _ALTERTOPICREQUEST.fields_by_name['reset_metrics_level']) +_ALTERTOPICREQUEST.fields_by_name['reset_metrics_level'].containing_oneof = _ALTERTOPICREQUEST.oneofs_by_name['metrics_level'] _ALTERTOPICREQUEST.oneofs_by_name['_set_retention_storage_mb'].fields.append( _ALTERTOPICREQUEST.fields_by_name['set_retention_storage_mb']) _ALTERTOPICREQUEST.fields_by_name['set_retention_storage_mb'].containing_oneof = _ALTERTOPICREQUEST.oneofs_by_name['_set_retention_storage_mb'] @@ -5650,6 +5746,9 @@ _ALTERTOPICREQUEST.oneofs_by_name['_set_partition_write_burst_bytes'].fields.append( _ALTERTOPICREQUEST.fields_by_name['set_partition_write_burst_bytes']) _ALTERTOPICREQUEST.fields_by_name['set_partition_write_burst_bytes'].containing_oneof = _ALTERTOPICREQUEST.oneofs_by_name['_set_partition_write_burst_bytes'] +_ALTERTOPICREQUEST.oneofs_by_name['_set_content_based_deduplication'].fields.append( + _ALTERTOPICREQUEST.fields_by_name['set_content_based_deduplication']) +_ALTERTOPICREQUEST.fields_by_name['set_content_based_deduplication'].containing_oneof = _ALTERTOPICREQUEST.oneofs_by_name['_set_content_based_deduplication'] _ALTERTOPICRESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION _DROPTOPICREQUEST.fields_by_name['operation_params'].message_type = protos_dot_ydb__operation__pb2._OPERATIONPARAMS _DROPTOPICRESPONSE.fields_by_name['operation'].message_type = protos_dot_ydb__operation__pb2._OPERATION diff --git a/ydb/_grpc/v3/ydb_table_v1_pb2.py b/ydb/_grpc/v3/ydb_table_v1_pb2.py index e7583ef8f..2f42cb785 100644 --- a/ydb/_grpc/v3/ydb_table_v1_pb2.py +++ b/ydb/_grpc/v3/ydb_table_v1_pb2.py @@ -21,7 +21,7 @@ syntax='proto3', serialized_options=b'\n\027tech.ydb.proto.table.v1Z4github.com/ydb-platform/ydb-go-genproto/Ydb_Table_V1', create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x12ydb_table_v1.proto\x12\x0cYdb.Table.V1\x1a\x16protos/ydb_table.proto2\xe9\x0e\n\x0cTableService\x12R\n\rCreateSession\x12\x1f.Ydb.Table.CreateSessionRequest\x1a .Ydb.Table.CreateSessionResponse\x12R\n\rDeleteSession\x12\x1f.Ydb.Table.DeleteSessionRequest\x1a .Ydb.Table.DeleteSessionResponse\x12\x46\n\tKeepAlive\x12\x1b.Ydb.Table.KeepAliveRequest\x1a\x1c.Ydb.Table.KeepAliveResponse\x12L\n\x0b\x43reateTable\x12\x1d.Ydb.Table.CreateTableRequest\x1a\x1e.Ydb.Table.CreateTableResponse\x12\x46\n\tDropTable\x12\x1b.Ydb.Table.DropTableRequest\x1a\x1c.Ydb.Table.DropTableResponse\x12I\n\nAlterTable\x12\x1c.Ydb.Table.AlterTableRequest\x1a\x1d.Ydb.Table.AlterTableResponse\x12\x46\n\tCopyTable\x12\x1b.Ydb.Table.CopyTableRequest\x1a\x1c.Ydb.Table.CopyTableResponse\x12I\n\nCopyTables\x12\x1c.Ydb.Table.CopyTablesRequest\x1a\x1d.Ydb.Table.CopyTablesResponse\x12O\n\x0cRenameTables\x12\x1e.Ydb.Table.RenameTablesRequest\x1a\x1f.Ydb.Table.RenameTablesResponse\x12R\n\rDescribeTable\x12\x1f.Ydb.Table.DescribeTableRequest\x1a .Ydb.Table.DescribeTableResponse\x12[\n\x10\x45xplainDataQuery\x12\".Ydb.Table.ExplainDataQueryRequest\x1a#.Ydb.Table.ExplainDataQueryResponse\x12[\n\x10PrepareDataQuery\x12\".Ydb.Table.PrepareDataQueryRequest\x1a#.Ydb.Table.PrepareDataQueryResponse\x12[\n\x10\x45xecuteDataQuery\x12\".Ydb.Table.ExecuteDataQueryRequest\x1a#.Ydb.Table.ExecuteDataQueryResponse\x12\x61\n\x12\x45xecuteSchemeQuery\x12$.Ydb.Table.ExecuteSchemeQueryRequest\x1a%.Ydb.Table.ExecuteSchemeQueryResponse\x12[\n\x10\x42\x65ginTransaction\x12\".Ydb.Table.BeginTransactionRequest\x1a#.Ydb.Table.BeginTransactionResponse\x12^\n\x11\x43ommitTransaction\x12#.Ydb.Table.CommitTransactionRequest\x1a$.Ydb.Table.CommitTransactionResponse\x12\x64\n\x13RollbackTransaction\x12%.Ydb.Table.RollbackTransactionRequest\x1a&.Ydb.Table.RollbackTransactionResponse\x12g\n\x14\x44\x65scribeTableOptions\x12&.Ydb.Table.DescribeTableOptionsRequest\x1a\'.Ydb.Table.DescribeTableOptionsResponse\x12N\n\x0fStreamReadTable\x12\x1b.Ydb.Table.ReadTableRequest\x1a\x1c.Ydb.Table.ReadTableResponse0\x01\x12\x43\n\x08ReadRows\x12\x1a.Ydb.Table.ReadRowsRequest\x1a\x1b.Ydb.Table.ReadRowsResponse\x12I\n\nBulkUpsert\x12\x1c.Ydb.Table.BulkUpsertRequest\x1a\x1d.Ydb.Table.BulkUpsertResponse\x12j\n\x16StreamExecuteScanQuery\x12\".Ydb.Table.ExecuteScanQueryRequest\x1a*.Ydb.Table.ExecuteScanQueryPartialResponse0\x01\x42O\n\x17tech.ydb.proto.table.v1Z4github.com/ydb-platform/ydb-go-genproto/Ydb_Table_V1b\x06proto3' + serialized_pb=b'\n\x12ydb_table_v1.proto\x12\x0cYdb.Table.V1\x1a\x16protos/ydb_table.proto2\xb3\x11\n\x0cTableService\x12R\n\rCreateSession\x12\x1f.Ydb.Table.CreateSessionRequest\x1a .Ydb.Table.CreateSessionResponse\x12R\n\rDeleteSession\x12\x1f.Ydb.Table.DeleteSessionRequest\x1a .Ydb.Table.DeleteSessionResponse\x12\x46\n\tKeepAlive\x12\x1b.Ydb.Table.KeepAliveRequest\x1a\x1c.Ydb.Table.KeepAliveResponse\x12L\n\x0b\x43reateTable\x12\x1d.Ydb.Table.CreateTableRequest\x1a\x1e.Ydb.Table.CreateTableResponse\x12\x46\n\tDropTable\x12\x1b.Ydb.Table.DropTableRequest\x1a\x1c.Ydb.Table.DropTableResponse\x12I\n\nAlterTable\x12\x1c.Ydb.Table.AlterTableRequest\x1a\x1d.Ydb.Table.AlterTableResponse\x12\x46\n\tCopyTable\x12\x1b.Ydb.Table.CopyTableRequest\x1a\x1c.Ydb.Table.CopyTableResponse\x12I\n\nCopyTables\x12\x1c.Ydb.Table.CopyTablesRequest\x1a\x1d.Ydb.Table.CopyTablesResponse\x12O\n\x0cRenameTables\x12\x1e.Ydb.Table.RenameTablesRequest\x1a\x1f.Ydb.Table.RenameTablesResponse\x12R\n\rDescribeTable\x12\x1f.Ydb.Table.DescribeTableRequest\x1a .Ydb.Table.DescribeTableResponse\x12[\n\x10\x45xplainDataQuery\x12\".Ydb.Table.ExplainDataQueryRequest\x1a#.Ydb.Table.ExplainDataQueryResponse\x12[\n\x10PrepareDataQuery\x12\".Ydb.Table.PrepareDataQueryRequest\x1a#.Ydb.Table.PrepareDataQueryResponse\x12[\n\x10\x45xecuteDataQuery\x12\".Ydb.Table.ExecuteDataQueryRequest\x1a#.Ydb.Table.ExecuteDataQueryResponse\x12\x61\n\x12\x45xecuteSchemeQuery\x12$.Ydb.Table.ExecuteSchemeQueryRequest\x1a%.Ydb.Table.ExecuteSchemeQueryResponse\x12[\n\x10\x42\x65ginTransaction\x12\".Ydb.Table.BeginTransactionRequest\x1a#.Ydb.Table.BeginTransactionResponse\x12^\n\x11\x43ommitTransaction\x12#.Ydb.Table.CommitTransactionRequest\x1a$.Ydb.Table.CommitTransactionResponse\x12\x64\n\x13RollbackTransaction\x12%.Ydb.Table.RollbackTransactionRequest\x1a&.Ydb.Table.RollbackTransactionResponse\x12g\n\x14\x44\x65scribeTableOptions\x12&.Ydb.Table.DescribeTableOptionsRequest\x1a\'.Ydb.Table.DescribeTableOptionsResponse\x12N\n\x0fStreamReadTable\x12\x1b.Ydb.Table.ReadTableRequest\x1a\x1c.Ydb.Table.ReadTableResponse0\x01\x12\x43\n\x08ReadRows\x12\x1a.Ydb.Table.ReadRowsRequest\x1a\x1b.Ydb.Table.ReadRowsResponse\x12I\n\nBulkUpsert\x12\x1c.Ydb.Table.BulkUpsertRequest\x1a\x1d.Ydb.Table.BulkUpsertResponse\x12j\n\x16StreamExecuteScanQuery\x12\".Ydb.Table.ExecuteScanQueryRequest\x1a*.Ydb.Table.ExecuteScanQueryPartialResponse0\x01\x12y\n\x1a\x44\x65scribeExternalDataSource\x12,.Ydb.Table.DescribeExternalDataSourceRequest\x1a-.Ydb.Table.DescribeExternalDataSourceResponse\x12j\n\x15\x44\x65scribeExternalTable\x12\'.Ydb.Table.DescribeExternalTableRequest\x1a(.Ydb.Table.DescribeExternalTableResponse\x12\x61\n\x12\x44\x65scribeSystemView\x12$.Ydb.Table.DescribeSystemViewRequest\x1a%.Ydb.Table.DescribeSystemViewResponseBO\n\x17tech.ydb.proto.table.v1Z4github.com/ydb-platform/ydb-go-genproto/Ydb_Table_V1b\x06proto3' , dependencies=[protos_dot_ydb__table__pb2.DESCRIPTOR,]) @@ -40,7 +40,7 @@ serialized_options=None, create_key=_descriptor._internal_create_key, serialized_start=61, - serialized_end=1958, + serialized_end=2288, methods=[ _descriptor.MethodDescriptor( name='CreateSession', @@ -262,6 +262,36 @@ serialized_options=None, create_key=_descriptor._internal_create_key, ), + _descriptor.MethodDescriptor( + name='DescribeExternalDataSource', + full_name='Ydb.Table.V1.TableService.DescribeExternalDataSource', + index=22, + containing_service=None, + input_type=protos_dot_ydb__table__pb2._DESCRIBEEXTERNALDATASOURCEREQUEST, + output_type=protos_dot_ydb__table__pb2._DESCRIBEEXTERNALDATASOURCERESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='DescribeExternalTable', + full_name='Ydb.Table.V1.TableService.DescribeExternalTable', + index=23, + containing_service=None, + input_type=protos_dot_ydb__table__pb2._DESCRIBEEXTERNALTABLEREQUEST, + output_type=protos_dot_ydb__table__pb2._DESCRIBEEXTERNALTABLERESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='DescribeSystemView', + full_name='Ydb.Table.V1.TableService.DescribeSystemView', + index=24, + containing_service=None, + input_type=protos_dot_ydb__table__pb2._DESCRIBESYSTEMVIEWREQUEST, + output_type=protos_dot_ydb__table__pb2._DESCRIBESYSTEMVIEWRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), ]) _sym_db.RegisterServiceDescriptor(_TABLESERVICE) diff --git a/ydb/_grpc/v3/ydb_table_v1_pb2_grpc.py b/ydb/_grpc/v3/ydb_table_v1_pb2_grpc.py index aae7b9dde..1d30fb1d4 100644 --- a/ydb/_grpc/v3/ydb_table_v1_pb2_grpc.py +++ b/ydb/_grpc/v3/ydb_table_v1_pb2_grpc.py @@ -124,6 +124,21 @@ def __init__(self, channel): request_serializer=protos_dot_ydb__table__pb2.ExecuteScanQueryRequest.SerializeToString, response_deserializer=protos_dot_ydb__table__pb2.ExecuteScanQueryPartialResponse.FromString, ) + self.DescribeExternalDataSource = channel.unary_unary( + '/Ydb.Table.V1.TableService/DescribeExternalDataSource', + request_serializer=protos_dot_ydb__table__pb2.DescribeExternalDataSourceRequest.SerializeToString, + response_deserializer=protos_dot_ydb__table__pb2.DescribeExternalDataSourceResponse.FromString, + ) + self.DescribeExternalTable = channel.unary_unary( + '/Ydb.Table.V1.TableService/DescribeExternalTable', + request_serializer=protos_dot_ydb__table__pb2.DescribeExternalTableRequest.SerializeToString, + response_deserializer=protos_dot_ydb__table__pb2.DescribeExternalTableResponse.FromString, + ) + self.DescribeSystemView = channel.unary_unary( + '/Ydb.Table.V1.TableService/DescribeSystemView', + request_serializer=protos_dot_ydb__table__pb2.DescribeSystemViewRequest.SerializeToString, + response_deserializer=protos_dot_ydb__table__pb2.DescribeSystemViewResponse.FromString, + ) class TableServiceServicer(object): @@ -133,7 +148,7 @@ def CreateSession(self, request, context): """Create new session. Implicit session creation is forbidden, so user must create new session before execute any query, otherwise BAD_SESSION status will be returned. - Simultaneous execution of requests are forbiden. + Simultaneous execution of requests are forbidden. Sessions are volatile, can be invalidated by server, for example in case of fatal errors. All requests with this session will fail with BAD_SESSION status. So, client must be able to handle BAD_SESSION status. @@ -295,6 +310,27 @@ def StreamExecuteScanQuery(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def DescribeExternalDataSource(self, request, context): + """Returns information about a given external data source. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DescribeExternalTable(self, request, context): + """Returns information about a given external table. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DescribeSystemView(self, request, context): + """Returns information about a given system view table. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_TableServiceServicer_to_server(servicer, server): rpc_method_handlers = { @@ -408,6 +444,21 @@ def add_TableServiceServicer_to_server(servicer, server): request_deserializer=protos_dot_ydb__table__pb2.ExecuteScanQueryRequest.FromString, response_serializer=protos_dot_ydb__table__pb2.ExecuteScanQueryPartialResponse.SerializeToString, ), + 'DescribeExternalDataSource': grpc.unary_unary_rpc_method_handler( + servicer.DescribeExternalDataSource, + request_deserializer=protos_dot_ydb__table__pb2.DescribeExternalDataSourceRequest.FromString, + response_serializer=protos_dot_ydb__table__pb2.DescribeExternalDataSourceResponse.SerializeToString, + ), + 'DescribeExternalTable': grpc.unary_unary_rpc_method_handler( + servicer.DescribeExternalTable, + request_deserializer=protos_dot_ydb__table__pb2.DescribeExternalTableRequest.FromString, + response_serializer=protos_dot_ydb__table__pb2.DescribeExternalTableResponse.SerializeToString, + ), + 'DescribeSystemView': grpc.unary_unary_rpc_method_handler( + servicer.DescribeSystemView, + request_deserializer=protos_dot_ydb__table__pb2.DescribeSystemViewRequest.FromString, + response_serializer=protos_dot_ydb__table__pb2.DescribeSystemViewResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'Ydb.Table.V1.TableService', rpc_method_handlers) @@ -791,3 +842,54 @@ def StreamExecuteScanQuery(request, protos_dot_ydb__table__pb2.ExecuteScanQueryPartialResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DescribeExternalDataSource(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/Ydb.Table.V1.TableService/DescribeExternalDataSource', + protos_dot_ydb__table__pb2.DescribeExternalDataSourceRequest.SerializeToString, + protos_dot_ydb__table__pb2.DescribeExternalDataSourceResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DescribeExternalTable(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/Ydb.Table.V1.TableService/DescribeExternalTable', + protos_dot_ydb__table__pb2.DescribeExternalTableRequest.SerializeToString, + protos_dot_ydb__table__pb2.DescribeExternalTableResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DescribeSystemView(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/Ydb.Table.V1.TableService/DescribeSystemView', + protos_dot_ydb__table__pb2.DescribeSystemViewRequest.SerializeToString, + protos_dot_ydb__table__pb2.DescribeSystemViewResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/ydb/_grpc/v4/draft/protos/ydb_maintenance_pb2.py b/ydb/_grpc/v4/draft/protos/ydb_maintenance_pb2.py index 1938ed574..b3abeacc5 100644 --- a/ydb/_grpc/v4/draft/protos/ydb_maintenance_pb2.py +++ b/ydb/_grpc/v4/draft/protos/ydb_maintenance_pb2.py @@ -20,7 +20,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"draft/protos/ydb_maintenance.proto\x12\x0fYdb.Maintenance\x1a#protos/annotations/validation.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x1aprotos/ydb_discovery.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf0\x02\n\x04Node\x12\x0f\n\x07node_id\x18\x01 \x01(\r\x12\x0c\n\x04host\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\x12-\n\x08location\x18\x04 \x01(\x0b\x32\x1b.Ydb.Discovery.NodeLocation\x12)\n\x05state\x18\x05 \x01(\x0e\x32\x1a.Ydb.Maintenance.ItemState\x12\x34\n\x07storage\x18\x06 \x01(\x0b\x32!.Ydb.Maintenance.Node.StorageNodeH\x00\x12\x34\n\x07\x64ynamic\x18\x07 \x01(\x0b\x32!.Ydb.Maintenance.Node.DynamicNodeH\x00\x12.\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07version\x18\t \x01(\t\x1a\r\n\x0bStorageNode\x1a\x1d\n\x0b\x44ynamicNode\x12\x0e\n\x06tenant\x18\x01 \x01(\tB\x06\n\x04type\"T\n\x17ListClusterNodesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\">\n\x16ListClusterNodesResult\x12$\n\x05nodes\x18\x01 \x03(\x0b\x32\x15.Ydb.Maintenance.Node\"H\n\x18ListClusterNodesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xc3\x01\n\x16MaintenanceTaskOptions\x12\x19\n\x08task_uid\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x1c\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12<\n\x11\x61vailability_mode\x18\x03 \x01(\x0e\x32!.Ydb.Maintenance.AvailabilityMode\x12\x0f\n\x07\x64ry_run\x18\x04 \x01(\x08\x12!\n\x08priority\x18\x05 \x01(\x05\x42\x0f\xb2\xe6*\x0b[-100; 100]\"B\n\x0b\x41\x63tionScope\x12\x11\n\x07node_id\x18\x01 \x01(\rH\x00\x12\x17\n\x04host\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\xff\x01H\x00\x42\x07\n\x05scope\"f\n\nLockAction\x12+\n\x05scope\x18\x01 \x01(\x0b\x32\x1c.Ydb.Maintenance.ActionScope\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"F\n\x06\x41\x63tion\x12\x32\n\x0block_action\x18\x01 \x01(\x0b\x32\x1b.Ydb.Maintenance.LockActionH\x00\x42\x08\n\x06\x61\x63tion\"?\n\x0b\x41\x63tionGroup\x12\x30\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32\x17.Ydb.Maintenance.ActionB\x06\x9a\xe6*\x02(\x01\"\xd5\x01\n\x1c\x43reateMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12=\n\x0ctask_options\x18\x02 \x01(\x0b\x32\'.Ydb.Maintenance.MaintenanceTaskOptions\x12;\n\raction_groups\x18\x03 \x03(\x0b\x32\x1c.Ydb.Maintenance.ActionGroupB\x06\x9a\xe6*\x02(\x01\"u\n\x1dRefreshMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"]\n\tActionUid\x12\x19\n\x08task_uid\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x19\n\x08group_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x1a\n\taction_id\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"\x8f\x06\n\x0b\x41\x63tionState\x12\'\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32\x17.Ydb.Maintenance.Action\x12.\n\naction_uid\x18\x02 \x01(\x0b\x32\x1a.Ydb.Maintenance.ActionUid\x12\x39\n\x06status\x18\x03 \x01(\x0e\x32).Ydb.Maintenance.ActionState.ActionStatus\x12\x39\n\x06reason\x18\x04 \x01(\x0e\x32).Ydb.Maintenance.ActionState.ActionReason\x12\x16\n\x0ereason_details\x18\x06 \x01(\t\x12,\n\x08\x64\x65\x61\x64line\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"e\n\x0c\x41\x63tionStatus\x12\x1d\n\x19\x41\x43TION_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41\x43TION_STATUS_PENDING\x10\x01\x12\x1b\n\x17\x41\x43TION_STATUS_PERFORMED\x10\x02\"\x83\x03\n\x0c\x41\x63tionReason\x12\x1d\n\x19\x41\x43TION_REASON_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41\x43TION_REASON_OK\x10\x01\x12-\n)ACTION_REASON_TOO_MANY_UNAVAILABLE_VDISKS\x10\x02\x12:\n6ACTION_REASON_TOO_MANY_UNAVAILABLE_STATE_STORAGE_RINGS\x10\x03\x12.\n*ACTION_REASON_DISABLED_NODES_LIMIT_REACHED\x10\x04\x12\x35\n1ACTION_REASON_TENANT_DISABLED_NODES_LIMIT_REACHED\x10\x05\x12\x1f\n\x1b\x41\x43TION_REASON_WRONG_REQUEST\x10\x06\x12\x30\n,ACTION_REASON_SYS_TABLETS_NODE_LIMIT_REACHED\x10\x07\x12\x19\n\x15\x41\x43TION_REASON_GENERIC\x10\x08\"H\n\x11\x41\x63tionGroupStates\x12\x33\n\raction_states\x18\x01 \x03(\x0b\x32\x1c.Ydb.Maintenance.ActionState\"\xb0\x01\n\x15MaintenanceTaskResult\x12\x10\n\x08task_uid\x18\x01 \x01(\t\x12?\n\x13\x61\x63tion_group_states\x18\x02 \x03(\x0b\x32\".Ydb.Maintenance.ActionGroupStates\x12\x34\n\x0bretry_after\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x42\x0e\n\x0c_retry_after\"G\n\x17MaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"q\n\x19GetMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"\x9a\x01\n\x18GetMaintenanceTaskResult\x12=\n\x0ctask_options\x18\x01 \x01(\x0b\x32\'.Ydb.Maintenance.MaintenanceTaskOptions\x12?\n\x13\x61\x63tion_group_states\x18\x02 \x03(\x0b\x32\".Ydb.Maintenance.ActionGroupStates\"J\n\x1aGetMaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"t\n\x1bListMaintenanceTasksRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x11\n\x04user\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x07\n\x05_user\"0\n\x1aListMaintenanceTasksResult\x12\x12\n\ntasks_uids\x18\x01 \x03(\t\"L\n\x1cListMaintenanceTasksResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"r\n\x1a\x44ropMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"M\n\x1dManageMaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x8b\x01\n\x15\x43ompleteActionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x37\n\x0b\x61\x63tion_uids\x18\x02 \x03(\x0b\x32\x1a.Ydb.Maintenance.ActionUidB\x06\x9a\xe6*\x02(\x01\"\xbe\x01\n\x12ManageActionResult\x12\x43\n\x0f\x61\x63tion_statuses\x18\x01 \x03(\x0b\x32*.Ydb.Maintenance.ManageActionResult.Status\x1a\x63\n\x06Status\x12.\n\naction_uid\x18\x01 \x01(\x0b\x32\x1a.Ydb.Maintenance.ActionUid\x12)\n\x06status\x18\x02 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\"D\n\x14ManageActionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation*k\n\tItemState\x12\x1a\n\x16ITEM_STATE_UNSPECIFIED\x10\x00\x12\x11\n\rITEM_STATE_UP\x10\x01\x12\x1a\n\x16ITEM_STATE_MAINTENANCE\x10\x02\x12\x13\n\x0fITEM_STATE_DOWN\x10\x03*\x8c\x01\n\x10\x41vailabilityMode\x12!\n\x1d\x41VAILABILITY_MODE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41VAILABILITY_MODE_STRONG\x10\x01\x12\x1a\n\x16\x41VAILABILITY_MODE_WEAK\x10\x02\x12\x1b\n\x17\x41VAILABILITY_MODE_FORCE\x10\x03\x42n\n#tech.ydb.proto.draft.maintenance.v1ZDgithub.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_Maintenance\xf8\x01\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"draft/protos/ydb_maintenance.proto\x12\x0fYdb.Maintenance\x1a#protos/annotations/validation.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x1aprotos/ydb_discovery.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf0\x02\n\x04Node\x12\x0f\n\x07node_id\x18\x01 \x01(\r\x12\x0c\n\x04host\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\x12-\n\x08location\x18\x04 \x01(\x0b\x32\x1b.Ydb.Discovery.NodeLocation\x12)\n\x05state\x18\x05 \x01(\x0e\x32\x1a.Ydb.Maintenance.ItemState\x12\x34\n\x07storage\x18\x06 \x01(\x0b\x32!.Ydb.Maintenance.Node.StorageNodeH\x00\x12\x34\n\x07\x64ynamic\x18\x07 \x01(\x0b\x32!.Ydb.Maintenance.Node.DynamicNodeH\x00\x12.\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07version\x18\t \x01(\t\x1a\r\n\x0bStorageNode\x1a\x1d\n\x0b\x44ynamicNode\x12\x0e\n\x06tenant\x18\x01 \x01(\tB\x06\n\x04type\"T\n\x17ListClusterNodesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\">\n\x16ListClusterNodesResult\x12$\n\x05nodes\x18\x01 \x03(\x0b\x32\x15.Ydb.Maintenance.Node\"H\n\x18ListClusterNodesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xc3\x01\n\x16MaintenanceTaskOptions\x12\x19\n\x08task_uid\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x1c\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12<\n\x11\x61vailability_mode\x18\x03 \x01(\x0e\x32!.Ydb.Maintenance.AvailabilityMode\x12\x0f\n\x07\x64ry_run\x18\x04 \x01(\x08\x12!\n\x08priority\x18\x05 \x01(\x05\x42\x0f\xb2\xe6*\x0b[-100; 100]\"\xf7\x02\n\x0b\x41\x63tionScope\x12\x11\n\x07node_id\x18\x01 \x01(\rH\x00\x12\x17\n\x04host\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\xff\x01H\x00\x12\x33\n\x05pdisk\x18\x03 \x01(\x0b\x32\".Ydb.Maintenance.ActionScope.PDiskH\x00\x1a,\n\x07PDiskId\x12\x0f\n\x07node_id\x18\x01 \x01(\r\x12\x10\n\x08pdisk_id\x18\x02 \x01(\r\x1a=\n\rPDiskLocation\x12\x15\n\x04host\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\xff\x01\x12\x15\n\x04path\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\xff\x01\x1a\x90\x01\n\x05PDisk\x12\x38\n\x08pdisk_id\x18\x01 \x01(\x0b\x32$.Ydb.Maintenance.ActionScope.PDiskIdH\x00\x12\x44\n\x0epdisk_location\x18\x02 \x01(\x0b\x32*.Ydb.Maintenance.ActionScope.PDiskLocationH\x00\x42\x07\n\x05pdiskB\x07\n\x05scope\"f\n\nLockAction\x12+\n\x05scope\x18\x01 \x01(\x0b\x32\x1c.Ydb.Maintenance.ActionScope\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\":\n\x0b\x44rainAction\x12+\n\x05scope\x18\x01 \x01(\x0b\x32\x1c.Ydb.Maintenance.ActionScope\";\n\x0c\x43ordonAction\x12+\n\x05scope\x18\x01 \x01(\x0b\x32\x1c.Ydb.Maintenance.ActionScope\"\xb4\x01\n\x06\x41\x63tion\x12\x32\n\x0block_action\x18\x01 \x01(\x0b\x32\x1b.Ydb.Maintenance.LockActionH\x00\x12\x34\n\x0c\x64rain_action\x18\x02 \x01(\x0b\x32\x1c.Ydb.Maintenance.DrainActionH\x00\x12\x36\n\rcordon_action\x18\x03 \x01(\x0b\x32\x1d.Ydb.Maintenance.CordonActionH\x00\x42\x08\n\x06\x61\x63tion\"?\n\x0b\x41\x63tionGroup\x12\x30\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32\x17.Ydb.Maintenance.ActionB\x06\x9a\xe6*\x02(\x01\"\xd5\x01\n\x1c\x43reateMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12=\n\x0ctask_options\x18\x02 \x01(\x0b\x32\'.Ydb.Maintenance.MaintenanceTaskOptions\x12;\n\raction_groups\x18\x03 \x03(\x0b\x32\x1c.Ydb.Maintenance.ActionGroupB\x06\x9a\xe6*\x02(\x01\"u\n\x1dRefreshMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"]\n\tActionUid\x12\x19\n\x08task_uid\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x19\n\x08group_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x1a\n\taction_id\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"\xa8\x06\n\x0b\x41\x63tionState\x12\'\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32\x17.Ydb.Maintenance.Action\x12.\n\naction_uid\x18\x02 \x01(\x0b\x32\x1a.Ydb.Maintenance.ActionUid\x12\x39\n\x06status\x18\x03 \x01(\x0e\x32).Ydb.Maintenance.ActionState.ActionStatus\x12\x39\n\x06reason\x18\x04 \x01(\x0e\x32).Ydb.Maintenance.ActionState.ActionReason\x12\x0f\n\x07\x64\x65tails\x18\x06 \x01(\t\x12,\n\x08\x64\x65\x61\x64line\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x84\x01\n\x0c\x41\x63tionStatus\x12\x1d\n\x19\x41\x43TION_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41\x43TION_STATUS_PENDING\x10\x01\x12\x1b\n\x17\x41\x43TION_STATUS_PERFORMED\x10\x02\x12\x1d\n\x19\x41\x43TION_STATUS_IN_PROGRESS\x10\x03\"\x83\x03\n\x0c\x41\x63tionReason\x12\x1d\n\x19\x41\x43TION_REASON_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41\x43TION_REASON_OK\x10\x01\x12-\n)ACTION_REASON_TOO_MANY_UNAVAILABLE_VDISKS\x10\x02\x12:\n6ACTION_REASON_TOO_MANY_UNAVAILABLE_STATE_STORAGE_RINGS\x10\x03\x12.\n*ACTION_REASON_DISABLED_NODES_LIMIT_REACHED\x10\x04\x12\x35\n1ACTION_REASON_TENANT_DISABLED_NODES_LIMIT_REACHED\x10\x05\x12\x1f\n\x1b\x41\x43TION_REASON_WRONG_REQUEST\x10\x06\x12\x30\n,ACTION_REASON_SYS_TABLETS_NODE_LIMIT_REACHED\x10\x07\x12\x19\n\x15\x41\x43TION_REASON_GENERIC\x10\x08\"H\n\x11\x41\x63tionGroupStates\x12\x33\n\raction_states\x18\x01 \x03(\x0b\x32\x1c.Ydb.Maintenance.ActionState\"\x98\x02\n\x15MaintenanceTaskResult\x12\x10\n\x08task_uid\x18\x01 \x01(\t\x12?\n\x13\x61\x63tion_group_states\x18\x02 \x03(\x0b\x32\".Ydb.Maintenance.ActionGroupStates\x12\x34\n\x0bretry_after\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_refresh_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0e\n\x0c_retry_after\"G\n\x17MaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"q\n\x19GetMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"\x82\x02\n\x18GetMaintenanceTaskResult\x12=\n\x0ctask_options\x18\x01 \x01(\x0b\x32\'.Ydb.Maintenance.MaintenanceTaskOptions\x12?\n\x13\x61\x63tion_group_states\x18\x02 \x03(\x0b\x32\".Ydb.Maintenance.ActionGroupStates\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_refresh_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"J\n\x1aGetMaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"t\n\x1bListMaintenanceTasksRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x11\n\x04user\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x07\n\x05_user\"0\n\x1aListMaintenanceTasksResult\x12\x12\n\ntasks_uids\x18\x01 \x03(\t\"L\n\x1cListMaintenanceTasksResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"r\n\x1a\x44ropMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"M\n\x1dManageMaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x8b\x01\n\x15\x43ompleteActionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x37\n\x0b\x61\x63tion_uids\x18\x02 \x03(\x0b\x32\x1a.Ydb.Maintenance.ActionUidB\x06\x9a\xe6*\x02(\x01\"\xbe\x01\n\x12ManageActionResult\x12\x43\n\x0f\x61\x63tion_statuses\x18\x01 \x03(\x0b\x32*.Ydb.Maintenance.ManageActionResult.Status\x1a\x63\n\x06Status\x12.\n\naction_uid\x18\x01 \x01(\x0b\x32\x1a.Ydb.Maintenance.ActionUid\x12)\n\x06status\x18\x02 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\"D\n\x14ManageActionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation*k\n\tItemState\x12\x1a\n\x16ITEM_STATE_UNSPECIFIED\x10\x00\x12\x11\n\rITEM_STATE_UP\x10\x01\x12\x1a\n\x16ITEM_STATE_MAINTENANCE\x10\x02\x12\x13\n\x0fITEM_STATE_DOWN\x10\x03*\xa9\x01\n\x10\x41vailabilityMode\x12!\n\x1d\x41VAILABILITY_MODE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41VAILABILITY_MODE_STRONG\x10\x01\x12\x1a\n\x16\x41VAILABILITY_MODE_WEAK\x10\x02\x12\x1b\n\x17\x41VAILABILITY_MODE_FORCE\x10\x03\x12\x1b\n\x17\x41VAILABILITY_MODE_SMART\x10\x04\x42n\n#tech.ydb.proto.draft.maintenance.v1ZDgithub.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_Maintenance\xf8\x01\x01\x62\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'draft.protos.ydb_maintenance_pb2', globals()) @@ -34,6 +34,10 @@ _MAINTENANCETASKOPTIONS.fields_by_name['description']._serialized_options = b'\242\346*\003\030\200\001' _MAINTENANCETASKOPTIONS.fields_by_name['priority']._options = None _MAINTENANCETASKOPTIONS.fields_by_name['priority']._serialized_options = b'\262\346*\013[-100; 100]' + _ACTIONSCOPE_PDISKLOCATION.fields_by_name['host']._options = None + _ACTIONSCOPE_PDISKLOCATION.fields_by_name['host']._serialized_options = b'\242\346*\003\030\377\001' + _ACTIONSCOPE_PDISKLOCATION.fields_by_name['path']._options = None + _ACTIONSCOPE_PDISKLOCATION.fields_by_name['path']._serialized_options = b'\242\346*\003\030\377\001' _ACTIONSCOPE.fields_by_name['host']._options = None _ACTIONSCOPE.fields_by_name['host']._serialized_options = b'\242\346*\003\030\377\001' _ACTIONGROUP.fields_by_name['actions']._options = None @@ -54,10 +58,10 @@ _DROPMAINTENANCETASKREQUEST.fields_by_name['task_uid']._serialized_options = b'\242\346*\003\030\200\001' _COMPLETEACTIONREQUEST.fields_by_name['action_uids']._options = None _COMPLETEACTIONREQUEST.fields_by_name['action_uids']._serialized_options = b'\232\346*\002(\001' - _ITEMSTATE._serialized_start=4082 - _ITEMSTATE._serialized_end=4189 - _AVAILABILITYMODE._serialized_start=4192 - _AVAILABILITYMODE._serialized_end=4332 + _ITEMSTATE._serialized_start=4857 + _ITEMSTATE._serialized_end=4964 + _AVAILABILITYMODE._serialized_start=4967 + _AVAILABILITYMODE._serialized_end=5136 _NODE._serialized_start=245 _NODE._serialized_end=613 _NODE_STORAGENODE._serialized_start=561 @@ -72,54 +76,64 @@ _LISTCLUSTERNODESRESPONSE._serialized_end=837 _MAINTENANCETASKOPTIONS._serialized_start=840 _MAINTENANCETASKOPTIONS._serialized_end=1035 - _ACTIONSCOPE._serialized_start=1037 - _ACTIONSCOPE._serialized_end=1103 - _LOCKACTION._serialized_start=1105 - _LOCKACTION._serialized_end=1207 - _ACTION._serialized_start=1209 - _ACTION._serialized_end=1279 - _ACTIONGROUP._serialized_start=1281 - _ACTIONGROUP._serialized_end=1344 - _CREATEMAINTENANCETASKREQUEST._serialized_start=1347 - _CREATEMAINTENANCETASKREQUEST._serialized_end=1560 - _REFRESHMAINTENANCETASKREQUEST._serialized_start=1562 - _REFRESHMAINTENANCETASKREQUEST._serialized_end=1679 - _ACTIONUID._serialized_start=1681 - _ACTIONUID._serialized_end=1774 - _ACTIONSTATE._serialized_start=1777 - _ACTIONSTATE._serialized_end=2560 - _ACTIONSTATE_ACTIONSTATUS._serialized_start=2069 - _ACTIONSTATE_ACTIONSTATUS._serialized_end=2170 - _ACTIONSTATE_ACTIONREASON._serialized_start=2173 - _ACTIONSTATE_ACTIONREASON._serialized_end=2560 - _ACTIONGROUPSTATES._serialized_start=2562 - _ACTIONGROUPSTATES._serialized_end=2634 - _MAINTENANCETASKRESULT._serialized_start=2637 - _MAINTENANCETASKRESULT._serialized_end=2813 - _MAINTENANCETASKRESPONSE._serialized_start=2815 - _MAINTENANCETASKRESPONSE._serialized_end=2886 - _GETMAINTENANCETASKREQUEST._serialized_start=2888 - _GETMAINTENANCETASKREQUEST._serialized_end=3001 - _GETMAINTENANCETASKRESULT._serialized_start=3004 - _GETMAINTENANCETASKRESULT._serialized_end=3158 - _GETMAINTENANCETASKRESPONSE._serialized_start=3160 - _GETMAINTENANCETASKRESPONSE._serialized_end=3234 - _LISTMAINTENANCETASKSREQUEST._serialized_start=3236 - _LISTMAINTENANCETASKSREQUEST._serialized_end=3352 - _LISTMAINTENANCETASKSRESULT._serialized_start=3354 - _LISTMAINTENANCETASKSRESULT._serialized_end=3402 - _LISTMAINTENANCETASKSRESPONSE._serialized_start=3404 - _LISTMAINTENANCETASKSRESPONSE._serialized_end=3480 - _DROPMAINTENANCETASKREQUEST._serialized_start=3482 - _DROPMAINTENANCETASKREQUEST._serialized_end=3596 - _MANAGEMAINTENANCETASKRESPONSE._serialized_start=3598 - _MANAGEMAINTENANCETASKRESPONSE._serialized_end=3675 - _COMPLETEACTIONREQUEST._serialized_start=3678 - _COMPLETEACTIONREQUEST._serialized_end=3817 - _MANAGEACTIONRESULT._serialized_start=3820 - _MANAGEACTIONRESULT._serialized_end=4010 - _MANAGEACTIONRESULT_STATUS._serialized_start=3911 - _MANAGEACTIONRESULT_STATUS._serialized_end=4010 - _MANAGEACTIONRESPONSE._serialized_start=4012 - _MANAGEACTIONRESPONSE._serialized_end=4080 + _ACTIONSCOPE._serialized_start=1038 + _ACTIONSCOPE._serialized_end=1413 + _ACTIONSCOPE_PDISKID._serialized_start=1150 + _ACTIONSCOPE_PDISKID._serialized_end=1194 + _ACTIONSCOPE_PDISKLOCATION._serialized_start=1196 + _ACTIONSCOPE_PDISKLOCATION._serialized_end=1257 + _ACTIONSCOPE_PDISK._serialized_start=1260 + _ACTIONSCOPE_PDISK._serialized_end=1404 + _LOCKACTION._serialized_start=1415 + _LOCKACTION._serialized_end=1517 + _DRAINACTION._serialized_start=1519 + _DRAINACTION._serialized_end=1577 + _CORDONACTION._serialized_start=1579 + _CORDONACTION._serialized_end=1638 + _ACTION._serialized_start=1641 + _ACTION._serialized_end=1821 + _ACTIONGROUP._serialized_start=1823 + _ACTIONGROUP._serialized_end=1886 + _CREATEMAINTENANCETASKREQUEST._serialized_start=1889 + _CREATEMAINTENANCETASKREQUEST._serialized_end=2102 + _REFRESHMAINTENANCETASKREQUEST._serialized_start=2104 + _REFRESHMAINTENANCETASKREQUEST._serialized_end=2221 + _ACTIONUID._serialized_start=2223 + _ACTIONUID._serialized_end=2316 + _ACTIONSTATE._serialized_start=2319 + _ACTIONSTATE._serialized_end=3127 + _ACTIONSTATE_ACTIONSTATUS._serialized_start=2605 + _ACTIONSTATE_ACTIONSTATUS._serialized_end=2737 + _ACTIONSTATE_ACTIONREASON._serialized_start=2740 + _ACTIONSTATE_ACTIONREASON._serialized_end=3127 + _ACTIONGROUPSTATES._serialized_start=3129 + _ACTIONGROUPSTATES._serialized_end=3201 + _MAINTENANCETASKRESULT._serialized_start=3204 + _MAINTENANCETASKRESULT._serialized_end=3484 + _MAINTENANCETASKRESPONSE._serialized_start=3486 + _MAINTENANCETASKRESPONSE._serialized_end=3557 + _GETMAINTENANCETASKREQUEST._serialized_start=3559 + _GETMAINTENANCETASKREQUEST._serialized_end=3672 + _GETMAINTENANCETASKRESULT._serialized_start=3675 + _GETMAINTENANCETASKRESULT._serialized_end=3933 + _GETMAINTENANCETASKRESPONSE._serialized_start=3935 + _GETMAINTENANCETASKRESPONSE._serialized_end=4009 + _LISTMAINTENANCETASKSREQUEST._serialized_start=4011 + _LISTMAINTENANCETASKSREQUEST._serialized_end=4127 + _LISTMAINTENANCETASKSRESULT._serialized_start=4129 + _LISTMAINTENANCETASKSRESULT._serialized_end=4177 + _LISTMAINTENANCETASKSRESPONSE._serialized_start=4179 + _LISTMAINTENANCETASKSRESPONSE._serialized_end=4255 + _DROPMAINTENANCETASKREQUEST._serialized_start=4257 + _DROPMAINTENANCETASKREQUEST._serialized_end=4371 + _MANAGEMAINTENANCETASKRESPONSE._serialized_start=4373 + _MANAGEMAINTENANCETASKRESPONSE._serialized_end=4450 + _COMPLETEACTIONREQUEST._serialized_start=4453 + _COMPLETEACTIONREQUEST._serialized_end=4592 + _MANAGEACTIONRESULT._serialized_start=4595 + _MANAGEACTIONRESULT._serialized_end=4785 + _MANAGEACTIONRESULT_STATUS._serialized_start=4686 + _MANAGEACTIONRESULT_STATUS._serialized_end=4785 + _MANAGEACTIONRESPONSE._serialized_start=4787 + _MANAGEACTIONRESPONSE._serialized_end=4855 # @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v4/draft/protos/ydb_maintenance_pb2.pyi b/ydb/_grpc/v4/draft/protos/ydb_maintenance_pb2.pyi index 205339435..d3e9c22d5 100644 --- a/ydb/_grpc/v4/draft/protos/ydb_maintenance_pb2.pyi +++ b/ydb/_grpc/v4/draft/protos/ydb_maintenance_pb2.pyi @@ -11,6 +11,7 @@ from google.protobuf import message as _message from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union AVAILABILITY_MODE_FORCE: AvailabilityMode +AVAILABILITY_MODE_SMART: AvailabilityMode AVAILABILITY_MODE_STRONG: AvailabilityMode AVAILABILITY_MODE_UNSPECIFIED: AvailabilityMode AVAILABILITY_MODE_WEAK: AvailabilityMode @@ -21,10 +22,14 @@ ITEM_STATE_UNSPECIFIED: ItemState ITEM_STATE_UP: ItemState class Action(_message.Message): - __slots__ = ["lock_action"] + __slots__ = ["cordon_action", "drain_action", "lock_action"] + CORDON_ACTION_FIELD_NUMBER: _ClassVar[int] + DRAIN_ACTION_FIELD_NUMBER: _ClassVar[int] LOCK_ACTION_FIELD_NUMBER: _ClassVar[int] + cordon_action: CordonAction + drain_action: DrainAction lock_action: LockAction - def __init__(self, lock_action: _Optional[_Union[LockAction, _Mapping]] = ...) -> None: ... + def __init__(self, lock_action: _Optional[_Union[LockAction, _Mapping]] = ..., drain_action: _Optional[_Union[DrainAction, _Mapping]] = ..., cordon_action: _Optional[_Union[CordonAction, _Mapping]] = ...) -> None: ... class ActionGroup(_message.Message): __slots__ = ["actions"] @@ -39,15 +44,38 @@ class ActionGroupStates(_message.Message): def __init__(self, action_states: _Optional[_Iterable[_Union[ActionState, _Mapping]]] = ...) -> None: ... class ActionScope(_message.Message): - __slots__ = ["host", "node_id"] + __slots__ = ["host", "node_id", "pdisk"] + class PDisk(_message.Message): + __slots__ = ["pdisk_id", "pdisk_location"] + PDISK_ID_FIELD_NUMBER: _ClassVar[int] + PDISK_LOCATION_FIELD_NUMBER: _ClassVar[int] + pdisk_id: ActionScope.PDiskId + pdisk_location: ActionScope.PDiskLocation + def __init__(self, pdisk_id: _Optional[_Union[ActionScope.PDiskId, _Mapping]] = ..., pdisk_location: _Optional[_Union[ActionScope.PDiskLocation, _Mapping]] = ...) -> None: ... + class PDiskId(_message.Message): + __slots__ = ["node_id", "pdisk_id"] + NODE_ID_FIELD_NUMBER: _ClassVar[int] + PDISK_ID_FIELD_NUMBER: _ClassVar[int] + node_id: int + pdisk_id: int + def __init__(self, node_id: _Optional[int] = ..., pdisk_id: _Optional[int] = ...) -> None: ... + class PDiskLocation(_message.Message): + __slots__ = ["host", "path"] + HOST_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + host: str + path: str + def __init__(self, host: _Optional[str] = ..., path: _Optional[str] = ...) -> None: ... HOST_FIELD_NUMBER: _ClassVar[int] NODE_ID_FIELD_NUMBER: _ClassVar[int] + PDISK_FIELD_NUMBER: _ClassVar[int] host: str node_id: int - def __init__(self, node_id: _Optional[int] = ..., host: _Optional[str] = ...) -> None: ... + pdisk: ActionScope.PDisk + def __init__(self, node_id: _Optional[int] = ..., host: _Optional[str] = ..., pdisk: _Optional[_Union[ActionScope.PDisk, _Mapping]] = ...) -> None: ... class ActionState(_message.Message): - __slots__ = ["action", "action_uid", "deadline", "reason", "reason_details", "status"] + __slots__ = ["action", "action_uid", "deadline", "details", "reason", "status"] class ActionReason(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): __slots__ = [] class ActionStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): @@ -62,21 +90,22 @@ class ActionState(_message.Message): ACTION_REASON_TOO_MANY_UNAVAILABLE_VDISKS: ActionState.ActionReason ACTION_REASON_UNSPECIFIED: ActionState.ActionReason ACTION_REASON_WRONG_REQUEST: ActionState.ActionReason + ACTION_STATUS_IN_PROGRESS: ActionState.ActionStatus ACTION_STATUS_PENDING: ActionState.ActionStatus ACTION_STATUS_PERFORMED: ActionState.ActionStatus ACTION_STATUS_UNSPECIFIED: ActionState.ActionStatus ACTION_UID_FIELD_NUMBER: _ClassVar[int] DEADLINE_FIELD_NUMBER: _ClassVar[int] - REASON_DETAILS_FIELD_NUMBER: _ClassVar[int] + DETAILS_FIELD_NUMBER: _ClassVar[int] REASON_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] action: Action action_uid: ActionUid deadline: _timestamp_pb2.Timestamp + details: str reason: ActionState.ActionReason - reason_details: str status: ActionState.ActionStatus - def __init__(self, action: _Optional[_Union[Action, _Mapping]] = ..., action_uid: _Optional[_Union[ActionUid, _Mapping]] = ..., status: _Optional[_Union[ActionState.ActionStatus, str]] = ..., reason: _Optional[_Union[ActionState.ActionReason, str]] = ..., reason_details: _Optional[str] = ..., deadline: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... + def __init__(self, action: _Optional[_Union[Action, _Mapping]] = ..., action_uid: _Optional[_Union[ActionUid, _Mapping]] = ..., status: _Optional[_Union[ActionState.ActionStatus, str]] = ..., reason: _Optional[_Union[ActionState.ActionReason, str]] = ..., details: _Optional[str] = ..., deadline: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class ActionUid(_message.Message): __slots__ = ["action_id", "group_id", "task_uid"] @@ -96,6 +125,12 @@ class CompleteActionRequest(_message.Message): operation_params: _ydb_operation_pb2.OperationParams def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., action_uids: _Optional[_Iterable[_Union[ActionUid, _Mapping]]] = ...) -> None: ... +class CordonAction(_message.Message): + __slots__ = ["scope"] + SCOPE_FIELD_NUMBER: _ClassVar[int] + scope: ActionScope + def __init__(self, scope: _Optional[_Union[ActionScope, _Mapping]] = ...) -> None: ... + class CreateMaintenanceTaskRequest(_message.Message): __slots__ = ["action_groups", "operation_params", "task_options"] ACTION_GROUPS_FIELD_NUMBER: _ClassVar[int] @@ -106,6 +141,12 @@ class CreateMaintenanceTaskRequest(_message.Message): task_options: MaintenanceTaskOptions def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., task_options: _Optional[_Union[MaintenanceTaskOptions, _Mapping]] = ..., action_groups: _Optional[_Iterable[_Union[ActionGroup, _Mapping]]] = ...) -> None: ... +class DrainAction(_message.Message): + __slots__ = ["scope"] + SCOPE_FIELD_NUMBER: _ClassVar[int] + scope: ActionScope + def __init__(self, scope: _Optional[_Union[ActionScope, _Mapping]] = ...) -> None: ... + class DropMaintenanceTaskRequest(_message.Message): __slots__ = ["operation_params", "task_uid"] OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] @@ -129,12 +170,16 @@ class GetMaintenanceTaskResponse(_message.Message): def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... class GetMaintenanceTaskResult(_message.Message): - __slots__ = ["action_group_states", "task_options"] + __slots__ = ["action_group_states", "create_time", "last_refresh_time", "task_options"] ACTION_GROUP_STATES_FIELD_NUMBER: _ClassVar[int] + CREATE_TIME_FIELD_NUMBER: _ClassVar[int] + LAST_REFRESH_TIME_FIELD_NUMBER: _ClassVar[int] TASK_OPTIONS_FIELD_NUMBER: _ClassVar[int] action_group_states: _containers.RepeatedCompositeFieldContainer[ActionGroupStates] + create_time: _timestamp_pb2.Timestamp + last_refresh_time: _timestamp_pb2.Timestamp task_options: MaintenanceTaskOptions - def __init__(self, task_options: _Optional[_Union[MaintenanceTaskOptions, _Mapping]] = ..., action_group_states: _Optional[_Iterable[_Union[ActionGroupStates, _Mapping]]] = ...) -> None: ... + def __init__(self, task_options: _Optional[_Union[MaintenanceTaskOptions, _Mapping]] = ..., action_group_states: _Optional[_Iterable[_Union[ActionGroupStates, _Mapping]]] = ..., create_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., last_refresh_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class ListClusterNodesRequest(_message.Message): __slots__ = ["operation_params"] @@ -203,14 +248,18 @@ class MaintenanceTaskResponse(_message.Message): def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... class MaintenanceTaskResult(_message.Message): - __slots__ = ["action_group_states", "retry_after", "task_uid"] + __slots__ = ["action_group_states", "create_time", "last_refresh_time", "retry_after", "task_uid"] ACTION_GROUP_STATES_FIELD_NUMBER: _ClassVar[int] + CREATE_TIME_FIELD_NUMBER: _ClassVar[int] + LAST_REFRESH_TIME_FIELD_NUMBER: _ClassVar[int] RETRY_AFTER_FIELD_NUMBER: _ClassVar[int] TASK_UID_FIELD_NUMBER: _ClassVar[int] action_group_states: _containers.RepeatedCompositeFieldContainer[ActionGroupStates] + create_time: _timestamp_pb2.Timestamp + last_refresh_time: _timestamp_pb2.Timestamp retry_after: _timestamp_pb2.Timestamp task_uid: str - def __init__(self, task_uid: _Optional[str] = ..., action_group_states: _Optional[_Iterable[_Union[ActionGroupStates, _Mapping]]] = ..., retry_after: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... + def __init__(self, task_uid: _Optional[str] = ..., action_group_states: _Optional[_Iterable[_Union[ActionGroupStates, _Mapping]]] = ..., retry_after: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., create_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., last_refresh_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class ManageActionResponse(_message.Message): __slots__ = ["operation"] diff --git a/ydb/_grpc/v4/draft/protos/ydb_replication_pb2.py b/ydb/_grpc/v4/draft/protos/ydb_replication_pb2.py new file mode 100644 index 000000000..46b8c82c5 --- /dev/null +++ b/ydb/_grpc/v4/draft/protos/ydb_replication_pb2.py @@ -0,0 +1,78 @@ +# -*- coding: utf-8 -*- +# flake8: noqa +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: draft/protos/ydb_replication.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from ydb._grpc.v4.protos.annotations import validation_pb2 as protos_dot_annotations_dot_validation__pb2 +from ydb._grpc.v4.protos import ydb_issue_message_pb2 as protos_dot_ydb__issue__message__pb2 +from ydb._grpc.v4.protos import ydb_operation_pb2 as protos_dot_ydb__operation__pb2 +from ydb._grpc.v4.protos import ydb_scheme_pb2 as protos_dot_ydb__scheme__pb2 +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"draft/protos/ydb_replication.proto\x12\x0fYdb.Replication\x1a#protos/annotations/validation.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1egoogle/protobuf/duration.proto\"\x82\x01\n\x1a\x44\x65scribeReplicationRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\x04path\x18\x02 \x01(\tB\x04\x90\xe6*\x01\x12\x15\n\rinclude_stats\x18\x03 \x01(\x08\"K\n\x1b\x44\x65scribeReplicationResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xe6\x02\n\x10\x43onnectionParams\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x10\n\x08\x64\x61tabase\x18\x02 \x01(\t\x12\x12\n\nenable_ssl\x18\x05 \x01(\x08\x12\x19\n\x11\x63onnection_string\x18\x06 \x01(\t\x12Q\n\x12static_credentials\x18\x03 \x01(\x0b\x32\x33.Ydb.Replication.ConnectionParams.StaticCredentialsH\x00\x12\x38\n\x05oauth\x18\x04 \x01(\x0b\x32\'.Ydb.Replication.ConnectionParams.OAuthH\x00\x1a?\n\x11StaticCredentials\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x1c\n\x14password_secret_name\x18\x02 \x01(\t\x1a\"\n\x05OAuth\x12\x19\n\x11token_secret_name\x18\x01 \x01(\tB\r\n\x0b\x63redentials\"\x15\n\x13\x43onsistencyLevelRow\"L\n\x16\x43onsistencyLevelGlobal\x12\x32\n\x0f\x63ommit_interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xe9\x08\n\x19\x44\x65scribeReplicationResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12<\n\x11\x63onnection_params\x18\x02 \x01(\x0b\x32!.Ydb.Replication.ConnectionParams\x12?\n\x0frow_consistency\x18\x07 \x01(\x0b\x32$.Ydb.Replication.ConsistencyLevelRowH\x00\x12\x45\n\x12global_consistency\x18\x08 \x01(\x0b\x32\'.Ydb.Replication.ConsistencyLevelGlobalH\x00\x12>\n\x05items\x18\x03 \x03(\x0b\x32/.Ydb.Replication.DescribeReplicationResult.Item\x12J\n\x07running\x18\x04 \x01(\x0b\x32\x37.Ydb.Replication.DescribeReplicationResult.RunningStateH\x01\x12\x46\n\x05\x65rror\x18\x05 \x01(\x0b\x32\x35.Ydb.Replication.DescribeReplicationResult.ErrorStateH\x01\x12\x44\n\x04\x64one\x18\x06 \x01(\x0b\x32\x34.Ydb.Replication.DescribeReplicationResult.DoneStateH\x01\x12H\n\x06paused\x18\t \x01(\x0b\x32\x36.Ydb.Replication.DescribeReplicationResult.PausedStateH\x01\x1az\n\x05Stats\x12+\n\x03lag\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x12\"\n\x15initial_scan_progress\x18\x02 \x01(\x02H\x01\x88\x01\x01\x42\x06\n\x04_lagB\x18\n\x16_initial_scan_progress\x1a\xc2\x01\n\x04Item\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12#\n\x16source_changefeed_name\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\n\n\x02id\x18\x04 \x01(\x04\x12?\n\x05stats\x18\x05 \x01(\x0b\x32\x30.Ydb.Replication.DescribeReplicationResult.StatsB\x19\n\x17_source_changefeed_name\x1aO\n\x0cRunningState\x12?\n\x05stats\x18\x01 \x01(\x0b\x32\x30.Ydb.Replication.DescribeReplicationResult.Stats\x1a\x35\n\nErrorState\x12\'\n\x06issues\x18\x01 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x1a\x0b\n\tDoneState\x1a\r\n\x0bPausedStateB\x13\n\x11\x63onsistency_levelB\x07\n\x05state\"h\n\x17\x44\x65scribeTransferRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\x04path\x18\x02 \x01(\tB\x04\x90\xe6*\x01\"H\n\x18\x44\x65scribeTransferResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb3\x06\n\x16\x44\x65scribeTransferResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12<\n\x11\x63onnection_params\x18\x02 \x01(\x0b\x32!.Ydb.Replication.ConnectionParams\x12G\n\x07running\x18\x03 \x01(\x0b\x32\x34.Ydb.Replication.DescribeTransferResult.RunningStateH\x00\x12\x43\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x32.Ydb.Replication.DescribeTransferResult.ErrorStateH\x00\x12\x41\n\x04\x64one\x18\x05 \x01(\x0b\x32\x31.Ydb.Replication.DescribeTransferResult.DoneStateH\x00\x12\x45\n\x06paused\x18\x06 \x01(\x0b\x32\x33.Ydb.Replication.DescribeTransferResult.PausedStateH\x00\x12\x13\n\x0bsource_path\x18\x07 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x08 \x01(\t\x12\x1d\n\x15transformation_lambda\x18\t \x01(\t\x12\x15\n\rconsumer_name\x18\n \x01(\t\x12R\n\x0e\x62\x61tch_settings\x18\x0b \x01(\x0b\x32\x35.Ydb.Replication.DescribeTransferResult.BatchSettingsH\x01\x88\x01\x01\x1a\x0e\n\x0cRunningState\x1a\x35\n\nErrorState\x12\'\n\x06issues\x18\x01 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x1a\x0b\n\tDoneState\x1a\r\n\x0bPausedState\x1aj\n\rBatchSettings\x12\x17\n\nsize_bytes\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x31\n\x0e\x66lush_interval\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\n\x0b_size_bytesB\x07\n\x05stateB\x11\n\x0f_batch_settingsBk\n tech.ydb.proto.draft.replicationZDgithub.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_Replication\xf8\x01\x01\x62\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'draft.protos.ydb_replication_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n tech.ydb.proto.draft.replicationZDgithub.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_Replication\370\001\001' + _DESCRIBEREPLICATIONREQUEST.fields_by_name['path']._options = None + _DESCRIBEREPLICATIONREQUEST.fields_by_name['path']._serialized_options = b'\220\346*\001' + _DESCRIBETRANSFERREQUEST.fields_by_name['path']._options = None + _DESCRIBETRANSFERREQUEST.fields_by_name['path']._serialized_options = b'\220\346*\001' + _DESCRIBEREPLICATIONREQUEST._serialized_start=210 + _DESCRIBEREPLICATIONREQUEST._serialized_end=340 + _DESCRIBEREPLICATIONRESPONSE._serialized_start=342 + _DESCRIBEREPLICATIONRESPONSE._serialized_end=417 + _CONNECTIONPARAMS._serialized_start=420 + _CONNECTIONPARAMS._serialized_end=778 + _CONNECTIONPARAMS_STATICCREDENTIALS._serialized_start=664 + _CONNECTIONPARAMS_STATICCREDENTIALS._serialized_end=727 + _CONNECTIONPARAMS_OAUTH._serialized_start=729 + _CONNECTIONPARAMS_OAUTH._serialized_end=763 + _CONSISTENCYLEVELROW._serialized_start=780 + _CONSISTENCYLEVELROW._serialized_end=801 + _CONSISTENCYLEVELGLOBAL._serialized_start=803 + _CONSISTENCYLEVELGLOBAL._serialized_end=879 + _DESCRIBEREPLICATIONRESULT._serialized_start=882 + _DESCRIBEREPLICATIONRESULT._serialized_end=2011 + _DESCRIBEREPLICATIONRESULT_STATS._serialized_start=1498 + _DESCRIBEREPLICATIONRESULT_STATS._serialized_end=1620 + _DESCRIBEREPLICATIONRESULT_ITEM._serialized_start=1623 + _DESCRIBEREPLICATIONRESULT_ITEM._serialized_end=1817 + _DESCRIBEREPLICATIONRESULT_RUNNINGSTATE._serialized_start=1819 + _DESCRIBEREPLICATIONRESULT_RUNNINGSTATE._serialized_end=1898 + _DESCRIBEREPLICATIONRESULT_ERRORSTATE._serialized_start=1900 + _DESCRIBEREPLICATIONRESULT_ERRORSTATE._serialized_end=1953 + _DESCRIBEREPLICATIONRESULT_DONESTATE._serialized_start=1955 + _DESCRIBEREPLICATIONRESULT_DONESTATE._serialized_end=1966 + _DESCRIBEREPLICATIONRESULT_PAUSEDSTATE._serialized_start=1968 + _DESCRIBEREPLICATIONRESULT_PAUSEDSTATE._serialized_end=1981 + _DESCRIBETRANSFERREQUEST._serialized_start=2013 + _DESCRIBETRANSFERREQUEST._serialized_end=2117 + _DESCRIBETRANSFERRESPONSE._serialized_start=2119 + _DESCRIBETRANSFERRESPONSE._serialized_end=2191 + _DESCRIBETRANSFERRESULT._serialized_start=2194 + _DESCRIBETRANSFERRESULT._serialized_end=3013 + _DESCRIBETRANSFERRESULT_RUNNINGSTATE._serialized_start=1819 + _DESCRIBETRANSFERRESULT_RUNNINGSTATE._serialized_end=1833 + _DESCRIBETRANSFERRESULT_ERRORSTATE._serialized_start=1900 + _DESCRIBETRANSFERRESULT_ERRORSTATE._serialized_end=1953 + _DESCRIBETRANSFERRESULT_DONESTATE._serialized_start=1955 + _DESCRIBETRANSFERRESULT_DONESTATE._serialized_end=1966 + _DESCRIBETRANSFERRESULT_PAUSEDSTATE._serialized_start=1968 + _DESCRIBETRANSFERRESULT_PAUSEDSTATE._serialized_end=1981 + _DESCRIBETRANSFERRESULT_BATCHSETTINGS._serialized_start=2879 + _DESCRIBETRANSFERRESULT_BATCHSETTINGS._serialized_end=2985 +# @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v4/draft/protos/ydb_replication_pb2.pyi b/ydb/_grpc/v4/draft/protos/ydb_replication_pb2.pyi new file mode 100644 index 000000000..5dfc8fb1b --- /dev/null +++ b/ydb/_grpc/v4/draft/protos/ydb_replication_pb2.pyi @@ -0,0 +1,184 @@ +from protos.annotations import validation_pb2 as _validation_pb2 +from protos import ydb_issue_message_pb2 as _ydb_issue_message_pb2 +from protos import ydb_operation_pb2 as _ydb_operation_pb2 +from protos import ydb_scheme_pb2 as _ydb_scheme_pb2 +from google.protobuf import duration_pb2 as _duration_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class ConnectionParams(_message.Message): + __slots__ = ["connection_string", "database", "enable_ssl", "endpoint", "oauth", "static_credentials"] + class OAuth(_message.Message): + __slots__ = ["token_secret_name"] + TOKEN_SECRET_NAME_FIELD_NUMBER: _ClassVar[int] + token_secret_name: str + def __init__(self, token_secret_name: _Optional[str] = ...) -> None: ... + class StaticCredentials(_message.Message): + __slots__ = ["password_secret_name", "user"] + PASSWORD_SECRET_NAME_FIELD_NUMBER: _ClassVar[int] + USER_FIELD_NUMBER: _ClassVar[int] + password_secret_name: str + user: str + def __init__(self, user: _Optional[str] = ..., password_secret_name: _Optional[str] = ...) -> None: ... + CONNECTION_STRING_FIELD_NUMBER: _ClassVar[int] + DATABASE_FIELD_NUMBER: _ClassVar[int] + ENABLE_SSL_FIELD_NUMBER: _ClassVar[int] + ENDPOINT_FIELD_NUMBER: _ClassVar[int] + OAUTH_FIELD_NUMBER: _ClassVar[int] + STATIC_CREDENTIALS_FIELD_NUMBER: _ClassVar[int] + connection_string: str + database: str + enable_ssl: bool + endpoint: str + oauth: ConnectionParams.OAuth + static_credentials: ConnectionParams.StaticCredentials + def __init__(self, endpoint: _Optional[str] = ..., database: _Optional[str] = ..., enable_ssl: bool = ..., connection_string: _Optional[str] = ..., static_credentials: _Optional[_Union[ConnectionParams.StaticCredentials, _Mapping]] = ..., oauth: _Optional[_Union[ConnectionParams.OAuth, _Mapping]] = ...) -> None: ... + +class ConsistencyLevelGlobal(_message.Message): + __slots__ = ["commit_interval"] + COMMIT_INTERVAL_FIELD_NUMBER: _ClassVar[int] + commit_interval: _duration_pb2.Duration + def __init__(self, commit_interval: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... + +class ConsistencyLevelRow(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + +class DescribeReplicationRequest(_message.Message): + __slots__ = ["include_stats", "operation_params", "path"] + INCLUDE_STATS_FIELD_NUMBER: _ClassVar[int] + OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + include_stats: bool + operation_params: _ydb_operation_pb2.OperationParams + path: str + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ..., include_stats: bool = ...) -> None: ... + +class DescribeReplicationResponse(_message.Message): + __slots__ = ["operation"] + OPERATION_FIELD_NUMBER: _ClassVar[int] + operation: _ydb_operation_pb2.Operation + def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... + +class DescribeReplicationResult(_message.Message): + __slots__ = ["connection_params", "done", "error", "global_consistency", "items", "paused", "row_consistency", "running", "self"] + class DoneState(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + class ErrorState(_message.Message): + __slots__ = ["issues"] + ISSUES_FIELD_NUMBER: _ClassVar[int] + issues: _containers.RepeatedCompositeFieldContainer[_ydb_issue_message_pb2.IssueMessage] + def __init__(self, issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ...) -> None: ... + class Item(_message.Message): + __slots__ = ["destination_path", "id", "source_changefeed_name", "source_path", "stats"] + DESTINATION_PATH_FIELD_NUMBER: _ClassVar[int] + ID_FIELD_NUMBER: _ClassVar[int] + SOURCE_CHANGEFEED_NAME_FIELD_NUMBER: _ClassVar[int] + SOURCE_PATH_FIELD_NUMBER: _ClassVar[int] + STATS_FIELD_NUMBER: _ClassVar[int] + destination_path: str + id: int + source_changefeed_name: str + source_path: str + stats: DescribeReplicationResult.Stats + def __init__(self, source_path: _Optional[str] = ..., destination_path: _Optional[str] = ..., source_changefeed_name: _Optional[str] = ..., id: _Optional[int] = ..., stats: _Optional[_Union[DescribeReplicationResult.Stats, _Mapping]] = ...) -> None: ... + class PausedState(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + class RunningState(_message.Message): + __slots__ = ["stats"] + STATS_FIELD_NUMBER: _ClassVar[int] + stats: DescribeReplicationResult.Stats + def __init__(self, stats: _Optional[_Union[DescribeReplicationResult.Stats, _Mapping]] = ...) -> None: ... + class Stats(_message.Message): + __slots__ = ["initial_scan_progress", "lag"] + INITIAL_SCAN_PROGRESS_FIELD_NUMBER: _ClassVar[int] + LAG_FIELD_NUMBER: _ClassVar[int] + initial_scan_progress: float + lag: _duration_pb2.Duration + def __init__(self, lag: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., initial_scan_progress: _Optional[float] = ...) -> None: ... + CONNECTION_PARAMS_FIELD_NUMBER: _ClassVar[int] + DONE_FIELD_NUMBER: _ClassVar[int] + ERROR_FIELD_NUMBER: _ClassVar[int] + GLOBAL_CONSISTENCY_FIELD_NUMBER: _ClassVar[int] + ITEMS_FIELD_NUMBER: _ClassVar[int] + PAUSED_FIELD_NUMBER: _ClassVar[int] + ROW_CONSISTENCY_FIELD_NUMBER: _ClassVar[int] + RUNNING_FIELD_NUMBER: _ClassVar[int] + SELF_FIELD_NUMBER: _ClassVar[int] + connection_params: ConnectionParams + done: DescribeReplicationResult.DoneState + error: DescribeReplicationResult.ErrorState + global_consistency: ConsistencyLevelGlobal + items: _containers.RepeatedCompositeFieldContainer[DescribeReplicationResult.Item] + paused: DescribeReplicationResult.PausedState + row_consistency: ConsistencyLevelRow + running: DescribeReplicationResult.RunningState + self: _ydb_scheme_pb2.Entry + def __init__(self, self_: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., connection_params: _Optional[_Union[ConnectionParams, _Mapping]] = ..., row_consistency: _Optional[_Union[ConsistencyLevelRow, _Mapping]] = ..., global_consistency: _Optional[_Union[ConsistencyLevelGlobal, _Mapping]] = ..., items: _Optional[_Iterable[_Union[DescribeReplicationResult.Item, _Mapping]]] = ..., running: _Optional[_Union[DescribeReplicationResult.RunningState, _Mapping]] = ..., error: _Optional[_Union[DescribeReplicationResult.ErrorState, _Mapping]] = ..., done: _Optional[_Union[DescribeReplicationResult.DoneState, _Mapping]] = ..., paused: _Optional[_Union[DescribeReplicationResult.PausedState, _Mapping]] = ...) -> None: ... + +class DescribeTransferRequest(_message.Message): + __slots__ = ["operation_params", "path"] + OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + operation_params: _ydb_operation_pb2.OperationParams + path: str + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ...) -> None: ... + +class DescribeTransferResponse(_message.Message): + __slots__ = ["operation"] + OPERATION_FIELD_NUMBER: _ClassVar[int] + operation: _ydb_operation_pb2.Operation + def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... + +class DescribeTransferResult(_message.Message): + __slots__ = ["batch_settings", "connection_params", "consumer_name", "destination_path", "done", "error", "paused", "running", "self", "source_path", "transformation_lambda"] + class BatchSettings(_message.Message): + __slots__ = ["flush_interval", "size_bytes"] + FLUSH_INTERVAL_FIELD_NUMBER: _ClassVar[int] + SIZE_BYTES_FIELD_NUMBER: _ClassVar[int] + flush_interval: _duration_pb2.Duration + size_bytes: int + def __init__(self, size_bytes: _Optional[int] = ..., flush_interval: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... + class DoneState(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + class ErrorState(_message.Message): + __slots__ = ["issues"] + ISSUES_FIELD_NUMBER: _ClassVar[int] + issues: _containers.RepeatedCompositeFieldContainer[_ydb_issue_message_pb2.IssueMessage] + def __init__(self, issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ...) -> None: ... + class PausedState(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + class RunningState(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + BATCH_SETTINGS_FIELD_NUMBER: _ClassVar[int] + CONNECTION_PARAMS_FIELD_NUMBER: _ClassVar[int] + CONSUMER_NAME_FIELD_NUMBER: _ClassVar[int] + DESTINATION_PATH_FIELD_NUMBER: _ClassVar[int] + DONE_FIELD_NUMBER: _ClassVar[int] + ERROR_FIELD_NUMBER: _ClassVar[int] + PAUSED_FIELD_NUMBER: _ClassVar[int] + RUNNING_FIELD_NUMBER: _ClassVar[int] + SELF_FIELD_NUMBER: _ClassVar[int] + SOURCE_PATH_FIELD_NUMBER: _ClassVar[int] + TRANSFORMATION_LAMBDA_FIELD_NUMBER: _ClassVar[int] + batch_settings: DescribeTransferResult.BatchSettings + connection_params: ConnectionParams + consumer_name: str + destination_path: str + done: DescribeTransferResult.DoneState + error: DescribeTransferResult.ErrorState + paused: DescribeTransferResult.PausedState + running: DescribeTransferResult.RunningState + self: _ydb_scheme_pb2.Entry + source_path: str + transformation_lambda: str + def __init__(self, self_: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., connection_params: _Optional[_Union[ConnectionParams, _Mapping]] = ..., running: _Optional[_Union[DescribeTransferResult.RunningState, _Mapping]] = ..., error: _Optional[_Union[DescribeTransferResult.ErrorState, _Mapping]] = ..., done: _Optional[_Union[DescribeTransferResult.DoneState, _Mapping]] = ..., paused: _Optional[_Union[DescribeTransferResult.PausedState, _Mapping]] = ..., source_path: _Optional[str] = ..., destination_path: _Optional[str] = ..., transformation_lambda: _Optional[str] = ..., consumer_name: _Optional[str] = ..., batch_settings: _Optional[_Union[DescribeTransferResult.BatchSettings, _Mapping]] = ...) -> None: ... diff --git a/ydb/_grpc/v4/draft/protos/ydb_replication_pb2_grpc.py b/ydb/_grpc/v4/draft/protos/ydb_replication_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/ydb/_grpc/v4/draft/protos/ydb_replication_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/ydb/_grpc/v4/draft/protos/ydb_view_pb2.py b/ydb/_grpc/v4/draft/protos/ydb_view_pb2.py new file mode 100644 index 000000000..d5773a312 --- /dev/null +++ b/ydb/_grpc/v4/draft/protos/ydb_view_pb2.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +# flake8: noqa +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: draft/protos/ydb_view.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from ydb._grpc.v4.protos.annotations import validation_pb2 as protos_dot_annotations_dot_validation__pb2 +from ydb._grpc.v4.protos import ydb_operation_pb2 as protos_dot_ydb__operation__pb2 +from ydb._grpc.v4.protos import ydb_scheme_pb2 as protos_dot_ydb__scheme__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x64raft/protos/ydb_view.proto\x12\x08Ydb.View\x1a#protos/annotations/validation.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x17protos/ydb_scheme.proto\"d\n\x13\x44\x65scribeViewRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\x04path\x18\x02 \x01(\tB\x04\x90\xe6*\x01\"D\n\x14\x44\x65scribeViewResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"I\n\x12\x44\x65scribeViewResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12\x12\n\nquery_text\x18\x02 \x01(\tB]\n\x19tech.ydb.proto.draft.viewZ=github.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_View\xf8\x01\x01\x62\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'draft.protos.ydb_view_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\031tech.ydb.proto.draft.viewZ=github.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_View\370\001\001' + _DESCRIBEVIEWREQUEST.fields_by_name['path']._options = None + _DESCRIBEVIEWREQUEST.fields_by_name['path']._serialized_options = b'\220\346*\001' + _DESCRIBEVIEWREQUEST._serialized_start=131 + _DESCRIBEVIEWREQUEST._serialized_end=231 + _DESCRIBEVIEWRESPONSE._serialized_start=233 + _DESCRIBEVIEWRESPONSE._serialized_end=301 + _DESCRIBEVIEWRESULT._serialized_start=303 + _DESCRIBEVIEWRESULT._serialized_end=376 +# @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v4/draft/protos/ydb_view_pb2.pyi b/ydb/_grpc/v4/draft/protos/ydb_view_pb2.pyi new file mode 100644 index 000000000..c2d28f285 --- /dev/null +++ b/ydb/_grpc/v4/draft/protos/ydb_view_pb2.pyi @@ -0,0 +1,30 @@ +from protos.annotations import validation_pb2 as _validation_pb2 +from protos import ydb_operation_pb2 as _ydb_operation_pb2 +from protos import ydb_scheme_pb2 as _ydb_scheme_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class DescribeViewRequest(_message.Message): + __slots__ = ["operation_params", "path"] + OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + operation_params: _ydb_operation_pb2.OperationParams + path: str + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ...) -> None: ... + +class DescribeViewResponse(_message.Message): + __slots__ = ["operation"] + OPERATION_FIELD_NUMBER: _ClassVar[int] + operation: _ydb_operation_pb2.Operation + def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... + +class DescribeViewResult(_message.Message): + __slots__ = ["query_text", "self"] + QUERY_TEXT_FIELD_NUMBER: _ClassVar[int] + SELF_FIELD_NUMBER: _ClassVar[int] + query_text: str + self: _ydb_scheme_pb2.Entry + def __init__(self, self_: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., query_text: _Optional[str] = ...) -> None: ... diff --git a/ydb/_grpc/v4/draft/protos/ydb_view_pb2_grpc.py b/ydb/_grpc/v4/draft/protos/ydb_view_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/ydb/_grpc/v4/draft/protos/ydb_view_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/ydb/_grpc/v4/draft/ydb_replication_v1_pb2.py b/ydb/_grpc/v4/draft/ydb_replication_v1_pb2.py new file mode 100644 index 000000000..21f4ac7b3 --- /dev/null +++ b/ydb/_grpc/v4/draft/ydb_replication_v1_pb2.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +# flake8: noqa +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: draft/ydb_replication_v1.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from ydb._grpc.v4.draft.protos import ydb_replication_pb2 as draft_dot_protos_dot_ydb__replication__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x64raft/ydb_replication_v1.proto\x12\x12Ydb.Replication.V1\x1a\"draft/protos/ydb_replication.proto2\xef\x01\n\x12ReplicationService\x12p\n\x13\x44\x65scribeReplication\x12+.Ydb.Replication.DescribeReplicationRequest\x1a,.Ydb.Replication.DescribeReplicationResponse\x12g\n\x10\x44\x65scribeTransfer\x12(.Ydb.Replication.DescribeTransferRequest\x1a).Ydb.Replication.DescribeTransferResponseBj\n#tech.ydb.proto.draft.replication.v1Z@github.com/ydb-platform/ydb-go-genproto/draft/Ydb_Replication_V1\xf8\x01\x01\x62\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'draft.ydb_replication_v1_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n#tech.ydb.proto.draft.replication.v1Z@github.com/ydb-platform/ydb-go-genproto/draft/Ydb_Replication_V1\370\001\001' + _REPLICATIONSERVICE._serialized_start=91 + _REPLICATIONSERVICE._serialized_end=330 +# @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v4/draft/ydb_replication_v1_pb2.pyi b/ydb/_grpc/v4/draft/ydb_replication_v1_pb2.pyi new file mode 100644 index 000000000..3dfdb702a --- /dev/null +++ b/ydb/_grpc/v4/draft/ydb_replication_v1_pb2.pyi @@ -0,0 +1,5 @@ +from draft.protos import ydb_replication_pb2 as _ydb_replication_pb2 +from google.protobuf import descriptor as _descriptor +from typing import ClassVar as _ClassVar + +DESCRIPTOR: _descriptor.FileDescriptor diff --git a/ydb/_grpc/v4/draft/ydb_replication_v1_pb2_grpc.py b/ydb/_grpc/v4/draft/ydb_replication_v1_pb2_grpc.py new file mode 100644 index 000000000..2335d29ad --- /dev/null +++ b/ydb/_grpc/v4/draft/ydb_replication_v1_pb2_grpc.py @@ -0,0 +1,99 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from ydb._grpc.v4.draft.protos import ydb_replication_pb2 as draft_dot_protos_dot_ydb__replication__pb2 + + +class ReplicationServiceStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.DescribeReplication = channel.unary_unary( + '/Ydb.Replication.V1.ReplicationService/DescribeReplication', + request_serializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationRequest.SerializeToString, + response_deserializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationResponse.FromString, + ) + self.DescribeTransfer = channel.unary_unary( + '/Ydb.Replication.V1.ReplicationService/DescribeTransfer', + request_serializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferRequest.SerializeToString, + response_deserializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferResponse.FromString, + ) + + +class ReplicationServiceServicer(object): + """Missing associated documentation comment in .proto file.""" + + def DescribeReplication(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DescribeTransfer(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ReplicationServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'DescribeReplication': grpc.unary_unary_rpc_method_handler( + servicer.DescribeReplication, + request_deserializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationRequest.FromString, + response_serializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationResponse.SerializeToString, + ), + 'DescribeTransfer': grpc.unary_unary_rpc_method_handler( + servicer.DescribeTransfer, + request_deserializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferRequest.FromString, + response_serializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'Ydb.Replication.V1.ReplicationService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class ReplicationService(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def DescribeReplication(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/Ydb.Replication.V1.ReplicationService/DescribeReplication', + draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationRequest.SerializeToString, + draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DescribeTransfer(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/Ydb.Replication.V1.ReplicationService/DescribeTransfer', + draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferRequest.SerializeToString, + draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/ydb/_grpc/v4/draft/ydb_view_v1_pb2.py b/ydb/_grpc/v4/draft/ydb_view_v1_pb2.py new file mode 100644 index 000000000..2fda7f31d --- /dev/null +++ b/ydb/_grpc/v4/draft/ydb_view_v1_pb2.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +# flake8: noqa +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: draft/ydb_view_v1.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from ydb._grpc.v4.draft.protos import ydb_view_pb2 as draft_dot_protos_dot_ydb__view__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x64raft/ydb_view_v1.proto\x12\x0bYdb.View.V1\x1a\x1b\x64raft/protos/ydb_view.proto2\\\n\x0bViewService\x12M\n\x0c\x44\x65scribeView\x12\x1d.Ydb.View.DescribeViewRequest\x1a\x1e.Ydb.View.DescribeViewResponseB\\\n\x1ctech.ydb.proto.draft.view.v1Z9github.com/ydb-platform/ydb-go-genproto/draft/Ydb_View_V1\xf8\x01\x01\x62\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'draft.ydb_view_v1_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\034tech.ydb.proto.draft.view.v1Z9github.com/ydb-platform/ydb-go-genproto/draft/Ydb_View_V1\370\001\001' + _VIEWSERVICE._serialized_start=69 + _VIEWSERVICE._serialized_end=161 +# @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v4/draft/ydb_view_v1_pb2.pyi b/ydb/_grpc/v4/draft/ydb_view_v1_pb2.pyi new file mode 100644 index 000000000..15db46287 --- /dev/null +++ b/ydb/_grpc/v4/draft/ydb_view_v1_pb2.pyi @@ -0,0 +1,5 @@ +from draft.protos import ydb_view_pb2 as _ydb_view_pb2 +from google.protobuf import descriptor as _descriptor +from typing import ClassVar as _ClassVar + +DESCRIPTOR: _descriptor.FileDescriptor diff --git a/ydb/_grpc/v4/draft/ydb_view_v1_pb2_grpc.py b/ydb/_grpc/v4/draft/ydb_view_v1_pb2_grpc.py new file mode 100644 index 000000000..734a2a37c --- /dev/null +++ b/ydb/_grpc/v4/draft/ydb_view_v1_pb2_grpc.py @@ -0,0 +1,66 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from ydb._grpc.v4.draft.protos import ydb_view_pb2 as draft_dot_protos_dot_ydb__view__pb2 + + +class ViewServiceStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.DescribeView = channel.unary_unary( + '/Ydb.View.V1.ViewService/DescribeView', + request_serializer=draft_dot_protos_dot_ydb__view__pb2.DescribeViewRequest.SerializeToString, + response_deserializer=draft_dot_protos_dot_ydb__view__pb2.DescribeViewResponse.FromString, + ) + + +class ViewServiceServicer(object): + """Missing associated documentation comment in .proto file.""" + + def DescribeView(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ViewServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'DescribeView': grpc.unary_unary_rpc_method_handler( + servicer.DescribeView, + request_deserializer=draft_dot_protos_dot_ydb__view__pb2.DescribeViewRequest.FromString, + response_serializer=draft_dot_protos_dot_ydb__view__pb2.DescribeViewResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'Ydb.View.V1.ViewService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class ViewService(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def DescribeView(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/Ydb.View.V1.ViewService/DescribeView', + draft_dot_protos_dot_ydb__view__pb2.DescribeViewRequest.SerializeToString, + draft_dot_protos_dot_ydb__view__pb2.DescribeViewResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/ydb/_grpc/v4/protos/ydb_query_pb2.py b/ydb/_grpc/v4/protos/ydb_query_pb2.py index 318d79d97..d7d0cd9cd 100644 --- a/ydb/_grpc/v4/protos/ydb_query_pb2.py +++ b/ydb/_grpc/v4/protos/ydb_query_pb2.py @@ -22,7 +22,7 @@ from ydb._grpc.v4.protos import ydb_value_pb2 as protos_dot_ydb__value__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16protos/ydb_query.proto\x12\tYdb.Query\x1a\x1egoogle/protobuf/duration.proto\x1a#protos/annotations/validation.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1cprotos/ydb_query_stats.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x18protos/ydb_formats.proto\x1a\x16protos/ydb_value.proto\"\x16\n\x14\x43reateSessionRequest\"\xa3\x01\n\x15\x43reateSessionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x1b\n\nsession_id\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x19\n\x07node_id\x18\x04 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\"3\n\x14\x44\x65leteSessionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"k\n\x15\x44\x65leteSessionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"3\n\x14\x41ttachSessionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"b\n\x0cSessionState\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"\x1a\n\x18SerializableModeSettings\"6\n\x12OnlineModeSettings\x12 \n\x18\x61llow_inconsistent_reads\x18\x01 \x01(\x08\"\x13\n\x11StaleModeSettings\"\x16\n\x14SnapshotModeSettings\"\x18\n\x16SnapshotRWModeSettings\"\xdd\x02\n\x13TransactionSettings\x12\x46\n\x17serializable_read_write\x18\x01 \x01(\x0b\x32#.Ydb.Query.SerializableModeSettingsH\x00\x12\x39\n\x10online_read_only\x18\x02 \x01(\x0b\x32\x1d.Ydb.Query.OnlineModeSettingsH\x00\x12\x37\n\x0fstale_read_only\x18\x03 \x01(\x0b\x32\x1c.Ydb.Query.StaleModeSettingsH\x00\x12=\n\x12snapshot_read_only\x18\x04 \x01(\x0b\x32\x1f.Ydb.Query.SnapshotModeSettingsH\x00\x12@\n\x13snapshot_read_write\x18\x05 \x01(\x0b\x32!.Ydb.Query.SnapshotRWModeSettingsH\x00\x42\t\n\x07tx_mode\"\x84\x01\n\x12TransactionControl\x12\x18\n\x05tx_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08H\x00\x12\x32\n\x08\x62\x65gin_tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Query.TransactionSettingsH\x00\x12\x11\n\tcommit_tx\x18\n \x01(\x08\x42\r\n\x0btx_selector\"k\n\x17\x42\x65ginTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x33\n\x0btx_settings\x18\x02 \x01(\x0b\x32\x1e.Ydb.Query.TransactionSettings\"&\n\x0fTransactionMeta\x12\x13\n\x02id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"\x9b\x01\n\x18\x42\x65ginTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12+\n\x07tx_meta\x18\x03 \x01(\x0b\x32\x1a.Ydb.Query.TransactionMeta\"O\n\x18\x43ommitTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x16\n\x05tx_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"o\n\x19\x43ommitTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"Q\n\x1aRollbackTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x16\n\x05tx_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"q\n\x1bRollbackTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"?\n\x0cQueryContent\x12!\n\x06syntax\x18\x01 \x01(\x0e\x32\x11.Ydb.Query.Syntax\x12\x0c\n\x04text\x18\x02 \x01(\t\"\xb6\x05\n\x13\x45xecuteQueryRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12&\n\texec_mode\x18\x02 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12\x31\n\ntx_control\x18\x03 \x01(\x0b\x32\x1d.Ydb.Query.TransactionControl\x12\x30\n\rquery_content\x18\x04 \x01(\x0b\x32\x17.Ydb.Query.QueryContentH\x00\x12\x42\n\nparameters\x18\x06 \x03(\x0b\x32..Ydb.Query.ExecuteQueryRequest.ParametersEntry\x12(\n\nstats_mode\x18\x07 \x01(\x0e\x32\x14.Ydb.Query.StatsMode\x12\x1e\n\x16\x63oncurrent_result_sets\x18\x08 \x01(\x08\x12\x34\n\x19response_part_limit_bytes\x18\t \x01(\x03\x42\x11\xb2\xe6*\r[0; 33554432]\x12\x0f\n\x07pool_id\x18\n \x01(\t\x12!\n\x0fstats_period_ms\x18\x0b \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12=\n\x15schema_inclusion_mode\x18\x0c \x01(\x0e\x32\x1e.Ydb.Query.SchemaInclusionMode\x12\x30\n\x11result_set_format\x18\r \x01(\x0e\x32\x15.Ydb.ResultSet.Format\x12?\n\x15\x61rrow_format_settings\x18\x0e \x01(\x0b\x32 .Ydb.Formats.ArrowFormatSettings\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\x42\x07\n\x05query\"-\n\rResultSetMeta\x12\x1c\n\x07\x63olumns\x18\x01 \x03(\x0b\x32\x0b.Ydb.Column\"\x93\x02\n\x18\x45xecuteQueryResponsePart\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\x10result_set_index\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\"\n\nresult_set\x18\x04 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12.\n\nexec_stats\x18\x05 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\x12+\n\x07tx_meta\x18\x06 \x01(\x0b\x32\x1a.Ydb.Query.TransactionMeta\"\x9e\x03\n\x14\x45xecuteScriptRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12&\n\texec_mode\x18\x02 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12/\n\x0escript_content\x18\x03 \x01(\x0b\x32\x17.Ydb.Query.QueryContent\x12\x43\n\nparameters\x18\x04 \x03(\x0b\x32/.Ydb.Query.ExecuteScriptRequest.ParametersEntry\x12(\n\nstats_mode\x18\x05 \x01(\x0e\x32\x14.Ydb.Query.StatsMode\x12.\n\x0bresults_ttl\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07pool_id\x18\x07 \x01(\t\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"\x9f\x02\n\x15\x45xecuteScriptMetadata\x12\x1d\n\x0c\x65xecution_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12*\n\x0b\x65xec_status\x18\x02 \x01(\x0e\x32\x15.Ydb.Query.ExecStatus\x12/\n\x0escript_content\x18\x03 \x01(\x0b\x32\x17.Ydb.Query.QueryContent\x12\x32\n\x10result_sets_meta\x18\x04 \x03(\x0b\x32\x18.Ydb.Query.ResultSetMeta\x12&\n\texec_mode\x18\x05 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12.\n\nexec_stats\x18\x06 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"\x90\x01\n\x19\x46\x65tchScriptResultsRequest\x12\x1d\n\x0coperation_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x18\n\x10result_set_index\x18\x02 \x01(\x03\x12\x1c\n\x0b\x66\x65tch_token\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x1c\n\nrows_limit\x18\x04 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\"\xdb\x01\n\x1a\x46\x65tchScriptResultsResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\x10result_set_index\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\"\n\nresult_set\x18\x04 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12!\n\x10next_fetch_token\x18\x05 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"9\n\x06Script\x12/\n\x0escript_content\x18\x01 \x01(\x0b\x32\x17.Ydb.Query.QueryContent*B\n\x06Syntax\x12\x16\n\x12SYNTAX_UNSPECIFIED\x10\x00\x12\x11\n\rSYNTAX_YQL_V1\x10\x01\x12\r\n\tSYNTAX_PG\x10\x02*\x86\x01\n\x08\x45xecMode\x12\x19\n\x15\x45XEC_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x45XEC_MODE_PARSE\x10\n\x12\x16\n\x12\x45XEC_MODE_VALIDATE\x10\x14\x12\x15\n\x11\x45XEC_MODE_EXPLAIN\x10\x1e\x12\x15\n\x11\x45XEC_MODE_EXECUTE\x10\x32\"\x04\x08(\x10(*\x7f\n\tStatsMode\x12\x1a\n\x16STATS_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSTATS_MODE_NONE\x10\n\x12\x14\n\x10STATS_MODE_BASIC\x10\x14\x12\x13\n\x0fSTATS_MODE_FULL\x10\x1e\x12\x16\n\x12STATS_MODE_PROFILE\x10(*\x84\x01\n\x13SchemaInclusionMode\x12%\n!SCHEMA_INCLUSION_MODE_UNSPECIFIED\x10\x00\x12 \n\x1cSCHEMA_INCLUSION_MODE_ALWAYS\x10\x01\x12$\n SCHEMA_INCLUSION_MODE_FIRST_ONLY\x10\x02*\xaa\x01\n\nExecStatus\x12\x1b\n\x17\x45XEC_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14\x45XEC_STATUS_STARTING\x10\n\x12\x17\n\x13\x45XEC_STATUS_ABORTED\x10\x14\x12\x19\n\x15\x45XEC_STATUS_CANCELLED\x10\x1e\x12\x19\n\x15\x45XEC_STATUS_COMPLETED\x10(\x12\x16\n\x12\x45XEC_STATUS_FAILED\x10\x32\x42S\n\x14tech.ydb.proto.queryZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Query\xf8\x01\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16protos/ydb_query.proto\x12\tYdb.Query\x1a\x1egoogle/protobuf/duration.proto\x1a#protos/annotations/validation.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1cprotos/ydb_query_stats.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x18protos/ydb_formats.proto\x1a\x16protos/ydb_value.proto\"\x16\n\x14\x43reateSessionRequest\"\xa3\x01\n\x15\x43reateSessionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x1b\n\nsession_id\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x19\n\x07node_id\x18\x04 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\"3\n\x14\x44\x65leteSessionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"k\n\x15\x44\x65leteSessionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"3\n\x14\x41ttachSessionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"\x15\n\x13SessionShutdownHint\"\x12\n\x10NodeShutdownHint\"\xe4\x01\n\x0cSessionState\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12:\n\x10session_shutdown\x18\x03 \x01(\x0b\x32\x1e.Ydb.Query.SessionShutdownHintH\x00\x12\x34\n\rnode_shutdown\x18\x04 \x01(\x0b\x32\x1b.Ydb.Query.NodeShutdownHintH\x00\x42\x0e\n\x0csession_hint\"\x1a\n\x18SerializableModeSettings\"6\n\x12OnlineModeSettings\x12 \n\x18\x61llow_inconsistent_reads\x18\x01 \x01(\x08\"\x13\n\x11StaleModeSettings\"\x16\n\x14SnapshotModeSettings\"\x18\n\x16SnapshotRWModeSettings\"\xdd\x02\n\x13TransactionSettings\x12\x46\n\x17serializable_read_write\x18\x01 \x01(\x0b\x32#.Ydb.Query.SerializableModeSettingsH\x00\x12\x39\n\x10online_read_only\x18\x02 \x01(\x0b\x32\x1d.Ydb.Query.OnlineModeSettingsH\x00\x12\x37\n\x0fstale_read_only\x18\x03 \x01(\x0b\x32\x1c.Ydb.Query.StaleModeSettingsH\x00\x12=\n\x12snapshot_read_only\x18\x04 \x01(\x0b\x32\x1f.Ydb.Query.SnapshotModeSettingsH\x00\x12@\n\x13snapshot_read_write\x18\x05 \x01(\x0b\x32!.Ydb.Query.SnapshotRWModeSettingsH\x00\x42\t\n\x07tx_mode\"\x84\x01\n\x12TransactionControl\x12\x18\n\x05tx_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08H\x00\x12\x32\n\x08\x62\x65gin_tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Query.TransactionSettingsH\x00\x12\x11\n\tcommit_tx\x18\n \x01(\x08\x42\r\n\x0btx_selector\"k\n\x17\x42\x65ginTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x33\n\x0btx_settings\x18\x02 \x01(\x0b\x32\x1e.Ydb.Query.TransactionSettings\"&\n\x0fTransactionMeta\x12\x13\n\x02id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"\x9b\x01\n\x18\x42\x65ginTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12+\n\x07tx_meta\x18\x03 \x01(\x0b\x32\x1a.Ydb.Query.TransactionMeta\"O\n\x18\x43ommitTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x16\n\x05tx_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"o\n\x19\x43ommitTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"Q\n\x1aRollbackTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x16\n\x05tx_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"q\n\x1bRollbackTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"?\n\x0cQueryContent\x12!\n\x06syntax\x18\x01 \x01(\x0e\x32\x11.Ydb.Query.Syntax\x12\x0c\n\x04text\x18\x02 \x01(\t\"\xb6\x05\n\x13\x45xecuteQueryRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12&\n\texec_mode\x18\x02 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12\x31\n\ntx_control\x18\x03 \x01(\x0b\x32\x1d.Ydb.Query.TransactionControl\x12\x30\n\rquery_content\x18\x04 \x01(\x0b\x32\x17.Ydb.Query.QueryContentH\x00\x12\x42\n\nparameters\x18\x06 \x03(\x0b\x32..Ydb.Query.ExecuteQueryRequest.ParametersEntry\x12(\n\nstats_mode\x18\x07 \x01(\x0e\x32\x14.Ydb.Query.StatsMode\x12\x1e\n\x16\x63oncurrent_result_sets\x18\x08 \x01(\x08\x12\x34\n\x19response_part_limit_bytes\x18\t \x01(\x03\x42\x11\xb2\xe6*\r[0; 33554432]\x12\x0f\n\x07pool_id\x18\n \x01(\t\x12!\n\x0fstats_period_ms\x18\x0b \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12=\n\x15schema_inclusion_mode\x18\x0c \x01(\x0e\x32\x1e.Ydb.Query.SchemaInclusionMode\x12\x30\n\x11result_set_format\x18\r \x01(\x0e\x32\x15.Ydb.ResultSet.Format\x12?\n\x15\x61rrow_format_settings\x18\x0e \x01(\x0b\x32 .Ydb.Formats.ArrowFormatSettings\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\x42\x07\n\x05query\"-\n\rResultSetMeta\x12\x1c\n\x07\x63olumns\x18\x01 \x03(\x0b\x32\x0b.Ydb.Column\"\x93\x02\n\x18\x45xecuteQueryResponsePart\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\x10result_set_index\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\"\n\nresult_set\x18\x04 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12.\n\nexec_stats\x18\x05 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\x12+\n\x07tx_meta\x18\x06 \x01(\x0b\x32\x1a.Ydb.Query.TransactionMeta\"\x9e\x03\n\x14\x45xecuteScriptRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12&\n\texec_mode\x18\x02 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12/\n\x0escript_content\x18\x03 \x01(\x0b\x32\x17.Ydb.Query.QueryContent\x12\x43\n\nparameters\x18\x04 \x03(\x0b\x32/.Ydb.Query.ExecuteScriptRequest.ParametersEntry\x12(\n\nstats_mode\x18\x05 \x01(\x0e\x32\x14.Ydb.Query.StatsMode\x12.\n\x0bresults_ttl\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07pool_id\x18\x07 \x01(\t\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"\x9f\x02\n\x15\x45xecuteScriptMetadata\x12\x1d\n\x0c\x65xecution_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12*\n\x0b\x65xec_status\x18\x02 \x01(\x0e\x32\x15.Ydb.Query.ExecStatus\x12/\n\x0escript_content\x18\x03 \x01(\x0b\x32\x17.Ydb.Query.QueryContent\x12\x32\n\x10result_sets_meta\x18\x04 \x03(\x0b\x32\x18.Ydb.Query.ResultSetMeta\x12&\n\texec_mode\x18\x05 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12.\n\nexec_stats\x18\x06 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"\x90\x01\n\x19\x46\x65tchScriptResultsRequest\x12\x1d\n\x0coperation_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x18\n\x10result_set_index\x18\x02 \x01(\x03\x12\x1c\n\x0b\x66\x65tch_token\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x1c\n\nrows_limit\x18\x04 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\"\xdb\x01\n\x1a\x46\x65tchScriptResultsResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\x10result_set_index\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\"\n\nresult_set\x18\x04 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12!\n\x10next_fetch_token\x18\x05 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"9\n\x06Script\x12/\n\x0escript_content\x18\x01 \x01(\x0b\x32\x17.Ydb.Query.QueryContent*B\n\x06Syntax\x12\x16\n\x12SYNTAX_UNSPECIFIED\x10\x00\x12\x11\n\rSYNTAX_YQL_V1\x10\x01\x12\r\n\tSYNTAX_PG\x10\x02*\x86\x01\n\x08\x45xecMode\x12\x19\n\x15\x45XEC_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x45XEC_MODE_PARSE\x10\n\x12\x16\n\x12\x45XEC_MODE_VALIDATE\x10\x14\x12\x15\n\x11\x45XEC_MODE_EXPLAIN\x10\x1e\x12\x15\n\x11\x45XEC_MODE_EXECUTE\x10\x32\"\x04\x08(\x10(*\x7f\n\tStatsMode\x12\x1a\n\x16STATS_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSTATS_MODE_NONE\x10\n\x12\x14\n\x10STATS_MODE_BASIC\x10\x14\x12\x13\n\x0fSTATS_MODE_FULL\x10\x1e\x12\x16\n\x12STATS_MODE_PROFILE\x10(*\x84\x01\n\x13SchemaInclusionMode\x12%\n!SCHEMA_INCLUSION_MODE_UNSPECIFIED\x10\x00\x12 \n\x1cSCHEMA_INCLUSION_MODE_ALWAYS\x10\x01\x12$\n SCHEMA_INCLUSION_MODE_FIRST_ONLY\x10\x02*\xaa\x01\n\nExecStatus\x12\x1b\n\x17\x45XEC_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14\x45XEC_STATUS_STARTING\x10\n\x12\x17\n\x13\x45XEC_STATUS_ABORTED\x10\x14\x12\x19\n\x15\x45XEC_STATUS_CANCELLED\x10\x1e\x12\x19\n\x15\x45XEC_STATUS_COMPLETED\x10(\x12\x16\n\x12\x45XEC_STATUS_FAILED\x10\x32\x42S\n\x14tech.ydb.proto.queryZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Query\xf8\x01\x01\x62\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protos.ydb_query_pb2', globals()) @@ -76,16 +76,16 @@ _FETCHSCRIPTRESULTSRESPONSE.fields_by_name['result_set_index']._serialized_options = b'\262\346*\004>= 0' _FETCHSCRIPTRESULTSRESPONSE.fields_by_name['next_fetch_token']._options = None _FETCHSCRIPTRESULTSRESPONSE.fields_by_name['next_fetch_token']._serialized_options = b'\242\346*\003\030\200\010' - _SYNTAX._serialized_start=4345 - _SYNTAX._serialized_end=4411 - _EXECMODE._serialized_start=4414 - _EXECMODE._serialized_end=4548 - _STATSMODE._serialized_start=4550 - _STATSMODE._serialized_end=4677 - _SCHEMAINCLUSIONMODE._serialized_start=4680 - _SCHEMAINCLUSIONMODE._serialized_end=4812 - _EXECSTATUS._serialized_start=4815 - _EXECSTATUS._serialized_end=4985 + _SYNTAX._serialized_start=4519 + _SYNTAX._serialized_end=4585 + _EXECMODE._serialized_start=4588 + _EXECMODE._serialized_end=4722 + _STATSMODE._serialized_start=4724 + _STATSMODE._serialized_end=4851 + _SCHEMAINCLUSIONMODE._serialized_start=4854 + _SCHEMAINCLUSIONMODE._serialized_end=4986 + _EXECSTATUS._serialized_start=4989 + _EXECSTATUS._serialized_end=5159 _CREATESESSIONREQUEST._serialized_start=277 _CREATESESSIONREQUEST._serialized_end=299 _CREATESESSIONRESPONSE._serialized_start=302 @@ -96,56 +96,60 @@ _DELETESESSIONRESPONSE._serialized_end=627 _ATTACHSESSIONREQUEST._serialized_start=629 _ATTACHSESSIONREQUEST._serialized_end=680 - _SESSIONSTATE._serialized_start=682 - _SESSIONSTATE._serialized_end=780 - _SERIALIZABLEMODESETTINGS._serialized_start=782 - _SERIALIZABLEMODESETTINGS._serialized_end=808 - _ONLINEMODESETTINGS._serialized_start=810 - _ONLINEMODESETTINGS._serialized_end=864 - _STALEMODESETTINGS._serialized_start=866 - _STALEMODESETTINGS._serialized_end=885 - _SNAPSHOTMODESETTINGS._serialized_start=887 - _SNAPSHOTMODESETTINGS._serialized_end=909 - _SNAPSHOTRWMODESETTINGS._serialized_start=911 - _SNAPSHOTRWMODESETTINGS._serialized_end=935 - _TRANSACTIONSETTINGS._serialized_start=938 - _TRANSACTIONSETTINGS._serialized_end=1287 - _TRANSACTIONCONTROL._serialized_start=1290 - _TRANSACTIONCONTROL._serialized_end=1422 - _BEGINTRANSACTIONREQUEST._serialized_start=1424 - _BEGINTRANSACTIONREQUEST._serialized_end=1531 - _TRANSACTIONMETA._serialized_start=1533 - _TRANSACTIONMETA._serialized_end=1571 - _BEGINTRANSACTIONRESPONSE._serialized_start=1574 - _BEGINTRANSACTIONRESPONSE._serialized_end=1729 - _COMMITTRANSACTIONREQUEST._serialized_start=1731 - _COMMITTRANSACTIONREQUEST._serialized_end=1810 - _COMMITTRANSACTIONRESPONSE._serialized_start=1812 - _COMMITTRANSACTIONRESPONSE._serialized_end=1923 - _ROLLBACKTRANSACTIONREQUEST._serialized_start=1925 - _ROLLBACKTRANSACTIONREQUEST._serialized_end=2006 - _ROLLBACKTRANSACTIONRESPONSE._serialized_start=2008 - _ROLLBACKTRANSACTIONRESPONSE._serialized_end=2121 - _QUERYCONTENT._serialized_start=2123 - _QUERYCONTENT._serialized_end=2186 - _EXECUTEQUERYREQUEST._serialized_start=2189 - _EXECUTEQUERYREQUEST._serialized_end=2883 - _EXECUTEQUERYREQUEST_PARAMETERSENTRY._serialized_start=2808 - _EXECUTEQUERYREQUEST_PARAMETERSENTRY._serialized_end=2874 - _RESULTSETMETA._serialized_start=2885 - _RESULTSETMETA._serialized_end=2930 - _EXECUTEQUERYRESPONSEPART._serialized_start=2933 - _EXECUTEQUERYRESPONSEPART._serialized_end=3208 - _EXECUTESCRIPTREQUEST._serialized_start=3211 - _EXECUTESCRIPTREQUEST._serialized_end=3625 - _EXECUTESCRIPTREQUEST_PARAMETERSENTRY._serialized_start=2808 - _EXECUTESCRIPTREQUEST_PARAMETERSENTRY._serialized_end=2874 - _EXECUTESCRIPTMETADATA._serialized_start=3628 - _EXECUTESCRIPTMETADATA._serialized_end=3915 - _FETCHSCRIPTRESULTSREQUEST._serialized_start=3918 - _FETCHSCRIPTRESULTSREQUEST._serialized_end=4062 - _FETCHSCRIPTRESULTSRESPONSE._serialized_start=4065 - _FETCHSCRIPTRESULTSRESPONSE._serialized_end=4284 - _SCRIPT._serialized_start=4286 - _SCRIPT._serialized_end=4343 + _SESSIONSHUTDOWNHINT._serialized_start=682 + _SESSIONSHUTDOWNHINT._serialized_end=703 + _NODESHUTDOWNHINT._serialized_start=705 + _NODESHUTDOWNHINT._serialized_end=723 + _SESSIONSTATE._serialized_start=726 + _SESSIONSTATE._serialized_end=954 + _SERIALIZABLEMODESETTINGS._serialized_start=956 + _SERIALIZABLEMODESETTINGS._serialized_end=982 + _ONLINEMODESETTINGS._serialized_start=984 + _ONLINEMODESETTINGS._serialized_end=1038 + _STALEMODESETTINGS._serialized_start=1040 + _STALEMODESETTINGS._serialized_end=1059 + _SNAPSHOTMODESETTINGS._serialized_start=1061 + _SNAPSHOTMODESETTINGS._serialized_end=1083 + _SNAPSHOTRWMODESETTINGS._serialized_start=1085 + _SNAPSHOTRWMODESETTINGS._serialized_end=1109 + _TRANSACTIONSETTINGS._serialized_start=1112 + _TRANSACTIONSETTINGS._serialized_end=1461 + _TRANSACTIONCONTROL._serialized_start=1464 + _TRANSACTIONCONTROL._serialized_end=1596 + _BEGINTRANSACTIONREQUEST._serialized_start=1598 + _BEGINTRANSACTIONREQUEST._serialized_end=1705 + _TRANSACTIONMETA._serialized_start=1707 + _TRANSACTIONMETA._serialized_end=1745 + _BEGINTRANSACTIONRESPONSE._serialized_start=1748 + _BEGINTRANSACTIONRESPONSE._serialized_end=1903 + _COMMITTRANSACTIONREQUEST._serialized_start=1905 + _COMMITTRANSACTIONREQUEST._serialized_end=1984 + _COMMITTRANSACTIONRESPONSE._serialized_start=1986 + _COMMITTRANSACTIONRESPONSE._serialized_end=2097 + _ROLLBACKTRANSACTIONREQUEST._serialized_start=2099 + _ROLLBACKTRANSACTIONREQUEST._serialized_end=2180 + _ROLLBACKTRANSACTIONRESPONSE._serialized_start=2182 + _ROLLBACKTRANSACTIONRESPONSE._serialized_end=2295 + _QUERYCONTENT._serialized_start=2297 + _QUERYCONTENT._serialized_end=2360 + _EXECUTEQUERYREQUEST._serialized_start=2363 + _EXECUTEQUERYREQUEST._serialized_end=3057 + _EXECUTEQUERYREQUEST_PARAMETERSENTRY._serialized_start=2982 + _EXECUTEQUERYREQUEST_PARAMETERSENTRY._serialized_end=3048 + _RESULTSETMETA._serialized_start=3059 + _RESULTSETMETA._serialized_end=3104 + _EXECUTEQUERYRESPONSEPART._serialized_start=3107 + _EXECUTEQUERYRESPONSEPART._serialized_end=3382 + _EXECUTESCRIPTREQUEST._serialized_start=3385 + _EXECUTESCRIPTREQUEST._serialized_end=3799 + _EXECUTESCRIPTREQUEST_PARAMETERSENTRY._serialized_start=2982 + _EXECUTESCRIPTREQUEST_PARAMETERSENTRY._serialized_end=3048 + _EXECUTESCRIPTMETADATA._serialized_start=3802 + _EXECUTESCRIPTMETADATA._serialized_end=4089 + _FETCHSCRIPTRESULTSREQUEST._serialized_start=4092 + _FETCHSCRIPTRESULTSREQUEST._serialized_end=4236 + _FETCHSCRIPTRESULTSRESPONSE._serialized_start=4239 + _FETCHSCRIPTRESULTSRESPONSE._serialized_end=4458 + _SCRIPT._serialized_start=4460 + _SCRIPT._serialized_end=4517 # @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v4/protos/ydb_query_pb2.pyi b/ydb/_grpc/v4/protos/ydb_query_pb2.pyi index 4ce142585..d92d80832 100644 --- a/ydb/_grpc/v4/protos/ydb_query_pb2.pyi +++ b/ydb/_grpc/v4/protos/ydb_query_pb2.pyi @@ -226,6 +226,10 @@ class FetchScriptResultsResponse(_message.Message): status: _ydb_status_codes_pb2.StatusIds.StatusCode def __init__(self, status: _Optional[_Union[_ydb_status_codes_pb2.StatusIds.StatusCode, str]] = ..., issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ..., result_set_index: _Optional[int] = ..., result_set: _Optional[_Union[_ydb_value_pb2.ResultSet, _Mapping]] = ..., next_fetch_token: _Optional[str] = ...) -> None: ... +class NodeShutdownHint(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + class OnlineModeSettings(_message.Message): __slots__ = ["allow_inconsistent_reads"] ALLOW_INCONSISTENT_READS_FIELD_NUMBER: _ClassVar[int] @@ -272,13 +276,21 @@ class SerializableModeSettings(_message.Message): __slots__ = [] def __init__(self) -> None: ... +class SessionShutdownHint(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + class SessionState(_message.Message): - __slots__ = ["issues", "status"] + __slots__ = ["issues", "node_shutdown", "session_shutdown", "status"] ISSUES_FIELD_NUMBER: _ClassVar[int] + NODE_SHUTDOWN_FIELD_NUMBER: _ClassVar[int] + SESSION_SHUTDOWN_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] issues: _containers.RepeatedCompositeFieldContainer[_ydb_issue_message_pb2.IssueMessage] + node_shutdown: NodeShutdownHint + session_shutdown: SessionShutdownHint status: _ydb_status_codes_pb2.StatusIds.StatusCode - def __init__(self, status: _Optional[_Union[_ydb_status_codes_pb2.StatusIds.StatusCode, str]] = ..., issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_ydb_status_codes_pb2.StatusIds.StatusCode, str]] = ..., issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ..., session_shutdown: _Optional[_Union[SessionShutdownHint, _Mapping]] = ..., node_shutdown: _Optional[_Union[NodeShutdownHint, _Mapping]] = ...) -> None: ... class SnapshotModeSettings(_message.Message): __slots__ = [] diff --git a/ydb/_grpc/v4/protos/ydb_table_pb2.py b/ydb/_grpc/v4/protos/ydb_table_pb2.py index 14333f79b..e8675f354 100644 --- a/ydb/_grpc/v4/protos/ydb_table_pb2.py +++ b/ydb/_grpc/v4/protos/ydb_table_pb2.py @@ -27,7 +27,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16protos/ydb_table.proto\x12\tYdb.Table\x1a#protos/annotations/validation.proto\x1a\x17protos/ydb_common.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1cprotos/ydb_query_stats.proto\x1a\x16protos/ydb_value.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x16protos/ydb_topic.proto\x1a\x18protos/ydb_formats.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"Q\n\x14\x43reateSessionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"E\n\x15\x43reateSessionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\")\n\x13\x43reateSessionResult\x12\x12\n\nsession_id\x18\x01 \x01(\t\"e\n\x14\x44\x65leteSessionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x39\n\x10operation_params\x18\x02 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"E\n\x15\x44\x65leteSessionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\r\n\x0bGlobalIndex\"\x12\n\x10GlobalAsyncIndex\"\x13\n\x11GlobalUniqueIndex\"\xf7\x01\n\nTableIndex\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rindex_columns\x18\x02 \x03(\t\x12.\n\x0cglobal_index\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.GlobalIndexH\x00\x12\x39\n\x12global_async_index\x18\x04 \x01(\x0b\x32\x1b.Ydb.Table.GlobalAsyncIndexH\x00\x12;\n\x13global_unique_index\x18\x06 \x01(\x0b\x32\x1c.Ydb.Table.GlobalUniqueIndexH\x00\x12\x14\n\x0c\x64\x61ta_columns\x18\x05 \x03(\tB\x06\n\x04type\"\x98\x03\n\x15TableIndexDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rindex_columns\x18\x02 \x03(\t\x12.\n\x0cglobal_index\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.GlobalIndexH\x00\x12\x39\n\x12global_async_index\x18\x05 \x01(\x0b\x32\x1b.Ydb.Table.GlobalAsyncIndexH\x00\x12;\n\x13global_unique_index\x18\x08 \x01(\x0b\x32\x1c.Ydb.Table.GlobalUniqueIndexH\x00\x12\x37\n\x06status\x18\x04 \x01(\x0e\x32\'.Ydb.Table.TableIndexDescription.Status\x12\x14\n\x0c\x64\x61ta_columns\x18\x06 \x03(\t\x12\x12\n\nsize_bytes\x18\x07 \x01(\x04\"G\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATUS_READY\x10\x01\x12\x13\n\x0fSTATUS_BUILDING\x10\x02\x42\x06\n\x04type\"\xdd\x01\n\x0fIndexBuildState\"\xc9\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSTATE_PREPARING\x10\x01\x12\x1a\n\x16STATE_TRANSFERING_DATA\x10\x02\x12\x12\n\x0eSTATE_APPLYING\x10\x03\x12\x0e\n\nSTATE_DONE\x10\x04\x12\x16\n\x12STATE_CANCELLATION\x10\x05\x12\x13\n\x0fSTATE_CANCELLED\x10\x06\x12\x13\n\x0fSTATE_REJECTION\x10\x07\x12\x12\n\x0eSTATE_REJECTED\x10\x08\"K\n\x15IndexBuildDescription\x12\x0c\n\x04path\x18\x01 \x01(\t\x12$\n\x05index\x18\x02 \x01(\x0b\x32\x15.Ydb.Table.TableIndex\"\x8e\x01\n\x12IndexBuildMetadata\x12\x35\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32 .Ydb.Table.IndexBuildDescription\x12/\n\x05state\x18\x02 \x01(\x0e\x32 .Ydb.Table.IndexBuildState.State\x12\x10\n\x08progress\x18\x03 \x01(\x02\"\x9a\x01\n\x0e\x43hangefeedMode\"\x87\x01\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0eMODE_KEYS_ONLY\x10\x01\x12\x10\n\x0cMODE_UPDATES\x10\x02\x12\x12\n\x0eMODE_NEW_IMAGE\x10\x03\x12\x12\n\x0eMODE_OLD_IMAGE\x10\x04\x12\x1b\n\x17MODE_NEW_AND_OLD_IMAGES\x10\x05\"\x81\x01\n\x10\x43hangefeedFormat\"m\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x46ORMAT_JSON\x10\x01\x12 \n\x1c\x46ORMAT_DYNAMODB_STREAMS_JSON\x10\x02\x12\x18\n\x14\x46ORMAT_DEBEZIUM_JSON\x10\x03\"\x8e\x04\n\nChangefeed\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x04mode\x18\x02 \x01(\x0e\x32\x1e.Ydb.Table.ChangefeedMode.Mode\x12\x32\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\".Ydb.Table.ChangefeedFormat.Format\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1a\n\x12virtual_timestamps\x18\x05 \x01(\x08\x12\x14\n\x0cinitial_scan\x18\x06 \x01(\x08\x12R\n\nattributes\x18\x07 \x03(\x0b\x32%.Ydb.Table.Changefeed.AttributesEntryB\x17\xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\xa2\xe6*\x07\n\x05\x08\x01\x10\x80 \x12\x1b\n\naws_region\x18\x08 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12?\n\x1cresolved_timestamps_interval\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x44\n\x1btopic_partitioning_settings\x18\n \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x87\x04\n\x15\x43hangefeedDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x04mode\x18\x02 \x01(\x0e\x32\x1e.Ydb.Table.ChangefeedMode.Mode\x12\x32\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\".Ydb.Table.ChangefeedFormat.Format\x12\x35\n\x05state\x18\x04 \x01(\x0e\x32&.Ydb.Table.ChangefeedDescription.State\x12\x1a\n\x12virtual_timestamps\x18\x05 \x01(\x08\x12\x44\n\nattributes\x18\x06 \x03(\x0b\x32\x30.Ydb.Table.ChangefeedDescription.AttributesEntry\x12\x12\n\naws_region\x18\x07 \x01(\t\x12?\n\x1cresolved_timestamps_interval\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"]\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_ENABLED\x10\x01\x12\x12\n\x0eSTATE_DISABLED\x10\x02\x12\x16\n\x12STATE_INITIAL_SCAN\x10\x03\"\x1c\n\x0bStoragePool\x12\r\n\x05media\x18\x01 \x01(\t\"\xaa\x02\n\rStoragePolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12&\n\x06syslog\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12#\n\x03log\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12$\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x05 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12/\n\x0ekeep_in_memory\x18\x06 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x36\n\x0f\x63olumn_families\x18\x07 \x03(\x0b\x32\x1d.Ydb.Table.ColumnFamilyPolicy\"\xb1\x02\n\x12\x43olumnFamilyPolicy\x12\x0c\n\x04name\x18\x01 \x01(\t\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12/\n\x0ekeep_in_memory\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12>\n\x0b\x63ompression\x18\x05 \x01(\x0e\x32).Ydb.Table.ColumnFamilyPolicy.Compression\"L\n\x0b\x43ompression\x12\x1b\n\x17\x43OMPRESSION_UNSPECIFIED\x10\x00\x12\x10\n\x0cUNCOMPRESSED\x10\x01\x12\x0e\n\nCOMPRESSED\x10\x02\"\'\n\x10\x43ompactionPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\";\n\x12\x45xplicitPartitions\x12%\n\x0csplit_points\x18\x01 \x03(\x0b\x32\x0f.Ydb.TypedValue\"S\n\x0ePartitionStats\x12\x15\n\rrows_estimate\x18\x01 \x01(\x04\x12\x12\n\nstore_size\x18\x02 \x01(\x04\x12\x16\n\x0eleader_node_id\x18\x03 \x01(\r\"\xe9\x01\n\nTableStats\x12\x32\n\x0fpartition_stats\x18\x01 \x03(\x0b\x32\x19.Ydb.Table.PartitionStats\x12\x15\n\rrows_estimate\x18\x02 \x01(\x04\x12\x12\n\nstore_size\x18\x03 \x01(\x04\x12\x12\n\npartitions\x18\x04 \x01(\x04\x12\x31\n\rcreation_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11modification_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xdc\x02\n\x12PartitioningPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12O\n\x11\x61uto_partitioning\x18\x02 \x01(\x0e\x32\x34.Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy\x12\x1c\n\x12uniform_partitions\x18\x03 \x01(\x04H\x00\x12<\n\x13\x65xplicit_partitions\x18\x04 \x01(\x0b\x32\x1d.Ydb.Table.ExplicitPartitionsH\x00\"v\n\x16\x41utoPartitioningPolicy\x12(\n$AUTO_PARTITIONING_POLICY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x0e\n\nAUTO_SPLIT\x10\x02\x12\x14\n\x10\x41UTO_SPLIT_MERGE\x10\x03\x42\x0c\n\npartitions\"&\n\x0f\x45xecutionPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\"\xb1\x01\n\x11ReplicationPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12\x16\n\x0ereplicas_count\x18\x02 \x01(\r\x12=\n\x1c\x63reate_per_availability_zone\x18\x03 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x30\n\x0f\x61llow_promotion\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"$\n\rCachingPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\"\xeb\x02\n\x0cTableProfile\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12\x30\n\x0estorage_policy\x18\x02 \x01(\x0b\x32\x18.Ydb.Table.StoragePolicy\x12\x36\n\x11\x63ompaction_policy\x18\x03 \x01(\x0b\x32\x1b.Ydb.Table.CompactionPolicy\x12:\n\x13partitioning_policy\x18\x04 \x01(\x0b\x32\x1d.Ydb.Table.PartitioningPolicy\x12\x34\n\x10\x65xecution_policy\x18\x05 \x01(\x0b\x32\x1a.Ydb.Table.ExecutionPolicy\x12\x38\n\x12replication_policy\x18\x06 \x01(\x0b\x32\x1c.Ydb.Table.ReplicationPolicy\x12\x30\n\x0e\x63\x61\x63hing_policy\x18\x07 \x01(\x0b\x32\x18.Ydb.Table.CachingPolicy\"\xaa\x03\n\x13SequenceDescription\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x16\n\tmin_value\x18\x02 \x01(\x12H\x01\x88\x01\x01\x12\x16\n\tmax_value\x18\x03 \x01(\x12H\x02\x88\x01\x01\x12\x18\n\x0bstart_value\x18\x04 \x01(\x12H\x03\x88\x01\x01\x12\x12\n\x05\x63\x61\x63he\x18\x05 \x01(\x04H\x04\x88\x01\x01\x12\x16\n\tincrement\x18\x06 \x01(\x12H\x05\x88\x01\x01\x12\x12\n\x05\x63ycle\x18\x07 \x01(\x08H\x06\x88\x01\x01\x12;\n\x07set_val\x18\x08 \x01(\x0b\x32%.Ydb.Table.SequenceDescription.SetValH\x07\x88\x01\x01\x1aV\n\x06SetVal\x12\x17\n\nnext_value\x18\x01 \x01(\x12H\x00\x88\x01\x01\x12\x16\n\tnext_used\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\r\n\x0b_next_valueB\x0c\n\n_next_usedB\x07\n\x05_nameB\x0c\n\n_min_valueB\x0c\n\n_max_valueB\x0e\n\x0c_start_valueB\x08\n\x06_cacheB\x0c\n\n_incrementB\x08\n\x06_cycleB\n\n\x08_set_val\"\xda\x01\n\nColumnMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\x04type\x18\x02 \x01(\x0b\x32\t.Ydb.Type\x12\x0e\n\x06\x66\x61mily\x18\x03 \x01(\t\x12\x15\n\x08not_null\x18\x04 \x01(\x08H\x01\x88\x01\x01\x12\'\n\x0c\x66rom_literal\x18\x05 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12\x37\n\rfrom_sequence\x18\x06 \x01(\x0b\x32\x1e.Ydb.Table.SequenceDescriptionH\x00\x42\x0f\n\rdefault_valueB\x0b\n\t_not_null\"O\n\x1a\x44\x61teTypeColumnModeSettings\x12\x13\n\x0b\x63olumn_name\x18\x01 \x01(\t\x12\x1c\n\x14\x65xpire_after_seconds\x18\x02 \x01(\r\"\x8e\x02\n\x1fValueSinceUnixEpochModeSettings\x12\x13\n\x0b\x63olumn_name\x18\x01 \x01(\t\x12\x44\n\x0b\x63olumn_unit\x18\x02 \x01(\x0e\x32/.Ydb.Table.ValueSinceUnixEpochModeSettings.Unit\x12\x1c\n\x14\x65xpire_after_seconds\x18\x03 \x01(\r\"r\n\x04Unit\x12\x14\n\x10UNIT_UNSPECIFIED\x10\x00\x12\x10\n\x0cUNIT_SECONDS\x10\x01\x12\x15\n\x11UNIT_MILLISECONDS\x10\x02\x12\x15\n\x11UNIT_MICROSECONDS\x10\x03\x12\x14\n\x10UNIT_NANOSECONDS\x10\x04\"\xc4\x01\n\x0bTtlSettings\x12\x41\n\x10\x64\x61te_type_column\x18\x01 \x01(\x0b\x32%.Ydb.Table.DateTypeColumnModeSettingsH\x00\x12L\n\x16value_since_unix_epoch\x18\x02 \x01(\x0b\x32*.Ydb.Table.ValueSinceUnixEpochModeSettingsH\x00\x12\x1c\n\x14run_interval_seconds\x18\x03 \x01(\rB\x06\n\x04mode\"\xda\x01\n\x0fStorageSettings\x12\x32\n\x12tablet_commit_log0\x18\x01 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x32\n\x12tablet_commit_log1\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x04 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x35\n\x14store_external_blobs\x18\x05 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"\x84\x02\n\x0c\x43olumnFamily\x12\x0c\n\x04name\x18\x01 \x01(\t\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x38\n\x0b\x63ompression\x18\x03 \x01(\x0e\x32#.Ydb.Table.ColumnFamily.Compression\x12/\n\x0ekeep_in_memory\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"U\n\x0b\x43ompression\x12\x1b\n\x17\x43OMPRESSION_UNSPECIFIED\x10\x00\x12\x14\n\x10\x43OMPRESSION_NONE\x10\x01\x12\x13\n\x0f\x43OMPRESSION_LZ4\x10\x02\"\xf7\x01\n\x14PartitioningSettings\x12\x14\n\x0cpartition_by\x18\x01 \x03(\t\x12\x35\n\x14partitioning_by_size\x18\x02 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x19\n\x11partition_size_mb\x18\x03 \x01(\x04\x12\x35\n\x14partitioning_by_load\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x1c\n\x14min_partitions_count\x18\x06 \x01(\x04\x12\x1c\n\x14max_partitions_count\x18\x07 \x01(\x04J\x04\x08\x05\x10\x06\"C\n\x16\x41zReadReplicasSettings\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1b\n\x13read_replicas_count\x18\x02 \x01(\x04\"_\n\x17\x43lusterReplicasSettings\x12\x44\n\x19\x61z_read_replicas_settings\x18\x02 \x03(\x0b\x32!.Ydb.Table.AzReadReplicasSettings\"t\n\x14ReadReplicasSettings\x12$\n\x1aper_az_read_replicas_count\x18\x01 \x01(\x04H\x00\x12$\n\x1a\x61ny_az_read_replicas_count\x18\x02 \x01(\x04H\x00\x42\n\n\x08settingsJ\x04\x08\x03\x10\x04\"\xaa\x07\n\x12\x43reateTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12&\n\x07\x63olumns\x18\x03 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x04 \x03(\t\x12(\n\x07profile\x18\x05 \x01(\x0b\x32\x17.Ydb.Table.TableProfile\x12\x39\n\x10operation_params\x18\x06 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12&\n\x07indexes\x18\x07 \x03(\x0b\x32\x15.Ydb.Table.TableIndex\x12,\n\x0cttl_settings\x18\x08 \x01(\x0b\x32\x16.Ydb.Table.TtlSettings\x12\x34\n\x10storage_settings\x18\t \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x30\n\x0f\x63olumn_families\x18\n \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12Z\n\nattributes\x18\x0b \x03(\x0b\x32-.Ydb.Table.CreateTableRequest.AttributesEntryB\x17\xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\xa2\xe6*\x07\n\x05\x08\x01\x10\x80 \x12\x19\n\x11\x63ompaction_policy\x18\x0c \x01(\t\x12\x1c\n\x12uniform_partitions\x18\r \x01(\x04H\x00\x12:\n\x11partition_at_keys\x18\x0e \x01(\x0b\x32\x1d.Ydb.Table.ExplicitPartitionsH\x00\x12>\n\x15partitioning_settings\x18\x0f \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x31\n\x10key_bloom_filter\x18\x10 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12?\n\x16read_replicas_settings\x18\x11 \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12\x0f\n\x07tiering\x18\x12 \x01(\t\x12\x11\n\ttemporary\x18\x13 \x01(\x08\x12(\n\nstore_type\x18\x14 \x01(\x0e\x32\x14.Ydb.Table.StoreType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\npartitions\"C\n\x13\x43reateTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"u\n\x10\x44ropTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParamsJ\x04\x08\x03\x10\x04\"A\n\x11\x44ropTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"]\n\x0fRenameIndexItem\x12\x13\n\x0bsource_name\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_name\x18\x02 \x01(\t\x12\x1b\n\x13replace_destination\x18\x03 \x01(\x08\"\x95\t\n\x11\x41lterTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12*\n\x0b\x61\x64\x64_columns\x18\x03 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x14\n\x0c\x64rop_columns\x18\x04 \x03(\t\x12\x39\n\x10operation_params\x18\x05 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12,\n\ralter_columns\x18\x06 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x32\n\x10set_ttl_settings\x18\x07 \x01(\x0b\x32\x16.Ydb.Table.TtlSettingsH\x00\x12\x33\n\x11\x64rop_ttl_settings\x18\x08 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12*\n\x0b\x61\x64\x64_indexes\x18\t \x03(\x0b\x32\x15.Ydb.Table.TableIndex\x12\x14\n\x0c\x64rop_indexes\x18\n \x03(\t\x12:\n\x16\x61lter_storage_settings\x18\x0b \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x34\n\x13\x61\x64\x64_column_families\x18\x0c \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12\x36\n\x15\x61lter_column_families\x18\r \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12`\n\x10\x61lter_attributes\x18\x0e \x03(\x0b\x32\x31.Ydb.Table.AlterTableRequest.AlterAttributesEntryB\x13\xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\xa2\xe6*\x03\x18\x80 \x12\x1d\n\x15set_compaction_policy\x18\x0f \x01(\t\x12\x44\n\x1b\x61lter_partitioning_settings\x18\x10 \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x35\n\x14set_key_bloom_filter\x18\x11 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x43\n\x1aset_read_replicas_settings\x18\x12 \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12.\n\x0f\x61\x64\x64_changefeeds\x18\x13 \x03(\x0b\x32\x15.Ydb.Table.Changefeed\x12\x18\n\x10\x64rop_changefeeds\x18\x14 \x03(\t\x12\x32\n\x0erename_indexes\x18\x15 \x03(\x0b\x32\x1a.Ydb.Table.RenameIndexItem\x12\x15\n\x0bset_tiering\x18\x16 \x01(\tH\x01\x12.\n\x0c\x64rop_tiering\x18\x17 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\nttl_actionB\x10\n\x0etiering_action\"B\n\x12\x41lterTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x90\x01\n\x10\x43opyTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x13\n\x0bsource_path\x18\x02 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x03 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"A\n\x11\x43opyTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"T\n\rCopyTableItem\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12\x14\n\x0comit_indexes\x18\x03 \x01(\x08\"\x8c\x01\n\x11\x43opyTablesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12(\n\x06tables\x18\x03 \x03(\x0b\x32\x18.Ydb.Table.CopyTableItem\"B\n\x12\x43opyTablesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"]\n\x0fRenameTableItem\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12\x1b\n\x13replace_destination\x18\x03 \x01(\x08\"\x90\x01\n\x13RenameTablesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12*\n\x06tables\x18\x03 \x03(\x0b\x32\x1a.Ydb.Table.RenameTableItem\"D\n\x14RenameTablesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xf5\x01\n\x14\x44\x65scribeTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12 \n\x18include_shard_key_bounds\x18\x05 \x01(\x08\x12\x1b\n\x13include_table_stats\x18\x06 \x01(\x08\x12\x1f\n\x17include_partition_stats\x18\x07 \x01(\x08\x12 \n\x18include_shard_nodes_info\x18\t \x01(\x08\"E\n\x15\x44\x65scribeTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xc9\x06\n\x13\x44\x65scribeTableResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12&\n\x07\x63olumns\x18\x02 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x03 \x03(\t\x12)\n\x10shard_key_bounds\x18\x04 \x03(\x0b\x32\x0f.Ydb.TypedValue\x12\x31\n\x07indexes\x18\x05 \x03(\x0b\x32 .Ydb.Table.TableIndexDescription\x12*\n\x0btable_stats\x18\x06 \x01(\x0b\x32\x15.Ydb.Table.TableStats\x12,\n\x0cttl_settings\x18\x07 \x01(\x0b\x32\x16.Ydb.Table.TtlSettings\x12\x34\n\x10storage_settings\x18\x08 \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x30\n\x0f\x63olumn_families\x18\t \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12\x42\n\nattributes\x18\n \x03(\x0b\x32..Ydb.Table.DescribeTableResult.AttributesEntry\x12>\n\x15partitioning_settings\x18\x0c \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x31\n\x10key_bloom_filter\x18\r \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12?\n\x16read_replicas_settings\x18\x0e \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12\x35\n\x0b\x63hangefeeds\x18\x0f \x03(\x0b\x32 .Ydb.Table.ChangefeedDescription\x12\x0f\n\x07tiering\x18\x10 \x01(\t\x12\x11\n\ttemporary\x18\x11 \x01(\x08\x12(\n\nstore_type\x18\x12 \x01(\x0e\x32\x14.Ydb.Table.StoreType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x0b\x10\x0c\"2\n\x05Query\x12\x12\n\x08yql_text\x18\x01 \x01(\tH\x00\x12\x0c\n\x02id\x18\x02 \x01(\tH\x00\x42\x07\n\x05query\"\x1a\n\x18SerializableModeSettings\"6\n\x12OnlineModeSettings\x12 \n\x18\x61llow_inconsistent_reads\x18\x01 \x01(\x08\"\x13\n\x11StaleModeSettings\"\x16\n\x14SnapshotModeSettings\"\x18\n\x16SnapshotRWModeSettings\"\xdd\x02\n\x13TransactionSettings\x12\x46\n\x17serializable_read_write\x18\x01 \x01(\x0b\x32#.Ydb.Table.SerializableModeSettingsH\x00\x12\x39\n\x10online_read_only\x18\x02 \x01(\x0b\x32\x1d.Ydb.Table.OnlineModeSettingsH\x00\x12\x37\n\x0fstale_read_only\x18\x03 \x01(\x0b\x32\x1c.Ydb.Table.StaleModeSettingsH\x00\x12=\n\x12snapshot_read_only\x18\x04 \x01(\x0b\x32\x1f.Ydb.Table.SnapshotModeSettingsH\x00\x12@\n\x13snapshot_read_write\x18\x05 \x01(\x0b\x32!.Ydb.Table.SnapshotRWModeSettingsH\x00\x42\t\n\x07tx_mode\"{\n\x12TransactionControl\x12\x0f\n\x05tx_id\x18\x01 \x01(\tH\x00\x12\x32\n\x08\x62\x65gin_tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Table.TransactionSettingsH\x00\x12\x11\n\tcommit_tx\x18\n \x01(\x08\x42\r\n\x0btx_selector\")\n\x10QueryCachePolicy\x12\x15\n\rkeep_in_cache\x18\x01 \x01(\x08\"\xb1\x01\n\x14QueryStatsCollection\"\x98\x01\n\x04Mode\x12 \n\x1cSTATS_COLLECTION_UNSPECIFIED\x10\x00\x12\x19\n\x15STATS_COLLECTION_NONE\x10\x01\x12\x1a\n\x16STATS_COLLECTION_BASIC\x10\x02\x12\x19\n\x15STATS_COLLECTION_FULL\x10\x03\x12\x1c\n\x18STATS_COLLECTION_PROFILE\x10\x04\"\xbe\x03\n\x17\x45xecuteDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x31\n\ntx_control\x18\x02 \x01(\x0b\x32\x1d.Ydb.Table.TransactionControl\x12\x1f\n\x05query\x18\x03 \x01(\x0b\x32\x10.Ydb.Table.Query\x12\x46\n\nparameters\x18\x04 \x03(\x0b\x32\x32.Ydb.Table.ExecuteDataQueryRequest.ParametersEntry\x12\x37\n\x12query_cache_policy\x18\x05 \x01(\x0b\x32\x1b.Ydb.Table.QueryCachePolicy\x12\x39\n\x10operation_params\x18\x06 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12;\n\rcollect_stats\x18\x07 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"H\n\x18\x45xecuteDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"|\n\x19\x45xecuteSchemeQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"J\n\x1a\x45xecuteSchemeQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x1d\n\x0fTransactionMeta\x12\n\n\x02id\x18\x01 \x01(\t\"\x9f\x01\n\tQueryMeta\x12\n\n\x02id\x18\x01 \x01(\t\x12\x43\n\x10parameters_types\x18\x02 \x03(\x0b\x32).Ydb.Table.QueryMeta.ParametersTypesEntry\x1a\x41\n\x14ParametersTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.Ydb.Type:\x02\x38\x01\"\xc1\x01\n\x12\x45xecuteQueryResult\x12#\n\x0bresult_sets\x18\x01 \x03(\x0b\x32\x0e.Ydb.ResultSet\x12+\n\x07tx_meta\x18\x02 \x01(\x0b\x32\x1a.Ydb.Table.TransactionMeta\x12(\n\nquery_meta\x18\x03 \x01(\x0b\x32\x14.Ydb.Table.QueryMeta\x12/\n\x0bquery_stats\x18\x04 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"\x9c\x01\n\x17\x45xplainDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12 \n\x18\x63ollect_full_diagnostics\x18\x04 \x01(\x08\"H\n\x18\x45xplainDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"[\n\x12\x45xplainQueryResult\x12\x11\n\tquery_ast\x18\x01 \x01(\t\x12\x12\n\nquery_plan\x18\x02 \x01(\t\x12\x1e\n\x16query_full_diagnostics\x18\x03 \x01(\t\"z\n\x17PrepareDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"H\n\x18PrepareDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb7\x01\n\x12PrepareQueryResult\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12L\n\x10parameters_types\x18\x02 \x03(\x0b\x32\x32.Ydb.Table.PrepareQueryResult.ParametersTypesEntry\x1a\x41\n\x14ParametersTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.Ydb.Type:\x02\x38\x01\"a\n\x10KeepAliveRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x39\n\x10operation_params\x18\x02 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"A\n\x11KeepAliveResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb7\x01\n\x0fKeepAliveResult\x12@\n\x0esession_status\x18\x01 \x01(\x0e\x32(.Ydb.Table.KeepAliveResult.SessionStatus\"b\n\rSessionStatus\x12\x1e\n\x1aSESSION_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14SESSION_STATUS_READY\x10\x01\x12\x17\n\x13SESSION_STATUS_BUSY\x10\x02\"\x9d\x01\n\x17\x42\x65ginTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x33\n\x0btx_settings\x18\x02 \x01(\x0b\x32\x1e.Ydb.Table.TransactionSettings\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"H\n\x18\x42\x65ginTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"E\n\x16\x42\x65ginTransactionResult\x12+\n\x07tx_meta\x18\x01 \x01(\x0b\x32\x1a.Ydb.Table.TransactionMeta\"\xb5\x01\n\x18\x43ommitTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\r\n\x05tx_id\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12;\n\rcollect_stats\x18\x04 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\"I\n\x19\x43ommitTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"J\n\x17\x43ommitTransactionResult\x12/\n\x0bquery_stats\x18\x01 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"z\n\x1aRollbackTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\r\n\x05tx_id\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"K\n\x1bRollbackTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x98\x01\n\x18StoragePolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x06labels\x18\x02 \x03(\x0b\x32/.Ydb.Table.StoragePolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9e\x01\n\x1b\x43ompactionPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x42\n\x06labels\x18\x02 \x03(\x0b\x32\x32.Ydb.Table.CompactionPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa2\x01\n\x1dPartitioningPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x06labels\x18\x02 \x03(\x0b\x32\x34.Ydb.Table.PartitioningPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9c\x01\n\x1a\x45xecutionPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x41\n\x06labels\x18\x02 \x03(\x0b\x32\x31.Ydb.Table.ExecutionPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa0\x01\n\x1cReplicationPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x43\n\x06labels\x18\x02 \x03(\x0b\x32\x33.Ydb.Table.ReplicationPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x98\x01\n\x18\x43\x61\x63hingPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x06labels\x18\x02 \x03(\x0b\x32/.Ydb.Table.CachingPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbe\x04\n\x17TableProfileDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12>\n\x06labels\x18\x02 \x03(\x0b\x32..Ydb.Table.TableProfileDescription.LabelsEntry\x12\x1e\n\x16\x64\x65\x66\x61ult_storage_policy\x18\x03 \x01(\t\x12 \n\x18\x61llowed_storage_policies\x18\x04 \x03(\t\x12!\n\x19\x64\x65\x66\x61ult_compaction_policy\x18\x05 \x01(\t\x12#\n\x1b\x61llowed_compaction_policies\x18\x06 \x03(\t\x12#\n\x1b\x64\x65\x66\x61ult_partitioning_policy\x18\x07 \x01(\t\x12%\n\x1d\x61llowed_partitioning_policies\x18\x08 \x03(\t\x12 \n\x18\x64\x65\x66\x61ult_execution_policy\x18\t \x01(\t\x12\"\n\x1a\x61llowed_execution_policies\x18\n \x03(\t\x12\"\n\x1a\x64\x65\x66\x61ult_replication_policy\x18\x0b \x01(\t\x12$\n\x1c\x61llowed_replication_policies\x18\x0c \x03(\t\x12\x1e\n\x16\x64\x65\x66\x61ult_caching_policy\x18\r \x01(\t\x12 \n\x18\x61llowed_caching_policies\x18\x0e \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"X\n\x1b\x44\x65scribeTableOptionsRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"L\n\x1c\x44\x65scribeTableOptionsResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x99\x04\n\x1a\x44\x65scribeTableOptionsResult\x12\x41\n\x15table_profile_presets\x18\x01 \x03(\x0b\x32\".Ydb.Table.TableProfileDescription\x12\x43\n\x16storage_policy_presets\x18\x02 \x03(\x0b\x32#.Ydb.Table.StoragePolicyDescription\x12I\n\x19\x63ompaction_policy_presets\x18\x03 \x03(\x0b\x32&.Ydb.Table.CompactionPolicyDescription\x12M\n\x1bpartitioning_policy_presets\x18\x04 \x03(\x0b\x32(.Ydb.Table.PartitioningPolicyDescription\x12G\n\x18\x65xecution_policy_presets\x18\x05 \x03(\x0b\x32%.Ydb.Table.ExecutionPolicyDescription\x12K\n\x1areplication_policy_presets\x18\x06 \x03(\x0b\x32\'.Ydb.Table.ReplicationPolicyDescription\x12\x43\n\x16\x63\x61\x63hing_policy_presets\x18\x07 \x03(\x0b\x32#.Ydb.Table.CachingPolicyDescription\"\xc0\x01\n\x08KeyRange\x12\"\n\x07greater\x18\x01 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12+\n\x10greater_or_equal\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12\x1f\n\x04less\x18\x03 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x01\x12(\n\rless_or_equal\x18\x04 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x01\x42\x0c\n\nfrom_boundB\n\n\x08to_bound\"\xb8\x02\n\x10ReadTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12&\n\tkey_range\x18\x03 \x01(\x0b\x32\x13.Ydb.Table.KeyRange\x12\x0f\n\x07\x63olumns\x18\x04 \x03(\t\x12\x0f\n\x07ordered\x18\x05 \x01(\x08\x12\x11\n\trow_limit\x18\x06 \x01(\x04\x12-\n\x0cuse_snapshot\x18\x07 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x19\n\x11\x62\x61tch_limit_bytes\x18\x08 \x01(\x04\x12\x18\n\x10\x62\x61tch_limit_rows\x18\t \x01(\x04\x12\x41\n return_not_null_data_as_optional\x18\n \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"\xbc\x01\n\x11ReadTableResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\'\n\x08snapshot\x18\x04 \x01(\x0b\x32\x15.Ydb.VirtualTimestamp\x12*\n\x06result\x18\x03 \x01(\x0b\x32\x1a.Ydb.Table.ReadTableResult\"5\n\x0fReadTableResult\x12\"\n\nresult_set\x18\x01 \x01(\x0b\x32\x0e.Ydb.ResultSet\"c\n\x0fReadRowsRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x1d\n\x04keys\x18\x03 \x01(\x0b\x32\x0f.Ydb.TypedValue\x12\x0f\n\x07\x63olumns\x18\x04 \x03(\t\"\x8a\x01\n\x10ReadRowsResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\nresult_set\x18\x03 \x01(\x0b\x32\x0e.Ydb.ResultSet\"\x8d\x02\n\x11\x42ulkUpsertRequest\x12\r\n\x05table\x18\x01 \x01(\t\x12\x1d\n\x04rows\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12?\n\x14\x61rrow_batch_settings\x18\x07 \x01(\x0b\x32\x1f.Ydb.Formats.ArrowBatchSettingsH\x00\x12\x30\n\x0c\x63sv_settings\x18\x08 \x01(\x0b\x32\x18.Ydb.Formats.CsvSettingsH\x00\x12\r\n\x04\x64\x61ta\x18\xe8\x07 \x01(\x0c\x42\r\n\x0b\x64\x61ta_format\"B\n\x12\x42ulkUpsertResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x12\n\x10\x42ulkUpsertResult\"\xb3\x03\n\x17\x45xecuteScanQueryRequest\x12\x1f\n\x05query\x18\x03 \x01(\x0b\x32\x10.Ydb.Table.Query\x12\x46\n\nparameters\x18\x04 \x03(\x0b\x32\x32.Ydb.Table.ExecuteScanQueryRequest.ParametersEntry\x12\x35\n\x04mode\x18\x06 \x01(\x0e\x32\'.Ydb.Table.ExecuteScanQueryRequest.Mode\x12;\n\rcollect_stats\x18\x08 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\x12 \n\x18\x63ollect_full_diagnostics\x18\t \x01(\x08\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"=\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cMODE_EXPLAIN\x10\x01\x12\r\n\tMODE_EXEC\x10\x03J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x05\x10\x06J\x04\x08\x07\x10\x08\"\xaf\x01\n\x1f\x45xecuteScanQueryPartialResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x38\n\x06result\x18\x03 \x01(\x0b\x32(.Ydb.Table.ExecuteScanQueryPartialResult\"\xac\x01\n\x1d\x45xecuteScanQueryPartialResult\x12\"\n\nresult_set\x18\x01 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12/\n\x0bquery_stats\x18\x06 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\x12\x1e\n\x16query_full_diagnostics\x18\x07 \x01(\tJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06*R\n\tStoreType\x12\x1a\n\x16STORE_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eSTORE_TYPE_ROW\x10\x01\x12\x15\n\x11STORE_TYPE_COLUMN\x10\x02\x42S\n\x14tech.ydb.proto.tableZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Table\xf8\x01\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16protos/ydb_table.proto\x12\tYdb.Table\x1a#protos/annotations/validation.proto\x1a\x17protos/ydb_common.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1cprotos/ydb_query_stats.proto\x1a\x16protos/ydb_value.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x16protos/ydb_topic.proto\x1a\x18protos/ydb_formats.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"Q\n\x14\x43reateSessionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"E\n\x15\x43reateSessionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\")\n\x13\x43reateSessionResult\x12\x12\n\nsession_id\x18\x01 \x01(\t\"e\n\x14\x44\x65leteSessionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x39\n\x10operation_params\x18\x02 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"E\n\x15\x44\x65leteSessionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\r\n\x0bGlobalIndex\"\x12\n\x10GlobalAsyncIndex\"\x13\n\x11GlobalUniqueIndex\"\xf7\x01\n\nTableIndex\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rindex_columns\x18\x02 \x03(\t\x12.\n\x0cglobal_index\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.GlobalIndexH\x00\x12\x39\n\x12global_async_index\x18\x04 \x01(\x0b\x32\x1b.Ydb.Table.GlobalAsyncIndexH\x00\x12;\n\x13global_unique_index\x18\x06 \x01(\x0b\x32\x1c.Ydb.Table.GlobalUniqueIndexH\x00\x12\x14\n\x0c\x64\x61ta_columns\x18\x05 \x03(\tB\x06\n\x04type\"\x98\x03\n\x15TableIndexDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rindex_columns\x18\x02 \x03(\t\x12.\n\x0cglobal_index\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.GlobalIndexH\x00\x12\x39\n\x12global_async_index\x18\x05 \x01(\x0b\x32\x1b.Ydb.Table.GlobalAsyncIndexH\x00\x12;\n\x13global_unique_index\x18\x08 \x01(\x0b\x32\x1c.Ydb.Table.GlobalUniqueIndexH\x00\x12\x37\n\x06status\x18\x04 \x01(\x0e\x32\'.Ydb.Table.TableIndexDescription.Status\x12\x14\n\x0c\x64\x61ta_columns\x18\x06 \x03(\t\x12\x12\n\nsize_bytes\x18\x07 \x01(\x04\"G\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATUS_READY\x10\x01\x12\x13\n\x0fSTATUS_BUILDING\x10\x02\x42\x06\n\x04type\"\xdd\x01\n\x0fIndexBuildState\"\xc9\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSTATE_PREPARING\x10\x01\x12\x1a\n\x16STATE_TRANSFERING_DATA\x10\x02\x12\x12\n\x0eSTATE_APPLYING\x10\x03\x12\x0e\n\nSTATE_DONE\x10\x04\x12\x16\n\x12STATE_CANCELLATION\x10\x05\x12\x13\n\x0fSTATE_CANCELLED\x10\x06\x12\x13\n\x0fSTATE_REJECTION\x10\x07\x12\x12\n\x0eSTATE_REJECTED\x10\x08\"K\n\x15IndexBuildDescription\x12\x0c\n\x04path\x18\x01 \x01(\t\x12$\n\x05index\x18\x02 \x01(\x0b\x32\x15.Ydb.Table.TableIndex\"\x8e\x01\n\x12IndexBuildMetadata\x12\x35\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32 .Ydb.Table.IndexBuildDescription\x12/\n\x05state\x18\x02 \x01(\x0e\x32 .Ydb.Table.IndexBuildState.State\x12\x10\n\x08progress\x18\x03 \x01(\x02\"\x9a\x01\n\x0e\x43hangefeedMode\"\x87\x01\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0eMODE_KEYS_ONLY\x10\x01\x12\x10\n\x0cMODE_UPDATES\x10\x02\x12\x12\n\x0eMODE_NEW_IMAGE\x10\x03\x12\x12\n\x0eMODE_OLD_IMAGE\x10\x04\x12\x1b\n\x17MODE_NEW_AND_OLD_IMAGES\x10\x05\"\x81\x01\n\x10\x43hangefeedFormat\"m\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x46ORMAT_JSON\x10\x01\x12 \n\x1c\x46ORMAT_DYNAMODB_STREAMS_JSON\x10\x02\x12\x18\n\x14\x46ORMAT_DEBEZIUM_JSON\x10\x03\"\xa6\x04\n\nChangefeed\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x04mode\x18\x02 \x01(\x0e\x32\x1e.Ydb.Table.ChangefeedMode.Mode\x12\x32\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\".Ydb.Table.ChangefeedFormat.Format\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1a\n\x12virtual_timestamps\x18\x05 \x01(\x08\x12\x14\n\x0cinitial_scan\x18\x06 \x01(\x08\x12R\n\nattributes\x18\x07 \x03(\x0b\x32%.Ydb.Table.Changefeed.AttributesEntryB\x17\xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\xa2\xe6*\x07\n\x05\x08\x01\x10\x80 \x12\x1b\n\naws_region\x18\x08 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12?\n\x1cresolved_timestamps_interval\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x44\n\x1btopic_partitioning_settings\x18\n \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12\x16\n\x0eschema_changes\x18\x0b \x01(\x08\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb9\x05\n\x15\x43hangefeedDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x04mode\x18\x02 \x01(\x0e\x32\x1e.Ydb.Table.ChangefeedMode.Mode\x12\x32\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\".Ydb.Table.ChangefeedFormat.Format\x12\x35\n\x05state\x18\x04 \x01(\x0e\x32&.Ydb.Table.ChangefeedDescription.State\x12\x1a\n\x12virtual_timestamps\x18\x05 \x01(\x08\x12\x44\n\nattributes\x18\x06 \x03(\x0b\x32\x30.Ydb.Table.ChangefeedDescription.AttributesEntry\x12\x12\n\naws_region\x18\x07 \x01(\t\x12?\n\x1cresolved_timestamps_interval\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12S\n\x15initial_scan_progress\x18\t \x01(\x0b\x32\x34.Ydb.Table.ChangefeedDescription.InitialScanProgress\x12\x16\n\x0eschema_changes\x18\n \x01(\x08\x1a\x43\n\x13InitialScanProgress\x12\x13\n\x0bparts_total\x18\x01 \x01(\r\x12\x17\n\x0fparts_completed\x18\x02 \x01(\r\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"]\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_ENABLED\x10\x01\x12\x12\n\x0eSTATE_DISABLED\x10\x02\x12\x16\n\x12STATE_INITIAL_SCAN\x10\x03\"\x1c\n\x0bStoragePool\x12\r\n\x05media\x18\x01 \x01(\t\"\xaa\x02\n\rStoragePolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12&\n\x06syslog\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12#\n\x03log\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12$\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x05 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12/\n\x0ekeep_in_memory\x18\x06 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x36\n\x0f\x63olumn_families\x18\x07 \x03(\x0b\x32\x1d.Ydb.Table.ColumnFamilyPolicy\"\xb1\x02\n\x12\x43olumnFamilyPolicy\x12\x0c\n\x04name\x18\x01 \x01(\t\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12/\n\x0ekeep_in_memory\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12>\n\x0b\x63ompression\x18\x05 \x01(\x0e\x32).Ydb.Table.ColumnFamilyPolicy.Compression\"L\n\x0b\x43ompression\x12\x1b\n\x17\x43OMPRESSION_UNSPECIFIED\x10\x00\x12\x10\n\x0cUNCOMPRESSED\x10\x01\x12\x0e\n\nCOMPRESSED\x10\x02\"\'\n\x10\x43ompactionPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\";\n\x12\x45xplicitPartitions\x12%\n\x0csplit_points\x18\x01 \x03(\x0b\x32\x0f.Ydb.TypedValue\"S\n\x0ePartitionStats\x12\x15\n\rrows_estimate\x18\x01 \x01(\x04\x12\x12\n\nstore_size\x18\x02 \x01(\x04\x12\x16\n\x0eleader_node_id\x18\x03 \x01(\r\"\xe9\x01\n\nTableStats\x12\x32\n\x0fpartition_stats\x18\x01 \x03(\x0b\x32\x19.Ydb.Table.PartitionStats\x12\x15\n\rrows_estimate\x18\x02 \x01(\x04\x12\x12\n\nstore_size\x18\x03 \x01(\x04\x12\x12\n\npartitions\x18\x04 \x01(\x04\x12\x31\n\rcreation_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11modification_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xdc\x02\n\x12PartitioningPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12O\n\x11\x61uto_partitioning\x18\x02 \x01(\x0e\x32\x34.Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy\x12\x1c\n\x12uniform_partitions\x18\x03 \x01(\x04H\x00\x12<\n\x13\x65xplicit_partitions\x18\x04 \x01(\x0b\x32\x1d.Ydb.Table.ExplicitPartitionsH\x00\"v\n\x16\x41utoPartitioningPolicy\x12(\n$AUTO_PARTITIONING_POLICY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x0e\n\nAUTO_SPLIT\x10\x02\x12\x14\n\x10\x41UTO_SPLIT_MERGE\x10\x03\x42\x0c\n\npartitions\"&\n\x0f\x45xecutionPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\"\xb1\x01\n\x11ReplicationPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12\x16\n\x0ereplicas_count\x18\x02 \x01(\r\x12=\n\x1c\x63reate_per_availability_zone\x18\x03 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x30\n\x0f\x61llow_promotion\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"$\n\rCachingPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\"\xeb\x02\n\x0cTableProfile\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12\x30\n\x0estorage_policy\x18\x02 \x01(\x0b\x32\x18.Ydb.Table.StoragePolicy\x12\x36\n\x11\x63ompaction_policy\x18\x03 \x01(\x0b\x32\x1b.Ydb.Table.CompactionPolicy\x12:\n\x13partitioning_policy\x18\x04 \x01(\x0b\x32\x1d.Ydb.Table.PartitioningPolicy\x12\x34\n\x10\x65xecution_policy\x18\x05 \x01(\x0b\x32\x1a.Ydb.Table.ExecutionPolicy\x12\x38\n\x12replication_policy\x18\x06 \x01(\x0b\x32\x1c.Ydb.Table.ReplicationPolicy\x12\x30\n\x0e\x63\x61\x63hing_policy\x18\x07 \x01(\x0b\x32\x18.Ydb.Table.CachingPolicy\"\xaa\x03\n\x13SequenceDescription\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x16\n\tmin_value\x18\x02 \x01(\x12H\x01\x88\x01\x01\x12\x16\n\tmax_value\x18\x03 \x01(\x12H\x02\x88\x01\x01\x12\x18\n\x0bstart_value\x18\x04 \x01(\x12H\x03\x88\x01\x01\x12\x12\n\x05\x63\x61\x63he\x18\x05 \x01(\x04H\x04\x88\x01\x01\x12\x16\n\tincrement\x18\x06 \x01(\x12H\x05\x88\x01\x01\x12\x12\n\x05\x63ycle\x18\x07 \x01(\x08H\x06\x88\x01\x01\x12;\n\x07set_val\x18\x08 \x01(\x0b\x32%.Ydb.Table.SequenceDescription.SetValH\x07\x88\x01\x01\x1aV\n\x06SetVal\x12\x17\n\nnext_value\x18\x01 \x01(\x12H\x00\x88\x01\x01\x12\x16\n\tnext_used\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\r\n\x0b_next_valueB\x0c\n\n_next_usedB\x07\n\x05_nameB\x0c\n\n_min_valueB\x0c\n\n_max_valueB\x0e\n\x0c_start_valueB\x08\n\x06_cacheB\x0c\n\n_incrementB\x08\n\x06_cycleB\n\n\x08_set_val\"\xda\x01\n\nColumnMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\x04type\x18\x02 \x01(\x0b\x32\t.Ydb.Type\x12\x0e\n\x06\x66\x61mily\x18\x03 \x01(\t\x12\x15\n\x08not_null\x18\x04 \x01(\x08H\x01\x88\x01\x01\x12\'\n\x0c\x66rom_literal\x18\x05 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12\x37\n\rfrom_sequence\x18\x06 \x01(\x0b\x32\x1e.Ydb.Table.SequenceDescriptionH\x00\x42\x0f\n\rdefault_valueB\x0b\n\t_not_null\"O\n\x1a\x44\x61teTypeColumnModeSettings\x12\x13\n\x0b\x63olumn_name\x18\x01 \x01(\t\x12\x1c\n\x14\x65xpire_after_seconds\x18\x02 \x01(\r\"\x8e\x02\n\x1fValueSinceUnixEpochModeSettings\x12\x13\n\x0b\x63olumn_name\x18\x01 \x01(\t\x12\x44\n\x0b\x63olumn_unit\x18\x02 \x01(\x0e\x32/.Ydb.Table.ValueSinceUnixEpochModeSettings.Unit\x12\x1c\n\x14\x65xpire_after_seconds\x18\x03 \x01(\r\"r\n\x04Unit\x12\x14\n\x10UNIT_UNSPECIFIED\x10\x00\x12\x10\n\x0cUNIT_SECONDS\x10\x01\x12\x15\n\x11UNIT_MILLISECONDS\x10\x02\x12\x15\n\x11UNIT_MICROSECONDS\x10\x03\x12\x14\n\x10UNIT_NANOSECONDS\x10\x04\"\xc4\x01\n\x0bTtlSettings\x12\x41\n\x10\x64\x61te_type_column\x18\x01 \x01(\x0b\x32%.Ydb.Table.DateTypeColumnModeSettingsH\x00\x12L\n\x16value_since_unix_epoch\x18\x02 \x01(\x0b\x32*.Ydb.Table.ValueSinceUnixEpochModeSettingsH\x00\x12\x1c\n\x14run_interval_seconds\x18\x03 \x01(\rB\x06\n\x04mode\"\xda\x01\n\x0fStorageSettings\x12\x32\n\x12tablet_commit_log0\x18\x01 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x32\n\x12tablet_commit_log1\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x04 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x35\n\x14store_external_blobs\x18\x05 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"\x84\x02\n\x0c\x43olumnFamily\x12\x0c\n\x04name\x18\x01 \x01(\t\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x38\n\x0b\x63ompression\x18\x03 \x01(\x0e\x32#.Ydb.Table.ColumnFamily.Compression\x12/\n\x0ekeep_in_memory\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"U\n\x0b\x43ompression\x12\x1b\n\x17\x43OMPRESSION_UNSPECIFIED\x10\x00\x12\x14\n\x10\x43OMPRESSION_NONE\x10\x01\x12\x13\n\x0f\x43OMPRESSION_LZ4\x10\x02\"\xf7\x01\n\x14PartitioningSettings\x12\x14\n\x0cpartition_by\x18\x01 \x03(\t\x12\x35\n\x14partitioning_by_size\x18\x02 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x19\n\x11partition_size_mb\x18\x03 \x01(\x04\x12\x35\n\x14partitioning_by_load\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x1c\n\x14min_partitions_count\x18\x06 \x01(\x04\x12\x1c\n\x14max_partitions_count\x18\x07 \x01(\x04J\x04\x08\x05\x10\x06\"C\n\x16\x41zReadReplicasSettings\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1b\n\x13read_replicas_count\x18\x02 \x01(\x04\"_\n\x17\x43lusterReplicasSettings\x12\x44\n\x19\x61z_read_replicas_settings\x18\x02 \x03(\x0b\x32!.Ydb.Table.AzReadReplicasSettings\"t\n\x14ReadReplicasSettings\x12$\n\x1aper_az_read_replicas_count\x18\x01 \x01(\x04H\x00\x12$\n\x1a\x61ny_az_read_replicas_count\x18\x02 \x01(\x04H\x00\x42\n\n\x08settingsJ\x04\x08\x03\x10\x04\"\xaa\x07\n\x12\x43reateTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12&\n\x07\x63olumns\x18\x03 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x04 \x03(\t\x12(\n\x07profile\x18\x05 \x01(\x0b\x32\x17.Ydb.Table.TableProfile\x12\x39\n\x10operation_params\x18\x06 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12&\n\x07indexes\x18\x07 \x03(\x0b\x32\x15.Ydb.Table.TableIndex\x12,\n\x0cttl_settings\x18\x08 \x01(\x0b\x32\x16.Ydb.Table.TtlSettings\x12\x34\n\x10storage_settings\x18\t \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x30\n\x0f\x63olumn_families\x18\n \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12Z\n\nattributes\x18\x0b \x03(\x0b\x32-.Ydb.Table.CreateTableRequest.AttributesEntryB\x17\xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\xa2\xe6*\x07\n\x05\x08\x01\x10\x80 \x12\x19\n\x11\x63ompaction_policy\x18\x0c \x01(\t\x12\x1c\n\x12uniform_partitions\x18\r \x01(\x04H\x00\x12:\n\x11partition_at_keys\x18\x0e \x01(\x0b\x32\x1d.Ydb.Table.ExplicitPartitionsH\x00\x12>\n\x15partitioning_settings\x18\x0f \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x31\n\x10key_bloom_filter\x18\x10 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12?\n\x16read_replicas_settings\x18\x11 \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12\x0f\n\x07tiering\x18\x12 \x01(\t\x12\x11\n\ttemporary\x18\x13 \x01(\x08\x12(\n\nstore_type\x18\x14 \x01(\x0e\x32\x14.Ydb.Table.StoreType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\npartitions\"C\n\x13\x43reateTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"u\n\x10\x44ropTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParamsJ\x04\x08\x03\x10\x04\"A\n\x11\x44ropTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"]\n\x0fRenameIndexItem\x12\x13\n\x0bsource_name\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_name\x18\x02 \x01(\t\x12\x1b\n\x13replace_destination\x18\x03 \x01(\x08\"\x95\t\n\x11\x41lterTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12*\n\x0b\x61\x64\x64_columns\x18\x03 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x14\n\x0c\x64rop_columns\x18\x04 \x03(\t\x12\x39\n\x10operation_params\x18\x05 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12,\n\ralter_columns\x18\x06 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x32\n\x10set_ttl_settings\x18\x07 \x01(\x0b\x32\x16.Ydb.Table.TtlSettingsH\x00\x12\x33\n\x11\x64rop_ttl_settings\x18\x08 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12*\n\x0b\x61\x64\x64_indexes\x18\t \x03(\x0b\x32\x15.Ydb.Table.TableIndex\x12\x14\n\x0c\x64rop_indexes\x18\n \x03(\t\x12:\n\x16\x61lter_storage_settings\x18\x0b \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x34\n\x13\x61\x64\x64_column_families\x18\x0c \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12\x36\n\x15\x61lter_column_families\x18\r \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12`\n\x10\x61lter_attributes\x18\x0e \x03(\x0b\x32\x31.Ydb.Table.AlterTableRequest.AlterAttributesEntryB\x13\xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\xa2\xe6*\x03\x18\x80 \x12\x1d\n\x15set_compaction_policy\x18\x0f \x01(\t\x12\x44\n\x1b\x61lter_partitioning_settings\x18\x10 \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x35\n\x14set_key_bloom_filter\x18\x11 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x43\n\x1aset_read_replicas_settings\x18\x12 \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12.\n\x0f\x61\x64\x64_changefeeds\x18\x13 \x03(\x0b\x32\x15.Ydb.Table.Changefeed\x12\x18\n\x10\x64rop_changefeeds\x18\x14 \x03(\t\x12\x32\n\x0erename_indexes\x18\x15 \x03(\x0b\x32\x1a.Ydb.Table.RenameIndexItem\x12\x15\n\x0bset_tiering\x18\x16 \x01(\tH\x01\x12.\n\x0c\x64rop_tiering\x18\x17 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\nttl_actionB\x10\n\x0etiering_action\"B\n\x12\x41lterTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x90\x01\n\x10\x43opyTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x13\n\x0bsource_path\x18\x02 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x03 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"A\n\x11\x43opyTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"T\n\rCopyTableItem\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12\x14\n\x0comit_indexes\x18\x03 \x01(\x08\"\x8c\x01\n\x11\x43opyTablesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12(\n\x06tables\x18\x03 \x03(\x0b\x32\x18.Ydb.Table.CopyTableItem\"B\n\x12\x43opyTablesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"]\n\x0fRenameTableItem\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12\x1b\n\x13replace_destination\x18\x03 \x01(\x08\"\x90\x01\n\x13RenameTablesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12*\n\x06tables\x18\x03 \x03(\x0b\x32\x1a.Ydb.Table.RenameTableItem\"D\n\x14RenameTablesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x8e\x02\n\x14\x44\x65scribeTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12 \n\x18include_shard_key_bounds\x18\x05 \x01(\x08\x12\x1b\n\x13include_table_stats\x18\x06 \x01(\x08\x12\x1f\n\x17include_partition_stats\x18\x07 \x01(\x08\x12\x17\n\x0finclude_set_val\x18\x08 \x01(\x08\x12 \n\x18include_shard_nodes_info\x18\t \x01(\x08\"E\n\x15\x44\x65scribeTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xc9\x06\n\x13\x44\x65scribeTableResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12&\n\x07\x63olumns\x18\x02 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x03 \x03(\t\x12)\n\x10shard_key_bounds\x18\x04 \x03(\x0b\x32\x0f.Ydb.TypedValue\x12\x31\n\x07indexes\x18\x05 \x03(\x0b\x32 .Ydb.Table.TableIndexDescription\x12*\n\x0btable_stats\x18\x06 \x01(\x0b\x32\x15.Ydb.Table.TableStats\x12,\n\x0cttl_settings\x18\x07 \x01(\x0b\x32\x16.Ydb.Table.TtlSettings\x12\x34\n\x10storage_settings\x18\x08 \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x30\n\x0f\x63olumn_families\x18\t \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12\x42\n\nattributes\x18\n \x03(\x0b\x32..Ydb.Table.DescribeTableResult.AttributesEntry\x12>\n\x15partitioning_settings\x18\x0c \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x31\n\x10key_bloom_filter\x18\r \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12?\n\x16read_replicas_settings\x18\x0e \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12\x35\n\x0b\x63hangefeeds\x18\x0f \x03(\x0b\x32 .Ydb.Table.ChangefeedDescription\x12\x0f\n\x07tiering\x18\x10 \x01(\t\x12\x11\n\ttemporary\x18\x11 \x01(\x08\x12(\n\nstore_type\x18\x12 \x01(\x0e\x32\x14.Ydb.Table.StoreType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x0b\x10\x0c\"2\n\x05Query\x12\x12\n\x08yql_text\x18\x01 \x01(\tH\x00\x12\x0c\n\x02id\x18\x02 \x01(\tH\x00\x42\x07\n\x05query\"\x1a\n\x18SerializableModeSettings\"6\n\x12OnlineModeSettings\x12 \n\x18\x61llow_inconsistent_reads\x18\x01 \x01(\x08\"\x13\n\x11StaleModeSettings\"\x16\n\x14SnapshotModeSettings\"\x18\n\x16SnapshotRWModeSettings\"\xdd\x02\n\x13TransactionSettings\x12\x46\n\x17serializable_read_write\x18\x01 \x01(\x0b\x32#.Ydb.Table.SerializableModeSettingsH\x00\x12\x39\n\x10online_read_only\x18\x02 \x01(\x0b\x32\x1d.Ydb.Table.OnlineModeSettingsH\x00\x12\x37\n\x0fstale_read_only\x18\x03 \x01(\x0b\x32\x1c.Ydb.Table.StaleModeSettingsH\x00\x12=\n\x12snapshot_read_only\x18\x04 \x01(\x0b\x32\x1f.Ydb.Table.SnapshotModeSettingsH\x00\x12@\n\x13snapshot_read_write\x18\x05 \x01(\x0b\x32!.Ydb.Table.SnapshotRWModeSettingsH\x00\x42\t\n\x07tx_mode\"{\n\x12TransactionControl\x12\x0f\n\x05tx_id\x18\x01 \x01(\tH\x00\x12\x32\n\x08\x62\x65gin_tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Table.TransactionSettingsH\x00\x12\x11\n\tcommit_tx\x18\n \x01(\x08\x42\r\n\x0btx_selector\")\n\x10QueryCachePolicy\x12\x15\n\rkeep_in_cache\x18\x01 \x01(\x08\"\xb1\x01\n\x14QueryStatsCollection\"\x98\x01\n\x04Mode\x12 \n\x1cSTATS_COLLECTION_UNSPECIFIED\x10\x00\x12\x19\n\x15STATS_COLLECTION_NONE\x10\x01\x12\x1a\n\x16STATS_COLLECTION_BASIC\x10\x02\x12\x19\n\x15STATS_COLLECTION_FULL\x10\x03\x12\x1c\n\x18STATS_COLLECTION_PROFILE\x10\x04\"\xbe\x03\n\x17\x45xecuteDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x31\n\ntx_control\x18\x02 \x01(\x0b\x32\x1d.Ydb.Table.TransactionControl\x12\x1f\n\x05query\x18\x03 \x01(\x0b\x32\x10.Ydb.Table.Query\x12\x46\n\nparameters\x18\x04 \x03(\x0b\x32\x32.Ydb.Table.ExecuteDataQueryRequest.ParametersEntry\x12\x37\n\x12query_cache_policy\x18\x05 \x01(\x0b\x32\x1b.Ydb.Table.QueryCachePolicy\x12\x39\n\x10operation_params\x18\x06 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12;\n\rcollect_stats\x18\x07 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"H\n\x18\x45xecuteDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"|\n\x19\x45xecuteSchemeQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"J\n\x1a\x45xecuteSchemeQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x1d\n\x0fTransactionMeta\x12\n\n\x02id\x18\x01 \x01(\t\"\x9f\x01\n\tQueryMeta\x12\n\n\x02id\x18\x01 \x01(\t\x12\x43\n\x10parameters_types\x18\x02 \x03(\x0b\x32).Ydb.Table.QueryMeta.ParametersTypesEntry\x1a\x41\n\x14ParametersTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.Ydb.Type:\x02\x38\x01\"\xc1\x01\n\x12\x45xecuteQueryResult\x12#\n\x0bresult_sets\x18\x01 \x03(\x0b\x32\x0e.Ydb.ResultSet\x12+\n\x07tx_meta\x18\x02 \x01(\x0b\x32\x1a.Ydb.Table.TransactionMeta\x12(\n\nquery_meta\x18\x03 \x01(\x0b\x32\x14.Ydb.Table.QueryMeta\x12/\n\x0bquery_stats\x18\x04 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"\x9c\x01\n\x17\x45xplainDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12 \n\x18\x63ollect_full_diagnostics\x18\x04 \x01(\x08\"H\n\x18\x45xplainDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"[\n\x12\x45xplainQueryResult\x12\x11\n\tquery_ast\x18\x01 \x01(\t\x12\x12\n\nquery_plan\x18\x02 \x01(\t\x12\x1e\n\x16query_full_diagnostics\x18\x03 \x01(\t\"z\n\x17PrepareDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"H\n\x18PrepareDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb7\x01\n\x12PrepareQueryResult\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12L\n\x10parameters_types\x18\x02 \x03(\x0b\x32\x32.Ydb.Table.PrepareQueryResult.ParametersTypesEntry\x1a\x41\n\x14ParametersTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.Ydb.Type:\x02\x38\x01\"a\n\x10KeepAliveRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x39\n\x10operation_params\x18\x02 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"A\n\x11KeepAliveResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb7\x01\n\x0fKeepAliveResult\x12@\n\x0esession_status\x18\x01 \x01(\x0e\x32(.Ydb.Table.KeepAliveResult.SessionStatus\"b\n\rSessionStatus\x12\x1e\n\x1aSESSION_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14SESSION_STATUS_READY\x10\x01\x12\x17\n\x13SESSION_STATUS_BUSY\x10\x02\"\x9d\x01\n\x17\x42\x65ginTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x33\n\x0btx_settings\x18\x02 \x01(\x0b\x32\x1e.Ydb.Table.TransactionSettings\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"H\n\x18\x42\x65ginTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"E\n\x16\x42\x65ginTransactionResult\x12+\n\x07tx_meta\x18\x01 \x01(\x0b\x32\x1a.Ydb.Table.TransactionMeta\"\xb5\x01\n\x18\x43ommitTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\r\n\x05tx_id\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12;\n\rcollect_stats\x18\x04 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\"I\n\x19\x43ommitTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"J\n\x17\x43ommitTransactionResult\x12/\n\x0bquery_stats\x18\x01 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"z\n\x1aRollbackTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\r\n\x05tx_id\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"K\n\x1bRollbackTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x98\x01\n\x18StoragePolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x06labels\x18\x02 \x03(\x0b\x32/.Ydb.Table.StoragePolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9e\x01\n\x1b\x43ompactionPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x42\n\x06labels\x18\x02 \x03(\x0b\x32\x32.Ydb.Table.CompactionPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa2\x01\n\x1dPartitioningPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x06labels\x18\x02 \x03(\x0b\x32\x34.Ydb.Table.PartitioningPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9c\x01\n\x1a\x45xecutionPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x41\n\x06labels\x18\x02 \x03(\x0b\x32\x31.Ydb.Table.ExecutionPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa0\x01\n\x1cReplicationPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x43\n\x06labels\x18\x02 \x03(\x0b\x32\x33.Ydb.Table.ReplicationPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x98\x01\n\x18\x43\x61\x63hingPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x06labels\x18\x02 \x03(\x0b\x32/.Ydb.Table.CachingPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbe\x04\n\x17TableProfileDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12>\n\x06labels\x18\x02 \x03(\x0b\x32..Ydb.Table.TableProfileDescription.LabelsEntry\x12\x1e\n\x16\x64\x65\x66\x61ult_storage_policy\x18\x03 \x01(\t\x12 \n\x18\x61llowed_storage_policies\x18\x04 \x03(\t\x12!\n\x19\x64\x65\x66\x61ult_compaction_policy\x18\x05 \x01(\t\x12#\n\x1b\x61llowed_compaction_policies\x18\x06 \x03(\t\x12#\n\x1b\x64\x65\x66\x61ult_partitioning_policy\x18\x07 \x01(\t\x12%\n\x1d\x61llowed_partitioning_policies\x18\x08 \x03(\t\x12 \n\x18\x64\x65\x66\x61ult_execution_policy\x18\t \x01(\t\x12\"\n\x1a\x61llowed_execution_policies\x18\n \x03(\t\x12\"\n\x1a\x64\x65\x66\x61ult_replication_policy\x18\x0b \x01(\t\x12$\n\x1c\x61llowed_replication_policies\x18\x0c \x03(\t\x12\x1e\n\x16\x64\x65\x66\x61ult_caching_policy\x18\r \x01(\t\x12 \n\x18\x61llowed_caching_policies\x18\x0e \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"X\n\x1b\x44\x65scribeTableOptionsRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"L\n\x1c\x44\x65scribeTableOptionsResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x99\x04\n\x1a\x44\x65scribeTableOptionsResult\x12\x41\n\x15table_profile_presets\x18\x01 \x03(\x0b\x32\".Ydb.Table.TableProfileDescription\x12\x43\n\x16storage_policy_presets\x18\x02 \x03(\x0b\x32#.Ydb.Table.StoragePolicyDescription\x12I\n\x19\x63ompaction_policy_presets\x18\x03 \x03(\x0b\x32&.Ydb.Table.CompactionPolicyDescription\x12M\n\x1bpartitioning_policy_presets\x18\x04 \x03(\x0b\x32(.Ydb.Table.PartitioningPolicyDescription\x12G\n\x18\x65xecution_policy_presets\x18\x05 \x03(\x0b\x32%.Ydb.Table.ExecutionPolicyDescription\x12K\n\x1areplication_policy_presets\x18\x06 \x03(\x0b\x32\'.Ydb.Table.ReplicationPolicyDescription\x12\x43\n\x16\x63\x61\x63hing_policy_presets\x18\x07 \x03(\x0b\x32#.Ydb.Table.CachingPolicyDescription\"\xc0\x01\n\x08KeyRange\x12\"\n\x07greater\x18\x01 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12+\n\x10greater_or_equal\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12\x1f\n\x04less\x18\x03 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x01\x12(\n\rless_or_equal\x18\x04 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x01\x42\x0c\n\nfrom_boundB\n\n\x08to_bound\"\xb8\x02\n\x10ReadTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12&\n\tkey_range\x18\x03 \x01(\x0b\x32\x13.Ydb.Table.KeyRange\x12\x0f\n\x07\x63olumns\x18\x04 \x03(\t\x12\x0f\n\x07ordered\x18\x05 \x01(\x08\x12\x11\n\trow_limit\x18\x06 \x01(\x04\x12-\n\x0cuse_snapshot\x18\x07 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x19\n\x11\x62\x61tch_limit_bytes\x18\x08 \x01(\x04\x12\x18\n\x10\x62\x61tch_limit_rows\x18\t \x01(\x04\x12\x41\n return_not_null_data_as_optional\x18\n \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"\xbc\x01\n\x11ReadTableResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\'\n\x08snapshot\x18\x04 \x01(\x0b\x32\x15.Ydb.VirtualTimestamp\x12*\n\x06result\x18\x03 \x01(\x0b\x32\x1a.Ydb.Table.ReadTableResult\"5\n\x0fReadTableResult\x12\"\n\nresult_set\x18\x01 \x01(\x0b\x32\x0e.Ydb.ResultSet\"c\n\x0fReadRowsRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x1d\n\x04keys\x18\x03 \x01(\x0b\x32\x0f.Ydb.TypedValue\x12\x0f\n\x07\x63olumns\x18\x04 \x03(\t\"\x8a\x01\n\x10ReadRowsResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\nresult_set\x18\x03 \x01(\x0b\x32\x0e.Ydb.ResultSet\"\x8d\x02\n\x11\x42ulkUpsertRequest\x12\r\n\x05table\x18\x01 \x01(\t\x12\x1d\n\x04rows\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12?\n\x14\x61rrow_batch_settings\x18\x07 \x01(\x0b\x32\x1f.Ydb.Formats.ArrowBatchSettingsH\x00\x12\x30\n\x0c\x63sv_settings\x18\x08 \x01(\x0b\x32\x18.Ydb.Formats.CsvSettingsH\x00\x12\r\n\x04\x64\x61ta\x18\xe8\x07 \x01(\x0c\x42\r\n\x0b\x64\x61ta_format\"B\n\x12\x42ulkUpsertResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x12\n\x10\x42ulkUpsertResult\"\xb7\x03\n\x17\x45xecuteScanQueryRequest\x12\x1f\n\x05query\x18\x03 \x01(\x0b\x32\x10.Ydb.Table.Query\x12\x46\n\nparameters\x18\x04 \x03(\x0b\x32\x32.Ydb.Table.ExecuteScanQueryRequest.ParametersEntry\x12\x35\n\x04mode\x18\x06 \x01(\x0e\x32\'.Ydb.Table.ExecuteScanQueryRequest.Mode\x12;\n\rcollect_stats\x18\x08 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\x12$\n\x18\x63ollect_full_diagnostics\x18\t \x01(\x08\x42\x02\x18\x01\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"=\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cMODE_EXPLAIN\x10\x01\x12\r\n\tMODE_EXEC\x10\x03J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x05\x10\x06J\x04\x08\x07\x10\x08\"\xaf\x01\n\x1f\x45xecuteScanQueryPartialResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x38\n\x06result\x18\x03 \x01(\x0b\x32(.Ydb.Table.ExecuteScanQueryPartialResult\"\xd9\x01\n\x1d\x45xecuteScanQueryPartialResult\x12\"\n\nresult_set\x18\x01 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12/\n\x0bquery_stats\x18\x06 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\x12\"\n\x16query_full_diagnostics\x18\x07 \x01(\tB\x02\x18\x01\x12\'\n\x08snapshot\x18\x08 \x01(\x0b\x32\x15.Ydb.VirtualTimestampJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\"l\n!DescribeExternalDataSourceRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"R\n\"DescribeExternalDataSourceResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x95\x02\n DescribeExternalDataSourceResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12\x18\n\x0bsource_type\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08location\x18\x03 \x01(\tH\x01\x88\x01\x01\x12O\n\nproperties\x18\x04 \x03(\x0b\x32;.Ydb.Table.DescribeExternalDataSourceResult.PropertiesEntry\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0c_source_typeB\x0b\n\t_location\"g\n\x1c\x44\x65scribeExternalTableRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"M\n\x1d\x44\x65scribeExternalTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xde\x02\n\x1b\x44\x65scribeExternalTableResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12\x18\n\x0bsource_type\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x1d\n\x10\x64\x61ta_source_path\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x15\n\x08location\x18\x04 \x01(\tH\x02\x88\x01\x01\x12&\n\x07\x63olumns\x18\x05 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x44\n\x07\x63ontent\x18\x06 \x03(\x0b\x32\x33.Ydb.Table.DescribeExternalTableResult.ContentEntry\x1a.\n\x0c\x43ontentEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0c_source_typeB\x13\n\x11_data_source_pathB\x0b\n\t_location\"d\n\x19\x44\x65scribeSystemViewRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"J\n\x1a\x44\x65scribeSystemViewResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xa0\x02\n\x18\x44\x65scribeSystemViewResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12\x13\n\x0bsys_view_id\x18\x02 \x01(\x04\x12\x15\n\rsys_view_name\x18\x03 \x01(\t\x12&\n\x07\x63olumns\x18\x04 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x05 \x03(\t\x12G\n\nattributes\x18\x06 \x03(\x0b\x32\x33.Ydb.Table.DescribeSystemViewResult.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01*R\n\tStoreType\x12\x1a\n\x16STORE_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eSTORE_TYPE_ROW\x10\x01\x12\x15\n\x11STORE_TYPE_COLUMN\x10\x02\x42S\n\x14tech.ydb.proto.tableZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Table\xf8\x01\x01\x62\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protos.ydb_table_pb2', globals()) @@ -75,8 +75,18 @@ _TABLEPROFILEDESCRIPTION_LABELSENTRY._serialized_options = b'8\001' _EXECUTESCANQUERYREQUEST_PARAMETERSENTRY._options = None _EXECUTESCANQUERYREQUEST_PARAMETERSENTRY._serialized_options = b'8\001' - _STORETYPE._serialized_start=20382 - _STORETYPE._serialized_end=20464 + _EXECUTESCANQUERYREQUEST.fields_by_name['collect_full_diagnostics']._options = None + _EXECUTESCANQUERYREQUEST.fields_by_name['collect_full_diagnostics']._serialized_options = b'\030\001' + _EXECUTESCANQUERYPARTIALRESULT.fields_by_name['query_full_diagnostics']._options = None + _EXECUTESCANQUERYPARTIALRESULT.fields_by_name['query_full_diagnostics']._serialized_options = b'\030\001' + _DESCRIBEEXTERNALDATASOURCERESULT_PROPERTIESENTRY._options = None + _DESCRIBEEXTERNALDATASOURCERESULT_PROPERTIESENTRY._serialized_options = b'8\001' + _DESCRIBEEXTERNALTABLERESULT_CONTENTENTRY._options = None + _DESCRIBEEXTERNALTABLERESULT_CONTENTENTRY._serialized_options = b'8\001' + _DESCRIBESYSTEMVIEWRESULT_ATTRIBUTESENTRY._options = None + _DESCRIBESYSTEMVIEWRESULT_ATTRIBUTESENTRY._serialized_options = b'8\001' + _STORETYPE._serialized_start=22138 + _STORETYPE._serialized_end=22220 _CREATESESSIONREQUEST._serialized_start=413 _CREATESESSIONREQUEST._serialized_end=494 _CREATESESSIONRESPONSE._serialized_start=496 @@ -116,251 +126,277 @@ _CHANGEFEEDFORMAT_FORMAT._serialized_start=2125 _CHANGEFEEDFORMAT_FORMAT._serialized_end=2234 _CHANGEFEED._serialized_start=2237 - _CHANGEFEED._serialized_end=2763 - _CHANGEFEED_ATTRIBUTESENTRY._serialized_start=2714 - _CHANGEFEED_ATTRIBUTESENTRY._serialized_end=2763 - _CHANGEFEEDDESCRIPTION._serialized_start=2766 - _CHANGEFEEDDESCRIPTION._serialized_end=3285 - _CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY._serialized_start=2714 - _CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY._serialized_end=2763 - _CHANGEFEEDDESCRIPTION_STATE._serialized_start=3192 - _CHANGEFEEDDESCRIPTION_STATE._serialized_end=3285 - _STORAGEPOOL._serialized_start=3287 - _STORAGEPOOL._serialized_end=3315 - _STORAGEPOLICY._serialized_start=3318 - _STORAGEPOLICY._serialized_end=3616 - _COLUMNFAMILYPOLICY._serialized_start=3619 - _COLUMNFAMILYPOLICY._serialized_end=3924 - _COLUMNFAMILYPOLICY_COMPRESSION._serialized_start=3848 - _COLUMNFAMILYPOLICY_COMPRESSION._serialized_end=3924 - _COMPACTIONPOLICY._serialized_start=3926 - _COMPACTIONPOLICY._serialized_end=3965 - _EXPLICITPARTITIONS._serialized_start=3967 - _EXPLICITPARTITIONS._serialized_end=4026 - _PARTITIONSTATS._serialized_start=4028 - _PARTITIONSTATS._serialized_end=4111 - _TABLESTATS._serialized_start=4114 - _TABLESTATS._serialized_end=4347 - _PARTITIONINGPOLICY._serialized_start=4350 - _PARTITIONINGPOLICY._serialized_end=4698 - _PARTITIONINGPOLICY_AUTOPARTITIONINGPOLICY._serialized_start=4566 - _PARTITIONINGPOLICY_AUTOPARTITIONINGPOLICY._serialized_end=4684 - _EXECUTIONPOLICY._serialized_start=4700 - _EXECUTIONPOLICY._serialized_end=4738 - _REPLICATIONPOLICY._serialized_start=4741 - _REPLICATIONPOLICY._serialized_end=4918 - _CACHINGPOLICY._serialized_start=4920 - _CACHINGPOLICY._serialized_end=4956 - _TABLEPROFILE._serialized_start=4959 - _TABLEPROFILE._serialized_end=5322 - _SEQUENCEDESCRIPTION._serialized_start=5325 - _SEQUENCEDESCRIPTION._serialized_end=5751 - _SEQUENCEDESCRIPTION_SETVAL._serialized_start=5566 - _SEQUENCEDESCRIPTION_SETVAL._serialized_end=5652 - _COLUMNMETA._serialized_start=5754 - _COLUMNMETA._serialized_end=5972 - _DATETYPECOLUMNMODESETTINGS._serialized_start=5974 - _DATETYPECOLUMNMODESETTINGS._serialized_end=6053 - _VALUESINCEUNIXEPOCHMODESETTINGS._serialized_start=6056 - _VALUESINCEUNIXEPOCHMODESETTINGS._serialized_end=6326 - _VALUESINCEUNIXEPOCHMODESETTINGS_UNIT._serialized_start=6212 - _VALUESINCEUNIXEPOCHMODESETTINGS_UNIT._serialized_end=6326 - _TTLSETTINGS._serialized_start=6329 - _TTLSETTINGS._serialized_end=6525 - _STORAGESETTINGS._serialized_start=6528 - _STORAGESETTINGS._serialized_end=6746 - _COLUMNFAMILY._serialized_start=6749 - _COLUMNFAMILY._serialized_end=7009 - _COLUMNFAMILY_COMPRESSION._serialized_start=6924 - _COLUMNFAMILY_COMPRESSION._serialized_end=7009 - _PARTITIONINGSETTINGS._serialized_start=7012 - _PARTITIONINGSETTINGS._serialized_end=7259 - _AZREADREPLICASSETTINGS._serialized_start=7261 - _AZREADREPLICASSETTINGS._serialized_end=7328 - _CLUSTERREPLICASSETTINGS._serialized_start=7330 - _CLUSTERREPLICASSETTINGS._serialized_end=7425 - _READREPLICASSETTINGS._serialized_start=7427 - _READREPLICASSETTINGS._serialized_end=7543 - _CREATETABLEREQUEST._serialized_start=7546 - _CREATETABLEREQUEST._serialized_end=8484 - _CREATETABLEREQUEST_ATTRIBUTESENTRY._serialized_start=2714 - _CREATETABLEREQUEST_ATTRIBUTESENTRY._serialized_end=2763 - _CREATETABLERESPONSE._serialized_start=8486 - _CREATETABLERESPONSE._serialized_end=8553 - _DROPTABLEREQUEST._serialized_start=8555 - _DROPTABLEREQUEST._serialized_end=8672 - _DROPTABLERESPONSE._serialized_start=8674 - _DROPTABLERESPONSE._serialized_end=8739 - _RENAMEINDEXITEM._serialized_start=8741 - _RENAMEINDEXITEM._serialized_end=8834 - _ALTERTABLEREQUEST._serialized_start=8837 - _ALTERTABLEREQUEST._serialized_end=10010 - _ALTERTABLEREQUEST_ALTERATTRIBUTESENTRY._serialized_start=9924 - _ALTERTABLEREQUEST_ALTERATTRIBUTESENTRY._serialized_end=9978 - _ALTERTABLERESPONSE._serialized_start=10012 - _ALTERTABLERESPONSE._serialized_end=10078 - _COPYTABLEREQUEST._serialized_start=10081 - _COPYTABLEREQUEST._serialized_end=10225 - _COPYTABLERESPONSE._serialized_start=10227 - _COPYTABLERESPONSE._serialized_end=10292 - _COPYTABLEITEM._serialized_start=10294 - _COPYTABLEITEM._serialized_end=10378 - _COPYTABLESREQUEST._serialized_start=10381 - _COPYTABLESREQUEST._serialized_end=10521 - _COPYTABLESRESPONSE._serialized_start=10523 - _COPYTABLESRESPONSE._serialized_end=10589 - _RENAMETABLEITEM._serialized_start=10591 - _RENAMETABLEITEM._serialized_end=10684 - _RENAMETABLESREQUEST._serialized_start=10687 - _RENAMETABLESREQUEST._serialized_end=10831 - _RENAMETABLESRESPONSE._serialized_start=10833 - _RENAMETABLESRESPONSE._serialized_end=10901 - _DESCRIBETABLEREQUEST._serialized_start=10904 - _DESCRIBETABLEREQUEST._serialized_end=11149 - _DESCRIBETABLERESPONSE._serialized_start=11151 - _DESCRIBETABLERESPONSE._serialized_end=11220 - _DESCRIBETABLERESULT._serialized_start=11223 - _DESCRIBETABLERESULT._serialized_end=12064 - _DESCRIBETABLERESULT_ATTRIBUTESENTRY._serialized_start=2714 - _DESCRIBETABLERESULT_ATTRIBUTESENTRY._serialized_end=2763 - _QUERY._serialized_start=12066 - _QUERY._serialized_end=12116 - _SERIALIZABLEMODESETTINGS._serialized_start=12118 - _SERIALIZABLEMODESETTINGS._serialized_end=12144 - _ONLINEMODESETTINGS._serialized_start=12146 - _ONLINEMODESETTINGS._serialized_end=12200 - _STALEMODESETTINGS._serialized_start=12202 - _STALEMODESETTINGS._serialized_end=12221 - _SNAPSHOTMODESETTINGS._serialized_start=12223 - _SNAPSHOTMODESETTINGS._serialized_end=12245 - _SNAPSHOTRWMODESETTINGS._serialized_start=12247 - _SNAPSHOTRWMODESETTINGS._serialized_end=12271 - _TRANSACTIONSETTINGS._serialized_start=12274 - _TRANSACTIONSETTINGS._serialized_end=12623 - _TRANSACTIONCONTROL._serialized_start=12625 - _TRANSACTIONCONTROL._serialized_end=12748 - _QUERYCACHEPOLICY._serialized_start=12750 - _QUERYCACHEPOLICY._serialized_end=12791 - _QUERYSTATSCOLLECTION._serialized_start=12794 - _QUERYSTATSCOLLECTION._serialized_end=12971 - _QUERYSTATSCOLLECTION_MODE._serialized_start=12819 - _QUERYSTATSCOLLECTION_MODE._serialized_end=12971 - _EXECUTEDATAQUERYREQUEST._serialized_start=12974 - _EXECUTEDATAQUERYREQUEST._serialized_end=13420 - _EXECUTEDATAQUERYREQUEST_PARAMETERSENTRY._serialized_start=13354 - _EXECUTEDATAQUERYREQUEST_PARAMETERSENTRY._serialized_end=13420 - _EXECUTEDATAQUERYRESPONSE._serialized_start=13422 - _EXECUTEDATAQUERYRESPONSE._serialized_end=13494 - _EXECUTESCHEMEQUERYREQUEST._serialized_start=13496 - _EXECUTESCHEMEQUERYREQUEST._serialized_end=13620 - _EXECUTESCHEMEQUERYRESPONSE._serialized_start=13622 - _EXECUTESCHEMEQUERYRESPONSE._serialized_end=13696 - _TRANSACTIONMETA._serialized_start=13698 - _TRANSACTIONMETA._serialized_end=13727 - _QUERYMETA._serialized_start=13730 - _QUERYMETA._serialized_end=13889 - _QUERYMETA_PARAMETERSTYPESENTRY._serialized_start=13824 - _QUERYMETA_PARAMETERSTYPESENTRY._serialized_end=13889 - _EXECUTEQUERYRESULT._serialized_start=13892 - _EXECUTEQUERYRESULT._serialized_end=14085 - _EXPLAINDATAQUERYREQUEST._serialized_start=14088 - _EXPLAINDATAQUERYREQUEST._serialized_end=14244 - _EXPLAINDATAQUERYRESPONSE._serialized_start=14246 - _EXPLAINDATAQUERYRESPONSE._serialized_end=14318 - _EXPLAINQUERYRESULT._serialized_start=14320 - _EXPLAINQUERYRESULT._serialized_end=14411 - _PREPAREDATAQUERYREQUEST._serialized_start=14413 - _PREPAREDATAQUERYREQUEST._serialized_end=14535 - _PREPAREDATAQUERYRESPONSE._serialized_start=14537 - _PREPAREDATAQUERYRESPONSE._serialized_end=14609 - _PREPAREQUERYRESULT._serialized_start=14612 - _PREPAREQUERYRESULT._serialized_end=14795 - _PREPAREQUERYRESULT_PARAMETERSTYPESENTRY._serialized_start=13824 - _PREPAREQUERYRESULT_PARAMETERSTYPESENTRY._serialized_end=13889 - _KEEPALIVEREQUEST._serialized_start=14797 - _KEEPALIVEREQUEST._serialized_end=14894 - _KEEPALIVERESPONSE._serialized_start=14896 - _KEEPALIVERESPONSE._serialized_end=14961 - _KEEPALIVERESULT._serialized_start=14964 - _KEEPALIVERESULT._serialized_end=15147 - _KEEPALIVERESULT_SESSIONSTATUS._serialized_start=15049 - _KEEPALIVERESULT_SESSIONSTATUS._serialized_end=15147 - _BEGINTRANSACTIONREQUEST._serialized_start=15150 - _BEGINTRANSACTIONREQUEST._serialized_end=15307 - _BEGINTRANSACTIONRESPONSE._serialized_start=15309 - _BEGINTRANSACTIONRESPONSE._serialized_end=15381 - _BEGINTRANSACTIONRESULT._serialized_start=15383 - _BEGINTRANSACTIONRESULT._serialized_end=15452 - _COMMITTRANSACTIONREQUEST._serialized_start=15455 - _COMMITTRANSACTIONREQUEST._serialized_end=15636 - _COMMITTRANSACTIONRESPONSE._serialized_start=15638 - _COMMITTRANSACTIONRESPONSE._serialized_end=15711 - _COMMITTRANSACTIONRESULT._serialized_start=15713 - _COMMITTRANSACTIONRESULT._serialized_end=15787 - _ROLLBACKTRANSACTIONREQUEST._serialized_start=15789 - _ROLLBACKTRANSACTIONREQUEST._serialized_end=15911 - _ROLLBACKTRANSACTIONRESPONSE._serialized_start=15913 - _ROLLBACKTRANSACTIONRESPONSE._serialized_end=15988 - _STORAGEPOLICYDESCRIPTION._serialized_start=15991 - _STORAGEPOLICYDESCRIPTION._serialized_end=16143 - _STORAGEPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16098 - _STORAGEPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16143 - _COMPACTIONPOLICYDESCRIPTION._serialized_start=16146 - _COMPACTIONPOLICYDESCRIPTION._serialized_end=16304 - _COMPACTIONPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16098 - _COMPACTIONPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16143 - _PARTITIONINGPOLICYDESCRIPTION._serialized_start=16307 - _PARTITIONINGPOLICYDESCRIPTION._serialized_end=16469 - _PARTITIONINGPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16098 - _PARTITIONINGPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16143 - _EXECUTIONPOLICYDESCRIPTION._serialized_start=16472 - _EXECUTIONPOLICYDESCRIPTION._serialized_end=16628 - _EXECUTIONPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16098 - _EXECUTIONPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16143 - _REPLICATIONPOLICYDESCRIPTION._serialized_start=16631 - _REPLICATIONPOLICYDESCRIPTION._serialized_end=16791 - _REPLICATIONPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16098 - _REPLICATIONPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16143 - _CACHINGPOLICYDESCRIPTION._serialized_start=16794 - _CACHINGPOLICYDESCRIPTION._serialized_end=16946 - _CACHINGPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16098 - _CACHINGPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16143 - _TABLEPROFILEDESCRIPTION._serialized_start=16949 - _TABLEPROFILEDESCRIPTION._serialized_end=17523 - _TABLEPROFILEDESCRIPTION_LABELSENTRY._serialized_start=16098 - _TABLEPROFILEDESCRIPTION_LABELSENTRY._serialized_end=16143 - _DESCRIBETABLEOPTIONSREQUEST._serialized_start=17525 - _DESCRIBETABLEOPTIONSREQUEST._serialized_end=17613 - _DESCRIBETABLEOPTIONSRESPONSE._serialized_start=17615 - _DESCRIBETABLEOPTIONSRESPONSE._serialized_end=17691 - _DESCRIBETABLEOPTIONSRESULT._serialized_start=17694 - _DESCRIBETABLEOPTIONSRESULT._serialized_end=18231 - _KEYRANGE._serialized_start=18234 - _KEYRANGE._serialized_end=18426 - _READTABLEREQUEST._serialized_start=18429 - _READTABLEREQUEST._serialized_end=18741 - _READTABLERESPONSE._serialized_start=18744 - _READTABLERESPONSE._serialized_end=18932 - _READTABLERESULT._serialized_start=18934 - _READTABLERESULT._serialized_end=18987 - _READROWSREQUEST._serialized_start=18989 - _READROWSREQUEST._serialized_end=19088 - _READROWSRESPONSE._serialized_start=19091 - _READROWSRESPONSE._serialized_end=19229 - _BULKUPSERTREQUEST._serialized_start=19232 - _BULKUPSERTREQUEST._serialized_end=19501 - _BULKUPSERTRESPONSE._serialized_start=19503 - _BULKUPSERTRESPONSE._serialized_end=19569 - _BULKUPSERTRESULT._serialized_start=19571 - _BULKUPSERTRESULT._serialized_end=19589 - _EXECUTESCANQUERYREQUEST._serialized_start=19592 - _EXECUTESCANQUERYREQUEST._serialized_end=20027 - _EXECUTESCANQUERYREQUEST_PARAMETERSENTRY._serialized_start=13354 - _EXECUTESCANQUERYREQUEST_PARAMETERSENTRY._serialized_end=13420 - _EXECUTESCANQUERYREQUEST_MODE._serialized_start=19942 - _EXECUTESCANQUERYREQUEST_MODE._serialized_end=20003 - _EXECUTESCANQUERYPARTIALRESPONSE._serialized_start=20030 - _EXECUTESCANQUERYPARTIALRESPONSE._serialized_end=20205 - _EXECUTESCANQUERYPARTIALRESULT._serialized_start=20208 - _EXECUTESCANQUERYPARTIALRESULT._serialized_end=20380 + _CHANGEFEED._serialized_end=2787 + _CHANGEFEED_ATTRIBUTESENTRY._serialized_start=2738 + _CHANGEFEED_ATTRIBUTESENTRY._serialized_end=2787 + _CHANGEFEEDDESCRIPTION._serialized_start=2790 + _CHANGEFEEDDESCRIPTION._serialized_end=3487 + _CHANGEFEEDDESCRIPTION_INITIALSCANPROGRESS._serialized_start=3274 + _CHANGEFEEDDESCRIPTION_INITIALSCANPROGRESS._serialized_end=3341 + _CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY._serialized_start=2738 + _CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY._serialized_end=2787 + _CHANGEFEEDDESCRIPTION_STATE._serialized_start=3394 + _CHANGEFEEDDESCRIPTION_STATE._serialized_end=3487 + _STORAGEPOOL._serialized_start=3489 + _STORAGEPOOL._serialized_end=3517 + _STORAGEPOLICY._serialized_start=3520 + _STORAGEPOLICY._serialized_end=3818 + _COLUMNFAMILYPOLICY._serialized_start=3821 + _COLUMNFAMILYPOLICY._serialized_end=4126 + _COLUMNFAMILYPOLICY_COMPRESSION._serialized_start=4050 + _COLUMNFAMILYPOLICY_COMPRESSION._serialized_end=4126 + _COMPACTIONPOLICY._serialized_start=4128 + _COMPACTIONPOLICY._serialized_end=4167 + _EXPLICITPARTITIONS._serialized_start=4169 + _EXPLICITPARTITIONS._serialized_end=4228 + _PARTITIONSTATS._serialized_start=4230 + _PARTITIONSTATS._serialized_end=4313 + _TABLESTATS._serialized_start=4316 + _TABLESTATS._serialized_end=4549 + _PARTITIONINGPOLICY._serialized_start=4552 + _PARTITIONINGPOLICY._serialized_end=4900 + _PARTITIONINGPOLICY_AUTOPARTITIONINGPOLICY._serialized_start=4768 + _PARTITIONINGPOLICY_AUTOPARTITIONINGPOLICY._serialized_end=4886 + _EXECUTIONPOLICY._serialized_start=4902 + _EXECUTIONPOLICY._serialized_end=4940 + _REPLICATIONPOLICY._serialized_start=4943 + _REPLICATIONPOLICY._serialized_end=5120 + _CACHINGPOLICY._serialized_start=5122 + _CACHINGPOLICY._serialized_end=5158 + _TABLEPROFILE._serialized_start=5161 + _TABLEPROFILE._serialized_end=5524 + _SEQUENCEDESCRIPTION._serialized_start=5527 + _SEQUENCEDESCRIPTION._serialized_end=5953 + _SEQUENCEDESCRIPTION_SETVAL._serialized_start=5768 + _SEQUENCEDESCRIPTION_SETVAL._serialized_end=5854 + _COLUMNMETA._serialized_start=5956 + _COLUMNMETA._serialized_end=6174 + _DATETYPECOLUMNMODESETTINGS._serialized_start=6176 + _DATETYPECOLUMNMODESETTINGS._serialized_end=6255 + _VALUESINCEUNIXEPOCHMODESETTINGS._serialized_start=6258 + _VALUESINCEUNIXEPOCHMODESETTINGS._serialized_end=6528 + _VALUESINCEUNIXEPOCHMODESETTINGS_UNIT._serialized_start=6414 + _VALUESINCEUNIXEPOCHMODESETTINGS_UNIT._serialized_end=6528 + _TTLSETTINGS._serialized_start=6531 + _TTLSETTINGS._serialized_end=6727 + _STORAGESETTINGS._serialized_start=6730 + _STORAGESETTINGS._serialized_end=6948 + _COLUMNFAMILY._serialized_start=6951 + _COLUMNFAMILY._serialized_end=7211 + _COLUMNFAMILY_COMPRESSION._serialized_start=7126 + _COLUMNFAMILY_COMPRESSION._serialized_end=7211 + _PARTITIONINGSETTINGS._serialized_start=7214 + _PARTITIONINGSETTINGS._serialized_end=7461 + _AZREADREPLICASSETTINGS._serialized_start=7463 + _AZREADREPLICASSETTINGS._serialized_end=7530 + _CLUSTERREPLICASSETTINGS._serialized_start=7532 + _CLUSTERREPLICASSETTINGS._serialized_end=7627 + _READREPLICASSETTINGS._serialized_start=7629 + _READREPLICASSETTINGS._serialized_end=7745 + _CREATETABLEREQUEST._serialized_start=7748 + _CREATETABLEREQUEST._serialized_end=8686 + _CREATETABLEREQUEST_ATTRIBUTESENTRY._serialized_start=2738 + _CREATETABLEREQUEST_ATTRIBUTESENTRY._serialized_end=2787 + _CREATETABLERESPONSE._serialized_start=8688 + _CREATETABLERESPONSE._serialized_end=8755 + _DROPTABLEREQUEST._serialized_start=8757 + _DROPTABLEREQUEST._serialized_end=8874 + _DROPTABLERESPONSE._serialized_start=8876 + _DROPTABLERESPONSE._serialized_end=8941 + _RENAMEINDEXITEM._serialized_start=8943 + _RENAMEINDEXITEM._serialized_end=9036 + _ALTERTABLEREQUEST._serialized_start=9039 + _ALTERTABLEREQUEST._serialized_end=10212 + _ALTERTABLEREQUEST_ALTERATTRIBUTESENTRY._serialized_start=10126 + _ALTERTABLEREQUEST_ALTERATTRIBUTESENTRY._serialized_end=10180 + _ALTERTABLERESPONSE._serialized_start=10214 + _ALTERTABLERESPONSE._serialized_end=10280 + _COPYTABLEREQUEST._serialized_start=10283 + _COPYTABLEREQUEST._serialized_end=10427 + _COPYTABLERESPONSE._serialized_start=10429 + _COPYTABLERESPONSE._serialized_end=10494 + _COPYTABLEITEM._serialized_start=10496 + _COPYTABLEITEM._serialized_end=10580 + _COPYTABLESREQUEST._serialized_start=10583 + _COPYTABLESREQUEST._serialized_end=10723 + _COPYTABLESRESPONSE._serialized_start=10725 + _COPYTABLESRESPONSE._serialized_end=10791 + _RENAMETABLEITEM._serialized_start=10793 + _RENAMETABLEITEM._serialized_end=10886 + _RENAMETABLESREQUEST._serialized_start=10889 + _RENAMETABLESREQUEST._serialized_end=11033 + _RENAMETABLESRESPONSE._serialized_start=11035 + _RENAMETABLESRESPONSE._serialized_end=11103 + _DESCRIBETABLEREQUEST._serialized_start=11106 + _DESCRIBETABLEREQUEST._serialized_end=11376 + _DESCRIBETABLERESPONSE._serialized_start=11378 + _DESCRIBETABLERESPONSE._serialized_end=11447 + _DESCRIBETABLERESULT._serialized_start=11450 + _DESCRIBETABLERESULT._serialized_end=12291 + _DESCRIBETABLERESULT_ATTRIBUTESENTRY._serialized_start=2738 + _DESCRIBETABLERESULT_ATTRIBUTESENTRY._serialized_end=2787 + _QUERY._serialized_start=12293 + _QUERY._serialized_end=12343 + _SERIALIZABLEMODESETTINGS._serialized_start=12345 + _SERIALIZABLEMODESETTINGS._serialized_end=12371 + _ONLINEMODESETTINGS._serialized_start=12373 + _ONLINEMODESETTINGS._serialized_end=12427 + _STALEMODESETTINGS._serialized_start=12429 + _STALEMODESETTINGS._serialized_end=12448 + _SNAPSHOTMODESETTINGS._serialized_start=12450 + _SNAPSHOTMODESETTINGS._serialized_end=12472 + _SNAPSHOTRWMODESETTINGS._serialized_start=12474 + _SNAPSHOTRWMODESETTINGS._serialized_end=12498 + _TRANSACTIONSETTINGS._serialized_start=12501 + _TRANSACTIONSETTINGS._serialized_end=12850 + _TRANSACTIONCONTROL._serialized_start=12852 + _TRANSACTIONCONTROL._serialized_end=12975 + _QUERYCACHEPOLICY._serialized_start=12977 + _QUERYCACHEPOLICY._serialized_end=13018 + _QUERYSTATSCOLLECTION._serialized_start=13021 + _QUERYSTATSCOLLECTION._serialized_end=13198 + _QUERYSTATSCOLLECTION_MODE._serialized_start=13046 + _QUERYSTATSCOLLECTION_MODE._serialized_end=13198 + _EXECUTEDATAQUERYREQUEST._serialized_start=13201 + _EXECUTEDATAQUERYREQUEST._serialized_end=13647 + _EXECUTEDATAQUERYREQUEST_PARAMETERSENTRY._serialized_start=13581 + _EXECUTEDATAQUERYREQUEST_PARAMETERSENTRY._serialized_end=13647 + _EXECUTEDATAQUERYRESPONSE._serialized_start=13649 + _EXECUTEDATAQUERYRESPONSE._serialized_end=13721 + _EXECUTESCHEMEQUERYREQUEST._serialized_start=13723 + _EXECUTESCHEMEQUERYREQUEST._serialized_end=13847 + _EXECUTESCHEMEQUERYRESPONSE._serialized_start=13849 + _EXECUTESCHEMEQUERYRESPONSE._serialized_end=13923 + _TRANSACTIONMETA._serialized_start=13925 + _TRANSACTIONMETA._serialized_end=13954 + _QUERYMETA._serialized_start=13957 + _QUERYMETA._serialized_end=14116 + _QUERYMETA_PARAMETERSTYPESENTRY._serialized_start=14051 + _QUERYMETA_PARAMETERSTYPESENTRY._serialized_end=14116 + _EXECUTEQUERYRESULT._serialized_start=14119 + _EXECUTEQUERYRESULT._serialized_end=14312 + _EXPLAINDATAQUERYREQUEST._serialized_start=14315 + _EXPLAINDATAQUERYREQUEST._serialized_end=14471 + _EXPLAINDATAQUERYRESPONSE._serialized_start=14473 + _EXPLAINDATAQUERYRESPONSE._serialized_end=14545 + _EXPLAINQUERYRESULT._serialized_start=14547 + _EXPLAINQUERYRESULT._serialized_end=14638 + _PREPAREDATAQUERYREQUEST._serialized_start=14640 + _PREPAREDATAQUERYREQUEST._serialized_end=14762 + _PREPAREDATAQUERYRESPONSE._serialized_start=14764 + _PREPAREDATAQUERYRESPONSE._serialized_end=14836 + _PREPAREQUERYRESULT._serialized_start=14839 + _PREPAREQUERYRESULT._serialized_end=15022 + _PREPAREQUERYRESULT_PARAMETERSTYPESENTRY._serialized_start=14051 + _PREPAREQUERYRESULT_PARAMETERSTYPESENTRY._serialized_end=14116 + _KEEPALIVEREQUEST._serialized_start=15024 + _KEEPALIVEREQUEST._serialized_end=15121 + _KEEPALIVERESPONSE._serialized_start=15123 + _KEEPALIVERESPONSE._serialized_end=15188 + _KEEPALIVERESULT._serialized_start=15191 + _KEEPALIVERESULT._serialized_end=15374 + _KEEPALIVERESULT_SESSIONSTATUS._serialized_start=15276 + _KEEPALIVERESULT_SESSIONSTATUS._serialized_end=15374 + _BEGINTRANSACTIONREQUEST._serialized_start=15377 + _BEGINTRANSACTIONREQUEST._serialized_end=15534 + _BEGINTRANSACTIONRESPONSE._serialized_start=15536 + _BEGINTRANSACTIONRESPONSE._serialized_end=15608 + _BEGINTRANSACTIONRESULT._serialized_start=15610 + _BEGINTRANSACTIONRESULT._serialized_end=15679 + _COMMITTRANSACTIONREQUEST._serialized_start=15682 + _COMMITTRANSACTIONREQUEST._serialized_end=15863 + _COMMITTRANSACTIONRESPONSE._serialized_start=15865 + _COMMITTRANSACTIONRESPONSE._serialized_end=15938 + _COMMITTRANSACTIONRESULT._serialized_start=15940 + _COMMITTRANSACTIONRESULT._serialized_end=16014 + _ROLLBACKTRANSACTIONREQUEST._serialized_start=16016 + _ROLLBACKTRANSACTIONREQUEST._serialized_end=16138 + _ROLLBACKTRANSACTIONRESPONSE._serialized_start=16140 + _ROLLBACKTRANSACTIONRESPONSE._serialized_end=16215 + _STORAGEPOLICYDESCRIPTION._serialized_start=16218 + _STORAGEPOLICYDESCRIPTION._serialized_end=16370 + _STORAGEPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16325 + _STORAGEPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16370 + _COMPACTIONPOLICYDESCRIPTION._serialized_start=16373 + _COMPACTIONPOLICYDESCRIPTION._serialized_end=16531 + _COMPACTIONPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16325 + _COMPACTIONPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16370 + _PARTITIONINGPOLICYDESCRIPTION._serialized_start=16534 + _PARTITIONINGPOLICYDESCRIPTION._serialized_end=16696 + _PARTITIONINGPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16325 + _PARTITIONINGPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16370 + _EXECUTIONPOLICYDESCRIPTION._serialized_start=16699 + _EXECUTIONPOLICYDESCRIPTION._serialized_end=16855 + _EXECUTIONPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16325 + _EXECUTIONPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16370 + _REPLICATIONPOLICYDESCRIPTION._serialized_start=16858 + _REPLICATIONPOLICYDESCRIPTION._serialized_end=17018 + _REPLICATIONPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16325 + _REPLICATIONPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16370 + _CACHINGPOLICYDESCRIPTION._serialized_start=17021 + _CACHINGPOLICYDESCRIPTION._serialized_end=17173 + _CACHINGPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16325 + _CACHINGPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16370 + _TABLEPROFILEDESCRIPTION._serialized_start=17176 + _TABLEPROFILEDESCRIPTION._serialized_end=17750 + _TABLEPROFILEDESCRIPTION_LABELSENTRY._serialized_start=16325 + _TABLEPROFILEDESCRIPTION_LABELSENTRY._serialized_end=16370 + _DESCRIBETABLEOPTIONSREQUEST._serialized_start=17752 + _DESCRIBETABLEOPTIONSREQUEST._serialized_end=17840 + _DESCRIBETABLEOPTIONSRESPONSE._serialized_start=17842 + _DESCRIBETABLEOPTIONSRESPONSE._serialized_end=17918 + _DESCRIBETABLEOPTIONSRESULT._serialized_start=17921 + _DESCRIBETABLEOPTIONSRESULT._serialized_end=18458 + _KEYRANGE._serialized_start=18461 + _KEYRANGE._serialized_end=18653 + _READTABLEREQUEST._serialized_start=18656 + _READTABLEREQUEST._serialized_end=18968 + _READTABLERESPONSE._serialized_start=18971 + _READTABLERESPONSE._serialized_end=19159 + _READTABLERESULT._serialized_start=19161 + _READTABLERESULT._serialized_end=19214 + _READROWSREQUEST._serialized_start=19216 + _READROWSREQUEST._serialized_end=19315 + _READROWSRESPONSE._serialized_start=19318 + _READROWSRESPONSE._serialized_end=19456 + _BULKUPSERTREQUEST._serialized_start=19459 + _BULKUPSERTREQUEST._serialized_end=19728 + _BULKUPSERTRESPONSE._serialized_start=19730 + _BULKUPSERTRESPONSE._serialized_end=19796 + _BULKUPSERTRESULT._serialized_start=19798 + _BULKUPSERTRESULT._serialized_end=19816 + _EXECUTESCANQUERYREQUEST._serialized_start=19819 + _EXECUTESCANQUERYREQUEST._serialized_end=20258 + _EXECUTESCANQUERYREQUEST_PARAMETERSENTRY._serialized_start=13581 + _EXECUTESCANQUERYREQUEST_PARAMETERSENTRY._serialized_end=13647 + _EXECUTESCANQUERYREQUEST_MODE._serialized_start=20173 + _EXECUTESCANQUERYREQUEST_MODE._serialized_end=20234 + _EXECUTESCANQUERYPARTIALRESPONSE._serialized_start=20261 + _EXECUTESCANQUERYPARTIALRESPONSE._serialized_end=20436 + _EXECUTESCANQUERYPARTIALRESULT._serialized_start=20439 + _EXECUTESCANQUERYPARTIALRESULT._serialized_end=20656 + _DESCRIBEEXTERNALDATASOURCEREQUEST._serialized_start=20658 + _DESCRIBEEXTERNALDATASOURCEREQUEST._serialized_end=20766 + _DESCRIBEEXTERNALDATASOURCERESPONSE._serialized_start=20768 + _DESCRIBEEXTERNALDATASOURCERESPONSE._serialized_end=20850 + _DESCRIBEEXTERNALDATASOURCERESULT._serialized_start=20853 + _DESCRIBEEXTERNALDATASOURCERESULT._serialized_end=21130 + _DESCRIBEEXTERNALDATASOURCERESULT_PROPERTIESENTRY._serialized_start=21052 + _DESCRIBEEXTERNALDATASOURCERESULT_PROPERTIESENTRY._serialized_end=21101 + _DESCRIBEEXTERNALTABLEREQUEST._serialized_start=21132 + _DESCRIBEEXTERNALTABLEREQUEST._serialized_end=21235 + _DESCRIBEEXTERNALTABLERESPONSE._serialized_start=21237 + _DESCRIBEEXTERNALTABLERESPONSE._serialized_end=21314 + _DESCRIBEEXTERNALTABLERESULT._serialized_start=21317 + _DESCRIBEEXTERNALTABLERESULT._serialized_end=21667 + _DESCRIBEEXTERNALTABLERESULT_CONTENTENTRY._serialized_start=21571 + _DESCRIBEEXTERNALTABLERESULT_CONTENTENTRY._serialized_end=21617 + _DESCRIBESYSTEMVIEWREQUEST._serialized_start=21669 + _DESCRIBESYSTEMVIEWREQUEST._serialized_end=21769 + _DESCRIBESYSTEMVIEWRESPONSE._serialized_start=21771 + _DESCRIBESYSTEMVIEWRESPONSE._serialized_end=21845 + _DESCRIBESYSTEMVIEWRESULT._serialized_start=21848 + _DESCRIBESYSTEMVIEWRESULT._serialized_end=22136 + _DESCRIBESYSTEMVIEWRESULT_ATTRIBUTESENTRY._serialized_start=2738 + _DESCRIBESYSTEMVIEWRESULT_ATTRIBUTESENTRY._serialized_end=2787 # @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v4/protos/ydb_table_pb2.pyi b/ydb/_grpc/v4/protos/ydb_table_pb2.pyi index de87fb444..3c92806e2 100644 --- a/ydb/_grpc/v4/protos/ydb_table_pb2.pyi +++ b/ydb/_grpc/v4/protos/ydb_table_pb2.pyi @@ -163,7 +163,7 @@ class CachingPolicyDescription(_message.Message): def __init__(self, name: _Optional[str] = ..., labels: _Optional[_Mapping[str, str]] = ...) -> None: ... class Changefeed(_message.Message): - __slots__ = ["attributes", "aws_region", "format", "initial_scan", "mode", "name", "resolved_timestamps_interval", "retention_period", "topic_partitioning_settings", "virtual_timestamps"] + __slots__ = ["attributes", "aws_region", "format", "initial_scan", "mode", "name", "resolved_timestamps_interval", "retention_period", "schema_changes", "topic_partitioning_settings", "virtual_timestamps"] class AttributesEntry(_message.Message): __slots__ = ["key", "value"] KEY_FIELD_NUMBER: _ClassVar[int] @@ -179,6 +179,7 @@ class Changefeed(_message.Message): NAME_FIELD_NUMBER: _ClassVar[int] RESOLVED_TIMESTAMPS_INTERVAL_FIELD_NUMBER: _ClassVar[int] RETENTION_PERIOD_FIELD_NUMBER: _ClassVar[int] + SCHEMA_CHANGES_FIELD_NUMBER: _ClassVar[int] TOPIC_PARTITIONING_SETTINGS_FIELD_NUMBER: _ClassVar[int] VIRTUAL_TIMESTAMPS_FIELD_NUMBER: _ClassVar[int] attributes: _containers.ScalarMap[str, str] @@ -189,12 +190,13 @@ class Changefeed(_message.Message): name: str resolved_timestamps_interval: _duration_pb2.Duration retention_period: _duration_pb2.Duration + schema_changes: bool topic_partitioning_settings: _ydb_topic_pb2.PartitioningSettings virtual_timestamps: bool - def __init__(self, name: _Optional[str] = ..., mode: _Optional[_Union[ChangefeedMode.Mode, str]] = ..., format: _Optional[_Union[ChangefeedFormat.Format, str]] = ..., retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., virtual_timestamps: bool = ..., initial_scan: bool = ..., attributes: _Optional[_Mapping[str, str]] = ..., aws_region: _Optional[str] = ..., resolved_timestamps_interval: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., topic_partitioning_settings: _Optional[_Union[_ydb_topic_pb2.PartitioningSettings, _Mapping]] = ...) -> None: ... + def __init__(self, name: _Optional[str] = ..., mode: _Optional[_Union[ChangefeedMode.Mode, str]] = ..., format: _Optional[_Union[ChangefeedFormat.Format, str]] = ..., retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., virtual_timestamps: bool = ..., initial_scan: bool = ..., attributes: _Optional[_Mapping[str, str]] = ..., aws_region: _Optional[str] = ..., resolved_timestamps_interval: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., topic_partitioning_settings: _Optional[_Union[_ydb_topic_pb2.PartitioningSettings, _Mapping]] = ..., schema_changes: bool = ...) -> None: ... class ChangefeedDescription(_message.Message): - __slots__ = ["attributes", "aws_region", "format", "mode", "name", "resolved_timestamps_interval", "state", "virtual_timestamps"] + __slots__ = ["attributes", "aws_region", "format", "initial_scan_progress", "mode", "name", "resolved_timestamps_interval", "schema_changes", "state", "virtual_timestamps"] class State(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): __slots__ = [] class AttributesEntry(_message.Message): @@ -204,12 +206,21 @@ class ChangefeedDescription(_message.Message): key: str value: str def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + class InitialScanProgress(_message.Message): + __slots__ = ["parts_completed", "parts_total"] + PARTS_COMPLETED_FIELD_NUMBER: _ClassVar[int] + PARTS_TOTAL_FIELD_NUMBER: _ClassVar[int] + parts_completed: int + parts_total: int + def __init__(self, parts_total: _Optional[int] = ..., parts_completed: _Optional[int] = ...) -> None: ... ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] AWS_REGION_FIELD_NUMBER: _ClassVar[int] FORMAT_FIELD_NUMBER: _ClassVar[int] + INITIAL_SCAN_PROGRESS_FIELD_NUMBER: _ClassVar[int] MODE_FIELD_NUMBER: _ClassVar[int] NAME_FIELD_NUMBER: _ClassVar[int] RESOLVED_TIMESTAMPS_INTERVAL_FIELD_NUMBER: _ClassVar[int] + SCHEMA_CHANGES_FIELD_NUMBER: _ClassVar[int] STATE_DISABLED: ChangefeedDescription.State STATE_ENABLED: ChangefeedDescription.State STATE_FIELD_NUMBER: _ClassVar[int] @@ -219,12 +230,14 @@ class ChangefeedDescription(_message.Message): attributes: _containers.ScalarMap[str, str] aws_region: str format: ChangefeedFormat.Format + initial_scan_progress: ChangefeedDescription.InitialScanProgress mode: ChangefeedMode.Mode name: str resolved_timestamps_interval: _duration_pb2.Duration + schema_changes: bool state: ChangefeedDescription.State virtual_timestamps: bool - def __init__(self, name: _Optional[str] = ..., mode: _Optional[_Union[ChangefeedMode.Mode, str]] = ..., format: _Optional[_Union[ChangefeedFormat.Format, str]] = ..., state: _Optional[_Union[ChangefeedDescription.State, str]] = ..., virtual_timestamps: bool = ..., attributes: _Optional[_Mapping[str, str]] = ..., aws_region: _Optional[str] = ..., resolved_timestamps_interval: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... + def __init__(self, name: _Optional[str] = ..., mode: _Optional[_Union[ChangefeedMode.Mode, str]] = ..., format: _Optional[_Union[ChangefeedFormat.Format, str]] = ..., state: _Optional[_Union[ChangefeedDescription.State, str]] = ..., virtual_timestamps: bool = ..., attributes: _Optional[_Mapping[str, str]] = ..., aws_region: _Optional[str] = ..., resolved_timestamps_interval: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., initial_scan_progress: _Optional[_Union[ChangefeedDescription.InitialScanProgress, _Mapping]] = ..., schema_changes: bool = ...) -> None: ... class ChangefeedFormat(_message.Message): __slots__ = [] @@ -492,6 +505,113 @@ class DeleteSessionResponse(_message.Message): operation: _ydb_operation_pb2.Operation def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... +class DescribeExternalDataSourceRequest(_message.Message): + __slots__ = ["operation_params", "path"] + OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + operation_params: _ydb_operation_pb2.OperationParams + path: str + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ...) -> None: ... + +class DescribeExternalDataSourceResponse(_message.Message): + __slots__ = ["operation"] + OPERATION_FIELD_NUMBER: _ClassVar[int] + operation: _ydb_operation_pb2.Operation + def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... + +class DescribeExternalDataSourceResult(_message.Message): + __slots__ = ["location", "properties", "self", "source_type"] + class PropertiesEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + LOCATION_FIELD_NUMBER: _ClassVar[int] + PROPERTIES_FIELD_NUMBER: _ClassVar[int] + SELF_FIELD_NUMBER: _ClassVar[int] + SOURCE_TYPE_FIELD_NUMBER: _ClassVar[int] + location: str + properties: _containers.ScalarMap[str, str] + self: _ydb_scheme_pb2.Entry + source_type: str + def __init__(self, self_: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., source_type: _Optional[str] = ..., location: _Optional[str] = ..., properties: _Optional[_Mapping[str, str]] = ...) -> None: ... + +class DescribeExternalTableRequest(_message.Message): + __slots__ = ["operation_params", "path"] + OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + operation_params: _ydb_operation_pb2.OperationParams + path: str + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ...) -> None: ... + +class DescribeExternalTableResponse(_message.Message): + __slots__ = ["operation"] + OPERATION_FIELD_NUMBER: _ClassVar[int] + operation: _ydb_operation_pb2.Operation + def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... + +class DescribeExternalTableResult(_message.Message): + __slots__ = ["columns", "content", "data_source_path", "location", "self", "source_type"] + class ContentEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + COLUMNS_FIELD_NUMBER: _ClassVar[int] + CONTENT_FIELD_NUMBER: _ClassVar[int] + DATA_SOURCE_PATH_FIELD_NUMBER: _ClassVar[int] + LOCATION_FIELD_NUMBER: _ClassVar[int] + SELF_FIELD_NUMBER: _ClassVar[int] + SOURCE_TYPE_FIELD_NUMBER: _ClassVar[int] + columns: _containers.RepeatedCompositeFieldContainer[ColumnMeta] + content: _containers.ScalarMap[str, str] + data_source_path: str + location: str + self: _ydb_scheme_pb2.Entry + source_type: str + def __init__(self, self_: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., source_type: _Optional[str] = ..., data_source_path: _Optional[str] = ..., location: _Optional[str] = ..., columns: _Optional[_Iterable[_Union[ColumnMeta, _Mapping]]] = ..., content: _Optional[_Mapping[str, str]] = ...) -> None: ... + +class DescribeSystemViewRequest(_message.Message): + __slots__ = ["operation_params", "path"] + OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + operation_params: _ydb_operation_pb2.OperationParams + path: str + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ...) -> None: ... + +class DescribeSystemViewResponse(_message.Message): + __slots__ = ["operation"] + OPERATION_FIELD_NUMBER: _ClassVar[int] + operation: _ydb_operation_pb2.Operation + def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... + +class DescribeSystemViewResult(_message.Message): + __slots__ = ["attributes", "columns", "primary_key", "self", "sys_view_id", "sys_view_name"] + class AttributesEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + COLUMNS_FIELD_NUMBER: _ClassVar[int] + PRIMARY_KEY_FIELD_NUMBER: _ClassVar[int] + SELF_FIELD_NUMBER: _ClassVar[int] + SYS_VIEW_ID_FIELD_NUMBER: _ClassVar[int] + SYS_VIEW_NAME_FIELD_NUMBER: _ClassVar[int] + attributes: _containers.ScalarMap[str, str] + columns: _containers.RepeatedCompositeFieldContainer[ColumnMeta] + primary_key: _containers.RepeatedScalarFieldContainer[str] + self: _ydb_scheme_pb2.Entry + sys_view_id: int + sys_view_name: str + def __init__(self, self_: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., sys_view_id: _Optional[int] = ..., sys_view_name: _Optional[str] = ..., columns: _Optional[_Iterable[_Union[ColumnMeta, _Mapping]]] = ..., primary_key: _Optional[_Iterable[str]] = ..., attributes: _Optional[_Mapping[str, str]] = ...) -> None: ... + class DescribeTableOptionsRequest(_message.Message): __slots__ = ["operation_params"] OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] @@ -523,8 +643,9 @@ class DescribeTableOptionsResult(_message.Message): def __init__(self, table_profile_presets: _Optional[_Iterable[_Union[TableProfileDescription, _Mapping]]] = ..., storage_policy_presets: _Optional[_Iterable[_Union[StoragePolicyDescription, _Mapping]]] = ..., compaction_policy_presets: _Optional[_Iterable[_Union[CompactionPolicyDescription, _Mapping]]] = ..., partitioning_policy_presets: _Optional[_Iterable[_Union[PartitioningPolicyDescription, _Mapping]]] = ..., execution_policy_presets: _Optional[_Iterable[_Union[ExecutionPolicyDescription, _Mapping]]] = ..., replication_policy_presets: _Optional[_Iterable[_Union[ReplicationPolicyDescription, _Mapping]]] = ..., caching_policy_presets: _Optional[_Iterable[_Union[CachingPolicyDescription, _Mapping]]] = ...) -> None: ... class DescribeTableRequest(_message.Message): - __slots__ = ["include_partition_stats", "include_shard_key_bounds", "include_shard_nodes_info", "include_table_stats", "operation_params", "path", "session_id"] + __slots__ = ["include_partition_stats", "include_set_val", "include_shard_key_bounds", "include_shard_nodes_info", "include_table_stats", "operation_params", "path", "session_id"] INCLUDE_PARTITION_STATS_FIELD_NUMBER: _ClassVar[int] + INCLUDE_SET_VAL_FIELD_NUMBER: _ClassVar[int] INCLUDE_SHARD_KEY_BOUNDS_FIELD_NUMBER: _ClassVar[int] INCLUDE_SHARD_NODES_INFO_FIELD_NUMBER: _ClassVar[int] INCLUDE_TABLE_STATS_FIELD_NUMBER: _ClassVar[int] @@ -532,13 +653,14 @@ class DescribeTableRequest(_message.Message): PATH_FIELD_NUMBER: _ClassVar[int] SESSION_ID_FIELD_NUMBER: _ClassVar[int] include_partition_stats: bool + include_set_val: bool include_shard_key_bounds: bool include_shard_nodes_info: bool include_table_stats: bool operation_params: _ydb_operation_pb2.OperationParams path: str session_id: str - def __init__(self, session_id: _Optional[str] = ..., path: _Optional[str] = ..., operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., include_shard_key_bounds: bool = ..., include_table_stats: bool = ..., include_partition_stats: bool = ..., include_shard_nodes_info: bool = ...) -> None: ... + def __init__(self, session_id: _Optional[str] = ..., path: _Optional[str] = ..., operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., include_shard_key_bounds: bool = ..., include_table_stats: bool = ..., include_partition_stats: bool = ..., include_set_val: bool = ..., include_shard_nodes_info: bool = ...) -> None: ... class DescribeTableResponse(_message.Message): __slots__ = ["operation"] @@ -661,14 +783,16 @@ class ExecuteScanQueryPartialResponse(_message.Message): def __init__(self, status: _Optional[_Union[_ydb_status_codes_pb2.StatusIds.StatusCode, str]] = ..., issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ..., result: _Optional[_Union[ExecuteScanQueryPartialResult, _Mapping]] = ...) -> None: ... class ExecuteScanQueryPartialResult(_message.Message): - __slots__ = ["query_full_diagnostics", "query_stats", "result_set"] + __slots__ = ["query_full_diagnostics", "query_stats", "result_set", "snapshot"] QUERY_FULL_DIAGNOSTICS_FIELD_NUMBER: _ClassVar[int] QUERY_STATS_FIELD_NUMBER: _ClassVar[int] RESULT_SET_FIELD_NUMBER: _ClassVar[int] + SNAPSHOT_FIELD_NUMBER: _ClassVar[int] query_full_diagnostics: str query_stats: _ydb_query_stats_pb2.QueryStats result_set: _ydb_value_pb2.ResultSet - def __init__(self, result_set: _Optional[_Union[_ydb_value_pb2.ResultSet, _Mapping]] = ..., query_stats: _Optional[_Union[_ydb_query_stats_pb2.QueryStats, _Mapping]] = ..., query_full_diagnostics: _Optional[str] = ...) -> None: ... + snapshot: _ydb_common_pb2.VirtualTimestamp + def __init__(self, result_set: _Optional[_Union[_ydb_value_pb2.ResultSet, _Mapping]] = ..., query_stats: _Optional[_Union[_ydb_query_stats_pb2.QueryStats, _Mapping]] = ..., query_full_diagnostics: _Optional[str] = ..., snapshot: _Optional[_Union[_ydb_common_pb2.VirtualTimestamp, _Mapping]] = ...) -> None: ... class ExecuteScanQueryRequest(_message.Message): __slots__ = ["collect_full_diagnostics", "collect_stats", "mode", "parameters", "query"] diff --git a/ydb/_grpc/v4/protos/ydb_topic_pb2.py b/ydb/_grpc/v4/protos/ydb_topic_pb2.py index 262346a24..fd4f181e1 100644 --- a/ydb/_grpc/v4/protos/ydb_topic_pb2.py +++ b/ydb/_grpc/v4/protos/ydb_topic_pb2.py @@ -23,7 +23,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16protos/ydb_topic.proto\x12\tYdb.Topic\x1a\x1aprotos/ydb_operation.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\"protos/annotations/sensitive.proto\x1a#protos/annotations/validation.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"7\n\x0fSupportedCodecs\x12$\n\x06\x63odecs\x18\x01 \x03(\x05\x42\x14\xb2\xe6*\n[1; 19999]\x9a\xe6*\x02\x18\x64\"*\n\x0cOffsetsRange\x12\r\n\x05start\x18\x01 \x01(\x03\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x03\")\n\x12UpdateTokenRequest\x12\x13\n\x05token\x18\x01 \x01(\tB\x04\xb8\xe6*\x01\"\x15\n\x13UpdateTokenResponse\"C\n\x17PartitionWithGeneration\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x12\n\ngeneration\x18\x02 \x01(\x03\"*\n\x0cMetadataItem\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\"\x9e\x14\n\x12StreamWriteMessage\x1a\xe5\x01\n\nFromClient\x12\x41\n\x0cinit_request\x18\x01 \x01(\x0b\x32).Ydb.Topic.StreamWriteMessage.InitRequestH\x00\x12\x43\n\rwrite_request\x18\x02 \x01(\x0b\x32*.Ydb.Topic.StreamWriteMessage.WriteRequestH\x00\x12=\n\x14update_token_request\x18\x03 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x42\x10\n\x0e\x63lient_message\x1a\xbf\x02\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x43\n\rinit_response\x18\x03 \x01(\x0b\x32*.Ydb.Topic.StreamWriteMessage.InitResponseH\x00\x12\x45\n\x0ewrite_response\x18\x04 \x01(\x0b\x32+.Ydb.Topic.StreamWriteMessage.WriteResponseH\x00\x12?\n\x15update_token_response\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x42\x10\n\x0eserver_message\x1a\xfe\x02\n\x0bInitRequest\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x1c\n\x0bproducer_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12[\n\x12write_session_meta\x18\x03 \x03(\x0b\x32?.Ydb.Topic.StreamWriteMessage.InitRequest.WriteSessionMetaEntry\x12#\n\x10message_group_id\x18\x04 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10H\x00\x12\x16\n\x0cpartition_id\x18\x05 \x01(\x03H\x00\x12G\n\x19partition_with_generation\x18\x07 \x01(\x0b\x32\".Ydb.Topic.PartitionWithGenerationH\x00\x12\x17\n\x0fget_last_seq_no\x18\x06 \x01(\x08\x1a\x37\n\x15WriteSessionMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0cpartitioning\x1a\x83\x01\n\x0cInitResponse\x12\x13\n\x0blast_seq_no\x18\x01 \x01(\x03\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x34\n\x10supported_codecs\x18\x04 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x1a\xe8\x03\n\x0cWriteRequest\x12H\n\x08messages\x18\x01 \x03(\x0b\x32\x36.Ydb.Topic.StreamWriteMessage.WriteRequest.MessageData\x12\r\n\x05\x63odec\x18\x02 \x01(\x05\x12/\n\x02tx\x18\x03 \x01(\x0b\x32\x1e.Ydb.Topic.TransactionIdentityH\x00\x88\x01\x01\x1a\xc6\x02\n\x0bMessageData\x12\x0e\n\x06seq_no\x18\x01 \x01(\x03\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x19\n\x11uncompressed_size\x18\x04 \x01(\x03\x12#\n\x10message_group_id\x18\x05 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10H\x00\x12\x16\n\x0cpartition_id\x18\x06 \x01(\x03H\x00\x12G\n\x19partition_with_generation\x18\x08 \x01(\x0b\x32\".Ydb.Topic.PartitionWithGenerationH\x00\x12\x38\n\x0emetadata_items\x18\x07 \x03(\x0b\x32\x17.Ydb.Topic.MetadataItemB\x07\x9a\xe6*\x03\x18\xe8\x07\x42\x0e\n\x0cpartitioningB\x05\n\x03_tx\x1a\xeb\x07\n\rWriteResponse\x12\x42\n\x04\x61\x63ks\x18\x01 \x03(\x0b\x32\x34.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck\x12\x14\n\x0cpartition_id\x18\x02 \x01(\x03\x12U\n\x10write_statistics\x18\x03 \x01(\x0b\x32;.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteStatistics\x1a\xf8\x03\n\x08WriteAck\x12\x0e\n\x06seq_no\x18\x01 \x01(\x03\x12O\n\x07written\x18\x02 \x01(\x0b\x32<.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.WrittenH\x00\x12O\n\x07skipped\x18\x03 \x01(\x0b\x32<.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.SkippedH\x00\x12Y\n\rwritten_in_tx\x18\x04 \x01(\x0b\x32@.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.WrittenInTxH\x00\x1a\x19\n\x07Written\x12\x0e\n\x06offset\x18\x01 \x01(\x03\x1a\x9c\x01\n\x07Skipped\x12S\n\x06reason\x18\x01 \x01(\x0e\x32\x43.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.Skipped.Reason\"<\n\x06Reason\x12\x16\n\x12REASON_UNSPECIFIED\x10\x00\x12\x1a\n\x16REASON_ALREADY_WRITTEN\x10\x01\x1a\r\n\x0bWrittenInTxB\x16\n\x14message_write_status\x1a\xad\x02\n\x0fWriteStatistics\x12\x32\n\x0fpersisting_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13min_queue_wait_time\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13max_queue_wait_time\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19partition_quota_wait_time\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15topic_quota_wait_time\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x9c#\n\x11StreamReadMessage\x1aT\n\x10PartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x1a\xb1\x05\n\nFromClient\x12@\n\x0cinit_request\x18\x01 \x01(\x0b\x32(.Ydb.Topic.StreamReadMessage.InitRequestH\x00\x12@\n\x0cread_request\x18\x02 \x01(\x0b\x32(.Ydb.Topic.StreamReadMessage.ReadRequestH\x00\x12Q\n\x15\x63ommit_offset_request\x18\x03 \x01(\x0b\x32\x30.Ydb.Topic.StreamReadMessage.CommitOffsetRequestH\x00\x12\x66\n partition_session_status_request\x18\x04 \x01(\x0b\x32:.Ydb.Topic.StreamReadMessage.PartitionSessionStatusRequestH\x00\x12=\n\x14update_token_request\x18\x05 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x12\x45\n\x0f\x64irect_read_ack\x18\x08 \x01(\x0b\x32*.Ydb.Topic.StreamReadMessage.DirectReadAckH\x00\x12\x66\n start_partition_session_response\x18\x06 \x01(\x0b\x32:.Ydb.Topic.StreamReadMessage.StartPartitionSessionResponseH\x00\x12\x64\n\x1fstop_partition_session_response\x18\x07 \x01(\x0b\x32\x39.Ydb.Topic.StreamReadMessage.StopPartitionSessionResponseH\x00\x42\x10\n\x0e\x63lient_message\x1a\xf0\x06\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x42\n\rinit_response\x18\x03 \x01(\x0b\x32).Ydb.Topic.StreamReadMessage.InitResponseH\x00\x12\x42\n\rread_response\x18\x04 \x01(\x0b\x32).Ydb.Topic.StreamReadMessage.ReadResponseH\x00\x12S\n\x16\x63ommit_offset_response\x18\x05 \x01(\x0b\x32\x31.Ydb.Topic.StreamReadMessage.CommitOffsetResponseH\x00\x12h\n!partition_session_status_response\x18\x06 \x01(\x0b\x32;.Ydb.Topic.StreamReadMessage.PartitionSessionStatusResponseH\x00\x12?\n\x15update_token_response\x18\x07 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x12\x64\n\x1fstart_partition_session_request\x18\x08 \x01(\x0b\x32\x39.Ydb.Topic.StreamReadMessage.StartPartitionSessionRequestH\x00\x12\x62\n\x1estop_partition_session_request\x18\t \x01(\x0b\x32\x38.Ydb.Topic.StreamReadMessage.StopPartitionSessionRequestH\x00\x12W\n\x18update_partition_session\x18\n \x01(\x0b\x32\x33.Ydb.Topic.StreamReadMessage.UpdatePartitionSessionH\x00\x12Q\n\x15\x65nd_partition_session\x18\x0b \x01(\x0b\x32\x30.Ydb.Topic.StreamReadMessage.EndPartitionSessionH\x00\x42\x10\n\x0eserver_message\x1a\xdc\x02\n\x0bInitRequest\x12X\n\x14topics_read_settings\x18\x01 \x03(\x0b\x32:.Ydb.Topic.StreamReadMessage.InitRequest.TopicReadSettings\x12\x10\n\x08\x63onsumer\x18\x02 \x01(\t\x12\x13\n\x0breader_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64irect_read\x18\x04 \x01(\x08\x12!\n\x19\x61uto_partitioning_support\x18\x05 \x01(\x08\x1a\x93\x01\n\x11TopicReadSettings\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x15\n\rpartition_ids\x18\x02 \x03(\x03\x12*\n\x07max_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\tread_from\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\"\n\x0cInitResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\x1a!\n\x0bReadRequest\x12\x12\n\nbytes_size\x18\x01 \x01(\x03\x1a\x91\x06\n\x0cReadResponse\x12O\n\x0epartition_data\x18\x01 \x03(\x0b\x32\x37.Ydb.Topic.StreamReadMessage.ReadResponse.PartitionData\x12\x12\n\nbytes_size\x18\x02 \x01(\x03\x1a\xda\x01\n\x0bMessageData\x12\x0e\n\x06offset\x18\x01 \x01(\x03\x12\x0e\n\x06seq_no\x18\x02 \x01(\x03\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c\x12\x19\n\x11uncompressed_size\x18\x06 \x01(\x03\x12!\n\x10message_group_id\x18\x07 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12/\n\x0emetadata_items\x18\x08 \x03(\x0b\x32\x17.Ydb.Topic.MetadataItem\x1a\xcd\x02\n\x05\x42\x61tch\x12K\n\x0cmessage_data\x18\x01 \x03(\x0b\x32\x35.Ydb.Topic.StreamReadMessage.ReadResponse.MessageData\x12\x1c\n\x0bproducer_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12\x61\n\x12write_session_meta\x18\x03 \x03(\x0b\x32\x45.Ydb.Topic.StreamReadMessage.ReadResponse.Batch.WriteSessionMetaEntry\x12\r\n\x05\x63odec\x18\x04 \x01(\x05\x12.\n\nwritten_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x37\n\x15WriteSessionMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1ao\n\rPartitionData\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12@\n\x07\x62\x61tches\x18\x02 \x03(\x0b\x32/.Ydb.Topic.StreamReadMessage.ReadResponse.Batch\x1a\xd6\x01\n\x13\x43ommitOffsetRequest\x12^\n\x0e\x63ommit_offsets\x18\x01 \x03(\x0b\x32\x46.Ydb.Topic.StreamReadMessage.CommitOffsetRequest.PartitionCommitOffset\x1a_\n\x15PartitionCommitOffset\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12(\n\x07offsets\x18\x02 \x03(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x1a\xdc\x01\n\x14\x43ommitOffsetResponse\x12p\n\x1cpartitions_committed_offsets\x18\x01 \x03(\x0b\x32J.Ydb.Topic.StreamReadMessage.CommitOffsetResponse.PartitionCommittedOffset\x1aR\n\x18PartitionCommittedOffset\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x1a=\n\x1dPartitionSessionStatusRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x1a\xcb\x01\n\x1ePartitionSessionStatusResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x02 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x18\n\x10\x63ommitted_offset\x18\x03 \x01(\x03\x12=\n\x19write_time_high_watermark\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\xf0\x01\n\x1cStartPartitionSessionRequest\x12H\n\x11partition_session\x18\x01 \x01(\x0b\x32-.Ydb.Topic.StreamReadMessage.PartitionSession\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x03 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x38\n\x12partition_location\x18\x04 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\x95\x01\n\x1dStartPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x18\n\x0bread_offset\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x1a\n\rcommit_offset\x18\x03 \x01(\x03H\x01\x88\x01\x01\x42\x0e\n\x0c_read_offsetB\x10\n\x0e_commit_offset\x1a\x84\x01\n\x1bStopPartitionSessionRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x10\n\x08graceful\x18\x02 \x01(\x08\x12\x18\n\x10\x63ommitted_offset\x18\x03 \x01(\x03\x12\x1b\n\x13last_direct_read_id\x18\x04 \x01(\x03\x1aN\n\x1cStopPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x10\n\x08graceful\x18\x02 \x01(\x08\x1ap\n\x16UpdatePartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x38\n\x12partition_location\x18\x02 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\x45\n\rDirectReadAck\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x16\n\x0e\x64irect_read_id\x18\x02 \x01(\x03\x1ap\n\x13\x45ndPartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x1e\n\x16\x61\x64jacent_partition_ids\x18\x02 \x03(\x03\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\"\x8b\r\n\x17StreamDirectReadMessage\x1a\xa8\x02\n\nFromClient\x12\x46\n\x0cinit_request\x18\x01 \x01(\x0b\x32..Ydb.Topic.StreamDirectReadMessage.InitRequestH\x00\x12\x80\x01\n+start_direct_read_partition_session_request\x18\x02 \x01(\x0b\x32I.Ydb.Topic.StreamDirectReadMessage.StartDirectReadPartitionSessionRequestH\x00\x12=\n\x14update_token_request\x18\x03 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x42\x10\n\x0e\x63lient_message\x1a\xca\x04\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12H\n\rinit_response\x18\x06 \x01(\x0b\x32/.Ydb.Topic.StreamDirectReadMessage.InitResponseH\x00\x12\x82\x01\n,start_direct_read_partition_session_response\x18\x07 \x01(\x0b\x32J.Ydb.Topic.StreamDirectReadMessage.StartDirectReadPartitionSessionResponseH\x00\x12o\n\"stop_direct_read_partition_session\x18\x03 \x01(\x0b\x32\x41.Ydb.Topic.StreamDirectReadMessage.StopDirectReadPartitionSessionH\x00\x12U\n\x14\x64irect_read_response\x18\x04 \x01(\x0b\x32\x35.Ydb.Topic.StreamDirectReadMessage.DirectReadResponseH\x00\x12?\n\x15update_token_response\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x42\x10\n\x0eserver_message\x1a\xb6\x01\n\x0bInitRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12^\n\x14topics_read_settings\x18\x02 \x03(\x0b\x32@.Ydb.Topic.StreamDirectReadMessage.InitRequest.TopicReadSettings\x12\x10\n\x08\x63onsumer\x18\x03 \x01(\t\x1a!\n\x11TopicReadSettings\x12\x0c\n\x04path\x18\x01 \x01(\t\x1a\x0e\n\x0cInitResponse\x1aw\n&StartDirectReadPartitionSessionRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x1b\n\x13last_direct_read_id\x18\x02 \x01(\x03\x12\x12\n\ngeneration\x18\x03 \x01(\x03\x1a[\n\'StartDirectReadPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x12\n\ngeneration\x18\x02 \x01(\x03\x1a\xa6\x01\n\x1eStopDirectReadPartitionSession\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x1c\n\x14partition_session_id\x18\x03 \x01(\x03\x12\x12\n\ngeneration\x18\x04 \x01(\x03\x1a\xaf\x01\n\x12\x44irectReadResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x16\n\x0e\x64irect_read_id\x18\x02 \x01(\x03\x12O\n\x0epartition_data\x18\x03 \x01(\x0b\x32\x37.Ydb.Topic.StreamReadMessage.ReadResponse.PartitionData\x12\x12\n\nbytes_size\x18\x04 \x01(\x03\"2\n\x13TransactionIdentity\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07session\x18\x02 \x01(\t\"\xc4\x03\n!UpdateOffsetsInTransactionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12*\n\x02tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Topic.TransactionIdentity\x12I\n\x06topics\x18\x03 \x03(\x0b\x32\x39.Ydb.Topic.UpdateOffsetsInTransactionRequest.TopicOffsets\x12\x10\n\x08\x63onsumer\x18\x04 \x01(\t\x1a\xda\x01\n\x0cTopicOffsets\x12\x0c\n\x04path\x18\x01 \x01(\t\x12^\n\npartitions\x18\x02 \x03(\x0b\x32J.Ydb.Topic.UpdateOffsetsInTransactionRequest.TopicOffsets.PartitionOffsets\x1a\\\n\x10PartitionOffsets\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x02 \x03(\x0b\x32\x17.Ydb.Topic.OffsetsRange\"R\n\"UpdateOffsetsInTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\"\n UpdateOffsetsInTransactionResult\"\xaf\x01\n\x13\x43ommitOffsetRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x10\n\x08\x63onsumer\x18\x04 \x01(\t\x12\x0e\n\x06offset\x18\x05 \x01(\x03\x12\x17\n\x0fread_session_id\x18\x06 \x01(\t\"D\n\x14\x43ommitOffsetResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x14\n\x12\x43ommitOffsetResult\"L\n\x13MultipleWindowsStat\x12\x12\n\nper_minute\x18\x01 \x01(\x03\x12\x10\n\x08per_hour\x18\x02 \x01(\x03\x12\x0f\n\x07per_day\x18\x03 \x01(\x03\"\xc3\x05\n\x08\x43onsumer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\timportant\x18\x02 \x01(\x08\x12-\n\tread_from\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10supported_codecs\x18\x05 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x37\n\nattributes\x18\x06 \x03(\x0b\x32#.Ydb.Topic.Consumer.AttributesEntry\x12\x39\n\x0e\x63onsumer_stats\x18\x07 \x01(\x0b\x32!.Ydb.Topic.Consumer.ConsumerStats\x12;\n\x13\x61vailability_period\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xae\x02\n\rConsumerStats\x12\x41\n\x1dmin_partitions_last_read_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x11max_read_time_lag\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12max_write_time_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16max_committed_time_lag\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\nbytes_read\x18\x04 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStatB\x16\n\x14_availability_periodJ\x04\x08\x04\x10\x05\"\xd8\x03\n\rAlterConsumer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1a\n\rset_important\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x31\n\rset_read_from\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14set_supported_codecs\x18\x05 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12G\n\x10\x61lter_attributes\x18\x06 \x03(\x0b\x32-.Ydb.Topic.AlterConsumer.AlterAttributesEntry\x12<\n\x17set_availability_period\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12;\n\x19reset_availability_period\x18\x08 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x1c\n\x1a\x61vailability_period_actionB\x10\n\x0e_set_importantJ\x04\x08\x04\x10\x05\"\xdc\x01\n\x14PartitioningSettings\x12\'\n\x15min_active_partitions\x18\x01 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\'\n\x15max_active_partitions\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12)\n\x15partition_count_limit\x18\x02 \x01(\x03\x42\n\x18\x01\xb2\xe6*\x04>= 0\x12G\n\x1a\x61uto_partitioning_settings\x18\x04 \x01(\x0b\x32#.Ydb.Topic.AutoPartitioningSettings\"\x9f\x01\n\x18\x41utoPartitioningSettings\x12\x35\n\x08strategy\x18\x01 \x01(\x0e\x32#.Ydb.Topic.AutoPartitioningStrategy\x12L\n\x15partition_write_speed\x18\x02 \x01(\x0b\x32-.Ydb.Topic.AutoPartitioningWriteSpeedStrategy\"\xb3\x01\n\"AutoPartitioningWriteSpeedStrategy\x12\x37\n\x14stabilization_window\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n\x16up_utilization_percent\x18\x02 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0\x12*\n\x18\x64own_utilization_percent\x18\x03 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0\"\x8b\x03\n\x19\x41lterPartitioningSettings\x12\x30\n\x19set_min_active_partitions\x18\x01 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x00\x88\x01\x01\x12\x30\n\x19set_max_active_partitions\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x32\n\x19set_partition_count_limit\x18\x02 \x01(\x03\x42\n\x18\x01\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x12W\n alter_auto_partitioning_settings\x18\x04 \x01(\x0b\x32(.Ydb.Topic.AlterAutoPartitioningSettingsH\x03\x88\x01\x01\x42\x1c\n\x1a_set_min_active_partitionsB\x1c\n\x1a_set_max_active_partitionsB\x1c\n\x1a_set_partition_count_limitB#\n!_alter_auto_partitioning_settings\"\xea\x01\n\x1d\x41lterAutoPartitioningSettings\x12>\n\x0cset_strategy\x18\x01 \x01(\x0e\x32#.Ydb.Topic.AutoPartitioningStrategyH\x00\x88\x01\x01\x12Z\n\x19set_partition_write_speed\x18\x02 \x01(\x0b\x32\x32.Ydb.Topic.AlterAutoPartitioningWriteSpeedStrategyH\x01\x88\x01\x01\x42\x0f\n\r_set_strategyB\x1c\n\x1a_set_partition_write_speed\"\xb0\x02\n\'AlterAutoPartitioningWriteSpeedStrategy\x12@\n\x18set_stabilization_window\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x12\x31\n\x1aset_up_utilization_percent\x18\x02 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x33\n\x1cset_down_utilization_percent\x18\x03 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x42\x1b\n\x19_set_stabilization_windowB\x1d\n\x1b_set_up_utilization_percentB\x1f\n\x1d_set_down_utilization_percent\"\xf6\x04\n\x12\x43reateTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12>\n\x15partitioning_settings\x18\x03 \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12&\n\x14retention_storage_mb\x18\x05 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\x34\n\x10supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x38\n&partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12-\n\x1bpartition_write_burst_bytes\x18\t \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\x41\n\nattributes\x18\n \x03(\x0b\x32-.Ydb.Topic.CreateTopicRequest.AttributesEntry\x12/\n\tconsumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.ConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12.\n\rmetering_mode\x18\x0c \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x06\x10\x07\"C\n\x13\x43reateTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x13\n\x11\x43reateTopicResult\"8\n\x11PartitionLocation\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x12\n\ngeneration\x18\x02 \x01(\x03\"\x90\x01\n\x14\x44\x65scribeTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x15\n\rinclude_stats\x18\x03 \x01(\x08\x12\x18\n\x10include_location\x18\x04 \x01(\x08\"E\n\x15\x44\x65scribeTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"_\n\x11PartitionKeyRange\x12\x17\n\nfrom_bound\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x15\n\x08to_bound\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x42\r\n\x0b_from_boundB\x0b\n\t_to_bound\"\xfa\t\n\x13\x44\x65scribeTopicResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12>\n\x15partitioning_settings\x18\x02 \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12@\n\npartitions\x18\x03 \x03(\x0b\x32,.Ydb.Topic.DescribeTopicResult.PartitionInfo\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14retention_storage_mb\x18\x05 \x01(\x03\x12\x34\n\x10supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12.\n&partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x12\x33\n+partition_total_read_speed_bytes_per_second\x18\x0e \x01(\x03\x12\x36\n.partition_consumer_read_speed_bytes_per_second\x18\x0f \x01(\x03\x12#\n\x1bpartition_write_burst_bytes\x18\t \x01(\x03\x12\x42\n\nattributes\x18\n \x03(\x0b\x32..Ydb.Topic.DescribeTopicResult.AttributesEntry\x12&\n\tconsumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.Consumer\x12.\n\rmetering_mode\x18\x0c \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x12>\n\x0btopic_stats\x18\r \x01(\x0b\x32).Ydb.Topic.DescribeTopicResult.TopicStats\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x8f\x02\n\rPartitionInfo\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x61\x63tive\x18\x02 \x01(\x08\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\x12\x1c\n\x14parent_partition_ids\x18\x04 \x03(\x03\x12\x32\n\x0fpartition_stats\x18\x05 \x01(\x0b\x32\x19.Ydb.Topic.PartitionStats\x12\x38\n\x12partition_location\x18\x06 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x12/\n\tkey_range\x18\x07 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionKeyRange\x1a\xcd\x01\n\nTopicStats\x12\x18\n\x10store_size_bytes\x18\x01 \x01(\x03\x12\x37\n\x13min_last_write_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12max_write_time_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\rbytes_written\x18\x04 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStatJ\x04\x08\x06\x10\x07\"\xaa\x01\n\x18\x44\x65scribePartitionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x15\n\rinclude_stats\x18\x04 \x01(\x08\x12\x18\n\x10include_location\x18\x05 \x01(\x08\"I\n\x19\x44\x65scribePartitionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"Z\n\x17\x44\x65scribePartitionResult\x12?\n\tpartition\x18\x01 \x01(\x0b\x32,.Ydb.Topic.DescribeTopicResult.PartitionInfo\"\xa5\x01\n\x17\x44\x65scribeConsumerRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x10\n\x08\x63onsumer\x18\x03 \x01(\t\x12\x15\n\rinclude_stats\x18\x04 \x01(\x08\x12\x18\n\x10include_location\x18\x05 \x01(\x08\"H\n\x18\x44\x65scribeConsumerResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xd3\x07\n\x16\x44\x65scribeConsumerResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12%\n\x08\x63onsumer\x18\x02 \x01(\x0b\x32\x13.Ydb.Topic.Consumer\x12\x43\n\npartitions\x18\x03 \x03(\x0b\x32/.Ydb.Topic.DescribeConsumerResult.PartitionInfo\x1a\xba\x02\n\rPartitionInfo\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x61\x63tive\x18\x02 \x01(\x08\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\x12\x1c\n\x14parent_partition_ids\x18\x04 \x03(\x03\x12\x32\n\x0fpartition_stats\x18\x05 \x01(\x0b\x32\x19.Ydb.Topic.PartitionStats\x12Z\n\x18partition_consumer_stats\x18\x06 \x01(\x0b\x32\x38.Ydb.Topic.DescribeConsumerResult.PartitionConsumerStats\x12\x38\n\x12partition_location\x18\x07 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\xee\x03\n\x16PartitionConsumerStats\x12\x18\n\x10last_read_offset\x18\x01 \x01(\x03\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x12\x17\n\x0fread_session_id\x18\x03 \x01(\t\x12\x46\n\"partition_read_session_create_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0elast_read_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x11max_read_time_lag\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12max_write_time_lag\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16max_committed_time_lag\x18\r \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\nbytes_read\x18\x08 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStat\x12\x13\n\x0breader_name\x18\x0b \x01(\t\x12\x1a\n\x12\x63onnection_node_id\x18\x0c \x01(\x05\"\xa0\x02\n\x0ePartitionStats\x12\x32\n\x11partition_offsets\x18\x01 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x18\n\x10store_size_bytes\x18\x02 \x01(\x03\x12\x33\n\x0flast_write_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12max_write_time_lag\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\rbytes_written\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStat\x12\x1d\n\x11partition_node_id\x18\x08 \x01(\x05\x42\x02\x18\x01\"\x87\x07\n\x11\x41lterTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12I\n\x1b\x61lter_partitioning_settings\x18\x03 \x01(\x0b\x32$.Ydb.Topic.AlterPartitioningSettings\x12\x37\n\x14set_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x18set_retention_storage_mb\x18\x05 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x00\x88\x01\x01\x12\x38\n\x14set_supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x41\n*set_partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x36\n\x1fset_partition_write_burst_bytes\x18\t \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x12K\n\x10\x61lter_attributes\x18\n \x03(\x0b\x32\x31.Ydb.Topic.AlterTopicRequest.AlterAttributesEntry\x12\x33\n\radd_consumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.ConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12\x1f\n\x0e\x64rop_consumers\x18\x0c \x03(\tB\x07\x9a\xe6*\x03\x18\xb8\x17\x12:\n\x0f\x61lter_consumers\x18\r \x03(\x0b\x32\x18.Ydb.Topic.AlterConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12\x32\n\x11set_metering_mode\x18\x0e \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x1b\n\x19_set_retention_storage_mbB-\n+_set_partition_write_speed_bytes_per_secondB\"\n _set_partition_write_burst_bytesJ\x04\x08\x06\x10\x07\"B\n\x12\x41lterTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x12\n\x10\x41lterTopicResult\"[\n\x10\x44ropTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"A\n\x11\x44ropTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x11\n\x0f\x44ropTopicResult*\x83\x01\n\x05\x43odec\x12\x15\n\x11\x43ODEC_UNSPECIFIED\x10\x00\x12\r\n\tCODEC_RAW\x10\x01\x12\x0e\n\nCODEC_GZIP\x10\x02\x12\x0e\n\nCODEC_LZOP\x10\x03\x12\x0e\n\nCODEC_ZSTD\x10\x04\x12\x11\n\x0c\x43ODEC_CUSTOM\x10\x90N\"\x05\x08\x05\x10\x8fN\"\n\x08\xa0\x9c\x01\x10\xff\xff\xff\xff\x07*\xf1\x01\n\x18\x41utoPartitioningStrategy\x12*\n&AUTO_PARTITIONING_STRATEGY_UNSPECIFIED\x10\x00\x12\'\n#AUTO_PARTITIONING_STRATEGY_DISABLED\x10\x01\x12\'\n#AUTO_PARTITIONING_STRATEGY_SCALE_UP\x10\x02\x12\x30\n,AUTO_PARTITIONING_STRATEGY_SCALE_UP_AND_DOWN\x10\x03\x12%\n!AUTO_PARTITIONING_STRATEGY_PAUSED\x10\x04*s\n\x0cMeteringMode\x12\x1d\n\x19METERING_MODE_UNSPECIFIED\x10\x00\x12#\n\x1fMETERING_MODE_RESERVED_CAPACITY\x10\x01\x12\x1f\n\x1bMETERING_MODE_REQUEST_UNITS\x10\x02\x42S\n\x14tech.ydb.proto.topicZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Topic\xf8\x01\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16protos/ydb_topic.proto\x12\tYdb.Topic\x1a\x1aprotos/ydb_operation.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\"protos/annotations/sensitive.proto\x1a#protos/annotations/validation.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"7\n\x0fSupportedCodecs\x12$\n\x06\x63odecs\x18\x01 \x03(\x05\x42\x14\xb2\xe6*\n[1; 19999]\x9a\xe6*\x02\x18\x64\"*\n\x0cOffsetsRange\x12\r\n\x05start\x18\x01 \x01(\x03\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x03\")\n\x12UpdateTokenRequest\x12\x13\n\x05token\x18\x01 \x01(\tB\x04\xb8\xe6*\x01\"\x15\n\x13UpdateTokenResponse\"C\n\x17PartitionWithGeneration\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x12\n\ngeneration\x18\x02 \x01(\x03\"*\n\x0cMetadataItem\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\"\x9e\x14\n\x12StreamWriteMessage\x1a\xe5\x01\n\nFromClient\x12\x41\n\x0cinit_request\x18\x01 \x01(\x0b\x32).Ydb.Topic.StreamWriteMessage.InitRequestH\x00\x12\x43\n\rwrite_request\x18\x02 \x01(\x0b\x32*.Ydb.Topic.StreamWriteMessage.WriteRequestH\x00\x12=\n\x14update_token_request\x18\x03 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x42\x10\n\x0e\x63lient_message\x1a\xbf\x02\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x43\n\rinit_response\x18\x03 \x01(\x0b\x32*.Ydb.Topic.StreamWriteMessage.InitResponseH\x00\x12\x45\n\x0ewrite_response\x18\x04 \x01(\x0b\x32+.Ydb.Topic.StreamWriteMessage.WriteResponseH\x00\x12?\n\x15update_token_response\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x42\x10\n\x0eserver_message\x1a\xfe\x02\n\x0bInitRequest\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x1c\n\x0bproducer_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12[\n\x12write_session_meta\x18\x03 \x03(\x0b\x32?.Ydb.Topic.StreamWriteMessage.InitRequest.WriteSessionMetaEntry\x12#\n\x10message_group_id\x18\x04 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10H\x00\x12\x16\n\x0cpartition_id\x18\x05 \x01(\x03H\x00\x12G\n\x19partition_with_generation\x18\x07 \x01(\x0b\x32\".Ydb.Topic.PartitionWithGenerationH\x00\x12\x17\n\x0fget_last_seq_no\x18\x06 \x01(\x08\x1a\x37\n\x15WriteSessionMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0cpartitioning\x1a\x83\x01\n\x0cInitResponse\x12\x13\n\x0blast_seq_no\x18\x01 \x01(\x03\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x34\n\x10supported_codecs\x18\x04 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x1a\xe8\x03\n\x0cWriteRequest\x12H\n\x08messages\x18\x01 \x03(\x0b\x32\x36.Ydb.Topic.StreamWriteMessage.WriteRequest.MessageData\x12\r\n\x05\x63odec\x18\x02 \x01(\x05\x12/\n\x02tx\x18\x03 \x01(\x0b\x32\x1e.Ydb.Topic.TransactionIdentityH\x00\x88\x01\x01\x1a\xc6\x02\n\x0bMessageData\x12\x0e\n\x06seq_no\x18\x01 \x01(\x03\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x19\n\x11uncompressed_size\x18\x04 \x01(\x03\x12#\n\x10message_group_id\x18\x05 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10H\x00\x12\x16\n\x0cpartition_id\x18\x06 \x01(\x03H\x00\x12G\n\x19partition_with_generation\x18\x08 \x01(\x0b\x32\".Ydb.Topic.PartitionWithGenerationH\x00\x12\x38\n\x0emetadata_items\x18\x07 \x03(\x0b\x32\x17.Ydb.Topic.MetadataItemB\x07\x9a\xe6*\x03\x18\xe8\x07\x42\x0e\n\x0cpartitioningB\x05\n\x03_tx\x1a\xeb\x07\n\rWriteResponse\x12\x42\n\x04\x61\x63ks\x18\x01 \x03(\x0b\x32\x34.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck\x12\x14\n\x0cpartition_id\x18\x02 \x01(\x03\x12U\n\x10write_statistics\x18\x03 \x01(\x0b\x32;.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteStatistics\x1a\xf8\x03\n\x08WriteAck\x12\x0e\n\x06seq_no\x18\x01 \x01(\x03\x12O\n\x07written\x18\x02 \x01(\x0b\x32<.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.WrittenH\x00\x12O\n\x07skipped\x18\x03 \x01(\x0b\x32<.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.SkippedH\x00\x12Y\n\rwritten_in_tx\x18\x04 \x01(\x0b\x32@.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.WrittenInTxH\x00\x1a\x19\n\x07Written\x12\x0e\n\x06offset\x18\x01 \x01(\x03\x1a\x9c\x01\n\x07Skipped\x12S\n\x06reason\x18\x01 \x01(\x0e\x32\x43.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.Skipped.Reason\"<\n\x06Reason\x12\x16\n\x12REASON_UNSPECIFIED\x10\x00\x12\x1a\n\x16REASON_ALREADY_WRITTEN\x10\x01\x1a\r\n\x0bWrittenInTxB\x16\n\x14message_write_status\x1a\xad\x02\n\x0fWriteStatistics\x12\x32\n\x0fpersisting_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13min_queue_wait_time\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13max_queue_wait_time\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19partition_quota_wait_time\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15topic_quota_wait_time\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xd8#\n\x11StreamReadMessage\x1aT\n\x10PartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x1a\xb1\x05\n\nFromClient\x12@\n\x0cinit_request\x18\x01 \x01(\x0b\x32(.Ydb.Topic.StreamReadMessage.InitRequestH\x00\x12@\n\x0cread_request\x18\x02 \x01(\x0b\x32(.Ydb.Topic.StreamReadMessage.ReadRequestH\x00\x12Q\n\x15\x63ommit_offset_request\x18\x03 \x01(\x0b\x32\x30.Ydb.Topic.StreamReadMessage.CommitOffsetRequestH\x00\x12\x66\n partition_session_status_request\x18\x04 \x01(\x0b\x32:.Ydb.Topic.StreamReadMessage.PartitionSessionStatusRequestH\x00\x12=\n\x14update_token_request\x18\x05 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x12\x45\n\x0f\x64irect_read_ack\x18\x08 \x01(\x0b\x32*.Ydb.Topic.StreamReadMessage.DirectReadAckH\x00\x12\x66\n start_partition_session_response\x18\x06 \x01(\x0b\x32:.Ydb.Topic.StreamReadMessage.StartPartitionSessionResponseH\x00\x12\x64\n\x1fstop_partition_session_response\x18\x07 \x01(\x0b\x32\x39.Ydb.Topic.StreamReadMessage.StopPartitionSessionResponseH\x00\x42\x10\n\x0e\x63lient_message\x1a\xf0\x06\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x42\n\rinit_response\x18\x03 \x01(\x0b\x32).Ydb.Topic.StreamReadMessage.InitResponseH\x00\x12\x42\n\rread_response\x18\x04 \x01(\x0b\x32).Ydb.Topic.StreamReadMessage.ReadResponseH\x00\x12S\n\x16\x63ommit_offset_response\x18\x05 \x01(\x0b\x32\x31.Ydb.Topic.StreamReadMessage.CommitOffsetResponseH\x00\x12h\n!partition_session_status_response\x18\x06 \x01(\x0b\x32;.Ydb.Topic.StreamReadMessage.PartitionSessionStatusResponseH\x00\x12?\n\x15update_token_response\x18\x07 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x12\x64\n\x1fstart_partition_session_request\x18\x08 \x01(\x0b\x32\x39.Ydb.Topic.StreamReadMessage.StartPartitionSessionRequestH\x00\x12\x62\n\x1estop_partition_session_request\x18\t \x01(\x0b\x32\x38.Ydb.Topic.StreamReadMessage.StopPartitionSessionRequestH\x00\x12W\n\x18update_partition_session\x18\n \x01(\x0b\x32\x33.Ydb.Topic.StreamReadMessage.UpdatePartitionSessionH\x00\x12Q\n\x15\x65nd_partition_session\x18\x0b \x01(\x0b\x32\x30.Ydb.Topic.StreamReadMessage.EndPartitionSessionH\x00\x42\x10\n\x0eserver_message\x1a\x83\x03\n\x0bInitRequest\x12X\n\x14topics_read_settings\x18\x01 \x03(\x0b\x32:.Ydb.Topic.StreamReadMessage.InitRequest.TopicReadSettings\x12\x10\n\x08\x63onsumer\x18\x02 \x01(\t\x12\x13\n\x0breader_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64irect_read\x18\x04 \x01(\x08\x12!\n\x19\x61uto_partitioning_support\x18\x05 \x01(\x08\x12%\n\x1dpartition_max_in_flight_bytes\x18\x06 \x01(\x04\x1a\x93\x01\n\x11TopicReadSettings\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x15\n\rpartition_ids\x18\x02 \x03(\x03\x12*\n\x07max_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\tread_from\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\"\n\x0cInitResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\x1a!\n\x0bReadRequest\x12\x12\n\nbytes_size\x18\x01 \x01(\x03\x1a\x91\x06\n\x0cReadResponse\x12O\n\x0epartition_data\x18\x01 \x03(\x0b\x32\x37.Ydb.Topic.StreamReadMessage.ReadResponse.PartitionData\x12\x12\n\nbytes_size\x18\x02 \x01(\x03\x1a\xda\x01\n\x0bMessageData\x12\x0e\n\x06offset\x18\x01 \x01(\x03\x12\x0e\n\x06seq_no\x18\x02 \x01(\x03\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c\x12\x19\n\x11uncompressed_size\x18\x06 \x01(\x03\x12!\n\x10message_group_id\x18\x07 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12/\n\x0emetadata_items\x18\x08 \x03(\x0b\x32\x17.Ydb.Topic.MetadataItem\x1a\xcd\x02\n\x05\x42\x61tch\x12K\n\x0cmessage_data\x18\x01 \x03(\x0b\x32\x35.Ydb.Topic.StreamReadMessage.ReadResponse.MessageData\x12\x1c\n\x0bproducer_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12\x61\n\x12write_session_meta\x18\x03 \x03(\x0b\x32\x45.Ydb.Topic.StreamReadMessage.ReadResponse.Batch.WriteSessionMetaEntry\x12\r\n\x05\x63odec\x18\x04 \x01(\x05\x12.\n\nwritten_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x37\n\x15WriteSessionMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1ao\n\rPartitionData\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12@\n\x07\x62\x61tches\x18\x02 \x03(\x0b\x32/.Ydb.Topic.StreamReadMessage.ReadResponse.Batch\x1a\xd6\x01\n\x13\x43ommitOffsetRequest\x12^\n\x0e\x63ommit_offsets\x18\x01 \x03(\x0b\x32\x46.Ydb.Topic.StreamReadMessage.CommitOffsetRequest.PartitionCommitOffset\x1a_\n\x15PartitionCommitOffset\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12(\n\x07offsets\x18\x02 \x03(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x1a\xdc\x01\n\x14\x43ommitOffsetResponse\x12p\n\x1cpartitions_committed_offsets\x18\x01 \x03(\x0b\x32J.Ydb.Topic.StreamReadMessage.CommitOffsetResponse.PartitionCommittedOffset\x1aR\n\x18PartitionCommittedOffset\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x1a=\n\x1dPartitionSessionStatusRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x1a\xe0\x01\n\x1ePartitionSessionStatusResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x02 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x18\n\x10\x63ommitted_offset\x18\x03 \x01(\x03\x12=\n\x19write_time_high_watermark\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bread_offset\x18\x05 \x01(\x03\x1a\xf0\x01\n\x1cStartPartitionSessionRequest\x12H\n\x11partition_session\x18\x01 \x01(\x0b\x32-.Ydb.Topic.StreamReadMessage.PartitionSession\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x03 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x38\n\x12partition_location\x18\x04 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\x95\x01\n\x1dStartPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x18\n\x0bread_offset\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x1a\n\rcommit_offset\x18\x03 \x01(\x03H\x01\x88\x01\x01\x42\x0e\n\x0c_read_offsetB\x10\n\x0e_commit_offset\x1a\x84\x01\n\x1bStopPartitionSessionRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x10\n\x08graceful\x18\x02 \x01(\x08\x12\x18\n\x10\x63ommitted_offset\x18\x03 \x01(\x03\x12\x1b\n\x13last_direct_read_id\x18\x04 \x01(\x03\x1aN\n\x1cStopPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x10\n\x08graceful\x18\x02 \x01(\x08\x1ap\n\x16UpdatePartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x38\n\x12partition_location\x18\x02 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\x45\n\rDirectReadAck\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x16\n\x0e\x64irect_read_id\x18\x02 \x01(\x03\x1ap\n\x13\x45ndPartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x1e\n\x16\x61\x64jacent_partition_ids\x18\x02 \x03(\x03\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\"\x8b\r\n\x17StreamDirectReadMessage\x1a\xa8\x02\n\nFromClient\x12\x46\n\x0cinit_request\x18\x01 \x01(\x0b\x32..Ydb.Topic.StreamDirectReadMessage.InitRequestH\x00\x12\x80\x01\n+start_direct_read_partition_session_request\x18\x02 \x01(\x0b\x32I.Ydb.Topic.StreamDirectReadMessage.StartDirectReadPartitionSessionRequestH\x00\x12=\n\x14update_token_request\x18\x03 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x42\x10\n\x0e\x63lient_message\x1a\xca\x04\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12H\n\rinit_response\x18\x06 \x01(\x0b\x32/.Ydb.Topic.StreamDirectReadMessage.InitResponseH\x00\x12\x82\x01\n,start_direct_read_partition_session_response\x18\x07 \x01(\x0b\x32J.Ydb.Topic.StreamDirectReadMessage.StartDirectReadPartitionSessionResponseH\x00\x12o\n\"stop_direct_read_partition_session\x18\x03 \x01(\x0b\x32\x41.Ydb.Topic.StreamDirectReadMessage.StopDirectReadPartitionSessionH\x00\x12U\n\x14\x64irect_read_response\x18\x04 \x01(\x0b\x32\x35.Ydb.Topic.StreamDirectReadMessage.DirectReadResponseH\x00\x12?\n\x15update_token_response\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x42\x10\n\x0eserver_message\x1a\xb6\x01\n\x0bInitRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12^\n\x14topics_read_settings\x18\x02 \x03(\x0b\x32@.Ydb.Topic.StreamDirectReadMessage.InitRequest.TopicReadSettings\x12\x10\n\x08\x63onsumer\x18\x03 \x01(\t\x1a!\n\x11TopicReadSettings\x12\x0c\n\x04path\x18\x01 \x01(\t\x1a\x0e\n\x0cInitResponse\x1aw\n&StartDirectReadPartitionSessionRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x1b\n\x13last_direct_read_id\x18\x02 \x01(\x03\x12\x12\n\ngeneration\x18\x03 \x01(\x03\x1a[\n\'StartDirectReadPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x12\n\ngeneration\x18\x02 \x01(\x03\x1a\xa6\x01\n\x1eStopDirectReadPartitionSession\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x1c\n\x14partition_session_id\x18\x03 \x01(\x03\x12\x12\n\ngeneration\x18\x04 \x01(\x03\x1a\xaf\x01\n\x12\x44irectReadResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x16\n\x0e\x64irect_read_id\x18\x02 \x01(\x03\x12O\n\x0epartition_data\x18\x03 \x01(\x0b\x32\x37.Ydb.Topic.StreamReadMessage.ReadResponse.PartitionData\x12\x12\n\nbytes_size\x18\x04 \x01(\x03\"2\n\x13TransactionIdentity\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07session\x18\x02 \x01(\t\"\xc4\x03\n!UpdateOffsetsInTransactionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12*\n\x02tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Topic.TransactionIdentity\x12I\n\x06topics\x18\x03 \x03(\x0b\x32\x39.Ydb.Topic.UpdateOffsetsInTransactionRequest.TopicOffsets\x12\x10\n\x08\x63onsumer\x18\x04 \x01(\t\x1a\xda\x01\n\x0cTopicOffsets\x12\x0c\n\x04path\x18\x01 \x01(\t\x12^\n\npartitions\x18\x02 \x03(\x0b\x32J.Ydb.Topic.UpdateOffsetsInTransactionRequest.TopicOffsets.PartitionOffsets\x1a\\\n\x10PartitionOffsets\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x02 \x03(\x0b\x32\x17.Ydb.Topic.OffsetsRange\"R\n\"UpdateOffsetsInTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\"\n UpdateOffsetsInTransactionResult\"\xaf\x01\n\x13\x43ommitOffsetRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x10\n\x08\x63onsumer\x18\x04 \x01(\t\x12\x0e\n\x06offset\x18\x05 \x01(\x03\x12\x17\n\x0fread_session_id\x18\x06 \x01(\t\"D\n\x14\x43ommitOffsetResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x14\n\x12\x43ommitOffsetResult\"L\n\x13MultipleWindowsStat\x12\x12\n\nper_minute\x18\x01 \x01(\x03\x12\x10\n\x08per_hour\x18\x02 \x01(\x03\x12\x0f\n\x07per_day\x18\x03 \x01(\x03\"\xc3\x05\n\x08\x43onsumer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\timportant\x18\x02 \x01(\x08\x12-\n\tread_from\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10supported_codecs\x18\x05 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x37\n\nattributes\x18\x06 \x03(\x0b\x32#.Ydb.Topic.Consumer.AttributesEntry\x12\x39\n\x0e\x63onsumer_stats\x18\x07 \x01(\x0b\x32!.Ydb.Topic.Consumer.ConsumerStats\x12;\n\x13\x61vailability_period\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xae\x02\n\rConsumerStats\x12\x41\n\x1dmin_partitions_last_read_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x11max_read_time_lag\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12max_write_time_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16max_committed_time_lag\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\nbytes_read\x18\x04 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStatB\x16\n\x14_availability_periodJ\x04\x08\x04\x10\x05\"\xd8\x03\n\rAlterConsumer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1a\n\rset_important\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x31\n\rset_read_from\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14set_supported_codecs\x18\x05 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12G\n\x10\x61lter_attributes\x18\x06 \x03(\x0b\x32-.Ydb.Topic.AlterConsumer.AlterAttributesEntry\x12<\n\x17set_availability_period\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12;\n\x19reset_availability_period\x18\x08 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x1c\n\x1a\x61vailability_period_actionB\x10\n\x0e_set_importantJ\x04\x08\x04\x10\x05\"\xdc\x01\n\x14PartitioningSettings\x12\'\n\x15min_active_partitions\x18\x01 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\'\n\x15max_active_partitions\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12)\n\x15partition_count_limit\x18\x02 \x01(\x03\x42\n\x18\x01\xb2\xe6*\x04>= 0\x12G\n\x1a\x61uto_partitioning_settings\x18\x04 \x01(\x0b\x32#.Ydb.Topic.AutoPartitioningSettings\"\x9f\x01\n\x18\x41utoPartitioningSettings\x12\x35\n\x08strategy\x18\x01 \x01(\x0e\x32#.Ydb.Topic.AutoPartitioningStrategy\x12L\n\x15partition_write_speed\x18\x02 \x01(\x0b\x32-.Ydb.Topic.AutoPartitioningWriteSpeedStrategy\"\xb3\x01\n\"AutoPartitioningWriteSpeedStrategy\x12\x37\n\x14stabilization_window\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n\x16up_utilization_percent\x18\x02 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0\x12*\n\x18\x64own_utilization_percent\x18\x03 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0\"\x8b\x03\n\x19\x41lterPartitioningSettings\x12\x30\n\x19set_min_active_partitions\x18\x01 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x00\x88\x01\x01\x12\x30\n\x19set_max_active_partitions\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x32\n\x19set_partition_count_limit\x18\x02 \x01(\x03\x42\n\x18\x01\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x12W\n alter_auto_partitioning_settings\x18\x04 \x01(\x0b\x32(.Ydb.Topic.AlterAutoPartitioningSettingsH\x03\x88\x01\x01\x42\x1c\n\x1a_set_min_active_partitionsB\x1c\n\x1a_set_max_active_partitionsB\x1c\n\x1a_set_partition_count_limitB#\n!_alter_auto_partitioning_settings\"\xea\x01\n\x1d\x41lterAutoPartitioningSettings\x12>\n\x0cset_strategy\x18\x01 \x01(\x0e\x32#.Ydb.Topic.AutoPartitioningStrategyH\x00\x88\x01\x01\x12Z\n\x19set_partition_write_speed\x18\x02 \x01(\x0b\x32\x32.Ydb.Topic.AlterAutoPartitioningWriteSpeedStrategyH\x01\x88\x01\x01\x42\x0f\n\r_set_strategyB\x1c\n\x1a_set_partition_write_speed\"\xb0\x02\n\'AlterAutoPartitioningWriteSpeedStrategy\x12@\n\x18set_stabilization_window\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x12\x31\n\x1aset_up_utilization_percent\x18\x02 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x33\n\x1cset_down_utilization_percent\x18\x03 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x42\x1b\n\x19_set_stabilization_windowB\x1d\n\x1b_set_up_utilization_percentB\x1f\n\x1d_set_down_utilization_percent\"\xc9\x05\n\x12\x43reateTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12>\n\x15partitioning_settings\x18\x03 \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12&\n\x14retention_storage_mb\x18\x05 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\x34\n\x10supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x38\n&partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12-\n\x1bpartition_write_burst_bytes\x18\t \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\x41\n\nattributes\x18\n \x03(\x0b\x32-.Ydb.Topic.CreateTopicRequest.AttributesEntry\x12/\n\tconsumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.ConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12.\n\rmetering_mode\x18\x0c \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x12\x1a\n\rmetrics_level\x18\r \x01(\rH\x00\x88\x01\x01\x12#\n\x1b\x63ontent_based_deduplication\x18\x0e \x01(\x08\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x10\n\x0e_metrics_levelJ\x04\x08\x06\x10\x07\"C\n\x13\x43reateTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x13\n\x11\x43reateTopicResult\"8\n\x11PartitionLocation\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x12\n\ngeneration\x18\x02 \x01(\x03\"\x90\x01\n\x14\x44\x65scribeTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x15\n\rinclude_stats\x18\x03 \x01(\x08\x12\x18\n\x10include_location\x18\x04 \x01(\x08\"E\n\x15\x44\x65scribeTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"_\n\x11PartitionKeyRange\x12\x17\n\nfrom_bound\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x15\n\x08to_bound\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x42\r\n\x0b_from_boundB\x0b\n\t_to_bound\"\xcd\n\n\x13\x44\x65scribeTopicResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12>\n\x15partitioning_settings\x18\x02 \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12@\n\npartitions\x18\x03 \x03(\x0b\x32,.Ydb.Topic.DescribeTopicResult.PartitionInfo\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14retention_storage_mb\x18\x05 \x01(\x03\x12\x34\n\x10supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12.\n&partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x12\x33\n+partition_total_read_speed_bytes_per_second\x18\x0e \x01(\x03\x12\x36\n.partition_consumer_read_speed_bytes_per_second\x18\x0f \x01(\x03\x12#\n\x1bpartition_write_burst_bytes\x18\t \x01(\x03\x12\x42\n\nattributes\x18\n \x03(\x0b\x32..Ydb.Topic.DescribeTopicResult.AttributesEntry\x12&\n\tconsumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.Consumer\x12.\n\rmetering_mode\x18\x0c \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x12>\n\x0btopic_stats\x18\r \x01(\x0b\x32).Ydb.Topic.DescribeTopicResult.TopicStats\x12\x1a\n\rmetrics_level\x18\x10 \x01(\rH\x00\x88\x01\x01\x12#\n\x1b\x63ontent_based_deduplication\x18\x11 \x01(\x08\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x8f\x02\n\rPartitionInfo\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x61\x63tive\x18\x02 \x01(\x08\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\x12\x1c\n\x14parent_partition_ids\x18\x04 \x03(\x03\x12\x32\n\x0fpartition_stats\x18\x05 \x01(\x0b\x32\x19.Ydb.Topic.PartitionStats\x12\x38\n\x12partition_location\x18\x06 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x12/\n\tkey_range\x18\x07 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionKeyRange\x1a\xcd\x01\n\nTopicStats\x12\x18\n\x10store_size_bytes\x18\x01 \x01(\x03\x12\x37\n\x13min_last_write_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12max_write_time_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\rbytes_written\x18\x04 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStatB\x10\n\x0e_metrics_levelJ\x04\x08\x06\x10\x07\"\xaa\x01\n\x18\x44\x65scribePartitionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x15\n\rinclude_stats\x18\x04 \x01(\x08\x12\x18\n\x10include_location\x18\x05 \x01(\x08\"I\n\x19\x44\x65scribePartitionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"Z\n\x17\x44\x65scribePartitionResult\x12?\n\tpartition\x18\x01 \x01(\x0b\x32,.Ydb.Topic.DescribeTopicResult.PartitionInfo\"\xa5\x01\n\x17\x44\x65scribeConsumerRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x10\n\x08\x63onsumer\x18\x03 \x01(\t\x12\x15\n\rinclude_stats\x18\x04 \x01(\x08\x12\x18\n\x10include_location\x18\x05 \x01(\x08\"H\n\x18\x44\x65scribeConsumerResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xd3\x07\n\x16\x44\x65scribeConsumerResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12%\n\x08\x63onsumer\x18\x02 \x01(\x0b\x32\x13.Ydb.Topic.Consumer\x12\x43\n\npartitions\x18\x03 \x03(\x0b\x32/.Ydb.Topic.DescribeConsumerResult.PartitionInfo\x1a\xba\x02\n\rPartitionInfo\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x61\x63tive\x18\x02 \x01(\x08\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\x12\x1c\n\x14parent_partition_ids\x18\x04 \x03(\x03\x12\x32\n\x0fpartition_stats\x18\x05 \x01(\x0b\x32\x19.Ydb.Topic.PartitionStats\x12Z\n\x18partition_consumer_stats\x18\x06 \x01(\x0b\x32\x38.Ydb.Topic.DescribeConsumerResult.PartitionConsumerStats\x12\x38\n\x12partition_location\x18\x07 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\xee\x03\n\x16PartitionConsumerStats\x12\x18\n\x10last_read_offset\x18\x01 \x01(\x03\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x12\x17\n\x0fread_session_id\x18\x03 \x01(\t\x12\x46\n\"partition_read_session_create_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0elast_read_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x11max_read_time_lag\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12max_write_time_lag\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16max_committed_time_lag\x18\r \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\nbytes_read\x18\x08 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStat\x12\x13\n\x0breader_name\x18\x0b \x01(\t\x12\x1a\n\x12\x63onnection_node_id\x18\x0c \x01(\x05\"\xa0\x02\n\x0ePartitionStats\x12\x32\n\x11partition_offsets\x18\x01 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x18\n\x10store_size_bytes\x18\x02 \x01(\x03\x12\x33\n\x0flast_write_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12max_write_time_lag\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\rbytes_written\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStat\x12\x1d\n\x11partition_node_id\x18\x08 \x01(\x05\x42\x02\x18\x01\"\xbe\x08\n\x11\x41lterTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12I\n\x1b\x61lter_partitioning_settings\x18\x03 \x01(\x0b\x32$.Ydb.Topic.AlterPartitioningSettings\x12\x37\n\x14set_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x18set_retention_storage_mb\x18\x05 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x38\n\x14set_supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x41\n*set_partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x12\x36\n\x1fset_partition_write_burst_bytes\x18\t \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x03\x88\x01\x01\x12K\n\x10\x61lter_attributes\x18\n \x03(\x0b\x32\x31.Ydb.Topic.AlterTopicRequest.AlterAttributesEntry\x12\x33\n\radd_consumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.ConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12\x1f\n\x0e\x64rop_consumers\x18\x0c \x03(\tB\x07\x9a\xe6*\x03\x18\xb8\x17\x12:\n\x0f\x61lter_consumers\x18\r \x03(\x0b\x32\x18.Ydb.Topic.AlterConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12\x32\n\x11set_metering_mode\x18\x0e \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x12\x1b\n\x11set_metrics_level\x18\x0f \x01(\rH\x00\x12\x35\n\x13reset_metrics_level\x18\x10 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12,\n\x1fset_content_based_deduplication\x18\x11 \x01(\x08H\x04\x88\x01\x01\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\rmetrics_levelB\x1b\n\x19_set_retention_storage_mbB-\n+_set_partition_write_speed_bytes_per_secondB\"\n _set_partition_write_burst_bytesB\"\n _set_content_based_deduplicationJ\x04\x08\x06\x10\x07\"B\n\x12\x41lterTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x12\n\x10\x41lterTopicResult\"[\n\x10\x44ropTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"A\n\x11\x44ropTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x11\n\x0f\x44ropTopicResult*\x83\x01\n\x05\x43odec\x12\x15\n\x11\x43ODEC_UNSPECIFIED\x10\x00\x12\r\n\tCODEC_RAW\x10\x01\x12\x0e\n\nCODEC_GZIP\x10\x02\x12\x0e\n\nCODEC_LZOP\x10\x03\x12\x0e\n\nCODEC_ZSTD\x10\x04\x12\x11\n\x0c\x43ODEC_CUSTOM\x10\x90N\"\x05\x08\x05\x10\x8fN\"\n\x08\xa0\x9c\x01\x10\xff\xff\xff\xff\x07*\xf1\x01\n\x18\x41utoPartitioningStrategy\x12*\n&AUTO_PARTITIONING_STRATEGY_UNSPECIFIED\x10\x00\x12\'\n#AUTO_PARTITIONING_STRATEGY_DISABLED\x10\x01\x12\'\n#AUTO_PARTITIONING_STRATEGY_SCALE_UP\x10\x02\x12\x30\n,AUTO_PARTITIONING_STRATEGY_SCALE_UP_AND_DOWN\x10\x03\x12%\n!AUTO_PARTITIONING_STRATEGY_PAUSED\x10\x04*s\n\x0cMeteringMode\x12\x1d\n\x19METERING_MODE_UNSPECIFIED\x10\x00\x12#\n\x1fMETERING_MODE_RESERVED_CAPACITY\x10\x01\x12\x1f\n\x1bMETERING_MODE_REQUEST_UNITS\x10\x02\x42S\n\x14tech.ydb.proto.topicZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Topic\xf8\x01\x01\x62\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protos.ydb_topic_pb2', globals()) @@ -103,12 +103,12 @@ _ALTERTOPICREQUEST.fields_by_name['drop_consumers']._serialized_options = b'\232\346*\003\030\270\027' _ALTERTOPICREQUEST.fields_by_name['alter_consumers']._options = None _ALTERTOPICREQUEST.fields_by_name['alter_consumers']._serialized_options = b'\232\346*\003\030\270\027' - _CODEC._serialized_start=18453 - _CODEC._serialized_end=18584 - _AUTOPARTITIONINGSTRATEGY._serialized_start=18587 - _AUTOPARTITIONINGSTRATEGY._serialized_end=18828 - _METERINGMODE._serialized_start=18830 - _METERINGMODE._serialized_end=18945 + _CODEC._serialized_start=18862 + _CODEC._serialized_end=18993 + _AUTOPARTITIONINGSTRATEGY._serialized_start=18996 + _AUTOPARTITIONINGSTRATEGY._serialized_end=19237 + _METERINGMODE._serialized_start=19239 + _METERINGMODE._serialized_end=19354 _SUPPORTEDCODECS._serialized_start=320 _SUPPORTEDCODECS._serialized_end=375 _OFFSETSRANGE._serialized_start=377 @@ -152,7 +152,7 @@ _STREAMWRITEMESSAGE_WRITERESPONSE_WRITESTATISTICS._serialized_start=2890 _STREAMWRITEMESSAGE_WRITERESPONSE_WRITESTATISTICS._serialized_end=3191 _STREAMREADMESSAGE._serialized_start=3194 - _STREAMREADMESSAGE._serialized_end=7702 + _STREAMREADMESSAGE._serialized_end=7762 _STREAMREADMESSAGE_PARTITIONSESSION._serialized_start=3215 _STREAMREADMESSAGE_PARTITIONSESSION._serialized_end=3299 _STREAMREADMESSAGE_FROMCLIENT._serialized_start=3302 @@ -160,165 +160,165 @@ _STREAMREADMESSAGE_FROMSERVER._serialized_start=3994 _STREAMREADMESSAGE_FROMSERVER._serialized_end=4874 _STREAMREADMESSAGE_INITREQUEST._serialized_start=4877 - _STREAMREADMESSAGE_INITREQUEST._serialized_end=5225 - _STREAMREADMESSAGE_INITREQUEST_TOPICREADSETTINGS._serialized_start=5078 - _STREAMREADMESSAGE_INITREQUEST_TOPICREADSETTINGS._serialized_end=5225 - _STREAMREADMESSAGE_INITRESPONSE._serialized_start=5227 - _STREAMREADMESSAGE_INITRESPONSE._serialized_end=5261 - _STREAMREADMESSAGE_READREQUEST._serialized_start=5263 - _STREAMREADMESSAGE_READREQUEST._serialized_end=5296 - _STREAMREADMESSAGE_READRESPONSE._serialized_start=5299 - _STREAMREADMESSAGE_READRESPONSE._serialized_end=6084 - _STREAMREADMESSAGE_READRESPONSE_MESSAGEDATA._serialized_start=5417 - _STREAMREADMESSAGE_READRESPONSE_MESSAGEDATA._serialized_end=5635 - _STREAMREADMESSAGE_READRESPONSE_BATCH._serialized_start=5638 - _STREAMREADMESSAGE_READRESPONSE_BATCH._serialized_end=5971 + _STREAMREADMESSAGE_INITREQUEST._serialized_end=5264 + _STREAMREADMESSAGE_INITREQUEST_TOPICREADSETTINGS._serialized_start=5117 + _STREAMREADMESSAGE_INITREQUEST_TOPICREADSETTINGS._serialized_end=5264 + _STREAMREADMESSAGE_INITRESPONSE._serialized_start=5266 + _STREAMREADMESSAGE_INITRESPONSE._serialized_end=5300 + _STREAMREADMESSAGE_READREQUEST._serialized_start=5302 + _STREAMREADMESSAGE_READREQUEST._serialized_end=5335 + _STREAMREADMESSAGE_READRESPONSE._serialized_start=5338 + _STREAMREADMESSAGE_READRESPONSE._serialized_end=6123 + _STREAMREADMESSAGE_READRESPONSE_MESSAGEDATA._serialized_start=5456 + _STREAMREADMESSAGE_READRESPONSE_MESSAGEDATA._serialized_end=5674 + _STREAMREADMESSAGE_READRESPONSE_BATCH._serialized_start=5677 + _STREAMREADMESSAGE_READRESPONSE_BATCH._serialized_end=6010 _STREAMREADMESSAGE_READRESPONSE_BATCH_WRITESESSIONMETAENTRY._serialized_start=1489 _STREAMREADMESSAGE_READRESPONSE_BATCH_WRITESESSIONMETAENTRY._serialized_end=1544 - _STREAMREADMESSAGE_READRESPONSE_PARTITIONDATA._serialized_start=5973 - _STREAMREADMESSAGE_READRESPONSE_PARTITIONDATA._serialized_end=6084 - _STREAMREADMESSAGE_COMMITOFFSETREQUEST._serialized_start=6087 - _STREAMREADMESSAGE_COMMITOFFSETREQUEST._serialized_end=6301 - _STREAMREADMESSAGE_COMMITOFFSETREQUEST_PARTITIONCOMMITOFFSET._serialized_start=6206 - _STREAMREADMESSAGE_COMMITOFFSETREQUEST_PARTITIONCOMMITOFFSET._serialized_end=6301 - _STREAMREADMESSAGE_COMMITOFFSETRESPONSE._serialized_start=6304 - _STREAMREADMESSAGE_COMMITOFFSETRESPONSE._serialized_end=6524 - _STREAMREADMESSAGE_COMMITOFFSETRESPONSE_PARTITIONCOMMITTEDOFFSET._serialized_start=6442 - _STREAMREADMESSAGE_COMMITOFFSETRESPONSE_PARTITIONCOMMITTEDOFFSET._serialized_end=6524 - _STREAMREADMESSAGE_PARTITIONSESSIONSTATUSREQUEST._serialized_start=6526 - _STREAMREADMESSAGE_PARTITIONSESSIONSTATUSREQUEST._serialized_end=6587 - _STREAMREADMESSAGE_PARTITIONSESSIONSTATUSRESPONSE._serialized_start=6590 - _STREAMREADMESSAGE_PARTITIONSESSIONSTATUSRESPONSE._serialized_end=6793 - _STREAMREADMESSAGE_STARTPARTITIONSESSIONREQUEST._serialized_start=6796 - _STREAMREADMESSAGE_STARTPARTITIONSESSIONREQUEST._serialized_end=7036 - _STREAMREADMESSAGE_STARTPARTITIONSESSIONRESPONSE._serialized_start=7039 - _STREAMREADMESSAGE_STARTPARTITIONSESSIONRESPONSE._serialized_end=7188 - _STREAMREADMESSAGE_STOPPARTITIONSESSIONREQUEST._serialized_start=7191 - _STREAMREADMESSAGE_STOPPARTITIONSESSIONREQUEST._serialized_end=7323 - _STREAMREADMESSAGE_STOPPARTITIONSESSIONRESPONSE._serialized_start=7325 - _STREAMREADMESSAGE_STOPPARTITIONSESSIONRESPONSE._serialized_end=7403 - _STREAMREADMESSAGE_UPDATEPARTITIONSESSION._serialized_start=7405 - _STREAMREADMESSAGE_UPDATEPARTITIONSESSION._serialized_end=7517 - _STREAMREADMESSAGE_DIRECTREADACK._serialized_start=7519 - _STREAMREADMESSAGE_DIRECTREADACK._serialized_end=7588 - _STREAMREADMESSAGE_ENDPARTITIONSESSION._serialized_start=7590 - _STREAMREADMESSAGE_ENDPARTITIONSESSION._serialized_end=7702 - _STREAMDIRECTREADMESSAGE._serialized_start=7705 - _STREAMDIRECTREADMESSAGE._serialized_end=9380 - _STREAMDIRECTREADMESSAGE_FROMCLIENT._serialized_start=7733 - _STREAMDIRECTREADMESSAGE_FROMCLIENT._serialized_end=8029 - _STREAMDIRECTREADMESSAGE_FROMSERVER._serialized_start=8032 - _STREAMDIRECTREADMESSAGE_FROMSERVER._serialized_end=8618 - _STREAMDIRECTREADMESSAGE_INITREQUEST._serialized_start=8621 - _STREAMDIRECTREADMESSAGE_INITREQUEST._serialized_end=8803 - _STREAMDIRECTREADMESSAGE_INITREQUEST_TOPICREADSETTINGS._serialized_start=5078 - _STREAMDIRECTREADMESSAGE_INITREQUEST_TOPICREADSETTINGS._serialized_end=5111 + _STREAMREADMESSAGE_READRESPONSE_PARTITIONDATA._serialized_start=6012 + _STREAMREADMESSAGE_READRESPONSE_PARTITIONDATA._serialized_end=6123 + _STREAMREADMESSAGE_COMMITOFFSETREQUEST._serialized_start=6126 + _STREAMREADMESSAGE_COMMITOFFSETREQUEST._serialized_end=6340 + _STREAMREADMESSAGE_COMMITOFFSETREQUEST_PARTITIONCOMMITOFFSET._serialized_start=6245 + _STREAMREADMESSAGE_COMMITOFFSETREQUEST_PARTITIONCOMMITOFFSET._serialized_end=6340 + _STREAMREADMESSAGE_COMMITOFFSETRESPONSE._serialized_start=6343 + _STREAMREADMESSAGE_COMMITOFFSETRESPONSE._serialized_end=6563 + _STREAMREADMESSAGE_COMMITOFFSETRESPONSE_PARTITIONCOMMITTEDOFFSET._serialized_start=6481 + _STREAMREADMESSAGE_COMMITOFFSETRESPONSE_PARTITIONCOMMITTEDOFFSET._serialized_end=6563 + _STREAMREADMESSAGE_PARTITIONSESSIONSTATUSREQUEST._serialized_start=6565 + _STREAMREADMESSAGE_PARTITIONSESSIONSTATUSREQUEST._serialized_end=6626 + _STREAMREADMESSAGE_PARTITIONSESSIONSTATUSRESPONSE._serialized_start=6629 + _STREAMREADMESSAGE_PARTITIONSESSIONSTATUSRESPONSE._serialized_end=6853 + _STREAMREADMESSAGE_STARTPARTITIONSESSIONREQUEST._serialized_start=6856 + _STREAMREADMESSAGE_STARTPARTITIONSESSIONREQUEST._serialized_end=7096 + _STREAMREADMESSAGE_STARTPARTITIONSESSIONRESPONSE._serialized_start=7099 + _STREAMREADMESSAGE_STARTPARTITIONSESSIONRESPONSE._serialized_end=7248 + _STREAMREADMESSAGE_STOPPARTITIONSESSIONREQUEST._serialized_start=7251 + _STREAMREADMESSAGE_STOPPARTITIONSESSIONREQUEST._serialized_end=7383 + _STREAMREADMESSAGE_STOPPARTITIONSESSIONRESPONSE._serialized_start=7385 + _STREAMREADMESSAGE_STOPPARTITIONSESSIONRESPONSE._serialized_end=7463 + _STREAMREADMESSAGE_UPDATEPARTITIONSESSION._serialized_start=7465 + _STREAMREADMESSAGE_UPDATEPARTITIONSESSION._serialized_end=7577 + _STREAMREADMESSAGE_DIRECTREADACK._serialized_start=7579 + _STREAMREADMESSAGE_DIRECTREADACK._serialized_end=7648 + _STREAMREADMESSAGE_ENDPARTITIONSESSION._serialized_start=7650 + _STREAMREADMESSAGE_ENDPARTITIONSESSION._serialized_end=7762 + _STREAMDIRECTREADMESSAGE._serialized_start=7765 + _STREAMDIRECTREADMESSAGE._serialized_end=9440 + _STREAMDIRECTREADMESSAGE_FROMCLIENT._serialized_start=7793 + _STREAMDIRECTREADMESSAGE_FROMCLIENT._serialized_end=8089 + _STREAMDIRECTREADMESSAGE_FROMSERVER._serialized_start=8092 + _STREAMDIRECTREADMESSAGE_FROMSERVER._serialized_end=8678 + _STREAMDIRECTREADMESSAGE_INITREQUEST._serialized_start=8681 + _STREAMDIRECTREADMESSAGE_INITREQUEST._serialized_end=8863 + _STREAMDIRECTREADMESSAGE_INITREQUEST_TOPICREADSETTINGS._serialized_start=5117 + _STREAMDIRECTREADMESSAGE_INITREQUEST_TOPICREADSETTINGS._serialized_end=5150 _STREAMDIRECTREADMESSAGE_INITRESPONSE._serialized_start=1563 _STREAMDIRECTREADMESSAGE_INITRESPONSE._serialized_end=1577 - _STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONREQUEST._serialized_start=8821 - _STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONREQUEST._serialized_end=8940 - _STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONRESPONSE._serialized_start=8942 - _STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONRESPONSE._serialized_end=9033 - _STREAMDIRECTREADMESSAGE_STOPDIRECTREADPARTITIONSESSION._serialized_start=9036 - _STREAMDIRECTREADMESSAGE_STOPDIRECTREADPARTITIONSESSION._serialized_end=9202 - _STREAMDIRECTREADMESSAGE_DIRECTREADRESPONSE._serialized_start=9205 - _STREAMDIRECTREADMESSAGE_DIRECTREADRESPONSE._serialized_end=9380 - _TRANSACTIONIDENTITY._serialized_start=9382 - _TRANSACTIONIDENTITY._serialized_end=9432 - _UPDATEOFFSETSINTRANSACTIONREQUEST._serialized_start=9435 - _UPDATEOFFSETSINTRANSACTIONREQUEST._serialized_end=9887 - _UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS._serialized_start=9669 - _UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS._serialized_end=9887 - _UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS_PARTITIONOFFSETS._serialized_start=9795 - _UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS_PARTITIONOFFSETS._serialized_end=9887 - _UPDATEOFFSETSINTRANSACTIONRESPONSE._serialized_start=9889 - _UPDATEOFFSETSINTRANSACTIONRESPONSE._serialized_end=9971 - _UPDATEOFFSETSINTRANSACTIONRESULT._serialized_start=9973 - _UPDATEOFFSETSINTRANSACTIONRESULT._serialized_end=10007 - _COMMITOFFSETREQUEST._serialized_start=10010 - _COMMITOFFSETREQUEST._serialized_end=10185 - _COMMITOFFSETRESPONSE._serialized_start=10187 - _COMMITOFFSETRESPONSE._serialized_end=10255 - _COMMITOFFSETRESULT._serialized_start=10257 - _COMMITOFFSETRESULT._serialized_end=10277 - _MULTIPLEWINDOWSSTAT._serialized_start=10279 - _MULTIPLEWINDOWSSTAT._serialized_end=10355 - _CONSUMER._serialized_start=10358 - _CONSUMER._serialized_end=11065 - _CONSUMER_ATTRIBUTESENTRY._serialized_start=10681 - _CONSUMER_ATTRIBUTESENTRY._serialized_end=10730 - _CONSUMER_CONSUMERSTATS._serialized_start=10733 - _CONSUMER_CONSUMERSTATS._serialized_end=11035 - _ALTERCONSUMER._serialized_start=11068 - _ALTERCONSUMER._serialized_end=11540 - _ALTERCONSUMER_ALTERATTRIBUTESENTRY._serialized_start=11432 - _ALTERCONSUMER_ALTERATTRIBUTESENTRY._serialized_end=11486 - _PARTITIONINGSETTINGS._serialized_start=11543 - _PARTITIONINGSETTINGS._serialized_end=11763 - _AUTOPARTITIONINGSETTINGS._serialized_start=11766 - _AUTOPARTITIONINGSETTINGS._serialized_end=11925 - _AUTOPARTITIONINGWRITESPEEDSTRATEGY._serialized_start=11928 - _AUTOPARTITIONINGWRITESPEEDSTRATEGY._serialized_end=12107 - _ALTERPARTITIONINGSETTINGS._serialized_start=12110 - _ALTERPARTITIONINGSETTINGS._serialized_end=12505 - _ALTERAUTOPARTITIONINGSETTINGS._serialized_start=12508 - _ALTERAUTOPARTITIONINGSETTINGS._serialized_end=12742 - _ALTERAUTOPARTITIONINGWRITESPEEDSTRATEGY._serialized_start=12745 - _ALTERAUTOPARTITIONINGWRITESPEEDSTRATEGY._serialized_end=13049 - _CREATETOPICREQUEST._serialized_start=13052 - _CREATETOPICREQUEST._serialized_end=13682 - _CREATETOPICREQUEST_ATTRIBUTESENTRY._serialized_start=10681 - _CREATETOPICREQUEST_ATTRIBUTESENTRY._serialized_end=10730 - _CREATETOPICRESPONSE._serialized_start=13684 - _CREATETOPICRESPONSE._serialized_end=13751 - _CREATETOPICRESULT._serialized_start=13753 - _CREATETOPICRESULT._serialized_end=13772 - _PARTITIONLOCATION._serialized_start=13774 - _PARTITIONLOCATION._serialized_end=13830 - _DESCRIBETOPICREQUEST._serialized_start=13833 - _DESCRIBETOPICREQUEST._serialized_end=13977 - _DESCRIBETOPICRESPONSE._serialized_start=13979 - _DESCRIBETOPICRESPONSE._serialized_end=14048 - _PARTITIONKEYRANGE._serialized_start=14050 - _PARTITIONKEYRANGE._serialized_end=14145 - _DESCRIBETOPICRESULT._serialized_start=14148 - _DESCRIBETOPICRESULT._serialized_end=15422 - _DESCRIBETOPICRESULT_ATTRIBUTESENTRY._serialized_start=10681 - _DESCRIBETOPICRESULT_ATTRIBUTESENTRY._serialized_end=10730 - _DESCRIBETOPICRESULT_PARTITIONINFO._serialized_start=14937 - _DESCRIBETOPICRESULT_PARTITIONINFO._serialized_end=15208 - _DESCRIBETOPICRESULT_TOPICSTATS._serialized_start=15211 - _DESCRIBETOPICRESULT_TOPICSTATS._serialized_end=15416 - _DESCRIBEPARTITIONREQUEST._serialized_start=15425 - _DESCRIBEPARTITIONREQUEST._serialized_end=15595 - _DESCRIBEPARTITIONRESPONSE._serialized_start=15597 - _DESCRIBEPARTITIONRESPONSE._serialized_end=15670 - _DESCRIBEPARTITIONRESULT._serialized_start=15672 - _DESCRIBEPARTITIONRESULT._serialized_end=15762 - _DESCRIBECONSUMERREQUEST._serialized_start=15765 - _DESCRIBECONSUMERREQUEST._serialized_end=15930 - _DESCRIBECONSUMERRESPONSE._serialized_start=15932 - _DESCRIBECONSUMERRESPONSE._serialized_end=16004 - _DESCRIBECONSUMERRESULT._serialized_start=16007 - _DESCRIBECONSUMERRESULT._serialized_end=16986 - _DESCRIBECONSUMERRESULT_PARTITIONINFO._serialized_start=16175 - _DESCRIBECONSUMERRESULT_PARTITIONINFO._serialized_end=16489 - _DESCRIBECONSUMERRESULT_PARTITIONCONSUMERSTATS._serialized_start=16492 - _DESCRIBECONSUMERRESULT_PARTITIONCONSUMERSTATS._serialized_end=16986 - _PARTITIONSTATS._serialized_start=16989 - _PARTITIONSTATS._serialized_end=17277 - _ALTERTOPICREQUEST._serialized_start=17280 - _ALTERTOPICREQUEST._serialized_end=18183 - _ALTERTOPICREQUEST_ALTERATTRIBUTESENTRY._serialized_start=11432 - _ALTERTOPICREQUEST_ALTERATTRIBUTESENTRY._serialized_end=11486 - _ALTERTOPICRESPONSE._serialized_start=18185 - _ALTERTOPICRESPONSE._serialized_end=18251 - _ALTERTOPICRESULT._serialized_start=18253 - _ALTERTOPICRESULT._serialized_end=18271 - _DROPTOPICREQUEST._serialized_start=18273 - _DROPTOPICREQUEST._serialized_end=18364 - _DROPTOPICRESPONSE._serialized_start=18366 - _DROPTOPICRESPONSE._serialized_end=18431 - _DROPTOPICRESULT._serialized_start=18433 - _DROPTOPICRESULT._serialized_end=18450 + _STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONREQUEST._serialized_start=8881 + _STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONREQUEST._serialized_end=9000 + _STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONRESPONSE._serialized_start=9002 + _STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONRESPONSE._serialized_end=9093 + _STREAMDIRECTREADMESSAGE_STOPDIRECTREADPARTITIONSESSION._serialized_start=9096 + _STREAMDIRECTREADMESSAGE_STOPDIRECTREADPARTITIONSESSION._serialized_end=9262 + _STREAMDIRECTREADMESSAGE_DIRECTREADRESPONSE._serialized_start=9265 + _STREAMDIRECTREADMESSAGE_DIRECTREADRESPONSE._serialized_end=9440 + _TRANSACTIONIDENTITY._serialized_start=9442 + _TRANSACTIONIDENTITY._serialized_end=9492 + _UPDATEOFFSETSINTRANSACTIONREQUEST._serialized_start=9495 + _UPDATEOFFSETSINTRANSACTIONREQUEST._serialized_end=9947 + _UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS._serialized_start=9729 + _UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS._serialized_end=9947 + _UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS_PARTITIONOFFSETS._serialized_start=9855 + _UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS_PARTITIONOFFSETS._serialized_end=9947 + _UPDATEOFFSETSINTRANSACTIONRESPONSE._serialized_start=9949 + _UPDATEOFFSETSINTRANSACTIONRESPONSE._serialized_end=10031 + _UPDATEOFFSETSINTRANSACTIONRESULT._serialized_start=10033 + _UPDATEOFFSETSINTRANSACTIONRESULT._serialized_end=10067 + _COMMITOFFSETREQUEST._serialized_start=10070 + _COMMITOFFSETREQUEST._serialized_end=10245 + _COMMITOFFSETRESPONSE._serialized_start=10247 + _COMMITOFFSETRESPONSE._serialized_end=10315 + _COMMITOFFSETRESULT._serialized_start=10317 + _COMMITOFFSETRESULT._serialized_end=10337 + _MULTIPLEWINDOWSSTAT._serialized_start=10339 + _MULTIPLEWINDOWSSTAT._serialized_end=10415 + _CONSUMER._serialized_start=10418 + _CONSUMER._serialized_end=11125 + _CONSUMER_ATTRIBUTESENTRY._serialized_start=10741 + _CONSUMER_ATTRIBUTESENTRY._serialized_end=10790 + _CONSUMER_CONSUMERSTATS._serialized_start=10793 + _CONSUMER_CONSUMERSTATS._serialized_end=11095 + _ALTERCONSUMER._serialized_start=11128 + _ALTERCONSUMER._serialized_end=11600 + _ALTERCONSUMER_ALTERATTRIBUTESENTRY._serialized_start=11492 + _ALTERCONSUMER_ALTERATTRIBUTESENTRY._serialized_end=11546 + _PARTITIONINGSETTINGS._serialized_start=11603 + _PARTITIONINGSETTINGS._serialized_end=11823 + _AUTOPARTITIONINGSETTINGS._serialized_start=11826 + _AUTOPARTITIONINGSETTINGS._serialized_end=11985 + _AUTOPARTITIONINGWRITESPEEDSTRATEGY._serialized_start=11988 + _AUTOPARTITIONINGWRITESPEEDSTRATEGY._serialized_end=12167 + _ALTERPARTITIONINGSETTINGS._serialized_start=12170 + _ALTERPARTITIONINGSETTINGS._serialized_end=12565 + _ALTERAUTOPARTITIONINGSETTINGS._serialized_start=12568 + _ALTERAUTOPARTITIONINGSETTINGS._serialized_end=12802 + _ALTERAUTOPARTITIONINGWRITESPEEDSTRATEGY._serialized_start=12805 + _ALTERAUTOPARTITIONINGWRITESPEEDSTRATEGY._serialized_end=13109 + _CREATETOPICREQUEST._serialized_start=13112 + _CREATETOPICREQUEST._serialized_end=13825 + _CREATETOPICREQUEST_ATTRIBUTESENTRY._serialized_start=10741 + _CREATETOPICREQUEST_ATTRIBUTESENTRY._serialized_end=10790 + _CREATETOPICRESPONSE._serialized_start=13827 + _CREATETOPICRESPONSE._serialized_end=13894 + _CREATETOPICRESULT._serialized_start=13896 + _CREATETOPICRESULT._serialized_end=13915 + _PARTITIONLOCATION._serialized_start=13917 + _PARTITIONLOCATION._serialized_end=13973 + _DESCRIBETOPICREQUEST._serialized_start=13976 + _DESCRIBETOPICREQUEST._serialized_end=14120 + _DESCRIBETOPICRESPONSE._serialized_start=14122 + _DESCRIBETOPICRESPONSE._serialized_end=14191 + _PARTITIONKEYRANGE._serialized_start=14193 + _PARTITIONKEYRANGE._serialized_end=14288 + _DESCRIBETOPICRESULT._serialized_start=14291 + _DESCRIBETOPICRESULT._serialized_end=15648 + _DESCRIBETOPICRESULT_ATTRIBUTESENTRY._serialized_start=10741 + _DESCRIBETOPICRESULT_ATTRIBUTESENTRY._serialized_end=10790 + _DESCRIBETOPICRESULT_PARTITIONINFO._serialized_start=15145 + _DESCRIBETOPICRESULT_PARTITIONINFO._serialized_end=15416 + _DESCRIBETOPICRESULT_TOPICSTATS._serialized_start=15419 + _DESCRIBETOPICRESULT_TOPICSTATS._serialized_end=15624 + _DESCRIBEPARTITIONREQUEST._serialized_start=15651 + _DESCRIBEPARTITIONREQUEST._serialized_end=15821 + _DESCRIBEPARTITIONRESPONSE._serialized_start=15823 + _DESCRIBEPARTITIONRESPONSE._serialized_end=15896 + _DESCRIBEPARTITIONRESULT._serialized_start=15898 + _DESCRIBEPARTITIONRESULT._serialized_end=15988 + _DESCRIBECONSUMERREQUEST._serialized_start=15991 + _DESCRIBECONSUMERREQUEST._serialized_end=16156 + _DESCRIBECONSUMERRESPONSE._serialized_start=16158 + _DESCRIBECONSUMERRESPONSE._serialized_end=16230 + _DESCRIBECONSUMERRESULT._serialized_start=16233 + _DESCRIBECONSUMERRESULT._serialized_end=17212 + _DESCRIBECONSUMERRESULT_PARTITIONINFO._serialized_start=16401 + _DESCRIBECONSUMERRESULT_PARTITIONINFO._serialized_end=16715 + _DESCRIBECONSUMERRESULT_PARTITIONCONSUMERSTATS._serialized_start=16718 + _DESCRIBECONSUMERRESULT_PARTITIONCONSUMERSTATS._serialized_end=17212 + _PARTITIONSTATS._serialized_start=17215 + _PARTITIONSTATS._serialized_end=17503 + _ALTERTOPICREQUEST._serialized_start=17506 + _ALTERTOPICREQUEST._serialized_end=18592 + _ALTERTOPICREQUEST_ALTERATTRIBUTESENTRY._serialized_start=11492 + _ALTERTOPICREQUEST_ALTERATTRIBUTESENTRY._serialized_end=11546 + _ALTERTOPICRESPONSE._serialized_start=18594 + _ALTERTOPICRESPONSE._serialized_end=18660 + _ALTERTOPICRESULT._serialized_start=18662 + _ALTERTOPICRESULT._serialized_end=18680 + _DROPTOPICREQUEST._serialized_start=18682 + _DROPTOPICREQUEST._serialized_end=18773 + _DROPTOPICRESPONSE._serialized_start=18775 + _DROPTOPICRESPONSE._serialized_end=18840 + _DROPTOPICRESULT._serialized_start=18842 + _DROPTOPICRESULT._serialized_end=18859 # @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v4/protos/ydb_topic_pb2.pyi b/ydb/_grpc/v4/protos/ydb_topic_pb2.pyi index 80b22929d..91f0c1012 100644 --- a/ydb/_grpc/v4/protos/ydb_topic_pb2.pyi +++ b/ydb/_grpc/v4/protos/ydb_topic_pb2.pyi @@ -85,7 +85,7 @@ class AlterPartitioningSettings(_message.Message): def __init__(self, set_min_active_partitions: _Optional[int] = ..., set_max_active_partitions: _Optional[int] = ..., set_partition_count_limit: _Optional[int] = ..., alter_auto_partitioning_settings: _Optional[_Union[AlterAutoPartitioningSettings, _Mapping]] = ...) -> None: ... class AlterTopicRequest(_message.Message): - __slots__ = ["add_consumers", "alter_attributes", "alter_consumers", "alter_partitioning_settings", "drop_consumers", "operation_params", "path", "set_metering_mode", "set_partition_write_burst_bytes", "set_partition_write_speed_bytes_per_second", "set_retention_period", "set_retention_storage_mb", "set_supported_codecs"] + __slots__ = ["add_consumers", "alter_attributes", "alter_consumers", "alter_partitioning_settings", "drop_consumers", "operation_params", "path", "reset_metrics_level", "set_content_based_deduplication", "set_metering_mode", "set_metrics_level", "set_partition_write_burst_bytes", "set_partition_write_speed_bytes_per_second", "set_retention_period", "set_retention_storage_mb", "set_supported_codecs"] class AlterAttributesEntry(_message.Message): __slots__ = ["key", "value"] KEY_FIELD_NUMBER: _ClassVar[int] @@ -100,7 +100,10 @@ class AlterTopicRequest(_message.Message): DROP_CONSUMERS_FIELD_NUMBER: _ClassVar[int] OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] PATH_FIELD_NUMBER: _ClassVar[int] + RESET_METRICS_LEVEL_FIELD_NUMBER: _ClassVar[int] + SET_CONTENT_BASED_DEDUPLICATION_FIELD_NUMBER: _ClassVar[int] SET_METERING_MODE_FIELD_NUMBER: _ClassVar[int] + SET_METRICS_LEVEL_FIELD_NUMBER: _ClassVar[int] SET_PARTITION_WRITE_BURST_BYTES_FIELD_NUMBER: _ClassVar[int] SET_PARTITION_WRITE_SPEED_BYTES_PER_SECOND_FIELD_NUMBER: _ClassVar[int] SET_RETENTION_PERIOD_FIELD_NUMBER: _ClassVar[int] @@ -113,13 +116,16 @@ class AlterTopicRequest(_message.Message): drop_consumers: _containers.RepeatedScalarFieldContainer[str] operation_params: _ydb_operation_pb2.OperationParams path: str + reset_metrics_level: _empty_pb2.Empty + set_content_based_deduplication: bool set_metering_mode: MeteringMode + set_metrics_level: int set_partition_write_burst_bytes: int set_partition_write_speed_bytes_per_second: int set_retention_period: _duration_pb2.Duration set_retention_storage_mb: int set_supported_codecs: SupportedCodecs - def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ..., alter_partitioning_settings: _Optional[_Union[AlterPartitioningSettings, _Mapping]] = ..., set_retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., set_retention_storage_mb: _Optional[int] = ..., set_supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., set_partition_write_speed_bytes_per_second: _Optional[int] = ..., set_partition_write_burst_bytes: _Optional[int] = ..., alter_attributes: _Optional[_Mapping[str, str]] = ..., add_consumers: _Optional[_Iterable[_Union[Consumer, _Mapping]]] = ..., drop_consumers: _Optional[_Iterable[str]] = ..., alter_consumers: _Optional[_Iterable[_Union[AlterConsumer, _Mapping]]] = ..., set_metering_mode: _Optional[_Union[MeteringMode, str]] = ...) -> None: ... + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ..., alter_partitioning_settings: _Optional[_Union[AlterPartitioningSettings, _Mapping]] = ..., set_retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., set_retention_storage_mb: _Optional[int] = ..., set_supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., set_partition_write_speed_bytes_per_second: _Optional[int] = ..., set_partition_write_burst_bytes: _Optional[int] = ..., alter_attributes: _Optional[_Mapping[str, str]] = ..., add_consumers: _Optional[_Iterable[_Union[Consumer, _Mapping]]] = ..., drop_consumers: _Optional[_Iterable[str]] = ..., alter_consumers: _Optional[_Iterable[_Union[AlterConsumer, _Mapping]]] = ..., set_metering_mode: _Optional[_Union[MeteringMode, str]] = ..., set_metrics_level: _Optional[int] = ..., reset_metrics_level: _Optional[_Union[_empty_pb2.Empty, _Mapping]] = ..., set_content_based_deduplication: bool = ...) -> None: ... class AlterTopicResponse(_message.Message): __slots__ = ["operation"] @@ -214,7 +220,7 @@ class Consumer(_message.Message): def __init__(self, name: _Optional[str] = ..., important: bool = ..., read_from: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., attributes: _Optional[_Mapping[str, str]] = ..., consumer_stats: _Optional[_Union[Consumer.ConsumerStats, _Mapping]] = ..., availability_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... class CreateTopicRequest(_message.Message): - __slots__ = ["attributes", "consumers", "metering_mode", "operation_params", "partition_write_burst_bytes", "partition_write_speed_bytes_per_second", "partitioning_settings", "path", "retention_period", "retention_storage_mb", "supported_codecs"] + __slots__ = ["attributes", "consumers", "content_based_deduplication", "metering_mode", "metrics_level", "operation_params", "partition_write_burst_bytes", "partition_write_speed_bytes_per_second", "partitioning_settings", "path", "retention_period", "retention_storage_mb", "supported_codecs"] class AttributesEntry(_message.Message): __slots__ = ["key", "value"] KEY_FIELD_NUMBER: _ClassVar[int] @@ -224,7 +230,9 @@ class CreateTopicRequest(_message.Message): def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] CONSUMERS_FIELD_NUMBER: _ClassVar[int] + CONTENT_BASED_DEDUPLICATION_FIELD_NUMBER: _ClassVar[int] METERING_MODE_FIELD_NUMBER: _ClassVar[int] + METRICS_LEVEL_FIELD_NUMBER: _ClassVar[int] OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] PARTITIONING_SETTINGS_FIELD_NUMBER: _ClassVar[int] PARTITION_WRITE_BURST_BYTES_FIELD_NUMBER: _ClassVar[int] @@ -235,7 +243,9 @@ class CreateTopicRequest(_message.Message): SUPPORTED_CODECS_FIELD_NUMBER: _ClassVar[int] attributes: _containers.ScalarMap[str, str] consumers: _containers.RepeatedCompositeFieldContainer[Consumer] + content_based_deduplication: bool metering_mode: MeteringMode + metrics_level: int operation_params: _ydb_operation_pb2.OperationParams partition_write_burst_bytes: int partition_write_speed_bytes_per_second: int @@ -244,7 +254,7 @@ class CreateTopicRequest(_message.Message): retention_period: _duration_pb2.Duration retention_storage_mb: int supported_codecs: SupportedCodecs - def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ..., partitioning_settings: _Optional[_Union[PartitioningSettings, _Mapping]] = ..., retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., retention_storage_mb: _Optional[int] = ..., supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., partition_write_speed_bytes_per_second: _Optional[int] = ..., partition_write_burst_bytes: _Optional[int] = ..., attributes: _Optional[_Mapping[str, str]] = ..., consumers: _Optional[_Iterable[_Union[Consumer, _Mapping]]] = ..., metering_mode: _Optional[_Union[MeteringMode, str]] = ...) -> None: ... + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ..., partitioning_settings: _Optional[_Union[PartitioningSettings, _Mapping]] = ..., retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., retention_storage_mb: _Optional[int] = ..., supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., partition_write_speed_bytes_per_second: _Optional[int] = ..., partition_write_burst_bytes: _Optional[int] = ..., attributes: _Optional[_Mapping[str, str]] = ..., consumers: _Optional[_Iterable[_Union[Consumer, _Mapping]]] = ..., metering_mode: _Optional[_Union[MeteringMode, str]] = ..., metrics_level: _Optional[int] = ..., content_based_deduplication: bool = ...) -> None: ... class CreateTopicResponse(_message.Message): __slots__ = ["operation"] @@ -373,7 +383,7 @@ class DescribeTopicResponse(_message.Message): def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... class DescribeTopicResult(_message.Message): - __slots__ = ["attributes", "consumers", "metering_mode", "partition_consumer_read_speed_bytes_per_second", "partition_total_read_speed_bytes_per_second", "partition_write_burst_bytes", "partition_write_speed_bytes_per_second", "partitioning_settings", "partitions", "retention_period", "retention_storage_mb", "self", "supported_codecs", "topic_stats"] + __slots__ = ["attributes", "consumers", "content_based_deduplication", "metering_mode", "metrics_level", "partition_consumer_read_speed_bytes_per_second", "partition_total_read_speed_bytes_per_second", "partition_write_burst_bytes", "partition_write_speed_bytes_per_second", "partitioning_settings", "partitions", "retention_period", "retention_storage_mb", "self", "supported_codecs", "topic_stats"] class AttributesEntry(_message.Message): __slots__ = ["key", "value"] KEY_FIELD_NUMBER: _ClassVar[int] @@ -411,7 +421,9 @@ class DescribeTopicResult(_message.Message): def __init__(self, store_size_bytes: _Optional[int] = ..., min_last_write_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., max_write_time_lag: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., bytes_written: _Optional[_Union[MultipleWindowsStat, _Mapping]] = ...) -> None: ... ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] CONSUMERS_FIELD_NUMBER: _ClassVar[int] + CONTENT_BASED_DEDUPLICATION_FIELD_NUMBER: _ClassVar[int] METERING_MODE_FIELD_NUMBER: _ClassVar[int] + METRICS_LEVEL_FIELD_NUMBER: _ClassVar[int] PARTITIONING_SETTINGS_FIELD_NUMBER: _ClassVar[int] PARTITIONS_FIELD_NUMBER: _ClassVar[int] PARTITION_CONSUMER_READ_SPEED_BYTES_PER_SECOND_FIELD_NUMBER: _ClassVar[int] @@ -425,7 +437,9 @@ class DescribeTopicResult(_message.Message): TOPIC_STATS_FIELD_NUMBER: _ClassVar[int] attributes: _containers.ScalarMap[str, str] consumers: _containers.RepeatedCompositeFieldContainer[Consumer] + content_based_deduplication: bool metering_mode: MeteringMode + metrics_level: int partition_consumer_read_speed_bytes_per_second: int partition_total_read_speed_bytes_per_second: int partition_write_burst_bytes: int @@ -437,7 +451,7 @@ class DescribeTopicResult(_message.Message): self: _ydb_scheme_pb2.Entry supported_codecs: SupportedCodecs topic_stats: DescribeTopicResult.TopicStats - def __init__(self, self_: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., partitioning_settings: _Optional[_Union[PartitioningSettings, _Mapping]] = ..., partitions: _Optional[_Iterable[_Union[DescribeTopicResult.PartitionInfo, _Mapping]]] = ..., retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., retention_storage_mb: _Optional[int] = ..., supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., partition_write_speed_bytes_per_second: _Optional[int] = ..., partition_total_read_speed_bytes_per_second: _Optional[int] = ..., partition_consumer_read_speed_bytes_per_second: _Optional[int] = ..., partition_write_burst_bytes: _Optional[int] = ..., attributes: _Optional[_Mapping[str, str]] = ..., consumers: _Optional[_Iterable[_Union[Consumer, _Mapping]]] = ..., metering_mode: _Optional[_Union[MeteringMode, str]] = ..., topic_stats: _Optional[_Union[DescribeTopicResult.TopicStats, _Mapping]] = ...) -> None: ... + def __init__(self, self_: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., partitioning_settings: _Optional[_Union[PartitioningSettings, _Mapping]] = ..., partitions: _Optional[_Iterable[_Union[DescribeTopicResult.PartitionInfo, _Mapping]]] = ..., retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., retention_storage_mb: _Optional[int] = ..., supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., partition_write_speed_bytes_per_second: _Optional[int] = ..., partition_total_read_speed_bytes_per_second: _Optional[int] = ..., partition_consumer_read_speed_bytes_per_second: _Optional[int] = ..., partition_write_burst_bytes: _Optional[int] = ..., attributes: _Optional[_Mapping[str, str]] = ..., consumers: _Optional[_Iterable[_Union[Consumer, _Mapping]]] = ..., metering_mode: _Optional[_Union[MeteringMode, str]] = ..., topic_stats: _Optional[_Union[DescribeTopicResult.TopicStats, _Mapping]] = ..., metrics_level: _Optional[int] = ..., content_based_deduplication: bool = ...) -> None: ... class DropTopicRequest(_message.Message): __slots__ = ["operation_params", "path"] @@ -707,7 +721,7 @@ class StreamReadMessage(_message.Message): update_token_response: UpdateTokenResponse def __init__(self, status: _Optional[_Union[_ydb_status_codes_pb2.StatusIds.StatusCode, str]] = ..., issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ..., init_response: _Optional[_Union[StreamReadMessage.InitResponse, _Mapping]] = ..., read_response: _Optional[_Union[StreamReadMessage.ReadResponse, _Mapping]] = ..., commit_offset_response: _Optional[_Union[StreamReadMessage.CommitOffsetResponse, _Mapping]] = ..., partition_session_status_response: _Optional[_Union[StreamReadMessage.PartitionSessionStatusResponse, _Mapping]] = ..., update_token_response: _Optional[_Union[UpdateTokenResponse, _Mapping]] = ..., start_partition_session_request: _Optional[_Union[StreamReadMessage.StartPartitionSessionRequest, _Mapping]] = ..., stop_partition_session_request: _Optional[_Union[StreamReadMessage.StopPartitionSessionRequest, _Mapping]] = ..., update_partition_session: _Optional[_Union[StreamReadMessage.UpdatePartitionSession, _Mapping]] = ..., end_partition_session: _Optional[_Union[StreamReadMessage.EndPartitionSession, _Mapping]] = ...) -> None: ... class InitRequest(_message.Message): - __slots__ = ["auto_partitioning_support", "consumer", "direct_read", "reader_name", "topics_read_settings"] + __slots__ = ["auto_partitioning_support", "consumer", "direct_read", "partition_max_in_flight_bytes", "reader_name", "topics_read_settings"] class TopicReadSettings(_message.Message): __slots__ = ["max_lag", "partition_ids", "path", "read_from"] MAX_LAG_FIELD_NUMBER: _ClassVar[int] @@ -722,14 +736,16 @@ class StreamReadMessage(_message.Message): AUTO_PARTITIONING_SUPPORT_FIELD_NUMBER: _ClassVar[int] CONSUMER_FIELD_NUMBER: _ClassVar[int] DIRECT_READ_FIELD_NUMBER: _ClassVar[int] + PARTITION_MAX_IN_FLIGHT_BYTES_FIELD_NUMBER: _ClassVar[int] READER_NAME_FIELD_NUMBER: _ClassVar[int] TOPICS_READ_SETTINGS_FIELD_NUMBER: _ClassVar[int] auto_partitioning_support: bool consumer: str direct_read: bool + partition_max_in_flight_bytes: int reader_name: str topics_read_settings: _containers.RepeatedCompositeFieldContainer[StreamReadMessage.InitRequest.TopicReadSettings] - def __init__(self, topics_read_settings: _Optional[_Iterable[_Union[StreamReadMessage.InitRequest.TopicReadSettings, _Mapping]]] = ..., consumer: _Optional[str] = ..., reader_name: _Optional[str] = ..., direct_read: bool = ..., auto_partitioning_support: bool = ...) -> None: ... + def __init__(self, topics_read_settings: _Optional[_Iterable[_Union[StreamReadMessage.InitRequest.TopicReadSettings, _Mapping]]] = ..., consumer: _Optional[str] = ..., reader_name: _Optional[str] = ..., direct_read: bool = ..., auto_partitioning_support: bool = ..., partition_max_in_flight_bytes: _Optional[int] = ...) -> None: ... class InitResponse(_message.Message): __slots__ = ["session_id"] SESSION_ID_FIELD_NUMBER: _ClassVar[int] @@ -750,16 +766,18 @@ class StreamReadMessage(_message.Message): partition_session_id: int def __init__(self, partition_session_id: _Optional[int] = ...) -> None: ... class PartitionSessionStatusResponse(_message.Message): - __slots__ = ["committed_offset", "partition_offsets", "partition_session_id", "write_time_high_watermark"] + __slots__ = ["committed_offset", "partition_offsets", "partition_session_id", "read_offset", "write_time_high_watermark"] COMMITTED_OFFSET_FIELD_NUMBER: _ClassVar[int] PARTITION_OFFSETS_FIELD_NUMBER: _ClassVar[int] PARTITION_SESSION_ID_FIELD_NUMBER: _ClassVar[int] + READ_OFFSET_FIELD_NUMBER: _ClassVar[int] WRITE_TIME_HIGH_WATERMARK_FIELD_NUMBER: _ClassVar[int] committed_offset: int partition_offsets: OffsetsRange partition_session_id: int + read_offset: int write_time_high_watermark: _timestamp_pb2.Timestamp - def __init__(self, partition_session_id: _Optional[int] = ..., partition_offsets: _Optional[_Union[OffsetsRange, _Mapping]] = ..., committed_offset: _Optional[int] = ..., write_time_high_watermark: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... + def __init__(self, partition_session_id: _Optional[int] = ..., partition_offsets: _Optional[_Union[OffsetsRange, _Mapping]] = ..., committed_offset: _Optional[int] = ..., write_time_high_watermark: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., read_offset: _Optional[int] = ...) -> None: ... class ReadRequest(_message.Message): __slots__ = ["bytes_size"] BYTES_SIZE_FIELD_NUMBER: _ClassVar[int] diff --git a/ydb/_grpc/v4/ydb_table_v1_pb2.py b/ydb/_grpc/v4/ydb_table_v1_pb2.py index c89c645b4..a23d7eb09 100644 --- a/ydb/_grpc/v4/ydb_table_v1_pb2.py +++ b/ydb/_grpc/v4/ydb_table_v1_pb2.py @@ -15,7 +15,7 @@ from ydb._grpc.v4.protos import ydb_table_pb2 as protos_dot_ydb__table__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12ydb_table_v1.proto\x12\x0cYdb.Table.V1\x1a\x16protos/ydb_table.proto2\xe9\x0e\n\x0cTableService\x12R\n\rCreateSession\x12\x1f.Ydb.Table.CreateSessionRequest\x1a .Ydb.Table.CreateSessionResponse\x12R\n\rDeleteSession\x12\x1f.Ydb.Table.DeleteSessionRequest\x1a .Ydb.Table.DeleteSessionResponse\x12\x46\n\tKeepAlive\x12\x1b.Ydb.Table.KeepAliveRequest\x1a\x1c.Ydb.Table.KeepAliveResponse\x12L\n\x0b\x43reateTable\x12\x1d.Ydb.Table.CreateTableRequest\x1a\x1e.Ydb.Table.CreateTableResponse\x12\x46\n\tDropTable\x12\x1b.Ydb.Table.DropTableRequest\x1a\x1c.Ydb.Table.DropTableResponse\x12I\n\nAlterTable\x12\x1c.Ydb.Table.AlterTableRequest\x1a\x1d.Ydb.Table.AlterTableResponse\x12\x46\n\tCopyTable\x12\x1b.Ydb.Table.CopyTableRequest\x1a\x1c.Ydb.Table.CopyTableResponse\x12I\n\nCopyTables\x12\x1c.Ydb.Table.CopyTablesRequest\x1a\x1d.Ydb.Table.CopyTablesResponse\x12O\n\x0cRenameTables\x12\x1e.Ydb.Table.RenameTablesRequest\x1a\x1f.Ydb.Table.RenameTablesResponse\x12R\n\rDescribeTable\x12\x1f.Ydb.Table.DescribeTableRequest\x1a .Ydb.Table.DescribeTableResponse\x12[\n\x10\x45xplainDataQuery\x12\".Ydb.Table.ExplainDataQueryRequest\x1a#.Ydb.Table.ExplainDataQueryResponse\x12[\n\x10PrepareDataQuery\x12\".Ydb.Table.PrepareDataQueryRequest\x1a#.Ydb.Table.PrepareDataQueryResponse\x12[\n\x10\x45xecuteDataQuery\x12\".Ydb.Table.ExecuteDataQueryRequest\x1a#.Ydb.Table.ExecuteDataQueryResponse\x12\x61\n\x12\x45xecuteSchemeQuery\x12$.Ydb.Table.ExecuteSchemeQueryRequest\x1a%.Ydb.Table.ExecuteSchemeQueryResponse\x12[\n\x10\x42\x65ginTransaction\x12\".Ydb.Table.BeginTransactionRequest\x1a#.Ydb.Table.BeginTransactionResponse\x12^\n\x11\x43ommitTransaction\x12#.Ydb.Table.CommitTransactionRequest\x1a$.Ydb.Table.CommitTransactionResponse\x12\x64\n\x13RollbackTransaction\x12%.Ydb.Table.RollbackTransactionRequest\x1a&.Ydb.Table.RollbackTransactionResponse\x12g\n\x14\x44\x65scribeTableOptions\x12&.Ydb.Table.DescribeTableOptionsRequest\x1a\'.Ydb.Table.DescribeTableOptionsResponse\x12N\n\x0fStreamReadTable\x12\x1b.Ydb.Table.ReadTableRequest\x1a\x1c.Ydb.Table.ReadTableResponse0\x01\x12\x43\n\x08ReadRows\x12\x1a.Ydb.Table.ReadRowsRequest\x1a\x1b.Ydb.Table.ReadRowsResponse\x12I\n\nBulkUpsert\x12\x1c.Ydb.Table.BulkUpsertRequest\x1a\x1d.Ydb.Table.BulkUpsertResponse\x12j\n\x16StreamExecuteScanQuery\x12\".Ydb.Table.ExecuteScanQueryRequest\x1a*.Ydb.Table.ExecuteScanQueryPartialResponse0\x01\x42O\n\x17tech.ydb.proto.table.v1Z4github.com/ydb-platform/ydb-go-genproto/Ydb_Table_V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12ydb_table_v1.proto\x12\x0cYdb.Table.V1\x1a\x16protos/ydb_table.proto2\xb3\x11\n\x0cTableService\x12R\n\rCreateSession\x12\x1f.Ydb.Table.CreateSessionRequest\x1a .Ydb.Table.CreateSessionResponse\x12R\n\rDeleteSession\x12\x1f.Ydb.Table.DeleteSessionRequest\x1a .Ydb.Table.DeleteSessionResponse\x12\x46\n\tKeepAlive\x12\x1b.Ydb.Table.KeepAliveRequest\x1a\x1c.Ydb.Table.KeepAliveResponse\x12L\n\x0b\x43reateTable\x12\x1d.Ydb.Table.CreateTableRequest\x1a\x1e.Ydb.Table.CreateTableResponse\x12\x46\n\tDropTable\x12\x1b.Ydb.Table.DropTableRequest\x1a\x1c.Ydb.Table.DropTableResponse\x12I\n\nAlterTable\x12\x1c.Ydb.Table.AlterTableRequest\x1a\x1d.Ydb.Table.AlterTableResponse\x12\x46\n\tCopyTable\x12\x1b.Ydb.Table.CopyTableRequest\x1a\x1c.Ydb.Table.CopyTableResponse\x12I\n\nCopyTables\x12\x1c.Ydb.Table.CopyTablesRequest\x1a\x1d.Ydb.Table.CopyTablesResponse\x12O\n\x0cRenameTables\x12\x1e.Ydb.Table.RenameTablesRequest\x1a\x1f.Ydb.Table.RenameTablesResponse\x12R\n\rDescribeTable\x12\x1f.Ydb.Table.DescribeTableRequest\x1a .Ydb.Table.DescribeTableResponse\x12[\n\x10\x45xplainDataQuery\x12\".Ydb.Table.ExplainDataQueryRequest\x1a#.Ydb.Table.ExplainDataQueryResponse\x12[\n\x10PrepareDataQuery\x12\".Ydb.Table.PrepareDataQueryRequest\x1a#.Ydb.Table.PrepareDataQueryResponse\x12[\n\x10\x45xecuteDataQuery\x12\".Ydb.Table.ExecuteDataQueryRequest\x1a#.Ydb.Table.ExecuteDataQueryResponse\x12\x61\n\x12\x45xecuteSchemeQuery\x12$.Ydb.Table.ExecuteSchemeQueryRequest\x1a%.Ydb.Table.ExecuteSchemeQueryResponse\x12[\n\x10\x42\x65ginTransaction\x12\".Ydb.Table.BeginTransactionRequest\x1a#.Ydb.Table.BeginTransactionResponse\x12^\n\x11\x43ommitTransaction\x12#.Ydb.Table.CommitTransactionRequest\x1a$.Ydb.Table.CommitTransactionResponse\x12\x64\n\x13RollbackTransaction\x12%.Ydb.Table.RollbackTransactionRequest\x1a&.Ydb.Table.RollbackTransactionResponse\x12g\n\x14\x44\x65scribeTableOptions\x12&.Ydb.Table.DescribeTableOptionsRequest\x1a\'.Ydb.Table.DescribeTableOptionsResponse\x12N\n\x0fStreamReadTable\x12\x1b.Ydb.Table.ReadTableRequest\x1a\x1c.Ydb.Table.ReadTableResponse0\x01\x12\x43\n\x08ReadRows\x12\x1a.Ydb.Table.ReadRowsRequest\x1a\x1b.Ydb.Table.ReadRowsResponse\x12I\n\nBulkUpsert\x12\x1c.Ydb.Table.BulkUpsertRequest\x1a\x1d.Ydb.Table.BulkUpsertResponse\x12j\n\x16StreamExecuteScanQuery\x12\".Ydb.Table.ExecuteScanQueryRequest\x1a*.Ydb.Table.ExecuteScanQueryPartialResponse0\x01\x12y\n\x1a\x44\x65scribeExternalDataSource\x12,.Ydb.Table.DescribeExternalDataSourceRequest\x1a-.Ydb.Table.DescribeExternalDataSourceResponse\x12j\n\x15\x44\x65scribeExternalTable\x12\'.Ydb.Table.DescribeExternalTableRequest\x1a(.Ydb.Table.DescribeExternalTableResponse\x12\x61\n\x12\x44\x65scribeSystemView\x12$.Ydb.Table.DescribeSystemViewRequest\x1a%.Ydb.Table.DescribeSystemViewResponseBO\n\x17tech.ydb.proto.table.v1Z4github.com/ydb-platform/ydb-go-genproto/Ydb_Table_V1b\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ydb_table_v1_pb2', globals()) @@ -24,5 +24,5 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\027tech.ydb.proto.table.v1Z4github.com/ydb-platform/ydb-go-genproto/Ydb_Table_V1' _TABLESERVICE._serialized_start=61 - _TABLESERVICE._serialized_end=1958 + _TABLESERVICE._serialized_end=2288 # @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v4/ydb_table_v1_pb2_grpc.py b/ydb/_grpc/v4/ydb_table_v1_pb2_grpc.py index 66cd2fddc..fb6244982 100644 --- a/ydb/_grpc/v4/ydb_table_v1_pb2_grpc.py +++ b/ydb/_grpc/v4/ydb_table_v1_pb2_grpc.py @@ -124,6 +124,21 @@ def __init__(self, channel): request_serializer=protos_dot_ydb__table__pb2.ExecuteScanQueryRequest.SerializeToString, response_deserializer=protos_dot_ydb__table__pb2.ExecuteScanQueryPartialResponse.FromString, ) + self.DescribeExternalDataSource = channel.unary_unary( + '/Ydb.Table.V1.TableService/DescribeExternalDataSource', + request_serializer=protos_dot_ydb__table__pb2.DescribeExternalDataSourceRequest.SerializeToString, + response_deserializer=protos_dot_ydb__table__pb2.DescribeExternalDataSourceResponse.FromString, + ) + self.DescribeExternalTable = channel.unary_unary( + '/Ydb.Table.V1.TableService/DescribeExternalTable', + request_serializer=protos_dot_ydb__table__pb2.DescribeExternalTableRequest.SerializeToString, + response_deserializer=protos_dot_ydb__table__pb2.DescribeExternalTableResponse.FromString, + ) + self.DescribeSystemView = channel.unary_unary( + '/Ydb.Table.V1.TableService/DescribeSystemView', + request_serializer=protos_dot_ydb__table__pb2.DescribeSystemViewRequest.SerializeToString, + response_deserializer=protos_dot_ydb__table__pb2.DescribeSystemViewResponse.FromString, + ) class TableServiceServicer(object): @@ -133,7 +148,7 @@ def CreateSession(self, request, context): """Create new session. Implicit session creation is forbidden, so user must create new session before execute any query, otherwise BAD_SESSION status will be returned. - Simultaneous execution of requests are forbiden. + Simultaneous execution of requests are forbidden. Sessions are volatile, can be invalidated by server, for example in case of fatal errors. All requests with this session will fail with BAD_SESSION status. So, client must be able to handle BAD_SESSION status. @@ -295,6 +310,27 @@ def StreamExecuteScanQuery(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def DescribeExternalDataSource(self, request, context): + """Returns information about a given external data source. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DescribeExternalTable(self, request, context): + """Returns information about a given external table. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DescribeSystemView(self, request, context): + """Returns information about a given system view table. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_TableServiceServicer_to_server(servicer, server): rpc_method_handlers = { @@ -408,6 +444,21 @@ def add_TableServiceServicer_to_server(servicer, server): request_deserializer=protos_dot_ydb__table__pb2.ExecuteScanQueryRequest.FromString, response_serializer=protos_dot_ydb__table__pb2.ExecuteScanQueryPartialResponse.SerializeToString, ), + 'DescribeExternalDataSource': grpc.unary_unary_rpc_method_handler( + servicer.DescribeExternalDataSource, + request_deserializer=protos_dot_ydb__table__pb2.DescribeExternalDataSourceRequest.FromString, + response_serializer=protos_dot_ydb__table__pb2.DescribeExternalDataSourceResponse.SerializeToString, + ), + 'DescribeExternalTable': grpc.unary_unary_rpc_method_handler( + servicer.DescribeExternalTable, + request_deserializer=protos_dot_ydb__table__pb2.DescribeExternalTableRequest.FromString, + response_serializer=protos_dot_ydb__table__pb2.DescribeExternalTableResponse.SerializeToString, + ), + 'DescribeSystemView': grpc.unary_unary_rpc_method_handler( + servicer.DescribeSystemView, + request_deserializer=protos_dot_ydb__table__pb2.DescribeSystemViewRequest.FromString, + response_serializer=protos_dot_ydb__table__pb2.DescribeSystemViewResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'Ydb.Table.V1.TableService', rpc_method_handlers) @@ -791,3 +842,54 @@ def StreamExecuteScanQuery(request, protos_dot_ydb__table__pb2.ExecuteScanQueryPartialResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DescribeExternalDataSource(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/Ydb.Table.V1.TableService/DescribeExternalDataSource', + protos_dot_ydb__table__pb2.DescribeExternalDataSourceRequest.SerializeToString, + protos_dot_ydb__table__pb2.DescribeExternalDataSourceResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DescribeExternalTable(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/Ydb.Table.V1.TableService/DescribeExternalTable', + protos_dot_ydb__table__pb2.DescribeExternalTableRequest.SerializeToString, + protos_dot_ydb__table__pb2.DescribeExternalTableResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DescribeSystemView(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/Ydb.Table.V1.TableService/DescribeSystemView', + protos_dot_ydb__table__pb2.DescribeSystemViewRequest.SerializeToString, + protos_dot_ydb__table__pb2.DescribeSystemViewResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/ydb/_grpc/v5/draft/protos/ydb_maintenance_pb2.py b/ydb/_grpc/v5/draft/protos/ydb_maintenance_pb2.py index eb00d0359..0aa93ac4a 100644 --- a/ydb/_grpc/v5/draft/protos/ydb_maintenance_pb2.py +++ b/ydb/_grpc/v5/draft/protos/ydb_maintenance_pb2.py @@ -20,7 +20,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"draft/protos/ydb_maintenance.proto\x12\x0fYdb.Maintenance\x1a#protos/annotations/validation.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x1aprotos/ydb_discovery.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf0\x02\n\x04Node\x12\x0f\n\x07node_id\x18\x01 \x01(\r\x12\x0c\n\x04host\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\x12-\n\x08location\x18\x04 \x01(\x0b\x32\x1b.Ydb.Discovery.NodeLocation\x12)\n\x05state\x18\x05 \x01(\x0e\x32\x1a.Ydb.Maintenance.ItemState\x12\x34\n\x07storage\x18\x06 \x01(\x0b\x32!.Ydb.Maintenance.Node.StorageNodeH\x00\x12\x34\n\x07\x64ynamic\x18\x07 \x01(\x0b\x32!.Ydb.Maintenance.Node.DynamicNodeH\x00\x12.\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07version\x18\t \x01(\t\x1a\r\n\x0bStorageNode\x1a\x1d\n\x0b\x44ynamicNode\x12\x0e\n\x06tenant\x18\x01 \x01(\tB\x06\n\x04type\"T\n\x17ListClusterNodesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\">\n\x16ListClusterNodesResult\x12$\n\x05nodes\x18\x01 \x03(\x0b\x32\x15.Ydb.Maintenance.Node\"H\n\x18ListClusterNodesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xc3\x01\n\x16MaintenanceTaskOptions\x12\x19\n\x08task_uid\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x1c\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12<\n\x11\x61vailability_mode\x18\x03 \x01(\x0e\x32!.Ydb.Maintenance.AvailabilityMode\x12\x0f\n\x07\x64ry_run\x18\x04 \x01(\x08\x12!\n\x08priority\x18\x05 \x01(\x05\x42\x0f\xb2\xe6*\x0b[-100; 100]\"B\n\x0b\x41\x63tionScope\x12\x11\n\x07node_id\x18\x01 \x01(\rH\x00\x12\x17\n\x04host\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\xff\x01H\x00\x42\x07\n\x05scope\"f\n\nLockAction\x12+\n\x05scope\x18\x01 \x01(\x0b\x32\x1c.Ydb.Maintenance.ActionScope\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"F\n\x06\x41\x63tion\x12\x32\n\x0block_action\x18\x01 \x01(\x0b\x32\x1b.Ydb.Maintenance.LockActionH\x00\x42\x08\n\x06\x61\x63tion\"?\n\x0b\x41\x63tionGroup\x12\x30\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32\x17.Ydb.Maintenance.ActionB\x06\x9a\xe6*\x02(\x01\"\xd5\x01\n\x1c\x43reateMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12=\n\x0ctask_options\x18\x02 \x01(\x0b\x32\'.Ydb.Maintenance.MaintenanceTaskOptions\x12;\n\raction_groups\x18\x03 \x03(\x0b\x32\x1c.Ydb.Maintenance.ActionGroupB\x06\x9a\xe6*\x02(\x01\"u\n\x1dRefreshMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"]\n\tActionUid\x12\x19\n\x08task_uid\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x19\n\x08group_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x1a\n\taction_id\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"\x8f\x06\n\x0b\x41\x63tionState\x12\'\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32\x17.Ydb.Maintenance.Action\x12.\n\naction_uid\x18\x02 \x01(\x0b\x32\x1a.Ydb.Maintenance.ActionUid\x12\x39\n\x06status\x18\x03 \x01(\x0e\x32).Ydb.Maintenance.ActionState.ActionStatus\x12\x39\n\x06reason\x18\x04 \x01(\x0e\x32).Ydb.Maintenance.ActionState.ActionReason\x12\x16\n\x0ereason_details\x18\x06 \x01(\t\x12,\n\x08\x64\x65\x61\x64line\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"e\n\x0c\x41\x63tionStatus\x12\x1d\n\x19\x41\x43TION_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41\x43TION_STATUS_PENDING\x10\x01\x12\x1b\n\x17\x41\x43TION_STATUS_PERFORMED\x10\x02\"\x83\x03\n\x0c\x41\x63tionReason\x12\x1d\n\x19\x41\x43TION_REASON_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41\x43TION_REASON_OK\x10\x01\x12-\n)ACTION_REASON_TOO_MANY_UNAVAILABLE_VDISKS\x10\x02\x12:\n6ACTION_REASON_TOO_MANY_UNAVAILABLE_STATE_STORAGE_RINGS\x10\x03\x12.\n*ACTION_REASON_DISABLED_NODES_LIMIT_REACHED\x10\x04\x12\x35\n1ACTION_REASON_TENANT_DISABLED_NODES_LIMIT_REACHED\x10\x05\x12\x1f\n\x1b\x41\x43TION_REASON_WRONG_REQUEST\x10\x06\x12\x30\n,ACTION_REASON_SYS_TABLETS_NODE_LIMIT_REACHED\x10\x07\x12\x19\n\x15\x41\x43TION_REASON_GENERIC\x10\x08\"H\n\x11\x41\x63tionGroupStates\x12\x33\n\raction_states\x18\x01 \x03(\x0b\x32\x1c.Ydb.Maintenance.ActionState\"\xb0\x01\n\x15MaintenanceTaskResult\x12\x10\n\x08task_uid\x18\x01 \x01(\t\x12?\n\x13\x61\x63tion_group_states\x18\x02 \x03(\x0b\x32\".Ydb.Maintenance.ActionGroupStates\x12\x34\n\x0bretry_after\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x42\x0e\n\x0c_retry_after\"G\n\x17MaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"q\n\x19GetMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"\x9a\x01\n\x18GetMaintenanceTaskResult\x12=\n\x0ctask_options\x18\x01 \x01(\x0b\x32\'.Ydb.Maintenance.MaintenanceTaskOptions\x12?\n\x13\x61\x63tion_group_states\x18\x02 \x03(\x0b\x32\".Ydb.Maintenance.ActionGroupStates\"J\n\x1aGetMaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"t\n\x1bListMaintenanceTasksRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x11\n\x04user\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x07\n\x05_user\"0\n\x1aListMaintenanceTasksResult\x12\x12\n\ntasks_uids\x18\x01 \x03(\t\"L\n\x1cListMaintenanceTasksResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"r\n\x1a\x44ropMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"M\n\x1dManageMaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x8b\x01\n\x15\x43ompleteActionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x37\n\x0b\x61\x63tion_uids\x18\x02 \x03(\x0b\x32\x1a.Ydb.Maintenance.ActionUidB\x06\x9a\xe6*\x02(\x01\"\xbe\x01\n\x12ManageActionResult\x12\x43\n\x0f\x61\x63tion_statuses\x18\x01 \x03(\x0b\x32*.Ydb.Maintenance.ManageActionResult.Status\x1a\x63\n\x06Status\x12.\n\naction_uid\x18\x01 \x01(\x0b\x32\x1a.Ydb.Maintenance.ActionUid\x12)\n\x06status\x18\x02 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\"D\n\x14ManageActionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation*k\n\tItemState\x12\x1a\n\x16ITEM_STATE_UNSPECIFIED\x10\x00\x12\x11\n\rITEM_STATE_UP\x10\x01\x12\x1a\n\x16ITEM_STATE_MAINTENANCE\x10\x02\x12\x13\n\x0fITEM_STATE_DOWN\x10\x03*\x8c\x01\n\x10\x41vailabilityMode\x12!\n\x1d\x41VAILABILITY_MODE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41VAILABILITY_MODE_STRONG\x10\x01\x12\x1a\n\x16\x41VAILABILITY_MODE_WEAK\x10\x02\x12\x1b\n\x17\x41VAILABILITY_MODE_FORCE\x10\x03\x42n\n#tech.ydb.proto.draft.maintenance.v1ZDgithub.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_Maintenance\xf8\x01\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"draft/protos/ydb_maintenance.proto\x12\x0fYdb.Maintenance\x1a#protos/annotations/validation.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x1aprotos/ydb_discovery.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf0\x02\n\x04Node\x12\x0f\n\x07node_id\x18\x01 \x01(\r\x12\x0c\n\x04host\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\x12-\n\x08location\x18\x04 \x01(\x0b\x32\x1b.Ydb.Discovery.NodeLocation\x12)\n\x05state\x18\x05 \x01(\x0e\x32\x1a.Ydb.Maintenance.ItemState\x12\x34\n\x07storage\x18\x06 \x01(\x0b\x32!.Ydb.Maintenance.Node.StorageNodeH\x00\x12\x34\n\x07\x64ynamic\x18\x07 \x01(\x0b\x32!.Ydb.Maintenance.Node.DynamicNodeH\x00\x12.\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07version\x18\t \x01(\t\x1a\r\n\x0bStorageNode\x1a\x1d\n\x0b\x44ynamicNode\x12\x0e\n\x06tenant\x18\x01 \x01(\tB\x06\n\x04type\"T\n\x17ListClusterNodesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\">\n\x16ListClusterNodesResult\x12$\n\x05nodes\x18\x01 \x03(\x0b\x32\x15.Ydb.Maintenance.Node\"H\n\x18ListClusterNodesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xc3\x01\n\x16MaintenanceTaskOptions\x12\x19\n\x08task_uid\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x1c\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12<\n\x11\x61vailability_mode\x18\x03 \x01(\x0e\x32!.Ydb.Maintenance.AvailabilityMode\x12\x0f\n\x07\x64ry_run\x18\x04 \x01(\x08\x12!\n\x08priority\x18\x05 \x01(\x05\x42\x0f\xb2\xe6*\x0b[-100; 100]\"\xf7\x02\n\x0b\x41\x63tionScope\x12\x11\n\x07node_id\x18\x01 \x01(\rH\x00\x12\x17\n\x04host\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\xff\x01H\x00\x12\x33\n\x05pdisk\x18\x03 \x01(\x0b\x32\".Ydb.Maintenance.ActionScope.PDiskH\x00\x1a,\n\x07PDiskId\x12\x0f\n\x07node_id\x18\x01 \x01(\r\x12\x10\n\x08pdisk_id\x18\x02 \x01(\r\x1a=\n\rPDiskLocation\x12\x15\n\x04host\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\xff\x01\x12\x15\n\x04path\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\xff\x01\x1a\x90\x01\n\x05PDisk\x12\x38\n\x08pdisk_id\x18\x01 \x01(\x0b\x32$.Ydb.Maintenance.ActionScope.PDiskIdH\x00\x12\x44\n\x0epdisk_location\x18\x02 \x01(\x0b\x32*.Ydb.Maintenance.ActionScope.PDiskLocationH\x00\x42\x07\n\x05pdiskB\x07\n\x05scope\"f\n\nLockAction\x12+\n\x05scope\x18\x01 \x01(\x0b\x32\x1c.Ydb.Maintenance.ActionScope\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\":\n\x0b\x44rainAction\x12+\n\x05scope\x18\x01 \x01(\x0b\x32\x1c.Ydb.Maintenance.ActionScope\";\n\x0c\x43ordonAction\x12+\n\x05scope\x18\x01 \x01(\x0b\x32\x1c.Ydb.Maintenance.ActionScope\"\xb4\x01\n\x06\x41\x63tion\x12\x32\n\x0block_action\x18\x01 \x01(\x0b\x32\x1b.Ydb.Maintenance.LockActionH\x00\x12\x34\n\x0c\x64rain_action\x18\x02 \x01(\x0b\x32\x1c.Ydb.Maintenance.DrainActionH\x00\x12\x36\n\rcordon_action\x18\x03 \x01(\x0b\x32\x1d.Ydb.Maintenance.CordonActionH\x00\x42\x08\n\x06\x61\x63tion\"?\n\x0b\x41\x63tionGroup\x12\x30\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32\x17.Ydb.Maintenance.ActionB\x06\x9a\xe6*\x02(\x01\"\xd5\x01\n\x1c\x43reateMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12=\n\x0ctask_options\x18\x02 \x01(\x0b\x32\'.Ydb.Maintenance.MaintenanceTaskOptions\x12;\n\raction_groups\x18\x03 \x03(\x0b\x32\x1c.Ydb.Maintenance.ActionGroupB\x06\x9a\xe6*\x02(\x01\"u\n\x1dRefreshMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"]\n\tActionUid\x12\x19\n\x08task_uid\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x19\n\x08group_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x1a\n\taction_id\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"\xa8\x06\n\x0b\x41\x63tionState\x12\'\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32\x17.Ydb.Maintenance.Action\x12.\n\naction_uid\x18\x02 \x01(\x0b\x32\x1a.Ydb.Maintenance.ActionUid\x12\x39\n\x06status\x18\x03 \x01(\x0e\x32).Ydb.Maintenance.ActionState.ActionStatus\x12\x39\n\x06reason\x18\x04 \x01(\x0e\x32).Ydb.Maintenance.ActionState.ActionReason\x12\x0f\n\x07\x64\x65tails\x18\x06 \x01(\t\x12,\n\x08\x64\x65\x61\x64line\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x84\x01\n\x0c\x41\x63tionStatus\x12\x1d\n\x19\x41\x43TION_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41\x43TION_STATUS_PENDING\x10\x01\x12\x1b\n\x17\x41\x43TION_STATUS_PERFORMED\x10\x02\x12\x1d\n\x19\x41\x43TION_STATUS_IN_PROGRESS\x10\x03\"\x83\x03\n\x0c\x41\x63tionReason\x12\x1d\n\x19\x41\x43TION_REASON_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41\x43TION_REASON_OK\x10\x01\x12-\n)ACTION_REASON_TOO_MANY_UNAVAILABLE_VDISKS\x10\x02\x12:\n6ACTION_REASON_TOO_MANY_UNAVAILABLE_STATE_STORAGE_RINGS\x10\x03\x12.\n*ACTION_REASON_DISABLED_NODES_LIMIT_REACHED\x10\x04\x12\x35\n1ACTION_REASON_TENANT_DISABLED_NODES_LIMIT_REACHED\x10\x05\x12\x1f\n\x1b\x41\x43TION_REASON_WRONG_REQUEST\x10\x06\x12\x30\n,ACTION_REASON_SYS_TABLETS_NODE_LIMIT_REACHED\x10\x07\x12\x19\n\x15\x41\x43TION_REASON_GENERIC\x10\x08\"H\n\x11\x41\x63tionGroupStates\x12\x33\n\raction_states\x18\x01 \x03(\x0b\x32\x1c.Ydb.Maintenance.ActionState\"\x98\x02\n\x15MaintenanceTaskResult\x12\x10\n\x08task_uid\x18\x01 \x01(\t\x12?\n\x13\x61\x63tion_group_states\x18\x02 \x03(\x0b\x32\".Ydb.Maintenance.ActionGroupStates\x12\x34\n\x0bretry_after\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_refresh_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0e\n\x0c_retry_after\"G\n\x17MaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"q\n\x19GetMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"\x82\x02\n\x18GetMaintenanceTaskResult\x12=\n\x0ctask_options\x18\x01 \x01(\x0b\x32\'.Ydb.Maintenance.MaintenanceTaskOptions\x12?\n\x13\x61\x63tion_group_states\x18\x02 \x03(\x0b\x32\".Ydb.Maintenance.ActionGroupStates\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_refresh_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"J\n\x1aGetMaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"t\n\x1bListMaintenanceTasksRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x11\n\x04user\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x07\n\x05_user\"0\n\x1aListMaintenanceTasksResult\x12\x12\n\ntasks_uids\x18\x01 \x03(\t\"L\n\x1cListMaintenanceTasksResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"r\n\x1a\x44ropMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"M\n\x1dManageMaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x8b\x01\n\x15\x43ompleteActionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x37\n\x0b\x61\x63tion_uids\x18\x02 \x03(\x0b\x32\x1a.Ydb.Maintenance.ActionUidB\x06\x9a\xe6*\x02(\x01\"\xbe\x01\n\x12ManageActionResult\x12\x43\n\x0f\x61\x63tion_statuses\x18\x01 \x03(\x0b\x32*.Ydb.Maintenance.ManageActionResult.Status\x1a\x63\n\x06Status\x12.\n\naction_uid\x18\x01 \x01(\x0b\x32\x1a.Ydb.Maintenance.ActionUid\x12)\n\x06status\x18\x02 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\"D\n\x14ManageActionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation*k\n\tItemState\x12\x1a\n\x16ITEM_STATE_UNSPECIFIED\x10\x00\x12\x11\n\rITEM_STATE_UP\x10\x01\x12\x1a\n\x16ITEM_STATE_MAINTENANCE\x10\x02\x12\x13\n\x0fITEM_STATE_DOWN\x10\x03*\xa9\x01\n\x10\x41vailabilityMode\x12!\n\x1d\x41VAILABILITY_MODE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41VAILABILITY_MODE_STRONG\x10\x01\x12\x1a\n\x16\x41VAILABILITY_MODE_WEAK\x10\x02\x12\x1b\n\x17\x41VAILABILITY_MODE_FORCE\x10\x03\x12\x1b\n\x17\x41VAILABILITY_MODE_SMART\x10\x04\x42n\n#tech.ydb.proto.draft.maintenance.v1ZDgithub.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_Maintenance\xf8\x01\x01\x62\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'draft.protos.ydb_maintenance_pb2', globals()) @@ -34,6 +34,10 @@ _MAINTENANCETASKOPTIONS.fields_by_name['description']._serialized_options = b'\242\346*\003\030\200\001' _MAINTENANCETASKOPTIONS.fields_by_name['priority']._options = None _MAINTENANCETASKOPTIONS.fields_by_name['priority']._serialized_options = b'\262\346*\013[-100; 100]' + _ACTIONSCOPE_PDISKLOCATION.fields_by_name['host']._options = None + _ACTIONSCOPE_PDISKLOCATION.fields_by_name['host']._serialized_options = b'\242\346*\003\030\377\001' + _ACTIONSCOPE_PDISKLOCATION.fields_by_name['path']._options = None + _ACTIONSCOPE_PDISKLOCATION.fields_by_name['path']._serialized_options = b'\242\346*\003\030\377\001' _ACTIONSCOPE.fields_by_name['host']._options = None _ACTIONSCOPE.fields_by_name['host']._serialized_options = b'\242\346*\003\030\377\001' _ACTIONGROUP.fields_by_name['actions']._options = None @@ -54,10 +58,10 @@ _DROPMAINTENANCETASKREQUEST.fields_by_name['task_uid']._serialized_options = b'\242\346*\003\030\200\001' _COMPLETEACTIONREQUEST.fields_by_name['action_uids']._options = None _COMPLETEACTIONREQUEST.fields_by_name['action_uids']._serialized_options = b'\232\346*\002(\001' - _ITEMSTATE._serialized_start=4082 - _ITEMSTATE._serialized_end=4189 - _AVAILABILITYMODE._serialized_start=4192 - _AVAILABILITYMODE._serialized_end=4332 + _ITEMSTATE._serialized_start=4857 + _ITEMSTATE._serialized_end=4964 + _AVAILABILITYMODE._serialized_start=4967 + _AVAILABILITYMODE._serialized_end=5136 _NODE._serialized_start=245 _NODE._serialized_end=613 _NODE_STORAGENODE._serialized_start=561 @@ -72,54 +76,64 @@ _LISTCLUSTERNODESRESPONSE._serialized_end=837 _MAINTENANCETASKOPTIONS._serialized_start=840 _MAINTENANCETASKOPTIONS._serialized_end=1035 - _ACTIONSCOPE._serialized_start=1037 - _ACTIONSCOPE._serialized_end=1103 - _LOCKACTION._serialized_start=1105 - _LOCKACTION._serialized_end=1207 - _ACTION._serialized_start=1209 - _ACTION._serialized_end=1279 - _ACTIONGROUP._serialized_start=1281 - _ACTIONGROUP._serialized_end=1344 - _CREATEMAINTENANCETASKREQUEST._serialized_start=1347 - _CREATEMAINTENANCETASKREQUEST._serialized_end=1560 - _REFRESHMAINTENANCETASKREQUEST._serialized_start=1562 - _REFRESHMAINTENANCETASKREQUEST._serialized_end=1679 - _ACTIONUID._serialized_start=1681 - _ACTIONUID._serialized_end=1774 - _ACTIONSTATE._serialized_start=1777 - _ACTIONSTATE._serialized_end=2560 - _ACTIONSTATE_ACTIONSTATUS._serialized_start=2069 - _ACTIONSTATE_ACTIONSTATUS._serialized_end=2170 - _ACTIONSTATE_ACTIONREASON._serialized_start=2173 - _ACTIONSTATE_ACTIONREASON._serialized_end=2560 - _ACTIONGROUPSTATES._serialized_start=2562 - _ACTIONGROUPSTATES._serialized_end=2634 - _MAINTENANCETASKRESULT._serialized_start=2637 - _MAINTENANCETASKRESULT._serialized_end=2813 - _MAINTENANCETASKRESPONSE._serialized_start=2815 - _MAINTENANCETASKRESPONSE._serialized_end=2886 - _GETMAINTENANCETASKREQUEST._serialized_start=2888 - _GETMAINTENANCETASKREQUEST._serialized_end=3001 - _GETMAINTENANCETASKRESULT._serialized_start=3004 - _GETMAINTENANCETASKRESULT._serialized_end=3158 - _GETMAINTENANCETASKRESPONSE._serialized_start=3160 - _GETMAINTENANCETASKRESPONSE._serialized_end=3234 - _LISTMAINTENANCETASKSREQUEST._serialized_start=3236 - _LISTMAINTENANCETASKSREQUEST._serialized_end=3352 - _LISTMAINTENANCETASKSRESULT._serialized_start=3354 - _LISTMAINTENANCETASKSRESULT._serialized_end=3402 - _LISTMAINTENANCETASKSRESPONSE._serialized_start=3404 - _LISTMAINTENANCETASKSRESPONSE._serialized_end=3480 - _DROPMAINTENANCETASKREQUEST._serialized_start=3482 - _DROPMAINTENANCETASKREQUEST._serialized_end=3596 - _MANAGEMAINTENANCETASKRESPONSE._serialized_start=3598 - _MANAGEMAINTENANCETASKRESPONSE._serialized_end=3675 - _COMPLETEACTIONREQUEST._serialized_start=3678 - _COMPLETEACTIONREQUEST._serialized_end=3817 - _MANAGEACTIONRESULT._serialized_start=3820 - _MANAGEACTIONRESULT._serialized_end=4010 - _MANAGEACTIONRESULT_STATUS._serialized_start=3911 - _MANAGEACTIONRESULT_STATUS._serialized_end=4010 - _MANAGEACTIONRESPONSE._serialized_start=4012 - _MANAGEACTIONRESPONSE._serialized_end=4080 + _ACTIONSCOPE._serialized_start=1038 + _ACTIONSCOPE._serialized_end=1413 + _ACTIONSCOPE_PDISKID._serialized_start=1150 + _ACTIONSCOPE_PDISKID._serialized_end=1194 + _ACTIONSCOPE_PDISKLOCATION._serialized_start=1196 + _ACTIONSCOPE_PDISKLOCATION._serialized_end=1257 + _ACTIONSCOPE_PDISK._serialized_start=1260 + _ACTIONSCOPE_PDISK._serialized_end=1404 + _LOCKACTION._serialized_start=1415 + _LOCKACTION._serialized_end=1517 + _DRAINACTION._serialized_start=1519 + _DRAINACTION._serialized_end=1577 + _CORDONACTION._serialized_start=1579 + _CORDONACTION._serialized_end=1638 + _ACTION._serialized_start=1641 + _ACTION._serialized_end=1821 + _ACTIONGROUP._serialized_start=1823 + _ACTIONGROUP._serialized_end=1886 + _CREATEMAINTENANCETASKREQUEST._serialized_start=1889 + _CREATEMAINTENANCETASKREQUEST._serialized_end=2102 + _REFRESHMAINTENANCETASKREQUEST._serialized_start=2104 + _REFRESHMAINTENANCETASKREQUEST._serialized_end=2221 + _ACTIONUID._serialized_start=2223 + _ACTIONUID._serialized_end=2316 + _ACTIONSTATE._serialized_start=2319 + _ACTIONSTATE._serialized_end=3127 + _ACTIONSTATE_ACTIONSTATUS._serialized_start=2605 + _ACTIONSTATE_ACTIONSTATUS._serialized_end=2737 + _ACTIONSTATE_ACTIONREASON._serialized_start=2740 + _ACTIONSTATE_ACTIONREASON._serialized_end=3127 + _ACTIONGROUPSTATES._serialized_start=3129 + _ACTIONGROUPSTATES._serialized_end=3201 + _MAINTENANCETASKRESULT._serialized_start=3204 + _MAINTENANCETASKRESULT._serialized_end=3484 + _MAINTENANCETASKRESPONSE._serialized_start=3486 + _MAINTENANCETASKRESPONSE._serialized_end=3557 + _GETMAINTENANCETASKREQUEST._serialized_start=3559 + _GETMAINTENANCETASKREQUEST._serialized_end=3672 + _GETMAINTENANCETASKRESULT._serialized_start=3675 + _GETMAINTENANCETASKRESULT._serialized_end=3933 + _GETMAINTENANCETASKRESPONSE._serialized_start=3935 + _GETMAINTENANCETASKRESPONSE._serialized_end=4009 + _LISTMAINTENANCETASKSREQUEST._serialized_start=4011 + _LISTMAINTENANCETASKSREQUEST._serialized_end=4127 + _LISTMAINTENANCETASKSRESULT._serialized_start=4129 + _LISTMAINTENANCETASKSRESULT._serialized_end=4177 + _LISTMAINTENANCETASKSRESPONSE._serialized_start=4179 + _LISTMAINTENANCETASKSRESPONSE._serialized_end=4255 + _DROPMAINTENANCETASKREQUEST._serialized_start=4257 + _DROPMAINTENANCETASKREQUEST._serialized_end=4371 + _MANAGEMAINTENANCETASKRESPONSE._serialized_start=4373 + _MANAGEMAINTENANCETASKRESPONSE._serialized_end=4450 + _COMPLETEACTIONREQUEST._serialized_start=4453 + _COMPLETEACTIONREQUEST._serialized_end=4592 + _MANAGEACTIONRESULT._serialized_start=4595 + _MANAGEACTIONRESULT._serialized_end=4785 + _MANAGEACTIONRESULT_STATUS._serialized_start=4686 + _MANAGEACTIONRESULT_STATUS._serialized_end=4785 + _MANAGEACTIONRESPONSE._serialized_start=4787 + _MANAGEACTIONRESPONSE._serialized_end=4855 # @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v5/draft/protos/ydb_maintenance_pb2.pyi b/ydb/_grpc/v5/draft/protos/ydb_maintenance_pb2.pyi index 205339435..d3e9c22d5 100644 --- a/ydb/_grpc/v5/draft/protos/ydb_maintenance_pb2.pyi +++ b/ydb/_grpc/v5/draft/protos/ydb_maintenance_pb2.pyi @@ -11,6 +11,7 @@ from google.protobuf import message as _message from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union AVAILABILITY_MODE_FORCE: AvailabilityMode +AVAILABILITY_MODE_SMART: AvailabilityMode AVAILABILITY_MODE_STRONG: AvailabilityMode AVAILABILITY_MODE_UNSPECIFIED: AvailabilityMode AVAILABILITY_MODE_WEAK: AvailabilityMode @@ -21,10 +22,14 @@ ITEM_STATE_UNSPECIFIED: ItemState ITEM_STATE_UP: ItemState class Action(_message.Message): - __slots__ = ["lock_action"] + __slots__ = ["cordon_action", "drain_action", "lock_action"] + CORDON_ACTION_FIELD_NUMBER: _ClassVar[int] + DRAIN_ACTION_FIELD_NUMBER: _ClassVar[int] LOCK_ACTION_FIELD_NUMBER: _ClassVar[int] + cordon_action: CordonAction + drain_action: DrainAction lock_action: LockAction - def __init__(self, lock_action: _Optional[_Union[LockAction, _Mapping]] = ...) -> None: ... + def __init__(self, lock_action: _Optional[_Union[LockAction, _Mapping]] = ..., drain_action: _Optional[_Union[DrainAction, _Mapping]] = ..., cordon_action: _Optional[_Union[CordonAction, _Mapping]] = ...) -> None: ... class ActionGroup(_message.Message): __slots__ = ["actions"] @@ -39,15 +44,38 @@ class ActionGroupStates(_message.Message): def __init__(self, action_states: _Optional[_Iterable[_Union[ActionState, _Mapping]]] = ...) -> None: ... class ActionScope(_message.Message): - __slots__ = ["host", "node_id"] + __slots__ = ["host", "node_id", "pdisk"] + class PDisk(_message.Message): + __slots__ = ["pdisk_id", "pdisk_location"] + PDISK_ID_FIELD_NUMBER: _ClassVar[int] + PDISK_LOCATION_FIELD_NUMBER: _ClassVar[int] + pdisk_id: ActionScope.PDiskId + pdisk_location: ActionScope.PDiskLocation + def __init__(self, pdisk_id: _Optional[_Union[ActionScope.PDiskId, _Mapping]] = ..., pdisk_location: _Optional[_Union[ActionScope.PDiskLocation, _Mapping]] = ...) -> None: ... + class PDiskId(_message.Message): + __slots__ = ["node_id", "pdisk_id"] + NODE_ID_FIELD_NUMBER: _ClassVar[int] + PDISK_ID_FIELD_NUMBER: _ClassVar[int] + node_id: int + pdisk_id: int + def __init__(self, node_id: _Optional[int] = ..., pdisk_id: _Optional[int] = ...) -> None: ... + class PDiskLocation(_message.Message): + __slots__ = ["host", "path"] + HOST_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + host: str + path: str + def __init__(self, host: _Optional[str] = ..., path: _Optional[str] = ...) -> None: ... HOST_FIELD_NUMBER: _ClassVar[int] NODE_ID_FIELD_NUMBER: _ClassVar[int] + PDISK_FIELD_NUMBER: _ClassVar[int] host: str node_id: int - def __init__(self, node_id: _Optional[int] = ..., host: _Optional[str] = ...) -> None: ... + pdisk: ActionScope.PDisk + def __init__(self, node_id: _Optional[int] = ..., host: _Optional[str] = ..., pdisk: _Optional[_Union[ActionScope.PDisk, _Mapping]] = ...) -> None: ... class ActionState(_message.Message): - __slots__ = ["action", "action_uid", "deadline", "reason", "reason_details", "status"] + __slots__ = ["action", "action_uid", "deadline", "details", "reason", "status"] class ActionReason(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): __slots__ = [] class ActionStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): @@ -62,21 +90,22 @@ class ActionState(_message.Message): ACTION_REASON_TOO_MANY_UNAVAILABLE_VDISKS: ActionState.ActionReason ACTION_REASON_UNSPECIFIED: ActionState.ActionReason ACTION_REASON_WRONG_REQUEST: ActionState.ActionReason + ACTION_STATUS_IN_PROGRESS: ActionState.ActionStatus ACTION_STATUS_PENDING: ActionState.ActionStatus ACTION_STATUS_PERFORMED: ActionState.ActionStatus ACTION_STATUS_UNSPECIFIED: ActionState.ActionStatus ACTION_UID_FIELD_NUMBER: _ClassVar[int] DEADLINE_FIELD_NUMBER: _ClassVar[int] - REASON_DETAILS_FIELD_NUMBER: _ClassVar[int] + DETAILS_FIELD_NUMBER: _ClassVar[int] REASON_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] action: Action action_uid: ActionUid deadline: _timestamp_pb2.Timestamp + details: str reason: ActionState.ActionReason - reason_details: str status: ActionState.ActionStatus - def __init__(self, action: _Optional[_Union[Action, _Mapping]] = ..., action_uid: _Optional[_Union[ActionUid, _Mapping]] = ..., status: _Optional[_Union[ActionState.ActionStatus, str]] = ..., reason: _Optional[_Union[ActionState.ActionReason, str]] = ..., reason_details: _Optional[str] = ..., deadline: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... + def __init__(self, action: _Optional[_Union[Action, _Mapping]] = ..., action_uid: _Optional[_Union[ActionUid, _Mapping]] = ..., status: _Optional[_Union[ActionState.ActionStatus, str]] = ..., reason: _Optional[_Union[ActionState.ActionReason, str]] = ..., details: _Optional[str] = ..., deadline: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class ActionUid(_message.Message): __slots__ = ["action_id", "group_id", "task_uid"] @@ -96,6 +125,12 @@ class CompleteActionRequest(_message.Message): operation_params: _ydb_operation_pb2.OperationParams def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., action_uids: _Optional[_Iterable[_Union[ActionUid, _Mapping]]] = ...) -> None: ... +class CordonAction(_message.Message): + __slots__ = ["scope"] + SCOPE_FIELD_NUMBER: _ClassVar[int] + scope: ActionScope + def __init__(self, scope: _Optional[_Union[ActionScope, _Mapping]] = ...) -> None: ... + class CreateMaintenanceTaskRequest(_message.Message): __slots__ = ["action_groups", "operation_params", "task_options"] ACTION_GROUPS_FIELD_NUMBER: _ClassVar[int] @@ -106,6 +141,12 @@ class CreateMaintenanceTaskRequest(_message.Message): task_options: MaintenanceTaskOptions def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., task_options: _Optional[_Union[MaintenanceTaskOptions, _Mapping]] = ..., action_groups: _Optional[_Iterable[_Union[ActionGroup, _Mapping]]] = ...) -> None: ... +class DrainAction(_message.Message): + __slots__ = ["scope"] + SCOPE_FIELD_NUMBER: _ClassVar[int] + scope: ActionScope + def __init__(self, scope: _Optional[_Union[ActionScope, _Mapping]] = ...) -> None: ... + class DropMaintenanceTaskRequest(_message.Message): __slots__ = ["operation_params", "task_uid"] OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] @@ -129,12 +170,16 @@ class GetMaintenanceTaskResponse(_message.Message): def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... class GetMaintenanceTaskResult(_message.Message): - __slots__ = ["action_group_states", "task_options"] + __slots__ = ["action_group_states", "create_time", "last_refresh_time", "task_options"] ACTION_GROUP_STATES_FIELD_NUMBER: _ClassVar[int] + CREATE_TIME_FIELD_NUMBER: _ClassVar[int] + LAST_REFRESH_TIME_FIELD_NUMBER: _ClassVar[int] TASK_OPTIONS_FIELD_NUMBER: _ClassVar[int] action_group_states: _containers.RepeatedCompositeFieldContainer[ActionGroupStates] + create_time: _timestamp_pb2.Timestamp + last_refresh_time: _timestamp_pb2.Timestamp task_options: MaintenanceTaskOptions - def __init__(self, task_options: _Optional[_Union[MaintenanceTaskOptions, _Mapping]] = ..., action_group_states: _Optional[_Iterable[_Union[ActionGroupStates, _Mapping]]] = ...) -> None: ... + def __init__(self, task_options: _Optional[_Union[MaintenanceTaskOptions, _Mapping]] = ..., action_group_states: _Optional[_Iterable[_Union[ActionGroupStates, _Mapping]]] = ..., create_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., last_refresh_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class ListClusterNodesRequest(_message.Message): __slots__ = ["operation_params"] @@ -203,14 +248,18 @@ class MaintenanceTaskResponse(_message.Message): def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... class MaintenanceTaskResult(_message.Message): - __slots__ = ["action_group_states", "retry_after", "task_uid"] + __slots__ = ["action_group_states", "create_time", "last_refresh_time", "retry_after", "task_uid"] ACTION_GROUP_STATES_FIELD_NUMBER: _ClassVar[int] + CREATE_TIME_FIELD_NUMBER: _ClassVar[int] + LAST_REFRESH_TIME_FIELD_NUMBER: _ClassVar[int] RETRY_AFTER_FIELD_NUMBER: _ClassVar[int] TASK_UID_FIELD_NUMBER: _ClassVar[int] action_group_states: _containers.RepeatedCompositeFieldContainer[ActionGroupStates] + create_time: _timestamp_pb2.Timestamp + last_refresh_time: _timestamp_pb2.Timestamp retry_after: _timestamp_pb2.Timestamp task_uid: str - def __init__(self, task_uid: _Optional[str] = ..., action_group_states: _Optional[_Iterable[_Union[ActionGroupStates, _Mapping]]] = ..., retry_after: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... + def __init__(self, task_uid: _Optional[str] = ..., action_group_states: _Optional[_Iterable[_Union[ActionGroupStates, _Mapping]]] = ..., retry_after: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., create_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., last_refresh_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class ManageActionResponse(_message.Message): __slots__ = ["operation"] diff --git a/ydb/_grpc/v5/draft/protos/ydb_replication_pb2.py b/ydb/_grpc/v5/draft/protos/ydb_replication_pb2.py new file mode 100644 index 000000000..e048648c4 --- /dev/null +++ b/ydb/_grpc/v5/draft/protos/ydb_replication_pb2.py @@ -0,0 +1,78 @@ +# -*- coding: utf-8 -*- +# flake8: noqa +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: draft/protos/ydb_replication.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from ydb._grpc.v5.protos.annotations import validation_pb2 as protos_dot_annotations_dot_validation__pb2 +from ydb._grpc.v5.protos import ydb_issue_message_pb2 as protos_dot_ydb__issue__message__pb2 +from ydb._grpc.v5.protos import ydb_operation_pb2 as protos_dot_ydb__operation__pb2 +from ydb._grpc.v5.protos import ydb_scheme_pb2 as protos_dot_ydb__scheme__pb2 +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"draft/protos/ydb_replication.proto\x12\x0fYdb.Replication\x1a#protos/annotations/validation.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1egoogle/protobuf/duration.proto\"\x82\x01\n\x1a\x44\x65scribeReplicationRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\x04path\x18\x02 \x01(\tB\x04\x90\xe6*\x01\x12\x15\n\rinclude_stats\x18\x03 \x01(\x08\"K\n\x1b\x44\x65scribeReplicationResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xe6\x02\n\x10\x43onnectionParams\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x10\n\x08\x64\x61tabase\x18\x02 \x01(\t\x12\x12\n\nenable_ssl\x18\x05 \x01(\x08\x12\x19\n\x11\x63onnection_string\x18\x06 \x01(\t\x12Q\n\x12static_credentials\x18\x03 \x01(\x0b\x32\x33.Ydb.Replication.ConnectionParams.StaticCredentialsH\x00\x12\x38\n\x05oauth\x18\x04 \x01(\x0b\x32\'.Ydb.Replication.ConnectionParams.OAuthH\x00\x1a?\n\x11StaticCredentials\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x1c\n\x14password_secret_name\x18\x02 \x01(\t\x1a\"\n\x05OAuth\x12\x19\n\x11token_secret_name\x18\x01 \x01(\tB\r\n\x0b\x63redentials\"\x15\n\x13\x43onsistencyLevelRow\"L\n\x16\x43onsistencyLevelGlobal\x12\x32\n\x0f\x63ommit_interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xe9\x08\n\x19\x44\x65scribeReplicationResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12<\n\x11\x63onnection_params\x18\x02 \x01(\x0b\x32!.Ydb.Replication.ConnectionParams\x12?\n\x0frow_consistency\x18\x07 \x01(\x0b\x32$.Ydb.Replication.ConsistencyLevelRowH\x00\x12\x45\n\x12global_consistency\x18\x08 \x01(\x0b\x32\'.Ydb.Replication.ConsistencyLevelGlobalH\x00\x12>\n\x05items\x18\x03 \x03(\x0b\x32/.Ydb.Replication.DescribeReplicationResult.Item\x12J\n\x07running\x18\x04 \x01(\x0b\x32\x37.Ydb.Replication.DescribeReplicationResult.RunningStateH\x01\x12\x46\n\x05\x65rror\x18\x05 \x01(\x0b\x32\x35.Ydb.Replication.DescribeReplicationResult.ErrorStateH\x01\x12\x44\n\x04\x64one\x18\x06 \x01(\x0b\x32\x34.Ydb.Replication.DescribeReplicationResult.DoneStateH\x01\x12H\n\x06paused\x18\t \x01(\x0b\x32\x36.Ydb.Replication.DescribeReplicationResult.PausedStateH\x01\x1az\n\x05Stats\x12+\n\x03lag\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x12\"\n\x15initial_scan_progress\x18\x02 \x01(\x02H\x01\x88\x01\x01\x42\x06\n\x04_lagB\x18\n\x16_initial_scan_progress\x1a\xc2\x01\n\x04Item\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12#\n\x16source_changefeed_name\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\n\n\x02id\x18\x04 \x01(\x04\x12?\n\x05stats\x18\x05 \x01(\x0b\x32\x30.Ydb.Replication.DescribeReplicationResult.StatsB\x19\n\x17_source_changefeed_name\x1aO\n\x0cRunningState\x12?\n\x05stats\x18\x01 \x01(\x0b\x32\x30.Ydb.Replication.DescribeReplicationResult.Stats\x1a\x35\n\nErrorState\x12\'\n\x06issues\x18\x01 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x1a\x0b\n\tDoneState\x1a\r\n\x0bPausedStateB\x13\n\x11\x63onsistency_levelB\x07\n\x05state\"h\n\x17\x44\x65scribeTransferRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\x04path\x18\x02 \x01(\tB\x04\x90\xe6*\x01\"H\n\x18\x44\x65scribeTransferResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb3\x06\n\x16\x44\x65scribeTransferResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12<\n\x11\x63onnection_params\x18\x02 \x01(\x0b\x32!.Ydb.Replication.ConnectionParams\x12G\n\x07running\x18\x03 \x01(\x0b\x32\x34.Ydb.Replication.DescribeTransferResult.RunningStateH\x00\x12\x43\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x32.Ydb.Replication.DescribeTransferResult.ErrorStateH\x00\x12\x41\n\x04\x64one\x18\x05 \x01(\x0b\x32\x31.Ydb.Replication.DescribeTransferResult.DoneStateH\x00\x12\x45\n\x06paused\x18\x06 \x01(\x0b\x32\x33.Ydb.Replication.DescribeTransferResult.PausedStateH\x00\x12\x13\n\x0bsource_path\x18\x07 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x08 \x01(\t\x12\x1d\n\x15transformation_lambda\x18\t \x01(\t\x12\x15\n\rconsumer_name\x18\n \x01(\t\x12R\n\x0e\x62\x61tch_settings\x18\x0b \x01(\x0b\x32\x35.Ydb.Replication.DescribeTransferResult.BatchSettingsH\x01\x88\x01\x01\x1a\x0e\n\x0cRunningState\x1a\x35\n\nErrorState\x12\'\n\x06issues\x18\x01 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x1a\x0b\n\tDoneState\x1a\r\n\x0bPausedState\x1aj\n\rBatchSettings\x12\x17\n\nsize_bytes\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x31\n\x0e\x66lush_interval\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\n\x0b_size_bytesB\x07\n\x05stateB\x11\n\x0f_batch_settingsBk\n tech.ydb.proto.draft.replicationZDgithub.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_Replication\xf8\x01\x01\x62\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'draft.protos.ydb_replication_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n tech.ydb.proto.draft.replicationZDgithub.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_Replication\370\001\001' + _DESCRIBEREPLICATIONREQUEST.fields_by_name['path']._options = None + _DESCRIBEREPLICATIONREQUEST.fields_by_name['path']._serialized_options = b'\220\346*\001' + _DESCRIBETRANSFERREQUEST.fields_by_name['path']._options = None + _DESCRIBETRANSFERREQUEST.fields_by_name['path']._serialized_options = b'\220\346*\001' + _DESCRIBEREPLICATIONREQUEST._serialized_start=210 + _DESCRIBEREPLICATIONREQUEST._serialized_end=340 + _DESCRIBEREPLICATIONRESPONSE._serialized_start=342 + _DESCRIBEREPLICATIONRESPONSE._serialized_end=417 + _CONNECTIONPARAMS._serialized_start=420 + _CONNECTIONPARAMS._serialized_end=778 + _CONNECTIONPARAMS_STATICCREDENTIALS._serialized_start=664 + _CONNECTIONPARAMS_STATICCREDENTIALS._serialized_end=727 + _CONNECTIONPARAMS_OAUTH._serialized_start=729 + _CONNECTIONPARAMS_OAUTH._serialized_end=763 + _CONSISTENCYLEVELROW._serialized_start=780 + _CONSISTENCYLEVELROW._serialized_end=801 + _CONSISTENCYLEVELGLOBAL._serialized_start=803 + _CONSISTENCYLEVELGLOBAL._serialized_end=879 + _DESCRIBEREPLICATIONRESULT._serialized_start=882 + _DESCRIBEREPLICATIONRESULT._serialized_end=2011 + _DESCRIBEREPLICATIONRESULT_STATS._serialized_start=1498 + _DESCRIBEREPLICATIONRESULT_STATS._serialized_end=1620 + _DESCRIBEREPLICATIONRESULT_ITEM._serialized_start=1623 + _DESCRIBEREPLICATIONRESULT_ITEM._serialized_end=1817 + _DESCRIBEREPLICATIONRESULT_RUNNINGSTATE._serialized_start=1819 + _DESCRIBEREPLICATIONRESULT_RUNNINGSTATE._serialized_end=1898 + _DESCRIBEREPLICATIONRESULT_ERRORSTATE._serialized_start=1900 + _DESCRIBEREPLICATIONRESULT_ERRORSTATE._serialized_end=1953 + _DESCRIBEREPLICATIONRESULT_DONESTATE._serialized_start=1955 + _DESCRIBEREPLICATIONRESULT_DONESTATE._serialized_end=1966 + _DESCRIBEREPLICATIONRESULT_PAUSEDSTATE._serialized_start=1968 + _DESCRIBEREPLICATIONRESULT_PAUSEDSTATE._serialized_end=1981 + _DESCRIBETRANSFERREQUEST._serialized_start=2013 + _DESCRIBETRANSFERREQUEST._serialized_end=2117 + _DESCRIBETRANSFERRESPONSE._serialized_start=2119 + _DESCRIBETRANSFERRESPONSE._serialized_end=2191 + _DESCRIBETRANSFERRESULT._serialized_start=2194 + _DESCRIBETRANSFERRESULT._serialized_end=3013 + _DESCRIBETRANSFERRESULT_RUNNINGSTATE._serialized_start=1819 + _DESCRIBETRANSFERRESULT_RUNNINGSTATE._serialized_end=1833 + _DESCRIBETRANSFERRESULT_ERRORSTATE._serialized_start=1900 + _DESCRIBETRANSFERRESULT_ERRORSTATE._serialized_end=1953 + _DESCRIBETRANSFERRESULT_DONESTATE._serialized_start=1955 + _DESCRIBETRANSFERRESULT_DONESTATE._serialized_end=1966 + _DESCRIBETRANSFERRESULT_PAUSEDSTATE._serialized_start=1968 + _DESCRIBETRANSFERRESULT_PAUSEDSTATE._serialized_end=1981 + _DESCRIBETRANSFERRESULT_BATCHSETTINGS._serialized_start=2879 + _DESCRIBETRANSFERRESULT_BATCHSETTINGS._serialized_end=2985 +# @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v5/draft/protos/ydb_replication_pb2.pyi b/ydb/_grpc/v5/draft/protos/ydb_replication_pb2.pyi new file mode 100644 index 000000000..5dfc8fb1b --- /dev/null +++ b/ydb/_grpc/v5/draft/protos/ydb_replication_pb2.pyi @@ -0,0 +1,184 @@ +from protos.annotations import validation_pb2 as _validation_pb2 +from protos import ydb_issue_message_pb2 as _ydb_issue_message_pb2 +from protos import ydb_operation_pb2 as _ydb_operation_pb2 +from protos import ydb_scheme_pb2 as _ydb_scheme_pb2 +from google.protobuf import duration_pb2 as _duration_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class ConnectionParams(_message.Message): + __slots__ = ["connection_string", "database", "enable_ssl", "endpoint", "oauth", "static_credentials"] + class OAuth(_message.Message): + __slots__ = ["token_secret_name"] + TOKEN_SECRET_NAME_FIELD_NUMBER: _ClassVar[int] + token_secret_name: str + def __init__(self, token_secret_name: _Optional[str] = ...) -> None: ... + class StaticCredentials(_message.Message): + __slots__ = ["password_secret_name", "user"] + PASSWORD_SECRET_NAME_FIELD_NUMBER: _ClassVar[int] + USER_FIELD_NUMBER: _ClassVar[int] + password_secret_name: str + user: str + def __init__(self, user: _Optional[str] = ..., password_secret_name: _Optional[str] = ...) -> None: ... + CONNECTION_STRING_FIELD_NUMBER: _ClassVar[int] + DATABASE_FIELD_NUMBER: _ClassVar[int] + ENABLE_SSL_FIELD_NUMBER: _ClassVar[int] + ENDPOINT_FIELD_NUMBER: _ClassVar[int] + OAUTH_FIELD_NUMBER: _ClassVar[int] + STATIC_CREDENTIALS_FIELD_NUMBER: _ClassVar[int] + connection_string: str + database: str + enable_ssl: bool + endpoint: str + oauth: ConnectionParams.OAuth + static_credentials: ConnectionParams.StaticCredentials + def __init__(self, endpoint: _Optional[str] = ..., database: _Optional[str] = ..., enable_ssl: bool = ..., connection_string: _Optional[str] = ..., static_credentials: _Optional[_Union[ConnectionParams.StaticCredentials, _Mapping]] = ..., oauth: _Optional[_Union[ConnectionParams.OAuth, _Mapping]] = ...) -> None: ... + +class ConsistencyLevelGlobal(_message.Message): + __slots__ = ["commit_interval"] + COMMIT_INTERVAL_FIELD_NUMBER: _ClassVar[int] + commit_interval: _duration_pb2.Duration + def __init__(self, commit_interval: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... + +class ConsistencyLevelRow(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + +class DescribeReplicationRequest(_message.Message): + __slots__ = ["include_stats", "operation_params", "path"] + INCLUDE_STATS_FIELD_NUMBER: _ClassVar[int] + OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + include_stats: bool + operation_params: _ydb_operation_pb2.OperationParams + path: str + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ..., include_stats: bool = ...) -> None: ... + +class DescribeReplicationResponse(_message.Message): + __slots__ = ["operation"] + OPERATION_FIELD_NUMBER: _ClassVar[int] + operation: _ydb_operation_pb2.Operation + def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... + +class DescribeReplicationResult(_message.Message): + __slots__ = ["connection_params", "done", "error", "global_consistency", "items", "paused", "row_consistency", "running", "self"] + class DoneState(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + class ErrorState(_message.Message): + __slots__ = ["issues"] + ISSUES_FIELD_NUMBER: _ClassVar[int] + issues: _containers.RepeatedCompositeFieldContainer[_ydb_issue_message_pb2.IssueMessage] + def __init__(self, issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ...) -> None: ... + class Item(_message.Message): + __slots__ = ["destination_path", "id", "source_changefeed_name", "source_path", "stats"] + DESTINATION_PATH_FIELD_NUMBER: _ClassVar[int] + ID_FIELD_NUMBER: _ClassVar[int] + SOURCE_CHANGEFEED_NAME_FIELD_NUMBER: _ClassVar[int] + SOURCE_PATH_FIELD_NUMBER: _ClassVar[int] + STATS_FIELD_NUMBER: _ClassVar[int] + destination_path: str + id: int + source_changefeed_name: str + source_path: str + stats: DescribeReplicationResult.Stats + def __init__(self, source_path: _Optional[str] = ..., destination_path: _Optional[str] = ..., source_changefeed_name: _Optional[str] = ..., id: _Optional[int] = ..., stats: _Optional[_Union[DescribeReplicationResult.Stats, _Mapping]] = ...) -> None: ... + class PausedState(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + class RunningState(_message.Message): + __slots__ = ["stats"] + STATS_FIELD_NUMBER: _ClassVar[int] + stats: DescribeReplicationResult.Stats + def __init__(self, stats: _Optional[_Union[DescribeReplicationResult.Stats, _Mapping]] = ...) -> None: ... + class Stats(_message.Message): + __slots__ = ["initial_scan_progress", "lag"] + INITIAL_SCAN_PROGRESS_FIELD_NUMBER: _ClassVar[int] + LAG_FIELD_NUMBER: _ClassVar[int] + initial_scan_progress: float + lag: _duration_pb2.Duration + def __init__(self, lag: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., initial_scan_progress: _Optional[float] = ...) -> None: ... + CONNECTION_PARAMS_FIELD_NUMBER: _ClassVar[int] + DONE_FIELD_NUMBER: _ClassVar[int] + ERROR_FIELD_NUMBER: _ClassVar[int] + GLOBAL_CONSISTENCY_FIELD_NUMBER: _ClassVar[int] + ITEMS_FIELD_NUMBER: _ClassVar[int] + PAUSED_FIELD_NUMBER: _ClassVar[int] + ROW_CONSISTENCY_FIELD_NUMBER: _ClassVar[int] + RUNNING_FIELD_NUMBER: _ClassVar[int] + SELF_FIELD_NUMBER: _ClassVar[int] + connection_params: ConnectionParams + done: DescribeReplicationResult.DoneState + error: DescribeReplicationResult.ErrorState + global_consistency: ConsistencyLevelGlobal + items: _containers.RepeatedCompositeFieldContainer[DescribeReplicationResult.Item] + paused: DescribeReplicationResult.PausedState + row_consistency: ConsistencyLevelRow + running: DescribeReplicationResult.RunningState + self: _ydb_scheme_pb2.Entry + def __init__(self, self_: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., connection_params: _Optional[_Union[ConnectionParams, _Mapping]] = ..., row_consistency: _Optional[_Union[ConsistencyLevelRow, _Mapping]] = ..., global_consistency: _Optional[_Union[ConsistencyLevelGlobal, _Mapping]] = ..., items: _Optional[_Iterable[_Union[DescribeReplicationResult.Item, _Mapping]]] = ..., running: _Optional[_Union[DescribeReplicationResult.RunningState, _Mapping]] = ..., error: _Optional[_Union[DescribeReplicationResult.ErrorState, _Mapping]] = ..., done: _Optional[_Union[DescribeReplicationResult.DoneState, _Mapping]] = ..., paused: _Optional[_Union[DescribeReplicationResult.PausedState, _Mapping]] = ...) -> None: ... + +class DescribeTransferRequest(_message.Message): + __slots__ = ["operation_params", "path"] + OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + operation_params: _ydb_operation_pb2.OperationParams + path: str + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ...) -> None: ... + +class DescribeTransferResponse(_message.Message): + __slots__ = ["operation"] + OPERATION_FIELD_NUMBER: _ClassVar[int] + operation: _ydb_operation_pb2.Operation + def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... + +class DescribeTransferResult(_message.Message): + __slots__ = ["batch_settings", "connection_params", "consumer_name", "destination_path", "done", "error", "paused", "running", "self", "source_path", "transformation_lambda"] + class BatchSettings(_message.Message): + __slots__ = ["flush_interval", "size_bytes"] + FLUSH_INTERVAL_FIELD_NUMBER: _ClassVar[int] + SIZE_BYTES_FIELD_NUMBER: _ClassVar[int] + flush_interval: _duration_pb2.Duration + size_bytes: int + def __init__(self, size_bytes: _Optional[int] = ..., flush_interval: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... + class DoneState(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + class ErrorState(_message.Message): + __slots__ = ["issues"] + ISSUES_FIELD_NUMBER: _ClassVar[int] + issues: _containers.RepeatedCompositeFieldContainer[_ydb_issue_message_pb2.IssueMessage] + def __init__(self, issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ...) -> None: ... + class PausedState(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + class RunningState(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + BATCH_SETTINGS_FIELD_NUMBER: _ClassVar[int] + CONNECTION_PARAMS_FIELD_NUMBER: _ClassVar[int] + CONSUMER_NAME_FIELD_NUMBER: _ClassVar[int] + DESTINATION_PATH_FIELD_NUMBER: _ClassVar[int] + DONE_FIELD_NUMBER: _ClassVar[int] + ERROR_FIELD_NUMBER: _ClassVar[int] + PAUSED_FIELD_NUMBER: _ClassVar[int] + RUNNING_FIELD_NUMBER: _ClassVar[int] + SELF_FIELD_NUMBER: _ClassVar[int] + SOURCE_PATH_FIELD_NUMBER: _ClassVar[int] + TRANSFORMATION_LAMBDA_FIELD_NUMBER: _ClassVar[int] + batch_settings: DescribeTransferResult.BatchSettings + connection_params: ConnectionParams + consumer_name: str + destination_path: str + done: DescribeTransferResult.DoneState + error: DescribeTransferResult.ErrorState + paused: DescribeTransferResult.PausedState + running: DescribeTransferResult.RunningState + self: _ydb_scheme_pb2.Entry + source_path: str + transformation_lambda: str + def __init__(self, self_: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., connection_params: _Optional[_Union[ConnectionParams, _Mapping]] = ..., running: _Optional[_Union[DescribeTransferResult.RunningState, _Mapping]] = ..., error: _Optional[_Union[DescribeTransferResult.ErrorState, _Mapping]] = ..., done: _Optional[_Union[DescribeTransferResult.DoneState, _Mapping]] = ..., paused: _Optional[_Union[DescribeTransferResult.PausedState, _Mapping]] = ..., source_path: _Optional[str] = ..., destination_path: _Optional[str] = ..., transformation_lambda: _Optional[str] = ..., consumer_name: _Optional[str] = ..., batch_settings: _Optional[_Union[DescribeTransferResult.BatchSettings, _Mapping]] = ...) -> None: ... diff --git a/ydb/_grpc/v5/draft/protos/ydb_replication_pb2_grpc.py b/ydb/_grpc/v5/draft/protos/ydb_replication_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/ydb/_grpc/v5/draft/protos/ydb_replication_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/ydb/_grpc/v5/draft/protos/ydb_view_pb2.py b/ydb/_grpc/v5/draft/protos/ydb_view_pb2.py new file mode 100644 index 000000000..c1f3950c6 --- /dev/null +++ b/ydb/_grpc/v5/draft/protos/ydb_view_pb2.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +# flake8: noqa +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: draft/protos/ydb_view.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from ydb._grpc.v5.protos.annotations import validation_pb2 as protos_dot_annotations_dot_validation__pb2 +from ydb._grpc.v5.protos import ydb_operation_pb2 as protos_dot_ydb__operation__pb2 +from ydb._grpc.v5.protos import ydb_scheme_pb2 as protos_dot_ydb__scheme__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x64raft/protos/ydb_view.proto\x12\x08Ydb.View\x1a#protos/annotations/validation.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x17protos/ydb_scheme.proto\"d\n\x13\x44\x65scribeViewRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\x04path\x18\x02 \x01(\tB\x04\x90\xe6*\x01\"D\n\x14\x44\x65scribeViewResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"I\n\x12\x44\x65scribeViewResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12\x12\n\nquery_text\x18\x02 \x01(\tB]\n\x19tech.ydb.proto.draft.viewZ=github.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_View\xf8\x01\x01\x62\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'draft.protos.ydb_view_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\031tech.ydb.proto.draft.viewZ=github.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_View\370\001\001' + _DESCRIBEVIEWREQUEST.fields_by_name['path']._options = None + _DESCRIBEVIEWREQUEST.fields_by_name['path']._serialized_options = b'\220\346*\001' + _DESCRIBEVIEWREQUEST._serialized_start=131 + _DESCRIBEVIEWREQUEST._serialized_end=231 + _DESCRIBEVIEWRESPONSE._serialized_start=233 + _DESCRIBEVIEWRESPONSE._serialized_end=301 + _DESCRIBEVIEWRESULT._serialized_start=303 + _DESCRIBEVIEWRESULT._serialized_end=376 +# @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v5/draft/protos/ydb_view_pb2.pyi b/ydb/_grpc/v5/draft/protos/ydb_view_pb2.pyi new file mode 100644 index 000000000..c2d28f285 --- /dev/null +++ b/ydb/_grpc/v5/draft/protos/ydb_view_pb2.pyi @@ -0,0 +1,30 @@ +from protos.annotations import validation_pb2 as _validation_pb2 +from protos import ydb_operation_pb2 as _ydb_operation_pb2 +from protos import ydb_scheme_pb2 as _ydb_scheme_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class DescribeViewRequest(_message.Message): + __slots__ = ["operation_params", "path"] + OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + operation_params: _ydb_operation_pb2.OperationParams + path: str + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ...) -> None: ... + +class DescribeViewResponse(_message.Message): + __slots__ = ["operation"] + OPERATION_FIELD_NUMBER: _ClassVar[int] + operation: _ydb_operation_pb2.Operation + def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... + +class DescribeViewResult(_message.Message): + __slots__ = ["query_text", "self"] + QUERY_TEXT_FIELD_NUMBER: _ClassVar[int] + SELF_FIELD_NUMBER: _ClassVar[int] + query_text: str + self: _ydb_scheme_pb2.Entry + def __init__(self, self_: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., query_text: _Optional[str] = ...) -> None: ... diff --git a/ydb/_grpc/v5/draft/protos/ydb_view_pb2_grpc.py b/ydb/_grpc/v5/draft/protos/ydb_view_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/ydb/_grpc/v5/draft/protos/ydb_view_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/ydb/_grpc/v5/draft/ydb_replication_v1_pb2.py b/ydb/_grpc/v5/draft/ydb_replication_v1_pb2.py new file mode 100644 index 000000000..bfa34c6db --- /dev/null +++ b/ydb/_grpc/v5/draft/ydb_replication_v1_pb2.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +# flake8: noqa +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: draft/ydb_replication_v1.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from ydb._grpc.v5.draft.protos import ydb_replication_pb2 as draft_dot_protos_dot_ydb__replication__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x64raft/ydb_replication_v1.proto\x12\x12Ydb.Replication.V1\x1a\"draft/protos/ydb_replication.proto2\xef\x01\n\x12ReplicationService\x12p\n\x13\x44\x65scribeReplication\x12+.Ydb.Replication.DescribeReplicationRequest\x1a,.Ydb.Replication.DescribeReplicationResponse\x12g\n\x10\x44\x65scribeTransfer\x12(.Ydb.Replication.DescribeTransferRequest\x1a).Ydb.Replication.DescribeTransferResponseBj\n#tech.ydb.proto.draft.replication.v1Z@github.com/ydb-platform/ydb-go-genproto/draft/Ydb_Replication_V1\xf8\x01\x01\x62\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'draft.ydb_replication_v1_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n#tech.ydb.proto.draft.replication.v1Z@github.com/ydb-platform/ydb-go-genproto/draft/Ydb_Replication_V1\370\001\001' + _REPLICATIONSERVICE._serialized_start=91 + _REPLICATIONSERVICE._serialized_end=330 +# @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v5/draft/ydb_replication_v1_pb2.pyi b/ydb/_grpc/v5/draft/ydb_replication_v1_pb2.pyi new file mode 100644 index 000000000..3dfdb702a --- /dev/null +++ b/ydb/_grpc/v5/draft/ydb_replication_v1_pb2.pyi @@ -0,0 +1,5 @@ +from draft.protos import ydb_replication_pb2 as _ydb_replication_pb2 +from google.protobuf import descriptor as _descriptor +from typing import ClassVar as _ClassVar + +DESCRIPTOR: _descriptor.FileDescriptor diff --git a/ydb/_grpc/v5/draft/ydb_replication_v1_pb2_grpc.py b/ydb/_grpc/v5/draft/ydb_replication_v1_pb2_grpc.py new file mode 100644 index 000000000..df04bd6ca --- /dev/null +++ b/ydb/_grpc/v5/draft/ydb_replication_v1_pb2_grpc.py @@ -0,0 +1,99 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from ydb._grpc.v5.draft.protos import ydb_replication_pb2 as draft_dot_protos_dot_ydb__replication__pb2 + + +class ReplicationServiceStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.DescribeReplication = channel.unary_unary( + '/Ydb.Replication.V1.ReplicationService/DescribeReplication', + request_serializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationRequest.SerializeToString, + response_deserializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationResponse.FromString, + ) + self.DescribeTransfer = channel.unary_unary( + '/Ydb.Replication.V1.ReplicationService/DescribeTransfer', + request_serializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferRequest.SerializeToString, + response_deserializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferResponse.FromString, + ) + + +class ReplicationServiceServicer(object): + """Missing associated documentation comment in .proto file.""" + + def DescribeReplication(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DescribeTransfer(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ReplicationServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'DescribeReplication': grpc.unary_unary_rpc_method_handler( + servicer.DescribeReplication, + request_deserializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationRequest.FromString, + response_serializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationResponse.SerializeToString, + ), + 'DescribeTransfer': grpc.unary_unary_rpc_method_handler( + servicer.DescribeTransfer, + request_deserializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferRequest.FromString, + response_serializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'Ydb.Replication.V1.ReplicationService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class ReplicationService(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def DescribeReplication(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/Ydb.Replication.V1.ReplicationService/DescribeReplication', + draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationRequest.SerializeToString, + draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DescribeTransfer(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/Ydb.Replication.V1.ReplicationService/DescribeTransfer', + draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferRequest.SerializeToString, + draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/ydb/_grpc/v5/draft/ydb_view_v1_pb2.py b/ydb/_grpc/v5/draft/ydb_view_v1_pb2.py new file mode 100644 index 000000000..6fb7467dc --- /dev/null +++ b/ydb/_grpc/v5/draft/ydb_view_v1_pb2.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +# flake8: noqa +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: draft/ydb_view_v1.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from ydb._grpc.v5.draft.protos import ydb_view_pb2 as draft_dot_protos_dot_ydb__view__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x64raft/ydb_view_v1.proto\x12\x0bYdb.View.V1\x1a\x1b\x64raft/protos/ydb_view.proto2\\\n\x0bViewService\x12M\n\x0c\x44\x65scribeView\x12\x1d.Ydb.View.DescribeViewRequest\x1a\x1e.Ydb.View.DescribeViewResponseB\\\n\x1ctech.ydb.proto.draft.view.v1Z9github.com/ydb-platform/ydb-go-genproto/draft/Ydb_View_V1\xf8\x01\x01\x62\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'draft.ydb_view_v1_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\034tech.ydb.proto.draft.view.v1Z9github.com/ydb-platform/ydb-go-genproto/draft/Ydb_View_V1\370\001\001' + _VIEWSERVICE._serialized_start=69 + _VIEWSERVICE._serialized_end=161 +# @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v5/draft/ydb_view_v1_pb2.pyi b/ydb/_grpc/v5/draft/ydb_view_v1_pb2.pyi new file mode 100644 index 000000000..15db46287 --- /dev/null +++ b/ydb/_grpc/v5/draft/ydb_view_v1_pb2.pyi @@ -0,0 +1,5 @@ +from draft.protos import ydb_view_pb2 as _ydb_view_pb2 +from google.protobuf import descriptor as _descriptor +from typing import ClassVar as _ClassVar + +DESCRIPTOR: _descriptor.FileDescriptor diff --git a/ydb/_grpc/v5/draft/ydb_view_v1_pb2_grpc.py b/ydb/_grpc/v5/draft/ydb_view_v1_pb2_grpc.py new file mode 100644 index 000000000..e3b60d2ce --- /dev/null +++ b/ydb/_grpc/v5/draft/ydb_view_v1_pb2_grpc.py @@ -0,0 +1,66 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from ydb._grpc.v5.draft.protos import ydb_view_pb2 as draft_dot_protos_dot_ydb__view__pb2 + + +class ViewServiceStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.DescribeView = channel.unary_unary( + '/Ydb.View.V1.ViewService/DescribeView', + request_serializer=draft_dot_protos_dot_ydb__view__pb2.DescribeViewRequest.SerializeToString, + response_deserializer=draft_dot_protos_dot_ydb__view__pb2.DescribeViewResponse.FromString, + ) + + +class ViewServiceServicer(object): + """Missing associated documentation comment in .proto file.""" + + def DescribeView(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ViewServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'DescribeView': grpc.unary_unary_rpc_method_handler( + servicer.DescribeView, + request_deserializer=draft_dot_protos_dot_ydb__view__pb2.DescribeViewRequest.FromString, + response_serializer=draft_dot_protos_dot_ydb__view__pb2.DescribeViewResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'Ydb.View.V1.ViewService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class ViewService(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def DescribeView(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/Ydb.View.V1.ViewService/DescribeView', + draft_dot_protos_dot_ydb__view__pb2.DescribeViewRequest.SerializeToString, + draft_dot_protos_dot_ydb__view__pb2.DescribeViewResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/ydb/_grpc/v5/protos/ydb_query_pb2.py b/ydb/_grpc/v5/protos/ydb_query_pb2.py index 2561fd8c6..da083b085 100644 --- a/ydb/_grpc/v5/protos/ydb_query_pb2.py +++ b/ydb/_grpc/v5/protos/ydb_query_pb2.py @@ -22,7 +22,7 @@ from ydb._grpc.v5.protos import ydb_value_pb2 as protos_dot_ydb__value__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16protos/ydb_query.proto\x12\tYdb.Query\x1a\x1egoogle/protobuf/duration.proto\x1a#protos/annotations/validation.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1cprotos/ydb_query_stats.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x18protos/ydb_formats.proto\x1a\x16protos/ydb_value.proto\"\x16\n\x14\x43reateSessionRequest\"\xa3\x01\n\x15\x43reateSessionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x1b\n\nsession_id\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x19\n\x07node_id\x18\x04 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\"3\n\x14\x44\x65leteSessionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"k\n\x15\x44\x65leteSessionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"3\n\x14\x41ttachSessionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"b\n\x0cSessionState\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"\x1a\n\x18SerializableModeSettings\"6\n\x12OnlineModeSettings\x12 \n\x18\x61llow_inconsistent_reads\x18\x01 \x01(\x08\"\x13\n\x11StaleModeSettings\"\x16\n\x14SnapshotModeSettings\"\x18\n\x16SnapshotRWModeSettings\"\xdd\x02\n\x13TransactionSettings\x12\x46\n\x17serializable_read_write\x18\x01 \x01(\x0b\x32#.Ydb.Query.SerializableModeSettingsH\x00\x12\x39\n\x10online_read_only\x18\x02 \x01(\x0b\x32\x1d.Ydb.Query.OnlineModeSettingsH\x00\x12\x37\n\x0fstale_read_only\x18\x03 \x01(\x0b\x32\x1c.Ydb.Query.StaleModeSettingsH\x00\x12=\n\x12snapshot_read_only\x18\x04 \x01(\x0b\x32\x1f.Ydb.Query.SnapshotModeSettingsH\x00\x12@\n\x13snapshot_read_write\x18\x05 \x01(\x0b\x32!.Ydb.Query.SnapshotRWModeSettingsH\x00\x42\t\n\x07tx_mode\"\x84\x01\n\x12TransactionControl\x12\x18\n\x05tx_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08H\x00\x12\x32\n\x08\x62\x65gin_tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Query.TransactionSettingsH\x00\x12\x11\n\tcommit_tx\x18\n \x01(\x08\x42\r\n\x0btx_selector\"k\n\x17\x42\x65ginTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x33\n\x0btx_settings\x18\x02 \x01(\x0b\x32\x1e.Ydb.Query.TransactionSettings\"&\n\x0fTransactionMeta\x12\x13\n\x02id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"\x9b\x01\n\x18\x42\x65ginTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12+\n\x07tx_meta\x18\x03 \x01(\x0b\x32\x1a.Ydb.Query.TransactionMeta\"O\n\x18\x43ommitTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x16\n\x05tx_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"o\n\x19\x43ommitTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"Q\n\x1aRollbackTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x16\n\x05tx_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"q\n\x1bRollbackTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"?\n\x0cQueryContent\x12!\n\x06syntax\x18\x01 \x01(\x0e\x32\x11.Ydb.Query.Syntax\x12\x0c\n\x04text\x18\x02 \x01(\t\"\xb6\x05\n\x13\x45xecuteQueryRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12&\n\texec_mode\x18\x02 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12\x31\n\ntx_control\x18\x03 \x01(\x0b\x32\x1d.Ydb.Query.TransactionControl\x12\x30\n\rquery_content\x18\x04 \x01(\x0b\x32\x17.Ydb.Query.QueryContentH\x00\x12\x42\n\nparameters\x18\x06 \x03(\x0b\x32..Ydb.Query.ExecuteQueryRequest.ParametersEntry\x12(\n\nstats_mode\x18\x07 \x01(\x0e\x32\x14.Ydb.Query.StatsMode\x12\x1e\n\x16\x63oncurrent_result_sets\x18\x08 \x01(\x08\x12\x34\n\x19response_part_limit_bytes\x18\t \x01(\x03\x42\x11\xb2\xe6*\r[0; 33554432]\x12\x0f\n\x07pool_id\x18\n \x01(\t\x12!\n\x0fstats_period_ms\x18\x0b \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12=\n\x15schema_inclusion_mode\x18\x0c \x01(\x0e\x32\x1e.Ydb.Query.SchemaInclusionMode\x12\x30\n\x11result_set_format\x18\r \x01(\x0e\x32\x15.Ydb.ResultSet.Format\x12?\n\x15\x61rrow_format_settings\x18\x0e \x01(\x0b\x32 .Ydb.Formats.ArrowFormatSettings\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\x42\x07\n\x05query\"-\n\rResultSetMeta\x12\x1c\n\x07\x63olumns\x18\x01 \x03(\x0b\x32\x0b.Ydb.Column\"\x93\x02\n\x18\x45xecuteQueryResponsePart\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\x10result_set_index\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\"\n\nresult_set\x18\x04 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12.\n\nexec_stats\x18\x05 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\x12+\n\x07tx_meta\x18\x06 \x01(\x0b\x32\x1a.Ydb.Query.TransactionMeta\"\x9e\x03\n\x14\x45xecuteScriptRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12&\n\texec_mode\x18\x02 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12/\n\x0escript_content\x18\x03 \x01(\x0b\x32\x17.Ydb.Query.QueryContent\x12\x43\n\nparameters\x18\x04 \x03(\x0b\x32/.Ydb.Query.ExecuteScriptRequest.ParametersEntry\x12(\n\nstats_mode\x18\x05 \x01(\x0e\x32\x14.Ydb.Query.StatsMode\x12.\n\x0bresults_ttl\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07pool_id\x18\x07 \x01(\t\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"\x9f\x02\n\x15\x45xecuteScriptMetadata\x12\x1d\n\x0c\x65xecution_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12*\n\x0b\x65xec_status\x18\x02 \x01(\x0e\x32\x15.Ydb.Query.ExecStatus\x12/\n\x0escript_content\x18\x03 \x01(\x0b\x32\x17.Ydb.Query.QueryContent\x12\x32\n\x10result_sets_meta\x18\x04 \x03(\x0b\x32\x18.Ydb.Query.ResultSetMeta\x12&\n\texec_mode\x18\x05 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12.\n\nexec_stats\x18\x06 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"\x90\x01\n\x19\x46\x65tchScriptResultsRequest\x12\x1d\n\x0coperation_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x18\n\x10result_set_index\x18\x02 \x01(\x03\x12\x1c\n\x0b\x66\x65tch_token\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x1c\n\nrows_limit\x18\x04 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\"\xdb\x01\n\x1a\x46\x65tchScriptResultsResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\x10result_set_index\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\"\n\nresult_set\x18\x04 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12!\n\x10next_fetch_token\x18\x05 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"9\n\x06Script\x12/\n\x0escript_content\x18\x01 \x01(\x0b\x32\x17.Ydb.Query.QueryContent*B\n\x06Syntax\x12\x16\n\x12SYNTAX_UNSPECIFIED\x10\x00\x12\x11\n\rSYNTAX_YQL_V1\x10\x01\x12\r\n\tSYNTAX_PG\x10\x02*\x86\x01\n\x08\x45xecMode\x12\x19\n\x15\x45XEC_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x45XEC_MODE_PARSE\x10\n\x12\x16\n\x12\x45XEC_MODE_VALIDATE\x10\x14\x12\x15\n\x11\x45XEC_MODE_EXPLAIN\x10\x1e\x12\x15\n\x11\x45XEC_MODE_EXECUTE\x10\x32\"\x04\x08(\x10(*\x7f\n\tStatsMode\x12\x1a\n\x16STATS_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSTATS_MODE_NONE\x10\n\x12\x14\n\x10STATS_MODE_BASIC\x10\x14\x12\x13\n\x0fSTATS_MODE_FULL\x10\x1e\x12\x16\n\x12STATS_MODE_PROFILE\x10(*\x84\x01\n\x13SchemaInclusionMode\x12%\n!SCHEMA_INCLUSION_MODE_UNSPECIFIED\x10\x00\x12 \n\x1cSCHEMA_INCLUSION_MODE_ALWAYS\x10\x01\x12$\n SCHEMA_INCLUSION_MODE_FIRST_ONLY\x10\x02*\xaa\x01\n\nExecStatus\x12\x1b\n\x17\x45XEC_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14\x45XEC_STATUS_STARTING\x10\n\x12\x17\n\x13\x45XEC_STATUS_ABORTED\x10\x14\x12\x19\n\x15\x45XEC_STATUS_CANCELLED\x10\x1e\x12\x19\n\x15\x45XEC_STATUS_COMPLETED\x10(\x12\x16\n\x12\x45XEC_STATUS_FAILED\x10\x32\x42S\n\x14tech.ydb.proto.queryZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Query\xf8\x01\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16protos/ydb_query.proto\x12\tYdb.Query\x1a\x1egoogle/protobuf/duration.proto\x1a#protos/annotations/validation.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1cprotos/ydb_query_stats.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x18protos/ydb_formats.proto\x1a\x16protos/ydb_value.proto\"\x16\n\x14\x43reateSessionRequest\"\xa3\x01\n\x15\x43reateSessionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x1b\n\nsession_id\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x19\n\x07node_id\x18\x04 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\"3\n\x14\x44\x65leteSessionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"k\n\x15\x44\x65leteSessionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"3\n\x14\x41ttachSessionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"\x15\n\x13SessionShutdownHint\"\x12\n\x10NodeShutdownHint\"\xe4\x01\n\x0cSessionState\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12:\n\x10session_shutdown\x18\x03 \x01(\x0b\x32\x1e.Ydb.Query.SessionShutdownHintH\x00\x12\x34\n\rnode_shutdown\x18\x04 \x01(\x0b\x32\x1b.Ydb.Query.NodeShutdownHintH\x00\x42\x0e\n\x0csession_hint\"\x1a\n\x18SerializableModeSettings\"6\n\x12OnlineModeSettings\x12 \n\x18\x61llow_inconsistent_reads\x18\x01 \x01(\x08\"\x13\n\x11StaleModeSettings\"\x16\n\x14SnapshotModeSettings\"\x18\n\x16SnapshotRWModeSettings\"\xdd\x02\n\x13TransactionSettings\x12\x46\n\x17serializable_read_write\x18\x01 \x01(\x0b\x32#.Ydb.Query.SerializableModeSettingsH\x00\x12\x39\n\x10online_read_only\x18\x02 \x01(\x0b\x32\x1d.Ydb.Query.OnlineModeSettingsH\x00\x12\x37\n\x0fstale_read_only\x18\x03 \x01(\x0b\x32\x1c.Ydb.Query.StaleModeSettingsH\x00\x12=\n\x12snapshot_read_only\x18\x04 \x01(\x0b\x32\x1f.Ydb.Query.SnapshotModeSettingsH\x00\x12@\n\x13snapshot_read_write\x18\x05 \x01(\x0b\x32!.Ydb.Query.SnapshotRWModeSettingsH\x00\x42\t\n\x07tx_mode\"\x84\x01\n\x12TransactionControl\x12\x18\n\x05tx_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08H\x00\x12\x32\n\x08\x62\x65gin_tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Query.TransactionSettingsH\x00\x12\x11\n\tcommit_tx\x18\n \x01(\x08\x42\r\n\x0btx_selector\"k\n\x17\x42\x65ginTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x33\n\x0btx_settings\x18\x02 \x01(\x0b\x32\x1e.Ydb.Query.TransactionSettings\"&\n\x0fTransactionMeta\x12\x13\n\x02id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"\x9b\x01\n\x18\x42\x65ginTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12+\n\x07tx_meta\x18\x03 \x01(\x0b\x32\x1a.Ydb.Query.TransactionMeta\"O\n\x18\x43ommitTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x16\n\x05tx_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"o\n\x19\x43ommitTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"Q\n\x1aRollbackTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x16\n\x05tx_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"q\n\x1bRollbackTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"?\n\x0cQueryContent\x12!\n\x06syntax\x18\x01 \x01(\x0e\x32\x11.Ydb.Query.Syntax\x12\x0c\n\x04text\x18\x02 \x01(\t\"\xb6\x05\n\x13\x45xecuteQueryRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12&\n\texec_mode\x18\x02 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12\x31\n\ntx_control\x18\x03 \x01(\x0b\x32\x1d.Ydb.Query.TransactionControl\x12\x30\n\rquery_content\x18\x04 \x01(\x0b\x32\x17.Ydb.Query.QueryContentH\x00\x12\x42\n\nparameters\x18\x06 \x03(\x0b\x32..Ydb.Query.ExecuteQueryRequest.ParametersEntry\x12(\n\nstats_mode\x18\x07 \x01(\x0e\x32\x14.Ydb.Query.StatsMode\x12\x1e\n\x16\x63oncurrent_result_sets\x18\x08 \x01(\x08\x12\x34\n\x19response_part_limit_bytes\x18\t \x01(\x03\x42\x11\xb2\xe6*\r[0; 33554432]\x12\x0f\n\x07pool_id\x18\n \x01(\t\x12!\n\x0fstats_period_ms\x18\x0b \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12=\n\x15schema_inclusion_mode\x18\x0c \x01(\x0e\x32\x1e.Ydb.Query.SchemaInclusionMode\x12\x30\n\x11result_set_format\x18\r \x01(\x0e\x32\x15.Ydb.ResultSet.Format\x12?\n\x15\x61rrow_format_settings\x18\x0e \x01(\x0b\x32 .Ydb.Formats.ArrowFormatSettings\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\x42\x07\n\x05query\"-\n\rResultSetMeta\x12\x1c\n\x07\x63olumns\x18\x01 \x03(\x0b\x32\x0b.Ydb.Column\"\x93\x02\n\x18\x45xecuteQueryResponsePart\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\x10result_set_index\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\"\n\nresult_set\x18\x04 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12.\n\nexec_stats\x18\x05 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\x12+\n\x07tx_meta\x18\x06 \x01(\x0b\x32\x1a.Ydb.Query.TransactionMeta\"\x9e\x03\n\x14\x45xecuteScriptRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12&\n\texec_mode\x18\x02 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12/\n\x0escript_content\x18\x03 \x01(\x0b\x32\x17.Ydb.Query.QueryContent\x12\x43\n\nparameters\x18\x04 \x03(\x0b\x32/.Ydb.Query.ExecuteScriptRequest.ParametersEntry\x12(\n\nstats_mode\x18\x05 \x01(\x0e\x32\x14.Ydb.Query.StatsMode\x12.\n\x0bresults_ttl\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07pool_id\x18\x07 \x01(\t\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"\x9f\x02\n\x15\x45xecuteScriptMetadata\x12\x1d\n\x0c\x65xecution_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12*\n\x0b\x65xec_status\x18\x02 \x01(\x0e\x32\x15.Ydb.Query.ExecStatus\x12/\n\x0escript_content\x18\x03 \x01(\x0b\x32\x17.Ydb.Query.QueryContent\x12\x32\n\x10result_sets_meta\x18\x04 \x03(\x0b\x32\x18.Ydb.Query.ResultSetMeta\x12&\n\texec_mode\x18\x05 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12.\n\nexec_stats\x18\x06 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"\x90\x01\n\x19\x46\x65tchScriptResultsRequest\x12\x1d\n\x0coperation_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x18\n\x10result_set_index\x18\x02 \x01(\x03\x12\x1c\n\x0b\x66\x65tch_token\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x1c\n\nrows_limit\x18\x04 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\"\xdb\x01\n\x1a\x46\x65tchScriptResultsResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\x10result_set_index\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\"\n\nresult_set\x18\x04 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12!\n\x10next_fetch_token\x18\x05 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"9\n\x06Script\x12/\n\x0escript_content\x18\x01 \x01(\x0b\x32\x17.Ydb.Query.QueryContent*B\n\x06Syntax\x12\x16\n\x12SYNTAX_UNSPECIFIED\x10\x00\x12\x11\n\rSYNTAX_YQL_V1\x10\x01\x12\r\n\tSYNTAX_PG\x10\x02*\x86\x01\n\x08\x45xecMode\x12\x19\n\x15\x45XEC_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x45XEC_MODE_PARSE\x10\n\x12\x16\n\x12\x45XEC_MODE_VALIDATE\x10\x14\x12\x15\n\x11\x45XEC_MODE_EXPLAIN\x10\x1e\x12\x15\n\x11\x45XEC_MODE_EXECUTE\x10\x32\"\x04\x08(\x10(*\x7f\n\tStatsMode\x12\x1a\n\x16STATS_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSTATS_MODE_NONE\x10\n\x12\x14\n\x10STATS_MODE_BASIC\x10\x14\x12\x13\n\x0fSTATS_MODE_FULL\x10\x1e\x12\x16\n\x12STATS_MODE_PROFILE\x10(*\x84\x01\n\x13SchemaInclusionMode\x12%\n!SCHEMA_INCLUSION_MODE_UNSPECIFIED\x10\x00\x12 \n\x1cSCHEMA_INCLUSION_MODE_ALWAYS\x10\x01\x12$\n SCHEMA_INCLUSION_MODE_FIRST_ONLY\x10\x02*\xaa\x01\n\nExecStatus\x12\x1b\n\x17\x45XEC_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14\x45XEC_STATUS_STARTING\x10\n\x12\x17\n\x13\x45XEC_STATUS_ABORTED\x10\x14\x12\x19\n\x15\x45XEC_STATUS_CANCELLED\x10\x1e\x12\x19\n\x15\x45XEC_STATUS_COMPLETED\x10(\x12\x16\n\x12\x45XEC_STATUS_FAILED\x10\x32\x42S\n\x14tech.ydb.proto.queryZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Query\xf8\x01\x01\x62\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protos.ydb_query_pb2', globals()) @@ -76,16 +76,16 @@ _FETCHSCRIPTRESULTSRESPONSE.fields_by_name['result_set_index']._serialized_options = b'\262\346*\004>= 0' _FETCHSCRIPTRESULTSRESPONSE.fields_by_name['next_fetch_token']._options = None _FETCHSCRIPTRESULTSRESPONSE.fields_by_name['next_fetch_token']._serialized_options = b'\242\346*\003\030\200\010' - _SYNTAX._serialized_start=4345 - _SYNTAX._serialized_end=4411 - _EXECMODE._serialized_start=4414 - _EXECMODE._serialized_end=4548 - _STATSMODE._serialized_start=4550 - _STATSMODE._serialized_end=4677 - _SCHEMAINCLUSIONMODE._serialized_start=4680 - _SCHEMAINCLUSIONMODE._serialized_end=4812 - _EXECSTATUS._serialized_start=4815 - _EXECSTATUS._serialized_end=4985 + _SYNTAX._serialized_start=4519 + _SYNTAX._serialized_end=4585 + _EXECMODE._serialized_start=4588 + _EXECMODE._serialized_end=4722 + _STATSMODE._serialized_start=4724 + _STATSMODE._serialized_end=4851 + _SCHEMAINCLUSIONMODE._serialized_start=4854 + _SCHEMAINCLUSIONMODE._serialized_end=4986 + _EXECSTATUS._serialized_start=4989 + _EXECSTATUS._serialized_end=5159 _CREATESESSIONREQUEST._serialized_start=277 _CREATESESSIONREQUEST._serialized_end=299 _CREATESESSIONRESPONSE._serialized_start=302 @@ -96,56 +96,60 @@ _DELETESESSIONRESPONSE._serialized_end=627 _ATTACHSESSIONREQUEST._serialized_start=629 _ATTACHSESSIONREQUEST._serialized_end=680 - _SESSIONSTATE._serialized_start=682 - _SESSIONSTATE._serialized_end=780 - _SERIALIZABLEMODESETTINGS._serialized_start=782 - _SERIALIZABLEMODESETTINGS._serialized_end=808 - _ONLINEMODESETTINGS._serialized_start=810 - _ONLINEMODESETTINGS._serialized_end=864 - _STALEMODESETTINGS._serialized_start=866 - _STALEMODESETTINGS._serialized_end=885 - _SNAPSHOTMODESETTINGS._serialized_start=887 - _SNAPSHOTMODESETTINGS._serialized_end=909 - _SNAPSHOTRWMODESETTINGS._serialized_start=911 - _SNAPSHOTRWMODESETTINGS._serialized_end=935 - _TRANSACTIONSETTINGS._serialized_start=938 - _TRANSACTIONSETTINGS._serialized_end=1287 - _TRANSACTIONCONTROL._serialized_start=1290 - _TRANSACTIONCONTROL._serialized_end=1422 - _BEGINTRANSACTIONREQUEST._serialized_start=1424 - _BEGINTRANSACTIONREQUEST._serialized_end=1531 - _TRANSACTIONMETA._serialized_start=1533 - _TRANSACTIONMETA._serialized_end=1571 - _BEGINTRANSACTIONRESPONSE._serialized_start=1574 - _BEGINTRANSACTIONRESPONSE._serialized_end=1729 - _COMMITTRANSACTIONREQUEST._serialized_start=1731 - _COMMITTRANSACTIONREQUEST._serialized_end=1810 - _COMMITTRANSACTIONRESPONSE._serialized_start=1812 - _COMMITTRANSACTIONRESPONSE._serialized_end=1923 - _ROLLBACKTRANSACTIONREQUEST._serialized_start=1925 - _ROLLBACKTRANSACTIONREQUEST._serialized_end=2006 - _ROLLBACKTRANSACTIONRESPONSE._serialized_start=2008 - _ROLLBACKTRANSACTIONRESPONSE._serialized_end=2121 - _QUERYCONTENT._serialized_start=2123 - _QUERYCONTENT._serialized_end=2186 - _EXECUTEQUERYREQUEST._serialized_start=2189 - _EXECUTEQUERYREQUEST._serialized_end=2883 - _EXECUTEQUERYREQUEST_PARAMETERSENTRY._serialized_start=2808 - _EXECUTEQUERYREQUEST_PARAMETERSENTRY._serialized_end=2874 - _RESULTSETMETA._serialized_start=2885 - _RESULTSETMETA._serialized_end=2930 - _EXECUTEQUERYRESPONSEPART._serialized_start=2933 - _EXECUTEQUERYRESPONSEPART._serialized_end=3208 - _EXECUTESCRIPTREQUEST._serialized_start=3211 - _EXECUTESCRIPTREQUEST._serialized_end=3625 - _EXECUTESCRIPTREQUEST_PARAMETERSENTRY._serialized_start=2808 - _EXECUTESCRIPTREQUEST_PARAMETERSENTRY._serialized_end=2874 - _EXECUTESCRIPTMETADATA._serialized_start=3628 - _EXECUTESCRIPTMETADATA._serialized_end=3915 - _FETCHSCRIPTRESULTSREQUEST._serialized_start=3918 - _FETCHSCRIPTRESULTSREQUEST._serialized_end=4062 - _FETCHSCRIPTRESULTSRESPONSE._serialized_start=4065 - _FETCHSCRIPTRESULTSRESPONSE._serialized_end=4284 - _SCRIPT._serialized_start=4286 - _SCRIPT._serialized_end=4343 + _SESSIONSHUTDOWNHINT._serialized_start=682 + _SESSIONSHUTDOWNHINT._serialized_end=703 + _NODESHUTDOWNHINT._serialized_start=705 + _NODESHUTDOWNHINT._serialized_end=723 + _SESSIONSTATE._serialized_start=726 + _SESSIONSTATE._serialized_end=954 + _SERIALIZABLEMODESETTINGS._serialized_start=956 + _SERIALIZABLEMODESETTINGS._serialized_end=982 + _ONLINEMODESETTINGS._serialized_start=984 + _ONLINEMODESETTINGS._serialized_end=1038 + _STALEMODESETTINGS._serialized_start=1040 + _STALEMODESETTINGS._serialized_end=1059 + _SNAPSHOTMODESETTINGS._serialized_start=1061 + _SNAPSHOTMODESETTINGS._serialized_end=1083 + _SNAPSHOTRWMODESETTINGS._serialized_start=1085 + _SNAPSHOTRWMODESETTINGS._serialized_end=1109 + _TRANSACTIONSETTINGS._serialized_start=1112 + _TRANSACTIONSETTINGS._serialized_end=1461 + _TRANSACTIONCONTROL._serialized_start=1464 + _TRANSACTIONCONTROL._serialized_end=1596 + _BEGINTRANSACTIONREQUEST._serialized_start=1598 + _BEGINTRANSACTIONREQUEST._serialized_end=1705 + _TRANSACTIONMETA._serialized_start=1707 + _TRANSACTIONMETA._serialized_end=1745 + _BEGINTRANSACTIONRESPONSE._serialized_start=1748 + _BEGINTRANSACTIONRESPONSE._serialized_end=1903 + _COMMITTRANSACTIONREQUEST._serialized_start=1905 + _COMMITTRANSACTIONREQUEST._serialized_end=1984 + _COMMITTRANSACTIONRESPONSE._serialized_start=1986 + _COMMITTRANSACTIONRESPONSE._serialized_end=2097 + _ROLLBACKTRANSACTIONREQUEST._serialized_start=2099 + _ROLLBACKTRANSACTIONREQUEST._serialized_end=2180 + _ROLLBACKTRANSACTIONRESPONSE._serialized_start=2182 + _ROLLBACKTRANSACTIONRESPONSE._serialized_end=2295 + _QUERYCONTENT._serialized_start=2297 + _QUERYCONTENT._serialized_end=2360 + _EXECUTEQUERYREQUEST._serialized_start=2363 + _EXECUTEQUERYREQUEST._serialized_end=3057 + _EXECUTEQUERYREQUEST_PARAMETERSENTRY._serialized_start=2982 + _EXECUTEQUERYREQUEST_PARAMETERSENTRY._serialized_end=3048 + _RESULTSETMETA._serialized_start=3059 + _RESULTSETMETA._serialized_end=3104 + _EXECUTEQUERYRESPONSEPART._serialized_start=3107 + _EXECUTEQUERYRESPONSEPART._serialized_end=3382 + _EXECUTESCRIPTREQUEST._serialized_start=3385 + _EXECUTESCRIPTREQUEST._serialized_end=3799 + _EXECUTESCRIPTREQUEST_PARAMETERSENTRY._serialized_start=2982 + _EXECUTESCRIPTREQUEST_PARAMETERSENTRY._serialized_end=3048 + _EXECUTESCRIPTMETADATA._serialized_start=3802 + _EXECUTESCRIPTMETADATA._serialized_end=4089 + _FETCHSCRIPTRESULTSREQUEST._serialized_start=4092 + _FETCHSCRIPTRESULTSREQUEST._serialized_end=4236 + _FETCHSCRIPTRESULTSRESPONSE._serialized_start=4239 + _FETCHSCRIPTRESULTSRESPONSE._serialized_end=4458 + _SCRIPT._serialized_start=4460 + _SCRIPT._serialized_end=4517 # @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v5/protos/ydb_query_pb2.pyi b/ydb/_grpc/v5/protos/ydb_query_pb2.pyi index 4ce142585..d92d80832 100644 --- a/ydb/_grpc/v5/protos/ydb_query_pb2.pyi +++ b/ydb/_grpc/v5/protos/ydb_query_pb2.pyi @@ -226,6 +226,10 @@ class FetchScriptResultsResponse(_message.Message): status: _ydb_status_codes_pb2.StatusIds.StatusCode def __init__(self, status: _Optional[_Union[_ydb_status_codes_pb2.StatusIds.StatusCode, str]] = ..., issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ..., result_set_index: _Optional[int] = ..., result_set: _Optional[_Union[_ydb_value_pb2.ResultSet, _Mapping]] = ..., next_fetch_token: _Optional[str] = ...) -> None: ... +class NodeShutdownHint(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + class OnlineModeSettings(_message.Message): __slots__ = ["allow_inconsistent_reads"] ALLOW_INCONSISTENT_READS_FIELD_NUMBER: _ClassVar[int] @@ -272,13 +276,21 @@ class SerializableModeSettings(_message.Message): __slots__ = [] def __init__(self) -> None: ... +class SessionShutdownHint(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + class SessionState(_message.Message): - __slots__ = ["issues", "status"] + __slots__ = ["issues", "node_shutdown", "session_shutdown", "status"] ISSUES_FIELD_NUMBER: _ClassVar[int] + NODE_SHUTDOWN_FIELD_NUMBER: _ClassVar[int] + SESSION_SHUTDOWN_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] issues: _containers.RepeatedCompositeFieldContainer[_ydb_issue_message_pb2.IssueMessage] + node_shutdown: NodeShutdownHint + session_shutdown: SessionShutdownHint status: _ydb_status_codes_pb2.StatusIds.StatusCode - def __init__(self, status: _Optional[_Union[_ydb_status_codes_pb2.StatusIds.StatusCode, str]] = ..., issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_ydb_status_codes_pb2.StatusIds.StatusCode, str]] = ..., issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ..., session_shutdown: _Optional[_Union[SessionShutdownHint, _Mapping]] = ..., node_shutdown: _Optional[_Union[NodeShutdownHint, _Mapping]] = ...) -> None: ... class SnapshotModeSettings(_message.Message): __slots__ = [] diff --git a/ydb/_grpc/v5/protos/ydb_table_pb2.py b/ydb/_grpc/v5/protos/ydb_table_pb2.py index decea7742..d01b5a752 100644 --- a/ydb/_grpc/v5/protos/ydb_table_pb2.py +++ b/ydb/_grpc/v5/protos/ydb_table_pb2.py @@ -27,7 +27,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16protos/ydb_table.proto\x12\tYdb.Table\x1a#protos/annotations/validation.proto\x1a\x17protos/ydb_common.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1cprotos/ydb_query_stats.proto\x1a\x16protos/ydb_value.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x16protos/ydb_topic.proto\x1a\x18protos/ydb_formats.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"Q\n\x14\x43reateSessionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"E\n\x15\x43reateSessionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\")\n\x13\x43reateSessionResult\x12\x12\n\nsession_id\x18\x01 \x01(\t\"e\n\x14\x44\x65leteSessionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x39\n\x10operation_params\x18\x02 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"E\n\x15\x44\x65leteSessionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\r\n\x0bGlobalIndex\"\x12\n\x10GlobalAsyncIndex\"\x13\n\x11GlobalUniqueIndex\"\xf7\x01\n\nTableIndex\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rindex_columns\x18\x02 \x03(\t\x12.\n\x0cglobal_index\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.GlobalIndexH\x00\x12\x39\n\x12global_async_index\x18\x04 \x01(\x0b\x32\x1b.Ydb.Table.GlobalAsyncIndexH\x00\x12;\n\x13global_unique_index\x18\x06 \x01(\x0b\x32\x1c.Ydb.Table.GlobalUniqueIndexH\x00\x12\x14\n\x0c\x64\x61ta_columns\x18\x05 \x03(\tB\x06\n\x04type\"\x98\x03\n\x15TableIndexDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rindex_columns\x18\x02 \x03(\t\x12.\n\x0cglobal_index\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.GlobalIndexH\x00\x12\x39\n\x12global_async_index\x18\x05 \x01(\x0b\x32\x1b.Ydb.Table.GlobalAsyncIndexH\x00\x12;\n\x13global_unique_index\x18\x08 \x01(\x0b\x32\x1c.Ydb.Table.GlobalUniqueIndexH\x00\x12\x37\n\x06status\x18\x04 \x01(\x0e\x32\'.Ydb.Table.TableIndexDescription.Status\x12\x14\n\x0c\x64\x61ta_columns\x18\x06 \x03(\t\x12\x12\n\nsize_bytes\x18\x07 \x01(\x04\"G\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATUS_READY\x10\x01\x12\x13\n\x0fSTATUS_BUILDING\x10\x02\x42\x06\n\x04type\"\xdd\x01\n\x0fIndexBuildState\"\xc9\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSTATE_PREPARING\x10\x01\x12\x1a\n\x16STATE_TRANSFERING_DATA\x10\x02\x12\x12\n\x0eSTATE_APPLYING\x10\x03\x12\x0e\n\nSTATE_DONE\x10\x04\x12\x16\n\x12STATE_CANCELLATION\x10\x05\x12\x13\n\x0fSTATE_CANCELLED\x10\x06\x12\x13\n\x0fSTATE_REJECTION\x10\x07\x12\x12\n\x0eSTATE_REJECTED\x10\x08\"K\n\x15IndexBuildDescription\x12\x0c\n\x04path\x18\x01 \x01(\t\x12$\n\x05index\x18\x02 \x01(\x0b\x32\x15.Ydb.Table.TableIndex\"\x8e\x01\n\x12IndexBuildMetadata\x12\x35\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32 .Ydb.Table.IndexBuildDescription\x12/\n\x05state\x18\x02 \x01(\x0e\x32 .Ydb.Table.IndexBuildState.State\x12\x10\n\x08progress\x18\x03 \x01(\x02\"\x9a\x01\n\x0e\x43hangefeedMode\"\x87\x01\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0eMODE_KEYS_ONLY\x10\x01\x12\x10\n\x0cMODE_UPDATES\x10\x02\x12\x12\n\x0eMODE_NEW_IMAGE\x10\x03\x12\x12\n\x0eMODE_OLD_IMAGE\x10\x04\x12\x1b\n\x17MODE_NEW_AND_OLD_IMAGES\x10\x05\"\x81\x01\n\x10\x43hangefeedFormat\"m\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x46ORMAT_JSON\x10\x01\x12 \n\x1c\x46ORMAT_DYNAMODB_STREAMS_JSON\x10\x02\x12\x18\n\x14\x46ORMAT_DEBEZIUM_JSON\x10\x03\"\x8e\x04\n\nChangefeed\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x04mode\x18\x02 \x01(\x0e\x32\x1e.Ydb.Table.ChangefeedMode.Mode\x12\x32\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\".Ydb.Table.ChangefeedFormat.Format\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1a\n\x12virtual_timestamps\x18\x05 \x01(\x08\x12\x14\n\x0cinitial_scan\x18\x06 \x01(\x08\x12R\n\nattributes\x18\x07 \x03(\x0b\x32%.Ydb.Table.Changefeed.AttributesEntryB\x17\xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\xa2\xe6*\x07\n\x05\x08\x01\x10\x80 \x12\x1b\n\naws_region\x18\x08 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12?\n\x1cresolved_timestamps_interval\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x44\n\x1btopic_partitioning_settings\x18\n \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x87\x04\n\x15\x43hangefeedDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x04mode\x18\x02 \x01(\x0e\x32\x1e.Ydb.Table.ChangefeedMode.Mode\x12\x32\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\".Ydb.Table.ChangefeedFormat.Format\x12\x35\n\x05state\x18\x04 \x01(\x0e\x32&.Ydb.Table.ChangefeedDescription.State\x12\x1a\n\x12virtual_timestamps\x18\x05 \x01(\x08\x12\x44\n\nattributes\x18\x06 \x03(\x0b\x32\x30.Ydb.Table.ChangefeedDescription.AttributesEntry\x12\x12\n\naws_region\x18\x07 \x01(\t\x12?\n\x1cresolved_timestamps_interval\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"]\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_ENABLED\x10\x01\x12\x12\n\x0eSTATE_DISABLED\x10\x02\x12\x16\n\x12STATE_INITIAL_SCAN\x10\x03\"\x1c\n\x0bStoragePool\x12\r\n\x05media\x18\x01 \x01(\t\"\xaa\x02\n\rStoragePolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12&\n\x06syslog\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12#\n\x03log\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12$\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x05 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12/\n\x0ekeep_in_memory\x18\x06 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x36\n\x0f\x63olumn_families\x18\x07 \x03(\x0b\x32\x1d.Ydb.Table.ColumnFamilyPolicy\"\xb1\x02\n\x12\x43olumnFamilyPolicy\x12\x0c\n\x04name\x18\x01 \x01(\t\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12/\n\x0ekeep_in_memory\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12>\n\x0b\x63ompression\x18\x05 \x01(\x0e\x32).Ydb.Table.ColumnFamilyPolicy.Compression\"L\n\x0b\x43ompression\x12\x1b\n\x17\x43OMPRESSION_UNSPECIFIED\x10\x00\x12\x10\n\x0cUNCOMPRESSED\x10\x01\x12\x0e\n\nCOMPRESSED\x10\x02\"\'\n\x10\x43ompactionPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\";\n\x12\x45xplicitPartitions\x12%\n\x0csplit_points\x18\x01 \x03(\x0b\x32\x0f.Ydb.TypedValue\"S\n\x0ePartitionStats\x12\x15\n\rrows_estimate\x18\x01 \x01(\x04\x12\x12\n\nstore_size\x18\x02 \x01(\x04\x12\x16\n\x0eleader_node_id\x18\x03 \x01(\r\"\xe9\x01\n\nTableStats\x12\x32\n\x0fpartition_stats\x18\x01 \x03(\x0b\x32\x19.Ydb.Table.PartitionStats\x12\x15\n\rrows_estimate\x18\x02 \x01(\x04\x12\x12\n\nstore_size\x18\x03 \x01(\x04\x12\x12\n\npartitions\x18\x04 \x01(\x04\x12\x31\n\rcreation_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11modification_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xdc\x02\n\x12PartitioningPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12O\n\x11\x61uto_partitioning\x18\x02 \x01(\x0e\x32\x34.Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy\x12\x1c\n\x12uniform_partitions\x18\x03 \x01(\x04H\x00\x12<\n\x13\x65xplicit_partitions\x18\x04 \x01(\x0b\x32\x1d.Ydb.Table.ExplicitPartitionsH\x00\"v\n\x16\x41utoPartitioningPolicy\x12(\n$AUTO_PARTITIONING_POLICY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x0e\n\nAUTO_SPLIT\x10\x02\x12\x14\n\x10\x41UTO_SPLIT_MERGE\x10\x03\x42\x0c\n\npartitions\"&\n\x0f\x45xecutionPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\"\xb1\x01\n\x11ReplicationPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12\x16\n\x0ereplicas_count\x18\x02 \x01(\r\x12=\n\x1c\x63reate_per_availability_zone\x18\x03 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x30\n\x0f\x61llow_promotion\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"$\n\rCachingPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\"\xeb\x02\n\x0cTableProfile\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12\x30\n\x0estorage_policy\x18\x02 \x01(\x0b\x32\x18.Ydb.Table.StoragePolicy\x12\x36\n\x11\x63ompaction_policy\x18\x03 \x01(\x0b\x32\x1b.Ydb.Table.CompactionPolicy\x12:\n\x13partitioning_policy\x18\x04 \x01(\x0b\x32\x1d.Ydb.Table.PartitioningPolicy\x12\x34\n\x10\x65xecution_policy\x18\x05 \x01(\x0b\x32\x1a.Ydb.Table.ExecutionPolicy\x12\x38\n\x12replication_policy\x18\x06 \x01(\x0b\x32\x1c.Ydb.Table.ReplicationPolicy\x12\x30\n\x0e\x63\x61\x63hing_policy\x18\x07 \x01(\x0b\x32\x18.Ydb.Table.CachingPolicy\"\xaa\x03\n\x13SequenceDescription\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x16\n\tmin_value\x18\x02 \x01(\x12H\x01\x88\x01\x01\x12\x16\n\tmax_value\x18\x03 \x01(\x12H\x02\x88\x01\x01\x12\x18\n\x0bstart_value\x18\x04 \x01(\x12H\x03\x88\x01\x01\x12\x12\n\x05\x63\x61\x63he\x18\x05 \x01(\x04H\x04\x88\x01\x01\x12\x16\n\tincrement\x18\x06 \x01(\x12H\x05\x88\x01\x01\x12\x12\n\x05\x63ycle\x18\x07 \x01(\x08H\x06\x88\x01\x01\x12;\n\x07set_val\x18\x08 \x01(\x0b\x32%.Ydb.Table.SequenceDescription.SetValH\x07\x88\x01\x01\x1aV\n\x06SetVal\x12\x17\n\nnext_value\x18\x01 \x01(\x12H\x00\x88\x01\x01\x12\x16\n\tnext_used\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\r\n\x0b_next_valueB\x0c\n\n_next_usedB\x07\n\x05_nameB\x0c\n\n_min_valueB\x0c\n\n_max_valueB\x0e\n\x0c_start_valueB\x08\n\x06_cacheB\x0c\n\n_incrementB\x08\n\x06_cycleB\n\n\x08_set_val\"\xda\x01\n\nColumnMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\x04type\x18\x02 \x01(\x0b\x32\t.Ydb.Type\x12\x0e\n\x06\x66\x61mily\x18\x03 \x01(\t\x12\x15\n\x08not_null\x18\x04 \x01(\x08H\x01\x88\x01\x01\x12\'\n\x0c\x66rom_literal\x18\x05 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12\x37\n\rfrom_sequence\x18\x06 \x01(\x0b\x32\x1e.Ydb.Table.SequenceDescriptionH\x00\x42\x0f\n\rdefault_valueB\x0b\n\t_not_null\"O\n\x1a\x44\x61teTypeColumnModeSettings\x12\x13\n\x0b\x63olumn_name\x18\x01 \x01(\t\x12\x1c\n\x14\x65xpire_after_seconds\x18\x02 \x01(\r\"\x8e\x02\n\x1fValueSinceUnixEpochModeSettings\x12\x13\n\x0b\x63olumn_name\x18\x01 \x01(\t\x12\x44\n\x0b\x63olumn_unit\x18\x02 \x01(\x0e\x32/.Ydb.Table.ValueSinceUnixEpochModeSettings.Unit\x12\x1c\n\x14\x65xpire_after_seconds\x18\x03 \x01(\r\"r\n\x04Unit\x12\x14\n\x10UNIT_UNSPECIFIED\x10\x00\x12\x10\n\x0cUNIT_SECONDS\x10\x01\x12\x15\n\x11UNIT_MILLISECONDS\x10\x02\x12\x15\n\x11UNIT_MICROSECONDS\x10\x03\x12\x14\n\x10UNIT_NANOSECONDS\x10\x04\"\xc4\x01\n\x0bTtlSettings\x12\x41\n\x10\x64\x61te_type_column\x18\x01 \x01(\x0b\x32%.Ydb.Table.DateTypeColumnModeSettingsH\x00\x12L\n\x16value_since_unix_epoch\x18\x02 \x01(\x0b\x32*.Ydb.Table.ValueSinceUnixEpochModeSettingsH\x00\x12\x1c\n\x14run_interval_seconds\x18\x03 \x01(\rB\x06\n\x04mode\"\xda\x01\n\x0fStorageSettings\x12\x32\n\x12tablet_commit_log0\x18\x01 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x32\n\x12tablet_commit_log1\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x04 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x35\n\x14store_external_blobs\x18\x05 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"\x84\x02\n\x0c\x43olumnFamily\x12\x0c\n\x04name\x18\x01 \x01(\t\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x38\n\x0b\x63ompression\x18\x03 \x01(\x0e\x32#.Ydb.Table.ColumnFamily.Compression\x12/\n\x0ekeep_in_memory\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"U\n\x0b\x43ompression\x12\x1b\n\x17\x43OMPRESSION_UNSPECIFIED\x10\x00\x12\x14\n\x10\x43OMPRESSION_NONE\x10\x01\x12\x13\n\x0f\x43OMPRESSION_LZ4\x10\x02\"\xf7\x01\n\x14PartitioningSettings\x12\x14\n\x0cpartition_by\x18\x01 \x03(\t\x12\x35\n\x14partitioning_by_size\x18\x02 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x19\n\x11partition_size_mb\x18\x03 \x01(\x04\x12\x35\n\x14partitioning_by_load\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x1c\n\x14min_partitions_count\x18\x06 \x01(\x04\x12\x1c\n\x14max_partitions_count\x18\x07 \x01(\x04J\x04\x08\x05\x10\x06\"C\n\x16\x41zReadReplicasSettings\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1b\n\x13read_replicas_count\x18\x02 \x01(\x04\"_\n\x17\x43lusterReplicasSettings\x12\x44\n\x19\x61z_read_replicas_settings\x18\x02 \x03(\x0b\x32!.Ydb.Table.AzReadReplicasSettings\"t\n\x14ReadReplicasSettings\x12$\n\x1aper_az_read_replicas_count\x18\x01 \x01(\x04H\x00\x12$\n\x1a\x61ny_az_read_replicas_count\x18\x02 \x01(\x04H\x00\x42\n\n\x08settingsJ\x04\x08\x03\x10\x04\"\xaa\x07\n\x12\x43reateTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12&\n\x07\x63olumns\x18\x03 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x04 \x03(\t\x12(\n\x07profile\x18\x05 \x01(\x0b\x32\x17.Ydb.Table.TableProfile\x12\x39\n\x10operation_params\x18\x06 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12&\n\x07indexes\x18\x07 \x03(\x0b\x32\x15.Ydb.Table.TableIndex\x12,\n\x0cttl_settings\x18\x08 \x01(\x0b\x32\x16.Ydb.Table.TtlSettings\x12\x34\n\x10storage_settings\x18\t \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x30\n\x0f\x63olumn_families\x18\n \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12Z\n\nattributes\x18\x0b \x03(\x0b\x32-.Ydb.Table.CreateTableRequest.AttributesEntryB\x17\xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\xa2\xe6*\x07\n\x05\x08\x01\x10\x80 \x12\x19\n\x11\x63ompaction_policy\x18\x0c \x01(\t\x12\x1c\n\x12uniform_partitions\x18\r \x01(\x04H\x00\x12:\n\x11partition_at_keys\x18\x0e \x01(\x0b\x32\x1d.Ydb.Table.ExplicitPartitionsH\x00\x12>\n\x15partitioning_settings\x18\x0f \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x31\n\x10key_bloom_filter\x18\x10 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12?\n\x16read_replicas_settings\x18\x11 \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12\x0f\n\x07tiering\x18\x12 \x01(\t\x12\x11\n\ttemporary\x18\x13 \x01(\x08\x12(\n\nstore_type\x18\x14 \x01(\x0e\x32\x14.Ydb.Table.StoreType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\npartitions\"C\n\x13\x43reateTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"u\n\x10\x44ropTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParamsJ\x04\x08\x03\x10\x04\"A\n\x11\x44ropTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"]\n\x0fRenameIndexItem\x12\x13\n\x0bsource_name\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_name\x18\x02 \x01(\t\x12\x1b\n\x13replace_destination\x18\x03 \x01(\x08\"\x95\t\n\x11\x41lterTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12*\n\x0b\x61\x64\x64_columns\x18\x03 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x14\n\x0c\x64rop_columns\x18\x04 \x03(\t\x12\x39\n\x10operation_params\x18\x05 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12,\n\ralter_columns\x18\x06 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x32\n\x10set_ttl_settings\x18\x07 \x01(\x0b\x32\x16.Ydb.Table.TtlSettingsH\x00\x12\x33\n\x11\x64rop_ttl_settings\x18\x08 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12*\n\x0b\x61\x64\x64_indexes\x18\t \x03(\x0b\x32\x15.Ydb.Table.TableIndex\x12\x14\n\x0c\x64rop_indexes\x18\n \x03(\t\x12:\n\x16\x61lter_storage_settings\x18\x0b \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x34\n\x13\x61\x64\x64_column_families\x18\x0c \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12\x36\n\x15\x61lter_column_families\x18\r \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12`\n\x10\x61lter_attributes\x18\x0e \x03(\x0b\x32\x31.Ydb.Table.AlterTableRequest.AlterAttributesEntryB\x13\xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\xa2\xe6*\x03\x18\x80 \x12\x1d\n\x15set_compaction_policy\x18\x0f \x01(\t\x12\x44\n\x1b\x61lter_partitioning_settings\x18\x10 \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x35\n\x14set_key_bloom_filter\x18\x11 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x43\n\x1aset_read_replicas_settings\x18\x12 \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12.\n\x0f\x61\x64\x64_changefeeds\x18\x13 \x03(\x0b\x32\x15.Ydb.Table.Changefeed\x12\x18\n\x10\x64rop_changefeeds\x18\x14 \x03(\t\x12\x32\n\x0erename_indexes\x18\x15 \x03(\x0b\x32\x1a.Ydb.Table.RenameIndexItem\x12\x15\n\x0bset_tiering\x18\x16 \x01(\tH\x01\x12.\n\x0c\x64rop_tiering\x18\x17 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\nttl_actionB\x10\n\x0etiering_action\"B\n\x12\x41lterTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x90\x01\n\x10\x43opyTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x13\n\x0bsource_path\x18\x02 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x03 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"A\n\x11\x43opyTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"T\n\rCopyTableItem\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12\x14\n\x0comit_indexes\x18\x03 \x01(\x08\"\x8c\x01\n\x11\x43opyTablesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12(\n\x06tables\x18\x03 \x03(\x0b\x32\x18.Ydb.Table.CopyTableItem\"B\n\x12\x43opyTablesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"]\n\x0fRenameTableItem\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12\x1b\n\x13replace_destination\x18\x03 \x01(\x08\"\x90\x01\n\x13RenameTablesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12*\n\x06tables\x18\x03 \x03(\x0b\x32\x1a.Ydb.Table.RenameTableItem\"D\n\x14RenameTablesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xf5\x01\n\x14\x44\x65scribeTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12 \n\x18include_shard_key_bounds\x18\x05 \x01(\x08\x12\x1b\n\x13include_table_stats\x18\x06 \x01(\x08\x12\x1f\n\x17include_partition_stats\x18\x07 \x01(\x08\x12 \n\x18include_shard_nodes_info\x18\t \x01(\x08\"E\n\x15\x44\x65scribeTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xc9\x06\n\x13\x44\x65scribeTableResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12&\n\x07\x63olumns\x18\x02 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x03 \x03(\t\x12)\n\x10shard_key_bounds\x18\x04 \x03(\x0b\x32\x0f.Ydb.TypedValue\x12\x31\n\x07indexes\x18\x05 \x03(\x0b\x32 .Ydb.Table.TableIndexDescription\x12*\n\x0btable_stats\x18\x06 \x01(\x0b\x32\x15.Ydb.Table.TableStats\x12,\n\x0cttl_settings\x18\x07 \x01(\x0b\x32\x16.Ydb.Table.TtlSettings\x12\x34\n\x10storage_settings\x18\x08 \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x30\n\x0f\x63olumn_families\x18\t \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12\x42\n\nattributes\x18\n \x03(\x0b\x32..Ydb.Table.DescribeTableResult.AttributesEntry\x12>\n\x15partitioning_settings\x18\x0c \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x31\n\x10key_bloom_filter\x18\r \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12?\n\x16read_replicas_settings\x18\x0e \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12\x35\n\x0b\x63hangefeeds\x18\x0f \x03(\x0b\x32 .Ydb.Table.ChangefeedDescription\x12\x0f\n\x07tiering\x18\x10 \x01(\t\x12\x11\n\ttemporary\x18\x11 \x01(\x08\x12(\n\nstore_type\x18\x12 \x01(\x0e\x32\x14.Ydb.Table.StoreType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x0b\x10\x0c\"2\n\x05Query\x12\x12\n\x08yql_text\x18\x01 \x01(\tH\x00\x12\x0c\n\x02id\x18\x02 \x01(\tH\x00\x42\x07\n\x05query\"\x1a\n\x18SerializableModeSettings\"6\n\x12OnlineModeSettings\x12 \n\x18\x61llow_inconsistent_reads\x18\x01 \x01(\x08\"\x13\n\x11StaleModeSettings\"\x16\n\x14SnapshotModeSettings\"\x18\n\x16SnapshotRWModeSettings\"\xdd\x02\n\x13TransactionSettings\x12\x46\n\x17serializable_read_write\x18\x01 \x01(\x0b\x32#.Ydb.Table.SerializableModeSettingsH\x00\x12\x39\n\x10online_read_only\x18\x02 \x01(\x0b\x32\x1d.Ydb.Table.OnlineModeSettingsH\x00\x12\x37\n\x0fstale_read_only\x18\x03 \x01(\x0b\x32\x1c.Ydb.Table.StaleModeSettingsH\x00\x12=\n\x12snapshot_read_only\x18\x04 \x01(\x0b\x32\x1f.Ydb.Table.SnapshotModeSettingsH\x00\x12@\n\x13snapshot_read_write\x18\x05 \x01(\x0b\x32!.Ydb.Table.SnapshotRWModeSettingsH\x00\x42\t\n\x07tx_mode\"{\n\x12TransactionControl\x12\x0f\n\x05tx_id\x18\x01 \x01(\tH\x00\x12\x32\n\x08\x62\x65gin_tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Table.TransactionSettingsH\x00\x12\x11\n\tcommit_tx\x18\n \x01(\x08\x42\r\n\x0btx_selector\")\n\x10QueryCachePolicy\x12\x15\n\rkeep_in_cache\x18\x01 \x01(\x08\"\xb1\x01\n\x14QueryStatsCollection\"\x98\x01\n\x04Mode\x12 \n\x1cSTATS_COLLECTION_UNSPECIFIED\x10\x00\x12\x19\n\x15STATS_COLLECTION_NONE\x10\x01\x12\x1a\n\x16STATS_COLLECTION_BASIC\x10\x02\x12\x19\n\x15STATS_COLLECTION_FULL\x10\x03\x12\x1c\n\x18STATS_COLLECTION_PROFILE\x10\x04\"\xbe\x03\n\x17\x45xecuteDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x31\n\ntx_control\x18\x02 \x01(\x0b\x32\x1d.Ydb.Table.TransactionControl\x12\x1f\n\x05query\x18\x03 \x01(\x0b\x32\x10.Ydb.Table.Query\x12\x46\n\nparameters\x18\x04 \x03(\x0b\x32\x32.Ydb.Table.ExecuteDataQueryRequest.ParametersEntry\x12\x37\n\x12query_cache_policy\x18\x05 \x01(\x0b\x32\x1b.Ydb.Table.QueryCachePolicy\x12\x39\n\x10operation_params\x18\x06 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12;\n\rcollect_stats\x18\x07 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"H\n\x18\x45xecuteDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"|\n\x19\x45xecuteSchemeQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"J\n\x1a\x45xecuteSchemeQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x1d\n\x0fTransactionMeta\x12\n\n\x02id\x18\x01 \x01(\t\"\x9f\x01\n\tQueryMeta\x12\n\n\x02id\x18\x01 \x01(\t\x12\x43\n\x10parameters_types\x18\x02 \x03(\x0b\x32).Ydb.Table.QueryMeta.ParametersTypesEntry\x1a\x41\n\x14ParametersTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.Ydb.Type:\x02\x38\x01\"\xc1\x01\n\x12\x45xecuteQueryResult\x12#\n\x0bresult_sets\x18\x01 \x03(\x0b\x32\x0e.Ydb.ResultSet\x12+\n\x07tx_meta\x18\x02 \x01(\x0b\x32\x1a.Ydb.Table.TransactionMeta\x12(\n\nquery_meta\x18\x03 \x01(\x0b\x32\x14.Ydb.Table.QueryMeta\x12/\n\x0bquery_stats\x18\x04 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"\x9c\x01\n\x17\x45xplainDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12 \n\x18\x63ollect_full_diagnostics\x18\x04 \x01(\x08\"H\n\x18\x45xplainDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"[\n\x12\x45xplainQueryResult\x12\x11\n\tquery_ast\x18\x01 \x01(\t\x12\x12\n\nquery_plan\x18\x02 \x01(\t\x12\x1e\n\x16query_full_diagnostics\x18\x03 \x01(\t\"z\n\x17PrepareDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"H\n\x18PrepareDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb7\x01\n\x12PrepareQueryResult\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12L\n\x10parameters_types\x18\x02 \x03(\x0b\x32\x32.Ydb.Table.PrepareQueryResult.ParametersTypesEntry\x1a\x41\n\x14ParametersTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.Ydb.Type:\x02\x38\x01\"a\n\x10KeepAliveRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x39\n\x10operation_params\x18\x02 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"A\n\x11KeepAliveResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb7\x01\n\x0fKeepAliveResult\x12@\n\x0esession_status\x18\x01 \x01(\x0e\x32(.Ydb.Table.KeepAliveResult.SessionStatus\"b\n\rSessionStatus\x12\x1e\n\x1aSESSION_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14SESSION_STATUS_READY\x10\x01\x12\x17\n\x13SESSION_STATUS_BUSY\x10\x02\"\x9d\x01\n\x17\x42\x65ginTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x33\n\x0btx_settings\x18\x02 \x01(\x0b\x32\x1e.Ydb.Table.TransactionSettings\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"H\n\x18\x42\x65ginTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"E\n\x16\x42\x65ginTransactionResult\x12+\n\x07tx_meta\x18\x01 \x01(\x0b\x32\x1a.Ydb.Table.TransactionMeta\"\xb5\x01\n\x18\x43ommitTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\r\n\x05tx_id\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12;\n\rcollect_stats\x18\x04 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\"I\n\x19\x43ommitTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"J\n\x17\x43ommitTransactionResult\x12/\n\x0bquery_stats\x18\x01 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"z\n\x1aRollbackTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\r\n\x05tx_id\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"K\n\x1bRollbackTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x98\x01\n\x18StoragePolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x06labels\x18\x02 \x03(\x0b\x32/.Ydb.Table.StoragePolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9e\x01\n\x1b\x43ompactionPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x42\n\x06labels\x18\x02 \x03(\x0b\x32\x32.Ydb.Table.CompactionPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa2\x01\n\x1dPartitioningPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x06labels\x18\x02 \x03(\x0b\x32\x34.Ydb.Table.PartitioningPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9c\x01\n\x1a\x45xecutionPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x41\n\x06labels\x18\x02 \x03(\x0b\x32\x31.Ydb.Table.ExecutionPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa0\x01\n\x1cReplicationPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x43\n\x06labels\x18\x02 \x03(\x0b\x32\x33.Ydb.Table.ReplicationPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x98\x01\n\x18\x43\x61\x63hingPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x06labels\x18\x02 \x03(\x0b\x32/.Ydb.Table.CachingPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbe\x04\n\x17TableProfileDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12>\n\x06labels\x18\x02 \x03(\x0b\x32..Ydb.Table.TableProfileDescription.LabelsEntry\x12\x1e\n\x16\x64\x65\x66\x61ult_storage_policy\x18\x03 \x01(\t\x12 \n\x18\x61llowed_storage_policies\x18\x04 \x03(\t\x12!\n\x19\x64\x65\x66\x61ult_compaction_policy\x18\x05 \x01(\t\x12#\n\x1b\x61llowed_compaction_policies\x18\x06 \x03(\t\x12#\n\x1b\x64\x65\x66\x61ult_partitioning_policy\x18\x07 \x01(\t\x12%\n\x1d\x61llowed_partitioning_policies\x18\x08 \x03(\t\x12 \n\x18\x64\x65\x66\x61ult_execution_policy\x18\t \x01(\t\x12\"\n\x1a\x61llowed_execution_policies\x18\n \x03(\t\x12\"\n\x1a\x64\x65\x66\x61ult_replication_policy\x18\x0b \x01(\t\x12$\n\x1c\x61llowed_replication_policies\x18\x0c \x03(\t\x12\x1e\n\x16\x64\x65\x66\x61ult_caching_policy\x18\r \x01(\t\x12 \n\x18\x61llowed_caching_policies\x18\x0e \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"X\n\x1b\x44\x65scribeTableOptionsRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"L\n\x1c\x44\x65scribeTableOptionsResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x99\x04\n\x1a\x44\x65scribeTableOptionsResult\x12\x41\n\x15table_profile_presets\x18\x01 \x03(\x0b\x32\".Ydb.Table.TableProfileDescription\x12\x43\n\x16storage_policy_presets\x18\x02 \x03(\x0b\x32#.Ydb.Table.StoragePolicyDescription\x12I\n\x19\x63ompaction_policy_presets\x18\x03 \x03(\x0b\x32&.Ydb.Table.CompactionPolicyDescription\x12M\n\x1bpartitioning_policy_presets\x18\x04 \x03(\x0b\x32(.Ydb.Table.PartitioningPolicyDescription\x12G\n\x18\x65xecution_policy_presets\x18\x05 \x03(\x0b\x32%.Ydb.Table.ExecutionPolicyDescription\x12K\n\x1areplication_policy_presets\x18\x06 \x03(\x0b\x32\'.Ydb.Table.ReplicationPolicyDescription\x12\x43\n\x16\x63\x61\x63hing_policy_presets\x18\x07 \x03(\x0b\x32#.Ydb.Table.CachingPolicyDescription\"\xc0\x01\n\x08KeyRange\x12\"\n\x07greater\x18\x01 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12+\n\x10greater_or_equal\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12\x1f\n\x04less\x18\x03 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x01\x12(\n\rless_or_equal\x18\x04 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x01\x42\x0c\n\nfrom_boundB\n\n\x08to_bound\"\xb8\x02\n\x10ReadTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12&\n\tkey_range\x18\x03 \x01(\x0b\x32\x13.Ydb.Table.KeyRange\x12\x0f\n\x07\x63olumns\x18\x04 \x03(\t\x12\x0f\n\x07ordered\x18\x05 \x01(\x08\x12\x11\n\trow_limit\x18\x06 \x01(\x04\x12-\n\x0cuse_snapshot\x18\x07 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x19\n\x11\x62\x61tch_limit_bytes\x18\x08 \x01(\x04\x12\x18\n\x10\x62\x61tch_limit_rows\x18\t \x01(\x04\x12\x41\n return_not_null_data_as_optional\x18\n \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"\xbc\x01\n\x11ReadTableResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\'\n\x08snapshot\x18\x04 \x01(\x0b\x32\x15.Ydb.VirtualTimestamp\x12*\n\x06result\x18\x03 \x01(\x0b\x32\x1a.Ydb.Table.ReadTableResult\"5\n\x0fReadTableResult\x12\"\n\nresult_set\x18\x01 \x01(\x0b\x32\x0e.Ydb.ResultSet\"c\n\x0fReadRowsRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x1d\n\x04keys\x18\x03 \x01(\x0b\x32\x0f.Ydb.TypedValue\x12\x0f\n\x07\x63olumns\x18\x04 \x03(\t\"\x8a\x01\n\x10ReadRowsResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\nresult_set\x18\x03 \x01(\x0b\x32\x0e.Ydb.ResultSet\"\x8d\x02\n\x11\x42ulkUpsertRequest\x12\r\n\x05table\x18\x01 \x01(\t\x12\x1d\n\x04rows\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12?\n\x14\x61rrow_batch_settings\x18\x07 \x01(\x0b\x32\x1f.Ydb.Formats.ArrowBatchSettingsH\x00\x12\x30\n\x0c\x63sv_settings\x18\x08 \x01(\x0b\x32\x18.Ydb.Formats.CsvSettingsH\x00\x12\r\n\x04\x64\x61ta\x18\xe8\x07 \x01(\x0c\x42\r\n\x0b\x64\x61ta_format\"B\n\x12\x42ulkUpsertResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x12\n\x10\x42ulkUpsertResult\"\xb3\x03\n\x17\x45xecuteScanQueryRequest\x12\x1f\n\x05query\x18\x03 \x01(\x0b\x32\x10.Ydb.Table.Query\x12\x46\n\nparameters\x18\x04 \x03(\x0b\x32\x32.Ydb.Table.ExecuteScanQueryRequest.ParametersEntry\x12\x35\n\x04mode\x18\x06 \x01(\x0e\x32\'.Ydb.Table.ExecuteScanQueryRequest.Mode\x12;\n\rcollect_stats\x18\x08 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\x12 \n\x18\x63ollect_full_diagnostics\x18\t \x01(\x08\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"=\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cMODE_EXPLAIN\x10\x01\x12\r\n\tMODE_EXEC\x10\x03J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x05\x10\x06J\x04\x08\x07\x10\x08\"\xaf\x01\n\x1f\x45xecuteScanQueryPartialResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x38\n\x06result\x18\x03 \x01(\x0b\x32(.Ydb.Table.ExecuteScanQueryPartialResult\"\xac\x01\n\x1d\x45xecuteScanQueryPartialResult\x12\"\n\nresult_set\x18\x01 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12/\n\x0bquery_stats\x18\x06 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\x12\x1e\n\x16query_full_diagnostics\x18\x07 \x01(\tJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06*R\n\tStoreType\x12\x1a\n\x16STORE_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eSTORE_TYPE_ROW\x10\x01\x12\x15\n\x11STORE_TYPE_COLUMN\x10\x02\x42S\n\x14tech.ydb.proto.tableZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Table\xf8\x01\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16protos/ydb_table.proto\x12\tYdb.Table\x1a#protos/annotations/validation.proto\x1a\x17protos/ydb_common.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1cprotos/ydb_query_stats.proto\x1a\x16protos/ydb_value.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x16protos/ydb_topic.proto\x1a\x18protos/ydb_formats.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"Q\n\x14\x43reateSessionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"E\n\x15\x43reateSessionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\")\n\x13\x43reateSessionResult\x12\x12\n\nsession_id\x18\x01 \x01(\t\"e\n\x14\x44\x65leteSessionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x39\n\x10operation_params\x18\x02 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"E\n\x15\x44\x65leteSessionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\r\n\x0bGlobalIndex\"\x12\n\x10GlobalAsyncIndex\"\x13\n\x11GlobalUniqueIndex\"\xf7\x01\n\nTableIndex\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rindex_columns\x18\x02 \x03(\t\x12.\n\x0cglobal_index\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.GlobalIndexH\x00\x12\x39\n\x12global_async_index\x18\x04 \x01(\x0b\x32\x1b.Ydb.Table.GlobalAsyncIndexH\x00\x12;\n\x13global_unique_index\x18\x06 \x01(\x0b\x32\x1c.Ydb.Table.GlobalUniqueIndexH\x00\x12\x14\n\x0c\x64\x61ta_columns\x18\x05 \x03(\tB\x06\n\x04type\"\x98\x03\n\x15TableIndexDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rindex_columns\x18\x02 \x03(\t\x12.\n\x0cglobal_index\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.GlobalIndexH\x00\x12\x39\n\x12global_async_index\x18\x05 \x01(\x0b\x32\x1b.Ydb.Table.GlobalAsyncIndexH\x00\x12;\n\x13global_unique_index\x18\x08 \x01(\x0b\x32\x1c.Ydb.Table.GlobalUniqueIndexH\x00\x12\x37\n\x06status\x18\x04 \x01(\x0e\x32\'.Ydb.Table.TableIndexDescription.Status\x12\x14\n\x0c\x64\x61ta_columns\x18\x06 \x03(\t\x12\x12\n\nsize_bytes\x18\x07 \x01(\x04\"G\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATUS_READY\x10\x01\x12\x13\n\x0fSTATUS_BUILDING\x10\x02\x42\x06\n\x04type\"\xdd\x01\n\x0fIndexBuildState\"\xc9\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSTATE_PREPARING\x10\x01\x12\x1a\n\x16STATE_TRANSFERING_DATA\x10\x02\x12\x12\n\x0eSTATE_APPLYING\x10\x03\x12\x0e\n\nSTATE_DONE\x10\x04\x12\x16\n\x12STATE_CANCELLATION\x10\x05\x12\x13\n\x0fSTATE_CANCELLED\x10\x06\x12\x13\n\x0fSTATE_REJECTION\x10\x07\x12\x12\n\x0eSTATE_REJECTED\x10\x08\"K\n\x15IndexBuildDescription\x12\x0c\n\x04path\x18\x01 \x01(\t\x12$\n\x05index\x18\x02 \x01(\x0b\x32\x15.Ydb.Table.TableIndex\"\x8e\x01\n\x12IndexBuildMetadata\x12\x35\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32 .Ydb.Table.IndexBuildDescription\x12/\n\x05state\x18\x02 \x01(\x0e\x32 .Ydb.Table.IndexBuildState.State\x12\x10\n\x08progress\x18\x03 \x01(\x02\"\x9a\x01\n\x0e\x43hangefeedMode\"\x87\x01\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0eMODE_KEYS_ONLY\x10\x01\x12\x10\n\x0cMODE_UPDATES\x10\x02\x12\x12\n\x0eMODE_NEW_IMAGE\x10\x03\x12\x12\n\x0eMODE_OLD_IMAGE\x10\x04\x12\x1b\n\x17MODE_NEW_AND_OLD_IMAGES\x10\x05\"\x81\x01\n\x10\x43hangefeedFormat\"m\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x46ORMAT_JSON\x10\x01\x12 \n\x1c\x46ORMAT_DYNAMODB_STREAMS_JSON\x10\x02\x12\x18\n\x14\x46ORMAT_DEBEZIUM_JSON\x10\x03\"\xa6\x04\n\nChangefeed\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x04mode\x18\x02 \x01(\x0e\x32\x1e.Ydb.Table.ChangefeedMode.Mode\x12\x32\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\".Ydb.Table.ChangefeedFormat.Format\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1a\n\x12virtual_timestamps\x18\x05 \x01(\x08\x12\x14\n\x0cinitial_scan\x18\x06 \x01(\x08\x12R\n\nattributes\x18\x07 \x03(\x0b\x32%.Ydb.Table.Changefeed.AttributesEntryB\x17\xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\xa2\xe6*\x07\n\x05\x08\x01\x10\x80 \x12\x1b\n\naws_region\x18\x08 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12?\n\x1cresolved_timestamps_interval\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x44\n\x1btopic_partitioning_settings\x18\n \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12\x16\n\x0eschema_changes\x18\x0b \x01(\x08\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb9\x05\n\x15\x43hangefeedDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x04mode\x18\x02 \x01(\x0e\x32\x1e.Ydb.Table.ChangefeedMode.Mode\x12\x32\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\".Ydb.Table.ChangefeedFormat.Format\x12\x35\n\x05state\x18\x04 \x01(\x0e\x32&.Ydb.Table.ChangefeedDescription.State\x12\x1a\n\x12virtual_timestamps\x18\x05 \x01(\x08\x12\x44\n\nattributes\x18\x06 \x03(\x0b\x32\x30.Ydb.Table.ChangefeedDescription.AttributesEntry\x12\x12\n\naws_region\x18\x07 \x01(\t\x12?\n\x1cresolved_timestamps_interval\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12S\n\x15initial_scan_progress\x18\t \x01(\x0b\x32\x34.Ydb.Table.ChangefeedDescription.InitialScanProgress\x12\x16\n\x0eschema_changes\x18\n \x01(\x08\x1a\x43\n\x13InitialScanProgress\x12\x13\n\x0bparts_total\x18\x01 \x01(\r\x12\x17\n\x0fparts_completed\x18\x02 \x01(\r\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"]\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_ENABLED\x10\x01\x12\x12\n\x0eSTATE_DISABLED\x10\x02\x12\x16\n\x12STATE_INITIAL_SCAN\x10\x03\"\x1c\n\x0bStoragePool\x12\r\n\x05media\x18\x01 \x01(\t\"\xaa\x02\n\rStoragePolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12&\n\x06syslog\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12#\n\x03log\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12$\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x05 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12/\n\x0ekeep_in_memory\x18\x06 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x36\n\x0f\x63olumn_families\x18\x07 \x03(\x0b\x32\x1d.Ydb.Table.ColumnFamilyPolicy\"\xb1\x02\n\x12\x43olumnFamilyPolicy\x12\x0c\n\x04name\x18\x01 \x01(\t\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12/\n\x0ekeep_in_memory\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12>\n\x0b\x63ompression\x18\x05 \x01(\x0e\x32).Ydb.Table.ColumnFamilyPolicy.Compression\"L\n\x0b\x43ompression\x12\x1b\n\x17\x43OMPRESSION_UNSPECIFIED\x10\x00\x12\x10\n\x0cUNCOMPRESSED\x10\x01\x12\x0e\n\nCOMPRESSED\x10\x02\"\'\n\x10\x43ompactionPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\";\n\x12\x45xplicitPartitions\x12%\n\x0csplit_points\x18\x01 \x03(\x0b\x32\x0f.Ydb.TypedValue\"S\n\x0ePartitionStats\x12\x15\n\rrows_estimate\x18\x01 \x01(\x04\x12\x12\n\nstore_size\x18\x02 \x01(\x04\x12\x16\n\x0eleader_node_id\x18\x03 \x01(\r\"\xe9\x01\n\nTableStats\x12\x32\n\x0fpartition_stats\x18\x01 \x03(\x0b\x32\x19.Ydb.Table.PartitionStats\x12\x15\n\rrows_estimate\x18\x02 \x01(\x04\x12\x12\n\nstore_size\x18\x03 \x01(\x04\x12\x12\n\npartitions\x18\x04 \x01(\x04\x12\x31\n\rcreation_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11modification_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xdc\x02\n\x12PartitioningPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12O\n\x11\x61uto_partitioning\x18\x02 \x01(\x0e\x32\x34.Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy\x12\x1c\n\x12uniform_partitions\x18\x03 \x01(\x04H\x00\x12<\n\x13\x65xplicit_partitions\x18\x04 \x01(\x0b\x32\x1d.Ydb.Table.ExplicitPartitionsH\x00\"v\n\x16\x41utoPartitioningPolicy\x12(\n$AUTO_PARTITIONING_POLICY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x0e\n\nAUTO_SPLIT\x10\x02\x12\x14\n\x10\x41UTO_SPLIT_MERGE\x10\x03\x42\x0c\n\npartitions\"&\n\x0f\x45xecutionPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\"\xb1\x01\n\x11ReplicationPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12\x16\n\x0ereplicas_count\x18\x02 \x01(\r\x12=\n\x1c\x63reate_per_availability_zone\x18\x03 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x30\n\x0f\x61llow_promotion\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"$\n\rCachingPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\"\xeb\x02\n\x0cTableProfile\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12\x30\n\x0estorage_policy\x18\x02 \x01(\x0b\x32\x18.Ydb.Table.StoragePolicy\x12\x36\n\x11\x63ompaction_policy\x18\x03 \x01(\x0b\x32\x1b.Ydb.Table.CompactionPolicy\x12:\n\x13partitioning_policy\x18\x04 \x01(\x0b\x32\x1d.Ydb.Table.PartitioningPolicy\x12\x34\n\x10\x65xecution_policy\x18\x05 \x01(\x0b\x32\x1a.Ydb.Table.ExecutionPolicy\x12\x38\n\x12replication_policy\x18\x06 \x01(\x0b\x32\x1c.Ydb.Table.ReplicationPolicy\x12\x30\n\x0e\x63\x61\x63hing_policy\x18\x07 \x01(\x0b\x32\x18.Ydb.Table.CachingPolicy\"\xaa\x03\n\x13SequenceDescription\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x16\n\tmin_value\x18\x02 \x01(\x12H\x01\x88\x01\x01\x12\x16\n\tmax_value\x18\x03 \x01(\x12H\x02\x88\x01\x01\x12\x18\n\x0bstart_value\x18\x04 \x01(\x12H\x03\x88\x01\x01\x12\x12\n\x05\x63\x61\x63he\x18\x05 \x01(\x04H\x04\x88\x01\x01\x12\x16\n\tincrement\x18\x06 \x01(\x12H\x05\x88\x01\x01\x12\x12\n\x05\x63ycle\x18\x07 \x01(\x08H\x06\x88\x01\x01\x12;\n\x07set_val\x18\x08 \x01(\x0b\x32%.Ydb.Table.SequenceDescription.SetValH\x07\x88\x01\x01\x1aV\n\x06SetVal\x12\x17\n\nnext_value\x18\x01 \x01(\x12H\x00\x88\x01\x01\x12\x16\n\tnext_used\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\r\n\x0b_next_valueB\x0c\n\n_next_usedB\x07\n\x05_nameB\x0c\n\n_min_valueB\x0c\n\n_max_valueB\x0e\n\x0c_start_valueB\x08\n\x06_cacheB\x0c\n\n_incrementB\x08\n\x06_cycleB\n\n\x08_set_val\"\xda\x01\n\nColumnMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\x04type\x18\x02 \x01(\x0b\x32\t.Ydb.Type\x12\x0e\n\x06\x66\x61mily\x18\x03 \x01(\t\x12\x15\n\x08not_null\x18\x04 \x01(\x08H\x01\x88\x01\x01\x12\'\n\x0c\x66rom_literal\x18\x05 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12\x37\n\rfrom_sequence\x18\x06 \x01(\x0b\x32\x1e.Ydb.Table.SequenceDescriptionH\x00\x42\x0f\n\rdefault_valueB\x0b\n\t_not_null\"O\n\x1a\x44\x61teTypeColumnModeSettings\x12\x13\n\x0b\x63olumn_name\x18\x01 \x01(\t\x12\x1c\n\x14\x65xpire_after_seconds\x18\x02 \x01(\r\"\x8e\x02\n\x1fValueSinceUnixEpochModeSettings\x12\x13\n\x0b\x63olumn_name\x18\x01 \x01(\t\x12\x44\n\x0b\x63olumn_unit\x18\x02 \x01(\x0e\x32/.Ydb.Table.ValueSinceUnixEpochModeSettings.Unit\x12\x1c\n\x14\x65xpire_after_seconds\x18\x03 \x01(\r\"r\n\x04Unit\x12\x14\n\x10UNIT_UNSPECIFIED\x10\x00\x12\x10\n\x0cUNIT_SECONDS\x10\x01\x12\x15\n\x11UNIT_MILLISECONDS\x10\x02\x12\x15\n\x11UNIT_MICROSECONDS\x10\x03\x12\x14\n\x10UNIT_NANOSECONDS\x10\x04\"\xc4\x01\n\x0bTtlSettings\x12\x41\n\x10\x64\x61te_type_column\x18\x01 \x01(\x0b\x32%.Ydb.Table.DateTypeColumnModeSettingsH\x00\x12L\n\x16value_since_unix_epoch\x18\x02 \x01(\x0b\x32*.Ydb.Table.ValueSinceUnixEpochModeSettingsH\x00\x12\x1c\n\x14run_interval_seconds\x18\x03 \x01(\rB\x06\n\x04mode\"\xda\x01\n\x0fStorageSettings\x12\x32\n\x12tablet_commit_log0\x18\x01 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x32\n\x12tablet_commit_log1\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x04 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x35\n\x14store_external_blobs\x18\x05 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"\x84\x02\n\x0c\x43olumnFamily\x12\x0c\n\x04name\x18\x01 \x01(\t\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x38\n\x0b\x63ompression\x18\x03 \x01(\x0e\x32#.Ydb.Table.ColumnFamily.Compression\x12/\n\x0ekeep_in_memory\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"U\n\x0b\x43ompression\x12\x1b\n\x17\x43OMPRESSION_UNSPECIFIED\x10\x00\x12\x14\n\x10\x43OMPRESSION_NONE\x10\x01\x12\x13\n\x0f\x43OMPRESSION_LZ4\x10\x02\"\xf7\x01\n\x14PartitioningSettings\x12\x14\n\x0cpartition_by\x18\x01 \x03(\t\x12\x35\n\x14partitioning_by_size\x18\x02 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x19\n\x11partition_size_mb\x18\x03 \x01(\x04\x12\x35\n\x14partitioning_by_load\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x1c\n\x14min_partitions_count\x18\x06 \x01(\x04\x12\x1c\n\x14max_partitions_count\x18\x07 \x01(\x04J\x04\x08\x05\x10\x06\"C\n\x16\x41zReadReplicasSettings\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1b\n\x13read_replicas_count\x18\x02 \x01(\x04\"_\n\x17\x43lusterReplicasSettings\x12\x44\n\x19\x61z_read_replicas_settings\x18\x02 \x03(\x0b\x32!.Ydb.Table.AzReadReplicasSettings\"t\n\x14ReadReplicasSettings\x12$\n\x1aper_az_read_replicas_count\x18\x01 \x01(\x04H\x00\x12$\n\x1a\x61ny_az_read_replicas_count\x18\x02 \x01(\x04H\x00\x42\n\n\x08settingsJ\x04\x08\x03\x10\x04\"\xaa\x07\n\x12\x43reateTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12&\n\x07\x63olumns\x18\x03 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x04 \x03(\t\x12(\n\x07profile\x18\x05 \x01(\x0b\x32\x17.Ydb.Table.TableProfile\x12\x39\n\x10operation_params\x18\x06 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12&\n\x07indexes\x18\x07 \x03(\x0b\x32\x15.Ydb.Table.TableIndex\x12,\n\x0cttl_settings\x18\x08 \x01(\x0b\x32\x16.Ydb.Table.TtlSettings\x12\x34\n\x10storage_settings\x18\t \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x30\n\x0f\x63olumn_families\x18\n \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12Z\n\nattributes\x18\x0b \x03(\x0b\x32-.Ydb.Table.CreateTableRequest.AttributesEntryB\x17\xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\xa2\xe6*\x07\n\x05\x08\x01\x10\x80 \x12\x19\n\x11\x63ompaction_policy\x18\x0c \x01(\t\x12\x1c\n\x12uniform_partitions\x18\r \x01(\x04H\x00\x12:\n\x11partition_at_keys\x18\x0e \x01(\x0b\x32\x1d.Ydb.Table.ExplicitPartitionsH\x00\x12>\n\x15partitioning_settings\x18\x0f \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x31\n\x10key_bloom_filter\x18\x10 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12?\n\x16read_replicas_settings\x18\x11 \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12\x0f\n\x07tiering\x18\x12 \x01(\t\x12\x11\n\ttemporary\x18\x13 \x01(\x08\x12(\n\nstore_type\x18\x14 \x01(\x0e\x32\x14.Ydb.Table.StoreType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\npartitions\"C\n\x13\x43reateTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"u\n\x10\x44ropTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParamsJ\x04\x08\x03\x10\x04\"A\n\x11\x44ropTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"]\n\x0fRenameIndexItem\x12\x13\n\x0bsource_name\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_name\x18\x02 \x01(\t\x12\x1b\n\x13replace_destination\x18\x03 \x01(\x08\"\x95\t\n\x11\x41lterTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12*\n\x0b\x61\x64\x64_columns\x18\x03 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x14\n\x0c\x64rop_columns\x18\x04 \x03(\t\x12\x39\n\x10operation_params\x18\x05 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12,\n\ralter_columns\x18\x06 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x32\n\x10set_ttl_settings\x18\x07 \x01(\x0b\x32\x16.Ydb.Table.TtlSettingsH\x00\x12\x33\n\x11\x64rop_ttl_settings\x18\x08 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12*\n\x0b\x61\x64\x64_indexes\x18\t \x03(\x0b\x32\x15.Ydb.Table.TableIndex\x12\x14\n\x0c\x64rop_indexes\x18\n \x03(\t\x12:\n\x16\x61lter_storage_settings\x18\x0b \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x34\n\x13\x61\x64\x64_column_families\x18\x0c \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12\x36\n\x15\x61lter_column_families\x18\r \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12`\n\x10\x61lter_attributes\x18\x0e \x03(\x0b\x32\x31.Ydb.Table.AlterTableRequest.AlterAttributesEntryB\x13\xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\xa2\xe6*\x03\x18\x80 \x12\x1d\n\x15set_compaction_policy\x18\x0f \x01(\t\x12\x44\n\x1b\x61lter_partitioning_settings\x18\x10 \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x35\n\x14set_key_bloom_filter\x18\x11 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x43\n\x1aset_read_replicas_settings\x18\x12 \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12.\n\x0f\x61\x64\x64_changefeeds\x18\x13 \x03(\x0b\x32\x15.Ydb.Table.Changefeed\x12\x18\n\x10\x64rop_changefeeds\x18\x14 \x03(\t\x12\x32\n\x0erename_indexes\x18\x15 \x03(\x0b\x32\x1a.Ydb.Table.RenameIndexItem\x12\x15\n\x0bset_tiering\x18\x16 \x01(\tH\x01\x12.\n\x0c\x64rop_tiering\x18\x17 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\nttl_actionB\x10\n\x0etiering_action\"B\n\x12\x41lterTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x90\x01\n\x10\x43opyTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x13\n\x0bsource_path\x18\x02 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x03 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"A\n\x11\x43opyTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"T\n\rCopyTableItem\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12\x14\n\x0comit_indexes\x18\x03 \x01(\x08\"\x8c\x01\n\x11\x43opyTablesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12(\n\x06tables\x18\x03 \x03(\x0b\x32\x18.Ydb.Table.CopyTableItem\"B\n\x12\x43opyTablesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"]\n\x0fRenameTableItem\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12\x1b\n\x13replace_destination\x18\x03 \x01(\x08\"\x90\x01\n\x13RenameTablesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12*\n\x06tables\x18\x03 \x03(\x0b\x32\x1a.Ydb.Table.RenameTableItem\"D\n\x14RenameTablesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x8e\x02\n\x14\x44\x65scribeTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12 \n\x18include_shard_key_bounds\x18\x05 \x01(\x08\x12\x1b\n\x13include_table_stats\x18\x06 \x01(\x08\x12\x1f\n\x17include_partition_stats\x18\x07 \x01(\x08\x12\x17\n\x0finclude_set_val\x18\x08 \x01(\x08\x12 \n\x18include_shard_nodes_info\x18\t \x01(\x08\"E\n\x15\x44\x65scribeTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xc9\x06\n\x13\x44\x65scribeTableResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12&\n\x07\x63olumns\x18\x02 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x03 \x03(\t\x12)\n\x10shard_key_bounds\x18\x04 \x03(\x0b\x32\x0f.Ydb.TypedValue\x12\x31\n\x07indexes\x18\x05 \x03(\x0b\x32 .Ydb.Table.TableIndexDescription\x12*\n\x0btable_stats\x18\x06 \x01(\x0b\x32\x15.Ydb.Table.TableStats\x12,\n\x0cttl_settings\x18\x07 \x01(\x0b\x32\x16.Ydb.Table.TtlSettings\x12\x34\n\x10storage_settings\x18\x08 \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x30\n\x0f\x63olumn_families\x18\t \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12\x42\n\nattributes\x18\n \x03(\x0b\x32..Ydb.Table.DescribeTableResult.AttributesEntry\x12>\n\x15partitioning_settings\x18\x0c \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x31\n\x10key_bloom_filter\x18\r \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12?\n\x16read_replicas_settings\x18\x0e \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12\x35\n\x0b\x63hangefeeds\x18\x0f \x03(\x0b\x32 .Ydb.Table.ChangefeedDescription\x12\x0f\n\x07tiering\x18\x10 \x01(\t\x12\x11\n\ttemporary\x18\x11 \x01(\x08\x12(\n\nstore_type\x18\x12 \x01(\x0e\x32\x14.Ydb.Table.StoreType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x0b\x10\x0c\"2\n\x05Query\x12\x12\n\x08yql_text\x18\x01 \x01(\tH\x00\x12\x0c\n\x02id\x18\x02 \x01(\tH\x00\x42\x07\n\x05query\"\x1a\n\x18SerializableModeSettings\"6\n\x12OnlineModeSettings\x12 \n\x18\x61llow_inconsistent_reads\x18\x01 \x01(\x08\"\x13\n\x11StaleModeSettings\"\x16\n\x14SnapshotModeSettings\"\x18\n\x16SnapshotRWModeSettings\"\xdd\x02\n\x13TransactionSettings\x12\x46\n\x17serializable_read_write\x18\x01 \x01(\x0b\x32#.Ydb.Table.SerializableModeSettingsH\x00\x12\x39\n\x10online_read_only\x18\x02 \x01(\x0b\x32\x1d.Ydb.Table.OnlineModeSettingsH\x00\x12\x37\n\x0fstale_read_only\x18\x03 \x01(\x0b\x32\x1c.Ydb.Table.StaleModeSettingsH\x00\x12=\n\x12snapshot_read_only\x18\x04 \x01(\x0b\x32\x1f.Ydb.Table.SnapshotModeSettingsH\x00\x12@\n\x13snapshot_read_write\x18\x05 \x01(\x0b\x32!.Ydb.Table.SnapshotRWModeSettingsH\x00\x42\t\n\x07tx_mode\"{\n\x12TransactionControl\x12\x0f\n\x05tx_id\x18\x01 \x01(\tH\x00\x12\x32\n\x08\x62\x65gin_tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Table.TransactionSettingsH\x00\x12\x11\n\tcommit_tx\x18\n \x01(\x08\x42\r\n\x0btx_selector\")\n\x10QueryCachePolicy\x12\x15\n\rkeep_in_cache\x18\x01 \x01(\x08\"\xb1\x01\n\x14QueryStatsCollection\"\x98\x01\n\x04Mode\x12 \n\x1cSTATS_COLLECTION_UNSPECIFIED\x10\x00\x12\x19\n\x15STATS_COLLECTION_NONE\x10\x01\x12\x1a\n\x16STATS_COLLECTION_BASIC\x10\x02\x12\x19\n\x15STATS_COLLECTION_FULL\x10\x03\x12\x1c\n\x18STATS_COLLECTION_PROFILE\x10\x04\"\xbe\x03\n\x17\x45xecuteDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x31\n\ntx_control\x18\x02 \x01(\x0b\x32\x1d.Ydb.Table.TransactionControl\x12\x1f\n\x05query\x18\x03 \x01(\x0b\x32\x10.Ydb.Table.Query\x12\x46\n\nparameters\x18\x04 \x03(\x0b\x32\x32.Ydb.Table.ExecuteDataQueryRequest.ParametersEntry\x12\x37\n\x12query_cache_policy\x18\x05 \x01(\x0b\x32\x1b.Ydb.Table.QueryCachePolicy\x12\x39\n\x10operation_params\x18\x06 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12;\n\rcollect_stats\x18\x07 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"H\n\x18\x45xecuteDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"|\n\x19\x45xecuteSchemeQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"J\n\x1a\x45xecuteSchemeQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x1d\n\x0fTransactionMeta\x12\n\n\x02id\x18\x01 \x01(\t\"\x9f\x01\n\tQueryMeta\x12\n\n\x02id\x18\x01 \x01(\t\x12\x43\n\x10parameters_types\x18\x02 \x03(\x0b\x32).Ydb.Table.QueryMeta.ParametersTypesEntry\x1a\x41\n\x14ParametersTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.Ydb.Type:\x02\x38\x01\"\xc1\x01\n\x12\x45xecuteQueryResult\x12#\n\x0bresult_sets\x18\x01 \x03(\x0b\x32\x0e.Ydb.ResultSet\x12+\n\x07tx_meta\x18\x02 \x01(\x0b\x32\x1a.Ydb.Table.TransactionMeta\x12(\n\nquery_meta\x18\x03 \x01(\x0b\x32\x14.Ydb.Table.QueryMeta\x12/\n\x0bquery_stats\x18\x04 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"\x9c\x01\n\x17\x45xplainDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12 \n\x18\x63ollect_full_diagnostics\x18\x04 \x01(\x08\"H\n\x18\x45xplainDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"[\n\x12\x45xplainQueryResult\x12\x11\n\tquery_ast\x18\x01 \x01(\t\x12\x12\n\nquery_plan\x18\x02 \x01(\t\x12\x1e\n\x16query_full_diagnostics\x18\x03 \x01(\t\"z\n\x17PrepareDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"H\n\x18PrepareDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb7\x01\n\x12PrepareQueryResult\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12L\n\x10parameters_types\x18\x02 \x03(\x0b\x32\x32.Ydb.Table.PrepareQueryResult.ParametersTypesEntry\x1a\x41\n\x14ParametersTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.Ydb.Type:\x02\x38\x01\"a\n\x10KeepAliveRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x39\n\x10operation_params\x18\x02 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"A\n\x11KeepAliveResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb7\x01\n\x0fKeepAliveResult\x12@\n\x0esession_status\x18\x01 \x01(\x0e\x32(.Ydb.Table.KeepAliveResult.SessionStatus\"b\n\rSessionStatus\x12\x1e\n\x1aSESSION_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14SESSION_STATUS_READY\x10\x01\x12\x17\n\x13SESSION_STATUS_BUSY\x10\x02\"\x9d\x01\n\x17\x42\x65ginTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x33\n\x0btx_settings\x18\x02 \x01(\x0b\x32\x1e.Ydb.Table.TransactionSettings\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"H\n\x18\x42\x65ginTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"E\n\x16\x42\x65ginTransactionResult\x12+\n\x07tx_meta\x18\x01 \x01(\x0b\x32\x1a.Ydb.Table.TransactionMeta\"\xb5\x01\n\x18\x43ommitTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\r\n\x05tx_id\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12;\n\rcollect_stats\x18\x04 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\"I\n\x19\x43ommitTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"J\n\x17\x43ommitTransactionResult\x12/\n\x0bquery_stats\x18\x01 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"z\n\x1aRollbackTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\r\n\x05tx_id\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"K\n\x1bRollbackTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x98\x01\n\x18StoragePolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x06labels\x18\x02 \x03(\x0b\x32/.Ydb.Table.StoragePolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9e\x01\n\x1b\x43ompactionPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x42\n\x06labels\x18\x02 \x03(\x0b\x32\x32.Ydb.Table.CompactionPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa2\x01\n\x1dPartitioningPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x06labels\x18\x02 \x03(\x0b\x32\x34.Ydb.Table.PartitioningPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9c\x01\n\x1a\x45xecutionPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x41\n\x06labels\x18\x02 \x03(\x0b\x32\x31.Ydb.Table.ExecutionPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa0\x01\n\x1cReplicationPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x43\n\x06labels\x18\x02 \x03(\x0b\x32\x33.Ydb.Table.ReplicationPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x98\x01\n\x18\x43\x61\x63hingPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x06labels\x18\x02 \x03(\x0b\x32/.Ydb.Table.CachingPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbe\x04\n\x17TableProfileDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12>\n\x06labels\x18\x02 \x03(\x0b\x32..Ydb.Table.TableProfileDescription.LabelsEntry\x12\x1e\n\x16\x64\x65\x66\x61ult_storage_policy\x18\x03 \x01(\t\x12 \n\x18\x61llowed_storage_policies\x18\x04 \x03(\t\x12!\n\x19\x64\x65\x66\x61ult_compaction_policy\x18\x05 \x01(\t\x12#\n\x1b\x61llowed_compaction_policies\x18\x06 \x03(\t\x12#\n\x1b\x64\x65\x66\x61ult_partitioning_policy\x18\x07 \x01(\t\x12%\n\x1d\x61llowed_partitioning_policies\x18\x08 \x03(\t\x12 \n\x18\x64\x65\x66\x61ult_execution_policy\x18\t \x01(\t\x12\"\n\x1a\x61llowed_execution_policies\x18\n \x03(\t\x12\"\n\x1a\x64\x65\x66\x61ult_replication_policy\x18\x0b \x01(\t\x12$\n\x1c\x61llowed_replication_policies\x18\x0c \x03(\t\x12\x1e\n\x16\x64\x65\x66\x61ult_caching_policy\x18\r \x01(\t\x12 \n\x18\x61llowed_caching_policies\x18\x0e \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"X\n\x1b\x44\x65scribeTableOptionsRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"L\n\x1c\x44\x65scribeTableOptionsResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x99\x04\n\x1a\x44\x65scribeTableOptionsResult\x12\x41\n\x15table_profile_presets\x18\x01 \x03(\x0b\x32\".Ydb.Table.TableProfileDescription\x12\x43\n\x16storage_policy_presets\x18\x02 \x03(\x0b\x32#.Ydb.Table.StoragePolicyDescription\x12I\n\x19\x63ompaction_policy_presets\x18\x03 \x03(\x0b\x32&.Ydb.Table.CompactionPolicyDescription\x12M\n\x1bpartitioning_policy_presets\x18\x04 \x03(\x0b\x32(.Ydb.Table.PartitioningPolicyDescription\x12G\n\x18\x65xecution_policy_presets\x18\x05 \x03(\x0b\x32%.Ydb.Table.ExecutionPolicyDescription\x12K\n\x1areplication_policy_presets\x18\x06 \x03(\x0b\x32\'.Ydb.Table.ReplicationPolicyDescription\x12\x43\n\x16\x63\x61\x63hing_policy_presets\x18\x07 \x03(\x0b\x32#.Ydb.Table.CachingPolicyDescription\"\xc0\x01\n\x08KeyRange\x12\"\n\x07greater\x18\x01 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12+\n\x10greater_or_equal\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12\x1f\n\x04less\x18\x03 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x01\x12(\n\rless_or_equal\x18\x04 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x01\x42\x0c\n\nfrom_boundB\n\n\x08to_bound\"\xb8\x02\n\x10ReadTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12&\n\tkey_range\x18\x03 \x01(\x0b\x32\x13.Ydb.Table.KeyRange\x12\x0f\n\x07\x63olumns\x18\x04 \x03(\t\x12\x0f\n\x07ordered\x18\x05 \x01(\x08\x12\x11\n\trow_limit\x18\x06 \x01(\x04\x12-\n\x0cuse_snapshot\x18\x07 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x19\n\x11\x62\x61tch_limit_bytes\x18\x08 \x01(\x04\x12\x18\n\x10\x62\x61tch_limit_rows\x18\t \x01(\x04\x12\x41\n return_not_null_data_as_optional\x18\n \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"\xbc\x01\n\x11ReadTableResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\'\n\x08snapshot\x18\x04 \x01(\x0b\x32\x15.Ydb.VirtualTimestamp\x12*\n\x06result\x18\x03 \x01(\x0b\x32\x1a.Ydb.Table.ReadTableResult\"5\n\x0fReadTableResult\x12\"\n\nresult_set\x18\x01 \x01(\x0b\x32\x0e.Ydb.ResultSet\"c\n\x0fReadRowsRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x1d\n\x04keys\x18\x03 \x01(\x0b\x32\x0f.Ydb.TypedValue\x12\x0f\n\x07\x63olumns\x18\x04 \x03(\t\"\x8a\x01\n\x10ReadRowsResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\nresult_set\x18\x03 \x01(\x0b\x32\x0e.Ydb.ResultSet\"\x8d\x02\n\x11\x42ulkUpsertRequest\x12\r\n\x05table\x18\x01 \x01(\t\x12\x1d\n\x04rows\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12?\n\x14\x61rrow_batch_settings\x18\x07 \x01(\x0b\x32\x1f.Ydb.Formats.ArrowBatchSettingsH\x00\x12\x30\n\x0c\x63sv_settings\x18\x08 \x01(\x0b\x32\x18.Ydb.Formats.CsvSettingsH\x00\x12\r\n\x04\x64\x61ta\x18\xe8\x07 \x01(\x0c\x42\r\n\x0b\x64\x61ta_format\"B\n\x12\x42ulkUpsertResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x12\n\x10\x42ulkUpsertResult\"\xb7\x03\n\x17\x45xecuteScanQueryRequest\x12\x1f\n\x05query\x18\x03 \x01(\x0b\x32\x10.Ydb.Table.Query\x12\x46\n\nparameters\x18\x04 \x03(\x0b\x32\x32.Ydb.Table.ExecuteScanQueryRequest.ParametersEntry\x12\x35\n\x04mode\x18\x06 \x01(\x0e\x32\'.Ydb.Table.ExecuteScanQueryRequest.Mode\x12;\n\rcollect_stats\x18\x08 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\x12$\n\x18\x63ollect_full_diagnostics\x18\t \x01(\x08\x42\x02\x18\x01\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"=\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cMODE_EXPLAIN\x10\x01\x12\r\n\tMODE_EXEC\x10\x03J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x05\x10\x06J\x04\x08\x07\x10\x08\"\xaf\x01\n\x1f\x45xecuteScanQueryPartialResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x38\n\x06result\x18\x03 \x01(\x0b\x32(.Ydb.Table.ExecuteScanQueryPartialResult\"\xd9\x01\n\x1d\x45xecuteScanQueryPartialResult\x12\"\n\nresult_set\x18\x01 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12/\n\x0bquery_stats\x18\x06 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\x12\"\n\x16query_full_diagnostics\x18\x07 \x01(\tB\x02\x18\x01\x12\'\n\x08snapshot\x18\x08 \x01(\x0b\x32\x15.Ydb.VirtualTimestampJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\"l\n!DescribeExternalDataSourceRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"R\n\"DescribeExternalDataSourceResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x95\x02\n DescribeExternalDataSourceResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12\x18\n\x0bsource_type\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08location\x18\x03 \x01(\tH\x01\x88\x01\x01\x12O\n\nproperties\x18\x04 \x03(\x0b\x32;.Ydb.Table.DescribeExternalDataSourceResult.PropertiesEntry\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0c_source_typeB\x0b\n\t_location\"g\n\x1c\x44\x65scribeExternalTableRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"M\n\x1d\x44\x65scribeExternalTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xde\x02\n\x1b\x44\x65scribeExternalTableResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12\x18\n\x0bsource_type\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x1d\n\x10\x64\x61ta_source_path\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x15\n\x08location\x18\x04 \x01(\tH\x02\x88\x01\x01\x12&\n\x07\x63olumns\x18\x05 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x44\n\x07\x63ontent\x18\x06 \x03(\x0b\x32\x33.Ydb.Table.DescribeExternalTableResult.ContentEntry\x1a.\n\x0c\x43ontentEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0c_source_typeB\x13\n\x11_data_source_pathB\x0b\n\t_location\"d\n\x19\x44\x65scribeSystemViewRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"J\n\x1a\x44\x65scribeSystemViewResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xa0\x02\n\x18\x44\x65scribeSystemViewResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12\x13\n\x0bsys_view_id\x18\x02 \x01(\x04\x12\x15\n\rsys_view_name\x18\x03 \x01(\t\x12&\n\x07\x63olumns\x18\x04 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x05 \x03(\t\x12G\n\nattributes\x18\x06 \x03(\x0b\x32\x33.Ydb.Table.DescribeSystemViewResult.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01*R\n\tStoreType\x12\x1a\n\x16STORE_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eSTORE_TYPE_ROW\x10\x01\x12\x15\n\x11STORE_TYPE_COLUMN\x10\x02\x42S\n\x14tech.ydb.proto.tableZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Table\xf8\x01\x01\x62\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protos.ydb_table_pb2', globals()) @@ -75,8 +75,18 @@ _TABLEPROFILEDESCRIPTION_LABELSENTRY._serialized_options = b'8\001' _EXECUTESCANQUERYREQUEST_PARAMETERSENTRY._options = None _EXECUTESCANQUERYREQUEST_PARAMETERSENTRY._serialized_options = b'8\001' - _STORETYPE._serialized_start=20382 - _STORETYPE._serialized_end=20464 + _EXECUTESCANQUERYREQUEST.fields_by_name['collect_full_diagnostics']._options = None + _EXECUTESCANQUERYREQUEST.fields_by_name['collect_full_diagnostics']._serialized_options = b'\030\001' + _EXECUTESCANQUERYPARTIALRESULT.fields_by_name['query_full_diagnostics']._options = None + _EXECUTESCANQUERYPARTIALRESULT.fields_by_name['query_full_diagnostics']._serialized_options = b'\030\001' + _DESCRIBEEXTERNALDATASOURCERESULT_PROPERTIESENTRY._options = None + _DESCRIBEEXTERNALDATASOURCERESULT_PROPERTIESENTRY._serialized_options = b'8\001' + _DESCRIBEEXTERNALTABLERESULT_CONTENTENTRY._options = None + _DESCRIBEEXTERNALTABLERESULT_CONTENTENTRY._serialized_options = b'8\001' + _DESCRIBESYSTEMVIEWRESULT_ATTRIBUTESENTRY._options = None + _DESCRIBESYSTEMVIEWRESULT_ATTRIBUTESENTRY._serialized_options = b'8\001' + _STORETYPE._serialized_start=22138 + _STORETYPE._serialized_end=22220 _CREATESESSIONREQUEST._serialized_start=413 _CREATESESSIONREQUEST._serialized_end=494 _CREATESESSIONRESPONSE._serialized_start=496 @@ -116,251 +126,277 @@ _CHANGEFEEDFORMAT_FORMAT._serialized_start=2125 _CHANGEFEEDFORMAT_FORMAT._serialized_end=2234 _CHANGEFEED._serialized_start=2237 - _CHANGEFEED._serialized_end=2763 - _CHANGEFEED_ATTRIBUTESENTRY._serialized_start=2714 - _CHANGEFEED_ATTRIBUTESENTRY._serialized_end=2763 - _CHANGEFEEDDESCRIPTION._serialized_start=2766 - _CHANGEFEEDDESCRIPTION._serialized_end=3285 - _CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY._serialized_start=2714 - _CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY._serialized_end=2763 - _CHANGEFEEDDESCRIPTION_STATE._serialized_start=3192 - _CHANGEFEEDDESCRIPTION_STATE._serialized_end=3285 - _STORAGEPOOL._serialized_start=3287 - _STORAGEPOOL._serialized_end=3315 - _STORAGEPOLICY._serialized_start=3318 - _STORAGEPOLICY._serialized_end=3616 - _COLUMNFAMILYPOLICY._serialized_start=3619 - _COLUMNFAMILYPOLICY._serialized_end=3924 - _COLUMNFAMILYPOLICY_COMPRESSION._serialized_start=3848 - _COLUMNFAMILYPOLICY_COMPRESSION._serialized_end=3924 - _COMPACTIONPOLICY._serialized_start=3926 - _COMPACTIONPOLICY._serialized_end=3965 - _EXPLICITPARTITIONS._serialized_start=3967 - _EXPLICITPARTITIONS._serialized_end=4026 - _PARTITIONSTATS._serialized_start=4028 - _PARTITIONSTATS._serialized_end=4111 - _TABLESTATS._serialized_start=4114 - _TABLESTATS._serialized_end=4347 - _PARTITIONINGPOLICY._serialized_start=4350 - _PARTITIONINGPOLICY._serialized_end=4698 - _PARTITIONINGPOLICY_AUTOPARTITIONINGPOLICY._serialized_start=4566 - _PARTITIONINGPOLICY_AUTOPARTITIONINGPOLICY._serialized_end=4684 - _EXECUTIONPOLICY._serialized_start=4700 - _EXECUTIONPOLICY._serialized_end=4738 - _REPLICATIONPOLICY._serialized_start=4741 - _REPLICATIONPOLICY._serialized_end=4918 - _CACHINGPOLICY._serialized_start=4920 - _CACHINGPOLICY._serialized_end=4956 - _TABLEPROFILE._serialized_start=4959 - _TABLEPROFILE._serialized_end=5322 - _SEQUENCEDESCRIPTION._serialized_start=5325 - _SEQUENCEDESCRIPTION._serialized_end=5751 - _SEQUENCEDESCRIPTION_SETVAL._serialized_start=5566 - _SEQUENCEDESCRIPTION_SETVAL._serialized_end=5652 - _COLUMNMETA._serialized_start=5754 - _COLUMNMETA._serialized_end=5972 - _DATETYPECOLUMNMODESETTINGS._serialized_start=5974 - _DATETYPECOLUMNMODESETTINGS._serialized_end=6053 - _VALUESINCEUNIXEPOCHMODESETTINGS._serialized_start=6056 - _VALUESINCEUNIXEPOCHMODESETTINGS._serialized_end=6326 - _VALUESINCEUNIXEPOCHMODESETTINGS_UNIT._serialized_start=6212 - _VALUESINCEUNIXEPOCHMODESETTINGS_UNIT._serialized_end=6326 - _TTLSETTINGS._serialized_start=6329 - _TTLSETTINGS._serialized_end=6525 - _STORAGESETTINGS._serialized_start=6528 - _STORAGESETTINGS._serialized_end=6746 - _COLUMNFAMILY._serialized_start=6749 - _COLUMNFAMILY._serialized_end=7009 - _COLUMNFAMILY_COMPRESSION._serialized_start=6924 - _COLUMNFAMILY_COMPRESSION._serialized_end=7009 - _PARTITIONINGSETTINGS._serialized_start=7012 - _PARTITIONINGSETTINGS._serialized_end=7259 - _AZREADREPLICASSETTINGS._serialized_start=7261 - _AZREADREPLICASSETTINGS._serialized_end=7328 - _CLUSTERREPLICASSETTINGS._serialized_start=7330 - _CLUSTERREPLICASSETTINGS._serialized_end=7425 - _READREPLICASSETTINGS._serialized_start=7427 - _READREPLICASSETTINGS._serialized_end=7543 - _CREATETABLEREQUEST._serialized_start=7546 - _CREATETABLEREQUEST._serialized_end=8484 - _CREATETABLEREQUEST_ATTRIBUTESENTRY._serialized_start=2714 - _CREATETABLEREQUEST_ATTRIBUTESENTRY._serialized_end=2763 - _CREATETABLERESPONSE._serialized_start=8486 - _CREATETABLERESPONSE._serialized_end=8553 - _DROPTABLEREQUEST._serialized_start=8555 - _DROPTABLEREQUEST._serialized_end=8672 - _DROPTABLERESPONSE._serialized_start=8674 - _DROPTABLERESPONSE._serialized_end=8739 - _RENAMEINDEXITEM._serialized_start=8741 - _RENAMEINDEXITEM._serialized_end=8834 - _ALTERTABLEREQUEST._serialized_start=8837 - _ALTERTABLEREQUEST._serialized_end=10010 - _ALTERTABLEREQUEST_ALTERATTRIBUTESENTRY._serialized_start=9924 - _ALTERTABLEREQUEST_ALTERATTRIBUTESENTRY._serialized_end=9978 - _ALTERTABLERESPONSE._serialized_start=10012 - _ALTERTABLERESPONSE._serialized_end=10078 - _COPYTABLEREQUEST._serialized_start=10081 - _COPYTABLEREQUEST._serialized_end=10225 - _COPYTABLERESPONSE._serialized_start=10227 - _COPYTABLERESPONSE._serialized_end=10292 - _COPYTABLEITEM._serialized_start=10294 - _COPYTABLEITEM._serialized_end=10378 - _COPYTABLESREQUEST._serialized_start=10381 - _COPYTABLESREQUEST._serialized_end=10521 - _COPYTABLESRESPONSE._serialized_start=10523 - _COPYTABLESRESPONSE._serialized_end=10589 - _RENAMETABLEITEM._serialized_start=10591 - _RENAMETABLEITEM._serialized_end=10684 - _RENAMETABLESREQUEST._serialized_start=10687 - _RENAMETABLESREQUEST._serialized_end=10831 - _RENAMETABLESRESPONSE._serialized_start=10833 - _RENAMETABLESRESPONSE._serialized_end=10901 - _DESCRIBETABLEREQUEST._serialized_start=10904 - _DESCRIBETABLEREQUEST._serialized_end=11149 - _DESCRIBETABLERESPONSE._serialized_start=11151 - _DESCRIBETABLERESPONSE._serialized_end=11220 - _DESCRIBETABLERESULT._serialized_start=11223 - _DESCRIBETABLERESULT._serialized_end=12064 - _DESCRIBETABLERESULT_ATTRIBUTESENTRY._serialized_start=2714 - _DESCRIBETABLERESULT_ATTRIBUTESENTRY._serialized_end=2763 - _QUERY._serialized_start=12066 - _QUERY._serialized_end=12116 - _SERIALIZABLEMODESETTINGS._serialized_start=12118 - _SERIALIZABLEMODESETTINGS._serialized_end=12144 - _ONLINEMODESETTINGS._serialized_start=12146 - _ONLINEMODESETTINGS._serialized_end=12200 - _STALEMODESETTINGS._serialized_start=12202 - _STALEMODESETTINGS._serialized_end=12221 - _SNAPSHOTMODESETTINGS._serialized_start=12223 - _SNAPSHOTMODESETTINGS._serialized_end=12245 - _SNAPSHOTRWMODESETTINGS._serialized_start=12247 - _SNAPSHOTRWMODESETTINGS._serialized_end=12271 - _TRANSACTIONSETTINGS._serialized_start=12274 - _TRANSACTIONSETTINGS._serialized_end=12623 - _TRANSACTIONCONTROL._serialized_start=12625 - _TRANSACTIONCONTROL._serialized_end=12748 - _QUERYCACHEPOLICY._serialized_start=12750 - _QUERYCACHEPOLICY._serialized_end=12791 - _QUERYSTATSCOLLECTION._serialized_start=12794 - _QUERYSTATSCOLLECTION._serialized_end=12971 - _QUERYSTATSCOLLECTION_MODE._serialized_start=12819 - _QUERYSTATSCOLLECTION_MODE._serialized_end=12971 - _EXECUTEDATAQUERYREQUEST._serialized_start=12974 - _EXECUTEDATAQUERYREQUEST._serialized_end=13420 - _EXECUTEDATAQUERYREQUEST_PARAMETERSENTRY._serialized_start=13354 - _EXECUTEDATAQUERYREQUEST_PARAMETERSENTRY._serialized_end=13420 - _EXECUTEDATAQUERYRESPONSE._serialized_start=13422 - _EXECUTEDATAQUERYRESPONSE._serialized_end=13494 - _EXECUTESCHEMEQUERYREQUEST._serialized_start=13496 - _EXECUTESCHEMEQUERYREQUEST._serialized_end=13620 - _EXECUTESCHEMEQUERYRESPONSE._serialized_start=13622 - _EXECUTESCHEMEQUERYRESPONSE._serialized_end=13696 - _TRANSACTIONMETA._serialized_start=13698 - _TRANSACTIONMETA._serialized_end=13727 - _QUERYMETA._serialized_start=13730 - _QUERYMETA._serialized_end=13889 - _QUERYMETA_PARAMETERSTYPESENTRY._serialized_start=13824 - _QUERYMETA_PARAMETERSTYPESENTRY._serialized_end=13889 - _EXECUTEQUERYRESULT._serialized_start=13892 - _EXECUTEQUERYRESULT._serialized_end=14085 - _EXPLAINDATAQUERYREQUEST._serialized_start=14088 - _EXPLAINDATAQUERYREQUEST._serialized_end=14244 - _EXPLAINDATAQUERYRESPONSE._serialized_start=14246 - _EXPLAINDATAQUERYRESPONSE._serialized_end=14318 - _EXPLAINQUERYRESULT._serialized_start=14320 - _EXPLAINQUERYRESULT._serialized_end=14411 - _PREPAREDATAQUERYREQUEST._serialized_start=14413 - _PREPAREDATAQUERYREQUEST._serialized_end=14535 - _PREPAREDATAQUERYRESPONSE._serialized_start=14537 - _PREPAREDATAQUERYRESPONSE._serialized_end=14609 - _PREPAREQUERYRESULT._serialized_start=14612 - _PREPAREQUERYRESULT._serialized_end=14795 - _PREPAREQUERYRESULT_PARAMETERSTYPESENTRY._serialized_start=13824 - _PREPAREQUERYRESULT_PARAMETERSTYPESENTRY._serialized_end=13889 - _KEEPALIVEREQUEST._serialized_start=14797 - _KEEPALIVEREQUEST._serialized_end=14894 - _KEEPALIVERESPONSE._serialized_start=14896 - _KEEPALIVERESPONSE._serialized_end=14961 - _KEEPALIVERESULT._serialized_start=14964 - _KEEPALIVERESULT._serialized_end=15147 - _KEEPALIVERESULT_SESSIONSTATUS._serialized_start=15049 - _KEEPALIVERESULT_SESSIONSTATUS._serialized_end=15147 - _BEGINTRANSACTIONREQUEST._serialized_start=15150 - _BEGINTRANSACTIONREQUEST._serialized_end=15307 - _BEGINTRANSACTIONRESPONSE._serialized_start=15309 - _BEGINTRANSACTIONRESPONSE._serialized_end=15381 - _BEGINTRANSACTIONRESULT._serialized_start=15383 - _BEGINTRANSACTIONRESULT._serialized_end=15452 - _COMMITTRANSACTIONREQUEST._serialized_start=15455 - _COMMITTRANSACTIONREQUEST._serialized_end=15636 - _COMMITTRANSACTIONRESPONSE._serialized_start=15638 - _COMMITTRANSACTIONRESPONSE._serialized_end=15711 - _COMMITTRANSACTIONRESULT._serialized_start=15713 - _COMMITTRANSACTIONRESULT._serialized_end=15787 - _ROLLBACKTRANSACTIONREQUEST._serialized_start=15789 - _ROLLBACKTRANSACTIONREQUEST._serialized_end=15911 - _ROLLBACKTRANSACTIONRESPONSE._serialized_start=15913 - _ROLLBACKTRANSACTIONRESPONSE._serialized_end=15988 - _STORAGEPOLICYDESCRIPTION._serialized_start=15991 - _STORAGEPOLICYDESCRIPTION._serialized_end=16143 - _STORAGEPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16098 - _STORAGEPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16143 - _COMPACTIONPOLICYDESCRIPTION._serialized_start=16146 - _COMPACTIONPOLICYDESCRIPTION._serialized_end=16304 - _COMPACTIONPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16098 - _COMPACTIONPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16143 - _PARTITIONINGPOLICYDESCRIPTION._serialized_start=16307 - _PARTITIONINGPOLICYDESCRIPTION._serialized_end=16469 - _PARTITIONINGPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16098 - _PARTITIONINGPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16143 - _EXECUTIONPOLICYDESCRIPTION._serialized_start=16472 - _EXECUTIONPOLICYDESCRIPTION._serialized_end=16628 - _EXECUTIONPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16098 - _EXECUTIONPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16143 - _REPLICATIONPOLICYDESCRIPTION._serialized_start=16631 - _REPLICATIONPOLICYDESCRIPTION._serialized_end=16791 - _REPLICATIONPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16098 - _REPLICATIONPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16143 - _CACHINGPOLICYDESCRIPTION._serialized_start=16794 - _CACHINGPOLICYDESCRIPTION._serialized_end=16946 - _CACHINGPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16098 - _CACHINGPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16143 - _TABLEPROFILEDESCRIPTION._serialized_start=16949 - _TABLEPROFILEDESCRIPTION._serialized_end=17523 - _TABLEPROFILEDESCRIPTION_LABELSENTRY._serialized_start=16098 - _TABLEPROFILEDESCRIPTION_LABELSENTRY._serialized_end=16143 - _DESCRIBETABLEOPTIONSREQUEST._serialized_start=17525 - _DESCRIBETABLEOPTIONSREQUEST._serialized_end=17613 - _DESCRIBETABLEOPTIONSRESPONSE._serialized_start=17615 - _DESCRIBETABLEOPTIONSRESPONSE._serialized_end=17691 - _DESCRIBETABLEOPTIONSRESULT._serialized_start=17694 - _DESCRIBETABLEOPTIONSRESULT._serialized_end=18231 - _KEYRANGE._serialized_start=18234 - _KEYRANGE._serialized_end=18426 - _READTABLEREQUEST._serialized_start=18429 - _READTABLEREQUEST._serialized_end=18741 - _READTABLERESPONSE._serialized_start=18744 - _READTABLERESPONSE._serialized_end=18932 - _READTABLERESULT._serialized_start=18934 - _READTABLERESULT._serialized_end=18987 - _READROWSREQUEST._serialized_start=18989 - _READROWSREQUEST._serialized_end=19088 - _READROWSRESPONSE._serialized_start=19091 - _READROWSRESPONSE._serialized_end=19229 - _BULKUPSERTREQUEST._serialized_start=19232 - _BULKUPSERTREQUEST._serialized_end=19501 - _BULKUPSERTRESPONSE._serialized_start=19503 - _BULKUPSERTRESPONSE._serialized_end=19569 - _BULKUPSERTRESULT._serialized_start=19571 - _BULKUPSERTRESULT._serialized_end=19589 - _EXECUTESCANQUERYREQUEST._serialized_start=19592 - _EXECUTESCANQUERYREQUEST._serialized_end=20027 - _EXECUTESCANQUERYREQUEST_PARAMETERSENTRY._serialized_start=13354 - _EXECUTESCANQUERYREQUEST_PARAMETERSENTRY._serialized_end=13420 - _EXECUTESCANQUERYREQUEST_MODE._serialized_start=19942 - _EXECUTESCANQUERYREQUEST_MODE._serialized_end=20003 - _EXECUTESCANQUERYPARTIALRESPONSE._serialized_start=20030 - _EXECUTESCANQUERYPARTIALRESPONSE._serialized_end=20205 - _EXECUTESCANQUERYPARTIALRESULT._serialized_start=20208 - _EXECUTESCANQUERYPARTIALRESULT._serialized_end=20380 + _CHANGEFEED._serialized_end=2787 + _CHANGEFEED_ATTRIBUTESENTRY._serialized_start=2738 + _CHANGEFEED_ATTRIBUTESENTRY._serialized_end=2787 + _CHANGEFEEDDESCRIPTION._serialized_start=2790 + _CHANGEFEEDDESCRIPTION._serialized_end=3487 + _CHANGEFEEDDESCRIPTION_INITIALSCANPROGRESS._serialized_start=3274 + _CHANGEFEEDDESCRIPTION_INITIALSCANPROGRESS._serialized_end=3341 + _CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY._serialized_start=2738 + _CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY._serialized_end=2787 + _CHANGEFEEDDESCRIPTION_STATE._serialized_start=3394 + _CHANGEFEEDDESCRIPTION_STATE._serialized_end=3487 + _STORAGEPOOL._serialized_start=3489 + _STORAGEPOOL._serialized_end=3517 + _STORAGEPOLICY._serialized_start=3520 + _STORAGEPOLICY._serialized_end=3818 + _COLUMNFAMILYPOLICY._serialized_start=3821 + _COLUMNFAMILYPOLICY._serialized_end=4126 + _COLUMNFAMILYPOLICY_COMPRESSION._serialized_start=4050 + _COLUMNFAMILYPOLICY_COMPRESSION._serialized_end=4126 + _COMPACTIONPOLICY._serialized_start=4128 + _COMPACTIONPOLICY._serialized_end=4167 + _EXPLICITPARTITIONS._serialized_start=4169 + _EXPLICITPARTITIONS._serialized_end=4228 + _PARTITIONSTATS._serialized_start=4230 + _PARTITIONSTATS._serialized_end=4313 + _TABLESTATS._serialized_start=4316 + _TABLESTATS._serialized_end=4549 + _PARTITIONINGPOLICY._serialized_start=4552 + _PARTITIONINGPOLICY._serialized_end=4900 + _PARTITIONINGPOLICY_AUTOPARTITIONINGPOLICY._serialized_start=4768 + _PARTITIONINGPOLICY_AUTOPARTITIONINGPOLICY._serialized_end=4886 + _EXECUTIONPOLICY._serialized_start=4902 + _EXECUTIONPOLICY._serialized_end=4940 + _REPLICATIONPOLICY._serialized_start=4943 + _REPLICATIONPOLICY._serialized_end=5120 + _CACHINGPOLICY._serialized_start=5122 + _CACHINGPOLICY._serialized_end=5158 + _TABLEPROFILE._serialized_start=5161 + _TABLEPROFILE._serialized_end=5524 + _SEQUENCEDESCRIPTION._serialized_start=5527 + _SEQUENCEDESCRIPTION._serialized_end=5953 + _SEQUENCEDESCRIPTION_SETVAL._serialized_start=5768 + _SEQUENCEDESCRIPTION_SETVAL._serialized_end=5854 + _COLUMNMETA._serialized_start=5956 + _COLUMNMETA._serialized_end=6174 + _DATETYPECOLUMNMODESETTINGS._serialized_start=6176 + _DATETYPECOLUMNMODESETTINGS._serialized_end=6255 + _VALUESINCEUNIXEPOCHMODESETTINGS._serialized_start=6258 + _VALUESINCEUNIXEPOCHMODESETTINGS._serialized_end=6528 + _VALUESINCEUNIXEPOCHMODESETTINGS_UNIT._serialized_start=6414 + _VALUESINCEUNIXEPOCHMODESETTINGS_UNIT._serialized_end=6528 + _TTLSETTINGS._serialized_start=6531 + _TTLSETTINGS._serialized_end=6727 + _STORAGESETTINGS._serialized_start=6730 + _STORAGESETTINGS._serialized_end=6948 + _COLUMNFAMILY._serialized_start=6951 + _COLUMNFAMILY._serialized_end=7211 + _COLUMNFAMILY_COMPRESSION._serialized_start=7126 + _COLUMNFAMILY_COMPRESSION._serialized_end=7211 + _PARTITIONINGSETTINGS._serialized_start=7214 + _PARTITIONINGSETTINGS._serialized_end=7461 + _AZREADREPLICASSETTINGS._serialized_start=7463 + _AZREADREPLICASSETTINGS._serialized_end=7530 + _CLUSTERREPLICASSETTINGS._serialized_start=7532 + _CLUSTERREPLICASSETTINGS._serialized_end=7627 + _READREPLICASSETTINGS._serialized_start=7629 + _READREPLICASSETTINGS._serialized_end=7745 + _CREATETABLEREQUEST._serialized_start=7748 + _CREATETABLEREQUEST._serialized_end=8686 + _CREATETABLEREQUEST_ATTRIBUTESENTRY._serialized_start=2738 + _CREATETABLEREQUEST_ATTRIBUTESENTRY._serialized_end=2787 + _CREATETABLERESPONSE._serialized_start=8688 + _CREATETABLERESPONSE._serialized_end=8755 + _DROPTABLEREQUEST._serialized_start=8757 + _DROPTABLEREQUEST._serialized_end=8874 + _DROPTABLERESPONSE._serialized_start=8876 + _DROPTABLERESPONSE._serialized_end=8941 + _RENAMEINDEXITEM._serialized_start=8943 + _RENAMEINDEXITEM._serialized_end=9036 + _ALTERTABLEREQUEST._serialized_start=9039 + _ALTERTABLEREQUEST._serialized_end=10212 + _ALTERTABLEREQUEST_ALTERATTRIBUTESENTRY._serialized_start=10126 + _ALTERTABLEREQUEST_ALTERATTRIBUTESENTRY._serialized_end=10180 + _ALTERTABLERESPONSE._serialized_start=10214 + _ALTERTABLERESPONSE._serialized_end=10280 + _COPYTABLEREQUEST._serialized_start=10283 + _COPYTABLEREQUEST._serialized_end=10427 + _COPYTABLERESPONSE._serialized_start=10429 + _COPYTABLERESPONSE._serialized_end=10494 + _COPYTABLEITEM._serialized_start=10496 + _COPYTABLEITEM._serialized_end=10580 + _COPYTABLESREQUEST._serialized_start=10583 + _COPYTABLESREQUEST._serialized_end=10723 + _COPYTABLESRESPONSE._serialized_start=10725 + _COPYTABLESRESPONSE._serialized_end=10791 + _RENAMETABLEITEM._serialized_start=10793 + _RENAMETABLEITEM._serialized_end=10886 + _RENAMETABLESREQUEST._serialized_start=10889 + _RENAMETABLESREQUEST._serialized_end=11033 + _RENAMETABLESRESPONSE._serialized_start=11035 + _RENAMETABLESRESPONSE._serialized_end=11103 + _DESCRIBETABLEREQUEST._serialized_start=11106 + _DESCRIBETABLEREQUEST._serialized_end=11376 + _DESCRIBETABLERESPONSE._serialized_start=11378 + _DESCRIBETABLERESPONSE._serialized_end=11447 + _DESCRIBETABLERESULT._serialized_start=11450 + _DESCRIBETABLERESULT._serialized_end=12291 + _DESCRIBETABLERESULT_ATTRIBUTESENTRY._serialized_start=2738 + _DESCRIBETABLERESULT_ATTRIBUTESENTRY._serialized_end=2787 + _QUERY._serialized_start=12293 + _QUERY._serialized_end=12343 + _SERIALIZABLEMODESETTINGS._serialized_start=12345 + _SERIALIZABLEMODESETTINGS._serialized_end=12371 + _ONLINEMODESETTINGS._serialized_start=12373 + _ONLINEMODESETTINGS._serialized_end=12427 + _STALEMODESETTINGS._serialized_start=12429 + _STALEMODESETTINGS._serialized_end=12448 + _SNAPSHOTMODESETTINGS._serialized_start=12450 + _SNAPSHOTMODESETTINGS._serialized_end=12472 + _SNAPSHOTRWMODESETTINGS._serialized_start=12474 + _SNAPSHOTRWMODESETTINGS._serialized_end=12498 + _TRANSACTIONSETTINGS._serialized_start=12501 + _TRANSACTIONSETTINGS._serialized_end=12850 + _TRANSACTIONCONTROL._serialized_start=12852 + _TRANSACTIONCONTROL._serialized_end=12975 + _QUERYCACHEPOLICY._serialized_start=12977 + _QUERYCACHEPOLICY._serialized_end=13018 + _QUERYSTATSCOLLECTION._serialized_start=13021 + _QUERYSTATSCOLLECTION._serialized_end=13198 + _QUERYSTATSCOLLECTION_MODE._serialized_start=13046 + _QUERYSTATSCOLLECTION_MODE._serialized_end=13198 + _EXECUTEDATAQUERYREQUEST._serialized_start=13201 + _EXECUTEDATAQUERYREQUEST._serialized_end=13647 + _EXECUTEDATAQUERYREQUEST_PARAMETERSENTRY._serialized_start=13581 + _EXECUTEDATAQUERYREQUEST_PARAMETERSENTRY._serialized_end=13647 + _EXECUTEDATAQUERYRESPONSE._serialized_start=13649 + _EXECUTEDATAQUERYRESPONSE._serialized_end=13721 + _EXECUTESCHEMEQUERYREQUEST._serialized_start=13723 + _EXECUTESCHEMEQUERYREQUEST._serialized_end=13847 + _EXECUTESCHEMEQUERYRESPONSE._serialized_start=13849 + _EXECUTESCHEMEQUERYRESPONSE._serialized_end=13923 + _TRANSACTIONMETA._serialized_start=13925 + _TRANSACTIONMETA._serialized_end=13954 + _QUERYMETA._serialized_start=13957 + _QUERYMETA._serialized_end=14116 + _QUERYMETA_PARAMETERSTYPESENTRY._serialized_start=14051 + _QUERYMETA_PARAMETERSTYPESENTRY._serialized_end=14116 + _EXECUTEQUERYRESULT._serialized_start=14119 + _EXECUTEQUERYRESULT._serialized_end=14312 + _EXPLAINDATAQUERYREQUEST._serialized_start=14315 + _EXPLAINDATAQUERYREQUEST._serialized_end=14471 + _EXPLAINDATAQUERYRESPONSE._serialized_start=14473 + _EXPLAINDATAQUERYRESPONSE._serialized_end=14545 + _EXPLAINQUERYRESULT._serialized_start=14547 + _EXPLAINQUERYRESULT._serialized_end=14638 + _PREPAREDATAQUERYREQUEST._serialized_start=14640 + _PREPAREDATAQUERYREQUEST._serialized_end=14762 + _PREPAREDATAQUERYRESPONSE._serialized_start=14764 + _PREPAREDATAQUERYRESPONSE._serialized_end=14836 + _PREPAREQUERYRESULT._serialized_start=14839 + _PREPAREQUERYRESULT._serialized_end=15022 + _PREPAREQUERYRESULT_PARAMETERSTYPESENTRY._serialized_start=14051 + _PREPAREQUERYRESULT_PARAMETERSTYPESENTRY._serialized_end=14116 + _KEEPALIVEREQUEST._serialized_start=15024 + _KEEPALIVEREQUEST._serialized_end=15121 + _KEEPALIVERESPONSE._serialized_start=15123 + _KEEPALIVERESPONSE._serialized_end=15188 + _KEEPALIVERESULT._serialized_start=15191 + _KEEPALIVERESULT._serialized_end=15374 + _KEEPALIVERESULT_SESSIONSTATUS._serialized_start=15276 + _KEEPALIVERESULT_SESSIONSTATUS._serialized_end=15374 + _BEGINTRANSACTIONREQUEST._serialized_start=15377 + _BEGINTRANSACTIONREQUEST._serialized_end=15534 + _BEGINTRANSACTIONRESPONSE._serialized_start=15536 + _BEGINTRANSACTIONRESPONSE._serialized_end=15608 + _BEGINTRANSACTIONRESULT._serialized_start=15610 + _BEGINTRANSACTIONRESULT._serialized_end=15679 + _COMMITTRANSACTIONREQUEST._serialized_start=15682 + _COMMITTRANSACTIONREQUEST._serialized_end=15863 + _COMMITTRANSACTIONRESPONSE._serialized_start=15865 + _COMMITTRANSACTIONRESPONSE._serialized_end=15938 + _COMMITTRANSACTIONRESULT._serialized_start=15940 + _COMMITTRANSACTIONRESULT._serialized_end=16014 + _ROLLBACKTRANSACTIONREQUEST._serialized_start=16016 + _ROLLBACKTRANSACTIONREQUEST._serialized_end=16138 + _ROLLBACKTRANSACTIONRESPONSE._serialized_start=16140 + _ROLLBACKTRANSACTIONRESPONSE._serialized_end=16215 + _STORAGEPOLICYDESCRIPTION._serialized_start=16218 + _STORAGEPOLICYDESCRIPTION._serialized_end=16370 + _STORAGEPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16325 + _STORAGEPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16370 + _COMPACTIONPOLICYDESCRIPTION._serialized_start=16373 + _COMPACTIONPOLICYDESCRIPTION._serialized_end=16531 + _COMPACTIONPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16325 + _COMPACTIONPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16370 + _PARTITIONINGPOLICYDESCRIPTION._serialized_start=16534 + _PARTITIONINGPOLICYDESCRIPTION._serialized_end=16696 + _PARTITIONINGPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16325 + _PARTITIONINGPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16370 + _EXECUTIONPOLICYDESCRIPTION._serialized_start=16699 + _EXECUTIONPOLICYDESCRIPTION._serialized_end=16855 + _EXECUTIONPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16325 + _EXECUTIONPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16370 + _REPLICATIONPOLICYDESCRIPTION._serialized_start=16858 + _REPLICATIONPOLICYDESCRIPTION._serialized_end=17018 + _REPLICATIONPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16325 + _REPLICATIONPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16370 + _CACHINGPOLICYDESCRIPTION._serialized_start=17021 + _CACHINGPOLICYDESCRIPTION._serialized_end=17173 + _CACHINGPOLICYDESCRIPTION_LABELSENTRY._serialized_start=16325 + _CACHINGPOLICYDESCRIPTION_LABELSENTRY._serialized_end=16370 + _TABLEPROFILEDESCRIPTION._serialized_start=17176 + _TABLEPROFILEDESCRIPTION._serialized_end=17750 + _TABLEPROFILEDESCRIPTION_LABELSENTRY._serialized_start=16325 + _TABLEPROFILEDESCRIPTION_LABELSENTRY._serialized_end=16370 + _DESCRIBETABLEOPTIONSREQUEST._serialized_start=17752 + _DESCRIBETABLEOPTIONSREQUEST._serialized_end=17840 + _DESCRIBETABLEOPTIONSRESPONSE._serialized_start=17842 + _DESCRIBETABLEOPTIONSRESPONSE._serialized_end=17918 + _DESCRIBETABLEOPTIONSRESULT._serialized_start=17921 + _DESCRIBETABLEOPTIONSRESULT._serialized_end=18458 + _KEYRANGE._serialized_start=18461 + _KEYRANGE._serialized_end=18653 + _READTABLEREQUEST._serialized_start=18656 + _READTABLEREQUEST._serialized_end=18968 + _READTABLERESPONSE._serialized_start=18971 + _READTABLERESPONSE._serialized_end=19159 + _READTABLERESULT._serialized_start=19161 + _READTABLERESULT._serialized_end=19214 + _READROWSREQUEST._serialized_start=19216 + _READROWSREQUEST._serialized_end=19315 + _READROWSRESPONSE._serialized_start=19318 + _READROWSRESPONSE._serialized_end=19456 + _BULKUPSERTREQUEST._serialized_start=19459 + _BULKUPSERTREQUEST._serialized_end=19728 + _BULKUPSERTRESPONSE._serialized_start=19730 + _BULKUPSERTRESPONSE._serialized_end=19796 + _BULKUPSERTRESULT._serialized_start=19798 + _BULKUPSERTRESULT._serialized_end=19816 + _EXECUTESCANQUERYREQUEST._serialized_start=19819 + _EXECUTESCANQUERYREQUEST._serialized_end=20258 + _EXECUTESCANQUERYREQUEST_PARAMETERSENTRY._serialized_start=13581 + _EXECUTESCANQUERYREQUEST_PARAMETERSENTRY._serialized_end=13647 + _EXECUTESCANQUERYREQUEST_MODE._serialized_start=20173 + _EXECUTESCANQUERYREQUEST_MODE._serialized_end=20234 + _EXECUTESCANQUERYPARTIALRESPONSE._serialized_start=20261 + _EXECUTESCANQUERYPARTIALRESPONSE._serialized_end=20436 + _EXECUTESCANQUERYPARTIALRESULT._serialized_start=20439 + _EXECUTESCANQUERYPARTIALRESULT._serialized_end=20656 + _DESCRIBEEXTERNALDATASOURCEREQUEST._serialized_start=20658 + _DESCRIBEEXTERNALDATASOURCEREQUEST._serialized_end=20766 + _DESCRIBEEXTERNALDATASOURCERESPONSE._serialized_start=20768 + _DESCRIBEEXTERNALDATASOURCERESPONSE._serialized_end=20850 + _DESCRIBEEXTERNALDATASOURCERESULT._serialized_start=20853 + _DESCRIBEEXTERNALDATASOURCERESULT._serialized_end=21130 + _DESCRIBEEXTERNALDATASOURCERESULT_PROPERTIESENTRY._serialized_start=21052 + _DESCRIBEEXTERNALDATASOURCERESULT_PROPERTIESENTRY._serialized_end=21101 + _DESCRIBEEXTERNALTABLEREQUEST._serialized_start=21132 + _DESCRIBEEXTERNALTABLEREQUEST._serialized_end=21235 + _DESCRIBEEXTERNALTABLERESPONSE._serialized_start=21237 + _DESCRIBEEXTERNALTABLERESPONSE._serialized_end=21314 + _DESCRIBEEXTERNALTABLERESULT._serialized_start=21317 + _DESCRIBEEXTERNALTABLERESULT._serialized_end=21667 + _DESCRIBEEXTERNALTABLERESULT_CONTENTENTRY._serialized_start=21571 + _DESCRIBEEXTERNALTABLERESULT_CONTENTENTRY._serialized_end=21617 + _DESCRIBESYSTEMVIEWREQUEST._serialized_start=21669 + _DESCRIBESYSTEMVIEWREQUEST._serialized_end=21769 + _DESCRIBESYSTEMVIEWRESPONSE._serialized_start=21771 + _DESCRIBESYSTEMVIEWRESPONSE._serialized_end=21845 + _DESCRIBESYSTEMVIEWRESULT._serialized_start=21848 + _DESCRIBESYSTEMVIEWRESULT._serialized_end=22136 + _DESCRIBESYSTEMVIEWRESULT_ATTRIBUTESENTRY._serialized_start=2738 + _DESCRIBESYSTEMVIEWRESULT_ATTRIBUTESENTRY._serialized_end=2787 # @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v5/protos/ydb_table_pb2.pyi b/ydb/_grpc/v5/protos/ydb_table_pb2.pyi index de87fb444..3c92806e2 100644 --- a/ydb/_grpc/v5/protos/ydb_table_pb2.pyi +++ b/ydb/_grpc/v5/protos/ydb_table_pb2.pyi @@ -163,7 +163,7 @@ class CachingPolicyDescription(_message.Message): def __init__(self, name: _Optional[str] = ..., labels: _Optional[_Mapping[str, str]] = ...) -> None: ... class Changefeed(_message.Message): - __slots__ = ["attributes", "aws_region", "format", "initial_scan", "mode", "name", "resolved_timestamps_interval", "retention_period", "topic_partitioning_settings", "virtual_timestamps"] + __slots__ = ["attributes", "aws_region", "format", "initial_scan", "mode", "name", "resolved_timestamps_interval", "retention_period", "schema_changes", "topic_partitioning_settings", "virtual_timestamps"] class AttributesEntry(_message.Message): __slots__ = ["key", "value"] KEY_FIELD_NUMBER: _ClassVar[int] @@ -179,6 +179,7 @@ class Changefeed(_message.Message): NAME_FIELD_NUMBER: _ClassVar[int] RESOLVED_TIMESTAMPS_INTERVAL_FIELD_NUMBER: _ClassVar[int] RETENTION_PERIOD_FIELD_NUMBER: _ClassVar[int] + SCHEMA_CHANGES_FIELD_NUMBER: _ClassVar[int] TOPIC_PARTITIONING_SETTINGS_FIELD_NUMBER: _ClassVar[int] VIRTUAL_TIMESTAMPS_FIELD_NUMBER: _ClassVar[int] attributes: _containers.ScalarMap[str, str] @@ -189,12 +190,13 @@ class Changefeed(_message.Message): name: str resolved_timestamps_interval: _duration_pb2.Duration retention_period: _duration_pb2.Duration + schema_changes: bool topic_partitioning_settings: _ydb_topic_pb2.PartitioningSettings virtual_timestamps: bool - def __init__(self, name: _Optional[str] = ..., mode: _Optional[_Union[ChangefeedMode.Mode, str]] = ..., format: _Optional[_Union[ChangefeedFormat.Format, str]] = ..., retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., virtual_timestamps: bool = ..., initial_scan: bool = ..., attributes: _Optional[_Mapping[str, str]] = ..., aws_region: _Optional[str] = ..., resolved_timestamps_interval: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., topic_partitioning_settings: _Optional[_Union[_ydb_topic_pb2.PartitioningSettings, _Mapping]] = ...) -> None: ... + def __init__(self, name: _Optional[str] = ..., mode: _Optional[_Union[ChangefeedMode.Mode, str]] = ..., format: _Optional[_Union[ChangefeedFormat.Format, str]] = ..., retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., virtual_timestamps: bool = ..., initial_scan: bool = ..., attributes: _Optional[_Mapping[str, str]] = ..., aws_region: _Optional[str] = ..., resolved_timestamps_interval: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., topic_partitioning_settings: _Optional[_Union[_ydb_topic_pb2.PartitioningSettings, _Mapping]] = ..., schema_changes: bool = ...) -> None: ... class ChangefeedDescription(_message.Message): - __slots__ = ["attributes", "aws_region", "format", "mode", "name", "resolved_timestamps_interval", "state", "virtual_timestamps"] + __slots__ = ["attributes", "aws_region", "format", "initial_scan_progress", "mode", "name", "resolved_timestamps_interval", "schema_changes", "state", "virtual_timestamps"] class State(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): __slots__ = [] class AttributesEntry(_message.Message): @@ -204,12 +206,21 @@ class ChangefeedDescription(_message.Message): key: str value: str def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + class InitialScanProgress(_message.Message): + __slots__ = ["parts_completed", "parts_total"] + PARTS_COMPLETED_FIELD_NUMBER: _ClassVar[int] + PARTS_TOTAL_FIELD_NUMBER: _ClassVar[int] + parts_completed: int + parts_total: int + def __init__(self, parts_total: _Optional[int] = ..., parts_completed: _Optional[int] = ...) -> None: ... ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] AWS_REGION_FIELD_NUMBER: _ClassVar[int] FORMAT_FIELD_NUMBER: _ClassVar[int] + INITIAL_SCAN_PROGRESS_FIELD_NUMBER: _ClassVar[int] MODE_FIELD_NUMBER: _ClassVar[int] NAME_FIELD_NUMBER: _ClassVar[int] RESOLVED_TIMESTAMPS_INTERVAL_FIELD_NUMBER: _ClassVar[int] + SCHEMA_CHANGES_FIELD_NUMBER: _ClassVar[int] STATE_DISABLED: ChangefeedDescription.State STATE_ENABLED: ChangefeedDescription.State STATE_FIELD_NUMBER: _ClassVar[int] @@ -219,12 +230,14 @@ class ChangefeedDescription(_message.Message): attributes: _containers.ScalarMap[str, str] aws_region: str format: ChangefeedFormat.Format + initial_scan_progress: ChangefeedDescription.InitialScanProgress mode: ChangefeedMode.Mode name: str resolved_timestamps_interval: _duration_pb2.Duration + schema_changes: bool state: ChangefeedDescription.State virtual_timestamps: bool - def __init__(self, name: _Optional[str] = ..., mode: _Optional[_Union[ChangefeedMode.Mode, str]] = ..., format: _Optional[_Union[ChangefeedFormat.Format, str]] = ..., state: _Optional[_Union[ChangefeedDescription.State, str]] = ..., virtual_timestamps: bool = ..., attributes: _Optional[_Mapping[str, str]] = ..., aws_region: _Optional[str] = ..., resolved_timestamps_interval: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... + def __init__(self, name: _Optional[str] = ..., mode: _Optional[_Union[ChangefeedMode.Mode, str]] = ..., format: _Optional[_Union[ChangefeedFormat.Format, str]] = ..., state: _Optional[_Union[ChangefeedDescription.State, str]] = ..., virtual_timestamps: bool = ..., attributes: _Optional[_Mapping[str, str]] = ..., aws_region: _Optional[str] = ..., resolved_timestamps_interval: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., initial_scan_progress: _Optional[_Union[ChangefeedDescription.InitialScanProgress, _Mapping]] = ..., schema_changes: bool = ...) -> None: ... class ChangefeedFormat(_message.Message): __slots__ = [] @@ -492,6 +505,113 @@ class DeleteSessionResponse(_message.Message): operation: _ydb_operation_pb2.Operation def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... +class DescribeExternalDataSourceRequest(_message.Message): + __slots__ = ["operation_params", "path"] + OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + operation_params: _ydb_operation_pb2.OperationParams + path: str + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ...) -> None: ... + +class DescribeExternalDataSourceResponse(_message.Message): + __slots__ = ["operation"] + OPERATION_FIELD_NUMBER: _ClassVar[int] + operation: _ydb_operation_pb2.Operation + def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... + +class DescribeExternalDataSourceResult(_message.Message): + __slots__ = ["location", "properties", "self", "source_type"] + class PropertiesEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + LOCATION_FIELD_NUMBER: _ClassVar[int] + PROPERTIES_FIELD_NUMBER: _ClassVar[int] + SELF_FIELD_NUMBER: _ClassVar[int] + SOURCE_TYPE_FIELD_NUMBER: _ClassVar[int] + location: str + properties: _containers.ScalarMap[str, str] + self: _ydb_scheme_pb2.Entry + source_type: str + def __init__(self, self_: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., source_type: _Optional[str] = ..., location: _Optional[str] = ..., properties: _Optional[_Mapping[str, str]] = ...) -> None: ... + +class DescribeExternalTableRequest(_message.Message): + __slots__ = ["operation_params", "path"] + OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + operation_params: _ydb_operation_pb2.OperationParams + path: str + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ...) -> None: ... + +class DescribeExternalTableResponse(_message.Message): + __slots__ = ["operation"] + OPERATION_FIELD_NUMBER: _ClassVar[int] + operation: _ydb_operation_pb2.Operation + def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... + +class DescribeExternalTableResult(_message.Message): + __slots__ = ["columns", "content", "data_source_path", "location", "self", "source_type"] + class ContentEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + COLUMNS_FIELD_NUMBER: _ClassVar[int] + CONTENT_FIELD_NUMBER: _ClassVar[int] + DATA_SOURCE_PATH_FIELD_NUMBER: _ClassVar[int] + LOCATION_FIELD_NUMBER: _ClassVar[int] + SELF_FIELD_NUMBER: _ClassVar[int] + SOURCE_TYPE_FIELD_NUMBER: _ClassVar[int] + columns: _containers.RepeatedCompositeFieldContainer[ColumnMeta] + content: _containers.ScalarMap[str, str] + data_source_path: str + location: str + self: _ydb_scheme_pb2.Entry + source_type: str + def __init__(self, self_: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., source_type: _Optional[str] = ..., data_source_path: _Optional[str] = ..., location: _Optional[str] = ..., columns: _Optional[_Iterable[_Union[ColumnMeta, _Mapping]]] = ..., content: _Optional[_Mapping[str, str]] = ...) -> None: ... + +class DescribeSystemViewRequest(_message.Message): + __slots__ = ["operation_params", "path"] + OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + operation_params: _ydb_operation_pb2.OperationParams + path: str + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ...) -> None: ... + +class DescribeSystemViewResponse(_message.Message): + __slots__ = ["operation"] + OPERATION_FIELD_NUMBER: _ClassVar[int] + operation: _ydb_operation_pb2.Operation + def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... + +class DescribeSystemViewResult(_message.Message): + __slots__ = ["attributes", "columns", "primary_key", "self", "sys_view_id", "sys_view_name"] + class AttributesEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + COLUMNS_FIELD_NUMBER: _ClassVar[int] + PRIMARY_KEY_FIELD_NUMBER: _ClassVar[int] + SELF_FIELD_NUMBER: _ClassVar[int] + SYS_VIEW_ID_FIELD_NUMBER: _ClassVar[int] + SYS_VIEW_NAME_FIELD_NUMBER: _ClassVar[int] + attributes: _containers.ScalarMap[str, str] + columns: _containers.RepeatedCompositeFieldContainer[ColumnMeta] + primary_key: _containers.RepeatedScalarFieldContainer[str] + self: _ydb_scheme_pb2.Entry + sys_view_id: int + sys_view_name: str + def __init__(self, self_: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., sys_view_id: _Optional[int] = ..., sys_view_name: _Optional[str] = ..., columns: _Optional[_Iterable[_Union[ColumnMeta, _Mapping]]] = ..., primary_key: _Optional[_Iterable[str]] = ..., attributes: _Optional[_Mapping[str, str]] = ...) -> None: ... + class DescribeTableOptionsRequest(_message.Message): __slots__ = ["operation_params"] OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] @@ -523,8 +643,9 @@ class DescribeTableOptionsResult(_message.Message): def __init__(self, table_profile_presets: _Optional[_Iterable[_Union[TableProfileDescription, _Mapping]]] = ..., storage_policy_presets: _Optional[_Iterable[_Union[StoragePolicyDescription, _Mapping]]] = ..., compaction_policy_presets: _Optional[_Iterable[_Union[CompactionPolicyDescription, _Mapping]]] = ..., partitioning_policy_presets: _Optional[_Iterable[_Union[PartitioningPolicyDescription, _Mapping]]] = ..., execution_policy_presets: _Optional[_Iterable[_Union[ExecutionPolicyDescription, _Mapping]]] = ..., replication_policy_presets: _Optional[_Iterable[_Union[ReplicationPolicyDescription, _Mapping]]] = ..., caching_policy_presets: _Optional[_Iterable[_Union[CachingPolicyDescription, _Mapping]]] = ...) -> None: ... class DescribeTableRequest(_message.Message): - __slots__ = ["include_partition_stats", "include_shard_key_bounds", "include_shard_nodes_info", "include_table_stats", "operation_params", "path", "session_id"] + __slots__ = ["include_partition_stats", "include_set_val", "include_shard_key_bounds", "include_shard_nodes_info", "include_table_stats", "operation_params", "path", "session_id"] INCLUDE_PARTITION_STATS_FIELD_NUMBER: _ClassVar[int] + INCLUDE_SET_VAL_FIELD_NUMBER: _ClassVar[int] INCLUDE_SHARD_KEY_BOUNDS_FIELD_NUMBER: _ClassVar[int] INCLUDE_SHARD_NODES_INFO_FIELD_NUMBER: _ClassVar[int] INCLUDE_TABLE_STATS_FIELD_NUMBER: _ClassVar[int] @@ -532,13 +653,14 @@ class DescribeTableRequest(_message.Message): PATH_FIELD_NUMBER: _ClassVar[int] SESSION_ID_FIELD_NUMBER: _ClassVar[int] include_partition_stats: bool + include_set_val: bool include_shard_key_bounds: bool include_shard_nodes_info: bool include_table_stats: bool operation_params: _ydb_operation_pb2.OperationParams path: str session_id: str - def __init__(self, session_id: _Optional[str] = ..., path: _Optional[str] = ..., operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., include_shard_key_bounds: bool = ..., include_table_stats: bool = ..., include_partition_stats: bool = ..., include_shard_nodes_info: bool = ...) -> None: ... + def __init__(self, session_id: _Optional[str] = ..., path: _Optional[str] = ..., operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., include_shard_key_bounds: bool = ..., include_table_stats: bool = ..., include_partition_stats: bool = ..., include_set_val: bool = ..., include_shard_nodes_info: bool = ...) -> None: ... class DescribeTableResponse(_message.Message): __slots__ = ["operation"] @@ -661,14 +783,16 @@ class ExecuteScanQueryPartialResponse(_message.Message): def __init__(self, status: _Optional[_Union[_ydb_status_codes_pb2.StatusIds.StatusCode, str]] = ..., issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ..., result: _Optional[_Union[ExecuteScanQueryPartialResult, _Mapping]] = ...) -> None: ... class ExecuteScanQueryPartialResult(_message.Message): - __slots__ = ["query_full_diagnostics", "query_stats", "result_set"] + __slots__ = ["query_full_diagnostics", "query_stats", "result_set", "snapshot"] QUERY_FULL_DIAGNOSTICS_FIELD_NUMBER: _ClassVar[int] QUERY_STATS_FIELD_NUMBER: _ClassVar[int] RESULT_SET_FIELD_NUMBER: _ClassVar[int] + SNAPSHOT_FIELD_NUMBER: _ClassVar[int] query_full_diagnostics: str query_stats: _ydb_query_stats_pb2.QueryStats result_set: _ydb_value_pb2.ResultSet - def __init__(self, result_set: _Optional[_Union[_ydb_value_pb2.ResultSet, _Mapping]] = ..., query_stats: _Optional[_Union[_ydb_query_stats_pb2.QueryStats, _Mapping]] = ..., query_full_diagnostics: _Optional[str] = ...) -> None: ... + snapshot: _ydb_common_pb2.VirtualTimestamp + def __init__(self, result_set: _Optional[_Union[_ydb_value_pb2.ResultSet, _Mapping]] = ..., query_stats: _Optional[_Union[_ydb_query_stats_pb2.QueryStats, _Mapping]] = ..., query_full_diagnostics: _Optional[str] = ..., snapshot: _Optional[_Union[_ydb_common_pb2.VirtualTimestamp, _Mapping]] = ...) -> None: ... class ExecuteScanQueryRequest(_message.Message): __slots__ = ["collect_full_diagnostics", "collect_stats", "mode", "parameters", "query"] diff --git a/ydb/_grpc/v5/protos/ydb_topic_pb2.py b/ydb/_grpc/v5/protos/ydb_topic_pb2.py index 7e8bcfac6..6feabfb1e 100644 --- a/ydb/_grpc/v5/protos/ydb_topic_pb2.py +++ b/ydb/_grpc/v5/protos/ydb_topic_pb2.py @@ -23,7 +23,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16protos/ydb_topic.proto\x12\tYdb.Topic\x1a\x1aprotos/ydb_operation.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\"protos/annotations/sensitive.proto\x1a#protos/annotations/validation.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"7\n\x0fSupportedCodecs\x12$\n\x06\x63odecs\x18\x01 \x03(\x05\x42\x14\xb2\xe6*\n[1; 19999]\x9a\xe6*\x02\x18\x64\"*\n\x0cOffsetsRange\x12\r\n\x05start\x18\x01 \x01(\x03\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x03\")\n\x12UpdateTokenRequest\x12\x13\n\x05token\x18\x01 \x01(\tB\x04\xb8\xe6*\x01\"\x15\n\x13UpdateTokenResponse\"C\n\x17PartitionWithGeneration\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x12\n\ngeneration\x18\x02 \x01(\x03\"*\n\x0cMetadataItem\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\"\x9e\x14\n\x12StreamWriteMessage\x1a\xe5\x01\n\nFromClient\x12\x41\n\x0cinit_request\x18\x01 \x01(\x0b\x32).Ydb.Topic.StreamWriteMessage.InitRequestH\x00\x12\x43\n\rwrite_request\x18\x02 \x01(\x0b\x32*.Ydb.Topic.StreamWriteMessage.WriteRequestH\x00\x12=\n\x14update_token_request\x18\x03 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x42\x10\n\x0e\x63lient_message\x1a\xbf\x02\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x43\n\rinit_response\x18\x03 \x01(\x0b\x32*.Ydb.Topic.StreamWriteMessage.InitResponseH\x00\x12\x45\n\x0ewrite_response\x18\x04 \x01(\x0b\x32+.Ydb.Topic.StreamWriteMessage.WriteResponseH\x00\x12?\n\x15update_token_response\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x42\x10\n\x0eserver_message\x1a\xfe\x02\n\x0bInitRequest\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x1c\n\x0bproducer_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12[\n\x12write_session_meta\x18\x03 \x03(\x0b\x32?.Ydb.Topic.StreamWriteMessage.InitRequest.WriteSessionMetaEntry\x12#\n\x10message_group_id\x18\x04 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10H\x00\x12\x16\n\x0cpartition_id\x18\x05 \x01(\x03H\x00\x12G\n\x19partition_with_generation\x18\x07 \x01(\x0b\x32\".Ydb.Topic.PartitionWithGenerationH\x00\x12\x17\n\x0fget_last_seq_no\x18\x06 \x01(\x08\x1a\x37\n\x15WriteSessionMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0cpartitioning\x1a\x83\x01\n\x0cInitResponse\x12\x13\n\x0blast_seq_no\x18\x01 \x01(\x03\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x34\n\x10supported_codecs\x18\x04 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x1a\xe8\x03\n\x0cWriteRequest\x12H\n\x08messages\x18\x01 \x03(\x0b\x32\x36.Ydb.Topic.StreamWriteMessage.WriteRequest.MessageData\x12\r\n\x05\x63odec\x18\x02 \x01(\x05\x12/\n\x02tx\x18\x03 \x01(\x0b\x32\x1e.Ydb.Topic.TransactionIdentityH\x00\x88\x01\x01\x1a\xc6\x02\n\x0bMessageData\x12\x0e\n\x06seq_no\x18\x01 \x01(\x03\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x19\n\x11uncompressed_size\x18\x04 \x01(\x03\x12#\n\x10message_group_id\x18\x05 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10H\x00\x12\x16\n\x0cpartition_id\x18\x06 \x01(\x03H\x00\x12G\n\x19partition_with_generation\x18\x08 \x01(\x0b\x32\".Ydb.Topic.PartitionWithGenerationH\x00\x12\x38\n\x0emetadata_items\x18\x07 \x03(\x0b\x32\x17.Ydb.Topic.MetadataItemB\x07\x9a\xe6*\x03\x18\xe8\x07\x42\x0e\n\x0cpartitioningB\x05\n\x03_tx\x1a\xeb\x07\n\rWriteResponse\x12\x42\n\x04\x61\x63ks\x18\x01 \x03(\x0b\x32\x34.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck\x12\x14\n\x0cpartition_id\x18\x02 \x01(\x03\x12U\n\x10write_statistics\x18\x03 \x01(\x0b\x32;.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteStatistics\x1a\xf8\x03\n\x08WriteAck\x12\x0e\n\x06seq_no\x18\x01 \x01(\x03\x12O\n\x07written\x18\x02 \x01(\x0b\x32<.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.WrittenH\x00\x12O\n\x07skipped\x18\x03 \x01(\x0b\x32<.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.SkippedH\x00\x12Y\n\rwritten_in_tx\x18\x04 \x01(\x0b\x32@.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.WrittenInTxH\x00\x1a\x19\n\x07Written\x12\x0e\n\x06offset\x18\x01 \x01(\x03\x1a\x9c\x01\n\x07Skipped\x12S\n\x06reason\x18\x01 \x01(\x0e\x32\x43.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.Skipped.Reason\"<\n\x06Reason\x12\x16\n\x12REASON_UNSPECIFIED\x10\x00\x12\x1a\n\x16REASON_ALREADY_WRITTEN\x10\x01\x1a\r\n\x0bWrittenInTxB\x16\n\x14message_write_status\x1a\xad\x02\n\x0fWriteStatistics\x12\x32\n\x0fpersisting_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13min_queue_wait_time\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13max_queue_wait_time\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19partition_quota_wait_time\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15topic_quota_wait_time\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x9c#\n\x11StreamReadMessage\x1aT\n\x10PartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x1a\xb1\x05\n\nFromClient\x12@\n\x0cinit_request\x18\x01 \x01(\x0b\x32(.Ydb.Topic.StreamReadMessage.InitRequestH\x00\x12@\n\x0cread_request\x18\x02 \x01(\x0b\x32(.Ydb.Topic.StreamReadMessage.ReadRequestH\x00\x12Q\n\x15\x63ommit_offset_request\x18\x03 \x01(\x0b\x32\x30.Ydb.Topic.StreamReadMessage.CommitOffsetRequestH\x00\x12\x66\n partition_session_status_request\x18\x04 \x01(\x0b\x32:.Ydb.Topic.StreamReadMessage.PartitionSessionStatusRequestH\x00\x12=\n\x14update_token_request\x18\x05 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x12\x45\n\x0f\x64irect_read_ack\x18\x08 \x01(\x0b\x32*.Ydb.Topic.StreamReadMessage.DirectReadAckH\x00\x12\x66\n start_partition_session_response\x18\x06 \x01(\x0b\x32:.Ydb.Topic.StreamReadMessage.StartPartitionSessionResponseH\x00\x12\x64\n\x1fstop_partition_session_response\x18\x07 \x01(\x0b\x32\x39.Ydb.Topic.StreamReadMessage.StopPartitionSessionResponseH\x00\x42\x10\n\x0e\x63lient_message\x1a\xf0\x06\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x42\n\rinit_response\x18\x03 \x01(\x0b\x32).Ydb.Topic.StreamReadMessage.InitResponseH\x00\x12\x42\n\rread_response\x18\x04 \x01(\x0b\x32).Ydb.Topic.StreamReadMessage.ReadResponseH\x00\x12S\n\x16\x63ommit_offset_response\x18\x05 \x01(\x0b\x32\x31.Ydb.Topic.StreamReadMessage.CommitOffsetResponseH\x00\x12h\n!partition_session_status_response\x18\x06 \x01(\x0b\x32;.Ydb.Topic.StreamReadMessage.PartitionSessionStatusResponseH\x00\x12?\n\x15update_token_response\x18\x07 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x12\x64\n\x1fstart_partition_session_request\x18\x08 \x01(\x0b\x32\x39.Ydb.Topic.StreamReadMessage.StartPartitionSessionRequestH\x00\x12\x62\n\x1estop_partition_session_request\x18\t \x01(\x0b\x32\x38.Ydb.Topic.StreamReadMessage.StopPartitionSessionRequestH\x00\x12W\n\x18update_partition_session\x18\n \x01(\x0b\x32\x33.Ydb.Topic.StreamReadMessage.UpdatePartitionSessionH\x00\x12Q\n\x15\x65nd_partition_session\x18\x0b \x01(\x0b\x32\x30.Ydb.Topic.StreamReadMessage.EndPartitionSessionH\x00\x42\x10\n\x0eserver_message\x1a\xdc\x02\n\x0bInitRequest\x12X\n\x14topics_read_settings\x18\x01 \x03(\x0b\x32:.Ydb.Topic.StreamReadMessage.InitRequest.TopicReadSettings\x12\x10\n\x08\x63onsumer\x18\x02 \x01(\t\x12\x13\n\x0breader_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64irect_read\x18\x04 \x01(\x08\x12!\n\x19\x61uto_partitioning_support\x18\x05 \x01(\x08\x1a\x93\x01\n\x11TopicReadSettings\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x15\n\rpartition_ids\x18\x02 \x03(\x03\x12*\n\x07max_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\tread_from\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\"\n\x0cInitResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\x1a!\n\x0bReadRequest\x12\x12\n\nbytes_size\x18\x01 \x01(\x03\x1a\x91\x06\n\x0cReadResponse\x12O\n\x0epartition_data\x18\x01 \x03(\x0b\x32\x37.Ydb.Topic.StreamReadMessage.ReadResponse.PartitionData\x12\x12\n\nbytes_size\x18\x02 \x01(\x03\x1a\xda\x01\n\x0bMessageData\x12\x0e\n\x06offset\x18\x01 \x01(\x03\x12\x0e\n\x06seq_no\x18\x02 \x01(\x03\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c\x12\x19\n\x11uncompressed_size\x18\x06 \x01(\x03\x12!\n\x10message_group_id\x18\x07 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12/\n\x0emetadata_items\x18\x08 \x03(\x0b\x32\x17.Ydb.Topic.MetadataItem\x1a\xcd\x02\n\x05\x42\x61tch\x12K\n\x0cmessage_data\x18\x01 \x03(\x0b\x32\x35.Ydb.Topic.StreamReadMessage.ReadResponse.MessageData\x12\x1c\n\x0bproducer_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12\x61\n\x12write_session_meta\x18\x03 \x03(\x0b\x32\x45.Ydb.Topic.StreamReadMessage.ReadResponse.Batch.WriteSessionMetaEntry\x12\r\n\x05\x63odec\x18\x04 \x01(\x05\x12.\n\nwritten_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x37\n\x15WriteSessionMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1ao\n\rPartitionData\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12@\n\x07\x62\x61tches\x18\x02 \x03(\x0b\x32/.Ydb.Topic.StreamReadMessage.ReadResponse.Batch\x1a\xd6\x01\n\x13\x43ommitOffsetRequest\x12^\n\x0e\x63ommit_offsets\x18\x01 \x03(\x0b\x32\x46.Ydb.Topic.StreamReadMessage.CommitOffsetRequest.PartitionCommitOffset\x1a_\n\x15PartitionCommitOffset\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12(\n\x07offsets\x18\x02 \x03(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x1a\xdc\x01\n\x14\x43ommitOffsetResponse\x12p\n\x1cpartitions_committed_offsets\x18\x01 \x03(\x0b\x32J.Ydb.Topic.StreamReadMessage.CommitOffsetResponse.PartitionCommittedOffset\x1aR\n\x18PartitionCommittedOffset\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x1a=\n\x1dPartitionSessionStatusRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x1a\xcb\x01\n\x1ePartitionSessionStatusResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x02 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x18\n\x10\x63ommitted_offset\x18\x03 \x01(\x03\x12=\n\x19write_time_high_watermark\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\xf0\x01\n\x1cStartPartitionSessionRequest\x12H\n\x11partition_session\x18\x01 \x01(\x0b\x32-.Ydb.Topic.StreamReadMessage.PartitionSession\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x03 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x38\n\x12partition_location\x18\x04 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\x95\x01\n\x1dStartPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x18\n\x0bread_offset\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x1a\n\rcommit_offset\x18\x03 \x01(\x03H\x01\x88\x01\x01\x42\x0e\n\x0c_read_offsetB\x10\n\x0e_commit_offset\x1a\x84\x01\n\x1bStopPartitionSessionRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x10\n\x08graceful\x18\x02 \x01(\x08\x12\x18\n\x10\x63ommitted_offset\x18\x03 \x01(\x03\x12\x1b\n\x13last_direct_read_id\x18\x04 \x01(\x03\x1aN\n\x1cStopPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x10\n\x08graceful\x18\x02 \x01(\x08\x1ap\n\x16UpdatePartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x38\n\x12partition_location\x18\x02 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\x45\n\rDirectReadAck\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x16\n\x0e\x64irect_read_id\x18\x02 \x01(\x03\x1ap\n\x13\x45ndPartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x1e\n\x16\x61\x64jacent_partition_ids\x18\x02 \x03(\x03\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\"\x8b\r\n\x17StreamDirectReadMessage\x1a\xa8\x02\n\nFromClient\x12\x46\n\x0cinit_request\x18\x01 \x01(\x0b\x32..Ydb.Topic.StreamDirectReadMessage.InitRequestH\x00\x12\x80\x01\n+start_direct_read_partition_session_request\x18\x02 \x01(\x0b\x32I.Ydb.Topic.StreamDirectReadMessage.StartDirectReadPartitionSessionRequestH\x00\x12=\n\x14update_token_request\x18\x03 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x42\x10\n\x0e\x63lient_message\x1a\xca\x04\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12H\n\rinit_response\x18\x06 \x01(\x0b\x32/.Ydb.Topic.StreamDirectReadMessage.InitResponseH\x00\x12\x82\x01\n,start_direct_read_partition_session_response\x18\x07 \x01(\x0b\x32J.Ydb.Topic.StreamDirectReadMessage.StartDirectReadPartitionSessionResponseH\x00\x12o\n\"stop_direct_read_partition_session\x18\x03 \x01(\x0b\x32\x41.Ydb.Topic.StreamDirectReadMessage.StopDirectReadPartitionSessionH\x00\x12U\n\x14\x64irect_read_response\x18\x04 \x01(\x0b\x32\x35.Ydb.Topic.StreamDirectReadMessage.DirectReadResponseH\x00\x12?\n\x15update_token_response\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x42\x10\n\x0eserver_message\x1a\xb6\x01\n\x0bInitRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12^\n\x14topics_read_settings\x18\x02 \x03(\x0b\x32@.Ydb.Topic.StreamDirectReadMessage.InitRequest.TopicReadSettings\x12\x10\n\x08\x63onsumer\x18\x03 \x01(\t\x1a!\n\x11TopicReadSettings\x12\x0c\n\x04path\x18\x01 \x01(\t\x1a\x0e\n\x0cInitResponse\x1aw\n&StartDirectReadPartitionSessionRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x1b\n\x13last_direct_read_id\x18\x02 \x01(\x03\x12\x12\n\ngeneration\x18\x03 \x01(\x03\x1a[\n\'StartDirectReadPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x12\n\ngeneration\x18\x02 \x01(\x03\x1a\xa6\x01\n\x1eStopDirectReadPartitionSession\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x1c\n\x14partition_session_id\x18\x03 \x01(\x03\x12\x12\n\ngeneration\x18\x04 \x01(\x03\x1a\xaf\x01\n\x12\x44irectReadResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x16\n\x0e\x64irect_read_id\x18\x02 \x01(\x03\x12O\n\x0epartition_data\x18\x03 \x01(\x0b\x32\x37.Ydb.Topic.StreamReadMessage.ReadResponse.PartitionData\x12\x12\n\nbytes_size\x18\x04 \x01(\x03\"2\n\x13TransactionIdentity\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07session\x18\x02 \x01(\t\"\xc4\x03\n!UpdateOffsetsInTransactionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12*\n\x02tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Topic.TransactionIdentity\x12I\n\x06topics\x18\x03 \x03(\x0b\x32\x39.Ydb.Topic.UpdateOffsetsInTransactionRequest.TopicOffsets\x12\x10\n\x08\x63onsumer\x18\x04 \x01(\t\x1a\xda\x01\n\x0cTopicOffsets\x12\x0c\n\x04path\x18\x01 \x01(\t\x12^\n\npartitions\x18\x02 \x03(\x0b\x32J.Ydb.Topic.UpdateOffsetsInTransactionRequest.TopicOffsets.PartitionOffsets\x1a\\\n\x10PartitionOffsets\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x02 \x03(\x0b\x32\x17.Ydb.Topic.OffsetsRange\"R\n\"UpdateOffsetsInTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\"\n UpdateOffsetsInTransactionResult\"\xaf\x01\n\x13\x43ommitOffsetRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x10\n\x08\x63onsumer\x18\x04 \x01(\t\x12\x0e\n\x06offset\x18\x05 \x01(\x03\x12\x17\n\x0fread_session_id\x18\x06 \x01(\t\"D\n\x14\x43ommitOffsetResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x14\n\x12\x43ommitOffsetResult\"L\n\x13MultipleWindowsStat\x12\x12\n\nper_minute\x18\x01 \x01(\x03\x12\x10\n\x08per_hour\x18\x02 \x01(\x03\x12\x0f\n\x07per_day\x18\x03 \x01(\x03\"\xc3\x05\n\x08\x43onsumer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\timportant\x18\x02 \x01(\x08\x12-\n\tread_from\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10supported_codecs\x18\x05 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x37\n\nattributes\x18\x06 \x03(\x0b\x32#.Ydb.Topic.Consumer.AttributesEntry\x12\x39\n\x0e\x63onsumer_stats\x18\x07 \x01(\x0b\x32!.Ydb.Topic.Consumer.ConsumerStats\x12;\n\x13\x61vailability_period\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xae\x02\n\rConsumerStats\x12\x41\n\x1dmin_partitions_last_read_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x11max_read_time_lag\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12max_write_time_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16max_committed_time_lag\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\nbytes_read\x18\x04 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStatB\x16\n\x14_availability_periodJ\x04\x08\x04\x10\x05\"\xd8\x03\n\rAlterConsumer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1a\n\rset_important\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x31\n\rset_read_from\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14set_supported_codecs\x18\x05 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12G\n\x10\x61lter_attributes\x18\x06 \x03(\x0b\x32-.Ydb.Topic.AlterConsumer.AlterAttributesEntry\x12<\n\x17set_availability_period\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12;\n\x19reset_availability_period\x18\x08 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x1c\n\x1a\x61vailability_period_actionB\x10\n\x0e_set_importantJ\x04\x08\x04\x10\x05\"\xdc\x01\n\x14PartitioningSettings\x12\'\n\x15min_active_partitions\x18\x01 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\'\n\x15max_active_partitions\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12)\n\x15partition_count_limit\x18\x02 \x01(\x03\x42\n\x18\x01\xb2\xe6*\x04>= 0\x12G\n\x1a\x61uto_partitioning_settings\x18\x04 \x01(\x0b\x32#.Ydb.Topic.AutoPartitioningSettings\"\x9f\x01\n\x18\x41utoPartitioningSettings\x12\x35\n\x08strategy\x18\x01 \x01(\x0e\x32#.Ydb.Topic.AutoPartitioningStrategy\x12L\n\x15partition_write_speed\x18\x02 \x01(\x0b\x32-.Ydb.Topic.AutoPartitioningWriteSpeedStrategy\"\xb3\x01\n\"AutoPartitioningWriteSpeedStrategy\x12\x37\n\x14stabilization_window\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n\x16up_utilization_percent\x18\x02 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0\x12*\n\x18\x64own_utilization_percent\x18\x03 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0\"\x8b\x03\n\x19\x41lterPartitioningSettings\x12\x30\n\x19set_min_active_partitions\x18\x01 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x00\x88\x01\x01\x12\x30\n\x19set_max_active_partitions\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x32\n\x19set_partition_count_limit\x18\x02 \x01(\x03\x42\n\x18\x01\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x12W\n alter_auto_partitioning_settings\x18\x04 \x01(\x0b\x32(.Ydb.Topic.AlterAutoPartitioningSettingsH\x03\x88\x01\x01\x42\x1c\n\x1a_set_min_active_partitionsB\x1c\n\x1a_set_max_active_partitionsB\x1c\n\x1a_set_partition_count_limitB#\n!_alter_auto_partitioning_settings\"\xea\x01\n\x1d\x41lterAutoPartitioningSettings\x12>\n\x0cset_strategy\x18\x01 \x01(\x0e\x32#.Ydb.Topic.AutoPartitioningStrategyH\x00\x88\x01\x01\x12Z\n\x19set_partition_write_speed\x18\x02 \x01(\x0b\x32\x32.Ydb.Topic.AlterAutoPartitioningWriteSpeedStrategyH\x01\x88\x01\x01\x42\x0f\n\r_set_strategyB\x1c\n\x1a_set_partition_write_speed\"\xb0\x02\n\'AlterAutoPartitioningWriteSpeedStrategy\x12@\n\x18set_stabilization_window\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x12\x31\n\x1aset_up_utilization_percent\x18\x02 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x33\n\x1cset_down_utilization_percent\x18\x03 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x42\x1b\n\x19_set_stabilization_windowB\x1d\n\x1b_set_up_utilization_percentB\x1f\n\x1d_set_down_utilization_percent\"\xf6\x04\n\x12\x43reateTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12>\n\x15partitioning_settings\x18\x03 \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12&\n\x14retention_storage_mb\x18\x05 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\x34\n\x10supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x38\n&partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12-\n\x1bpartition_write_burst_bytes\x18\t \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\x41\n\nattributes\x18\n \x03(\x0b\x32-.Ydb.Topic.CreateTopicRequest.AttributesEntry\x12/\n\tconsumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.ConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12.\n\rmetering_mode\x18\x0c \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x06\x10\x07\"C\n\x13\x43reateTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x13\n\x11\x43reateTopicResult\"8\n\x11PartitionLocation\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x12\n\ngeneration\x18\x02 \x01(\x03\"\x90\x01\n\x14\x44\x65scribeTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x15\n\rinclude_stats\x18\x03 \x01(\x08\x12\x18\n\x10include_location\x18\x04 \x01(\x08\"E\n\x15\x44\x65scribeTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"_\n\x11PartitionKeyRange\x12\x17\n\nfrom_bound\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x15\n\x08to_bound\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x42\r\n\x0b_from_boundB\x0b\n\t_to_bound\"\xfa\t\n\x13\x44\x65scribeTopicResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12>\n\x15partitioning_settings\x18\x02 \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12@\n\npartitions\x18\x03 \x03(\x0b\x32,.Ydb.Topic.DescribeTopicResult.PartitionInfo\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14retention_storage_mb\x18\x05 \x01(\x03\x12\x34\n\x10supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12.\n&partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x12\x33\n+partition_total_read_speed_bytes_per_second\x18\x0e \x01(\x03\x12\x36\n.partition_consumer_read_speed_bytes_per_second\x18\x0f \x01(\x03\x12#\n\x1bpartition_write_burst_bytes\x18\t \x01(\x03\x12\x42\n\nattributes\x18\n \x03(\x0b\x32..Ydb.Topic.DescribeTopicResult.AttributesEntry\x12&\n\tconsumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.Consumer\x12.\n\rmetering_mode\x18\x0c \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x12>\n\x0btopic_stats\x18\r \x01(\x0b\x32).Ydb.Topic.DescribeTopicResult.TopicStats\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x8f\x02\n\rPartitionInfo\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x61\x63tive\x18\x02 \x01(\x08\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\x12\x1c\n\x14parent_partition_ids\x18\x04 \x03(\x03\x12\x32\n\x0fpartition_stats\x18\x05 \x01(\x0b\x32\x19.Ydb.Topic.PartitionStats\x12\x38\n\x12partition_location\x18\x06 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x12/\n\tkey_range\x18\x07 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionKeyRange\x1a\xcd\x01\n\nTopicStats\x12\x18\n\x10store_size_bytes\x18\x01 \x01(\x03\x12\x37\n\x13min_last_write_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12max_write_time_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\rbytes_written\x18\x04 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStatJ\x04\x08\x06\x10\x07\"\xaa\x01\n\x18\x44\x65scribePartitionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x15\n\rinclude_stats\x18\x04 \x01(\x08\x12\x18\n\x10include_location\x18\x05 \x01(\x08\"I\n\x19\x44\x65scribePartitionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"Z\n\x17\x44\x65scribePartitionResult\x12?\n\tpartition\x18\x01 \x01(\x0b\x32,.Ydb.Topic.DescribeTopicResult.PartitionInfo\"\xa5\x01\n\x17\x44\x65scribeConsumerRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x10\n\x08\x63onsumer\x18\x03 \x01(\t\x12\x15\n\rinclude_stats\x18\x04 \x01(\x08\x12\x18\n\x10include_location\x18\x05 \x01(\x08\"H\n\x18\x44\x65scribeConsumerResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xd3\x07\n\x16\x44\x65scribeConsumerResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12%\n\x08\x63onsumer\x18\x02 \x01(\x0b\x32\x13.Ydb.Topic.Consumer\x12\x43\n\npartitions\x18\x03 \x03(\x0b\x32/.Ydb.Topic.DescribeConsumerResult.PartitionInfo\x1a\xba\x02\n\rPartitionInfo\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x61\x63tive\x18\x02 \x01(\x08\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\x12\x1c\n\x14parent_partition_ids\x18\x04 \x03(\x03\x12\x32\n\x0fpartition_stats\x18\x05 \x01(\x0b\x32\x19.Ydb.Topic.PartitionStats\x12Z\n\x18partition_consumer_stats\x18\x06 \x01(\x0b\x32\x38.Ydb.Topic.DescribeConsumerResult.PartitionConsumerStats\x12\x38\n\x12partition_location\x18\x07 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\xee\x03\n\x16PartitionConsumerStats\x12\x18\n\x10last_read_offset\x18\x01 \x01(\x03\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x12\x17\n\x0fread_session_id\x18\x03 \x01(\t\x12\x46\n\"partition_read_session_create_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0elast_read_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x11max_read_time_lag\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12max_write_time_lag\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16max_committed_time_lag\x18\r \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\nbytes_read\x18\x08 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStat\x12\x13\n\x0breader_name\x18\x0b \x01(\t\x12\x1a\n\x12\x63onnection_node_id\x18\x0c \x01(\x05\"\xa0\x02\n\x0ePartitionStats\x12\x32\n\x11partition_offsets\x18\x01 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x18\n\x10store_size_bytes\x18\x02 \x01(\x03\x12\x33\n\x0flast_write_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12max_write_time_lag\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\rbytes_written\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStat\x12\x1d\n\x11partition_node_id\x18\x08 \x01(\x05\x42\x02\x18\x01\"\x87\x07\n\x11\x41lterTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12I\n\x1b\x61lter_partitioning_settings\x18\x03 \x01(\x0b\x32$.Ydb.Topic.AlterPartitioningSettings\x12\x37\n\x14set_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x18set_retention_storage_mb\x18\x05 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x00\x88\x01\x01\x12\x38\n\x14set_supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x41\n*set_partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x36\n\x1fset_partition_write_burst_bytes\x18\t \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x12K\n\x10\x61lter_attributes\x18\n \x03(\x0b\x32\x31.Ydb.Topic.AlterTopicRequest.AlterAttributesEntry\x12\x33\n\radd_consumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.ConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12\x1f\n\x0e\x64rop_consumers\x18\x0c \x03(\tB\x07\x9a\xe6*\x03\x18\xb8\x17\x12:\n\x0f\x61lter_consumers\x18\r \x03(\x0b\x32\x18.Ydb.Topic.AlterConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12\x32\n\x11set_metering_mode\x18\x0e \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x1b\n\x19_set_retention_storage_mbB-\n+_set_partition_write_speed_bytes_per_secondB\"\n _set_partition_write_burst_bytesJ\x04\x08\x06\x10\x07\"B\n\x12\x41lterTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x12\n\x10\x41lterTopicResult\"[\n\x10\x44ropTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"A\n\x11\x44ropTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x11\n\x0f\x44ropTopicResult*\x83\x01\n\x05\x43odec\x12\x15\n\x11\x43ODEC_UNSPECIFIED\x10\x00\x12\r\n\tCODEC_RAW\x10\x01\x12\x0e\n\nCODEC_GZIP\x10\x02\x12\x0e\n\nCODEC_LZOP\x10\x03\x12\x0e\n\nCODEC_ZSTD\x10\x04\x12\x11\n\x0c\x43ODEC_CUSTOM\x10\x90N\"\x05\x08\x05\x10\x8fN\"\n\x08\xa0\x9c\x01\x10\xff\xff\xff\xff\x07*\xf1\x01\n\x18\x41utoPartitioningStrategy\x12*\n&AUTO_PARTITIONING_STRATEGY_UNSPECIFIED\x10\x00\x12\'\n#AUTO_PARTITIONING_STRATEGY_DISABLED\x10\x01\x12\'\n#AUTO_PARTITIONING_STRATEGY_SCALE_UP\x10\x02\x12\x30\n,AUTO_PARTITIONING_STRATEGY_SCALE_UP_AND_DOWN\x10\x03\x12%\n!AUTO_PARTITIONING_STRATEGY_PAUSED\x10\x04*s\n\x0cMeteringMode\x12\x1d\n\x19METERING_MODE_UNSPECIFIED\x10\x00\x12#\n\x1fMETERING_MODE_RESERVED_CAPACITY\x10\x01\x12\x1f\n\x1bMETERING_MODE_REQUEST_UNITS\x10\x02\x42S\n\x14tech.ydb.proto.topicZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Topic\xf8\x01\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16protos/ydb_topic.proto\x12\tYdb.Topic\x1a\x1aprotos/ydb_operation.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\"protos/annotations/sensitive.proto\x1a#protos/annotations/validation.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"7\n\x0fSupportedCodecs\x12$\n\x06\x63odecs\x18\x01 \x03(\x05\x42\x14\xb2\xe6*\n[1; 19999]\x9a\xe6*\x02\x18\x64\"*\n\x0cOffsetsRange\x12\r\n\x05start\x18\x01 \x01(\x03\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x03\")\n\x12UpdateTokenRequest\x12\x13\n\x05token\x18\x01 \x01(\tB\x04\xb8\xe6*\x01\"\x15\n\x13UpdateTokenResponse\"C\n\x17PartitionWithGeneration\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x12\n\ngeneration\x18\x02 \x01(\x03\"*\n\x0cMetadataItem\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\"\x9e\x14\n\x12StreamWriteMessage\x1a\xe5\x01\n\nFromClient\x12\x41\n\x0cinit_request\x18\x01 \x01(\x0b\x32).Ydb.Topic.StreamWriteMessage.InitRequestH\x00\x12\x43\n\rwrite_request\x18\x02 \x01(\x0b\x32*.Ydb.Topic.StreamWriteMessage.WriteRequestH\x00\x12=\n\x14update_token_request\x18\x03 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x42\x10\n\x0e\x63lient_message\x1a\xbf\x02\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x43\n\rinit_response\x18\x03 \x01(\x0b\x32*.Ydb.Topic.StreamWriteMessage.InitResponseH\x00\x12\x45\n\x0ewrite_response\x18\x04 \x01(\x0b\x32+.Ydb.Topic.StreamWriteMessage.WriteResponseH\x00\x12?\n\x15update_token_response\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x42\x10\n\x0eserver_message\x1a\xfe\x02\n\x0bInitRequest\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x1c\n\x0bproducer_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12[\n\x12write_session_meta\x18\x03 \x03(\x0b\x32?.Ydb.Topic.StreamWriteMessage.InitRequest.WriteSessionMetaEntry\x12#\n\x10message_group_id\x18\x04 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10H\x00\x12\x16\n\x0cpartition_id\x18\x05 \x01(\x03H\x00\x12G\n\x19partition_with_generation\x18\x07 \x01(\x0b\x32\".Ydb.Topic.PartitionWithGenerationH\x00\x12\x17\n\x0fget_last_seq_no\x18\x06 \x01(\x08\x1a\x37\n\x15WriteSessionMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0cpartitioning\x1a\x83\x01\n\x0cInitResponse\x12\x13\n\x0blast_seq_no\x18\x01 \x01(\x03\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x34\n\x10supported_codecs\x18\x04 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x1a\xe8\x03\n\x0cWriteRequest\x12H\n\x08messages\x18\x01 \x03(\x0b\x32\x36.Ydb.Topic.StreamWriteMessage.WriteRequest.MessageData\x12\r\n\x05\x63odec\x18\x02 \x01(\x05\x12/\n\x02tx\x18\x03 \x01(\x0b\x32\x1e.Ydb.Topic.TransactionIdentityH\x00\x88\x01\x01\x1a\xc6\x02\n\x0bMessageData\x12\x0e\n\x06seq_no\x18\x01 \x01(\x03\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x19\n\x11uncompressed_size\x18\x04 \x01(\x03\x12#\n\x10message_group_id\x18\x05 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10H\x00\x12\x16\n\x0cpartition_id\x18\x06 \x01(\x03H\x00\x12G\n\x19partition_with_generation\x18\x08 \x01(\x0b\x32\".Ydb.Topic.PartitionWithGenerationH\x00\x12\x38\n\x0emetadata_items\x18\x07 \x03(\x0b\x32\x17.Ydb.Topic.MetadataItemB\x07\x9a\xe6*\x03\x18\xe8\x07\x42\x0e\n\x0cpartitioningB\x05\n\x03_tx\x1a\xeb\x07\n\rWriteResponse\x12\x42\n\x04\x61\x63ks\x18\x01 \x03(\x0b\x32\x34.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck\x12\x14\n\x0cpartition_id\x18\x02 \x01(\x03\x12U\n\x10write_statistics\x18\x03 \x01(\x0b\x32;.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteStatistics\x1a\xf8\x03\n\x08WriteAck\x12\x0e\n\x06seq_no\x18\x01 \x01(\x03\x12O\n\x07written\x18\x02 \x01(\x0b\x32<.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.WrittenH\x00\x12O\n\x07skipped\x18\x03 \x01(\x0b\x32<.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.SkippedH\x00\x12Y\n\rwritten_in_tx\x18\x04 \x01(\x0b\x32@.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.WrittenInTxH\x00\x1a\x19\n\x07Written\x12\x0e\n\x06offset\x18\x01 \x01(\x03\x1a\x9c\x01\n\x07Skipped\x12S\n\x06reason\x18\x01 \x01(\x0e\x32\x43.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.Skipped.Reason\"<\n\x06Reason\x12\x16\n\x12REASON_UNSPECIFIED\x10\x00\x12\x1a\n\x16REASON_ALREADY_WRITTEN\x10\x01\x1a\r\n\x0bWrittenInTxB\x16\n\x14message_write_status\x1a\xad\x02\n\x0fWriteStatistics\x12\x32\n\x0fpersisting_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13min_queue_wait_time\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13max_queue_wait_time\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19partition_quota_wait_time\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15topic_quota_wait_time\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xd8#\n\x11StreamReadMessage\x1aT\n\x10PartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x1a\xb1\x05\n\nFromClient\x12@\n\x0cinit_request\x18\x01 \x01(\x0b\x32(.Ydb.Topic.StreamReadMessage.InitRequestH\x00\x12@\n\x0cread_request\x18\x02 \x01(\x0b\x32(.Ydb.Topic.StreamReadMessage.ReadRequestH\x00\x12Q\n\x15\x63ommit_offset_request\x18\x03 \x01(\x0b\x32\x30.Ydb.Topic.StreamReadMessage.CommitOffsetRequestH\x00\x12\x66\n partition_session_status_request\x18\x04 \x01(\x0b\x32:.Ydb.Topic.StreamReadMessage.PartitionSessionStatusRequestH\x00\x12=\n\x14update_token_request\x18\x05 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x12\x45\n\x0f\x64irect_read_ack\x18\x08 \x01(\x0b\x32*.Ydb.Topic.StreamReadMessage.DirectReadAckH\x00\x12\x66\n start_partition_session_response\x18\x06 \x01(\x0b\x32:.Ydb.Topic.StreamReadMessage.StartPartitionSessionResponseH\x00\x12\x64\n\x1fstop_partition_session_response\x18\x07 \x01(\x0b\x32\x39.Ydb.Topic.StreamReadMessage.StopPartitionSessionResponseH\x00\x42\x10\n\x0e\x63lient_message\x1a\xf0\x06\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x42\n\rinit_response\x18\x03 \x01(\x0b\x32).Ydb.Topic.StreamReadMessage.InitResponseH\x00\x12\x42\n\rread_response\x18\x04 \x01(\x0b\x32).Ydb.Topic.StreamReadMessage.ReadResponseH\x00\x12S\n\x16\x63ommit_offset_response\x18\x05 \x01(\x0b\x32\x31.Ydb.Topic.StreamReadMessage.CommitOffsetResponseH\x00\x12h\n!partition_session_status_response\x18\x06 \x01(\x0b\x32;.Ydb.Topic.StreamReadMessage.PartitionSessionStatusResponseH\x00\x12?\n\x15update_token_response\x18\x07 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x12\x64\n\x1fstart_partition_session_request\x18\x08 \x01(\x0b\x32\x39.Ydb.Topic.StreamReadMessage.StartPartitionSessionRequestH\x00\x12\x62\n\x1estop_partition_session_request\x18\t \x01(\x0b\x32\x38.Ydb.Topic.StreamReadMessage.StopPartitionSessionRequestH\x00\x12W\n\x18update_partition_session\x18\n \x01(\x0b\x32\x33.Ydb.Topic.StreamReadMessage.UpdatePartitionSessionH\x00\x12Q\n\x15\x65nd_partition_session\x18\x0b \x01(\x0b\x32\x30.Ydb.Topic.StreamReadMessage.EndPartitionSessionH\x00\x42\x10\n\x0eserver_message\x1a\x83\x03\n\x0bInitRequest\x12X\n\x14topics_read_settings\x18\x01 \x03(\x0b\x32:.Ydb.Topic.StreamReadMessage.InitRequest.TopicReadSettings\x12\x10\n\x08\x63onsumer\x18\x02 \x01(\t\x12\x13\n\x0breader_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64irect_read\x18\x04 \x01(\x08\x12!\n\x19\x61uto_partitioning_support\x18\x05 \x01(\x08\x12%\n\x1dpartition_max_in_flight_bytes\x18\x06 \x01(\x04\x1a\x93\x01\n\x11TopicReadSettings\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x15\n\rpartition_ids\x18\x02 \x03(\x03\x12*\n\x07max_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\tread_from\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\"\n\x0cInitResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\x1a!\n\x0bReadRequest\x12\x12\n\nbytes_size\x18\x01 \x01(\x03\x1a\x91\x06\n\x0cReadResponse\x12O\n\x0epartition_data\x18\x01 \x03(\x0b\x32\x37.Ydb.Topic.StreamReadMessage.ReadResponse.PartitionData\x12\x12\n\nbytes_size\x18\x02 \x01(\x03\x1a\xda\x01\n\x0bMessageData\x12\x0e\n\x06offset\x18\x01 \x01(\x03\x12\x0e\n\x06seq_no\x18\x02 \x01(\x03\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c\x12\x19\n\x11uncompressed_size\x18\x06 \x01(\x03\x12!\n\x10message_group_id\x18\x07 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12/\n\x0emetadata_items\x18\x08 \x03(\x0b\x32\x17.Ydb.Topic.MetadataItem\x1a\xcd\x02\n\x05\x42\x61tch\x12K\n\x0cmessage_data\x18\x01 \x03(\x0b\x32\x35.Ydb.Topic.StreamReadMessage.ReadResponse.MessageData\x12\x1c\n\x0bproducer_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12\x61\n\x12write_session_meta\x18\x03 \x03(\x0b\x32\x45.Ydb.Topic.StreamReadMessage.ReadResponse.Batch.WriteSessionMetaEntry\x12\r\n\x05\x63odec\x18\x04 \x01(\x05\x12.\n\nwritten_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x37\n\x15WriteSessionMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1ao\n\rPartitionData\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12@\n\x07\x62\x61tches\x18\x02 \x03(\x0b\x32/.Ydb.Topic.StreamReadMessage.ReadResponse.Batch\x1a\xd6\x01\n\x13\x43ommitOffsetRequest\x12^\n\x0e\x63ommit_offsets\x18\x01 \x03(\x0b\x32\x46.Ydb.Topic.StreamReadMessage.CommitOffsetRequest.PartitionCommitOffset\x1a_\n\x15PartitionCommitOffset\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12(\n\x07offsets\x18\x02 \x03(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x1a\xdc\x01\n\x14\x43ommitOffsetResponse\x12p\n\x1cpartitions_committed_offsets\x18\x01 \x03(\x0b\x32J.Ydb.Topic.StreamReadMessage.CommitOffsetResponse.PartitionCommittedOffset\x1aR\n\x18PartitionCommittedOffset\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x1a=\n\x1dPartitionSessionStatusRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x1a\xe0\x01\n\x1ePartitionSessionStatusResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x02 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x18\n\x10\x63ommitted_offset\x18\x03 \x01(\x03\x12=\n\x19write_time_high_watermark\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bread_offset\x18\x05 \x01(\x03\x1a\xf0\x01\n\x1cStartPartitionSessionRequest\x12H\n\x11partition_session\x18\x01 \x01(\x0b\x32-.Ydb.Topic.StreamReadMessage.PartitionSession\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x03 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x38\n\x12partition_location\x18\x04 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\x95\x01\n\x1dStartPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x18\n\x0bread_offset\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x1a\n\rcommit_offset\x18\x03 \x01(\x03H\x01\x88\x01\x01\x42\x0e\n\x0c_read_offsetB\x10\n\x0e_commit_offset\x1a\x84\x01\n\x1bStopPartitionSessionRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x10\n\x08graceful\x18\x02 \x01(\x08\x12\x18\n\x10\x63ommitted_offset\x18\x03 \x01(\x03\x12\x1b\n\x13last_direct_read_id\x18\x04 \x01(\x03\x1aN\n\x1cStopPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x10\n\x08graceful\x18\x02 \x01(\x08\x1ap\n\x16UpdatePartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x38\n\x12partition_location\x18\x02 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\x45\n\rDirectReadAck\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x16\n\x0e\x64irect_read_id\x18\x02 \x01(\x03\x1ap\n\x13\x45ndPartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x1e\n\x16\x61\x64jacent_partition_ids\x18\x02 \x03(\x03\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\"\x8b\r\n\x17StreamDirectReadMessage\x1a\xa8\x02\n\nFromClient\x12\x46\n\x0cinit_request\x18\x01 \x01(\x0b\x32..Ydb.Topic.StreamDirectReadMessage.InitRequestH\x00\x12\x80\x01\n+start_direct_read_partition_session_request\x18\x02 \x01(\x0b\x32I.Ydb.Topic.StreamDirectReadMessage.StartDirectReadPartitionSessionRequestH\x00\x12=\n\x14update_token_request\x18\x03 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x42\x10\n\x0e\x63lient_message\x1a\xca\x04\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12H\n\rinit_response\x18\x06 \x01(\x0b\x32/.Ydb.Topic.StreamDirectReadMessage.InitResponseH\x00\x12\x82\x01\n,start_direct_read_partition_session_response\x18\x07 \x01(\x0b\x32J.Ydb.Topic.StreamDirectReadMessage.StartDirectReadPartitionSessionResponseH\x00\x12o\n\"stop_direct_read_partition_session\x18\x03 \x01(\x0b\x32\x41.Ydb.Topic.StreamDirectReadMessage.StopDirectReadPartitionSessionH\x00\x12U\n\x14\x64irect_read_response\x18\x04 \x01(\x0b\x32\x35.Ydb.Topic.StreamDirectReadMessage.DirectReadResponseH\x00\x12?\n\x15update_token_response\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x42\x10\n\x0eserver_message\x1a\xb6\x01\n\x0bInitRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12^\n\x14topics_read_settings\x18\x02 \x03(\x0b\x32@.Ydb.Topic.StreamDirectReadMessage.InitRequest.TopicReadSettings\x12\x10\n\x08\x63onsumer\x18\x03 \x01(\t\x1a!\n\x11TopicReadSettings\x12\x0c\n\x04path\x18\x01 \x01(\t\x1a\x0e\n\x0cInitResponse\x1aw\n&StartDirectReadPartitionSessionRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x1b\n\x13last_direct_read_id\x18\x02 \x01(\x03\x12\x12\n\ngeneration\x18\x03 \x01(\x03\x1a[\n\'StartDirectReadPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x12\n\ngeneration\x18\x02 \x01(\x03\x1a\xa6\x01\n\x1eStopDirectReadPartitionSession\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x1c\n\x14partition_session_id\x18\x03 \x01(\x03\x12\x12\n\ngeneration\x18\x04 \x01(\x03\x1a\xaf\x01\n\x12\x44irectReadResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x16\n\x0e\x64irect_read_id\x18\x02 \x01(\x03\x12O\n\x0epartition_data\x18\x03 \x01(\x0b\x32\x37.Ydb.Topic.StreamReadMessage.ReadResponse.PartitionData\x12\x12\n\nbytes_size\x18\x04 \x01(\x03\"2\n\x13TransactionIdentity\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07session\x18\x02 \x01(\t\"\xc4\x03\n!UpdateOffsetsInTransactionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12*\n\x02tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Topic.TransactionIdentity\x12I\n\x06topics\x18\x03 \x03(\x0b\x32\x39.Ydb.Topic.UpdateOffsetsInTransactionRequest.TopicOffsets\x12\x10\n\x08\x63onsumer\x18\x04 \x01(\t\x1a\xda\x01\n\x0cTopicOffsets\x12\x0c\n\x04path\x18\x01 \x01(\t\x12^\n\npartitions\x18\x02 \x03(\x0b\x32J.Ydb.Topic.UpdateOffsetsInTransactionRequest.TopicOffsets.PartitionOffsets\x1a\\\n\x10PartitionOffsets\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x02 \x03(\x0b\x32\x17.Ydb.Topic.OffsetsRange\"R\n\"UpdateOffsetsInTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\"\n UpdateOffsetsInTransactionResult\"\xaf\x01\n\x13\x43ommitOffsetRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x10\n\x08\x63onsumer\x18\x04 \x01(\t\x12\x0e\n\x06offset\x18\x05 \x01(\x03\x12\x17\n\x0fread_session_id\x18\x06 \x01(\t\"D\n\x14\x43ommitOffsetResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x14\n\x12\x43ommitOffsetResult\"L\n\x13MultipleWindowsStat\x12\x12\n\nper_minute\x18\x01 \x01(\x03\x12\x10\n\x08per_hour\x18\x02 \x01(\x03\x12\x0f\n\x07per_day\x18\x03 \x01(\x03\"\xc3\x05\n\x08\x43onsumer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\timportant\x18\x02 \x01(\x08\x12-\n\tread_from\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10supported_codecs\x18\x05 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x37\n\nattributes\x18\x06 \x03(\x0b\x32#.Ydb.Topic.Consumer.AttributesEntry\x12\x39\n\x0e\x63onsumer_stats\x18\x07 \x01(\x0b\x32!.Ydb.Topic.Consumer.ConsumerStats\x12;\n\x13\x61vailability_period\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xae\x02\n\rConsumerStats\x12\x41\n\x1dmin_partitions_last_read_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x11max_read_time_lag\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12max_write_time_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16max_committed_time_lag\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\nbytes_read\x18\x04 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStatB\x16\n\x14_availability_periodJ\x04\x08\x04\x10\x05\"\xd8\x03\n\rAlterConsumer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1a\n\rset_important\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x31\n\rset_read_from\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14set_supported_codecs\x18\x05 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12G\n\x10\x61lter_attributes\x18\x06 \x03(\x0b\x32-.Ydb.Topic.AlterConsumer.AlterAttributesEntry\x12<\n\x17set_availability_period\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12;\n\x19reset_availability_period\x18\x08 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x1c\n\x1a\x61vailability_period_actionB\x10\n\x0e_set_importantJ\x04\x08\x04\x10\x05\"\xdc\x01\n\x14PartitioningSettings\x12\'\n\x15min_active_partitions\x18\x01 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\'\n\x15max_active_partitions\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12)\n\x15partition_count_limit\x18\x02 \x01(\x03\x42\n\x18\x01\xb2\xe6*\x04>= 0\x12G\n\x1a\x61uto_partitioning_settings\x18\x04 \x01(\x0b\x32#.Ydb.Topic.AutoPartitioningSettings\"\x9f\x01\n\x18\x41utoPartitioningSettings\x12\x35\n\x08strategy\x18\x01 \x01(\x0e\x32#.Ydb.Topic.AutoPartitioningStrategy\x12L\n\x15partition_write_speed\x18\x02 \x01(\x0b\x32-.Ydb.Topic.AutoPartitioningWriteSpeedStrategy\"\xb3\x01\n\"AutoPartitioningWriteSpeedStrategy\x12\x37\n\x14stabilization_window\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n\x16up_utilization_percent\x18\x02 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0\x12*\n\x18\x64own_utilization_percent\x18\x03 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0\"\x8b\x03\n\x19\x41lterPartitioningSettings\x12\x30\n\x19set_min_active_partitions\x18\x01 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x00\x88\x01\x01\x12\x30\n\x19set_max_active_partitions\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x32\n\x19set_partition_count_limit\x18\x02 \x01(\x03\x42\n\x18\x01\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x12W\n alter_auto_partitioning_settings\x18\x04 \x01(\x0b\x32(.Ydb.Topic.AlterAutoPartitioningSettingsH\x03\x88\x01\x01\x42\x1c\n\x1a_set_min_active_partitionsB\x1c\n\x1a_set_max_active_partitionsB\x1c\n\x1a_set_partition_count_limitB#\n!_alter_auto_partitioning_settings\"\xea\x01\n\x1d\x41lterAutoPartitioningSettings\x12>\n\x0cset_strategy\x18\x01 \x01(\x0e\x32#.Ydb.Topic.AutoPartitioningStrategyH\x00\x88\x01\x01\x12Z\n\x19set_partition_write_speed\x18\x02 \x01(\x0b\x32\x32.Ydb.Topic.AlterAutoPartitioningWriteSpeedStrategyH\x01\x88\x01\x01\x42\x0f\n\r_set_strategyB\x1c\n\x1a_set_partition_write_speed\"\xb0\x02\n\'AlterAutoPartitioningWriteSpeedStrategy\x12@\n\x18set_stabilization_window\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x12\x31\n\x1aset_up_utilization_percent\x18\x02 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x33\n\x1cset_down_utilization_percent\x18\x03 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x42\x1b\n\x19_set_stabilization_windowB\x1d\n\x1b_set_up_utilization_percentB\x1f\n\x1d_set_down_utilization_percent\"\xc9\x05\n\x12\x43reateTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12>\n\x15partitioning_settings\x18\x03 \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12&\n\x14retention_storage_mb\x18\x05 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\x34\n\x10supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x38\n&partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12-\n\x1bpartition_write_burst_bytes\x18\t \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\x41\n\nattributes\x18\n \x03(\x0b\x32-.Ydb.Topic.CreateTopicRequest.AttributesEntry\x12/\n\tconsumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.ConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12.\n\rmetering_mode\x18\x0c \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x12\x1a\n\rmetrics_level\x18\r \x01(\rH\x00\x88\x01\x01\x12#\n\x1b\x63ontent_based_deduplication\x18\x0e \x01(\x08\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x10\n\x0e_metrics_levelJ\x04\x08\x06\x10\x07\"C\n\x13\x43reateTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x13\n\x11\x43reateTopicResult\"8\n\x11PartitionLocation\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x12\n\ngeneration\x18\x02 \x01(\x03\"\x90\x01\n\x14\x44\x65scribeTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x15\n\rinclude_stats\x18\x03 \x01(\x08\x12\x18\n\x10include_location\x18\x04 \x01(\x08\"E\n\x15\x44\x65scribeTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"_\n\x11PartitionKeyRange\x12\x17\n\nfrom_bound\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x15\n\x08to_bound\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x42\r\n\x0b_from_boundB\x0b\n\t_to_bound\"\xcd\n\n\x13\x44\x65scribeTopicResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12>\n\x15partitioning_settings\x18\x02 \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12@\n\npartitions\x18\x03 \x03(\x0b\x32,.Ydb.Topic.DescribeTopicResult.PartitionInfo\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14retention_storage_mb\x18\x05 \x01(\x03\x12\x34\n\x10supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12.\n&partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x12\x33\n+partition_total_read_speed_bytes_per_second\x18\x0e \x01(\x03\x12\x36\n.partition_consumer_read_speed_bytes_per_second\x18\x0f \x01(\x03\x12#\n\x1bpartition_write_burst_bytes\x18\t \x01(\x03\x12\x42\n\nattributes\x18\n \x03(\x0b\x32..Ydb.Topic.DescribeTopicResult.AttributesEntry\x12&\n\tconsumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.Consumer\x12.\n\rmetering_mode\x18\x0c \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x12>\n\x0btopic_stats\x18\r \x01(\x0b\x32).Ydb.Topic.DescribeTopicResult.TopicStats\x12\x1a\n\rmetrics_level\x18\x10 \x01(\rH\x00\x88\x01\x01\x12#\n\x1b\x63ontent_based_deduplication\x18\x11 \x01(\x08\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x8f\x02\n\rPartitionInfo\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x61\x63tive\x18\x02 \x01(\x08\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\x12\x1c\n\x14parent_partition_ids\x18\x04 \x03(\x03\x12\x32\n\x0fpartition_stats\x18\x05 \x01(\x0b\x32\x19.Ydb.Topic.PartitionStats\x12\x38\n\x12partition_location\x18\x06 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x12/\n\tkey_range\x18\x07 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionKeyRange\x1a\xcd\x01\n\nTopicStats\x12\x18\n\x10store_size_bytes\x18\x01 \x01(\x03\x12\x37\n\x13min_last_write_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12max_write_time_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\rbytes_written\x18\x04 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStatB\x10\n\x0e_metrics_levelJ\x04\x08\x06\x10\x07\"\xaa\x01\n\x18\x44\x65scribePartitionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x15\n\rinclude_stats\x18\x04 \x01(\x08\x12\x18\n\x10include_location\x18\x05 \x01(\x08\"I\n\x19\x44\x65scribePartitionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"Z\n\x17\x44\x65scribePartitionResult\x12?\n\tpartition\x18\x01 \x01(\x0b\x32,.Ydb.Topic.DescribeTopicResult.PartitionInfo\"\xa5\x01\n\x17\x44\x65scribeConsumerRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x10\n\x08\x63onsumer\x18\x03 \x01(\t\x12\x15\n\rinclude_stats\x18\x04 \x01(\x08\x12\x18\n\x10include_location\x18\x05 \x01(\x08\"H\n\x18\x44\x65scribeConsumerResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xd3\x07\n\x16\x44\x65scribeConsumerResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12%\n\x08\x63onsumer\x18\x02 \x01(\x0b\x32\x13.Ydb.Topic.Consumer\x12\x43\n\npartitions\x18\x03 \x03(\x0b\x32/.Ydb.Topic.DescribeConsumerResult.PartitionInfo\x1a\xba\x02\n\rPartitionInfo\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x61\x63tive\x18\x02 \x01(\x08\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\x12\x1c\n\x14parent_partition_ids\x18\x04 \x03(\x03\x12\x32\n\x0fpartition_stats\x18\x05 \x01(\x0b\x32\x19.Ydb.Topic.PartitionStats\x12Z\n\x18partition_consumer_stats\x18\x06 \x01(\x0b\x32\x38.Ydb.Topic.DescribeConsumerResult.PartitionConsumerStats\x12\x38\n\x12partition_location\x18\x07 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\xee\x03\n\x16PartitionConsumerStats\x12\x18\n\x10last_read_offset\x18\x01 \x01(\x03\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x12\x17\n\x0fread_session_id\x18\x03 \x01(\t\x12\x46\n\"partition_read_session_create_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0elast_read_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x11max_read_time_lag\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12max_write_time_lag\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16max_committed_time_lag\x18\r \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\nbytes_read\x18\x08 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStat\x12\x13\n\x0breader_name\x18\x0b \x01(\t\x12\x1a\n\x12\x63onnection_node_id\x18\x0c \x01(\x05\"\xa0\x02\n\x0ePartitionStats\x12\x32\n\x11partition_offsets\x18\x01 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x18\n\x10store_size_bytes\x18\x02 \x01(\x03\x12\x33\n\x0flast_write_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12max_write_time_lag\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\rbytes_written\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStat\x12\x1d\n\x11partition_node_id\x18\x08 \x01(\x05\x42\x02\x18\x01\"\xbe\x08\n\x11\x41lterTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12I\n\x1b\x61lter_partitioning_settings\x18\x03 \x01(\x0b\x32$.Ydb.Topic.AlterPartitioningSettings\x12\x37\n\x14set_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x18set_retention_storage_mb\x18\x05 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x38\n\x14set_supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x41\n*set_partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x12\x36\n\x1fset_partition_write_burst_bytes\x18\t \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x03\x88\x01\x01\x12K\n\x10\x61lter_attributes\x18\n \x03(\x0b\x32\x31.Ydb.Topic.AlterTopicRequest.AlterAttributesEntry\x12\x33\n\radd_consumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.ConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12\x1f\n\x0e\x64rop_consumers\x18\x0c \x03(\tB\x07\x9a\xe6*\x03\x18\xb8\x17\x12:\n\x0f\x61lter_consumers\x18\r \x03(\x0b\x32\x18.Ydb.Topic.AlterConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12\x32\n\x11set_metering_mode\x18\x0e \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x12\x1b\n\x11set_metrics_level\x18\x0f \x01(\rH\x00\x12\x35\n\x13reset_metrics_level\x18\x10 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12,\n\x1fset_content_based_deduplication\x18\x11 \x01(\x08H\x04\x88\x01\x01\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\rmetrics_levelB\x1b\n\x19_set_retention_storage_mbB-\n+_set_partition_write_speed_bytes_per_secondB\"\n _set_partition_write_burst_bytesB\"\n _set_content_based_deduplicationJ\x04\x08\x06\x10\x07\"B\n\x12\x41lterTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x12\n\x10\x41lterTopicResult\"[\n\x10\x44ropTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"A\n\x11\x44ropTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x11\n\x0f\x44ropTopicResult*\x83\x01\n\x05\x43odec\x12\x15\n\x11\x43ODEC_UNSPECIFIED\x10\x00\x12\r\n\tCODEC_RAW\x10\x01\x12\x0e\n\nCODEC_GZIP\x10\x02\x12\x0e\n\nCODEC_LZOP\x10\x03\x12\x0e\n\nCODEC_ZSTD\x10\x04\x12\x11\n\x0c\x43ODEC_CUSTOM\x10\x90N\"\x05\x08\x05\x10\x8fN\"\n\x08\xa0\x9c\x01\x10\xff\xff\xff\xff\x07*\xf1\x01\n\x18\x41utoPartitioningStrategy\x12*\n&AUTO_PARTITIONING_STRATEGY_UNSPECIFIED\x10\x00\x12\'\n#AUTO_PARTITIONING_STRATEGY_DISABLED\x10\x01\x12\'\n#AUTO_PARTITIONING_STRATEGY_SCALE_UP\x10\x02\x12\x30\n,AUTO_PARTITIONING_STRATEGY_SCALE_UP_AND_DOWN\x10\x03\x12%\n!AUTO_PARTITIONING_STRATEGY_PAUSED\x10\x04*s\n\x0cMeteringMode\x12\x1d\n\x19METERING_MODE_UNSPECIFIED\x10\x00\x12#\n\x1fMETERING_MODE_RESERVED_CAPACITY\x10\x01\x12\x1f\n\x1bMETERING_MODE_REQUEST_UNITS\x10\x02\x42S\n\x14tech.ydb.proto.topicZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Topic\xf8\x01\x01\x62\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protos.ydb_topic_pb2', globals()) @@ -103,12 +103,12 @@ _ALTERTOPICREQUEST.fields_by_name['drop_consumers']._serialized_options = b'\232\346*\003\030\270\027' _ALTERTOPICREQUEST.fields_by_name['alter_consumers']._options = None _ALTERTOPICREQUEST.fields_by_name['alter_consumers']._serialized_options = b'\232\346*\003\030\270\027' - _CODEC._serialized_start=18453 - _CODEC._serialized_end=18584 - _AUTOPARTITIONINGSTRATEGY._serialized_start=18587 - _AUTOPARTITIONINGSTRATEGY._serialized_end=18828 - _METERINGMODE._serialized_start=18830 - _METERINGMODE._serialized_end=18945 + _CODEC._serialized_start=18862 + _CODEC._serialized_end=18993 + _AUTOPARTITIONINGSTRATEGY._serialized_start=18996 + _AUTOPARTITIONINGSTRATEGY._serialized_end=19237 + _METERINGMODE._serialized_start=19239 + _METERINGMODE._serialized_end=19354 _SUPPORTEDCODECS._serialized_start=320 _SUPPORTEDCODECS._serialized_end=375 _OFFSETSRANGE._serialized_start=377 @@ -152,7 +152,7 @@ _STREAMWRITEMESSAGE_WRITERESPONSE_WRITESTATISTICS._serialized_start=2890 _STREAMWRITEMESSAGE_WRITERESPONSE_WRITESTATISTICS._serialized_end=3191 _STREAMREADMESSAGE._serialized_start=3194 - _STREAMREADMESSAGE._serialized_end=7702 + _STREAMREADMESSAGE._serialized_end=7762 _STREAMREADMESSAGE_PARTITIONSESSION._serialized_start=3215 _STREAMREADMESSAGE_PARTITIONSESSION._serialized_end=3299 _STREAMREADMESSAGE_FROMCLIENT._serialized_start=3302 @@ -160,165 +160,165 @@ _STREAMREADMESSAGE_FROMSERVER._serialized_start=3994 _STREAMREADMESSAGE_FROMSERVER._serialized_end=4874 _STREAMREADMESSAGE_INITREQUEST._serialized_start=4877 - _STREAMREADMESSAGE_INITREQUEST._serialized_end=5225 - _STREAMREADMESSAGE_INITREQUEST_TOPICREADSETTINGS._serialized_start=5078 - _STREAMREADMESSAGE_INITREQUEST_TOPICREADSETTINGS._serialized_end=5225 - _STREAMREADMESSAGE_INITRESPONSE._serialized_start=5227 - _STREAMREADMESSAGE_INITRESPONSE._serialized_end=5261 - _STREAMREADMESSAGE_READREQUEST._serialized_start=5263 - _STREAMREADMESSAGE_READREQUEST._serialized_end=5296 - _STREAMREADMESSAGE_READRESPONSE._serialized_start=5299 - _STREAMREADMESSAGE_READRESPONSE._serialized_end=6084 - _STREAMREADMESSAGE_READRESPONSE_MESSAGEDATA._serialized_start=5417 - _STREAMREADMESSAGE_READRESPONSE_MESSAGEDATA._serialized_end=5635 - _STREAMREADMESSAGE_READRESPONSE_BATCH._serialized_start=5638 - _STREAMREADMESSAGE_READRESPONSE_BATCH._serialized_end=5971 + _STREAMREADMESSAGE_INITREQUEST._serialized_end=5264 + _STREAMREADMESSAGE_INITREQUEST_TOPICREADSETTINGS._serialized_start=5117 + _STREAMREADMESSAGE_INITREQUEST_TOPICREADSETTINGS._serialized_end=5264 + _STREAMREADMESSAGE_INITRESPONSE._serialized_start=5266 + _STREAMREADMESSAGE_INITRESPONSE._serialized_end=5300 + _STREAMREADMESSAGE_READREQUEST._serialized_start=5302 + _STREAMREADMESSAGE_READREQUEST._serialized_end=5335 + _STREAMREADMESSAGE_READRESPONSE._serialized_start=5338 + _STREAMREADMESSAGE_READRESPONSE._serialized_end=6123 + _STREAMREADMESSAGE_READRESPONSE_MESSAGEDATA._serialized_start=5456 + _STREAMREADMESSAGE_READRESPONSE_MESSAGEDATA._serialized_end=5674 + _STREAMREADMESSAGE_READRESPONSE_BATCH._serialized_start=5677 + _STREAMREADMESSAGE_READRESPONSE_BATCH._serialized_end=6010 _STREAMREADMESSAGE_READRESPONSE_BATCH_WRITESESSIONMETAENTRY._serialized_start=1489 _STREAMREADMESSAGE_READRESPONSE_BATCH_WRITESESSIONMETAENTRY._serialized_end=1544 - _STREAMREADMESSAGE_READRESPONSE_PARTITIONDATA._serialized_start=5973 - _STREAMREADMESSAGE_READRESPONSE_PARTITIONDATA._serialized_end=6084 - _STREAMREADMESSAGE_COMMITOFFSETREQUEST._serialized_start=6087 - _STREAMREADMESSAGE_COMMITOFFSETREQUEST._serialized_end=6301 - _STREAMREADMESSAGE_COMMITOFFSETREQUEST_PARTITIONCOMMITOFFSET._serialized_start=6206 - _STREAMREADMESSAGE_COMMITOFFSETREQUEST_PARTITIONCOMMITOFFSET._serialized_end=6301 - _STREAMREADMESSAGE_COMMITOFFSETRESPONSE._serialized_start=6304 - _STREAMREADMESSAGE_COMMITOFFSETRESPONSE._serialized_end=6524 - _STREAMREADMESSAGE_COMMITOFFSETRESPONSE_PARTITIONCOMMITTEDOFFSET._serialized_start=6442 - _STREAMREADMESSAGE_COMMITOFFSETRESPONSE_PARTITIONCOMMITTEDOFFSET._serialized_end=6524 - _STREAMREADMESSAGE_PARTITIONSESSIONSTATUSREQUEST._serialized_start=6526 - _STREAMREADMESSAGE_PARTITIONSESSIONSTATUSREQUEST._serialized_end=6587 - _STREAMREADMESSAGE_PARTITIONSESSIONSTATUSRESPONSE._serialized_start=6590 - _STREAMREADMESSAGE_PARTITIONSESSIONSTATUSRESPONSE._serialized_end=6793 - _STREAMREADMESSAGE_STARTPARTITIONSESSIONREQUEST._serialized_start=6796 - _STREAMREADMESSAGE_STARTPARTITIONSESSIONREQUEST._serialized_end=7036 - _STREAMREADMESSAGE_STARTPARTITIONSESSIONRESPONSE._serialized_start=7039 - _STREAMREADMESSAGE_STARTPARTITIONSESSIONRESPONSE._serialized_end=7188 - _STREAMREADMESSAGE_STOPPARTITIONSESSIONREQUEST._serialized_start=7191 - _STREAMREADMESSAGE_STOPPARTITIONSESSIONREQUEST._serialized_end=7323 - _STREAMREADMESSAGE_STOPPARTITIONSESSIONRESPONSE._serialized_start=7325 - _STREAMREADMESSAGE_STOPPARTITIONSESSIONRESPONSE._serialized_end=7403 - _STREAMREADMESSAGE_UPDATEPARTITIONSESSION._serialized_start=7405 - _STREAMREADMESSAGE_UPDATEPARTITIONSESSION._serialized_end=7517 - _STREAMREADMESSAGE_DIRECTREADACK._serialized_start=7519 - _STREAMREADMESSAGE_DIRECTREADACK._serialized_end=7588 - _STREAMREADMESSAGE_ENDPARTITIONSESSION._serialized_start=7590 - _STREAMREADMESSAGE_ENDPARTITIONSESSION._serialized_end=7702 - _STREAMDIRECTREADMESSAGE._serialized_start=7705 - _STREAMDIRECTREADMESSAGE._serialized_end=9380 - _STREAMDIRECTREADMESSAGE_FROMCLIENT._serialized_start=7733 - _STREAMDIRECTREADMESSAGE_FROMCLIENT._serialized_end=8029 - _STREAMDIRECTREADMESSAGE_FROMSERVER._serialized_start=8032 - _STREAMDIRECTREADMESSAGE_FROMSERVER._serialized_end=8618 - _STREAMDIRECTREADMESSAGE_INITREQUEST._serialized_start=8621 - _STREAMDIRECTREADMESSAGE_INITREQUEST._serialized_end=8803 - _STREAMDIRECTREADMESSAGE_INITREQUEST_TOPICREADSETTINGS._serialized_start=5078 - _STREAMDIRECTREADMESSAGE_INITREQUEST_TOPICREADSETTINGS._serialized_end=5111 + _STREAMREADMESSAGE_READRESPONSE_PARTITIONDATA._serialized_start=6012 + _STREAMREADMESSAGE_READRESPONSE_PARTITIONDATA._serialized_end=6123 + _STREAMREADMESSAGE_COMMITOFFSETREQUEST._serialized_start=6126 + _STREAMREADMESSAGE_COMMITOFFSETREQUEST._serialized_end=6340 + _STREAMREADMESSAGE_COMMITOFFSETREQUEST_PARTITIONCOMMITOFFSET._serialized_start=6245 + _STREAMREADMESSAGE_COMMITOFFSETREQUEST_PARTITIONCOMMITOFFSET._serialized_end=6340 + _STREAMREADMESSAGE_COMMITOFFSETRESPONSE._serialized_start=6343 + _STREAMREADMESSAGE_COMMITOFFSETRESPONSE._serialized_end=6563 + _STREAMREADMESSAGE_COMMITOFFSETRESPONSE_PARTITIONCOMMITTEDOFFSET._serialized_start=6481 + _STREAMREADMESSAGE_COMMITOFFSETRESPONSE_PARTITIONCOMMITTEDOFFSET._serialized_end=6563 + _STREAMREADMESSAGE_PARTITIONSESSIONSTATUSREQUEST._serialized_start=6565 + _STREAMREADMESSAGE_PARTITIONSESSIONSTATUSREQUEST._serialized_end=6626 + _STREAMREADMESSAGE_PARTITIONSESSIONSTATUSRESPONSE._serialized_start=6629 + _STREAMREADMESSAGE_PARTITIONSESSIONSTATUSRESPONSE._serialized_end=6853 + _STREAMREADMESSAGE_STARTPARTITIONSESSIONREQUEST._serialized_start=6856 + _STREAMREADMESSAGE_STARTPARTITIONSESSIONREQUEST._serialized_end=7096 + _STREAMREADMESSAGE_STARTPARTITIONSESSIONRESPONSE._serialized_start=7099 + _STREAMREADMESSAGE_STARTPARTITIONSESSIONRESPONSE._serialized_end=7248 + _STREAMREADMESSAGE_STOPPARTITIONSESSIONREQUEST._serialized_start=7251 + _STREAMREADMESSAGE_STOPPARTITIONSESSIONREQUEST._serialized_end=7383 + _STREAMREADMESSAGE_STOPPARTITIONSESSIONRESPONSE._serialized_start=7385 + _STREAMREADMESSAGE_STOPPARTITIONSESSIONRESPONSE._serialized_end=7463 + _STREAMREADMESSAGE_UPDATEPARTITIONSESSION._serialized_start=7465 + _STREAMREADMESSAGE_UPDATEPARTITIONSESSION._serialized_end=7577 + _STREAMREADMESSAGE_DIRECTREADACK._serialized_start=7579 + _STREAMREADMESSAGE_DIRECTREADACK._serialized_end=7648 + _STREAMREADMESSAGE_ENDPARTITIONSESSION._serialized_start=7650 + _STREAMREADMESSAGE_ENDPARTITIONSESSION._serialized_end=7762 + _STREAMDIRECTREADMESSAGE._serialized_start=7765 + _STREAMDIRECTREADMESSAGE._serialized_end=9440 + _STREAMDIRECTREADMESSAGE_FROMCLIENT._serialized_start=7793 + _STREAMDIRECTREADMESSAGE_FROMCLIENT._serialized_end=8089 + _STREAMDIRECTREADMESSAGE_FROMSERVER._serialized_start=8092 + _STREAMDIRECTREADMESSAGE_FROMSERVER._serialized_end=8678 + _STREAMDIRECTREADMESSAGE_INITREQUEST._serialized_start=8681 + _STREAMDIRECTREADMESSAGE_INITREQUEST._serialized_end=8863 + _STREAMDIRECTREADMESSAGE_INITREQUEST_TOPICREADSETTINGS._serialized_start=5117 + _STREAMDIRECTREADMESSAGE_INITREQUEST_TOPICREADSETTINGS._serialized_end=5150 _STREAMDIRECTREADMESSAGE_INITRESPONSE._serialized_start=1563 _STREAMDIRECTREADMESSAGE_INITRESPONSE._serialized_end=1577 - _STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONREQUEST._serialized_start=8821 - _STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONREQUEST._serialized_end=8940 - _STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONRESPONSE._serialized_start=8942 - _STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONRESPONSE._serialized_end=9033 - _STREAMDIRECTREADMESSAGE_STOPDIRECTREADPARTITIONSESSION._serialized_start=9036 - _STREAMDIRECTREADMESSAGE_STOPDIRECTREADPARTITIONSESSION._serialized_end=9202 - _STREAMDIRECTREADMESSAGE_DIRECTREADRESPONSE._serialized_start=9205 - _STREAMDIRECTREADMESSAGE_DIRECTREADRESPONSE._serialized_end=9380 - _TRANSACTIONIDENTITY._serialized_start=9382 - _TRANSACTIONIDENTITY._serialized_end=9432 - _UPDATEOFFSETSINTRANSACTIONREQUEST._serialized_start=9435 - _UPDATEOFFSETSINTRANSACTIONREQUEST._serialized_end=9887 - _UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS._serialized_start=9669 - _UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS._serialized_end=9887 - _UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS_PARTITIONOFFSETS._serialized_start=9795 - _UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS_PARTITIONOFFSETS._serialized_end=9887 - _UPDATEOFFSETSINTRANSACTIONRESPONSE._serialized_start=9889 - _UPDATEOFFSETSINTRANSACTIONRESPONSE._serialized_end=9971 - _UPDATEOFFSETSINTRANSACTIONRESULT._serialized_start=9973 - _UPDATEOFFSETSINTRANSACTIONRESULT._serialized_end=10007 - _COMMITOFFSETREQUEST._serialized_start=10010 - _COMMITOFFSETREQUEST._serialized_end=10185 - _COMMITOFFSETRESPONSE._serialized_start=10187 - _COMMITOFFSETRESPONSE._serialized_end=10255 - _COMMITOFFSETRESULT._serialized_start=10257 - _COMMITOFFSETRESULT._serialized_end=10277 - _MULTIPLEWINDOWSSTAT._serialized_start=10279 - _MULTIPLEWINDOWSSTAT._serialized_end=10355 - _CONSUMER._serialized_start=10358 - _CONSUMER._serialized_end=11065 - _CONSUMER_ATTRIBUTESENTRY._serialized_start=10681 - _CONSUMER_ATTRIBUTESENTRY._serialized_end=10730 - _CONSUMER_CONSUMERSTATS._serialized_start=10733 - _CONSUMER_CONSUMERSTATS._serialized_end=11035 - _ALTERCONSUMER._serialized_start=11068 - _ALTERCONSUMER._serialized_end=11540 - _ALTERCONSUMER_ALTERATTRIBUTESENTRY._serialized_start=11432 - _ALTERCONSUMER_ALTERATTRIBUTESENTRY._serialized_end=11486 - _PARTITIONINGSETTINGS._serialized_start=11543 - _PARTITIONINGSETTINGS._serialized_end=11763 - _AUTOPARTITIONINGSETTINGS._serialized_start=11766 - _AUTOPARTITIONINGSETTINGS._serialized_end=11925 - _AUTOPARTITIONINGWRITESPEEDSTRATEGY._serialized_start=11928 - _AUTOPARTITIONINGWRITESPEEDSTRATEGY._serialized_end=12107 - _ALTERPARTITIONINGSETTINGS._serialized_start=12110 - _ALTERPARTITIONINGSETTINGS._serialized_end=12505 - _ALTERAUTOPARTITIONINGSETTINGS._serialized_start=12508 - _ALTERAUTOPARTITIONINGSETTINGS._serialized_end=12742 - _ALTERAUTOPARTITIONINGWRITESPEEDSTRATEGY._serialized_start=12745 - _ALTERAUTOPARTITIONINGWRITESPEEDSTRATEGY._serialized_end=13049 - _CREATETOPICREQUEST._serialized_start=13052 - _CREATETOPICREQUEST._serialized_end=13682 - _CREATETOPICREQUEST_ATTRIBUTESENTRY._serialized_start=10681 - _CREATETOPICREQUEST_ATTRIBUTESENTRY._serialized_end=10730 - _CREATETOPICRESPONSE._serialized_start=13684 - _CREATETOPICRESPONSE._serialized_end=13751 - _CREATETOPICRESULT._serialized_start=13753 - _CREATETOPICRESULT._serialized_end=13772 - _PARTITIONLOCATION._serialized_start=13774 - _PARTITIONLOCATION._serialized_end=13830 - _DESCRIBETOPICREQUEST._serialized_start=13833 - _DESCRIBETOPICREQUEST._serialized_end=13977 - _DESCRIBETOPICRESPONSE._serialized_start=13979 - _DESCRIBETOPICRESPONSE._serialized_end=14048 - _PARTITIONKEYRANGE._serialized_start=14050 - _PARTITIONKEYRANGE._serialized_end=14145 - _DESCRIBETOPICRESULT._serialized_start=14148 - _DESCRIBETOPICRESULT._serialized_end=15422 - _DESCRIBETOPICRESULT_ATTRIBUTESENTRY._serialized_start=10681 - _DESCRIBETOPICRESULT_ATTRIBUTESENTRY._serialized_end=10730 - _DESCRIBETOPICRESULT_PARTITIONINFO._serialized_start=14937 - _DESCRIBETOPICRESULT_PARTITIONINFO._serialized_end=15208 - _DESCRIBETOPICRESULT_TOPICSTATS._serialized_start=15211 - _DESCRIBETOPICRESULT_TOPICSTATS._serialized_end=15416 - _DESCRIBEPARTITIONREQUEST._serialized_start=15425 - _DESCRIBEPARTITIONREQUEST._serialized_end=15595 - _DESCRIBEPARTITIONRESPONSE._serialized_start=15597 - _DESCRIBEPARTITIONRESPONSE._serialized_end=15670 - _DESCRIBEPARTITIONRESULT._serialized_start=15672 - _DESCRIBEPARTITIONRESULT._serialized_end=15762 - _DESCRIBECONSUMERREQUEST._serialized_start=15765 - _DESCRIBECONSUMERREQUEST._serialized_end=15930 - _DESCRIBECONSUMERRESPONSE._serialized_start=15932 - _DESCRIBECONSUMERRESPONSE._serialized_end=16004 - _DESCRIBECONSUMERRESULT._serialized_start=16007 - _DESCRIBECONSUMERRESULT._serialized_end=16986 - _DESCRIBECONSUMERRESULT_PARTITIONINFO._serialized_start=16175 - _DESCRIBECONSUMERRESULT_PARTITIONINFO._serialized_end=16489 - _DESCRIBECONSUMERRESULT_PARTITIONCONSUMERSTATS._serialized_start=16492 - _DESCRIBECONSUMERRESULT_PARTITIONCONSUMERSTATS._serialized_end=16986 - _PARTITIONSTATS._serialized_start=16989 - _PARTITIONSTATS._serialized_end=17277 - _ALTERTOPICREQUEST._serialized_start=17280 - _ALTERTOPICREQUEST._serialized_end=18183 - _ALTERTOPICREQUEST_ALTERATTRIBUTESENTRY._serialized_start=11432 - _ALTERTOPICREQUEST_ALTERATTRIBUTESENTRY._serialized_end=11486 - _ALTERTOPICRESPONSE._serialized_start=18185 - _ALTERTOPICRESPONSE._serialized_end=18251 - _ALTERTOPICRESULT._serialized_start=18253 - _ALTERTOPICRESULT._serialized_end=18271 - _DROPTOPICREQUEST._serialized_start=18273 - _DROPTOPICREQUEST._serialized_end=18364 - _DROPTOPICRESPONSE._serialized_start=18366 - _DROPTOPICRESPONSE._serialized_end=18431 - _DROPTOPICRESULT._serialized_start=18433 - _DROPTOPICRESULT._serialized_end=18450 + _STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONREQUEST._serialized_start=8881 + _STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONREQUEST._serialized_end=9000 + _STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONRESPONSE._serialized_start=9002 + _STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONRESPONSE._serialized_end=9093 + _STREAMDIRECTREADMESSAGE_STOPDIRECTREADPARTITIONSESSION._serialized_start=9096 + _STREAMDIRECTREADMESSAGE_STOPDIRECTREADPARTITIONSESSION._serialized_end=9262 + _STREAMDIRECTREADMESSAGE_DIRECTREADRESPONSE._serialized_start=9265 + _STREAMDIRECTREADMESSAGE_DIRECTREADRESPONSE._serialized_end=9440 + _TRANSACTIONIDENTITY._serialized_start=9442 + _TRANSACTIONIDENTITY._serialized_end=9492 + _UPDATEOFFSETSINTRANSACTIONREQUEST._serialized_start=9495 + _UPDATEOFFSETSINTRANSACTIONREQUEST._serialized_end=9947 + _UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS._serialized_start=9729 + _UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS._serialized_end=9947 + _UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS_PARTITIONOFFSETS._serialized_start=9855 + _UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS_PARTITIONOFFSETS._serialized_end=9947 + _UPDATEOFFSETSINTRANSACTIONRESPONSE._serialized_start=9949 + _UPDATEOFFSETSINTRANSACTIONRESPONSE._serialized_end=10031 + _UPDATEOFFSETSINTRANSACTIONRESULT._serialized_start=10033 + _UPDATEOFFSETSINTRANSACTIONRESULT._serialized_end=10067 + _COMMITOFFSETREQUEST._serialized_start=10070 + _COMMITOFFSETREQUEST._serialized_end=10245 + _COMMITOFFSETRESPONSE._serialized_start=10247 + _COMMITOFFSETRESPONSE._serialized_end=10315 + _COMMITOFFSETRESULT._serialized_start=10317 + _COMMITOFFSETRESULT._serialized_end=10337 + _MULTIPLEWINDOWSSTAT._serialized_start=10339 + _MULTIPLEWINDOWSSTAT._serialized_end=10415 + _CONSUMER._serialized_start=10418 + _CONSUMER._serialized_end=11125 + _CONSUMER_ATTRIBUTESENTRY._serialized_start=10741 + _CONSUMER_ATTRIBUTESENTRY._serialized_end=10790 + _CONSUMER_CONSUMERSTATS._serialized_start=10793 + _CONSUMER_CONSUMERSTATS._serialized_end=11095 + _ALTERCONSUMER._serialized_start=11128 + _ALTERCONSUMER._serialized_end=11600 + _ALTERCONSUMER_ALTERATTRIBUTESENTRY._serialized_start=11492 + _ALTERCONSUMER_ALTERATTRIBUTESENTRY._serialized_end=11546 + _PARTITIONINGSETTINGS._serialized_start=11603 + _PARTITIONINGSETTINGS._serialized_end=11823 + _AUTOPARTITIONINGSETTINGS._serialized_start=11826 + _AUTOPARTITIONINGSETTINGS._serialized_end=11985 + _AUTOPARTITIONINGWRITESPEEDSTRATEGY._serialized_start=11988 + _AUTOPARTITIONINGWRITESPEEDSTRATEGY._serialized_end=12167 + _ALTERPARTITIONINGSETTINGS._serialized_start=12170 + _ALTERPARTITIONINGSETTINGS._serialized_end=12565 + _ALTERAUTOPARTITIONINGSETTINGS._serialized_start=12568 + _ALTERAUTOPARTITIONINGSETTINGS._serialized_end=12802 + _ALTERAUTOPARTITIONINGWRITESPEEDSTRATEGY._serialized_start=12805 + _ALTERAUTOPARTITIONINGWRITESPEEDSTRATEGY._serialized_end=13109 + _CREATETOPICREQUEST._serialized_start=13112 + _CREATETOPICREQUEST._serialized_end=13825 + _CREATETOPICREQUEST_ATTRIBUTESENTRY._serialized_start=10741 + _CREATETOPICREQUEST_ATTRIBUTESENTRY._serialized_end=10790 + _CREATETOPICRESPONSE._serialized_start=13827 + _CREATETOPICRESPONSE._serialized_end=13894 + _CREATETOPICRESULT._serialized_start=13896 + _CREATETOPICRESULT._serialized_end=13915 + _PARTITIONLOCATION._serialized_start=13917 + _PARTITIONLOCATION._serialized_end=13973 + _DESCRIBETOPICREQUEST._serialized_start=13976 + _DESCRIBETOPICREQUEST._serialized_end=14120 + _DESCRIBETOPICRESPONSE._serialized_start=14122 + _DESCRIBETOPICRESPONSE._serialized_end=14191 + _PARTITIONKEYRANGE._serialized_start=14193 + _PARTITIONKEYRANGE._serialized_end=14288 + _DESCRIBETOPICRESULT._serialized_start=14291 + _DESCRIBETOPICRESULT._serialized_end=15648 + _DESCRIBETOPICRESULT_ATTRIBUTESENTRY._serialized_start=10741 + _DESCRIBETOPICRESULT_ATTRIBUTESENTRY._serialized_end=10790 + _DESCRIBETOPICRESULT_PARTITIONINFO._serialized_start=15145 + _DESCRIBETOPICRESULT_PARTITIONINFO._serialized_end=15416 + _DESCRIBETOPICRESULT_TOPICSTATS._serialized_start=15419 + _DESCRIBETOPICRESULT_TOPICSTATS._serialized_end=15624 + _DESCRIBEPARTITIONREQUEST._serialized_start=15651 + _DESCRIBEPARTITIONREQUEST._serialized_end=15821 + _DESCRIBEPARTITIONRESPONSE._serialized_start=15823 + _DESCRIBEPARTITIONRESPONSE._serialized_end=15896 + _DESCRIBEPARTITIONRESULT._serialized_start=15898 + _DESCRIBEPARTITIONRESULT._serialized_end=15988 + _DESCRIBECONSUMERREQUEST._serialized_start=15991 + _DESCRIBECONSUMERREQUEST._serialized_end=16156 + _DESCRIBECONSUMERRESPONSE._serialized_start=16158 + _DESCRIBECONSUMERRESPONSE._serialized_end=16230 + _DESCRIBECONSUMERRESULT._serialized_start=16233 + _DESCRIBECONSUMERRESULT._serialized_end=17212 + _DESCRIBECONSUMERRESULT_PARTITIONINFO._serialized_start=16401 + _DESCRIBECONSUMERRESULT_PARTITIONINFO._serialized_end=16715 + _DESCRIBECONSUMERRESULT_PARTITIONCONSUMERSTATS._serialized_start=16718 + _DESCRIBECONSUMERRESULT_PARTITIONCONSUMERSTATS._serialized_end=17212 + _PARTITIONSTATS._serialized_start=17215 + _PARTITIONSTATS._serialized_end=17503 + _ALTERTOPICREQUEST._serialized_start=17506 + _ALTERTOPICREQUEST._serialized_end=18592 + _ALTERTOPICREQUEST_ALTERATTRIBUTESENTRY._serialized_start=11492 + _ALTERTOPICREQUEST_ALTERATTRIBUTESENTRY._serialized_end=11546 + _ALTERTOPICRESPONSE._serialized_start=18594 + _ALTERTOPICRESPONSE._serialized_end=18660 + _ALTERTOPICRESULT._serialized_start=18662 + _ALTERTOPICRESULT._serialized_end=18680 + _DROPTOPICREQUEST._serialized_start=18682 + _DROPTOPICREQUEST._serialized_end=18773 + _DROPTOPICRESPONSE._serialized_start=18775 + _DROPTOPICRESPONSE._serialized_end=18840 + _DROPTOPICRESULT._serialized_start=18842 + _DROPTOPICRESULT._serialized_end=18859 # @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v5/protos/ydb_topic_pb2.pyi b/ydb/_grpc/v5/protos/ydb_topic_pb2.pyi index 80b22929d..91f0c1012 100644 --- a/ydb/_grpc/v5/protos/ydb_topic_pb2.pyi +++ b/ydb/_grpc/v5/protos/ydb_topic_pb2.pyi @@ -85,7 +85,7 @@ class AlterPartitioningSettings(_message.Message): def __init__(self, set_min_active_partitions: _Optional[int] = ..., set_max_active_partitions: _Optional[int] = ..., set_partition_count_limit: _Optional[int] = ..., alter_auto_partitioning_settings: _Optional[_Union[AlterAutoPartitioningSettings, _Mapping]] = ...) -> None: ... class AlterTopicRequest(_message.Message): - __slots__ = ["add_consumers", "alter_attributes", "alter_consumers", "alter_partitioning_settings", "drop_consumers", "operation_params", "path", "set_metering_mode", "set_partition_write_burst_bytes", "set_partition_write_speed_bytes_per_second", "set_retention_period", "set_retention_storage_mb", "set_supported_codecs"] + __slots__ = ["add_consumers", "alter_attributes", "alter_consumers", "alter_partitioning_settings", "drop_consumers", "operation_params", "path", "reset_metrics_level", "set_content_based_deduplication", "set_metering_mode", "set_metrics_level", "set_partition_write_burst_bytes", "set_partition_write_speed_bytes_per_second", "set_retention_period", "set_retention_storage_mb", "set_supported_codecs"] class AlterAttributesEntry(_message.Message): __slots__ = ["key", "value"] KEY_FIELD_NUMBER: _ClassVar[int] @@ -100,7 +100,10 @@ class AlterTopicRequest(_message.Message): DROP_CONSUMERS_FIELD_NUMBER: _ClassVar[int] OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] PATH_FIELD_NUMBER: _ClassVar[int] + RESET_METRICS_LEVEL_FIELD_NUMBER: _ClassVar[int] + SET_CONTENT_BASED_DEDUPLICATION_FIELD_NUMBER: _ClassVar[int] SET_METERING_MODE_FIELD_NUMBER: _ClassVar[int] + SET_METRICS_LEVEL_FIELD_NUMBER: _ClassVar[int] SET_PARTITION_WRITE_BURST_BYTES_FIELD_NUMBER: _ClassVar[int] SET_PARTITION_WRITE_SPEED_BYTES_PER_SECOND_FIELD_NUMBER: _ClassVar[int] SET_RETENTION_PERIOD_FIELD_NUMBER: _ClassVar[int] @@ -113,13 +116,16 @@ class AlterTopicRequest(_message.Message): drop_consumers: _containers.RepeatedScalarFieldContainer[str] operation_params: _ydb_operation_pb2.OperationParams path: str + reset_metrics_level: _empty_pb2.Empty + set_content_based_deduplication: bool set_metering_mode: MeteringMode + set_metrics_level: int set_partition_write_burst_bytes: int set_partition_write_speed_bytes_per_second: int set_retention_period: _duration_pb2.Duration set_retention_storage_mb: int set_supported_codecs: SupportedCodecs - def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ..., alter_partitioning_settings: _Optional[_Union[AlterPartitioningSettings, _Mapping]] = ..., set_retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., set_retention_storage_mb: _Optional[int] = ..., set_supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., set_partition_write_speed_bytes_per_second: _Optional[int] = ..., set_partition_write_burst_bytes: _Optional[int] = ..., alter_attributes: _Optional[_Mapping[str, str]] = ..., add_consumers: _Optional[_Iterable[_Union[Consumer, _Mapping]]] = ..., drop_consumers: _Optional[_Iterable[str]] = ..., alter_consumers: _Optional[_Iterable[_Union[AlterConsumer, _Mapping]]] = ..., set_metering_mode: _Optional[_Union[MeteringMode, str]] = ...) -> None: ... + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ..., alter_partitioning_settings: _Optional[_Union[AlterPartitioningSettings, _Mapping]] = ..., set_retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., set_retention_storage_mb: _Optional[int] = ..., set_supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., set_partition_write_speed_bytes_per_second: _Optional[int] = ..., set_partition_write_burst_bytes: _Optional[int] = ..., alter_attributes: _Optional[_Mapping[str, str]] = ..., add_consumers: _Optional[_Iterable[_Union[Consumer, _Mapping]]] = ..., drop_consumers: _Optional[_Iterable[str]] = ..., alter_consumers: _Optional[_Iterable[_Union[AlterConsumer, _Mapping]]] = ..., set_metering_mode: _Optional[_Union[MeteringMode, str]] = ..., set_metrics_level: _Optional[int] = ..., reset_metrics_level: _Optional[_Union[_empty_pb2.Empty, _Mapping]] = ..., set_content_based_deduplication: bool = ...) -> None: ... class AlterTopicResponse(_message.Message): __slots__ = ["operation"] @@ -214,7 +220,7 @@ class Consumer(_message.Message): def __init__(self, name: _Optional[str] = ..., important: bool = ..., read_from: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., attributes: _Optional[_Mapping[str, str]] = ..., consumer_stats: _Optional[_Union[Consumer.ConsumerStats, _Mapping]] = ..., availability_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... class CreateTopicRequest(_message.Message): - __slots__ = ["attributes", "consumers", "metering_mode", "operation_params", "partition_write_burst_bytes", "partition_write_speed_bytes_per_second", "partitioning_settings", "path", "retention_period", "retention_storage_mb", "supported_codecs"] + __slots__ = ["attributes", "consumers", "content_based_deduplication", "metering_mode", "metrics_level", "operation_params", "partition_write_burst_bytes", "partition_write_speed_bytes_per_second", "partitioning_settings", "path", "retention_period", "retention_storage_mb", "supported_codecs"] class AttributesEntry(_message.Message): __slots__ = ["key", "value"] KEY_FIELD_NUMBER: _ClassVar[int] @@ -224,7 +230,9 @@ class CreateTopicRequest(_message.Message): def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] CONSUMERS_FIELD_NUMBER: _ClassVar[int] + CONTENT_BASED_DEDUPLICATION_FIELD_NUMBER: _ClassVar[int] METERING_MODE_FIELD_NUMBER: _ClassVar[int] + METRICS_LEVEL_FIELD_NUMBER: _ClassVar[int] OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] PARTITIONING_SETTINGS_FIELD_NUMBER: _ClassVar[int] PARTITION_WRITE_BURST_BYTES_FIELD_NUMBER: _ClassVar[int] @@ -235,7 +243,9 @@ class CreateTopicRequest(_message.Message): SUPPORTED_CODECS_FIELD_NUMBER: _ClassVar[int] attributes: _containers.ScalarMap[str, str] consumers: _containers.RepeatedCompositeFieldContainer[Consumer] + content_based_deduplication: bool metering_mode: MeteringMode + metrics_level: int operation_params: _ydb_operation_pb2.OperationParams partition_write_burst_bytes: int partition_write_speed_bytes_per_second: int @@ -244,7 +254,7 @@ class CreateTopicRequest(_message.Message): retention_period: _duration_pb2.Duration retention_storage_mb: int supported_codecs: SupportedCodecs - def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ..., partitioning_settings: _Optional[_Union[PartitioningSettings, _Mapping]] = ..., retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., retention_storage_mb: _Optional[int] = ..., supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., partition_write_speed_bytes_per_second: _Optional[int] = ..., partition_write_burst_bytes: _Optional[int] = ..., attributes: _Optional[_Mapping[str, str]] = ..., consumers: _Optional[_Iterable[_Union[Consumer, _Mapping]]] = ..., metering_mode: _Optional[_Union[MeteringMode, str]] = ...) -> None: ... + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ..., partitioning_settings: _Optional[_Union[PartitioningSettings, _Mapping]] = ..., retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., retention_storage_mb: _Optional[int] = ..., supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., partition_write_speed_bytes_per_second: _Optional[int] = ..., partition_write_burst_bytes: _Optional[int] = ..., attributes: _Optional[_Mapping[str, str]] = ..., consumers: _Optional[_Iterable[_Union[Consumer, _Mapping]]] = ..., metering_mode: _Optional[_Union[MeteringMode, str]] = ..., metrics_level: _Optional[int] = ..., content_based_deduplication: bool = ...) -> None: ... class CreateTopicResponse(_message.Message): __slots__ = ["operation"] @@ -373,7 +383,7 @@ class DescribeTopicResponse(_message.Message): def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... class DescribeTopicResult(_message.Message): - __slots__ = ["attributes", "consumers", "metering_mode", "partition_consumer_read_speed_bytes_per_second", "partition_total_read_speed_bytes_per_second", "partition_write_burst_bytes", "partition_write_speed_bytes_per_second", "partitioning_settings", "partitions", "retention_period", "retention_storage_mb", "self", "supported_codecs", "topic_stats"] + __slots__ = ["attributes", "consumers", "content_based_deduplication", "metering_mode", "metrics_level", "partition_consumer_read_speed_bytes_per_second", "partition_total_read_speed_bytes_per_second", "partition_write_burst_bytes", "partition_write_speed_bytes_per_second", "partitioning_settings", "partitions", "retention_period", "retention_storage_mb", "self", "supported_codecs", "topic_stats"] class AttributesEntry(_message.Message): __slots__ = ["key", "value"] KEY_FIELD_NUMBER: _ClassVar[int] @@ -411,7 +421,9 @@ class DescribeTopicResult(_message.Message): def __init__(self, store_size_bytes: _Optional[int] = ..., min_last_write_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., max_write_time_lag: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., bytes_written: _Optional[_Union[MultipleWindowsStat, _Mapping]] = ...) -> None: ... ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] CONSUMERS_FIELD_NUMBER: _ClassVar[int] + CONTENT_BASED_DEDUPLICATION_FIELD_NUMBER: _ClassVar[int] METERING_MODE_FIELD_NUMBER: _ClassVar[int] + METRICS_LEVEL_FIELD_NUMBER: _ClassVar[int] PARTITIONING_SETTINGS_FIELD_NUMBER: _ClassVar[int] PARTITIONS_FIELD_NUMBER: _ClassVar[int] PARTITION_CONSUMER_READ_SPEED_BYTES_PER_SECOND_FIELD_NUMBER: _ClassVar[int] @@ -425,7 +437,9 @@ class DescribeTopicResult(_message.Message): TOPIC_STATS_FIELD_NUMBER: _ClassVar[int] attributes: _containers.ScalarMap[str, str] consumers: _containers.RepeatedCompositeFieldContainer[Consumer] + content_based_deduplication: bool metering_mode: MeteringMode + metrics_level: int partition_consumer_read_speed_bytes_per_second: int partition_total_read_speed_bytes_per_second: int partition_write_burst_bytes: int @@ -437,7 +451,7 @@ class DescribeTopicResult(_message.Message): self: _ydb_scheme_pb2.Entry supported_codecs: SupportedCodecs topic_stats: DescribeTopicResult.TopicStats - def __init__(self, self_: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., partitioning_settings: _Optional[_Union[PartitioningSettings, _Mapping]] = ..., partitions: _Optional[_Iterable[_Union[DescribeTopicResult.PartitionInfo, _Mapping]]] = ..., retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., retention_storage_mb: _Optional[int] = ..., supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., partition_write_speed_bytes_per_second: _Optional[int] = ..., partition_total_read_speed_bytes_per_second: _Optional[int] = ..., partition_consumer_read_speed_bytes_per_second: _Optional[int] = ..., partition_write_burst_bytes: _Optional[int] = ..., attributes: _Optional[_Mapping[str, str]] = ..., consumers: _Optional[_Iterable[_Union[Consumer, _Mapping]]] = ..., metering_mode: _Optional[_Union[MeteringMode, str]] = ..., topic_stats: _Optional[_Union[DescribeTopicResult.TopicStats, _Mapping]] = ...) -> None: ... + def __init__(self, self_: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., partitioning_settings: _Optional[_Union[PartitioningSettings, _Mapping]] = ..., partitions: _Optional[_Iterable[_Union[DescribeTopicResult.PartitionInfo, _Mapping]]] = ..., retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., retention_storage_mb: _Optional[int] = ..., supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., partition_write_speed_bytes_per_second: _Optional[int] = ..., partition_total_read_speed_bytes_per_second: _Optional[int] = ..., partition_consumer_read_speed_bytes_per_second: _Optional[int] = ..., partition_write_burst_bytes: _Optional[int] = ..., attributes: _Optional[_Mapping[str, str]] = ..., consumers: _Optional[_Iterable[_Union[Consumer, _Mapping]]] = ..., metering_mode: _Optional[_Union[MeteringMode, str]] = ..., topic_stats: _Optional[_Union[DescribeTopicResult.TopicStats, _Mapping]] = ..., metrics_level: _Optional[int] = ..., content_based_deduplication: bool = ...) -> None: ... class DropTopicRequest(_message.Message): __slots__ = ["operation_params", "path"] @@ -707,7 +721,7 @@ class StreamReadMessage(_message.Message): update_token_response: UpdateTokenResponse def __init__(self, status: _Optional[_Union[_ydb_status_codes_pb2.StatusIds.StatusCode, str]] = ..., issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ..., init_response: _Optional[_Union[StreamReadMessage.InitResponse, _Mapping]] = ..., read_response: _Optional[_Union[StreamReadMessage.ReadResponse, _Mapping]] = ..., commit_offset_response: _Optional[_Union[StreamReadMessage.CommitOffsetResponse, _Mapping]] = ..., partition_session_status_response: _Optional[_Union[StreamReadMessage.PartitionSessionStatusResponse, _Mapping]] = ..., update_token_response: _Optional[_Union[UpdateTokenResponse, _Mapping]] = ..., start_partition_session_request: _Optional[_Union[StreamReadMessage.StartPartitionSessionRequest, _Mapping]] = ..., stop_partition_session_request: _Optional[_Union[StreamReadMessage.StopPartitionSessionRequest, _Mapping]] = ..., update_partition_session: _Optional[_Union[StreamReadMessage.UpdatePartitionSession, _Mapping]] = ..., end_partition_session: _Optional[_Union[StreamReadMessage.EndPartitionSession, _Mapping]] = ...) -> None: ... class InitRequest(_message.Message): - __slots__ = ["auto_partitioning_support", "consumer", "direct_read", "reader_name", "topics_read_settings"] + __slots__ = ["auto_partitioning_support", "consumer", "direct_read", "partition_max_in_flight_bytes", "reader_name", "topics_read_settings"] class TopicReadSettings(_message.Message): __slots__ = ["max_lag", "partition_ids", "path", "read_from"] MAX_LAG_FIELD_NUMBER: _ClassVar[int] @@ -722,14 +736,16 @@ class StreamReadMessage(_message.Message): AUTO_PARTITIONING_SUPPORT_FIELD_NUMBER: _ClassVar[int] CONSUMER_FIELD_NUMBER: _ClassVar[int] DIRECT_READ_FIELD_NUMBER: _ClassVar[int] + PARTITION_MAX_IN_FLIGHT_BYTES_FIELD_NUMBER: _ClassVar[int] READER_NAME_FIELD_NUMBER: _ClassVar[int] TOPICS_READ_SETTINGS_FIELD_NUMBER: _ClassVar[int] auto_partitioning_support: bool consumer: str direct_read: bool + partition_max_in_flight_bytes: int reader_name: str topics_read_settings: _containers.RepeatedCompositeFieldContainer[StreamReadMessage.InitRequest.TopicReadSettings] - def __init__(self, topics_read_settings: _Optional[_Iterable[_Union[StreamReadMessage.InitRequest.TopicReadSettings, _Mapping]]] = ..., consumer: _Optional[str] = ..., reader_name: _Optional[str] = ..., direct_read: bool = ..., auto_partitioning_support: bool = ...) -> None: ... + def __init__(self, topics_read_settings: _Optional[_Iterable[_Union[StreamReadMessage.InitRequest.TopicReadSettings, _Mapping]]] = ..., consumer: _Optional[str] = ..., reader_name: _Optional[str] = ..., direct_read: bool = ..., auto_partitioning_support: bool = ..., partition_max_in_flight_bytes: _Optional[int] = ...) -> None: ... class InitResponse(_message.Message): __slots__ = ["session_id"] SESSION_ID_FIELD_NUMBER: _ClassVar[int] @@ -750,16 +766,18 @@ class StreamReadMessage(_message.Message): partition_session_id: int def __init__(self, partition_session_id: _Optional[int] = ...) -> None: ... class PartitionSessionStatusResponse(_message.Message): - __slots__ = ["committed_offset", "partition_offsets", "partition_session_id", "write_time_high_watermark"] + __slots__ = ["committed_offset", "partition_offsets", "partition_session_id", "read_offset", "write_time_high_watermark"] COMMITTED_OFFSET_FIELD_NUMBER: _ClassVar[int] PARTITION_OFFSETS_FIELD_NUMBER: _ClassVar[int] PARTITION_SESSION_ID_FIELD_NUMBER: _ClassVar[int] + READ_OFFSET_FIELD_NUMBER: _ClassVar[int] WRITE_TIME_HIGH_WATERMARK_FIELD_NUMBER: _ClassVar[int] committed_offset: int partition_offsets: OffsetsRange partition_session_id: int + read_offset: int write_time_high_watermark: _timestamp_pb2.Timestamp - def __init__(self, partition_session_id: _Optional[int] = ..., partition_offsets: _Optional[_Union[OffsetsRange, _Mapping]] = ..., committed_offset: _Optional[int] = ..., write_time_high_watermark: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... + def __init__(self, partition_session_id: _Optional[int] = ..., partition_offsets: _Optional[_Union[OffsetsRange, _Mapping]] = ..., committed_offset: _Optional[int] = ..., write_time_high_watermark: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., read_offset: _Optional[int] = ...) -> None: ... class ReadRequest(_message.Message): __slots__ = ["bytes_size"] BYTES_SIZE_FIELD_NUMBER: _ClassVar[int] diff --git a/ydb/_grpc/v5/ydb_table_v1_pb2.py b/ydb/_grpc/v5/ydb_table_v1_pb2.py index d5e17a7d4..213855f55 100644 --- a/ydb/_grpc/v5/ydb_table_v1_pb2.py +++ b/ydb/_grpc/v5/ydb_table_v1_pb2.py @@ -15,7 +15,7 @@ from ydb._grpc.v5.protos import ydb_table_pb2 as protos_dot_ydb__table__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12ydb_table_v1.proto\x12\x0cYdb.Table.V1\x1a\x16protos/ydb_table.proto2\xe9\x0e\n\x0cTableService\x12R\n\rCreateSession\x12\x1f.Ydb.Table.CreateSessionRequest\x1a .Ydb.Table.CreateSessionResponse\x12R\n\rDeleteSession\x12\x1f.Ydb.Table.DeleteSessionRequest\x1a .Ydb.Table.DeleteSessionResponse\x12\x46\n\tKeepAlive\x12\x1b.Ydb.Table.KeepAliveRequest\x1a\x1c.Ydb.Table.KeepAliveResponse\x12L\n\x0b\x43reateTable\x12\x1d.Ydb.Table.CreateTableRequest\x1a\x1e.Ydb.Table.CreateTableResponse\x12\x46\n\tDropTable\x12\x1b.Ydb.Table.DropTableRequest\x1a\x1c.Ydb.Table.DropTableResponse\x12I\n\nAlterTable\x12\x1c.Ydb.Table.AlterTableRequest\x1a\x1d.Ydb.Table.AlterTableResponse\x12\x46\n\tCopyTable\x12\x1b.Ydb.Table.CopyTableRequest\x1a\x1c.Ydb.Table.CopyTableResponse\x12I\n\nCopyTables\x12\x1c.Ydb.Table.CopyTablesRequest\x1a\x1d.Ydb.Table.CopyTablesResponse\x12O\n\x0cRenameTables\x12\x1e.Ydb.Table.RenameTablesRequest\x1a\x1f.Ydb.Table.RenameTablesResponse\x12R\n\rDescribeTable\x12\x1f.Ydb.Table.DescribeTableRequest\x1a .Ydb.Table.DescribeTableResponse\x12[\n\x10\x45xplainDataQuery\x12\".Ydb.Table.ExplainDataQueryRequest\x1a#.Ydb.Table.ExplainDataQueryResponse\x12[\n\x10PrepareDataQuery\x12\".Ydb.Table.PrepareDataQueryRequest\x1a#.Ydb.Table.PrepareDataQueryResponse\x12[\n\x10\x45xecuteDataQuery\x12\".Ydb.Table.ExecuteDataQueryRequest\x1a#.Ydb.Table.ExecuteDataQueryResponse\x12\x61\n\x12\x45xecuteSchemeQuery\x12$.Ydb.Table.ExecuteSchemeQueryRequest\x1a%.Ydb.Table.ExecuteSchemeQueryResponse\x12[\n\x10\x42\x65ginTransaction\x12\".Ydb.Table.BeginTransactionRequest\x1a#.Ydb.Table.BeginTransactionResponse\x12^\n\x11\x43ommitTransaction\x12#.Ydb.Table.CommitTransactionRequest\x1a$.Ydb.Table.CommitTransactionResponse\x12\x64\n\x13RollbackTransaction\x12%.Ydb.Table.RollbackTransactionRequest\x1a&.Ydb.Table.RollbackTransactionResponse\x12g\n\x14\x44\x65scribeTableOptions\x12&.Ydb.Table.DescribeTableOptionsRequest\x1a\'.Ydb.Table.DescribeTableOptionsResponse\x12N\n\x0fStreamReadTable\x12\x1b.Ydb.Table.ReadTableRequest\x1a\x1c.Ydb.Table.ReadTableResponse0\x01\x12\x43\n\x08ReadRows\x12\x1a.Ydb.Table.ReadRowsRequest\x1a\x1b.Ydb.Table.ReadRowsResponse\x12I\n\nBulkUpsert\x12\x1c.Ydb.Table.BulkUpsertRequest\x1a\x1d.Ydb.Table.BulkUpsertResponse\x12j\n\x16StreamExecuteScanQuery\x12\".Ydb.Table.ExecuteScanQueryRequest\x1a*.Ydb.Table.ExecuteScanQueryPartialResponse0\x01\x42O\n\x17tech.ydb.proto.table.v1Z4github.com/ydb-platform/ydb-go-genproto/Ydb_Table_V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12ydb_table_v1.proto\x12\x0cYdb.Table.V1\x1a\x16protos/ydb_table.proto2\xb3\x11\n\x0cTableService\x12R\n\rCreateSession\x12\x1f.Ydb.Table.CreateSessionRequest\x1a .Ydb.Table.CreateSessionResponse\x12R\n\rDeleteSession\x12\x1f.Ydb.Table.DeleteSessionRequest\x1a .Ydb.Table.DeleteSessionResponse\x12\x46\n\tKeepAlive\x12\x1b.Ydb.Table.KeepAliveRequest\x1a\x1c.Ydb.Table.KeepAliveResponse\x12L\n\x0b\x43reateTable\x12\x1d.Ydb.Table.CreateTableRequest\x1a\x1e.Ydb.Table.CreateTableResponse\x12\x46\n\tDropTable\x12\x1b.Ydb.Table.DropTableRequest\x1a\x1c.Ydb.Table.DropTableResponse\x12I\n\nAlterTable\x12\x1c.Ydb.Table.AlterTableRequest\x1a\x1d.Ydb.Table.AlterTableResponse\x12\x46\n\tCopyTable\x12\x1b.Ydb.Table.CopyTableRequest\x1a\x1c.Ydb.Table.CopyTableResponse\x12I\n\nCopyTables\x12\x1c.Ydb.Table.CopyTablesRequest\x1a\x1d.Ydb.Table.CopyTablesResponse\x12O\n\x0cRenameTables\x12\x1e.Ydb.Table.RenameTablesRequest\x1a\x1f.Ydb.Table.RenameTablesResponse\x12R\n\rDescribeTable\x12\x1f.Ydb.Table.DescribeTableRequest\x1a .Ydb.Table.DescribeTableResponse\x12[\n\x10\x45xplainDataQuery\x12\".Ydb.Table.ExplainDataQueryRequest\x1a#.Ydb.Table.ExplainDataQueryResponse\x12[\n\x10PrepareDataQuery\x12\".Ydb.Table.PrepareDataQueryRequest\x1a#.Ydb.Table.PrepareDataQueryResponse\x12[\n\x10\x45xecuteDataQuery\x12\".Ydb.Table.ExecuteDataQueryRequest\x1a#.Ydb.Table.ExecuteDataQueryResponse\x12\x61\n\x12\x45xecuteSchemeQuery\x12$.Ydb.Table.ExecuteSchemeQueryRequest\x1a%.Ydb.Table.ExecuteSchemeQueryResponse\x12[\n\x10\x42\x65ginTransaction\x12\".Ydb.Table.BeginTransactionRequest\x1a#.Ydb.Table.BeginTransactionResponse\x12^\n\x11\x43ommitTransaction\x12#.Ydb.Table.CommitTransactionRequest\x1a$.Ydb.Table.CommitTransactionResponse\x12\x64\n\x13RollbackTransaction\x12%.Ydb.Table.RollbackTransactionRequest\x1a&.Ydb.Table.RollbackTransactionResponse\x12g\n\x14\x44\x65scribeTableOptions\x12&.Ydb.Table.DescribeTableOptionsRequest\x1a\'.Ydb.Table.DescribeTableOptionsResponse\x12N\n\x0fStreamReadTable\x12\x1b.Ydb.Table.ReadTableRequest\x1a\x1c.Ydb.Table.ReadTableResponse0\x01\x12\x43\n\x08ReadRows\x12\x1a.Ydb.Table.ReadRowsRequest\x1a\x1b.Ydb.Table.ReadRowsResponse\x12I\n\nBulkUpsert\x12\x1c.Ydb.Table.BulkUpsertRequest\x1a\x1d.Ydb.Table.BulkUpsertResponse\x12j\n\x16StreamExecuteScanQuery\x12\".Ydb.Table.ExecuteScanQueryRequest\x1a*.Ydb.Table.ExecuteScanQueryPartialResponse0\x01\x12y\n\x1a\x44\x65scribeExternalDataSource\x12,.Ydb.Table.DescribeExternalDataSourceRequest\x1a-.Ydb.Table.DescribeExternalDataSourceResponse\x12j\n\x15\x44\x65scribeExternalTable\x12\'.Ydb.Table.DescribeExternalTableRequest\x1a(.Ydb.Table.DescribeExternalTableResponse\x12\x61\n\x12\x44\x65scribeSystemView\x12$.Ydb.Table.DescribeSystemViewRequest\x1a%.Ydb.Table.DescribeSystemViewResponseBO\n\x17tech.ydb.proto.table.v1Z4github.com/ydb-platform/ydb-go-genproto/Ydb_Table_V1b\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ydb_table_v1_pb2', globals()) @@ -24,5 +24,5 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\027tech.ydb.proto.table.v1Z4github.com/ydb-platform/ydb-go-genproto/Ydb_Table_V1' _TABLESERVICE._serialized_start=61 - _TABLESERVICE._serialized_end=1958 + _TABLESERVICE._serialized_end=2288 # @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v5/ydb_table_v1_pb2_grpc.py b/ydb/_grpc/v5/ydb_table_v1_pb2_grpc.py index 7c5fe20b8..2a9ffdcba 100644 --- a/ydb/_grpc/v5/ydb_table_v1_pb2_grpc.py +++ b/ydb/_grpc/v5/ydb_table_v1_pb2_grpc.py @@ -124,6 +124,21 @@ def __init__(self, channel): request_serializer=protos_dot_ydb__table__pb2.ExecuteScanQueryRequest.SerializeToString, response_deserializer=protos_dot_ydb__table__pb2.ExecuteScanQueryPartialResponse.FromString, ) + self.DescribeExternalDataSource = channel.unary_unary( + '/Ydb.Table.V1.TableService/DescribeExternalDataSource', + request_serializer=protos_dot_ydb__table__pb2.DescribeExternalDataSourceRequest.SerializeToString, + response_deserializer=protos_dot_ydb__table__pb2.DescribeExternalDataSourceResponse.FromString, + ) + self.DescribeExternalTable = channel.unary_unary( + '/Ydb.Table.V1.TableService/DescribeExternalTable', + request_serializer=protos_dot_ydb__table__pb2.DescribeExternalTableRequest.SerializeToString, + response_deserializer=protos_dot_ydb__table__pb2.DescribeExternalTableResponse.FromString, + ) + self.DescribeSystemView = channel.unary_unary( + '/Ydb.Table.V1.TableService/DescribeSystemView', + request_serializer=protos_dot_ydb__table__pb2.DescribeSystemViewRequest.SerializeToString, + response_deserializer=protos_dot_ydb__table__pb2.DescribeSystemViewResponse.FromString, + ) class TableServiceServicer(object): @@ -133,7 +148,7 @@ def CreateSession(self, request, context): """Create new session. Implicit session creation is forbidden, so user must create new session before execute any query, otherwise BAD_SESSION status will be returned. - Simultaneous execution of requests are forbiden. + Simultaneous execution of requests are forbidden. Sessions are volatile, can be invalidated by server, for example in case of fatal errors. All requests with this session will fail with BAD_SESSION status. So, client must be able to handle BAD_SESSION status. @@ -295,6 +310,27 @@ def StreamExecuteScanQuery(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def DescribeExternalDataSource(self, request, context): + """Returns information about a given external data source. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DescribeExternalTable(self, request, context): + """Returns information about a given external table. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DescribeSystemView(self, request, context): + """Returns information about a given system view table. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_TableServiceServicer_to_server(servicer, server): rpc_method_handlers = { @@ -408,6 +444,21 @@ def add_TableServiceServicer_to_server(servicer, server): request_deserializer=protos_dot_ydb__table__pb2.ExecuteScanQueryRequest.FromString, response_serializer=protos_dot_ydb__table__pb2.ExecuteScanQueryPartialResponse.SerializeToString, ), + 'DescribeExternalDataSource': grpc.unary_unary_rpc_method_handler( + servicer.DescribeExternalDataSource, + request_deserializer=protos_dot_ydb__table__pb2.DescribeExternalDataSourceRequest.FromString, + response_serializer=protos_dot_ydb__table__pb2.DescribeExternalDataSourceResponse.SerializeToString, + ), + 'DescribeExternalTable': grpc.unary_unary_rpc_method_handler( + servicer.DescribeExternalTable, + request_deserializer=protos_dot_ydb__table__pb2.DescribeExternalTableRequest.FromString, + response_serializer=protos_dot_ydb__table__pb2.DescribeExternalTableResponse.SerializeToString, + ), + 'DescribeSystemView': grpc.unary_unary_rpc_method_handler( + servicer.DescribeSystemView, + request_deserializer=protos_dot_ydb__table__pb2.DescribeSystemViewRequest.FromString, + response_serializer=protos_dot_ydb__table__pb2.DescribeSystemViewResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'Ydb.Table.V1.TableService', rpc_method_handlers) @@ -791,3 +842,54 @@ def StreamExecuteScanQuery(request, protos_dot_ydb__table__pb2.ExecuteScanQueryPartialResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DescribeExternalDataSource(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/Ydb.Table.V1.TableService/DescribeExternalDataSource', + protos_dot_ydb__table__pb2.DescribeExternalDataSourceRequest.SerializeToString, + protos_dot_ydb__table__pb2.DescribeExternalDataSourceResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DescribeExternalTable(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/Ydb.Table.V1.TableService/DescribeExternalTable', + protos_dot_ydb__table__pb2.DescribeExternalTableRequest.SerializeToString, + protos_dot_ydb__table__pb2.DescribeExternalTableResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DescribeSystemView(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/Ydb.Table.V1.TableService/DescribeSystemView', + protos_dot_ydb__table__pb2.DescribeSystemViewRequest.SerializeToString, + protos_dot_ydb__table__pb2.DescribeSystemViewResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/ydb/_grpc/v6/draft/protos/ydb_maintenance_pb2.py b/ydb/_grpc/v6/draft/protos/ydb_maintenance_pb2.py index 426312b95..0c049f4ef 100644 --- a/ydb/_grpc/v6/draft/protos/ydb_maintenance_pb2.py +++ b/ydb/_grpc/v6/draft/protos/ydb_maintenance_pb2.py @@ -31,7 +31,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"draft/protos/ydb_maintenance.proto\x12\x0fYdb.Maintenance\x1a#protos/annotations/validation.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x1aprotos/ydb_discovery.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf0\x02\n\x04Node\x12\x0f\n\x07node_id\x18\x01 \x01(\r\x12\x0c\n\x04host\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\x12-\n\x08location\x18\x04 \x01(\x0b\x32\x1b.Ydb.Discovery.NodeLocation\x12)\n\x05state\x18\x05 \x01(\x0e\x32\x1a.Ydb.Maintenance.ItemState\x12\x34\n\x07storage\x18\x06 \x01(\x0b\x32!.Ydb.Maintenance.Node.StorageNodeH\x00\x12\x34\n\x07\x64ynamic\x18\x07 \x01(\x0b\x32!.Ydb.Maintenance.Node.DynamicNodeH\x00\x12.\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07version\x18\t \x01(\t\x1a\r\n\x0bStorageNode\x1a\x1d\n\x0b\x44ynamicNode\x12\x0e\n\x06tenant\x18\x01 \x01(\tB\x06\n\x04type\"T\n\x17ListClusterNodesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\">\n\x16ListClusterNodesResult\x12$\n\x05nodes\x18\x01 \x03(\x0b\x32\x15.Ydb.Maintenance.Node\"H\n\x18ListClusterNodesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xc3\x01\n\x16MaintenanceTaskOptions\x12\x19\n\x08task_uid\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x1c\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12<\n\x11\x61vailability_mode\x18\x03 \x01(\x0e\x32!.Ydb.Maintenance.AvailabilityMode\x12\x0f\n\x07\x64ry_run\x18\x04 \x01(\x08\x12!\n\x08priority\x18\x05 \x01(\x05\x42\x0f\xb2\xe6*\x0b[-100; 100]\"B\n\x0b\x41\x63tionScope\x12\x11\n\x07node_id\x18\x01 \x01(\rH\x00\x12\x17\n\x04host\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\xff\x01H\x00\x42\x07\n\x05scope\"f\n\nLockAction\x12+\n\x05scope\x18\x01 \x01(\x0b\x32\x1c.Ydb.Maintenance.ActionScope\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"F\n\x06\x41\x63tion\x12\x32\n\x0block_action\x18\x01 \x01(\x0b\x32\x1b.Ydb.Maintenance.LockActionH\x00\x42\x08\n\x06\x61\x63tion\"?\n\x0b\x41\x63tionGroup\x12\x30\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32\x17.Ydb.Maintenance.ActionB\x06\x9a\xe6*\x02(\x01\"\xd5\x01\n\x1c\x43reateMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12=\n\x0ctask_options\x18\x02 \x01(\x0b\x32\'.Ydb.Maintenance.MaintenanceTaskOptions\x12;\n\raction_groups\x18\x03 \x03(\x0b\x32\x1c.Ydb.Maintenance.ActionGroupB\x06\x9a\xe6*\x02(\x01\"u\n\x1dRefreshMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"]\n\tActionUid\x12\x19\n\x08task_uid\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x19\n\x08group_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x1a\n\taction_id\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"\x8f\x06\n\x0b\x41\x63tionState\x12\'\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32\x17.Ydb.Maintenance.Action\x12.\n\naction_uid\x18\x02 \x01(\x0b\x32\x1a.Ydb.Maintenance.ActionUid\x12\x39\n\x06status\x18\x03 \x01(\x0e\x32).Ydb.Maintenance.ActionState.ActionStatus\x12\x39\n\x06reason\x18\x04 \x01(\x0e\x32).Ydb.Maintenance.ActionState.ActionReason\x12\x16\n\x0ereason_details\x18\x06 \x01(\t\x12,\n\x08\x64\x65\x61\x64line\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"e\n\x0c\x41\x63tionStatus\x12\x1d\n\x19\x41\x43TION_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41\x43TION_STATUS_PENDING\x10\x01\x12\x1b\n\x17\x41\x43TION_STATUS_PERFORMED\x10\x02\"\x83\x03\n\x0c\x41\x63tionReason\x12\x1d\n\x19\x41\x43TION_REASON_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41\x43TION_REASON_OK\x10\x01\x12-\n)ACTION_REASON_TOO_MANY_UNAVAILABLE_VDISKS\x10\x02\x12:\n6ACTION_REASON_TOO_MANY_UNAVAILABLE_STATE_STORAGE_RINGS\x10\x03\x12.\n*ACTION_REASON_DISABLED_NODES_LIMIT_REACHED\x10\x04\x12\x35\n1ACTION_REASON_TENANT_DISABLED_NODES_LIMIT_REACHED\x10\x05\x12\x1f\n\x1b\x41\x43TION_REASON_WRONG_REQUEST\x10\x06\x12\x30\n,ACTION_REASON_SYS_TABLETS_NODE_LIMIT_REACHED\x10\x07\x12\x19\n\x15\x41\x43TION_REASON_GENERIC\x10\x08\"H\n\x11\x41\x63tionGroupStates\x12\x33\n\raction_states\x18\x01 \x03(\x0b\x32\x1c.Ydb.Maintenance.ActionState\"\xb0\x01\n\x15MaintenanceTaskResult\x12\x10\n\x08task_uid\x18\x01 \x01(\t\x12?\n\x13\x61\x63tion_group_states\x18\x02 \x03(\x0b\x32\".Ydb.Maintenance.ActionGroupStates\x12\x34\n\x0bretry_after\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x42\x0e\n\x0c_retry_after\"G\n\x17MaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"q\n\x19GetMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"\x9a\x01\n\x18GetMaintenanceTaskResult\x12=\n\x0ctask_options\x18\x01 \x01(\x0b\x32\'.Ydb.Maintenance.MaintenanceTaskOptions\x12?\n\x13\x61\x63tion_group_states\x18\x02 \x03(\x0b\x32\".Ydb.Maintenance.ActionGroupStates\"J\n\x1aGetMaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"t\n\x1bListMaintenanceTasksRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x11\n\x04user\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x07\n\x05_user\"0\n\x1aListMaintenanceTasksResult\x12\x12\n\ntasks_uids\x18\x01 \x03(\t\"L\n\x1cListMaintenanceTasksResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"r\n\x1a\x44ropMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"M\n\x1dManageMaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x8b\x01\n\x15\x43ompleteActionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x37\n\x0b\x61\x63tion_uids\x18\x02 \x03(\x0b\x32\x1a.Ydb.Maintenance.ActionUidB\x06\x9a\xe6*\x02(\x01\"\xbe\x01\n\x12ManageActionResult\x12\x43\n\x0f\x61\x63tion_statuses\x18\x01 \x03(\x0b\x32*.Ydb.Maintenance.ManageActionResult.Status\x1a\x63\n\x06Status\x12.\n\naction_uid\x18\x01 \x01(\x0b\x32\x1a.Ydb.Maintenance.ActionUid\x12)\n\x06status\x18\x02 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\"D\n\x14ManageActionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation*k\n\tItemState\x12\x1a\n\x16ITEM_STATE_UNSPECIFIED\x10\x00\x12\x11\n\rITEM_STATE_UP\x10\x01\x12\x1a\n\x16ITEM_STATE_MAINTENANCE\x10\x02\x12\x13\n\x0fITEM_STATE_DOWN\x10\x03*\x8c\x01\n\x10\x41vailabilityMode\x12!\n\x1d\x41VAILABILITY_MODE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41VAILABILITY_MODE_STRONG\x10\x01\x12\x1a\n\x16\x41VAILABILITY_MODE_WEAK\x10\x02\x12\x1b\n\x17\x41VAILABILITY_MODE_FORCE\x10\x03\x42n\n#tech.ydb.proto.draft.maintenance.v1ZDgithub.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_Maintenance\xf8\x01\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"draft/protos/ydb_maintenance.proto\x12\x0fYdb.Maintenance\x1a#protos/annotations/validation.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x1aprotos/ydb_discovery.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf0\x02\n\x04Node\x12\x0f\n\x07node_id\x18\x01 \x01(\r\x12\x0c\n\x04host\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\x12-\n\x08location\x18\x04 \x01(\x0b\x32\x1b.Ydb.Discovery.NodeLocation\x12)\n\x05state\x18\x05 \x01(\x0e\x32\x1a.Ydb.Maintenance.ItemState\x12\x34\n\x07storage\x18\x06 \x01(\x0b\x32!.Ydb.Maintenance.Node.StorageNodeH\x00\x12\x34\n\x07\x64ynamic\x18\x07 \x01(\x0b\x32!.Ydb.Maintenance.Node.DynamicNodeH\x00\x12.\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07version\x18\t \x01(\t\x1a\r\n\x0bStorageNode\x1a\x1d\n\x0b\x44ynamicNode\x12\x0e\n\x06tenant\x18\x01 \x01(\tB\x06\n\x04type\"T\n\x17ListClusterNodesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\">\n\x16ListClusterNodesResult\x12$\n\x05nodes\x18\x01 \x03(\x0b\x32\x15.Ydb.Maintenance.Node\"H\n\x18ListClusterNodesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xc3\x01\n\x16MaintenanceTaskOptions\x12\x19\n\x08task_uid\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x1c\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12<\n\x11\x61vailability_mode\x18\x03 \x01(\x0e\x32!.Ydb.Maintenance.AvailabilityMode\x12\x0f\n\x07\x64ry_run\x18\x04 \x01(\x08\x12!\n\x08priority\x18\x05 \x01(\x05\x42\x0f\xb2\xe6*\x0b[-100; 100]\"\xf7\x02\n\x0b\x41\x63tionScope\x12\x11\n\x07node_id\x18\x01 \x01(\rH\x00\x12\x17\n\x04host\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\xff\x01H\x00\x12\x33\n\x05pdisk\x18\x03 \x01(\x0b\x32\".Ydb.Maintenance.ActionScope.PDiskH\x00\x1a,\n\x07PDiskId\x12\x0f\n\x07node_id\x18\x01 \x01(\r\x12\x10\n\x08pdisk_id\x18\x02 \x01(\r\x1a=\n\rPDiskLocation\x12\x15\n\x04host\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\xff\x01\x12\x15\n\x04path\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\xff\x01\x1a\x90\x01\n\x05PDisk\x12\x38\n\x08pdisk_id\x18\x01 \x01(\x0b\x32$.Ydb.Maintenance.ActionScope.PDiskIdH\x00\x12\x44\n\x0epdisk_location\x18\x02 \x01(\x0b\x32*.Ydb.Maintenance.ActionScope.PDiskLocationH\x00\x42\x07\n\x05pdiskB\x07\n\x05scope\"f\n\nLockAction\x12+\n\x05scope\x18\x01 \x01(\x0b\x32\x1c.Ydb.Maintenance.ActionScope\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\":\n\x0b\x44rainAction\x12+\n\x05scope\x18\x01 \x01(\x0b\x32\x1c.Ydb.Maintenance.ActionScope\";\n\x0c\x43ordonAction\x12+\n\x05scope\x18\x01 \x01(\x0b\x32\x1c.Ydb.Maintenance.ActionScope\"\xb4\x01\n\x06\x41\x63tion\x12\x32\n\x0block_action\x18\x01 \x01(\x0b\x32\x1b.Ydb.Maintenance.LockActionH\x00\x12\x34\n\x0c\x64rain_action\x18\x02 \x01(\x0b\x32\x1c.Ydb.Maintenance.DrainActionH\x00\x12\x36\n\rcordon_action\x18\x03 \x01(\x0b\x32\x1d.Ydb.Maintenance.CordonActionH\x00\x42\x08\n\x06\x61\x63tion\"?\n\x0b\x41\x63tionGroup\x12\x30\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32\x17.Ydb.Maintenance.ActionB\x06\x9a\xe6*\x02(\x01\"\xd5\x01\n\x1c\x43reateMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12=\n\x0ctask_options\x18\x02 \x01(\x0b\x32\'.Ydb.Maintenance.MaintenanceTaskOptions\x12;\n\raction_groups\x18\x03 \x03(\x0b\x32\x1c.Ydb.Maintenance.ActionGroupB\x06\x9a\xe6*\x02(\x01\"u\n\x1dRefreshMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"]\n\tActionUid\x12\x19\n\x08task_uid\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x19\n\x08group_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12\x1a\n\taction_id\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"\xa8\x06\n\x0b\x41\x63tionState\x12\'\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32\x17.Ydb.Maintenance.Action\x12.\n\naction_uid\x18\x02 \x01(\x0b\x32\x1a.Ydb.Maintenance.ActionUid\x12\x39\n\x06status\x18\x03 \x01(\x0e\x32).Ydb.Maintenance.ActionState.ActionStatus\x12\x39\n\x06reason\x18\x04 \x01(\x0e\x32).Ydb.Maintenance.ActionState.ActionReason\x12\x0f\n\x07\x64\x65tails\x18\x06 \x01(\t\x12,\n\x08\x64\x65\x61\x64line\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x84\x01\n\x0c\x41\x63tionStatus\x12\x1d\n\x19\x41\x43TION_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41\x43TION_STATUS_PENDING\x10\x01\x12\x1b\n\x17\x41\x43TION_STATUS_PERFORMED\x10\x02\x12\x1d\n\x19\x41\x43TION_STATUS_IN_PROGRESS\x10\x03\"\x83\x03\n\x0c\x41\x63tionReason\x12\x1d\n\x19\x41\x43TION_REASON_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41\x43TION_REASON_OK\x10\x01\x12-\n)ACTION_REASON_TOO_MANY_UNAVAILABLE_VDISKS\x10\x02\x12:\n6ACTION_REASON_TOO_MANY_UNAVAILABLE_STATE_STORAGE_RINGS\x10\x03\x12.\n*ACTION_REASON_DISABLED_NODES_LIMIT_REACHED\x10\x04\x12\x35\n1ACTION_REASON_TENANT_DISABLED_NODES_LIMIT_REACHED\x10\x05\x12\x1f\n\x1b\x41\x43TION_REASON_WRONG_REQUEST\x10\x06\x12\x30\n,ACTION_REASON_SYS_TABLETS_NODE_LIMIT_REACHED\x10\x07\x12\x19\n\x15\x41\x43TION_REASON_GENERIC\x10\x08\"H\n\x11\x41\x63tionGroupStates\x12\x33\n\raction_states\x18\x01 \x03(\x0b\x32\x1c.Ydb.Maintenance.ActionState\"\x98\x02\n\x15MaintenanceTaskResult\x12\x10\n\x08task_uid\x18\x01 \x01(\t\x12?\n\x13\x61\x63tion_group_states\x18\x02 \x03(\x0b\x32\".Ydb.Maintenance.ActionGroupStates\x12\x34\n\x0bretry_after\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_refresh_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0e\n\x0c_retry_after\"G\n\x17MaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"q\n\x19GetMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"\x82\x02\n\x18GetMaintenanceTaskResult\x12=\n\x0ctask_options\x18\x01 \x01(\x0b\x32\'.Ydb.Maintenance.MaintenanceTaskOptions\x12?\n\x13\x61\x63tion_group_states\x18\x02 \x03(\x0b\x32\".Ydb.Maintenance.ActionGroupStates\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_refresh_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"J\n\x1aGetMaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"t\n\x1bListMaintenanceTasksRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x11\n\x04user\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x07\n\x05_user\"0\n\x1aListMaintenanceTasksResult\x12\x12\n\ntasks_uids\x18\x01 \x03(\t\"L\n\x1cListMaintenanceTasksResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"r\n\x1a\x44ropMaintenanceTaskRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x19\n\x08task_uid\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\"M\n\x1dManageMaintenanceTaskResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x8b\x01\n\x15\x43ompleteActionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x37\n\x0b\x61\x63tion_uids\x18\x02 \x03(\x0b\x32\x1a.Ydb.Maintenance.ActionUidB\x06\x9a\xe6*\x02(\x01\"\xbe\x01\n\x12ManageActionResult\x12\x43\n\x0f\x61\x63tion_statuses\x18\x01 \x03(\x0b\x32*.Ydb.Maintenance.ManageActionResult.Status\x1a\x63\n\x06Status\x12.\n\naction_uid\x18\x01 \x01(\x0b\x32\x1a.Ydb.Maintenance.ActionUid\x12)\n\x06status\x18\x02 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\"D\n\x14ManageActionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation*k\n\tItemState\x12\x1a\n\x16ITEM_STATE_UNSPECIFIED\x10\x00\x12\x11\n\rITEM_STATE_UP\x10\x01\x12\x1a\n\x16ITEM_STATE_MAINTENANCE\x10\x02\x12\x13\n\x0fITEM_STATE_DOWN\x10\x03*\xa9\x01\n\x10\x41vailabilityMode\x12!\n\x1d\x41VAILABILITY_MODE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41VAILABILITY_MODE_STRONG\x10\x01\x12\x1a\n\x16\x41VAILABILITY_MODE_WEAK\x10\x02\x12\x1b\n\x17\x41VAILABILITY_MODE_FORCE\x10\x03\x12\x1b\n\x17\x41VAILABILITY_MODE_SMART\x10\x04\x42n\n#tech.ydb.proto.draft.maintenance.v1ZDgithub.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_Maintenance\xf8\x01\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -45,6 +45,10 @@ _globals['_MAINTENANCETASKOPTIONS'].fields_by_name['description']._serialized_options = b'\242\346*\003\030\200\001' _globals['_MAINTENANCETASKOPTIONS'].fields_by_name['priority']._loaded_options = None _globals['_MAINTENANCETASKOPTIONS'].fields_by_name['priority']._serialized_options = b'\262\346*\013[-100; 100]' + _globals['_ACTIONSCOPE_PDISKLOCATION'].fields_by_name['host']._loaded_options = None + _globals['_ACTIONSCOPE_PDISKLOCATION'].fields_by_name['host']._serialized_options = b'\242\346*\003\030\377\001' + _globals['_ACTIONSCOPE_PDISKLOCATION'].fields_by_name['path']._loaded_options = None + _globals['_ACTIONSCOPE_PDISKLOCATION'].fields_by_name['path']._serialized_options = b'\242\346*\003\030\377\001' _globals['_ACTIONSCOPE'].fields_by_name['host']._loaded_options = None _globals['_ACTIONSCOPE'].fields_by_name['host']._serialized_options = b'\242\346*\003\030\377\001' _globals['_ACTIONGROUP'].fields_by_name['actions']._loaded_options = None @@ -65,10 +69,10 @@ _globals['_DROPMAINTENANCETASKREQUEST'].fields_by_name['task_uid']._serialized_options = b'\242\346*\003\030\200\001' _globals['_COMPLETEACTIONREQUEST'].fields_by_name['action_uids']._loaded_options = None _globals['_COMPLETEACTIONREQUEST'].fields_by_name['action_uids']._serialized_options = b'\232\346*\002(\001' - _globals['_ITEMSTATE']._serialized_start=4082 - _globals['_ITEMSTATE']._serialized_end=4189 - _globals['_AVAILABILITYMODE']._serialized_start=4192 - _globals['_AVAILABILITYMODE']._serialized_end=4332 + _globals['_ITEMSTATE']._serialized_start=4857 + _globals['_ITEMSTATE']._serialized_end=4964 + _globals['_AVAILABILITYMODE']._serialized_start=4967 + _globals['_AVAILABILITYMODE']._serialized_end=5136 _globals['_NODE']._serialized_start=245 _globals['_NODE']._serialized_end=613 _globals['_NODE_STORAGENODE']._serialized_start=561 @@ -83,54 +87,64 @@ _globals['_LISTCLUSTERNODESRESPONSE']._serialized_end=837 _globals['_MAINTENANCETASKOPTIONS']._serialized_start=840 _globals['_MAINTENANCETASKOPTIONS']._serialized_end=1035 - _globals['_ACTIONSCOPE']._serialized_start=1037 - _globals['_ACTIONSCOPE']._serialized_end=1103 - _globals['_LOCKACTION']._serialized_start=1105 - _globals['_LOCKACTION']._serialized_end=1207 - _globals['_ACTION']._serialized_start=1209 - _globals['_ACTION']._serialized_end=1279 - _globals['_ACTIONGROUP']._serialized_start=1281 - _globals['_ACTIONGROUP']._serialized_end=1344 - _globals['_CREATEMAINTENANCETASKREQUEST']._serialized_start=1347 - _globals['_CREATEMAINTENANCETASKREQUEST']._serialized_end=1560 - _globals['_REFRESHMAINTENANCETASKREQUEST']._serialized_start=1562 - _globals['_REFRESHMAINTENANCETASKREQUEST']._serialized_end=1679 - _globals['_ACTIONUID']._serialized_start=1681 - _globals['_ACTIONUID']._serialized_end=1774 - _globals['_ACTIONSTATE']._serialized_start=1777 - _globals['_ACTIONSTATE']._serialized_end=2560 - _globals['_ACTIONSTATE_ACTIONSTATUS']._serialized_start=2069 - _globals['_ACTIONSTATE_ACTIONSTATUS']._serialized_end=2170 - _globals['_ACTIONSTATE_ACTIONREASON']._serialized_start=2173 - _globals['_ACTIONSTATE_ACTIONREASON']._serialized_end=2560 - _globals['_ACTIONGROUPSTATES']._serialized_start=2562 - _globals['_ACTIONGROUPSTATES']._serialized_end=2634 - _globals['_MAINTENANCETASKRESULT']._serialized_start=2637 - _globals['_MAINTENANCETASKRESULT']._serialized_end=2813 - _globals['_MAINTENANCETASKRESPONSE']._serialized_start=2815 - _globals['_MAINTENANCETASKRESPONSE']._serialized_end=2886 - _globals['_GETMAINTENANCETASKREQUEST']._serialized_start=2888 - _globals['_GETMAINTENANCETASKREQUEST']._serialized_end=3001 - _globals['_GETMAINTENANCETASKRESULT']._serialized_start=3004 - _globals['_GETMAINTENANCETASKRESULT']._serialized_end=3158 - _globals['_GETMAINTENANCETASKRESPONSE']._serialized_start=3160 - _globals['_GETMAINTENANCETASKRESPONSE']._serialized_end=3234 - _globals['_LISTMAINTENANCETASKSREQUEST']._serialized_start=3236 - _globals['_LISTMAINTENANCETASKSREQUEST']._serialized_end=3352 - _globals['_LISTMAINTENANCETASKSRESULT']._serialized_start=3354 - _globals['_LISTMAINTENANCETASKSRESULT']._serialized_end=3402 - _globals['_LISTMAINTENANCETASKSRESPONSE']._serialized_start=3404 - _globals['_LISTMAINTENANCETASKSRESPONSE']._serialized_end=3480 - _globals['_DROPMAINTENANCETASKREQUEST']._serialized_start=3482 - _globals['_DROPMAINTENANCETASKREQUEST']._serialized_end=3596 - _globals['_MANAGEMAINTENANCETASKRESPONSE']._serialized_start=3598 - _globals['_MANAGEMAINTENANCETASKRESPONSE']._serialized_end=3675 - _globals['_COMPLETEACTIONREQUEST']._serialized_start=3678 - _globals['_COMPLETEACTIONREQUEST']._serialized_end=3817 - _globals['_MANAGEACTIONRESULT']._serialized_start=3820 - _globals['_MANAGEACTIONRESULT']._serialized_end=4010 - _globals['_MANAGEACTIONRESULT_STATUS']._serialized_start=3911 - _globals['_MANAGEACTIONRESULT_STATUS']._serialized_end=4010 - _globals['_MANAGEACTIONRESPONSE']._serialized_start=4012 - _globals['_MANAGEACTIONRESPONSE']._serialized_end=4080 + _globals['_ACTIONSCOPE']._serialized_start=1038 + _globals['_ACTIONSCOPE']._serialized_end=1413 + _globals['_ACTIONSCOPE_PDISKID']._serialized_start=1150 + _globals['_ACTIONSCOPE_PDISKID']._serialized_end=1194 + _globals['_ACTIONSCOPE_PDISKLOCATION']._serialized_start=1196 + _globals['_ACTIONSCOPE_PDISKLOCATION']._serialized_end=1257 + _globals['_ACTIONSCOPE_PDISK']._serialized_start=1260 + _globals['_ACTIONSCOPE_PDISK']._serialized_end=1404 + _globals['_LOCKACTION']._serialized_start=1415 + _globals['_LOCKACTION']._serialized_end=1517 + _globals['_DRAINACTION']._serialized_start=1519 + _globals['_DRAINACTION']._serialized_end=1577 + _globals['_CORDONACTION']._serialized_start=1579 + _globals['_CORDONACTION']._serialized_end=1638 + _globals['_ACTION']._serialized_start=1641 + _globals['_ACTION']._serialized_end=1821 + _globals['_ACTIONGROUP']._serialized_start=1823 + _globals['_ACTIONGROUP']._serialized_end=1886 + _globals['_CREATEMAINTENANCETASKREQUEST']._serialized_start=1889 + _globals['_CREATEMAINTENANCETASKREQUEST']._serialized_end=2102 + _globals['_REFRESHMAINTENANCETASKREQUEST']._serialized_start=2104 + _globals['_REFRESHMAINTENANCETASKREQUEST']._serialized_end=2221 + _globals['_ACTIONUID']._serialized_start=2223 + _globals['_ACTIONUID']._serialized_end=2316 + _globals['_ACTIONSTATE']._serialized_start=2319 + _globals['_ACTIONSTATE']._serialized_end=3127 + _globals['_ACTIONSTATE_ACTIONSTATUS']._serialized_start=2605 + _globals['_ACTIONSTATE_ACTIONSTATUS']._serialized_end=2737 + _globals['_ACTIONSTATE_ACTIONREASON']._serialized_start=2740 + _globals['_ACTIONSTATE_ACTIONREASON']._serialized_end=3127 + _globals['_ACTIONGROUPSTATES']._serialized_start=3129 + _globals['_ACTIONGROUPSTATES']._serialized_end=3201 + _globals['_MAINTENANCETASKRESULT']._serialized_start=3204 + _globals['_MAINTENANCETASKRESULT']._serialized_end=3484 + _globals['_MAINTENANCETASKRESPONSE']._serialized_start=3486 + _globals['_MAINTENANCETASKRESPONSE']._serialized_end=3557 + _globals['_GETMAINTENANCETASKREQUEST']._serialized_start=3559 + _globals['_GETMAINTENANCETASKREQUEST']._serialized_end=3672 + _globals['_GETMAINTENANCETASKRESULT']._serialized_start=3675 + _globals['_GETMAINTENANCETASKRESULT']._serialized_end=3933 + _globals['_GETMAINTENANCETASKRESPONSE']._serialized_start=3935 + _globals['_GETMAINTENANCETASKRESPONSE']._serialized_end=4009 + _globals['_LISTMAINTENANCETASKSREQUEST']._serialized_start=4011 + _globals['_LISTMAINTENANCETASKSREQUEST']._serialized_end=4127 + _globals['_LISTMAINTENANCETASKSRESULT']._serialized_start=4129 + _globals['_LISTMAINTENANCETASKSRESULT']._serialized_end=4177 + _globals['_LISTMAINTENANCETASKSRESPONSE']._serialized_start=4179 + _globals['_LISTMAINTENANCETASKSRESPONSE']._serialized_end=4255 + _globals['_DROPMAINTENANCETASKREQUEST']._serialized_start=4257 + _globals['_DROPMAINTENANCETASKREQUEST']._serialized_end=4371 + _globals['_MANAGEMAINTENANCETASKRESPONSE']._serialized_start=4373 + _globals['_MANAGEMAINTENANCETASKRESPONSE']._serialized_end=4450 + _globals['_COMPLETEACTIONREQUEST']._serialized_start=4453 + _globals['_COMPLETEACTIONREQUEST']._serialized_end=4592 + _globals['_MANAGEACTIONRESULT']._serialized_start=4595 + _globals['_MANAGEACTIONRESULT']._serialized_end=4785 + _globals['_MANAGEACTIONRESULT_STATUS']._serialized_start=4686 + _globals['_MANAGEACTIONRESULT_STATUS']._serialized_end=4785 + _globals['_MANAGEACTIONRESPONSE']._serialized_start=4787 + _globals['_MANAGEACTIONRESPONSE']._serialized_end=4855 # @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v6/draft/protos/ydb_maintenance_pb2.pyi b/ydb/_grpc/v6/draft/protos/ydb_maintenance_pb2.pyi index c5cdb56b8..aeeb97816 100644 --- a/ydb/_grpc/v6/draft/protos/ydb_maintenance_pb2.pyi +++ b/ydb/_grpc/v6/draft/protos/ydb_maintenance_pb2.pyi @@ -28,6 +28,7 @@ class AvailabilityMode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): AVAILABILITY_MODE_STRONG: _ClassVar[AvailabilityMode] AVAILABILITY_MODE_WEAK: _ClassVar[AvailabilityMode] AVAILABILITY_MODE_FORCE: _ClassVar[AvailabilityMode] + AVAILABILITY_MODE_SMART: _ClassVar[AvailabilityMode] ITEM_STATE_UNSPECIFIED: ItemState ITEM_STATE_UP: ItemState ITEM_STATE_MAINTENANCE: ItemState @@ -36,6 +37,7 @@ AVAILABILITY_MODE_UNSPECIFIED: AvailabilityMode AVAILABILITY_MODE_STRONG: AvailabilityMode AVAILABILITY_MODE_WEAK: AvailabilityMode AVAILABILITY_MODE_FORCE: AvailabilityMode +AVAILABILITY_MODE_SMART: AvailabilityMode class Node(_message.Message): __slots__ = ("node_id", "host", "port", "location", "state", "storage", "dynamic", "start_time", "version") @@ -100,12 +102,35 @@ class MaintenanceTaskOptions(_message.Message): def __init__(self, task_uid: _Optional[str] = ..., description: _Optional[str] = ..., availability_mode: _Optional[_Union[AvailabilityMode, str]] = ..., dry_run: bool = ..., priority: _Optional[int] = ...) -> None: ... class ActionScope(_message.Message): - __slots__ = ("node_id", "host") + __slots__ = ("node_id", "host", "pdisk") + class PDiskId(_message.Message): + __slots__ = ("node_id", "pdisk_id") + NODE_ID_FIELD_NUMBER: _ClassVar[int] + PDISK_ID_FIELD_NUMBER: _ClassVar[int] + node_id: int + pdisk_id: int + def __init__(self, node_id: _Optional[int] = ..., pdisk_id: _Optional[int] = ...) -> None: ... + class PDiskLocation(_message.Message): + __slots__ = ("host", "path") + HOST_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + host: str + path: str + def __init__(self, host: _Optional[str] = ..., path: _Optional[str] = ...) -> None: ... + class PDisk(_message.Message): + __slots__ = ("pdisk_id", "pdisk_location") + PDISK_ID_FIELD_NUMBER: _ClassVar[int] + PDISK_LOCATION_FIELD_NUMBER: _ClassVar[int] + pdisk_id: ActionScope.PDiskId + pdisk_location: ActionScope.PDiskLocation + def __init__(self, pdisk_id: _Optional[_Union[ActionScope.PDiskId, _Mapping]] = ..., pdisk_location: _Optional[_Union[ActionScope.PDiskLocation, _Mapping]] = ...) -> None: ... NODE_ID_FIELD_NUMBER: _ClassVar[int] HOST_FIELD_NUMBER: _ClassVar[int] + PDISK_FIELD_NUMBER: _ClassVar[int] node_id: int host: str - def __init__(self, node_id: _Optional[int] = ..., host: _Optional[str] = ...) -> None: ... + pdisk: ActionScope.PDisk + def __init__(self, node_id: _Optional[int] = ..., host: _Optional[str] = ..., pdisk: _Optional[_Union[ActionScope.PDisk, _Mapping]] = ...) -> None: ... class LockAction(_message.Message): __slots__ = ("scope", "duration") @@ -115,11 +140,27 @@ class LockAction(_message.Message): duration: _duration_pb2.Duration def __init__(self, scope: _Optional[_Union[ActionScope, _Mapping]] = ..., duration: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ...) -> None: ... +class DrainAction(_message.Message): + __slots__ = ("scope",) + SCOPE_FIELD_NUMBER: _ClassVar[int] + scope: ActionScope + def __init__(self, scope: _Optional[_Union[ActionScope, _Mapping]] = ...) -> None: ... + +class CordonAction(_message.Message): + __slots__ = ("scope",) + SCOPE_FIELD_NUMBER: _ClassVar[int] + scope: ActionScope + def __init__(self, scope: _Optional[_Union[ActionScope, _Mapping]] = ...) -> None: ... + class Action(_message.Message): - __slots__ = ("lock_action",) + __slots__ = ("lock_action", "drain_action", "cordon_action") LOCK_ACTION_FIELD_NUMBER: _ClassVar[int] + DRAIN_ACTION_FIELD_NUMBER: _ClassVar[int] + CORDON_ACTION_FIELD_NUMBER: _ClassVar[int] lock_action: LockAction - def __init__(self, lock_action: _Optional[_Union[LockAction, _Mapping]] = ...) -> None: ... + drain_action: DrainAction + cordon_action: CordonAction + def __init__(self, lock_action: _Optional[_Union[LockAction, _Mapping]] = ..., drain_action: _Optional[_Union[DrainAction, _Mapping]] = ..., cordon_action: _Optional[_Union[CordonAction, _Mapping]] = ...) -> None: ... class ActionGroup(_message.Message): __slots__ = ("actions",) @@ -156,15 +197,17 @@ class ActionUid(_message.Message): def __init__(self, task_uid: _Optional[str] = ..., group_id: _Optional[str] = ..., action_id: _Optional[str] = ...) -> None: ... class ActionState(_message.Message): - __slots__ = ("action", "action_uid", "status", "reason", "reason_details", "deadline") + __slots__ = ("action", "action_uid", "status", "reason", "details", "deadline") class ActionStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): __slots__ = () ACTION_STATUS_UNSPECIFIED: _ClassVar[ActionState.ActionStatus] ACTION_STATUS_PENDING: _ClassVar[ActionState.ActionStatus] ACTION_STATUS_PERFORMED: _ClassVar[ActionState.ActionStatus] + ACTION_STATUS_IN_PROGRESS: _ClassVar[ActionState.ActionStatus] ACTION_STATUS_UNSPECIFIED: ActionState.ActionStatus ACTION_STATUS_PENDING: ActionState.ActionStatus ACTION_STATUS_PERFORMED: ActionState.ActionStatus + ACTION_STATUS_IN_PROGRESS: ActionState.ActionStatus class ActionReason(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): __slots__ = () ACTION_REASON_UNSPECIFIED: _ClassVar[ActionState.ActionReason] @@ -189,15 +232,15 @@ class ActionState(_message.Message): ACTION_UID_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] REASON_FIELD_NUMBER: _ClassVar[int] - REASON_DETAILS_FIELD_NUMBER: _ClassVar[int] + DETAILS_FIELD_NUMBER: _ClassVar[int] DEADLINE_FIELD_NUMBER: _ClassVar[int] action: Action action_uid: ActionUid status: ActionState.ActionStatus reason: ActionState.ActionReason - reason_details: str + details: str deadline: _timestamp_pb2.Timestamp - def __init__(self, action: _Optional[_Union[Action, _Mapping]] = ..., action_uid: _Optional[_Union[ActionUid, _Mapping]] = ..., status: _Optional[_Union[ActionState.ActionStatus, str]] = ..., reason: _Optional[_Union[ActionState.ActionReason, str]] = ..., reason_details: _Optional[str] = ..., deadline: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... + def __init__(self, action: _Optional[_Union[Action, _Mapping]] = ..., action_uid: _Optional[_Union[ActionUid, _Mapping]] = ..., status: _Optional[_Union[ActionState.ActionStatus, str]] = ..., reason: _Optional[_Union[ActionState.ActionReason, str]] = ..., details: _Optional[str] = ..., deadline: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class ActionGroupStates(_message.Message): __slots__ = ("action_states",) @@ -206,14 +249,18 @@ class ActionGroupStates(_message.Message): def __init__(self, action_states: _Optional[_Iterable[_Union[ActionState, _Mapping]]] = ...) -> None: ... class MaintenanceTaskResult(_message.Message): - __slots__ = ("task_uid", "action_group_states", "retry_after") + __slots__ = ("task_uid", "action_group_states", "retry_after", "create_time", "last_refresh_time") TASK_UID_FIELD_NUMBER: _ClassVar[int] ACTION_GROUP_STATES_FIELD_NUMBER: _ClassVar[int] RETRY_AFTER_FIELD_NUMBER: _ClassVar[int] + CREATE_TIME_FIELD_NUMBER: _ClassVar[int] + LAST_REFRESH_TIME_FIELD_NUMBER: _ClassVar[int] task_uid: str action_group_states: _containers.RepeatedCompositeFieldContainer[ActionGroupStates] retry_after: _timestamp_pb2.Timestamp - def __init__(self, task_uid: _Optional[str] = ..., action_group_states: _Optional[_Iterable[_Union[ActionGroupStates, _Mapping]]] = ..., retry_after: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... + create_time: _timestamp_pb2.Timestamp + last_refresh_time: _timestamp_pb2.Timestamp + def __init__(self, task_uid: _Optional[str] = ..., action_group_states: _Optional[_Iterable[_Union[ActionGroupStates, _Mapping]]] = ..., retry_after: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., create_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., last_refresh_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class MaintenanceTaskResponse(_message.Message): __slots__ = ("operation",) @@ -230,12 +277,16 @@ class GetMaintenanceTaskRequest(_message.Message): def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., task_uid: _Optional[str] = ...) -> None: ... class GetMaintenanceTaskResult(_message.Message): - __slots__ = ("task_options", "action_group_states") + __slots__ = ("task_options", "action_group_states", "create_time", "last_refresh_time") TASK_OPTIONS_FIELD_NUMBER: _ClassVar[int] ACTION_GROUP_STATES_FIELD_NUMBER: _ClassVar[int] + CREATE_TIME_FIELD_NUMBER: _ClassVar[int] + LAST_REFRESH_TIME_FIELD_NUMBER: _ClassVar[int] task_options: MaintenanceTaskOptions action_group_states: _containers.RepeatedCompositeFieldContainer[ActionGroupStates] - def __init__(self, task_options: _Optional[_Union[MaintenanceTaskOptions, _Mapping]] = ..., action_group_states: _Optional[_Iterable[_Union[ActionGroupStates, _Mapping]]] = ...) -> None: ... + create_time: _timestamp_pb2.Timestamp + last_refresh_time: _timestamp_pb2.Timestamp + def __init__(self, task_options: _Optional[_Union[MaintenanceTaskOptions, _Mapping]] = ..., action_group_states: _Optional[_Iterable[_Union[ActionGroupStates, _Mapping]]] = ..., create_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., last_refresh_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class GetMaintenanceTaskResponse(_message.Message): __slots__ = ("operation",) diff --git a/ydb/_grpc/v6/draft/protos/ydb_replication_pb2.py b/ydb/_grpc/v6/draft/protos/ydb_replication_pb2.py new file mode 100644 index 000000000..5fac24e50 --- /dev/null +++ b/ydb/_grpc/v6/draft/protos/ydb_replication_pb2.py @@ -0,0 +1,89 @@ +# -*- coding: utf-8 -*- +# flake8: noqa +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: draft/protos/ydb_replication.proto +# Protobuf Python Version: 6.31.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 31, + 1, + '', + 'draft/protos/ydb_replication.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from ydb._grpc.v6.protos.annotations import validation_pb2 as protos_dot_annotations_dot_validation__pb2 +from ydb._grpc.v6.protos import ydb_issue_message_pb2 as protos_dot_ydb__issue__message__pb2 +from ydb._grpc.v6.protos import ydb_operation_pb2 as protos_dot_ydb__operation__pb2 +from ydb._grpc.v6.protos import ydb_scheme_pb2 as protos_dot_ydb__scheme__pb2 +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"draft/protos/ydb_replication.proto\x12\x0fYdb.Replication\x1a#protos/annotations/validation.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1egoogle/protobuf/duration.proto\"\x82\x01\n\x1a\x44\x65scribeReplicationRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\x04path\x18\x02 \x01(\tB\x04\x90\xe6*\x01\x12\x15\n\rinclude_stats\x18\x03 \x01(\x08\"K\n\x1b\x44\x65scribeReplicationResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xe6\x02\n\x10\x43onnectionParams\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x10\n\x08\x64\x61tabase\x18\x02 \x01(\t\x12\x12\n\nenable_ssl\x18\x05 \x01(\x08\x12\x19\n\x11\x63onnection_string\x18\x06 \x01(\t\x12Q\n\x12static_credentials\x18\x03 \x01(\x0b\x32\x33.Ydb.Replication.ConnectionParams.StaticCredentialsH\x00\x12\x38\n\x05oauth\x18\x04 \x01(\x0b\x32\'.Ydb.Replication.ConnectionParams.OAuthH\x00\x1a?\n\x11StaticCredentials\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x1c\n\x14password_secret_name\x18\x02 \x01(\t\x1a\"\n\x05OAuth\x12\x19\n\x11token_secret_name\x18\x01 \x01(\tB\r\n\x0b\x63redentials\"\x15\n\x13\x43onsistencyLevelRow\"L\n\x16\x43onsistencyLevelGlobal\x12\x32\n\x0f\x63ommit_interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xe9\x08\n\x19\x44\x65scribeReplicationResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12<\n\x11\x63onnection_params\x18\x02 \x01(\x0b\x32!.Ydb.Replication.ConnectionParams\x12?\n\x0frow_consistency\x18\x07 \x01(\x0b\x32$.Ydb.Replication.ConsistencyLevelRowH\x00\x12\x45\n\x12global_consistency\x18\x08 \x01(\x0b\x32\'.Ydb.Replication.ConsistencyLevelGlobalH\x00\x12>\n\x05items\x18\x03 \x03(\x0b\x32/.Ydb.Replication.DescribeReplicationResult.Item\x12J\n\x07running\x18\x04 \x01(\x0b\x32\x37.Ydb.Replication.DescribeReplicationResult.RunningStateH\x01\x12\x46\n\x05\x65rror\x18\x05 \x01(\x0b\x32\x35.Ydb.Replication.DescribeReplicationResult.ErrorStateH\x01\x12\x44\n\x04\x64one\x18\x06 \x01(\x0b\x32\x34.Ydb.Replication.DescribeReplicationResult.DoneStateH\x01\x12H\n\x06paused\x18\t \x01(\x0b\x32\x36.Ydb.Replication.DescribeReplicationResult.PausedStateH\x01\x1az\n\x05Stats\x12+\n\x03lag\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x12\"\n\x15initial_scan_progress\x18\x02 \x01(\x02H\x01\x88\x01\x01\x42\x06\n\x04_lagB\x18\n\x16_initial_scan_progress\x1a\xc2\x01\n\x04Item\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12#\n\x16source_changefeed_name\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\n\n\x02id\x18\x04 \x01(\x04\x12?\n\x05stats\x18\x05 \x01(\x0b\x32\x30.Ydb.Replication.DescribeReplicationResult.StatsB\x19\n\x17_source_changefeed_name\x1aO\n\x0cRunningState\x12?\n\x05stats\x18\x01 \x01(\x0b\x32\x30.Ydb.Replication.DescribeReplicationResult.Stats\x1a\x35\n\nErrorState\x12\'\n\x06issues\x18\x01 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x1a\x0b\n\tDoneState\x1a\r\n\x0bPausedStateB\x13\n\x11\x63onsistency_levelB\x07\n\x05state\"h\n\x17\x44\x65scribeTransferRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\x04path\x18\x02 \x01(\tB\x04\x90\xe6*\x01\"H\n\x18\x44\x65scribeTransferResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb3\x06\n\x16\x44\x65scribeTransferResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12<\n\x11\x63onnection_params\x18\x02 \x01(\x0b\x32!.Ydb.Replication.ConnectionParams\x12G\n\x07running\x18\x03 \x01(\x0b\x32\x34.Ydb.Replication.DescribeTransferResult.RunningStateH\x00\x12\x43\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x32.Ydb.Replication.DescribeTransferResult.ErrorStateH\x00\x12\x41\n\x04\x64one\x18\x05 \x01(\x0b\x32\x31.Ydb.Replication.DescribeTransferResult.DoneStateH\x00\x12\x45\n\x06paused\x18\x06 \x01(\x0b\x32\x33.Ydb.Replication.DescribeTransferResult.PausedStateH\x00\x12\x13\n\x0bsource_path\x18\x07 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x08 \x01(\t\x12\x1d\n\x15transformation_lambda\x18\t \x01(\t\x12\x15\n\rconsumer_name\x18\n \x01(\t\x12R\n\x0e\x62\x61tch_settings\x18\x0b \x01(\x0b\x32\x35.Ydb.Replication.DescribeTransferResult.BatchSettingsH\x01\x88\x01\x01\x1a\x0e\n\x0cRunningState\x1a\x35\n\nErrorState\x12\'\n\x06issues\x18\x01 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x1a\x0b\n\tDoneState\x1a\r\n\x0bPausedState\x1aj\n\rBatchSettings\x12\x17\n\nsize_bytes\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x31\n\x0e\x66lush_interval\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\n\x0b_size_bytesB\x07\n\x05stateB\x11\n\x0f_batch_settingsBk\n tech.ydb.proto.draft.replicationZDgithub.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_Replication\xf8\x01\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'draft.protos.ydb_replication_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n tech.ydb.proto.draft.replicationZDgithub.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_Replication\370\001\001' + _globals['_DESCRIBEREPLICATIONREQUEST'].fields_by_name['path']._loaded_options = None + _globals['_DESCRIBEREPLICATIONREQUEST'].fields_by_name['path']._serialized_options = b'\220\346*\001' + _globals['_DESCRIBETRANSFERREQUEST'].fields_by_name['path']._loaded_options = None + _globals['_DESCRIBETRANSFERREQUEST'].fields_by_name['path']._serialized_options = b'\220\346*\001' + _globals['_DESCRIBEREPLICATIONREQUEST']._serialized_start=210 + _globals['_DESCRIBEREPLICATIONREQUEST']._serialized_end=340 + _globals['_DESCRIBEREPLICATIONRESPONSE']._serialized_start=342 + _globals['_DESCRIBEREPLICATIONRESPONSE']._serialized_end=417 + _globals['_CONNECTIONPARAMS']._serialized_start=420 + _globals['_CONNECTIONPARAMS']._serialized_end=778 + _globals['_CONNECTIONPARAMS_STATICCREDENTIALS']._serialized_start=664 + _globals['_CONNECTIONPARAMS_STATICCREDENTIALS']._serialized_end=727 + _globals['_CONNECTIONPARAMS_OAUTH']._serialized_start=729 + _globals['_CONNECTIONPARAMS_OAUTH']._serialized_end=763 + _globals['_CONSISTENCYLEVELROW']._serialized_start=780 + _globals['_CONSISTENCYLEVELROW']._serialized_end=801 + _globals['_CONSISTENCYLEVELGLOBAL']._serialized_start=803 + _globals['_CONSISTENCYLEVELGLOBAL']._serialized_end=879 + _globals['_DESCRIBEREPLICATIONRESULT']._serialized_start=882 + _globals['_DESCRIBEREPLICATIONRESULT']._serialized_end=2011 + _globals['_DESCRIBEREPLICATIONRESULT_STATS']._serialized_start=1498 + _globals['_DESCRIBEREPLICATIONRESULT_STATS']._serialized_end=1620 + _globals['_DESCRIBEREPLICATIONRESULT_ITEM']._serialized_start=1623 + _globals['_DESCRIBEREPLICATIONRESULT_ITEM']._serialized_end=1817 + _globals['_DESCRIBEREPLICATIONRESULT_RUNNINGSTATE']._serialized_start=1819 + _globals['_DESCRIBEREPLICATIONRESULT_RUNNINGSTATE']._serialized_end=1898 + _globals['_DESCRIBEREPLICATIONRESULT_ERRORSTATE']._serialized_start=1900 + _globals['_DESCRIBEREPLICATIONRESULT_ERRORSTATE']._serialized_end=1953 + _globals['_DESCRIBEREPLICATIONRESULT_DONESTATE']._serialized_start=1955 + _globals['_DESCRIBEREPLICATIONRESULT_DONESTATE']._serialized_end=1966 + _globals['_DESCRIBEREPLICATIONRESULT_PAUSEDSTATE']._serialized_start=1968 + _globals['_DESCRIBEREPLICATIONRESULT_PAUSEDSTATE']._serialized_end=1981 + _globals['_DESCRIBETRANSFERREQUEST']._serialized_start=2013 + _globals['_DESCRIBETRANSFERREQUEST']._serialized_end=2117 + _globals['_DESCRIBETRANSFERRESPONSE']._serialized_start=2119 + _globals['_DESCRIBETRANSFERRESPONSE']._serialized_end=2191 + _globals['_DESCRIBETRANSFERRESULT']._serialized_start=2194 + _globals['_DESCRIBETRANSFERRESULT']._serialized_end=3013 + _globals['_DESCRIBETRANSFERRESULT_RUNNINGSTATE']._serialized_start=1819 + _globals['_DESCRIBETRANSFERRESULT_RUNNINGSTATE']._serialized_end=1833 + _globals['_DESCRIBETRANSFERRESULT_ERRORSTATE']._serialized_start=1900 + _globals['_DESCRIBETRANSFERRESULT_ERRORSTATE']._serialized_end=1953 + _globals['_DESCRIBETRANSFERRESULT_DONESTATE']._serialized_start=1955 + _globals['_DESCRIBETRANSFERRESULT_DONESTATE']._serialized_end=1966 + _globals['_DESCRIBETRANSFERRESULT_PAUSEDSTATE']._serialized_start=1968 + _globals['_DESCRIBETRANSFERRESULT_PAUSEDSTATE']._serialized_end=1981 + _globals['_DESCRIBETRANSFERRESULT_BATCHSETTINGS']._serialized_start=2879 + _globals['_DESCRIBETRANSFERRESULT_BATCHSETTINGS']._serialized_end=2985 +# @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v6/draft/protos/ydb_replication_pb2.pyi b/ydb/_grpc/v6/draft/protos/ydb_replication_pb2.pyi new file mode 100644 index 000000000..61a520b3d --- /dev/null +++ b/ydb/_grpc/v6/draft/protos/ydb_replication_pb2.pyi @@ -0,0 +1,187 @@ +import datetime + +from protos.annotations import validation_pb2 as _validation_pb2 +from protos import ydb_issue_message_pb2 as _ydb_issue_message_pb2 +from protos import ydb_operation_pb2 as _ydb_operation_pb2 +from protos import ydb_scheme_pb2 as _ydb_scheme_pb2 +from google.protobuf import duration_pb2 as _duration_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from collections.abc import Iterable as _Iterable, Mapping as _Mapping +from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class DescribeReplicationRequest(_message.Message): + __slots__ = ("operation_params", "path", "include_stats") + OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + INCLUDE_STATS_FIELD_NUMBER: _ClassVar[int] + operation_params: _ydb_operation_pb2.OperationParams + path: str + include_stats: bool + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ..., include_stats: bool = ...) -> None: ... + +class DescribeReplicationResponse(_message.Message): + __slots__ = ("operation",) + OPERATION_FIELD_NUMBER: _ClassVar[int] + operation: _ydb_operation_pb2.Operation + def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... + +class ConnectionParams(_message.Message): + __slots__ = ("endpoint", "database", "enable_ssl", "connection_string", "static_credentials", "oauth") + class StaticCredentials(_message.Message): + __slots__ = ("user", "password_secret_name") + USER_FIELD_NUMBER: _ClassVar[int] + PASSWORD_SECRET_NAME_FIELD_NUMBER: _ClassVar[int] + user: str + password_secret_name: str + def __init__(self, user: _Optional[str] = ..., password_secret_name: _Optional[str] = ...) -> None: ... + class OAuth(_message.Message): + __slots__ = ("token_secret_name",) + TOKEN_SECRET_NAME_FIELD_NUMBER: _ClassVar[int] + token_secret_name: str + def __init__(self, token_secret_name: _Optional[str] = ...) -> None: ... + ENDPOINT_FIELD_NUMBER: _ClassVar[int] + DATABASE_FIELD_NUMBER: _ClassVar[int] + ENABLE_SSL_FIELD_NUMBER: _ClassVar[int] + CONNECTION_STRING_FIELD_NUMBER: _ClassVar[int] + STATIC_CREDENTIALS_FIELD_NUMBER: _ClassVar[int] + OAUTH_FIELD_NUMBER: _ClassVar[int] + endpoint: str + database: str + enable_ssl: bool + connection_string: str + static_credentials: ConnectionParams.StaticCredentials + oauth: ConnectionParams.OAuth + def __init__(self, endpoint: _Optional[str] = ..., database: _Optional[str] = ..., enable_ssl: bool = ..., connection_string: _Optional[str] = ..., static_credentials: _Optional[_Union[ConnectionParams.StaticCredentials, _Mapping]] = ..., oauth: _Optional[_Union[ConnectionParams.OAuth, _Mapping]] = ...) -> None: ... + +class ConsistencyLevelRow(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class ConsistencyLevelGlobal(_message.Message): + __slots__ = ("commit_interval",) + COMMIT_INTERVAL_FIELD_NUMBER: _ClassVar[int] + commit_interval: _duration_pb2.Duration + def __init__(self, commit_interval: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ...) -> None: ... + +class DescribeReplicationResult(_message.Message): + __slots__ = ("self", "connection_params", "row_consistency", "global_consistency", "items", "running", "error", "done", "paused") + class Stats(_message.Message): + __slots__ = ("lag", "initial_scan_progress") + LAG_FIELD_NUMBER: _ClassVar[int] + INITIAL_SCAN_PROGRESS_FIELD_NUMBER: _ClassVar[int] + lag: _duration_pb2.Duration + initial_scan_progress: float + def __init__(self, lag: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ..., initial_scan_progress: _Optional[float] = ...) -> None: ... + class Item(_message.Message): + __slots__ = ("source_path", "destination_path", "source_changefeed_name", "id", "stats") + SOURCE_PATH_FIELD_NUMBER: _ClassVar[int] + DESTINATION_PATH_FIELD_NUMBER: _ClassVar[int] + SOURCE_CHANGEFEED_NAME_FIELD_NUMBER: _ClassVar[int] + ID_FIELD_NUMBER: _ClassVar[int] + STATS_FIELD_NUMBER: _ClassVar[int] + source_path: str + destination_path: str + source_changefeed_name: str + id: int + stats: DescribeReplicationResult.Stats + def __init__(self, source_path: _Optional[str] = ..., destination_path: _Optional[str] = ..., source_changefeed_name: _Optional[str] = ..., id: _Optional[int] = ..., stats: _Optional[_Union[DescribeReplicationResult.Stats, _Mapping]] = ...) -> None: ... + class RunningState(_message.Message): + __slots__ = ("stats",) + STATS_FIELD_NUMBER: _ClassVar[int] + stats: DescribeReplicationResult.Stats + def __init__(self, stats: _Optional[_Union[DescribeReplicationResult.Stats, _Mapping]] = ...) -> None: ... + class ErrorState(_message.Message): + __slots__ = ("issues",) + ISSUES_FIELD_NUMBER: _ClassVar[int] + issues: _containers.RepeatedCompositeFieldContainer[_ydb_issue_message_pb2.IssueMessage] + def __init__(self, issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ...) -> None: ... + class DoneState(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + class PausedState(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + SELF_FIELD_NUMBER: _ClassVar[int] + CONNECTION_PARAMS_FIELD_NUMBER: _ClassVar[int] + ROW_CONSISTENCY_FIELD_NUMBER: _ClassVar[int] + GLOBAL_CONSISTENCY_FIELD_NUMBER: _ClassVar[int] + ITEMS_FIELD_NUMBER: _ClassVar[int] + RUNNING_FIELD_NUMBER: _ClassVar[int] + ERROR_FIELD_NUMBER: _ClassVar[int] + DONE_FIELD_NUMBER: _ClassVar[int] + PAUSED_FIELD_NUMBER: _ClassVar[int] + self: _ydb_scheme_pb2.Entry + connection_params: ConnectionParams + row_consistency: ConsistencyLevelRow + global_consistency: ConsistencyLevelGlobal + items: _containers.RepeatedCompositeFieldContainer[DescribeReplicationResult.Item] + running: DescribeReplicationResult.RunningState + error: DescribeReplicationResult.ErrorState + done: DescribeReplicationResult.DoneState + paused: DescribeReplicationResult.PausedState + def __init__(self_, self: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., connection_params: _Optional[_Union[ConnectionParams, _Mapping]] = ..., row_consistency: _Optional[_Union[ConsistencyLevelRow, _Mapping]] = ..., global_consistency: _Optional[_Union[ConsistencyLevelGlobal, _Mapping]] = ..., items: _Optional[_Iterable[_Union[DescribeReplicationResult.Item, _Mapping]]] = ..., running: _Optional[_Union[DescribeReplicationResult.RunningState, _Mapping]] = ..., error: _Optional[_Union[DescribeReplicationResult.ErrorState, _Mapping]] = ..., done: _Optional[_Union[DescribeReplicationResult.DoneState, _Mapping]] = ..., paused: _Optional[_Union[DescribeReplicationResult.PausedState, _Mapping]] = ...) -> None: ... + +class DescribeTransferRequest(_message.Message): + __slots__ = ("operation_params", "path") + OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + operation_params: _ydb_operation_pb2.OperationParams + path: str + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ...) -> None: ... + +class DescribeTransferResponse(_message.Message): + __slots__ = ("operation",) + OPERATION_FIELD_NUMBER: _ClassVar[int] + operation: _ydb_operation_pb2.Operation + def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... + +class DescribeTransferResult(_message.Message): + __slots__ = ("self", "connection_params", "running", "error", "done", "paused", "source_path", "destination_path", "transformation_lambda", "consumer_name", "batch_settings") + class RunningState(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + class ErrorState(_message.Message): + __slots__ = ("issues",) + ISSUES_FIELD_NUMBER: _ClassVar[int] + issues: _containers.RepeatedCompositeFieldContainer[_ydb_issue_message_pb2.IssueMessage] + def __init__(self, issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ...) -> None: ... + class DoneState(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + class PausedState(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + class BatchSettings(_message.Message): + __slots__ = ("size_bytes", "flush_interval") + SIZE_BYTES_FIELD_NUMBER: _ClassVar[int] + FLUSH_INTERVAL_FIELD_NUMBER: _ClassVar[int] + size_bytes: int + flush_interval: _duration_pb2.Duration + def __init__(self, size_bytes: _Optional[int] = ..., flush_interval: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ...) -> None: ... + SELF_FIELD_NUMBER: _ClassVar[int] + CONNECTION_PARAMS_FIELD_NUMBER: _ClassVar[int] + RUNNING_FIELD_NUMBER: _ClassVar[int] + ERROR_FIELD_NUMBER: _ClassVar[int] + DONE_FIELD_NUMBER: _ClassVar[int] + PAUSED_FIELD_NUMBER: _ClassVar[int] + SOURCE_PATH_FIELD_NUMBER: _ClassVar[int] + DESTINATION_PATH_FIELD_NUMBER: _ClassVar[int] + TRANSFORMATION_LAMBDA_FIELD_NUMBER: _ClassVar[int] + CONSUMER_NAME_FIELD_NUMBER: _ClassVar[int] + BATCH_SETTINGS_FIELD_NUMBER: _ClassVar[int] + self: _ydb_scheme_pb2.Entry + connection_params: ConnectionParams + running: DescribeTransferResult.RunningState + error: DescribeTransferResult.ErrorState + done: DescribeTransferResult.DoneState + paused: DescribeTransferResult.PausedState + source_path: str + destination_path: str + transformation_lambda: str + consumer_name: str + batch_settings: DescribeTransferResult.BatchSettings + def __init__(self_, self: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., connection_params: _Optional[_Union[ConnectionParams, _Mapping]] = ..., running: _Optional[_Union[DescribeTransferResult.RunningState, _Mapping]] = ..., error: _Optional[_Union[DescribeTransferResult.ErrorState, _Mapping]] = ..., done: _Optional[_Union[DescribeTransferResult.DoneState, _Mapping]] = ..., paused: _Optional[_Union[DescribeTransferResult.PausedState, _Mapping]] = ..., source_path: _Optional[str] = ..., destination_path: _Optional[str] = ..., transformation_lambda: _Optional[str] = ..., consumer_name: _Optional[str] = ..., batch_settings: _Optional[_Union[DescribeTransferResult.BatchSettings, _Mapping]] = ...) -> None: ... diff --git a/ydb/_grpc/v6/draft/protos/ydb_replication_pb2_grpc.py b/ydb/_grpc/v6/draft/protos/ydb_replication_pb2_grpc.py new file mode 100644 index 000000000..2ccc099c8 --- /dev/null +++ b/ydb/_grpc/v6/draft/protos/ydb_replication_pb2_grpc.py @@ -0,0 +1,24 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc +import warnings + + +GRPC_GENERATED_VERSION = '1.76.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' but the generated code in draft/protos/ydb_replication_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/ydb/_grpc/v6/draft/protos/ydb_view_pb2.py b/ydb/_grpc/v6/draft/protos/ydb_view_pb2.py new file mode 100644 index 000000000..153366045 --- /dev/null +++ b/ydb/_grpc/v6/draft/protos/ydb_view_pb2.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +# flake8: noqa +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: draft/protos/ydb_view.proto +# Protobuf Python Version: 6.31.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 31, + 1, + '', + 'draft/protos/ydb_view.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from ydb._grpc.v6.protos.annotations import validation_pb2 as protos_dot_annotations_dot_validation__pb2 +from ydb._grpc.v6.protos import ydb_operation_pb2 as protos_dot_ydb__operation__pb2 +from ydb._grpc.v6.protos import ydb_scheme_pb2 as protos_dot_ydb__scheme__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x64raft/protos/ydb_view.proto\x12\x08Ydb.View\x1a#protos/annotations/validation.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x17protos/ydb_scheme.proto\"d\n\x13\x44\x65scribeViewRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\x04path\x18\x02 \x01(\tB\x04\x90\xe6*\x01\"D\n\x14\x44\x65scribeViewResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"I\n\x12\x44\x65scribeViewResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12\x12\n\nquery_text\x18\x02 \x01(\tB]\n\x19tech.ydb.proto.draft.viewZ=github.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_View\xf8\x01\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'draft.protos.ydb_view_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031tech.ydb.proto.draft.viewZ=github.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_View\370\001\001' + _globals['_DESCRIBEVIEWREQUEST'].fields_by_name['path']._loaded_options = None + _globals['_DESCRIBEVIEWREQUEST'].fields_by_name['path']._serialized_options = b'\220\346*\001' + _globals['_DESCRIBEVIEWREQUEST']._serialized_start=131 + _globals['_DESCRIBEVIEWREQUEST']._serialized_end=231 + _globals['_DESCRIBEVIEWRESPONSE']._serialized_start=233 + _globals['_DESCRIBEVIEWRESPONSE']._serialized_end=301 + _globals['_DESCRIBEVIEWRESULT']._serialized_start=303 + _globals['_DESCRIBEVIEWRESULT']._serialized_end=376 +# @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v6/draft/protos/ydb_view_pb2.pyi b/ydb/_grpc/v6/draft/protos/ydb_view_pb2.pyi new file mode 100644 index 000000000..f8e69fb2c --- /dev/null +++ b/ydb/_grpc/v6/draft/protos/ydb_view_pb2.pyi @@ -0,0 +1,31 @@ +from protos.annotations import validation_pb2 as _validation_pb2 +from protos import ydb_operation_pb2 as _ydb_operation_pb2 +from protos import ydb_scheme_pb2 as _ydb_scheme_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from collections.abc import Mapping as _Mapping +from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class DescribeViewRequest(_message.Message): + __slots__ = ("operation_params", "path") + OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + operation_params: _ydb_operation_pb2.OperationParams + path: str + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ...) -> None: ... + +class DescribeViewResponse(_message.Message): + __slots__ = ("operation",) + OPERATION_FIELD_NUMBER: _ClassVar[int] + operation: _ydb_operation_pb2.Operation + def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... + +class DescribeViewResult(_message.Message): + __slots__ = ("self", "query_text") + SELF_FIELD_NUMBER: _ClassVar[int] + QUERY_TEXT_FIELD_NUMBER: _ClassVar[int] + self: _ydb_scheme_pb2.Entry + query_text: str + def __init__(self_, self: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., query_text: _Optional[str] = ...) -> None: ... diff --git a/ydb/_grpc/v6/draft/protos/ydb_view_pb2_grpc.py b/ydb/_grpc/v6/draft/protos/ydb_view_pb2_grpc.py new file mode 100644 index 000000000..c35721f13 --- /dev/null +++ b/ydb/_grpc/v6/draft/protos/ydb_view_pb2_grpc.py @@ -0,0 +1,24 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc +import warnings + + +GRPC_GENERATED_VERSION = '1.76.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' but the generated code in draft/protos/ydb_view_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/ydb/_grpc/v6/draft/ydb_replication_v1_pb2.py b/ydb/_grpc/v6/draft/ydb_replication_v1_pb2.py new file mode 100644 index 000000000..2e590ae91 --- /dev/null +++ b/ydb/_grpc/v6/draft/ydb_replication_v1_pb2.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +# flake8: noqa +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: draft/ydb_replication_v1.proto +# Protobuf Python Version: 6.31.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 31, + 1, + '', + 'draft/ydb_replication_v1.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from ydb._grpc.v6.draft.protos import ydb_replication_pb2 as draft_dot_protos_dot_ydb__replication__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x64raft/ydb_replication_v1.proto\x12\x12Ydb.Replication.V1\x1a\"draft/protos/ydb_replication.proto2\xef\x01\n\x12ReplicationService\x12p\n\x13\x44\x65scribeReplication\x12+.Ydb.Replication.DescribeReplicationRequest\x1a,.Ydb.Replication.DescribeReplicationResponse\x12g\n\x10\x44\x65scribeTransfer\x12(.Ydb.Replication.DescribeTransferRequest\x1a).Ydb.Replication.DescribeTransferResponseBj\n#tech.ydb.proto.draft.replication.v1Z@github.com/ydb-platform/ydb-go-genproto/draft/Ydb_Replication_V1\xf8\x01\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'draft.ydb_replication_v1_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n#tech.ydb.proto.draft.replication.v1Z@github.com/ydb-platform/ydb-go-genproto/draft/Ydb_Replication_V1\370\001\001' + _globals['_REPLICATIONSERVICE']._serialized_start=91 + _globals['_REPLICATIONSERVICE']._serialized_end=330 +# @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v6/draft/ydb_replication_v1_pb2.pyi b/ydb/_grpc/v6/draft/ydb_replication_v1_pb2.pyi new file mode 100644 index 000000000..3dfdb702a --- /dev/null +++ b/ydb/_grpc/v6/draft/ydb_replication_v1_pb2.pyi @@ -0,0 +1,5 @@ +from draft.protos import ydb_replication_pb2 as _ydb_replication_pb2 +from google.protobuf import descriptor as _descriptor +from typing import ClassVar as _ClassVar + +DESCRIPTOR: _descriptor.FileDescriptor diff --git a/ydb/_grpc/v6/draft/ydb_replication_v1_pb2_grpc.py b/ydb/_grpc/v6/draft/ydb_replication_v1_pb2_grpc.py new file mode 100644 index 000000000..65517a127 --- /dev/null +++ b/ydb/_grpc/v6/draft/ydb_replication_v1_pb2_grpc.py @@ -0,0 +1,140 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc +import warnings + +from ydb._grpc.v6.draft.protos import ydb_replication_pb2 as draft_dot_protos_dot_ydb__replication__pb2 + +GRPC_GENERATED_VERSION = '1.76.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' but the generated code in draft/ydb_replication_v1_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + + +class ReplicationServiceStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.DescribeReplication = channel.unary_unary( + '/Ydb.Replication.V1.ReplicationService/DescribeReplication', + request_serializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationRequest.SerializeToString, + response_deserializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationResponse.FromString, + _registered_method=True) + self.DescribeTransfer = channel.unary_unary( + '/Ydb.Replication.V1.ReplicationService/DescribeTransfer', + request_serializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferRequest.SerializeToString, + response_deserializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferResponse.FromString, + _registered_method=True) + + +class ReplicationServiceServicer(object): + """Missing associated documentation comment in .proto file.""" + + def DescribeReplication(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DescribeTransfer(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ReplicationServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'DescribeReplication': grpc.unary_unary_rpc_method_handler( + servicer.DescribeReplication, + request_deserializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationRequest.FromString, + response_serializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationResponse.SerializeToString, + ), + 'DescribeTransfer': grpc.unary_unary_rpc_method_handler( + servicer.DescribeTransfer, + request_deserializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferRequest.FromString, + response_serializer=draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'Ydb.Replication.V1.ReplicationService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('Ydb.Replication.V1.ReplicationService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class ReplicationService(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def DescribeReplication(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/Ydb.Replication.V1.ReplicationService/DescribeReplication', + draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationRequest.SerializeToString, + draft_dot_protos_dot_ydb__replication__pb2.DescribeReplicationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DescribeTransfer(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/Ydb.Replication.V1.ReplicationService/DescribeTransfer', + draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferRequest.SerializeToString, + draft_dot_protos_dot_ydb__replication__pb2.DescribeTransferResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/ydb/_grpc/v6/draft/ydb_view_v1_pb2.py b/ydb/_grpc/v6/draft/ydb_view_v1_pb2.py new file mode 100644 index 000000000..e5dbb509a --- /dev/null +++ b/ydb/_grpc/v6/draft/ydb_view_v1_pb2.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +# flake8: noqa +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: draft/ydb_view_v1.proto +# Protobuf Python Version: 6.31.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 31, + 1, + '', + 'draft/ydb_view_v1.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from ydb._grpc.v6.draft.protos import ydb_view_pb2 as draft_dot_protos_dot_ydb__view__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x64raft/ydb_view_v1.proto\x12\x0bYdb.View.V1\x1a\x1b\x64raft/protos/ydb_view.proto2\\\n\x0bViewService\x12M\n\x0c\x44\x65scribeView\x12\x1d.Ydb.View.DescribeViewRequest\x1a\x1e.Ydb.View.DescribeViewResponseB\\\n\x1ctech.ydb.proto.draft.view.v1Z9github.com/ydb-platform/ydb-go-genproto/draft/Ydb_View_V1\xf8\x01\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'draft.ydb_view_v1_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034tech.ydb.proto.draft.view.v1Z9github.com/ydb-platform/ydb-go-genproto/draft/Ydb_View_V1\370\001\001' + _globals['_VIEWSERVICE']._serialized_start=69 + _globals['_VIEWSERVICE']._serialized_end=161 +# @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v6/draft/ydb_view_v1_pb2.pyi b/ydb/_grpc/v6/draft/ydb_view_v1_pb2.pyi new file mode 100644 index 000000000..15db46287 --- /dev/null +++ b/ydb/_grpc/v6/draft/ydb_view_v1_pb2.pyi @@ -0,0 +1,5 @@ +from draft.protos import ydb_view_pb2 as _ydb_view_pb2 +from google.protobuf import descriptor as _descriptor +from typing import ClassVar as _ClassVar + +DESCRIPTOR: _descriptor.FileDescriptor diff --git a/ydb/_grpc/v6/draft/ydb_view_v1_pb2_grpc.py b/ydb/_grpc/v6/draft/ydb_view_v1_pb2_grpc.py new file mode 100644 index 000000000..d2512a96a --- /dev/null +++ b/ydb/_grpc/v6/draft/ydb_view_v1_pb2_grpc.py @@ -0,0 +1,97 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc +import warnings + +from ydb._grpc.v6.draft.protos import ydb_view_pb2 as draft_dot_protos_dot_ydb__view__pb2 + +GRPC_GENERATED_VERSION = '1.76.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + ' but the generated code in draft/ydb_view_v1_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + + +class ViewServiceStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.DescribeView = channel.unary_unary( + '/Ydb.View.V1.ViewService/DescribeView', + request_serializer=draft_dot_protos_dot_ydb__view__pb2.DescribeViewRequest.SerializeToString, + response_deserializer=draft_dot_protos_dot_ydb__view__pb2.DescribeViewResponse.FromString, + _registered_method=True) + + +class ViewServiceServicer(object): + """Missing associated documentation comment in .proto file.""" + + def DescribeView(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ViewServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'DescribeView': grpc.unary_unary_rpc_method_handler( + servicer.DescribeView, + request_deserializer=draft_dot_protos_dot_ydb__view__pb2.DescribeViewRequest.FromString, + response_serializer=draft_dot_protos_dot_ydb__view__pb2.DescribeViewResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'Ydb.View.V1.ViewService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('Ydb.View.V1.ViewService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class ViewService(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def DescribeView(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/Ydb.View.V1.ViewService/DescribeView', + draft_dot_protos_dot_ydb__view__pb2.DescribeViewRequest.SerializeToString, + draft_dot_protos_dot_ydb__view__pb2.DescribeViewResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/ydb/_grpc/v6/protos/ydb_query_pb2.py b/ydb/_grpc/v6/protos/ydb_query_pb2.py index af00d8039..bc12066cd 100644 --- a/ydb/_grpc/v6/protos/ydb_query_pb2.py +++ b/ydb/_grpc/v6/protos/ydb_query_pb2.py @@ -33,7 +33,7 @@ from ydb._grpc.v6.protos import ydb_value_pb2 as protos_dot_ydb__value__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16protos/ydb_query.proto\x12\tYdb.Query\x1a\x1egoogle/protobuf/duration.proto\x1a#protos/annotations/validation.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1cprotos/ydb_query_stats.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x18protos/ydb_formats.proto\x1a\x16protos/ydb_value.proto\"\x16\n\x14\x43reateSessionRequest\"\xa3\x01\n\x15\x43reateSessionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x1b\n\nsession_id\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x19\n\x07node_id\x18\x04 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\"3\n\x14\x44\x65leteSessionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"k\n\x15\x44\x65leteSessionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"3\n\x14\x41ttachSessionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"b\n\x0cSessionState\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"\x1a\n\x18SerializableModeSettings\"6\n\x12OnlineModeSettings\x12 \n\x18\x61llow_inconsistent_reads\x18\x01 \x01(\x08\"\x13\n\x11StaleModeSettings\"\x16\n\x14SnapshotModeSettings\"\x18\n\x16SnapshotRWModeSettings\"\xdd\x02\n\x13TransactionSettings\x12\x46\n\x17serializable_read_write\x18\x01 \x01(\x0b\x32#.Ydb.Query.SerializableModeSettingsH\x00\x12\x39\n\x10online_read_only\x18\x02 \x01(\x0b\x32\x1d.Ydb.Query.OnlineModeSettingsH\x00\x12\x37\n\x0fstale_read_only\x18\x03 \x01(\x0b\x32\x1c.Ydb.Query.StaleModeSettingsH\x00\x12=\n\x12snapshot_read_only\x18\x04 \x01(\x0b\x32\x1f.Ydb.Query.SnapshotModeSettingsH\x00\x12@\n\x13snapshot_read_write\x18\x05 \x01(\x0b\x32!.Ydb.Query.SnapshotRWModeSettingsH\x00\x42\t\n\x07tx_mode\"\x84\x01\n\x12TransactionControl\x12\x18\n\x05tx_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08H\x00\x12\x32\n\x08\x62\x65gin_tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Query.TransactionSettingsH\x00\x12\x11\n\tcommit_tx\x18\n \x01(\x08\x42\r\n\x0btx_selector\"k\n\x17\x42\x65ginTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x33\n\x0btx_settings\x18\x02 \x01(\x0b\x32\x1e.Ydb.Query.TransactionSettings\"&\n\x0fTransactionMeta\x12\x13\n\x02id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"\x9b\x01\n\x18\x42\x65ginTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12+\n\x07tx_meta\x18\x03 \x01(\x0b\x32\x1a.Ydb.Query.TransactionMeta\"O\n\x18\x43ommitTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x16\n\x05tx_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"o\n\x19\x43ommitTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"Q\n\x1aRollbackTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x16\n\x05tx_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"q\n\x1bRollbackTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"?\n\x0cQueryContent\x12!\n\x06syntax\x18\x01 \x01(\x0e\x32\x11.Ydb.Query.Syntax\x12\x0c\n\x04text\x18\x02 \x01(\t\"\xb6\x05\n\x13\x45xecuteQueryRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12&\n\texec_mode\x18\x02 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12\x31\n\ntx_control\x18\x03 \x01(\x0b\x32\x1d.Ydb.Query.TransactionControl\x12\x30\n\rquery_content\x18\x04 \x01(\x0b\x32\x17.Ydb.Query.QueryContentH\x00\x12\x42\n\nparameters\x18\x06 \x03(\x0b\x32..Ydb.Query.ExecuteQueryRequest.ParametersEntry\x12(\n\nstats_mode\x18\x07 \x01(\x0e\x32\x14.Ydb.Query.StatsMode\x12\x1e\n\x16\x63oncurrent_result_sets\x18\x08 \x01(\x08\x12\x34\n\x19response_part_limit_bytes\x18\t \x01(\x03\x42\x11\xb2\xe6*\r[0; 33554432]\x12\x0f\n\x07pool_id\x18\n \x01(\t\x12!\n\x0fstats_period_ms\x18\x0b \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12=\n\x15schema_inclusion_mode\x18\x0c \x01(\x0e\x32\x1e.Ydb.Query.SchemaInclusionMode\x12\x30\n\x11result_set_format\x18\r \x01(\x0e\x32\x15.Ydb.ResultSet.Format\x12?\n\x15\x61rrow_format_settings\x18\x0e \x01(\x0b\x32 .Ydb.Formats.ArrowFormatSettings\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\x42\x07\n\x05query\"-\n\rResultSetMeta\x12\x1c\n\x07\x63olumns\x18\x01 \x03(\x0b\x32\x0b.Ydb.Column\"\x93\x02\n\x18\x45xecuteQueryResponsePart\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\x10result_set_index\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\"\n\nresult_set\x18\x04 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12.\n\nexec_stats\x18\x05 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\x12+\n\x07tx_meta\x18\x06 \x01(\x0b\x32\x1a.Ydb.Query.TransactionMeta\"\x9e\x03\n\x14\x45xecuteScriptRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12&\n\texec_mode\x18\x02 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12/\n\x0escript_content\x18\x03 \x01(\x0b\x32\x17.Ydb.Query.QueryContent\x12\x43\n\nparameters\x18\x04 \x03(\x0b\x32/.Ydb.Query.ExecuteScriptRequest.ParametersEntry\x12(\n\nstats_mode\x18\x05 \x01(\x0e\x32\x14.Ydb.Query.StatsMode\x12.\n\x0bresults_ttl\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07pool_id\x18\x07 \x01(\t\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"\x9f\x02\n\x15\x45xecuteScriptMetadata\x12\x1d\n\x0c\x65xecution_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12*\n\x0b\x65xec_status\x18\x02 \x01(\x0e\x32\x15.Ydb.Query.ExecStatus\x12/\n\x0escript_content\x18\x03 \x01(\x0b\x32\x17.Ydb.Query.QueryContent\x12\x32\n\x10result_sets_meta\x18\x04 \x03(\x0b\x32\x18.Ydb.Query.ResultSetMeta\x12&\n\texec_mode\x18\x05 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12.\n\nexec_stats\x18\x06 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"\x90\x01\n\x19\x46\x65tchScriptResultsRequest\x12\x1d\n\x0coperation_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x18\n\x10result_set_index\x18\x02 \x01(\x03\x12\x1c\n\x0b\x66\x65tch_token\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x1c\n\nrows_limit\x18\x04 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\"\xdb\x01\n\x1a\x46\x65tchScriptResultsResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\x10result_set_index\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\"\n\nresult_set\x18\x04 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12!\n\x10next_fetch_token\x18\x05 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"9\n\x06Script\x12/\n\x0escript_content\x18\x01 \x01(\x0b\x32\x17.Ydb.Query.QueryContent*B\n\x06Syntax\x12\x16\n\x12SYNTAX_UNSPECIFIED\x10\x00\x12\x11\n\rSYNTAX_YQL_V1\x10\x01\x12\r\n\tSYNTAX_PG\x10\x02*\x86\x01\n\x08\x45xecMode\x12\x19\n\x15\x45XEC_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x45XEC_MODE_PARSE\x10\n\x12\x16\n\x12\x45XEC_MODE_VALIDATE\x10\x14\x12\x15\n\x11\x45XEC_MODE_EXPLAIN\x10\x1e\x12\x15\n\x11\x45XEC_MODE_EXECUTE\x10\x32\"\x04\x08(\x10(*\x7f\n\tStatsMode\x12\x1a\n\x16STATS_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSTATS_MODE_NONE\x10\n\x12\x14\n\x10STATS_MODE_BASIC\x10\x14\x12\x13\n\x0fSTATS_MODE_FULL\x10\x1e\x12\x16\n\x12STATS_MODE_PROFILE\x10(*\x84\x01\n\x13SchemaInclusionMode\x12%\n!SCHEMA_INCLUSION_MODE_UNSPECIFIED\x10\x00\x12 \n\x1cSCHEMA_INCLUSION_MODE_ALWAYS\x10\x01\x12$\n SCHEMA_INCLUSION_MODE_FIRST_ONLY\x10\x02*\xaa\x01\n\nExecStatus\x12\x1b\n\x17\x45XEC_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14\x45XEC_STATUS_STARTING\x10\n\x12\x17\n\x13\x45XEC_STATUS_ABORTED\x10\x14\x12\x19\n\x15\x45XEC_STATUS_CANCELLED\x10\x1e\x12\x19\n\x15\x45XEC_STATUS_COMPLETED\x10(\x12\x16\n\x12\x45XEC_STATUS_FAILED\x10\x32\x42S\n\x14tech.ydb.proto.queryZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Query\xf8\x01\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16protos/ydb_query.proto\x12\tYdb.Query\x1a\x1egoogle/protobuf/duration.proto\x1a#protos/annotations/validation.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1cprotos/ydb_query_stats.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x18protos/ydb_formats.proto\x1a\x16protos/ydb_value.proto\"\x16\n\x14\x43reateSessionRequest\"\xa3\x01\n\x15\x43reateSessionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x1b\n\nsession_id\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x19\n\x07node_id\x18\x04 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\"3\n\x14\x44\x65leteSessionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"k\n\x15\x44\x65leteSessionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"3\n\x14\x41ttachSessionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"\x15\n\x13SessionShutdownHint\"\x12\n\x10NodeShutdownHint\"\xe4\x01\n\x0cSessionState\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12:\n\x10session_shutdown\x18\x03 \x01(\x0b\x32\x1e.Ydb.Query.SessionShutdownHintH\x00\x12\x34\n\rnode_shutdown\x18\x04 \x01(\x0b\x32\x1b.Ydb.Query.NodeShutdownHintH\x00\x42\x0e\n\x0csession_hint\"\x1a\n\x18SerializableModeSettings\"6\n\x12OnlineModeSettings\x12 \n\x18\x61llow_inconsistent_reads\x18\x01 \x01(\x08\"\x13\n\x11StaleModeSettings\"\x16\n\x14SnapshotModeSettings\"\x18\n\x16SnapshotRWModeSettings\"\xdd\x02\n\x13TransactionSettings\x12\x46\n\x17serializable_read_write\x18\x01 \x01(\x0b\x32#.Ydb.Query.SerializableModeSettingsH\x00\x12\x39\n\x10online_read_only\x18\x02 \x01(\x0b\x32\x1d.Ydb.Query.OnlineModeSettingsH\x00\x12\x37\n\x0fstale_read_only\x18\x03 \x01(\x0b\x32\x1c.Ydb.Query.StaleModeSettingsH\x00\x12=\n\x12snapshot_read_only\x18\x04 \x01(\x0b\x32\x1f.Ydb.Query.SnapshotModeSettingsH\x00\x12@\n\x13snapshot_read_write\x18\x05 \x01(\x0b\x32!.Ydb.Query.SnapshotRWModeSettingsH\x00\x42\t\n\x07tx_mode\"\x84\x01\n\x12TransactionControl\x12\x18\n\x05tx_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08H\x00\x12\x32\n\x08\x62\x65gin_tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Query.TransactionSettingsH\x00\x12\x11\n\tcommit_tx\x18\n \x01(\x08\x42\r\n\x0btx_selector\"k\n\x17\x42\x65ginTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x33\n\x0btx_settings\x18\x02 \x01(\x0b\x32\x1e.Ydb.Query.TransactionSettings\"&\n\x0fTransactionMeta\x12\x13\n\x02id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"\x9b\x01\n\x18\x42\x65ginTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12+\n\x07tx_meta\x18\x03 \x01(\x0b\x32\x1a.Ydb.Query.TransactionMeta\"O\n\x18\x43ommitTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x16\n\x05tx_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"o\n\x19\x43ommitTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"Q\n\x1aRollbackTransactionRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x16\n\x05tx_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"q\n\x1bRollbackTransactionResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\"?\n\x0cQueryContent\x12!\n\x06syntax\x18\x01 \x01(\x0e\x32\x11.Ydb.Query.Syntax\x12\x0c\n\x04text\x18\x02 \x01(\t\"\xb6\x05\n\x13\x45xecuteQueryRequest\x12\x1b\n\nsession_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12&\n\texec_mode\x18\x02 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12\x31\n\ntx_control\x18\x03 \x01(\x0b\x32\x1d.Ydb.Query.TransactionControl\x12\x30\n\rquery_content\x18\x04 \x01(\x0b\x32\x17.Ydb.Query.QueryContentH\x00\x12\x42\n\nparameters\x18\x06 \x03(\x0b\x32..Ydb.Query.ExecuteQueryRequest.ParametersEntry\x12(\n\nstats_mode\x18\x07 \x01(\x0e\x32\x14.Ydb.Query.StatsMode\x12\x1e\n\x16\x63oncurrent_result_sets\x18\x08 \x01(\x08\x12\x34\n\x19response_part_limit_bytes\x18\t \x01(\x03\x42\x11\xb2\xe6*\r[0; 33554432]\x12\x0f\n\x07pool_id\x18\n \x01(\t\x12!\n\x0fstats_period_ms\x18\x0b \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12=\n\x15schema_inclusion_mode\x18\x0c \x01(\x0e\x32\x1e.Ydb.Query.SchemaInclusionMode\x12\x30\n\x11result_set_format\x18\r \x01(\x0e\x32\x15.Ydb.ResultSet.Format\x12?\n\x15\x61rrow_format_settings\x18\x0e \x01(\x0b\x32 .Ydb.Formats.ArrowFormatSettings\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\x42\x07\n\x05query\"-\n\rResultSetMeta\x12\x1c\n\x07\x63olumns\x18\x01 \x03(\x0b\x32\x0b.Ydb.Column\"\x93\x02\n\x18\x45xecuteQueryResponsePart\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\x10result_set_index\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\"\n\nresult_set\x18\x04 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12.\n\nexec_stats\x18\x05 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\x12+\n\x07tx_meta\x18\x06 \x01(\x0b\x32\x1a.Ydb.Query.TransactionMeta\"\x9e\x03\n\x14\x45xecuteScriptRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12&\n\texec_mode\x18\x02 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12/\n\x0escript_content\x18\x03 \x01(\x0b\x32\x17.Ydb.Query.QueryContent\x12\x43\n\nparameters\x18\x04 \x03(\x0b\x32/.Ydb.Query.ExecuteScriptRequest.ParametersEntry\x12(\n\nstats_mode\x18\x05 \x01(\x0e\x32\x14.Ydb.Query.StatsMode\x12.\n\x0bresults_ttl\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07pool_id\x18\x07 \x01(\t\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"\x9f\x02\n\x15\x45xecuteScriptMetadata\x12\x1d\n\x0c\x65xecution_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12*\n\x0b\x65xec_status\x18\x02 \x01(\x0e\x32\x15.Ydb.Query.ExecStatus\x12/\n\x0escript_content\x18\x03 \x01(\x0b\x32\x17.Ydb.Query.QueryContent\x12\x32\n\x10result_sets_meta\x18\x04 \x03(\x0b\x32\x18.Ydb.Query.ResultSetMeta\x12&\n\texec_mode\x18\x05 \x01(\x0e\x32\x13.Ydb.Query.ExecMode\x12.\n\nexec_stats\x18\x06 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"\x90\x01\n\x19\x46\x65tchScriptResultsRequest\x12\x1d\n\x0coperation_id\x18\x01 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x18\n\x10result_set_index\x18\x02 \x01(\x03\x12\x1c\n\x0b\x66\x65tch_token\x18\x03 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\x12\x1c\n\nrows_limit\x18\x04 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\"\xdb\x01\n\x1a\x46\x65tchScriptResultsResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\x10result_set_index\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\"\n\nresult_set\x18\x04 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12!\n\x10next_fetch_token\x18\x05 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x08\"9\n\x06Script\x12/\n\x0escript_content\x18\x01 \x01(\x0b\x32\x17.Ydb.Query.QueryContent*B\n\x06Syntax\x12\x16\n\x12SYNTAX_UNSPECIFIED\x10\x00\x12\x11\n\rSYNTAX_YQL_V1\x10\x01\x12\r\n\tSYNTAX_PG\x10\x02*\x86\x01\n\x08\x45xecMode\x12\x19\n\x15\x45XEC_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x45XEC_MODE_PARSE\x10\n\x12\x16\n\x12\x45XEC_MODE_VALIDATE\x10\x14\x12\x15\n\x11\x45XEC_MODE_EXPLAIN\x10\x1e\x12\x15\n\x11\x45XEC_MODE_EXECUTE\x10\x32\"\x04\x08(\x10(*\x7f\n\tStatsMode\x12\x1a\n\x16STATS_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSTATS_MODE_NONE\x10\n\x12\x14\n\x10STATS_MODE_BASIC\x10\x14\x12\x13\n\x0fSTATS_MODE_FULL\x10\x1e\x12\x16\n\x12STATS_MODE_PROFILE\x10(*\x84\x01\n\x13SchemaInclusionMode\x12%\n!SCHEMA_INCLUSION_MODE_UNSPECIFIED\x10\x00\x12 \n\x1cSCHEMA_INCLUSION_MODE_ALWAYS\x10\x01\x12$\n SCHEMA_INCLUSION_MODE_FIRST_ONLY\x10\x02*\xaa\x01\n\nExecStatus\x12\x1b\n\x17\x45XEC_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14\x45XEC_STATUS_STARTING\x10\n\x12\x17\n\x13\x45XEC_STATUS_ABORTED\x10\x14\x12\x19\n\x15\x45XEC_STATUS_CANCELLED\x10\x1e\x12\x19\n\x15\x45XEC_STATUS_COMPLETED\x10(\x12\x16\n\x12\x45XEC_STATUS_FAILED\x10\x32\x42S\n\x14tech.ydb.proto.queryZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Query\xf8\x01\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -87,16 +87,16 @@ _globals['_FETCHSCRIPTRESULTSRESPONSE'].fields_by_name['result_set_index']._serialized_options = b'\262\346*\004>= 0' _globals['_FETCHSCRIPTRESULTSRESPONSE'].fields_by_name['next_fetch_token']._loaded_options = None _globals['_FETCHSCRIPTRESULTSRESPONSE'].fields_by_name['next_fetch_token']._serialized_options = b'\242\346*\003\030\200\010' - _globals['_SYNTAX']._serialized_start=4345 - _globals['_SYNTAX']._serialized_end=4411 - _globals['_EXECMODE']._serialized_start=4414 - _globals['_EXECMODE']._serialized_end=4548 - _globals['_STATSMODE']._serialized_start=4550 - _globals['_STATSMODE']._serialized_end=4677 - _globals['_SCHEMAINCLUSIONMODE']._serialized_start=4680 - _globals['_SCHEMAINCLUSIONMODE']._serialized_end=4812 - _globals['_EXECSTATUS']._serialized_start=4815 - _globals['_EXECSTATUS']._serialized_end=4985 + _globals['_SYNTAX']._serialized_start=4519 + _globals['_SYNTAX']._serialized_end=4585 + _globals['_EXECMODE']._serialized_start=4588 + _globals['_EXECMODE']._serialized_end=4722 + _globals['_STATSMODE']._serialized_start=4724 + _globals['_STATSMODE']._serialized_end=4851 + _globals['_SCHEMAINCLUSIONMODE']._serialized_start=4854 + _globals['_SCHEMAINCLUSIONMODE']._serialized_end=4986 + _globals['_EXECSTATUS']._serialized_start=4989 + _globals['_EXECSTATUS']._serialized_end=5159 _globals['_CREATESESSIONREQUEST']._serialized_start=277 _globals['_CREATESESSIONREQUEST']._serialized_end=299 _globals['_CREATESESSIONRESPONSE']._serialized_start=302 @@ -107,56 +107,60 @@ _globals['_DELETESESSIONRESPONSE']._serialized_end=627 _globals['_ATTACHSESSIONREQUEST']._serialized_start=629 _globals['_ATTACHSESSIONREQUEST']._serialized_end=680 - _globals['_SESSIONSTATE']._serialized_start=682 - _globals['_SESSIONSTATE']._serialized_end=780 - _globals['_SERIALIZABLEMODESETTINGS']._serialized_start=782 - _globals['_SERIALIZABLEMODESETTINGS']._serialized_end=808 - _globals['_ONLINEMODESETTINGS']._serialized_start=810 - _globals['_ONLINEMODESETTINGS']._serialized_end=864 - _globals['_STALEMODESETTINGS']._serialized_start=866 - _globals['_STALEMODESETTINGS']._serialized_end=885 - _globals['_SNAPSHOTMODESETTINGS']._serialized_start=887 - _globals['_SNAPSHOTMODESETTINGS']._serialized_end=909 - _globals['_SNAPSHOTRWMODESETTINGS']._serialized_start=911 - _globals['_SNAPSHOTRWMODESETTINGS']._serialized_end=935 - _globals['_TRANSACTIONSETTINGS']._serialized_start=938 - _globals['_TRANSACTIONSETTINGS']._serialized_end=1287 - _globals['_TRANSACTIONCONTROL']._serialized_start=1290 - _globals['_TRANSACTIONCONTROL']._serialized_end=1422 - _globals['_BEGINTRANSACTIONREQUEST']._serialized_start=1424 - _globals['_BEGINTRANSACTIONREQUEST']._serialized_end=1531 - _globals['_TRANSACTIONMETA']._serialized_start=1533 - _globals['_TRANSACTIONMETA']._serialized_end=1571 - _globals['_BEGINTRANSACTIONRESPONSE']._serialized_start=1574 - _globals['_BEGINTRANSACTIONRESPONSE']._serialized_end=1729 - _globals['_COMMITTRANSACTIONREQUEST']._serialized_start=1731 - _globals['_COMMITTRANSACTIONREQUEST']._serialized_end=1810 - _globals['_COMMITTRANSACTIONRESPONSE']._serialized_start=1812 - _globals['_COMMITTRANSACTIONRESPONSE']._serialized_end=1923 - _globals['_ROLLBACKTRANSACTIONREQUEST']._serialized_start=1925 - _globals['_ROLLBACKTRANSACTIONREQUEST']._serialized_end=2006 - _globals['_ROLLBACKTRANSACTIONRESPONSE']._serialized_start=2008 - _globals['_ROLLBACKTRANSACTIONRESPONSE']._serialized_end=2121 - _globals['_QUERYCONTENT']._serialized_start=2123 - _globals['_QUERYCONTENT']._serialized_end=2186 - _globals['_EXECUTEQUERYREQUEST']._serialized_start=2189 - _globals['_EXECUTEQUERYREQUEST']._serialized_end=2883 - _globals['_EXECUTEQUERYREQUEST_PARAMETERSENTRY']._serialized_start=2808 - _globals['_EXECUTEQUERYREQUEST_PARAMETERSENTRY']._serialized_end=2874 - _globals['_RESULTSETMETA']._serialized_start=2885 - _globals['_RESULTSETMETA']._serialized_end=2930 - _globals['_EXECUTEQUERYRESPONSEPART']._serialized_start=2933 - _globals['_EXECUTEQUERYRESPONSEPART']._serialized_end=3208 - _globals['_EXECUTESCRIPTREQUEST']._serialized_start=3211 - _globals['_EXECUTESCRIPTREQUEST']._serialized_end=3625 - _globals['_EXECUTESCRIPTREQUEST_PARAMETERSENTRY']._serialized_start=2808 - _globals['_EXECUTESCRIPTREQUEST_PARAMETERSENTRY']._serialized_end=2874 - _globals['_EXECUTESCRIPTMETADATA']._serialized_start=3628 - _globals['_EXECUTESCRIPTMETADATA']._serialized_end=3915 - _globals['_FETCHSCRIPTRESULTSREQUEST']._serialized_start=3918 - _globals['_FETCHSCRIPTRESULTSREQUEST']._serialized_end=4062 - _globals['_FETCHSCRIPTRESULTSRESPONSE']._serialized_start=4065 - _globals['_FETCHSCRIPTRESULTSRESPONSE']._serialized_end=4284 - _globals['_SCRIPT']._serialized_start=4286 - _globals['_SCRIPT']._serialized_end=4343 + _globals['_SESSIONSHUTDOWNHINT']._serialized_start=682 + _globals['_SESSIONSHUTDOWNHINT']._serialized_end=703 + _globals['_NODESHUTDOWNHINT']._serialized_start=705 + _globals['_NODESHUTDOWNHINT']._serialized_end=723 + _globals['_SESSIONSTATE']._serialized_start=726 + _globals['_SESSIONSTATE']._serialized_end=954 + _globals['_SERIALIZABLEMODESETTINGS']._serialized_start=956 + _globals['_SERIALIZABLEMODESETTINGS']._serialized_end=982 + _globals['_ONLINEMODESETTINGS']._serialized_start=984 + _globals['_ONLINEMODESETTINGS']._serialized_end=1038 + _globals['_STALEMODESETTINGS']._serialized_start=1040 + _globals['_STALEMODESETTINGS']._serialized_end=1059 + _globals['_SNAPSHOTMODESETTINGS']._serialized_start=1061 + _globals['_SNAPSHOTMODESETTINGS']._serialized_end=1083 + _globals['_SNAPSHOTRWMODESETTINGS']._serialized_start=1085 + _globals['_SNAPSHOTRWMODESETTINGS']._serialized_end=1109 + _globals['_TRANSACTIONSETTINGS']._serialized_start=1112 + _globals['_TRANSACTIONSETTINGS']._serialized_end=1461 + _globals['_TRANSACTIONCONTROL']._serialized_start=1464 + _globals['_TRANSACTIONCONTROL']._serialized_end=1596 + _globals['_BEGINTRANSACTIONREQUEST']._serialized_start=1598 + _globals['_BEGINTRANSACTIONREQUEST']._serialized_end=1705 + _globals['_TRANSACTIONMETA']._serialized_start=1707 + _globals['_TRANSACTIONMETA']._serialized_end=1745 + _globals['_BEGINTRANSACTIONRESPONSE']._serialized_start=1748 + _globals['_BEGINTRANSACTIONRESPONSE']._serialized_end=1903 + _globals['_COMMITTRANSACTIONREQUEST']._serialized_start=1905 + _globals['_COMMITTRANSACTIONREQUEST']._serialized_end=1984 + _globals['_COMMITTRANSACTIONRESPONSE']._serialized_start=1986 + _globals['_COMMITTRANSACTIONRESPONSE']._serialized_end=2097 + _globals['_ROLLBACKTRANSACTIONREQUEST']._serialized_start=2099 + _globals['_ROLLBACKTRANSACTIONREQUEST']._serialized_end=2180 + _globals['_ROLLBACKTRANSACTIONRESPONSE']._serialized_start=2182 + _globals['_ROLLBACKTRANSACTIONRESPONSE']._serialized_end=2295 + _globals['_QUERYCONTENT']._serialized_start=2297 + _globals['_QUERYCONTENT']._serialized_end=2360 + _globals['_EXECUTEQUERYREQUEST']._serialized_start=2363 + _globals['_EXECUTEQUERYREQUEST']._serialized_end=3057 + _globals['_EXECUTEQUERYREQUEST_PARAMETERSENTRY']._serialized_start=2982 + _globals['_EXECUTEQUERYREQUEST_PARAMETERSENTRY']._serialized_end=3048 + _globals['_RESULTSETMETA']._serialized_start=3059 + _globals['_RESULTSETMETA']._serialized_end=3104 + _globals['_EXECUTEQUERYRESPONSEPART']._serialized_start=3107 + _globals['_EXECUTEQUERYRESPONSEPART']._serialized_end=3382 + _globals['_EXECUTESCRIPTREQUEST']._serialized_start=3385 + _globals['_EXECUTESCRIPTREQUEST']._serialized_end=3799 + _globals['_EXECUTESCRIPTREQUEST_PARAMETERSENTRY']._serialized_start=2982 + _globals['_EXECUTESCRIPTREQUEST_PARAMETERSENTRY']._serialized_end=3048 + _globals['_EXECUTESCRIPTMETADATA']._serialized_start=3802 + _globals['_EXECUTESCRIPTMETADATA']._serialized_end=4089 + _globals['_FETCHSCRIPTRESULTSREQUEST']._serialized_start=4092 + _globals['_FETCHSCRIPTRESULTSREQUEST']._serialized_end=4236 + _globals['_FETCHSCRIPTRESULTSRESPONSE']._serialized_start=4239 + _globals['_FETCHSCRIPTRESULTSRESPONSE']._serialized_end=4458 + _globals['_SCRIPT']._serialized_start=4460 + _globals['_SCRIPT']._serialized_end=4517 # @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v6/protos/ydb_query_pb2.pyi b/ydb/_grpc/v6/protos/ydb_query_pb2.pyi index 056b8bb12..5106dfd2c 100644 --- a/ydb/_grpc/v6/protos/ydb_query_pb2.pyi +++ b/ydb/_grpc/v6/protos/ydb_query_pb2.pyi @@ -112,13 +112,25 @@ class AttachSessionRequest(_message.Message): session_id: str def __init__(self, session_id: _Optional[str] = ...) -> None: ... +class SessionShutdownHint(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + +class NodeShutdownHint(_message.Message): + __slots__ = () + def __init__(self) -> None: ... + class SessionState(_message.Message): - __slots__ = ("status", "issues") + __slots__ = ("status", "issues", "session_shutdown", "node_shutdown") STATUS_FIELD_NUMBER: _ClassVar[int] ISSUES_FIELD_NUMBER: _ClassVar[int] + SESSION_SHUTDOWN_FIELD_NUMBER: _ClassVar[int] + NODE_SHUTDOWN_FIELD_NUMBER: _ClassVar[int] status: _ydb_status_codes_pb2.StatusIds.StatusCode issues: _containers.RepeatedCompositeFieldContainer[_ydb_issue_message_pb2.IssueMessage] - def __init__(self, status: _Optional[_Union[_ydb_status_codes_pb2.StatusIds.StatusCode, str]] = ..., issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ...) -> None: ... + session_shutdown: SessionShutdownHint + node_shutdown: NodeShutdownHint + def __init__(self, status: _Optional[_Union[_ydb_status_codes_pb2.StatusIds.StatusCode, str]] = ..., issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ..., session_shutdown: _Optional[_Union[SessionShutdownHint, _Mapping]] = ..., node_shutdown: _Optional[_Union[NodeShutdownHint, _Mapping]] = ...) -> None: ... class SerializableModeSettings(_message.Message): __slots__ = () diff --git a/ydb/_grpc/v6/protos/ydb_table_pb2.py b/ydb/_grpc/v6/protos/ydb_table_pb2.py index 078a69a41..3d392b6ba 100644 --- a/ydb/_grpc/v6/protos/ydb_table_pb2.py +++ b/ydb/_grpc/v6/protos/ydb_table_pb2.py @@ -38,7 +38,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16protos/ydb_table.proto\x12\tYdb.Table\x1a#protos/annotations/validation.proto\x1a\x17protos/ydb_common.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1cprotos/ydb_query_stats.proto\x1a\x16protos/ydb_value.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x16protos/ydb_topic.proto\x1a\x18protos/ydb_formats.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"Q\n\x14\x43reateSessionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"E\n\x15\x43reateSessionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\")\n\x13\x43reateSessionResult\x12\x12\n\nsession_id\x18\x01 \x01(\t\"e\n\x14\x44\x65leteSessionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x39\n\x10operation_params\x18\x02 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"E\n\x15\x44\x65leteSessionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\r\n\x0bGlobalIndex\"\x12\n\x10GlobalAsyncIndex\"\x13\n\x11GlobalUniqueIndex\"\xf7\x01\n\nTableIndex\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rindex_columns\x18\x02 \x03(\t\x12.\n\x0cglobal_index\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.GlobalIndexH\x00\x12\x39\n\x12global_async_index\x18\x04 \x01(\x0b\x32\x1b.Ydb.Table.GlobalAsyncIndexH\x00\x12;\n\x13global_unique_index\x18\x06 \x01(\x0b\x32\x1c.Ydb.Table.GlobalUniqueIndexH\x00\x12\x14\n\x0c\x64\x61ta_columns\x18\x05 \x03(\tB\x06\n\x04type\"\x98\x03\n\x15TableIndexDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rindex_columns\x18\x02 \x03(\t\x12.\n\x0cglobal_index\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.GlobalIndexH\x00\x12\x39\n\x12global_async_index\x18\x05 \x01(\x0b\x32\x1b.Ydb.Table.GlobalAsyncIndexH\x00\x12;\n\x13global_unique_index\x18\x08 \x01(\x0b\x32\x1c.Ydb.Table.GlobalUniqueIndexH\x00\x12\x37\n\x06status\x18\x04 \x01(\x0e\x32\'.Ydb.Table.TableIndexDescription.Status\x12\x14\n\x0c\x64\x61ta_columns\x18\x06 \x03(\t\x12\x12\n\nsize_bytes\x18\x07 \x01(\x04\"G\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATUS_READY\x10\x01\x12\x13\n\x0fSTATUS_BUILDING\x10\x02\x42\x06\n\x04type\"\xdd\x01\n\x0fIndexBuildState\"\xc9\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSTATE_PREPARING\x10\x01\x12\x1a\n\x16STATE_TRANSFERING_DATA\x10\x02\x12\x12\n\x0eSTATE_APPLYING\x10\x03\x12\x0e\n\nSTATE_DONE\x10\x04\x12\x16\n\x12STATE_CANCELLATION\x10\x05\x12\x13\n\x0fSTATE_CANCELLED\x10\x06\x12\x13\n\x0fSTATE_REJECTION\x10\x07\x12\x12\n\x0eSTATE_REJECTED\x10\x08\"K\n\x15IndexBuildDescription\x12\x0c\n\x04path\x18\x01 \x01(\t\x12$\n\x05index\x18\x02 \x01(\x0b\x32\x15.Ydb.Table.TableIndex\"\x8e\x01\n\x12IndexBuildMetadata\x12\x35\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32 .Ydb.Table.IndexBuildDescription\x12/\n\x05state\x18\x02 \x01(\x0e\x32 .Ydb.Table.IndexBuildState.State\x12\x10\n\x08progress\x18\x03 \x01(\x02\"\x9a\x01\n\x0e\x43hangefeedMode\"\x87\x01\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0eMODE_KEYS_ONLY\x10\x01\x12\x10\n\x0cMODE_UPDATES\x10\x02\x12\x12\n\x0eMODE_NEW_IMAGE\x10\x03\x12\x12\n\x0eMODE_OLD_IMAGE\x10\x04\x12\x1b\n\x17MODE_NEW_AND_OLD_IMAGES\x10\x05\"\x81\x01\n\x10\x43hangefeedFormat\"m\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x46ORMAT_JSON\x10\x01\x12 \n\x1c\x46ORMAT_DYNAMODB_STREAMS_JSON\x10\x02\x12\x18\n\x14\x46ORMAT_DEBEZIUM_JSON\x10\x03\"\x8e\x04\n\nChangefeed\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x04mode\x18\x02 \x01(\x0e\x32\x1e.Ydb.Table.ChangefeedMode.Mode\x12\x32\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\".Ydb.Table.ChangefeedFormat.Format\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1a\n\x12virtual_timestamps\x18\x05 \x01(\x08\x12\x14\n\x0cinitial_scan\x18\x06 \x01(\x08\x12R\n\nattributes\x18\x07 \x03(\x0b\x32%.Ydb.Table.Changefeed.AttributesEntryB\x17\xa2\xe6*\x07\n\x05\x08\x01\x10\x80 \xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\x12\x1b\n\naws_region\x18\x08 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12?\n\x1cresolved_timestamps_interval\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x44\n\x1btopic_partitioning_settings\x18\n \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x87\x04\n\x15\x43hangefeedDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x04mode\x18\x02 \x01(\x0e\x32\x1e.Ydb.Table.ChangefeedMode.Mode\x12\x32\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\".Ydb.Table.ChangefeedFormat.Format\x12\x35\n\x05state\x18\x04 \x01(\x0e\x32&.Ydb.Table.ChangefeedDescription.State\x12\x1a\n\x12virtual_timestamps\x18\x05 \x01(\x08\x12\x44\n\nattributes\x18\x06 \x03(\x0b\x32\x30.Ydb.Table.ChangefeedDescription.AttributesEntry\x12\x12\n\naws_region\x18\x07 \x01(\t\x12?\n\x1cresolved_timestamps_interval\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"]\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_ENABLED\x10\x01\x12\x12\n\x0eSTATE_DISABLED\x10\x02\x12\x16\n\x12STATE_INITIAL_SCAN\x10\x03\"\x1c\n\x0bStoragePool\x12\r\n\x05media\x18\x01 \x01(\t\"\xaa\x02\n\rStoragePolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12&\n\x06syslog\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12#\n\x03log\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12$\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x05 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12/\n\x0ekeep_in_memory\x18\x06 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x36\n\x0f\x63olumn_families\x18\x07 \x03(\x0b\x32\x1d.Ydb.Table.ColumnFamilyPolicy\"\xb1\x02\n\x12\x43olumnFamilyPolicy\x12\x0c\n\x04name\x18\x01 \x01(\t\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12/\n\x0ekeep_in_memory\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12>\n\x0b\x63ompression\x18\x05 \x01(\x0e\x32).Ydb.Table.ColumnFamilyPolicy.Compression\"L\n\x0b\x43ompression\x12\x1b\n\x17\x43OMPRESSION_UNSPECIFIED\x10\x00\x12\x10\n\x0cUNCOMPRESSED\x10\x01\x12\x0e\n\nCOMPRESSED\x10\x02\"\'\n\x10\x43ompactionPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\";\n\x12\x45xplicitPartitions\x12%\n\x0csplit_points\x18\x01 \x03(\x0b\x32\x0f.Ydb.TypedValue\"S\n\x0ePartitionStats\x12\x15\n\rrows_estimate\x18\x01 \x01(\x04\x12\x12\n\nstore_size\x18\x02 \x01(\x04\x12\x16\n\x0eleader_node_id\x18\x03 \x01(\r\"\xe9\x01\n\nTableStats\x12\x32\n\x0fpartition_stats\x18\x01 \x03(\x0b\x32\x19.Ydb.Table.PartitionStats\x12\x15\n\rrows_estimate\x18\x02 \x01(\x04\x12\x12\n\nstore_size\x18\x03 \x01(\x04\x12\x12\n\npartitions\x18\x04 \x01(\x04\x12\x31\n\rcreation_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11modification_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xdc\x02\n\x12PartitioningPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12O\n\x11\x61uto_partitioning\x18\x02 \x01(\x0e\x32\x34.Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy\x12\x1c\n\x12uniform_partitions\x18\x03 \x01(\x04H\x00\x12<\n\x13\x65xplicit_partitions\x18\x04 \x01(\x0b\x32\x1d.Ydb.Table.ExplicitPartitionsH\x00\"v\n\x16\x41utoPartitioningPolicy\x12(\n$AUTO_PARTITIONING_POLICY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x0e\n\nAUTO_SPLIT\x10\x02\x12\x14\n\x10\x41UTO_SPLIT_MERGE\x10\x03\x42\x0c\n\npartitions\"&\n\x0f\x45xecutionPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\"\xb1\x01\n\x11ReplicationPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12\x16\n\x0ereplicas_count\x18\x02 \x01(\r\x12=\n\x1c\x63reate_per_availability_zone\x18\x03 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x30\n\x0f\x61llow_promotion\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"$\n\rCachingPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\"\xeb\x02\n\x0cTableProfile\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12\x30\n\x0estorage_policy\x18\x02 \x01(\x0b\x32\x18.Ydb.Table.StoragePolicy\x12\x36\n\x11\x63ompaction_policy\x18\x03 \x01(\x0b\x32\x1b.Ydb.Table.CompactionPolicy\x12:\n\x13partitioning_policy\x18\x04 \x01(\x0b\x32\x1d.Ydb.Table.PartitioningPolicy\x12\x34\n\x10\x65xecution_policy\x18\x05 \x01(\x0b\x32\x1a.Ydb.Table.ExecutionPolicy\x12\x38\n\x12replication_policy\x18\x06 \x01(\x0b\x32\x1c.Ydb.Table.ReplicationPolicy\x12\x30\n\x0e\x63\x61\x63hing_policy\x18\x07 \x01(\x0b\x32\x18.Ydb.Table.CachingPolicy\"\xaa\x03\n\x13SequenceDescription\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x16\n\tmin_value\x18\x02 \x01(\x12H\x01\x88\x01\x01\x12\x16\n\tmax_value\x18\x03 \x01(\x12H\x02\x88\x01\x01\x12\x18\n\x0bstart_value\x18\x04 \x01(\x12H\x03\x88\x01\x01\x12\x12\n\x05\x63\x61\x63he\x18\x05 \x01(\x04H\x04\x88\x01\x01\x12\x16\n\tincrement\x18\x06 \x01(\x12H\x05\x88\x01\x01\x12\x12\n\x05\x63ycle\x18\x07 \x01(\x08H\x06\x88\x01\x01\x12;\n\x07set_val\x18\x08 \x01(\x0b\x32%.Ydb.Table.SequenceDescription.SetValH\x07\x88\x01\x01\x1aV\n\x06SetVal\x12\x17\n\nnext_value\x18\x01 \x01(\x12H\x00\x88\x01\x01\x12\x16\n\tnext_used\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\r\n\x0b_next_valueB\x0c\n\n_next_usedB\x07\n\x05_nameB\x0c\n\n_min_valueB\x0c\n\n_max_valueB\x0e\n\x0c_start_valueB\x08\n\x06_cacheB\x0c\n\n_incrementB\x08\n\x06_cycleB\n\n\x08_set_val\"\xda\x01\n\nColumnMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\x04type\x18\x02 \x01(\x0b\x32\t.Ydb.Type\x12\x0e\n\x06\x66\x61mily\x18\x03 \x01(\t\x12\x15\n\x08not_null\x18\x04 \x01(\x08H\x01\x88\x01\x01\x12\'\n\x0c\x66rom_literal\x18\x05 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12\x37\n\rfrom_sequence\x18\x06 \x01(\x0b\x32\x1e.Ydb.Table.SequenceDescriptionH\x00\x42\x0f\n\rdefault_valueB\x0b\n\t_not_null\"O\n\x1a\x44\x61teTypeColumnModeSettings\x12\x13\n\x0b\x63olumn_name\x18\x01 \x01(\t\x12\x1c\n\x14\x65xpire_after_seconds\x18\x02 \x01(\r\"\x8e\x02\n\x1fValueSinceUnixEpochModeSettings\x12\x13\n\x0b\x63olumn_name\x18\x01 \x01(\t\x12\x44\n\x0b\x63olumn_unit\x18\x02 \x01(\x0e\x32/.Ydb.Table.ValueSinceUnixEpochModeSettings.Unit\x12\x1c\n\x14\x65xpire_after_seconds\x18\x03 \x01(\r\"r\n\x04Unit\x12\x14\n\x10UNIT_UNSPECIFIED\x10\x00\x12\x10\n\x0cUNIT_SECONDS\x10\x01\x12\x15\n\x11UNIT_MILLISECONDS\x10\x02\x12\x15\n\x11UNIT_MICROSECONDS\x10\x03\x12\x14\n\x10UNIT_NANOSECONDS\x10\x04\"\xc4\x01\n\x0bTtlSettings\x12\x41\n\x10\x64\x61te_type_column\x18\x01 \x01(\x0b\x32%.Ydb.Table.DateTypeColumnModeSettingsH\x00\x12L\n\x16value_since_unix_epoch\x18\x02 \x01(\x0b\x32*.Ydb.Table.ValueSinceUnixEpochModeSettingsH\x00\x12\x1c\n\x14run_interval_seconds\x18\x03 \x01(\rB\x06\n\x04mode\"\xda\x01\n\x0fStorageSettings\x12\x32\n\x12tablet_commit_log0\x18\x01 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x32\n\x12tablet_commit_log1\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x04 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x35\n\x14store_external_blobs\x18\x05 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"\x84\x02\n\x0c\x43olumnFamily\x12\x0c\n\x04name\x18\x01 \x01(\t\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x38\n\x0b\x63ompression\x18\x03 \x01(\x0e\x32#.Ydb.Table.ColumnFamily.Compression\x12/\n\x0ekeep_in_memory\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"U\n\x0b\x43ompression\x12\x1b\n\x17\x43OMPRESSION_UNSPECIFIED\x10\x00\x12\x14\n\x10\x43OMPRESSION_NONE\x10\x01\x12\x13\n\x0f\x43OMPRESSION_LZ4\x10\x02\"\xf7\x01\n\x14PartitioningSettings\x12\x14\n\x0cpartition_by\x18\x01 \x03(\t\x12\x35\n\x14partitioning_by_size\x18\x02 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x19\n\x11partition_size_mb\x18\x03 \x01(\x04\x12\x35\n\x14partitioning_by_load\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x1c\n\x14min_partitions_count\x18\x06 \x01(\x04\x12\x1c\n\x14max_partitions_count\x18\x07 \x01(\x04J\x04\x08\x05\x10\x06\"C\n\x16\x41zReadReplicasSettings\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1b\n\x13read_replicas_count\x18\x02 \x01(\x04\"_\n\x17\x43lusterReplicasSettings\x12\x44\n\x19\x61z_read_replicas_settings\x18\x02 \x03(\x0b\x32!.Ydb.Table.AzReadReplicasSettings\"t\n\x14ReadReplicasSettings\x12$\n\x1aper_az_read_replicas_count\x18\x01 \x01(\x04H\x00\x12$\n\x1a\x61ny_az_read_replicas_count\x18\x02 \x01(\x04H\x00\x42\n\n\x08settingsJ\x04\x08\x03\x10\x04\"\xaa\x07\n\x12\x43reateTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12&\n\x07\x63olumns\x18\x03 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x04 \x03(\t\x12(\n\x07profile\x18\x05 \x01(\x0b\x32\x17.Ydb.Table.TableProfile\x12\x39\n\x10operation_params\x18\x06 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12&\n\x07indexes\x18\x07 \x03(\x0b\x32\x15.Ydb.Table.TableIndex\x12,\n\x0cttl_settings\x18\x08 \x01(\x0b\x32\x16.Ydb.Table.TtlSettings\x12\x34\n\x10storage_settings\x18\t \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x30\n\x0f\x63olumn_families\x18\n \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12Z\n\nattributes\x18\x0b \x03(\x0b\x32-.Ydb.Table.CreateTableRequest.AttributesEntryB\x17\xa2\xe6*\x07\n\x05\x08\x01\x10\x80 \xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\x12\x19\n\x11\x63ompaction_policy\x18\x0c \x01(\t\x12\x1c\n\x12uniform_partitions\x18\r \x01(\x04H\x00\x12:\n\x11partition_at_keys\x18\x0e \x01(\x0b\x32\x1d.Ydb.Table.ExplicitPartitionsH\x00\x12>\n\x15partitioning_settings\x18\x0f \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x31\n\x10key_bloom_filter\x18\x10 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12?\n\x16read_replicas_settings\x18\x11 \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12\x0f\n\x07tiering\x18\x12 \x01(\t\x12\x11\n\ttemporary\x18\x13 \x01(\x08\x12(\n\nstore_type\x18\x14 \x01(\x0e\x32\x14.Ydb.Table.StoreType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\npartitions\"C\n\x13\x43reateTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"u\n\x10\x44ropTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParamsJ\x04\x08\x03\x10\x04\"A\n\x11\x44ropTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"]\n\x0fRenameIndexItem\x12\x13\n\x0bsource_name\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_name\x18\x02 \x01(\t\x12\x1b\n\x13replace_destination\x18\x03 \x01(\x08\"\x95\t\n\x11\x41lterTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12*\n\x0b\x61\x64\x64_columns\x18\x03 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x14\n\x0c\x64rop_columns\x18\x04 \x03(\t\x12\x39\n\x10operation_params\x18\x05 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12,\n\ralter_columns\x18\x06 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x32\n\x10set_ttl_settings\x18\x07 \x01(\x0b\x32\x16.Ydb.Table.TtlSettingsH\x00\x12\x33\n\x11\x64rop_ttl_settings\x18\x08 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12*\n\x0b\x61\x64\x64_indexes\x18\t \x03(\x0b\x32\x15.Ydb.Table.TableIndex\x12\x14\n\x0c\x64rop_indexes\x18\n \x03(\t\x12:\n\x16\x61lter_storage_settings\x18\x0b \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x34\n\x13\x61\x64\x64_column_families\x18\x0c \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12\x36\n\x15\x61lter_column_families\x18\r \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12`\n\x10\x61lter_attributes\x18\x0e \x03(\x0b\x32\x31.Ydb.Table.AlterTableRequest.AlterAttributesEntryB\x13\xa2\xe6*\x03\x18\x80 \xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\x12\x1d\n\x15set_compaction_policy\x18\x0f \x01(\t\x12\x44\n\x1b\x61lter_partitioning_settings\x18\x10 \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x35\n\x14set_key_bloom_filter\x18\x11 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x43\n\x1aset_read_replicas_settings\x18\x12 \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12.\n\x0f\x61\x64\x64_changefeeds\x18\x13 \x03(\x0b\x32\x15.Ydb.Table.Changefeed\x12\x18\n\x10\x64rop_changefeeds\x18\x14 \x03(\t\x12\x32\n\x0erename_indexes\x18\x15 \x03(\x0b\x32\x1a.Ydb.Table.RenameIndexItem\x12\x15\n\x0bset_tiering\x18\x16 \x01(\tH\x01\x12.\n\x0c\x64rop_tiering\x18\x17 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\nttl_actionB\x10\n\x0etiering_action\"B\n\x12\x41lterTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x90\x01\n\x10\x43opyTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x13\n\x0bsource_path\x18\x02 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x03 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"A\n\x11\x43opyTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"T\n\rCopyTableItem\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12\x14\n\x0comit_indexes\x18\x03 \x01(\x08\"\x8c\x01\n\x11\x43opyTablesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12(\n\x06tables\x18\x03 \x03(\x0b\x32\x18.Ydb.Table.CopyTableItem\"B\n\x12\x43opyTablesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"]\n\x0fRenameTableItem\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12\x1b\n\x13replace_destination\x18\x03 \x01(\x08\"\x90\x01\n\x13RenameTablesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12*\n\x06tables\x18\x03 \x03(\x0b\x32\x1a.Ydb.Table.RenameTableItem\"D\n\x14RenameTablesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xf5\x01\n\x14\x44\x65scribeTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12 \n\x18include_shard_key_bounds\x18\x05 \x01(\x08\x12\x1b\n\x13include_table_stats\x18\x06 \x01(\x08\x12\x1f\n\x17include_partition_stats\x18\x07 \x01(\x08\x12 \n\x18include_shard_nodes_info\x18\t \x01(\x08\"E\n\x15\x44\x65scribeTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xc9\x06\n\x13\x44\x65scribeTableResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12&\n\x07\x63olumns\x18\x02 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x03 \x03(\t\x12)\n\x10shard_key_bounds\x18\x04 \x03(\x0b\x32\x0f.Ydb.TypedValue\x12\x31\n\x07indexes\x18\x05 \x03(\x0b\x32 .Ydb.Table.TableIndexDescription\x12*\n\x0btable_stats\x18\x06 \x01(\x0b\x32\x15.Ydb.Table.TableStats\x12,\n\x0cttl_settings\x18\x07 \x01(\x0b\x32\x16.Ydb.Table.TtlSettings\x12\x34\n\x10storage_settings\x18\x08 \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x30\n\x0f\x63olumn_families\x18\t \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12\x42\n\nattributes\x18\n \x03(\x0b\x32..Ydb.Table.DescribeTableResult.AttributesEntry\x12>\n\x15partitioning_settings\x18\x0c \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x31\n\x10key_bloom_filter\x18\r \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12?\n\x16read_replicas_settings\x18\x0e \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12\x35\n\x0b\x63hangefeeds\x18\x0f \x03(\x0b\x32 .Ydb.Table.ChangefeedDescription\x12\x0f\n\x07tiering\x18\x10 \x01(\t\x12\x11\n\ttemporary\x18\x11 \x01(\x08\x12(\n\nstore_type\x18\x12 \x01(\x0e\x32\x14.Ydb.Table.StoreType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x0b\x10\x0c\"2\n\x05Query\x12\x12\n\x08yql_text\x18\x01 \x01(\tH\x00\x12\x0c\n\x02id\x18\x02 \x01(\tH\x00\x42\x07\n\x05query\"\x1a\n\x18SerializableModeSettings\"6\n\x12OnlineModeSettings\x12 \n\x18\x61llow_inconsistent_reads\x18\x01 \x01(\x08\"\x13\n\x11StaleModeSettings\"\x16\n\x14SnapshotModeSettings\"\x18\n\x16SnapshotRWModeSettings\"\xdd\x02\n\x13TransactionSettings\x12\x46\n\x17serializable_read_write\x18\x01 \x01(\x0b\x32#.Ydb.Table.SerializableModeSettingsH\x00\x12\x39\n\x10online_read_only\x18\x02 \x01(\x0b\x32\x1d.Ydb.Table.OnlineModeSettingsH\x00\x12\x37\n\x0fstale_read_only\x18\x03 \x01(\x0b\x32\x1c.Ydb.Table.StaleModeSettingsH\x00\x12=\n\x12snapshot_read_only\x18\x04 \x01(\x0b\x32\x1f.Ydb.Table.SnapshotModeSettingsH\x00\x12@\n\x13snapshot_read_write\x18\x05 \x01(\x0b\x32!.Ydb.Table.SnapshotRWModeSettingsH\x00\x42\t\n\x07tx_mode\"{\n\x12TransactionControl\x12\x0f\n\x05tx_id\x18\x01 \x01(\tH\x00\x12\x32\n\x08\x62\x65gin_tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Table.TransactionSettingsH\x00\x12\x11\n\tcommit_tx\x18\n \x01(\x08\x42\r\n\x0btx_selector\")\n\x10QueryCachePolicy\x12\x15\n\rkeep_in_cache\x18\x01 \x01(\x08\"\xb1\x01\n\x14QueryStatsCollection\"\x98\x01\n\x04Mode\x12 \n\x1cSTATS_COLLECTION_UNSPECIFIED\x10\x00\x12\x19\n\x15STATS_COLLECTION_NONE\x10\x01\x12\x1a\n\x16STATS_COLLECTION_BASIC\x10\x02\x12\x19\n\x15STATS_COLLECTION_FULL\x10\x03\x12\x1c\n\x18STATS_COLLECTION_PROFILE\x10\x04\"\xbe\x03\n\x17\x45xecuteDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x31\n\ntx_control\x18\x02 \x01(\x0b\x32\x1d.Ydb.Table.TransactionControl\x12\x1f\n\x05query\x18\x03 \x01(\x0b\x32\x10.Ydb.Table.Query\x12\x46\n\nparameters\x18\x04 \x03(\x0b\x32\x32.Ydb.Table.ExecuteDataQueryRequest.ParametersEntry\x12\x37\n\x12query_cache_policy\x18\x05 \x01(\x0b\x32\x1b.Ydb.Table.QueryCachePolicy\x12\x39\n\x10operation_params\x18\x06 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12;\n\rcollect_stats\x18\x07 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"H\n\x18\x45xecuteDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"|\n\x19\x45xecuteSchemeQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"J\n\x1a\x45xecuteSchemeQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x1d\n\x0fTransactionMeta\x12\n\n\x02id\x18\x01 \x01(\t\"\x9f\x01\n\tQueryMeta\x12\n\n\x02id\x18\x01 \x01(\t\x12\x43\n\x10parameters_types\x18\x02 \x03(\x0b\x32).Ydb.Table.QueryMeta.ParametersTypesEntry\x1a\x41\n\x14ParametersTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.Ydb.Type:\x02\x38\x01\"\xc1\x01\n\x12\x45xecuteQueryResult\x12#\n\x0bresult_sets\x18\x01 \x03(\x0b\x32\x0e.Ydb.ResultSet\x12+\n\x07tx_meta\x18\x02 \x01(\x0b\x32\x1a.Ydb.Table.TransactionMeta\x12(\n\nquery_meta\x18\x03 \x01(\x0b\x32\x14.Ydb.Table.QueryMeta\x12/\n\x0bquery_stats\x18\x04 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"\x9c\x01\n\x17\x45xplainDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12 \n\x18\x63ollect_full_diagnostics\x18\x04 \x01(\x08\"H\n\x18\x45xplainDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"[\n\x12\x45xplainQueryResult\x12\x11\n\tquery_ast\x18\x01 \x01(\t\x12\x12\n\nquery_plan\x18\x02 \x01(\t\x12\x1e\n\x16query_full_diagnostics\x18\x03 \x01(\t\"z\n\x17PrepareDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"H\n\x18PrepareDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb7\x01\n\x12PrepareQueryResult\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12L\n\x10parameters_types\x18\x02 \x03(\x0b\x32\x32.Ydb.Table.PrepareQueryResult.ParametersTypesEntry\x1a\x41\n\x14ParametersTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.Ydb.Type:\x02\x38\x01\"a\n\x10KeepAliveRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x39\n\x10operation_params\x18\x02 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"A\n\x11KeepAliveResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb7\x01\n\x0fKeepAliveResult\x12@\n\x0esession_status\x18\x01 \x01(\x0e\x32(.Ydb.Table.KeepAliveResult.SessionStatus\"b\n\rSessionStatus\x12\x1e\n\x1aSESSION_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14SESSION_STATUS_READY\x10\x01\x12\x17\n\x13SESSION_STATUS_BUSY\x10\x02\"\x9d\x01\n\x17\x42\x65ginTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x33\n\x0btx_settings\x18\x02 \x01(\x0b\x32\x1e.Ydb.Table.TransactionSettings\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"H\n\x18\x42\x65ginTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"E\n\x16\x42\x65ginTransactionResult\x12+\n\x07tx_meta\x18\x01 \x01(\x0b\x32\x1a.Ydb.Table.TransactionMeta\"\xb5\x01\n\x18\x43ommitTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\r\n\x05tx_id\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12;\n\rcollect_stats\x18\x04 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\"I\n\x19\x43ommitTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"J\n\x17\x43ommitTransactionResult\x12/\n\x0bquery_stats\x18\x01 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"z\n\x1aRollbackTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\r\n\x05tx_id\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"K\n\x1bRollbackTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x98\x01\n\x18StoragePolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x06labels\x18\x02 \x03(\x0b\x32/.Ydb.Table.StoragePolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9e\x01\n\x1b\x43ompactionPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x42\n\x06labels\x18\x02 \x03(\x0b\x32\x32.Ydb.Table.CompactionPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa2\x01\n\x1dPartitioningPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x06labels\x18\x02 \x03(\x0b\x32\x34.Ydb.Table.PartitioningPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9c\x01\n\x1a\x45xecutionPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x41\n\x06labels\x18\x02 \x03(\x0b\x32\x31.Ydb.Table.ExecutionPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa0\x01\n\x1cReplicationPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x43\n\x06labels\x18\x02 \x03(\x0b\x32\x33.Ydb.Table.ReplicationPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x98\x01\n\x18\x43\x61\x63hingPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x06labels\x18\x02 \x03(\x0b\x32/.Ydb.Table.CachingPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbe\x04\n\x17TableProfileDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12>\n\x06labels\x18\x02 \x03(\x0b\x32..Ydb.Table.TableProfileDescription.LabelsEntry\x12\x1e\n\x16\x64\x65\x66\x61ult_storage_policy\x18\x03 \x01(\t\x12 \n\x18\x61llowed_storage_policies\x18\x04 \x03(\t\x12!\n\x19\x64\x65\x66\x61ult_compaction_policy\x18\x05 \x01(\t\x12#\n\x1b\x61llowed_compaction_policies\x18\x06 \x03(\t\x12#\n\x1b\x64\x65\x66\x61ult_partitioning_policy\x18\x07 \x01(\t\x12%\n\x1d\x61llowed_partitioning_policies\x18\x08 \x03(\t\x12 \n\x18\x64\x65\x66\x61ult_execution_policy\x18\t \x01(\t\x12\"\n\x1a\x61llowed_execution_policies\x18\n \x03(\t\x12\"\n\x1a\x64\x65\x66\x61ult_replication_policy\x18\x0b \x01(\t\x12$\n\x1c\x61llowed_replication_policies\x18\x0c \x03(\t\x12\x1e\n\x16\x64\x65\x66\x61ult_caching_policy\x18\r \x01(\t\x12 \n\x18\x61llowed_caching_policies\x18\x0e \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"X\n\x1b\x44\x65scribeTableOptionsRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"L\n\x1c\x44\x65scribeTableOptionsResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x99\x04\n\x1a\x44\x65scribeTableOptionsResult\x12\x41\n\x15table_profile_presets\x18\x01 \x03(\x0b\x32\".Ydb.Table.TableProfileDescription\x12\x43\n\x16storage_policy_presets\x18\x02 \x03(\x0b\x32#.Ydb.Table.StoragePolicyDescription\x12I\n\x19\x63ompaction_policy_presets\x18\x03 \x03(\x0b\x32&.Ydb.Table.CompactionPolicyDescription\x12M\n\x1bpartitioning_policy_presets\x18\x04 \x03(\x0b\x32(.Ydb.Table.PartitioningPolicyDescription\x12G\n\x18\x65xecution_policy_presets\x18\x05 \x03(\x0b\x32%.Ydb.Table.ExecutionPolicyDescription\x12K\n\x1areplication_policy_presets\x18\x06 \x03(\x0b\x32\'.Ydb.Table.ReplicationPolicyDescription\x12\x43\n\x16\x63\x61\x63hing_policy_presets\x18\x07 \x03(\x0b\x32#.Ydb.Table.CachingPolicyDescription\"\xc0\x01\n\x08KeyRange\x12\"\n\x07greater\x18\x01 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12+\n\x10greater_or_equal\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12\x1f\n\x04less\x18\x03 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x01\x12(\n\rless_or_equal\x18\x04 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x01\x42\x0c\n\nfrom_boundB\n\n\x08to_bound\"\xb8\x02\n\x10ReadTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12&\n\tkey_range\x18\x03 \x01(\x0b\x32\x13.Ydb.Table.KeyRange\x12\x0f\n\x07\x63olumns\x18\x04 \x03(\t\x12\x0f\n\x07ordered\x18\x05 \x01(\x08\x12\x11\n\trow_limit\x18\x06 \x01(\x04\x12-\n\x0cuse_snapshot\x18\x07 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x19\n\x11\x62\x61tch_limit_bytes\x18\x08 \x01(\x04\x12\x18\n\x10\x62\x61tch_limit_rows\x18\t \x01(\x04\x12\x41\n return_not_null_data_as_optional\x18\n \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"\xbc\x01\n\x11ReadTableResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\'\n\x08snapshot\x18\x04 \x01(\x0b\x32\x15.Ydb.VirtualTimestamp\x12*\n\x06result\x18\x03 \x01(\x0b\x32\x1a.Ydb.Table.ReadTableResult\"5\n\x0fReadTableResult\x12\"\n\nresult_set\x18\x01 \x01(\x0b\x32\x0e.Ydb.ResultSet\"c\n\x0fReadRowsRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x1d\n\x04keys\x18\x03 \x01(\x0b\x32\x0f.Ydb.TypedValue\x12\x0f\n\x07\x63olumns\x18\x04 \x03(\t\"\x8a\x01\n\x10ReadRowsResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\nresult_set\x18\x03 \x01(\x0b\x32\x0e.Ydb.ResultSet\"\x8d\x02\n\x11\x42ulkUpsertRequest\x12\r\n\x05table\x18\x01 \x01(\t\x12\x1d\n\x04rows\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12?\n\x14\x61rrow_batch_settings\x18\x07 \x01(\x0b\x32\x1f.Ydb.Formats.ArrowBatchSettingsH\x00\x12\x30\n\x0c\x63sv_settings\x18\x08 \x01(\x0b\x32\x18.Ydb.Formats.CsvSettingsH\x00\x12\r\n\x04\x64\x61ta\x18\xe8\x07 \x01(\x0c\x42\r\n\x0b\x64\x61ta_format\"B\n\x12\x42ulkUpsertResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x12\n\x10\x42ulkUpsertResult\"\xb3\x03\n\x17\x45xecuteScanQueryRequest\x12\x1f\n\x05query\x18\x03 \x01(\x0b\x32\x10.Ydb.Table.Query\x12\x46\n\nparameters\x18\x04 \x03(\x0b\x32\x32.Ydb.Table.ExecuteScanQueryRequest.ParametersEntry\x12\x35\n\x04mode\x18\x06 \x01(\x0e\x32\'.Ydb.Table.ExecuteScanQueryRequest.Mode\x12;\n\rcollect_stats\x18\x08 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\x12 \n\x18\x63ollect_full_diagnostics\x18\t \x01(\x08\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"=\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cMODE_EXPLAIN\x10\x01\x12\r\n\tMODE_EXEC\x10\x03J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x05\x10\x06J\x04\x08\x07\x10\x08\"\xaf\x01\n\x1f\x45xecuteScanQueryPartialResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x38\n\x06result\x18\x03 \x01(\x0b\x32(.Ydb.Table.ExecuteScanQueryPartialResult\"\xac\x01\n\x1d\x45xecuteScanQueryPartialResult\x12\"\n\nresult_set\x18\x01 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12/\n\x0bquery_stats\x18\x06 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\x12\x1e\n\x16query_full_diagnostics\x18\x07 \x01(\tJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06*R\n\tStoreType\x12\x1a\n\x16STORE_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eSTORE_TYPE_ROW\x10\x01\x12\x15\n\x11STORE_TYPE_COLUMN\x10\x02\x42S\n\x14tech.ydb.proto.tableZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Table\xf8\x01\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16protos/ydb_table.proto\x12\tYdb.Table\x1a#protos/annotations/validation.proto\x1a\x17protos/ydb_common.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\x1aprotos/ydb_operation.proto\x1a\x1cprotos/ydb_query_stats.proto\x1a\x16protos/ydb_value.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x16protos/ydb_topic.proto\x1a\x18protos/ydb_formats.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"Q\n\x14\x43reateSessionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"E\n\x15\x43reateSessionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\")\n\x13\x43reateSessionResult\x12\x12\n\nsession_id\x18\x01 \x01(\t\"e\n\x14\x44\x65leteSessionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x39\n\x10operation_params\x18\x02 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"E\n\x15\x44\x65leteSessionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\r\n\x0bGlobalIndex\"\x12\n\x10GlobalAsyncIndex\"\x13\n\x11GlobalUniqueIndex\"\xf7\x01\n\nTableIndex\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rindex_columns\x18\x02 \x03(\t\x12.\n\x0cglobal_index\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.GlobalIndexH\x00\x12\x39\n\x12global_async_index\x18\x04 \x01(\x0b\x32\x1b.Ydb.Table.GlobalAsyncIndexH\x00\x12;\n\x13global_unique_index\x18\x06 \x01(\x0b\x32\x1c.Ydb.Table.GlobalUniqueIndexH\x00\x12\x14\n\x0c\x64\x61ta_columns\x18\x05 \x03(\tB\x06\n\x04type\"\x98\x03\n\x15TableIndexDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rindex_columns\x18\x02 \x03(\t\x12.\n\x0cglobal_index\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.GlobalIndexH\x00\x12\x39\n\x12global_async_index\x18\x05 \x01(\x0b\x32\x1b.Ydb.Table.GlobalAsyncIndexH\x00\x12;\n\x13global_unique_index\x18\x08 \x01(\x0b\x32\x1c.Ydb.Table.GlobalUniqueIndexH\x00\x12\x37\n\x06status\x18\x04 \x01(\x0e\x32\'.Ydb.Table.TableIndexDescription.Status\x12\x14\n\x0c\x64\x61ta_columns\x18\x06 \x03(\t\x12\x12\n\nsize_bytes\x18\x07 \x01(\x04\"G\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATUS_READY\x10\x01\x12\x13\n\x0fSTATUS_BUILDING\x10\x02\x42\x06\n\x04type\"\xdd\x01\n\x0fIndexBuildState\"\xc9\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSTATE_PREPARING\x10\x01\x12\x1a\n\x16STATE_TRANSFERING_DATA\x10\x02\x12\x12\n\x0eSTATE_APPLYING\x10\x03\x12\x0e\n\nSTATE_DONE\x10\x04\x12\x16\n\x12STATE_CANCELLATION\x10\x05\x12\x13\n\x0fSTATE_CANCELLED\x10\x06\x12\x13\n\x0fSTATE_REJECTION\x10\x07\x12\x12\n\x0eSTATE_REJECTED\x10\x08\"K\n\x15IndexBuildDescription\x12\x0c\n\x04path\x18\x01 \x01(\t\x12$\n\x05index\x18\x02 \x01(\x0b\x32\x15.Ydb.Table.TableIndex\"\x8e\x01\n\x12IndexBuildMetadata\x12\x35\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32 .Ydb.Table.IndexBuildDescription\x12/\n\x05state\x18\x02 \x01(\x0e\x32 .Ydb.Table.IndexBuildState.State\x12\x10\n\x08progress\x18\x03 \x01(\x02\"\x9a\x01\n\x0e\x43hangefeedMode\"\x87\x01\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0eMODE_KEYS_ONLY\x10\x01\x12\x10\n\x0cMODE_UPDATES\x10\x02\x12\x12\n\x0eMODE_NEW_IMAGE\x10\x03\x12\x12\n\x0eMODE_OLD_IMAGE\x10\x04\x12\x1b\n\x17MODE_NEW_AND_OLD_IMAGES\x10\x05\"\x81\x01\n\x10\x43hangefeedFormat\"m\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x46ORMAT_JSON\x10\x01\x12 \n\x1c\x46ORMAT_DYNAMODB_STREAMS_JSON\x10\x02\x12\x18\n\x14\x46ORMAT_DEBEZIUM_JSON\x10\x03\"\xa6\x04\n\nChangefeed\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x04mode\x18\x02 \x01(\x0e\x32\x1e.Ydb.Table.ChangefeedMode.Mode\x12\x32\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\".Ydb.Table.ChangefeedFormat.Format\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1a\n\x12virtual_timestamps\x18\x05 \x01(\x08\x12\x14\n\x0cinitial_scan\x18\x06 \x01(\x08\x12R\n\nattributes\x18\x07 \x03(\x0b\x32%.Ydb.Table.Changefeed.AttributesEntryB\x17\xa2\xe6*\x07\n\x05\x08\x01\x10\x80 \xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\x12\x1b\n\naws_region\x18\x08 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x01\x12?\n\x1cresolved_timestamps_interval\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x44\n\x1btopic_partitioning_settings\x18\n \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12\x16\n\x0eschema_changes\x18\x0b \x01(\x08\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb9\x05\n\x15\x43hangefeedDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x04mode\x18\x02 \x01(\x0e\x32\x1e.Ydb.Table.ChangefeedMode.Mode\x12\x32\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\".Ydb.Table.ChangefeedFormat.Format\x12\x35\n\x05state\x18\x04 \x01(\x0e\x32&.Ydb.Table.ChangefeedDescription.State\x12\x1a\n\x12virtual_timestamps\x18\x05 \x01(\x08\x12\x44\n\nattributes\x18\x06 \x03(\x0b\x32\x30.Ydb.Table.ChangefeedDescription.AttributesEntry\x12\x12\n\naws_region\x18\x07 \x01(\t\x12?\n\x1cresolved_timestamps_interval\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12S\n\x15initial_scan_progress\x18\t \x01(\x0b\x32\x34.Ydb.Table.ChangefeedDescription.InitialScanProgress\x12\x16\n\x0eschema_changes\x18\n \x01(\x08\x1a\x43\n\x13InitialScanProgress\x12\x13\n\x0bparts_total\x18\x01 \x01(\r\x12\x17\n\x0fparts_completed\x18\x02 \x01(\r\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"]\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_ENABLED\x10\x01\x12\x12\n\x0eSTATE_DISABLED\x10\x02\x12\x16\n\x12STATE_INITIAL_SCAN\x10\x03\"\x1c\n\x0bStoragePool\x12\r\n\x05media\x18\x01 \x01(\t\"\xaa\x02\n\rStoragePolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12&\n\x06syslog\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12#\n\x03log\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12$\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x05 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12/\n\x0ekeep_in_memory\x18\x06 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x36\n\x0f\x63olumn_families\x18\x07 \x03(\x0b\x32\x1d.Ydb.Table.ColumnFamilyPolicy\"\xb1\x02\n\x12\x43olumnFamilyPolicy\x12\x0c\n\x04name\x18\x01 \x01(\t\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x03 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12/\n\x0ekeep_in_memory\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12>\n\x0b\x63ompression\x18\x05 \x01(\x0e\x32).Ydb.Table.ColumnFamilyPolicy.Compression\"L\n\x0b\x43ompression\x12\x1b\n\x17\x43OMPRESSION_UNSPECIFIED\x10\x00\x12\x10\n\x0cUNCOMPRESSED\x10\x01\x12\x0e\n\nCOMPRESSED\x10\x02\"\'\n\x10\x43ompactionPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\";\n\x12\x45xplicitPartitions\x12%\n\x0csplit_points\x18\x01 \x03(\x0b\x32\x0f.Ydb.TypedValue\"S\n\x0ePartitionStats\x12\x15\n\rrows_estimate\x18\x01 \x01(\x04\x12\x12\n\nstore_size\x18\x02 \x01(\x04\x12\x16\n\x0eleader_node_id\x18\x03 \x01(\r\"\xe9\x01\n\nTableStats\x12\x32\n\x0fpartition_stats\x18\x01 \x03(\x0b\x32\x19.Ydb.Table.PartitionStats\x12\x15\n\rrows_estimate\x18\x02 \x01(\x04\x12\x12\n\nstore_size\x18\x03 \x01(\x04\x12\x12\n\npartitions\x18\x04 \x01(\x04\x12\x31\n\rcreation_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11modification_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xdc\x02\n\x12PartitioningPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12O\n\x11\x61uto_partitioning\x18\x02 \x01(\x0e\x32\x34.Ydb.Table.PartitioningPolicy.AutoPartitioningPolicy\x12\x1c\n\x12uniform_partitions\x18\x03 \x01(\x04H\x00\x12<\n\x13\x65xplicit_partitions\x18\x04 \x01(\x0b\x32\x1d.Ydb.Table.ExplicitPartitionsH\x00\"v\n\x16\x41utoPartitioningPolicy\x12(\n$AUTO_PARTITIONING_POLICY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x0e\n\nAUTO_SPLIT\x10\x02\x12\x14\n\x10\x41UTO_SPLIT_MERGE\x10\x03\x42\x0c\n\npartitions\"&\n\x0f\x45xecutionPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\"\xb1\x01\n\x11ReplicationPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12\x16\n\x0ereplicas_count\x18\x02 \x01(\r\x12=\n\x1c\x63reate_per_availability_zone\x18\x03 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x30\n\x0f\x61llow_promotion\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"$\n\rCachingPolicy\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\"\xeb\x02\n\x0cTableProfile\x12\x13\n\x0bpreset_name\x18\x01 \x01(\t\x12\x30\n\x0estorage_policy\x18\x02 \x01(\x0b\x32\x18.Ydb.Table.StoragePolicy\x12\x36\n\x11\x63ompaction_policy\x18\x03 \x01(\x0b\x32\x1b.Ydb.Table.CompactionPolicy\x12:\n\x13partitioning_policy\x18\x04 \x01(\x0b\x32\x1d.Ydb.Table.PartitioningPolicy\x12\x34\n\x10\x65xecution_policy\x18\x05 \x01(\x0b\x32\x1a.Ydb.Table.ExecutionPolicy\x12\x38\n\x12replication_policy\x18\x06 \x01(\x0b\x32\x1c.Ydb.Table.ReplicationPolicy\x12\x30\n\x0e\x63\x61\x63hing_policy\x18\x07 \x01(\x0b\x32\x18.Ydb.Table.CachingPolicy\"\xaa\x03\n\x13SequenceDescription\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x16\n\tmin_value\x18\x02 \x01(\x12H\x01\x88\x01\x01\x12\x16\n\tmax_value\x18\x03 \x01(\x12H\x02\x88\x01\x01\x12\x18\n\x0bstart_value\x18\x04 \x01(\x12H\x03\x88\x01\x01\x12\x12\n\x05\x63\x61\x63he\x18\x05 \x01(\x04H\x04\x88\x01\x01\x12\x16\n\tincrement\x18\x06 \x01(\x12H\x05\x88\x01\x01\x12\x12\n\x05\x63ycle\x18\x07 \x01(\x08H\x06\x88\x01\x01\x12;\n\x07set_val\x18\x08 \x01(\x0b\x32%.Ydb.Table.SequenceDescription.SetValH\x07\x88\x01\x01\x1aV\n\x06SetVal\x12\x17\n\nnext_value\x18\x01 \x01(\x12H\x00\x88\x01\x01\x12\x16\n\tnext_used\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\r\n\x0b_next_valueB\x0c\n\n_next_usedB\x07\n\x05_nameB\x0c\n\n_min_valueB\x0c\n\n_max_valueB\x0e\n\x0c_start_valueB\x08\n\x06_cacheB\x0c\n\n_incrementB\x08\n\x06_cycleB\n\n\x08_set_val\"\xda\x01\n\nColumnMeta\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\x04type\x18\x02 \x01(\x0b\x32\t.Ydb.Type\x12\x0e\n\x06\x66\x61mily\x18\x03 \x01(\t\x12\x15\n\x08not_null\x18\x04 \x01(\x08H\x01\x88\x01\x01\x12\'\n\x0c\x66rom_literal\x18\x05 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12\x37\n\rfrom_sequence\x18\x06 \x01(\x0b\x32\x1e.Ydb.Table.SequenceDescriptionH\x00\x42\x0f\n\rdefault_valueB\x0b\n\t_not_null\"O\n\x1a\x44\x61teTypeColumnModeSettings\x12\x13\n\x0b\x63olumn_name\x18\x01 \x01(\t\x12\x1c\n\x14\x65xpire_after_seconds\x18\x02 \x01(\r\"\x8e\x02\n\x1fValueSinceUnixEpochModeSettings\x12\x13\n\x0b\x63olumn_name\x18\x01 \x01(\t\x12\x44\n\x0b\x63olumn_unit\x18\x02 \x01(\x0e\x32/.Ydb.Table.ValueSinceUnixEpochModeSettings.Unit\x12\x1c\n\x14\x65xpire_after_seconds\x18\x03 \x01(\r\"r\n\x04Unit\x12\x14\n\x10UNIT_UNSPECIFIED\x10\x00\x12\x10\n\x0cUNIT_SECONDS\x10\x01\x12\x15\n\x11UNIT_MILLISECONDS\x10\x02\x12\x15\n\x11UNIT_MICROSECONDS\x10\x03\x12\x14\n\x10UNIT_NANOSECONDS\x10\x04\"\xc4\x01\n\x0bTtlSettings\x12\x41\n\x10\x64\x61te_type_column\x18\x01 \x01(\x0b\x32%.Ydb.Table.DateTypeColumnModeSettingsH\x00\x12L\n\x16value_since_unix_epoch\x18\x02 \x01(\x0b\x32*.Ydb.Table.ValueSinceUnixEpochModeSettingsH\x00\x12\x1c\n\x14run_interval_seconds\x18\x03 \x01(\rB\x06\n\x04mode\"\xda\x01\n\x0fStorageSettings\x12\x32\n\x12tablet_commit_log0\x18\x01 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x32\n\x12tablet_commit_log1\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12(\n\x08\x65xternal\x18\x04 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x35\n\x14store_external_blobs\x18\x05 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"\x84\x02\n\x0c\x43olumnFamily\x12\x0c\n\x04name\x18\x01 \x01(\t\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.Ydb.Table.StoragePool\x12\x38\n\x0b\x63ompression\x18\x03 \x01(\x0e\x32#.Ydb.Table.ColumnFamily.Compression\x12/\n\x0ekeep_in_memory\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"U\n\x0b\x43ompression\x12\x1b\n\x17\x43OMPRESSION_UNSPECIFIED\x10\x00\x12\x14\n\x10\x43OMPRESSION_NONE\x10\x01\x12\x13\n\x0f\x43OMPRESSION_LZ4\x10\x02\"\xf7\x01\n\x14PartitioningSettings\x12\x14\n\x0cpartition_by\x18\x01 \x03(\t\x12\x35\n\x14partitioning_by_size\x18\x02 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x19\n\x11partition_size_mb\x18\x03 \x01(\x04\x12\x35\n\x14partitioning_by_load\x18\x04 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x1c\n\x14min_partitions_count\x18\x06 \x01(\x04\x12\x1c\n\x14max_partitions_count\x18\x07 \x01(\x04J\x04\x08\x05\x10\x06\"C\n\x16\x41zReadReplicasSettings\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1b\n\x13read_replicas_count\x18\x02 \x01(\x04\"_\n\x17\x43lusterReplicasSettings\x12\x44\n\x19\x61z_read_replicas_settings\x18\x02 \x03(\x0b\x32!.Ydb.Table.AzReadReplicasSettings\"t\n\x14ReadReplicasSettings\x12$\n\x1aper_az_read_replicas_count\x18\x01 \x01(\x04H\x00\x12$\n\x1a\x61ny_az_read_replicas_count\x18\x02 \x01(\x04H\x00\x42\n\n\x08settingsJ\x04\x08\x03\x10\x04\"\xaa\x07\n\x12\x43reateTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12&\n\x07\x63olumns\x18\x03 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x04 \x03(\t\x12(\n\x07profile\x18\x05 \x01(\x0b\x32\x17.Ydb.Table.TableProfile\x12\x39\n\x10operation_params\x18\x06 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12&\n\x07indexes\x18\x07 \x03(\x0b\x32\x15.Ydb.Table.TableIndex\x12,\n\x0cttl_settings\x18\x08 \x01(\x0b\x32\x16.Ydb.Table.TtlSettings\x12\x34\n\x10storage_settings\x18\t \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x30\n\x0f\x63olumn_families\x18\n \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12Z\n\nattributes\x18\x0b \x03(\x0b\x32-.Ydb.Table.CreateTableRequest.AttributesEntryB\x17\xa2\xe6*\x07\n\x05\x08\x01\x10\x80 \xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\x12\x19\n\x11\x63ompaction_policy\x18\x0c \x01(\t\x12\x1c\n\x12uniform_partitions\x18\r \x01(\x04H\x00\x12:\n\x11partition_at_keys\x18\x0e \x01(\x0b\x32\x1d.Ydb.Table.ExplicitPartitionsH\x00\x12>\n\x15partitioning_settings\x18\x0f \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x31\n\x10key_bloom_filter\x18\x10 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12?\n\x16read_replicas_settings\x18\x11 \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12\x0f\n\x07tiering\x18\x12 \x01(\t\x12\x11\n\ttemporary\x18\x13 \x01(\x08\x12(\n\nstore_type\x18\x14 \x01(\x0e\x32\x14.Ydb.Table.StoreType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\npartitions\"C\n\x13\x43reateTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"u\n\x10\x44ropTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParamsJ\x04\x08\x03\x10\x04\"A\n\x11\x44ropTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"]\n\x0fRenameIndexItem\x12\x13\n\x0bsource_name\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_name\x18\x02 \x01(\t\x12\x1b\n\x13replace_destination\x18\x03 \x01(\x08\"\x95\t\n\x11\x41lterTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12*\n\x0b\x61\x64\x64_columns\x18\x03 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x14\n\x0c\x64rop_columns\x18\x04 \x03(\t\x12\x39\n\x10operation_params\x18\x05 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12,\n\ralter_columns\x18\x06 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x32\n\x10set_ttl_settings\x18\x07 \x01(\x0b\x32\x16.Ydb.Table.TtlSettingsH\x00\x12\x33\n\x11\x64rop_ttl_settings\x18\x08 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12*\n\x0b\x61\x64\x64_indexes\x18\t \x03(\x0b\x32\x15.Ydb.Table.TableIndex\x12\x14\n\x0c\x64rop_indexes\x18\n \x03(\t\x12:\n\x16\x61lter_storage_settings\x18\x0b \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x34\n\x13\x61\x64\x64_column_families\x18\x0c \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12\x36\n\x15\x61lter_column_families\x18\r \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12`\n\x10\x61lter_attributes\x18\x0e \x03(\x0b\x32\x31.Ydb.Table.AlterTableRequest.AlterAttributesEntryB\x13\xa2\xe6*\x03\x18\x80 \xaa\xe6*\x08\n\x06\n\x04\x08\x01\x10\x64\x12\x1d\n\x15set_compaction_policy\x18\x0f \x01(\t\x12\x44\n\x1b\x61lter_partitioning_settings\x18\x10 \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x35\n\x14set_key_bloom_filter\x18\x11 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x43\n\x1aset_read_replicas_settings\x18\x12 \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12.\n\x0f\x61\x64\x64_changefeeds\x18\x13 \x03(\x0b\x32\x15.Ydb.Table.Changefeed\x12\x18\n\x10\x64rop_changefeeds\x18\x14 \x03(\t\x12\x32\n\x0erename_indexes\x18\x15 \x03(\x0b\x32\x1a.Ydb.Table.RenameIndexItem\x12\x15\n\x0bset_tiering\x18\x16 \x01(\tH\x01\x12.\n\x0c\x64rop_tiering\x18\x17 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\nttl_actionB\x10\n\x0etiering_action\"B\n\x12\x41lterTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x90\x01\n\x10\x43opyTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x13\n\x0bsource_path\x18\x02 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x03 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"A\n\x11\x43opyTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"T\n\rCopyTableItem\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12\x14\n\x0comit_indexes\x18\x03 \x01(\x08\"\x8c\x01\n\x11\x43opyTablesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12(\n\x06tables\x18\x03 \x03(\x0b\x32\x18.Ydb.Table.CopyTableItem\"B\n\x12\x43opyTablesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"]\n\x0fRenameTableItem\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12\x1b\n\x13replace_destination\x18\x03 \x01(\x08\"\x90\x01\n\x13RenameTablesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12*\n\x06tables\x18\x03 \x03(\x0b\x32\x1a.Ydb.Table.RenameTableItem\"D\n\x14RenameTablesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x8e\x02\n\x14\x44\x65scribeTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x04 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12 \n\x18include_shard_key_bounds\x18\x05 \x01(\x08\x12\x1b\n\x13include_table_stats\x18\x06 \x01(\x08\x12\x1f\n\x17include_partition_stats\x18\x07 \x01(\x08\x12\x17\n\x0finclude_set_val\x18\x08 \x01(\x08\x12 \n\x18include_shard_nodes_info\x18\t \x01(\x08\"E\n\x15\x44\x65scribeTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xc9\x06\n\x13\x44\x65scribeTableResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12&\n\x07\x63olumns\x18\x02 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x03 \x03(\t\x12)\n\x10shard_key_bounds\x18\x04 \x03(\x0b\x32\x0f.Ydb.TypedValue\x12\x31\n\x07indexes\x18\x05 \x03(\x0b\x32 .Ydb.Table.TableIndexDescription\x12*\n\x0btable_stats\x18\x06 \x01(\x0b\x32\x15.Ydb.Table.TableStats\x12,\n\x0cttl_settings\x18\x07 \x01(\x0b\x32\x16.Ydb.Table.TtlSettings\x12\x34\n\x10storage_settings\x18\x08 \x01(\x0b\x32\x1a.Ydb.Table.StorageSettings\x12\x30\n\x0f\x63olumn_families\x18\t \x03(\x0b\x32\x17.Ydb.Table.ColumnFamily\x12\x42\n\nattributes\x18\n \x03(\x0b\x32..Ydb.Table.DescribeTableResult.AttributesEntry\x12>\n\x15partitioning_settings\x18\x0c \x01(\x0b\x32\x1f.Ydb.Table.PartitioningSettings\x12\x31\n\x10key_bloom_filter\x18\r \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12?\n\x16read_replicas_settings\x18\x0e \x01(\x0b\x32\x1f.Ydb.Table.ReadReplicasSettings\x12\x35\n\x0b\x63hangefeeds\x18\x0f \x03(\x0b\x32 .Ydb.Table.ChangefeedDescription\x12\x0f\n\x07tiering\x18\x10 \x01(\t\x12\x11\n\ttemporary\x18\x11 \x01(\x08\x12(\n\nstore_type\x18\x12 \x01(\x0e\x32\x14.Ydb.Table.StoreType\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x0b\x10\x0c\"2\n\x05Query\x12\x12\n\x08yql_text\x18\x01 \x01(\tH\x00\x12\x0c\n\x02id\x18\x02 \x01(\tH\x00\x42\x07\n\x05query\"\x1a\n\x18SerializableModeSettings\"6\n\x12OnlineModeSettings\x12 \n\x18\x61llow_inconsistent_reads\x18\x01 \x01(\x08\"\x13\n\x11StaleModeSettings\"\x16\n\x14SnapshotModeSettings\"\x18\n\x16SnapshotRWModeSettings\"\xdd\x02\n\x13TransactionSettings\x12\x46\n\x17serializable_read_write\x18\x01 \x01(\x0b\x32#.Ydb.Table.SerializableModeSettingsH\x00\x12\x39\n\x10online_read_only\x18\x02 \x01(\x0b\x32\x1d.Ydb.Table.OnlineModeSettingsH\x00\x12\x37\n\x0fstale_read_only\x18\x03 \x01(\x0b\x32\x1c.Ydb.Table.StaleModeSettingsH\x00\x12=\n\x12snapshot_read_only\x18\x04 \x01(\x0b\x32\x1f.Ydb.Table.SnapshotModeSettingsH\x00\x12@\n\x13snapshot_read_write\x18\x05 \x01(\x0b\x32!.Ydb.Table.SnapshotRWModeSettingsH\x00\x42\t\n\x07tx_mode\"{\n\x12TransactionControl\x12\x0f\n\x05tx_id\x18\x01 \x01(\tH\x00\x12\x32\n\x08\x62\x65gin_tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Table.TransactionSettingsH\x00\x12\x11\n\tcommit_tx\x18\n \x01(\x08\x42\r\n\x0btx_selector\")\n\x10QueryCachePolicy\x12\x15\n\rkeep_in_cache\x18\x01 \x01(\x08\"\xb1\x01\n\x14QueryStatsCollection\"\x98\x01\n\x04Mode\x12 \n\x1cSTATS_COLLECTION_UNSPECIFIED\x10\x00\x12\x19\n\x15STATS_COLLECTION_NONE\x10\x01\x12\x1a\n\x16STATS_COLLECTION_BASIC\x10\x02\x12\x19\n\x15STATS_COLLECTION_FULL\x10\x03\x12\x1c\n\x18STATS_COLLECTION_PROFILE\x10\x04\"\xbe\x03\n\x17\x45xecuteDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x31\n\ntx_control\x18\x02 \x01(\x0b\x32\x1d.Ydb.Table.TransactionControl\x12\x1f\n\x05query\x18\x03 \x01(\x0b\x32\x10.Ydb.Table.Query\x12\x46\n\nparameters\x18\x04 \x03(\x0b\x32\x32.Ydb.Table.ExecuteDataQueryRequest.ParametersEntry\x12\x37\n\x12query_cache_policy\x18\x05 \x01(\x0b\x32\x1b.Ydb.Table.QueryCachePolicy\x12\x39\n\x10operation_params\x18\x06 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12;\n\rcollect_stats\x18\x07 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"H\n\x18\x45xecuteDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"|\n\x19\x45xecuteSchemeQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"J\n\x1a\x45xecuteSchemeQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x1d\n\x0fTransactionMeta\x12\n\n\x02id\x18\x01 \x01(\t\"\x9f\x01\n\tQueryMeta\x12\n\n\x02id\x18\x01 \x01(\t\x12\x43\n\x10parameters_types\x18\x02 \x03(\x0b\x32).Ydb.Table.QueryMeta.ParametersTypesEntry\x1a\x41\n\x14ParametersTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.Ydb.Type:\x02\x38\x01\"\xc1\x01\n\x12\x45xecuteQueryResult\x12#\n\x0bresult_sets\x18\x01 \x03(\x0b\x32\x0e.Ydb.ResultSet\x12+\n\x07tx_meta\x18\x02 \x01(\x0b\x32\x1a.Ydb.Table.TransactionMeta\x12(\n\nquery_meta\x18\x03 \x01(\x0b\x32\x14.Ydb.Table.QueryMeta\x12/\n\x0bquery_stats\x18\x04 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"\x9c\x01\n\x17\x45xplainDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12 \n\x18\x63ollect_full_diagnostics\x18\x04 \x01(\x08\"H\n\x18\x45xplainDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"[\n\x12\x45xplainQueryResult\x12\x11\n\tquery_ast\x18\x01 \x01(\t\x12\x12\n\nquery_plan\x18\x02 \x01(\t\x12\x1e\n\x16query_full_diagnostics\x18\x03 \x01(\t\"z\n\x17PrepareDataQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08yql_text\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"H\n\x18PrepareDataQueryResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb7\x01\n\x12PrepareQueryResult\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12L\n\x10parameters_types\x18\x02 \x03(\x0b\x32\x32.Ydb.Table.PrepareQueryResult.ParametersTypesEntry\x1a\x41\n\x14ParametersTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.Ydb.Type:\x02\x38\x01\"a\n\x10KeepAliveRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x39\n\x10operation_params\x18\x02 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"A\n\x11KeepAliveResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xb7\x01\n\x0fKeepAliveResult\x12@\n\x0esession_status\x18\x01 \x01(\x0e\x32(.Ydb.Table.KeepAliveResult.SessionStatus\"b\n\rSessionStatus\x12\x1e\n\x1aSESSION_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14SESSION_STATUS_READY\x10\x01\x12\x17\n\x13SESSION_STATUS_BUSY\x10\x02\"\x9d\x01\n\x17\x42\x65ginTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x33\n\x0btx_settings\x18\x02 \x01(\x0b\x32\x1e.Ydb.Table.TransactionSettings\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"H\n\x18\x42\x65ginTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"E\n\x16\x42\x65ginTransactionResult\x12+\n\x07tx_meta\x18\x01 \x01(\x0b\x32\x1a.Ydb.Table.TransactionMeta\"\xb5\x01\n\x18\x43ommitTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\r\n\x05tx_id\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12;\n\rcollect_stats\x18\x04 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\"I\n\x19\x43ommitTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"J\n\x17\x43ommitTransactionResult\x12/\n\x0bquery_stats\x18\x01 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\"z\n\x1aRollbackTransactionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\r\n\x05tx_id\x18\x02 \x01(\t\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"K\n\x1bRollbackTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x98\x01\n\x18StoragePolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x06labels\x18\x02 \x03(\x0b\x32/.Ydb.Table.StoragePolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9e\x01\n\x1b\x43ompactionPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x42\n\x06labels\x18\x02 \x03(\x0b\x32\x32.Ydb.Table.CompactionPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa2\x01\n\x1dPartitioningPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x06labels\x18\x02 \x03(\x0b\x32\x34.Ydb.Table.PartitioningPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9c\x01\n\x1a\x45xecutionPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x41\n\x06labels\x18\x02 \x03(\x0b\x32\x31.Ydb.Table.ExecutionPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa0\x01\n\x1cReplicationPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x43\n\x06labels\x18\x02 \x03(\x0b\x32\x33.Ydb.Table.ReplicationPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x98\x01\n\x18\x43\x61\x63hingPolicyDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x06labels\x18\x02 \x03(\x0b\x32/.Ydb.Table.CachingPolicyDescription.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbe\x04\n\x17TableProfileDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12>\n\x06labels\x18\x02 \x03(\x0b\x32..Ydb.Table.TableProfileDescription.LabelsEntry\x12\x1e\n\x16\x64\x65\x66\x61ult_storage_policy\x18\x03 \x01(\t\x12 \n\x18\x61llowed_storage_policies\x18\x04 \x03(\t\x12!\n\x19\x64\x65\x66\x61ult_compaction_policy\x18\x05 \x01(\t\x12#\n\x1b\x61llowed_compaction_policies\x18\x06 \x03(\t\x12#\n\x1b\x64\x65\x66\x61ult_partitioning_policy\x18\x07 \x01(\t\x12%\n\x1d\x61llowed_partitioning_policies\x18\x08 \x03(\t\x12 \n\x18\x64\x65\x66\x61ult_execution_policy\x18\t \x01(\t\x12\"\n\x1a\x61llowed_execution_policies\x18\n \x03(\t\x12\"\n\x1a\x64\x65\x66\x61ult_replication_policy\x18\x0b \x01(\t\x12$\n\x1c\x61llowed_replication_policies\x18\x0c \x03(\t\x12\x1e\n\x16\x64\x65\x66\x61ult_caching_policy\x18\r \x01(\t\x12 \n\x18\x61llowed_caching_policies\x18\x0e \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"X\n\x1b\x44\x65scribeTableOptionsRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\"L\n\x1c\x44\x65scribeTableOptionsResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x99\x04\n\x1a\x44\x65scribeTableOptionsResult\x12\x41\n\x15table_profile_presets\x18\x01 \x03(\x0b\x32\".Ydb.Table.TableProfileDescription\x12\x43\n\x16storage_policy_presets\x18\x02 \x03(\x0b\x32#.Ydb.Table.StoragePolicyDescription\x12I\n\x19\x63ompaction_policy_presets\x18\x03 \x03(\x0b\x32&.Ydb.Table.CompactionPolicyDescription\x12M\n\x1bpartitioning_policy_presets\x18\x04 \x03(\x0b\x32(.Ydb.Table.PartitioningPolicyDescription\x12G\n\x18\x65xecution_policy_presets\x18\x05 \x03(\x0b\x32%.Ydb.Table.ExecutionPolicyDescription\x12K\n\x1areplication_policy_presets\x18\x06 \x03(\x0b\x32\'.Ydb.Table.ReplicationPolicyDescription\x12\x43\n\x16\x63\x61\x63hing_policy_presets\x18\x07 \x03(\x0b\x32#.Ydb.Table.CachingPolicyDescription\"\xc0\x01\n\x08KeyRange\x12\"\n\x07greater\x18\x01 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12+\n\x10greater_or_equal\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x00\x12\x1f\n\x04less\x18\x03 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x01\x12(\n\rless_or_equal\x18\x04 \x01(\x0b\x32\x0f.Ydb.TypedValueH\x01\x42\x0c\n\nfrom_boundB\n\n\x08to_bound\"\xb8\x02\n\x10ReadTableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12&\n\tkey_range\x18\x03 \x01(\x0b\x32\x13.Ydb.Table.KeyRange\x12\x0f\n\x07\x63olumns\x18\x04 \x03(\t\x12\x0f\n\x07ordered\x18\x05 \x01(\x08\x12\x11\n\trow_limit\x18\x06 \x01(\x04\x12-\n\x0cuse_snapshot\x18\x07 \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\x12\x19\n\x11\x62\x61tch_limit_bytes\x18\x08 \x01(\x04\x12\x18\n\x10\x62\x61tch_limit_rows\x18\t \x01(\x04\x12\x41\n return_not_null_data_as_optional\x18\n \x01(\x0e\x32\x17.Ydb.FeatureFlag.Status\"\xbc\x01\n\x11ReadTableResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\'\n\x08snapshot\x18\x04 \x01(\x0b\x32\x15.Ydb.VirtualTimestamp\x12*\n\x06result\x18\x03 \x01(\x0b\x32\x1a.Ydb.Table.ReadTableResult\"5\n\x0fReadTableResult\x12\"\n\nresult_set\x18\x01 \x01(\x0b\x32\x0e.Ydb.ResultSet\"c\n\x0fReadRowsRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x1d\n\x04keys\x18\x03 \x01(\x0b\x32\x0f.Ydb.TypedValue\x12\x0f\n\x07\x63olumns\x18\x04 \x03(\t\"\x8a\x01\n\x10ReadRowsResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\"\n\nresult_set\x18\x03 \x01(\x0b\x32\x0e.Ydb.ResultSet\"\x8d\x02\n\x11\x42ulkUpsertRequest\x12\r\n\x05table\x18\x01 \x01(\t\x12\x1d\n\x04rows\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue\x12\x39\n\x10operation_params\x18\x03 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12?\n\x14\x61rrow_batch_settings\x18\x07 \x01(\x0b\x32\x1f.Ydb.Formats.ArrowBatchSettingsH\x00\x12\x30\n\x0c\x63sv_settings\x18\x08 \x01(\x0b\x32\x18.Ydb.Formats.CsvSettingsH\x00\x12\r\n\x04\x64\x61ta\x18\xe8\x07 \x01(\x0c\x42\r\n\x0b\x64\x61ta_format\"B\n\x12\x42ulkUpsertResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x12\n\x10\x42ulkUpsertResult\"\xb7\x03\n\x17\x45xecuteScanQueryRequest\x12\x1f\n\x05query\x18\x03 \x01(\x0b\x32\x10.Ydb.Table.Query\x12\x46\n\nparameters\x18\x04 \x03(\x0b\x32\x32.Ydb.Table.ExecuteScanQueryRequest.ParametersEntry\x12\x35\n\x04mode\x18\x06 \x01(\x0e\x32\'.Ydb.Table.ExecuteScanQueryRequest.Mode\x12;\n\rcollect_stats\x18\x08 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\x12$\n\x18\x63ollect_full_diagnostics\x18\t \x01(\x08\x42\x02\x18\x01\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"=\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cMODE_EXPLAIN\x10\x01\x12\r\n\tMODE_EXEC\x10\x03J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x05\x10\x06J\x04\x08\x07\x10\x08\"\xaf\x01\n\x1f\x45xecuteScanQueryPartialResponse\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x38\n\x06result\x18\x03 \x01(\x0b\x32(.Ydb.Table.ExecuteScanQueryPartialResult\"\xd9\x01\n\x1d\x45xecuteScanQueryPartialResult\x12\"\n\nresult_set\x18\x01 \x01(\x0b\x32\x0e.Ydb.ResultSet\x12/\n\x0bquery_stats\x18\x06 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStats\x12\"\n\x16query_full_diagnostics\x18\x07 \x01(\tB\x02\x18\x01\x12\'\n\x08snapshot\x18\x08 \x01(\x0b\x32\x15.Ydb.VirtualTimestampJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\"l\n!DescribeExternalDataSourceRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"R\n\"DescribeExternalDataSourceResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x95\x02\n DescribeExternalDataSourceResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12\x18\n\x0bsource_type\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08location\x18\x03 \x01(\tH\x01\x88\x01\x01\x12O\n\nproperties\x18\x04 \x03(\x0b\x32;.Ydb.Table.DescribeExternalDataSourceResult.PropertiesEntry\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0c_source_typeB\x0b\n\t_location\"g\n\x1c\x44\x65scribeExternalTableRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"M\n\x1d\x44\x65scribeExternalTableResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xde\x02\n\x1b\x44\x65scribeExternalTableResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12\x18\n\x0bsource_type\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x1d\n\x10\x64\x61ta_source_path\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x15\n\x08location\x18\x04 \x01(\tH\x02\x88\x01\x01\x12&\n\x07\x63olumns\x18\x05 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x44\n\x07\x63ontent\x18\x06 \x03(\x0b\x32\x33.Ydb.Table.DescribeExternalTableResult.ContentEntry\x1a.\n\x0c\x43ontentEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0c_source_typeB\x13\n\x11_data_source_pathB\x0b\n\t_location\"d\n\x19\x44\x65scribeSystemViewRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"J\n\x1a\x44\x65scribeSystemViewResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xa0\x02\n\x18\x44\x65scribeSystemViewResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12\x13\n\x0bsys_view_id\x18\x02 \x01(\x04\x12\x15\n\rsys_view_name\x18\x03 \x01(\t\x12&\n\x07\x63olumns\x18\x04 \x03(\x0b\x32\x15.Ydb.Table.ColumnMeta\x12\x13\n\x0bprimary_key\x18\x05 \x03(\t\x12G\n\nattributes\x18\x06 \x03(\x0b\x32\x33.Ydb.Table.DescribeSystemViewResult.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01*R\n\tStoreType\x12\x1a\n\x16STORE_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eSTORE_TYPE_ROW\x10\x01\x12\x15\n\x11STORE_TYPE_COLUMN\x10\x02\x42S\n\x14tech.ydb.proto.tableZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Table\xf8\x01\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -86,8 +86,18 @@ _globals['_TABLEPROFILEDESCRIPTION_LABELSENTRY']._serialized_options = b'8\001' _globals['_EXECUTESCANQUERYREQUEST_PARAMETERSENTRY']._loaded_options = None _globals['_EXECUTESCANQUERYREQUEST_PARAMETERSENTRY']._serialized_options = b'8\001' - _globals['_STORETYPE']._serialized_start=20382 - _globals['_STORETYPE']._serialized_end=20464 + _globals['_EXECUTESCANQUERYREQUEST'].fields_by_name['collect_full_diagnostics']._loaded_options = None + _globals['_EXECUTESCANQUERYREQUEST'].fields_by_name['collect_full_diagnostics']._serialized_options = b'\030\001' + _globals['_EXECUTESCANQUERYPARTIALRESULT'].fields_by_name['query_full_diagnostics']._loaded_options = None + _globals['_EXECUTESCANQUERYPARTIALRESULT'].fields_by_name['query_full_diagnostics']._serialized_options = b'\030\001' + _globals['_DESCRIBEEXTERNALDATASOURCERESULT_PROPERTIESENTRY']._loaded_options = None + _globals['_DESCRIBEEXTERNALDATASOURCERESULT_PROPERTIESENTRY']._serialized_options = b'8\001' + _globals['_DESCRIBEEXTERNALTABLERESULT_CONTENTENTRY']._loaded_options = None + _globals['_DESCRIBEEXTERNALTABLERESULT_CONTENTENTRY']._serialized_options = b'8\001' + _globals['_DESCRIBESYSTEMVIEWRESULT_ATTRIBUTESENTRY']._loaded_options = None + _globals['_DESCRIBESYSTEMVIEWRESULT_ATTRIBUTESENTRY']._serialized_options = b'8\001' + _globals['_STORETYPE']._serialized_start=22138 + _globals['_STORETYPE']._serialized_end=22220 _globals['_CREATESESSIONREQUEST']._serialized_start=413 _globals['_CREATESESSIONREQUEST']._serialized_end=494 _globals['_CREATESESSIONRESPONSE']._serialized_start=496 @@ -127,251 +137,277 @@ _globals['_CHANGEFEEDFORMAT_FORMAT']._serialized_start=2125 _globals['_CHANGEFEEDFORMAT_FORMAT']._serialized_end=2234 _globals['_CHANGEFEED']._serialized_start=2237 - _globals['_CHANGEFEED']._serialized_end=2763 - _globals['_CHANGEFEED_ATTRIBUTESENTRY']._serialized_start=2714 - _globals['_CHANGEFEED_ATTRIBUTESENTRY']._serialized_end=2763 - _globals['_CHANGEFEEDDESCRIPTION']._serialized_start=2766 - _globals['_CHANGEFEEDDESCRIPTION']._serialized_end=3285 - _globals['_CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY']._serialized_start=2714 - _globals['_CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY']._serialized_end=2763 - _globals['_CHANGEFEEDDESCRIPTION_STATE']._serialized_start=3192 - _globals['_CHANGEFEEDDESCRIPTION_STATE']._serialized_end=3285 - _globals['_STORAGEPOOL']._serialized_start=3287 - _globals['_STORAGEPOOL']._serialized_end=3315 - _globals['_STORAGEPOLICY']._serialized_start=3318 - _globals['_STORAGEPOLICY']._serialized_end=3616 - _globals['_COLUMNFAMILYPOLICY']._serialized_start=3619 - _globals['_COLUMNFAMILYPOLICY']._serialized_end=3924 - _globals['_COLUMNFAMILYPOLICY_COMPRESSION']._serialized_start=3848 - _globals['_COLUMNFAMILYPOLICY_COMPRESSION']._serialized_end=3924 - _globals['_COMPACTIONPOLICY']._serialized_start=3926 - _globals['_COMPACTIONPOLICY']._serialized_end=3965 - _globals['_EXPLICITPARTITIONS']._serialized_start=3967 - _globals['_EXPLICITPARTITIONS']._serialized_end=4026 - _globals['_PARTITIONSTATS']._serialized_start=4028 - _globals['_PARTITIONSTATS']._serialized_end=4111 - _globals['_TABLESTATS']._serialized_start=4114 - _globals['_TABLESTATS']._serialized_end=4347 - _globals['_PARTITIONINGPOLICY']._serialized_start=4350 - _globals['_PARTITIONINGPOLICY']._serialized_end=4698 - _globals['_PARTITIONINGPOLICY_AUTOPARTITIONINGPOLICY']._serialized_start=4566 - _globals['_PARTITIONINGPOLICY_AUTOPARTITIONINGPOLICY']._serialized_end=4684 - _globals['_EXECUTIONPOLICY']._serialized_start=4700 - _globals['_EXECUTIONPOLICY']._serialized_end=4738 - _globals['_REPLICATIONPOLICY']._serialized_start=4741 - _globals['_REPLICATIONPOLICY']._serialized_end=4918 - _globals['_CACHINGPOLICY']._serialized_start=4920 - _globals['_CACHINGPOLICY']._serialized_end=4956 - _globals['_TABLEPROFILE']._serialized_start=4959 - _globals['_TABLEPROFILE']._serialized_end=5322 - _globals['_SEQUENCEDESCRIPTION']._serialized_start=5325 - _globals['_SEQUENCEDESCRIPTION']._serialized_end=5751 - _globals['_SEQUENCEDESCRIPTION_SETVAL']._serialized_start=5566 - _globals['_SEQUENCEDESCRIPTION_SETVAL']._serialized_end=5652 - _globals['_COLUMNMETA']._serialized_start=5754 - _globals['_COLUMNMETA']._serialized_end=5972 - _globals['_DATETYPECOLUMNMODESETTINGS']._serialized_start=5974 - _globals['_DATETYPECOLUMNMODESETTINGS']._serialized_end=6053 - _globals['_VALUESINCEUNIXEPOCHMODESETTINGS']._serialized_start=6056 - _globals['_VALUESINCEUNIXEPOCHMODESETTINGS']._serialized_end=6326 - _globals['_VALUESINCEUNIXEPOCHMODESETTINGS_UNIT']._serialized_start=6212 - _globals['_VALUESINCEUNIXEPOCHMODESETTINGS_UNIT']._serialized_end=6326 - _globals['_TTLSETTINGS']._serialized_start=6329 - _globals['_TTLSETTINGS']._serialized_end=6525 - _globals['_STORAGESETTINGS']._serialized_start=6528 - _globals['_STORAGESETTINGS']._serialized_end=6746 - _globals['_COLUMNFAMILY']._serialized_start=6749 - _globals['_COLUMNFAMILY']._serialized_end=7009 - _globals['_COLUMNFAMILY_COMPRESSION']._serialized_start=6924 - _globals['_COLUMNFAMILY_COMPRESSION']._serialized_end=7009 - _globals['_PARTITIONINGSETTINGS']._serialized_start=7012 - _globals['_PARTITIONINGSETTINGS']._serialized_end=7259 - _globals['_AZREADREPLICASSETTINGS']._serialized_start=7261 - _globals['_AZREADREPLICASSETTINGS']._serialized_end=7328 - _globals['_CLUSTERREPLICASSETTINGS']._serialized_start=7330 - _globals['_CLUSTERREPLICASSETTINGS']._serialized_end=7425 - _globals['_READREPLICASSETTINGS']._serialized_start=7427 - _globals['_READREPLICASSETTINGS']._serialized_end=7543 - _globals['_CREATETABLEREQUEST']._serialized_start=7546 - _globals['_CREATETABLEREQUEST']._serialized_end=8484 - _globals['_CREATETABLEREQUEST_ATTRIBUTESENTRY']._serialized_start=2714 - _globals['_CREATETABLEREQUEST_ATTRIBUTESENTRY']._serialized_end=2763 - _globals['_CREATETABLERESPONSE']._serialized_start=8486 - _globals['_CREATETABLERESPONSE']._serialized_end=8553 - _globals['_DROPTABLEREQUEST']._serialized_start=8555 - _globals['_DROPTABLEREQUEST']._serialized_end=8672 - _globals['_DROPTABLERESPONSE']._serialized_start=8674 - _globals['_DROPTABLERESPONSE']._serialized_end=8739 - _globals['_RENAMEINDEXITEM']._serialized_start=8741 - _globals['_RENAMEINDEXITEM']._serialized_end=8834 - _globals['_ALTERTABLEREQUEST']._serialized_start=8837 - _globals['_ALTERTABLEREQUEST']._serialized_end=10010 - _globals['_ALTERTABLEREQUEST_ALTERATTRIBUTESENTRY']._serialized_start=9924 - _globals['_ALTERTABLEREQUEST_ALTERATTRIBUTESENTRY']._serialized_end=9978 - _globals['_ALTERTABLERESPONSE']._serialized_start=10012 - _globals['_ALTERTABLERESPONSE']._serialized_end=10078 - _globals['_COPYTABLEREQUEST']._serialized_start=10081 - _globals['_COPYTABLEREQUEST']._serialized_end=10225 - _globals['_COPYTABLERESPONSE']._serialized_start=10227 - _globals['_COPYTABLERESPONSE']._serialized_end=10292 - _globals['_COPYTABLEITEM']._serialized_start=10294 - _globals['_COPYTABLEITEM']._serialized_end=10378 - _globals['_COPYTABLESREQUEST']._serialized_start=10381 - _globals['_COPYTABLESREQUEST']._serialized_end=10521 - _globals['_COPYTABLESRESPONSE']._serialized_start=10523 - _globals['_COPYTABLESRESPONSE']._serialized_end=10589 - _globals['_RENAMETABLEITEM']._serialized_start=10591 - _globals['_RENAMETABLEITEM']._serialized_end=10684 - _globals['_RENAMETABLESREQUEST']._serialized_start=10687 - _globals['_RENAMETABLESREQUEST']._serialized_end=10831 - _globals['_RENAMETABLESRESPONSE']._serialized_start=10833 - _globals['_RENAMETABLESRESPONSE']._serialized_end=10901 - _globals['_DESCRIBETABLEREQUEST']._serialized_start=10904 - _globals['_DESCRIBETABLEREQUEST']._serialized_end=11149 - _globals['_DESCRIBETABLERESPONSE']._serialized_start=11151 - _globals['_DESCRIBETABLERESPONSE']._serialized_end=11220 - _globals['_DESCRIBETABLERESULT']._serialized_start=11223 - _globals['_DESCRIBETABLERESULT']._serialized_end=12064 - _globals['_DESCRIBETABLERESULT_ATTRIBUTESENTRY']._serialized_start=2714 - _globals['_DESCRIBETABLERESULT_ATTRIBUTESENTRY']._serialized_end=2763 - _globals['_QUERY']._serialized_start=12066 - _globals['_QUERY']._serialized_end=12116 - _globals['_SERIALIZABLEMODESETTINGS']._serialized_start=12118 - _globals['_SERIALIZABLEMODESETTINGS']._serialized_end=12144 - _globals['_ONLINEMODESETTINGS']._serialized_start=12146 - _globals['_ONLINEMODESETTINGS']._serialized_end=12200 - _globals['_STALEMODESETTINGS']._serialized_start=12202 - _globals['_STALEMODESETTINGS']._serialized_end=12221 - _globals['_SNAPSHOTMODESETTINGS']._serialized_start=12223 - _globals['_SNAPSHOTMODESETTINGS']._serialized_end=12245 - _globals['_SNAPSHOTRWMODESETTINGS']._serialized_start=12247 - _globals['_SNAPSHOTRWMODESETTINGS']._serialized_end=12271 - _globals['_TRANSACTIONSETTINGS']._serialized_start=12274 - _globals['_TRANSACTIONSETTINGS']._serialized_end=12623 - _globals['_TRANSACTIONCONTROL']._serialized_start=12625 - _globals['_TRANSACTIONCONTROL']._serialized_end=12748 - _globals['_QUERYCACHEPOLICY']._serialized_start=12750 - _globals['_QUERYCACHEPOLICY']._serialized_end=12791 - _globals['_QUERYSTATSCOLLECTION']._serialized_start=12794 - _globals['_QUERYSTATSCOLLECTION']._serialized_end=12971 - _globals['_QUERYSTATSCOLLECTION_MODE']._serialized_start=12819 - _globals['_QUERYSTATSCOLLECTION_MODE']._serialized_end=12971 - _globals['_EXECUTEDATAQUERYREQUEST']._serialized_start=12974 - _globals['_EXECUTEDATAQUERYREQUEST']._serialized_end=13420 - _globals['_EXECUTEDATAQUERYREQUEST_PARAMETERSENTRY']._serialized_start=13354 - _globals['_EXECUTEDATAQUERYREQUEST_PARAMETERSENTRY']._serialized_end=13420 - _globals['_EXECUTEDATAQUERYRESPONSE']._serialized_start=13422 - _globals['_EXECUTEDATAQUERYRESPONSE']._serialized_end=13494 - _globals['_EXECUTESCHEMEQUERYREQUEST']._serialized_start=13496 - _globals['_EXECUTESCHEMEQUERYREQUEST']._serialized_end=13620 - _globals['_EXECUTESCHEMEQUERYRESPONSE']._serialized_start=13622 - _globals['_EXECUTESCHEMEQUERYRESPONSE']._serialized_end=13696 - _globals['_TRANSACTIONMETA']._serialized_start=13698 - _globals['_TRANSACTIONMETA']._serialized_end=13727 - _globals['_QUERYMETA']._serialized_start=13730 - _globals['_QUERYMETA']._serialized_end=13889 - _globals['_QUERYMETA_PARAMETERSTYPESENTRY']._serialized_start=13824 - _globals['_QUERYMETA_PARAMETERSTYPESENTRY']._serialized_end=13889 - _globals['_EXECUTEQUERYRESULT']._serialized_start=13892 - _globals['_EXECUTEQUERYRESULT']._serialized_end=14085 - _globals['_EXPLAINDATAQUERYREQUEST']._serialized_start=14088 - _globals['_EXPLAINDATAQUERYREQUEST']._serialized_end=14244 - _globals['_EXPLAINDATAQUERYRESPONSE']._serialized_start=14246 - _globals['_EXPLAINDATAQUERYRESPONSE']._serialized_end=14318 - _globals['_EXPLAINQUERYRESULT']._serialized_start=14320 - _globals['_EXPLAINQUERYRESULT']._serialized_end=14411 - _globals['_PREPAREDATAQUERYREQUEST']._serialized_start=14413 - _globals['_PREPAREDATAQUERYREQUEST']._serialized_end=14535 - _globals['_PREPAREDATAQUERYRESPONSE']._serialized_start=14537 - _globals['_PREPAREDATAQUERYRESPONSE']._serialized_end=14609 - _globals['_PREPAREQUERYRESULT']._serialized_start=14612 - _globals['_PREPAREQUERYRESULT']._serialized_end=14795 - _globals['_PREPAREQUERYRESULT_PARAMETERSTYPESENTRY']._serialized_start=13824 - _globals['_PREPAREQUERYRESULT_PARAMETERSTYPESENTRY']._serialized_end=13889 - _globals['_KEEPALIVEREQUEST']._serialized_start=14797 - _globals['_KEEPALIVEREQUEST']._serialized_end=14894 - _globals['_KEEPALIVERESPONSE']._serialized_start=14896 - _globals['_KEEPALIVERESPONSE']._serialized_end=14961 - _globals['_KEEPALIVERESULT']._serialized_start=14964 - _globals['_KEEPALIVERESULT']._serialized_end=15147 - _globals['_KEEPALIVERESULT_SESSIONSTATUS']._serialized_start=15049 - _globals['_KEEPALIVERESULT_SESSIONSTATUS']._serialized_end=15147 - _globals['_BEGINTRANSACTIONREQUEST']._serialized_start=15150 - _globals['_BEGINTRANSACTIONREQUEST']._serialized_end=15307 - _globals['_BEGINTRANSACTIONRESPONSE']._serialized_start=15309 - _globals['_BEGINTRANSACTIONRESPONSE']._serialized_end=15381 - _globals['_BEGINTRANSACTIONRESULT']._serialized_start=15383 - _globals['_BEGINTRANSACTIONRESULT']._serialized_end=15452 - _globals['_COMMITTRANSACTIONREQUEST']._serialized_start=15455 - _globals['_COMMITTRANSACTIONREQUEST']._serialized_end=15636 - _globals['_COMMITTRANSACTIONRESPONSE']._serialized_start=15638 - _globals['_COMMITTRANSACTIONRESPONSE']._serialized_end=15711 - _globals['_COMMITTRANSACTIONRESULT']._serialized_start=15713 - _globals['_COMMITTRANSACTIONRESULT']._serialized_end=15787 - _globals['_ROLLBACKTRANSACTIONREQUEST']._serialized_start=15789 - _globals['_ROLLBACKTRANSACTIONREQUEST']._serialized_end=15911 - _globals['_ROLLBACKTRANSACTIONRESPONSE']._serialized_start=15913 - _globals['_ROLLBACKTRANSACTIONRESPONSE']._serialized_end=15988 - _globals['_STORAGEPOLICYDESCRIPTION']._serialized_start=15991 - _globals['_STORAGEPOLICYDESCRIPTION']._serialized_end=16143 - _globals['_STORAGEPOLICYDESCRIPTION_LABELSENTRY']._serialized_start=16098 - _globals['_STORAGEPOLICYDESCRIPTION_LABELSENTRY']._serialized_end=16143 - _globals['_COMPACTIONPOLICYDESCRIPTION']._serialized_start=16146 - _globals['_COMPACTIONPOLICYDESCRIPTION']._serialized_end=16304 - _globals['_COMPACTIONPOLICYDESCRIPTION_LABELSENTRY']._serialized_start=16098 - _globals['_COMPACTIONPOLICYDESCRIPTION_LABELSENTRY']._serialized_end=16143 - _globals['_PARTITIONINGPOLICYDESCRIPTION']._serialized_start=16307 - _globals['_PARTITIONINGPOLICYDESCRIPTION']._serialized_end=16469 - _globals['_PARTITIONINGPOLICYDESCRIPTION_LABELSENTRY']._serialized_start=16098 - _globals['_PARTITIONINGPOLICYDESCRIPTION_LABELSENTRY']._serialized_end=16143 - _globals['_EXECUTIONPOLICYDESCRIPTION']._serialized_start=16472 - _globals['_EXECUTIONPOLICYDESCRIPTION']._serialized_end=16628 - _globals['_EXECUTIONPOLICYDESCRIPTION_LABELSENTRY']._serialized_start=16098 - _globals['_EXECUTIONPOLICYDESCRIPTION_LABELSENTRY']._serialized_end=16143 - _globals['_REPLICATIONPOLICYDESCRIPTION']._serialized_start=16631 - _globals['_REPLICATIONPOLICYDESCRIPTION']._serialized_end=16791 - _globals['_REPLICATIONPOLICYDESCRIPTION_LABELSENTRY']._serialized_start=16098 - _globals['_REPLICATIONPOLICYDESCRIPTION_LABELSENTRY']._serialized_end=16143 - _globals['_CACHINGPOLICYDESCRIPTION']._serialized_start=16794 - _globals['_CACHINGPOLICYDESCRIPTION']._serialized_end=16946 - _globals['_CACHINGPOLICYDESCRIPTION_LABELSENTRY']._serialized_start=16098 - _globals['_CACHINGPOLICYDESCRIPTION_LABELSENTRY']._serialized_end=16143 - _globals['_TABLEPROFILEDESCRIPTION']._serialized_start=16949 - _globals['_TABLEPROFILEDESCRIPTION']._serialized_end=17523 - _globals['_TABLEPROFILEDESCRIPTION_LABELSENTRY']._serialized_start=16098 - _globals['_TABLEPROFILEDESCRIPTION_LABELSENTRY']._serialized_end=16143 - _globals['_DESCRIBETABLEOPTIONSREQUEST']._serialized_start=17525 - _globals['_DESCRIBETABLEOPTIONSREQUEST']._serialized_end=17613 - _globals['_DESCRIBETABLEOPTIONSRESPONSE']._serialized_start=17615 - _globals['_DESCRIBETABLEOPTIONSRESPONSE']._serialized_end=17691 - _globals['_DESCRIBETABLEOPTIONSRESULT']._serialized_start=17694 - _globals['_DESCRIBETABLEOPTIONSRESULT']._serialized_end=18231 - _globals['_KEYRANGE']._serialized_start=18234 - _globals['_KEYRANGE']._serialized_end=18426 - _globals['_READTABLEREQUEST']._serialized_start=18429 - _globals['_READTABLEREQUEST']._serialized_end=18741 - _globals['_READTABLERESPONSE']._serialized_start=18744 - _globals['_READTABLERESPONSE']._serialized_end=18932 - _globals['_READTABLERESULT']._serialized_start=18934 - _globals['_READTABLERESULT']._serialized_end=18987 - _globals['_READROWSREQUEST']._serialized_start=18989 - _globals['_READROWSREQUEST']._serialized_end=19088 - _globals['_READROWSRESPONSE']._serialized_start=19091 - _globals['_READROWSRESPONSE']._serialized_end=19229 - _globals['_BULKUPSERTREQUEST']._serialized_start=19232 - _globals['_BULKUPSERTREQUEST']._serialized_end=19501 - _globals['_BULKUPSERTRESPONSE']._serialized_start=19503 - _globals['_BULKUPSERTRESPONSE']._serialized_end=19569 - _globals['_BULKUPSERTRESULT']._serialized_start=19571 - _globals['_BULKUPSERTRESULT']._serialized_end=19589 - _globals['_EXECUTESCANQUERYREQUEST']._serialized_start=19592 - _globals['_EXECUTESCANQUERYREQUEST']._serialized_end=20027 - _globals['_EXECUTESCANQUERYREQUEST_PARAMETERSENTRY']._serialized_start=13354 - _globals['_EXECUTESCANQUERYREQUEST_PARAMETERSENTRY']._serialized_end=13420 - _globals['_EXECUTESCANQUERYREQUEST_MODE']._serialized_start=19942 - _globals['_EXECUTESCANQUERYREQUEST_MODE']._serialized_end=20003 - _globals['_EXECUTESCANQUERYPARTIALRESPONSE']._serialized_start=20030 - _globals['_EXECUTESCANQUERYPARTIALRESPONSE']._serialized_end=20205 - _globals['_EXECUTESCANQUERYPARTIALRESULT']._serialized_start=20208 - _globals['_EXECUTESCANQUERYPARTIALRESULT']._serialized_end=20380 + _globals['_CHANGEFEED']._serialized_end=2787 + _globals['_CHANGEFEED_ATTRIBUTESENTRY']._serialized_start=2738 + _globals['_CHANGEFEED_ATTRIBUTESENTRY']._serialized_end=2787 + _globals['_CHANGEFEEDDESCRIPTION']._serialized_start=2790 + _globals['_CHANGEFEEDDESCRIPTION']._serialized_end=3487 + _globals['_CHANGEFEEDDESCRIPTION_INITIALSCANPROGRESS']._serialized_start=3274 + _globals['_CHANGEFEEDDESCRIPTION_INITIALSCANPROGRESS']._serialized_end=3341 + _globals['_CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY']._serialized_start=2738 + _globals['_CHANGEFEEDDESCRIPTION_ATTRIBUTESENTRY']._serialized_end=2787 + _globals['_CHANGEFEEDDESCRIPTION_STATE']._serialized_start=3394 + _globals['_CHANGEFEEDDESCRIPTION_STATE']._serialized_end=3487 + _globals['_STORAGEPOOL']._serialized_start=3489 + _globals['_STORAGEPOOL']._serialized_end=3517 + _globals['_STORAGEPOLICY']._serialized_start=3520 + _globals['_STORAGEPOLICY']._serialized_end=3818 + _globals['_COLUMNFAMILYPOLICY']._serialized_start=3821 + _globals['_COLUMNFAMILYPOLICY']._serialized_end=4126 + _globals['_COLUMNFAMILYPOLICY_COMPRESSION']._serialized_start=4050 + _globals['_COLUMNFAMILYPOLICY_COMPRESSION']._serialized_end=4126 + _globals['_COMPACTIONPOLICY']._serialized_start=4128 + _globals['_COMPACTIONPOLICY']._serialized_end=4167 + _globals['_EXPLICITPARTITIONS']._serialized_start=4169 + _globals['_EXPLICITPARTITIONS']._serialized_end=4228 + _globals['_PARTITIONSTATS']._serialized_start=4230 + _globals['_PARTITIONSTATS']._serialized_end=4313 + _globals['_TABLESTATS']._serialized_start=4316 + _globals['_TABLESTATS']._serialized_end=4549 + _globals['_PARTITIONINGPOLICY']._serialized_start=4552 + _globals['_PARTITIONINGPOLICY']._serialized_end=4900 + _globals['_PARTITIONINGPOLICY_AUTOPARTITIONINGPOLICY']._serialized_start=4768 + _globals['_PARTITIONINGPOLICY_AUTOPARTITIONINGPOLICY']._serialized_end=4886 + _globals['_EXECUTIONPOLICY']._serialized_start=4902 + _globals['_EXECUTIONPOLICY']._serialized_end=4940 + _globals['_REPLICATIONPOLICY']._serialized_start=4943 + _globals['_REPLICATIONPOLICY']._serialized_end=5120 + _globals['_CACHINGPOLICY']._serialized_start=5122 + _globals['_CACHINGPOLICY']._serialized_end=5158 + _globals['_TABLEPROFILE']._serialized_start=5161 + _globals['_TABLEPROFILE']._serialized_end=5524 + _globals['_SEQUENCEDESCRIPTION']._serialized_start=5527 + _globals['_SEQUENCEDESCRIPTION']._serialized_end=5953 + _globals['_SEQUENCEDESCRIPTION_SETVAL']._serialized_start=5768 + _globals['_SEQUENCEDESCRIPTION_SETVAL']._serialized_end=5854 + _globals['_COLUMNMETA']._serialized_start=5956 + _globals['_COLUMNMETA']._serialized_end=6174 + _globals['_DATETYPECOLUMNMODESETTINGS']._serialized_start=6176 + _globals['_DATETYPECOLUMNMODESETTINGS']._serialized_end=6255 + _globals['_VALUESINCEUNIXEPOCHMODESETTINGS']._serialized_start=6258 + _globals['_VALUESINCEUNIXEPOCHMODESETTINGS']._serialized_end=6528 + _globals['_VALUESINCEUNIXEPOCHMODESETTINGS_UNIT']._serialized_start=6414 + _globals['_VALUESINCEUNIXEPOCHMODESETTINGS_UNIT']._serialized_end=6528 + _globals['_TTLSETTINGS']._serialized_start=6531 + _globals['_TTLSETTINGS']._serialized_end=6727 + _globals['_STORAGESETTINGS']._serialized_start=6730 + _globals['_STORAGESETTINGS']._serialized_end=6948 + _globals['_COLUMNFAMILY']._serialized_start=6951 + _globals['_COLUMNFAMILY']._serialized_end=7211 + _globals['_COLUMNFAMILY_COMPRESSION']._serialized_start=7126 + _globals['_COLUMNFAMILY_COMPRESSION']._serialized_end=7211 + _globals['_PARTITIONINGSETTINGS']._serialized_start=7214 + _globals['_PARTITIONINGSETTINGS']._serialized_end=7461 + _globals['_AZREADREPLICASSETTINGS']._serialized_start=7463 + _globals['_AZREADREPLICASSETTINGS']._serialized_end=7530 + _globals['_CLUSTERREPLICASSETTINGS']._serialized_start=7532 + _globals['_CLUSTERREPLICASSETTINGS']._serialized_end=7627 + _globals['_READREPLICASSETTINGS']._serialized_start=7629 + _globals['_READREPLICASSETTINGS']._serialized_end=7745 + _globals['_CREATETABLEREQUEST']._serialized_start=7748 + _globals['_CREATETABLEREQUEST']._serialized_end=8686 + _globals['_CREATETABLEREQUEST_ATTRIBUTESENTRY']._serialized_start=2738 + _globals['_CREATETABLEREQUEST_ATTRIBUTESENTRY']._serialized_end=2787 + _globals['_CREATETABLERESPONSE']._serialized_start=8688 + _globals['_CREATETABLERESPONSE']._serialized_end=8755 + _globals['_DROPTABLEREQUEST']._serialized_start=8757 + _globals['_DROPTABLEREQUEST']._serialized_end=8874 + _globals['_DROPTABLERESPONSE']._serialized_start=8876 + _globals['_DROPTABLERESPONSE']._serialized_end=8941 + _globals['_RENAMEINDEXITEM']._serialized_start=8943 + _globals['_RENAMEINDEXITEM']._serialized_end=9036 + _globals['_ALTERTABLEREQUEST']._serialized_start=9039 + _globals['_ALTERTABLEREQUEST']._serialized_end=10212 + _globals['_ALTERTABLEREQUEST_ALTERATTRIBUTESENTRY']._serialized_start=10126 + _globals['_ALTERTABLEREQUEST_ALTERATTRIBUTESENTRY']._serialized_end=10180 + _globals['_ALTERTABLERESPONSE']._serialized_start=10214 + _globals['_ALTERTABLERESPONSE']._serialized_end=10280 + _globals['_COPYTABLEREQUEST']._serialized_start=10283 + _globals['_COPYTABLEREQUEST']._serialized_end=10427 + _globals['_COPYTABLERESPONSE']._serialized_start=10429 + _globals['_COPYTABLERESPONSE']._serialized_end=10494 + _globals['_COPYTABLEITEM']._serialized_start=10496 + _globals['_COPYTABLEITEM']._serialized_end=10580 + _globals['_COPYTABLESREQUEST']._serialized_start=10583 + _globals['_COPYTABLESREQUEST']._serialized_end=10723 + _globals['_COPYTABLESRESPONSE']._serialized_start=10725 + _globals['_COPYTABLESRESPONSE']._serialized_end=10791 + _globals['_RENAMETABLEITEM']._serialized_start=10793 + _globals['_RENAMETABLEITEM']._serialized_end=10886 + _globals['_RENAMETABLESREQUEST']._serialized_start=10889 + _globals['_RENAMETABLESREQUEST']._serialized_end=11033 + _globals['_RENAMETABLESRESPONSE']._serialized_start=11035 + _globals['_RENAMETABLESRESPONSE']._serialized_end=11103 + _globals['_DESCRIBETABLEREQUEST']._serialized_start=11106 + _globals['_DESCRIBETABLEREQUEST']._serialized_end=11376 + _globals['_DESCRIBETABLERESPONSE']._serialized_start=11378 + _globals['_DESCRIBETABLERESPONSE']._serialized_end=11447 + _globals['_DESCRIBETABLERESULT']._serialized_start=11450 + _globals['_DESCRIBETABLERESULT']._serialized_end=12291 + _globals['_DESCRIBETABLERESULT_ATTRIBUTESENTRY']._serialized_start=2738 + _globals['_DESCRIBETABLERESULT_ATTRIBUTESENTRY']._serialized_end=2787 + _globals['_QUERY']._serialized_start=12293 + _globals['_QUERY']._serialized_end=12343 + _globals['_SERIALIZABLEMODESETTINGS']._serialized_start=12345 + _globals['_SERIALIZABLEMODESETTINGS']._serialized_end=12371 + _globals['_ONLINEMODESETTINGS']._serialized_start=12373 + _globals['_ONLINEMODESETTINGS']._serialized_end=12427 + _globals['_STALEMODESETTINGS']._serialized_start=12429 + _globals['_STALEMODESETTINGS']._serialized_end=12448 + _globals['_SNAPSHOTMODESETTINGS']._serialized_start=12450 + _globals['_SNAPSHOTMODESETTINGS']._serialized_end=12472 + _globals['_SNAPSHOTRWMODESETTINGS']._serialized_start=12474 + _globals['_SNAPSHOTRWMODESETTINGS']._serialized_end=12498 + _globals['_TRANSACTIONSETTINGS']._serialized_start=12501 + _globals['_TRANSACTIONSETTINGS']._serialized_end=12850 + _globals['_TRANSACTIONCONTROL']._serialized_start=12852 + _globals['_TRANSACTIONCONTROL']._serialized_end=12975 + _globals['_QUERYCACHEPOLICY']._serialized_start=12977 + _globals['_QUERYCACHEPOLICY']._serialized_end=13018 + _globals['_QUERYSTATSCOLLECTION']._serialized_start=13021 + _globals['_QUERYSTATSCOLLECTION']._serialized_end=13198 + _globals['_QUERYSTATSCOLLECTION_MODE']._serialized_start=13046 + _globals['_QUERYSTATSCOLLECTION_MODE']._serialized_end=13198 + _globals['_EXECUTEDATAQUERYREQUEST']._serialized_start=13201 + _globals['_EXECUTEDATAQUERYREQUEST']._serialized_end=13647 + _globals['_EXECUTEDATAQUERYREQUEST_PARAMETERSENTRY']._serialized_start=13581 + _globals['_EXECUTEDATAQUERYREQUEST_PARAMETERSENTRY']._serialized_end=13647 + _globals['_EXECUTEDATAQUERYRESPONSE']._serialized_start=13649 + _globals['_EXECUTEDATAQUERYRESPONSE']._serialized_end=13721 + _globals['_EXECUTESCHEMEQUERYREQUEST']._serialized_start=13723 + _globals['_EXECUTESCHEMEQUERYREQUEST']._serialized_end=13847 + _globals['_EXECUTESCHEMEQUERYRESPONSE']._serialized_start=13849 + _globals['_EXECUTESCHEMEQUERYRESPONSE']._serialized_end=13923 + _globals['_TRANSACTIONMETA']._serialized_start=13925 + _globals['_TRANSACTIONMETA']._serialized_end=13954 + _globals['_QUERYMETA']._serialized_start=13957 + _globals['_QUERYMETA']._serialized_end=14116 + _globals['_QUERYMETA_PARAMETERSTYPESENTRY']._serialized_start=14051 + _globals['_QUERYMETA_PARAMETERSTYPESENTRY']._serialized_end=14116 + _globals['_EXECUTEQUERYRESULT']._serialized_start=14119 + _globals['_EXECUTEQUERYRESULT']._serialized_end=14312 + _globals['_EXPLAINDATAQUERYREQUEST']._serialized_start=14315 + _globals['_EXPLAINDATAQUERYREQUEST']._serialized_end=14471 + _globals['_EXPLAINDATAQUERYRESPONSE']._serialized_start=14473 + _globals['_EXPLAINDATAQUERYRESPONSE']._serialized_end=14545 + _globals['_EXPLAINQUERYRESULT']._serialized_start=14547 + _globals['_EXPLAINQUERYRESULT']._serialized_end=14638 + _globals['_PREPAREDATAQUERYREQUEST']._serialized_start=14640 + _globals['_PREPAREDATAQUERYREQUEST']._serialized_end=14762 + _globals['_PREPAREDATAQUERYRESPONSE']._serialized_start=14764 + _globals['_PREPAREDATAQUERYRESPONSE']._serialized_end=14836 + _globals['_PREPAREQUERYRESULT']._serialized_start=14839 + _globals['_PREPAREQUERYRESULT']._serialized_end=15022 + _globals['_PREPAREQUERYRESULT_PARAMETERSTYPESENTRY']._serialized_start=14051 + _globals['_PREPAREQUERYRESULT_PARAMETERSTYPESENTRY']._serialized_end=14116 + _globals['_KEEPALIVEREQUEST']._serialized_start=15024 + _globals['_KEEPALIVEREQUEST']._serialized_end=15121 + _globals['_KEEPALIVERESPONSE']._serialized_start=15123 + _globals['_KEEPALIVERESPONSE']._serialized_end=15188 + _globals['_KEEPALIVERESULT']._serialized_start=15191 + _globals['_KEEPALIVERESULT']._serialized_end=15374 + _globals['_KEEPALIVERESULT_SESSIONSTATUS']._serialized_start=15276 + _globals['_KEEPALIVERESULT_SESSIONSTATUS']._serialized_end=15374 + _globals['_BEGINTRANSACTIONREQUEST']._serialized_start=15377 + _globals['_BEGINTRANSACTIONREQUEST']._serialized_end=15534 + _globals['_BEGINTRANSACTIONRESPONSE']._serialized_start=15536 + _globals['_BEGINTRANSACTIONRESPONSE']._serialized_end=15608 + _globals['_BEGINTRANSACTIONRESULT']._serialized_start=15610 + _globals['_BEGINTRANSACTIONRESULT']._serialized_end=15679 + _globals['_COMMITTRANSACTIONREQUEST']._serialized_start=15682 + _globals['_COMMITTRANSACTIONREQUEST']._serialized_end=15863 + _globals['_COMMITTRANSACTIONRESPONSE']._serialized_start=15865 + _globals['_COMMITTRANSACTIONRESPONSE']._serialized_end=15938 + _globals['_COMMITTRANSACTIONRESULT']._serialized_start=15940 + _globals['_COMMITTRANSACTIONRESULT']._serialized_end=16014 + _globals['_ROLLBACKTRANSACTIONREQUEST']._serialized_start=16016 + _globals['_ROLLBACKTRANSACTIONREQUEST']._serialized_end=16138 + _globals['_ROLLBACKTRANSACTIONRESPONSE']._serialized_start=16140 + _globals['_ROLLBACKTRANSACTIONRESPONSE']._serialized_end=16215 + _globals['_STORAGEPOLICYDESCRIPTION']._serialized_start=16218 + _globals['_STORAGEPOLICYDESCRIPTION']._serialized_end=16370 + _globals['_STORAGEPOLICYDESCRIPTION_LABELSENTRY']._serialized_start=16325 + _globals['_STORAGEPOLICYDESCRIPTION_LABELSENTRY']._serialized_end=16370 + _globals['_COMPACTIONPOLICYDESCRIPTION']._serialized_start=16373 + _globals['_COMPACTIONPOLICYDESCRIPTION']._serialized_end=16531 + _globals['_COMPACTIONPOLICYDESCRIPTION_LABELSENTRY']._serialized_start=16325 + _globals['_COMPACTIONPOLICYDESCRIPTION_LABELSENTRY']._serialized_end=16370 + _globals['_PARTITIONINGPOLICYDESCRIPTION']._serialized_start=16534 + _globals['_PARTITIONINGPOLICYDESCRIPTION']._serialized_end=16696 + _globals['_PARTITIONINGPOLICYDESCRIPTION_LABELSENTRY']._serialized_start=16325 + _globals['_PARTITIONINGPOLICYDESCRIPTION_LABELSENTRY']._serialized_end=16370 + _globals['_EXECUTIONPOLICYDESCRIPTION']._serialized_start=16699 + _globals['_EXECUTIONPOLICYDESCRIPTION']._serialized_end=16855 + _globals['_EXECUTIONPOLICYDESCRIPTION_LABELSENTRY']._serialized_start=16325 + _globals['_EXECUTIONPOLICYDESCRIPTION_LABELSENTRY']._serialized_end=16370 + _globals['_REPLICATIONPOLICYDESCRIPTION']._serialized_start=16858 + _globals['_REPLICATIONPOLICYDESCRIPTION']._serialized_end=17018 + _globals['_REPLICATIONPOLICYDESCRIPTION_LABELSENTRY']._serialized_start=16325 + _globals['_REPLICATIONPOLICYDESCRIPTION_LABELSENTRY']._serialized_end=16370 + _globals['_CACHINGPOLICYDESCRIPTION']._serialized_start=17021 + _globals['_CACHINGPOLICYDESCRIPTION']._serialized_end=17173 + _globals['_CACHINGPOLICYDESCRIPTION_LABELSENTRY']._serialized_start=16325 + _globals['_CACHINGPOLICYDESCRIPTION_LABELSENTRY']._serialized_end=16370 + _globals['_TABLEPROFILEDESCRIPTION']._serialized_start=17176 + _globals['_TABLEPROFILEDESCRIPTION']._serialized_end=17750 + _globals['_TABLEPROFILEDESCRIPTION_LABELSENTRY']._serialized_start=16325 + _globals['_TABLEPROFILEDESCRIPTION_LABELSENTRY']._serialized_end=16370 + _globals['_DESCRIBETABLEOPTIONSREQUEST']._serialized_start=17752 + _globals['_DESCRIBETABLEOPTIONSREQUEST']._serialized_end=17840 + _globals['_DESCRIBETABLEOPTIONSRESPONSE']._serialized_start=17842 + _globals['_DESCRIBETABLEOPTIONSRESPONSE']._serialized_end=17918 + _globals['_DESCRIBETABLEOPTIONSRESULT']._serialized_start=17921 + _globals['_DESCRIBETABLEOPTIONSRESULT']._serialized_end=18458 + _globals['_KEYRANGE']._serialized_start=18461 + _globals['_KEYRANGE']._serialized_end=18653 + _globals['_READTABLEREQUEST']._serialized_start=18656 + _globals['_READTABLEREQUEST']._serialized_end=18968 + _globals['_READTABLERESPONSE']._serialized_start=18971 + _globals['_READTABLERESPONSE']._serialized_end=19159 + _globals['_READTABLERESULT']._serialized_start=19161 + _globals['_READTABLERESULT']._serialized_end=19214 + _globals['_READROWSREQUEST']._serialized_start=19216 + _globals['_READROWSREQUEST']._serialized_end=19315 + _globals['_READROWSRESPONSE']._serialized_start=19318 + _globals['_READROWSRESPONSE']._serialized_end=19456 + _globals['_BULKUPSERTREQUEST']._serialized_start=19459 + _globals['_BULKUPSERTREQUEST']._serialized_end=19728 + _globals['_BULKUPSERTRESPONSE']._serialized_start=19730 + _globals['_BULKUPSERTRESPONSE']._serialized_end=19796 + _globals['_BULKUPSERTRESULT']._serialized_start=19798 + _globals['_BULKUPSERTRESULT']._serialized_end=19816 + _globals['_EXECUTESCANQUERYREQUEST']._serialized_start=19819 + _globals['_EXECUTESCANQUERYREQUEST']._serialized_end=20258 + _globals['_EXECUTESCANQUERYREQUEST_PARAMETERSENTRY']._serialized_start=13581 + _globals['_EXECUTESCANQUERYREQUEST_PARAMETERSENTRY']._serialized_end=13647 + _globals['_EXECUTESCANQUERYREQUEST_MODE']._serialized_start=20173 + _globals['_EXECUTESCANQUERYREQUEST_MODE']._serialized_end=20234 + _globals['_EXECUTESCANQUERYPARTIALRESPONSE']._serialized_start=20261 + _globals['_EXECUTESCANQUERYPARTIALRESPONSE']._serialized_end=20436 + _globals['_EXECUTESCANQUERYPARTIALRESULT']._serialized_start=20439 + _globals['_EXECUTESCANQUERYPARTIALRESULT']._serialized_end=20656 + _globals['_DESCRIBEEXTERNALDATASOURCEREQUEST']._serialized_start=20658 + _globals['_DESCRIBEEXTERNALDATASOURCEREQUEST']._serialized_end=20766 + _globals['_DESCRIBEEXTERNALDATASOURCERESPONSE']._serialized_start=20768 + _globals['_DESCRIBEEXTERNALDATASOURCERESPONSE']._serialized_end=20850 + _globals['_DESCRIBEEXTERNALDATASOURCERESULT']._serialized_start=20853 + _globals['_DESCRIBEEXTERNALDATASOURCERESULT']._serialized_end=21130 + _globals['_DESCRIBEEXTERNALDATASOURCERESULT_PROPERTIESENTRY']._serialized_start=21052 + _globals['_DESCRIBEEXTERNALDATASOURCERESULT_PROPERTIESENTRY']._serialized_end=21101 + _globals['_DESCRIBEEXTERNALTABLEREQUEST']._serialized_start=21132 + _globals['_DESCRIBEEXTERNALTABLEREQUEST']._serialized_end=21235 + _globals['_DESCRIBEEXTERNALTABLERESPONSE']._serialized_start=21237 + _globals['_DESCRIBEEXTERNALTABLERESPONSE']._serialized_end=21314 + _globals['_DESCRIBEEXTERNALTABLERESULT']._serialized_start=21317 + _globals['_DESCRIBEEXTERNALTABLERESULT']._serialized_end=21667 + _globals['_DESCRIBEEXTERNALTABLERESULT_CONTENTENTRY']._serialized_start=21571 + _globals['_DESCRIBEEXTERNALTABLERESULT_CONTENTENTRY']._serialized_end=21617 + _globals['_DESCRIBESYSTEMVIEWREQUEST']._serialized_start=21669 + _globals['_DESCRIBESYSTEMVIEWREQUEST']._serialized_end=21769 + _globals['_DESCRIBESYSTEMVIEWRESPONSE']._serialized_start=21771 + _globals['_DESCRIBESYSTEMVIEWRESPONSE']._serialized_end=21845 + _globals['_DESCRIBESYSTEMVIEWRESULT']._serialized_start=21848 + _globals['_DESCRIBESYSTEMVIEWRESULT']._serialized_end=22136 + _globals['_DESCRIBESYSTEMVIEWRESULT_ATTRIBUTESENTRY']._serialized_start=2738 + _globals['_DESCRIBESYSTEMVIEWRESULT_ATTRIBUTESENTRY']._serialized_end=2787 # @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v6/protos/ydb_table_pb2.pyi b/ydb/_grpc/v6/protos/ydb_table_pb2.pyi index f09da52e4..e50de70a0 100644 --- a/ydb/_grpc/v6/protos/ydb_table_pb2.pyi +++ b/ydb/_grpc/v6/protos/ydb_table_pb2.pyi @@ -194,7 +194,7 @@ class ChangefeedFormat(_message.Message): def __init__(self) -> None: ... class Changefeed(_message.Message): - __slots__ = ("name", "mode", "format", "retention_period", "virtual_timestamps", "initial_scan", "attributes", "aws_region", "resolved_timestamps_interval", "topic_partitioning_settings") + __slots__ = ("name", "mode", "format", "retention_period", "virtual_timestamps", "initial_scan", "attributes", "aws_region", "resolved_timestamps_interval", "topic_partitioning_settings", "schema_changes") class AttributesEntry(_message.Message): __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] @@ -212,6 +212,7 @@ class Changefeed(_message.Message): AWS_REGION_FIELD_NUMBER: _ClassVar[int] RESOLVED_TIMESTAMPS_INTERVAL_FIELD_NUMBER: _ClassVar[int] TOPIC_PARTITIONING_SETTINGS_FIELD_NUMBER: _ClassVar[int] + SCHEMA_CHANGES_FIELD_NUMBER: _ClassVar[int] name: str mode: ChangefeedMode.Mode format: ChangefeedFormat.Format @@ -222,10 +223,11 @@ class Changefeed(_message.Message): aws_region: str resolved_timestamps_interval: _duration_pb2.Duration topic_partitioning_settings: _ydb_topic_pb2.PartitioningSettings - def __init__(self, name: _Optional[str] = ..., mode: _Optional[_Union[ChangefeedMode.Mode, str]] = ..., format: _Optional[_Union[ChangefeedFormat.Format, str]] = ..., retention_period: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ..., virtual_timestamps: bool = ..., initial_scan: bool = ..., attributes: _Optional[_Mapping[str, str]] = ..., aws_region: _Optional[str] = ..., resolved_timestamps_interval: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ..., topic_partitioning_settings: _Optional[_Union[_ydb_topic_pb2.PartitioningSettings, _Mapping]] = ...) -> None: ... + schema_changes: bool + def __init__(self, name: _Optional[str] = ..., mode: _Optional[_Union[ChangefeedMode.Mode, str]] = ..., format: _Optional[_Union[ChangefeedFormat.Format, str]] = ..., retention_period: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ..., virtual_timestamps: bool = ..., initial_scan: bool = ..., attributes: _Optional[_Mapping[str, str]] = ..., aws_region: _Optional[str] = ..., resolved_timestamps_interval: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ..., topic_partitioning_settings: _Optional[_Union[_ydb_topic_pb2.PartitioningSettings, _Mapping]] = ..., schema_changes: bool = ...) -> None: ... class ChangefeedDescription(_message.Message): - __slots__ = ("name", "mode", "format", "state", "virtual_timestamps", "attributes", "aws_region", "resolved_timestamps_interval") + __slots__ = ("name", "mode", "format", "state", "virtual_timestamps", "attributes", "aws_region", "resolved_timestamps_interval", "initial_scan_progress", "schema_changes") class State(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): __slots__ = () STATE_UNSPECIFIED: _ClassVar[ChangefeedDescription.State] @@ -236,6 +238,13 @@ class ChangefeedDescription(_message.Message): STATE_ENABLED: ChangefeedDescription.State STATE_DISABLED: ChangefeedDescription.State STATE_INITIAL_SCAN: ChangefeedDescription.State + class InitialScanProgress(_message.Message): + __slots__ = ("parts_total", "parts_completed") + PARTS_TOTAL_FIELD_NUMBER: _ClassVar[int] + PARTS_COMPLETED_FIELD_NUMBER: _ClassVar[int] + parts_total: int + parts_completed: int + def __init__(self, parts_total: _Optional[int] = ..., parts_completed: _Optional[int] = ...) -> None: ... class AttributesEntry(_message.Message): __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] @@ -251,6 +260,8 @@ class ChangefeedDescription(_message.Message): ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] AWS_REGION_FIELD_NUMBER: _ClassVar[int] RESOLVED_TIMESTAMPS_INTERVAL_FIELD_NUMBER: _ClassVar[int] + INITIAL_SCAN_PROGRESS_FIELD_NUMBER: _ClassVar[int] + SCHEMA_CHANGES_FIELD_NUMBER: _ClassVar[int] name: str mode: ChangefeedMode.Mode format: ChangefeedFormat.Format @@ -259,7 +270,9 @@ class ChangefeedDescription(_message.Message): attributes: _containers.ScalarMap[str, str] aws_region: str resolved_timestamps_interval: _duration_pb2.Duration - def __init__(self, name: _Optional[str] = ..., mode: _Optional[_Union[ChangefeedMode.Mode, str]] = ..., format: _Optional[_Union[ChangefeedFormat.Format, str]] = ..., state: _Optional[_Union[ChangefeedDescription.State, str]] = ..., virtual_timestamps: bool = ..., attributes: _Optional[_Mapping[str, str]] = ..., aws_region: _Optional[str] = ..., resolved_timestamps_interval: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ...) -> None: ... + initial_scan_progress: ChangefeedDescription.InitialScanProgress + schema_changes: bool + def __init__(self, name: _Optional[str] = ..., mode: _Optional[_Union[ChangefeedMode.Mode, str]] = ..., format: _Optional[_Union[ChangefeedFormat.Format, str]] = ..., state: _Optional[_Union[ChangefeedDescription.State, str]] = ..., virtual_timestamps: bool = ..., attributes: _Optional[_Mapping[str, str]] = ..., aws_region: _Optional[str] = ..., resolved_timestamps_interval: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ..., initial_scan_progress: _Optional[_Union[ChangefeedDescription.InitialScanProgress, _Mapping]] = ..., schema_changes: bool = ...) -> None: ... class StoragePool(_message.Message): __slots__ = ("media",) @@ -779,13 +792,14 @@ class RenameTablesResponse(_message.Message): def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... class DescribeTableRequest(_message.Message): - __slots__ = ("session_id", "path", "operation_params", "include_shard_key_bounds", "include_table_stats", "include_partition_stats", "include_shard_nodes_info") + __slots__ = ("session_id", "path", "operation_params", "include_shard_key_bounds", "include_table_stats", "include_partition_stats", "include_set_val", "include_shard_nodes_info") SESSION_ID_FIELD_NUMBER: _ClassVar[int] PATH_FIELD_NUMBER: _ClassVar[int] OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] INCLUDE_SHARD_KEY_BOUNDS_FIELD_NUMBER: _ClassVar[int] INCLUDE_TABLE_STATS_FIELD_NUMBER: _ClassVar[int] INCLUDE_PARTITION_STATS_FIELD_NUMBER: _ClassVar[int] + INCLUDE_SET_VAL_FIELD_NUMBER: _ClassVar[int] INCLUDE_SHARD_NODES_INFO_FIELD_NUMBER: _ClassVar[int] session_id: str path: str @@ -793,8 +807,9 @@ class DescribeTableRequest(_message.Message): include_shard_key_bounds: bool include_table_stats: bool include_partition_stats: bool + include_set_val: bool include_shard_nodes_info: bool - def __init__(self, session_id: _Optional[str] = ..., path: _Optional[str] = ..., operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., include_shard_key_bounds: bool = ..., include_table_stats: bool = ..., include_partition_stats: bool = ..., include_shard_nodes_info: bool = ...) -> None: ... + def __init__(self, session_id: _Optional[str] = ..., path: _Optional[str] = ..., operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., include_shard_key_bounds: bool = ..., include_table_stats: bool = ..., include_partition_stats: bool = ..., include_set_val: bool = ..., include_shard_nodes_info: bool = ...) -> None: ... class DescribeTableResponse(_message.Message): __slots__ = ("operation",) @@ -1453,11 +1468,120 @@ class ExecuteScanQueryPartialResponse(_message.Message): def __init__(self, status: _Optional[_Union[_ydb_status_codes_pb2.StatusIds.StatusCode, str]] = ..., issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ..., result: _Optional[_Union[ExecuteScanQueryPartialResult, _Mapping]] = ...) -> None: ... class ExecuteScanQueryPartialResult(_message.Message): - __slots__ = ("result_set", "query_stats", "query_full_diagnostics") + __slots__ = ("result_set", "query_stats", "query_full_diagnostics", "snapshot") RESULT_SET_FIELD_NUMBER: _ClassVar[int] QUERY_STATS_FIELD_NUMBER: _ClassVar[int] QUERY_FULL_DIAGNOSTICS_FIELD_NUMBER: _ClassVar[int] + SNAPSHOT_FIELD_NUMBER: _ClassVar[int] result_set: _ydb_value_pb2.ResultSet query_stats: _ydb_query_stats_pb2.QueryStats query_full_diagnostics: str - def __init__(self, result_set: _Optional[_Union[_ydb_value_pb2.ResultSet, _Mapping]] = ..., query_stats: _Optional[_Union[_ydb_query_stats_pb2.QueryStats, _Mapping]] = ..., query_full_diagnostics: _Optional[str] = ...) -> None: ... + snapshot: _ydb_common_pb2.VirtualTimestamp + def __init__(self, result_set: _Optional[_Union[_ydb_value_pb2.ResultSet, _Mapping]] = ..., query_stats: _Optional[_Union[_ydb_query_stats_pb2.QueryStats, _Mapping]] = ..., query_full_diagnostics: _Optional[str] = ..., snapshot: _Optional[_Union[_ydb_common_pb2.VirtualTimestamp, _Mapping]] = ...) -> None: ... + +class DescribeExternalDataSourceRequest(_message.Message): + __slots__ = ("operation_params", "path") + OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + operation_params: _ydb_operation_pb2.OperationParams + path: str + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ...) -> None: ... + +class DescribeExternalDataSourceResponse(_message.Message): + __slots__ = ("operation",) + OPERATION_FIELD_NUMBER: _ClassVar[int] + operation: _ydb_operation_pb2.Operation + def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... + +class DescribeExternalDataSourceResult(_message.Message): + __slots__ = ("self", "source_type", "location", "properties") + class PropertiesEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + SELF_FIELD_NUMBER: _ClassVar[int] + SOURCE_TYPE_FIELD_NUMBER: _ClassVar[int] + LOCATION_FIELD_NUMBER: _ClassVar[int] + PROPERTIES_FIELD_NUMBER: _ClassVar[int] + self: _ydb_scheme_pb2.Entry + source_type: str + location: str + properties: _containers.ScalarMap[str, str] + def __init__(self_, self: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., source_type: _Optional[str] = ..., location: _Optional[str] = ..., properties: _Optional[_Mapping[str, str]] = ...) -> None: ... + +class DescribeExternalTableRequest(_message.Message): + __slots__ = ("operation_params", "path") + OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + operation_params: _ydb_operation_pb2.OperationParams + path: str + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ...) -> None: ... + +class DescribeExternalTableResponse(_message.Message): + __slots__ = ("operation",) + OPERATION_FIELD_NUMBER: _ClassVar[int] + operation: _ydb_operation_pb2.Operation + def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... + +class DescribeExternalTableResult(_message.Message): + __slots__ = ("self", "source_type", "data_source_path", "location", "columns", "content") + class ContentEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + SELF_FIELD_NUMBER: _ClassVar[int] + SOURCE_TYPE_FIELD_NUMBER: _ClassVar[int] + DATA_SOURCE_PATH_FIELD_NUMBER: _ClassVar[int] + LOCATION_FIELD_NUMBER: _ClassVar[int] + COLUMNS_FIELD_NUMBER: _ClassVar[int] + CONTENT_FIELD_NUMBER: _ClassVar[int] + self: _ydb_scheme_pb2.Entry + source_type: str + data_source_path: str + location: str + columns: _containers.RepeatedCompositeFieldContainer[ColumnMeta] + content: _containers.ScalarMap[str, str] + def __init__(self_, self: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., source_type: _Optional[str] = ..., data_source_path: _Optional[str] = ..., location: _Optional[str] = ..., columns: _Optional[_Iterable[_Union[ColumnMeta, _Mapping]]] = ..., content: _Optional[_Mapping[str, str]] = ...) -> None: ... + +class DescribeSystemViewRequest(_message.Message): + __slots__ = ("operation_params", "path") + OPERATION_PARAMS_FIELD_NUMBER: _ClassVar[int] + PATH_FIELD_NUMBER: _ClassVar[int] + operation_params: _ydb_operation_pb2.OperationParams + path: str + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ...) -> None: ... + +class DescribeSystemViewResponse(_message.Message): + __slots__ = ("operation",) + OPERATION_FIELD_NUMBER: _ClassVar[int] + operation: _ydb_operation_pb2.Operation + def __init__(self, operation: _Optional[_Union[_ydb_operation_pb2.Operation, _Mapping]] = ...) -> None: ... + +class DescribeSystemViewResult(_message.Message): + __slots__ = ("self", "sys_view_id", "sys_view_name", "columns", "primary_key", "attributes") + class AttributesEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + SELF_FIELD_NUMBER: _ClassVar[int] + SYS_VIEW_ID_FIELD_NUMBER: _ClassVar[int] + SYS_VIEW_NAME_FIELD_NUMBER: _ClassVar[int] + COLUMNS_FIELD_NUMBER: _ClassVar[int] + PRIMARY_KEY_FIELD_NUMBER: _ClassVar[int] + ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] + self: _ydb_scheme_pb2.Entry + sys_view_id: int + sys_view_name: str + columns: _containers.RepeatedCompositeFieldContainer[ColumnMeta] + primary_key: _containers.RepeatedScalarFieldContainer[str] + attributes: _containers.ScalarMap[str, str] + def __init__(self_, self: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., sys_view_id: _Optional[int] = ..., sys_view_name: _Optional[str] = ..., columns: _Optional[_Iterable[_Union[ColumnMeta, _Mapping]]] = ..., primary_key: _Optional[_Iterable[str]] = ..., attributes: _Optional[_Mapping[str, str]] = ...) -> None: ... diff --git a/ydb/_grpc/v6/protos/ydb_topic_pb2.py b/ydb/_grpc/v6/protos/ydb_topic_pb2.py index c6d9496dc..2f3f9cf51 100644 --- a/ydb/_grpc/v6/protos/ydb_topic_pb2.py +++ b/ydb/_grpc/v6/protos/ydb_topic_pb2.py @@ -34,7 +34,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16protos/ydb_topic.proto\x12\tYdb.Topic\x1a\x1aprotos/ydb_operation.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\"protos/annotations/sensitive.proto\x1a#protos/annotations/validation.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"7\n\x0fSupportedCodecs\x12$\n\x06\x63odecs\x18\x01 \x03(\x05\x42\x14\x9a\xe6*\x02\x18\x64\xb2\xe6*\n[1; 19999]\"*\n\x0cOffsetsRange\x12\r\n\x05start\x18\x01 \x01(\x03\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x03\")\n\x12UpdateTokenRequest\x12\x13\n\x05token\x18\x01 \x01(\tB\x04\xb8\xe6*\x01\"\x15\n\x13UpdateTokenResponse\"C\n\x17PartitionWithGeneration\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x12\n\ngeneration\x18\x02 \x01(\x03\"*\n\x0cMetadataItem\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\"\x9e\x14\n\x12StreamWriteMessage\x1a\xe5\x01\n\nFromClient\x12\x41\n\x0cinit_request\x18\x01 \x01(\x0b\x32).Ydb.Topic.StreamWriteMessage.InitRequestH\x00\x12\x43\n\rwrite_request\x18\x02 \x01(\x0b\x32*.Ydb.Topic.StreamWriteMessage.WriteRequestH\x00\x12=\n\x14update_token_request\x18\x03 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x42\x10\n\x0e\x63lient_message\x1a\xbf\x02\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x43\n\rinit_response\x18\x03 \x01(\x0b\x32*.Ydb.Topic.StreamWriteMessage.InitResponseH\x00\x12\x45\n\x0ewrite_response\x18\x04 \x01(\x0b\x32+.Ydb.Topic.StreamWriteMessage.WriteResponseH\x00\x12?\n\x15update_token_response\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x42\x10\n\x0eserver_message\x1a\xfe\x02\n\x0bInitRequest\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x1c\n\x0bproducer_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12[\n\x12write_session_meta\x18\x03 \x03(\x0b\x32?.Ydb.Topic.StreamWriteMessage.InitRequest.WriteSessionMetaEntry\x12#\n\x10message_group_id\x18\x04 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10H\x00\x12\x16\n\x0cpartition_id\x18\x05 \x01(\x03H\x00\x12G\n\x19partition_with_generation\x18\x07 \x01(\x0b\x32\".Ydb.Topic.PartitionWithGenerationH\x00\x12\x17\n\x0fget_last_seq_no\x18\x06 \x01(\x08\x1a\x37\n\x15WriteSessionMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0cpartitioning\x1a\x83\x01\n\x0cInitResponse\x12\x13\n\x0blast_seq_no\x18\x01 \x01(\x03\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x34\n\x10supported_codecs\x18\x04 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x1a\xe8\x03\n\x0cWriteRequest\x12H\n\x08messages\x18\x01 \x03(\x0b\x32\x36.Ydb.Topic.StreamWriteMessage.WriteRequest.MessageData\x12\r\n\x05\x63odec\x18\x02 \x01(\x05\x12/\n\x02tx\x18\x03 \x01(\x0b\x32\x1e.Ydb.Topic.TransactionIdentityH\x00\x88\x01\x01\x1a\xc6\x02\n\x0bMessageData\x12\x0e\n\x06seq_no\x18\x01 \x01(\x03\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x19\n\x11uncompressed_size\x18\x04 \x01(\x03\x12#\n\x10message_group_id\x18\x05 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10H\x00\x12\x16\n\x0cpartition_id\x18\x06 \x01(\x03H\x00\x12G\n\x19partition_with_generation\x18\x08 \x01(\x0b\x32\".Ydb.Topic.PartitionWithGenerationH\x00\x12\x38\n\x0emetadata_items\x18\x07 \x03(\x0b\x32\x17.Ydb.Topic.MetadataItemB\x07\x9a\xe6*\x03\x18\xe8\x07\x42\x0e\n\x0cpartitioningB\x05\n\x03_tx\x1a\xeb\x07\n\rWriteResponse\x12\x42\n\x04\x61\x63ks\x18\x01 \x03(\x0b\x32\x34.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck\x12\x14\n\x0cpartition_id\x18\x02 \x01(\x03\x12U\n\x10write_statistics\x18\x03 \x01(\x0b\x32;.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteStatistics\x1a\xf8\x03\n\x08WriteAck\x12\x0e\n\x06seq_no\x18\x01 \x01(\x03\x12O\n\x07written\x18\x02 \x01(\x0b\x32<.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.WrittenH\x00\x12O\n\x07skipped\x18\x03 \x01(\x0b\x32<.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.SkippedH\x00\x12Y\n\rwritten_in_tx\x18\x04 \x01(\x0b\x32@.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.WrittenInTxH\x00\x1a\x19\n\x07Written\x12\x0e\n\x06offset\x18\x01 \x01(\x03\x1a\x9c\x01\n\x07Skipped\x12S\n\x06reason\x18\x01 \x01(\x0e\x32\x43.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.Skipped.Reason\"<\n\x06Reason\x12\x16\n\x12REASON_UNSPECIFIED\x10\x00\x12\x1a\n\x16REASON_ALREADY_WRITTEN\x10\x01\x1a\r\n\x0bWrittenInTxB\x16\n\x14message_write_status\x1a\xad\x02\n\x0fWriteStatistics\x12\x32\n\x0fpersisting_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13min_queue_wait_time\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13max_queue_wait_time\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19partition_quota_wait_time\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15topic_quota_wait_time\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x9c#\n\x11StreamReadMessage\x1aT\n\x10PartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x1a\xb1\x05\n\nFromClient\x12@\n\x0cinit_request\x18\x01 \x01(\x0b\x32(.Ydb.Topic.StreamReadMessage.InitRequestH\x00\x12@\n\x0cread_request\x18\x02 \x01(\x0b\x32(.Ydb.Topic.StreamReadMessage.ReadRequestH\x00\x12Q\n\x15\x63ommit_offset_request\x18\x03 \x01(\x0b\x32\x30.Ydb.Topic.StreamReadMessage.CommitOffsetRequestH\x00\x12\x66\n partition_session_status_request\x18\x04 \x01(\x0b\x32:.Ydb.Topic.StreamReadMessage.PartitionSessionStatusRequestH\x00\x12=\n\x14update_token_request\x18\x05 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x12\x45\n\x0f\x64irect_read_ack\x18\x08 \x01(\x0b\x32*.Ydb.Topic.StreamReadMessage.DirectReadAckH\x00\x12\x66\n start_partition_session_response\x18\x06 \x01(\x0b\x32:.Ydb.Topic.StreamReadMessage.StartPartitionSessionResponseH\x00\x12\x64\n\x1fstop_partition_session_response\x18\x07 \x01(\x0b\x32\x39.Ydb.Topic.StreamReadMessage.StopPartitionSessionResponseH\x00\x42\x10\n\x0e\x63lient_message\x1a\xf0\x06\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x42\n\rinit_response\x18\x03 \x01(\x0b\x32).Ydb.Topic.StreamReadMessage.InitResponseH\x00\x12\x42\n\rread_response\x18\x04 \x01(\x0b\x32).Ydb.Topic.StreamReadMessage.ReadResponseH\x00\x12S\n\x16\x63ommit_offset_response\x18\x05 \x01(\x0b\x32\x31.Ydb.Topic.StreamReadMessage.CommitOffsetResponseH\x00\x12h\n!partition_session_status_response\x18\x06 \x01(\x0b\x32;.Ydb.Topic.StreamReadMessage.PartitionSessionStatusResponseH\x00\x12?\n\x15update_token_response\x18\x07 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x12\x64\n\x1fstart_partition_session_request\x18\x08 \x01(\x0b\x32\x39.Ydb.Topic.StreamReadMessage.StartPartitionSessionRequestH\x00\x12\x62\n\x1estop_partition_session_request\x18\t \x01(\x0b\x32\x38.Ydb.Topic.StreamReadMessage.StopPartitionSessionRequestH\x00\x12W\n\x18update_partition_session\x18\n \x01(\x0b\x32\x33.Ydb.Topic.StreamReadMessage.UpdatePartitionSessionH\x00\x12Q\n\x15\x65nd_partition_session\x18\x0b \x01(\x0b\x32\x30.Ydb.Topic.StreamReadMessage.EndPartitionSessionH\x00\x42\x10\n\x0eserver_message\x1a\xdc\x02\n\x0bInitRequest\x12X\n\x14topics_read_settings\x18\x01 \x03(\x0b\x32:.Ydb.Topic.StreamReadMessage.InitRequest.TopicReadSettings\x12\x10\n\x08\x63onsumer\x18\x02 \x01(\t\x12\x13\n\x0breader_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64irect_read\x18\x04 \x01(\x08\x12!\n\x19\x61uto_partitioning_support\x18\x05 \x01(\x08\x1a\x93\x01\n\x11TopicReadSettings\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x15\n\rpartition_ids\x18\x02 \x03(\x03\x12*\n\x07max_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\tread_from\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\"\n\x0cInitResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\x1a!\n\x0bReadRequest\x12\x12\n\nbytes_size\x18\x01 \x01(\x03\x1a\x91\x06\n\x0cReadResponse\x12O\n\x0epartition_data\x18\x01 \x03(\x0b\x32\x37.Ydb.Topic.StreamReadMessage.ReadResponse.PartitionData\x12\x12\n\nbytes_size\x18\x02 \x01(\x03\x1a\xda\x01\n\x0bMessageData\x12\x0e\n\x06offset\x18\x01 \x01(\x03\x12\x0e\n\x06seq_no\x18\x02 \x01(\x03\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c\x12\x19\n\x11uncompressed_size\x18\x06 \x01(\x03\x12!\n\x10message_group_id\x18\x07 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12/\n\x0emetadata_items\x18\x08 \x03(\x0b\x32\x17.Ydb.Topic.MetadataItem\x1a\xcd\x02\n\x05\x42\x61tch\x12K\n\x0cmessage_data\x18\x01 \x03(\x0b\x32\x35.Ydb.Topic.StreamReadMessage.ReadResponse.MessageData\x12\x1c\n\x0bproducer_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12\x61\n\x12write_session_meta\x18\x03 \x03(\x0b\x32\x45.Ydb.Topic.StreamReadMessage.ReadResponse.Batch.WriteSessionMetaEntry\x12\r\n\x05\x63odec\x18\x04 \x01(\x05\x12.\n\nwritten_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x37\n\x15WriteSessionMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1ao\n\rPartitionData\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12@\n\x07\x62\x61tches\x18\x02 \x03(\x0b\x32/.Ydb.Topic.StreamReadMessage.ReadResponse.Batch\x1a\xd6\x01\n\x13\x43ommitOffsetRequest\x12^\n\x0e\x63ommit_offsets\x18\x01 \x03(\x0b\x32\x46.Ydb.Topic.StreamReadMessage.CommitOffsetRequest.PartitionCommitOffset\x1a_\n\x15PartitionCommitOffset\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12(\n\x07offsets\x18\x02 \x03(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x1a\xdc\x01\n\x14\x43ommitOffsetResponse\x12p\n\x1cpartitions_committed_offsets\x18\x01 \x03(\x0b\x32J.Ydb.Topic.StreamReadMessage.CommitOffsetResponse.PartitionCommittedOffset\x1aR\n\x18PartitionCommittedOffset\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x1a=\n\x1dPartitionSessionStatusRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x1a\xcb\x01\n\x1ePartitionSessionStatusResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x02 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x18\n\x10\x63ommitted_offset\x18\x03 \x01(\x03\x12=\n\x19write_time_high_watermark\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\xf0\x01\n\x1cStartPartitionSessionRequest\x12H\n\x11partition_session\x18\x01 \x01(\x0b\x32-.Ydb.Topic.StreamReadMessage.PartitionSession\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x03 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x38\n\x12partition_location\x18\x04 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\x95\x01\n\x1dStartPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x18\n\x0bread_offset\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x1a\n\rcommit_offset\x18\x03 \x01(\x03H\x01\x88\x01\x01\x42\x0e\n\x0c_read_offsetB\x10\n\x0e_commit_offset\x1a\x84\x01\n\x1bStopPartitionSessionRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x10\n\x08graceful\x18\x02 \x01(\x08\x12\x18\n\x10\x63ommitted_offset\x18\x03 \x01(\x03\x12\x1b\n\x13last_direct_read_id\x18\x04 \x01(\x03\x1aN\n\x1cStopPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x10\n\x08graceful\x18\x02 \x01(\x08\x1ap\n\x16UpdatePartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x38\n\x12partition_location\x18\x02 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\x45\n\rDirectReadAck\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x16\n\x0e\x64irect_read_id\x18\x02 \x01(\x03\x1ap\n\x13\x45ndPartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x1e\n\x16\x61\x64jacent_partition_ids\x18\x02 \x03(\x03\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\"\x8b\r\n\x17StreamDirectReadMessage\x1a\xa8\x02\n\nFromClient\x12\x46\n\x0cinit_request\x18\x01 \x01(\x0b\x32..Ydb.Topic.StreamDirectReadMessage.InitRequestH\x00\x12\x80\x01\n+start_direct_read_partition_session_request\x18\x02 \x01(\x0b\x32I.Ydb.Topic.StreamDirectReadMessage.StartDirectReadPartitionSessionRequestH\x00\x12=\n\x14update_token_request\x18\x03 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x42\x10\n\x0e\x63lient_message\x1a\xca\x04\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12H\n\rinit_response\x18\x06 \x01(\x0b\x32/.Ydb.Topic.StreamDirectReadMessage.InitResponseH\x00\x12\x82\x01\n,start_direct_read_partition_session_response\x18\x07 \x01(\x0b\x32J.Ydb.Topic.StreamDirectReadMessage.StartDirectReadPartitionSessionResponseH\x00\x12o\n\"stop_direct_read_partition_session\x18\x03 \x01(\x0b\x32\x41.Ydb.Topic.StreamDirectReadMessage.StopDirectReadPartitionSessionH\x00\x12U\n\x14\x64irect_read_response\x18\x04 \x01(\x0b\x32\x35.Ydb.Topic.StreamDirectReadMessage.DirectReadResponseH\x00\x12?\n\x15update_token_response\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x42\x10\n\x0eserver_message\x1a\xb6\x01\n\x0bInitRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12^\n\x14topics_read_settings\x18\x02 \x03(\x0b\x32@.Ydb.Topic.StreamDirectReadMessage.InitRequest.TopicReadSettings\x12\x10\n\x08\x63onsumer\x18\x03 \x01(\t\x1a!\n\x11TopicReadSettings\x12\x0c\n\x04path\x18\x01 \x01(\t\x1a\x0e\n\x0cInitResponse\x1aw\n&StartDirectReadPartitionSessionRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x1b\n\x13last_direct_read_id\x18\x02 \x01(\x03\x12\x12\n\ngeneration\x18\x03 \x01(\x03\x1a[\n\'StartDirectReadPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x12\n\ngeneration\x18\x02 \x01(\x03\x1a\xa6\x01\n\x1eStopDirectReadPartitionSession\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x1c\n\x14partition_session_id\x18\x03 \x01(\x03\x12\x12\n\ngeneration\x18\x04 \x01(\x03\x1a\xaf\x01\n\x12\x44irectReadResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x16\n\x0e\x64irect_read_id\x18\x02 \x01(\x03\x12O\n\x0epartition_data\x18\x03 \x01(\x0b\x32\x37.Ydb.Topic.StreamReadMessage.ReadResponse.PartitionData\x12\x12\n\nbytes_size\x18\x04 \x01(\x03\"2\n\x13TransactionIdentity\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07session\x18\x02 \x01(\t\"\xc4\x03\n!UpdateOffsetsInTransactionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12*\n\x02tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Topic.TransactionIdentity\x12I\n\x06topics\x18\x03 \x03(\x0b\x32\x39.Ydb.Topic.UpdateOffsetsInTransactionRequest.TopicOffsets\x12\x10\n\x08\x63onsumer\x18\x04 \x01(\t\x1a\xda\x01\n\x0cTopicOffsets\x12\x0c\n\x04path\x18\x01 \x01(\t\x12^\n\npartitions\x18\x02 \x03(\x0b\x32J.Ydb.Topic.UpdateOffsetsInTransactionRequest.TopicOffsets.PartitionOffsets\x1a\\\n\x10PartitionOffsets\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x02 \x03(\x0b\x32\x17.Ydb.Topic.OffsetsRange\"R\n\"UpdateOffsetsInTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\"\n UpdateOffsetsInTransactionResult\"\xaf\x01\n\x13\x43ommitOffsetRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x10\n\x08\x63onsumer\x18\x04 \x01(\t\x12\x0e\n\x06offset\x18\x05 \x01(\x03\x12\x17\n\x0fread_session_id\x18\x06 \x01(\t\"D\n\x14\x43ommitOffsetResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x14\n\x12\x43ommitOffsetResult\"L\n\x13MultipleWindowsStat\x12\x12\n\nper_minute\x18\x01 \x01(\x03\x12\x10\n\x08per_hour\x18\x02 \x01(\x03\x12\x0f\n\x07per_day\x18\x03 \x01(\x03\"\xc3\x05\n\x08\x43onsumer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\timportant\x18\x02 \x01(\x08\x12-\n\tread_from\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10supported_codecs\x18\x05 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x37\n\nattributes\x18\x06 \x03(\x0b\x32#.Ydb.Topic.Consumer.AttributesEntry\x12\x39\n\x0e\x63onsumer_stats\x18\x07 \x01(\x0b\x32!.Ydb.Topic.Consumer.ConsumerStats\x12;\n\x13\x61vailability_period\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xae\x02\n\rConsumerStats\x12\x41\n\x1dmin_partitions_last_read_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x11max_read_time_lag\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12max_write_time_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16max_committed_time_lag\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\nbytes_read\x18\x04 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStatB\x16\n\x14_availability_periodJ\x04\x08\x04\x10\x05\"\xd8\x03\n\rAlterConsumer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1a\n\rset_important\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x31\n\rset_read_from\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14set_supported_codecs\x18\x05 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12G\n\x10\x61lter_attributes\x18\x06 \x03(\x0b\x32-.Ydb.Topic.AlterConsumer.AlterAttributesEntry\x12<\n\x17set_availability_period\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12;\n\x19reset_availability_period\x18\x08 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x1c\n\x1a\x61vailability_period_actionB\x10\n\x0e_set_importantJ\x04\x08\x04\x10\x05\"\xdc\x01\n\x14PartitioningSettings\x12\'\n\x15min_active_partitions\x18\x01 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\'\n\x15max_active_partitions\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12)\n\x15partition_count_limit\x18\x02 \x01(\x03\x42\n\x18\x01\xb2\xe6*\x04>= 0\x12G\n\x1a\x61uto_partitioning_settings\x18\x04 \x01(\x0b\x32#.Ydb.Topic.AutoPartitioningSettings\"\x9f\x01\n\x18\x41utoPartitioningSettings\x12\x35\n\x08strategy\x18\x01 \x01(\x0e\x32#.Ydb.Topic.AutoPartitioningStrategy\x12L\n\x15partition_write_speed\x18\x02 \x01(\x0b\x32-.Ydb.Topic.AutoPartitioningWriteSpeedStrategy\"\xb3\x01\n\"AutoPartitioningWriteSpeedStrategy\x12\x37\n\x14stabilization_window\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n\x16up_utilization_percent\x18\x02 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0\x12*\n\x18\x64own_utilization_percent\x18\x03 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0\"\x8b\x03\n\x19\x41lterPartitioningSettings\x12\x30\n\x19set_min_active_partitions\x18\x01 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x00\x88\x01\x01\x12\x30\n\x19set_max_active_partitions\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x32\n\x19set_partition_count_limit\x18\x02 \x01(\x03\x42\n\x18\x01\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x12W\n alter_auto_partitioning_settings\x18\x04 \x01(\x0b\x32(.Ydb.Topic.AlterAutoPartitioningSettingsH\x03\x88\x01\x01\x42\x1c\n\x1a_set_min_active_partitionsB\x1c\n\x1a_set_max_active_partitionsB\x1c\n\x1a_set_partition_count_limitB#\n!_alter_auto_partitioning_settings\"\xea\x01\n\x1d\x41lterAutoPartitioningSettings\x12>\n\x0cset_strategy\x18\x01 \x01(\x0e\x32#.Ydb.Topic.AutoPartitioningStrategyH\x00\x88\x01\x01\x12Z\n\x19set_partition_write_speed\x18\x02 \x01(\x0b\x32\x32.Ydb.Topic.AlterAutoPartitioningWriteSpeedStrategyH\x01\x88\x01\x01\x42\x0f\n\r_set_strategyB\x1c\n\x1a_set_partition_write_speed\"\xb0\x02\n\'AlterAutoPartitioningWriteSpeedStrategy\x12@\n\x18set_stabilization_window\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x12\x31\n\x1aset_up_utilization_percent\x18\x02 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x33\n\x1cset_down_utilization_percent\x18\x03 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x42\x1b\n\x19_set_stabilization_windowB\x1d\n\x1b_set_up_utilization_percentB\x1f\n\x1d_set_down_utilization_percent\"\xf6\x04\n\x12\x43reateTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12>\n\x15partitioning_settings\x18\x03 \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12&\n\x14retention_storage_mb\x18\x05 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\x34\n\x10supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x38\n&partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12-\n\x1bpartition_write_burst_bytes\x18\t \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\x41\n\nattributes\x18\n \x03(\x0b\x32-.Ydb.Topic.CreateTopicRequest.AttributesEntry\x12/\n\tconsumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.ConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12.\n\rmetering_mode\x18\x0c \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x06\x10\x07\"C\n\x13\x43reateTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x13\n\x11\x43reateTopicResult\"8\n\x11PartitionLocation\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x12\n\ngeneration\x18\x02 \x01(\x03\"\x90\x01\n\x14\x44\x65scribeTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x15\n\rinclude_stats\x18\x03 \x01(\x08\x12\x18\n\x10include_location\x18\x04 \x01(\x08\"E\n\x15\x44\x65scribeTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"_\n\x11PartitionKeyRange\x12\x17\n\nfrom_bound\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x15\n\x08to_bound\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x42\r\n\x0b_from_boundB\x0b\n\t_to_bound\"\xfa\t\n\x13\x44\x65scribeTopicResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12>\n\x15partitioning_settings\x18\x02 \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12@\n\npartitions\x18\x03 \x03(\x0b\x32,.Ydb.Topic.DescribeTopicResult.PartitionInfo\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14retention_storage_mb\x18\x05 \x01(\x03\x12\x34\n\x10supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12.\n&partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x12\x33\n+partition_total_read_speed_bytes_per_second\x18\x0e \x01(\x03\x12\x36\n.partition_consumer_read_speed_bytes_per_second\x18\x0f \x01(\x03\x12#\n\x1bpartition_write_burst_bytes\x18\t \x01(\x03\x12\x42\n\nattributes\x18\n \x03(\x0b\x32..Ydb.Topic.DescribeTopicResult.AttributesEntry\x12&\n\tconsumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.Consumer\x12.\n\rmetering_mode\x18\x0c \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x12>\n\x0btopic_stats\x18\r \x01(\x0b\x32).Ydb.Topic.DescribeTopicResult.TopicStats\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x8f\x02\n\rPartitionInfo\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x61\x63tive\x18\x02 \x01(\x08\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\x12\x1c\n\x14parent_partition_ids\x18\x04 \x03(\x03\x12\x32\n\x0fpartition_stats\x18\x05 \x01(\x0b\x32\x19.Ydb.Topic.PartitionStats\x12\x38\n\x12partition_location\x18\x06 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x12/\n\tkey_range\x18\x07 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionKeyRange\x1a\xcd\x01\n\nTopicStats\x12\x18\n\x10store_size_bytes\x18\x01 \x01(\x03\x12\x37\n\x13min_last_write_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12max_write_time_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\rbytes_written\x18\x04 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStatJ\x04\x08\x06\x10\x07\"\xaa\x01\n\x18\x44\x65scribePartitionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x15\n\rinclude_stats\x18\x04 \x01(\x08\x12\x18\n\x10include_location\x18\x05 \x01(\x08\"I\n\x19\x44\x65scribePartitionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"Z\n\x17\x44\x65scribePartitionResult\x12?\n\tpartition\x18\x01 \x01(\x0b\x32,.Ydb.Topic.DescribeTopicResult.PartitionInfo\"\xa5\x01\n\x17\x44\x65scribeConsumerRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x10\n\x08\x63onsumer\x18\x03 \x01(\t\x12\x15\n\rinclude_stats\x18\x04 \x01(\x08\x12\x18\n\x10include_location\x18\x05 \x01(\x08\"H\n\x18\x44\x65scribeConsumerResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xd3\x07\n\x16\x44\x65scribeConsumerResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12%\n\x08\x63onsumer\x18\x02 \x01(\x0b\x32\x13.Ydb.Topic.Consumer\x12\x43\n\npartitions\x18\x03 \x03(\x0b\x32/.Ydb.Topic.DescribeConsumerResult.PartitionInfo\x1a\xba\x02\n\rPartitionInfo\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x61\x63tive\x18\x02 \x01(\x08\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\x12\x1c\n\x14parent_partition_ids\x18\x04 \x03(\x03\x12\x32\n\x0fpartition_stats\x18\x05 \x01(\x0b\x32\x19.Ydb.Topic.PartitionStats\x12Z\n\x18partition_consumer_stats\x18\x06 \x01(\x0b\x32\x38.Ydb.Topic.DescribeConsumerResult.PartitionConsumerStats\x12\x38\n\x12partition_location\x18\x07 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\xee\x03\n\x16PartitionConsumerStats\x12\x18\n\x10last_read_offset\x18\x01 \x01(\x03\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x12\x17\n\x0fread_session_id\x18\x03 \x01(\t\x12\x46\n\"partition_read_session_create_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0elast_read_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x11max_read_time_lag\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12max_write_time_lag\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16max_committed_time_lag\x18\r \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\nbytes_read\x18\x08 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStat\x12\x13\n\x0breader_name\x18\x0b \x01(\t\x12\x1a\n\x12\x63onnection_node_id\x18\x0c \x01(\x05\"\xa0\x02\n\x0ePartitionStats\x12\x32\n\x11partition_offsets\x18\x01 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x18\n\x10store_size_bytes\x18\x02 \x01(\x03\x12\x33\n\x0flast_write_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12max_write_time_lag\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\rbytes_written\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStat\x12\x1d\n\x11partition_node_id\x18\x08 \x01(\x05\x42\x02\x18\x01\"\x87\x07\n\x11\x41lterTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12I\n\x1b\x61lter_partitioning_settings\x18\x03 \x01(\x0b\x32$.Ydb.Topic.AlterPartitioningSettings\x12\x37\n\x14set_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x18set_retention_storage_mb\x18\x05 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x00\x88\x01\x01\x12\x38\n\x14set_supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x41\n*set_partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x36\n\x1fset_partition_write_burst_bytes\x18\t \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x12K\n\x10\x61lter_attributes\x18\n \x03(\x0b\x32\x31.Ydb.Topic.AlterTopicRequest.AlterAttributesEntry\x12\x33\n\radd_consumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.ConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12\x1f\n\x0e\x64rop_consumers\x18\x0c \x03(\tB\x07\x9a\xe6*\x03\x18\xb8\x17\x12:\n\x0f\x61lter_consumers\x18\r \x03(\x0b\x32\x18.Ydb.Topic.AlterConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12\x32\n\x11set_metering_mode\x18\x0e \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x1b\n\x19_set_retention_storage_mbB-\n+_set_partition_write_speed_bytes_per_secondB\"\n _set_partition_write_burst_bytesJ\x04\x08\x06\x10\x07\"B\n\x12\x41lterTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x12\n\x10\x41lterTopicResult\"[\n\x10\x44ropTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"A\n\x11\x44ropTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x11\n\x0f\x44ropTopicResult*\x83\x01\n\x05\x43odec\x12\x15\n\x11\x43ODEC_UNSPECIFIED\x10\x00\x12\r\n\tCODEC_RAW\x10\x01\x12\x0e\n\nCODEC_GZIP\x10\x02\x12\x0e\n\nCODEC_LZOP\x10\x03\x12\x0e\n\nCODEC_ZSTD\x10\x04\x12\x11\n\x0c\x43ODEC_CUSTOM\x10\x90N\"\x05\x08\x05\x10\x8fN\"\n\x08\xa0\x9c\x01\x10\xff\xff\xff\xff\x07*\xf1\x01\n\x18\x41utoPartitioningStrategy\x12*\n&AUTO_PARTITIONING_STRATEGY_UNSPECIFIED\x10\x00\x12\'\n#AUTO_PARTITIONING_STRATEGY_DISABLED\x10\x01\x12\'\n#AUTO_PARTITIONING_STRATEGY_SCALE_UP\x10\x02\x12\x30\n,AUTO_PARTITIONING_STRATEGY_SCALE_UP_AND_DOWN\x10\x03\x12%\n!AUTO_PARTITIONING_STRATEGY_PAUSED\x10\x04*s\n\x0cMeteringMode\x12\x1d\n\x19METERING_MODE_UNSPECIFIED\x10\x00\x12#\n\x1fMETERING_MODE_RESERVED_CAPACITY\x10\x01\x12\x1f\n\x1bMETERING_MODE_REQUEST_UNITS\x10\x02\x42S\n\x14tech.ydb.proto.topicZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Topic\xf8\x01\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16protos/ydb_topic.proto\x12\tYdb.Topic\x1a\x1aprotos/ydb_operation.proto\x1a\x17protos/ydb_scheme.proto\x1a\x1dprotos/ydb_status_codes.proto\x1a\x1eprotos/ydb_issue_message.proto\x1a\"protos/annotations/sensitive.proto\x1a#protos/annotations/validation.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"7\n\x0fSupportedCodecs\x12$\n\x06\x63odecs\x18\x01 \x03(\x05\x42\x14\x9a\xe6*\x02\x18\x64\xb2\xe6*\n[1; 19999]\"*\n\x0cOffsetsRange\x12\r\n\x05start\x18\x01 \x01(\x03\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x03\")\n\x12UpdateTokenRequest\x12\x13\n\x05token\x18\x01 \x01(\tB\x04\xb8\xe6*\x01\"\x15\n\x13UpdateTokenResponse\"C\n\x17PartitionWithGeneration\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x12\n\ngeneration\x18\x02 \x01(\x03\"*\n\x0cMetadataItem\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\"\x9e\x14\n\x12StreamWriteMessage\x1a\xe5\x01\n\nFromClient\x12\x41\n\x0cinit_request\x18\x01 \x01(\x0b\x32).Ydb.Topic.StreamWriteMessage.InitRequestH\x00\x12\x43\n\rwrite_request\x18\x02 \x01(\x0b\x32*.Ydb.Topic.StreamWriteMessage.WriteRequestH\x00\x12=\n\x14update_token_request\x18\x03 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x42\x10\n\x0e\x63lient_message\x1a\xbf\x02\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x43\n\rinit_response\x18\x03 \x01(\x0b\x32*.Ydb.Topic.StreamWriteMessage.InitResponseH\x00\x12\x45\n\x0ewrite_response\x18\x04 \x01(\x0b\x32+.Ydb.Topic.StreamWriteMessage.WriteResponseH\x00\x12?\n\x15update_token_response\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x42\x10\n\x0eserver_message\x1a\xfe\x02\n\x0bInitRequest\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x1c\n\x0bproducer_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12[\n\x12write_session_meta\x18\x03 \x03(\x0b\x32?.Ydb.Topic.StreamWriteMessage.InitRequest.WriteSessionMetaEntry\x12#\n\x10message_group_id\x18\x04 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10H\x00\x12\x16\n\x0cpartition_id\x18\x05 \x01(\x03H\x00\x12G\n\x19partition_with_generation\x18\x07 \x01(\x0b\x32\".Ydb.Topic.PartitionWithGenerationH\x00\x12\x17\n\x0fget_last_seq_no\x18\x06 \x01(\x08\x1a\x37\n\x15WriteSessionMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0cpartitioning\x1a\x83\x01\n\x0cInitResponse\x12\x13\n\x0blast_seq_no\x18\x01 \x01(\x03\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x34\n\x10supported_codecs\x18\x04 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x1a\xe8\x03\n\x0cWriteRequest\x12H\n\x08messages\x18\x01 \x03(\x0b\x32\x36.Ydb.Topic.StreamWriteMessage.WriteRequest.MessageData\x12\r\n\x05\x63odec\x18\x02 \x01(\x05\x12/\n\x02tx\x18\x03 \x01(\x0b\x32\x1e.Ydb.Topic.TransactionIdentityH\x00\x88\x01\x01\x1a\xc6\x02\n\x0bMessageData\x12\x0e\n\x06seq_no\x18\x01 \x01(\x03\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x19\n\x11uncompressed_size\x18\x04 \x01(\x03\x12#\n\x10message_group_id\x18\x05 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10H\x00\x12\x16\n\x0cpartition_id\x18\x06 \x01(\x03H\x00\x12G\n\x19partition_with_generation\x18\x08 \x01(\x0b\x32\".Ydb.Topic.PartitionWithGenerationH\x00\x12\x38\n\x0emetadata_items\x18\x07 \x03(\x0b\x32\x17.Ydb.Topic.MetadataItemB\x07\x9a\xe6*\x03\x18\xe8\x07\x42\x0e\n\x0cpartitioningB\x05\n\x03_tx\x1a\xeb\x07\n\rWriteResponse\x12\x42\n\x04\x61\x63ks\x18\x01 \x03(\x0b\x32\x34.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck\x12\x14\n\x0cpartition_id\x18\x02 \x01(\x03\x12U\n\x10write_statistics\x18\x03 \x01(\x0b\x32;.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteStatistics\x1a\xf8\x03\n\x08WriteAck\x12\x0e\n\x06seq_no\x18\x01 \x01(\x03\x12O\n\x07written\x18\x02 \x01(\x0b\x32<.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.WrittenH\x00\x12O\n\x07skipped\x18\x03 \x01(\x0b\x32<.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.SkippedH\x00\x12Y\n\rwritten_in_tx\x18\x04 \x01(\x0b\x32@.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.WrittenInTxH\x00\x1a\x19\n\x07Written\x12\x0e\n\x06offset\x18\x01 \x01(\x03\x1a\x9c\x01\n\x07Skipped\x12S\n\x06reason\x18\x01 \x01(\x0e\x32\x43.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.Skipped.Reason\"<\n\x06Reason\x12\x16\n\x12REASON_UNSPECIFIED\x10\x00\x12\x1a\n\x16REASON_ALREADY_WRITTEN\x10\x01\x1a\r\n\x0bWrittenInTxB\x16\n\x14message_write_status\x1a\xad\x02\n\x0fWriteStatistics\x12\x32\n\x0fpersisting_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13min_queue_wait_time\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13max_queue_wait_time\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19partition_quota_wait_time\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15topic_quota_wait_time\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xd8#\n\x11StreamReadMessage\x1aT\n\x10PartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x1a\xb1\x05\n\nFromClient\x12@\n\x0cinit_request\x18\x01 \x01(\x0b\x32(.Ydb.Topic.StreamReadMessage.InitRequestH\x00\x12@\n\x0cread_request\x18\x02 \x01(\x0b\x32(.Ydb.Topic.StreamReadMessage.ReadRequestH\x00\x12Q\n\x15\x63ommit_offset_request\x18\x03 \x01(\x0b\x32\x30.Ydb.Topic.StreamReadMessage.CommitOffsetRequestH\x00\x12\x66\n partition_session_status_request\x18\x04 \x01(\x0b\x32:.Ydb.Topic.StreamReadMessage.PartitionSessionStatusRequestH\x00\x12=\n\x14update_token_request\x18\x05 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x12\x45\n\x0f\x64irect_read_ack\x18\x08 \x01(\x0b\x32*.Ydb.Topic.StreamReadMessage.DirectReadAckH\x00\x12\x66\n start_partition_session_response\x18\x06 \x01(\x0b\x32:.Ydb.Topic.StreamReadMessage.StartPartitionSessionResponseH\x00\x12\x64\n\x1fstop_partition_session_response\x18\x07 \x01(\x0b\x32\x39.Ydb.Topic.StreamReadMessage.StopPartitionSessionResponseH\x00\x42\x10\n\x0e\x63lient_message\x1a\xf0\x06\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x42\n\rinit_response\x18\x03 \x01(\x0b\x32).Ydb.Topic.StreamReadMessage.InitResponseH\x00\x12\x42\n\rread_response\x18\x04 \x01(\x0b\x32).Ydb.Topic.StreamReadMessage.ReadResponseH\x00\x12S\n\x16\x63ommit_offset_response\x18\x05 \x01(\x0b\x32\x31.Ydb.Topic.StreamReadMessage.CommitOffsetResponseH\x00\x12h\n!partition_session_status_response\x18\x06 \x01(\x0b\x32;.Ydb.Topic.StreamReadMessage.PartitionSessionStatusResponseH\x00\x12?\n\x15update_token_response\x18\x07 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x12\x64\n\x1fstart_partition_session_request\x18\x08 \x01(\x0b\x32\x39.Ydb.Topic.StreamReadMessage.StartPartitionSessionRequestH\x00\x12\x62\n\x1estop_partition_session_request\x18\t \x01(\x0b\x32\x38.Ydb.Topic.StreamReadMessage.StopPartitionSessionRequestH\x00\x12W\n\x18update_partition_session\x18\n \x01(\x0b\x32\x33.Ydb.Topic.StreamReadMessage.UpdatePartitionSessionH\x00\x12Q\n\x15\x65nd_partition_session\x18\x0b \x01(\x0b\x32\x30.Ydb.Topic.StreamReadMessage.EndPartitionSessionH\x00\x42\x10\n\x0eserver_message\x1a\x83\x03\n\x0bInitRequest\x12X\n\x14topics_read_settings\x18\x01 \x03(\x0b\x32:.Ydb.Topic.StreamReadMessage.InitRequest.TopicReadSettings\x12\x10\n\x08\x63onsumer\x18\x02 \x01(\t\x12\x13\n\x0breader_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64irect_read\x18\x04 \x01(\x08\x12!\n\x19\x61uto_partitioning_support\x18\x05 \x01(\x08\x12%\n\x1dpartition_max_in_flight_bytes\x18\x06 \x01(\x04\x1a\x93\x01\n\x11TopicReadSettings\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x15\n\rpartition_ids\x18\x02 \x03(\x03\x12*\n\x07max_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\tread_from\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\"\n\x0cInitResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\x1a!\n\x0bReadRequest\x12\x12\n\nbytes_size\x18\x01 \x01(\x03\x1a\x91\x06\n\x0cReadResponse\x12O\n\x0epartition_data\x18\x01 \x03(\x0b\x32\x37.Ydb.Topic.StreamReadMessage.ReadResponse.PartitionData\x12\x12\n\nbytes_size\x18\x02 \x01(\x03\x1a\xda\x01\n\x0bMessageData\x12\x0e\n\x06offset\x18\x01 \x01(\x03\x12\x0e\n\x06seq_no\x18\x02 \x01(\x03\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c\x12\x19\n\x11uncompressed_size\x18\x06 \x01(\x03\x12!\n\x10message_group_id\x18\x07 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12/\n\x0emetadata_items\x18\x08 \x03(\x0b\x32\x17.Ydb.Topic.MetadataItem\x1a\xcd\x02\n\x05\x42\x61tch\x12K\n\x0cmessage_data\x18\x01 \x03(\x0b\x32\x35.Ydb.Topic.StreamReadMessage.ReadResponse.MessageData\x12\x1c\n\x0bproducer_id\x18\x02 \x01(\tB\x07\xa2\xe6*\x03\x18\x80\x10\x12\x61\n\x12write_session_meta\x18\x03 \x03(\x0b\x32\x45.Ydb.Topic.StreamReadMessage.ReadResponse.Batch.WriteSessionMetaEntry\x12\r\n\x05\x63odec\x18\x04 \x01(\x05\x12.\n\nwritten_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x37\n\x15WriteSessionMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1ao\n\rPartitionData\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12@\n\x07\x62\x61tches\x18\x02 \x03(\x0b\x32/.Ydb.Topic.StreamReadMessage.ReadResponse.Batch\x1a\xd6\x01\n\x13\x43ommitOffsetRequest\x12^\n\x0e\x63ommit_offsets\x18\x01 \x03(\x0b\x32\x46.Ydb.Topic.StreamReadMessage.CommitOffsetRequest.PartitionCommitOffset\x1a_\n\x15PartitionCommitOffset\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12(\n\x07offsets\x18\x02 \x03(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x1a\xdc\x01\n\x14\x43ommitOffsetResponse\x12p\n\x1cpartitions_committed_offsets\x18\x01 \x03(\x0b\x32J.Ydb.Topic.StreamReadMessage.CommitOffsetResponse.PartitionCommittedOffset\x1aR\n\x18PartitionCommittedOffset\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x1a=\n\x1dPartitionSessionStatusRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x1a\xe0\x01\n\x1ePartitionSessionStatusResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x02 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x18\n\x10\x63ommitted_offset\x18\x03 \x01(\x03\x12=\n\x19write_time_high_watermark\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bread_offset\x18\x05 \x01(\x03\x1a\xf0\x01\n\x1cStartPartitionSessionRequest\x12H\n\x11partition_session\x18\x01 \x01(\x0b\x32-.Ydb.Topic.StreamReadMessage.PartitionSession\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x03 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x38\n\x12partition_location\x18\x04 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\x95\x01\n\x1dStartPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x18\n\x0bread_offset\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x1a\n\rcommit_offset\x18\x03 \x01(\x03H\x01\x88\x01\x01\x42\x0e\n\x0c_read_offsetB\x10\n\x0e_commit_offset\x1a\x84\x01\n\x1bStopPartitionSessionRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x10\n\x08graceful\x18\x02 \x01(\x08\x12\x18\n\x10\x63ommitted_offset\x18\x03 \x01(\x03\x12\x1b\n\x13last_direct_read_id\x18\x04 \x01(\x03\x1aN\n\x1cStopPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x10\n\x08graceful\x18\x02 \x01(\x08\x1ap\n\x16UpdatePartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x38\n\x12partition_location\x18\x02 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\x45\n\rDirectReadAck\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x16\n\x0e\x64irect_read_id\x18\x02 \x01(\x03\x1ap\n\x13\x45ndPartitionSession\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x1e\n\x16\x61\x64jacent_partition_ids\x18\x02 \x03(\x03\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\"\x8b\r\n\x17StreamDirectReadMessage\x1a\xa8\x02\n\nFromClient\x12\x46\n\x0cinit_request\x18\x01 \x01(\x0b\x32..Ydb.Topic.StreamDirectReadMessage.InitRequestH\x00\x12\x80\x01\n+start_direct_read_partition_session_request\x18\x02 \x01(\x0b\x32I.Ydb.Topic.StreamDirectReadMessage.StartDirectReadPartitionSessionRequestH\x00\x12=\n\x14update_token_request\x18\x03 \x01(\x0b\x32\x1d.Ydb.Topic.UpdateTokenRequestH\x00\x42\x10\n\x0e\x63lient_message\x1a\xca\x04\n\nFromServer\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12H\n\rinit_response\x18\x06 \x01(\x0b\x32/.Ydb.Topic.StreamDirectReadMessage.InitResponseH\x00\x12\x82\x01\n,start_direct_read_partition_session_response\x18\x07 \x01(\x0b\x32J.Ydb.Topic.StreamDirectReadMessage.StartDirectReadPartitionSessionResponseH\x00\x12o\n\"stop_direct_read_partition_session\x18\x03 \x01(\x0b\x32\x41.Ydb.Topic.StreamDirectReadMessage.StopDirectReadPartitionSessionH\x00\x12U\n\x14\x64irect_read_response\x18\x04 \x01(\x0b\x32\x35.Ydb.Topic.StreamDirectReadMessage.DirectReadResponseH\x00\x12?\n\x15update_token_response\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.UpdateTokenResponseH\x00\x42\x10\n\x0eserver_message\x1a\xb6\x01\n\x0bInitRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12^\n\x14topics_read_settings\x18\x02 \x03(\x0b\x32@.Ydb.Topic.StreamDirectReadMessage.InitRequest.TopicReadSettings\x12\x10\n\x08\x63onsumer\x18\x03 \x01(\t\x1a!\n\x11TopicReadSettings\x12\x0c\n\x04path\x18\x01 \x01(\t\x1a\x0e\n\x0cInitResponse\x1aw\n&StartDirectReadPartitionSessionRequest\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x1b\n\x13last_direct_read_id\x18\x02 \x01(\x03\x12\x12\n\ngeneration\x18\x03 \x01(\x03\x1a[\n\'StartDirectReadPartitionSessionResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x12\n\ngeneration\x18\x02 \x01(\x03\x1a\xa6\x01\n\x1eStopDirectReadPartitionSession\x12)\n\x06status\x18\x01 \x01(\x0e\x32\x19.Ydb.StatusIds.StatusCode\x12\'\n\x06issues\x18\x02 \x03(\x0b\x32\x17.Ydb.Issue.IssueMessage\x12\x1c\n\x14partition_session_id\x18\x03 \x01(\x03\x12\x12\n\ngeneration\x18\x04 \x01(\x03\x1a\xaf\x01\n\x12\x44irectReadResponse\x12\x1c\n\x14partition_session_id\x18\x01 \x01(\x03\x12\x16\n\x0e\x64irect_read_id\x18\x02 \x01(\x03\x12O\n\x0epartition_data\x18\x03 \x01(\x0b\x32\x37.Ydb.Topic.StreamReadMessage.ReadResponse.PartitionData\x12\x12\n\nbytes_size\x18\x04 \x01(\x03\"2\n\x13TransactionIdentity\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07session\x18\x02 \x01(\t\"\xc4\x03\n!UpdateOffsetsInTransactionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12*\n\x02tx\x18\x02 \x01(\x0b\x32\x1e.Ydb.Topic.TransactionIdentity\x12I\n\x06topics\x18\x03 \x03(\x0b\x32\x39.Ydb.Topic.UpdateOffsetsInTransactionRequest.TopicOffsets\x12\x10\n\x08\x63onsumer\x18\x04 \x01(\t\x1a\xda\x01\n\x0cTopicOffsets\x12\x0c\n\x04path\x18\x01 \x01(\t\x12^\n\npartitions\x18\x02 \x03(\x0b\x32J.Ydb.Topic.UpdateOffsetsInTransactionRequest.TopicOffsets.PartitionOffsets\x1a\\\n\x10PartitionOffsets\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x32\n\x11partition_offsets\x18\x02 \x03(\x0b\x32\x17.Ydb.Topic.OffsetsRange\"R\n\"UpdateOffsetsInTransactionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\"\n UpdateOffsetsInTransactionResult\"\xaf\x01\n\x13\x43ommitOffsetRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x10\n\x08\x63onsumer\x18\x04 \x01(\t\x12\x0e\n\x06offset\x18\x05 \x01(\x03\x12\x17\n\x0fread_session_id\x18\x06 \x01(\t\"D\n\x14\x43ommitOffsetResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x14\n\x12\x43ommitOffsetResult\"L\n\x13MultipleWindowsStat\x12\x12\n\nper_minute\x18\x01 \x01(\x03\x12\x10\n\x08per_hour\x18\x02 \x01(\x03\x12\x0f\n\x07per_day\x18\x03 \x01(\x03\"\xc3\x05\n\x08\x43onsumer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\timportant\x18\x02 \x01(\x08\x12-\n\tread_from\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10supported_codecs\x18\x05 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x37\n\nattributes\x18\x06 \x03(\x0b\x32#.Ydb.Topic.Consumer.AttributesEntry\x12\x39\n\x0e\x63onsumer_stats\x18\x07 \x01(\x0b\x32!.Ydb.Topic.Consumer.ConsumerStats\x12;\n\x13\x61vailability_period\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xae\x02\n\rConsumerStats\x12\x41\n\x1dmin_partitions_last_read_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x11max_read_time_lag\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12max_write_time_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16max_committed_time_lag\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\nbytes_read\x18\x04 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStatB\x16\n\x14_availability_periodJ\x04\x08\x04\x10\x05\"\xd8\x03\n\rAlterConsumer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1a\n\rset_important\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x31\n\rset_read_from\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14set_supported_codecs\x18\x05 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12G\n\x10\x61lter_attributes\x18\x06 \x03(\x0b\x32-.Ydb.Topic.AlterConsumer.AlterAttributesEntry\x12<\n\x17set_availability_period\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12;\n\x19reset_availability_period\x18\x08 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x1c\n\x1a\x61vailability_period_actionB\x10\n\x0e_set_importantJ\x04\x08\x04\x10\x05\"\xdc\x01\n\x14PartitioningSettings\x12\'\n\x15min_active_partitions\x18\x01 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\'\n\x15max_active_partitions\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12)\n\x15partition_count_limit\x18\x02 \x01(\x03\x42\n\x18\x01\xb2\xe6*\x04>= 0\x12G\n\x1a\x61uto_partitioning_settings\x18\x04 \x01(\x0b\x32#.Ydb.Topic.AutoPartitioningSettings\"\x9f\x01\n\x18\x41utoPartitioningSettings\x12\x35\n\x08strategy\x18\x01 \x01(\x0e\x32#.Ydb.Topic.AutoPartitioningStrategy\x12L\n\x15partition_write_speed\x18\x02 \x01(\x0b\x32-.Ydb.Topic.AutoPartitioningWriteSpeedStrategy\"\xb3\x01\n\"AutoPartitioningWriteSpeedStrategy\x12\x37\n\x14stabilization_window\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n\x16up_utilization_percent\x18\x02 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0\x12*\n\x18\x64own_utilization_percent\x18\x03 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0\"\x8b\x03\n\x19\x41lterPartitioningSettings\x12\x30\n\x19set_min_active_partitions\x18\x01 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x00\x88\x01\x01\x12\x30\n\x19set_max_active_partitions\x18\x03 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x32\n\x19set_partition_count_limit\x18\x02 \x01(\x03\x42\n\x18\x01\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x12W\n alter_auto_partitioning_settings\x18\x04 \x01(\x0b\x32(.Ydb.Topic.AlterAutoPartitioningSettingsH\x03\x88\x01\x01\x42\x1c\n\x1a_set_min_active_partitionsB\x1c\n\x1a_set_max_active_partitionsB\x1c\n\x1a_set_partition_count_limitB#\n!_alter_auto_partitioning_settings\"\xea\x01\n\x1d\x41lterAutoPartitioningSettings\x12>\n\x0cset_strategy\x18\x01 \x01(\x0e\x32#.Ydb.Topic.AutoPartitioningStrategyH\x00\x88\x01\x01\x12Z\n\x19set_partition_write_speed\x18\x02 \x01(\x0b\x32\x32.Ydb.Topic.AlterAutoPartitioningWriteSpeedStrategyH\x01\x88\x01\x01\x42\x0f\n\r_set_strategyB\x1c\n\x1a_set_partition_write_speed\"\xb0\x02\n\'AlterAutoPartitioningWriteSpeedStrategy\x12@\n\x18set_stabilization_window\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x12\x31\n\x1aset_up_utilization_percent\x18\x02 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x33\n\x1cset_down_utilization_percent\x18\x03 \x01(\x05\x42\x08\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x42\x1b\n\x19_set_stabilization_windowB\x1d\n\x1b_set_up_utilization_percentB\x1f\n\x1d_set_down_utilization_percent\"\xc9\x05\n\x12\x43reateTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12>\n\x15partitioning_settings\x18\x03 \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12&\n\x14retention_storage_mb\x18\x05 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\x34\n\x10supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x38\n&partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12-\n\x1bpartition_write_burst_bytes\x18\t \x01(\x03\x42\x08\xb2\xe6*\x04>= 0\x12\x41\n\nattributes\x18\n \x03(\x0b\x32-.Ydb.Topic.CreateTopicRequest.AttributesEntry\x12/\n\tconsumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.ConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12.\n\rmetering_mode\x18\x0c \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x12\x1a\n\rmetrics_level\x18\r \x01(\rH\x00\x88\x01\x01\x12#\n\x1b\x63ontent_based_deduplication\x18\x0e \x01(\x08\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x10\n\x0e_metrics_levelJ\x04\x08\x06\x10\x07\"C\n\x13\x43reateTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x13\n\x11\x43reateTopicResult\"8\n\x11PartitionLocation\x12\x0f\n\x07node_id\x18\x01 \x01(\x05\x12\x12\n\ngeneration\x18\x02 \x01(\x03\"\x90\x01\n\x14\x44\x65scribeTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x15\n\rinclude_stats\x18\x03 \x01(\x08\x12\x18\n\x10include_location\x18\x04 \x01(\x08\"E\n\x15\x44\x65scribeTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"_\n\x11PartitionKeyRange\x12\x17\n\nfrom_bound\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x15\n\x08to_bound\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x42\r\n\x0b_from_boundB\x0b\n\t_to_bound\"\xcd\n\n\x13\x44\x65scribeTopicResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12>\n\x15partitioning_settings\x18\x02 \x01(\x0b\x32\x1f.Ydb.Topic.PartitioningSettings\x12@\n\npartitions\x18\x03 \x03(\x0b\x32,.Ydb.Topic.DescribeTopicResult.PartitionInfo\x12\x33\n\x10retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14retention_storage_mb\x18\x05 \x01(\x03\x12\x34\n\x10supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12.\n&partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x12\x33\n+partition_total_read_speed_bytes_per_second\x18\x0e \x01(\x03\x12\x36\n.partition_consumer_read_speed_bytes_per_second\x18\x0f \x01(\x03\x12#\n\x1bpartition_write_burst_bytes\x18\t \x01(\x03\x12\x42\n\nattributes\x18\n \x03(\x0b\x32..Ydb.Topic.DescribeTopicResult.AttributesEntry\x12&\n\tconsumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.Consumer\x12.\n\rmetering_mode\x18\x0c \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x12>\n\x0btopic_stats\x18\r \x01(\x0b\x32).Ydb.Topic.DescribeTopicResult.TopicStats\x12\x1a\n\rmetrics_level\x18\x10 \x01(\rH\x00\x88\x01\x01\x12#\n\x1b\x63ontent_based_deduplication\x18\x11 \x01(\x08\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x8f\x02\n\rPartitionInfo\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x61\x63tive\x18\x02 \x01(\x08\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\x12\x1c\n\x14parent_partition_ids\x18\x04 \x03(\x03\x12\x32\n\x0fpartition_stats\x18\x05 \x01(\x0b\x32\x19.Ydb.Topic.PartitionStats\x12\x38\n\x12partition_location\x18\x06 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x12/\n\tkey_range\x18\x07 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionKeyRange\x1a\xcd\x01\n\nTopicStats\x12\x18\n\x10store_size_bytes\x18\x01 \x01(\x03\x12\x37\n\x13min_last_write_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12max_write_time_lag\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\rbytes_written\x18\x04 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStatB\x10\n\x0e_metrics_levelJ\x04\x08\x06\x10\x07\"\xaa\x01\n\x18\x44\x65scribePartitionRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x03\x12\x15\n\rinclude_stats\x18\x04 \x01(\x08\x12\x18\n\x10include_location\x18\x05 \x01(\x08\"I\n\x19\x44\x65scribePartitionResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"Z\n\x17\x44\x65scribePartitionResult\x12?\n\tpartition\x18\x01 \x01(\x0b\x32,.Ydb.Topic.DescribeTopicResult.PartitionInfo\"\xa5\x01\n\x17\x44\x65scribeConsumerRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x10\n\x08\x63onsumer\x18\x03 \x01(\t\x12\x15\n\rinclude_stats\x18\x04 \x01(\x08\x12\x18\n\x10include_location\x18\x05 \x01(\x08\"H\n\x18\x44\x65scribeConsumerResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\xd3\x07\n\x16\x44\x65scribeConsumerResult\x12\x1f\n\x04self\x18\x01 \x01(\x0b\x32\x11.Ydb.Scheme.Entry\x12%\n\x08\x63onsumer\x18\x02 \x01(\x0b\x32\x13.Ydb.Topic.Consumer\x12\x43\n\npartitions\x18\x03 \x03(\x0b\x32/.Ydb.Topic.DescribeConsumerResult.PartitionInfo\x1a\xba\x02\n\rPartitionInfo\x12\x14\n\x0cpartition_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x61\x63tive\x18\x02 \x01(\x08\x12\x1b\n\x13\x63hild_partition_ids\x18\x03 \x03(\x03\x12\x1c\n\x14parent_partition_ids\x18\x04 \x03(\x03\x12\x32\n\x0fpartition_stats\x18\x05 \x01(\x0b\x32\x19.Ydb.Topic.PartitionStats\x12Z\n\x18partition_consumer_stats\x18\x06 \x01(\x0b\x32\x38.Ydb.Topic.DescribeConsumerResult.PartitionConsumerStats\x12\x38\n\x12partition_location\x18\x07 \x01(\x0b\x32\x1c.Ydb.Topic.PartitionLocation\x1a\xee\x03\n\x16PartitionConsumerStats\x12\x18\n\x10last_read_offset\x18\x01 \x01(\x03\x12\x18\n\x10\x63ommitted_offset\x18\x02 \x01(\x03\x12\x17\n\x0fread_session_id\x18\x03 \x01(\t\x12\x46\n\"partition_read_session_create_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0elast_read_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x11max_read_time_lag\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12max_write_time_lag\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16max_committed_time_lag\x18\r \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\nbytes_read\x18\x08 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStat\x12\x13\n\x0breader_name\x18\x0b \x01(\t\x12\x1a\n\x12\x63onnection_node_id\x18\x0c \x01(\x05\"\xa0\x02\n\x0ePartitionStats\x12\x32\n\x11partition_offsets\x18\x01 \x01(\x0b\x32\x17.Ydb.Topic.OffsetsRange\x12\x18\n\x10store_size_bytes\x18\x02 \x01(\x03\x12\x33\n\x0flast_write_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12max_write_time_lag\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\rbytes_written\x18\x05 \x01(\x0b\x32\x1e.Ydb.Topic.MultipleWindowsStat\x12\x1d\n\x11partition_node_id\x18\x08 \x01(\x05\x42\x02\x18\x01\"\xbe\x08\n\x11\x41lterTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\x12I\n\x1b\x61lter_partitioning_settings\x18\x03 \x01(\x0b\x32$.Ydb.Topic.AlterPartitioningSettings\x12\x37\n\x14set_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x18set_retention_storage_mb\x18\x05 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x01\x88\x01\x01\x12\x38\n\x14set_supported_codecs\x18\x07 \x01(\x0b\x32\x1a.Ydb.Topic.SupportedCodecs\x12\x41\n*set_partition_write_speed_bytes_per_second\x18\x08 \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x02\x88\x01\x01\x12\x36\n\x1fset_partition_write_burst_bytes\x18\t \x01(\x03\x42\x08\xb2\xe6*\x04>= 0H\x03\x88\x01\x01\x12K\n\x10\x61lter_attributes\x18\n \x03(\x0b\x32\x31.Ydb.Topic.AlterTopicRequest.AlterAttributesEntry\x12\x33\n\radd_consumers\x18\x0b \x03(\x0b\x32\x13.Ydb.Topic.ConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12\x1f\n\x0e\x64rop_consumers\x18\x0c \x03(\tB\x07\x9a\xe6*\x03\x18\xb8\x17\x12:\n\x0f\x61lter_consumers\x18\r \x03(\x0b\x32\x18.Ydb.Topic.AlterConsumerB\x07\x9a\xe6*\x03\x18\xb8\x17\x12\x32\n\x11set_metering_mode\x18\x0e \x01(\x0e\x32\x17.Ydb.Topic.MeteringMode\x12\x1b\n\x11set_metrics_level\x18\x0f \x01(\rH\x00\x12\x35\n\x13reset_metrics_level\x18\x10 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12,\n\x1fset_content_based_deduplication\x18\x11 \x01(\x08H\x04\x88\x01\x01\x1a\x36\n\x14\x41lterAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\rmetrics_levelB\x1b\n\x19_set_retention_storage_mbB-\n+_set_partition_write_speed_bytes_per_secondB\"\n _set_partition_write_burst_bytesB\"\n _set_content_based_deduplicationJ\x04\x08\x06\x10\x07\"B\n\x12\x41lterTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x12\n\x10\x41lterTopicResult\"[\n\x10\x44ropTopicRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0c\n\x04path\x18\x02 \x01(\t\"A\n\x11\x44ropTopicResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x11\n\x0f\x44ropTopicResult*\x83\x01\n\x05\x43odec\x12\x15\n\x11\x43ODEC_UNSPECIFIED\x10\x00\x12\r\n\tCODEC_RAW\x10\x01\x12\x0e\n\nCODEC_GZIP\x10\x02\x12\x0e\n\nCODEC_LZOP\x10\x03\x12\x0e\n\nCODEC_ZSTD\x10\x04\x12\x11\n\x0c\x43ODEC_CUSTOM\x10\x90N\"\x05\x08\x05\x10\x8fN\"\n\x08\xa0\x9c\x01\x10\xff\xff\xff\xff\x07*\xf1\x01\n\x18\x41utoPartitioningStrategy\x12*\n&AUTO_PARTITIONING_STRATEGY_UNSPECIFIED\x10\x00\x12\'\n#AUTO_PARTITIONING_STRATEGY_DISABLED\x10\x01\x12\'\n#AUTO_PARTITIONING_STRATEGY_SCALE_UP\x10\x02\x12\x30\n,AUTO_PARTITIONING_STRATEGY_SCALE_UP_AND_DOWN\x10\x03\x12%\n!AUTO_PARTITIONING_STRATEGY_PAUSED\x10\x04*s\n\x0cMeteringMode\x12\x1d\n\x19METERING_MODE_UNSPECIFIED\x10\x00\x12#\n\x1fMETERING_MODE_RESERVED_CAPACITY\x10\x01\x12\x1f\n\x1bMETERING_MODE_REQUEST_UNITS\x10\x02\x42S\n\x14tech.ydb.proto.topicZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Topic\xf8\x01\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -114,12 +114,12 @@ _globals['_ALTERTOPICREQUEST'].fields_by_name['drop_consumers']._serialized_options = b'\232\346*\003\030\270\027' _globals['_ALTERTOPICREQUEST'].fields_by_name['alter_consumers']._loaded_options = None _globals['_ALTERTOPICREQUEST'].fields_by_name['alter_consumers']._serialized_options = b'\232\346*\003\030\270\027' - _globals['_CODEC']._serialized_start=18453 - _globals['_CODEC']._serialized_end=18584 - _globals['_AUTOPARTITIONINGSTRATEGY']._serialized_start=18587 - _globals['_AUTOPARTITIONINGSTRATEGY']._serialized_end=18828 - _globals['_METERINGMODE']._serialized_start=18830 - _globals['_METERINGMODE']._serialized_end=18945 + _globals['_CODEC']._serialized_start=18862 + _globals['_CODEC']._serialized_end=18993 + _globals['_AUTOPARTITIONINGSTRATEGY']._serialized_start=18996 + _globals['_AUTOPARTITIONINGSTRATEGY']._serialized_end=19237 + _globals['_METERINGMODE']._serialized_start=19239 + _globals['_METERINGMODE']._serialized_end=19354 _globals['_SUPPORTEDCODECS']._serialized_start=320 _globals['_SUPPORTEDCODECS']._serialized_end=375 _globals['_OFFSETSRANGE']._serialized_start=377 @@ -163,7 +163,7 @@ _globals['_STREAMWRITEMESSAGE_WRITERESPONSE_WRITESTATISTICS']._serialized_start=2890 _globals['_STREAMWRITEMESSAGE_WRITERESPONSE_WRITESTATISTICS']._serialized_end=3191 _globals['_STREAMREADMESSAGE']._serialized_start=3194 - _globals['_STREAMREADMESSAGE']._serialized_end=7702 + _globals['_STREAMREADMESSAGE']._serialized_end=7762 _globals['_STREAMREADMESSAGE_PARTITIONSESSION']._serialized_start=3215 _globals['_STREAMREADMESSAGE_PARTITIONSESSION']._serialized_end=3299 _globals['_STREAMREADMESSAGE_FROMCLIENT']._serialized_start=3302 @@ -171,165 +171,165 @@ _globals['_STREAMREADMESSAGE_FROMSERVER']._serialized_start=3994 _globals['_STREAMREADMESSAGE_FROMSERVER']._serialized_end=4874 _globals['_STREAMREADMESSAGE_INITREQUEST']._serialized_start=4877 - _globals['_STREAMREADMESSAGE_INITREQUEST']._serialized_end=5225 - _globals['_STREAMREADMESSAGE_INITREQUEST_TOPICREADSETTINGS']._serialized_start=5078 - _globals['_STREAMREADMESSAGE_INITREQUEST_TOPICREADSETTINGS']._serialized_end=5225 - _globals['_STREAMREADMESSAGE_INITRESPONSE']._serialized_start=5227 - _globals['_STREAMREADMESSAGE_INITRESPONSE']._serialized_end=5261 - _globals['_STREAMREADMESSAGE_READREQUEST']._serialized_start=5263 - _globals['_STREAMREADMESSAGE_READREQUEST']._serialized_end=5296 - _globals['_STREAMREADMESSAGE_READRESPONSE']._serialized_start=5299 - _globals['_STREAMREADMESSAGE_READRESPONSE']._serialized_end=6084 - _globals['_STREAMREADMESSAGE_READRESPONSE_MESSAGEDATA']._serialized_start=5417 - _globals['_STREAMREADMESSAGE_READRESPONSE_MESSAGEDATA']._serialized_end=5635 - _globals['_STREAMREADMESSAGE_READRESPONSE_BATCH']._serialized_start=5638 - _globals['_STREAMREADMESSAGE_READRESPONSE_BATCH']._serialized_end=5971 + _globals['_STREAMREADMESSAGE_INITREQUEST']._serialized_end=5264 + _globals['_STREAMREADMESSAGE_INITREQUEST_TOPICREADSETTINGS']._serialized_start=5117 + _globals['_STREAMREADMESSAGE_INITREQUEST_TOPICREADSETTINGS']._serialized_end=5264 + _globals['_STREAMREADMESSAGE_INITRESPONSE']._serialized_start=5266 + _globals['_STREAMREADMESSAGE_INITRESPONSE']._serialized_end=5300 + _globals['_STREAMREADMESSAGE_READREQUEST']._serialized_start=5302 + _globals['_STREAMREADMESSAGE_READREQUEST']._serialized_end=5335 + _globals['_STREAMREADMESSAGE_READRESPONSE']._serialized_start=5338 + _globals['_STREAMREADMESSAGE_READRESPONSE']._serialized_end=6123 + _globals['_STREAMREADMESSAGE_READRESPONSE_MESSAGEDATA']._serialized_start=5456 + _globals['_STREAMREADMESSAGE_READRESPONSE_MESSAGEDATA']._serialized_end=5674 + _globals['_STREAMREADMESSAGE_READRESPONSE_BATCH']._serialized_start=5677 + _globals['_STREAMREADMESSAGE_READRESPONSE_BATCH']._serialized_end=6010 _globals['_STREAMREADMESSAGE_READRESPONSE_BATCH_WRITESESSIONMETAENTRY']._serialized_start=1489 _globals['_STREAMREADMESSAGE_READRESPONSE_BATCH_WRITESESSIONMETAENTRY']._serialized_end=1544 - _globals['_STREAMREADMESSAGE_READRESPONSE_PARTITIONDATA']._serialized_start=5973 - _globals['_STREAMREADMESSAGE_READRESPONSE_PARTITIONDATA']._serialized_end=6084 - _globals['_STREAMREADMESSAGE_COMMITOFFSETREQUEST']._serialized_start=6087 - _globals['_STREAMREADMESSAGE_COMMITOFFSETREQUEST']._serialized_end=6301 - _globals['_STREAMREADMESSAGE_COMMITOFFSETREQUEST_PARTITIONCOMMITOFFSET']._serialized_start=6206 - _globals['_STREAMREADMESSAGE_COMMITOFFSETREQUEST_PARTITIONCOMMITOFFSET']._serialized_end=6301 - _globals['_STREAMREADMESSAGE_COMMITOFFSETRESPONSE']._serialized_start=6304 - _globals['_STREAMREADMESSAGE_COMMITOFFSETRESPONSE']._serialized_end=6524 - _globals['_STREAMREADMESSAGE_COMMITOFFSETRESPONSE_PARTITIONCOMMITTEDOFFSET']._serialized_start=6442 - _globals['_STREAMREADMESSAGE_COMMITOFFSETRESPONSE_PARTITIONCOMMITTEDOFFSET']._serialized_end=6524 - _globals['_STREAMREADMESSAGE_PARTITIONSESSIONSTATUSREQUEST']._serialized_start=6526 - _globals['_STREAMREADMESSAGE_PARTITIONSESSIONSTATUSREQUEST']._serialized_end=6587 - _globals['_STREAMREADMESSAGE_PARTITIONSESSIONSTATUSRESPONSE']._serialized_start=6590 - _globals['_STREAMREADMESSAGE_PARTITIONSESSIONSTATUSRESPONSE']._serialized_end=6793 - _globals['_STREAMREADMESSAGE_STARTPARTITIONSESSIONREQUEST']._serialized_start=6796 - _globals['_STREAMREADMESSAGE_STARTPARTITIONSESSIONREQUEST']._serialized_end=7036 - _globals['_STREAMREADMESSAGE_STARTPARTITIONSESSIONRESPONSE']._serialized_start=7039 - _globals['_STREAMREADMESSAGE_STARTPARTITIONSESSIONRESPONSE']._serialized_end=7188 - _globals['_STREAMREADMESSAGE_STOPPARTITIONSESSIONREQUEST']._serialized_start=7191 - _globals['_STREAMREADMESSAGE_STOPPARTITIONSESSIONREQUEST']._serialized_end=7323 - _globals['_STREAMREADMESSAGE_STOPPARTITIONSESSIONRESPONSE']._serialized_start=7325 - _globals['_STREAMREADMESSAGE_STOPPARTITIONSESSIONRESPONSE']._serialized_end=7403 - _globals['_STREAMREADMESSAGE_UPDATEPARTITIONSESSION']._serialized_start=7405 - _globals['_STREAMREADMESSAGE_UPDATEPARTITIONSESSION']._serialized_end=7517 - _globals['_STREAMREADMESSAGE_DIRECTREADACK']._serialized_start=7519 - _globals['_STREAMREADMESSAGE_DIRECTREADACK']._serialized_end=7588 - _globals['_STREAMREADMESSAGE_ENDPARTITIONSESSION']._serialized_start=7590 - _globals['_STREAMREADMESSAGE_ENDPARTITIONSESSION']._serialized_end=7702 - _globals['_STREAMDIRECTREADMESSAGE']._serialized_start=7705 - _globals['_STREAMDIRECTREADMESSAGE']._serialized_end=9380 - _globals['_STREAMDIRECTREADMESSAGE_FROMCLIENT']._serialized_start=7733 - _globals['_STREAMDIRECTREADMESSAGE_FROMCLIENT']._serialized_end=8029 - _globals['_STREAMDIRECTREADMESSAGE_FROMSERVER']._serialized_start=8032 - _globals['_STREAMDIRECTREADMESSAGE_FROMSERVER']._serialized_end=8618 - _globals['_STREAMDIRECTREADMESSAGE_INITREQUEST']._serialized_start=8621 - _globals['_STREAMDIRECTREADMESSAGE_INITREQUEST']._serialized_end=8803 - _globals['_STREAMDIRECTREADMESSAGE_INITREQUEST_TOPICREADSETTINGS']._serialized_start=5078 - _globals['_STREAMDIRECTREADMESSAGE_INITREQUEST_TOPICREADSETTINGS']._serialized_end=5111 + _globals['_STREAMREADMESSAGE_READRESPONSE_PARTITIONDATA']._serialized_start=6012 + _globals['_STREAMREADMESSAGE_READRESPONSE_PARTITIONDATA']._serialized_end=6123 + _globals['_STREAMREADMESSAGE_COMMITOFFSETREQUEST']._serialized_start=6126 + _globals['_STREAMREADMESSAGE_COMMITOFFSETREQUEST']._serialized_end=6340 + _globals['_STREAMREADMESSAGE_COMMITOFFSETREQUEST_PARTITIONCOMMITOFFSET']._serialized_start=6245 + _globals['_STREAMREADMESSAGE_COMMITOFFSETREQUEST_PARTITIONCOMMITOFFSET']._serialized_end=6340 + _globals['_STREAMREADMESSAGE_COMMITOFFSETRESPONSE']._serialized_start=6343 + _globals['_STREAMREADMESSAGE_COMMITOFFSETRESPONSE']._serialized_end=6563 + _globals['_STREAMREADMESSAGE_COMMITOFFSETRESPONSE_PARTITIONCOMMITTEDOFFSET']._serialized_start=6481 + _globals['_STREAMREADMESSAGE_COMMITOFFSETRESPONSE_PARTITIONCOMMITTEDOFFSET']._serialized_end=6563 + _globals['_STREAMREADMESSAGE_PARTITIONSESSIONSTATUSREQUEST']._serialized_start=6565 + _globals['_STREAMREADMESSAGE_PARTITIONSESSIONSTATUSREQUEST']._serialized_end=6626 + _globals['_STREAMREADMESSAGE_PARTITIONSESSIONSTATUSRESPONSE']._serialized_start=6629 + _globals['_STREAMREADMESSAGE_PARTITIONSESSIONSTATUSRESPONSE']._serialized_end=6853 + _globals['_STREAMREADMESSAGE_STARTPARTITIONSESSIONREQUEST']._serialized_start=6856 + _globals['_STREAMREADMESSAGE_STARTPARTITIONSESSIONREQUEST']._serialized_end=7096 + _globals['_STREAMREADMESSAGE_STARTPARTITIONSESSIONRESPONSE']._serialized_start=7099 + _globals['_STREAMREADMESSAGE_STARTPARTITIONSESSIONRESPONSE']._serialized_end=7248 + _globals['_STREAMREADMESSAGE_STOPPARTITIONSESSIONREQUEST']._serialized_start=7251 + _globals['_STREAMREADMESSAGE_STOPPARTITIONSESSIONREQUEST']._serialized_end=7383 + _globals['_STREAMREADMESSAGE_STOPPARTITIONSESSIONRESPONSE']._serialized_start=7385 + _globals['_STREAMREADMESSAGE_STOPPARTITIONSESSIONRESPONSE']._serialized_end=7463 + _globals['_STREAMREADMESSAGE_UPDATEPARTITIONSESSION']._serialized_start=7465 + _globals['_STREAMREADMESSAGE_UPDATEPARTITIONSESSION']._serialized_end=7577 + _globals['_STREAMREADMESSAGE_DIRECTREADACK']._serialized_start=7579 + _globals['_STREAMREADMESSAGE_DIRECTREADACK']._serialized_end=7648 + _globals['_STREAMREADMESSAGE_ENDPARTITIONSESSION']._serialized_start=7650 + _globals['_STREAMREADMESSAGE_ENDPARTITIONSESSION']._serialized_end=7762 + _globals['_STREAMDIRECTREADMESSAGE']._serialized_start=7765 + _globals['_STREAMDIRECTREADMESSAGE']._serialized_end=9440 + _globals['_STREAMDIRECTREADMESSAGE_FROMCLIENT']._serialized_start=7793 + _globals['_STREAMDIRECTREADMESSAGE_FROMCLIENT']._serialized_end=8089 + _globals['_STREAMDIRECTREADMESSAGE_FROMSERVER']._serialized_start=8092 + _globals['_STREAMDIRECTREADMESSAGE_FROMSERVER']._serialized_end=8678 + _globals['_STREAMDIRECTREADMESSAGE_INITREQUEST']._serialized_start=8681 + _globals['_STREAMDIRECTREADMESSAGE_INITREQUEST']._serialized_end=8863 + _globals['_STREAMDIRECTREADMESSAGE_INITREQUEST_TOPICREADSETTINGS']._serialized_start=5117 + _globals['_STREAMDIRECTREADMESSAGE_INITREQUEST_TOPICREADSETTINGS']._serialized_end=5150 _globals['_STREAMDIRECTREADMESSAGE_INITRESPONSE']._serialized_start=1563 _globals['_STREAMDIRECTREADMESSAGE_INITRESPONSE']._serialized_end=1577 - _globals['_STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONREQUEST']._serialized_start=8821 - _globals['_STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONREQUEST']._serialized_end=8940 - _globals['_STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONRESPONSE']._serialized_start=8942 - _globals['_STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONRESPONSE']._serialized_end=9033 - _globals['_STREAMDIRECTREADMESSAGE_STOPDIRECTREADPARTITIONSESSION']._serialized_start=9036 - _globals['_STREAMDIRECTREADMESSAGE_STOPDIRECTREADPARTITIONSESSION']._serialized_end=9202 - _globals['_STREAMDIRECTREADMESSAGE_DIRECTREADRESPONSE']._serialized_start=9205 - _globals['_STREAMDIRECTREADMESSAGE_DIRECTREADRESPONSE']._serialized_end=9380 - _globals['_TRANSACTIONIDENTITY']._serialized_start=9382 - _globals['_TRANSACTIONIDENTITY']._serialized_end=9432 - _globals['_UPDATEOFFSETSINTRANSACTIONREQUEST']._serialized_start=9435 - _globals['_UPDATEOFFSETSINTRANSACTIONREQUEST']._serialized_end=9887 - _globals['_UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS']._serialized_start=9669 - _globals['_UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS']._serialized_end=9887 - _globals['_UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS_PARTITIONOFFSETS']._serialized_start=9795 - _globals['_UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS_PARTITIONOFFSETS']._serialized_end=9887 - _globals['_UPDATEOFFSETSINTRANSACTIONRESPONSE']._serialized_start=9889 - _globals['_UPDATEOFFSETSINTRANSACTIONRESPONSE']._serialized_end=9971 - _globals['_UPDATEOFFSETSINTRANSACTIONRESULT']._serialized_start=9973 - _globals['_UPDATEOFFSETSINTRANSACTIONRESULT']._serialized_end=10007 - _globals['_COMMITOFFSETREQUEST']._serialized_start=10010 - _globals['_COMMITOFFSETREQUEST']._serialized_end=10185 - _globals['_COMMITOFFSETRESPONSE']._serialized_start=10187 - _globals['_COMMITOFFSETRESPONSE']._serialized_end=10255 - _globals['_COMMITOFFSETRESULT']._serialized_start=10257 - _globals['_COMMITOFFSETRESULT']._serialized_end=10277 - _globals['_MULTIPLEWINDOWSSTAT']._serialized_start=10279 - _globals['_MULTIPLEWINDOWSSTAT']._serialized_end=10355 - _globals['_CONSUMER']._serialized_start=10358 - _globals['_CONSUMER']._serialized_end=11065 - _globals['_CONSUMER_ATTRIBUTESENTRY']._serialized_start=10681 - _globals['_CONSUMER_ATTRIBUTESENTRY']._serialized_end=10730 - _globals['_CONSUMER_CONSUMERSTATS']._serialized_start=10733 - _globals['_CONSUMER_CONSUMERSTATS']._serialized_end=11035 - _globals['_ALTERCONSUMER']._serialized_start=11068 - _globals['_ALTERCONSUMER']._serialized_end=11540 - _globals['_ALTERCONSUMER_ALTERATTRIBUTESENTRY']._serialized_start=11432 - _globals['_ALTERCONSUMER_ALTERATTRIBUTESENTRY']._serialized_end=11486 - _globals['_PARTITIONINGSETTINGS']._serialized_start=11543 - _globals['_PARTITIONINGSETTINGS']._serialized_end=11763 - _globals['_AUTOPARTITIONINGSETTINGS']._serialized_start=11766 - _globals['_AUTOPARTITIONINGSETTINGS']._serialized_end=11925 - _globals['_AUTOPARTITIONINGWRITESPEEDSTRATEGY']._serialized_start=11928 - _globals['_AUTOPARTITIONINGWRITESPEEDSTRATEGY']._serialized_end=12107 - _globals['_ALTERPARTITIONINGSETTINGS']._serialized_start=12110 - _globals['_ALTERPARTITIONINGSETTINGS']._serialized_end=12505 - _globals['_ALTERAUTOPARTITIONINGSETTINGS']._serialized_start=12508 - _globals['_ALTERAUTOPARTITIONINGSETTINGS']._serialized_end=12742 - _globals['_ALTERAUTOPARTITIONINGWRITESPEEDSTRATEGY']._serialized_start=12745 - _globals['_ALTERAUTOPARTITIONINGWRITESPEEDSTRATEGY']._serialized_end=13049 - _globals['_CREATETOPICREQUEST']._serialized_start=13052 - _globals['_CREATETOPICREQUEST']._serialized_end=13682 - _globals['_CREATETOPICREQUEST_ATTRIBUTESENTRY']._serialized_start=10681 - _globals['_CREATETOPICREQUEST_ATTRIBUTESENTRY']._serialized_end=10730 - _globals['_CREATETOPICRESPONSE']._serialized_start=13684 - _globals['_CREATETOPICRESPONSE']._serialized_end=13751 - _globals['_CREATETOPICRESULT']._serialized_start=13753 - _globals['_CREATETOPICRESULT']._serialized_end=13772 - _globals['_PARTITIONLOCATION']._serialized_start=13774 - _globals['_PARTITIONLOCATION']._serialized_end=13830 - _globals['_DESCRIBETOPICREQUEST']._serialized_start=13833 - _globals['_DESCRIBETOPICREQUEST']._serialized_end=13977 - _globals['_DESCRIBETOPICRESPONSE']._serialized_start=13979 - _globals['_DESCRIBETOPICRESPONSE']._serialized_end=14048 - _globals['_PARTITIONKEYRANGE']._serialized_start=14050 - _globals['_PARTITIONKEYRANGE']._serialized_end=14145 - _globals['_DESCRIBETOPICRESULT']._serialized_start=14148 - _globals['_DESCRIBETOPICRESULT']._serialized_end=15422 - _globals['_DESCRIBETOPICRESULT_ATTRIBUTESENTRY']._serialized_start=10681 - _globals['_DESCRIBETOPICRESULT_ATTRIBUTESENTRY']._serialized_end=10730 - _globals['_DESCRIBETOPICRESULT_PARTITIONINFO']._serialized_start=14937 - _globals['_DESCRIBETOPICRESULT_PARTITIONINFO']._serialized_end=15208 - _globals['_DESCRIBETOPICRESULT_TOPICSTATS']._serialized_start=15211 - _globals['_DESCRIBETOPICRESULT_TOPICSTATS']._serialized_end=15416 - _globals['_DESCRIBEPARTITIONREQUEST']._serialized_start=15425 - _globals['_DESCRIBEPARTITIONREQUEST']._serialized_end=15595 - _globals['_DESCRIBEPARTITIONRESPONSE']._serialized_start=15597 - _globals['_DESCRIBEPARTITIONRESPONSE']._serialized_end=15670 - _globals['_DESCRIBEPARTITIONRESULT']._serialized_start=15672 - _globals['_DESCRIBEPARTITIONRESULT']._serialized_end=15762 - _globals['_DESCRIBECONSUMERREQUEST']._serialized_start=15765 - _globals['_DESCRIBECONSUMERREQUEST']._serialized_end=15930 - _globals['_DESCRIBECONSUMERRESPONSE']._serialized_start=15932 - _globals['_DESCRIBECONSUMERRESPONSE']._serialized_end=16004 - _globals['_DESCRIBECONSUMERRESULT']._serialized_start=16007 - _globals['_DESCRIBECONSUMERRESULT']._serialized_end=16986 - _globals['_DESCRIBECONSUMERRESULT_PARTITIONINFO']._serialized_start=16175 - _globals['_DESCRIBECONSUMERRESULT_PARTITIONINFO']._serialized_end=16489 - _globals['_DESCRIBECONSUMERRESULT_PARTITIONCONSUMERSTATS']._serialized_start=16492 - _globals['_DESCRIBECONSUMERRESULT_PARTITIONCONSUMERSTATS']._serialized_end=16986 - _globals['_PARTITIONSTATS']._serialized_start=16989 - _globals['_PARTITIONSTATS']._serialized_end=17277 - _globals['_ALTERTOPICREQUEST']._serialized_start=17280 - _globals['_ALTERTOPICREQUEST']._serialized_end=18183 - _globals['_ALTERTOPICREQUEST_ALTERATTRIBUTESENTRY']._serialized_start=11432 - _globals['_ALTERTOPICREQUEST_ALTERATTRIBUTESENTRY']._serialized_end=11486 - _globals['_ALTERTOPICRESPONSE']._serialized_start=18185 - _globals['_ALTERTOPICRESPONSE']._serialized_end=18251 - _globals['_ALTERTOPICRESULT']._serialized_start=18253 - _globals['_ALTERTOPICRESULT']._serialized_end=18271 - _globals['_DROPTOPICREQUEST']._serialized_start=18273 - _globals['_DROPTOPICREQUEST']._serialized_end=18364 - _globals['_DROPTOPICRESPONSE']._serialized_start=18366 - _globals['_DROPTOPICRESPONSE']._serialized_end=18431 - _globals['_DROPTOPICRESULT']._serialized_start=18433 - _globals['_DROPTOPICRESULT']._serialized_end=18450 + _globals['_STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONREQUEST']._serialized_start=8881 + _globals['_STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONREQUEST']._serialized_end=9000 + _globals['_STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONRESPONSE']._serialized_start=9002 + _globals['_STREAMDIRECTREADMESSAGE_STARTDIRECTREADPARTITIONSESSIONRESPONSE']._serialized_end=9093 + _globals['_STREAMDIRECTREADMESSAGE_STOPDIRECTREADPARTITIONSESSION']._serialized_start=9096 + _globals['_STREAMDIRECTREADMESSAGE_STOPDIRECTREADPARTITIONSESSION']._serialized_end=9262 + _globals['_STREAMDIRECTREADMESSAGE_DIRECTREADRESPONSE']._serialized_start=9265 + _globals['_STREAMDIRECTREADMESSAGE_DIRECTREADRESPONSE']._serialized_end=9440 + _globals['_TRANSACTIONIDENTITY']._serialized_start=9442 + _globals['_TRANSACTIONIDENTITY']._serialized_end=9492 + _globals['_UPDATEOFFSETSINTRANSACTIONREQUEST']._serialized_start=9495 + _globals['_UPDATEOFFSETSINTRANSACTIONREQUEST']._serialized_end=9947 + _globals['_UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS']._serialized_start=9729 + _globals['_UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS']._serialized_end=9947 + _globals['_UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS_PARTITIONOFFSETS']._serialized_start=9855 + _globals['_UPDATEOFFSETSINTRANSACTIONREQUEST_TOPICOFFSETS_PARTITIONOFFSETS']._serialized_end=9947 + _globals['_UPDATEOFFSETSINTRANSACTIONRESPONSE']._serialized_start=9949 + _globals['_UPDATEOFFSETSINTRANSACTIONRESPONSE']._serialized_end=10031 + _globals['_UPDATEOFFSETSINTRANSACTIONRESULT']._serialized_start=10033 + _globals['_UPDATEOFFSETSINTRANSACTIONRESULT']._serialized_end=10067 + _globals['_COMMITOFFSETREQUEST']._serialized_start=10070 + _globals['_COMMITOFFSETREQUEST']._serialized_end=10245 + _globals['_COMMITOFFSETRESPONSE']._serialized_start=10247 + _globals['_COMMITOFFSETRESPONSE']._serialized_end=10315 + _globals['_COMMITOFFSETRESULT']._serialized_start=10317 + _globals['_COMMITOFFSETRESULT']._serialized_end=10337 + _globals['_MULTIPLEWINDOWSSTAT']._serialized_start=10339 + _globals['_MULTIPLEWINDOWSSTAT']._serialized_end=10415 + _globals['_CONSUMER']._serialized_start=10418 + _globals['_CONSUMER']._serialized_end=11125 + _globals['_CONSUMER_ATTRIBUTESENTRY']._serialized_start=10741 + _globals['_CONSUMER_ATTRIBUTESENTRY']._serialized_end=10790 + _globals['_CONSUMER_CONSUMERSTATS']._serialized_start=10793 + _globals['_CONSUMER_CONSUMERSTATS']._serialized_end=11095 + _globals['_ALTERCONSUMER']._serialized_start=11128 + _globals['_ALTERCONSUMER']._serialized_end=11600 + _globals['_ALTERCONSUMER_ALTERATTRIBUTESENTRY']._serialized_start=11492 + _globals['_ALTERCONSUMER_ALTERATTRIBUTESENTRY']._serialized_end=11546 + _globals['_PARTITIONINGSETTINGS']._serialized_start=11603 + _globals['_PARTITIONINGSETTINGS']._serialized_end=11823 + _globals['_AUTOPARTITIONINGSETTINGS']._serialized_start=11826 + _globals['_AUTOPARTITIONINGSETTINGS']._serialized_end=11985 + _globals['_AUTOPARTITIONINGWRITESPEEDSTRATEGY']._serialized_start=11988 + _globals['_AUTOPARTITIONINGWRITESPEEDSTRATEGY']._serialized_end=12167 + _globals['_ALTERPARTITIONINGSETTINGS']._serialized_start=12170 + _globals['_ALTERPARTITIONINGSETTINGS']._serialized_end=12565 + _globals['_ALTERAUTOPARTITIONINGSETTINGS']._serialized_start=12568 + _globals['_ALTERAUTOPARTITIONINGSETTINGS']._serialized_end=12802 + _globals['_ALTERAUTOPARTITIONINGWRITESPEEDSTRATEGY']._serialized_start=12805 + _globals['_ALTERAUTOPARTITIONINGWRITESPEEDSTRATEGY']._serialized_end=13109 + _globals['_CREATETOPICREQUEST']._serialized_start=13112 + _globals['_CREATETOPICREQUEST']._serialized_end=13825 + _globals['_CREATETOPICREQUEST_ATTRIBUTESENTRY']._serialized_start=10741 + _globals['_CREATETOPICREQUEST_ATTRIBUTESENTRY']._serialized_end=10790 + _globals['_CREATETOPICRESPONSE']._serialized_start=13827 + _globals['_CREATETOPICRESPONSE']._serialized_end=13894 + _globals['_CREATETOPICRESULT']._serialized_start=13896 + _globals['_CREATETOPICRESULT']._serialized_end=13915 + _globals['_PARTITIONLOCATION']._serialized_start=13917 + _globals['_PARTITIONLOCATION']._serialized_end=13973 + _globals['_DESCRIBETOPICREQUEST']._serialized_start=13976 + _globals['_DESCRIBETOPICREQUEST']._serialized_end=14120 + _globals['_DESCRIBETOPICRESPONSE']._serialized_start=14122 + _globals['_DESCRIBETOPICRESPONSE']._serialized_end=14191 + _globals['_PARTITIONKEYRANGE']._serialized_start=14193 + _globals['_PARTITIONKEYRANGE']._serialized_end=14288 + _globals['_DESCRIBETOPICRESULT']._serialized_start=14291 + _globals['_DESCRIBETOPICRESULT']._serialized_end=15648 + _globals['_DESCRIBETOPICRESULT_ATTRIBUTESENTRY']._serialized_start=10741 + _globals['_DESCRIBETOPICRESULT_ATTRIBUTESENTRY']._serialized_end=10790 + _globals['_DESCRIBETOPICRESULT_PARTITIONINFO']._serialized_start=15145 + _globals['_DESCRIBETOPICRESULT_PARTITIONINFO']._serialized_end=15416 + _globals['_DESCRIBETOPICRESULT_TOPICSTATS']._serialized_start=15419 + _globals['_DESCRIBETOPICRESULT_TOPICSTATS']._serialized_end=15624 + _globals['_DESCRIBEPARTITIONREQUEST']._serialized_start=15651 + _globals['_DESCRIBEPARTITIONREQUEST']._serialized_end=15821 + _globals['_DESCRIBEPARTITIONRESPONSE']._serialized_start=15823 + _globals['_DESCRIBEPARTITIONRESPONSE']._serialized_end=15896 + _globals['_DESCRIBEPARTITIONRESULT']._serialized_start=15898 + _globals['_DESCRIBEPARTITIONRESULT']._serialized_end=15988 + _globals['_DESCRIBECONSUMERREQUEST']._serialized_start=15991 + _globals['_DESCRIBECONSUMERREQUEST']._serialized_end=16156 + _globals['_DESCRIBECONSUMERRESPONSE']._serialized_start=16158 + _globals['_DESCRIBECONSUMERRESPONSE']._serialized_end=16230 + _globals['_DESCRIBECONSUMERRESULT']._serialized_start=16233 + _globals['_DESCRIBECONSUMERRESULT']._serialized_end=17212 + _globals['_DESCRIBECONSUMERRESULT_PARTITIONINFO']._serialized_start=16401 + _globals['_DESCRIBECONSUMERRESULT_PARTITIONINFO']._serialized_end=16715 + _globals['_DESCRIBECONSUMERRESULT_PARTITIONCONSUMERSTATS']._serialized_start=16718 + _globals['_DESCRIBECONSUMERRESULT_PARTITIONCONSUMERSTATS']._serialized_end=17212 + _globals['_PARTITIONSTATS']._serialized_start=17215 + _globals['_PARTITIONSTATS']._serialized_end=17503 + _globals['_ALTERTOPICREQUEST']._serialized_start=17506 + _globals['_ALTERTOPICREQUEST']._serialized_end=18592 + _globals['_ALTERTOPICREQUEST_ALTERATTRIBUTESENTRY']._serialized_start=11492 + _globals['_ALTERTOPICREQUEST_ALTERATTRIBUTESENTRY']._serialized_end=11546 + _globals['_ALTERTOPICRESPONSE']._serialized_start=18594 + _globals['_ALTERTOPICRESPONSE']._serialized_end=18660 + _globals['_ALTERTOPICRESULT']._serialized_start=18662 + _globals['_ALTERTOPICRESULT']._serialized_end=18680 + _globals['_DROPTOPICREQUEST']._serialized_start=18682 + _globals['_DROPTOPICREQUEST']._serialized_end=18773 + _globals['_DROPTOPICRESPONSE']._serialized_start=18775 + _globals['_DROPTOPICRESPONSE']._serialized_end=18840 + _globals['_DROPTOPICRESULT']._serialized_start=18842 + _globals['_DROPTOPICRESULT']._serialized_end=18859 # @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v6/protos/ydb_topic_pb2.pyi b/ydb/_grpc/v6/protos/ydb_topic_pb2.pyi index 79637b3d2..6bf9bc424 100644 --- a/ydb/_grpc/v6/protos/ydb_topic_pb2.pyi +++ b/ydb/_grpc/v6/protos/ydb_topic_pb2.pyi @@ -292,7 +292,7 @@ class StreamReadMessage(_message.Message): end_partition_session: StreamReadMessage.EndPartitionSession def __init__(self, status: _Optional[_Union[_ydb_status_codes_pb2.StatusIds.StatusCode, str]] = ..., issues: _Optional[_Iterable[_Union[_ydb_issue_message_pb2.IssueMessage, _Mapping]]] = ..., init_response: _Optional[_Union[StreamReadMessage.InitResponse, _Mapping]] = ..., read_response: _Optional[_Union[StreamReadMessage.ReadResponse, _Mapping]] = ..., commit_offset_response: _Optional[_Union[StreamReadMessage.CommitOffsetResponse, _Mapping]] = ..., partition_session_status_response: _Optional[_Union[StreamReadMessage.PartitionSessionStatusResponse, _Mapping]] = ..., update_token_response: _Optional[_Union[UpdateTokenResponse, _Mapping]] = ..., start_partition_session_request: _Optional[_Union[StreamReadMessage.StartPartitionSessionRequest, _Mapping]] = ..., stop_partition_session_request: _Optional[_Union[StreamReadMessage.StopPartitionSessionRequest, _Mapping]] = ..., update_partition_session: _Optional[_Union[StreamReadMessage.UpdatePartitionSession, _Mapping]] = ..., end_partition_session: _Optional[_Union[StreamReadMessage.EndPartitionSession, _Mapping]] = ...) -> None: ... class InitRequest(_message.Message): - __slots__ = ("topics_read_settings", "consumer", "reader_name", "direct_read", "auto_partitioning_support") + __slots__ = ("topics_read_settings", "consumer", "reader_name", "direct_read", "auto_partitioning_support", "partition_max_in_flight_bytes") class TopicReadSettings(_message.Message): __slots__ = ("path", "partition_ids", "max_lag", "read_from") PATH_FIELD_NUMBER: _ClassVar[int] @@ -309,12 +309,14 @@ class StreamReadMessage(_message.Message): READER_NAME_FIELD_NUMBER: _ClassVar[int] DIRECT_READ_FIELD_NUMBER: _ClassVar[int] AUTO_PARTITIONING_SUPPORT_FIELD_NUMBER: _ClassVar[int] + PARTITION_MAX_IN_FLIGHT_BYTES_FIELD_NUMBER: _ClassVar[int] topics_read_settings: _containers.RepeatedCompositeFieldContainer[StreamReadMessage.InitRequest.TopicReadSettings] consumer: str reader_name: str direct_read: bool auto_partitioning_support: bool - def __init__(self, topics_read_settings: _Optional[_Iterable[_Union[StreamReadMessage.InitRequest.TopicReadSettings, _Mapping]]] = ..., consumer: _Optional[str] = ..., reader_name: _Optional[str] = ..., direct_read: bool = ..., auto_partitioning_support: bool = ...) -> None: ... + partition_max_in_flight_bytes: int + def __init__(self, topics_read_settings: _Optional[_Iterable[_Union[StreamReadMessage.InitRequest.TopicReadSettings, _Mapping]]] = ..., consumer: _Optional[str] = ..., reader_name: _Optional[str] = ..., direct_read: bool = ..., auto_partitioning_support: bool = ..., partition_max_in_flight_bytes: _Optional[int] = ...) -> None: ... class InitResponse(_message.Message): __slots__ = ("session_id",) SESSION_ID_FIELD_NUMBER: _ClassVar[int] @@ -406,16 +408,18 @@ class StreamReadMessage(_message.Message): partition_session_id: int def __init__(self, partition_session_id: _Optional[int] = ...) -> None: ... class PartitionSessionStatusResponse(_message.Message): - __slots__ = ("partition_session_id", "partition_offsets", "committed_offset", "write_time_high_watermark") + __slots__ = ("partition_session_id", "partition_offsets", "committed_offset", "write_time_high_watermark", "read_offset") PARTITION_SESSION_ID_FIELD_NUMBER: _ClassVar[int] PARTITION_OFFSETS_FIELD_NUMBER: _ClassVar[int] COMMITTED_OFFSET_FIELD_NUMBER: _ClassVar[int] WRITE_TIME_HIGH_WATERMARK_FIELD_NUMBER: _ClassVar[int] + READ_OFFSET_FIELD_NUMBER: _ClassVar[int] partition_session_id: int partition_offsets: OffsetsRange committed_offset: int write_time_high_watermark: _timestamp_pb2.Timestamp - def __init__(self, partition_session_id: _Optional[int] = ..., partition_offsets: _Optional[_Union[OffsetsRange, _Mapping]] = ..., committed_offset: _Optional[int] = ..., write_time_high_watermark: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... + read_offset: int + def __init__(self, partition_session_id: _Optional[int] = ..., partition_offsets: _Optional[_Union[OffsetsRange, _Mapping]] = ..., committed_offset: _Optional[int] = ..., write_time_high_watermark: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., read_offset: _Optional[int] = ...) -> None: ... class StartPartitionSessionRequest(_message.Message): __slots__ = ("partition_session", "committed_offset", "partition_offsets", "partition_location") PARTITION_SESSION_FIELD_NUMBER: _ClassVar[int] @@ -768,7 +772,7 @@ class AlterAutoPartitioningWriteSpeedStrategy(_message.Message): def __init__(self, set_stabilization_window: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ..., set_up_utilization_percent: _Optional[int] = ..., set_down_utilization_percent: _Optional[int] = ...) -> None: ... class CreateTopicRequest(_message.Message): - __slots__ = ("operation_params", "path", "partitioning_settings", "retention_period", "retention_storage_mb", "supported_codecs", "partition_write_speed_bytes_per_second", "partition_write_burst_bytes", "attributes", "consumers", "metering_mode") + __slots__ = ("operation_params", "path", "partitioning_settings", "retention_period", "retention_storage_mb", "supported_codecs", "partition_write_speed_bytes_per_second", "partition_write_burst_bytes", "attributes", "consumers", "metering_mode", "metrics_level", "content_based_deduplication") class AttributesEntry(_message.Message): __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] @@ -787,6 +791,8 @@ class CreateTopicRequest(_message.Message): ATTRIBUTES_FIELD_NUMBER: _ClassVar[int] CONSUMERS_FIELD_NUMBER: _ClassVar[int] METERING_MODE_FIELD_NUMBER: _ClassVar[int] + METRICS_LEVEL_FIELD_NUMBER: _ClassVar[int] + CONTENT_BASED_DEDUPLICATION_FIELD_NUMBER: _ClassVar[int] operation_params: _ydb_operation_pb2.OperationParams path: str partitioning_settings: PartitioningSettings @@ -798,7 +804,9 @@ class CreateTopicRequest(_message.Message): attributes: _containers.ScalarMap[str, str] consumers: _containers.RepeatedCompositeFieldContainer[Consumer] metering_mode: MeteringMode - def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ..., partitioning_settings: _Optional[_Union[PartitioningSettings, _Mapping]] = ..., retention_period: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ..., retention_storage_mb: _Optional[int] = ..., supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., partition_write_speed_bytes_per_second: _Optional[int] = ..., partition_write_burst_bytes: _Optional[int] = ..., attributes: _Optional[_Mapping[str, str]] = ..., consumers: _Optional[_Iterable[_Union[Consumer, _Mapping]]] = ..., metering_mode: _Optional[_Union[MeteringMode, str]] = ...) -> None: ... + metrics_level: int + content_based_deduplication: bool + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ..., partitioning_settings: _Optional[_Union[PartitioningSettings, _Mapping]] = ..., retention_period: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ..., retention_storage_mb: _Optional[int] = ..., supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., partition_write_speed_bytes_per_second: _Optional[int] = ..., partition_write_burst_bytes: _Optional[int] = ..., attributes: _Optional[_Mapping[str, str]] = ..., consumers: _Optional[_Iterable[_Union[Consumer, _Mapping]]] = ..., metering_mode: _Optional[_Union[MeteringMode, str]] = ..., metrics_level: _Optional[int] = ..., content_based_deduplication: bool = ...) -> None: ... class CreateTopicResponse(_message.Message): __slots__ = ("operation",) @@ -845,7 +853,7 @@ class PartitionKeyRange(_message.Message): def __init__(self, from_bound: _Optional[bytes] = ..., to_bound: _Optional[bytes] = ...) -> None: ... class DescribeTopicResult(_message.Message): - __slots__ = ("self", "partitioning_settings", "partitions", "retention_period", "retention_storage_mb", "supported_codecs", "partition_write_speed_bytes_per_second", "partition_total_read_speed_bytes_per_second", "partition_consumer_read_speed_bytes_per_second", "partition_write_burst_bytes", "attributes", "consumers", "metering_mode", "topic_stats") + __slots__ = ("self", "partitioning_settings", "partitions", "retention_period", "retention_storage_mb", "supported_codecs", "partition_write_speed_bytes_per_second", "partition_total_read_speed_bytes_per_second", "partition_consumer_read_speed_bytes_per_second", "partition_write_burst_bytes", "attributes", "consumers", "metering_mode", "topic_stats", "metrics_level", "content_based_deduplication") class AttributesEntry(_message.Message): __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] @@ -895,6 +903,8 @@ class DescribeTopicResult(_message.Message): CONSUMERS_FIELD_NUMBER: _ClassVar[int] METERING_MODE_FIELD_NUMBER: _ClassVar[int] TOPIC_STATS_FIELD_NUMBER: _ClassVar[int] + METRICS_LEVEL_FIELD_NUMBER: _ClassVar[int] + CONTENT_BASED_DEDUPLICATION_FIELD_NUMBER: _ClassVar[int] self: _ydb_scheme_pb2.Entry partitioning_settings: PartitioningSettings partitions: _containers.RepeatedCompositeFieldContainer[DescribeTopicResult.PartitionInfo] @@ -909,7 +919,9 @@ class DescribeTopicResult(_message.Message): consumers: _containers.RepeatedCompositeFieldContainer[Consumer] metering_mode: MeteringMode topic_stats: DescribeTopicResult.TopicStats - def __init__(self_, self: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., partitioning_settings: _Optional[_Union[PartitioningSettings, _Mapping]] = ..., partitions: _Optional[_Iterable[_Union[DescribeTopicResult.PartitionInfo, _Mapping]]] = ..., retention_period: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ..., retention_storage_mb: _Optional[int] = ..., supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., partition_write_speed_bytes_per_second: _Optional[int] = ..., partition_total_read_speed_bytes_per_second: _Optional[int] = ..., partition_consumer_read_speed_bytes_per_second: _Optional[int] = ..., partition_write_burst_bytes: _Optional[int] = ..., attributes: _Optional[_Mapping[str, str]] = ..., consumers: _Optional[_Iterable[_Union[Consumer, _Mapping]]] = ..., metering_mode: _Optional[_Union[MeteringMode, str]] = ..., topic_stats: _Optional[_Union[DescribeTopicResult.TopicStats, _Mapping]] = ...) -> None: ... + metrics_level: int + content_based_deduplication: bool + def __init__(self_, self: _Optional[_Union[_ydb_scheme_pb2.Entry, _Mapping]] = ..., partitioning_settings: _Optional[_Union[PartitioningSettings, _Mapping]] = ..., partitions: _Optional[_Iterable[_Union[DescribeTopicResult.PartitionInfo, _Mapping]]] = ..., retention_period: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ..., retention_storage_mb: _Optional[int] = ..., supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., partition_write_speed_bytes_per_second: _Optional[int] = ..., partition_total_read_speed_bytes_per_second: _Optional[int] = ..., partition_consumer_read_speed_bytes_per_second: _Optional[int] = ..., partition_write_burst_bytes: _Optional[int] = ..., attributes: _Optional[_Mapping[str, str]] = ..., consumers: _Optional[_Iterable[_Union[Consumer, _Mapping]]] = ..., metering_mode: _Optional[_Union[MeteringMode, str]] = ..., topic_stats: _Optional[_Union[DescribeTopicResult.TopicStats, _Mapping]] = ..., metrics_level: _Optional[int] = ..., content_based_deduplication: bool = ...) -> None: ... class DescribePartitionRequest(_message.Message): __slots__ = ("operation_params", "path", "partition_id", "include_stats", "include_location") @@ -1026,7 +1038,7 @@ class PartitionStats(_message.Message): def __init__(self, partition_offsets: _Optional[_Union[OffsetsRange, _Mapping]] = ..., store_size_bytes: _Optional[int] = ..., last_write_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., max_write_time_lag: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ..., bytes_written: _Optional[_Union[MultipleWindowsStat, _Mapping]] = ..., partition_node_id: _Optional[int] = ...) -> None: ... class AlterTopicRequest(_message.Message): - __slots__ = ("operation_params", "path", "alter_partitioning_settings", "set_retention_period", "set_retention_storage_mb", "set_supported_codecs", "set_partition_write_speed_bytes_per_second", "set_partition_write_burst_bytes", "alter_attributes", "add_consumers", "drop_consumers", "alter_consumers", "set_metering_mode") + __slots__ = ("operation_params", "path", "alter_partitioning_settings", "set_retention_period", "set_retention_storage_mb", "set_supported_codecs", "set_partition_write_speed_bytes_per_second", "set_partition_write_burst_bytes", "alter_attributes", "add_consumers", "drop_consumers", "alter_consumers", "set_metering_mode", "set_metrics_level", "reset_metrics_level", "set_content_based_deduplication") class AlterAttributesEntry(_message.Message): __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] @@ -1047,6 +1059,9 @@ class AlterTopicRequest(_message.Message): DROP_CONSUMERS_FIELD_NUMBER: _ClassVar[int] ALTER_CONSUMERS_FIELD_NUMBER: _ClassVar[int] SET_METERING_MODE_FIELD_NUMBER: _ClassVar[int] + SET_METRICS_LEVEL_FIELD_NUMBER: _ClassVar[int] + RESET_METRICS_LEVEL_FIELD_NUMBER: _ClassVar[int] + SET_CONTENT_BASED_DEDUPLICATION_FIELD_NUMBER: _ClassVar[int] operation_params: _ydb_operation_pb2.OperationParams path: str alter_partitioning_settings: AlterPartitioningSettings @@ -1060,7 +1075,10 @@ class AlterTopicRequest(_message.Message): drop_consumers: _containers.RepeatedScalarFieldContainer[str] alter_consumers: _containers.RepeatedCompositeFieldContainer[AlterConsumer] set_metering_mode: MeteringMode - def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ..., alter_partitioning_settings: _Optional[_Union[AlterPartitioningSettings, _Mapping]] = ..., set_retention_period: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ..., set_retention_storage_mb: _Optional[int] = ..., set_supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., set_partition_write_speed_bytes_per_second: _Optional[int] = ..., set_partition_write_burst_bytes: _Optional[int] = ..., alter_attributes: _Optional[_Mapping[str, str]] = ..., add_consumers: _Optional[_Iterable[_Union[Consumer, _Mapping]]] = ..., drop_consumers: _Optional[_Iterable[str]] = ..., alter_consumers: _Optional[_Iterable[_Union[AlterConsumer, _Mapping]]] = ..., set_metering_mode: _Optional[_Union[MeteringMode, str]] = ...) -> None: ... + set_metrics_level: int + reset_metrics_level: _empty_pb2.Empty + set_content_based_deduplication: bool + def __init__(self, operation_params: _Optional[_Union[_ydb_operation_pb2.OperationParams, _Mapping]] = ..., path: _Optional[str] = ..., alter_partitioning_settings: _Optional[_Union[AlterPartitioningSettings, _Mapping]] = ..., set_retention_period: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ..., set_retention_storage_mb: _Optional[int] = ..., set_supported_codecs: _Optional[_Union[SupportedCodecs, _Mapping]] = ..., set_partition_write_speed_bytes_per_second: _Optional[int] = ..., set_partition_write_burst_bytes: _Optional[int] = ..., alter_attributes: _Optional[_Mapping[str, str]] = ..., add_consumers: _Optional[_Iterable[_Union[Consumer, _Mapping]]] = ..., drop_consumers: _Optional[_Iterable[str]] = ..., alter_consumers: _Optional[_Iterable[_Union[AlterConsumer, _Mapping]]] = ..., set_metering_mode: _Optional[_Union[MeteringMode, str]] = ..., set_metrics_level: _Optional[int] = ..., reset_metrics_level: _Optional[_Union[_empty_pb2.Empty, _Mapping]] = ..., set_content_based_deduplication: bool = ...) -> None: ... class AlterTopicResponse(_message.Message): __slots__ = ("operation",) diff --git a/ydb/_grpc/v6/ydb_table_v1_pb2.py b/ydb/_grpc/v6/ydb_table_v1_pb2.py index 64a36e1e4..55b968467 100644 --- a/ydb/_grpc/v6/ydb_table_v1_pb2.py +++ b/ydb/_grpc/v6/ydb_table_v1_pb2.py @@ -26,7 +26,7 @@ from ydb._grpc.v6.protos import ydb_table_pb2 as protos_dot_ydb__table__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12ydb_table_v1.proto\x12\x0cYdb.Table.V1\x1a\x16protos/ydb_table.proto2\xe9\x0e\n\x0cTableService\x12R\n\rCreateSession\x12\x1f.Ydb.Table.CreateSessionRequest\x1a .Ydb.Table.CreateSessionResponse\x12R\n\rDeleteSession\x12\x1f.Ydb.Table.DeleteSessionRequest\x1a .Ydb.Table.DeleteSessionResponse\x12\x46\n\tKeepAlive\x12\x1b.Ydb.Table.KeepAliveRequest\x1a\x1c.Ydb.Table.KeepAliveResponse\x12L\n\x0b\x43reateTable\x12\x1d.Ydb.Table.CreateTableRequest\x1a\x1e.Ydb.Table.CreateTableResponse\x12\x46\n\tDropTable\x12\x1b.Ydb.Table.DropTableRequest\x1a\x1c.Ydb.Table.DropTableResponse\x12I\n\nAlterTable\x12\x1c.Ydb.Table.AlterTableRequest\x1a\x1d.Ydb.Table.AlterTableResponse\x12\x46\n\tCopyTable\x12\x1b.Ydb.Table.CopyTableRequest\x1a\x1c.Ydb.Table.CopyTableResponse\x12I\n\nCopyTables\x12\x1c.Ydb.Table.CopyTablesRequest\x1a\x1d.Ydb.Table.CopyTablesResponse\x12O\n\x0cRenameTables\x12\x1e.Ydb.Table.RenameTablesRequest\x1a\x1f.Ydb.Table.RenameTablesResponse\x12R\n\rDescribeTable\x12\x1f.Ydb.Table.DescribeTableRequest\x1a .Ydb.Table.DescribeTableResponse\x12[\n\x10\x45xplainDataQuery\x12\".Ydb.Table.ExplainDataQueryRequest\x1a#.Ydb.Table.ExplainDataQueryResponse\x12[\n\x10PrepareDataQuery\x12\".Ydb.Table.PrepareDataQueryRequest\x1a#.Ydb.Table.PrepareDataQueryResponse\x12[\n\x10\x45xecuteDataQuery\x12\".Ydb.Table.ExecuteDataQueryRequest\x1a#.Ydb.Table.ExecuteDataQueryResponse\x12\x61\n\x12\x45xecuteSchemeQuery\x12$.Ydb.Table.ExecuteSchemeQueryRequest\x1a%.Ydb.Table.ExecuteSchemeQueryResponse\x12[\n\x10\x42\x65ginTransaction\x12\".Ydb.Table.BeginTransactionRequest\x1a#.Ydb.Table.BeginTransactionResponse\x12^\n\x11\x43ommitTransaction\x12#.Ydb.Table.CommitTransactionRequest\x1a$.Ydb.Table.CommitTransactionResponse\x12\x64\n\x13RollbackTransaction\x12%.Ydb.Table.RollbackTransactionRequest\x1a&.Ydb.Table.RollbackTransactionResponse\x12g\n\x14\x44\x65scribeTableOptions\x12&.Ydb.Table.DescribeTableOptionsRequest\x1a\'.Ydb.Table.DescribeTableOptionsResponse\x12N\n\x0fStreamReadTable\x12\x1b.Ydb.Table.ReadTableRequest\x1a\x1c.Ydb.Table.ReadTableResponse0\x01\x12\x43\n\x08ReadRows\x12\x1a.Ydb.Table.ReadRowsRequest\x1a\x1b.Ydb.Table.ReadRowsResponse\x12I\n\nBulkUpsert\x12\x1c.Ydb.Table.BulkUpsertRequest\x1a\x1d.Ydb.Table.BulkUpsertResponse\x12j\n\x16StreamExecuteScanQuery\x12\".Ydb.Table.ExecuteScanQueryRequest\x1a*.Ydb.Table.ExecuteScanQueryPartialResponse0\x01\x42O\n\x17tech.ydb.proto.table.v1Z4github.com/ydb-platform/ydb-go-genproto/Ydb_Table_V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12ydb_table_v1.proto\x12\x0cYdb.Table.V1\x1a\x16protos/ydb_table.proto2\xb3\x11\n\x0cTableService\x12R\n\rCreateSession\x12\x1f.Ydb.Table.CreateSessionRequest\x1a .Ydb.Table.CreateSessionResponse\x12R\n\rDeleteSession\x12\x1f.Ydb.Table.DeleteSessionRequest\x1a .Ydb.Table.DeleteSessionResponse\x12\x46\n\tKeepAlive\x12\x1b.Ydb.Table.KeepAliveRequest\x1a\x1c.Ydb.Table.KeepAliveResponse\x12L\n\x0b\x43reateTable\x12\x1d.Ydb.Table.CreateTableRequest\x1a\x1e.Ydb.Table.CreateTableResponse\x12\x46\n\tDropTable\x12\x1b.Ydb.Table.DropTableRequest\x1a\x1c.Ydb.Table.DropTableResponse\x12I\n\nAlterTable\x12\x1c.Ydb.Table.AlterTableRequest\x1a\x1d.Ydb.Table.AlterTableResponse\x12\x46\n\tCopyTable\x12\x1b.Ydb.Table.CopyTableRequest\x1a\x1c.Ydb.Table.CopyTableResponse\x12I\n\nCopyTables\x12\x1c.Ydb.Table.CopyTablesRequest\x1a\x1d.Ydb.Table.CopyTablesResponse\x12O\n\x0cRenameTables\x12\x1e.Ydb.Table.RenameTablesRequest\x1a\x1f.Ydb.Table.RenameTablesResponse\x12R\n\rDescribeTable\x12\x1f.Ydb.Table.DescribeTableRequest\x1a .Ydb.Table.DescribeTableResponse\x12[\n\x10\x45xplainDataQuery\x12\".Ydb.Table.ExplainDataQueryRequest\x1a#.Ydb.Table.ExplainDataQueryResponse\x12[\n\x10PrepareDataQuery\x12\".Ydb.Table.PrepareDataQueryRequest\x1a#.Ydb.Table.PrepareDataQueryResponse\x12[\n\x10\x45xecuteDataQuery\x12\".Ydb.Table.ExecuteDataQueryRequest\x1a#.Ydb.Table.ExecuteDataQueryResponse\x12\x61\n\x12\x45xecuteSchemeQuery\x12$.Ydb.Table.ExecuteSchemeQueryRequest\x1a%.Ydb.Table.ExecuteSchemeQueryResponse\x12[\n\x10\x42\x65ginTransaction\x12\".Ydb.Table.BeginTransactionRequest\x1a#.Ydb.Table.BeginTransactionResponse\x12^\n\x11\x43ommitTransaction\x12#.Ydb.Table.CommitTransactionRequest\x1a$.Ydb.Table.CommitTransactionResponse\x12\x64\n\x13RollbackTransaction\x12%.Ydb.Table.RollbackTransactionRequest\x1a&.Ydb.Table.RollbackTransactionResponse\x12g\n\x14\x44\x65scribeTableOptions\x12&.Ydb.Table.DescribeTableOptionsRequest\x1a\'.Ydb.Table.DescribeTableOptionsResponse\x12N\n\x0fStreamReadTable\x12\x1b.Ydb.Table.ReadTableRequest\x1a\x1c.Ydb.Table.ReadTableResponse0\x01\x12\x43\n\x08ReadRows\x12\x1a.Ydb.Table.ReadRowsRequest\x1a\x1b.Ydb.Table.ReadRowsResponse\x12I\n\nBulkUpsert\x12\x1c.Ydb.Table.BulkUpsertRequest\x1a\x1d.Ydb.Table.BulkUpsertResponse\x12j\n\x16StreamExecuteScanQuery\x12\".Ydb.Table.ExecuteScanQueryRequest\x1a*.Ydb.Table.ExecuteScanQueryPartialResponse0\x01\x12y\n\x1a\x44\x65scribeExternalDataSource\x12,.Ydb.Table.DescribeExternalDataSourceRequest\x1a-.Ydb.Table.DescribeExternalDataSourceResponse\x12j\n\x15\x44\x65scribeExternalTable\x12\'.Ydb.Table.DescribeExternalTableRequest\x1a(.Ydb.Table.DescribeExternalTableResponse\x12\x61\n\x12\x44\x65scribeSystemView\x12$.Ydb.Table.DescribeSystemViewRequest\x1a%.Ydb.Table.DescribeSystemViewResponseBO\n\x17tech.ydb.proto.table.v1Z4github.com/ydb-platform/ydb-go-genproto/Ydb_Table_V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -35,5 +35,5 @@ _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\027tech.ydb.proto.table.v1Z4github.com/ydb-platform/ydb-go-genproto/Ydb_Table_V1' _globals['_TABLESERVICE']._serialized_start=61 - _globals['_TABLESERVICE']._serialized_end=1958 + _globals['_TABLESERVICE']._serialized_end=2288 # @@protoc_insertion_point(module_scope) diff --git a/ydb/_grpc/v6/ydb_table_v1_pb2_grpc.py b/ydb/_grpc/v6/ydb_table_v1_pb2_grpc.py index be3124ccb..60a1d5832 100644 --- a/ydb/_grpc/v6/ydb_table_v1_pb2_grpc.py +++ b/ydb/_grpc/v6/ydb_table_v1_pb2_grpc.py @@ -144,6 +144,21 @@ def __init__(self, channel): request_serializer=protos_dot_ydb__table__pb2.ExecuteScanQueryRequest.SerializeToString, response_deserializer=protos_dot_ydb__table__pb2.ExecuteScanQueryPartialResponse.FromString, _registered_method=True) + self.DescribeExternalDataSource = channel.unary_unary( + '/Ydb.Table.V1.TableService/DescribeExternalDataSource', + request_serializer=protos_dot_ydb__table__pb2.DescribeExternalDataSourceRequest.SerializeToString, + response_deserializer=protos_dot_ydb__table__pb2.DescribeExternalDataSourceResponse.FromString, + _registered_method=True) + self.DescribeExternalTable = channel.unary_unary( + '/Ydb.Table.V1.TableService/DescribeExternalTable', + request_serializer=protos_dot_ydb__table__pb2.DescribeExternalTableRequest.SerializeToString, + response_deserializer=protos_dot_ydb__table__pb2.DescribeExternalTableResponse.FromString, + _registered_method=True) + self.DescribeSystemView = channel.unary_unary( + '/Ydb.Table.V1.TableService/DescribeSystemView', + request_serializer=protos_dot_ydb__table__pb2.DescribeSystemViewRequest.SerializeToString, + response_deserializer=protos_dot_ydb__table__pb2.DescribeSystemViewResponse.FromString, + _registered_method=True) class TableServiceServicer(object): @@ -153,7 +168,7 @@ def CreateSession(self, request, context): """Create new session. Implicit session creation is forbidden, so user must create new session before execute any query, otherwise BAD_SESSION status will be returned. - Simultaneous execution of requests are forbiden. + Simultaneous execution of requests are forbidden. Sessions are volatile, can be invalidated by server, for example in case of fatal errors. All requests with this session will fail with BAD_SESSION status. So, client must be able to handle BAD_SESSION status. @@ -315,6 +330,27 @@ def StreamExecuteScanQuery(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def DescribeExternalDataSource(self, request, context): + """Returns information about a given external data source. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DescribeExternalTable(self, request, context): + """Returns information about a given external table. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DescribeSystemView(self, request, context): + """Returns information about a given system view table. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_TableServiceServicer_to_server(servicer, server): rpc_method_handlers = { @@ -428,6 +464,21 @@ def add_TableServiceServicer_to_server(servicer, server): request_deserializer=protos_dot_ydb__table__pb2.ExecuteScanQueryRequest.FromString, response_serializer=protos_dot_ydb__table__pb2.ExecuteScanQueryPartialResponse.SerializeToString, ), + 'DescribeExternalDataSource': grpc.unary_unary_rpc_method_handler( + servicer.DescribeExternalDataSource, + request_deserializer=protos_dot_ydb__table__pb2.DescribeExternalDataSourceRequest.FromString, + response_serializer=protos_dot_ydb__table__pb2.DescribeExternalDataSourceResponse.SerializeToString, + ), + 'DescribeExternalTable': grpc.unary_unary_rpc_method_handler( + servicer.DescribeExternalTable, + request_deserializer=protos_dot_ydb__table__pb2.DescribeExternalTableRequest.FromString, + response_serializer=protos_dot_ydb__table__pb2.DescribeExternalTableResponse.SerializeToString, + ), + 'DescribeSystemView': grpc.unary_unary_rpc_method_handler( + servicer.DescribeSystemView, + request_deserializer=protos_dot_ydb__table__pb2.DescribeSystemViewRequest.FromString, + response_serializer=protos_dot_ydb__table__pb2.DescribeSystemViewResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'Ydb.Table.V1.TableService', rpc_method_handlers) @@ -1032,3 +1083,84 @@ def StreamExecuteScanQuery(request, timeout, metadata, _registered_method=True) + + @staticmethod + def DescribeExternalDataSource(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/Ydb.Table.V1.TableService/DescribeExternalDataSource', + protos_dot_ydb__table__pb2.DescribeExternalDataSourceRequest.SerializeToString, + protos_dot_ydb__table__pb2.DescribeExternalDataSourceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DescribeExternalTable(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/Ydb.Table.V1.TableService/DescribeExternalTable', + protos_dot_ydb__table__pb2.DescribeExternalTableRequest.SerializeToString, + protos_dot_ydb__table__pb2.DescribeExternalTableResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DescribeSystemView(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/Ydb.Table.V1.TableService/DescribeSystemView', + protos_dot_ydb__table__pb2.DescribeSystemViewRequest.SerializeToString, + protos_dot_ydb__table__pb2.DescribeSystemViewResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/ydb/aio/query/session.py b/ydb/aio/query/session.py index b776b6382..1c0db50ad 100644 --- a/ydb/aio/query/session.py +++ b/ydb/aio/query/session.py @@ -14,7 +14,6 @@ from .. import _utilities from ... import issues from ...settings import BaseRequestSettings -from ..._grpc.grpcwrapper import common_utils from ..._grpc.grpcwrapper import ydb_query_public_types as _ydb_query_public from ...query import base @@ -53,7 +52,7 @@ async def _attach(self) -> None: self._stream = await self._attach_call() self._status_stream = _utilities.AsyncResponseIterator( self._stream, - lambda response: common_utils.ServerStatus.from_proto(response), + self._attach_stream_wrapper, ) try: diff --git a/ydb/query/session.py b/ydb/query/session.py index a9c1b4a50..9f522b0e8 100644 --- a/ydb/query/session.py +++ b/ydb/query/session.py @@ -1,4 +1,5 @@ import abc +import asyncio import json import logging import threading @@ -156,6 +157,54 @@ def _check_session_ready_to_use(self) -> None: if self._closed: raise RuntimeError(f"Session is not active, session_id: {self._session_id}, closed: {self._closed}") + def _attach_stream_wrapper(self, response_pb): + """Map attach-stream protobuf frames to ServerStatus and handle session hints.""" + self._handle_attach_session_state(response_pb) + return common_utils.ServerStatus.from_proto(response_pb) + + def _handle_attach_session_state(self, response_pb) -> None: + """Retire the session when the server sends a shutdown hint on the attach stream.""" + if response_pb is None: + return + + hint = response_pb.WhichOneof("session_hint") + if hint == "node_shutdown": + self._pessimize_node_by_id(self._node_id) + self._close_session(invalidate=True) + elif hint == "session_shutdown": + self._close_session(invalidate=True) + + def _pessimize_node_by_id(self, node_id: Optional[int]) -> None: + """Deprioritize the node's connection (same effect as a transport failure).""" + if node_id is None or node_id <= 0: + return + + store = getattr(self._driver, "_store", None) + if store is None: + return + + connection = getattr(store, "connections_by_node_id", {}).get(node_id) + if connection is None: + return + + on_disconnected = getattr(self._driver, "_on_disconnected", None) + if on_disconnected is None: + connection.close() + return + + disconnect_cb = on_disconnected(connection) + if disconnect_cb is None: + return + + if asyncio.iscoroutinefunction(disconnect_cb): + loop = getattr(self, "_loop", None) + if loop is not None and loop.is_running(): + loop.create_task(disconnect_cb()) + return + + if callable(disconnect_cb): + disconnect_cb() + def _close_session(self, invalidate: bool = False) -> None: if self._closed: return @@ -362,7 +411,7 @@ def _attach(self, first_resp_timeout: int = DEFAULT_INITIAL_RESPONSE_TIMEOUT) -> self._stream = self._attach_call() status_stream = _utilities.SyncResponseIterator( self._stream, - lambda response: common_utils.ServerStatus.from_proto(response), + self._attach_stream_wrapper, ) try: