@milaboratories/pl-client 2.7.13 → 2.8.0
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/core/auth.d.ts.map +1 -1
- package/dist/core/cache.d.ts.map +1 -1
- package/dist/core/client.d.ts +5 -2
- package/dist/core/client.d.ts.map +1 -1
- package/dist/core/default_client.d.ts.map +1 -1
- package/dist/core/driver.d.ts.map +1 -1
- package/dist/core/errors.d.ts.map +1 -1
- package/dist/core/final.d.ts.map +1 -1
- package/dist/core/ll_client.d.ts +12 -2
- package/dist/core/ll_client.d.ts.map +1 -1
- package/dist/core/ll_transaction.d.ts.map +1 -1
- package/dist/core/transaction.d.ts +1 -1
- package/dist/core/transaction.d.ts.map +1 -1
- package/dist/core/type_conversion.d.ts.map +1 -1
- package/dist/core/types.d.ts +1 -1
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/unauth_client.d.ts.map +1 -1
- package/dist/helpers/pl.d.ts.map +1 -1
- package/dist/helpers/poll.d.ts.map +1 -1
- package/dist/helpers/state_helpers.d.ts.map +1 -1
- package/dist/helpers/tx_helpers.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2361 -2342
- package/dist/index.mjs.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +4 -4
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +16 -16
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +8 -8
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +22 -22
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +17 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
- package/dist/proto/google/api/http.d.ts +89 -89
- package/dist/proto/google/api/http.d.ts.map +1 -1
- package/dist/proto/google/protobuf/descriptor.d.ts +1151 -1151
- package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/test/test_config.d.ts.map +1 -1
- package/dist/util/util.d.ts.map +1 -1
- package/package.json +7 -3
- package/src/core/auth.ts +3 -3
- package/src/core/cache.ts +1 -1
- package/src/core/client.ts +63 -59
- package/src/core/config.ts +21 -21
- package/src/core/default_client.ts +15 -14
- package/src/core/driver.ts +4 -4
- package/src/core/errors.ts +3 -3
- package/src/core/final.ts +7 -4
- package/src/core/ll_client.ts +72 -43
- package/src/core/ll_transaction.ts +17 -17
- package/src/core/stat.ts +2 -2
- package/src/core/transaction.ts +93 -95
- package/src/core/type_conversion.ts +11 -8
- package/src/core/types.ts +25 -26
- package/src/core/unauth_client.ts +6 -6
- package/src/helpers/pl.ts +8 -7
- package/src/helpers/poll.ts +25 -21
- package/src/helpers/state_helpers.ts +2 -1
- package/src/helpers/tx_helpers.ts +4 -3
- package/src/proto/github.com/googleapis/googleapis/google/rpc/status.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +21 -20
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +240 -225
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +32 -30
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +388 -364
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +27 -2
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/import.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +1 -1
- package/src/proto/google/api/http.ts +280 -271
- package/src/proto/google/protobuf/any.ts +1 -1
- package/src/proto/google/protobuf/descriptor.ts +2952 -2853
- package/src/proto/google/protobuf/duration.ts +1 -1
- package/src/proto/google/protobuf/empty.ts +1 -1
- package/src/proto/google/protobuf/struct.ts +1 -1
- package/src/proto/google/protobuf/timestamp.ts +2 -2
- package/src/proto/google/protobuf/wrappers.ts +1 -1
- package/src/test/test_config.ts +21 -19
- package/src/util/util.ts +1 -0
package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
2
2
|
// @generated from protobuf file "github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.proto" (package "MiLaboratories.Controller.Shared", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
|
-
import { ServiceType } from
|
|
5
|
-
import { WireType } from
|
|
6
|
-
import type { BinaryWriteOptions } from
|
|
7
|
-
import type { IBinaryWriter } from
|
|
8
|
-
import type { BinaryReadOptions } from
|
|
9
|
-
import type { IBinaryReader } from
|
|
10
|
-
import { UnknownFieldHandler } from
|
|
11
|
-
import type { PartialMessage } from
|
|
12
|
-
import { reflectionMergePartial } from
|
|
13
|
-
import { MessageType } from
|
|
14
|
-
import { Duration } from
|
|
4
|
+
import { ServiceType } from '@protobuf-ts/runtime-rpc';
|
|
5
|
+
import { WireType } from '@protobuf-ts/runtime';
|
|
6
|
+
import type { BinaryWriteOptions } from '@protobuf-ts/runtime';
|
|
7
|
+
import type { IBinaryWriter } from '@protobuf-ts/runtime';
|
|
8
|
+
import type { BinaryReadOptions } from '@protobuf-ts/runtime';
|
|
9
|
+
import type { IBinaryReader } from '@protobuf-ts/runtime';
|
|
10
|
+
import { UnknownFieldHandler } from '@protobuf-ts/runtime';
|
|
11
|
+
import type { PartialMessage } from '@protobuf-ts/runtime';
|
|
12
|
+
import { reflectionMergePartial } from '@protobuf-ts/runtime';
|
|
13
|
+
import { MessageType } from '@protobuf-ts/runtime';
|
|
14
|
+
import { Duration } from '../../../../../../../google/protobuf/duration';
|
|
15
15
|
/**
|
|
16
16
|
* @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI
|
|
17
17
|
*/
|
|
@@ -21,28 +21,28 @@ export interface ProgressAPI {
|
|
|
21
21
|
* @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.Report
|
|
22
22
|
*/
|
|
23
23
|
export interface ProgressAPI_Report {
|
|
24
|
-
|
|
24
|
+
/**
|
|
25
25
|
* @generated from protobuf field: float progress = 1;
|
|
26
26
|
*/
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
progress: number;
|
|
28
|
+
/**
|
|
29
29
|
* @generated from protobuf field: uint64 bytes_processed = 2;
|
|
30
30
|
*/
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
bytesProcessed: bigint;
|
|
32
|
+
/**
|
|
33
33
|
* @generated from protobuf field: uint64 bytes_total = 3;
|
|
34
34
|
*/
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
bytesTotal: bigint;
|
|
36
|
+
/**
|
|
37
37
|
* @generated from protobuf field: bool done = 4;
|
|
38
38
|
*/
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
done: boolean;
|
|
40
|
+
/**
|
|
41
41
|
* Name of current progress stage (if any)
|
|
42
42
|
*
|
|
43
43
|
* @generated from protobuf field: string name = 5;
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
name: string;
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
48
|
* @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus
|
|
@@ -53,19 +53,19 @@ export interface ProgressAPI_GetStatus {
|
|
|
53
53
|
* @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Request
|
|
54
54
|
*/
|
|
55
55
|
export interface ProgressAPI_GetStatus_Request {
|
|
56
|
-
|
|
56
|
+
/**
|
|
57
57
|
* @generated from protobuf field: uint64 resource_id = 1;
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
resourceId: bigint;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
62
|
* @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Response
|
|
63
63
|
*/
|
|
64
64
|
export interface ProgressAPI_GetStatus_Response {
|
|
65
|
-
|
|
65
|
+
/**
|
|
66
66
|
* @generated from protobuf field: MiLaboratories.Controller.Shared.ProgressAPI.Report report = 1;
|
|
67
67
|
*/
|
|
68
|
-
|
|
68
|
+
report?: ProgressAPI_Report;
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
71
|
* @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus
|
|
@@ -76,57 +76,60 @@ export interface ProgressAPI_RealtimeStatus {
|
|
|
76
76
|
* @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Request
|
|
77
77
|
*/
|
|
78
78
|
export interface ProgressAPI_RealtimeStatus_Request {
|
|
79
|
-
|
|
79
|
+
/**
|
|
80
80
|
* @generated from protobuf field: uint64 resource_id = 1;
|
|
81
81
|
*/
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
resourceId: bigint;
|
|
83
|
+
/**
|
|
84
84
|
* @generated from protobuf field: google.protobuf.Duration update_interval = 2;
|
|
85
85
|
*/
|
|
86
|
-
|
|
86
|
+
updateInterval?: Duration;
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
89
|
* @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Response
|
|
90
90
|
*/
|
|
91
91
|
export interface ProgressAPI_RealtimeStatus_Response {
|
|
92
|
-
|
|
92
|
+
/**
|
|
93
93
|
* @generated from protobuf field: MiLaboratories.Controller.Shared.ProgressAPI.Report report = 1;
|
|
94
94
|
*/
|
|
95
|
-
|
|
95
|
+
report?: ProgressAPI_Report;
|
|
96
96
|
}
|
|
97
97
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
98
98
|
class ProgressAPI$Type extends MessageType<ProgressAPI> {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
99
|
+
constructor() {
|
|
100
|
+
super('MiLaboratories.Controller.Shared.ProgressAPI', []);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
create(value?: PartialMessage<ProgressAPI>): ProgressAPI {
|
|
104
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
105
|
+
if (value !== undefined)
|
|
106
|
+
reflectionMergePartial<ProgressAPI>(this, message, value);
|
|
107
|
+
return message;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI): ProgressAPI {
|
|
111
|
+
const message = target ?? this.create(), end = reader.pos + length;
|
|
112
|
+
while (reader.pos < end) {
|
|
113
|
+
const [fieldNo, wireType] = reader.tag();
|
|
114
|
+
switch (fieldNo) {
|
|
115
|
+
default:
|
|
116
|
+
const u = options.readUnknownField;
|
|
117
|
+
if (u === 'throw')
|
|
118
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
119
|
+
const d = reader.skip(wireType);
|
|
120
|
+
if (u !== false)
|
|
121
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
return message;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
internalBinaryWrite(message: ProgressAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
128
|
+
const u = options.writeUnknownFields;
|
|
129
|
+
if (u !== false)
|
|
130
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
131
|
+
return writer;
|
|
132
|
+
}
|
|
130
133
|
}
|
|
131
134
|
/**
|
|
132
135
|
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.ProgressAPI
|
|
@@ -134,78 +137,81 @@ class ProgressAPI$Type extends MessageType<ProgressAPI> {
|
|
|
134
137
|
export const ProgressAPI = new ProgressAPI$Type();
|
|
135
138
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
136
139
|
class ProgressAPI_Report$Type extends MessageType<ProgressAPI_Report> {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
140
|
+
constructor() {
|
|
141
|
+
super('MiLaboratories.Controller.Shared.ProgressAPI.Report', [
|
|
142
|
+
{ no: 1, name: 'progress', kind: 'scalar', T: 2 /* ScalarType.FLOAT */ },
|
|
143
|
+
{ no: 2, name: 'bytes_processed', kind: 'scalar', T: 4 /* ScalarType.UINT64 */, L: 0 /* LongType.BIGINT */ },
|
|
144
|
+
{ no: 3, name: 'bytes_total', kind: 'scalar', T: 4 /* ScalarType.UINT64 */, L: 0 /* LongType.BIGINT */ },
|
|
145
|
+
{ no: 4, name: 'done', kind: 'scalar', T: 8 /* ScalarType.BOOL */ },
|
|
146
|
+
{ no: 5, name: 'name', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
147
|
+
]);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
create(value?: PartialMessage<ProgressAPI_Report>): ProgressAPI_Report {
|
|
151
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
152
|
+
message.progress = 0;
|
|
153
|
+
message.bytesProcessed = 0n;
|
|
154
|
+
message.bytesTotal = 0n;
|
|
155
|
+
message.done = false;
|
|
156
|
+
message.name = '';
|
|
157
|
+
if (value !== undefined)
|
|
158
|
+
reflectionMergePartial<ProgressAPI_Report>(this, message, value);
|
|
159
|
+
return message;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_Report): ProgressAPI_Report {
|
|
163
|
+
const message = target ?? this.create(), end = reader.pos + length;
|
|
164
|
+
while (reader.pos < end) {
|
|
165
|
+
const [fieldNo, wireType] = reader.tag();
|
|
166
|
+
switch (fieldNo) {
|
|
167
|
+
case /* float progress */ 1:
|
|
168
|
+
message.progress = reader.float();
|
|
169
|
+
break;
|
|
170
|
+
case /* uint64 bytes_processed */ 2:
|
|
171
|
+
message.bytesProcessed = reader.uint64().toBigInt();
|
|
172
|
+
break;
|
|
173
|
+
case /* uint64 bytes_total */ 3:
|
|
174
|
+
message.bytesTotal = reader.uint64().toBigInt();
|
|
175
|
+
break;
|
|
176
|
+
case /* bool done */ 4:
|
|
177
|
+
message.done = reader.bool();
|
|
178
|
+
break;
|
|
179
|
+
case /* string name */ 5:
|
|
180
|
+
message.name = reader.string();
|
|
181
|
+
break;
|
|
182
|
+
default:
|
|
183
|
+
const u = options.readUnknownField;
|
|
184
|
+
if (u === 'throw')
|
|
185
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
186
|
+
const d = reader.skip(wireType);
|
|
187
|
+
if (u !== false)
|
|
188
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
return message;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
internalBinaryWrite(message: ProgressAPI_Report, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
195
|
+
/* float progress = 1; */
|
|
196
|
+
if (message.progress !== 0)
|
|
197
|
+
writer.tag(1, WireType.Bit32).float(message.progress);
|
|
198
|
+
/* uint64 bytes_processed = 2; */
|
|
199
|
+
if (message.bytesProcessed !== 0n)
|
|
200
|
+
writer.tag(2, WireType.Varint).uint64(message.bytesProcessed);
|
|
201
|
+
/* uint64 bytes_total = 3; */
|
|
202
|
+
if (message.bytesTotal !== 0n)
|
|
203
|
+
writer.tag(3, WireType.Varint).uint64(message.bytesTotal);
|
|
204
|
+
/* bool done = 4; */
|
|
205
|
+
if (message.done !== false)
|
|
206
|
+
writer.tag(4, WireType.Varint).bool(message.done);
|
|
207
|
+
/* string name = 5; */
|
|
208
|
+
if (message.name !== '')
|
|
209
|
+
writer.tag(5, WireType.LengthDelimited).string(message.name);
|
|
210
|
+
const u = options.writeUnknownFields;
|
|
211
|
+
if (u !== false)
|
|
212
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
213
|
+
return writer;
|
|
214
|
+
}
|
|
209
215
|
}
|
|
210
216
|
/**
|
|
211
217
|
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.ProgressAPI.Report
|
|
@@ -213,37 +219,40 @@ class ProgressAPI_Report$Type extends MessageType<ProgressAPI_Report> {
|
|
|
213
219
|
export const ProgressAPI_Report = new ProgressAPI_Report$Type();
|
|
214
220
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
215
221
|
class ProgressAPI_GetStatus$Type extends MessageType<ProgressAPI_GetStatus> {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
222
|
+
constructor() {
|
|
223
|
+
super('MiLaboratories.Controller.Shared.ProgressAPI.GetStatus', []);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
create(value?: PartialMessage<ProgressAPI_GetStatus>): ProgressAPI_GetStatus {
|
|
227
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
228
|
+
if (value !== undefined)
|
|
229
|
+
reflectionMergePartial<ProgressAPI_GetStatus>(this, message, value);
|
|
230
|
+
return message;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_GetStatus): ProgressAPI_GetStatus {
|
|
234
|
+
const message = target ?? this.create(), end = reader.pos + length;
|
|
235
|
+
while (reader.pos < end) {
|
|
236
|
+
const [fieldNo, wireType] = reader.tag();
|
|
237
|
+
switch (fieldNo) {
|
|
238
|
+
default:
|
|
239
|
+
const u = options.readUnknownField;
|
|
240
|
+
if (u === 'throw')
|
|
241
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
242
|
+
const d = reader.skip(wireType);
|
|
243
|
+
if (u !== false)
|
|
244
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
return message;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
internalBinaryWrite(message: ProgressAPI_GetStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
251
|
+
const u = options.writeUnknownFields;
|
|
252
|
+
if (u !== false)
|
|
253
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
254
|
+
return writer;
|
|
255
|
+
}
|
|
247
256
|
}
|
|
248
257
|
/**
|
|
249
258
|
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus
|
|
@@ -251,46 +260,49 @@ class ProgressAPI_GetStatus$Type extends MessageType<ProgressAPI_GetStatus> {
|
|
|
251
260
|
export const ProgressAPI_GetStatus = new ProgressAPI_GetStatus$Type();
|
|
252
261
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
253
262
|
class ProgressAPI_GetStatus_Request$Type extends MessageType<ProgressAPI_GetStatus_Request> {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
263
|
+
constructor() {
|
|
264
|
+
super('MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Request', [
|
|
265
|
+
{ no: 1, name: 'resource_id', kind: 'scalar', T: 4 /* ScalarType.UINT64 */, L: 0 /* LongType.BIGINT */ },
|
|
266
|
+
]);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
create(value?: PartialMessage<ProgressAPI_GetStatus_Request>): ProgressAPI_GetStatus_Request {
|
|
270
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
271
|
+
message.resourceId = 0n;
|
|
272
|
+
if (value !== undefined)
|
|
273
|
+
reflectionMergePartial<ProgressAPI_GetStatus_Request>(this, message, value);
|
|
274
|
+
return message;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_GetStatus_Request): ProgressAPI_GetStatus_Request {
|
|
278
|
+
const message = target ?? this.create(), end = reader.pos + length;
|
|
279
|
+
while (reader.pos < end) {
|
|
280
|
+
const [fieldNo, wireType] = reader.tag();
|
|
281
|
+
switch (fieldNo) {
|
|
282
|
+
case /* uint64 resource_id */ 1:
|
|
283
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
284
|
+
break;
|
|
285
|
+
default:
|
|
286
|
+
const u = options.readUnknownField;
|
|
287
|
+
if (u === 'throw')
|
|
288
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
289
|
+
const d = reader.skip(wireType);
|
|
290
|
+
if (u !== false)
|
|
291
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
return message;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
internalBinaryWrite(message: ProgressAPI_GetStatus_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
298
|
+
/* uint64 resource_id = 1; */
|
|
299
|
+
if (message.resourceId !== 0n)
|
|
300
|
+
writer.tag(1, WireType.Varint).uint64(message.resourceId);
|
|
301
|
+
const u = options.writeUnknownFields;
|
|
302
|
+
if (u !== false)
|
|
303
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
304
|
+
return writer;
|
|
305
|
+
}
|
|
294
306
|
}
|
|
295
307
|
/**
|
|
296
308
|
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Request
|
|
@@ -298,45 +310,48 @@ class ProgressAPI_GetStatus_Request$Type extends MessageType<ProgressAPI_GetStat
|
|
|
298
310
|
export const ProgressAPI_GetStatus_Request = new ProgressAPI_GetStatus_Request$Type();
|
|
299
311
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
300
312
|
class ProgressAPI_GetStatus_Response$Type extends MessageType<ProgressAPI_GetStatus_Response> {
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
313
|
+
constructor() {
|
|
314
|
+
super('MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Response', [
|
|
315
|
+
{ no: 1, name: 'report', kind: 'message', T: () => ProgressAPI_Report },
|
|
316
|
+
]);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
create(value?: PartialMessage<ProgressAPI_GetStatus_Response>): ProgressAPI_GetStatus_Response {
|
|
320
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
321
|
+
if (value !== undefined)
|
|
322
|
+
reflectionMergePartial<ProgressAPI_GetStatus_Response>(this, message, value);
|
|
323
|
+
return message;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_GetStatus_Response): ProgressAPI_GetStatus_Response {
|
|
327
|
+
const message = target ?? this.create(), end = reader.pos + length;
|
|
328
|
+
while (reader.pos < end) {
|
|
329
|
+
const [fieldNo, wireType] = reader.tag();
|
|
330
|
+
switch (fieldNo) {
|
|
331
|
+
case /* MiLaboratories.Controller.Shared.ProgressAPI.Report report */ 1:
|
|
332
|
+
message.report = ProgressAPI_Report.internalBinaryRead(reader, reader.uint32(), options, message.report);
|
|
333
|
+
break;
|
|
334
|
+
default:
|
|
335
|
+
const u = options.readUnknownField;
|
|
336
|
+
if (u === 'throw')
|
|
337
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
338
|
+
const d = reader.skip(wireType);
|
|
339
|
+
if (u !== false)
|
|
340
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
return message;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
internalBinaryWrite(message: ProgressAPI_GetStatus_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
347
|
+
/* MiLaboratories.Controller.Shared.ProgressAPI.Report report = 1; */
|
|
348
|
+
if (message.report)
|
|
349
|
+
ProgressAPI_Report.internalBinaryWrite(message.report, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
350
|
+
const u = options.writeUnknownFields;
|
|
351
|
+
if (u !== false)
|
|
352
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
353
|
+
return writer;
|
|
354
|
+
}
|
|
340
355
|
}
|
|
341
356
|
/**
|
|
342
357
|
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Response
|
|
@@ -344,37 +359,40 @@ class ProgressAPI_GetStatus_Response$Type extends MessageType<ProgressAPI_GetSta
|
|
|
344
359
|
export const ProgressAPI_GetStatus_Response = new ProgressAPI_GetStatus_Response$Type();
|
|
345
360
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
346
361
|
class ProgressAPI_RealtimeStatus$Type extends MessageType<ProgressAPI_RealtimeStatus> {
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
362
|
+
constructor() {
|
|
363
|
+
super('MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus', []);
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
create(value?: PartialMessage<ProgressAPI_RealtimeStatus>): ProgressAPI_RealtimeStatus {
|
|
367
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
368
|
+
if (value !== undefined)
|
|
369
|
+
reflectionMergePartial<ProgressAPI_RealtimeStatus>(this, message, value);
|
|
370
|
+
return message;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_RealtimeStatus): ProgressAPI_RealtimeStatus {
|
|
374
|
+
const message = target ?? this.create(), end = reader.pos + length;
|
|
375
|
+
while (reader.pos < end) {
|
|
376
|
+
const [fieldNo, wireType] = reader.tag();
|
|
377
|
+
switch (fieldNo) {
|
|
378
|
+
default:
|
|
379
|
+
const u = options.readUnknownField;
|
|
380
|
+
if (u === 'throw')
|
|
381
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
382
|
+
const d = reader.skip(wireType);
|
|
383
|
+
if (u !== false)
|
|
384
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
return message;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
internalBinaryWrite(message: ProgressAPI_RealtimeStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
391
|
+
const u = options.writeUnknownFields;
|
|
392
|
+
if (u !== false)
|
|
393
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
394
|
+
return writer;
|
|
395
|
+
}
|
|
378
396
|
}
|
|
379
397
|
/**
|
|
380
398
|
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus
|
|
@@ -382,53 +400,56 @@ class ProgressAPI_RealtimeStatus$Type extends MessageType<ProgressAPI_RealtimeSt
|
|
|
382
400
|
export const ProgressAPI_RealtimeStatus = new ProgressAPI_RealtimeStatus$Type();
|
|
383
401
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
384
402
|
class ProgressAPI_RealtimeStatus_Request$Type extends MessageType<ProgressAPI_RealtimeStatus_Request> {
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
403
|
+
constructor() {
|
|
404
|
+
super('MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Request', [
|
|
405
|
+
{ no: 1, name: 'resource_id', kind: 'scalar', T: 4 /* ScalarType.UINT64 */, L: 0 /* LongType.BIGINT */ },
|
|
406
|
+
{ no: 2, name: 'update_interval', kind: 'message', T: () => Duration },
|
|
407
|
+
]);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
create(value?: PartialMessage<ProgressAPI_RealtimeStatus_Request>): ProgressAPI_RealtimeStatus_Request {
|
|
411
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
412
|
+
message.resourceId = 0n;
|
|
413
|
+
if (value !== undefined)
|
|
414
|
+
reflectionMergePartial<ProgressAPI_RealtimeStatus_Request>(this, message, value);
|
|
415
|
+
return message;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_RealtimeStatus_Request): ProgressAPI_RealtimeStatus_Request {
|
|
419
|
+
const message = target ?? this.create(), end = reader.pos + length;
|
|
420
|
+
while (reader.pos < end) {
|
|
421
|
+
const [fieldNo, wireType] = reader.tag();
|
|
422
|
+
switch (fieldNo) {
|
|
423
|
+
case /* uint64 resource_id */ 1:
|
|
424
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
425
|
+
break;
|
|
426
|
+
case /* google.protobuf.Duration update_interval */ 2:
|
|
427
|
+
message.updateInterval = Duration.internalBinaryRead(reader, reader.uint32(), options, message.updateInterval);
|
|
428
|
+
break;
|
|
429
|
+
default:
|
|
430
|
+
const u = options.readUnknownField;
|
|
431
|
+
if (u === 'throw')
|
|
432
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
433
|
+
const d = reader.skip(wireType);
|
|
434
|
+
if (u !== false)
|
|
435
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
return message;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
internalBinaryWrite(message: ProgressAPI_RealtimeStatus_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
442
|
+
/* uint64 resource_id = 1; */
|
|
443
|
+
if (message.resourceId !== 0n)
|
|
444
|
+
writer.tag(1, WireType.Varint).uint64(message.resourceId);
|
|
445
|
+
/* google.protobuf.Duration update_interval = 2; */
|
|
446
|
+
if (message.updateInterval)
|
|
447
|
+
Duration.internalBinaryWrite(message.updateInterval, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
448
|
+
const u = options.writeUnknownFields;
|
|
449
|
+
if (u !== false)
|
|
450
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
451
|
+
return writer;
|
|
452
|
+
}
|
|
432
453
|
}
|
|
433
454
|
/**
|
|
434
455
|
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Request
|
|
@@ -436,45 +457,48 @@ class ProgressAPI_RealtimeStatus_Request$Type extends MessageType<ProgressAPI_Re
|
|
|
436
457
|
export const ProgressAPI_RealtimeStatus_Request = new ProgressAPI_RealtimeStatus_Request$Type();
|
|
437
458
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
438
459
|
class ProgressAPI_RealtimeStatus_Response$Type extends MessageType<ProgressAPI_RealtimeStatus_Response> {
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
460
|
+
constructor() {
|
|
461
|
+
super('MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Response', [
|
|
462
|
+
{ no: 1, name: 'report', kind: 'message', T: () => ProgressAPI_Report },
|
|
463
|
+
]);
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
create(value?: PartialMessage<ProgressAPI_RealtimeStatus_Response>): ProgressAPI_RealtimeStatus_Response {
|
|
467
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
468
|
+
if (value !== undefined)
|
|
469
|
+
reflectionMergePartial<ProgressAPI_RealtimeStatus_Response>(this, message, value);
|
|
470
|
+
return message;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_RealtimeStatus_Response): ProgressAPI_RealtimeStatus_Response {
|
|
474
|
+
const message = target ?? this.create(), end = reader.pos + length;
|
|
475
|
+
while (reader.pos < end) {
|
|
476
|
+
const [fieldNo, wireType] = reader.tag();
|
|
477
|
+
switch (fieldNo) {
|
|
478
|
+
case /* MiLaboratories.Controller.Shared.ProgressAPI.Report report */ 1:
|
|
479
|
+
message.report = ProgressAPI_Report.internalBinaryRead(reader, reader.uint32(), options, message.report);
|
|
480
|
+
break;
|
|
481
|
+
default:
|
|
482
|
+
const u = options.readUnknownField;
|
|
483
|
+
if (u === 'throw')
|
|
484
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
485
|
+
const d = reader.skip(wireType);
|
|
486
|
+
if (u !== false)
|
|
487
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
return message;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
internalBinaryWrite(message: ProgressAPI_RealtimeStatus_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
494
|
+
/* MiLaboratories.Controller.Shared.ProgressAPI.Report report = 1; */
|
|
495
|
+
if (message.report)
|
|
496
|
+
ProgressAPI_Report.internalBinaryWrite(message.report, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
497
|
+
const u = options.writeUnknownFields;
|
|
498
|
+
if (u !== false)
|
|
499
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
500
|
+
return writer;
|
|
501
|
+
}
|
|
478
502
|
}
|
|
479
503
|
/**
|
|
480
504
|
* @generated MessageType for protobuf message MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Response
|
|
@@ -483,7 +507,7 @@ export const ProgressAPI_RealtimeStatus_Response = new ProgressAPI_RealtimeStatu
|
|
|
483
507
|
/**
|
|
484
508
|
* @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.Progress
|
|
485
509
|
*/
|
|
486
|
-
export const Progress = new ServiceType(
|
|
487
|
-
|
|
488
|
-
|
|
510
|
+
export const Progress = new ServiceType('MiLaboratories.Controller.Shared.Progress', [
|
|
511
|
+
{ name: 'GetStatus', options: { 'google.api.http': { get: '/resources/{resource_id}/get-progress' } }, I: ProgressAPI_GetStatus_Request, O: ProgressAPI_GetStatus_Response },
|
|
512
|
+
{ name: 'RealtimeStatus', serverStreaming: true, options: {}, I: ProgressAPI_RealtimeStatus_Request, O: ProgressAPI_RealtimeStatus_Response },
|
|
489
513
|
]);
|