# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: core/clouddrive.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, '', 'core/clouddrive.proto' ) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15\x63ore/clouddrive.proto\x12\nclouddrive\"-\n\x17GetOpenFileTableRequest\x12\x12\n\nincludeDir\x18\x01 \x01(\x08\"\xa6\x01\n\rOpenFileTable\x12\x43\n\ropenFileTable\x18\x01 \x03(\x0b\x32,.clouddrive.OpenFileTable.OpenFileTableEntry\x12\x1a\n\x12localOpenFileCount\x18\x02 \x01(\x04\x1a\x34\n\x12OpenFileTableEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"9\n\x11\x43reateFileRequest\x12\x12\n\nparentPath\x18\x01 \x01(\t\x12\x10\n\x08\x66ileName\x18\x02 \x01(\t\"&\n\x10\x43reateFileResult\x12\x12\n\nfileHandle\x18\x01 \x01(\x04\"k\n\x10WriteFileRequest\x12\x12\n\nfileHandle\x18\x01 \x01(\x04\x12\x10\n\x08startPos\x18\x02 \x01(\x04\x12\x0e\n\x06length\x18\x03 \x01(\x04\x12\x0e\n\x06\x62uffer\x18\x04 \x01(\x0c\x12\x11\n\tcloseFile\x18\x05 \x01(\x08\"\'\n\x0fWriteFileResult\x12\x14\n\x0c\x62ytesWritten\x18\x01 \x01(\x04\"&\n\x10\x43loseFileRequest\x12\x12\n\nfileHandle\x18\x01 \x01(\x04\"U\n\x13\x46ileOperationResult\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12\x17\n\x0fresultFilePaths\x18\x03 \x03(\t2\xd0\x02\n\x11\x43loudDriveFileSrv\x12T\n\x10GetOpenFileTable\x12#.clouddrive.GetOpenFileTableRequest\x1a\x19.clouddrive.OpenFileTable\"\x00\x12K\n\nCreateFile\x12\x1d.clouddrive.CreateFileRequest\x1a\x1c.clouddrive.CreateFileResult\"\x00\x12J\n\x0bWriteToFile\x12\x1c.clouddrive.WriteFileRequest\x1a\x1b.clouddrive.WriteFileResult\"\x00\x12L\n\tCloseFile\x12\x1c.clouddrive.CloseFileRequest\x1a\x1f.clouddrive.FileOperationResult\"\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'core.clouddrive_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: DESCRIPTOR._loaded_options = None _globals['_OPENFILETABLE_OPENFILETABLEENTRY']._loaded_options = None _globals['_OPENFILETABLE_OPENFILETABLEENTRY']._serialized_options = b'8\001' _globals['_GETOPENFILETABLEREQUEST']._serialized_start=37 _globals['_GETOPENFILETABLEREQUEST']._serialized_end=82 _globals['_OPENFILETABLE']._serialized_start=85 _globals['_OPENFILETABLE']._serialized_end=251 _globals['_OPENFILETABLE_OPENFILETABLEENTRY']._serialized_start=199 _globals['_OPENFILETABLE_OPENFILETABLEENTRY']._serialized_end=251 _globals['_CREATEFILEREQUEST']._serialized_start=253 _globals['_CREATEFILEREQUEST']._serialized_end=310 _globals['_CREATEFILERESULT']._serialized_start=312 _globals['_CREATEFILERESULT']._serialized_end=350 _globals['_WRITEFILEREQUEST']._serialized_start=352 _globals['_WRITEFILEREQUEST']._serialized_end=459 _globals['_WRITEFILERESULT']._serialized_start=461 _globals['_WRITEFILERESULT']._serialized_end=500 _globals['_CLOSEFILEREQUEST']._serialized_start=502 _globals['_CLOSEFILEREQUEST']._serialized_end=540 _globals['_FILEOPERATIONRESULT']._serialized_start=542 _globals['_FILEOPERATIONRESULT']._serialized_end=627 _globals['_CLOUDDRIVEFILESRV']._serialized_start=630 _globals['_CLOUDDRIVEFILESRV']._serialized_end=966 # @@protoc_insertion_point(module_scope)