@milaboratories/pl-drivers 1.12.7 → 1.12.8
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/download.cjs +1 -0
- package/dist/clients/download.cjs.map +1 -1
- package/dist/clients/download.js +1 -0
- package/dist/clients/download.js.map +1 -1
- package/dist/clients/logs.cjs +2 -0
- package/dist/clients/logs.cjs.map +1 -1
- package/dist/clients/logs.js +2 -0
- package/dist/clients/logs.js.map +1 -1
- package/dist/clients/ls_api.cjs +1 -0
- package/dist/clients/ls_api.cjs.map +1 -1
- package/dist/clients/ls_api.js +1 -0
- package/dist/clients/ls_api.js.map +1 -1
- package/dist/clients/progress.cjs +4 -1
- package/dist/clients/progress.cjs.map +1 -1
- package/dist/clients/progress.js +4 -1
- package/dist/clients/progress.js.map +1 -1
- package/dist/clients/upload.cjs +17 -3
- package/dist/clients/upload.cjs.map +1 -1
- package/dist/clients/upload.js +17 -3
- package/dist/clients/upload.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.cjs +28 -16
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.cjs +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +2 -2
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.js +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +11 -5
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.js +28 -16
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.cjs +26 -12
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.cjs +4 -4
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.js +4 -4
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +16 -16
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.js +26 -12
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.cjs +36 -12
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.cjs +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +2 -2
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.js +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +8 -0
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.js +36 -12
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.cjs +29 -189
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.cjs +20 -41
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +36 -66
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.js +20 -41
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +52 -137
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.js +29 -189
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.cjs +225 -24
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.cjs +21 -7
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.js +21 -7
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.js +225 -24
- package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.js.map +1 -1
- package/dist/proto-rest/downloadapi.d.ts +8 -3
- package/dist/proto-rest/progressapi.d.ts +4 -2
- package/dist/proto-rest/streamingapi.d.ts +64 -203
- package/package.json +5 -5
- package/src/clients/download.ts +1 -0
- package/src/clients/logs.ts +2 -0
- package/src/clients/ls_api.ts +1 -0
- package/src/clients/progress.ts +1 -1
- package/src/clients/upload.ts +14 -1
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +2 -2
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +24 -11
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +8 -8
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +31 -18
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +2 -2
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +23 -1
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +39 -78
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +72 -263
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.ts +41 -14
- package/src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.ts +286 -44
- package/src/proto-grpc/google/protobuf/descriptor.ts +2 -5
- package/src/proto-rest/downloadapi.ts +8 -3
- package/src/proto-rest/lsapi.ts +23 -18
- package/src/proto-rest/progressapi.ts +4 -0
- package/src/proto-rest/streamingapi.ts +65 -211
- package/src/proto-rest/uploadapi.ts +141 -39
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.js","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/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.StreamingAPI\n */\nexport interface StreamingAPI {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI.StreamBinary\n */\nexport interface StreamingAPI_StreamBinary {\n /**\n * <resource_id> of Stream resource, that keeps info on item to be streamed.\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * <offset> makes streamer to perform seek operation to given offset before sending the data.\n *\n * @generated from protobuf field: int64 offset = 2\n */\n offset: bigint;\n /**\n * <chunk_size> limits the maximum size of <data> for each response message in stream.\n *\n * Default value: 32 768 (32 KiB)\n * Max value: 3900 * 1024 (3.9 MiB)\n *\n * @generated from protobuf field: optional uint32 chunk_size = 11\n */\n chunkSize?: number;\n /**\n * <read_limit> allows client to limit total data sent from server.\n * This limit is aggregation of all data, sent in all chunks.\n * E.g. to read 2000 bytes of data in chunks of at most\n * 130 bytes, use <chunk_size> = 130; <read_limit> = 2000.\n * For storage item of appropriate size this settings will result in\n * 16 messages from server: 15 of 130 bytes and one of 50 bytes.\n *\n * @generated from protobuf field: optional int64 read_limit = 20\n */\n readLimit?: bigint;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI.ReadBinary\n */\nexport interface StreamingAPI_ReadBinary {\n /**\n * <resource_id> of Stream resource, that keeps info on item to be streamed.\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * <offset> makes streamer to perform seek operation to given offset before sending the data.\n *\n * @generated from protobuf field: int64 offset = 2\n */\n offset: bigint;\n /**\n * <chunk_size> limits the maximum size of <data> for response message in stream.\n *\n * Default value: 32 768 (32 KiB)\n * Max value: 3900 * 1024 (3.9 MiB)\n *\n * @generated from protobuf field: optional uint32 chunk_size = 11\n */\n chunkSize?: number;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI.StreamText\n */\nexport interface StreamingAPI_StreamText {\n /**\n * <resource_id> of Stream resource, that keeps info on item to be streamed.\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * <offset> makes streamer to perform seek operation to given offset before sending the contents.\n * This offset is taken in BYTES, as it eases streaming recovery after client reconnection or controller restart.\n * Client can just use the <new_offset> value of the last response from server to continue streaming after reconnection.\n *\n * @generated from protobuf field: int64 offset = 2\n */\n offset: bigint;\n /**\n * <read_limit> allows client to limit total data sent from server.\n * This limit is aggregation of all data, sent in all chunks, measured\n * in lines of text.\n * E.g. to read top 1000 lines from stream source, use <read_limit> = 1000.\n * When both <read_limit> and <search>/<search_re> are set, the <read_limit> is applied first.\n * this is equivalent to 'head -n <read_limit> | grep <search>'.\n *\n * @generated from protobuf field: optional int64 read_limit = 20\n */\n readLimit?: bigint;\n /**\n * <search> is substring for line search pattern.\n * This option makes controller to send to the client only lines, that\n * have given substring.\n *\n * @generated from protobuf field: optional string search = 21\n */\n search?: string;\n /**\n * <search_re> is regular expression for line search pattern.\n * This option makes controller to send to the client only lines, that\n * match given regular expression.\n *\n * @generated from protobuf field: optional string search_re = 22\n */\n searchRe?: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI.ReadText\n */\nexport interface StreamingAPI_ReadText {\n /**\n * <resource_id> of Stream resource, that keeps info on item to be streamed.\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * <offset> makes streamer to perform seek operation to given offset before sending the contents.\n * This offset is taken in BYTES, as it eases streaming recovery after client reconnection or controller restart.\n * Client can just use the <new_offset> value of the last response from server to continue streaming after reconnection.\n *\n * @generated from protobuf field: int64 offset = 2\n */\n offset: bigint;\n /**\n * <read_limit> allows client to limit total data sent from server.\n * Measured in lines of text.\n * E.g. to read top 1000 lines from stream source, use <read_limit> = 1000.\n * When both <read_limit> and <search>/<search_re> are set, the <read_limit> is applied first.\n * this is equivalent to 'head -n <read_limit> | grep <search>'.\n * At most 3.9 MiB (3900 * 1024 KiB) of data is returned in single read regardless of <read_limit> option\n * Only full lines of text are returned except for the last line from the completed source\n * (the one that is not expected to have new data, like blob in storage)\n *\n * @generated from protobuf field: optional int64 read_limit = 20\n */\n readLimit?: bigint;\n /**\n * <search> is substring for line search pattern.\n * This option makes controller to send to the client only lines, that\n * have given substring.\n *\n * @generated from protobuf field: optional string search = 21\n */\n search?: string;\n /**\n * <search_re> is regular expression for line search pattern.\n * This option makes controller to send to the client only lines, that\n * match given regular expression.\n *\n * @generated from protobuf field: optional string search_re = 22\n */\n searchRe?: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI.LastLines\n */\nexport interface StreamingAPI_LastLines {\n /**\n * <resource_id> of Stream resource, that keeps info on item to be streamed.\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * <offset> makes streamer to perform seek operation to given offset before sending the contents.\n * This offset is taken in BYTES, as it eases streaming recovery after client reconnection or controller restart.\n * By default, LastLines starts to treat the data source from the very last byte available in data stream\n * at the moment of call, but client can set the server to start from earlier position.\n *\n * @generated from protobuf field: optional int64 offset = 2\n */\n offset?: bigint;\n /**\n * <line_count> makes streamer to return up to <line_count> lines to the client.\n * Default value: 1\n *\n * @generated from protobuf field: optional int32 line_count = 3\n */\n lineCount?: number;\n /**\n * <search> is substring for line search pattern.\n * This option makes controller to send to the client only lines, that\n * have given substring.\n *\n * @generated from protobuf field: optional string search = 21\n */\n search?: string;\n /**\n * <search_re> is regular expression for line search pattern.\n * This option makes controller to send to the client only lines, that\n * match given regular expression.\n *\n * @generated from protobuf field: optional string search_re = 22\n */\n searchRe?: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI.Response\n */\nexport interface StreamingAPI_Response {\n /**\n * data chunk from item, starting from the <new_offset> of the previous message in the same stream.\n *\n * @generated from protobuf field: bytes data = 1\n */\n data: Uint8Array;\n /**\n * <size> is the actual size of the streamed item at the moment of this message.\n * This might be not a final amount of streamed data, as stream source can be updated\n * by other independent process (e.g., data is written to log file).\n * This field in combination with <new_offset> shows, how far the client is from the end\n * of the data right now.\n *\n * @generated from protobuf field: uint64 size = 2\n */\n size: bigint;\n /**\n * <new_offset> is the new offset in bytes from the start of the streamed item,\n * including size of <data> in current response.\n * Call to Stream rpc with <offset> = <new_offset> will continue\n * streaming from the place of last received message\n * (e.g. <offset> = <new_offset> - 1 will repeat the last byte of\n * previously received <data>)\n *\n * @generated from protobuf field: uint64 new_offset = 3\n */\n newOffset: bigint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI$Type extends MessageType<StreamingAPI> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI\", []);\n }\n create(value?: PartialMessage<StreamingAPI>): StreamingAPI {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI): StreamingAPI {\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: StreamingAPI, 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.StreamingAPI\n */\nexport const StreamingAPI = new StreamingAPI$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI_StreamBinary$Type extends MessageType<StreamingAPI_StreamBinary> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI.StreamBinary\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"offset\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 11, name: \"chunk_size\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ },\n { no: 20, name: \"read_limit\", kind: \"scalar\", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<StreamingAPI_StreamBinary>): StreamingAPI_StreamBinary {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.offset = 0n;\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI_StreamBinary>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI_StreamBinary): StreamingAPI_StreamBinary {\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 offset */ 2:\n message.offset = reader.int64().toBigInt();\n break;\n case /* optional uint32 chunk_size */ 11:\n message.chunkSize = reader.uint32();\n break;\n case /* optional int64 read_limit */ 20:\n message.readLimit = 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: StreamingAPI_StreamBinary, 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 offset = 2; */\n if (message.offset !== 0n)\n writer.tag(2, WireType.Varint).int64(message.offset);\n /* optional uint32 chunk_size = 11; */\n if (message.chunkSize !== undefined)\n writer.tag(11, WireType.Varint).uint32(message.chunkSize);\n /* optional int64 read_limit = 20; */\n if (message.readLimit !== undefined)\n writer.tag(20, WireType.Varint).int64(message.readLimit);\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.StreamingAPI.StreamBinary\n */\nexport const StreamingAPI_StreamBinary = new StreamingAPI_StreamBinary$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI_ReadBinary$Type extends MessageType<StreamingAPI_ReadBinary> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI.ReadBinary\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"offset\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 11, name: \"chunk_size\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ }\n ]);\n }\n create(value?: PartialMessage<StreamingAPI_ReadBinary>): StreamingAPI_ReadBinary {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.offset = 0n;\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI_ReadBinary>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI_ReadBinary): StreamingAPI_ReadBinary {\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 offset */ 2:\n message.offset = reader.int64().toBigInt();\n break;\n case /* optional uint32 chunk_size */ 11:\n message.chunkSize = reader.uint32();\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: StreamingAPI_ReadBinary, 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 offset = 2; */\n if (message.offset !== 0n)\n writer.tag(2, WireType.Varint).int64(message.offset);\n /* optional uint32 chunk_size = 11; */\n if (message.chunkSize !== undefined)\n writer.tag(11, WireType.Varint).uint32(message.chunkSize);\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.StreamingAPI.ReadBinary\n */\nexport const StreamingAPI_ReadBinary = new StreamingAPI_ReadBinary$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI_StreamText$Type extends MessageType<StreamingAPI_StreamText> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI.StreamText\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"offset\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 20, name: \"read_limit\", kind: \"scalar\", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 21, name: \"search\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 22, name: \"search_re\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<StreamingAPI_StreamText>): StreamingAPI_StreamText {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.offset = 0n;\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI_StreamText>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI_StreamText): StreamingAPI_StreamText {\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 offset */ 2:\n message.offset = reader.int64().toBigInt();\n break;\n case /* optional int64 read_limit */ 20:\n message.readLimit = reader.int64().toBigInt();\n break;\n case /* optional string search */ 21:\n message.search = reader.string();\n break;\n case /* optional string search_re */ 22:\n message.searchRe = 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: StreamingAPI_StreamText, 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 offset = 2; */\n if (message.offset !== 0n)\n writer.tag(2, WireType.Varint).int64(message.offset);\n /* optional int64 read_limit = 20; */\n if (message.readLimit !== undefined)\n writer.tag(20, WireType.Varint).int64(message.readLimit);\n /* optional string search = 21; */\n if (message.search !== undefined)\n writer.tag(21, WireType.LengthDelimited).string(message.search);\n /* optional string search_re = 22; */\n if (message.searchRe !== undefined)\n writer.tag(22, WireType.LengthDelimited).string(message.searchRe);\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.StreamingAPI.StreamText\n */\nexport const StreamingAPI_StreamText = new StreamingAPI_StreamText$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI_ReadText$Type extends MessageType<StreamingAPI_ReadText> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI.ReadText\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"offset\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 20, name: \"read_limit\", kind: \"scalar\", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 21, name: \"search\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 22, name: \"search_re\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<StreamingAPI_ReadText>): StreamingAPI_ReadText {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.offset = 0n;\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI_ReadText>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI_ReadText): StreamingAPI_ReadText {\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 offset */ 2:\n message.offset = reader.int64().toBigInt();\n break;\n case /* optional int64 read_limit */ 20:\n message.readLimit = reader.int64().toBigInt();\n break;\n case /* optional string search */ 21:\n message.search = reader.string();\n break;\n case /* optional string search_re */ 22:\n message.searchRe = 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: StreamingAPI_ReadText, 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 offset = 2; */\n if (message.offset !== 0n)\n writer.tag(2, WireType.Varint).int64(message.offset);\n /* optional int64 read_limit = 20; */\n if (message.readLimit !== undefined)\n writer.tag(20, WireType.Varint).int64(message.readLimit);\n /* optional string search = 21; */\n if (message.search !== undefined)\n writer.tag(21, WireType.LengthDelimited).string(message.search);\n /* optional string search_re = 22; */\n if (message.searchRe !== undefined)\n writer.tag(22, WireType.LengthDelimited).string(message.searchRe);\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.StreamingAPI.ReadText\n */\nexport const StreamingAPI_ReadText = new StreamingAPI_ReadText$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI_LastLines$Type extends MessageType<StreamingAPI_LastLines> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI.LastLines\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"offset\", kind: \"scalar\", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"line_count\", kind: \"scalar\", opt: true, T: 5 /*ScalarType.INT32*/ },\n { no: 21, name: \"search\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 22, name: \"search_re\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<StreamingAPI_LastLines>): StreamingAPI_LastLines {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI_LastLines>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI_LastLines): StreamingAPI_LastLines {\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 /* optional int64 offset */ 2:\n message.offset = reader.int64().toBigInt();\n break;\n case /* optional int32 line_count */ 3:\n message.lineCount = reader.int32();\n break;\n case /* optional string search */ 21:\n message.search = reader.string();\n break;\n case /* optional string search_re */ 22:\n message.searchRe = 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: StreamingAPI_LastLines, 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 /* optional int64 offset = 2; */\n if (message.offset !== undefined)\n writer.tag(2, WireType.Varint).int64(message.offset);\n /* optional int32 line_count = 3; */\n if (message.lineCount !== undefined)\n writer.tag(3, WireType.Varint).int32(message.lineCount);\n /* optional string search = 21; */\n if (message.search !== undefined)\n writer.tag(21, WireType.LengthDelimited).string(message.search);\n /* optional string search_re = 22; */\n if (message.searchRe !== undefined)\n writer.tag(22, WireType.LengthDelimited).string(message.searchRe);\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.StreamingAPI.LastLines\n */\nexport const StreamingAPI_LastLines = new StreamingAPI_LastLines$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI_Response$Type extends MessageType<StreamingAPI_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI.Response\", [\n { no: 1, name: \"data\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"size\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"new_offset\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<StreamingAPI_Response>): StreamingAPI_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.data = new Uint8Array(0);\n message.size = 0n;\n message.newOffset = 0n;\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI_Response): StreamingAPI_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 /* bytes data */ 1:\n message.data = reader.bytes();\n break;\n case /* uint64 size */ 2:\n message.size = reader.uint64().toBigInt();\n break;\n case /* uint64 new_offset */ 3:\n message.newOffset = 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: StreamingAPI_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bytes data = 1; */\n if (message.data.length)\n writer.tag(1, WireType.LengthDelimited).bytes(message.data);\n /* uint64 size = 2; */\n if (message.size !== 0n)\n writer.tag(2, WireType.Varint).uint64(message.size);\n /* uint64 new_offset = 3; */\n if (message.newOffset !== 0n)\n writer.tag(3, WireType.Varint).uint64(message.newOffset);\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.StreamingAPI.Response\n */\nexport const StreamingAPI_Response = new StreamingAPI_Response$Type();\n/**\n * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport const Streaming = new ServiceType(\"MiLaboratories.Controller.Shared.Streaming\", [\n { name: \"StreamBinary\", serverStreaming: true, options: { \"google.api.http\": { post: \"/v1/stream/binary\", body: \"*\" } }, I: StreamingAPI_StreamBinary, O: StreamingAPI_Response },\n { name: \"ReadBinary\", options: { \"google.api.http\": { post: \"/v1/read/binary\", body: \"*\" } }, I: StreamingAPI_ReadBinary, O: StreamingAPI_Response },\n { name: \"StreamText\", serverStreaming: true, options: { \"google.api.http\": { post: \"/v1/stream/text\", body: \"*\" } }, I: StreamingAPI_StreamText, O: StreamingAPI_Response },\n { name: \"ReadText\", options: { \"google.api.http\": { post: \"/v1/read/text\", body: \"*\" } }, I: StreamingAPI_ReadText, O: StreamingAPI_Response },\n { name: \"LastLines\", options: { \"google.api.http\": { post: \"/v1/last-lines\", body: \"*\" } }, I: StreamingAPI_LastLines, O: StreamingAPI_Response }\n]);\n"],"mappings":";;;;AA2PA,IAAM,oBAAN,cAAgC,YAA0B;CACtD,cAAc;AACV,QAAM,iDAAiD,EAAE,CAAC;;CAE9D,OAAO,OAAoD;EACvD,MAAM,UAAU,WAAW,OAAO,OAAQ,KAAK,iBAAmB;AAClE,MAAI,UAAU,OACV,wBAAqC,MAAM,SAAS,MAAM;AAC9D,SAAO;;CAEX,mBAAmB,QAAuB,QAAgB,SAA4B,QAAqC;EACvH,IAAI,UAAU,UAAU,KAAK,QAAQ,EAAE,MAAM,OAAO,MAAM;AAC1D,SAAO,OAAO,MAAM,KAAK;GACrB,IAAI,CAAC,SAAS,YAAY,OAAO,KAAK;AACtC,WAAQ,SAAR;IACI;KACI,IAAI,IAAI,QAAQ;AAChB,SAAI,MAAM,QACN,OAAM,IAAI,WAAW,MAAM,iBAAiB,QAAQ,cAAc,SAAS,QAAQ,KAAK,WAAW;KACvG,IAAI,IAAI,OAAO,KAAK,SAAS;AAC7B,SAAI,MAAM,MACN,EAAC,MAAM,OAAO,oBAAoB,SAAS,GAAG,KAAK,UAAU,SAAS,SAAS,UAAU,EAAE;;;AAG3G,SAAO;;CA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AAC,OAAO,QAAQ,KAAK;AAEvD,MAAI,QAAQ,cAAc,GACtB,QAAO,IAAI,GAAG,SAAS,OAAO,CAAC,OAAO,QAAQ,UAAU;EAC5D,IAAI,IAAI,QAAQ;AAChB,MAAI,MAAM,MACN,EAAC,KAAK,OAAO,oBAAoB,UAAU,GAAG,KAAK,UAAU,SAAS,OAAO;AACjF,SAAO;;;;;;AAMf,MAAa,wBAAwB,IAAI,4BAA4B;;;;AAIrE,MAAa,YAAY,IAAI,YAAY,8CAA8C;CACnF;EAAE,MAAM;EAAgB,iBAAiB;EAAM,SAAS,EAAE,mBAAmB;GAAE,MAAM;GAAqB,MAAM;GAAK,EAAE;EAAE,GAAG;EAA2B,GAAG;EAAuB;CACjL;EAAE,MAAM;EAAc,SAAS,EAAE,mBAAmB;GAAE,MAAM;GAAmB,MAAM;GAAK,EAAE;EAAE,GAAG;EAAyB,GAAG;EAAuB;CACpJ;EAAE,MAAM;EAAc,iBAAiB;EAAM,SAAS,EAAE,mBAAmB;GAAE,MAAM;GAAmB,MAAM;GAAK,EAAE;EAAE,GAAG;EAAyB,GAAG;EAAuB;CAC3K;EAAE,MAAM;EAAY,SAAS,EAAE,mBAAmB;GAAE,MAAM;GAAiB,MAAM;GAAK,EAAE;EAAE,GAAG;EAAuB,GAAG;EAAuB;CAC9I;EAAE,MAAM;EAAa,SAAS,EAAE,mBAAmB;GAAE,MAAM;GAAkB,MAAM;GAAK,EAAE;EAAE,GAAG;EAAwB,GAAG;EAAuB;CACpJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"protocol.js","names":[],"sources":["../../../../../../../../../src/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/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.StreamingAPI\n */\nexport interface StreamingAPI {\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI.ReadBinary\n */\nexport interface StreamingAPI_ReadBinary {\n /**\n * <resource_id> of Stream resource that keeps info on item to be streamed.\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * Signature proving the caller is authorized to access this resource.\n *\n * @generated from protobuf field: optional bytes resource_signature = 3\n */\n resourceSignature?: Uint8Array;\n /**\n * <offset> makes the streamer perform a seek operation to the given offset before sending the data.\n *\n * @generated from protobuf field: int64 offset = 2\n */\n offset: bigint;\n /**\n * <chunk_size> limits the maximum size of <data> for response message in stream.\n *\n * Default value: 32 768 (32 KiB)\n * Max value: 3900 * 1024 (3.9 MiB)\n *\n * @generated from protobuf field: optional uint32 chunk_size = 11\n */\n chunkSize?: number;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI.ReadText\n */\nexport interface StreamingAPI_ReadText {\n /**\n * <resource_id> of Stream resource that keeps info on item to be streamed.\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * Signature proving the caller is authorized to access this resource.\n *\n * @generated from protobuf field: optional bytes resource_signature = 3\n */\n resourceSignature?: Uint8Array;\n /**\n * <offset> makes the streamer perform a seek operation to the given offset before sending the contents.\n * This offset is taken in BYTES, as it eases streaming recovery after a client reconnection or controller restart.\n * The client can just use the <new_offset> value of the last response from the server to continue streaming after reconnection.\n *\n * @generated from protobuf field: int64 offset = 2\n */\n offset: bigint;\n /**\n * <read_limit> allows the client to limit total data sent from the server.\n * Measured in lines of text.\n * E.g. to read top 1000 lines from stream source, use <read_limit> = 1000.\n * When both <read_limit> and <search>/<search_re> are set, the <read_limit> is applied first.\n * This is equivalent to 'head -n <read_limit> | grep <search>'.\n * At most 3.9 MiB (3900 KiB) of data is returned in a single read regardless of the <read_limit> option\n * Only full lines of text are returned except for the last line from the completed source\n * (the one that is not expected to have new data, like a blob in storage)\n *\n * @generated from protobuf field: optional int64 read_limit = 20\n */\n readLimit?: bigint;\n /**\n * <search> is a substring for the line search pattern.\n * This option makes the controller send to the client only lines that\n * have the given substring.\n *\n * @generated from protobuf field: optional string search = 21\n */\n search?: string;\n /**\n * <search_re> is a regular expression for the line search pattern.\n * This option makes the controller send to the client only lines that\n * match the given regular expression.\n *\n * @generated from protobuf field: optional string search_re = 22\n */\n searchRe?: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI.LastLines\n */\nexport interface StreamingAPI_LastLines {\n /**\n * <resource_id> of Stream resource that keeps info on item to be streamed.\n *\n * @generated from protobuf field: uint64 resource_id = 1\n */\n resourceId: bigint;\n /**\n * Signature proving the caller is authorized to access this resource.\n *\n * @generated from protobuf field: optional bytes resource_signature = 4\n */\n resourceSignature?: Uint8Array;\n /**\n * <offset> makes the streamer perform a seek operation to the given offset before sending the contents.\n * This offset is taken in BYTES, as it eases streaming recovery after a client reconnection or controller restart.\n * By default, LastLines starts reading the data source from the very last byte available in the data stream\n * at the moment of the call, but the client can set the server to start from an earlier position.\n *\n * @generated from protobuf field: optional int64 offset = 2\n */\n offset?: bigint;\n /**\n * <line_count> makes the streamer return up to <line_count> lines to the client.\n * Default value: 1\n *\n * @generated from protobuf field: optional int32 line_count = 3\n */\n lineCount?: number;\n /**\n * <search> is a substring for the line search pattern.\n * This option makes the controller send to the client only lines that\n * have the given substring.\n *\n * @generated from protobuf field: optional string search = 21\n */\n search?: string;\n /**\n * <search_re> is a regular expression for the line search pattern.\n * This option makes the controller send to the client only lines that\n * match the given regular expression.\n *\n * @generated from protobuf field: optional string search_re = 22\n */\n searchRe?: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.Controller.Shared.StreamingAPI.Response\n */\nexport interface StreamingAPI_Response {\n /**\n * data chunk from the item, starting from the <new_offset> of the previous message in the same stream.\n *\n * @generated from protobuf field: bytes data = 1\n */\n data: Uint8Array;\n /**\n * <size> is the actual size of the streamed item at the moment of this message.\n * This might not be the final amount of streamed data, as the stream source can be updated\n * by another independent process (e.g., data is written to a log file).\n * This field in combination with <new_offset> shows how far the client is from the end\n * of the data right now.\n *\n * @generated from protobuf field: uint64 size = 2\n */\n size: bigint;\n /**\n * <new_offset> is the new offset in bytes from the start of the streamed item,\n * including the size of <data> in the current response.\n * A call to the Stream RPC with <offset> = <new_offset> will continue\n * streaming from the place of the last received message\n * (e.g. <offset> = <new_offset> - 1 will repeat the last byte of\n * previously received <data>)\n *\n * @generated from protobuf field: uint64 new_offset = 3\n */\n newOffset: bigint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI$Type extends MessageType<StreamingAPI> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI\", []);\n }\n create(value?: PartialMessage<StreamingAPI>): StreamingAPI {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI): StreamingAPI {\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: StreamingAPI, 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.StreamingAPI\n */\nexport const StreamingAPI = new StreamingAPI$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI_ReadBinary$Type extends MessageType<StreamingAPI_ReadBinary> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI.ReadBinary\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"resource_signature\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"offset\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 11, name: \"chunk_size\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ }\n ]);\n }\n create(value?: PartialMessage<StreamingAPI_ReadBinary>): StreamingAPI_ReadBinary {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.offset = 0n;\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI_ReadBinary>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI_ReadBinary): StreamingAPI_ReadBinary {\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 /* optional bytes resource_signature */ 3:\n message.resourceSignature = reader.bytes();\n break;\n case /* int64 offset */ 2:\n message.offset = reader.int64().toBigInt();\n break;\n case /* optional uint32 chunk_size */ 11:\n message.chunkSize = reader.uint32();\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: StreamingAPI_ReadBinary, 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 offset = 2; */\n if (message.offset !== 0n)\n writer.tag(2, WireType.Varint).int64(message.offset);\n /* optional bytes resource_signature = 3; */\n if (message.resourceSignature !== undefined)\n writer.tag(3, WireType.LengthDelimited).bytes(message.resourceSignature);\n /* optional uint32 chunk_size = 11; */\n if (message.chunkSize !== undefined)\n writer.tag(11, WireType.Varint).uint32(message.chunkSize);\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.StreamingAPI.ReadBinary\n */\nexport const StreamingAPI_ReadBinary = new StreamingAPI_ReadBinary$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI_ReadText$Type extends MessageType<StreamingAPI_ReadText> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI.ReadText\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"resource_signature\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"offset\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 20, name: \"read_limit\", kind: \"scalar\", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 21, name: \"search\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 22, name: \"search_re\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<StreamingAPI_ReadText>): StreamingAPI_ReadText {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n message.offset = 0n;\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI_ReadText>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI_ReadText): StreamingAPI_ReadText {\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 /* optional bytes resource_signature */ 3:\n message.resourceSignature = reader.bytes();\n break;\n case /* int64 offset */ 2:\n message.offset = reader.int64().toBigInt();\n break;\n case /* optional int64 read_limit */ 20:\n message.readLimit = reader.int64().toBigInt();\n break;\n case /* optional string search */ 21:\n message.search = reader.string();\n break;\n case /* optional string search_re */ 22:\n message.searchRe = 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: StreamingAPI_ReadText, 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 offset = 2; */\n if (message.offset !== 0n)\n writer.tag(2, WireType.Varint).int64(message.offset);\n /* optional bytes resource_signature = 3; */\n if (message.resourceSignature !== undefined)\n writer.tag(3, WireType.LengthDelimited).bytes(message.resourceSignature);\n /* optional int64 read_limit = 20; */\n if (message.readLimit !== undefined)\n writer.tag(20, WireType.Varint).int64(message.readLimit);\n /* optional string search = 21; */\n if (message.search !== undefined)\n writer.tag(21, WireType.LengthDelimited).string(message.search);\n /* optional string search_re = 22; */\n if (message.searchRe !== undefined)\n writer.tag(22, WireType.LengthDelimited).string(message.searchRe);\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.StreamingAPI.ReadText\n */\nexport const StreamingAPI_ReadText = new StreamingAPI_ReadText$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI_LastLines$Type extends MessageType<StreamingAPI_LastLines> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI.LastLines\", [\n { no: 1, name: \"resource_id\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"resource_signature\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"offset\", kind: \"scalar\", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"line_count\", kind: \"scalar\", opt: true, T: 5 /*ScalarType.INT32*/ },\n { no: 21, name: \"search\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 22, name: \"search_re\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<StreamingAPI_LastLines>): StreamingAPI_LastLines {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceId = 0n;\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI_LastLines>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI_LastLines): StreamingAPI_LastLines {\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 /* optional bytes resource_signature */ 4:\n message.resourceSignature = reader.bytes();\n break;\n case /* optional int64 offset */ 2:\n message.offset = reader.int64().toBigInt();\n break;\n case /* optional int32 line_count */ 3:\n message.lineCount = reader.int32();\n break;\n case /* optional string search */ 21:\n message.search = reader.string();\n break;\n case /* optional string search_re */ 22:\n message.searchRe = 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: StreamingAPI_LastLines, 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 /* optional int64 offset = 2; */\n if (message.offset !== undefined)\n writer.tag(2, WireType.Varint).int64(message.offset);\n /* optional int32 line_count = 3; */\n if (message.lineCount !== undefined)\n writer.tag(3, WireType.Varint).int32(message.lineCount);\n /* optional bytes resource_signature = 4; */\n if (message.resourceSignature !== undefined)\n writer.tag(4, WireType.LengthDelimited).bytes(message.resourceSignature);\n /* optional string search = 21; */\n if (message.search !== undefined)\n writer.tag(21, WireType.LengthDelimited).string(message.search);\n /* optional string search_re = 22; */\n if (message.searchRe !== undefined)\n writer.tag(22, WireType.LengthDelimited).string(message.searchRe);\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.StreamingAPI.LastLines\n */\nexport const StreamingAPI_LastLines = new StreamingAPI_LastLines$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StreamingAPI_Response$Type extends MessageType<StreamingAPI_Response> {\n constructor() {\n super(\"MiLaboratories.Controller.Shared.StreamingAPI.Response\", [\n { no: 1, name: \"data\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"size\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"new_offset\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<StreamingAPI_Response>): StreamingAPI_Response {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.data = new Uint8Array(0);\n message.size = 0n;\n message.newOffset = 0n;\n if (value !== undefined)\n reflectionMergePartial<StreamingAPI_Response>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI_Response): StreamingAPI_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 /* bytes data */ 1:\n message.data = reader.bytes();\n break;\n case /* uint64 size */ 2:\n message.size = reader.uint64().toBigInt();\n break;\n case /* uint64 new_offset */ 3:\n message.newOffset = 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: StreamingAPI_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bytes data = 1; */\n if (message.data.length)\n writer.tag(1, WireType.LengthDelimited).bytes(message.data);\n /* uint64 size = 2; */\n if (message.size !== 0n)\n writer.tag(2, WireType.Varint).uint64(message.size);\n /* uint64 new_offset = 3; */\n if (message.newOffset !== 0n)\n writer.tag(3, WireType.Varint).uint64(message.newOffset);\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.StreamingAPI.Response\n */\nexport const StreamingAPI_Response = new StreamingAPI_Response$Type();\n/**\n * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.Streaming\n */\nexport const Streaming = new ServiceType(\"MiLaboratories.Controller.Shared.Streaming\", [\n { name: \"ReadBinary\", options: { \"google.api.http\": { post: \"/v1/read/binary\", body: \"*\" } }, I: StreamingAPI_ReadBinary, O: StreamingAPI_Response },\n { name: \"ReadText\", options: { \"google.api.http\": { post: \"/v1/read/text\", body: \"*\" } }, I: StreamingAPI_ReadText, O: StreamingAPI_Response },\n { name: \"LastLines\", options: { \"google.api.http\": { post: \"/v1/last-lines\", body: \"*\" } }, I: StreamingAPI_LastLines, O: StreamingAPI_Response }\n]);\n"],"mappings":";;;;AA0LA,IAAM,oBAAN,cAAgC,YAA0B;CACtD,cAAc;AACV,QAAM,iDAAiD,EAAE,CAAC;;CAE9D,OAAO,OAAoD;EACvD,MAAM,UAAU,WAAW,OAAO,OAAQ,KAAK,iBAAmB;AAClE,MAAI,UAAU,OACV,wBAAqC,MAAM,SAAS,MAAM;AAC9D,SAAO;;CAEX,mBAAmB,QAAuB,QAAgB,SAA4B,QAAqC;EACvH,IAAI,UAAU,UAAU,KAAK,QAAQ,EAAE,MAAM,OAAO,MAAM;AAC1D,SAAO,OAAO,MAAM,KAAK;GACrB,IAAI,CAAC,SAAS,YAAY,OAAO,KAAK;AACtC,WAAQ,SAAR;IACI;KACI,IAAI,IAAI,QAAQ;AAChB,SAAI,MAAM,QACN,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EAAE,GAAG;EAAuB,GAAG;EAAuB;CAC9I;EAAE,MAAM;EAAa,SAAS,EAAE,mBAAmB;GAAE,MAAM;GAAkB,MAAM;GAAK,EAAE;EAAE,GAAG;EAAwB,GAAG;EAAuB;CACpJ,CAAC"}
|
package/dist/proto-grpc/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.cjs
CHANGED
|
@@ -91,6 +91,12 @@ var UploadAPI_Init_Request$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
91
91
|
kind: "scalar",
|
|
92
92
|
T: 4,
|
|
93
93
|
L: 0
|
|
94
|
+
}, {
|
|
95
|
+
no: 2,
|
|
96
|
+
name: "resource_signature",
|
|
97
|
+
kind: "scalar",
|
|
98
|
+
opt: true,
|
|
99
|
+
T: 12
|
|
94
100
|
}]);
|
|
95
101
|
}
|
|
96
102
|
create(value) {
|
|
@@ -107,6 +113,9 @@ var UploadAPI_Init_Request$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
107
113
|
case 1:
|
|
108
114
|
message.resourceId = reader.uint64().toBigInt();
|
|
109
115
|
break;
|
|
116
|
+
case 2:
|
|
117
|
+
message.resourceSignature = reader.bytes();
|
|
118
|
+
break;
|
|
110
119
|
default:
|
|
111
120
|
let u = options.readUnknownField;
|
|
112
121
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -118,6 +127,7 @@ var UploadAPI_Init_Request$Type = class extends _protobuf_ts_runtime.MessageType
|
|
|
118
127
|
}
|
|
119
128
|
internalBinaryWrite(message, writer, options) {
|
|
120
129
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
130
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
121
131
|
let u = options.writeUnknownFields;
|
|
122
132
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
123
133
|
return writer;
|
|
@@ -264,19 +274,29 @@ var UploadAPI_UpdateProgress$Type = class extends _protobuf_ts_runtime.MessageTy
|
|
|
264
274
|
const UploadAPI_UpdateProgress = new UploadAPI_UpdateProgress$Type();
|
|
265
275
|
var UploadAPI_UpdateProgress_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
266
276
|
constructor() {
|
|
267
|
-
super("MiLaboratories.Controller.Shared.UploadAPI.UpdateProgress.Request", [
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
277
|
+
super("MiLaboratories.Controller.Shared.UploadAPI.UpdateProgress.Request", [
|
|
278
|
+
{
|
|
279
|
+
no: 1,
|
|
280
|
+
name: "resource_id",
|
|
281
|
+
kind: "scalar",
|
|
282
|
+
T: 4,
|
|
283
|
+
L: 0
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
no: 3,
|
|
287
|
+
name: "resource_signature",
|
|
288
|
+
kind: "scalar",
|
|
289
|
+
opt: true,
|
|
290
|
+
T: 12
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
no: 2,
|
|
294
|
+
name: "bytes_processed",
|
|
295
|
+
kind: "scalar",
|
|
296
|
+
T: 3,
|
|
297
|
+
L: 0
|
|
298
|
+
}
|
|
299
|
+
]);
|
|
280
300
|
}
|
|
281
301
|
create(value) {
|
|
282
302
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
@@ -293,6 +313,9 @@ var UploadAPI_UpdateProgress_Request$Type = class extends _protobuf_ts_runtime.M
|
|
|
293
313
|
case 1:
|
|
294
314
|
message.resourceId = reader.uint64().toBigInt();
|
|
295
315
|
break;
|
|
316
|
+
case 3:
|
|
317
|
+
message.resourceSignature = reader.bytes();
|
|
318
|
+
break;
|
|
296
319
|
case 2:
|
|
297
320
|
message.bytesProcessed = reader.int64().toBigInt();
|
|
298
321
|
break;
|
|
@@ -308,6 +331,7 @@ var UploadAPI_UpdateProgress_Request$Type = class extends _protobuf_ts_runtime.M
|
|
|
308
331
|
internalBinaryWrite(message, writer, options) {
|
|
309
332
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
310
333
|
if (message.bytesProcessed !== 0n) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).int64(message.bytesProcessed);
|
|
334
|
+
if (message.resourceSignature !== void 0) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
311
335
|
let u = options.writeUnknownFields;
|
|
312
336
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
313
337
|
return writer;
|
|
@@ -393,6 +417,13 @@ var UploadAPI_GetPartURL_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
393
417
|
T: 4,
|
|
394
418
|
L: 0
|
|
395
419
|
},
|
|
420
|
+
{
|
|
421
|
+
no: 6,
|
|
422
|
+
name: "resource_signature",
|
|
423
|
+
kind: "scalar",
|
|
424
|
+
opt: true,
|
|
425
|
+
T: 12
|
|
426
|
+
},
|
|
396
427
|
{
|
|
397
428
|
no: 2,
|
|
398
429
|
name: "part_number",
|
|
@@ -439,6 +470,9 @@ var UploadAPI_GetPartURL_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
439
470
|
case 1:
|
|
440
471
|
message.resourceId = reader.uint64().toBigInt();
|
|
441
472
|
break;
|
|
473
|
+
case 6:
|
|
474
|
+
message.resourceSignature = reader.bytes();
|
|
475
|
+
break;
|
|
442
476
|
case 2:
|
|
443
477
|
message.partNumber = reader.uint64().toBigInt();
|
|
444
478
|
break;
|
|
@@ -466,6 +500,7 @@ var UploadAPI_GetPartURL_Request$Type = class extends _protobuf_ts_runtime.Messa
|
|
|
466
500
|
if (message.uploadedPartSize !== 0n) writer.tag(3, _protobuf_ts_runtime.WireType.Varint).uint64(message.uploadedPartSize);
|
|
467
501
|
if (message.isInternalUse !== false) writer.tag(4, _protobuf_ts_runtime.WireType.Varint).bool(message.isInternalUse);
|
|
468
502
|
if (message.partChecksum !== "") writer.tag(5, _protobuf_ts_runtime.WireType.LengthDelimited).string(message.partChecksum);
|
|
503
|
+
if (message.resourceSignature !== void 0) writer.tag(6, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
469
504
|
let u = options.writeUnknownFields;
|
|
470
505
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
471
506
|
return writer;
|
|
@@ -479,15 +514,13 @@ var UploadAPI_GetPartURL_HTTPHeader$Type = class extends _protobuf_ts_runtime.Me
|
|
|
479
514
|
constructor() {
|
|
480
515
|
super("MiLaboratories.Controller.Shared.UploadAPI.GetPartURL.HTTPHeader", [{
|
|
481
516
|
no: 1,
|
|
482
|
-
name: "
|
|
517
|
+
name: "name",
|
|
483
518
|
kind: "scalar",
|
|
484
|
-
jsonName: "Name",
|
|
485
519
|
T: 9
|
|
486
520
|
}, {
|
|
487
521
|
no: 2,
|
|
488
|
-
name: "
|
|
522
|
+
name: "value",
|
|
489
523
|
kind: "scalar",
|
|
490
|
-
jsonName: "Value",
|
|
491
524
|
T: 9
|
|
492
525
|
}]);
|
|
493
526
|
}
|
|
@@ -657,17 +690,44 @@ var UploadAPI_Finalize$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
|
657
690
|
const UploadAPI_Finalize = new UploadAPI_Finalize$Type();
|
|
658
691
|
var UploadAPI_Finalize_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
659
692
|
constructor() {
|
|
660
|
-
super("MiLaboratories.Controller.Shared.UploadAPI.Finalize.Request", [
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
693
|
+
super("MiLaboratories.Controller.Shared.UploadAPI.Finalize.Request", [
|
|
694
|
+
{
|
|
695
|
+
no: 1,
|
|
696
|
+
name: "resource_id",
|
|
697
|
+
kind: "scalar",
|
|
698
|
+
T: 4,
|
|
699
|
+
L: 0
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
no: 4,
|
|
703
|
+
name: "resource_signature",
|
|
704
|
+
kind: "scalar",
|
|
705
|
+
opt: true,
|
|
706
|
+
T: 12
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
no: 2,
|
|
710
|
+
name: "checksum_algorithm",
|
|
711
|
+
kind: "enum",
|
|
712
|
+
T: () => [
|
|
713
|
+
"MiLaboratories.Controller.Shared.UploadAPI.ChecksumAlgorithm",
|
|
714
|
+
UploadAPI_ChecksumAlgorithm,
|
|
715
|
+
"CHECKSUM_ALGORITHM_"
|
|
716
|
+
]
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
no: 3,
|
|
720
|
+
name: "checksum",
|
|
721
|
+
kind: "scalar",
|
|
722
|
+
T: 12
|
|
723
|
+
}
|
|
724
|
+
]);
|
|
667
725
|
}
|
|
668
726
|
create(value) {
|
|
669
727
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
670
728
|
message.resourceId = 0n;
|
|
729
|
+
message.checksumAlgorithm = 0;
|
|
730
|
+
message.checksum = new Uint8Array(0);
|
|
671
731
|
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
672
732
|
return message;
|
|
673
733
|
}
|
|
@@ -679,6 +739,15 @@ var UploadAPI_Finalize_Request$Type = class extends _protobuf_ts_runtime.Message
|
|
|
679
739
|
case 1:
|
|
680
740
|
message.resourceId = reader.uint64().toBigInt();
|
|
681
741
|
break;
|
|
742
|
+
case 4:
|
|
743
|
+
message.resourceSignature = reader.bytes();
|
|
744
|
+
break;
|
|
745
|
+
case 2:
|
|
746
|
+
message.checksumAlgorithm = reader.int32();
|
|
747
|
+
break;
|
|
748
|
+
case 3:
|
|
749
|
+
message.checksum = reader.bytes();
|
|
750
|
+
break;
|
|
682
751
|
default:
|
|
683
752
|
let u = options.readUnknownField;
|
|
684
753
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -690,6 +759,9 @@ var UploadAPI_Finalize_Request$Type = class extends _protobuf_ts_runtime.Message
|
|
|
690
759
|
}
|
|
691
760
|
internalBinaryWrite(message, writer, options) {
|
|
692
761
|
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
762
|
+
if (message.checksumAlgorithm !== 0) writer.tag(2, _protobuf_ts_runtime.WireType.Varint).int32(message.checksumAlgorithm);
|
|
763
|
+
if (message.checksum.length) writer.tag(3, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.checksum);
|
|
764
|
+
if (message.resourceSignature !== void 0) writer.tag(4, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
693
765
|
let u = options.writeUnknownFields;
|
|
694
766
|
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
695
767
|
return writer;
|
|
@@ -732,6 +804,126 @@ var UploadAPI_Finalize_Response$Type = class extends _protobuf_ts_runtime.Messag
|
|
|
732
804
|
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.UploadAPI.Finalize.Response
|
|
733
805
|
*/
|
|
734
806
|
const UploadAPI_Finalize_Response = new UploadAPI_Finalize_Response$Type();
|
|
807
|
+
var UploadAPI_Reset$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
808
|
+
constructor() {
|
|
809
|
+
super("MiLaboratories.Controller.Shared.UploadAPI.Reset", []);
|
|
810
|
+
}
|
|
811
|
+
create(value) {
|
|
812
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
813
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
814
|
+
return message;
|
|
815
|
+
}
|
|
816
|
+
internalBinaryRead(reader, length, options, target) {
|
|
817
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
818
|
+
while (reader.pos < end) {
|
|
819
|
+
let [fieldNo, wireType] = reader.tag();
|
|
820
|
+
switch (fieldNo) {
|
|
821
|
+
default:
|
|
822
|
+
let u = options.readUnknownField;
|
|
823
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
824
|
+
let d = reader.skip(wireType);
|
|
825
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
return message;
|
|
829
|
+
}
|
|
830
|
+
internalBinaryWrite(message, writer, options) {
|
|
831
|
+
let u = options.writeUnknownFields;
|
|
832
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
833
|
+
return writer;
|
|
834
|
+
}
|
|
835
|
+
};
|
|
836
|
+
/**
|
|
837
|
+
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.UploadAPI.Reset
|
|
838
|
+
*/
|
|
839
|
+
const UploadAPI_Reset = new UploadAPI_Reset$Type();
|
|
840
|
+
var UploadAPI_Reset_Request$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
841
|
+
constructor() {
|
|
842
|
+
super("MiLaboratories.Controller.Shared.UploadAPI.Reset.Request", [{
|
|
843
|
+
no: 1,
|
|
844
|
+
name: "resource_id",
|
|
845
|
+
kind: "scalar",
|
|
846
|
+
T: 4,
|
|
847
|
+
L: 0
|
|
848
|
+
}, {
|
|
849
|
+
no: 2,
|
|
850
|
+
name: "resource_signature",
|
|
851
|
+
kind: "scalar",
|
|
852
|
+
opt: true,
|
|
853
|
+
T: 12
|
|
854
|
+
}]);
|
|
855
|
+
}
|
|
856
|
+
create(value) {
|
|
857
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
858
|
+
message.resourceId = 0n;
|
|
859
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
860
|
+
return message;
|
|
861
|
+
}
|
|
862
|
+
internalBinaryRead(reader, length, options, target) {
|
|
863
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
864
|
+
while (reader.pos < end) {
|
|
865
|
+
let [fieldNo, wireType] = reader.tag();
|
|
866
|
+
switch (fieldNo) {
|
|
867
|
+
case 1:
|
|
868
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
869
|
+
break;
|
|
870
|
+
case 2:
|
|
871
|
+
message.resourceSignature = reader.bytes();
|
|
872
|
+
break;
|
|
873
|
+
default:
|
|
874
|
+
let u = options.readUnknownField;
|
|
875
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
876
|
+
let d = reader.skip(wireType);
|
|
877
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
return message;
|
|
881
|
+
}
|
|
882
|
+
internalBinaryWrite(message, writer, options) {
|
|
883
|
+
if (message.resourceId !== 0n) writer.tag(1, _protobuf_ts_runtime.WireType.Varint).uint64(message.resourceId);
|
|
884
|
+
if (message.resourceSignature !== void 0) writer.tag(2, _protobuf_ts_runtime.WireType.LengthDelimited).bytes(message.resourceSignature);
|
|
885
|
+
let u = options.writeUnknownFields;
|
|
886
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
887
|
+
return writer;
|
|
888
|
+
}
|
|
889
|
+
};
|
|
890
|
+
/**
|
|
891
|
+
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.UploadAPI.Reset.Request
|
|
892
|
+
*/
|
|
893
|
+
const UploadAPI_Reset_Request = new UploadAPI_Reset_Request$Type();
|
|
894
|
+
var UploadAPI_Reset_Response$Type = class extends _protobuf_ts_runtime.MessageType {
|
|
895
|
+
constructor() {
|
|
896
|
+
super("MiLaboratories.Controller.Shared.UploadAPI.Reset.Response", []);
|
|
897
|
+
}
|
|
898
|
+
create(value) {
|
|
899
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
900
|
+
if (value !== void 0) (0, _protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
901
|
+
return message;
|
|
902
|
+
}
|
|
903
|
+
internalBinaryRead(reader, length, options, target) {
|
|
904
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
905
|
+
while (reader.pos < end) {
|
|
906
|
+
let [fieldNo, wireType] = reader.tag();
|
|
907
|
+
switch (fieldNo) {
|
|
908
|
+
default:
|
|
909
|
+
let u = options.readUnknownField;
|
|
910
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
911
|
+
let d = reader.skip(wireType);
|
|
912
|
+
if (u !== false) (u === true ? _protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
return message;
|
|
916
|
+
}
|
|
917
|
+
internalBinaryWrite(message, writer, options) {
|
|
918
|
+
let u = options.writeUnknownFields;
|
|
919
|
+
if (u !== false) (u == true ? _protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
920
|
+
return writer;
|
|
921
|
+
}
|
|
922
|
+
};
|
|
923
|
+
/**
|
|
924
|
+
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.UploadAPI.Reset.Response
|
|
925
|
+
*/
|
|
926
|
+
const UploadAPI_Reset_Response = new UploadAPI_Reset_Response$Type();
|
|
735
927
|
/**
|
|
736
928
|
* @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.Upload
|
|
737
929
|
*/
|
|
@@ -771,6 +963,15 @@ const Upload = new _protobuf_ts_runtime_rpc.ServiceType("MiLaboratories.Controll
|
|
|
771
963
|
} },
|
|
772
964
|
I: UploadAPI_Finalize_Request,
|
|
773
965
|
O: UploadAPI_Finalize_Response
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
name: "Reset",
|
|
969
|
+
options: { "google.api.http": {
|
|
970
|
+
post: "/v1/upload/reset",
|
|
971
|
+
body: "*"
|
|
972
|
+
} },
|
|
973
|
+
I: UploadAPI_Reset_Request,
|
|
974
|
+
O: UploadAPI_Reset_Response
|
|
774
975
|
}
|
|
775
976
|
]);
|
|
776
977
|
|