@m1kad0/hannah-proto 3.7.1 → 3.7.2
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/activity_log.js +216 -166
- package/dist/agent.js +1330 -1050
- package/dist/automation.js +142 -92
- package/dist/car_state.js +245 -195
- package/dist/compat_versions.js +1 -1
- package/dist/control.js +1675 -1255
- package/dist/descriptor.binpb +0 -0
- package/dist/device_control_menu.js +302 -222
- package/dist/event_stream.js +236 -166
- package/dist/google/protobuf/descriptor.js +1721 -1381
- package/dist/hannah.js +1 -1
- package/dist/messages.js +198 -148
- package/dist/options.js +1 -1
- package/dist/satellite.js +314 -244
- package/dist/satellite_provisioning.js +38 -28
- package/dist/satellite_proxy.d.ts +5 -2
- package/dist/satellite_proxy.js +278 -208
- package/dist/shared.js +111 -71
- package/dist/speaker_enrollment.js +38 -28
- package/dist/timer_admin.js +131 -91
- package/dist/timer_service.js +467 -327
- package/dist/user_registry.js +724 -534
- package/dist/wakeword_capture.js +295 -195
- package/dist/weather.js +172 -142
- package/package.json +2 -2
package/dist/wakeword_capture.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.12.
|
|
4
|
+
// protoc-gen-ts_proto v2.12.1
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: hannah/wakeword_capture.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -38,32 +38,42 @@ exports.SatelliteCaptureRequest = {
|
|
|
38
38
|
},
|
|
39
39
|
decode(input, length) {
|
|
40
40
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
41
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
42
|
+
if (previousRecursionDepth >= 100) {
|
|
43
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
44
|
+
}
|
|
45
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
46
|
+
try {
|
|
47
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
48
|
+
const message = createBaseSatelliteCaptureRequest();
|
|
49
|
+
while (reader.pos < end) {
|
|
50
|
+
const tag = reader.uint32();
|
|
51
|
+
switch (tag >>> 3) {
|
|
52
|
+
case 1: {
|
|
53
|
+
if (tag !== 10) {
|
|
54
|
+
break;
|
|
55
|
+
}
|
|
56
|
+
message.deviceId = reader.string();
|
|
57
|
+
continue;
|
|
49
58
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
59
|
+
case 2: {
|
|
60
|
+
if (tag !== 18) {
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
message.sampleType = reader.string();
|
|
64
|
+
continue;
|
|
56
65
|
}
|
|
57
|
-
message.sampleType = reader.string();
|
|
58
|
-
continue;
|
|
59
66
|
}
|
|
67
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
68
|
+
break;
|
|
69
|
+
}
|
|
70
|
+
reader.skip(tag & 7);
|
|
60
71
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
reader.
|
|
72
|
+
return message;
|
|
73
|
+
}
|
|
74
|
+
finally {
|
|
75
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
65
76
|
}
|
|
66
|
-
return message;
|
|
67
77
|
},
|
|
68
78
|
create(base) {
|
|
69
79
|
return exports.SatelliteCaptureRequest.fromPartial(base ?? {});
|
|
@@ -90,32 +100,42 @@ exports.TriggerPlinkRequest = {
|
|
|
90
100
|
},
|
|
91
101
|
decode(input, length) {
|
|
92
102
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
93
|
-
const
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
103
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
104
|
+
if (previousRecursionDepth >= 100) {
|
|
105
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
106
|
+
}
|
|
107
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
108
|
+
try {
|
|
109
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
110
|
+
const message = createBaseTriggerPlinkRequest();
|
|
111
|
+
while (reader.pos < end) {
|
|
112
|
+
const tag = reader.uint32();
|
|
113
|
+
switch (tag >>> 3) {
|
|
114
|
+
case 1: {
|
|
115
|
+
if (tag !== 10) {
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
message.deviceId = reader.string();
|
|
119
|
+
continue;
|
|
101
120
|
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
121
|
+
case 2: {
|
|
122
|
+
if (tag !== 21) {
|
|
123
|
+
break;
|
|
124
|
+
}
|
|
125
|
+
message.recordDuration = reader.float();
|
|
126
|
+
continue;
|
|
108
127
|
}
|
|
109
|
-
message.recordDuration = reader.float();
|
|
110
|
-
continue;
|
|
111
128
|
}
|
|
129
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
130
|
+
break;
|
|
131
|
+
}
|
|
132
|
+
reader.skip(tag & 7);
|
|
112
133
|
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
reader.
|
|
134
|
+
return message;
|
|
135
|
+
}
|
|
136
|
+
finally {
|
|
137
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
117
138
|
}
|
|
118
|
-
return message;
|
|
119
139
|
},
|
|
120
140
|
create(base) {
|
|
121
141
|
return exports.TriggerPlinkRequest.fromPartial(base ?? {});
|
|
@@ -142,32 +162,42 @@ exports.SatelliteCaptureResponse = {
|
|
|
142
162
|
},
|
|
143
163
|
decode(input, length) {
|
|
144
164
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
145
|
-
const
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
165
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
166
|
+
if (previousRecursionDepth >= 100) {
|
|
167
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
168
|
+
}
|
|
169
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
170
|
+
try {
|
|
171
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
172
|
+
const message = createBaseSatelliteCaptureResponse();
|
|
173
|
+
while (reader.pos < end) {
|
|
174
|
+
const tag = reader.uint32();
|
|
175
|
+
switch (tag >>> 3) {
|
|
176
|
+
case 1: {
|
|
177
|
+
if (tag !== 8) {
|
|
178
|
+
break;
|
|
179
|
+
}
|
|
180
|
+
message.ok = reader.bool();
|
|
181
|
+
continue;
|
|
153
182
|
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
183
|
+
case 2: {
|
|
184
|
+
if (tag !== 18) {
|
|
185
|
+
break;
|
|
186
|
+
}
|
|
187
|
+
message.error = reader.string();
|
|
188
|
+
continue;
|
|
160
189
|
}
|
|
161
|
-
message.error = reader.string();
|
|
162
|
-
continue;
|
|
163
190
|
}
|
|
191
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
192
|
+
break;
|
|
193
|
+
}
|
|
194
|
+
reader.skip(tag & 7);
|
|
164
195
|
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
reader.
|
|
196
|
+
return message;
|
|
197
|
+
}
|
|
198
|
+
finally {
|
|
199
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
169
200
|
}
|
|
170
|
-
return message;
|
|
171
201
|
},
|
|
172
202
|
create(base) {
|
|
173
203
|
return exports.SatelliteCaptureResponse.fromPartial(base ?? {});
|
|
@@ -197,39 +227,49 @@ exports.SatelliteAudioChunk = {
|
|
|
197
227
|
},
|
|
198
228
|
decode(input, length) {
|
|
199
229
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
200
|
-
const
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
230
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
231
|
+
if (previousRecursionDepth >= 100) {
|
|
232
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
233
|
+
}
|
|
234
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
235
|
+
try {
|
|
236
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
237
|
+
const message = createBaseSatelliteAudioChunk();
|
|
238
|
+
while (reader.pos < end) {
|
|
239
|
+
const tag = reader.uint32();
|
|
240
|
+
switch (tag >>> 3) {
|
|
241
|
+
case 1: {
|
|
242
|
+
if (tag !== 10) {
|
|
243
|
+
break;
|
|
244
|
+
}
|
|
245
|
+
message.pcm = reader.bytes();
|
|
246
|
+
continue;
|
|
208
247
|
}
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
248
|
+
case 2: {
|
|
249
|
+
if (tag !== 16) {
|
|
250
|
+
break;
|
|
251
|
+
}
|
|
252
|
+
message.sampleRate = reader.int32();
|
|
253
|
+
continue;
|
|
215
254
|
}
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
255
|
+
case 3: {
|
|
256
|
+
if (tag !== 24) {
|
|
257
|
+
break;
|
|
258
|
+
}
|
|
259
|
+
message.endOfUtterance = reader.bool();
|
|
260
|
+
continue;
|
|
222
261
|
}
|
|
223
|
-
message.endOfUtterance = reader.bool();
|
|
224
|
-
continue;
|
|
225
262
|
}
|
|
263
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
264
|
+
break;
|
|
265
|
+
}
|
|
266
|
+
reader.skip(tag & 7);
|
|
226
267
|
}
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
reader.
|
|
268
|
+
return message;
|
|
269
|
+
}
|
|
270
|
+
finally {
|
|
271
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
231
272
|
}
|
|
232
|
-
return message;
|
|
233
273
|
},
|
|
234
274
|
create(base) {
|
|
235
275
|
return exports.SatelliteAudioChunk.fromPartial(base ?? {});
|
|
@@ -263,46 +303,56 @@ exports.CaptureCommand = {
|
|
|
263
303
|
},
|
|
264
304
|
decode(input, length) {
|
|
265
305
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
266
|
-
const
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
306
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
307
|
+
if (previousRecursionDepth >= 100) {
|
|
308
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
309
|
+
}
|
|
310
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
311
|
+
try {
|
|
312
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
313
|
+
const message = createBaseCaptureCommand();
|
|
314
|
+
while (reader.pos < end) {
|
|
315
|
+
const tag = reader.uint32();
|
|
316
|
+
switch (tag >>> 3) {
|
|
317
|
+
case 1: {
|
|
318
|
+
if (tag !== 10) {
|
|
319
|
+
break;
|
|
320
|
+
}
|
|
321
|
+
message.deviceId = reader.string();
|
|
322
|
+
continue;
|
|
274
323
|
}
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
324
|
+
case 2: {
|
|
325
|
+
if (tag !== 18) {
|
|
326
|
+
break;
|
|
327
|
+
}
|
|
328
|
+
message.sampleType = exports.SampleType.decode(reader, reader.uint32());
|
|
329
|
+
continue;
|
|
281
330
|
}
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
331
|
+
case 3: {
|
|
332
|
+
if (tag !== 24) {
|
|
333
|
+
break;
|
|
334
|
+
}
|
|
335
|
+
message.captureMode = reader.int32();
|
|
336
|
+
continue;
|
|
288
337
|
}
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
338
|
+
case 4: {
|
|
339
|
+
if (tag !== 32) {
|
|
340
|
+
break;
|
|
341
|
+
}
|
|
342
|
+
message.stop = reader.bool();
|
|
343
|
+
continue;
|
|
295
344
|
}
|
|
296
|
-
message.stop = reader.bool();
|
|
297
|
-
continue;
|
|
298
345
|
}
|
|
346
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
347
|
+
break;
|
|
348
|
+
}
|
|
349
|
+
reader.skip(tag & 7);
|
|
299
350
|
}
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
reader.
|
|
351
|
+
return message;
|
|
352
|
+
}
|
|
353
|
+
finally {
|
|
354
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
304
355
|
}
|
|
305
|
-
return message;
|
|
306
356
|
},
|
|
307
357
|
create(base) {
|
|
308
358
|
return exports.CaptureCommand.fromPartial(base ?? {});
|
|
@@ -333,32 +383,42 @@ exports.SampleType = {
|
|
|
333
383
|
},
|
|
334
384
|
decode(input, length) {
|
|
335
385
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
336
|
-
const
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
386
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
387
|
+
if (previousRecursionDepth >= 100) {
|
|
388
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
389
|
+
}
|
|
390
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
391
|
+
try {
|
|
392
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
393
|
+
const message = createBaseSampleType();
|
|
394
|
+
while (reader.pos < end) {
|
|
395
|
+
const tag = reader.uint32();
|
|
396
|
+
switch (tag >>> 3) {
|
|
397
|
+
case 1: {
|
|
398
|
+
if (tag !== 10) {
|
|
399
|
+
break;
|
|
400
|
+
}
|
|
401
|
+
message.noise = exports.NoiseSample.decode(reader, reader.uint32());
|
|
402
|
+
continue;
|
|
344
403
|
}
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
404
|
+
case 2: {
|
|
405
|
+
if (tag !== 18) {
|
|
406
|
+
break;
|
|
407
|
+
}
|
|
408
|
+
message.heyHannah = exports.HeyHannahSample.decode(reader, reader.uint32());
|
|
409
|
+
continue;
|
|
351
410
|
}
|
|
352
|
-
message.heyHannah = exports.HeyHannahSample.decode(reader, reader.uint32());
|
|
353
|
-
continue;
|
|
354
411
|
}
|
|
412
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
413
|
+
break;
|
|
414
|
+
}
|
|
415
|
+
reader.skip(tag & 7);
|
|
355
416
|
}
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
reader.
|
|
417
|
+
return message;
|
|
418
|
+
}
|
|
419
|
+
finally {
|
|
420
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
360
421
|
}
|
|
361
|
-
return message;
|
|
362
422
|
},
|
|
363
423
|
create(base) {
|
|
364
424
|
return exports.SampleType.fromPartial(base ?? {});
|
|
@@ -383,18 +443,28 @@ exports.NoiseSample = {
|
|
|
383
443
|
},
|
|
384
444
|
decode(input, length) {
|
|
385
445
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
386
|
-
const
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
446
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
447
|
+
if (previousRecursionDepth >= 100) {
|
|
448
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
449
|
+
}
|
|
450
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
451
|
+
try {
|
|
452
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
453
|
+
const message = createBaseNoiseSample();
|
|
454
|
+
while (reader.pos < end) {
|
|
455
|
+
const tag = reader.uint32();
|
|
456
|
+
switch (tag >>> 3) {
|
|
457
|
+
}
|
|
458
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
459
|
+
break;
|
|
460
|
+
}
|
|
461
|
+
reader.skip(tag & 7);
|
|
394
462
|
}
|
|
395
|
-
|
|
463
|
+
return message;
|
|
464
|
+
}
|
|
465
|
+
finally {
|
|
466
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
396
467
|
}
|
|
397
|
-
return message;
|
|
398
468
|
},
|
|
399
469
|
create(base) {
|
|
400
470
|
return exports.NoiseSample.fromPartial(base ?? {});
|
|
@@ -413,18 +483,28 @@ exports.HeyHannahSample = {
|
|
|
413
483
|
},
|
|
414
484
|
decode(input, length) {
|
|
415
485
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
416
|
-
const
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
486
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
487
|
+
if (previousRecursionDepth >= 100) {
|
|
488
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
489
|
+
}
|
|
490
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
491
|
+
try {
|
|
492
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
493
|
+
const message = createBaseHeyHannahSample();
|
|
494
|
+
while (reader.pos < end) {
|
|
495
|
+
const tag = reader.uint32();
|
|
496
|
+
switch (tag >>> 3) {
|
|
497
|
+
}
|
|
498
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
499
|
+
break;
|
|
500
|
+
}
|
|
501
|
+
reader.skip(tag & 7);
|
|
424
502
|
}
|
|
425
|
-
|
|
503
|
+
return message;
|
|
504
|
+
}
|
|
505
|
+
finally {
|
|
506
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
426
507
|
}
|
|
427
|
-
return message;
|
|
428
508
|
},
|
|
429
509
|
create(base) {
|
|
430
510
|
return exports.HeyHannahSample.fromPartial(base ?? {});
|
|
@@ -446,25 +526,35 @@ exports.CollectorMessage = {
|
|
|
446
526
|
},
|
|
447
527
|
decode(input, length) {
|
|
448
528
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
449
|
-
const
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
529
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
530
|
+
if (previousRecursionDepth >= 100) {
|
|
531
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
532
|
+
}
|
|
533
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
534
|
+
try {
|
|
535
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
536
|
+
const message = createBaseCollectorMessage();
|
|
537
|
+
while (reader.pos < end) {
|
|
538
|
+
const tag = reader.uint32();
|
|
539
|
+
switch (tag >>> 3) {
|
|
540
|
+
case 1: {
|
|
541
|
+
if (tag !== 10) {
|
|
542
|
+
break;
|
|
543
|
+
}
|
|
544
|
+
message.ack = exports.CollectorAck.decode(reader, reader.uint32());
|
|
545
|
+
continue;
|
|
457
546
|
}
|
|
458
|
-
message.ack = exports.CollectorAck.decode(reader, reader.uint32());
|
|
459
|
-
continue;
|
|
460
547
|
}
|
|
548
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
549
|
+
break;
|
|
550
|
+
}
|
|
551
|
+
reader.skip(tag & 7);
|
|
461
552
|
}
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
reader.
|
|
553
|
+
return message;
|
|
554
|
+
}
|
|
555
|
+
finally {
|
|
556
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
466
557
|
}
|
|
467
|
-
return message;
|
|
468
558
|
},
|
|
469
559
|
create(base) {
|
|
470
560
|
return exports.CollectorMessage.fromPartial(base ?? {});
|
|
@@ -487,25 +577,35 @@ exports.CollectorAck = {
|
|
|
487
577
|
},
|
|
488
578
|
decode(input, length) {
|
|
489
579
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
490
|
-
const
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
580
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
581
|
+
if (previousRecursionDepth >= 100) {
|
|
582
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
583
|
+
}
|
|
584
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
585
|
+
try {
|
|
586
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
587
|
+
const message = createBaseCollectorAck();
|
|
588
|
+
while (reader.pos < end) {
|
|
589
|
+
const tag = reader.uint32();
|
|
590
|
+
switch (tag >>> 3) {
|
|
591
|
+
case 1: {
|
|
592
|
+
if (tag !== 10) {
|
|
593
|
+
break;
|
|
594
|
+
}
|
|
595
|
+
message.message = reader.string();
|
|
596
|
+
continue;
|
|
498
597
|
}
|
|
499
|
-
message.message = reader.string();
|
|
500
|
-
continue;
|
|
501
598
|
}
|
|
599
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
600
|
+
break;
|
|
601
|
+
}
|
|
602
|
+
reader.skip(tag & 7);
|
|
502
603
|
}
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
reader.
|
|
604
|
+
return message;
|
|
605
|
+
}
|
|
606
|
+
finally {
|
|
607
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
507
608
|
}
|
|
508
|
-
return message;
|
|
509
609
|
},
|
|
510
610
|
create(base) {
|
|
511
611
|
return exports.CollectorAck.fromPartial(base ?? {});
|