# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: eolymp/asset/asset_service.proto
# Protobuf Python Version: 5.29.0
"""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,
    5,
    29,
    0,
    '',
    'eolymp/asset/asset_service.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from eolymp.annotations import http_pb2 as eolymp_dot_annotations_dot_http__pb2
from eolymp.annotations import ratelimit_pb2 as eolymp_dot_annotations_dot_ratelimit__pb2
from eolymp.annotations import scope_pb2 as eolymp_dot_annotations_dot_scope__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n eolymp/asset/asset_service.proto\x12\x0c\x65olymp.asset\x1a\x1d\x65olymp/annotations/http.proto\x1a\"eolymp/annotations/ratelimit.proto\x1a\x1e\x65olymp/annotations/scope.proto\"\xc2\x02\n\x10UploadImageInput\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x31\n\x04\x63rop\x18\n \x01(\x0b\x32#.eolymp.asset.UploadImageInput.Crop\x12\x31\n\x04size\x18\x0b \x01(\x0b\x32#.eolymp.asset.UploadImageInput.Size\x12\x35\n\x08variants\x18\x14 \x03(\x0b\x32#.eolymp.asset.UploadImageInput.Size\x12\x0c\n\x04\x64\x61ta\x18\x64 \x01(\x0c\x1a%\n\x04Size\x12\r\n\x05width\x18\x01 \x01(\r\x12\x0e\n\x06height\x18\x02 \x01(\r\x1a@\n\x04\x43rop\x12\x0b\n\x03top\x18\x01 \x01(\r\x12\r\n\x05right\x18\x02 \x01(\r\x12\x0e\n\x06\x62ottom\x18\x03 \x01(\r\x12\x0c\n\x04left\x18\x04 \x01(\r\"&\n\x11UploadImageOutput\x12\x11\n\timage_url\x18\x01 \x01(\t\";\n\x0fUploadFileInput\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x64 \x01(\x0c\"$\n\x10UploadFileOutput\x12\x10\n\x08\x66ile_url\x18\x01 \x01(\t\"W\n\x10UploadAssetInput\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0c\n\x04keys\x18\x03 \x03(\t\x12\x0b\n\x03ttl\x18\x14 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x64 \x01(\x0c\"&\n\x11UploadAssetOutput\x12\x11\n\tasset_url\x18\x01 \x01(\t\"\x1f\n\x10LookupAssetInput\x12\x0b\n\x03key\x18\x01 \x01(\t\"&\n\x11LookupAssetOutput\x12\x11\n\tasset_url\x18\x01 \x01(\t\"R\n\x19StartMultipartUploadInput\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0c\n\x04keys\x18\x03 \x03(\t\x12\x0b\n\x03ttl\x18\x14 \x01(\r\"/\n\x1aStartMultipartUploadOutput\x12\x11\n\tupload_id\x18\x01 \x01(\t\"G\n\x0fUploadPartInput\x12\x11\n\tupload_id\x18\x01 \x01(\t\x12\x13\n\x0bpart_number\x18\x02 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x64 \x01(\x0c\"!\n\x10UploadPartOutput\x12\r\n\x05token\x18\x01 \x01(\t\"\xde\x01\n\x1c\x43ompleteMultipartUploadInput\x12\x11\n\tupload_id\x18\x01 \x01(\t\x12>\n\x05parts\x18\n \x03(\x0b\x32/.eolymp.asset.CompleteMultipartUploadInput.Part\x1ak\n\x04Part\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\r\n\x05token\x18\x02 \x01(\t\x12\x14\n\x0c\x63hecksum_md5\x18\n \x01(\t\x12\x15\n\rchecksum_sha1\x18\x0b \x01(\t\x12\x17\n\x0f\x63hecksum_sha256\x18\x0c \x01(\t\"2\n\x1d\x43ompleteMultipartUploadOutput\x12\x11\n\tasset_url\x18\x01 \x01(\t\";\n\x10StartStreamInput\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0b\n\x03ttl\x18\x14 \x01(\r\":\n\x11StartStreamOutput\x12\x11\n\tstream_id\x18\x01 \x01(\t\x12\x12\n\nstream_url\x18\x02 \x01(\t\"D\n\x11\x41ppendStreamInput\x12\x11\n\tstream_id\x18\x01 \x01(\t\x12\x0e\n\x06offset\x18\x02 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x64 \x01(\x0c\"\x14\n\x12\x41ppendStreamOutput\"%\n\x10\x43loseStreamInput\x12\x11\n\tstream_id\x18\x01 \x01(\t\"\x13\n\x11\x43loseStreamOutput2\xf7\x0b\n\x0c\x41ssetService\x12\x8e\x01\n\x0bUploadImage\x12\x1e.eolymp.asset.UploadImageInput\x1a\x1f.eolymp.asset.UploadImageOutput\">\xea\xe2\n\x0b\xf5\xe2\n\x00\x00\x00@\xf8\xe2\nd\x82\xe3\n\x15\x8a\xe3\n\x11\x61sset:image:write\x82\xd3\xe4\x93\x02\x10\"\x0e/assets/images\x12\x8a\x01\n\nUploadFile\x12\x1d.eolymp.asset.UploadFileInput\x1a\x1e.eolymp.asset.UploadFileOutput\"=\xea\xe2\n\x0b\xf5\xe2\n\x00\x00\x00@\xf8\xe2\nd\x82\xe3\n\x15\x8a\xe3\n\x11\x61sset:image:write\x82\xd3\xe4\x93\x02\x0f\"\r/assets/files\x12\x87\x01\n\x0bUploadAsset\x12\x1e.eolymp.asset.UploadAssetInput\x1a\x1f.eolymp.asset.UploadAssetOutput\"7\xea\xe2\n\x0b\xf5\xe2\n\x00\x00\x00@\xf8\xe2\nd\x82\xe3\n\x15\x8a\xe3\n\x11\x61sset:asset:write\x82\xd3\xe4\x93\x02\t\"\x07/assets\x12\x8d\x01\n\x0bLookupAsset\x12\x1e.eolymp.asset.LookupAssetInput\x1a\x1f.eolymp.asset.LookupAssetOutput\"=\xea\xe2\n\x0b\xf5\xe2\n\x00\x00\x00@\xf8\xe2\nd\x82\xe3\n\x14\x8a\xe3\n\x10\x61sset:asset:read\x82\xd3\xe4\x93\x02\x10\"\x0e/assets:lookup\x12\xa3\x01\n\x14StartMultipartUpload\x12\'.eolymp.asset.StartMultipartUploadInput\x1a(.eolymp.asset.StartMultipartUploadOutput\"8\xea\xe2\n\x0b\xf5\xe2\n\x00\x00\x00@\xf8\xe2\nd\x82\xe3\n\x15\x8a\xe3\n\x11\x61sset:asset:write\x82\xd3\xe4\x93\x02\n\x1a\x08/uploads\x12\x91\x01\n\nUploadPart\x12\x1d.eolymp.asset.UploadPartInput\x1a\x1e.eolymp.asset.UploadPartOutput\"D\xea\xe2\n\x0b\xf5\xe2\n\x00\x00 A\xf8\xe2\nd\x82\xe3\n\x15\x8a\xe3\n\x11\x61sset:asset:write\x82\xd3\xe4\x93\x02\x16\"\x14/uploads/{upload_id}\x12\xb8\x01\n\x17\x43ompleteMultipartUpload\x12*.eolymp.asset.CompleteMultipartUploadInput\x1a+.eolymp.asset.CompleteMultipartUploadOutput\"D\xea\xe2\n\x0b\xf5\xe2\n\x00\x00 A\xf8\xe2\nd\x82\xe3\n\x15\x8a\xe3\n\x11\x61sset:asset:write\x82\xd3\xe4\x93\x02\x16\x1a\x14/uploads/{upload_id}\x12\x88\x01\n\x0bStartStream\x12\x1e.eolymp.asset.StartStreamInput\x1a\x1f.eolymp.asset.StartStreamOutput\"8\xea\xe2\n\x0b\xf5\xe2\n\x00\x00\x00@\xf8\xe2\nd\x82\xe3\n\x15\x8a\xe3\n\x11\x61sset:asset:write\x82\xd3\xe4\x93\x02\n\x1a\x08/streams\x12\x97\x01\n\x0c\x41ppendStream\x12\x1f.eolymp.asset.AppendStreamInput\x1a .eolymp.asset.AppendStreamOutput\"D\xea\xe2\n\x0b\xf5\xe2\n\x00\x00 A\xf8\xe2\nd\x82\xe3\n\x15\x8a\xe3\n\x11\x61sset:asset:write\x82\xd3\xe4\x93\x02\x16\"\x14/streams/{stream_id}\x12\x94\x01\n\x0b\x43loseStream\x12\x1e.eolymp.asset.CloseStreamInput\x1a\x1f.eolymp.asset.CloseStreamOutput\"D\xea\xe2\n\x0b\xf5\xe2\n\x00\x00 A\xf8\xe2\nd\x82\xe3\n\x15\x8a\xe3\n\x11\x61sset:asset:write\x82\xd3\xe4\x93\x02\x16\x1a\x14/streams/{stream_id}B-Z+github.com/eolymp/go-sdk/eolymp/asset;assetb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'eolymp.asset.asset_service_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'Z+github.com/eolymp/go-sdk/eolymp/asset;asset'
  _globals['_ASSETSERVICE'].methods_by_name['UploadImage']._loaded_options = None
  _globals['_ASSETSERVICE'].methods_by_name['UploadImage']._serialized_options = b'\352\342\n\013\365\342\n\000\000\000@\370\342\nd\202\343\n\025\212\343\n\021asset:image:write\202\323\344\223\002\020\"\016/assets/images'
  _globals['_ASSETSERVICE'].methods_by_name['UploadFile']._loaded_options = None
  _globals['_ASSETSERVICE'].methods_by_name['UploadFile']._serialized_options = b'\352\342\n\013\365\342\n\000\000\000@\370\342\nd\202\343\n\025\212\343\n\021asset:image:write\202\323\344\223\002\017\"\r/assets/files'
  _globals['_ASSETSERVICE'].methods_by_name['UploadAsset']._loaded_options = None
  _globals['_ASSETSERVICE'].methods_by_name['UploadAsset']._serialized_options = b'\352\342\n\013\365\342\n\000\000\000@\370\342\nd\202\343\n\025\212\343\n\021asset:asset:write\202\323\344\223\002\t\"\007/assets'
  _globals['_ASSETSERVICE'].methods_by_name['LookupAsset']._loaded_options = None
  _globals['_ASSETSERVICE'].methods_by_name['LookupAsset']._serialized_options = b'\352\342\n\013\365\342\n\000\000\000@\370\342\nd\202\343\n\024\212\343\n\020asset:asset:read\202\323\344\223\002\020\"\016/assets:lookup'
  _globals['_ASSETSERVICE'].methods_by_name['StartMultipartUpload']._loaded_options = None
  _globals['_ASSETSERVICE'].methods_by_name['StartMultipartUpload']._serialized_options = b'\352\342\n\013\365\342\n\000\000\000@\370\342\nd\202\343\n\025\212\343\n\021asset:asset:write\202\323\344\223\002\n\032\010/uploads'
  _globals['_ASSETSERVICE'].methods_by_name['UploadPart']._loaded_options = None
  _globals['_ASSETSERVICE'].methods_by_name['UploadPart']._serialized_options = b'\352\342\n\013\365\342\n\000\000 A\370\342\nd\202\343\n\025\212\343\n\021asset:asset:write\202\323\344\223\002\026\"\024/uploads/{upload_id}'
  _globals['_ASSETSERVICE'].methods_by_name['CompleteMultipartUpload']._loaded_options = None
  _globals['_ASSETSERVICE'].methods_by_name['CompleteMultipartUpload']._serialized_options = b'\352\342\n\013\365\342\n\000\000 A\370\342\nd\202\343\n\025\212\343\n\021asset:asset:write\202\323\344\223\002\026\032\024/uploads/{upload_id}'
  _globals['_ASSETSERVICE'].methods_by_name['StartStream']._loaded_options = None
  _globals['_ASSETSERVICE'].methods_by_name['StartStream']._serialized_options = b'\352\342\n\013\365\342\n\000\000\000@\370\342\nd\202\343\n\025\212\343\n\021asset:asset:write\202\323\344\223\002\n\032\010/streams'
  _globals['_ASSETSERVICE'].methods_by_name['AppendStream']._loaded_options = None
  _globals['_ASSETSERVICE'].methods_by_name['AppendStream']._serialized_options = b'\352\342\n\013\365\342\n\000\000 A\370\342\nd\202\343\n\025\212\343\n\021asset:asset:write\202\323\344\223\002\026\"\024/streams/{stream_id}'
  _globals['_ASSETSERVICE'].methods_by_name['CloseStream']._loaded_options = None
  _globals['_ASSETSERVICE'].methods_by_name['CloseStream']._serialized_options = b'\352\342\n\013\365\342\n\000\000 A\370\342\nd\202\343\n\025\212\343\n\021asset:asset:write\202\323\344\223\002\026\032\024/streams/{stream_id}'
  _globals['_UPLOADIMAGEINPUT']._serialized_start=150
  _globals['_UPLOADIMAGEINPUT']._serialized_end=472
  _globals['_UPLOADIMAGEINPUT_SIZE']._serialized_start=369
  _globals['_UPLOADIMAGEINPUT_SIZE']._serialized_end=406
  _globals['_UPLOADIMAGEINPUT_CROP']._serialized_start=408
  _globals['_UPLOADIMAGEINPUT_CROP']._serialized_end=472
  _globals['_UPLOADIMAGEOUTPUT']._serialized_start=474
  _globals['_UPLOADIMAGEOUTPUT']._serialized_end=512
  _globals['_UPLOADFILEINPUT']._serialized_start=514
  _globals['_UPLOADFILEINPUT']._serialized_end=573
  _globals['_UPLOADFILEOUTPUT']._serialized_start=575
  _globals['_UPLOADFILEOUTPUT']._serialized_end=611
  _globals['_UPLOADASSETINPUT']._serialized_start=613
  _globals['_UPLOADASSETINPUT']._serialized_end=700
  _globals['_UPLOADASSETOUTPUT']._serialized_start=702
  _globals['_UPLOADASSETOUTPUT']._serialized_end=740
  _globals['_LOOKUPASSETINPUT']._serialized_start=742
  _globals['_LOOKUPASSETINPUT']._serialized_end=773
  _globals['_LOOKUPASSETOUTPUT']._serialized_start=775
  _globals['_LOOKUPASSETOUTPUT']._serialized_end=813
  _globals['_STARTMULTIPARTUPLOADINPUT']._serialized_start=815
  _globals['_STARTMULTIPARTUPLOADINPUT']._serialized_end=897
  _globals['_STARTMULTIPARTUPLOADOUTPUT']._serialized_start=899
  _globals['_STARTMULTIPARTUPLOADOUTPUT']._serialized_end=946
  _globals['_UPLOADPARTINPUT']._serialized_start=948
  _globals['_UPLOADPARTINPUT']._serialized_end=1019
  _globals['_UPLOADPARTOUTPUT']._serialized_start=1021
  _globals['_UPLOADPARTOUTPUT']._serialized_end=1054
  _globals['_COMPLETEMULTIPARTUPLOADINPUT']._serialized_start=1057
  _globals['_COMPLETEMULTIPARTUPLOADINPUT']._serialized_end=1279
  _globals['_COMPLETEMULTIPARTUPLOADINPUT_PART']._serialized_start=1172
  _globals['_COMPLETEMULTIPARTUPLOADINPUT_PART']._serialized_end=1279
  _globals['_COMPLETEMULTIPARTUPLOADOUTPUT']._serialized_start=1281
  _globals['_COMPLETEMULTIPARTUPLOADOUTPUT']._serialized_end=1331
  _globals['_STARTSTREAMINPUT']._serialized_start=1333
  _globals['_STARTSTREAMINPUT']._serialized_end=1392
  _globals['_STARTSTREAMOUTPUT']._serialized_start=1394
  _globals['_STARTSTREAMOUTPUT']._serialized_end=1452
  _globals['_APPENDSTREAMINPUT']._serialized_start=1454
  _globals['_APPENDSTREAMINPUT']._serialized_end=1522
  _globals['_APPENDSTREAMOUTPUT']._serialized_start=1524
  _globals['_APPENDSTREAMOUTPUT']._serialized_end=1544
  _globals['_CLOSESTREAMINPUT']._serialized_start=1546
  _globals['_CLOSESTREAMINPUT']._serialized_end=1583
  _globals['_CLOSESTREAMOUTPUT']._serialized_start=1585
  _globals['_CLOSESTREAMOUTPUT']._serialized_end=1604
  _globals['_ASSETSERVICE']._serialized_start=1607
  _globals['_ASSETSERVICE']._serialized_end=3134
# @@protoc_insertion_point(module_scope)
