2025-11-07 02:30:02 +00:00
|
|
|
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 ReadConfig(_message.Message):
|
2026-03-03 13:30:27 +00:00
|
|
|
__slots__ = ("parser_engine", "parser_engine_overrides")
|
2026-02-28 05:22:07 +00:00
|
|
|
class ParserEngineOverridesEntry(_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: ...
|
|
|
|
|
PARSER_ENGINE_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
PARSER_ENGINE_OVERRIDES_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
parser_engine: str
|
|
|
|
|
parser_engine_overrides: _containers.ScalarMap[str, str]
|
2026-03-03 13:30:27 +00:00
|
|
|
def __init__(self, parser_engine: _Optional[str] = ..., parser_engine_overrides: _Optional[_Mapping[str, str]] = ...) -> None: ...
|
2025-11-07 02:30:02 +00:00
|
|
|
|
2026-02-28 05:22:07 +00:00
|
|
|
class ReadRequest(_message.Message):
|
|
|
|
|
__slots__ = ("file_content", "file_name", "file_type", "url", "title", "config", "request_id")
|
2025-11-07 02:30:02 +00:00
|
|
|
FILE_CONTENT_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
FILE_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
FILE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
2026-02-28 05:22:07 +00:00
|
|
|
URL_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
TITLE_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
CONFIG_FIELD_NUMBER: _ClassVar[int]
|
2025-11-07 02:30:02 +00:00
|
|
|
REQUEST_ID_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
file_content: bytes
|
|
|
|
|
file_name: str
|
|
|
|
|
file_type: str
|
|
|
|
|
url: str
|
|
|
|
|
title: str
|
2026-02-28 05:22:07 +00:00
|
|
|
config: ReadConfig
|
2025-11-07 02:30:02 +00:00
|
|
|
request_id: str
|
2026-02-28 05:22:07 +00:00
|
|
|
def __init__(self, file_content: _Optional[bytes] = ..., file_name: _Optional[str] = ..., file_type: _Optional[str] = ..., url: _Optional[str] = ..., title: _Optional[str] = ..., config: _Optional[_Union[ReadConfig, _Mapping]] = ..., request_id: _Optional[str] = ...) -> None: ...
|
2025-11-07 02:30:02 +00:00
|
|
|
|
2026-02-28 05:22:07 +00:00
|
|
|
class ImageRef(_message.Message):
|
|
|
|
|
__slots__ = ("filename", "original_ref", "mime_type", "storage_key", "image_data")
|
|
|
|
|
FILENAME_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
ORIGINAL_REF_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
MIME_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
STORAGE_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
IMAGE_DATA_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
filename: str
|
|
|
|
|
original_ref: str
|
|
|
|
|
mime_type: str
|
|
|
|
|
storage_key: str
|
|
|
|
|
image_data: bytes
|
|
|
|
|
def __init__(self, filename: _Optional[str] = ..., original_ref: _Optional[str] = ..., mime_type: _Optional[str] = ..., storage_key: _Optional[str] = ..., image_data: _Optional[bytes] = ...) -> None: ...
|
2025-11-07 02:30:02 +00:00
|
|
|
|
feat(chat): open cited documents at the cited passage (#3700)
* feat(chat): open cited documents at the cited passage
Clicking a citation used to show only the parsed chunk. It now opens the
original file in the references panel, jumps to the cited place and
highlights it, narrowed to the sentence the citation supports.
Parsing records where each chunk sits in the original file
(chunks.source_locators): PDF page and paragraph boxes from the docreader,
MinerU and PaddleOCR-VL layouts; Word paragraphs, slides, sheet rows and
EPUB chapters aligned in Go against any parser engine's Markdown; text
offsets for Markdown/TXT; segment times for audio. Pipeline text rewrites
are followed with a line-diff remapper. Scanned PDF pages get their OCR
text as quotes at search time so a sentence can pick its page.
The frontend renders PDFs with pdf.js and every other previewable type
with the existing preview, then highlights with the CSS Custom Highlight
API in a highlighter yellow that stays visible against the brand green.
* fix(docreader): serialize source blocks outside main so tests import it
test_docx_tables stubs docreader.parser in sys.modules, so importing
docreader.main from a later test failed in the full unittest discover run.
The wire conversion now lives in docreader.source_wire, which needs only
the proto.
* fix(chat): tighten source locators from review
- Remap rewritten-line-for-line stretches by line so scanned PDF pages
no longer drift onto the wrong page.
- Keep the source preview mounted for citations in the file already open.
- Wait for in-flight PDF page renders before looking for the text layer.
- Count image rune offsets in one pass; stream xlsx rows up to maxUnits.
- Start text locators after a UTF-8 BOM, as viewers decode without it.
- Only re-query image children for scanned-page results.
- Seek audio citations without autoplay and drop stale seek listeners.
- Fix the SQLite migration's cross-reference to versioned/000113.
* fix(migrations): renumber chunk source locators after main's chunk_images
main took versioned 000113 and sqlite 000032 for chunk_images, so the
source_locators column moves to versioned 000114 and sqlite 000033.
2026-09-25 05:26:16 +00:00
|
|
|
class SourceBlock(_message.Message):
|
|
|
|
|
__slots__ = ("start", "end", "locator_json")
|
|
|
|
|
START_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
END_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
LOCATOR_JSON_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
start: int
|
|
|
|
|
end: int
|
|
|
|
|
locator_json: str
|
|
|
|
|
def __init__(self, start: _Optional[int] = ..., end: _Optional[int] = ..., locator_json: _Optional[str] = ...) -> None: ...
|
|
|
|
|
|
2025-11-07 02:30:02 +00:00
|
|
|
class ReadResponse(_message.Message):
|
feat(chat): open cited documents at the cited passage (#3700)
* feat(chat): open cited documents at the cited passage
Clicking a citation used to show only the parsed chunk. It now opens the
original file in the references panel, jumps to the cited place and
highlights it, narrowed to the sentence the citation supports.
Parsing records where each chunk sits in the original file
(chunks.source_locators): PDF page and paragraph boxes from the docreader,
MinerU and PaddleOCR-VL layouts; Word paragraphs, slides, sheet rows and
EPUB chapters aligned in Go against any parser engine's Markdown; text
offsets for Markdown/TXT; segment times for audio. Pipeline text rewrites
are followed with a line-diff remapper. Scanned PDF pages get their OCR
text as quotes at search time so a sentence can pick its page.
The frontend renders PDFs with pdf.js and every other previewable type
with the existing preview, then highlights with the CSS Custom Highlight
API in a highlighter yellow that stays visible against the brand green.
* fix(docreader): serialize source blocks outside main so tests import it
test_docx_tables stubs docreader.parser in sys.modules, so importing
docreader.main from a later test failed in the full unittest discover run.
The wire conversion now lives in docreader.source_wire, which needs only
the proto.
* fix(chat): tighten source locators from review
- Remap rewritten-line-for-line stretches by line so scanned PDF pages
no longer drift onto the wrong page.
- Keep the source preview mounted for citations in the file already open.
- Wait for in-flight PDF page renders before looking for the text layer.
- Count image rune offsets in one pass; stream xlsx rows up to maxUnits.
- Start text locators after a UTF-8 BOM, as viewers decode without it.
- Only re-query image children for scanned-page results.
- Seek audio citations without autoplay and drop stale seek listeners.
- Fix the SQLite migration's cross-reference to versioned/000113.
* fix(migrations): renumber chunk source locators after main's chunk_images
main took versioned 000113 and sqlite 000032 for chunk_images, so the
source_locators column moves to versioned 000114 and sqlite 000033.
2026-09-25 05:26:16 +00:00
|
|
|
__slots__ = ("markdown_content", "image_refs", "image_dir_path", "metadata", "error", "source_blocks")
|
2026-02-28 05:22:07 +00:00
|
|
|
class MetadataEntry(_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: ...
|
|
|
|
|
MARKDOWN_CONTENT_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
IMAGE_REFS_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
IMAGE_DIR_PATH_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
ERROR_FIELD_NUMBER: _ClassVar[int]
|
feat(chat): open cited documents at the cited passage (#3700)
* feat(chat): open cited documents at the cited passage
Clicking a citation used to show only the parsed chunk. It now opens the
original file in the references panel, jumps to the cited place and
highlights it, narrowed to the sentence the citation supports.
Parsing records where each chunk sits in the original file
(chunks.source_locators): PDF page and paragraph boxes from the docreader,
MinerU and PaddleOCR-VL layouts; Word paragraphs, slides, sheet rows and
EPUB chapters aligned in Go against any parser engine's Markdown; text
offsets for Markdown/TXT; segment times for audio. Pipeline text rewrites
are followed with a line-diff remapper. Scanned PDF pages get their OCR
text as quotes at search time so a sentence can pick its page.
The frontend renders PDFs with pdf.js and every other previewable type
with the existing preview, then highlights with the CSS Custom Highlight
API in a highlighter yellow that stays visible against the brand green.
* fix(docreader): serialize source blocks outside main so tests import it
test_docx_tables stubs docreader.parser in sys.modules, so importing
docreader.main from a later test failed in the full unittest discover run.
The wire conversion now lives in docreader.source_wire, which needs only
the proto.
* fix(chat): tighten source locators from review
- Remap rewritten-line-for-line stretches by line so scanned PDF pages
no longer drift onto the wrong page.
- Keep the source preview mounted for citations in the file already open.
- Wait for in-flight PDF page renders before looking for the text layer.
- Count image rune offsets in one pass; stream xlsx rows up to maxUnits.
- Start text locators after a UTF-8 BOM, as viewers decode without it.
- Only re-query image children for scanned-page results.
- Seek audio citations without autoplay and drop stale seek listeners.
- Fix the SQLite migration's cross-reference to versioned/000113.
* fix(migrations): renumber chunk source locators after main's chunk_images
main took versioned 000113 and sqlite 000032 for chunk_images, so the
source_locators column moves to versioned 000114 and sqlite 000033.
2026-09-25 05:26:16 +00:00
|
|
|
SOURCE_BLOCKS_FIELD_NUMBER: _ClassVar[int]
|
2026-02-28 05:22:07 +00:00
|
|
|
markdown_content: str
|
|
|
|
|
image_refs: _containers.RepeatedCompositeFieldContainer[ImageRef]
|
|
|
|
|
image_dir_path: str
|
|
|
|
|
metadata: _containers.ScalarMap[str, str]
|
|
|
|
|
error: str
|
feat(chat): open cited documents at the cited passage (#3700)
* feat(chat): open cited documents at the cited passage
Clicking a citation used to show only the parsed chunk. It now opens the
original file in the references panel, jumps to the cited place and
highlights it, narrowed to the sentence the citation supports.
Parsing records where each chunk sits in the original file
(chunks.source_locators): PDF page and paragraph boxes from the docreader,
MinerU and PaddleOCR-VL layouts; Word paragraphs, slides, sheet rows and
EPUB chapters aligned in Go against any parser engine's Markdown; text
offsets for Markdown/TXT; segment times for audio. Pipeline text rewrites
are followed with a line-diff remapper. Scanned PDF pages get their OCR
text as quotes at search time so a sentence can pick its page.
The frontend renders PDFs with pdf.js and every other previewable type
with the existing preview, then highlights with the CSS Custom Highlight
API in a highlighter yellow that stays visible against the brand green.
* fix(docreader): serialize source blocks outside main so tests import it
test_docx_tables stubs docreader.parser in sys.modules, so importing
docreader.main from a later test failed in the full unittest discover run.
The wire conversion now lives in docreader.source_wire, which needs only
the proto.
* fix(chat): tighten source locators from review
- Remap rewritten-line-for-line stretches by line so scanned PDF pages
no longer drift onto the wrong page.
- Keep the source preview mounted for citations in the file already open.
- Wait for in-flight PDF page renders before looking for the text layer.
- Count image rune offsets in one pass; stream xlsx rows up to maxUnits.
- Start text locators after a UTF-8 BOM, as viewers decode without it.
- Only re-query image children for scanned-page results.
- Seek audio citations without autoplay and drop stale seek listeners.
- Fix the SQLite migration's cross-reference to versioned/000113.
* fix(migrations): renumber chunk source locators after main's chunk_images
main took versioned 000113 and sqlite 000032 for chunk_images, so the
source_locators column moves to versioned 000114 and sqlite 000033.
2026-09-25 05:26:16 +00:00
|
|
|
source_blocks: _containers.RepeatedCompositeFieldContainer[SourceBlock]
|
|
|
|
|
def __init__(self, markdown_content: _Optional[str] = ..., image_refs: _Optional[_Iterable[_Union[ImageRef, _Mapping]]] = ..., image_dir_path: _Optional[str] = ..., metadata: _Optional[_Mapping[str, str]] = ..., error: _Optional[str] = ..., source_blocks: _Optional[_Iterable[_Union[SourceBlock, _Mapping]]] = ...) -> None: ...
|
2026-02-28 05:22:07 +00:00
|
|
|
|
2026-06-02 01:50:09 +00:00
|
|
|
class ReadStreamMeta(_message.Message):
|
feat(chat): open cited documents at the cited passage (#3700)
* feat(chat): open cited documents at the cited passage
Clicking a citation used to show only the parsed chunk. It now opens the
original file in the references panel, jumps to the cited place and
highlights it, narrowed to the sentence the citation supports.
Parsing records where each chunk sits in the original file
(chunks.source_locators): PDF page and paragraph boxes from the docreader,
MinerU and PaddleOCR-VL layouts; Word paragraphs, slides, sheet rows and
EPUB chapters aligned in Go against any parser engine's Markdown; text
offsets for Markdown/TXT; segment times for audio. Pipeline text rewrites
are followed with a line-diff remapper. Scanned PDF pages get their OCR
text as quotes at search time so a sentence can pick its page.
The frontend renders PDFs with pdf.js and every other previewable type
with the existing preview, then highlights with the CSS Custom Highlight
API in a highlighter yellow that stays visible against the brand green.
* fix(docreader): serialize source blocks outside main so tests import it
test_docx_tables stubs docreader.parser in sys.modules, so importing
docreader.main from a later test failed in the full unittest discover run.
The wire conversion now lives in docreader.source_wire, which needs only
the proto.
* fix(chat): tighten source locators from review
- Remap rewritten-line-for-line stretches by line so scanned PDF pages
no longer drift onto the wrong page.
- Keep the source preview mounted for citations in the file already open.
- Wait for in-flight PDF page renders before looking for the text layer.
- Count image rune offsets in one pass; stream xlsx rows up to maxUnits.
- Start text locators after a UTF-8 BOM, as viewers decode without it.
- Only re-query image children for scanned-page results.
- Seek audio citations without autoplay and drop stale seek listeners.
- Fix the SQLite migration's cross-reference to versioned/000113.
* fix(migrations): renumber chunk source locators after main's chunk_images
main took versioned 000113 and sqlite 000032 for chunk_images, so the
source_locators column moves to versioned 000114 and sqlite 000033.
2026-09-25 05:26:16 +00:00
|
|
|
__slots__ = ("markdown_content", "image_dir_path", "metadata", "error", "image_count", "source_blocks")
|
2026-06-02 01:50:09 +00:00
|
|
|
class MetadataEntry(_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: ...
|
|
|
|
|
MARKDOWN_CONTENT_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
IMAGE_DIR_PATH_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
ERROR_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
IMAGE_COUNT_FIELD_NUMBER: _ClassVar[int]
|
feat(chat): open cited documents at the cited passage (#3700)
* feat(chat): open cited documents at the cited passage
Clicking a citation used to show only the parsed chunk. It now opens the
original file in the references panel, jumps to the cited place and
highlights it, narrowed to the sentence the citation supports.
Parsing records where each chunk sits in the original file
(chunks.source_locators): PDF page and paragraph boxes from the docreader,
MinerU and PaddleOCR-VL layouts; Word paragraphs, slides, sheet rows and
EPUB chapters aligned in Go against any parser engine's Markdown; text
offsets for Markdown/TXT; segment times for audio. Pipeline text rewrites
are followed with a line-diff remapper. Scanned PDF pages get their OCR
text as quotes at search time so a sentence can pick its page.
The frontend renders PDFs with pdf.js and every other previewable type
with the existing preview, then highlights with the CSS Custom Highlight
API in a highlighter yellow that stays visible against the brand green.
* fix(docreader): serialize source blocks outside main so tests import it
test_docx_tables stubs docreader.parser in sys.modules, so importing
docreader.main from a later test failed in the full unittest discover run.
The wire conversion now lives in docreader.source_wire, which needs only
the proto.
* fix(chat): tighten source locators from review
- Remap rewritten-line-for-line stretches by line so scanned PDF pages
no longer drift onto the wrong page.
- Keep the source preview mounted for citations in the file already open.
- Wait for in-flight PDF page renders before looking for the text layer.
- Count image rune offsets in one pass; stream xlsx rows up to maxUnits.
- Start text locators after a UTF-8 BOM, as viewers decode without it.
- Only re-query image children for scanned-page results.
- Seek audio citations without autoplay and drop stale seek listeners.
- Fix the SQLite migration's cross-reference to versioned/000113.
* fix(migrations): renumber chunk source locators after main's chunk_images
main took versioned 000113 and sqlite 000032 for chunk_images, so the
source_locators column moves to versioned 000114 and sqlite 000033.
2026-09-25 05:26:16 +00:00
|
|
|
SOURCE_BLOCKS_FIELD_NUMBER: _ClassVar[int]
|
2026-06-02 01:50:09 +00:00
|
|
|
markdown_content: str
|
|
|
|
|
image_dir_path: str
|
|
|
|
|
metadata: _containers.ScalarMap[str, str]
|
|
|
|
|
error: str
|
|
|
|
|
image_count: int
|
feat(chat): open cited documents at the cited passage (#3700)
* feat(chat): open cited documents at the cited passage
Clicking a citation used to show only the parsed chunk. It now opens the
original file in the references panel, jumps to the cited place and
highlights it, narrowed to the sentence the citation supports.
Parsing records where each chunk sits in the original file
(chunks.source_locators): PDF page and paragraph boxes from the docreader,
MinerU and PaddleOCR-VL layouts; Word paragraphs, slides, sheet rows and
EPUB chapters aligned in Go against any parser engine's Markdown; text
offsets for Markdown/TXT; segment times for audio. Pipeline text rewrites
are followed with a line-diff remapper. Scanned PDF pages get their OCR
text as quotes at search time so a sentence can pick its page.
The frontend renders PDFs with pdf.js and every other previewable type
with the existing preview, then highlights with the CSS Custom Highlight
API in a highlighter yellow that stays visible against the brand green.
* fix(docreader): serialize source blocks outside main so tests import it
test_docx_tables stubs docreader.parser in sys.modules, so importing
docreader.main from a later test failed in the full unittest discover run.
The wire conversion now lives in docreader.source_wire, which needs only
the proto.
* fix(chat): tighten source locators from review
- Remap rewritten-line-for-line stretches by line so scanned PDF pages
no longer drift onto the wrong page.
- Keep the source preview mounted for citations in the file already open.
- Wait for in-flight PDF page renders before looking for the text layer.
- Count image rune offsets in one pass; stream xlsx rows up to maxUnits.
- Start text locators after a UTF-8 BOM, as viewers decode without it.
- Only re-query image children for scanned-page results.
- Seek audio citations without autoplay and drop stale seek listeners.
- Fix the SQLite migration's cross-reference to versioned/000113.
* fix(migrations): renumber chunk source locators after main's chunk_images
main took versioned 000113 and sqlite 000032 for chunk_images, so the
source_locators column moves to versioned 000114 and sqlite 000033.
2026-09-25 05:26:16 +00:00
|
|
|
source_blocks: _containers.RepeatedCompositeFieldContainer[SourceBlock]
|
|
|
|
|
def __init__(self, markdown_content: _Optional[str] = ..., image_dir_path: _Optional[str] = ..., metadata: _Optional[_Mapping[str, str]] = ..., error: _Optional[str] = ..., image_count: _Optional[int] = ..., source_blocks: _Optional[_Iterable[_Union[SourceBlock, _Mapping]]] = ...) -> None: ...
|
2026-06-02 01:50:09 +00:00
|
|
|
|
|
|
|
|
class ReadStreamResponse(_message.Message):
|
|
|
|
|
__slots__ = ("meta", "image")
|
|
|
|
|
META_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
IMAGE_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
meta: ReadStreamMeta
|
|
|
|
|
image: ImageRef
|
|
|
|
|
def __init__(self, meta: _Optional[_Union[ReadStreamMeta, _Mapping]] = ..., image: _Optional[_Union[ImageRef, _Mapping]] = ...) -> None: ...
|
|
|
|
|
|
2026-02-28 05:22:07 +00:00
|
|
|
class ListEnginesRequest(_message.Message):
|
|
|
|
|
__slots__ = ("config_overrides",)
|
|
|
|
|
class ConfigOverridesEntry(_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: ...
|
|
|
|
|
CONFIG_OVERRIDES_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
config_overrides: _containers.ScalarMap[str, str]
|
|
|
|
|
def __init__(self, config_overrides: _Optional[_Mapping[str, str]] = ...) -> None: ...
|
|
|
|
|
|
|
|
|
|
class ParserEngineInfo(_message.Message):
|
|
|
|
|
__slots__ = ("name", "description", "file_types", "available", "unavailable_reason")
|
|
|
|
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
FILE_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
AVAILABLE_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
UNAVAILABLE_REASON_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
name: str
|
|
|
|
|
description: str
|
|
|
|
|
file_types: _containers.RepeatedScalarFieldContainer[str]
|
|
|
|
|
available: bool
|
|
|
|
|
unavailable_reason: str
|
|
|
|
|
def __init__(self, name: _Optional[str] = ..., description: _Optional[str] = ..., file_types: _Optional[_Iterable[str]] = ..., available: bool = ..., unavailable_reason: _Optional[str] = ...) -> None: ...
|
|
|
|
|
|
|
|
|
|
class ListEnginesResponse(_message.Message):
|
|
|
|
|
__slots__ = ("engines",)
|
|
|
|
|
ENGINES_FIELD_NUMBER: _ClassVar[int]
|
|
|
|
|
engines: _containers.RepeatedCompositeFieldContainer[ParserEngineInfo]
|
|
|
|
|
def __init__(self, engines: _Optional[_Iterable[_Union[ParserEngineInfo, _Mapping]]] = ...) -> None: ...
|