@aptpod/iscp-ts
Version:
iSCP 2.0 client library for TypeScript
320 lines • 14.2 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DownstreamChunkResultExtensionFields = exports.DownstreamMetadataAckExtensionFields = exports.DownstreamMetadataExtensionFields = exports.DownstreamChunkAckCompleteExtensionFields = exports.DownstreamChunkAckExtensionFields = exports.DownstreamChunkExtensionFields = exports.DownstreamCloseResponseExtensionFields = exports.DownstreamCloseRequestExtensionFields = exports.DownstreamResumeResponseExtensionFields = exports.DownstreamResumeRequestExtensionFields = exports.DownstreamOpenResponseExtensionFields = exports.DownstreamOpenRequestExtensionFields = void 0;
const runtime_1 = require("@protobuf-ts/runtime");
const runtime_2 = require("@protobuf-ts/runtime");
const runtime_3 = require("@protobuf-ts/runtime");
const runtime_4 = require("@protobuf-ts/runtime");
// @generated message type with reflection information, may provide speed optimized methods
class DownstreamOpenRequestExtensionFields$Type extends runtime_4.MessageType {
constructor() {
super("iscp2.DownstreamOpenRequestExtensionFields", []);
}
create(value) {
const message = {};
globalThis.Object.defineProperty(message, runtime_3.MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
(0, runtime_2.reflectionMergePartial)(this, message, value);
return message;
}
internalBinaryRead(reader, length, options, target) {
return target ?? this.create();
}
internalBinaryWrite(message, writer, options) {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message iscp2.DownstreamOpenRequestExtensionFields
*/
exports.DownstreamOpenRequestExtensionFields = new DownstreamOpenRequestExtensionFields$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DownstreamOpenResponseExtensionFields$Type extends runtime_4.MessageType {
constructor() {
super("iscp2.DownstreamOpenResponseExtensionFields", []);
}
create(value) {
const message = {};
globalThis.Object.defineProperty(message, runtime_3.MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
(0, runtime_2.reflectionMergePartial)(this, message, value);
return message;
}
internalBinaryRead(reader, length, options, target) {
return target ?? this.create();
}
internalBinaryWrite(message, writer, options) {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message iscp2.DownstreamOpenResponseExtensionFields
*/
exports.DownstreamOpenResponseExtensionFields = new DownstreamOpenResponseExtensionFields$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DownstreamResumeRequestExtensionFields$Type extends runtime_4.MessageType {
constructor() {
super("iscp2.DownstreamResumeRequestExtensionFields", []);
}
create(value) {
const message = {};
globalThis.Object.defineProperty(message, runtime_3.MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
(0, runtime_2.reflectionMergePartial)(this, message, value);
return message;
}
internalBinaryRead(reader, length, options, target) {
return target ?? this.create();
}
internalBinaryWrite(message, writer, options) {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message iscp2.DownstreamResumeRequestExtensionFields
*/
exports.DownstreamResumeRequestExtensionFields = new DownstreamResumeRequestExtensionFields$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DownstreamResumeResponseExtensionFields$Type extends runtime_4.MessageType {
constructor() {
super("iscp2.DownstreamResumeResponseExtensionFields", []);
}
create(value) {
const message = {};
globalThis.Object.defineProperty(message, runtime_3.MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
(0, runtime_2.reflectionMergePartial)(this, message, value);
return message;
}
internalBinaryRead(reader, length, options, target) {
return target ?? this.create();
}
internalBinaryWrite(message, writer, options) {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message iscp2.DownstreamResumeResponseExtensionFields
*/
exports.DownstreamResumeResponseExtensionFields = new DownstreamResumeResponseExtensionFields$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DownstreamCloseRequestExtensionFields$Type extends runtime_4.MessageType {
constructor() {
super("iscp2.DownstreamCloseRequestExtensionFields", []);
}
create(value) {
const message = {};
globalThis.Object.defineProperty(message, runtime_3.MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
(0, runtime_2.reflectionMergePartial)(this, message, value);
return message;
}
internalBinaryRead(reader, length, options, target) {
return target ?? this.create();
}
internalBinaryWrite(message, writer, options) {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message iscp2.DownstreamCloseRequestExtensionFields
*/
exports.DownstreamCloseRequestExtensionFields = new DownstreamCloseRequestExtensionFields$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DownstreamCloseResponseExtensionFields$Type extends runtime_4.MessageType {
constructor() {
super("iscp2.DownstreamCloseResponseExtensionFields", []);
}
create(value) {
const message = {};
globalThis.Object.defineProperty(message, runtime_3.MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
(0, runtime_2.reflectionMergePartial)(this, message, value);
return message;
}
internalBinaryRead(reader, length, options, target) {
return target ?? this.create();
}
internalBinaryWrite(message, writer, options) {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message iscp2.DownstreamCloseResponseExtensionFields
*/
exports.DownstreamCloseResponseExtensionFields = new DownstreamCloseResponseExtensionFields$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DownstreamChunkExtensionFields$Type extends runtime_4.MessageType {
constructor() {
super("iscp2.DownstreamChunkExtensionFields", []);
}
create(value) {
const message = {};
globalThis.Object.defineProperty(message, runtime_3.MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
(0, runtime_2.reflectionMergePartial)(this, message, value);
return message;
}
internalBinaryRead(reader, length, options, target) {
return target ?? this.create();
}
internalBinaryWrite(message, writer, options) {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message iscp2.DownstreamChunkExtensionFields
*/
exports.DownstreamChunkExtensionFields = new DownstreamChunkExtensionFields$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DownstreamChunkAckExtensionFields$Type extends runtime_4.MessageType {
constructor() {
super("iscp2.DownstreamChunkAckExtensionFields", []);
}
create(value) {
const message = {};
globalThis.Object.defineProperty(message, runtime_3.MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
(0, runtime_2.reflectionMergePartial)(this, message, value);
return message;
}
internalBinaryRead(reader, length, options, target) {
return target ?? this.create();
}
internalBinaryWrite(message, writer, options) {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message iscp2.DownstreamChunkAckExtensionFields
*/
exports.DownstreamChunkAckExtensionFields = new DownstreamChunkAckExtensionFields$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DownstreamChunkAckCompleteExtensionFields$Type extends runtime_4.MessageType {
constructor() {
super("iscp2.DownstreamChunkAckCompleteExtensionFields", []);
}
create(value) {
const message = {};
globalThis.Object.defineProperty(message, runtime_3.MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
(0, runtime_2.reflectionMergePartial)(this, message, value);
return message;
}
internalBinaryRead(reader, length, options, target) {
return target ?? this.create();
}
internalBinaryWrite(message, writer, options) {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message iscp2.DownstreamChunkAckCompleteExtensionFields
*/
exports.DownstreamChunkAckCompleteExtensionFields = new DownstreamChunkAckCompleteExtensionFields$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DownstreamMetadataExtensionFields$Type extends runtime_4.MessageType {
constructor() {
super("iscp2.DownstreamMetadataExtensionFields", []);
}
create(value) {
const message = {};
globalThis.Object.defineProperty(message, runtime_3.MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
(0, runtime_2.reflectionMergePartial)(this, message, value);
return message;
}
internalBinaryRead(reader, length, options, target) {
return target ?? this.create();
}
internalBinaryWrite(message, writer, options) {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message iscp2.DownstreamMetadataExtensionFields
*/
exports.DownstreamMetadataExtensionFields = new DownstreamMetadataExtensionFields$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DownstreamMetadataAckExtensionFields$Type extends runtime_4.MessageType {
constructor() {
super("iscp2.DownstreamMetadataAckExtensionFields", []);
}
create(value) {
const message = {};
globalThis.Object.defineProperty(message, runtime_3.MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
(0, runtime_2.reflectionMergePartial)(this, message, value);
return message;
}
internalBinaryRead(reader, length, options, target) {
return target ?? this.create();
}
internalBinaryWrite(message, writer, options) {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message iscp2.DownstreamMetadataAckExtensionFields
*/
exports.DownstreamMetadataAckExtensionFields = new DownstreamMetadataAckExtensionFields$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DownstreamChunkResultExtensionFields$Type extends runtime_4.MessageType {
constructor() {
super("iscp2.DownstreamChunkResultExtensionFields", []);
}
create(value) {
const message = {};
globalThis.Object.defineProperty(message, runtime_3.MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
(0, runtime_2.reflectionMergePartial)(this, message, value);
return message;
}
internalBinaryRead(reader, length, options, target) {
return target ?? this.create();
}
internalBinaryWrite(message, writer, options) {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message iscp2.DownstreamChunkResultExtensionFields
*/
exports.DownstreamChunkResultExtensionFields = new DownstreamChunkResultExtensionFields$Type();
//# sourceMappingURL=downstream.js.map