@milaboratories/pl-drivers 1.9.1 → 1.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/clients/constructors.d.ts +4 -3
- package/dist/clients/constructors.d.ts.map +1 -0
- package/dist/clients/download.d.ts +8 -7
- package/dist/clients/download.d.ts.map +1 -0
- package/dist/clients/logs.d.ts +7 -6
- package/dist/clients/logs.d.ts.map +1 -0
- package/dist/clients/ls_api.d.ts +6 -5
- package/dist/clients/ls_api.d.ts.map +1 -0
- package/dist/clients/progress.d.ts +7 -6
- package/dist/clients/progress.d.ts.map +1 -0
- package/dist/clients/upload.cjs +31 -10
- package/dist/clients/upload.cjs.map +1 -1
- package/dist/clients/upload.d.ts +14 -7
- package/dist/clients/upload.d.ts.map +1 -0
- package/dist/clients/upload.js +31 -11
- package/dist/clients/upload.js.map +1 -1
- package/dist/drivers/download_blob/blob_key.d.ts +2 -1
- package/dist/drivers/download_blob/blob_key.d.ts.map +1 -0
- package/dist/drivers/download_blob/download_blob.d.ts +9 -6
- package/dist/drivers/download_blob/download_blob.d.ts.map +1 -0
- package/dist/drivers/download_blob/download_blob_task.d.ts +8 -5
- package/dist/drivers/download_blob/download_blob_task.d.ts.map +1 -0
- package/dist/drivers/download_blob/sparse_cache/cache.d.ts +1 -0
- package/dist/drivers/download_blob/sparse_cache/cache.d.ts.map +1 -0
- package/dist/drivers/download_blob/sparse_cache/file.d.ts +2 -1
- package/dist/drivers/download_blob/sparse_cache/file.d.ts.map +1 -0
- package/dist/drivers/download_blob/sparse_cache/ranges.d.ts +4 -3
- package/dist/drivers/download_blob/sparse_cache/ranges.d.ts.map +1 -0
- package/dist/drivers/download_blob_url/driver.d.ts +9 -7
- package/dist/drivers/download_blob_url/driver.d.ts.map +1 -0
- package/dist/drivers/download_blob_url/driver_id.d.ts +3 -2
- package/dist/drivers/download_blob_url/driver_id.d.ts.map +1 -0
- package/dist/drivers/download_blob_url/snapshot.d.ts +4 -3
- package/dist/drivers/download_blob_url/snapshot.d.ts.map +1 -0
- package/dist/drivers/download_blob_url/task.d.ts +8 -5
- package/dist/drivers/download_blob_url/task.d.ts.map +1 -0
- package/dist/drivers/download_blob_url/url.d.ts +1 -0
- package/dist/drivers/download_blob_url/url.d.ts.map +1 -0
- package/dist/drivers/download_url/driver.d.ts +6 -4
- package/dist/drivers/download_url/driver.d.ts.map +1 -0
- package/dist/drivers/download_url/task.d.ts +7 -4
- package/dist/drivers/download_url/task.d.ts.map +1 -0
- package/dist/drivers/helpers/download_local_handle.d.ts +5 -2
- package/dist/drivers/helpers/download_local_handle.d.ts.map +1 -0
- package/dist/drivers/helpers/download_remote_handle.d.ts +6 -3
- package/dist/drivers/helpers/download_remote_handle.d.ts.map +1 -0
- package/dist/drivers/helpers/files_cache.d.ts +2 -1
- package/dist/drivers/helpers/files_cache.d.ts.map +1 -0
- package/dist/drivers/helpers/helpers.d.ts +1 -0
- package/dist/drivers/helpers/helpers.d.ts.map +1 -0
- package/dist/drivers/helpers/logs_handle.d.ts +4 -1
- package/dist/drivers/helpers/logs_handle.d.ts.map +1 -0
- package/dist/drivers/helpers/ls_remote_import_handle.d.ts +3 -2
- package/dist/drivers/helpers/ls_remote_import_handle.d.ts.map +1 -0
- package/dist/drivers/helpers/ls_storage_entry.d.ts +2 -1
- package/dist/drivers/helpers/ls_storage_entry.d.ts.map +1 -0
- package/dist/drivers/helpers/polling_ops.d.ts +1 -0
- package/dist/drivers/helpers/polling_ops.d.ts.map +1 -0
- package/dist/drivers/helpers/read_file.d.ts +2 -1
- package/dist/drivers/helpers/read_file.d.ts.map +1 -0
- package/dist/drivers/helpers/test_helpers.d.ts +1 -0
- package/dist/drivers/helpers/test_helpers.d.ts.map +1 -0
- package/dist/drivers/logs.d.ts +7 -5
- package/dist/drivers/logs.d.ts.map +1 -0
- package/dist/drivers/logs_stream.d.ts +7 -5
- package/dist/drivers/logs_stream.d.ts.map +1 -0
- package/dist/drivers/ls.cjs +15 -6
- package/dist/drivers/ls.cjs.map +1 -1
- package/dist/drivers/ls.d.ts +5 -4
- package/dist/drivers/ls.d.ts.map +1 -0
- package/dist/drivers/ls.js +14 -5
- package/dist/drivers/ls.js.map +1 -1
- package/dist/drivers/types.d.ts +5 -4
- package/dist/drivers/types.d.ts.map +1 -0
- package/dist/drivers/upload.d.ts +9 -7
- package/dist/drivers/upload.d.ts.map +1 -0
- package/dist/drivers/upload_task.cjs +7 -3
- package/dist/drivers/upload_task.cjs.map +1 -1
- package/dist/drivers/upload_task.d.ts +10 -7
- package/dist/drivers/upload_task.d.ts.map +1 -0
- package/dist/drivers/upload_task.js +8 -4
- package/dist/drivers/upload_task.js.map +1 -1
- package/dist/drivers/urls/url.d.ts +3 -2
- package/dist/drivers/urls/url.d.ts.map +1 -0
- package/dist/drivers/virtual_storages.d.ts +2 -1
- package/dist/drivers/virtual_storages.d.ts.map +1 -0
- package/dist/helpers/download.d.ts +4 -3
- package/dist/helpers/download.d.ts.map +1 -0
- package/dist/helpers/validate.d.ts +1 -0
- package/dist/helpers/validate.d.ts.map +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -1
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts +8 -2
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +9 -4
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +8 -2
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +9 -4
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +9 -3
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +12 -4
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +9 -3
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +14 -4
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +8 -2
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.cjs +47 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.cjs.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.d.ts +15 -4
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.d.ts +44 -2
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.js +48 -2
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.js.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +58 -4
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +22 -7
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +12 -4
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +7 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +23 -7
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +8 -2
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +1 -0
- package/dist/proto/google/api/http.d.ts +7 -1
- package/dist/proto/google/api/http.d.ts.map +1 -0
- package/dist/proto/google/protobuf/any.d.ts +11 -1
- package/dist/proto/google/protobuf/any.d.ts.map +1 -0
- package/dist/proto/google/protobuf/descriptor.d.ts +7 -1
- package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -0
- package/dist/proto/google/protobuf/duration.d.ts +10 -1
- package/dist/proto/google/protobuf/duration.d.ts.map +1 -0
- package/dist/proto/google/protobuf/empty.d.ts +7 -1
- package/dist/proto/google/protobuf/empty.d.ts.map +1 -0
- package/dist/proto/google/protobuf/struct.d.ts +10 -1
- package/dist/proto/google/protobuf/struct.d.ts.map +1 -0
- package/dist/proto/google/protobuf/timestamp.d.ts +10 -1
- package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -0
- package/dist/proto/google/protobuf/wrappers.d.ts +10 -1
- package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -0
- package/dist/test_env.d.ts +1 -0
- package/dist/test_env.d.ts.map +1 -0
- package/package.json +12 -11
- package/src/clients/upload.ts +38 -14
- package/src/drivers/ls.ts +17 -6
- package/src/drivers/upload_task.ts +10 -3
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.ts +69 -1
package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.cjs","sources":["../../../../../../../../../src/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.0 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.proto\" (package \"MiLaboratories.Controller.Shared\", syntax proto3)\n// tslint:disable\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi\n */\nexport interface uploadapi {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.Init\n */\nexport interface uploadapi_Init {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.Init.Request\n */\nexport interface uploadapi_Init_Request {\n /**\n * Id of upload resource\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.Init.Response\n */\nexport interface uploadapi_Init_Response {\n /**\n * Number of parts in this upload.\n * For parallel upload support, client can generate any number of part upload URLs\n * at the moment and upload them in parallel.\n * <parts_count> keeps the number of chunks supported by this upload.\n * The parts count is calculated from the planned size of the upload, controller\n * configuration and underlying storage restrictions.\n *\n * @generated from protobuf field: uint64 parts_count = 1\n */\n partsCount: bigint;\n /**\n * List of IDs of parts that were already uploaded by client.\n * Helps client to recover upload and skip already done parts\n * after being interrupted in the middle of the upload\n * (say, because of the restart).\n * Parts enumeration starts from 1.\n *\n * @generated from protobuf field: repeated uint64 uploaded_parts = 2\n */\n uploadedParts: bigint[];\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.UpdateProgress\n */\nexport interface uploadapi_UpdateProgress {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.UpdateProgress.Request\n */\nexport interface uploadapi_UpdateProgress_Request {\n /**\n * Id of upload resource\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * Amount of bytes, uploaded since the earlier call to UpdateProgress.\n * This value is just blindly added to the 'bytes_processed' of progress report,\n * so other clients can see the upload progress.\n * If client uploads the data in several streams (several chunks in parallel), it\n * can safely send progress updates individually for each of the streams, just counting\n * bytes uploaded by particular stream.\n *\n * Negative value can be used to report about upload retry: when upload was interrupted,\n * part of the uploaded data is lost and require re-upload.\n *\n * @generated from protobuf field: int64 bytes_processed = 2\n */\n bytesProcessed: bigint;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.UpdateProgress.Response\n */\nexport interface uploadapi_UpdateProgress_Response {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.GetPartURL\n */\nexport interface uploadapi_GetPartURL {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.GetPartURL.Request\n */\nexport interface uploadapi_GetPartURL_Request {\n /**\n * Id of upload resource\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * Part to be uploaded. It is responsibility of the Client to watch after already uploaded parts:\n * - client can request an URL for the same part twice (request -> request) without errors;\n * - client can request an URL for alrady uploaded part (request -> upload -> request) without errors.\n *\n * Parts enumeration starts from 1.\n *\n * @generated from protobuf field: uint64 part_number = 2\n */\n partNumber: bigint;\n /**\n * Size of the part uploaded by client earlier. Allows controller to count upload progress\n * based on client's input.\n * Client is free to never sent this value (send zeroes in each request).\n *\n * @generated from protobuf field: uint64 uploaded_part_size = 3\n */\n uploadedPartSize: bigint;\n /**\n * Do we need to presign URL for internal use.\n * Controllers could use this if they are trying to download something from internal network.\n * For backward compatibility, by default pl backend will presign external urls.\n *\n * @generated from protobuf field: bool is_internal_use = 4\n */\n isInternalUse: boolean;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.GetPartURL.HTTPHeader\n */\nexport interface uploadapi_GetPartURL_HTTPHeader {\n /**\n * @generated from protobuf field: string Name = 1\n */\n name: string;\n /**\n * @generated from protobuf field: string Value = 2\n */\n value: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.GetPartURL.Response\n */\nexport interface uploadapi_GetPartURL_Response {\n /**\n * URL for chunk upload\n *\n * @generated from protobuf field: string upload_url = 1\n */\n uploadUrl: string;\n /**\n * HTTP method to use for chunk upload, say 'PUT' or 'POST'.\n *\n * @generated from protobuf field: string method = 2\n */\n method: string;\n /**\n * List of headers with their values, MANDATORY to be sent by the client for the upload.\n * The destination service (the one, that will handle upload request for specific part)\n * may reject the request if it would not keep the given headers.\n *\n * @generated from protobuf field: repeated MiLaboratories.Controller.Shared.uploadapi.GetPartURL.HTTPHeader headers = 3\n */\n headers: uploadapi_GetPartURL_HTTPHeader[];\n /**\n * The number of the _first_ byte in the chunk.\n * Absolute position from the start of the file ( file.seek(<chunk_start>, SEEK_START) ).\n * The client is expected to send [<chunk_start>; <chunk_end>) range.\n *\n * @generated from protobuf field: uint64 chunk_start = 4\n */\n chunkStart: bigint;\n /**\n * The number of the byte _after_ the last to be sent in the chunk.\n * Absolute position from the start of the file.\n * The client is expected to send [<chunk_start>; <chunk_end>) range.\n *\n * @generated from protobuf field: uint64 chunk_end = 5\n */\n chunkEnd: bigint;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.Finalize\n */\nexport interface uploadapi_Finalize {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.Finalize.Request\n */\nexport interface uploadapi_Finalize_Request {\n /**\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.Finalize.Response\n */\nexport interface uploadapi_Finalize_Response {\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi$Type extends MessageType<uploadapi> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi\", []);\n }\n create(value?: PartialMessage<uploadapi>): uploadapi {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<uploadapi>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi): uploadapi {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi\n */\nexport const uploadapi = new uploadapi$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_Init$Type extends MessageType<uploadapi_Init> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.Init\", []);\n }\n create(value?: PartialMessage<uploadapi_Init>): uploadapi_Init {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<uploadapi_Init>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_Init): uploadapi_Init {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_Init, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.Init\n */\nexport const uploadapi_Init = new uploadapi_Init$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_Init_Request$Type extends MessageType<uploadapi_Init_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.Init.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<uploadapi_Init_Request>): uploadapi_Init_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n if (value !== undefined)\n reflectionMergePartial<uploadapi_Init_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_Init_Request): uploadapi_Init_Request {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 resource_id */ 1:\n message.resourceId = reader.uint64().toBigInt();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_Init_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 resource_id = 1; */\n if (message.resourceId !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.resourceId);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.Init.Request\n */\nexport const uploadapi_Init_Request = new uploadapi_Init_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_Init_Response$Type extends MessageType<uploadapi_Init_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.Init.Response\", [\n { no: 1, name: \"parts_count\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"uploaded_parts\", kind: \"scalar\", repeat: 1 /*RepeatType.PACKED*/, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<uploadapi_Init_Response>): uploadapi_Init_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.partsCount = 0n;\n message.uploadedParts = [];\n if (value !== undefined)\n reflectionMergePartial<uploadapi_Init_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_Init_Response): uploadapi_Init_Response {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 parts_count */ 1:\n message.partsCount = reader.uint64().toBigInt();\n break;\n case /* repeated uint64 uploaded_parts */ 2:\n if (wireType === WireType.LengthDelimited)\n for (let e = reader.int32() + reader.pos; reader.pos < e;)\n message.uploadedParts.push(reader.uint64().toBigInt());\n else\n message.uploadedParts.push(reader.uint64().toBigInt());\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_Init_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 parts_count = 1; */\n if (message.partsCount !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.partsCount);\n /* repeated uint64 uploaded_parts = 2; */\n if (message.uploadedParts.length) {\n writer.tag(2, WireType.LengthDelimited).fork();\n for (let i = 0; i < message.uploadedParts.length; i++)\n writer.uint64(message.uploadedParts[i]);\n writer.join();\n }\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.Init.Response\n */\nexport const uploadapi_Init_Response = new uploadapi_Init_Response$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_UpdateProgress$Type extends MessageType<uploadapi_UpdateProgress> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.UpdateProgress\", []);\n }\n create(value?: PartialMessage<uploadapi_UpdateProgress>): uploadapi_UpdateProgress {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<uploadapi_UpdateProgress>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_UpdateProgress): uploadapi_UpdateProgress {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_UpdateProgress, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.UpdateProgress\n */\nexport const uploadapi_UpdateProgress = new uploadapi_UpdateProgress$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_UpdateProgress_Request$Type extends MessageType<uploadapi_UpdateProgress_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.UpdateProgress.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"bytes_processed\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<uploadapi_UpdateProgress_Request>): uploadapi_UpdateProgress_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.bytesProcessed = 0n;\n if (value !== undefined)\n reflectionMergePartial<uploadapi_UpdateProgress_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_UpdateProgress_Request): uploadapi_UpdateProgress_Request {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 resource_id */ 1:\n message.resourceId = reader.uint64().toBigInt();\n break;\n case /* int64 bytes_processed */ 2:\n message.bytesProcessed = reader.int64().toBigInt();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_UpdateProgress_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 resource_id = 1; */\n if (message.resourceId !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.resourceId);\n /* int64 bytes_processed = 2; */\n if (message.bytesProcessed !== 0n)\n writer.tag(2, WireType.Varint).int64(message.bytesProcessed);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.UpdateProgress.Request\n */\nexport const uploadapi_UpdateProgress_Request = new uploadapi_UpdateProgress_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_UpdateProgress_Response$Type extends MessageType<uploadapi_UpdateProgress_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.UpdateProgress.Response\", []);\n }\n create(value?: PartialMessage<uploadapi_UpdateProgress_Response>): uploadapi_UpdateProgress_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<uploadapi_UpdateProgress_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_UpdateProgress_Response): uploadapi_UpdateProgress_Response {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_UpdateProgress_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.UpdateProgress.Response\n */\nexport const uploadapi_UpdateProgress_Response = new uploadapi_UpdateProgress_Response$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_GetPartURL$Type extends MessageType<uploadapi_GetPartURL> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.GetPartURL\", []);\n }\n create(value?: PartialMessage<uploadapi_GetPartURL>): uploadapi_GetPartURL {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<uploadapi_GetPartURL>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_GetPartURL): uploadapi_GetPartURL {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_GetPartURL, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.GetPartURL\n */\nexport const uploadapi_GetPartURL = new uploadapi_GetPartURL$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_GetPartURL_Request$Type extends MessageType<uploadapi_GetPartURL_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.GetPartURL.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"part_number\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"uploaded_part_size\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"is_internal_use\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ }\n ]);\n }\n create(value?: PartialMessage<uploadapi_GetPartURL_Request>): uploadapi_GetPartURL_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.partNumber = 0n;\n message.uploadedPartSize = 0n;\n message.isInternalUse = false;\n if (value !== undefined)\n reflectionMergePartial<uploadapi_GetPartURL_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_GetPartURL_Request): uploadapi_GetPartURL_Request {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 resource_id */ 1:\n message.resourceId = reader.uint64().toBigInt();\n break;\n case /* uint64 part_number */ 2:\n message.partNumber = reader.uint64().toBigInt();\n break;\n case /* uint64 uploaded_part_size */ 3:\n message.uploadedPartSize = reader.uint64().toBigInt();\n break;\n case /* bool is_internal_use */ 4:\n message.isInternalUse = reader.bool();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_GetPartURL_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 resource_id = 1; */\n if (message.resourceId !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.resourceId);\n /* uint64 part_number = 2; */\n if (message.partNumber !== 0n)\n writer.tag(2, WireType.Varint).uint64(message.partNumber);\n /* uint64 uploaded_part_size = 3; */\n if (message.uploadedPartSize !== 0n)\n writer.tag(3, WireType.Varint).uint64(message.uploadedPartSize);\n /* bool is_internal_use = 4; */\n if (message.isInternalUse !== false)\n writer.tag(4, WireType.Varint).bool(message.isInternalUse);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.GetPartURL.Request\n */\nexport const uploadapi_GetPartURL_Request = new uploadapi_GetPartURL_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_GetPartURL_HTTPHeader$Type extends MessageType<uploadapi_GetPartURL_HTTPHeader> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.GetPartURL.HTTPHeader\", [\n { no: 1, name: \"Name\", kind: \"scalar\", jsonName: \"Name\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"Value\", kind: \"scalar\", jsonName: \"Value\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<uploadapi_GetPartURL_HTTPHeader>): uploadapi_GetPartURL_HTTPHeader {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.name = \"\";\n message.value = \"\";\n if (value !== undefined)\n reflectionMergePartial<uploadapi_GetPartURL_HTTPHeader>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_GetPartURL_HTTPHeader): uploadapi_GetPartURL_HTTPHeader {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string Name */ 1:\n message.name = reader.string();\n break;\n case /* string Value */ 2:\n message.value = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_GetPartURL_HTTPHeader, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string Name = 1; */\n if (message.name !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.name);\n /* string Value = 2; */\n if (message.value !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.value);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.GetPartURL.HTTPHeader\n */\nexport const uploadapi_GetPartURL_HTTPHeader = new uploadapi_GetPartURL_HTTPHeader$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_GetPartURL_Response$Type extends MessageType<uploadapi_GetPartURL_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.GetPartURL.Response\", [\n { no: 1, name: \"upload_url\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"method\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"headers\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => uploadapi_GetPartURL_HTTPHeader },\n { no: 4, name: \"chunk_start\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 5, name: \"chunk_end\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<uploadapi_GetPartURL_Response>): uploadapi_GetPartURL_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.uploadUrl = \"\";\n message.method = \"\";\n message.headers = [];\n message.chunkStart = 0n;\n message.chunkEnd = 0n;\n if (value !== undefined)\n reflectionMergePartial<uploadapi_GetPartURL_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_GetPartURL_Response): uploadapi_GetPartURL_Response {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string upload_url */ 1:\n message.uploadUrl = reader.string();\n break;\n case /* string method */ 2:\n message.method = reader.string();\n break;\n case /* repeated MiLaboratories.Controller.Shared.uploadapi.GetPartURL.HTTPHeader headers */ 3:\n message.headers.push(uploadapi_GetPartURL_HTTPHeader.internalBinaryRead(reader, reader.uint32(), options));\n break;\n case /* uint64 chunk_start */ 4:\n message.chunkStart = reader.uint64().toBigInt();\n break;\n case /* uint64 chunk_end */ 5:\n message.chunkEnd = reader.uint64().toBigInt();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_GetPartURL_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string upload_url = 1; */\n if (message.uploadUrl !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.uploadUrl);\n /* string method = 2; */\n if (message.method !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.method);\n /* repeated MiLaboratories.Controller.Shared.uploadapi.GetPartURL.HTTPHeader headers = 3; */\n for (let i = 0; i < message.headers.length; i++)\n uploadapi_GetPartURL_HTTPHeader.internalBinaryWrite(message.headers[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n /* uint64 chunk_start = 4; */\n if (message.chunkStart !== 0n)\n writer.tag(4, WireType.Varint).uint64(message.chunkStart);\n /* uint64 chunk_end = 5; */\n if (message.chunkEnd !== 0n)\n writer.tag(5, WireType.Varint).uint64(message.chunkEnd);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.GetPartURL.Response\n */\nexport const uploadapi_GetPartURL_Response = new uploadapi_GetPartURL_Response$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_Finalize$Type extends MessageType<uploadapi_Finalize> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.Finalize\", []);\n }\n create(value?: PartialMessage<uploadapi_Finalize>): uploadapi_Finalize {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<uploadapi_Finalize>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_Finalize): uploadapi_Finalize {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_Finalize, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.Finalize\n */\nexport const uploadapi_Finalize = new uploadapi_Finalize$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_Finalize_Request$Type extends MessageType<uploadapi_Finalize_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.Finalize.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<uploadapi_Finalize_Request>): uploadapi_Finalize_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n if (value !== undefined)\n reflectionMergePartial<uploadapi_Finalize_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_Finalize_Request): uploadapi_Finalize_Request {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 resource_id */ 1:\n message.resourceId = reader.uint64().toBigInt();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_Finalize_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 resource_id = 1; */\n if (message.resourceId !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.resourceId);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.Finalize.Request\n */\nexport const uploadapi_Finalize_Request = new uploadapi_Finalize_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_Finalize_Response$Type extends MessageType<uploadapi_Finalize_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.Finalize.Response\", []);\n }\n create(value?: PartialMessage<uploadapi_Finalize_Response>): uploadapi_Finalize_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<uploadapi_Finalize_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_Finalize_Response): uploadapi_Finalize_Response {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_Finalize_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.Finalize.Response\n */\nexport const uploadapi_Finalize_Response = new uploadapi_Finalize_Response$Type();\n/**\n * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.Upload\n */\nexport const Upload = new ServiceType(\"MiLaboratories.Controller.Shared.Upload\", [\n { name: \"Init\", options: {}, I: uploadapi_Init_Request, O: uploadapi_Init_Response },\n { name: \"GetPartURL\", options: {}, I: uploadapi_GetPartURL_Request, O: uploadapi_GetPartURL_Response },\n { name: \"UpdateProgress\", options: {}, I: uploadapi_UpdateProgress_Request, O: uploadapi_UpdateProgress_Response },\n { name: \"Finalize\", options: {}, I: uploadapi_Finalize_Request, O: uploadapi_Finalize_Response }\n]);\n"],"names":["MessageType","reflectionMergePartial","UnknownFieldHandler","WireType","ServiceType"],"mappings":";;;;;AAAA;AACA;AACA;AAgNA;AACA,MAAM,cAAe,SAAQA,mBAAsB,CAAA;AAC/C,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,CAAC,4CAA4C,EAAE,EAAE,CAAC;IAC3D;AACA,IAAA,MAAM,CAAC,KAAiC,EAAA;AACpC,QAAA,MAAM,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,gBAAiB,EAAE;QAClE,IAAI,KAAK,KAAK,SAAS;AACnB,YAAAC,8BAAsB,CAAY,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC;AAC3D,QAAA,OAAO,OAAO;IAClB;AACA,IAAA,kBAAkB,CAAC,MAAqB,EAAE,MAAc,EAAE,OAA0B,EAAE,MAAkB,EAAA;AACpG,QAAA,IAAI,OAAO,GAAG,MAAM,IAAI,IAAI,CAAC,MAAM,EAAE,EAAE,GAAG,GAAG,MAAM,CAAC,GAAG,GAAG,MAAM;AAChE,QAAA,OAAO,MAAM,CAAC,GAAG,GAAG,GAAG,EAAE;YACrB,IAAI,CAAC,OAAO,EAAE,QAAQ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E,MAAqB,EAAE,OAA2B,EAAA;AACxG,QAAA,IAAI,CAAC,GAAG,OAAO,CAAC,kBAAkB;QAClC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,GAAGA,2BAAmB,CAAC,OAAO,GAAG,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC;AACjF,QAAA,OAAO,MAAM;IACjB;AACH;AACD;;AAEG;AACI,MAAM,2BAA2B,GAAG,IAAI,gCAAgC;AAC/E;;AAEG;MACU,MAAM,GAAG,IAAIE,sBAAW,CAAC,yCAAyC,EAAE;AAC7E,IAAA,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,sBAAsB,EAAE,CAAC,EAAE,uBAAuB,EAAE;AACpF,IAAA,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,4BAA4B,EAAE,CAAC,EAAE,6BAA6B,EAAE;AACtG,IAAA,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,gCAAgC,EAAE,CAAC,EAAE,iCAAiC,EAAE;AAClH,IAAA,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,0BAA0B,EAAE,CAAC,EAAE,2BAA2B;AACjG,CAAA;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"protocol.cjs","sources":["../../../../../../../../../src/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.0 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.proto\" (package \"MiLaboratories.Controller.Shared\", syntax proto3)\n// tslint:disable\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi\n */\nexport interface uploadapi {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.Init\n */\nexport interface uploadapi_Init {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.Init.Request\n */\nexport interface uploadapi_Init_Request {\n /**\n * Id of upload resource\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.Init.Response\n */\nexport interface uploadapi_Init_Response {\n /**\n * Number of parts in this upload.\n * For parallel upload support, client can generate any number of part upload URLs\n * at the moment and upload them in parallel.\n * <parts_count> keeps the number of chunks supported by this upload.\n * The parts count is calculated from the planned size of the upload, controller\n * configuration and underlying storage restrictions.\n *\n * @generated from protobuf field: uint64 parts_count = 1\n */\n partsCount: bigint;\n /**\n * @generated from protobuf field: uint64 part_size = 3\n */\n partSize: bigint;\n /**\n * Checksum algorithm to use for the part upload.\n *\n * @generated from protobuf field: MiLaboratories.Controller.Shared.uploadapi.ChecksumAlgorithm checksum_algorithm = 4\n */\n checksumAlgorithm: uploadapi_ChecksumAlgorithm;\n /**\n * Header name to use for the checksum.\n *\n * @generated from protobuf field: string checksum_header = 5\n */\n checksumHeader: string;\n /**\n * List of IDs of parts that were already uploaded by client.\n * Helps client to recover upload and skip already done parts\n * after being interrupted in the middle of the upload\n * (say, because of the restart).\n * Parts enumeration starts from 1.\n *\n * @generated from protobuf field: repeated uint64 uploaded_parts = 2\n */\n uploadedParts: bigint[];\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.UpdateProgress\n */\nexport interface uploadapi_UpdateProgress {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.UpdateProgress.Request\n */\nexport interface uploadapi_UpdateProgress_Request {\n /**\n * Id of upload resource\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * Amount of bytes, uploaded since the earlier call to UpdateProgress.\n * This value is just blindly added to the 'bytes_processed' of progress report,\n * so other clients can see the upload progress.\n * If client uploads the data in several streams (several chunks in parallel), it\n * can safely send progress updates individually for each of the streams, just counting\n * bytes uploaded by particular stream.\n *\n * Negative value can be used to report about upload retry: when upload was interrupted,\n * part of the uploaded data is lost and require re-upload.\n *\n * @generated from protobuf field: int64 bytes_processed = 2\n */\n bytesProcessed: bigint;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.UpdateProgress.Response\n */\nexport interface uploadapi_UpdateProgress_Response {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.GetPartURL\n */\nexport interface uploadapi_GetPartURL {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.GetPartURL.Request\n */\nexport interface uploadapi_GetPartURL_Request {\n /**\n * Id of upload resource\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * Part to be uploaded. It is responsibility of the Client to watch after already uploaded parts:\n * - client can request an URL for the same part twice (request -> request) without errors;\n * - client can request an URL for alrady uploaded part (request -> upload -> request) without errors.\n *\n * Parts enumeration starts from 1.\n *\n * @generated from protobuf field: uint64 part_number = 2\n */\n partNumber: bigint;\n /**\n * Size of the part uploaded by client earlier. Allows controller to count upload progress\n * based on client's input.\n * Client is free to never sent this value (send zeroes in each request).\n *\n * @generated from protobuf field: uint64 uploaded_part_size = 3\n */\n uploadedPartSize: bigint;\n /**\n * Do we need to presign URL for internal use.\n * Controllers could use this if they are trying to download something from internal network.\n * For backward compatibility, by default pl backend will presign external urls.\n *\n * @generated from protobuf field: bool is_internal_use = 4\n */\n isInternalUse: boolean;\n /**\n * Checksum is not used for now, but it is here for case\n * where signing checksum header is required.\n *\n * @generated from protobuf field: string part_checksum = 5\n */\n partChecksum: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.GetPartURL.HTTPHeader\n */\nexport interface uploadapi_GetPartURL_HTTPHeader {\n /**\n * @generated from protobuf field: string Name = 1\n */\n name: string;\n /**\n * @generated from protobuf field: string Value = 2\n */\n value: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.GetPartURL.Response\n */\nexport interface uploadapi_GetPartURL_Response {\n /**\n * URL for chunk upload\n *\n * @generated from protobuf field: string upload_url = 1\n */\n uploadUrl: string;\n /**\n * HTTP method to use for chunk upload, say 'PUT' or 'POST'.\n *\n * @generated from protobuf field: string method = 2\n */\n method: string;\n /**\n * List of headers with their values, MANDATORY to be sent by the client for the upload.\n * The destination service (the one, that will handle upload request for specific part)\n * may reject the request if it would not keep the given headers.\n *\n * @generated from protobuf field: repeated MiLaboratories.Controller.Shared.uploadapi.GetPartURL.HTTPHeader headers = 3\n */\n headers: uploadapi_GetPartURL_HTTPHeader[];\n /**\n * The number of the _first_ byte in the chunk.\n * Absolute position from the start of the file ( file.seek(<chunk_start>, SEEK_START) ).\n * The client is expected to send [<chunk_start>; <chunk_end>) range.\n *\n * @generated from protobuf field: uint64 chunk_start = 4\n */\n chunkStart: bigint;\n /**\n * The number of the byte _after_ the last to be sent in the chunk.\n * Absolute position from the start of the file.\n * The client is expected to send [<chunk_start>; <chunk_end>) range.\n *\n * @generated from protobuf field: uint64 chunk_end = 5\n */\n chunkEnd: bigint;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.Finalize\n */\nexport interface uploadapi_Finalize {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.Finalize.Request\n */\nexport interface uploadapi_Finalize_Request {\n /**\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.Finalize.Response\n */\nexport interface uploadapi_Finalize_Response {\n}\n/**\n * @generated from protobuf enum MiLaboratories.Controller.Shared.uploadapi.ChecksumAlgorithm\n */\nexport enum uploadapi_ChecksumAlgorithm {\n /**\n * @generated from protobuf enum value: CHECKSUM_ALGORITHM_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * @generated from protobuf enum value: CHECKSUM_ALGORITHM_CRC32C = 1;\n */\n CRC32C = 1\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi$Type extends MessageType<uploadapi> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi\", []);\n }\n create(value?: PartialMessage<uploadapi>): uploadapi {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<uploadapi>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi): uploadapi {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi\n */\nexport const uploadapi = new uploadapi$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_Init$Type extends MessageType<uploadapi_Init> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.Init\", []);\n }\n create(value?: PartialMessage<uploadapi_Init>): uploadapi_Init {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<uploadapi_Init>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_Init): uploadapi_Init {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_Init, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.Init\n */\nexport const uploadapi_Init = new uploadapi_Init$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_Init_Request$Type extends MessageType<uploadapi_Init_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.Init.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<uploadapi_Init_Request>): uploadapi_Init_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n if (value !== undefined)\n reflectionMergePartial<uploadapi_Init_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_Init_Request): uploadapi_Init_Request {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 resource_id */ 1:\n message.resourceId = reader.uint64().toBigInt();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_Init_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 resource_id = 1; */\n if (message.resourceId !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.resourceId);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.Init.Request\n */\nexport const uploadapi_Init_Request = new uploadapi_Init_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_Init_Response$Type extends MessageType<uploadapi_Init_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.Init.Response\", [\n { no: 1, name: \"parts_count\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"part_size\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"checksum_algorithm\", kind: \"enum\", T: () => [\"MiLaboratories.Controller.Shared.uploadapi.ChecksumAlgorithm\", uploadapi_ChecksumAlgorithm, \"CHECKSUM_ALGORITHM_\"] },\n { no: 5, name: \"checksum_header\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"uploaded_parts\", kind: \"scalar\", repeat: 1 /*RepeatType.PACKED*/, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<uploadapi_Init_Response>): uploadapi_Init_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.partsCount = 0n;\n message.partSize = 0n;\n message.checksumAlgorithm = 0;\n message.checksumHeader = \"\";\n message.uploadedParts = [];\n if (value !== undefined)\n reflectionMergePartial<uploadapi_Init_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_Init_Response): uploadapi_Init_Response {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 parts_count */ 1:\n message.partsCount = reader.uint64().toBigInt();\n break;\n case /* uint64 part_size */ 3:\n message.partSize = reader.uint64().toBigInt();\n break;\n case /* MiLaboratories.Controller.Shared.uploadapi.ChecksumAlgorithm checksum_algorithm */ 4:\n message.checksumAlgorithm = reader.int32();\n break;\n case /* string checksum_header */ 5:\n message.checksumHeader = reader.string();\n break;\n case /* repeated uint64 uploaded_parts */ 2:\n if (wireType === WireType.LengthDelimited)\n for (let e = reader.int32() + reader.pos; reader.pos < e;)\n message.uploadedParts.push(reader.uint64().toBigInt());\n else\n message.uploadedParts.push(reader.uint64().toBigInt());\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_Init_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 parts_count = 1; */\n if (message.partsCount !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.partsCount);\n /* repeated uint64 uploaded_parts = 2; */\n if (message.uploadedParts.length) {\n writer.tag(2, WireType.LengthDelimited).fork();\n for (let i = 0; i < message.uploadedParts.length; i++)\n writer.uint64(message.uploadedParts[i]);\n writer.join();\n }\n /* uint64 part_size = 3; */\n if (message.partSize !== 0n)\n writer.tag(3, WireType.Varint).uint64(message.partSize);\n /* MiLaboratories.Controller.Shared.uploadapi.ChecksumAlgorithm checksum_algorithm = 4; */\n if (message.checksumAlgorithm !== 0)\n writer.tag(4, WireType.Varint).int32(message.checksumAlgorithm);\n /* string checksum_header = 5; */\n if (message.checksumHeader !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.checksumHeader);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.Init.Response\n */\nexport const uploadapi_Init_Response = new uploadapi_Init_Response$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_UpdateProgress$Type extends MessageType<uploadapi_UpdateProgress> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.UpdateProgress\", []);\n }\n create(value?: PartialMessage<uploadapi_UpdateProgress>): uploadapi_UpdateProgress {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<uploadapi_UpdateProgress>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_UpdateProgress): uploadapi_UpdateProgress {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_UpdateProgress, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.UpdateProgress\n */\nexport const uploadapi_UpdateProgress = new uploadapi_UpdateProgress$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_UpdateProgress_Request$Type extends MessageType<uploadapi_UpdateProgress_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.UpdateProgress.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"bytes_processed\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<uploadapi_UpdateProgress_Request>): uploadapi_UpdateProgress_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.bytesProcessed = 0n;\n if (value !== undefined)\n reflectionMergePartial<uploadapi_UpdateProgress_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_UpdateProgress_Request): uploadapi_UpdateProgress_Request {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 resource_id */ 1:\n message.resourceId = reader.uint64().toBigInt();\n break;\n case /* int64 bytes_processed */ 2:\n message.bytesProcessed = reader.int64().toBigInt();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_UpdateProgress_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 resource_id = 1; */\n if (message.resourceId !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.resourceId);\n /* int64 bytes_processed = 2; */\n if (message.bytesProcessed !== 0n)\n writer.tag(2, WireType.Varint).int64(message.bytesProcessed);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.UpdateProgress.Request\n */\nexport const uploadapi_UpdateProgress_Request = new uploadapi_UpdateProgress_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_UpdateProgress_Response$Type extends MessageType<uploadapi_UpdateProgress_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.UpdateProgress.Response\", []);\n }\n create(value?: PartialMessage<uploadapi_UpdateProgress_Response>): uploadapi_UpdateProgress_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<uploadapi_UpdateProgress_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_UpdateProgress_Response): uploadapi_UpdateProgress_Response {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_UpdateProgress_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.UpdateProgress.Response\n */\nexport const uploadapi_UpdateProgress_Response = new uploadapi_UpdateProgress_Response$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_GetPartURL$Type extends MessageType<uploadapi_GetPartURL> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.GetPartURL\", []);\n }\n create(value?: PartialMessage<uploadapi_GetPartURL>): uploadapi_GetPartURL {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<uploadapi_GetPartURL>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_GetPartURL): uploadapi_GetPartURL {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_GetPartURL, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.GetPartURL\n */\nexport const uploadapi_GetPartURL = new uploadapi_GetPartURL$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_GetPartURL_Request$Type extends MessageType<uploadapi_GetPartURL_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.GetPartURL.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"part_number\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"uploaded_part_size\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"is_internal_use\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 5, name: \"part_checksum\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<uploadapi_GetPartURL_Request>): uploadapi_GetPartURL_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.partNumber = 0n;\n message.uploadedPartSize = 0n;\n message.isInternalUse = false;\n message.partChecksum = \"\";\n if (value !== undefined)\n reflectionMergePartial<uploadapi_GetPartURL_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_GetPartURL_Request): uploadapi_GetPartURL_Request {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 resource_id */ 1:\n message.resourceId = reader.uint64().toBigInt();\n break;\n case /* uint64 part_number */ 2:\n message.partNumber = reader.uint64().toBigInt();\n break;\n case /* uint64 uploaded_part_size */ 3:\n message.uploadedPartSize = reader.uint64().toBigInt();\n break;\n case /* bool is_internal_use */ 4:\n message.isInternalUse = reader.bool();\n break;\n case /* string part_checksum */ 5:\n message.partChecksum = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_GetPartURL_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 resource_id = 1; */\n if (message.resourceId !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.resourceId);\n /* uint64 part_number = 2; */\n if (message.partNumber !== 0n)\n writer.tag(2, WireType.Varint).uint64(message.partNumber);\n /* uint64 uploaded_part_size = 3; */\n if (message.uploadedPartSize !== 0n)\n writer.tag(3, WireType.Varint).uint64(message.uploadedPartSize);\n /* bool is_internal_use = 4; */\n if (message.isInternalUse !== false)\n writer.tag(4, WireType.Varint).bool(message.isInternalUse);\n /* string part_checksum = 5; */\n if (message.partChecksum !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.partChecksum);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.GetPartURL.Request\n */\nexport const uploadapi_GetPartURL_Request = new uploadapi_GetPartURL_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_GetPartURL_HTTPHeader$Type extends MessageType<uploadapi_GetPartURL_HTTPHeader> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.GetPartURL.HTTPHeader\", [\n { no: 1, name: \"Name\", kind: \"scalar\", jsonName: \"Name\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"Value\", kind: \"scalar\", jsonName: \"Value\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<uploadapi_GetPartURL_HTTPHeader>): uploadapi_GetPartURL_HTTPHeader {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.name = \"\";\n message.value = \"\";\n if (value !== undefined)\n reflectionMergePartial<uploadapi_GetPartURL_HTTPHeader>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_GetPartURL_HTTPHeader): uploadapi_GetPartURL_HTTPHeader {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string Name */ 1:\n message.name = reader.string();\n break;\n case /* string Value */ 2:\n message.value = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_GetPartURL_HTTPHeader, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string Name = 1; */\n if (message.name !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.name);\n /* string Value = 2; */\n if (message.value !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.value);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.GetPartURL.HTTPHeader\n */\nexport const uploadapi_GetPartURL_HTTPHeader = new uploadapi_GetPartURL_HTTPHeader$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_GetPartURL_Response$Type extends MessageType<uploadapi_GetPartURL_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.GetPartURL.Response\", [\n { no: 1, name: \"upload_url\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"method\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"headers\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => uploadapi_GetPartURL_HTTPHeader },\n { no: 4, name: \"chunk_start\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 5, name: \"chunk_end\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<uploadapi_GetPartURL_Response>): uploadapi_GetPartURL_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.uploadUrl = \"\";\n message.method = \"\";\n message.headers = [];\n message.chunkStart = 0n;\n message.chunkEnd = 0n;\n if (value !== undefined)\n reflectionMergePartial<uploadapi_GetPartURL_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_GetPartURL_Response): uploadapi_GetPartURL_Response {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string upload_url */ 1:\n message.uploadUrl = reader.string();\n break;\n case /* string method */ 2:\n message.method = reader.string();\n break;\n case /* repeated MiLaboratories.Controller.Shared.uploadapi.GetPartURL.HTTPHeader headers */ 3:\n message.headers.push(uploadapi_GetPartURL_HTTPHeader.internalBinaryRead(reader, reader.uint32(), options));\n break;\n case /* uint64 chunk_start */ 4:\n message.chunkStart = reader.uint64().toBigInt();\n break;\n case /* uint64 chunk_end */ 5:\n message.chunkEnd = reader.uint64().toBigInt();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_GetPartURL_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string upload_url = 1; */\n if (message.uploadUrl !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.uploadUrl);\n /* string method = 2; */\n if (message.method !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.method);\n /* repeated MiLaboratories.Controller.Shared.uploadapi.GetPartURL.HTTPHeader headers = 3; */\n for (let i = 0; i < message.headers.length; i++)\n uploadapi_GetPartURL_HTTPHeader.internalBinaryWrite(message.headers[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n /* uint64 chunk_start = 4; */\n if (message.chunkStart !== 0n)\n writer.tag(4, WireType.Varint).uint64(message.chunkStart);\n /* uint64 chunk_end = 5; */\n if (message.chunkEnd !== 0n)\n writer.tag(5, WireType.Varint).uint64(message.chunkEnd);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.GetPartURL.Response\n */\nexport const uploadapi_GetPartURL_Response = new uploadapi_GetPartURL_Response$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_Finalize$Type extends MessageType<uploadapi_Finalize> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.Finalize\", []);\n }\n create(value?: PartialMessage<uploadapi_Finalize>): uploadapi_Finalize {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<uploadapi_Finalize>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_Finalize): uploadapi_Finalize {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_Finalize, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.Finalize\n */\nexport const uploadapi_Finalize = new uploadapi_Finalize$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_Finalize_Request$Type extends MessageType<uploadapi_Finalize_Request> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.Finalize.Request\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<uploadapi_Finalize_Request>): uploadapi_Finalize_Request {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n if (value !== undefined)\n reflectionMergePartial<uploadapi_Finalize_Request>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_Finalize_Request): uploadapi_Finalize_Request {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 resource_id */ 1:\n message.resourceId = reader.uint64().toBigInt();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_Finalize_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint64 resource_id = 1; */\n if (message.resourceId !== 0n)\n writer.tag(1, WireType.Varint).uint64(message.resourceId);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.Finalize.Request\n */\nexport const uploadapi_Finalize_Request = new uploadapi_Finalize_Request$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass uploadapi_Finalize_Response$Type extends MessageType<uploadapi_Finalize_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.uploadapi.Finalize.Response\", []);\n }\n create(value?: PartialMessage<uploadapi_Finalize_Response>): uploadapi_Finalize_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<uploadapi_Finalize_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: uploadapi_Finalize_Response): uploadapi_Finalize_Response {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: uploadapi_Finalize_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.uploadapi.Finalize.Response\n */\nexport const uploadapi_Finalize_Response = new uploadapi_Finalize_Response$Type();\n/**\n * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.Upload\n */\nexport const Upload = new ServiceType(\"MiLaboratories.Controller.Shared.Upload\", [\n { name: \"Init\", options: {}, I: uploadapi_Init_Request, O: uploadapi_Init_Response },\n { name: \"GetPartURL\", options: {}, I: uploadapi_GetPartURL_Request, O: uploadapi_GetPartURL_Response },\n { name: \"UpdateProgress\", options: {}, I: uploadapi_UpdateProgress_Request, O: uploadapi_UpdateProgress_Response },\n { name: \"Finalize\", options: {}, I: uploadapi_Finalize_Request, O: uploadapi_Finalize_Response }\n]);\n"],"names":["uploadapi_ChecksumAlgorithm","MessageType","reflectionMergePartial","UnknownFieldHandler","WireType","ServiceType"],"mappings":";;;;;AAAA;AACA;AACA;AAuOA;;AAEG;AACSA;AAAZ,CAAA,UAAY,2BAA2B,EAAA;AACnC;;AAEG;AACH,IAAA,2BAAA,CAAA,2BAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,GAAA,aAAe;AACf;;AAEG;AACH,IAAA,2BAAA,CAAA,2BAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAU;AACd,CAAC,EATWA,mCAA2B,KAA3BA,mCAA2B,GAAA,EAAA,CAAA,CAAA;AAUvC;AACA,MAAM,cAAe,SAAQC,mBAAsB,CAAA;AAC/C,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,CAAC,4CAA4C,EAAE,EAAE,CAAC;IAC3D;AACA,IAAA,MAAM,CAAC,KAAiC,EAAA;AACpC,QAAA,MAAM,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,gBAAiB,EAAE;QAClE,IAAI,KAAK,KAAK,SAAS;AACnB,YAAAC,8BAAsB,CAAY,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC;AAC3D,QAAA,OAAO,OAAO;IAClB;AACA,IAAA,kBAAkB,CAAC,MAAqB,EAAE,MAAc,EAAE,OAA0B,EAAE,MAAkB,EAAA;AACpG,QAAA,IAAI,OAAO,GAAG,MAAM,IAAI,IAAI,CAAC,MAAM,EAAE,EAAE,GAAG,GAAG,MAAM,CAAC,GAAG,GAAG,MAAM;AAChE,QAAA,OAAO,MAAM,CAAC,GAAG,GAAG,GAAG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AE,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,gCAAgC,EAAE,CAAC,EAAE,iCAAiC,EAAE;AAClH,IAAA,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,0BAA0B,EAAE,CAAC,EAAE,2BAA2B;AACjG,CAAA;;;;;;;;;;;;;"}
|
package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.d.ts
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
|
-
import { RpcTransport
|
|
2
|
-
import {
|
|
1
|
+
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
2
|
+
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
3
|
+
import type { uploadapi_Finalize_Response } from "./protocol";
|
|
4
|
+
import type { uploadapi_Finalize_Request } from "./protocol";
|
|
5
|
+
import type { uploadapi_UpdateProgress_Response } from "./protocol";
|
|
6
|
+
import type { uploadapi_UpdateProgress_Request } from "./protocol";
|
|
7
|
+
import type { uploadapi_GetPartURL_Response } from "./protocol";
|
|
8
|
+
import type { uploadapi_GetPartURL_Request } from "./protocol";
|
|
9
|
+
import type { uploadapi_Init_Response } from "./protocol";
|
|
10
|
+
import type { uploadapi_Init_Request } from "./protocol";
|
|
11
|
+
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
12
|
+
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
3
13
|
/**
|
|
4
14
|
*
|
|
5
15
|
* Upload provides access to data upload feature, allowing clients to uplad data to Platforma.
|
|
@@ -54,9 +64,9 @@ export interface IUploadClient {
|
|
|
54
64
|
export declare class UploadClient implements IUploadClient, ServiceInfo {
|
|
55
65
|
private readonly _transport;
|
|
56
66
|
typeName: string;
|
|
57
|
-
methods: import(
|
|
67
|
+
methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
|
|
58
68
|
options: {
|
|
59
|
-
[extensionName: string]: import(
|
|
69
|
+
[extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
|
|
60
70
|
};
|
|
61
71
|
constructor(_transport: RpcTransport);
|
|
62
72
|
/**
|
|
@@ -95,3 +105,4 @@ export declare class UploadClient implements IUploadClient, ServiceInfo {
|
|
|
95
105
|
*/
|
|
96
106
|
finalize(input: uploadapi_Finalize_Request, options?: RpcOptions): UnaryCall<uploadapi_Finalize_Request, uploadapi_Finalize_Response>;
|
|
97
107
|
}
|
|
108
|
+
//# sourceMappingURL=protocol.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protocol.client.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,YAAY,CAAC;AACpE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,YAAY,CAAC;AACnE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAC;AAChE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAE/D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IA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AE,UAAU,GAAG,SAAS,CAAC,0BAA0B,EAAE,2BAA2B,CAAC;CAIxI"}
|
package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
import { ServiceType } from
|
|
2
|
-
import { BinaryWriteOptions
|
|
1
|
+
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
2
|
+
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
3
|
+
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
4
|
+
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
5
|
+
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
6
|
+
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
7
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
3
8
|
/**
|
|
4
9
|
* @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi
|
|
5
10
|
*/
|
|
@@ -36,6 +41,22 @@ export interface uploadapi_Init_Response {
|
|
|
36
41
|
* @generated from protobuf field: uint64 parts_count = 1
|
|
37
42
|
*/
|
|
38
43
|
partsCount: bigint;
|
|
44
|
+
/**
|
|
45
|
+
* @generated from protobuf field: uint64 part_size = 3
|
|
46
|
+
*/
|
|
47
|
+
partSize: bigint;
|
|
48
|
+
/**
|
|
49
|
+
* Checksum algorithm to use for the part upload.
|
|
50
|
+
*
|
|
51
|
+
* @generated from protobuf field: MiLaboratories.Controller.Shared.uploadapi.ChecksumAlgorithm checksum_algorithm = 4
|
|
52
|
+
*/
|
|
53
|
+
checksumAlgorithm: uploadapi_ChecksumAlgorithm;
|
|
54
|
+
/**
|
|
55
|
+
* Header name to use for the checksum.
|
|
56
|
+
*
|
|
57
|
+
* @generated from protobuf field: string checksum_header = 5
|
|
58
|
+
*/
|
|
59
|
+
checksumHeader: string;
|
|
39
60
|
/**
|
|
40
61
|
* List of IDs of parts that were already uploaded by client.
|
|
41
62
|
* Helps client to recover upload and skip already done parts
|
|
@@ -123,6 +144,13 @@ export interface uploadapi_GetPartURL_Request {
|
|
|
123
144
|
* @generated from protobuf field: bool is_internal_use = 4
|
|
124
145
|
*/
|
|
125
146
|
isInternalUse: boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Checksum is not used for now, but it is here for case
|
|
149
|
+
* where signing checksum header is required.
|
|
150
|
+
*
|
|
151
|
+
* @generated from protobuf field: string part_checksum = 5
|
|
152
|
+
*/
|
|
153
|
+
partChecksum: string;
|
|
126
154
|
}
|
|
127
155
|
/**
|
|
128
156
|
* @generated from protobuf message MiLaboratories.Controller.Shared.uploadapi.GetPartURL.HTTPHeader
|
|
@@ -197,6 +225,19 @@ export interface uploadapi_Finalize_Request {
|
|
|
197
225
|
*/
|
|
198
226
|
export interface uploadapi_Finalize_Response {
|
|
199
227
|
}
|
|
228
|
+
/**
|
|
229
|
+
* @generated from protobuf enum MiLaboratories.Controller.Shared.uploadapi.ChecksumAlgorithm
|
|
230
|
+
*/
|
|
231
|
+
export declare enum uploadapi_ChecksumAlgorithm {
|
|
232
|
+
/**
|
|
233
|
+
* @generated from protobuf enum value: CHECKSUM_ALGORITHM_UNSPECIFIED = 0;
|
|
234
|
+
*/
|
|
235
|
+
UNSPECIFIED = 0,
|
|
236
|
+
/**
|
|
237
|
+
* @generated from protobuf enum value: CHECKSUM_ALGORITHM_CRC32C = 1;
|
|
238
|
+
*/
|
|
239
|
+
CRC32C = 1
|
|
240
|
+
}
|
|
200
241
|
declare class uploadapi$Type extends MessageType<uploadapi> {
|
|
201
242
|
constructor();
|
|
202
243
|
create(value?: PartialMessage<uploadapi>): uploadapi;
|
|
@@ -342,3 +383,4 @@ export declare const uploadapi_Finalize_Response: uploadapi_Finalize_Response$Ty
|
|
|
342
383
|
*/
|
|
343
384
|
export declare const Upload: ServiceType;
|
|
344
385
|
export {};
|
|
386
|
+
//# sourceMappingURL=protocol.d.ts.map
|
package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD;;GAEG;AACH,MAAM,WAAW,SAAS;CACzB;AACD;;GAEG;AACH,MAAM,WAAW,cAAc;CAC9B;AACD;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AACD;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;;;;;;OASG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,iBAAiB,EAAE,2BAA2B,CAAC;IAC/C;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;;;;;OAQG;IACH,aAAa,EAAE,MAAM,EAAE,CAAC;CAC3B;AACD;;GAEG;AACH,MAAM,WAAW,wBAAwB;CACxC;AACD;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;;;;;;;;;OAYG;IACH,cAAc,EAAE,MAAM,CAAC;CAC1B;AACD;;GAEG;AACH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AkB,GAAG,aAAa;CAMtH;AACD;;GAEG;AACH,eAAO,MAAM,kBAAkB,yBAAgC,CAAC;AAEhE,cAAM,+BAAgC,SAAQ,WAAW,CAAC,0BAA0B,CAAC;;IAMjF,MAAM,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,0BAA0B,CAAC,GAAG,0BAA0B;IAOtF,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,0BAA0B,GAAG,0BAA0B;IAmBtJ,mBAAmB,CAAC,OAAO,EAAE,0BAA0B,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAS9H;AACD;;GAEG;AACH,eAAO,MAAM,0BAA0B,iCAAwC,CAAC;AAEhF,cAAM,gCAAiC,SAAQ,WAAW,CAAC,2BAA2B,CAAC;;IAInF,MAAM,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,2BAA2B,CAAC,GAAG,2BAA2B;IAMxF,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,2BAA2B,GAAG,2BAA2B;IAgBxJ,mBAAmB,CAAC,OAAO,EAAE,2BAA2B,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAM/H;AACD;;GAEG;AACH,eAAO,MAAM,2BAA2B,kCAAyC,CAAC;AAClF;;GAEG;AACH,eAAO,MAAM,MAAM,aAKjB,CAAC"}
|
|
@@ -4,6 +4,20 @@ import { MessageType, reflectionMergePartial, UnknownFieldHandler, WireType } fr
|
|
|
4
4
|
// @generated by protobuf-ts 2.11.0 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
5
5
|
// @generated from protobuf file "github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.proto" (package "MiLaboratories.Controller.Shared", syntax proto3)
|
|
6
6
|
// tslint:disable
|
|
7
|
+
/**
|
|
8
|
+
* @generated from protobuf enum MiLaboratories.Controller.Shared.uploadapi.ChecksumAlgorithm
|
|
9
|
+
*/
|
|
10
|
+
var uploadapi_ChecksumAlgorithm;
|
|
11
|
+
(function (uploadapi_ChecksumAlgorithm) {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from protobuf enum value: CHECKSUM_ALGORITHM_UNSPECIFIED = 0;
|
|
14
|
+
*/
|
|
15
|
+
uploadapi_ChecksumAlgorithm[uploadapi_ChecksumAlgorithm["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
16
|
+
/**
|
|
17
|
+
* @generated from protobuf enum value: CHECKSUM_ALGORITHM_CRC32C = 1;
|
|
18
|
+
*/
|
|
19
|
+
uploadapi_ChecksumAlgorithm[uploadapi_ChecksumAlgorithm["CRC32C"] = 1] = "CRC32C";
|
|
20
|
+
})(uploadapi_ChecksumAlgorithm || (uploadapi_ChecksumAlgorithm = {}));
|
|
7
21
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
8
22
|
class uploadapi$Type extends MessageType {
|
|
9
23
|
constructor() {
|
|
@@ -132,12 +146,18 @@ class uploadapi_Init_Response$Type extends MessageType {
|
|
|
132
146
|
constructor() {
|
|
133
147
|
super("MiLaboratories.Controller.Shared.uploadapi.Init.Response", [
|
|
134
148
|
{ no: 1, name: "parts_count", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
149
|
+
{ no: 3, name: "part_size", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
150
|
+
{ no: 4, name: "checksum_algorithm", kind: "enum", T: () => ["MiLaboratories.Controller.Shared.uploadapi.ChecksumAlgorithm", uploadapi_ChecksumAlgorithm, "CHECKSUM_ALGORITHM_"] },
|
|
151
|
+
{ no: 5, name: "checksum_header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
135
152
|
{ no: 2, name: "uploaded_parts", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }
|
|
136
153
|
]);
|
|
137
154
|
}
|
|
138
155
|
create(value) {
|
|
139
156
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
140
157
|
message.partsCount = 0n;
|
|
158
|
+
message.partSize = 0n;
|
|
159
|
+
message.checksumAlgorithm = 0;
|
|
160
|
+
message.checksumHeader = "";
|
|
141
161
|
message.uploadedParts = [];
|
|
142
162
|
if (value !== undefined)
|
|
143
163
|
reflectionMergePartial(this, message, value);
|
|
@@ -151,6 +171,15 @@ class uploadapi_Init_Response$Type extends MessageType {
|
|
|
151
171
|
case /* uint64 parts_count */ 1:
|
|
152
172
|
message.partsCount = reader.uint64().toBigInt();
|
|
153
173
|
break;
|
|
174
|
+
case /* uint64 part_size */ 3:
|
|
175
|
+
message.partSize = reader.uint64().toBigInt();
|
|
176
|
+
break;
|
|
177
|
+
case /* MiLaboratories.Controller.Shared.uploadapi.ChecksumAlgorithm checksum_algorithm */ 4:
|
|
178
|
+
message.checksumAlgorithm = reader.int32();
|
|
179
|
+
break;
|
|
180
|
+
case /* string checksum_header */ 5:
|
|
181
|
+
message.checksumHeader = reader.string();
|
|
182
|
+
break;
|
|
154
183
|
case /* repeated uint64 uploaded_parts */ 2:
|
|
155
184
|
if (wireType === WireType.LengthDelimited)
|
|
156
185
|
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
|
@@ -180,6 +209,15 @@ class uploadapi_Init_Response$Type extends MessageType {
|
|
|
180
209
|
writer.uint64(message.uploadedParts[i]);
|
|
181
210
|
writer.join();
|
|
182
211
|
}
|
|
212
|
+
/* uint64 part_size = 3; */
|
|
213
|
+
if (message.partSize !== 0n)
|
|
214
|
+
writer.tag(3, WireType.Varint).uint64(message.partSize);
|
|
215
|
+
/* MiLaboratories.Controller.Shared.uploadapi.ChecksumAlgorithm checksum_algorithm = 4; */
|
|
216
|
+
if (message.checksumAlgorithm !== 0)
|
|
217
|
+
writer.tag(4, WireType.Varint).int32(message.checksumAlgorithm);
|
|
218
|
+
/* string checksum_header = 5; */
|
|
219
|
+
if (message.checksumHeader !== "")
|
|
220
|
+
writer.tag(5, WireType.LengthDelimited).string(message.checksumHeader);
|
|
183
221
|
let u = options.writeUnknownFields;
|
|
184
222
|
if (u !== false)
|
|
185
223
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -366,7 +404,8 @@ class uploadapi_GetPartURL_Request$Type extends MessageType {
|
|
|
366
404
|
{ no: 1, name: "resource_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
367
405
|
{ no: 2, name: "part_number", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
368
406
|
{ no: 3, name: "uploaded_part_size", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
369
|
-
{ no: 4, name: "is_internal_use", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
407
|
+
{ no: 4, name: "is_internal_use", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
408
|
+
{ no: 5, name: "part_checksum", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
370
409
|
]);
|
|
371
410
|
}
|
|
372
411
|
create(value) {
|
|
@@ -375,6 +414,7 @@ class uploadapi_GetPartURL_Request$Type extends MessageType {
|
|
|
375
414
|
message.partNumber = 0n;
|
|
376
415
|
message.uploadedPartSize = 0n;
|
|
377
416
|
message.isInternalUse = false;
|
|
417
|
+
message.partChecksum = "";
|
|
378
418
|
if (value !== undefined)
|
|
379
419
|
reflectionMergePartial(this, message, value);
|
|
380
420
|
return message;
|
|
@@ -396,6 +436,9 @@ class uploadapi_GetPartURL_Request$Type extends MessageType {
|
|
|
396
436
|
case /* bool is_internal_use */ 4:
|
|
397
437
|
message.isInternalUse = reader.bool();
|
|
398
438
|
break;
|
|
439
|
+
case /* string part_checksum */ 5:
|
|
440
|
+
message.partChecksum = reader.string();
|
|
441
|
+
break;
|
|
399
442
|
default:
|
|
400
443
|
let u = options.readUnknownField;
|
|
401
444
|
if (u === "throw")
|
|
@@ -420,6 +463,9 @@ class uploadapi_GetPartURL_Request$Type extends MessageType {
|
|
|
420
463
|
/* bool is_internal_use = 4; */
|
|
421
464
|
if (message.isInternalUse !== false)
|
|
422
465
|
writer.tag(4, WireType.Varint).bool(message.isInternalUse);
|
|
466
|
+
/* string part_checksum = 5; */
|
|
467
|
+
if (message.partChecksum !== "")
|
|
468
|
+
writer.tag(5, WireType.LengthDelimited).string(message.partChecksum);
|
|
423
469
|
let u = options.writeUnknownFields;
|
|
424
470
|
if (u !== false)
|
|
425
471
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -697,5 +743,5 @@ const Upload = new ServiceType("MiLaboratories.Controller.Shared.Upload", [
|
|
|
697
743
|
{ name: "Finalize", options: {}, I: uploadapi_Finalize_Request, O: uploadapi_Finalize_Response }
|
|
698
744
|
]);
|
|
699
745
|
|
|
700
|
-
export { Upload, uploadapi_Finalize_Request, uploadapi_Finalize_Response, uploadapi_GetPartURL_HTTPHeader, uploadapi_GetPartURL_Request, uploadapi_GetPartURL_Response, uploadapi_Init_Request, uploadapi_Init_Response, uploadapi_UpdateProgress_Request, uploadapi_UpdateProgress_Response };
|
|
746
|
+
export { Upload, uploadapi_ChecksumAlgorithm, uploadapi_Finalize_Request, uploadapi_Finalize_Response, uploadapi_GetPartURL_HTTPHeader, uploadapi_GetPartURL_Request, uploadapi_GetPartURL_Response, uploadapi_Init_Request, uploadapi_Init_Response, uploadapi_UpdateProgress_Request, uploadapi_UpdateProgress_Response };
|
|
701
747
|
//# sourceMappingURL=protocol.js.map
|