# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: file_operations/search.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,
    '',
    'file_operations/search.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from . import common_pb2 as file__operations_dot_common__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66ile_operations/search.proto\x12\x08terminal\x1a\x1c\x66ile_operations/common.proto\"\xfa\x01\n\x11\x46ileSearchRequest\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x18\n\x10\x66ilename_pattern\x18\x02 \x01(\t\x12\x17\n\x0f\x63ontent_pattern\x18\x03 \x01(\t\x12\x16\n\x0e\x63\x61se_sensitive\x18\x04 \x01(\x08\x12\x16\n\x0einclude_hidden\x18\x05 \x01(\x08\x12\x13\n\x0bmax_results\x18\x06 \x01(\x05\x12\x11\n\tmax_depth\x18\x07 \x01(\x05\x12\x15\n\rcontext_lines\x18\x08 \x01(\x05\x12\x35\n\x0fvisibility_mode\x18\t \x01(\x0e\x32\x1c.terminal.FileVisibilityMode\"\x9b\x01\n\x0f\x46ileSearchMatch\x12(\n\x05\x65ntry\x18\x01 \x01(\x0b\x32\x19.terminal.StreamFileEntry\x12-\n\nmatch_type\x18\x02 \x01(\x0e\x32\x19.terminal.SearchMatchType\x12/\n\x0f\x63ontent_matches\x18\x03 \x03(\x0b\x32\x16.terminal.ContentMatch\"\x8a\x01\n\x0c\x43ontentMatch\x12\x13\n\x0bline_number\x18\x01 \x01(\x05\x12\x0c\n\x04line\x18\x02 \x01(\t\x12\x14\n\x0c\x63olumn_start\x18\x03 \x01(\x05\x12\x12\n\ncolumn_end\x18\x04 \x01(\x05\x12\x16\n\x0e\x63ontext_before\x18\x05 \x03(\t\x12\x15\n\rcontext_after\x18\x06 \x03(\t\"\xa9\x01\n\x10\x46ileSearchResult\x12*\n\x07matches\x18\x01 \x03(\x0b\x32\x19.terminal.FileSearchMatch\x12\x15\n\rtotal_matches\x18\x02 \x01(\x05\x12\x11\n\ttruncated\x18\x03 \x01(\x08\x12\x13\n\x0bsearch_path\x18\x04 \x01(\t\x12\x15\n\rfiles_scanned\x18\x05 \x01(\x03\x12\x13\n\x0b\x64uration_ms\x18\x06 \x01(\x03*T\n\x0fSearchMatchType\x12\x1a\n\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eMATCH_FILENAME\x10\x01\x12\x11\n\rMATCH_CONTENT\x10\x02\x42\'Z%github.com/cmdop/cmdop/pkg/terminalpbb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'file_operations.search_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'Z%github.com/cmdop/cmdop/pkg/terminalpb'
  _globals['_SEARCHMATCHTYPE']._serialized_start=796
  _globals['_SEARCHMATCHTYPE']._serialized_end=880
  _globals['_FILESEARCHREQUEST']._serialized_start=73
  _globals['_FILESEARCHREQUEST']._serialized_end=323
  _globals['_FILESEARCHMATCH']._serialized_start=326
  _globals['_FILESEARCHMATCH']._serialized_end=481
  _globals['_CONTENTMATCH']._serialized_start=484
  _globals['_CONTENTMATCH']._serialized_end=622
  _globals['_FILESEARCHRESULT']._serialized_start=625
  _globals['_FILESEARCHRESULT']._serialized_end=794
# @@protoc_insertion_point(module_scope)
