@milaboratories/pl-client 2.7.10 → 2.7.12
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4858 -3025
- package/dist/index.mjs.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +8 -0
- 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/lsapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +171 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +27 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -1
- package/dist/proto/google/protobuf/descriptor.d.ts +89 -15
- package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/proto/google/protobuf/empty.d.ts.map +1 -1
- package/package.json +6 -7
- 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 +1 -1
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +47 -5
- 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 +30 -4
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +44 -5
- 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 +16 -3
- 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 +2200 -144
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +79 -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 +1 -1
- package/src/proto/google/protobuf/any.ts +1 -1
- package/src/proto/google/protobuf/descriptor.ts +174 -22
- package/src/proto/google/protobuf/duration.ts +1 -1
- package/src/proto/google/protobuf/empty.ts +16 -3
- package/src/proto/google/protobuf/struct.ts +1 -1
- package/src/proto/google/protobuf/timestamp.ts +1 -1
- package/src/proto/google/protobuf/wrappers.ts +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
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/plapi/plapiproto/api.proto" (package "MiLaboratories.PL.API", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
4
|
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
5
5
|
import { WireType } from "@protobuf-ts/runtime";
|
|
6
6
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
7
7
|
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
8
|
-
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
9
8
|
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
10
9
|
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
10
|
+
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
11
11
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
12
12
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
13
13
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
@@ -285,6 +285,12 @@ export interface TxAPI_ClientMessage {
|
|
|
285
285
|
* @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Name.Delete.Request resource_name_delete = 69;
|
|
286
286
|
*/
|
|
287
287
|
resourceNameDelete: ResourceAPI_Name_Delete_Request; // detach name from resource
|
|
288
|
+
} | {
|
|
289
|
+
oneofKind: "resourceTree";
|
|
290
|
+
/**
|
|
291
|
+
* @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Tree.Request resource_tree = 70;
|
|
292
|
+
*/
|
|
293
|
+
resourceTree: ResourceAPI_Tree_Request; // load tree rooted at given resource
|
|
288
294
|
} | {
|
|
289
295
|
oneofKind: "fieldCreate";
|
|
290
296
|
/**
|
|
@@ -327,6 +333,12 @@ export interface TxAPI_ClientMessage {
|
|
|
327
333
|
* @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Remove.Request field_remove = 106;
|
|
328
334
|
*/
|
|
329
335
|
fieldRemove: FieldAPI_Remove_Request; // clear field value (MTW fields only)
|
|
336
|
+
} | {
|
|
337
|
+
oneofKind: "fieldList";
|
|
338
|
+
/**
|
|
339
|
+
* @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.List.Request field_list = 108;
|
|
340
|
+
*/
|
|
341
|
+
fieldList: FieldAPI_List_Request; // list fields of specific resource
|
|
330
342
|
} | {
|
|
331
343
|
oneofKind: "subscriptionCreate";
|
|
332
344
|
/**
|
|
@@ -613,6 +625,12 @@ export interface TxAPI_ServerMessage {
|
|
|
613
625
|
* @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Name.Delete.Response resource_name_delete = 69;
|
|
614
626
|
*/
|
|
615
627
|
resourceNameDelete: ResourceAPI_Name_Delete_Response;
|
|
628
|
+
} | {
|
|
629
|
+
oneofKind: "resourceTree";
|
|
630
|
+
/**
|
|
631
|
+
* @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Tree.Response resource_tree = 70;
|
|
632
|
+
*/
|
|
633
|
+
resourceTree: ResourceAPI_Tree_Response;
|
|
616
634
|
} | {
|
|
617
635
|
oneofKind: "fieldCreate";
|
|
618
636
|
/**
|
|
@@ -655,6 +673,12 @@ export interface TxAPI_ServerMessage {
|
|
|
655
673
|
* @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Remove.Response field_remove = 106;
|
|
656
674
|
*/
|
|
657
675
|
fieldRemove: FieldAPI_Remove_Response;
|
|
676
|
+
} | {
|
|
677
|
+
oneofKind: "fieldList";
|
|
678
|
+
/**
|
|
679
|
+
* @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.List.Response field_list = 108;
|
|
680
|
+
*/
|
|
681
|
+
fieldList: FieldAPI_List_Response;
|
|
658
682
|
} | {
|
|
659
683
|
oneofKind: "subscriptionCreate";
|
|
660
684
|
/**
|
|
@@ -1432,6 +1456,42 @@ export interface ResourceAPI_Name_Delete_Request {
|
|
|
1432
1456
|
*/
|
|
1433
1457
|
export interface ResourceAPI_Name_Delete_Response {
|
|
1434
1458
|
}
|
|
1459
|
+
/**
|
|
1460
|
+
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.Tree
|
|
1461
|
+
*/
|
|
1462
|
+
export interface ResourceAPI_Tree {
|
|
1463
|
+
}
|
|
1464
|
+
/**
|
|
1465
|
+
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.Tree.Request
|
|
1466
|
+
*/
|
|
1467
|
+
export interface ResourceAPI_Tree_Request {
|
|
1468
|
+
/**
|
|
1469
|
+
* @generated from protobuf field: uint64 resource_id = 1;
|
|
1470
|
+
*/
|
|
1471
|
+
resourceId: bigint;
|
|
1472
|
+
/**
|
|
1473
|
+
* Limit maximum depth the tree is traversed.
|
|
1474
|
+
* The resource <resource_id> is considered on depth = 0, the values of its fiels
|
|
1475
|
+
* are on depth = 1 and so on.
|
|
1476
|
+
* The maximum uint32 value disables the limit at all.
|
|
1477
|
+
* 0 value makes API to return only single resource <resource_id> and is actually
|
|
1478
|
+
* equal to Get.Request
|
|
1479
|
+
*
|
|
1480
|
+
* @generated from protobuf field: optional uint32 max_depth = 2;
|
|
1481
|
+
*/
|
|
1482
|
+
maxDepth?: number;
|
|
1483
|
+
}
|
|
1484
|
+
/**
|
|
1485
|
+
* Multi-message
|
|
1486
|
+
*
|
|
1487
|
+
* @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.Tree.Response
|
|
1488
|
+
*/
|
|
1489
|
+
export interface ResourceAPI_Tree_Response {
|
|
1490
|
+
/**
|
|
1491
|
+
* @generated from protobuf field: MiLaboratories.PL.API.Resource resource = 1;
|
|
1492
|
+
*/
|
|
1493
|
+
resource?: Resource;
|
|
1494
|
+
}
|
|
1435
1495
|
/**
|
|
1436
1496
|
* @generated from protobuf message MiLaboratories.PL.API.FieldAPI
|
|
1437
1497
|
*/
|
|
@@ -1596,6 +1656,57 @@ export interface FieldAPI_Remove_Request {
|
|
|
1596
1656
|
*/
|
|
1597
1657
|
export interface FieldAPI_Remove_Response {
|
|
1598
1658
|
}
|
|
1659
|
+
/**
|
|
1660
|
+
* @generated from protobuf message MiLaboratories.PL.API.FieldAPI.List
|
|
1661
|
+
*/
|
|
1662
|
+
export interface FieldAPI_List {
|
|
1663
|
+
}
|
|
1664
|
+
/**
|
|
1665
|
+
* @generated from protobuf message MiLaboratories.PL.API.FieldAPI.List.Request
|
|
1666
|
+
*/
|
|
1667
|
+
export interface FieldAPI_List_Request {
|
|
1668
|
+
/**
|
|
1669
|
+
* @generated from protobuf field: uint64 resource_id = 1;
|
|
1670
|
+
*/
|
|
1671
|
+
resourceId: bigint;
|
|
1672
|
+
/**
|
|
1673
|
+
* Start the listing from given position, returning first field with
|
|
1674
|
+
* name >= start_from.
|
|
1675
|
+
*
|
|
1676
|
+
* @generated from protobuf field: string start_from = 2;
|
|
1677
|
+
*/
|
|
1678
|
+
startFrom: string;
|
|
1679
|
+
/**
|
|
1680
|
+
* Non-zero value makes API to limit number of returned fields to at
|
|
1681
|
+
* most <limit>.
|
|
1682
|
+
* Zero value makes API to return all available fields of the resource.
|
|
1683
|
+
*
|
|
1684
|
+
* @generated from protobuf field: uint32 limit = 3;
|
|
1685
|
+
*/
|
|
1686
|
+
limit: number;
|
|
1687
|
+
}
|
|
1688
|
+
/**
|
|
1689
|
+
* Multi-message
|
|
1690
|
+
*
|
|
1691
|
+
* @generated from protobuf message MiLaboratories.PL.API.FieldAPI.List.Response
|
|
1692
|
+
*/
|
|
1693
|
+
export interface FieldAPI_List_Response {
|
|
1694
|
+
/**
|
|
1695
|
+
* @generated from protobuf field: MiLaboratories.PL.API.Field field = 1;
|
|
1696
|
+
*/
|
|
1697
|
+
field?: Field;
|
|
1698
|
+
/**
|
|
1699
|
+
* The name of field next to the current one.
|
|
1700
|
+
*
|
|
1701
|
+
* Is not empty only for the last message in the current listing, when <limit> was > 0 in List.Request AND
|
|
1702
|
+
* there is more items to read (the listing was stopped because of that limit)
|
|
1703
|
+
*
|
|
1704
|
+
* Use <next> value as <start_from> in the List.Request to continue listing.
|
|
1705
|
+
*
|
|
1706
|
+
* @generated from protobuf field: string next = 4;
|
|
1707
|
+
*/
|
|
1708
|
+
next: string;
|
|
1709
|
+
}
|
|
1599
1710
|
/**
|
|
1600
1711
|
* @generated from protobuf message MiLaboratories.PL.API.NotificationAPI
|
|
1601
1712
|
*/
|
|
@@ -2746,7 +2857,20 @@ class TxAPI$Type extends MessageType<TxAPI> {
|
|
|
2746
2857
|
return message;
|
|
2747
2858
|
}
|
|
2748
2859
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TxAPI): TxAPI {
|
|
2749
|
-
|
|
2860
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2861
|
+
while (reader.pos < end) {
|
|
2862
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2863
|
+
switch (fieldNo) {
|
|
2864
|
+
default:
|
|
2865
|
+
let u = options.readUnknownField;
|
|
2866
|
+
if (u === "throw")
|
|
2867
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2868
|
+
let d = reader.skip(wireType);
|
|
2869
|
+
if (u !== false)
|
|
2870
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2871
|
+
}
|
|
2872
|
+
}
|
|
2873
|
+
return message;
|
|
2750
2874
|
}
|
|
2751
2875
|
internalBinaryWrite(message: TxAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2752
2876
|
let u = options.writeUnknownFields;
|
|
@@ -2786,6 +2910,7 @@ class TxAPI_ClientMessage$Type extends MessageType<TxAPI_ClientMessage> {
|
|
|
2786
2910
|
{ no: 67, name: "resource_name_get", kind: "message", oneof: "request", T: () => ResourceAPI_Name_Get_Request },
|
|
2787
2911
|
{ no: 68, name: "resource_name_exists", kind: "message", oneof: "request", T: () => ResourceAPI_Name_Exists_Request },
|
|
2788
2912
|
{ no: 69, name: "resource_name_delete", kind: "message", oneof: "request", T: () => ResourceAPI_Name_Delete_Request },
|
|
2913
|
+
{ no: 70, name: "resource_tree", kind: "message", oneof: "request", T: () => ResourceAPI_Tree_Request },
|
|
2789
2914
|
{ no: 101, name: "field_create", kind: "message", oneof: "request", T: () => FieldAPI_Create_Request },
|
|
2790
2915
|
{ no: 107, name: "field_exists", kind: "message", oneof: "request", T: () => FieldAPI_Exists_Request },
|
|
2791
2916
|
{ no: 102, name: "field_set", kind: "message", oneof: "request", T: () => FieldAPI_Set_Request },
|
|
@@ -2793,6 +2918,7 @@ class TxAPI_ClientMessage$Type extends MessageType<TxAPI_ClientMessage> {
|
|
|
2793
2918
|
{ no: 103, name: "field_get", kind: "message", oneof: "request", T: () => FieldAPI_Get_Request },
|
|
2794
2919
|
{ no: 104, name: "field_reset", kind: "message", oneof: "request", T: () => FieldAPI_Reset_Request },
|
|
2795
2920
|
{ no: 106, name: "field_remove", kind: "message", oneof: "request", T: () => FieldAPI_Remove_Request },
|
|
2921
|
+
{ no: 108, name: "field_list", kind: "message", oneof: "request", T: () => FieldAPI_List_Request },
|
|
2796
2922
|
{ no: 111, name: "subscription_create", kind: "message", oneof: "request", T: () => SubscriptionAPI_CreateSubscription_Request },
|
|
2797
2923
|
{ no: 112, name: "subscription_attach_filter", kind: "message", oneof: "request", T: () => SubscriptionAPI_AttachFilter_Request },
|
|
2798
2924
|
{ no: 113, name: "subscription_detach_filter", kind: "message", oneof: "request", T: () => SubscriptionAPI_DetachFilter_Request },
|
|
@@ -2965,6 +3091,12 @@ class TxAPI_ClientMessage$Type extends MessageType<TxAPI_ClientMessage> {
|
|
|
2965
3091
|
resourceNameDelete: ResourceAPI_Name_Delete_Request.internalBinaryRead(reader, reader.uint32(), options, (message.request as any).resourceNameDelete)
|
|
2966
3092
|
};
|
|
2967
3093
|
break;
|
|
3094
|
+
case /* MiLaboratories.PL.API.ResourceAPI.Tree.Request resource_tree */ 70:
|
|
3095
|
+
message.request = {
|
|
3096
|
+
oneofKind: "resourceTree",
|
|
3097
|
+
resourceTree: ResourceAPI_Tree_Request.internalBinaryRead(reader, reader.uint32(), options, (message.request as any).resourceTree)
|
|
3098
|
+
};
|
|
3099
|
+
break;
|
|
2968
3100
|
case /* MiLaboratories.PL.API.FieldAPI.Create.Request field_create */ 101:
|
|
2969
3101
|
message.request = {
|
|
2970
3102
|
oneofKind: "fieldCreate",
|
|
@@ -3007,6 +3139,12 @@ class TxAPI_ClientMessage$Type extends MessageType<TxAPI_ClientMessage> {
|
|
|
3007
3139
|
fieldRemove: FieldAPI_Remove_Request.internalBinaryRead(reader, reader.uint32(), options, (message.request as any).fieldRemove)
|
|
3008
3140
|
};
|
|
3009
3141
|
break;
|
|
3142
|
+
case /* MiLaboratories.PL.API.FieldAPI.List.Request field_list */ 108:
|
|
3143
|
+
message.request = {
|
|
3144
|
+
oneofKind: "fieldList",
|
|
3145
|
+
fieldList: FieldAPI_List_Request.internalBinaryRead(reader, reader.uint32(), options, (message.request as any).fieldList)
|
|
3146
|
+
};
|
|
3147
|
+
break;
|
|
3010
3148
|
case /* MiLaboratories.PL.API.SubscriptionAPI.CreateSubscription.Request subscription_create */ 111:
|
|
3011
3149
|
message.request = {
|
|
3012
3150
|
oneofKind: "subscriptionCreate",
|
|
@@ -3220,6 +3358,9 @@ class TxAPI_ClientMessage$Type extends MessageType<TxAPI_ClientMessage> {
|
|
|
3220
3358
|
/* MiLaboratories.PL.API.ResourceAPI.Name.Delete.Request resource_name_delete = 69; */
|
|
3221
3359
|
if (message.request.oneofKind === "resourceNameDelete")
|
|
3222
3360
|
ResourceAPI_Name_Delete_Request.internalBinaryWrite(message.request.resourceNameDelete, writer.tag(69, WireType.LengthDelimited).fork(), options).join();
|
|
3361
|
+
/* MiLaboratories.PL.API.ResourceAPI.Tree.Request resource_tree = 70; */
|
|
3362
|
+
if (message.request.oneofKind === "resourceTree")
|
|
3363
|
+
ResourceAPI_Tree_Request.internalBinaryWrite(message.request.resourceTree, writer.tag(70, WireType.LengthDelimited).fork(), options).join();
|
|
3223
3364
|
/* MiLaboratories.PL.API.FieldAPI.Create.Request field_create = 101; */
|
|
3224
3365
|
if (message.request.oneofKind === "fieldCreate")
|
|
3225
3366
|
FieldAPI_Create_Request.internalBinaryWrite(message.request.fieldCreate, writer.tag(101, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -3241,6 +3382,9 @@ class TxAPI_ClientMessage$Type extends MessageType<TxAPI_ClientMessage> {
|
|
|
3241
3382
|
/* MiLaboratories.PL.API.FieldAPI.Remove.Request field_remove = 106; */
|
|
3242
3383
|
if (message.request.oneofKind === "fieldRemove")
|
|
3243
3384
|
FieldAPI_Remove_Request.internalBinaryWrite(message.request.fieldRemove, writer.tag(106, WireType.LengthDelimited).fork(), options).join();
|
|
3385
|
+
/* MiLaboratories.PL.API.FieldAPI.List.Request field_list = 108; */
|
|
3386
|
+
if (message.request.oneofKind === "fieldList")
|
|
3387
|
+
FieldAPI_List_Request.internalBinaryWrite(message.request.fieldList, writer.tag(108, WireType.LengthDelimited).fork(), options).join();
|
|
3244
3388
|
/* MiLaboratories.PL.API.SubscriptionAPI.CreateSubscription.Request subscription_create = 111; */
|
|
3245
3389
|
if (message.request.oneofKind === "subscriptionCreate")
|
|
3246
3390
|
SubscriptionAPI_CreateSubscription_Request.internalBinaryWrite(message.request.subscriptionCreate, writer.tag(111, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -3345,6 +3489,7 @@ class TxAPI_ServerMessage$Type extends MessageType<TxAPI_ServerMessage> {
|
|
|
3345
3489
|
{ no: 67, name: "resource_name_get", kind: "message", oneof: "response", T: () => ResourceAPI_Name_Get_Response },
|
|
3346
3490
|
{ no: 68, name: "resource_name_exists", kind: "message", oneof: "response", T: () => ResourceAPI_Name_Exists_Response },
|
|
3347
3491
|
{ no: 69, name: "resource_name_delete", kind: "message", oneof: "response", T: () => ResourceAPI_Name_Delete_Response },
|
|
3492
|
+
{ no: 70, name: "resource_tree", kind: "message", oneof: "response", T: () => ResourceAPI_Tree_Response },
|
|
3348
3493
|
{ no: 101, name: "field_create", kind: "message", oneof: "response", T: () => FieldAPI_Create_Response },
|
|
3349
3494
|
{ no: 107, name: "field_exists", kind: "message", oneof: "response", T: () => FieldAPI_Exists_Response },
|
|
3350
3495
|
{ no: 102, name: "field_set", kind: "message", oneof: "response", T: () => FieldAPI_Set_Response },
|
|
@@ -3352,6 +3497,7 @@ class TxAPI_ServerMessage$Type extends MessageType<TxAPI_ServerMessage> {
|
|
|
3352
3497
|
{ no: 103, name: "field_get", kind: "message", oneof: "response", T: () => FieldAPI_Get_Response },
|
|
3353
3498
|
{ no: 104, name: "field_reset", kind: "message", oneof: "response", T: () => FieldAPI_Reset_Response },
|
|
3354
3499
|
{ no: 106, name: "field_remove", kind: "message", oneof: "response", T: () => FieldAPI_Remove_Response },
|
|
3500
|
+
{ no: 108, name: "field_list", kind: "message", oneof: "response", T: () => FieldAPI_List_Response },
|
|
3355
3501
|
{ no: 111, name: "subscription_create", kind: "message", oneof: "response", T: () => SubscriptionAPI_CreateSubscription_Response },
|
|
3356
3502
|
{ no: 115, name: "subscription_create_filter", kind: "message", oneof: "response", T: () => SubscriptionAPI_CreateFilter_Response },
|
|
3357
3503
|
{ no: 112, name: "subscription_attach_filter", kind: "message", oneof: "response", T: () => SubscriptionAPI_AttachFilter_Response },
|
|
@@ -3528,6 +3674,12 @@ class TxAPI_ServerMessage$Type extends MessageType<TxAPI_ServerMessage> {
|
|
|
3528
3674
|
resourceNameDelete: ResourceAPI_Name_Delete_Response.internalBinaryRead(reader, reader.uint32(), options, (message.response as any).resourceNameDelete)
|
|
3529
3675
|
};
|
|
3530
3676
|
break;
|
|
3677
|
+
case /* MiLaboratories.PL.API.ResourceAPI.Tree.Response resource_tree */ 70:
|
|
3678
|
+
message.response = {
|
|
3679
|
+
oneofKind: "resourceTree",
|
|
3680
|
+
resourceTree: ResourceAPI_Tree_Response.internalBinaryRead(reader, reader.uint32(), options, (message.response as any).resourceTree)
|
|
3681
|
+
};
|
|
3682
|
+
break;
|
|
3531
3683
|
case /* MiLaboratories.PL.API.FieldAPI.Create.Response field_create */ 101:
|
|
3532
3684
|
message.response = {
|
|
3533
3685
|
oneofKind: "fieldCreate",
|
|
@@ -3570,6 +3722,12 @@ class TxAPI_ServerMessage$Type extends MessageType<TxAPI_ServerMessage> {
|
|
|
3570
3722
|
fieldRemove: FieldAPI_Remove_Response.internalBinaryRead(reader, reader.uint32(), options, (message.response as any).fieldRemove)
|
|
3571
3723
|
};
|
|
3572
3724
|
break;
|
|
3725
|
+
case /* MiLaboratories.PL.API.FieldAPI.List.Response field_list */ 108:
|
|
3726
|
+
message.response = {
|
|
3727
|
+
oneofKind: "fieldList",
|
|
3728
|
+
fieldList: FieldAPI_List_Response.internalBinaryRead(reader, reader.uint32(), options, (message.response as any).fieldList)
|
|
3729
|
+
};
|
|
3730
|
+
break;
|
|
3573
3731
|
case /* MiLaboratories.PL.API.SubscriptionAPI.CreateSubscription.Response subscription_create */ 111:
|
|
3574
3732
|
message.response = {
|
|
3575
3733
|
oneofKind: "subscriptionCreate",
|
|
@@ -3789,6 +3947,9 @@ class TxAPI_ServerMessage$Type extends MessageType<TxAPI_ServerMessage> {
|
|
|
3789
3947
|
/* MiLaboratories.PL.API.ResourceAPI.Name.Delete.Response resource_name_delete = 69; */
|
|
3790
3948
|
if (message.response.oneofKind === "resourceNameDelete")
|
|
3791
3949
|
ResourceAPI_Name_Delete_Response.internalBinaryWrite(message.response.resourceNameDelete, writer.tag(69, WireType.LengthDelimited).fork(), options).join();
|
|
3950
|
+
/* MiLaboratories.PL.API.ResourceAPI.Tree.Response resource_tree = 70; */
|
|
3951
|
+
if (message.response.oneofKind === "resourceTree")
|
|
3952
|
+
ResourceAPI_Tree_Response.internalBinaryWrite(message.response.resourceTree, writer.tag(70, WireType.LengthDelimited).fork(), options).join();
|
|
3792
3953
|
/* MiLaboratories.PL.API.FieldAPI.Create.Response field_create = 101; */
|
|
3793
3954
|
if (message.response.oneofKind === "fieldCreate")
|
|
3794
3955
|
FieldAPI_Create_Response.internalBinaryWrite(message.response.fieldCreate, writer.tag(101, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -3810,6 +3971,9 @@ class TxAPI_ServerMessage$Type extends MessageType<TxAPI_ServerMessage> {
|
|
|
3810
3971
|
/* MiLaboratories.PL.API.FieldAPI.Remove.Response field_remove = 106; */
|
|
3811
3972
|
if (message.response.oneofKind === "fieldRemove")
|
|
3812
3973
|
FieldAPI_Remove_Response.internalBinaryWrite(message.response.fieldRemove, writer.tag(106, WireType.LengthDelimited).fork(), options).join();
|
|
3974
|
+
/* MiLaboratories.PL.API.FieldAPI.List.Response field_list = 108; */
|
|
3975
|
+
if (message.response.oneofKind === "fieldList")
|
|
3976
|
+
FieldAPI_List_Response.internalBinaryWrite(message.response.fieldList, writer.tag(108, WireType.LengthDelimited).fork(), options).join();
|
|
3813
3977
|
/* MiLaboratories.PL.API.SubscriptionAPI.CreateSubscription.Response subscription_create = 111; */
|
|
3814
3978
|
if (message.response.oneofKind === "subscriptionCreate")
|
|
3815
3979
|
SubscriptionAPI_CreateSubscription_Response.internalBinaryWrite(message.response.subscriptionCreate, writer.tag(111, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -3964,7 +4128,20 @@ class TxAPI_Open$Type extends MessageType<TxAPI_Open> {
|
|
|
3964
4128
|
return message;
|
|
3965
4129
|
}
|
|
3966
4130
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TxAPI_Open): TxAPI_Open {
|
|
3967
|
-
|
|
4131
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4132
|
+
while (reader.pos < end) {
|
|
4133
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4134
|
+
switch (fieldNo) {
|
|
4135
|
+
default:
|
|
4136
|
+
let u = options.readUnknownField;
|
|
4137
|
+
if (u === "throw")
|
|
4138
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4139
|
+
let d = reader.skip(wireType);
|
|
4140
|
+
if (u !== false)
|
|
4141
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4142
|
+
}
|
|
4143
|
+
}
|
|
4144
|
+
return message;
|
|
3968
4145
|
}
|
|
3969
4146
|
internalBinaryWrite(message: TxAPI_Open, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3970
4147
|
let u = options.writeUnknownFields;
|
|
@@ -4090,7 +4267,20 @@ class TxAPI_Commit$Type extends MessageType<TxAPI_Commit> {
|
|
|
4090
4267
|
return message;
|
|
4091
4268
|
}
|
|
4092
4269
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TxAPI_Commit): TxAPI_Commit {
|
|
4093
|
-
|
|
4270
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4271
|
+
while (reader.pos < end) {
|
|
4272
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4273
|
+
switch (fieldNo) {
|
|
4274
|
+
default:
|
|
4275
|
+
let u = options.readUnknownField;
|
|
4276
|
+
if (u === "throw")
|
|
4277
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4278
|
+
let d = reader.skip(wireType);
|
|
4279
|
+
if (u !== false)
|
|
4280
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4281
|
+
}
|
|
4282
|
+
}
|
|
4283
|
+
return message;
|
|
4094
4284
|
}
|
|
4095
4285
|
internalBinaryWrite(message: TxAPI_Commit, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
4096
4286
|
let u = options.writeUnknownFields;
|
|
@@ -4115,7 +4305,20 @@ class TxAPI_Commit_Request$Type extends MessageType<TxAPI_Commit_Request> {
|
|
|
4115
4305
|
return message;
|
|
4116
4306
|
}
|
|
4117
4307
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TxAPI_Commit_Request): TxAPI_Commit_Request {
|
|
4118
|
-
|
|
4308
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4309
|
+
while (reader.pos < end) {
|
|
4310
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4311
|
+
switch (fieldNo) {
|
|
4312
|
+
default:
|
|
4313
|
+
let u = options.readUnknownField;
|
|
4314
|
+
if (u === "throw")
|
|
4315
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4316
|
+
let d = reader.skip(wireType);
|
|
4317
|
+
if (u !== false)
|
|
4318
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4319
|
+
}
|
|
4320
|
+
}
|
|
4321
|
+
return message;
|
|
4119
4322
|
}
|
|
4120
4323
|
internalBinaryWrite(message: TxAPI_Commit_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
4121
4324
|
let u = options.writeUnknownFields;
|
|
@@ -4187,7 +4390,20 @@ class TxAPI_Discard$Type extends MessageType<TxAPI_Discard> {
|
|
|
4187
4390
|
return message;
|
|
4188
4391
|
}
|
|
4189
4392
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TxAPI_Discard): TxAPI_Discard {
|
|
4190
|
-
|
|
4393
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4394
|
+
while (reader.pos < end) {
|
|
4395
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4396
|
+
switch (fieldNo) {
|
|
4397
|
+
default:
|
|
4398
|
+
let u = options.readUnknownField;
|
|
4399
|
+
if (u === "throw")
|
|
4400
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4401
|
+
let d = reader.skip(wireType);
|
|
4402
|
+
if (u !== false)
|
|
4403
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4404
|
+
}
|
|
4405
|
+
}
|
|
4406
|
+
return message;
|
|
4191
4407
|
}
|
|
4192
4408
|
internalBinaryWrite(message: TxAPI_Discard, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
4193
4409
|
let u = options.writeUnknownFields;
|
|
@@ -4212,7 +4428,20 @@ class TxAPI_Discard_Request$Type extends MessageType<TxAPI_Discard_Request> {
|
|
|
4212
4428
|
return message;
|
|
4213
4429
|
}
|
|
4214
4430
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TxAPI_Discard_Request): TxAPI_Discard_Request {
|
|
4215
|
-
|
|
4431
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4432
|
+
while (reader.pos < end) {
|
|
4433
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4434
|
+
switch (fieldNo) {
|
|
4435
|
+
default:
|
|
4436
|
+
let u = options.readUnknownField;
|
|
4437
|
+
if (u === "throw")
|
|
4438
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4439
|
+
let d = reader.skip(wireType);
|
|
4440
|
+
if (u !== false)
|
|
4441
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4442
|
+
}
|
|
4443
|
+
}
|
|
4444
|
+
return message;
|
|
4216
4445
|
}
|
|
4217
4446
|
internalBinaryWrite(message: TxAPI_Discard_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
4218
4447
|
let u = options.writeUnknownFields;
|
|
@@ -4237,7 +4466,20 @@ class TxAPI_Discard_Response$Type extends MessageType<TxAPI_Discard_Response> {
|
|
|
4237
4466
|
return message;
|
|
4238
4467
|
}
|
|
4239
4468
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TxAPI_Discard_Response): TxAPI_Discard_Response {
|
|
4240
|
-
|
|
4469
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4470
|
+
while (reader.pos < end) {
|
|
4471
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4472
|
+
switch (fieldNo) {
|
|
4473
|
+
default:
|
|
4474
|
+
let u = options.readUnknownField;
|
|
4475
|
+
if (u === "throw")
|
|
4476
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4477
|
+
let d = reader.skip(wireType);
|
|
4478
|
+
if (u !== false)
|
|
4479
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4480
|
+
}
|
|
4481
|
+
}
|
|
4482
|
+
return message;
|
|
4241
4483
|
}
|
|
4242
4484
|
internalBinaryWrite(message: TxAPI_Discard_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
4243
4485
|
let u = options.writeUnknownFields;
|
|
@@ -4262,7 +4504,20 @@ class TxAPI_Sync$Type extends MessageType<TxAPI_Sync> {
|
|
|
4262
4504
|
return message;
|
|
4263
4505
|
}
|
|
4264
4506
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TxAPI_Sync): TxAPI_Sync {
|
|
4265
|
-
|
|
4507
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4508
|
+
while (reader.pos < end) {
|
|
4509
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4510
|
+
switch (fieldNo) {
|
|
4511
|
+
default:
|
|
4512
|
+
let u = options.readUnknownField;
|
|
4513
|
+
if (u === "throw")
|
|
4514
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4515
|
+
let d = reader.skip(wireType);
|
|
4516
|
+
if (u !== false)
|
|
4517
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4518
|
+
}
|
|
4519
|
+
}
|
|
4520
|
+
return message;
|
|
4266
4521
|
}
|
|
4267
4522
|
internalBinaryWrite(message: TxAPI_Sync, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
4268
4523
|
let u = options.writeUnknownFields;
|
|
@@ -4334,7 +4589,20 @@ class TxAPI_Sync_Response$Type extends MessageType<TxAPI_Sync_Response> {
|
|
|
4334
4589
|
return message;
|
|
4335
4590
|
}
|
|
4336
4591
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TxAPI_Sync_Response): TxAPI_Sync_Response {
|
|
4337
|
-
|
|
4592
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4593
|
+
while (reader.pos < end) {
|
|
4594
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4595
|
+
switch (fieldNo) {
|
|
4596
|
+
default:
|
|
4597
|
+
let u = options.readUnknownField;
|
|
4598
|
+
if (u === "throw")
|
|
4599
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4600
|
+
let d = reader.skip(wireType);
|
|
4601
|
+
if (u !== false)
|
|
4602
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4603
|
+
}
|
|
4604
|
+
}
|
|
4605
|
+
return message;
|
|
4338
4606
|
}
|
|
4339
4607
|
internalBinaryWrite(message: TxAPI_Sync_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
4340
4608
|
let u = options.writeUnknownFields;
|
|
@@ -4359,7 +4627,20 @@ class ResourceAPI$Type extends MessageType<ResourceAPI> {
|
|
|
4359
4627
|
return message;
|
|
4360
4628
|
}
|
|
4361
4629
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI): ResourceAPI {
|
|
4362
|
-
|
|
4630
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4631
|
+
while (reader.pos < end) {
|
|
4632
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4633
|
+
switch (fieldNo) {
|
|
4634
|
+
default:
|
|
4635
|
+
let u = options.readUnknownField;
|
|
4636
|
+
if (u === "throw")
|
|
4637
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4638
|
+
let d = reader.skip(wireType);
|
|
4639
|
+
if (u !== false)
|
|
4640
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4641
|
+
}
|
|
4642
|
+
}
|
|
4643
|
+
return message;
|
|
4363
4644
|
}
|
|
4364
4645
|
internalBinaryWrite(message: ResourceAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
4365
4646
|
let u = options.writeUnknownFields;
|
|
@@ -4384,7 +4665,20 @@ class ResourceAPI_CreateStruct$Type extends MessageType<ResourceAPI_CreateStruct
|
|
|
4384
4665
|
return message;
|
|
4385
4666
|
}
|
|
4386
4667
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_CreateStruct): ResourceAPI_CreateStruct {
|
|
4387
|
-
|
|
4668
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4669
|
+
while (reader.pos < end) {
|
|
4670
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4671
|
+
switch (fieldNo) {
|
|
4672
|
+
default:
|
|
4673
|
+
let u = options.readUnknownField;
|
|
4674
|
+
if (u === "throw")
|
|
4675
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4676
|
+
let d = reader.skip(wireType);
|
|
4677
|
+
if (u !== false)
|
|
4678
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4679
|
+
}
|
|
4680
|
+
}
|
|
4681
|
+
return message;
|
|
4388
4682
|
}
|
|
4389
4683
|
internalBinaryWrite(message: ResourceAPI_CreateStruct, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
4390
4684
|
let u = options.writeUnknownFields;
|
|
@@ -4517,7 +4811,20 @@ class ResourceAPI_CreateEphemeral$Type extends MessageType<ResourceAPI_CreateEph
|
|
|
4517
4811
|
return message;
|
|
4518
4812
|
}
|
|
4519
4813
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_CreateEphemeral): ResourceAPI_CreateEphemeral {
|
|
4520
|
-
|
|
4814
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4815
|
+
while (reader.pos < end) {
|
|
4816
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4817
|
+
switch (fieldNo) {
|
|
4818
|
+
default:
|
|
4819
|
+
let u = options.readUnknownField;
|
|
4820
|
+
if (u === "throw")
|
|
4821
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4822
|
+
let d = reader.skip(wireType);
|
|
4823
|
+
if (u !== false)
|
|
4824
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4825
|
+
}
|
|
4826
|
+
}
|
|
4827
|
+
return message;
|
|
4521
4828
|
}
|
|
4522
4829
|
internalBinaryWrite(message: ResourceAPI_CreateEphemeral, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
4523
4830
|
let u = options.writeUnknownFields;
|
|
@@ -4650,9 +4957,22 @@ class ResourceAPI_CreateChild$Type extends MessageType<ResourceAPI_CreateChild>
|
|
|
4650
4957
|
return message;
|
|
4651
4958
|
}
|
|
4652
4959
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_CreateChild): ResourceAPI_CreateChild {
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4960
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4961
|
+
while (reader.pos < end) {
|
|
4962
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4963
|
+
switch (fieldNo) {
|
|
4964
|
+
default:
|
|
4965
|
+
let u = options.readUnknownField;
|
|
4966
|
+
if (u === "throw")
|
|
4967
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4968
|
+
let d = reader.skip(wireType);
|
|
4969
|
+
if (u !== false)
|
|
4970
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4971
|
+
}
|
|
4972
|
+
}
|
|
4973
|
+
return message;
|
|
4974
|
+
}
|
|
4975
|
+
internalBinaryWrite(message: ResourceAPI_CreateChild, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
4656
4976
|
let u = options.writeUnknownFields;
|
|
4657
4977
|
if (u !== false)
|
|
4658
4978
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4783,7 +5103,20 @@ class ResourceAPI_CreateValue$Type extends MessageType<ResourceAPI_CreateValue>
|
|
|
4783
5103
|
return message;
|
|
4784
5104
|
}
|
|
4785
5105
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_CreateValue): ResourceAPI_CreateValue {
|
|
4786
|
-
|
|
5106
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5107
|
+
while (reader.pos < end) {
|
|
5108
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5109
|
+
switch (fieldNo) {
|
|
5110
|
+
default:
|
|
5111
|
+
let u = options.readUnknownField;
|
|
5112
|
+
if (u === "throw")
|
|
5113
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5114
|
+
let d = reader.skip(wireType);
|
|
5115
|
+
if (u !== false)
|
|
5116
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5117
|
+
}
|
|
5118
|
+
}
|
|
5119
|
+
return message;
|
|
4787
5120
|
}
|
|
4788
5121
|
internalBinaryWrite(message: ResourceAPI_CreateValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
4789
5122
|
let u = options.writeUnknownFields;
|
|
@@ -4925,7 +5258,20 @@ class ResourceAPI_GetValueID$Type extends MessageType<ResourceAPI_GetValueID> {
|
|
|
4925
5258
|
return message;
|
|
4926
5259
|
}
|
|
4927
5260
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_GetValueID): ResourceAPI_GetValueID {
|
|
4928
|
-
|
|
5261
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5262
|
+
while (reader.pos < end) {
|
|
5263
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5264
|
+
switch (fieldNo) {
|
|
5265
|
+
default:
|
|
5266
|
+
let u = options.readUnknownField;
|
|
5267
|
+
if (u === "throw")
|
|
5268
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5269
|
+
let d = reader.skip(wireType);
|
|
5270
|
+
if (u !== false)
|
|
5271
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5272
|
+
}
|
|
5273
|
+
}
|
|
5274
|
+
return message;
|
|
4929
5275
|
}
|
|
4930
5276
|
internalBinaryWrite(message: ResourceAPI_GetValueID, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
4931
5277
|
let u = options.writeUnknownFields;
|
|
@@ -5051,7 +5397,20 @@ class ResourceAPI_CreateSingleton$Type extends MessageType<ResourceAPI_CreateSin
|
|
|
5051
5397
|
return message;
|
|
5052
5398
|
}
|
|
5053
5399
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_CreateSingleton): ResourceAPI_CreateSingleton {
|
|
5054
|
-
|
|
5400
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5401
|
+
while (reader.pos < end) {
|
|
5402
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5403
|
+
switch (fieldNo) {
|
|
5404
|
+
default:
|
|
5405
|
+
let u = options.readUnknownField;
|
|
5406
|
+
if (u === "throw")
|
|
5407
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5408
|
+
let d = reader.skip(wireType);
|
|
5409
|
+
if (u !== false)
|
|
5410
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5411
|
+
}
|
|
5412
|
+
}
|
|
5413
|
+
return message;
|
|
5055
5414
|
}
|
|
5056
5415
|
internalBinaryWrite(message: ResourceAPI_CreateSingleton, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
5057
5416
|
let u = options.writeUnknownFields;
|
|
@@ -5193,7 +5552,20 @@ class ResourceAPI_GetSingleton$Type extends MessageType<ResourceAPI_GetSingleton
|
|
|
5193
5552
|
return message;
|
|
5194
5553
|
}
|
|
5195
5554
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_GetSingleton): ResourceAPI_GetSingleton {
|
|
5196
|
-
|
|
5555
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5556
|
+
while (reader.pos < end) {
|
|
5557
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5558
|
+
switch (fieldNo) {
|
|
5559
|
+
default:
|
|
5560
|
+
let u = options.readUnknownField;
|
|
5561
|
+
if (u === "throw")
|
|
5562
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5563
|
+
let d = reader.skip(wireType);
|
|
5564
|
+
if (u !== false)
|
|
5565
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5566
|
+
}
|
|
5567
|
+
}
|
|
5568
|
+
return message;
|
|
5197
5569
|
}
|
|
5198
5570
|
internalBinaryWrite(message: ResourceAPI_GetSingleton, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
5199
5571
|
let u = options.writeUnknownFields;
|
|
@@ -5326,7 +5698,20 @@ class ResourceAPI_LockInputs$Type extends MessageType<ResourceAPI_LockInputs> {
|
|
|
5326
5698
|
return message;
|
|
5327
5699
|
}
|
|
5328
5700
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_LockInputs): ResourceAPI_LockInputs {
|
|
5329
|
-
|
|
5701
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5702
|
+
while (reader.pos < end) {
|
|
5703
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5704
|
+
switch (fieldNo) {
|
|
5705
|
+
default:
|
|
5706
|
+
let u = options.readUnknownField;
|
|
5707
|
+
if (u === "throw")
|
|
5708
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5709
|
+
let d = reader.skip(wireType);
|
|
5710
|
+
if (u !== false)
|
|
5711
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5712
|
+
}
|
|
5713
|
+
}
|
|
5714
|
+
return message;
|
|
5330
5715
|
}
|
|
5331
5716
|
internalBinaryWrite(message: ResourceAPI_LockInputs, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
5332
5717
|
let u = options.writeUnknownFields;
|
|
@@ -5398,7 +5783,20 @@ class ResourceAPI_LockInputs_Response$Type extends MessageType<ResourceAPI_LockI
|
|
|
5398
5783
|
return message;
|
|
5399
5784
|
}
|
|
5400
5785
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_LockInputs_Response): ResourceAPI_LockInputs_Response {
|
|
5401
|
-
|
|
5786
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5787
|
+
while (reader.pos < end) {
|
|
5788
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5789
|
+
switch (fieldNo) {
|
|
5790
|
+
default:
|
|
5791
|
+
let u = options.readUnknownField;
|
|
5792
|
+
if (u === "throw")
|
|
5793
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5794
|
+
let d = reader.skip(wireType);
|
|
5795
|
+
if (u !== false)
|
|
5796
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5797
|
+
}
|
|
5798
|
+
}
|
|
5799
|
+
return message;
|
|
5402
5800
|
}
|
|
5403
5801
|
internalBinaryWrite(message: ResourceAPI_LockInputs_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
5404
5802
|
let u = options.writeUnknownFields;
|
|
@@ -5423,7 +5821,20 @@ class ResourceAPI_LockOutputs$Type extends MessageType<ResourceAPI_LockOutputs>
|
|
|
5423
5821
|
return message;
|
|
5424
5822
|
}
|
|
5425
5823
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_LockOutputs): ResourceAPI_LockOutputs {
|
|
5426
|
-
|
|
5824
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5825
|
+
while (reader.pos < end) {
|
|
5826
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5827
|
+
switch (fieldNo) {
|
|
5828
|
+
default:
|
|
5829
|
+
let u = options.readUnknownField;
|
|
5830
|
+
if (u === "throw")
|
|
5831
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5832
|
+
let d = reader.skip(wireType);
|
|
5833
|
+
if (u !== false)
|
|
5834
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5835
|
+
}
|
|
5836
|
+
}
|
|
5837
|
+
return message;
|
|
5427
5838
|
}
|
|
5428
5839
|
internalBinaryWrite(message: ResourceAPI_LockOutputs, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
5429
5840
|
let u = options.writeUnknownFields;
|
|
@@ -5495,7 +5906,20 @@ class ResourceAPI_LockOutputs_Response$Type extends MessageType<ResourceAPI_Lock
|
|
|
5495
5906
|
return message;
|
|
5496
5907
|
}
|
|
5497
5908
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_LockOutputs_Response): ResourceAPI_LockOutputs_Response {
|
|
5498
|
-
|
|
5909
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5910
|
+
while (reader.pos < end) {
|
|
5911
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5912
|
+
switch (fieldNo) {
|
|
5913
|
+
default:
|
|
5914
|
+
let u = options.readUnknownField;
|
|
5915
|
+
if (u === "throw")
|
|
5916
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5917
|
+
let d = reader.skip(wireType);
|
|
5918
|
+
if (u !== false)
|
|
5919
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5920
|
+
}
|
|
5921
|
+
}
|
|
5922
|
+
return message;
|
|
5499
5923
|
}
|
|
5500
5924
|
internalBinaryWrite(message: ResourceAPI_LockOutputs_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
5501
5925
|
let u = options.writeUnknownFields;
|
|
@@ -5520,7 +5944,20 @@ class ResourceAPI_Exists$Type extends MessageType<ResourceAPI_Exists> {
|
|
|
5520
5944
|
return message;
|
|
5521
5945
|
}
|
|
5522
5946
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_Exists): ResourceAPI_Exists {
|
|
5523
|
-
|
|
5947
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5948
|
+
while (reader.pos < end) {
|
|
5949
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5950
|
+
switch (fieldNo) {
|
|
5951
|
+
default:
|
|
5952
|
+
let u = options.readUnknownField;
|
|
5953
|
+
if (u === "throw")
|
|
5954
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5955
|
+
let d = reader.skip(wireType);
|
|
5956
|
+
if (u !== false)
|
|
5957
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5958
|
+
}
|
|
5959
|
+
}
|
|
5960
|
+
return message;
|
|
5524
5961
|
}
|
|
5525
5962
|
internalBinaryWrite(message: ResourceAPI_Exists, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
5526
5963
|
let u = options.writeUnknownFields;
|
|
@@ -5639,7 +6076,20 @@ class ResourceAPI_SetError$Type extends MessageType<ResourceAPI_SetError> {
|
|
|
5639
6076
|
return message;
|
|
5640
6077
|
}
|
|
5641
6078
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_SetError): ResourceAPI_SetError {
|
|
5642
|
-
|
|
6079
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
6080
|
+
while (reader.pos < end) {
|
|
6081
|
+
let [fieldNo, wireType] = reader.tag();
|
|
6082
|
+
switch (fieldNo) {
|
|
6083
|
+
default:
|
|
6084
|
+
let u = options.readUnknownField;
|
|
6085
|
+
if (u === "throw")
|
|
6086
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
6087
|
+
let d = reader.skip(wireType);
|
|
6088
|
+
if (u !== false)
|
|
6089
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
6090
|
+
}
|
|
6091
|
+
}
|
|
6092
|
+
return message;
|
|
5643
6093
|
}
|
|
5644
6094
|
internalBinaryWrite(message: ResourceAPI_SetError, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
5645
6095
|
let u = options.writeUnknownFields;
|
|
@@ -5719,7 +6169,20 @@ class ResourceAPI_SetError_Response$Type extends MessageType<ResourceAPI_SetErro
|
|
|
5719
6169
|
return message;
|
|
5720
6170
|
}
|
|
5721
6171
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_SetError_Response): ResourceAPI_SetError_Response {
|
|
5722
|
-
|
|
6172
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
6173
|
+
while (reader.pos < end) {
|
|
6174
|
+
let [fieldNo, wireType] = reader.tag();
|
|
6175
|
+
switch (fieldNo) {
|
|
6176
|
+
default:
|
|
6177
|
+
let u = options.readUnknownField;
|
|
6178
|
+
if (u === "throw")
|
|
6179
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
6180
|
+
let d = reader.skip(wireType);
|
|
6181
|
+
if (u !== false)
|
|
6182
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
6183
|
+
}
|
|
6184
|
+
}
|
|
6185
|
+
return message;
|
|
5723
6186
|
}
|
|
5724
6187
|
internalBinaryWrite(message: ResourceAPI_SetError_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
5725
6188
|
let u = options.writeUnknownFields;
|
|
@@ -5744,7 +6207,20 @@ class ResourceAPI_Get$Type extends MessageType<ResourceAPI_Get> {
|
|
|
5744
6207
|
return message;
|
|
5745
6208
|
}
|
|
5746
6209
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_Get): ResourceAPI_Get {
|
|
5747
|
-
|
|
6210
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
6211
|
+
while (reader.pos < end) {
|
|
6212
|
+
let [fieldNo, wireType] = reader.tag();
|
|
6213
|
+
switch (fieldNo) {
|
|
6214
|
+
default:
|
|
6215
|
+
let u = options.readUnknownField;
|
|
6216
|
+
if (u === "throw")
|
|
6217
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
6218
|
+
let d = reader.skip(wireType);
|
|
6219
|
+
if (u !== false)
|
|
6220
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
6221
|
+
}
|
|
6222
|
+
}
|
|
6223
|
+
return message;
|
|
5748
6224
|
}
|
|
5749
6225
|
internalBinaryWrite(message: ResourceAPI_Get, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
5750
6226
|
let u = options.writeUnknownFields;
|
|
@@ -5870,7 +6346,20 @@ class ResourceAPI_List$Type extends MessageType<ResourceAPI_List> {
|
|
|
5870
6346
|
return message;
|
|
5871
6347
|
}
|
|
5872
6348
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_List): ResourceAPI_List {
|
|
5873
|
-
|
|
6349
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
6350
|
+
while (reader.pos < end) {
|
|
6351
|
+
let [fieldNo, wireType] = reader.tag();
|
|
6352
|
+
switch (fieldNo) {
|
|
6353
|
+
default:
|
|
6354
|
+
let u = options.readUnknownField;
|
|
6355
|
+
if (u === "throw")
|
|
6356
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
6357
|
+
let d = reader.skip(wireType);
|
|
6358
|
+
if (u !== false)
|
|
6359
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
6360
|
+
}
|
|
6361
|
+
}
|
|
6362
|
+
return message;
|
|
5874
6363
|
}
|
|
5875
6364
|
internalBinaryWrite(message: ResourceAPI_List, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
5876
6365
|
let u = options.writeUnknownFields;
|
|
@@ -5895,7 +6384,20 @@ class ResourceAPI_List_ByType$Type extends MessageType<ResourceAPI_List_ByType>
|
|
|
5895
6384
|
return message;
|
|
5896
6385
|
}
|
|
5897
6386
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_List_ByType): ResourceAPI_List_ByType {
|
|
5898
|
-
|
|
6387
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
6388
|
+
while (reader.pos < end) {
|
|
6389
|
+
let [fieldNo, wireType] = reader.tag();
|
|
6390
|
+
switch (fieldNo) {
|
|
6391
|
+
default:
|
|
6392
|
+
let u = options.readUnknownField;
|
|
6393
|
+
if (u === "throw")
|
|
6394
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
6395
|
+
let d = reader.skip(wireType);
|
|
6396
|
+
if (u !== false)
|
|
6397
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
6398
|
+
}
|
|
6399
|
+
}
|
|
6400
|
+
return message;
|
|
5899
6401
|
}
|
|
5900
6402
|
internalBinaryWrite(message: ResourceAPI_List_ByType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
5901
6403
|
let u = options.writeUnknownFields;
|
|
@@ -6033,7 +6535,20 @@ class ResourceAPI_CreateRoot$Type extends MessageType<ResourceAPI_CreateRoot> {
|
|
|
6033
6535
|
return message;
|
|
6034
6536
|
}
|
|
6035
6537
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_CreateRoot): ResourceAPI_CreateRoot {
|
|
6036
|
-
|
|
6538
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
6539
|
+
while (reader.pos < end) {
|
|
6540
|
+
let [fieldNo, wireType] = reader.tag();
|
|
6541
|
+
switch (fieldNo) {
|
|
6542
|
+
default:
|
|
6543
|
+
let u = options.readUnknownField;
|
|
6544
|
+
if (u === "throw")
|
|
6545
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
6546
|
+
let d = reader.skip(wireType);
|
|
6547
|
+
if (u !== false)
|
|
6548
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
6549
|
+
}
|
|
6550
|
+
}
|
|
6551
|
+
return message;
|
|
6037
6552
|
}
|
|
6038
6553
|
internalBinaryWrite(message: ResourceAPI_CreateRoot, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
6039
6554
|
let u = options.writeUnknownFields;
|
|
@@ -6159,7 +6674,20 @@ class ResourceAPI_Remove$Type extends MessageType<ResourceAPI_Remove> {
|
|
|
6159
6674
|
return message;
|
|
6160
6675
|
}
|
|
6161
6676
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_Remove): ResourceAPI_Remove {
|
|
6162
|
-
|
|
6677
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
6678
|
+
while (reader.pos < end) {
|
|
6679
|
+
let [fieldNo, wireType] = reader.tag();
|
|
6680
|
+
switch (fieldNo) {
|
|
6681
|
+
default:
|
|
6682
|
+
let u = options.readUnknownField;
|
|
6683
|
+
if (u === "throw")
|
|
6684
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
6685
|
+
let d = reader.skip(wireType);
|
|
6686
|
+
if (u !== false)
|
|
6687
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
6688
|
+
}
|
|
6689
|
+
}
|
|
6690
|
+
return message;
|
|
6163
6691
|
}
|
|
6164
6692
|
internalBinaryWrite(message: ResourceAPI_Remove, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
6165
6693
|
let u = options.writeUnknownFields;
|
|
@@ -6231,7 +6759,20 @@ class ResourceAPI_Remove_Response$Type extends MessageType<ResourceAPI_Remove_Re
|
|
|
6231
6759
|
return message;
|
|
6232
6760
|
}
|
|
6233
6761
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_Remove_Response): ResourceAPI_Remove_Response {
|
|
6234
|
-
|
|
6762
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
6763
|
+
while (reader.pos < end) {
|
|
6764
|
+
let [fieldNo, wireType] = reader.tag();
|
|
6765
|
+
switch (fieldNo) {
|
|
6766
|
+
default:
|
|
6767
|
+
let u = options.readUnknownField;
|
|
6768
|
+
if (u === "throw")
|
|
6769
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
6770
|
+
let d = reader.skip(wireType);
|
|
6771
|
+
if (u !== false)
|
|
6772
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
6773
|
+
}
|
|
6774
|
+
}
|
|
6775
|
+
return message;
|
|
6235
6776
|
}
|
|
6236
6777
|
internalBinaryWrite(message: ResourceAPI_Remove_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
6237
6778
|
let u = options.writeUnknownFields;
|
|
@@ -6256,9 +6797,22 @@ class ResourceAPI_Name$Type extends MessageType<ResourceAPI_Name> {
|
|
|
6256
6797
|
return message;
|
|
6257
6798
|
}
|
|
6258
6799
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_Name): ResourceAPI_Name {
|
|
6259
|
-
|
|
6260
|
-
|
|
6261
|
-
|
|
6800
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
6801
|
+
while (reader.pos < end) {
|
|
6802
|
+
let [fieldNo, wireType] = reader.tag();
|
|
6803
|
+
switch (fieldNo) {
|
|
6804
|
+
default:
|
|
6805
|
+
let u = options.readUnknownField;
|
|
6806
|
+
if (u === "throw")
|
|
6807
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
6808
|
+
let d = reader.skip(wireType);
|
|
6809
|
+
if (u !== false)
|
|
6810
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
6811
|
+
}
|
|
6812
|
+
}
|
|
6813
|
+
return message;
|
|
6814
|
+
}
|
|
6815
|
+
internalBinaryWrite(message: ResourceAPI_Name, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
6262
6816
|
let u = options.writeUnknownFields;
|
|
6263
6817
|
if (u !== false)
|
|
6264
6818
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -6281,7 +6835,20 @@ class ResourceAPI_Name_Set$Type extends MessageType<ResourceAPI_Name_Set> {
|
|
|
6281
6835
|
return message;
|
|
6282
6836
|
}
|
|
6283
6837
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_Name_Set): ResourceAPI_Name_Set {
|
|
6284
|
-
|
|
6838
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
6839
|
+
while (reader.pos < end) {
|
|
6840
|
+
let [fieldNo, wireType] = reader.tag();
|
|
6841
|
+
switch (fieldNo) {
|
|
6842
|
+
default:
|
|
6843
|
+
let u = options.readUnknownField;
|
|
6844
|
+
if (u === "throw")
|
|
6845
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
6846
|
+
let d = reader.skip(wireType);
|
|
6847
|
+
if (u !== false)
|
|
6848
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
6849
|
+
}
|
|
6850
|
+
}
|
|
6851
|
+
return message;
|
|
6285
6852
|
}
|
|
6286
6853
|
internalBinaryWrite(message: ResourceAPI_Name_Set, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
6287
6854
|
let u = options.writeUnknownFields;
|
|
@@ -6361,7 +6928,20 @@ class ResourceAPI_Name_Set_Response$Type extends MessageType<ResourceAPI_Name_Se
|
|
|
6361
6928
|
return message;
|
|
6362
6929
|
}
|
|
6363
6930
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_Name_Set_Response): ResourceAPI_Name_Set_Response {
|
|
6364
|
-
|
|
6931
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
6932
|
+
while (reader.pos < end) {
|
|
6933
|
+
let [fieldNo, wireType] = reader.tag();
|
|
6934
|
+
switch (fieldNo) {
|
|
6935
|
+
default:
|
|
6936
|
+
let u = options.readUnknownField;
|
|
6937
|
+
if (u === "throw")
|
|
6938
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
6939
|
+
let d = reader.skip(wireType);
|
|
6940
|
+
if (u !== false)
|
|
6941
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
6942
|
+
}
|
|
6943
|
+
}
|
|
6944
|
+
return message;
|
|
6365
6945
|
}
|
|
6366
6946
|
internalBinaryWrite(message: ResourceAPI_Name_Set_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
6367
6947
|
let u = options.writeUnknownFields;
|
|
@@ -6386,7 +6966,20 @@ class ResourceAPI_Name_Get$Type extends MessageType<ResourceAPI_Name_Get> {
|
|
|
6386
6966
|
return message;
|
|
6387
6967
|
}
|
|
6388
6968
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_Name_Get): ResourceAPI_Name_Get {
|
|
6389
|
-
|
|
6969
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
6970
|
+
while (reader.pos < end) {
|
|
6971
|
+
let [fieldNo, wireType] = reader.tag();
|
|
6972
|
+
switch (fieldNo) {
|
|
6973
|
+
default:
|
|
6974
|
+
let u = options.readUnknownField;
|
|
6975
|
+
if (u === "throw")
|
|
6976
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
6977
|
+
let d = reader.skip(wireType);
|
|
6978
|
+
if (u !== false)
|
|
6979
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
6980
|
+
}
|
|
6981
|
+
}
|
|
6982
|
+
return message;
|
|
6390
6983
|
}
|
|
6391
6984
|
internalBinaryWrite(message: ResourceAPI_Name_Get, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
6392
6985
|
let u = options.writeUnknownFields;
|
|
@@ -6505,7 +7098,20 @@ class ResourceAPI_Name_Exists$Type extends MessageType<ResourceAPI_Name_Exists>
|
|
|
6505
7098
|
return message;
|
|
6506
7099
|
}
|
|
6507
7100
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_Name_Exists): ResourceAPI_Name_Exists {
|
|
6508
|
-
|
|
7101
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
7102
|
+
while (reader.pos < end) {
|
|
7103
|
+
let [fieldNo, wireType] = reader.tag();
|
|
7104
|
+
switch (fieldNo) {
|
|
7105
|
+
default:
|
|
7106
|
+
let u = options.readUnknownField;
|
|
7107
|
+
if (u === "throw")
|
|
7108
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
7109
|
+
let d = reader.skip(wireType);
|
|
7110
|
+
if (u !== false)
|
|
7111
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
7112
|
+
}
|
|
7113
|
+
}
|
|
7114
|
+
return message;
|
|
6509
7115
|
}
|
|
6510
7116
|
internalBinaryWrite(message: ResourceAPI_Name_Exists, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
6511
7117
|
let u = options.writeUnknownFields;
|
|
@@ -6624,7 +7230,20 @@ class ResourceAPI_Name_Delete$Type extends MessageType<ResourceAPI_Name_Delete>
|
|
|
6624
7230
|
return message;
|
|
6625
7231
|
}
|
|
6626
7232
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_Name_Delete): ResourceAPI_Name_Delete {
|
|
6627
|
-
|
|
7233
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
7234
|
+
while (reader.pos < end) {
|
|
7235
|
+
let [fieldNo, wireType] = reader.tag();
|
|
7236
|
+
switch (fieldNo) {
|
|
7237
|
+
default:
|
|
7238
|
+
let u = options.readUnknownField;
|
|
7239
|
+
if (u === "throw")
|
|
7240
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
7241
|
+
let d = reader.skip(wireType);
|
|
7242
|
+
if (u !== false)
|
|
7243
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
7244
|
+
}
|
|
7245
|
+
}
|
|
7246
|
+
return message;
|
|
6628
7247
|
}
|
|
6629
7248
|
internalBinaryWrite(message: ResourceAPI_Name_Delete, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
6630
7249
|
let u = options.writeUnknownFields;
|
|
@@ -6696,7 +7315,20 @@ class ResourceAPI_Name_Delete_Response$Type extends MessageType<ResourceAPI_Name
|
|
|
6696
7315
|
return message;
|
|
6697
7316
|
}
|
|
6698
7317
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_Name_Delete_Response): ResourceAPI_Name_Delete_Response {
|
|
6699
|
-
|
|
7318
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
7319
|
+
while (reader.pos < end) {
|
|
7320
|
+
let [fieldNo, wireType] = reader.tag();
|
|
7321
|
+
switch (fieldNo) {
|
|
7322
|
+
default:
|
|
7323
|
+
let u = options.readUnknownField;
|
|
7324
|
+
if (u === "throw")
|
|
7325
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
7326
|
+
let d = reader.skip(wireType);
|
|
7327
|
+
if (u !== false)
|
|
7328
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
7329
|
+
}
|
|
7330
|
+
}
|
|
7331
|
+
return message;
|
|
6700
7332
|
}
|
|
6701
7333
|
internalBinaryWrite(message: ResourceAPI_Name_Delete_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
6702
7334
|
let u = options.writeUnknownFields;
|
|
@@ -6710,6 +7342,144 @@ class ResourceAPI_Name_Delete_Response$Type extends MessageType<ResourceAPI_Name
|
|
|
6710
7342
|
*/
|
|
6711
7343
|
export const ResourceAPI_Name_Delete_Response = new ResourceAPI_Name_Delete_Response$Type();
|
|
6712
7344
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
7345
|
+
class ResourceAPI_Tree$Type extends MessageType<ResourceAPI_Tree> {
|
|
7346
|
+
constructor() {
|
|
7347
|
+
super("MiLaboratories.PL.API.ResourceAPI.Tree", []);
|
|
7348
|
+
}
|
|
7349
|
+
create(value?: PartialMessage<ResourceAPI_Tree>): ResourceAPI_Tree {
|
|
7350
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
7351
|
+
if (value !== undefined)
|
|
7352
|
+
reflectionMergePartial<ResourceAPI_Tree>(this, message, value);
|
|
7353
|
+
return message;
|
|
7354
|
+
}
|
|
7355
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_Tree): ResourceAPI_Tree {
|
|
7356
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
7357
|
+
while (reader.pos < end) {
|
|
7358
|
+
let [fieldNo, wireType] = reader.tag();
|
|
7359
|
+
switch (fieldNo) {
|
|
7360
|
+
default:
|
|
7361
|
+
let u = options.readUnknownField;
|
|
7362
|
+
if (u === "throw")
|
|
7363
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
7364
|
+
let d = reader.skip(wireType);
|
|
7365
|
+
if (u !== false)
|
|
7366
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
7367
|
+
}
|
|
7368
|
+
}
|
|
7369
|
+
return message;
|
|
7370
|
+
}
|
|
7371
|
+
internalBinaryWrite(message: ResourceAPI_Tree, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7372
|
+
let u = options.writeUnknownFields;
|
|
7373
|
+
if (u !== false)
|
|
7374
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
7375
|
+
return writer;
|
|
7376
|
+
}
|
|
7377
|
+
}
|
|
7378
|
+
/**
|
|
7379
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.Tree
|
|
7380
|
+
*/
|
|
7381
|
+
export const ResourceAPI_Tree = new ResourceAPI_Tree$Type();
|
|
7382
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
7383
|
+
class ResourceAPI_Tree_Request$Type extends MessageType<ResourceAPI_Tree_Request> {
|
|
7384
|
+
constructor() {
|
|
7385
|
+
super("MiLaboratories.PL.API.ResourceAPI.Tree.Request", [
|
|
7386
|
+
{ no: 1, name: "resource_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
7387
|
+
{ no: 2, name: "max_depth", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ }
|
|
7388
|
+
]);
|
|
7389
|
+
}
|
|
7390
|
+
create(value?: PartialMessage<ResourceAPI_Tree_Request>): ResourceAPI_Tree_Request {
|
|
7391
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
7392
|
+
message.resourceId = 0n;
|
|
7393
|
+
if (value !== undefined)
|
|
7394
|
+
reflectionMergePartial<ResourceAPI_Tree_Request>(this, message, value);
|
|
7395
|
+
return message;
|
|
7396
|
+
}
|
|
7397
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_Tree_Request): ResourceAPI_Tree_Request {
|
|
7398
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
7399
|
+
while (reader.pos < end) {
|
|
7400
|
+
let [fieldNo, wireType] = reader.tag();
|
|
7401
|
+
switch (fieldNo) {
|
|
7402
|
+
case /* uint64 resource_id */ 1:
|
|
7403
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
7404
|
+
break;
|
|
7405
|
+
case /* optional uint32 max_depth */ 2:
|
|
7406
|
+
message.maxDepth = reader.uint32();
|
|
7407
|
+
break;
|
|
7408
|
+
default:
|
|
7409
|
+
let u = options.readUnknownField;
|
|
7410
|
+
if (u === "throw")
|
|
7411
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
7412
|
+
let d = reader.skip(wireType);
|
|
7413
|
+
if (u !== false)
|
|
7414
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
7415
|
+
}
|
|
7416
|
+
}
|
|
7417
|
+
return message;
|
|
7418
|
+
}
|
|
7419
|
+
internalBinaryWrite(message: ResourceAPI_Tree_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7420
|
+
/* uint64 resource_id = 1; */
|
|
7421
|
+
if (message.resourceId !== 0n)
|
|
7422
|
+
writer.tag(1, WireType.Varint).uint64(message.resourceId);
|
|
7423
|
+
/* optional uint32 max_depth = 2; */
|
|
7424
|
+
if (message.maxDepth !== undefined)
|
|
7425
|
+
writer.tag(2, WireType.Varint).uint32(message.maxDepth);
|
|
7426
|
+
let u = options.writeUnknownFields;
|
|
7427
|
+
if (u !== false)
|
|
7428
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
7429
|
+
return writer;
|
|
7430
|
+
}
|
|
7431
|
+
}
|
|
7432
|
+
/**
|
|
7433
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.Tree.Request
|
|
7434
|
+
*/
|
|
7435
|
+
export const ResourceAPI_Tree_Request = new ResourceAPI_Tree_Request$Type();
|
|
7436
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
7437
|
+
class ResourceAPI_Tree_Response$Type extends MessageType<ResourceAPI_Tree_Response> {
|
|
7438
|
+
constructor() {
|
|
7439
|
+
super("MiLaboratories.PL.API.ResourceAPI.Tree.Response", [
|
|
7440
|
+
{ no: 1, name: "resource", kind: "message", T: () => Resource }
|
|
7441
|
+
]);
|
|
7442
|
+
}
|
|
7443
|
+
create(value?: PartialMessage<ResourceAPI_Tree_Response>): ResourceAPI_Tree_Response {
|
|
7444
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
7445
|
+
if (value !== undefined)
|
|
7446
|
+
reflectionMergePartial<ResourceAPI_Tree_Response>(this, message, value);
|
|
7447
|
+
return message;
|
|
7448
|
+
}
|
|
7449
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_Tree_Response): ResourceAPI_Tree_Response {
|
|
7450
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
7451
|
+
while (reader.pos < end) {
|
|
7452
|
+
let [fieldNo, wireType] = reader.tag();
|
|
7453
|
+
switch (fieldNo) {
|
|
7454
|
+
case /* MiLaboratories.PL.API.Resource resource */ 1:
|
|
7455
|
+
message.resource = Resource.internalBinaryRead(reader, reader.uint32(), options, message.resource);
|
|
7456
|
+
break;
|
|
7457
|
+
default:
|
|
7458
|
+
let u = options.readUnknownField;
|
|
7459
|
+
if (u === "throw")
|
|
7460
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
7461
|
+
let d = reader.skip(wireType);
|
|
7462
|
+
if (u !== false)
|
|
7463
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
7464
|
+
}
|
|
7465
|
+
}
|
|
7466
|
+
return message;
|
|
7467
|
+
}
|
|
7468
|
+
internalBinaryWrite(message: ResourceAPI_Tree_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7469
|
+
/* MiLaboratories.PL.API.Resource resource = 1; */
|
|
7470
|
+
if (message.resource)
|
|
7471
|
+
Resource.internalBinaryWrite(message.resource, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
7472
|
+
let u = options.writeUnknownFields;
|
|
7473
|
+
if (u !== false)
|
|
7474
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
7475
|
+
return writer;
|
|
7476
|
+
}
|
|
7477
|
+
}
|
|
7478
|
+
/**
|
|
7479
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.Tree.Response
|
|
7480
|
+
*/
|
|
7481
|
+
export const ResourceAPI_Tree_Response = new ResourceAPI_Tree_Response$Type();
|
|
7482
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
6713
7483
|
class FieldAPI$Type extends MessageType<FieldAPI> {
|
|
6714
7484
|
constructor() {
|
|
6715
7485
|
super("MiLaboratories.PL.API.FieldAPI", []);
|
|
@@ -6721,7 +7491,20 @@ class FieldAPI$Type extends MessageType<FieldAPI> {
|
|
|
6721
7491
|
return message;
|
|
6722
7492
|
}
|
|
6723
7493
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldAPI): FieldAPI {
|
|
6724
|
-
|
|
7494
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
7495
|
+
while (reader.pos < end) {
|
|
7496
|
+
let [fieldNo, wireType] = reader.tag();
|
|
7497
|
+
switch (fieldNo) {
|
|
7498
|
+
default:
|
|
7499
|
+
let u = options.readUnknownField;
|
|
7500
|
+
if (u === "throw")
|
|
7501
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
7502
|
+
let d = reader.skip(wireType);
|
|
7503
|
+
if (u !== false)
|
|
7504
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
7505
|
+
}
|
|
7506
|
+
}
|
|
7507
|
+
return message;
|
|
6725
7508
|
}
|
|
6726
7509
|
internalBinaryWrite(message: FieldAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
6727
7510
|
let u = options.writeUnknownFields;
|
|
@@ -6746,7 +7529,20 @@ class FieldAPI_Create$Type extends MessageType<FieldAPI_Create> {
|
|
|
6746
7529
|
return message;
|
|
6747
7530
|
}
|
|
6748
7531
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldAPI_Create): FieldAPI_Create {
|
|
6749
|
-
|
|
7532
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
7533
|
+
while (reader.pos < end) {
|
|
7534
|
+
let [fieldNo, wireType] = reader.tag();
|
|
7535
|
+
switch (fieldNo) {
|
|
7536
|
+
default:
|
|
7537
|
+
let u = options.readUnknownField;
|
|
7538
|
+
if (u === "throw")
|
|
7539
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
7540
|
+
let d = reader.skip(wireType);
|
|
7541
|
+
if (u !== false)
|
|
7542
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
7543
|
+
}
|
|
7544
|
+
}
|
|
7545
|
+
return message;
|
|
6750
7546
|
}
|
|
6751
7547
|
internalBinaryWrite(message: FieldAPI_Create, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
6752
7548
|
let u = options.writeUnknownFields;
|
|
@@ -6871,7 +7667,20 @@ class FieldAPI_Exists$Type extends MessageType<FieldAPI_Exists> {
|
|
|
6871
7667
|
return message;
|
|
6872
7668
|
}
|
|
6873
7669
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldAPI_Exists): FieldAPI_Exists {
|
|
6874
|
-
|
|
7670
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
7671
|
+
while (reader.pos < end) {
|
|
7672
|
+
let [fieldNo, wireType] = reader.tag();
|
|
7673
|
+
switch (fieldNo) {
|
|
7674
|
+
default:
|
|
7675
|
+
let u = options.readUnknownField;
|
|
7676
|
+
if (u === "throw")
|
|
7677
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
7678
|
+
let d = reader.skip(wireType);
|
|
7679
|
+
if (u !== false)
|
|
7680
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
7681
|
+
}
|
|
7682
|
+
}
|
|
7683
|
+
return message;
|
|
6875
7684
|
}
|
|
6876
7685
|
internalBinaryWrite(message: FieldAPI_Exists, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
6877
7686
|
let u = options.writeUnknownFields;
|
|
@@ -6989,13 +7798,26 @@ class FieldAPI_Set$Type extends MessageType<FieldAPI_Set> {
|
|
|
6989
7798
|
return message;
|
|
6990
7799
|
}
|
|
6991
7800
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldAPI_Set): FieldAPI_Set {
|
|
6992
|
-
|
|
6993
|
-
|
|
6994
|
-
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
7801
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
7802
|
+
while (reader.pos < end) {
|
|
7803
|
+
let [fieldNo, wireType] = reader.tag();
|
|
7804
|
+
switch (fieldNo) {
|
|
7805
|
+
default:
|
|
7806
|
+
let u = options.readUnknownField;
|
|
7807
|
+
if (u === "throw")
|
|
7808
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
7809
|
+
let d = reader.skip(wireType);
|
|
7810
|
+
if (u !== false)
|
|
7811
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
7812
|
+
}
|
|
7813
|
+
}
|
|
7814
|
+
return message;
|
|
7815
|
+
}
|
|
7816
|
+
internalBinaryWrite(message: FieldAPI_Set, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7817
|
+
let u = options.writeUnknownFields;
|
|
7818
|
+
if (u !== false)
|
|
7819
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
7820
|
+
return writer;
|
|
6999
7821
|
}
|
|
7000
7822
|
}
|
|
7001
7823
|
/**
|
|
@@ -7067,7 +7889,20 @@ class FieldAPI_Set_Response$Type extends MessageType<FieldAPI_Set_Response> {
|
|
|
7067
7889
|
return message;
|
|
7068
7890
|
}
|
|
7069
7891
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldAPI_Set_Response): FieldAPI_Set_Response {
|
|
7070
|
-
|
|
7892
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
7893
|
+
while (reader.pos < end) {
|
|
7894
|
+
let [fieldNo, wireType] = reader.tag();
|
|
7895
|
+
switch (fieldNo) {
|
|
7896
|
+
default:
|
|
7897
|
+
let u = options.readUnknownField;
|
|
7898
|
+
if (u === "throw")
|
|
7899
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
7900
|
+
let d = reader.skip(wireType);
|
|
7901
|
+
if (u !== false)
|
|
7902
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
7903
|
+
}
|
|
7904
|
+
}
|
|
7905
|
+
return message;
|
|
7071
7906
|
}
|
|
7072
7907
|
internalBinaryWrite(message: FieldAPI_Set_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7073
7908
|
let u = options.writeUnknownFields;
|
|
@@ -7092,7 +7927,20 @@ class FieldAPI_SetError$Type extends MessageType<FieldAPI_SetError> {
|
|
|
7092
7927
|
return message;
|
|
7093
7928
|
}
|
|
7094
7929
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldAPI_SetError): FieldAPI_SetError {
|
|
7095
|
-
|
|
7930
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
7931
|
+
while (reader.pos < end) {
|
|
7932
|
+
let [fieldNo, wireType] = reader.tag();
|
|
7933
|
+
switch (fieldNo) {
|
|
7934
|
+
default:
|
|
7935
|
+
let u = options.readUnknownField;
|
|
7936
|
+
if (u === "throw")
|
|
7937
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
7938
|
+
let d = reader.skip(wireType);
|
|
7939
|
+
if (u !== false)
|
|
7940
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
7941
|
+
}
|
|
7942
|
+
}
|
|
7943
|
+
return message;
|
|
7096
7944
|
}
|
|
7097
7945
|
internalBinaryWrite(message: FieldAPI_SetError, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7098
7946
|
let u = options.writeUnknownFields;
|
|
@@ -7171,7 +8019,20 @@ class FieldAPI_SetError_Response$Type extends MessageType<FieldAPI_SetError_Resp
|
|
|
7171
8019
|
return message;
|
|
7172
8020
|
}
|
|
7173
8021
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldAPI_SetError_Response): FieldAPI_SetError_Response {
|
|
7174
|
-
|
|
8022
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
8023
|
+
while (reader.pos < end) {
|
|
8024
|
+
let [fieldNo, wireType] = reader.tag();
|
|
8025
|
+
switch (fieldNo) {
|
|
8026
|
+
default:
|
|
8027
|
+
let u = options.readUnknownField;
|
|
8028
|
+
if (u === "throw")
|
|
8029
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
8030
|
+
let d = reader.skip(wireType);
|
|
8031
|
+
if (u !== false)
|
|
8032
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
8033
|
+
}
|
|
8034
|
+
}
|
|
8035
|
+
return message;
|
|
7175
8036
|
}
|
|
7176
8037
|
internalBinaryWrite(message: FieldAPI_SetError_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7177
8038
|
let u = options.writeUnknownFields;
|
|
@@ -7196,7 +8057,20 @@ class FieldAPI_Get$Type extends MessageType<FieldAPI_Get> {
|
|
|
7196
8057
|
return message;
|
|
7197
8058
|
}
|
|
7198
8059
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldAPI_Get): FieldAPI_Get {
|
|
7199
|
-
|
|
8060
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
8061
|
+
while (reader.pos < end) {
|
|
8062
|
+
let [fieldNo, wireType] = reader.tag();
|
|
8063
|
+
switch (fieldNo) {
|
|
8064
|
+
default:
|
|
8065
|
+
let u = options.readUnknownField;
|
|
8066
|
+
if (u === "throw")
|
|
8067
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
8068
|
+
let d = reader.skip(wireType);
|
|
8069
|
+
if (u !== false)
|
|
8070
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
8071
|
+
}
|
|
8072
|
+
}
|
|
8073
|
+
return message;
|
|
7200
8074
|
}
|
|
7201
8075
|
internalBinaryWrite(message: FieldAPI_Get, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7202
8076
|
let u = options.writeUnknownFields;
|
|
@@ -7313,7 +8187,20 @@ class FieldAPI_Reset$Type extends MessageType<FieldAPI_Reset> {
|
|
|
7313
8187
|
return message;
|
|
7314
8188
|
}
|
|
7315
8189
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldAPI_Reset): FieldAPI_Reset {
|
|
7316
|
-
|
|
8190
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
8191
|
+
while (reader.pos < end) {
|
|
8192
|
+
let [fieldNo, wireType] = reader.tag();
|
|
8193
|
+
switch (fieldNo) {
|
|
8194
|
+
default:
|
|
8195
|
+
let u = options.readUnknownField;
|
|
8196
|
+
if (u === "throw")
|
|
8197
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
8198
|
+
let d = reader.skip(wireType);
|
|
8199
|
+
if (u !== false)
|
|
8200
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
8201
|
+
}
|
|
8202
|
+
}
|
|
8203
|
+
return message;
|
|
7317
8204
|
}
|
|
7318
8205
|
internalBinaryWrite(message: FieldAPI_Reset, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7319
8206
|
let u = options.writeUnknownFields;
|
|
@@ -7384,7 +8271,20 @@ class FieldAPI_Reset_Response$Type extends MessageType<FieldAPI_Reset_Response>
|
|
|
7384
8271
|
return message;
|
|
7385
8272
|
}
|
|
7386
8273
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldAPI_Reset_Response): FieldAPI_Reset_Response {
|
|
7387
|
-
|
|
8274
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
8275
|
+
while (reader.pos < end) {
|
|
8276
|
+
let [fieldNo, wireType] = reader.tag();
|
|
8277
|
+
switch (fieldNo) {
|
|
8278
|
+
default:
|
|
8279
|
+
let u = options.readUnknownField;
|
|
8280
|
+
if (u === "throw")
|
|
8281
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
8282
|
+
let d = reader.skip(wireType);
|
|
8283
|
+
if (u !== false)
|
|
8284
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
8285
|
+
}
|
|
8286
|
+
}
|
|
8287
|
+
return message;
|
|
7388
8288
|
}
|
|
7389
8289
|
internalBinaryWrite(message: FieldAPI_Reset_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7390
8290
|
let u = options.writeUnknownFields;
|
|
@@ -7409,7 +8309,20 @@ class FieldAPI_Remove$Type extends MessageType<FieldAPI_Remove> {
|
|
|
7409
8309
|
return message;
|
|
7410
8310
|
}
|
|
7411
8311
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldAPI_Remove): FieldAPI_Remove {
|
|
7412
|
-
|
|
8312
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
8313
|
+
while (reader.pos < end) {
|
|
8314
|
+
let [fieldNo, wireType] = reader.tag();
|
|
8315
|
+
switch (fieldNo) {
|
|
8316
|
+
default:
|
|
8317
|
+
let u = options.readUnknownField;
|
|
8318
|
+
if (u === "throw")
|
|
8319
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
8320
|
+
let d = reader.skip(wireType);
|
|
8321
|
+
if (u !== false)
|
|
8322
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
8323
|
+
}
|
|
8324
|
+
}
|
|
8325
|
+
return message;
|
|
7413
8326
|
}
|
|
7414
8327
|
internalBinaryWrite(message: FieldAPI_Remove, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7415
8328
|
let u = options.writeUnknownFields;
|
|
@@ -7480,7 +8393,20 @@ class FieldAPI_Remove_Response$Type extends MessageType<FieldAPI_Remove_Response
|
|
|
7480
8393
|
return message;
|
|
7481
8394
|
}
|
|
7482
8395
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldAPI_Remove_Response): FieldAPI_Remove_Response {
|
|
7483
|
-
|
|
8396
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
8397
|
+
while (reader.pos < end) {
|
|
8398
|
+
let [fieldNo, wireType] = reader.tag();
|
|
8399
|
+
switch (fieldNo) {
|
|
8400
|
+
default:
|
|
8401
|
+
let u = options.readUnknownField;
|
|
8402
|
+
if (u === "throw")
|
|
8403
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
8404
|
+
let d = reader.skip(wireType);
|
|
8405
|
+
if (u !== false)
|
|
8406
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
8407
|
+
}
|
|
8408
|
+
}
|
|
8409
|
+
return message;
|
|
7484
8410
|
}
|
|
7485
8411
|
internalBinaryWrite(message: FieldAPI_Remove_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7486
8412
|
let u = options.writeUnknownFields;
|
|
@@ -7494,6 +8420,161 @@ class FieldAPI_Remove_Response$Type extends MessageType<FieldAPI_Remove_Response
|
|
|
7494
8420
|
*/
|
|
7495
8421
|
export const FieldAPI_Remove_Response = new FieldAPI_Remove_Response$Type();
|
|
7496
8422
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
8423
|
+
class FieldAPI_List$Type extends MessageType<FieldAPI_List> {
|
|
8424
|
+
constructor() {
|
|
8425
|
+
super("MiLaboratories.PL.API.FieldAPI.List", []);
|
|
8426
|
+
}
|
|
8427
|
+
create(value?: PartialMessage<FieldAPI_List>): FieldAPI_List {
|
|
8428
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
8429
|
+
if (value !== undefined)
|
|
8430
|
+
reflectionMergePartial<FieldAPI_List>(this, message, value);
|
|
8431
|
+
return message;
|
|
8432
|
+
}
|
|
8433
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldAPI_List): FieldAPI_List {
|
|
8434
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
8435
|
+
while (reader.pos < end) {
|
|
8436
|
+
let [fieldNo, wireType] = reader.tag();
|
|
8437
|
+
switch (fieldNo) {
|
|
8438
|
+
default:
|
|
8439
|
+
let u = options.readUnknownField;
|
|
8440
|
+
if (u === "throw")
|
|
8441
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
8442
|
+
let d = reader.skip(wireType);
|
|
8443
|
+
if (u !== false)
|
|
8444
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
8445
|
+
}
|
|
8446
|
+
}
|
|
8447
|
+
return message;
|
|
8448
|
+
}
|
|
8449
|
+
internalBinaryWrite(message: FieldAPI_List, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
8450
|
+
let u = options.writeUnknownFields;
|
|
8451
|
+
if (u !== false)
|
|
8452
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
8453
|
+
return writer;
|
|
8454
|
+
}
|
|
8455
|
+
}
|
|
8456
|
+
/**
|
|
8457
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.FieldAPI.List
|
|
8458
|
+
*/
|
|
8459
|
+
export const FieldAPI_List = new FieldAPI_List$Type();
|
|
8460
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
8461
|
+
class FieldAPI_List_Request$Type extends MessageType<FieldAPI_List_Request> {
|
|
8462
|
+
constructor() {
|
|
8463
|
+
super("MiLaboratories.PL.API.FieldAPI.List.Request", [
|
|
8464
|
+
{ no: 1, name: "resource_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
8465
|
+
{ no: 2, name: "start_from", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
8466
|
+
{ no: 3, name: "limit", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
|
|
8467
|
+
]);
|
|
8468
|
+
}
|
|
8469
|
+
create(value?: PartialMessage<FieldAPI_List_Request>): FieldAPI_List_Request {
|
|
8470
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
8471
|
+
message.resourceId = 0n;
|
|
8472
|
+
message.startFrom = "";
|
|
8473
|
+
message.limit = 0;
|
|
8474
|
+
if (value !== undefined)
|
|
8475
|
+
reflectionMergePartial<FieldAPI_List_Request>(this, message, value);
|
|
8476
|
+
return message;
|
|
8477
|
+
}
|
|
8478
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldAPI_List_Request): FieldAPI_List_Request {
|
|
8479
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
8480
|
+
while (reader.pos < end) {
|
|
8481
|
+
let [fieldNo, wireType] = reader.tag();
|
|
8482
|
+
switch (fieldNo) {
|
|
8483
|
+
case /* uint64 resource_id */ 1:
|
|
8484
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
8485
|
+
break;
|
|
8486
|
+
case /* string start_from */ 2:
|
|
8487
|
+
message.startFrom = reader.string();
|
|
8488
|
+
break;
|
|
8489
|
+
case /* uint32 limit */ 3:
|
|
8490
|
+
message.limit = reader.uint32();
|
|
8491
|
+
break;
|
|
8492
|
+
default:
|
|
8493
|
+
let u = options.readUnknownField;
|
|
8494
|
+
if (u === "throw")
|
|
8495
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
8496
|
+
let d = reader.skip(wireType);
|
|
8497
|
+
if (u !== false)
|
|
8498
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
8499
|
+
}
|
|
8500
|
+
}
|
|
8501
|
+
return message;
|
|
8502
|
+
}
|
|
8503
|
+
internalBinaryWrite(message: FieldAPI_List_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
8504
|
+
/* uint64 resource_id = 1; */
|
|
8505
|
+
if (message.resourceId !== 0n)
|
|
8506
|
+
writer.tag(1, WireType.Varint).uint64(message.resourceId);
|
|
8507
|
+
/* string start_from = 2; */
|
|
8508
|
+
if (message.startFrom !== "")
|
|
8509
|
+
writer.tag(2, WireType.LengthDelimited).string(message.startFrom);
|
|
8510
|
+
/* uint32 limit = 3; */
|
|
8511
|
+
if (message.limit !== 0)
|
|
8512
|
+
writer.tag(3, WireType.Varint).uint32(message.limit);
|
|
8513
|
+
let u = options.writeUnknownFields;
|
|
8514
|
+
if (u !== false)
|
|
8515
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
8516
|
+
return writer;
|
|
8517
|
+
}
|
|
8518
|
+
}
|
|
8519
|
+
/**
|
|
8520
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.FieldAPI.List.Request
|
|
8521
|
+
*/
|
|
8522
|
+
export const FieldAPI_List_Request = new FieldAPI_List_Request$Type();
|
|
8523
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
8524
|
+
class FieldAPI_List_Response$Type extends MessageType<FieldAPI_List_Response> {
|
|
8525
|
+
constructor() {
|
|
8526
|
+
super("MiLaboratories.PL.API.FieldAPI.List.Response", [
|
|
8527
|
+
{ no: 1, name: "field", kind: "message", T: () => Field },
|
|
8528
|
+
{ no: 4, name: "next", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
8529
|
+
]);
|
|
8530
|
+
}
|
|
8531
|
+
create(value?: PartialMessage<FieldAPI_List_Response>): FieldAPI_List_Response {
|
|
8532
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
8533
|
+
message.next = "";
|
|
8534
|
+
if (value !== undefined)
|
|
8535
|
+
reflectionMergePartial<FieldAPI_List_Response>(this, message, value);
|
|
8536
|
+
return message;
|
|
8537
|
+
}
|
|
8538
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldAPI_List_Response): FieldAPI_List_Response {
|
|
8539
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
8540
|
+
while (reader.pos < end) {
|
|
8541
|
+
let [fieldNo, wireType] = reader.tag();
|
|
8542
|
+
switch (fieldNo) {
|
|
8543
|
+
case /* MiLaboratories.PL.API.Field field */ 1:
|
|
8544
|
+
message.field = Field.internalBinaryRead(reader, reader.uint32(), options, message.field);
|
|
8545
|
+
break;
|
|
8546
|
+
case /* string next */ 4:
|
|
8547
|
+
message.next = reader.string();
|
|
8548
|
+
break;
|
|
8549
|
+
default:
|
|
8550
|
+
let u = options.readUnknownField;
|
|
8551
|
+
if (u === "throw")
|
|
8552
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
8553
|
+
let d = reader.skip(wireType);
|
|
8554
|
+
if (u !== false)
|
|
8555
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
8556
|
+
}
|
|
8557
|
+
}
|
|
8558
|
+
return message;
|
|
8559
|
+
}
|
|
8560
|
+
internalBinaryWrite(message: FieldAPI_List_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
8561
|
+
/* MiLaboratories.PL.API.Field field = 1; */
|
|
8562
|
+
if (message.field)
|
|
8563
|
+
Field.internalBinaryWrite(message.field, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
8564
|
+
/* string next = 4; */
|
|
8565
|
+
if (message.next !== "")
|
|
8566
|
+
writer.tag(4, WireType.LengthDelimited).string(message.next);
|
|
8567
|
+
let u = options.writeUnknownFields;
|
|
8568
|
+
if (u !== false)
|
|
8569
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
8570
|
+
return writer;
|
|
8571
|
+
}
|
|
8572
|
+
}
|
|
8573
|
+
/**
|
|
8574
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.FieldAPI.List.Response
|
|
8575
|
+
*/
|
|
8576
|
+
export const FieldAPI_List_Response = new FieldAPI_List_Response$Type();
|
|
8577
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
7497
8578
|
class NotificationAPI$Type extends MessageType<NotificationAPI> {
|
|
7498
8579
|
constructor() {
|
|
7499
8580
|
super("MiLaboratories.PL.API.NotificationAPI", []);
|
|
@@ -7505,7 +8586,20 @@ class NotificationAPI$Type extends MessageType<NotificationAPI> {
|
|
|
7505
8586
|
return message;
|
|
7506
8587
|
}
|
|
7507
8588
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotificationAPI): NotificationAPI {
|
|
7508
|
-
|
|
8589
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
8590
|
+
while (reader.pos < end) {
|
|
8591
|
+
let [fieldNo, wireType] = reader.tag();
|
|
8592
|
+
switch (fieldNo) {
|
|
8593
|
+
default:
|
|
8594
|
+
let u = options.readUnknownField;
|
|
8595
|
+
if (u === "throw")
|
|
8596
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
8597
|
+
let d = reader.skip(wireType);
|
|
8598
|
+
if (u !== false)
|
|
8599
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
8600
|
+
}
|
|
8601
|
+
}
|
|
8602
|
+
return message;
|
|
7509
8603
|
}
|
|
7510
8604
|
internalBinaryWrite(message: NotificationAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7511
8605
|
let u = options.writeUnknownFields;
|
|
@@ -7530,7 +8624,20 @@ class NotificationAPI_Get$Type extends MessageType<NotificationAPI_Get> {
|
|
|
7530
8624
|
return message;
|
|
7531
8625
|
}
|
|
7532
8626
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotificationAPI_Get): NotificationAPI_Get {
|
|
7533
|
-
|
|
8627
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
8628
|
+
while (reader.pos < end) {
|
|
8629
|
+
let [fieldNo, wireType] = reader.tag();
|
|
8630
|
+
switch (fieldNo) {
|
|
8631
|
+
default:
|
|
8632
|
+
let u = options.readUnknownField;
|
|
8633
|
+
if (u === "throw")
|
|
8634
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
8635
|
+
let d = reader.skip(wireType);
|
|
8636
|
+
if (u !== false)
|
|
8637
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
8638
|
+
}
|
|
8639
|
+
}
|
|
8640
|
+
return message;
|
|
7534
8641
|
}
|
|
7535
8642
|
internalBinaryWrite(message: NotificationAPI_Get, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7536
8643
|
let u = options.writeUnknownFields;
|
|
@@ -7656,9 +8763,22 @@ class NotificationAPI_Ack$Type extends MessageType<NotificationAPI_Ack> {
|
|
|
7656
8763
|
reflectionMergePartial<NotificationAPI_Ack>(this, message, value);
|
|
7657
8764
|
return message;
|
|
7658
8765
|
}
|
|
7659
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotificationAPI_Ack): NotificationAPI_Ack {
|
|
7660
|
-
|
|
7661
|
-
|
|
8766
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotificationAPI_Ack): NotificationAPI_Ack {
|
|
8767
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
8768
|
+
while (reader.pos < end) {
|
|
8769
|
+
let [fieldNo, wireType] = reader.tag();
|
|
8770
|
+
switch (fieldNo) {
|
|
8771
|
+
default:
|
|
8772
|
+
let u = options.readUnknownField;
|
|
8773
|
+
if (u === "throw")
|
|
8774
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
8775
|
+
let d = reader.skip(wireType);
|
|
8776
|
+
if (u !== false)
|
|
8777
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
8778
|
+
}
|
|
8779
|
+
}
|
|
8780
|
+
return message;
|
|
8781
|
+
}
|
|
7662
8782
|
internalBinaryWrite(message: NotificationAPI_Ack, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7663
8783
|
let u = options.writeUnknownFields;
|
|
7664
8784
|
if (u !== false)
|
|
@@ -7737,7 +8857,20 @@ class NotificationAPI_Ack_Response$Type extends MessageType<NotificationAPI_Ack_
|
|
|
7737
8857
|
return message;
|
|
7738
8858
|
}
|
|
7739
8859
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotificationAPI_Ack_Response): NotificationAPI_Ack_Response {
|
|
7740
|
-
|
|
8860
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
8861
|
+
while (reader.pos < end) {
|
|
8862
|
+
let [fieldNo, wireType] = reader.tag();
|
|
8863
|
+
switch (fieldNo) {
|
|
8864
|
+
default:
|
|
8865
|
+
let u = options.readUnknownField;
|
|
8866
|
+
if (u === "throw")
|
|
8867
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
8868
|
+
let d = reader.skip(wireType);
|
|
8869
|
+
if (u !== false)
|
|
8870
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
8871
|
+
}
|
|
8872
|
+
}
|
|
8873
|
+
return message;
|
|
7741
8874
|
}
|
|
7742
8875
|
internalBinaryWrite(message: NotificationAPI_Ack_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7743
8876
|
let u = options.writeUnknownFields;
|
|
@@ -7762,7 +8895,20 @@ class NotificationAPI_Discard$Type extends MessageType<NotificationAPI_Discard>
|
|
|
7762
8895
|
return message;
|
|
7763
8896
|
}
|
|
7764
8897
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotificationAPI_Discard): NotificationAPI_Discard {
|
|
7765
|
-
|
|
8898
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
8899
|
+
while (reader.pos < end) {
|
|
8900
|
+
let [fieldNo, wireType] = reader.tag();
|
|
8901
|
+
switch (fieldNo) {
|
|
8902
|
+
default:
|
|
8903
|
+
let u = options.readUnknownField;
|
|
8904
|
+
if (u === "throw")
|
|
8905
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
8906
|
+
let d = reader.skip(wireType);
|
|
8907
|
+
if (u !== false)
|
|
8908
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
8909
|
+
}
|
|
8910
|
+
}
|
|
8911
|
+
return message;
|
|
7766
8912
|
}
|
|
7767
8913
|
internalBinaryWrite(message: NotificationAPI_Discard, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7768
8914
|
let u = options.writeUnknownFields;
|
|
@@ -7842,7 +8988,20 @@ class NotificationAPI_Discard_Response$Type extends MessageType<NotificationAPI_
|
|
|
7842
8988
|
return message;
|
|
7843
8989
|
}
|
|
7844
8990
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotificationAPI_Discard_Response): NotificationAPI_Discard_Response {
|
|
7845
|
-
|
|
8991
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
8992
|
+
while (reader.pos < end) {
|
|
8993
|
+
let [fieldNo, wireType] = reader.tag();
|
|
8994
|
+
switch (fieldNo) {
|
|
8995
|
+
default:
|
|
8996
|
+
let u = options.readUnknownField;
|
|
8997
|
+
if (u === "throw")
|
|
8998
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
8999
|
+
let d = reader.skip(wireType);
|
|
9000
|
+
if (u !== false)
|
|
9001
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
9002
|
+
}
|
|
9003
|
+
}
|
|
9004
|
+
return message;
|
|
7846
9005
|
}
|
|
7847
9006
|
internalBinaryWrite(message: NotificationAPI_Discard_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7848
9007
|
let u = options.writeUnknownFields;
|
|
@@ -7867,7 +9026,20 @@ class SubscriptionAPI$Type extends MessageType<SubscriptionAPI> {
|
|
|
7867
9026
|
return message;
|
|
7868
9027
|
}
|
|
7869
9028
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubscriptionAPI): SubscriptionAPI {
|
|
7870
|
-
|
|
9029
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
9030
|
+
while (reader.pos < end) {
|
|
9031
|
+
let [fieldNo, wireType] = reader.tag();
|
|
9032
|
+
switch (fieldNo) {
|
|
9033
|
+
default:
|
|
9034
|
+
let u = options.readUnknownField;
|
|
9035
|
+
if (u === "throw")
|
|
9036
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
9037
|
+
let d = reader.skip(wireType);
|
|
9038
|
+
if (u !== false)
|
|
9039
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
9040
|
+
}
|
|
9041
|
+
}
|
|
9042
|
+
return message;
|
|
7871
9043
|
}
|
|
7872
9044
|
internalBinaryWrite(message: SubscriptionAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7873
9045
|
let u = options.writeUnknownFields;
|
|
@@ -7892,7 +9064,20 @@ class SubscriptionAPI_CreateSubscription$Type extends MessageType<SubscriptionAP
|
|
|
7892
9064
|
return message;
|
|
7893
9065
|
}
|
|
7894
9066
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubscriptionAPI_CreateSubscription): SubscriptionAPI_CreateSubscription {
|
|
7895
|
-
|
|
9067
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
9068
|
+
while (reader.pos < end) {
|
|
9069
|
+
let [fieldNo, wireType] = reader.tag();
|
|
9070
|
+
switch (fieldNo) {
|
|
9071
|
+
default:
|
|
9072
|
+
let u = options.readUnknownField;
|
|
9073
|
+
if (u === "throw")
|
|
9074
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
9075
|
+
let d = reader.skip(wireType);
|
|
9076
|
+
if (u !== false)
|
|
9077
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
9078
|
+
}
|
|
9079
|
+
}
|
|
9080
|
+
return message;
|
|
7896
9081
|
}
|
|
7897
9082
|
internalBinaryWrite(message: SubscriptionAPI_CreateSubscription, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
7898
9083
|
let u = options.writeUnknownFields;
|
|
@@ -8027,7 +9212,20 @@ class SubscriptionAPI_CreateFilter$Type extends MessageType<SubscriptionAPI_Crea
|
|
|
8027
9212
|
return message;
|
|
8028
9213
|
}
|
|
8029
9214
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubscriptionAPI_CreateFilter): SubscriptionAPI_CreateFilter {
|
|
8030
|
-
|
|
9215
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
9216
|
+
while (reader.pos < end) {
|
|
9217
|
+
let [fieldNo, wireType] = reader.tag();
|
|
9218
|
+
switch (fieldNo) {
|
|
9219
|
+
default:
|
|
9220
|
+
let u = options.readUnknownField;
|
|
9221
|
+
if (u === "throw")
|
|
9222
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
9223
|
+
let d = reader.skip(wireType);
|
|
9224
|
+
if (u !== false)
|
|
9225
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
9226
|
+
}
|
|
9227
|
+
}
|
|
9228
|
+
return message;
|
|
8031
9229
|
}
|
|
8032
9230
|
internalBinaryWrite(message: SubscriptionAPI_CreateFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
8033
9231
|
let u = options.writeUnknownFields;
|
|
@@ -8153,7 +9351,20 @@ class SubscriptionAPI_ListSubscriptions$Type extends MessageType<SubscriptionAPI
|
|
|
8153
9351
|
return message;
|
|
8154
9352
|
}
|
|
8155
9353
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubscriptionAPI_ListSubscriptions): SubscriptionAPI_ListSubscriptions {
|
|
8156
|
-
|
|
9354
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
9355
|
+
while (reader.pos < end) {
|
|
9356
|
+
let [fieldNo, wireType] = reader.tag();
|
|
9357
|
+
switch (fieldNo) {
|
|
9358
|
+
default:
|
|
9359
|
+
let u = options.readUnknownField;
|
|
9360
|
+
if (u === "throw")
|
|
9361
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
9362
|
+
let d = reader.skip(wireType);
|
|
9363
|
+
if (u !== false)
|
|
9364
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
9365
|
+
}
|
|
9366
|
+
}
|
|
9367
|
+
return message;
|
|
8157
9368
|
}
|
|
8158
9369
|
internalBinaryWrite(message: SubscriptionAPI_ListSubscriptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
8159
9370
|
let u = options.writeUnknownFields;
|
|
@@ -8240,7 +9451,20 @@ class SubscriptionAPI_ListSubscriptions_Request$Type extends MessageType<Subscri
|
|
|
8240
9451
|
return message;
|
|
8241
9452
|
}
|
|
8242
9453
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubscriptionAPI_ListSubscriptions_Request): SubscriptionAPI_ListSubscriptions_Request {
|
|
8243
|
-
|
|
9454
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
9455
|
+
while (reader.pos < end) {
|
|
9456
|
+
let [fieldNo, wireType] = reader.tag();
|
|
9457
|
+
switch (fieldNo) {
|
|
9458
|
+
default:
|
|
9459
|
+
let u = options.readUnknownField;
|
|
9460
|
+
if (u === "throw")
|
|
9461
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
9462
|
+
let d = reader.skip(wireType);
|
|
9463
|
+
if (u !== false)
|
|
9464
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
9465
|
+
}
|
|
9466
|
+
}
|
|
9467
|
+
return message;
|
|
8244
9468
|
}
|
|
8245
9469
|
internalBinaryWrite(message: SubscriptionAPI_ListSubscriptions_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
8246
9470
|
let u = options.writeUnknownFields;
|
|
@@ -8312,7 +9536,20 @@ class SubscriptionAPI_AttachFilter$Type extends MessageType<SubscriptionAPI_Atta
|
|
|
8312
9536
|
return message;
|
|
8313
9537
|
}
|
|
8314
9538
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubscriptionAPI_AttachFilter): SubscriptionAPI_AttachFilter {
|
|
8315
|
-
|
|
9539
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
9540
|
+
while (reader.pos < end) {
|
|
9541
|
+
let [fieldNo, wireType] = reader.tag();
|
|
9542
|
+
switch (fieldNo) {
|
|
9543
|
+
default:
|
|
9544
|
+
let u = options.readUnknownField;
|
|
9545
|
+
if (u === "throw")
|
|
9546
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
9547
|
+
let d = reader.skip(wireType);
|
|
9548
|
+
if (u !== false)
|
|
9549
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
9550
|
+
}
|
|
9551
|
+
}
|
|
9552
|
+
return message;
|
|
8316
9553
|
}
|
|
8317
9554
|
internalBinaryWrite(message: SubscriptionAPI_AttachFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
8318
9555
|
let u = options.writeUnknownFields;
|
|
@@ -8400,7 +9637,20 @@ class SubscriptionAPI_AttachFilter_Response$Type extends MessageType<Subscriptio
|
|
|
8400
9637
|
return message;
|
|
8401
9638
|
}
|
|
8402
9639
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubscriptionAPI_AttachFilter_Response): SubscriptionAPI_AttachFilter_Response {
|
|
8403
|
-
|
|
9640
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
9641
|
+
while (reader.pos < end) {
|
|
9642
|
+
let [fieldNo, wireType] = reader.tag();
|
|
9643
|
+
switch (fieldNo) {
|
|
9644
|
+
default:
|
|
9645
|
+
let u = options.readUnknownField;
|
|
9646
|
+
if (u === "throw")
|
|
9647
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
9648
|
+
let d = reader.skip(wireType);
|
|
9649
|
+
if (u !== false)
|
|
9650
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
9651
|
+
}
|
|
9652
|
+
}
|
|
9653
|
+
return message;
|
|
8404
9654
|
}
|
|
8405
9655
|
internalBinaryWrite(message: SubscriptionAPI_AttachFilter_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
8406
9656
|
let u = options.writeUnknownFields;
|
|
@@ -8425,7 +9675,20 @@ class SubscriptionAPI_DetachFilter$Type extends MessageType<SubscriptionAPI_Deta
|
|
|
8425
9675
|
return message;
|
|
8426
9676
|
}
|
|
8427
9677
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubscriptionAPI_DetachFilter): SubscriptionAPI_DetachFilter {
|
|
8428
|
-
|
|
9678
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
9679
|
+
while (reader.pos < end) {
|
|
9680
|
+
let [fieldNo, wireType] = reader.tag();
|
|
9681
|
+
switch (fieldNo) {
|
|
9682
|
+
default:
|
|
9683
|
+
let u = options.readUnknownField;
|
|
9684
|
+
if (u === "throw")
|
|
9685
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
9686
|
+
let d = reader.skip(wireType);
|
|
9687
|
+
if (u !== false)
|
|
9688
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
9689
|
+
}
|
|
9690
|
+
}
|
|
9691
|
+
return message;
|
|
8429
9692
|
}
|
|
8430
9693
|
internalBinaryWrite(message: SubscriptionAPI_DetachFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
8431
9694
|
let u = options.writeUnknownFields;
|
|
@@ -8505,7 +9768,20 @@ class SubscriptionAPI_DetachFilter_Response$Type extends MessageType<Subscriptio
|
|
|
8505
9768
|
return message;
|
|
8506
9769
|
}
|
|
8507
9770
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubscriptionAPI_DetachFilter_Response): SubscriptionAPI_DetachFilter_Response {
|
|
8508
|
-
|
|
9771
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
9772
|
+
while (reader.pos < end) {
|
|
9773
|
+
let [fieldNo, wireType] = reader.tag();
|
|
9774
|
+
switch (fieldNo) {
|
|
9775
|
+
default:
|
|
9776
|
+
let u = options.readUnknownField;
|
|
9777
|
+
if (u === "throw")
|
|
9778
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
9779
|
+
let d = reader.skip(wireType);
|
|
9780
|
+
if (u !== false)
|
|
9781
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
9782
|
+
}
|
|
9783
|
+
}
|
|
9784
|
+
return message;
|
|
8509
9785
|
}
|
|
8510
9786
|
internalBinaryWrite(message: SubscriptionAPI_DetachFilter_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
8511
9787
|
let u = options.writeUnknownFields;
|
|
@@ -8530,7 +9806,20 @@ class ControllerAPI$Type extends MessageType<ControllerAPI> {
|
|
|
8530
9806
|
return message;
|
|
8531
9807
|
}
|
|
8532
9808
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI): ControllerAPI {
|
|
8533
|
-
|
|
9809
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
9810
|
+
while (reader.pos < end) {
|
|
9811
|
+
let [fieldNo, wireType] = reader.tag();
|
|
9812
|
+
switch (fieldNo) {
|
|
9813
|
+
default:
|
|
9814
|
+
let u = options.readUnknownField;
|
|
9815
|
+
if (u === "throw")
|
|
9816
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
9817
|
+
let d = reader.skip(wireType);
|
|
9818
|
+
if (u !== false)
|
|
9819
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
9820
|
+
}
|
|
9821
|
+
}
|
|
9822
|
+
return message;
|
|
8534
9823
|
}
|
|
8535
9824
|
internalBinaryWrite(message: ControllerAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
8536
9825
|
let u = options.writeUnknownFields;
|
|
@@ -8555,7 +9844,20 @@ class ControllerAPI_Register$Type extends MessageType<ControllerAPI_Register> {
|
|
|
8555
9844
|
return message;
|
|
8556
9845
|
}
|
|
8557
9846
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_Register): ControllerAPI_Register {
|
|
8558
|
-
|
|
9847
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
9848
|
+
while (reader.pos < end) {
|
|
9849
|
+
let [fieldNo, wireType] = reader.tag();
|
|
9850
|
+
switch (fieldNo) {
|
|
9851
|
+
default:
|
|
9852
|
+
let u = options.readUnknownField;
|
|
9853
|
+
if (u === "throw")
|
|
9854
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
9855
|
+
let d = reader.skip(wireType);
|
|
9856
|
+
if (u !== false)
|
|
9857
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
9858
|
+
}
|
|
9859
|
+
}
|
|
9860
|
+
return message;
|
|
8559
9861
|
}
|
|
8560
9862
|
internalBinaryWrite(message: ControllerAPI_Register, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
8561
9863
|
let u = options.writeUnknownFields;
|
|
@@ -8718,7 +10020,20 @@ class ControllerAPI_Exists$Type extends MessageType<ControllerAPI_Exists> {
|
|
|
8718
10020
|
return message;
|
|
8719
10021
|
}
|
|
8720
10022
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_Exists): ControllerAPI_Exists {
|
|
8721
|
-
|
|
10023
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
10024
|
+
while (reader.pos < end) {
|
|
10025
|
+
let [fieldNo, wireType] = reader.tag();
|
|
10026
|
+
switch (fieldNo) {
|
|
10027
|
+
default:
|
|
10028
|
+
let u = options.readUnknownField;
|
|
10029
|
+
if (u === "throw")
|
|
10030
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
10031
|
+
let d = reader.skip(wireType);
|
|
10032
|
+
if (u !== false)
|
|
10033
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
10034
|
+
}
|
|
10035
|
+
}
|
|
10036
|
+
return message;
|
|
8722
10037
|
}
|
|
8723
10038
|
internalBinaryWrite(message: ControllerAPI_Exists, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
8724
10039
|
let u = options.writeUnknownFields;
|
|
@@ -8837,7 +10152,20 @@ class ControllerAPI_Update$Type extends MessageType<ControllerAPI_Update> {
|
|
|
8837
10152
|
return message;
|
|
8838
10153
|
}
|
|
8839
10154
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_Update): ControllerAPI_Update {
|
|
8840
|
-
|
|
10155
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
10156
|
+
while (reader.pos < end) {
|
|
10157
|
+
let [fieldNo, wireType] = reader.tag();
|
|
10158
|
+
switch (fieldNo) {
|
|
10159
|
+
default:
|
|
10160
|
+
let u = options.readUnknownField;
|
|
10161
|
+
if (u === "throw")
|
|
10162
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
10163
|
+
let d = reader.skip(wireType);
|
|
10164
|
+
if (u !== false)
|
|
10165
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
10166
|
+
}
|
|
10167
|
+
}
|
|
10168
|
+
return message;
|
|
8841
10169
|
}
|
|
8842
10170
|
internalBinaryWrite(message: ControllerAPI_Update, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
8843
10171
|
let u = options.writeUnknownFields;
|
|
@@ -8945,7 +10273,20 @@ class ControllerAPI_Update_Response$Type extends MessageType<ControllerAPI_Updat
|
|
|
8945
10273
|
return message;
|
|
8946
10274
|
}
|
|
8947
10275
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_Update_Response): ControllerAPI_Update_Response {
|
|
8948
|
-
|
|
10276
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
10277
|
+
while (reader.pos < end) {
|
|
10278
|
+
let [fieldNo, wireType] = reader.tag();
|
|
10279
|
+
switch (fieldNo) {
|
|
10280
|
+
default:
|
|
10281
|
+
let u = options.readUnknownField;
|
|
10282
|
+
if (u === "throw")
|
|
10283
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
10284
|
+
let d = reader.skip(wireType);
|
|
10285
|
+
if (u !== false)
|
|
10286
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
10287
|
+
}
|
|
10288
|
+
}
|
|
10289
|
+
return message;
|
|
8949
10290
|
}
|
|
8950
10291
|
internalBinaryWrite(message: ControllerAPI_Update_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
8951
10292
|
let u = options.writeUnknownFields;
|
|
@@ -8969,9 +10310,22 @@ class ControllerAPI_Deregister$Type extends MessageType<ControllerAPI_Deregister
|
|
|
8969
10310
|
reflectionMergePartial<ControllerAPI_Deregister>(this, message, value);
|
|
8970
10311
|
return message;
|
|
8971
10312
|
}
|
|
8972
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_Deregister): ControllerAPI_Deregister {
|
|
8973
|
-
|
|
8974
|
-
|
|
10313
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_Deregister): ControllerAPI_Deregister {
|
|
10314
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
10315
|
+
while (reader.pos < end) {
|
|
10316
|
+
let [fieldNo, wireType] = reader.tag();
|
|
10317
|
+
switch (fieldNo) {
|
|
10318
|
+
default:
|
|
10319
|
+
let u = options.readUnknownField;
|
|
10320
|
+
if (u === "throw")
|
|
10321
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
10322
|
+
let d = reader.skip(wireType);
|
|
10323
|
+
if (u !== false)
|
|
10324
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
10325
|
+
}
|
|
10326
|
+
}
|
|
10327
|
+
return message;
|
|
10328
|
+
}
|
|
8975
10329
|
internalBinaryWrite(message: ControllerAPI_Deregister, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
8976
10330
|
let u = options.writeUnknownFields;
|
|
8977
10331
|
if (u !== false)
|
|
@@ -9042,7 +10396,20 @@ class ControllerAPI_Deregister_Response$Type extends MessageType<ControllerAPI_D
|
|
|
9042
10396
|
return message;
|
|
9043
10397
|
}
|
|
9044
10398
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_Deregister_Response): ControllerAPI_Deregister_Response {
|
|
9045
|
-
|
|
10399
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
10400
|
+
while (reader.pos < end) {
|
|
10401
|
+
let [fieldNo, wireType] = reader.tag();
|
|
10402
|
+
switch (fieldNo) {
|
|
10403
|
+
default:
|
|
10404
|
+
let u = options.readUnknownField;
|
|
10405
|
+
if (u === "throw")
|
|
10406
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
10407
|
+
let d = reader.skip(wireType);
|
|
10408
|
+
if (u !== false)
|
|
10409
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
10410
|
+
}
|
|
10411
|
+
}
|
|
10412
|
+
return message;
|
|
9046
10413
|
}
|
|
9047
10414
|
internalBinaryWrite(message: ControllerAPI_Deregister_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
9048
10415
|
let u = options.writeUnknownFields;
|
|
@@ -9067,7 +10434,20 @@ class ControllerAPI_Create$Type extends MessageType<ControllerAPI_Create> {
|
|
|
9067
10434
|
return message;
|
|
9068
10435
|
}
|
|
9069
10436
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_Create): ControllerAPI_Create {
|
|
9070
|
-
|
|
10437
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
10438
|
+
while (reader.pos < end) {
|
|
10439
|
+
let [fieldNo, wireType] = reader.tag();
|
|
10440
|
+
switch (fieldNo) {
|
|
10441
|
+
default:
|
|
10442
|
+
let u = options.readUnknownField;
|
|
10443
|
+
if (u === "throw")
|
|
10444
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
10445
|
+
let d = reader.skip(wireType);
|
|
10446
|
+
if (u !== false)
|
|
10447
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
10448
|
+
}
|
|
10449
|
+
}
|
|
10450
|
+
return message;
|
|
9071
10451
|
}
|
|
9072
10452
|
internalBinaryWrite(message: ControllerAPI_Create, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
9073
10453
|
let u = options.writeUnknownFields;
|
|
@@ -9194,7 +10574,20 @@ class ControllerAPI_Get$Type extends MessageType<ControllerAPI_Get> {
|
|
|
9194
10574
|
return message;
|
|
9195
10575
|
}
|
|
9196
10576
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_Get): ControllerAPI_Get {
|
|
9197
|
-
|
|
10577
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
10578
|
+
while (reader.pos < end) {
|
|
10579
|
+
let [fieldNo, wireType] = reader.tag();
|
|
10580
|
+
switch (fieldNo) {
|
|
10581
|
+
default:
|
|
10582
|
+
let u = options.readUnknownField;
|
|
10583
|
+
if (u === "throw")
|
|
10584
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
10585
|
+
let d = reader.skip(wireType);
|
|
10586
|
+
if (u !== false)
|
|
10587
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
10588
|
+
}
|
|
10589
|
+
}
|
|
10590
|
+
return message;
|
|
9198
10591
|
}
|
|
9199
10592
|
internalBinaryWrite(message: ControllerAPI_Get, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
9200
10593
|
let u = options.writeUnknownFields;
|
|
@@ -9312,7 +10705,20 @@ class ControllerAPI_AttachSubscription$Type extends MessageType<ControllerAPI_At
|
|
|
9312
10705
|
return message;
|
|
9313
10706
|
}
|
|
9314
10707
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_AttachSubscription): ControllerAPI_AttachSubscription {
|
|
9315
|
-
|
|
10708
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
10709
|
+
while (reader.pos < end) {
|
|
10710
|
+
let [fieldNo, wireType] = reader.tag();
|
|
10711
|
+
switch (fieldNo) {
|
|
10712
|
+
default:
|
|
10713
|
+
let u = options.readUnknownField;
|
|
10714
|
+
if (u === "throw")
|
|
10715
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
10716
|
+
let d = reader.skip(wireType);
|
|
10717
|
+
if (u !== false)
|
|
10718
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
10719
|
+
}
|
|
10720
|
+
}
|
|
10721
|
+
return message;
|
|
9316
10722
|
}
|
|
9317
10723
|
internalBinaryWrite(message: ControllerAPI_AttachSubscription, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
9318
10724
|
let u = options.writeUnknownFields;
|
|
@@ -9392,7 +10798,20 @@ class ControllerAPI_AttachSubscription_Response$Type extends MessageType<Control
|
|
|
9392
10798
|
return message;
|
|
9393
10799
|
}
|
|
9394
10800
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_AttachSubscription_Response): ControllerAPI_AttachSubscription_Response {
|
|
9395
|
-
|
|
10801
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
10802
|
+
while (reader.pos < end) {
|
|
10803
|
+
let [fieldNo, wireType] = reader.tag();
|
|
10804
|
+
switch (fieldNo) {
|
|
10805
|
+
default:
|
|
10806
|
+
let u = options.readUnknownField;
|
|
10807
|
+
if (u === "throw")
|
|
10808
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
10809
|
+
let d = reader.skip(wireType);
|
|
10810
|
+
if (u !== false)
|
|
10811
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
10812
|
+
}
|
|
10813
|
+
}
|
|
10814
|
+
return message;
|
|
9396
10815
|
}
|
|
9397
10816
|
internalBinaryWrite(message: ControllerAPI_AttachSubscription_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
9398
10817
|
let u = options.writeUnknownFields;
|
|
@@ -9417,7 +10836,20 @@ class ControllerAPI_GetNotifications$Type extends MessageType<ControllerAPI_GetN
|
|
|
9417
10836
|
return message;
|
|
9418
10837
|
}
|
|
9419
10838
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_GetNotifications): ControllerAPI_GetNotifications {
|
|
9420
|
-
|
|
10839
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
10840
|
+
while (reader.pos < end) {
|
|
10841
|
+
let [fieldNo, wireType] = reader.tag();
|
|
10842
|
+
switch (fieldNo) {
|
|
10843
|
+
default:
|
|
10844
|
+
let u = options.readUnknownField;
|
|
10845
|
+
if (u === "throw")
|
|
10846
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
10847
|
+
let d = reader.skip(wireType);
|
|
10848
|
+
if (u !== false)
|
|
10849
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
10850
|
+
}
|
|
10851
|
+
}
|
|
10852
|
+
return message;
|
|
9421
10853
|
}
|
|
9422
10854
|
internalBinaryWrite(message: ControllerAPI_GetNotifications, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
9423
10855
|
let u = options.writeUnknownFields;
|
|
@@ -9544,7 +10976,20 @@ class ControllerAPI_WriteAliasesAndUrls$Type extends MessageType<ControllerAPI_W
|
|
|
9544
10976
|
return message;
|
|
9545
10977
|
}
|
|
9546
10978
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_WriteAliasesAndUrls): ControllerAPI_WriteAliasesAndUrls {
|
|
9547
|
-
|
|
10979
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
10980
|
+
while (reader.pos < end) {
|
|
10981
|
+
let [fieldNo, wireType] = reader.tag();
|
|
10982
|
+
switch (fieldNo) {
|
|
10983
|
+
default:
|
|
10984
|
+
let u = options.readUnknownField;
|
|
10985
|
+
if (u === "throw")
|
|
10986
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
10987
|
+
let d = reader.skip(wireType);
|
|
10988
|
+
if (u !== false)
|
|
10989
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
10990
|
+
}
|
|
10991
|
+
}
|
|
10992
|
+
return message;
|
|
9548
10993
|
}
|
|
9549
10994
|
internalBinaryWrite(message: ControllerAPI_WriteAliasesAndUrls, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
9550
10995
|
let u = options.writeUnknownFields;
|
|
@@ -9640,7 +11085,20 @@ class ControllerAPI_WriteAliasesAndUrls_Response$Type extends MessageType<Contro
|
|
|
9640
11085
|
return message;
|
|
9641
11086
|
}
|
|
9642
11087
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_WriteAliasesAndUrls_Response): ControllerAPI_WriteAliasesAndUrls_Response {
|
|
9643
|
-
|
|
11088
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11089
|
+
while (reader.pos < end) {
|
|
11090
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11091
|
+
switch (fieldNo) {
|
|
11092
|
+
default:
|
|
11093
|
+
let u = options.readUnknownField;
|
|
11094
|
+
if (u === "throw")
|
|
11095
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11096
|
+
let d = reader.skip(wireType);
|
|
11097
|
+
if (u !== false)
|
|
11098
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11099
|
+
}
|
|
11100
|
+
}
|
|
11101
|
+
return message;
|
|
9644
11102
|
}
|
|
9645
11103
|
internalBinaryWrite(message: ControllerAPI_WriteAliasesAndUrls_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
9646
11104
|
let u = options.writeUnknownFields;
|
|
@@ -9665,7 +11123,20 @@ class ControllerAPI_GetUrl$Type extends MessageType<ControllerAPI_GetUrl> {
|
|
|
9665
11123
|
return message;
|
|
9666
11124
|
}
|
|
9667
11125
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_GetUrl): ControllerAPI_GetUrl {
|
|
9668
|
-
|
|
11126
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11127
|
+
while (reader.pos < end) {
|
|
11128
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11129
|
+
switch (fieldNo) {
|
|
11130
|
+
default:
|
|
11131
|
+
let u = options.readUnknownField;
|
|
11132
|
+
if (u === "throw")
|
|
11133
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11134
|
+
let d = reader.skip(wireType);
|
|
11135
|
+
if (u !== false)
|
|
11136
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11137
|
+
}
|
|
11138
|
+
}
|
|
11139
|
+
return message;
|
|
9669
11140
|
}
|
|
9670
11141
|
internalBinaryWrite(message: ControllerAPI_GetUrl, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
9671
11142
|
let u = options.writeUnknownFields;
|
|
@@ -9792,7 +11263,20 @@ class ControllerAPI_RemoveAliasesAndUrls$Type extends MessageType<ControllerAPI_
|
|
|
9792
11263
|
return message;
|
|
9793
11264
|
}
|
|
9794
11265
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_RemoveAliasesAndUrls): ControllerAPI_RemoveAliasesAndUrls {
|
|
9795
|
-
|
|
11266
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11267
|
+
while (reader.pos < end) {
|
|
11268
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11269
|
+
switch (fieldNo) {
|
|
11270
|
+
default:
|
|
11271
|
+
let u = options.readUnknownField;
|
|
11272
|
+
if (u === "throw")
|
|
11273
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11274
|
+
let d = reader.skip(wireType);
|
|
11275
|
+
if (u !== false)
|
|
11276
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11277
|
+
}
|
|
11278
|
+
}
|
|
11279
|
+
return message;
|
|
9796
11280
|
}
|
|
9797
11281
|
internalBinaryWrite(message: ControllerAPI_RemoveAliasesAndUrls, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
9798
11282
|
let u = options.writeUnknownFields;
|
|
@@ -9864,7 +11348,20 @@ class ControllerAPI_RemoveAliasesAndUrls_Response$Type extends MessageType<Contr
|
|
|
9864
11348
|
return message;
|
|
9865
11349
|
}
|
|
9866
11350
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_RemoveAliasesAndUrls_Response): ControllerAPI_RemoveAliasesAndUrls_Response {
|
|
9867
|
-
|
|
11351
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11352
|
+
while (reader.pos < end) {
|
|
11353
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11354
|
+
switch (fieldNo) {
|
|
11355
|
+
default:
|
|
11356
|
+
let u = options.readUnknownField;
|
|
11357
|
+
if (u === "throw")
|
|
11358
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11359
|
+
let d = reader.skip(wireType);
|
|
11360
|
+
if (u !== false)
|
|
11361
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11362
|
+
}
|
|
11363
|
+
}
|
|
11364
|
+
return message;
|
|
9868
11365
|
}
|
|
9869
11366
|
internalBinaryWrite(message: ControllerAPI_RemoveAliasesAndUrls_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
9870
11367
|
let u = options.writeUnknownFields;
|
|
@@ -9889,7 +11386,20 @@ class ControllerAPI_SetFeatures$Type extends MessageType<ControllerAPI_SetFeatur
|
|
|
9889
11386
|
return message;
|
|
9890
11387
|
}
|
|
9891
11388
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_SetFeatures): ControllerAPI_SetFeatures {
|
|
9892
|
-
|
|
11389
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11390
|
+
while (reader.pos < end) {
|
|
11391
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11392
|
+
switch (fieldNo) {
|
|
11393
|
+
default:
|
|
11394
|
+
let u = options.readUnknownField;
|
|
11395
|
+
if (u === "throw")
|
|
11396
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11397
|
+
let d = reader.skip(wireType);
|
|
11398
|
+
if (u !== false)
|
|
11399
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11400
|
+
}
|
|
11401
|
+
}
|
|
11402
|
+
return message;
|
|
9893
11403
|
}
|
|
9894
11404
|
internalBinaryWrite(message: ControllerAPI_SetFeatures, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
9895
11405
|
let u = options.writeUnknownFields;
|
|
@@ -9961,7 +11471,20 @@ class ControllerAPI_SetFeatures_Response$Type extends MessageType<ControllerAPI_
|
|
|
9961
11471
|
return message;
|
|
9962
11472
|
}
|
|
9963
11473
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_SetFeatures_Response): ControllerAPI_SetFeatures_Response {
|
|
9964
|
-
|
|
11474
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11475
|
+
while (reader.pos < end) {
|
|
11476
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11477
|
+
switch (fieldNo) {
|
|
11478
|
+
default:
|
|
11479
|
+
let u = options.readUnknownField;
|
|
11480
|
+
if (u === "throw")
|
|
11481
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11482
|
+
let d = reader.skip(wireType);
|
|
11483
|
+
if (u !== false)
|
|
11484
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11485
|
+
}
|
|
11486
|
+
}
|
|
11487
|
+
return message;
|
|
9965
11488
|
}
|
|
9966
11489
|
internalBinaryWrite(message: ControllerAPI_SetFeatures_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
9967
11490
|
let u = options.writeUnknownFields;
|
|
@@ -9986,7 +11509,20 @@ class ControllerAPI_ClearFeatures$Type extends MessageType<ControllerAPI_ClearFe
|
|
|
9986
11509
|
return message;
|
|
9987
11510
|
}
|
|
9988
11511
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_ClearFeatures): ControllerAPI_ClearFeatures {
|
|
9989
|
-
|
|
11512
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11513
|
+
while (reader.pos < end) {
|
|
11514
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11515
|
+
switch (fieldNo) {
|
|
11516
|
+
default:
|
|
11517
|
+
let u = options.readUnknownField;
|
|
11518
|
+
if (u === "throw")
|
|
11519
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11520
|
+
let d = reader.skip(wireType);
|
|
11521
|
+
if (u !== false)
|
|
11522
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11523
|
+
}
|
|
11524
|
+
}
|
|
11525
|
+
return message;
|
|
9990
11526
|
}
|
|
9991
11527
|
internalBinaryWrite(message: ControllerAPI_ClearFeatures, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
9992
11528
|
let u = options.writeUnknownFields;
|
|
@@ -10058,7 +11594,20 @@ class ControllerAPI_ClearFeatures_Response$Type extends MessageType<ControllerAP
|
|
|
10058
11594
|
return message;
|
|
10059
11595
|
}
|
|
10060
11596
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerAPI_ClearFeatures_Response): ControllerAPI_ClearFeatures_Response {
|
|
10061
|
-
|
|
11597
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11598
|
+
while (reader.pos < end) {
|
|
11599
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11600
|
+
switch (fieldNo) {
|
|
11601
|
+
default:
|
|
11602
|
+
let u = options.readUnknownField;
|
|
11603
|
+
if (u === "throw")
|
|
11604
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11605
|
+
let d = reader.skip(wireType);
|
|
11606
|
+
if (u !== false)
|
|
11607
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11608
|
+
}
|
|
11609
|
+
}
|
|
11610
|
+
return message;
|
|
10062
11611
|
}
|
|
10063
11612
|
internalBinaryWrite(message: ControllerAPI_ClearFeatures_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
10064
11613
|
let u = options.writeUnknownFields;
|
|
@@ -10083,7 +11632,20 @@ class ResourceKVAPI$Type extends MessageType<ResourceKVAPI> {
|
|
|
10083
11632
|
return message;
|
|
10084
11633
|
}
|
|
10085
11634
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceKVAPI): ResourceKVAPI {
|
|
10086
|
-
|
|
11635
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11636
|
+
while (reader.pos < end) {
|
|
11637
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11638
|
+
switch (fieldNo) {
|
|
11639
|
+
default:
|
|
11640
|
+
let u = options.readUnknownField;
|
|
11641
|
+
if (u === "throw")
|
|
11642
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11643
|
+
let d = reader.skip(wireType);
|
|
11644
|
+
if (u !== false)
|
|
11645
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11646
|
+
}
|
|
11647
|
+
}
|
|
11648
|
+
return message;
|
|
10087
11649
|
}
|
|
10088
11650
|
internalBinaryWrite(message: ResourceKVAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
10089
11651
|
let u = options.writeUnknownFields;
|
|
@@ -10108,7 +11670,20 @@ class ResourceKVAPI_List$Type extends MessageType<ResourceKVAPI_List> {
|
|
|
10108
11670
|
return message;
|
|
10109
11671
|
}
|
|
10110
11672
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceKVAPI_List): ResourceKVAPI_List {
|
|
10111
|
-
|
|
11673
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11674
|
+
while (reader.pos < end) {
|
|
11675
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11676
|
+
switch (fieldNo) {
|
|
11677
|
+
default:
|
|
11678
|
+
let u = options.readUnknownField;
|
|
11679
|
+
if (u === "throw")
|
|
11680
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11681
|
+
let d = reader.skip(wireType);
|
|
11682
|
+
if (u !== false)
|
|
11683
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11684
|
+
}
|
|
11685
|
+
}
|
|
11686
|
+
return message;
|
|
10112
11687
|
}
|
|
10113
11688
|
internalBinaryWrite(message: ResourceKVAPI_List, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
10114
11689
|
let u = options.writeUnknownFields;
|
|
@@ -10304,9 +11879,22 @@ class ResourceKVAPI_Set$Type extends MessageType<ResourceKVAPI_Set> {
|
|
|
10304
11879
|
reflectionMergePartial<ResourceKVAPI_Set>(this, message, value);
|
|
10305
11880
|
return message;
|
|
10306
11881
|
}
|
|
10307
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceKVAPI_Set): ResourceKVAPI_Set {
|
|
10308
|
-
|
|
10309
|
-
|
|
11882
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceKVAPI_Set): ResourceKVAPI_Set {
|
|
11883
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11884
|
+
while (reader.pos < end) {
|
|
11885
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11886
|
+
switch (fieldNo) {
|
|
11887
|
+
default:
|
|
11888
|
+
let u = options.readUnknownField;
|
|
11889
|
+
if (u === "throw")
|
|
11890
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11891
|
+
let d = reader.skip(wireType);
|
|
11892
|
+
if (u !== false)
|
|
11893
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11894
|
+
}
|
|
11895
|
+
}
|
|
11896
|
+
return message;
|
|
11897
|
+
}
|
|
10310
11898
|
internalBinaryWrite(message: ResourceKVAPI_Set, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
10311
11899
|
let u = options.writeUnknownFields;
|
|
10312
11900
|
if (u !== false)
|
|
@@ -10393,7 +11981,20 @@ class ResourceKVAPI_Set_Response$Type extends MessageType<ResourceKVAPI_Set_Resp
|
|
|
10393
11981
|
return message;
|
|
10394
11982
|
}
|
|
10395
11983
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceKVAPI_Set_Response): ResourceKVAPI_Set_Response {
|
|
10396
|
-
|
|
11984
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11985
|
+
while (reader.pos < end) {
|
|
11986
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11987
|
+
switch (fieldNo) {
|
|
11988
|
+
default:
|
|
11989
|
+
let u = options.readUnknownField;
|
|
11990
|
+
if (u === "throw")
|
|
11991
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11992
|
+
let d = reader.skip(wireType);
|
|
11993
|
+
if (u !== false)
|
|
11994
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11995
|
+
}
|
|
11996
|
+
}
|
|
11997
|
+
return message;
|
|
10397
11998
|
}
|
|
10398
11999
|
internalBinaryWrite(message: ResourceKVAPI_Set_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
10399
12000
|
let u = options.writeUnknownFields;
|
|
@@ -10418,7 +12019,20 @@ class ResourceKVAPI_Get$Type extends MessageType<ResourceKVAPI_Get> {
|
|
|
10418
12019
|
return message;
|
|
10419
12020
|
}
|
|
10420
12021
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceKVAPI_Get): ResourceKVAPI_Get {
|
|
10421
|
-
|
|
12022
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12023
|
+
while (reader.pos < end) {
|
|
12024
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12025
|
+
switch (fieldNo) {
|
|
12026
|
+
default:
|
|
12027
|
+
let u = options.readUnknownField;
|
|
12028
|
+
if (u === "throw")
|
|
12029
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12030
|
+
let d = reader.skip(wireType);
|
|
12031
|
+
if (u !== false)
|
|
12032
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12033
|
+
}
|
|
12034
|
+
}
|
|
12035
|
+
return message;
|
|
10422
12036
|
}
|
|
10423
12037
|
internalBinaryWrite(message: ResourceKVAPI_Get, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
10424
12038
|
let u = options.writeUnknownFields;
|
|
@@ -10545,7 +12159,20 @@ class ResourceKVAPI_GetIfExists$Type extends MessageType<ResourceKVAPI_GetIfExis
|
|
|
10545
12159
|
return message;
|
|
10546
12160
|
}
|
|
10547
12161
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceKVAPI_GetIfExists): ResourceKVAPI_GetIfExists {
|
|
10548
|
-
|
|
12162
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12163
|
+
while (reader.pos < end) {
|
|
12164
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12165
|
+
switch (fieldNo) {
|
|
12166
|
+
default:
|
|
12167
|
+
let u = options.readUnknownField;
|
|
12168
|
+
if (u === "throw")
|
|
12169
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12170
|
+
let d = reader.skip(wireType);
|
|
12171
|
+
if (u !== false)
|
|
12172
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12173
|
+
}
|
|
12174
|
+
}
|
|
12175
|
+
return message;
|
|
10549
12176
|
}
|
|
10550
12177
|
internalBinaryWrite(message: ResourceKVAPI_GetIfExists, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
10551
12178
|
let u = options.writeUnknownFields;
|
|
@@ -10680,7 +12307,20 @@ class ResourceKVAPI_Delete$Type extends MessageType<ResourceKVAPI_Delete> {
|
|
|
10680
12307
|
return message;
|
|
10681
12308
|
}
|
|
10682
12309
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceKVAPI_Delete): ResourceKVAPI_Delete {
|
|
10683
|
-
|
|
12310
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12311
|
+
while (reader.pos < end) {
|
|
12312
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12313
|
+
switch (fieldNo) {
|
|
12314
|
+
default:
|
|
12315
|
+
let u = options.readUnknownField;
|
|
12316
|
+
if (u === "throw")
|
|
12317
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12318
|
+
let d = reader.skip(wireType);
|
|
12319
|
+
if (u !== false)
|
|
12320
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12321
|
+
}
|
|
12322
|
+
}
|
|
12323
|
+
return message;
|
|
10684
12324
|
}
|
|
10685
12325
|
internalBinaryWrite(message: ResourceKVAPI_Delete, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
10686
12326
|
let u = options.writeUnknownFields;
|
|
@@ -10760,7 +12400,20 @@ class ResourceKVAPI_Delete_Response$Type extends MessageType<ResourceKVAPI_Delet
|
|
|
10760
12400
|
return message;
|
|
10761
12401
|
}
|
|
10762
12402
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceKVAPI_Delete_Response): ResourceKVAPI_Delete_Response {
|
|
10763
|
-
|
|
12403
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12404
|
+
while (reader.pos < end) {
|
|
12405
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12406
|
+
switch (fieldNo) {
|
|
12407
|
+
default:
|
|
12408
|
+
let u = options.readUnknownField;
|
|
12409
|
+
if (u === "throw")
|
|
12410
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12411
|
+
let d = reader.skip(wireType);
|
|
12412
|
+
if (u !== false)
|
|
12413
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12414
|
+
}
|
|
12415
|
+
}
|
|
12416
|
+
return message;
|
|
10764
12417
|
}
|
|
10765
12418
|
internalBinaryWrite(message: ResourceKVAPI_Delete_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
10766
12419
|
let u = options.writeUnknownFields;
|
|
@@ -10785,7 +12438,20 @@ class ResourceKVAPI_SetFlag$Type extends MessageType<ResourceKVAPI_SetFlag> {
|
|
|
10785
12438
|
return message;
|
|
10786
12439
|
}
|
|
10787
12440
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceKVAPI_SetFlag): ResourceKVAPI_SetFlag {
|
|
10788
|
-
|
|
12441
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12442
|
+
while (reader.pos < end) {
|
|
12443
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12444
|
+
switch (fieldNo) {
|
|
12445
|
+
default:
|
|
12446
|
+
let u = options.readUnknownField;
|
|
12447
|
+
if (u === "throw")
|
|
12448
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12449
|
+
let d = reader.skip(wireType);
|
|
12450
|
+
if (u !== false)
|
|
12451
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12452
|
+
}
|
|
12453
|
+
}
|
|
12454
|
+
return message;
|
|
10789
12455
|
}
|
|
10790
12456
|
internalBinaryWrite(message: ResourceKVAPI_SetFlag, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
10791
12457
|
let u = options.writeUnknownFields;
|
|
@@ -10873,7 +12539,20 @@ class ResourceKVAPI_SetFlag_Response$Type extends MessageType<ResourceKVAPI_SetF
|
|
|
10873
12539
|
return message;
|
|
10874
12540
|
}
|
|
10875
12541
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceKVAPI_SetFlag_Response): ResourceKVAPI_SetFlag_Response {
|
|
10876
|
-
|
|
12542
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12543
|
+
while (reader.pos < end) {
|
|
12544
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12545
|
+
switch (fieldNo) {
|
|
12546
|
+
default:
|
|
12547
|
+
let u = options.readUnknownField;
|
|
12548
|
+
if (u === "throw")
|
|
12549
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12550
|
+
let d = reader.skip(wireType);
|
|
12551
|
+
if (u !== false)
|
|
12552
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12553
|
+
}
|
|
12554
|
+
}
|
|
12555
|
+
return message;
|
|
10877
12556
|
}
|
|
10878
12557
|
internalBinaryWrite(message: ResourceKVAPI_SetFlag_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
10879
12558
|
let u = options.writeUnknownFields;
|
|
@@ -10898,7 +12577,20 @@ class ResourceKVAPI_GetFlag$Type extends MessageType<ResourceKVAPI_GetFlag> {
|
|
|
10898
12577
|
return message;
|
|
10899
12578
|
}
|
|
10900
12579
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceKVAPI_GetFlag): ResourceKVAPI_GetFlag {
|
|
10901
|
-
|
|
12580
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12581
|
+
while (reader.pos < end) {
|
|
12582
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12583
|
+
switch (fieldNo) {
|
|
12584
|
+
default:
|
|
12585
|
+
let u = options.readUnknownField;
|
|
12586
|
+
if (u === "throw")
|
|
12587
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12588
|
+
let d = reader.skip(wireType);
|
|
12589
|
+
if (u !== false)
|
|
12590
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12591
|
+
}
|
|
12592
|
+
}
|
|
12593
|
+
return message;
|
|
10902
12594
|
}
|
|
10903
12595
|
internalBinaryWrite(message: ResourceKVAPI_GetFlag, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
10904
12596
|
let u = options.writeUnknownFields;
|
|
@@ -11025,7 +12717,20 @@ class ControllerKVAPI$Type extends MessageType<ControllerKVAPI> {
|
|
|
11025
12717
|
return message;
|
|
11026
12718
|
}
|
|
11027
12719
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerKVAPI): ControllerKVAPI {
|
|
11028
|
-
|
|
12720
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12721
|
+
while (reader.pos < end) {
|
|
12722
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12723
|
+
switch (fieldNo) {
|
|
12724
|
+
default:
|
|
12725
|
+
let u = options.readUnknownField;
|
|
12726
|
+
if (u === "throw")
|
|
12727
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12728
|
+
let d = reader.skip(wireType);
|
|
12729
|
+
if (u !== false)
|
|
12730
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12731
|
+
}
|
|
12732
|
+
}
|
|
12733
|
+
return message;
|
|
11029
12734
|
}
|
|
11030
12735
|
internalBinaryWrite(message: ControllerKVAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
11031
12736
|
let u = options.writeUnknownFields;
|
|
@@ -11050,7 +12755,20 @@ class ControllerKVAPI_Set$Type extends MessageType<ControllerKVAPI_Set> {
|
|
|
11050
12755
|
return message;
|
|
11051
12756
|
}
|
|
11052
12757
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerKVAPI_Set): ControllerKVAPI_Set {
|
|
11053
|
-
|
|
12758
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12759
|
+
while (reader.pos < end) {
|
|
12760
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12761
|
+
switch (fieldNo) {
|
|
12762
|
+
default:
|
|
12763
|
+
let u = options.readUnknownField;
|
|
12764
|
+
if (u === "throw")
|
|
12765
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12766
|
+
let d = reader.skip(wireType);
|
|
12767
|
+
if (u !== false)
|
|
12768
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12769
|
+
}
|
|
12770
|
+
}
|
|
12771
|
+
return message;
|
|
11054
12772
|
}
|
|
11055
12773
|
internalBinaryWrite(message: ControllerKVAPI_Set, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
11056
12774
|
let u = options.writeUnknownFields;
|
|
@@ -11138,7 +12856,20 @@ class ControllerKVAPI_Set_Response$Type extends MessageType<ControllerKVAPI_Set_
|
|
|
11138
12856
|
return message;
|
|
11139
12857
|
}
|
|
11140
12858
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerKVAPI_Set_Response): ControllerKVAPI_Set_Response {
|
|
11141
|
-
|
|
12859
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12860
|
+
while (reader.pos < end) {
|
|
12861
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12862
|
+
switch (fieldNo) {
|
|
12863
|
+
default:
|
|
12864
|
+
let u = options.readUnknownField;
|
|
12865
|
+
if (u === "throw")
|
|
12866
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12867
|
+
let d = reader.skip(wireType);
|
|
12868
|
+
if (u !== false)
|
|
12869
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12870
|
+
}
|
|
12871
|
+
}
|
|
12872
|
+
return message;
|
|
11142
12873
|
}
|
|
11143
12874
|
internalBinaryWrite(message: ControllerKVAPI_Set_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
11144
12875
|
let u = options.writeUnknownFields;
|
|
@@ -11163,7 +12894,20 @@ class ControllerKVAPI_Get$Type extends MessageType<ControllerKVAPI_Get> {
|
|
|
11163
12894
|
return message;
|
|
11164
12895
|
}
|
|
11165
12896
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerKVAPI_Get): ControllerKVAPI_Get {
|
|
11166
|
-
|
|
12897
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12898
|
+
while (reader.pos < end) {
|
|
12899
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12900
|
+
switch (fieldNo) {
|
|
12901
|
+
default:
|
|
12902
|
+
let u = options.readUnknownField;
|
|
12903
|
+
if (u === "throw")
|
|
12904
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12905
|
+
let d = reader.skip(wireType);
|
|
12906
|
+
if (u !== false)
|
|
12907
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12908
|
+
}
|
|
12909
|
+
}
|
|
12910
|
+
return message;
|
|
11167
12911
|
}
|
|
11168
12912
|
internalBinaryWrite(message: ControllerKVAPI_Get, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
11169
12913
|
let u = options.writeUnknownFields;
|
|
@@ -11290,7 +13034,20 @@ class ControllerKVAPI_GetIfExists$Type extends MessageType<ControllerKVAPI_GetIf
|
|
|
11290
13034
|
return message;
|
|
11291
13035
|
}
|
|
11292
13036
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerKVAPI_GetIfExists): ControllerKVAPI_GetIfExists {
|
|
11293
|
-
|
|
13037
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13038
|
+
while (reader.pos < end) {
|
|
13039
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13040
|
+
switch (fieldNo) {
|
|
13041
|
+
default:
|
|
13042
|
+
let u = options.readUnknownField;
|
|
13043
|
+
if (u === "throw")
|
|
13044
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13045
|
+
let d = reader.skip(wireType);
|
|
13046
|
+
if (u !== false)
|
|
13047
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13048
|
+
}
|
|
13049
|
+
}
|
|
13050
|
+
return message;
|
|
11294
13051
|
}
|
|
11295
13052
|
internalBinaryWrite(message: ControllerKVAPI_GetIfExists, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
11296
13053
|
let u = options.writeUnknownFields;
|
|
@@ -11425,7 +13182,20 @@ class CacheAPI$Type extends MessageType<CacheAPI> {
|
|
|
11425
13182
|
return message;
|
|
11426
13183
|
}
|
|
11427
13184
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CacheAPI): CacheAPI {
|
|
11428
|
-
|
|
13185
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13186
|
+
while (reader.pos < end) {
|
|
13187
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13188
|
+
switch (fieldNo) {
|
|
13189
|
+
default:
|
|
13190
|
+
let u = options.readUnknownField;
|
|
13191
|
+
if (u === "throw")
|
|
13192
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13193
|
+
let d = reader.skip(wireType);
|
|
13194
|
+
if (u !== false)
|
|
13195
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13196
|
+
}
|
|
13197
|
+
}
|
|
13198
|
+
return message;
|
|
11429
13199
|
}
|
|
11430
13200
|
internalBinaryWrite(message: CacheAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
11431
13201
|
let u = options.writeUnknownFields;
|
|
@@ -11450,7 +13220,20 @@ class CacheAPI_SetToField$Type extends MessageType<CacheAPI_SetToField> {
|
|
|
11450
13220
|
return message;
|
|
11451
13221
|
}
|
|
11452
13222
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CacheAPI_SetToField): CacheAPI_SetToField {
|
|
11453
|
-
|
|
13223
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13224
|
+
while (reader.pos < end) {
|
|
13225
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13226
|
+
switch (fieldNo) {
|
|
13227
|
+
default:
|
|
13228
|
+
let u = options.readUnknownField;
|
|
13229
|
+
if (u === "throw")
|
|
13230
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13231
|
+
let d = reader.skip(wireType);
|
|
13232
|
+
if (u !== false)
|
|
13233
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13234
|
+
}
|
|
13235
|
+
}
|
|
13236
|
+
return message;
|
|
11454
13237
|
}
|
|
11455
13238
|
internalBinaryWrite(message: CacheAPI_SetToField, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
11456
13239
|
let u = options.writeUnknownFields;
|
|
@@ -11528,7 +13311,20 @@ class CacheAPI_SetToField_Response$Type extends MessageType<CacheAPI_SetToField_
|
|
|
11528
13311
|
return message;
|
|
11529
13312
|
}
|
|
11530
13313
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CacheAPI_SetToField_Response): CacheAPI_SetToField_Response {
|
|
11531
|
-
|
|
13314
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13315
|
+
while (reader.pos < end) {
|
|
13316
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13317
|
+
switch (fieldNo) {
|
|
13318
|
+
default:
|
|
13319
|
+
let u = options.readUnknownField;
|
|
13320
|
+
if (u === "throw")
|
|
13321
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13322
|
+
let d = reader.skip(wireType);
|
|
13323
|
+
if (u !== false)
|
|
13324
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13325
|
+
}
|
|
13326
|
+
}
|
|
13327
|
+
return message;
|
|
11532
13328
|
}
|
|
11533
13329
|
internalBinaryWrite(message: CacheAPI_SetToField_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
11534
13330
|
let u = options.writeUnknownFields;
|
|
@@ -11553,7 +13349,20 @@ class CacheAPI_DeleteExpiredRecords$Type extends MessageType<CacheAPI_DeleteExpi
|
|
|
11553
13349
|
return message;
|
|
11554
13350
|
}
|
|
11555
13351
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CacheAPI_DeleteExpiredRecords): CacheAPI_DeleteExpiredRecords {
|
|
11556
|
-
|
|
13352
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13353
|
+
while (reader.pos < end) {
|
|
13354
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13355
|
+
switch (fieldNo) {
|
|
13356
|
+
default:
|
|
13357
|
+
let u = options.readUnknownField;
|
|
13358
|
+
if (u === "throw")
|
|
13359
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13360
|
+
let d = reader.skip(wireType);
|
|
13361
|
+
if (u !== false)
|
|
13362
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13363
|
+
}
|
|
13364
|
+
}
|
|
13365
|
+
return message;
|
|
11557
13366
|
}
|
|
11558
13367
|
internalBinaryWrite(message: CacheAPI_DeleteExpiredRecords, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
11559
13368
|
let u = options.writeUnknownFields;
|
|
@@ -11577,9 +13386,22 @@ class CacheAPI_DeleteExpiredRecords_Request$Type extends MessageType<CacheAPI_De
|
|
|
11577
13386
|
reflectionMergePartial<CacheAPI_DeleteExpiredRecords_Request>(this, message, value);
|
|
11578
13387
|
return message;
|
|
11579
13388
|
}
|
|
11580
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CacheAPI_DeleteExpiredRecords_Request): CacheAPI_DeleteExpiredRecords_Request {
|
|
11581
|
-
|
|
11582
|
-
|
|
13389
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CacheAPI_DeleteExpiredRecords_Request): CacheAPI_DeleteExpiredRecords_Request {
|
|
13390
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13391
|
+
while (reader.pos < end) {
|
|
13392
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13393
|
+
switch (fieldNo) {
|
|
13394
|
+
default:
|
|
13395
|
+
let u = options.readUnknownField;
|
|
13396
|
+
if (u === "throw")
|
|
13397
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13398
|
+
let d = reader.skip(wireType);
|
|
13399
|
+
if (u !== false)
|
|
13400
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13401
|
+
}
|
|
13402
|
+
}
|
|
13403
|
+
return message;
|
|
13404
|
+
}
|
|
11583
13405
|
internalBinaryWrite(message: CacheAPI_DeleteExpiredRecords_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
11584
13406
|
let u = options.writeUnknownFields;
|
|
11585
13407
|
if (u !== false)
|
|
@@ -11603,7 +13425,20 @@ class CacheAPI_DeleteExpiredRecords_Response$Type extends MessageType<CacheAPI_D
|
|
|
11603
13425
|
return message;
|
|
11604
13426
|
}
|
|
11605
13427
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CacheAPI_DeleteExpiredRecords_Response): CacheAPI_DeleteExpiredRecords_Response {
|
|
11606
|
-
|
|
13428
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13429
|
+
while (reader.pos < end) {
|
|
13430
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13431
|
+
switch (fieldNo) {
|
|
13432
|
+
default:
|
|
13433
|
+
let u = options.readUnknownField;
|
|
13434
|
+
if (u === "throw")
|
|
13435
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13436
|
+
let d = reader.skip(wireType);
|
|
13437
|
+
if (u !== false)
|
|
13438
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13439
|
+
}
|
|
13440
|
+
}
|
|
13441
|
+
return message;
|
|
11607
13442
|
}
|
|
11608
13443
|
internalBinaryWrite(message: CacheAPI_DeleteExpiredRecords_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
11609
13444
|
let u = options.writeUnknownFields;
|
|
@@ -11628,7 +13463,20 @@ class LocksAPI$Type extends MessageType<LocksAPI> {
|
|
|
11628
13463
|
return message;
|
|
11629
13464
|
}
|
|
11630
13465
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LocksAPI): LocksAPI {
|
|
11631
|
-
|
|
13466
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13467
|
+
while (reader.pos < end) {
|
|
13468
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13469
|
+
switch (fieldNo) {
|
|
13470
|
+
default:
|
|
13471
|
+
let u = options.readUnknownField;
|
|
13472
|
+
if (u === "throw")
|
|
13473
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13474
|
+
let d = reader.skip(wireType);
|
|
13475
|
+
if (u !== false)
|
|
13476
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13477
|
+
}
|
|
13478
|
+
}
|
|
13479
|
+
return message;
|
|
11632
13480
|
}
|
|
11633
13481
|
internalBinaryWrite(message: LocksAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
11634
13482
|
let u = options.writeUnknownFields;
|
|
@@ -11653,7 +13501,20 @@ class LocksAPI_Lease$Type extends MessageType<LocksAPI_Lease> {
|
|
|
11653
13501
|
return message;
|
|
11654
13502
|
}
|
|
11655
13503
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LocksAPI_Lease): LocksAPI_Lease {
|
|
11656
|
-
|
|
13504
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13505
|
+
while (reader.pos < end) {
|
|
13506
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13507
|
+
switch (fieldNo) {
|
|
13508
|
+
default:
|
|
13509
|
+
let u = options.readUnknownField;
|
|
13510
|
+
if (u === "throw")
|
|
13511
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13512
|
+
let d = reader.skip(wireType);
|
|
13513
|
+
if (u !== false)
|
|
13514
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13515
|
+
}
|
|
13516
|
+
}
|
|
13517
|
+
return message;
|
|
11657
13518
|
}
|
|
11658
13519
|
internalBinaryWrite(message: LocksAPI_Lease, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
11659
13520
|
let u = options.writeUnknownFields;
|
|
@@ -11678,7 +13539,20 @@ class LocksAPI_Lease_Create$Type extends MessageType<LocksAPI_Lease_Create> {
|
|
|
11678
13539
|
return message;
|
|
11679
13540
|
}
|
|
11680
13541
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LocksAPI_Lease_Create): LocksAPI_Lease_Create {
|
|
11681
|
-
|
|
13542
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13543
|
+
while (reader.pos < end) {
|
|
13544
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13545
|
+
switch (fieldNo) {
|
|
13546
|
+
default:
|
|
13547
|
+
let u = options.readUnknownField;
|
|
13548
|
+
if (u === "throw")
|
|
13549
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13550
|
+
let d = reader.skip(wireType);
|
|
13551
|
+
if (u !== false)
|
|
13552
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13553
|
+
}
|
|
13554
|
+
}
|
|
13555
|
+
return message;
|
|
11682
13556
|
}
|
|
11683
13557
|
internalBinaryWrite(message: LocksAPI_Lease_Create, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
11684
13558
|
let u = options.writeUnknownFields;
|
|
@@ -11812,7 +13686,20 @@ class LocksAPI_Lease_Update$Type extends MessageType<LocksAPI_Lease_Update> {
|
|
|
11812
13686
|
return message;
|
|
11813
13687
|
}
|
|
11814
13688
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LocksAPI_Lease_Update): LocksAPI_Lease_Update {
|
|
11815
|
-
|
|
13689
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13690
|
+
while (reader.pos < end) {
|
|
13691
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13692
|
+
switch (fieldNo) {
|
|
13693
|
+
default:
|
|
13694
|
+
let u = options.readUnknownField;
|
|
13695
|
+
if (u === "throw")
|
|
13696
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13697
|
+
let d = reader.skip(wireType);
|
|
13698
|
+
if (u !== false)
|
|
13699
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13700
|
+
}
|
|
13701
|
+
}
|
|
13702
|
+
return message;
|
|
11816
13703
|
}
|
|
11817
13704
|
internalBinaryWrite(message: LocksAPI_Lease_Update, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
11818
13705
|
let u = options.writeUnknownFields;
|
|
@@ -11907,7 +13794,20 @@ class LocksAPI_Lease_Update_Response$Type extends MessageType<LocksAPI_Lease_Upd
|
|
|
11907
13794
|
return message;
|
|
11908
13795
|
}
|
|
11909
13796
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LocksAPI_Lease_Update_Response): LocksAPI_Lease_Update_Response {
|
|
11910
|
-
|
|
13797
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13798
|
+
while (reader.pos < end) {
|
|
13799
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13800
|
+
switch (fieldNo) {
|
|
13801
|
+
default:
|
|
13802
|
+
let u = options.readUnknownField;
|
|
13803
|
+
if (u === "throw")
|
|
13804
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13805
|
+
let d = reader.skip(wireType);
|
|
13806
|
+
if (u !== false)
|
|
13807
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13808
|
+
}
|
|
13809
|
+
}
|
|
13810
|
+
return message;
|
|
11911
13811
|
}
|
|
11912
13812
|
internalBinaryWrite(message: LocksAPI_Lease_Update_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
11913
13813
|
let u = options.writeUnknownFields;
|
|
@@ -11932,7 +13832,20 @@ class LocksAPI_Lease_Release$Type extends MessageType<LocksAPI_Lease_Release> {
|
|
|
11932
13832
|
return message;
|
|
11933
13833
|
}
|
|
11934
13834
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LocksAPI_Lease_Release): LocksAPI_Lease_Release {
|
|
11935
|
-
|
|
13835
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13836
|
+
while (reader.pos < end) {
|
|
13837
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13838
|
+
switch (fieldNo) {
|
|
13839
|
+
default:
|
|
13840
|
+
let u = options.readUnknownField;
|
|
13841
|
+
if (u === "throw")
|
|
13842
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13843
|
+
let d = reader.skip(wireType);
|
|
13844
|
+
if (u !== false)
|
|
13845
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13846
|
+
}
|
|
13847
|
+
}
|
|
13848
|
+
return message;
|
|
11936
13849
|
}
|
|
11937
13850
|
internalBinaryWrite(message: LocksAPI_Lease_Release, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
11938
13851
|
let u = options.writeUnknownFields;
|
|
@@ -12012,7 +13925,20 @@ class LocksAPI_Lease_Release_Response$Type extends MessageType<LocksAPI_Lease_Re
|
|
|
12012
13925
|
return message;
|
|
12013
13926
|
}
|
|
12014
13927
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LocksAPI_Lease_Release_Response): LocksAPI_Lease_Release_Response {
|
|
12015
|
-
|
|
13928
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13929
|
+
while (reader.pos < end) {
|
|
13930
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13931
|
+
switch (fieldNo) {
|
|
13932
|
+
default:
|
|
13933
|
+
let u = options.readUnknownField;
|
|
13934
|
+
if (u === "throw")
|
|
13935
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13936
|
+
let d = reader.skip(wireType);
|
|
13937
|
+
if (u !== false)
|
|
13938
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13939
|
+
}
|
|
13940
|
+
}
|
|
13941
|
+
return message;
|
|
12016
13942
|
}
|
|
12017
13943
|
internalBinaryWrite(message: LocksAPI_Lease_Release_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
12018
13944
|
let u = options.writeUnknownFields;
|
|
@@ -12037,7 +13963,20 @@ class AuthAPI$Type extends MessageType<AuthAPI> {
|
|
|
12037
13963
|
return message;
|
|
12038
13964
|
}
|
|
12039
13965
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI): AuthAPI {
|
|
12040
|
-
|
|
13966
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
13967
|
+
while (reader.pos < end) {
|
|
13968
|
+
let [fieldNo, wireType] = reader.tag();
|
|
13969
|
+
switch (fieldNo) {
|
|
13970
|
+
default:
|
|
13971
|
+
let u = options.readUnknownField;
|
|
13972
|
+
if (u === "throw")
|
|
13973
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
13974
|
+
let d = reader.skip(wireType);
|
|
13975
|
+
if (u !== false)
|
|
13976
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13977
|
+
}
|
|
13978
|
+
}
|
|
13979
|
+
return message;
|
|
12041
13980
|
}
|
|
12042
13981
|
internalBinaryWrite(message: AuthAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
12043
13982
|
let u = options.writeUnknownFields;
|
|
@@ -12062,7 +14001,20 @@ class AuthAPI_ListMethods$Type extends MessageType<AuthAPI_ListMethods> {
|
|
|
12062
14001
|
return message;
|
|
12063
14002
|
}
|
|
12064
14003
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_ListMethods): AuthAPI_ListMethods {
|
|
12065
|
-
|
|
14004
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14005
|
+
while (reader.pos < end) {
|
|
14006
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14007
|
+
switch (fieldNo) {
|
|
14008
|
+
default:
|
|
14009
|
+
let u = options.readUnknownField;
|
|
14010
|
+
if (u === "throw")
|
|
14011
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14012
|
+
let d = reader.skip(wireType);
|
|
14013
|
+
if (u !== false)
|
|
14014
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14015
|
+
}
|
|
14016
|
+
}
|
|
14017
|
+
return message;
|
|
12066
14018
|
}
|
|
12067
14019
|
internalBinaryWrite(message: AuthAPI_ListMethods, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
12068
14020
|
let u = options.writeUnknownFields;
|
|
@@ -12087,7 +14039,20 @@ class AuthAPI_ListMethods_Request$Type extends MessageType<AuthAPI_ListMethods_R
|
|
|
12087
14039
|
return message;
|
|
12088
14040
|
}
|
|
12089
14041
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_ListMethods_Request): AuthAPI_ListMethods_Request {
|
|
12090
|
-
|
|
14042
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14043
|
+
while (reader.pos < end) {
|
|
14044
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14045
|
+
switch (fieldNo) {
|
|
14046
|
+
default:
|
|
14047
|
+
let u = options.readUnknownField;
|
|
14048
|
+
if (u === "throw")
|
|
14049
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14050
|
+
let d = reader.skip(wireType);
|
|
14051
|
+
if (u !== false)
|
|
14052
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14053
|
+
}
|
|
14054
|
+
}
|
|
14055
|
+
return message;
|
|
12091
14056
|
}
|
|
12092
14057
|
internalBinaryWrite(message: AuthAPI_ListMethods_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
12093
14058
|
let u = options.writeUnknownFields;
|
|
@@ -12238,7 +14203,20 @@ class AuthAPI_GetJWTToken$Type extends MessageType<AuthAPI_GetJWTToken> {
|
|
|
12238
14203
|
return message;
|
|
12239
14204
|
}
|
|
12240
14205
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuthAPI_GetJWTToken): AuthAPI_GetJWTToken {
|
|
12241
|
-
|
|
14206
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14207
|
+
while (reader.pos < end) {
|
|
14208
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14209
|
+
switch (fieldNo) {
|
|
14210
|
+
default:
|
|
14211
|
+
let u = options.readUnknownField;
|
|
14212
|
+
if (u === "throw")
|
|
14213
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14214
|
+
let d = reader.skip(wireType);
|
|
14215
|
+
if (u !== false)
|
|
14216
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14217
|
+
}
|
|
14218
|
+
}
|
|
14219
|
+
return message;
|
|
12242
14220
|
}
|
|
12243
14221
|
internalBinaryWrite(message: AuthAPI_GetJWTToken, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
12244
14222
|
let u = options.writeUnknownFields;
|
|
@@ -12356,7 +14334,20 @@ class MiscAPI$Type extends MessageType<MiscAPI> {
|
|
|
12356
14334
|
return message;
|
|
12357
14335
|
}
|
|
12358
14336
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MiscAPI): MiscAPI {
|
|
12359
|
-
|
|
14337
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14338
|
+
while (reader.pos < end) {
|
|
14339
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14340
|
+
switch (fieldNo) {
|
|
14341
|
+
default:
|
|
14342
|
+
let u = options.readUnknownField;
|
|
14343
|
+
if (u === "throw")
|
|
14344
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14345
|
+
let d = reader.skip(wireType);
|
|
14346
|
+
if (u !== false)
|
|
14347
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14348
|
+
}
|
|
14349
|
+
}
|
|
14350
|
+
return message;
|
|
12360
14351
|
}
|
|
12361
14352
|
internalBinaryWrite(message: MiscAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
12362
14353
|
let u = options.writeUnknownFields;
|
|
@@ -12381,7 +14372,20 @@ class MiscAPI_ListResourceTypes$Type extends MessageType<MiscAPI_ListResourceTyp
|
|
|
12381
14372
|
return message;
|
|
12382
14373
|
}
|
|
12383
14374
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MiscAPI_ListResourceTypes): MiscAPI_ListResourceTypes {
|
|
12384
|
-
|
|
14375
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14376
|
+
while (reader.pos < end) {
|
|
14377
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14378
|
+
switch (fieldNo) {
|
|
14379
|
+
default:
|
|
14380
|
+
let u = options.readUnknownField;
|
|
14381
|
+
if (u === "throw")
|
|
14382
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14383
|
+
let d = reader.skip(wireType);
|
|
14384
|
+
if (u !== false)
|
|
14385
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14386
|
+
}
|
|
14387
|
+
}
|
|
14388
|
+
return message;
|
|
12385
14389
|
}
|
|
12386
14390
|
internalBinaryWrite(message: MiscAPI_ListResourceTypes, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
12387
14391
|
let u = options.writeUnknownFields;
|
|
@@ -12406,7 +14410,20 @@ class MiscAPI_ListResourceTypes_Request$Type extends MessageType<MiscAPI_ListRes
|
|
|
12406
14410
|
return message;
|
|
12407
14411
|
}
|
|
12408
14412
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MiscAPI_ListResourceTypes_Request): MiscAPI_ListResourceTypes_Request {
|
|
12409
|
-
|
|
14413
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14414
|
+
while (reader.pos < end) {
|
|
14415
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14416
|
+
switch (fieldNo) {
|
|
14417
|
+
default:
|
|
14418
|
+
let u = options.readUnknownField;
|
|
14419
|
+
if (u === "throw")
|
|
14420
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14421
|
+
let d = reader.skip(wireType);
|
|
14422
|
+
if (u !== false)
|
|
14423
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14424
|
+
}
|
|
14425
|
+
}
|
|
14426
|
+
return message;
|
|
12410
14427
|
}
|
|
12411
14428
|
internalBinaryWrite(message: MiscAPI_ListResourceTypes_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
12412
14429
|
let u = options.writeUnknownFields;
|
|
@@ -12478,7 +14495,20 @@ class MaintenanceAPI$Type extends MessageType<MaintenanceAPI> {
|
|
|
12478
14495
|
return message;
|
|
12479
14496
|
}
|
|
12480
14497
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MaintenanceAPI): MaintenanceAPI {
|
|
12481
|
-
|
|
14498
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14499
|
+
while (reader.pos < end) {
|
|
14500
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14501
|
+
switch (fieldNo) {
|
|
14502
|
+
default:
|
|
14503
|
+
let u = options.readUnknownField;
|
|
14504
|
+
if (u === "throw")
|
|
14505
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14506
|
+
let d = reader.skip(wireType);
|
|
14507
|
+
if (u !== false)
|
|
14508
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14509
|
+
}
|
|
14510
|
+
}
|
|
14511
|
+
return message;
|
|
12482
14512
|
}
|
|
12483
14513
|
internalBinaryWrite(message: MaintenanceAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
12484
14514
|
let u = options.writeUnknownFields;
|
|
@@ -12503,7 +14533,20 @@ class MaintenanceAPI_Ping$Type extends MessageType<MaintenanceAPI_Ping> {
|
|
|
12503
14533
|
return message;
|
|
12504
14534
|
}
|
|
12505
14535
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MaintenanceAPI_Ping): MaintenanceAPI_Ping {
|
|
12506
|
-
|
|
14536
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14537
|
+
while (reader.pos < end) {
|
|
14538
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14539
|
+
switch (fieldNo) {
|
|
14540
|
+
default:
|
|
14541
|
+
let u = options.readUnknownField;
|
|
14542
|
+
if (u === "throw")
|
|
14543
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14544
|
+
let d = reader.skip(wireType);
|
|
14545
|
+
if (u !== false)
|
|
14546
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14547
|
+
}
|
|
14548
|
+
}
|
|
14549
|
+
return message;
|
|
12507
14550
|
}
|
|
12508
14551
|
internalBinaryWrite(message: MaintenanceAPI_Ping, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
12509
14552
|
let u = options.writeUnknownFields;
|
|
@@ -12528,7 +14571,20 @@ class MaintenanceAPI_Ping_Request$Type extends MessageType<MaintenanceAPI_Ping_R
|
|
|
12528
14571
|
return message;
|
|
12529
14572
|
}
|
|
12530
14573
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MaintenanceAPI_Ping_Request): MaintenanceAPI_Ping_Request {
|
|
12531
|
-
|
|
14574
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14575
|
+
while (reader.pos < end) {
|
|
14576
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14577
|
+
switch (fieldNo) {
|
|
14578
|
+
default:
|
|
14579
|
+
let u = options.readUnknownField;
|
|
14580
|
+
if (u === "throw")
|
|
14581
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14582
|
+
let d = reader.skip(wireType);
|
|
14583
|
+
if (u !== false)
|
|
14584
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14585
|
+
}
|
|
14586
|
+
}
|
|
14587
|
+
return message;
|
|
12532
14588
|
}
|
|
12533
14589
|
internalBinaryWrite(message: MaintenanceAPI_Ping_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
12534
14590
|
let u = options.writeUnknownFields;
|