# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: file_operations/file_crud.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/file_crud.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\x1f\x66ile_operations/file_crud.proto\x12\x08terminal\x1a\x1c\x66ile_operations/common.proto\"R\n\x0f\x46ileReadRequest\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x0e\n\x06offset\x18\x02 \x01(\x03\x12\x0e\n\x06length\x18\x03 \x01(\x03\x12\x11\n\ttranscode\x18\x04 \x01(\x08\"\xce\x01\n\x0e\x46ileReadResult\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\x0c\x12\x10\n\x08\x65ncoding\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x03\x12\x11\n\tmime_type\x18\x04 \x01(\t\x12\x14\n\x0cis_truncated\x18\x05 \x01(\x08\x12)\n\x0bviewer_type\x18\x06 \x01(\x0e\x32\x14.terminal.ViewerType\x12\x15\n\ris_transcoded\x18\x07 \x01(\x08\x12\x1a\n\x12transcode_complete\x18\x08 \x01(\x08\"\\\n\x10\x46ileWriteRequest\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\x0c\x12\x11\n\toverwrite\x18\x03 \x01(\x08\x12\x16\n\x0e\x63reate_parents\x18\x04 \x01(\x08\"R\n\x0f\x46ileWriteResult\x12\x15\n\rbytes_written\x18\x01 \x01(\x03\x12(\n\x05\x65ntry\x18\x02 \x01(\x0b\x32\x19.terminal.StreamFileEntry\"4\n\x11\x46ileDeleteRequest\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x11\n\trecursive\x18\x02 \x01(\x08\"U\n\x10\x46ileDeleteResult\x12\x14\n\x0c\x64\x65leted_path\x18\x01 \x01(\t\x12\x15\n\rfiles_deleted\x18\x02 \x01(\x05\x12\x14\n\x0c\x64irs_deleted\x18\x03 \x01(\x05\"S\n\x0f\x46ileMoveRequest\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12\x11\n\toverwrite\x18\x03 \x01(\x08\":\n\x0e\x46ileMoveResult\x12(\n\x05\x65ntry\x18\x01 \x01(\x0b\x32\x19.terminal.StreamFileEntry\"f\n\x0f\x46ileCopyRequest\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\x12\x11\n\toverwrite\x18\x03 \x01(\x08\x12\x11\n\trecursive\x18\x04 \x01(\x08\"P\n\x0e\x46ileCopyResult\x12(\n\x05\x65ntry\x18\x01 \x01(\x0b\x32\x19.terminal.StreamFileEntry\x12\x14\n\x0c\x62ytes_copied\x18\x02 \x01(\x03\"\"\n\x12\x46ileGetInfoRequest\x12\x0c\n\x04path\x18\x01 \x01(\t\"=\n\x11\x46ileGetInfoResult\x12(\n\x05\x65ntry\x18\x01 \x01(\x0b\x32\x19.terminal.StreamFileEntryB\'Z%github.com/cmdop/cmdop/pkg/terminalpbb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'file_operations.file_crud_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['_FILEREADREQUEST']._serialized_start=75
  _globals['_FILEREADREQUEST']._serialized_end=157
  _globals['_FILEREADRESULT']._serialized_start=160
  _globals['_FILEREADRESULT']._serialized_end=366
  _globals['_FILEWRITEREQUEST']._serialized_start=368
  _globals['_FILEWRITEREQUEST']._serialized_end=460
  _globals['_FILEWRITERESULT']._serialized_start=462
  _globals['_FILEWRITERESULT']._serialized_end=544
  _globals['_FILEDELETEREQUEST']._serialized_start=546
  _globals['_FILEDELETEREQUEST']._serialized_end=598
  _globals['_FILEDELETERESULT']._serialized_start=600
  _globals['_FILEDELETERESULT']._serialized_end=685
  _globals['_FILEMOVEREQUEST']._serialized_start=687
  _globals['_FILEMOVEREQUEST']._serialized_end=770
  _globals['_FILEMOVERESULT']._serialized_start=772
  _globals['_FILEMOVERESULT']._serialized_end=830
  _globals['_FILECOPYREQUEST']._serialized_start=832
  _globals['_FILECOPYREQUEST']._serialized_end=934
  _globals['_FILECOPYRESULT']._serialized_start=936
  _globals['_FILECOPYRESULT']._serialized_end=1016
  _globals['_FILEGETINFOREQUEST']._serialized_start=1018
  _globals['_FILEGETINFOREQUEST']._serialized_end=1052
  _globals['_FILEGETINFORESULT']._serialized_start=1054
  _globals['_FILEGETINFORESULT']._serialized_end=1115
# @@protoc_insertion_point(module_scope)
