@crossplane-org/function-sdk-typescript 0.5.0 → 0.6.0-20260828203851-4f7d3256fab3
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/README.md +19 -0
- package/dist/function/function.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/proto/google/protobuf/duration.d.ts.map +1 -1
- package/dist/proto/google/protobuf/duration.js +32 -22
- package/dist/proto/google/protobuf/duration.js.map +1 -1
- package/dist/proto/google/protobuf/struct.d.ts.map +1 -1
- package/dist/proto/google/protobuf/struct.js +146 -101
- package/dist/proto/google/protobuf/struct.js.map +1 -1
- package/dist/proto/run_function.d.ts.map +1 -1
- package/dist/proto/run_function.js +1069 -719
- package/dist/proto/run_function.js.map +1 -1
- package/dist/resource/resource.d.ts +2 -2
- package/dist/resource/resource.d.ts.map +1 -1
- package/dist/resource/resource.js +7 -4
- package/dist/resource/resource.js.map +1 -1
- package/dist/response/response.js.map +1 -1
- package/dist/serve/serve.d.ts +142 -0
- package/dist/serve/serve.d.ts.map +1 -0
- package/dist/serve/serve.js +185 -0
- package/dist/serve/serve.js.map +1 -0
- package/dist/vitest.config.d.ts.map +1 -1
- package/package.json +11 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.12.1
|
|
4
4
|
// protoc v6.33.4
|
|
5
5
|
// source: run_function.proto
|
|
6
6
|
/* eslint-disable */
|
|
@@ -329,93 +329,103 @@ export const RunFunctionRequest = {
|
|
|
329
329
|
},
|
|
330
330
|
decode(input, length) {
|
|
331
331
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
332
|
-
const
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
continue;
|
|
350
|
-
}
|
|
351
|
-
case 3: {
|
|
352
|
-
if (tag !== 26) {
|
|
353
|
-
break;
|
|
332
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
333
|
+
if (previousRecursionDepth >= 100) {
|
|
334
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
335
|
+
}
|
|
336
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
337
|
+
try {
|
|
338
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
339
|
+
const message = createBaseRunFunctionRequest();
|
|
340
|
+
while (reader.pos < end) {
|
|
341
|
+
const tag = reader.uint32();
|
|
342
|
+
switch (tag >>> 3) {
|
|
343
|
+
case 1: {
|
|
344
|
+
if (tag !== 10) {
|
|
345
|
+
break;
|
|
346
|
+
}
|
|
347
|
+
message.meta = RequestMeta.decode(reader, reader.uint32());
|
|
348
|
+
continue;
|
|
354
349
|
}
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
350
|
+
case 2: {
|
|
351
|
+
if (tag !== 18) {
|
|
352
|
+
break;
|
|
353
|
+
}
|
|
354
|
+
message.observed = State.decode(reader, reader.uint32());
|
|
355
|
+
continue;
|
|
361
356
|
}
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
357
|
+
case 3: {
|
|
358
|
+
if (tag !== 26) {
|
|
359
|
+
break;
|
|
360
|
+
}
|
|
361
|
+
message.desired = State.decode(reader, reader.uint32());
|
|
362
|
+
continue;
|
|
368
363
|
}
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
364
|
+
case 4: {
|
|
365
|
+
if (tag !== 34) {
|
|
366
|
+
break;
|
|
367
|
+
}
|
|
368
|
+
message.input = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
369
|
+
continue;
|
|
375
370
|
}
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
371
|
+
case 5: {
|
|
372
|
+
if (tag !== 42) {
|
|
373
|
+
break;
|
|
374
|
+
}
|
|
375
|
+
message.context = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
376
|
+
continue;
|
|
379
377
|
}
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
378
|
+
case 6: {
|
|
379
|
+
if (tag !== 50) {
|
|
380
|
+
break;
|
|
381
|
+
}
|
|
382
|
+
const entry6 = RunFunctionRequest_ExtraResourcesEntry.decode(reader, reader.uint32());
|
|
383
|
+
if (entry6.value !== undefined) {
|
|
384
|
+
message.extraResources[entry6.key] = entry6.value;
|
|
385
|
+
}
|
|
386
|
+
continue;
|
|
385
387
|
}
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
388
|
+
case 7: {
|
|
389
|
+
if (tag !== 58) {
|
|
390
|
+
break;
|
|
391
|
+
}
|
|
392
|
+
const entry7 = RunFunctionRequest_CredentialsEntry.decode(reader, reader.uint32());
|
|
393
|
+
if (entry7.value !== undefined) {
|
|
394
|
+
message.credentials[entry7.key] = entry7.value;
|
|
395
|
+
}
|
|
396
|
+
continue;
|
|
389
397
|
}
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
398
|
+
case 8: {
|
|
399
|
+
if (tag !== 66) {
|
|
400
|
+
break;
|
|
401
|
+
}
|
|
402
|
+
const entry8 = RunFunctionRequest_RequiredResourcesEntry.decode(reader, reader.uint32());
|
|
403
|
+
if (entry8.value !== undefined) {
|
|
404
|
+
message.requiredResources[entry8.key] = entry8.value;
|
|
405
|
+
}
|
|
406
|
+
continue;
|
|
395
407
|
}
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
408
|
+
case 9: {
|
|
409
|
+
if (tag !== 74) {
|
|
410
|
+
break;
|
|
411
|
+
}
|
|
412
|
+
const entry9 = RunFunctionRequest_RequiredSchemasEntry.decode(reader, reader.uint32());
|
|
413
|
+
if (entry9.value !== undefined) {
|
|
414
|
+
message.requiredSchemas[entry9.key] = entry9.value;
|
|
415
|
+
}
|
|
416
|
+
continue;
|
|
399
417
|
}
|
|
400
|
-
continue;
|
|
401
418
|
}
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
break;
|
|
405
|
-
}
|
|
406
|
-
const entry9 = RunFunctionRequest_RequiredSchemasEntry.decode(reader, reader.uint32());
|
|
407
|
-
if (entry9.value !== undefined) {
|
|
408
|
-
message.requiredSchemas[entry9.key] = entry9.value;
|
|
409
|
-
}
|
|
410
|
-
continue;
|
|
419
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
420
|
+
break;
|
|
411
421
|
}
|
|
422
|
+
reader.skip(tag & 7);
|
|
412
423
|
}
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
reader.
|
|
424
|
+
return message;
|
|
425
|
+
}
|
|
426
|
+
finally {
|
|
427
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
417
428
|
}
|
|
418
|
-
return message;
|
|
419
429
|
},
|
|
420
430
|
fromJSON(object) {
|
|
421
431
|
return {
|
|
@@ -426,40 +436,75 @@ export const RunFunctionRequest = {
|
|
|
426
436
|
context: isObject(object.context) ? object.context : undefined,
|
|
427
437
|
extraResources: isObject(object.extraResources)
|
|
428
438
|
? globalThis.Object.entries(object.extraResources).reduce((acc, [key, value]) => {
|
|
429
|
-
acc
|
|
439
|
+
globalThis.Object.defineProperty(acc, key, {
|
|
440
|
+
value: Resources.fromJSON(value),
|
|
441
|
+
enumerable: true,
|
|
442
|
+
configurable: true,
|
|
443
|
+
writable: true,
|
|
444
|
+
});
|
|
430
445
|
return acc;
|
|
431
446
|
}, {})
|
|
432
447
|
: isObject(object.extra_resources)
|
|
433
448
|
? globalThis.Object.entries(object.extra_resources).reduce((acc, [key, value]) => {
|
|
434
|
-
acc
|
|
449
|
+
globalThis.Object.defineProperty(acc, key, {
|
|
450
|
+
value: Resources.fromJSON(value),
|
|
451
|
+
enumerable: true,
|
|
452
|
+
configurable: true,
|
|
453
|
+
writable: true,
|
|
454
|
+
});
|
|
435
455
|
return acc;
|
|
436
456
|
}, {})
|
|
437
457
|
: {},
|
|
438
458
|
credentials: isObject(object.credentials)
|
|
439
459
|
? globalThis.Object.entries(object.credentials).reduce((acc, [key, value]) => {
|
|
440
|
-
acc
|
|
460
|
+
globalThis.Object.defineProperty(acc, key, {
|
|
461
|
+
value: Credentials.fromJSON(value),
|
|
462
|
+
enumerable: true,
|
|
463
|
+
configurable: true,
|
|
464
|
+
writable: true,
|
|
465
|
+
});
|
|
441
466
|
return acc;
|
|
442
467
|
}, {})
|
|
443
468
|
: {},
|
|
444
469
|
requiredResources: isObject(object.requiredResources)
|
|
445
470
|
? globalThis.Object.entries(object.requiredResources).reduce((acc, [key, value]) => {
|
|
446
|
-
acc
|
|
471
|
+
globalThis.Object.defineProperty(acc, key, {
|
|
472
|
+
value: Resources.fromJSON(value),
|
|
473
|
+
enumerable: true,
|
|
474
|
+
configurable: true,
|
|
475
|
+
writable: true,
|
|
476
|
+
});
|
|
447
477
|
return acc;
|
|
448
478
|
}, {})
|
|
449
479
|
: isObject(object.required_resources)
|
|
450
480
|
? globalThis.Object.entries(object.required_resources).reduce((acc, [key, value]) => {
|
|
451
|
-
acc
|
|
481
|
+
globalThis.Object.defineProperty(acc, key, {
|
|
482
|
+
value: Resources.fromJSON(value),
|
|
483
|
+
enumerable: true,
|
|
484
|
+
configurable: true,
|
|
485
|
+
writable: true,
|
|
486
|
+
});
|
|
452
487
|
return acc;
|
|
453
488
|
}, {})
|
|
454
489
|
: {},
|
|
455
490
|
requiredSchemas: isObject(object.requiredSchemas)
|
|
456
491
|
? globalThis.Object.entries(object.requiredSchemas).reduce((acc, [key, value]) => {
|
|
457
|
-
acc
|
|
492
|
+
globalThis.Object.defineProperty(acc, key, {
|
|
493
|
+
value: Schema.fromJSON(value),
|
|
494
|
+
enumerable: true,
|
|
495
|
+
configurable: true,
|
|
496
|
+
writable: true,
|
|
497
|
+
});
|
|
458
498
|
return acc;
|
|
459
499
|
}, {})
|
|
460
500
|
: isObject(object.required_schemas)
|
|
461
501
|
? globalThis.Object.entries(object.required_schemas).reduce((acc, [key, value]) => {
|
|
462
|
-
acc
|
|
502
|
+
globalThis.Object.defineProperty(acc, key, {
|
|
503
|
+
value: Schema.fromJSON(value),
|
|
504
|
+
enumerable: true,
|
|
505
|
+
configurable: true,
|
|
506
|
+
writable: true,
|
|
507
|
+
});
|
|
463
508
|
return acc;
|
|
464
509
|
}, {})
|
|
465
510
|
: {},
|
|
@@ -579,32 +624,42 @@ export const RunFunctionRequest_ExtraResourcesEntry = {
|
|
|
579
624
|
},
|
|
580
625
|
decode(input, length) {
|
|
581
626
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
582
|
-
const
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
627
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
628
|
+
if (previousRecursionDepth >= 100) {
|
|
629
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
630
|
+
}
|
|
631
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
632
|
+
try {
|
|
633
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
634
|
+
const message = createBaseRunFunctionRequest_ExtraResourcesEntry();
|
|
635
|
+
while (reader.pos < end) {
|
|
636
|
+
const tag = reader.uint32();
|
|
637
|
+
switch (tag >>> 3) {
|
|
638
|
+
case 1: {
|
|
639
|
+
if (tag !== 10) {
|
|
640
|
+
break;
|
|
641
|
+
}
|
|
642
|
+
message.key = reader.string();
|
|
643
|
+
continue;
|
|
590
644
|
}
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
645
|
+
case 2: {
|
|
646
|
+
if (tag !== 18) {
|
|
647
|
+
break;
|
|
648
|
+
}
|
|
649
|
+
message.value = Resources.decode(reader, reader.uint32());
|
|
650
|
+
continue;
|
|
597
651
|
}
|
|
598
|
-
message.value = Resources.decode(reader, reader.uint32());
|
|
599
|
-
continue;
|
|
600
652
|
}
|
|
653
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
654
|
+
break;
|
|
655
|
+
}
|
|
656
|
+
reader.skip(tag & 7);
|
|
601
657
|
}
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
reader.
|
|
658
|
+
return message;
|
|
659
|
+
}
|
|
660
|
+
finally {
|
|
661
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
606
662
|
}
|
|
607
|
-
return message;
|
|
608
663
|
},
|
|
609
664
|
fromJSON(object) {
|
|
610
665
|
return {
|
|
@@ -649,32 +704,42 @@ export const RunFunctionRequest_CredentialsEntry = {
|
|
|
649
704
|
},
|
|
650
705
|
decode(input, length) {
|
|
651
706
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
652
|
-
const
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
707
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
708
|
+
if (previousRecursionDepth >= 100) {
|
|
709
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
710
|
+
}
|
|
711
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
712
|
+
try {
|
|
713
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
714
|
+
const message = createBaseRunFunctionRequest_CredentialsEntry();
|
|
715
|
+
while (reader.pos < end) {
|
|
716
|
+
const tag = reader.uint32();
|
|
717
|
+
switch (tag >>> 3) {
|
|
718
|
+
case 1: {
|
|
719
|
+
if (tag !== 10) {
|
|
720
|
+
break;
|
|
721
|
+
}
|
|
722
|
+
message.key = reader.string();
|
|
723
|
+
continue;
|
|
660
724
|
}
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
725
|
+
case 2: {
|
|
726
|
+
if (tag !== 18) {
|
|
727
|
+
break;
|
|
728
|
+
}
|
|
729
|
+
message.value = Credentials.decode(reader, reader.uint32());
|
|
730
|
+
continue;
|
|
667
731
|
}
|
|
668
|
-
message.value = Credentials.decode(reader, reader.uint32());
|
|
669
|
-
continue;
|
|
670
732
|
}
|
|
733
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
734
|
+
break;
|
|
735
|
+
}
|
|
736
|
+
reader.skip(tag & 7);
|
|
671
737
|
}
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
reader.
|
|
738
|
+
return message;
|
|
739
|
+
}
|
|
740
|
+
finally {
|
|
741
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
676
742
|
}
|
|
677
|
-
return message;
|
|
678
743
|
},
|
|
679
744
|
fromJSON(object) {
|
|
680
745
|
return {
|
|
@@ -719,32 +784,42 @@ export const RunFunctionRequest_RequiredResourcesEntry = {
|
|
|
719
784
|
},
|
|
720
785
|
decode(input, length) {
|
|
721
786
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
722
|
-
const
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
787
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
788
|
+
if (previousRecursionDepth >= 100) {
|
|
789
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
790
|
+
}
|
|
791
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
792
|
+
try {
|
|
793
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
794
|
+
const message = createBaseRunFunctionRequest_RequiredResourcesEntry();
|
|
795
|
+
while (reader.pos < end) {
|
|
796
|
+
const tag = reader.uint32();
|
|
797
|
+
switch (tag >>> 3) {
|
|
798
|
+
case 1: {
|
|
799
|
+
if (tag !== 10) {
|
|
800
|
+
break;
|
|
801
|
+
}
|
|
802
|
+
message.key = reader.string();
|
|
803
|
+
continue;
|
|
730
804
|
}
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
805
|
+
case 2: {
|
|
806
|
+
if (tag !== 18) {
|
|
807
|
+
break;
|
|
808
|
+
}
|
|
809
|
+
message.value = Resources.decode(reader, reader.uint32());
|
|
810
|
+
continue;
|
|
737
811
|
}
|
|
738
|
-
message.value = Resources.decode(reader, reader.uint32());
|
|
739
|
-
continue;
|
|
740
812
|
}
|
|
813
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
814
|
+
break;
|
|
815
|
+
}
|
|
816
|
+
reader.skip(tag & 7);
|
|
741
817
|
}
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
reader.
|
|
818
|
+
return message;
|
|
819
|
+
}
|
|
820
|
+
finally {
|
|
821
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
746
822
|
}
|
|
747
|
-
return message;
|
|
748
823
|
},
|
|
749
824
|
fromJSON(object) {
|
|
750
825
|
return {
|
|
@@ -789,32 +864,42 @@ export const RunFunctionRequest_RequiredSchemasEntry = {
|
|
|
789
864
|
},
|
|
790
865
|
decode(input, length) {
|
|
791
866
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
792
|
-
const
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
867
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
868
|
+
if (previousRecursionDepth >= 100) {
|
|
869
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
870
|
+
}
|
|
871
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
872
|
+
try {
|
|
873
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
874
|
+
const message = createBaseRunFunctionRequest_RequiredSchemasEntry();
|
|
875
|
+
while (reader.pos < end) {
|
|
876
|
+
const tag = reader.uint32();
|
|
877
|
+
switch (tag >>> 3) {
|
|
878
|
+
case 1: {
|
|
879
|
+
if (tag !== 10) {
|
|
880
|
+
break;
|
|
881
|
+
}
|
|
882
|
+
message.key = reader.string();
|
|
883
|
+
continue;
|
|
800
884
|
}
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
885
|
+
case 2: {
|
|
886
|
+
if (tag !== 18) {
|
|
887
|
+
break;
|
|
888
|
+
}
|
|
889
|
+
message.value = Schema.decode(reader, reader.uint32());
|
|
890
|
+
continue;
|
|
807
891
|
}
|
|
808
|
-
message.value = Schema.decode(reader, reader.uint32());
|
|
809
|
-
continue;
|
|
810
892
|
}
|
|
893
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
894
|
+
break;
|
|
895
|
+
}
|
|
896
|
+
reader.skip(tag & 7);
|
|
811
897
|
}
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
reader.
|
|
898
|
+
return message;
|
|
899
|
+
}
|
|
900
|
+
finally {
|
|
901
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
816
902
|
}
|
|
817
|
-
return message;
|
|
818
903
|
},
|
|
819
904
|
fromJSON(object) {
|
|
820
905
|
return {
|
|
@@ -856,25 +941,35 @@ export const Credentials = {
|
|
|
856
941
|
},
|
|
857
942
|
decode(input, length) {
|
|
858
943
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
859
|
-
const
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
944
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
945
|
+
if (previousRecursionDepth >= 100) {
|
|
946
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
947
|
+
}
|
|
948
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
949
|
+
try {
|
|
950
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
951
|
+
const message = createBaseCredentials();
|
|
952
|
+
while (reader.pos < end) {
|
|
953
|
+
const tag = reader.uint32();
|
|
954
|
+
switch (tag >>> 3) {
|
|
955
|
+
case 1: {
|
|
956
|
+
if (tag !== 10) {
|
|
957
|
+
break;
|
|
958
|
+
}
|
|
959
|
+
message.credentialData = CredentialData.decode(reader, reader.uint32());
|
|
960
|
+
continue;
|
|
867
961
|
}
|
|
868
|
-
message.credentialData = CredentialData.decode(reader, reader.uint32());
|
|
869
|
-
continue;
|
|
870
962
|
}
|
|
963
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
964
|
+
break;
|
|
965
|
+
}
|
|
966
|
+
reader.skip(tag & 7);
|
|
871
967
|
}
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
reader.
|
|
968
|
+
return message;
|
|
969
|
+
}
|
|
970
|
+
finally {
|
|
971
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
876
972
|
}
|
|
877
|
-
return message;
|
|
878
973
|
},
|
|
879
974
|
fromJSON(object) {
|
|
880
975
|
return {
|
|
@@ -915,34 +1010,49 @@ export const CredentialData = {
|
|
|
915
1010
|
},
|
|
916
1011
|
decode(input, length) {
|
|
917
1012
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
918
|
-
const
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
1013
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1014
|
+
if (previousRecursionDepth >= 100) {
|
|
1015
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1016
|
+
}
|
|
1017
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1018
|
+
try {
|
|
1019
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1020
|
+
const message = createBaseCredentialData();
|
|
1021
|
+
while (reader.pos < end) {
|
|
1022
|
+
const tag = reader.uint32();
|
|
1023
|
+
switch (tag >>> 3) {
|
|
1024
|
+
case 1: {
|
|
1025
|
+
if (tag !== 10) {
|
|
1026
|
+
break;
|
|
1027
|
+
}
|
|
1028
|
+
const entry1 = CredentialData_DataEntry.decode(reader, reader.uint32());
|
|
1029
|
+
if (entry1.value !== undefined) {
|
|
1030
|
+
message.data[entry1.key] = entry1.value;
|
|
1031
|
+
}
|
|
1032
|
+
continue;
|
|
930
1033
|
}
|
|
931
|
-
continue;
|
|
932
1034
|
}
|
|
1035
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1036
|
+
break;
|
|
1037
|
+
}
|
|
1038
|
+
reader.skip(tag & 7);
|
|
933
1039
|
}
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
reader.
|
|
1040
|
+
return message;
|
|
1041
|
+
}
|
|
1042
|
+
finally {
|
|
1043
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
938
1044
|
}
|
|
939
|
-
return message;
|
|
940
1045
|
},
|
|
941
1046
|
fromJSON(object) {
|
|
942
1047
|
return {
|
|
943
1048
|
data: isObject(object.data)
|
|
944
1049
|
? globalThis.Object.entries(object.data).reduce((acc, [key, value]) => {
|
|
945
|
-
acc
|
|
1050
|
+
globalThis.Object.defineProperty(acc, key, {
|
|
1051
|
+
value: Buffer.from(bytesFromBase64(value)),
|
|
1052
|
+
enumerable: true,
|
|
1053
|
+
configurable: true,
|
|
1054
|
+
writable: true,
|
|
1055
|
+
});
|
|
946
1056
|
return acc;
|
|
947
1057
|
}, {})
|
|
948
1058
|
: {},
|
|
@@ -990,32 +1100,42 @@ export const CredentialData_DataEntry = {
|
|
|
990
1100
|
},
|
|
991
1101
|
decode(input, length) {
|
|
992
1102
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
993
|
-
const
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1103
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1104
|
+
if (previousRecursionDepth >= 100) {
|
|
1105
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1106
|
+
}
|
|
1107
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1108
|
+
try {
|
|
1109
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1110
|
+
const message = createBaseCredentialData_DataEntry();
|
|
1111
|
+
while (reader.pos < end) {
|
|
1112
|
+
const tag = reader.uint32();
|
|
1113
|
+
switch (tag >>> 3) {
|
|
1114
|
+
case 1: {
|
|
1115
|
+
if (tag !== 10) {
|
|
1116
|
+
break;
|
|
1117
|
+
}
|
|
1118
|
+
message.key = reader.string();
|
|
1119
|
+
continue;
|
|
1001
1120
|
}
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1121
|
+
case 2: {
|
|
1122
|
+
if (tag !== 18) {
|
|
1123
|
+
break;
|
|
1124
|
+
}
|
|
1125
|
+
message.value = Buffer.from(reader.bytes());
|
|
1126
|
+
continue;
|
|
1008
1127
|
}
|
|
1009
|
-
message.value = Buffer.from(reader.bytes());
|
|
1010
|
-
continue;
|
|
1011
1128
|
}
|
|
1129
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1130
|
+
break;
|
|
1131
|
+
}
|
|
1132
|
+
reader.skip(tag & 7);
|
|
1012
1133
|
}
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
reader.
|
|
1134
|
+
return message;
|
|
1135
|
+
}
|
|
1136
|
+
finally {
|
|
1137
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1017
1138
|
}
|
|
1018
|
-
return message;
|
|
1019
1139
|
},
|
|
1020
1140
|
fromJSON(object) {
|
|
1021
1141
|
return {
|
|
@@ -1055,25 +1175,35 @@ export const Resources = {
|
|
|
1055
1175
|
},
|
|
1056
1176
|
decode(input, length) {
|
|
1057
1177
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1058
|
-
const
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1178
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1179
|
+
if (previousRecursionDepth >= 100) {
|
|
1180
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1181
|
+
}
|
|
1182
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1183
|
+
try {
|
|
1184
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1185
|
+
const message = createBaseResources();
|
|
1186
|
+
while (reader.pos < end) {
|
|
1187
|
+
const tag = reader.uint32();
|
|
1188
|
+
switch (tag >>> 3) {
|
|
1189
|
+
case 1: {
|
|
1190
|
+
if (tag !== 10) {
|
|
1191
|
+
break;
|
|
1192
|
+
}
|
|
1193
|
+
message.items.push(Resource.decode(reader, reader.uint32()));
|
|
1194
|
+
continue;
|
|
1066
1195
|
}
|
|
1067
|
-
message.items.push(Resource.decode(reader, reader.uint32()));
|
|
1068
|
-
continue;
|
|
1069
1196
|
}
|
|
1197
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1198
|
+
break;
|
|
1199
|
+
}
|
|
1200
|
+
reader.skip(tag & 7);
|
|
1070
1201
|
}
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
reader.
|
|
1202
|
+
return message;
|
|
1203
|
+
}
|
|
1204
|
+
finally {
|
|
1205
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1075
1206
|
}
|
|
1076
|
-
return message;
|
|
1077
1207
|
},
|
|
1078
1208
|
fromJSON(object) {
|
|
1079
1209
|
return { items: globalThis.Array.isArray(object?.items) ? object.items.map((e) => Resource.fromJSON(e)) : [] };
|
|
@@ -1132,67 +1262,77 @@ export const RunFunctionResponse = {
|
|
|
1132
1262
|
},
|
|
1133
1263
|
decode(input, length) {
|
|
1134
1264
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1135
|
-
const
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1265
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1266
|
+
if (previousRecursionDepth >= 100) {
|
|
1267
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1268
|
+
}
|
|
1269
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1270
|
+
try {
|
|
1271
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1272
|
+
const message = createBaseRunFunctionResponse();
|
|
1273
|
+
while (reader.pos < end) {
|
|
1274
|
+
const tag = reader.uint32();
|
|
1275
|
+
switch (tag >>> 3) {
|
|
1276
|
+
case 1: {
|
|
1277
|
+
if (tag !== 10) {
|
|
1278
|
+
break;
|
|
1279
|
+
}
|
|
1280
|
+
message.meta = ResponseMeta.decode(reader, reader.uint32());
|
|
1281
|
+
continue;
|
|
1143
1282
|
}
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1283
|
+
case 2: {
|
|
1284
|
+
if (tag !== 18) {
|
|
1285
|
+
break;
|
|
1286
|
+
}
|
|
1287
|
+
message.desired = State.decode(reader, reader.uint32());
|
|
1288
|
+
continue;
|
|
1150
1289
|
}
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1290
|
+
case 3: {
|
|
1291
|
+
if (tag !== 26) {
|
|
1292
|
+
break;
|
|
1293
|
+
}
|
|
1294
|
+
message.results.push(Result.decode(reader, reader.uint32()));
|
|
1295
|
+
continue;
|
|
1157
1296
|
}
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1297
|
+
case 4: {
|
|
1298
|
+
if (tag !== 34) {
|
|
1299
|
+
break;
|
|
1300
|
+
}
|
|
1301
|
+
message.context = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
1302
|
+
continue;
|
|
1164
1303
|
}
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1304
|
+
case 5: {
|
|
1305
|
+
if (tag !== 42) {
|
|
1306
|
+
break;
|
|
1307
|
+
}
|
|
1308
|
+
message.requirements = Requirements.decode(reader, reader.uint32());
|
|
1309
|
+
continue;
|
|
1171
1310
|
}
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1311
|
+
case 6: {
|
|
1312
|
+
if (tag !== 50) {
|
|
1313
|
+
break;
|
|
1314
|
+
}
|
|
1315
|
+
message.conditions.push(Condition.decode(reader, reader.uint32()));
|
|
1316
|
+
continue;
|
|
1178
1317
|
}
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1318
|
+
case 7: {
|
|
1319
|
+
if (tag !== 58) {
|
|
1320
|
+
break;
|
|
1321
|
+
}
|
|
1322
|
+
message.output = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
1323
|
+
continue;
|
|
1185
1324
|
}
|
|
1186
|
-
message.output = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
1187
|
-
continue;
|
|
1188
1325
|
}
|
|
1326
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1327
|
+
break;
|
|
1328
|
+
}
|
|
1329
|
+
reader.skip(tag & 7);
|
|
1189
1330
|
}
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
reader.
|
|
1331
|
+
return message;
|
|
1332
|
+
}
|
|
1333
|
+
finally {
|
|
1334
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1194
1335
|
}
|
|
1195
|
-
return message;
|
|
1196
1336
|
},
|
|
1197
1337
|
fromJSON(object) {
|
|
1198
1338
|
return {
|
|
@@ -1270,39 +1410,49 @@ export const RequestMeta = {
|
|
|
1270
1410
|
},
|
|
1271
1411
|
decode(input, length) {
|
|
1272
1412
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1273
|
-
const
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1413
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1414
|
+
if (previousRecursionDepth >= 100) {
|
|
1415
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1416
|
+
}
|
|
1417
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1418
|
+
try {
|
|
1419
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1420
|
+
const message = createBaseRequestMeta();
|
|
1421
|
+
while (reader.pos < end) {
|
|
1422
|
+
const tag = reader.uint32();
|
|
1423
|
+
switch (tag >>> 3) {
|
|
1424
|
+
case 1: {
|
|
1425
|
+
if (tag !== 10) {
|
|
1426
|
+
break;
|
|
1427
|
+
}
|
|
1428
|
+
message.tag = reader.string();
|
|
1288
1429
|
continue;
|
|
1289
1430
|
}
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
while (reader.pos < end2) {
|
|
1431
|
+
case 2: {
|
|
1432
|
+
if (tag === 16) {
|
|
1293
1433
|
message.capabilities.push(reader.int32());
|
|
1434
|
+
continue;
|
|
1294
1435
|
}
|
|
1295
|
-
|
|
1436
|
+
if (tag === 18) {
|
|
1437
|
+
const end2 = reader.uint32() + reader.pos;
|
|
1438
|
+
while (reader.pos < end2) {
|
|
1439
|
+
message.capabilities.push(reader.int32());
|
|
1440
|
+
}
|
|
1441
|
+
continue;
|
|
1442
|
+
}
|
|
1443
|
+
break;
|
|
1296
1444
|
}
|
|
1445
|
+
}
|
|
1446
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1297
1447
|
break;
|
|
1298
1448
|
}
|
|
1449
|
+
reader.skip(tag & 7);
|
|
1299
1450
|
}
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
reader.
|
|
1451
|
+
return message;
|
|
1452
|
+
}
|
|
1453
|
+
finally {
|
|
1454
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1304
1455
|
}
|
|
1305
|
-
return message;
|
|
1306
1456
|
},
|
|
1307
1457
|
fromJSON(object) {
|
|
1308
1458
|
return {
|
|
@@ -1350,71 +1500,101 @@ export const Requirements = {
|
|
|
1350
1500
|
},
|
|
1351
1501
|
decode(input, length) {
|
|
1352
1502
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1353
|
-
const
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1503
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1504
|
+
if (previousRecursionDepth >= 100) {
|
|
1505
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1506
|
+
}
|
|
1507
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1508
|
+
try {
|
|
1509
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1510
|
+
const message = createBaseRequirements();
|
|
1511
|
+
while (reader.pos < end) {
|
|
1512
|
+
const tag = reader.uint32();
|
|
1513
|
+
switch (tag >>> 3) {
|
|
1514
|
+
case 1: {
|
|
1515
|
+
if (tag !== 10) {
|
|
1516
|
+
break;
|
|
1517
|
+
}
|
|
1518
|
+
const entry1 = Requirements_ExtraResourcesEntry.decode(reader, reader.uint32());
|
|
1519
|
+
if (entry1.value !== undefined) {
|
|
1520
|
+
message.extraResources[entry1.key] = entry1.value;
|
|
1521
|
+
}
|
|
1522
|
+
continue;
|
|
1365
1523
|
}
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1524
|
+
case 2: {
|
|
1525
|
+
if (tag !== 18) {
|
|
1526
|
+
break;
|
|
1527
|
+
}
|
|
1528
|
+
const entry2 = Requirements_ResourcesEntry.decode(reader, reader.uint32());
|
|
1529
|
+
if (entry2.value !== undefined) {
|
|
1530
|
+
message.resources[entry2.key] = entry2.value;
|
|
1531
|
+
}
|
|
1532
|
+
continue;
|
|
1371
1533
|
}
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1534
|
+
case 3: {
|
|
1535
|
+
if (tag !== 26) {
|
|
1536
|
+
break;
|
|
1537
|
+
}
|
|
1538
|
+
const entry3 = Requirements_SchemasEntry.decode(reader, reader.uint32());
|
|
1539
|
+
if (entry3.value !== undefined) {
|
|
1540
|
+
message.schemas[entry3.key] = entry3.value;
|
|
1541
|
+
}
|
|
1542
|
+
continue;
|
|
1375
1543
|
}
|
|
1376
|
-
continue;
|
|
1377
1544
|
}
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
break;
|
|
1381
|
-
}
|
|
1382
|
-
const entry3 = Requirements_SchemasEntry.decode(reader, reader.uint32());
|
|
1383
|
-
if (entry3.value !== undefined) {
|
|
1384
|
-
message.schemas[entry3.key] = entry3.value;
|
|
1385
|
-
}
|
|
1386
|
-
continue;
|
|
1545
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1546
|
+
break;
|
|
1387
1547
|
}
|
|
1548
|
+
reader.skip(tag & 7);
|
|
1388
1549
|
}
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
reader.
|
|
1550
|
+
return message;
|
|
1551
|
+
}
|
|
1552
|
+
finally {
|
|
1553
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1393
1554
|
}
|
|
1394
|
-
return message;
|
|
1395
1555
|
},
|
|
1396
1556
|
fromJSON(object) {
|
|
1397
1557
|
return {
|
|
1398
1558
|
extraResources: isObject(object.extraResources)
|
|
1399
1559
|
? globalThis.Object.entries(object.extraResources).reduce((acc, [key, value]) => {
|
|
1400
|
-
acc
|
|
1560
|
+
globalThis.Object.defineProperty(acc, key, {
|
|
1561
|
+
value: ResourceSelector.fromJSON(value),
|
|
1562
|
+
enumerable: true,
|
|
1563
|
+
configurable: true,
|
|
1564
|
+
writable: true,
|
|
1565
|
+
});
|
|
1401
1566
|
return acc;
|
|
1402
1567
|
}, {})
|
|
1403
1568
|
: isObject(object.extra_resources)
|
|
1404
1569
|
? globalThis.Object.entries(object.extra_resources).reduce((acc, [key, value]) => {
|
|
1405
|
-
acc
|
|
1570
|
+
globalThis.Object.defineProperty(acc, key, {
|
|
1571
|
+
value: ResourceSelector.fromJSON(value),
|
|
1572
|
+
enumerable: true,
|
|
1573
|
+
configurable: true,
|
|
1574
|
+
writable: true,
|
|
1575
|
+
});
|
|
1406
1576
|
return acc;
|
|
1407
1577
|
}, {})
|
|
1408
1578
|
: {},
|
|
1409
1579
|
resources: isObject(object.resources)
|
|
1410
1580
|
? globalThis.Object.entries(object.resources).reduce((acc, [key, value]) => {
|
|
1411
|
-
acc
|
|
1581
|
+
globalThis.Object.defineProperty(acc, key, {
|
|
1582
|
+
value: ResourceSelector.fromJSON(value),
|
|
1583
|
+
enumerable: true,
|
|
1584
|
+
configurable: true,
|
|
1585
|
+
writable: true,
|
|
1586
|
+
});
|
|
1412
1587
|
return acc;
|
|
1413
1588
|
}, {})
|
|
1414
1589
|
: {},
|
|
1415
1590
|
schemas: isObject(object.schemas)
|
|
1416
1591
|
? globalThis.Object.entries(object.schemas).reduce((acc, [key, value]) => {
|
|
1417
|
-
acc
|
|
1592
|
+
globalThis.Object.defineProperty(acc, key, {
|
|
1593
|
+
value: SchemaSelector.fromJSON(value),
|
|
1594
|
+
enumerable: true,
|
|
1595
|
+
configurable: true,
|
|
1596
|
+
writable: true,
|
|
1597
|
+
});
|
|
1418
1598
|
return acc;
|
|
1419
1599
|
}, {})
|
|
1420
1600
|
: {},
|
|
@@ -1493,32 +1673,42 @@ export const Requirements_ExtraResourcesEntry = {
|
|
|
1493
1673
|
},
|
|
1494
1674
|
decode(input, length) {
|
|
1495
1675
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1496
|
-
const
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1676
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1677
|
+
if (previousRecursionDepth >= 100) {
|
|
1678
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1679
|
+
}
|
|
1680
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1681
|
+
try {
|
|
1682
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1683
|
+
const message = createBaseRequirements_ExtraResourcesEntry();
|
|
1684
|
+
while (reader.pos < end) {
|
|
1685
|
+
const tag = reader.uint32();
|
|
1686
|
+
switch (tag >>> 3) {
|
|
1687
|
+
case 1: {
|
|
1688
|
+
if (tag !== 10) {
|
|
1689
|
+
break;
|
|
1690
|
+
}
|
|
1691
|
+
message.key = reader.string();
|
|
1692
|
+
continue;
|
|
1504
1693
|
}
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1694
|
+
case 2: {
|
|
1695
|
+
if (tag !== 18) {
|
|
1696
|
+
break;
|
|
1697
|
+
}
|
|
1698
|
+
message.value = ResourceSelector.decode(reader, reader.uint32());
|
|
1699
|
+
continue;
|
|
1511
1700
|
}
|
|
1512
|
-
message.value = ResourceSelector.decode(reader, reader.uint32());
|
|
1513
|
-
continue;
|
|
1514
1701
|
}
|
|
1702
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1703
|
+
break;
|
|
1704
|
+
}
|
|
1705
|
+
reader.skip(tag & 7);
|
|
1515
1706
|
}
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
reader.
|
|
1707
|
+
return message;
|
|
1708
|
+
}
|
|
1709
|
+
finally {
|
|
1710
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1520
1711
|
}
|
|
1521
|
-
return message;
|
|
1522
1712
|
},
|
|
1523
1713
|
fromJSON(object) {
|
|
1524
1714
|
return {
|
|
@@ -1563,32 +1753,42 @@ export const Requirements_ResourcesEntry = {
|
|
|
1563
1753
|
},
|
|
1564
1754
|
decode(input, length) {
|
|
1565
1755
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1566
|
-
const
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1756
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1757
|
+
if (previousRecursionDepth >= 100) {
|
|
1758
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1759
|
+
}
|
|
1760
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1761
|
+
try {
|
|
1762
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1763
|
+
const message = createBaseRequirements_ResourcesEntry();
|
|
1764
|
+
while (reader.pos < end) {
|
|
1765
|
+
const tag = reader.uint32();
|
|
1766
|
+
switch (tag >>> 3) {
|
|
1767
|
+
case 1: {
|
|
1768
|
+
if (tag !== 10) {
|
|
1769
|
+
break;
|
|
1770
|
+
}
|
|
1771
|
+
message.key = reader.string();
|
|
1772
|
+
continue;
|
|
1574
1773
|
}
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1774
|
+
case 2: {
|
|
1775
|
+
if (tag !== 18) {
|
|
1776
|
+
break;
|
|
1777
|
+
}
|
|
1778
|
+
message.value = ResourceSelector.decode(reader, reader.uint32());
|
|
1779
|
+
continue;
|
|
1581
1780
|
}
|
|
1582
|
-
message.value = ResourceSelector.decode(reader, reader.uint32());
|
|
1583
|
-
continue;
|
|
1584
1781
|
}
|
|
1782
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1783
|
+
break;
|
|
1784
|
+
}
|
|
1785
|
+
reader.skip(tag & 7);
|
|
1585
1786
|
}
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
reader.
|
|
1787
|
+
return message;
|
|
1788
|
+
}
|
|
1789
|
+
finally {
|
|
1790
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1590
1791
|
}
|
|
1591
|
-
return message;
|
|
1592
1792
|
},
|
|
1593
1793
|
fromJSON(object) {
|
|
1594
1794
|
return {
|
|
@@ -1633,32 +1833,42 @@ export const Requirements_SchemasEntry = {
|
|
|
1633
1833
|
},
|
|
1634
1834
|
decode(input, length) {
|
|
1635
1835
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1636
|
-
const
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1836
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1837
|
+
if (previousRecursionDepth >= 100) {
|
|
1838
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1839
|
+
}
|
|
1840
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1841
|
+
try {
|
|
1842
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1843
|
+
const message = createBaseRequirements_SchemasEntry();
|
|
1844
|
+
while (reader.pos < end) {
|
|
1845
|
+
const tag = reader.uint32();
|
|
1846
|
+
switch (tag >>> 3) {
|
|
1847
|
+
case 1: {
|
|
1848
|
+
if (tag !== 10) {
|
|
1849
|
+
break;
|
|
1850
|
+
}
|
|
1851
|
+
message.key = reader.string();
|
|
1852
|
+
continue;
|
|
1644
1853
|
}
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1854
|
+
case 2: {
|
|
1855
|
+
if (tag !== 18) {
|
|
1856
|
+
break;
|
|
1857
|
+
}
|
|
1858
|
+
message.value = SchemaSelector.decode(reader, reader.uint32());
|
|
1859
|
+
continue;
|
|
1651
1860
|
}
|
|
1652
|
-
message.value = SchemaSelector.decode(reader, reader.uint32());
|
|
1653
|
-
continue;
|
|
1654
1861
|
}
|
|
1862
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1863
|
+
break;
|
|
1864
|
+
}
|
|
1865
|
+
reader.skip(tag & 7);
|
|
1655
1866
|
}
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
reader.
|
|
1867
|
+
return message;
|
|
1868
|
+
}
|
|
1869
|
+
finally {
|
|
1870
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1660
1871
|
}
|
|
1661
|
-
return message;
|
|
1662
1872
|
},
|
|
1663
1873
|
fromJSON(object) {
|
|
1664
1874
|
return {
|
|
@@ -1703,32 +1913,42 @@ export const SchemaSelector = {
|
|
|
1703
1913
|
},
|
|
1704
1914
|
decode(input, length) {
|
|
1705
1915
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1706
|
-
const
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1916
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1917
|
+
if (previousRecursionDepth >= 100) {
|
|
1918
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1919
|
+
}
|
|
1920
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1921
|
+
try {
|
|
1922
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1923
|
+
const message = createBaseSchemaSelector();
|
|
1924
|
+
while (reader.pos < end) {
|
|
1925
|
+
const tag = reader.uint32();
|
|
1926
|
+
switch (tag >>> 3) {
|
|
1927
|
+
case 1: {
|
|
1928
|
+
if (tag !== 10) {
|
|
1929
|
+
break;
|
|
1930
|
+
}
|
|
1931
|
+
message.apiVersion = reader.string();
|
|
1932
|
+
continue;
|
|
1714
1933
|
}
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1934
|
+
case 2: {
|
|
1935
|
+
if (tag !== 18) {
|
|
1936
|
+
break;
|
|
1937
|
+
}
|
|
1938
|
+
message.kind = reader.string();
|
|
1939
|
+
continue;
|
|
1721
1940
|
}
|
|
1722
|
-
message.kind = reader.string();
|
|
1723
|
-
continue;
|
|
1724
1941
|
}
|
|
1942
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1943
|
+
break;
|
|
1944
|
+
}
|
|
1945
|
+
reader.skip(tag & 7);
|
|
1725
1946
|
}
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
reader.
|
|
1947
|
+
return message;
|
|
1948
|
+
}
|
|
1949
|
+
finally {
|
|
1950
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1730
1951
|
}
|
|
1731
|
-
return message;
|
|
1732
1952
|
},
|
|
1733
1953
|
fromJSON(object) {
|
|
1734
1954
|
return {
|
|
@@ -1772,25 +1992,35 @@ export const Schema = {
|
|
|
1772
1992
|
},
|
|
1773
1993
|
decode(input, length) {
|
|
1774
1994
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1775
|
-
const
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1995
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1996
|
+
if (previousRecursionDepth >= 100) {
|
|
1997
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1998
|
+
}
|
|
1999
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2000
|
+
try {
|
|
2001
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2002
|
+
const message = createBaseSchema();
|
|
2003
|
+
while (reader.pos < end) {
|
|
2004
|
+
const tag = reader.uint32();
|
|
2005
|
+
switch (tag >>> 3) {
|
|
2006
|
+
case 1: {
|
|
2007
|
+
if (tag !== 10) {
|
|
2008
|
+
break;
|
|
2009
|
+
}
|
|
2010
|
+
message.openapiV3 = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
2011
|
+
continue;
|
|
1783
2012
|
}
|
|
1784
|
-
message.openapiV3 = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
1785
|
-
continue;
|
|
1786
2013
|
}
|
|
2014
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2015
|
+
break;
|
|
2016
|
+
}
|
|
2017
|
+
reader.skip(tag & 7);
|
|
1787
2018
|
}
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
reader.
|
|
2019
|
+
return message;
|
|
2020
|
+
}
|
|
2021
|
+
finally {
|
|
2022
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1792
2023
|
}
|
|
1793
|
-
return message;
|
|
1794
2024
|
},
|
|
1795
2025
|
fromJSON(object) {
|
|
1796
2026
|
return {
|
|
@@ -1841,53 +2071,63 @@ export const ResourceSelector = {
|
|
|
1841
2071
|
},
|
|
1842
2072
|
decode(input, length) {
|
|
1843
2073
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1844
|
-
const
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
2074
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2075
|
+
if (previousRecursionDepth >= 100) {
|
|
2076
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2077
|
+
}
|
|
2078
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2079
|
+
try {
|
|
2080
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2081
|
+
const message = createBaseResourceSelector();
|
|
2082
|
+
while (reader.pos < end) {
|
|
2083
|
+
const tag = reader.uint32();
|
|
2084
|
+
switch (tag >>> 3) {
|
|
2085
|
+
case 1: {
|
|
2086
|
+
if (tag !== 10) {
|
|
2087
|
+
break;
|
|
2088
|
+
}
|
|
2089
|
+
message.apiVersion = reader.string();
|
|
2090
|
+
continue;
|
|
1852
2091
|
}
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
2092
|
+
case 2: {
|
|
2093
|
+
if (tag !== 18) {
|
|
2094
|
+
break;
|
|
2095
|
+
}
|
|
2096
|
+
message.kind = reader.string();
|
|
2097
|
+
continue;
|
|
1859
2098
|
}
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
2099
|
+
case 3: {
|
|
2100
|
+
if (tag !== 26) {
|
|
2101
|
+
break;
|
|
2102
|
+
}
|
|
2103
|
+
message.matchName = reader.string();
|
|
2104
|
+
continue;
|
|
1866
2105
|
}
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
2106
|
+
case 4: {
|
|
2107
|
+
if (tag !== 34) {
|
|
2108
|
+
break;
|
|
2109
|
+
}
|
|
2110
|
+
message.matchLabels = MatchLabels.decode(reader, reader.uint32());
|
|
2111
|
+
continue;
|
|
1873
2112
|
}
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
2113
|
+
case 5: {
|
|
2114
|
+
if (tag !== 42) {
|
|
2115
|
+
break;
|
|
2116
|
+
}
|
|
2117
|
+
message.namespace = reader.string();
|
|
2118
|
+
continue;
|
|
1880
2119
|
}
|
|
1881
|
-
message.namespace = reader.string();
|
|
1882
|
-
continue;
|
|
1883
2120
|
}
|
|
2121
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2122
|
+
break;
|
|
2123
|
+
}
|
|
2124
|
+
reader.skip(tag & 7);
|
|
1884
2125
|
}
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
reader.
|
|
2126
|
+
return message;
|
|
2127
|
+
}
|
|
2128
|
+
finally {
|
|
2129
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1889
2130
|
}
|
|
1890
|
-
return message;
|
|
1891
2131
|
},
|
|
1892
2132
|
fromJSON(object) {
|
|
1893
2133
|
return {
|
|
@@ -1956,34 +2196,49 @@ export const MatchLabels = {
|
|
|
1956
2196
|
},
|
|
1957
2197
|
decode(input, length) {
|
|
1958
2198
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1959
|
-
const
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
2199
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2200
|
+
if (previousRecursionDepth >= 100) {
|
|
2201
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2202
|
+
}
|
|
2203
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2204
|
+
try {
|
|
2205
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2206
|
+
const message = createBaseMatchLabels();
|
|
2207
|
+
while (reader.pos < end) {
|
|
2208
|
+
const tag = reader.uint32();
|
|
2209
|
+
switch (tag >>> 3) {
|
|
2210
|
+
case 1: {
|
|
2211
|
+
if (tag !== 10) {
|
|
2212
|
+
break;
|
|
2213
|
+
}
|
|
2214
|
+
const entry1 = MatchLabels_LabelsEntry.decode(reader, reader.uint32());
|
|
2215
|
+
if (entry1.value !== undefined) {
|
|
2216
|
+
message.labels[entry1.key] = entry1.value;
|
|
2217
|
+
}
|
|
2218
|
+
continue;
|
|
1971
2219
|
}
|
|
1972
|
-
continue;
|
|
1973
2220
|
}
|
|
2221
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2222
|
+
break;
|
|
2223
|
+
}
|
|
2224
|
+
reader.skip(tag & 7);
|
|
1974
2225
|
}
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
reader.
|
|
2226
|
+
return message;
|
|
2227
|
+
}
|
|
2228
|
+
finally {
|
|
2229
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1979
2230
|
}
|
|
1980
|
-
return message;
|
|
1981
2231
|
},
|
|
1982
2232
|
fromJSON(object) {
|
|
1983
2233
|
return {
|
|
1984
2234
|
labels: isObject(object.labels)
|
|
1985
2235
|
? globalThis.Object.entries(object.labels).reduce((acc, [key, value]) => {
|
|
1986
|
-
acc
|
|
2236
|
+
globalThis.Object.defineProperty(acc, key, {
|
|
2237
|
+
value: globalThis.String(value),
|
|
2238
|
+
enumerable: true,
|
|
2239
|
+
configurable: true,
|
|
2240
|
+
writable: true,
|
|
2241
|
+
});
|
|
1987
2242
|
return acc;
|
|
1988
2243
|
}, {})
|
|
1989
2244
|
: {},
|
|
@@ -2031,32 +2286,42 @@ export const MatchLabels_LabelsEntry = {
|
|
|
2031
2286
|
},
|
|
2032
2287
|
decode(input, length) {
|
|
2033
2288
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2034
|
-
const
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2289
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2290
|
+
if (previousRecursionDepth >= 100) {
|
|
2291
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2292
|
+
}
|
|
2293
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2294
|
+
try {
|
|
2295
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2296
|
+
const message = createBaseMatchLabels_LabelsEntry();
|
|
2297
|
+
while (reader.pos < end) {
|
|
2298
|
+
const tag = reader.uint32();
|
|
2299
|
+
switch (tag >>> 3) {
|
|
2300
|
+
case 1: {
|
|
2301
|
+
if (tag !== 10) {
|
|
2302
|
+
break;
|
|
2303
|
+
}
|
|
2304
|
+
message.key = reader.string();
|
|
2305
|
+
continue;
|
|
2042
2306
|
}
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2307
|
+
case 2: {
|
|
2308
|
+
if (tag !== 18) {
|
|
2309
|
+
break;
|
|
2310
|
+
}
|
|
2311
|
+
message.value = reader.string();
|
|
2312
|
+
continue;
|
|
2049
2313
|
}
|
|
2050
|
-
message.value = reader.string();
|
|
2051
|
-
continue;
|
|
2052
2314
|
}
|
|
2315
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2316
|
+
break;
|
|
2317
|
+
}
|
|
2318
|
+
reader.skip(tag & 7);
|
|
2053
2319
|
}
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
reader.
|
|
2320
|
+
return message;
|
|
2321
|
+
}
|
|
2322
|
+
finally {
|
|
2323
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2058
2324
|
}
|
|
2059
|
-
return message;
|
|
2060
2325
|
},
|
|
2061
2326
|
fromJSON(object) {
|
|
2062
2327
|
return {
|
|
@@ -2099,32 +2364,42 @@ export const ResponseMeta = {
|
|
|
2099
2364
|
},
|
|
2100
2365
|
decode(input, length) {
|
|
2101
2366
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2102
|
-
const
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2367
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2368
|
+
if (previousRecursionDepth >= 100) {
|
|
2369
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2370
|
+
}
|
|
2371
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2372
|
+
try {
|
|
2373
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2374
|
+
const message = createBaseResponseMeta();
|
|
2375
|
+
while (reader.pos < end) {
|
|
2376
|
+
const tag = reader.uint32();
|
|
2377
|
+
switch (tag >>> 3) {
|
|
2378
|
+
case 1: {
|
|
2379
|
+
if (tag !== 10) {
|
|
2380
|
+
break;
|
|
2381
|
+
}
|
|
2382
|
+
message.tag = reader.string();
|
|
2383
|
+
continue;
|
|
2110
2384
|
}
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2385
|
+
case 2: {
|
|
2386
|
+
if (tag !== 18) {
|
|
2387
|
+
break;
|
|
2388
|
+
}
|
|
2389
|
+
message.ttl = Duration.decode(reader, reader.uint32());
|
|
2390
|
+
continue;
|
|
2117
2391
|
}
|
|
2118
|
-
message.ttl = Duration.decode(reader, reader.uint32());
|
|
2119
|
-
continue;
|
|
2120
2392
|
}
|
|
2393
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2394
|
+
break;
|
|
2395
|
+
}
|
|
2396
|
+
reader.skip(tag & 7);
|
|
2121
2397
|
}
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
reader.
|
|
2398
|
+
return message;
|
|
2399
|
+
}
|
|
2400
|
+
finally {
|
|
2401
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2126
2402
|
}
|
|
2127
|
-
return message;
|
|
2128
2403
|
},
|
|
2129
2404
|
fromJSON(object) {
|
|
2130
2405
|
return {
|
|
@@ -2167,42 +2442,57 @@ export const State = {
|
|
|
2167
2442
|
},
|
|
2168
2443
|
decode(input, length) {
|
|
2169
2444
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2170
|
-
const
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2445
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2446
|
+
if (previousRecursionDepth >= 100) {
|
|
2447
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2448
|
+
}
|
|
2449
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2450
|
+
try {
|
|
2451
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2452
|
+
const message = createBaseState();
|
|
2453
|
+
while (reader.pos < end) {
|
|
2454
|
+
const tag = reader.uint32();
|
|
2455
|
+
switch (tag >>> 3) {
|
|
2456
|
+
case 1: {
|
|
2457
|
+
if (tag !== 10) {
|
|
2458
|
+
break;
|
|
2459
|
+
}
|
|
2460
|
+
message.composite = Resource.decode(reader, reader.uint32());
|
|
2461
|
+
continue;
|
|
2185
2462
|
}
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2463
|
+
case 2: {
|
|
2464
|
+
if (tag !== 18) {
|
|
2465
|
+
break;
|
|
2466
|
+
}
|
|
2467
|
+
const entry2 = State_ResourcesEntry.decode(reader, reader.uint32());
|
|
2468
|
+
if (entry2.value !== undefined) {
|
|
2469
|
+
message.resources[entry2.key] = entry2.value;
|
|
2470
|
+
}
|
|
2471
|
+
continue;
|
|
2189
2472
|
}
|
|
2190
|
-
continue;
|
|
2191
2473
|
}
|
|
2474
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2475
|
+
break;
|
|
2476
|
+
}
|
|
2477
|
+
reader.skip(tag & 7);
|
|
2192
2478
|
}
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
reader.
|
|
2479
|
+
return message;
|
|
2480
|
+
}
|
|
2481
|
+
finally {
|
|
2482
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2197
2483
|
}
|
|
2198
|
-
return message;
|
|
2199
2484
|
},
|
|
2200
2485
|
fromJSON(object) {
|
|
2201
2486
|
return {
|
|
2202
2487
|
composite: isSet(object.composite) ? Resource.fromJSON(object.composite) : undefined,
|
|
2203
2488
|
resources: isObject(object.resources)
|
|
2204
2489
|
? globalThis.Object.entries(object.resources).reduce((acc, [key, value]) => {
|
|
2205
|
-
acc
|
|
2490
|
+
globalThis.Object.defineProperty(acc, key, {
|
|
2491
|
+
value: Resource.fromJSON(value),
|
|
2492
|
+
enumerable: true,
|
|
2493
|
+
configurable: true,
|
|
2494
|
+
writable: true,
|
|
2495
|
+
});
|
|
2206
2496
|
return acc;
|
|
2207
2497
|
}, {})
|
|
2208
2498
|
: {},
|
|
@@ -2256,32 +2546,42 @@ export const State_ResourcesEntry = {
|
|
|
2256
2546
|
},
|
|
2257
2547
|
decode(input, length) {
|
|
2258
2548
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2259
|
-
const
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2549
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2550
|
+
if (previousRecursionDepth >= 100) {
|
|
2551
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2552
|
+
}
|
|
2553
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2554
|
+
try {
|
|
2555
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2556
|
+
const message = createBaseState_ResourcesEntry();
|
|
2557
|
+
while (reader.pos < end) {
|
|
2558
|
+
const tag = reader.uint32();
|
|
2559
|
+
switch (tag >>> 3) {
|
|
2560
|
+
case 1: {
|
|
2561
|
+
if (tag !== 10) {
|
|
2562
|
+
break;
|
|
2563
|
+
}
|
|
2564
|
+
message.key = reader.string();
|
|
2565
|
+
continue;
|
|
2267
2566
|
}
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2567
|
+
case 2: {
|
|
2568
|
+
if (tag !== 18) {
|
|
2569
|
+
break;
|
|
2570
|
+
}
|
|
2571
|
+
message.value = Resource.decode(reader, reader.uint32());
|
|
2572
|
+
continue;
|
|
2274
2573
|
}
|
|
2275
|
-
message.value = Resource.decode(reader, reader.uint32());
|
|
2276
|
-
continue;
|
|
2277
2574
|
}
|
|
2575
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2576
|
+
break;
|
|
2577
|
+
}
|
|
2578
|
+
reader.skip(tag & 7);
|
|
2278
2579
|
}
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
reader.
|
|
2580
|
+
return message;
|
|
2581
|
+
}
|
|
2582
|
+
finally {
|
|
2583
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2283
2584
|
}
|
|
2284
|
-
return message;
|
|
2285
2585
|
},
|
|
2286
2586
|
fromJSON(object) {
|
|
2287
2587
|
return {
|
|
@@ -2329,54 +2629,74 @@ export const Resource = {
|
|
|
2329
2629
|
},
|
|
2330
2630
|
decode(input, length) {
|
|
2331
2631
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2332
|
-
const
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2632
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2633
|
+
if (previousRecursionDepth >= 100) {
|
|
2634
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2635
|
+
}
|
|
2636
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2637
|
+
try {
|
|
2638
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2639
|
+
const message = createBaseResource();
|
|
2640
|
+
while (reader.pos < end) {
|
|
2641
|
+
const tag = reader.uint32();
|
|
2642
|
+
switch (tag >>> 3) {
|
|
2643
|
+
case 1: {
|
|
2644
|
+
if (tag !== 10) {
|
|
2645
|
+
break;
|
|
2646
|
+
}
|
|
2647
|
+
message.resource = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
2648
|
+
continue;
|
|
2340
2649
|
}
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2650
|
+
case 2: {
|
|
2651
|
+
if (tag !== 18) {
|
|
2652
|
+
break;
|
|
2653
|
+
}
|
|
2654
|
+
const entry2 = Resource_ConnectionDetailsEntry.decode(reader, reader.uint32());
|
|
2655
|
+
if (entry2.value !== undefined) {
|
|
2656
|
+
message.connectionDetails[entry2.key] = entry2.value;
|
|
2657
|
+
}
|
|
2658
|
+
continue;
|
|
2347
2659
|
}
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2660
|
+
case 3: {
|
|
2661
|
+
if (tag !== 24) {
|
|
2662
|
+
break;
|
|
2663
|
+
}
|
|
2664
|
+
message.ready = reader.int32();
|
|
2665
|
+
continue;
|
|
2351
2666
|
}
|
|
2352
|
-
continue;
|
|
2353
2667
|
}
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
break;
|
|
2357
|
-
}
|
|
2358
|
-
message.ready = reader.int32();
|
|
2359
|
-
continue;
|
|
2668
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2669
|
+
break;
|
|
2360
2670
|
}
|
|
2671
|
+
reader.skip(tag & 7);
|
|
2361
2672
|
}
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
reader.
|
|
2673
|
+
return message;
|
|
2674
|
+
}
|
|
2675
|
+
finally {
|
|
2676
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2366
2677
|
}
|
|
2367
|
-
return message;
|
|
2368
2678
|
},
|
|
2369
2679
|
fromJSON(object) {
|
|
2370
2680
|
return {
|
|
2371
2681
|
resource: isObject(object.resource) ? object.resource : undefined,
|
|
2372
2682
|
connectionDetails: isObject(object.connectionDetails)
|
|
2373
2683
|
? globalThis.Object.entries(object.connectionDetails).reduce((acc, [key, value]) => {
|
|
2374
|
-
acc
|
|
2684
|
+
globalThis.Object.defineProperty(acc, key, {
|
|
2685
|
+
value: Buffer.from(bytesFromBase64(value)),
|
|
2686
|
+
enumerable: true,
|
|
2687
|
+
configurable: true,
|
|
2688
|
+
writable: true,
|
|
2689
|
+
});
|
|
2375
2690
|
return acc;
|
|
2376
2691
|
}, {})
|
|
2377
2692
|
: isObject(object.connection_details)
|
|
2378
2693
|
? globalThis.Object.entries(object.connection_details).reduce((acc, [key, value]) => {
|
|
2379
|
-
acc
|
|
2694
|
+
globalThis.Object.defineProperty(acc, key, {
|
|
2695
|
+
value: Buffer.from(bytesFromBase64(value)),
|
|
2696
|
+
enumerable: true,
|
|
2697
|
+
configurable: true,
|
|
2698
|
+
writable: true,
|
|
2699
|
+
});
|
|
2380
2700
|
return acc;
|
|
2381
2701
|
}, {})
|
|
2382
2702
|
: {},
|
|
@@ -2434,32 +2754,42 @@ export const Resource_ConnectionDetailsEntry = {
|
|
|
2434
2754
|
},
|
|
2435
2755
|
decode(input, length) {
|
|
2436
2756
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2437
|
-
const
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2757
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2758
|
+
if (previousRecursionDepth >= 100) {
|
|
2759
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2760
|
+
}
|
|
2761
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2762
|
+
try {
|
|
2763
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2764
|
+
const message = createBaseResource_ConnectionDetailsEntry();
|
|
2765
|
+
while (reader.pos < end) {
|
|
2766
|
+
const tag = reader.uint32();
|
|
2767
|
+
switch (tag >>> 3) {
|
|
2768
|
+
case 1: {
|
|
2769
|
+
if (tag !== 10) {
|
|
2770
|
+
break;
|
|
2771
|
+
}
|
|
2772
|
+
message.key = reader.string();
|
|
2773
|
+
continue;
|
|
2445
2774
|
}
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2775
|
+
case 2: {
|
|
2776
|
+
if (tag !== 18) {
|
|
2777
|
+
break;
|
|
2778
|
+
}
|
|
2779
|
+
message.value = Buffer.from(reader.bytes());
|
|
2780
|
+
continue;
|
|
2452
2781
|
}
|
|
2453
|
-
message.value = Buffer.from(reader.bytes());
|
|
2454
|
-
continue;
|
|
2455
2782
|
}
|
|
2783
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2784
|
+
break;
|
|
2785
|
+
}
|
|
2786
|
+
reader.skip(tag & 7);
|
|
2456
2787
|
}
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
reader.
|
|
2788
|
+
return message;
|
|
2789
|
+
}
|
|
2790
|
+
finally {
|
|
2791
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2461
2792
|
}
|
|
2462
|
-
return message;
|
|
2463
2793
|
},
|
|
2464
2794
|
fromJSON(object) {
|
|
2465
2795
|
return {
|
|
@@ -2508,46 +2838,56 @@ export const Result = {
|
|
|
2508
2838
|
},
|
|
2509
2839
|
decode(input, length) {
|
|
2510
2840
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2511
|
-
const
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2841
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2842
|
+
if (previousRecursionDepth >= 100) {
|
|
2843
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2844
|
+
}
|
|
2845
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2846
|
+
try {
|
|
2847
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2848
|
+
const message = createBaseResult();
|
|
2849
|
+
while (reader.pos < end) {
|
|
2850
|
+
const tag = reader.uint32();
|
|
2851
|
+
switch (tag >>> 3) {
|
|
2852
|
+
case 1: {
|
|
2853
|
+
if (tag !== 8) {
|
|
2854
|
+
break;
|
|
2855
|
+
}
|
|
2856
|
+
message.severity = reader.int32();
|
|
2857
|
+
continue;
|
|
2519
2858
|
}
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2859
|
+
case 2: {
|
|
2860
|
+
if (tag !== 18) {
|
|
2861
|
+
break;
|
|
2862
|
+
}
|
|
2863
|
+
message.message = reader.string();
|
|
2864
|
+
continue;
|
|
2526
2865
|
}
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2866
|
+
case 3: {
|
|
2867
|
+
if (tag !== 26) {
|
|
2868
|
+
break;
|
|
2869
|
+
}
|
|
2870
|
+
message.reason = reader.string();
|
|
2871
|
+
continue;
|
|
2533
2872
|
}
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2873
|
+
case 4: {
|
|
2874
|
+
if (tag !== 32) {
|
|
2875
|
+
break;
|
|
2876
|
+
}
|
|
2877
|
+
message.target = reader.int32();
|
|
2878
|
+
continue;
|
|
2540
2879
|
}
|
|
2541
|
-
message.target = reader.int32();
|
|
2542
|
-
continue;
|
|
2543
2880
|
}
|
|
2881
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2882
|
+
break;
|
|
2883
|
+
}
|
|
2884
|
+
reader.skip(tag & 7);
|
|
2544
2885
|
}
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
reader.
|
|
2886
|
+
return message;
|
|
2887
|
+
}
|
|
2888
|
+
finally {
|
|
2889
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2549
2890
|
}
|
|
2550
|
-
return message;
|
|
2551
2891
|
},
|
|
2552
2892
|
fromJSON(object) {
|
|
2553
2893
|
return {
|
|
@@ -2609,53 +2949,63 @@ export const Condition = {
|
|
|
2609
2949
|
},
|
|
2610
2950
|
decode(input, length) {
|
|
2611
2951
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2612
|
-
const
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2952
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2953
|
+
if (previousRecursionDepth >= 100) {
|
|
2954
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2955
|
+
}
|
|
2956
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2957
|
+
try {
|
|
2958
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2959
|
+
const message = createBaseCondition();
|
|
2960
|
+
while (reader.pos < end) {
|
|
2961
|
+
const tag = reader.uint32();
|
|
2962
|
+
switch (tag >>> 3) {
|
|
2963
|
+
case 1: {
|
|
2964
|
+
if (tag !== 10) {
|
|
2965
|
+
break;
|
|
2966
|
+
}
|
|
2967
|
+
message.type = reader.string();
|
|
2968
|
+
continue;
|
|
2620
2969
|
}
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2970
|
+
case 2: {
|
|
2971
|
+
if (tag !== 16) {
|
|
2972
|
+
break;
|
|
2973
|
+
}
|
|
2974
|
+
message.status = reader.int32();
|
|
2975
|
+
continue;
|
|
2627
2976
|
}
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2977
|
+
case 3: {
|
|
2978
|
+
if (tag !== 26) {
|
|
2979
|
+
break;
|
|
2980
|
+
}
|
|
2981
|
+
message.reason = reader.string();
|
|
2982
|
+
continue;
|
|
2634
2983
|
}
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2984
|
+
case 4: {
|
|
2985
|
+
if (tag !== 34) {
|
|
2986
|
+
break;
|
|
2987
|
+
}
|
|
2988
|
+
message.message = reader.string();
|
|
2989
|
+
continue;
|
|
2641
2990
|
}
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2991
|
+
case 5: {
|
|
2992
|
+
if (tag !== 40) {
|
|
2993
|
+
break;
|
|
2994
|
+
}
|
|
2995
|
+
message.target = reader.int32();
|
|
2996
|
+
continue;
|
|
2648
2997
|
}
|
|
2649
|
-
message.target = reader.int32();
|
|
2650
|
-
continue;
|
|
2651
2998
|
}
|
|
2999
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3000
|
+
break;
|
|
3001
|
+
}
|
|
3002
|
+
reader.skip(tag & 7);
|
|
2652
3003
|
}
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
reader.
|
|
3004
|
+
return message;
|
|
3005
|
+
}
|
|
3006
|
+
finally {
|
|
3007
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2657
3008
|
}
|
|
2658
|
-
return message;
|
|
2659
3009
|
},
|
|
2660
3010
|
fromJSON(object) {
|
|
2661
3011
|
return {
|