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

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x66ile_operations/transfer.proto\x12\x08terminal\"\x8c\x01\n\tFileChunk\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x13\n\x0b\x63hunk_index\x18\x02 \x01(\x05\x12\x14\n\x0ctotal_chunks\x18\x03 \x01(\x05\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x12\x10\n\x08\x63hecksum\x18\x05 \x01(\t\x12\x0e\n\x06offset\x18\x06 \x01(\x03\x12\x0f\n\x07is_last\x18\x07 \x01(\x08\"\x8c\x01\n\x14\x43hunkedUploadRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x13\n\x0btransfer_id\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x03\x12\x12\n\nchunk_size\x18\x05 \x01(\x05\x12\x15\n\rfile_checksum\x18\x06 \x01(\t\"e\n\x15\x43hunkedUploadResponse\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\r\n\x05\x65rror\x18\x03 \x01(\t\x12\x17\n\x0f\x65xpected_chunks\x18\x04 \x01(\x05\"\x8e\x01\n\x16\x43hunkedDownloadRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x13\n\x0btransfer_id\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x03\x12\x12\n\nchunk_size\x18\x05 \x01(\x05\x12\x15\n\rfile_checksum\x18\x06 \x01(\t\"N\n\x17\x43hunkedDownloadResponse\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\r\n\x05\x65rror\x18\x03 \x01(\t\"\x93\x01\n\x10TransferProgress\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x19\n\x11\x62ytes_transferred\x18\x02 \x01(\x03\x12\x13\n\x0btotal_bytes\x18\x03 \x01(\x03\x12\x12\n\npercentage\x18\x04 \x01(\x02\x12\x11\n\tspeed_bps\x18\x05 \x01(\x02\x12\x13\n\x0b\x65ta_seconds\x18\x06 \x01(\x05\"\x96\x01\n\x10TransferComplete\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\r\n\x05\x65rror\x18\x03 \x01(\t\x12\x1a\n\x12\x63hunks_transferred\x18\x04 \x01(\x05\x12\x19\n\x11\x62ytes_transferred\x18\x05 \x01(\x03\x12\x16\n\x0e\x66inal_checksum\x18\x06 \x01(\t\"\x80\x01\n\x15\x42rokerDownloadRequest\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x13\n\x0btarget_path\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x03\x12\x15\n\rfile_checksum\x18\x04 \x01(\t\x12\x12\n\nchunk_size\x18\x05 \x01(\x05\"R\n\x12\x42rokerChunkRequest\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x13\n\x0b\x63hunk_index\x18\x02 \x01(\x05\x12\x12\n\nchunk_size\x18\x03 \x01(\x05\"p\n\x13\x42rokerChunkResponse\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x13\n\x0b\x63hunk_index\x18\x02 \x01(\x05\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x10\n\x08\x63hecksum\x18\x04 \x01(\t\x12\x0f\n\x07is_last\x18\x05 \x01(\x08\"\xde\x01\n\x15StreamingRelayRequest\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x19\n\x11source_session_id\x18\x02 \x01(\t\x12\x1a\n\x12target_session_ids\x18\x03 \x03(\t\x12\x11\n\tfile_name\x18\x04 \x01(\t\x12\x13\n\x0bsource_path\x18\x05 \x01(\t\x12\x13\n\x0btarget_path\x18\x06 \x01(\t\x12\x11\n\tfile_size\x18\x07 \x01(\x03\x12\x15\n\rfile_checksum\x18\x08 \x01(\t\x12\x12\n\nchunk_size\x18\t \x01(\x05\"\x97\x01\n\x16StreamingRelayResponse\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\r\n\x05\x65rror\x18\x03 \x01(\t\x12\x14\n\x0ctotal_chunks\x18\x04 \x01(\x05\x12\x19\n\x11\x63onnected_targets\x18\x05 \x03(\t\x12\x17\n\x0foffline_targets\x18\x06 \x03(\t\"\xe5\x01\n\x13StreamingRelayChunk\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x19\n\x11source_session_id\x18\x02 \x01(\t\x12\x1a\n\x12target_session_ids\x18\x03 \x03(\t\x12\x13\n\x0b\x63hunk_index\x18\x04 \x01(\x05\x12\x14\n\x0ctotal_chunks\x18\x05 \x01(\x05\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12\x16\n\x0e\x63hunk_checksum\x18\x07 \x01(\t\x12\x0e\n\x06offset\x18\x08 \x01(\x03\x12\x10\n\x08is_first\x18\t \x01(\x08\x12\x0f\n\x07is_last\x18\n \x01(\x08\"q\n\x11StreamingRelayAck\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x13\n\x0b\x63hunk_index\x18\x03 \x01(\x05\x12\x0f\n\x07success\x18\x04 \x01(\x08\x12\r\n\x05\x65rror\x18\x05 \x01(\t\"\xe5\x03\n\x14StreamingRelayStatus\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12,\n\x05state\x18\x02 \x01(\x0e\x32\x1d.terminal.StreamingRelayState\x12\x18\n\x10overall_progress\x18\x03 \x01(\x02\x12K\n\x0ftarget_progress\x18\x04 \x03(\x0b\x32\x32.terminal.StreamingRelayStatus.TargetProgressEntry\x12R\n\x13target_chunks_acked\x18\x05 \x03(\x0b\x32\x35.terminal.StreamingRelayStatus.TargetChunksAckedEntry\x12\x13\n\x0b\x63hunks_sent\x18\x06 \x01(\x05\x12\x14\n\x0ctotal_chunks\x18\x07 \x01(\x05\x12\r\n\x05\x65rror\x18\x08 \x01(\t\x12\x11\n\tfile_name\x18\t \x01(\t\x12\x11\n\tfile_size\x18\n \x01(\x03\x1a\x35\n\x13TargetProgressEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x38\n\x16TargetChunksAckedEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\"2\n\x1bStreamingRelayStatusRequest\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\"B\n\x1bStreamingRelayCancelRequest\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\"S\n\x1cStreamingRelayCancelResponse\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\r\n\x05\x65rror\x18\x03 \x01(\t*\x98\x01\n\x13StreamingRelayState\x12\x1b\n\x17RELAY_STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0fRELAY_INITIATED\x10\x01\x12\x13\n\x0fRELAY_STREAMING\x10\x02\x12\x13\n\x0fRELAY_COMPLETED\x10\x03\x12\x10\n\x0cRELAY_FAILED\x10\x04\x12\x13\n\x0fRELAY_CANCELLED\x10\x05\x42\'Z%github.com/cmdop/cmdop/pkg/terminalpbb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'file_operations.transfer_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['_STREAMINGRELAYSTATUS_TARGETPROGRESSENTRY']._loaded_options = None
  _globals['_STREAMINGRELAYSTATUS_TARGETPROGRESSENTRY']._serialized_options = b'8\001'
  _globals['_STREAMINGRELAYSTATUS_TARGETCHUNKSACKEDENTRY']._loaded_options = None
  _globals['_STREAMINGRELAYSTATUS_TARGETCHUNKSACKEDENTRY']._serialized_options = b'8\001'
  _globals['_STREAMINGRELAYSTATE']._serialized_start=2710
  _globals['_STREAMINGRELAYSTATE']._serialized_end=2862
  _globals['_FILECHUNK']._serialized_start=45
  _globals['_FILECHUNK']._serialized_end=185
  _globals['_CHUNKEDUPLOADREQUEST']._serialized_start=188
  _globals['_CHUNKEDUPLOADREQUEST']._serialized_end=328
  _globals['_CHUNKEDUPLOADRESPONSE']._serialized_start=330
  _globals['_CHUNKEDUPLOADRESPONSE']._serialized_end=431
  _globals['_CHUNKEDDOWNLOADREQUEST']._serialized_start=434
  _globals['_CHUNKEDDOWNLOADREQUEST']._serialized_end=576
  _globals['_CHUNKEDDOWNLOADRESPONSE']._serialized_start=578
  _globals['_CHUNKEDDOWNLOADRESPONSE']._serialized_end=656
  _globals['_TRANSFERPROGRESS']._serialized_start=659
  _globals['_TRANSFERPROGRESS']._serialized_end=806
  _globals['_TRANSFERCOMPLETE']._serialized_start=809
  _globals['_TRANSFERCOMPLETE']._serialized_end=959
  _globals['_BROKERDOWNLOADREQUEST']._serialized_start=962
  _globals['_BROKERDOWNLOADREQUEST']._serialized_end=1090
  _globals['_BROKERCHUNKREQUEST']._serialized_start=1092
  _globals['_BROKERCHUNKREQUEST']._serialized_end=1174
  _globals['_BROKERCHUNKRESPONSE']._serialized_start=1176
  _globals['_BROKERCHUNKRESPONSE']._serialized_end=1288
  _globals['_STREAMINGRELAYREQUEST']._serialized_start=1291
  _globals['_STREAMINGRELAYREQUEST']._serialized_end=1513
  _globals['_STREAMINGRELAYRESPONSE']._serialized_start=1516
  _globals['_STREAMINGRELAYRESPONSE']._serialized_end=1667
  _globals['_STREAMINGRELAYCHUNK']._serialized_start=1670
  _globals['_STREAMINGRELAYCHUNK']._serialized_end=1899
  _globals['_STREAMINGRELAYACK']._serialized_start=1901
  _globals['_STREAMINGRELAYACK']._serialized_end=2014
  _globals['_STREAMINGRELAYSTATUS']._serialized_start=2017
  _globals['_STREAMINGRELAYSTATUS']._serialized_end=2502
  _globals['_STREAMINGRELAYSTATUS_TARGETPROGRESSENTRY']._serialized_start=2391
  _globals['_STREAMINGRELAYSTATUS_TARGETPROGRESSENTRY']._serialized_end=2444
  _globals['_STREAMINGRELAYSTATUS_TARGETCHUNKSACKEDENTRY']._serialized_start=2446
  _globals['_STREAMINGRELAYSTATUS_TARGETCHUNKSACKEDENTRY']._serialized_end=2502
  _globals['_STREAMINGRELAYSTATUSREQUEST']._serialized_start=2504
  _globals['_STREAMINGRELAYSTATUSREQUEST']._serialized_end=2554
  _globals['_STREAMINGRELAYCANCELREQUEST']._serialized_start=2556
  _globals['_STREAMINGRELAYCANCELREQUEST']._serialized_end=2622
  _globals['_STREAMINGRELAYCANCELRESPONSE']._serialized_start=2624
  _globals['_STREAMINGRELAYCANCELRESPONSE']._serialized_end=2707
# @@protoc_insertion_point(module_scope)
