@milaboratories/pl-client 2.17.7 → 2.17.9
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/_virtual/_rolldown/runtime.cjs +43 -0
- package/dist/_virtual/_rolldown/runtime.js +18 -0
- package/dist/core/PromiseTracker.cjs +33 -33
- package/dist/core/PromiseTracker.cjs.map +1 -1
- package/dist/core/PromiseTracker.d.ts +10 -7
- package/dist/core/PromiseTracker.js +33 -31
- package/dist/core/PromiseTracker.js.map +1 -1
- package/dist/core/StatefulPromise.cjs +60 -61
- package/dist/core/StatefulPromise.cjs.map +1 -1
- package/dist/core/StatefulPromise.js +60 -60
- package/dist/core/StatefulPromise.js.map +1 -1
- package/dist/core/abstract_stream.d.ts +18 -15
- package/dist/core/advisory_locks.cjs +42 -49
- package/dist/core/advisory_locks.cjs.map +1 -1
- package/dist/core/advisory_locks.js +42 -48
- package/dist/core/advisory_locks.js.map +1 -1
- package/dist/core/auth.cjs +10 -15
- package/dist/core/auth.cjs.map +1 -1
- package/dist/core/auth.d.ts +7 -3
- package/dist/core/auth.js +10 -13
- package/dist/core/auth.js.map +1 -1
- package/dist/core/cache.d.ts +11 -7
- package/dist/core/client.cjs +255 -306
- package/dist/core/client.cjs.map +1 -1
- package/dist/core/client.d.ts +72 -68
- package/dist/core/client.js +253 -285
- package/dist/core/client.js.map +1 -1
- package/dist/core/config.cjs +81 -99
- package/dist/core/config.cjs.map +1 -1
- package/dist/core/config.d.ts +93 -90
- package/dist/core/config.js +81 -98
- package/dist/core/config.js.map +1 -1
- package/dist/core/default_client.cjs +84 -125
- package/dist/core/default_client.cjs.map +1 -1
- package/dist/core/default_client.d.ts +9 -6
- package/dist/core/default_client.js +78 -103
- package/dist/core/default_client.js.map +1 -1
- package/dist/core/driver.cjs +12 -16
- package/dist/core/driver.cjs.map +1 -1
- package/dist/core/driver.d.ts +18 -14
- package/dist/core/driver.js +12 -15
- package/dist/core/driver.js.map +1 -1
- package/dist/core/error_resource.cjs +5 -4
- package/dist/core/error_resource.cjs.map +1 -1
- package/dist/core/error_resource.js +5 -3
- package/dist/core/error_resource.js.map +1 -1
- package/dist/core/errors.cjs +104 -140
- package/dist/core/errors.cjs.map +1 -1
- package/dist/core/errors.d.ts +34 -30
- package/dist/core/errors.js +102 -137
- package/dist/core/errors.js.map +1 -1
- package/dist/core/final.cjs +63 -89
- package/dist/core/final.cjs.map +1 -1
- package/dist/core/final.d.ts +8 -4
- package/dist/core/final.js +63 -87
- package/dist/core/final.js.map +1 -1
- package/dist/core/ll_client.cjs +416 -521
- package/dist/core/ll_client.cjs.map +1 -1
- package/dist/core/ll_client.d.ts +100 -97
- package/dist/core/ll_client.js +415 -519
- package/dist/core/ll_client.js.map +1 -1
- package/dist/core/ll_transaction.cjs +206 -240
- package/dist/core/ll_transaction.cjs.map +1 -1
- package/dist/core/ll_transaction.d.ts +50 -52
- package/dist/core/ll_transaction.js +205 -238
- package/dist/core/ll_transaction.js.map +1 -1
- package/dist/core/stat.cjs +64 -63
- package/dist/core/stat.cjs.map +1 -1
- package/dist/core/stat.d.ts +35 -36
- package/dist/core/stat.js +64 -62
- package/dist/core/stat.js.map +1 -1
- package/dist/core/transaction.cjs +613 -650
- package/dist/core/transaction.cjs.map +1 -1
- package/dist/core/transaction.d.ts +165 -162
- package/dist/core/transaction.js +612 -648
- package/dist/core/transaction.js.map +1 -1
- package/dist/core/type_conversion.cjs +62 -83
- package/dist/core/type_conversion.cjs.map +1 -1
- package/dist/core/type_conversion.js +61 -81
- package/dist/core/type_conversion.js.map +1 -1
- package/dist/core/types.cjs +56 -86
- package/dist/core/types.cjs.map +1 -1
- package/dist/core/types.d.ts +63 -62
- package/dist/core/types.js +54 -83
- package/dist/core/types.js.map +1 -1
- package/dist/core/unauth_client.cjs +35 -41
- package/dist/core/unauth_client.cjs.map +1 -1
- package/dist/core/unauth_client.d.ts +18 -14
- package/dist/core/unauth_client.js +34 -39
- package/dist/core/unauth_client.js.map +1 -1
- package/dist/core/websocket_stream.cjs +280 -349
- package/dist/core/websocket_stream.cjs.map +1 -1
- package/dist/core/websocket_stream.js +278 -347
- package/dist/core/websocket_stream.js.map +1 -1
- package/dist/core/wire.d.ts +21 -17
- package/dist/helpers/pl.cjs +71 -73
- package/dist/helpers/pl.cjs.map +1 -1
- package/dist/helpers/pl.d.ts +40 -41
- package/dist/helpers/pl.js +66 -46
- package/dist/helpers/pl.js.map +1 -1
- package/dist/helpers/poll.cjs +99 -134
- package/dist/helpers/poll.cjs.map +1 -1
- package/dist/helpers/poll.d.ts +37 -34
- package/dist/helpers/poll.js +97 -113
- package/dist/helpers/poll.js.map +1 -1
- package/dist/helpers/retry_strategy.cjs +82 -87
- package/dist/helpers/retry_strategy.cjs.map +1 -1
- package/dist/helpers/retry_strategy.js +83 -86
- package/dist/helpers/retry_strategy.js.map +1 -1
- package/dist/helpers/tx_helpers.cjs +21 -20
- package/dist/helpers/tx_helpers.cjs.map +1 -1
- package/dist/helpers/tx_helpers.d.ts +11 -7
- package/dist/helpers/tx_helpers.js +20 -18
- package/dist/helpers/tx_helpers.js.map +1 -1
- package/dist/index.cjs +117 -106
- package/dist/index.d.ts +17 -17
- package/dist/index.js +17 -19
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.cjs +72 -66
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.cjs.map +1 -1
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.d.ts +35 -37
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.js +71 -64
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +12611 -12866
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs +226 -226
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +281 -330
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js +225 -224
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +2640 -4294
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js +12608 -12706
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs +1230 -1089
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +393 -420
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.js +1228 -1083
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs +142 -143
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +62 -64
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.js +140 -141
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.js.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs +572 -487
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs.map +1 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +125 -228
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js +572 -485
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js.map +1 -1
- package/dist/proto-grpc/google/protobuf/any.cjs +131 -146
- package/dist/proto-grpc/google/protobuf/any.cjs.map +1 -1
- package/dist/proto-grpc/google/protobuf/any.d.ts +78 -84
- package/dist/proto-grpc/google/protobuf/any.js +130 -144
- package/dist/proto-grpc/google/protobuf/any.js.map +1 -1
- package/dist/proto-grpc/google/protobuf/duration.cjs +92 -100
- package/dist/proto-grpc/google/protobuf/duration.cjs.map +1 -1
- package/dist/proto-grpc/google/protobuf/duration.d.ts +38 -43
- package/dist/proto-grpc/google/protobuf/duration.js +91 -98
- package/dist/proto-grpc/google/protobuf/duration.js.map +1 -1
- package/dist/proto-grpc/google/protobuf/timestamp.cjs +117 -128
- package/dist/proto-grpc/google/protobuf/timestamp.cjs.map +1 -1
- package/dist/proto-grpc/google/protobuf/timestamp.d.ts +50 -55
- package/dist/proto-grpc/google/protobuf/timestamp.js +116 -126
- package/dist/proto-grpc/google/protobuf/timestamp.js.map +1 -1
- package/dist/proto-grpc/google/rpc/code.cjs +223 -238
- package/dist/proto-grpc/google/rpc/code.cjs.map +1 -1
- package/dist/proto-grpc/google/rpc/code.d.ts +209 -206
- package/dist/proto-grpc/google/rpc/code.js +221 -237
- package/dist/proto-grpc/google/rpc/code.js.map +1 -1
- package/dist/proto-rest/index.cjs +67 -66
- package/dist/proto-rest/index.cjs.map +1 -1
- package/dist/proto-rest/index.d.ts +24 -18
- package/dist/proto-rest/index.js +61 -65
- package/dist/proto-rest/index.js.map +1 -1
- package/dist/proto-rest/plapi.d.ts +1400 -1477
- package/dist/test/tcp-proxy.cjs +100 -126
- package/dist/test/tcp-proxy.cjs.map +1 -1
- package/dist/test/tcp-proxy.d.ts +17 -13
- package/dist/test/tcp-proxy.js +97 -104
- package/dist/test/tcp-proxy.js.map +1 -1
- package/dist/test/test_config.cjs +145 -194
- package/dist/test/test_config.cjs.map +1 -1
- package/dist/test/test_config.d.ts +34 -30
- package/dist/test/test_config.js +138 -166
- package/dist/test/test_config.js.map +1 -1
- package/dist/util/pl.cjs +4 -3
- package/dist/util/pl.cjs.map +1 -1
- package/dist/util/pl.js +4 -2
- package/dist/util/pl.js.map +1 -1
- package/dist/util/util.cjs +7 -10
- package/dist/util/util.cjs.map +1 -1
- package/dist/util/util.js +7 -9
- package/dist/util/util.js.map +1 -1
- package/package.json +8 -8
- package/src/core/errors.ts +1 -1
- package/src/core/transaction.ts +123 -133
- package/src/core/websocket_stream.ts +10 -1
- package/dist/__external/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3/__external/tslib/tslib.es6.cjs +0 -61
- package/dist/__external/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3/__external/tslib/tslib.es6.cjs.map +0 -1
- package/dist/__external/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3/__external/tslib/tslib.es6.js +0 -58
- package/dist/__external/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.52.4_tslib@2.8.1_typescript@5.6.3/__external/tslib/tslib.es6.js.map +0 -1
- package/dist/core/PromiseTracker.d.ts.map +0 -1
- package/dist/core/StatefulPromise.d.ts +0 -39
- package/dist/core/StatefulPromise.d.ts.map +0 -1
- package/dist/core/abstract_stream.d.ts.map +0 -1
- package/dist/core/advisory_locks.d.ts +0 -10
- package/dist/core/advisory_locks.d.ts.map +0 -1
- package/dist/core/auth.d.ts.map +0 -1
- package/dist/core/cache.d.ts.map +0 -1
- package/dist/core/client.d.ts.map +0 -1
- package/dist/core/config.d.ts.map +0 -1
- package/dist/core/default_client.d.ts.map +0 -1
- package/dist/core/driver.d.ts.map +0 -1
- package/dist/core/error_resource.d.ts +0 -6
- package/dist/core/error_resource.d.ts.map +0 -1
- package/dist/core/errors.d.ts.map +0 -1
- package/dist/core/final.d.ts.map +0 -1
- package/dist/core/ll_client.d.ts.map +0 -1
- package/dist/core/ll_transaction.d.ts.map +0 -1
- package/dist/core/stat.d.ts.map +0 -1
- package/dist/core/transaction.d.ts.map +0 -1
- package/dist/core/type_conversion.d.ts +0 -8
- package/dist/core/type_conversion.d.ts.map +0 -1
- package/dist/core/types.d.ts.map +0 -1
- package/dist/core/unauth_client.d.ts.map +0 -1
- package/dist/core/websocket_stream.d.ts +0 -67
- package/dist/core/websocket_stream.d.ts.map +0 -1
- package/dist/core/wire.d.ts.map +0 -1
- package/dist/helpers/pl.d.ts.map +0 -1
- package/dist/helpers/poll.d.ts.map +0 -1
- package/dist/helpers/retry_strategy.d.ts +0 -24
- package/dist/helpers/retry_strategy.d.ts.map +0 -1
- package/dist/helpers/state_helpers.d.ts +0 -3
- package/dist/helpers/state_helpers.d.ts.map +0 -1
- package/dist/helpers/tx_helpers.d.ts.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +0 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +0 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +0 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +0 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +0 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +0 -106
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +0 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +0 -1
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/ws-test.d.ts +0 -73
- package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/ws-test.d.ts.map +0 -1
- package/dist/proto-grpc/google/api/http.d.ts +0 -456
- package/dist/proto-grpc/google/api/http.d.ts.map +0 -1
- package/dist/proto-grpc/google/protobuf/any.d.ts.map +0 -1
- package/dist/proto-grpc/google/protobuf/descriptor.d.ts +0 -2340
- package/dist/proto-grpc/google/protobuf/descriptor.d.ts.map +0 -1
- package/dist/proto-grpc/google/protobuf/duration.d.ts.map +0 -1
- package/dist/proto-grpc/google/protobuf/empty.d.ts +0 -32
- package/dist/proto-grpc/google/protobuf/empty.d.ts.map +0 -1
- package/dist/proto-grpc/google/protobuf/struct.d.ts +0 -187
- package/dist/proto-grpc/google/protobuf/struct.d.ts.map +0 -1
- package/dist/proto-grpc/google/protobuf/timestamp.d.ts.map +0 -1
- package/dist/proto-grpc/google/protobuf/wrappers.d.ts +0 -308
- package/dist/proto-grpc/google/protobuf/wrappers.d.ts.map +0 -1
- package/dist/proto-grpc/google/rpc/code.d.ts.map +0 -1
- package/dist/proto-grpc/google/rpc/error_details.d.ts +0 -654
- package/dist/proto-grpc/google/rpc/error_details.d.ts.map +0 -1
- package/dist/proto-grpc/google/rpc/http.d.ts +0 -121
- package/dist/proto-grpc/google/rpc/http.d.ts.map +0 -1
- package/dist/proto-grpc/google/rpc/status.d.ts +0 -55
- package/dist/proto-grpc/google/rpc/status.d.ts.map +0 -1
- package/dist/proto-rest/index.d.ts.map +0 -1
- package/dist/proto-rest/plapi.d.ts.map +0 -1
- package/dist/test/tcp-proxy.d.ts.map +0 -1
- package/dist/test/test_config.d.ts.map +0 -1
- package/dist/util/branding.d.ts +0 -7
- package/dist/util/branding.d.ts.map +0 -1
- package/dist/util/pl.d.ts +0 -9
- package/dist/util/pl.d.ts.map +0 -1
- package/dist/util/util.d.ts +0 -2
- package/dist/util/util.d.ts.map +0 -1
|
@@ -1,496 +1,583 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ResourceType } from "./base_types.js";
|
|
2
|
+
import { MessageType, UnknownFieldHandler, WireType, reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}
|
|
4
|
+
//#region src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts
|
|
5
|
+
var Number$$Type = class extends MessageType {
|
|
6
|
+
constructor() {
|
|
7
|
+
super("MiLaboratories.PL.RTypes.Number", [
|
|
8
|
+
{
|
|
9
|
+
no: 1,
|
|
10
|
+
name: "int32",
|
|
11
|
+
kind: "scalar",
|
|
12
|
+
oneof: "value",
|
|
13
|
+
T: 5
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
no: 2,
|
|
17
|
+
name: "uint32",
|
|
18
|
+
kind: "scalar",
|
|
19
|
+
oneof: "value",
|
|
20
|
+
T: 13
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
no: 3,
|
|
24
|
+
name: "int64",
|
|
25
|
+
kind: "scalar",
|
|
26
|
+
oneof: "value",
|
|
27
|
+
T: 3,
|
|
28
|
+
L: 0
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
no: 4,
|
|
32
|
+
name: "uint64",
|
|
33
|
+
kind: "scalar",
|
|
34
|
+
oneof: "value",
|
|
35
|
+
T: 4,
|
|
36
|
+
L: 0
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
no: 5,
|
|
40
|
+
name: "float",
|
|
41
|
+
kind: "scalar",
|
|
42
|
+
oneof: "value",
|
|
43
|
+
T: 2
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
no: 6,
|
|
47
|
+
name: "double",
|
|
48
|
+
kind: "scalar",
|
|
49
|
+
oneof: "value",
|
|
50
|
+
T: 1
|
|
51
|
+
}
|
|
52
|
+
]);
|
|
53
|
+
}
|
|
54
|
+
create(value) {
|
|
55
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
56
|
+
message.value = { oneofKind: void 0 };
|
|
57
|
+
if (value !== void 0) reflectionMergePartial(this, message, value);
|
|
58
|
+
return message;
|
|
59
|
+
}
|
|
60
|
+
internalBinaryRead(reader, length, options, target) {
|
|
61
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
62
|
+
while (reader.pos < end) {
|
|
63
|
+
let [fieldNo, wireType] = reader.tag();
|
|
64
|
+
switch (fieldNo) {
|
|
65
|
+
case 1:
|
|
66
|
+
message.value = {
|
|
67
|
+
oneofKind: "int32",
|
|
68
|
+
int32: reader.int32()
|
|
69
|
+
};
|
|
70
|
+
break;
|
|
71
|
+
case 2:
|
|
72
|
+
message.value = {
|
|
73
|
+
oneofKind: "uint32",
|
|
74
|
+
uint32: reader.uint32()
|
|
75
|
+
};
|
|
76
|
+
break;
|
|
77
|
+
case 3:
|
|
78
|
+
message.value = {
|
|
79
|
+
oneofKind: "int64",
|
|
80
|
+
int64: reader.int64().toBigInt()
|
|
81
|
+
};
|
|
82
|
+
break;
|
|
83
|
+
case 4:
|
|
84
|
+
message.value = {
|
|
85
|
+
oneofKind: "uint64",
|
|
86
|
+
uint64: reader.uint64().toBigInt()
|
|
87
|
+
};
|
|
88
|
+
break;
|
|
89
|
+
case 5:
|
|
90
|
+
message.value = {
|
|
91
|
+
oneofKind: "float",
|
|
92
|
+
float: reader.float()
|
|
93
|
+
};
|
|
94
|
+
break;
|
|
95
|
+
case 6:
|
|
96
|
+
message.value = {
|
|
97
|
+
oneofKind: "double",
|
|
98
|
+
double: reader.double()
|
|
99
|
+
};
|
|
100
|
+
break;
|
|
101
|
+
default:
|
|
102
|
+
let u = options.readUnknownField;
|
|
103
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
104
|
+
let d = reader.skip(wireType);
|
|
105
|
+
if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
return message;
|
|
109
|
+
}
|
|
110
|
+
internalBinaryWrite(message, writer, options) {
|
|
111
|
+
if (message.value.oneofKind === "int32") writer.tag(1, WireType.Varint).int32(message.value.int32);
|
|
112
|
+
if (message.value.oneofKind === "uint32") writer.tag(2, WireType.Varint).uint32(message.value.uint32);
|
|
113
|
+
if (message.value.oneofKind === "int64") writer.tag(3, WireType.Varint).int64(message.value.int64);
|
|
114
|
+
if (message.value.oneofKind === "uint64") writer.tag(4, WireType.Varint).uint64(message.value.uint64);
|
|
115
|
+
if (message.value.oneofKind === "float") writer.tag(5, WireType.Bit32).float(message.value.float);
|
|
116
|
+
if (message.value.oneofKind === "double") writer.tag(6, WireType.Bit64).double(message.value.double);
|
|
117
|
+
let u = options.writeUnknownFields;
|
|
118
|
+
if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
119
|
+
return writer;
|
|
120
|
+
}
|
|
121
|
+
};
|
|
100
122
|
/**
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
new Number$$Type();
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
144
|
-
return writer;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
123
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.RTypes.Number
|
|
124
|
+
*/
|
|
125
|
+
const Number$ = new Number$$Type();
|
|
126
|
+
var ControllerSettings$Type = class extends MessageType {
|
|
127
|
+
constructor() {
|
|
128
|
+
super("MiLaboratories.PL.RTypes.ControllerSettings", [{
|
|
129
|
+
no: 1,
|
|
130
|
+
name: "type",
|
|
131
|
+
kind: "scalar",
|
|
132
|
+
T: 9
|
|
133
|
+
}]);
|
|
134
|
+
}
|
|
135
|
+
create(value) {
|
|
136
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
137
|
+
message.type = "";
|
|
138
|
+
if (value !== void 0) reflectionMergePartial(this, message, value);
|
|
139
|
+
return message;
|
|
140
|
+
}
|
|
141
|
+
internalBinaryRead(reader, length, options, target) {
|
|
142
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
143
|
+
while (reader.pos < end) {
|
|
144
|
+
let [fieldNo, wireType] = reader.tag();
|
|
145
|
+
switch (fieldNo) {
|
|
146
|
+
case 1:
|
|
147
|
+
message.type = reader.string();
|
|
148
|
+
break;
|
|
149
|
+
default:
|
|
150
|
+
let u = options.readUnknownField;
|
|
151
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
152
|
+
let d = reader.skip(wireType);
|
|
153
|
+
if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
return message;
|
|
157
|
+
}
|
|
158
|
+
internalBinaryWrite(message, writer, options) {
|
|
159
|
+
if (message.type !== "") writer.tag(1, WireType.LengthDelimited).string(message.type);
|
|
160
|
+
let u = options.writeUnknownFields;
|
|
161
|
+
if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
162
|
+
return writer;
|
|
163
|
+
}
|
|
164
|
+
};
|
|
147
165
|
/**
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
new ControllerSettings$Type();
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
}
|
|
166
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.RTypes.ControllerSettings
|
|
167
|
+
*/
|
|
168
|
+
const ControllerSettings = new ControllerSettings$Type();
|
|
169
|
+
var SubscriptionSettings$Type = class extends MessageType {
|
|
170
|
+
constructor() {
|
|
171
|
+
super("MiLaboratories.PL.RTypes.SubscriptionSettings", [{
|
|
172
|
+
no: 1,
|
|
173
|
+
name: "blocking",
|
|
174
|
+
kind: "scalar",
|
|
175
|
+
T: 8
|
|
176
|
+
}, {
|
|
177
|
+
no: 2,
|
|
178
|
+
name: "randomizer",
|
|
179
|
+
kind: "scalar",
|
|
180
|
+
T: 4,
|
|
181
|
+
L: 0
|
|
182
|
+
}]);
|
|
183
|
+
}
|
|
184
|
+
create(value) {
|
|
185
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
186
|
+
message.blocking = false;
|
|
187
|
+
message.randomizer = 0n;
|
|
188
|
+
if (value !== void 0) reflectionMergePartial(this, message, value);
|
|
189
|
+
return message;
|
|
190
|
+
}
|
|
191
|
+
internalBinaryRead(reader, length, options, target) {
|
|
192
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
193
|
+
while (reader.pos < end) {
|
|
194
|
+
let [fieldNo, wireType] = reader.tag();
|
|
195
|
+
switch (fieldNo) {
|
|
196
|
+
case 1:
|
|
197
|
+
message.blocking = reader.bool();
|
|
198
|
+
break;
|
|
199
|
+
case 2:
|
|
200
|
+
message.randomizer = reader.uint64().toBigInt();
|
|
201
|
+
break;
|
|
202
|
+
default:
|
|
203
|
+
let u = options.readUnknownField;
|
|
204
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
205
|
+
let d = reader.skip(wireType);
|
|
206
|
+
if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
return message;
|
|
210
|
+
}
|
|
211
|
+
internalBinaryWrite(message, writer, options) {
|
|
212
|
+
if (message.blocking !== false) writer.tag(1, WireType.Varint).bool(message.blocking);
|
|
213
|
+
if (message.randomizer !== 0n) writer.tag(2, WireType.Varint).uint64(message.randomizer);
|
|
214
|
+
let u = options.writeUnknownFields;
|
|
215
|
+
if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
216
|
+
return writer;
|
|
217
|
+
}
|
|
218
|
+
};
|
|
202
219
|
/**
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
new SubscriptionSettings$Type();
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
}
|
|
220
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.RTypes.SubscriptionSettings
|
|
221
|
+
*/
|
|
222
|
+
const SubscriptionSettings = new SubscriptionSettings$Type();
|
|
223
|
+
var NotificationFilter$Type = class extends MessageType {
|
|
224
|
+
constructor() {
|
|
225
|
+
super("MiLaboratories.PL.RTypes.NotificationFilter", [
|
|
226
|
+
{
|
|
227
|
+
no: 1,
|
|
228
|
+
name: "resource_type",
|
|
229
|
+
kind: "message",
|
|
230
|
+
oneof: "resourceFilter",
|
|
231
|
+
T: () => ResourceType
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
no: 7,
|
|
235
|
+
name: "resource_id",
|
|
236
|
+
kind: "scalar",
|
|
237
|
+
oneof: "resourceFilter",
|
|
238
|
+
T: 4,
|
|
239
|
+
L: 0
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
no: 8,
|
|
243
|
+
name: "event_filter",
|
|
244
|
+
kind: "message",
|
|
245
|
+
T: () => NotificationFilter_EventFilter
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
no: 9,
|
|
249
|
+
name: "payload",
|
|
250
|
+
kind: "message",
|
|
251
|
+
T: () => NotificationFilter_Payload
|
|
252
|
+
}
|
|
253
|
+
]);
|
|
254
|
+
}
|
|
255
|
+
create(value) {
|
|
256
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
257
|
+
message.resourceFilter = { oneofKind: void 0 };
|
|
258
|
+
if (value !== void 0) reflectionMergePartial(this, message, value);
|
|
259
|
+
return message;
|
|
260
|
+
}
|
|
261
|
+
internalBinaryRead(reader, length, options, target) {
|
|
262
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
263
|
+
while (reader.pos < end) {
|
|
264
|
+
let [fieldNo, wireType] = reader.tag();
|
|
265
|
+
switch (fieldNo) {
|
|
266
|
+
case 1:
|
|
267
|
+
message.resourceFilter = {
|
|
268
|
+
oneofKind: "resourceType",
|
|
269
|
+
resourceType: ResourceType.internalBinaryRead(reader, reader.uint32(), options, message.resourceFilter.resourceType)
|
|
270
|
+
};
|
|
271
|
+
break;
|
|
272
|
+
case 7:
|
|
273
|
+
message.resourceFilter = {
|
|
274
|
+
oneofKind: "resourceId",
|
|
275
|
+
resourceId: reader.uint64().toBigInt()
|
|
276
|
+
};
|
|
277
|
+
break;
|
|
278
|
+
case 8:
|
|
279
|
+
message.eventFilter = NotificationFilter_EventFilter.internalBinaryRead(reader, reader.uint32(), options, message.eventFilter);
|
|
280
|
+
break;
|
|
281
|
+
case 9:
|
|
282
|
+
message.payload = NotificationFilter_Payload.internalBinaryRead(reader, reader.uint32(), options, message.payload);
|
|
283
|
+
break;
|
|
284
|
+
default:
|
|
285
|
+
let u = options.readUnknownField;
|
|
286
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
287
|
+
let d = reader.skip(wireType);
|
|
288
|
+
if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
return message;
|
|
292
|
+
}
|
|
293
|
+
internalBinaryWrite(message, writer, options) {
|
|
294
|
+
if (message.resourceFilter.oneofKind === "resourceType") ResourceType.internalBinaryWrite(message.resourceFilter.resourceType, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
295
|
+
if (message.resourceFilter.oneofKind === "resourceId") writer.tag(7, WireType.Varint).uint64(message.resourceFilter.resourceId);
|
|
296
|
+
if (message.eventFilter) NotificationFilter_EventFilter.internalBinaryWrite(message.eventFilter, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
297
|
+
if (message.payload) NotificationFilter_Payload.internalBinaryWrite(message.payload, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
|
298
|
+
let u = options.writeUnknownFields;
|
|
299
|
+
if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
300
|
+
return writer;
|
|
301
|
+
}
|
|
302
|
+
};
|
|
276
303
|
/**
|
|
277
|
-
|
|
278
|
-
|
|
304
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.RTypes.NotificationFilter
|
|
305
|
+
*/
|
|
279
306
|
const NotificationFilter = new NotificationFilter$Type();
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
307
|
+
var NotificationFilter_EventFilter$Type = class extends MessageType {
|
|
308
|
+
constructor() {
|
|
309
|
+
super("MiLaboratories.PL.RTypes.NotificationFilter.EventFilter", [
|
|
310
|
+
{
|
|
311
|
+
no: 1,
|
|
312
|
+
name: "all",
|
|
313
|
+
kind: "scalar",
|
|
314
|
+
opt: true,
|
|
315
|
+
T: 8
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
no: 2,
|
|
319
|
+
name: "resource_created",
|
|
320
|
+
kind: "scalar",
|
|
321
|
+
opt: true,
|
|
322
|
+
T: 8
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
no: 3,
|
|
326
|
+
name: "resource_deleted",
|
|
327
|
+
kind: "scalar",
|
|
328
|
+
opt: true,
|
|
329
|
+
T: 8
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
no: 5,
|
|
333
|
+
name: "resource_ready",
|
|
334
|
+
kind: "scalar",
|
|
335
|
+
opt: true,
|
|
336
|
+
T: 8
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
no: 6,
|
|
340
|
+
name: "resource_duplicate",
|
|
341
|
+
kind: "scalar",
|
|
342
|
+
opt: true,
|
|
343
|
+
T: 8
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
no: 16,
|
|
347
|
+
name: "resource_error",
|
|
348
|
+
kind: "scalar",
|
|
349
|
+
opt: true,
|
|
350
|
+
T: 8
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
no: 13,
|
|
354
|
+
name: "inputs_locked",
|
|
355
|
+
kind: "scalar",
|
|
356
|
+
opt: true,
|
|
357
|
+
T: 8
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
no: 14,
|
|
361
|
+
name: "outputs_locked",
|
|
362
|
+
kind: "scalar",
|
|
363
|
+
opt: true,
|
|
364
|
+
T: 8
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
no: 12,
|
|
368
|
+
name: "field_created",
|
|
369
|
+
kind: "scalar",
|
|
370
|
+
opt: true,
|
|
371
|
+
T: 8
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
no: 17,
|
|
375
|
+
name: "field_got_error",
|
|
376
|
+
kind: "scalar",
|
|
377
|
+
opt: true,
|
|
378
|
+
T: 8
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
no: 7,
|
|
382
|
+
name: "input_set",
|
|
383
|
+
kind: "scalar",
|
|
384
|
+
opt: true,
|
|
385
|
+
T: 8
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
no: 8,
|
|
389
|
+
name: "all_inputs_set",
|
|
390
|
+
kind: "scalar",
|
|
391
|
+
opt: true,
|
|
392
|
+
T: 8
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
no: 9,
|
|
396
|
+
name: "output_set",
|
|
397
|
+
kind: "scalar",
|
|
398
|
+
opt: true,
|
|
399
|
+
T: 8
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
no: 10,
|
|
403
|
+
name: "all_outputs_set",
|
|
404
|
+
kind: "scalar",
|
|
405
|
+
opt: true,
|
|
406
|
+
T: 8
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
no: 15,
|
|
410
|
+
name: "generic_otw_set",
|
|
411
|
+
kind: "scalar",
|
|
412
|
+
opt: true,
|
|
413
|
+
T: 8
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
no: 11,
|
|
417
|
+
name: "dynamic_changed",
|
|
418
|
+
kind: "scalar",
|
|
419
|
+
opt: true,
|
|
420
|
+
T: 8
|
|
421
|
+
}
|
|
422
|
+
]);
|
|
423
|
+
}
|
|
424
|
+
create(value) {
|
|
425
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
426
|
+
if (value !== void 0) reflectionMergePartial(this, message, value);
|
|
427
|
+
return message;
|
|
428
|
+
}
|
|
429
|
+
internalBinaryRead(reader, length, options, target) {
|
|
430
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
431
|
+
while (reader.pos < end) {
|
|
432
|
+
let [fieldNo, wireType] = reader.tag();
|
|
433
|
+
switch (fieldNo) {
|
|
434
|
+
case 1:
|
|
435
|
+
message.all = reader.bool();
|
|
436
|
+
break;
|
|
437
|
+
case 2:
|
|
438
|
+
message.resourceCreated = reader.bool();
|
|
439
|
+
break;
|
|
440
|
+
case 3:
|
|
441
|
+
message.resourceDeleted = reader.bool();
|
|
442
|
+
break;
|
|
443
|
+
case 5:
|
|
444
|
+
message.resourceReady = reader.bool();
|
|
445
|
+
break;
|
|
446
|
+
case 6:
|
|
447
|
+
message.resourceDuplicate = reader.bool();
|
|
448
|
+
break;
|
|
449
|
+
case 16:
|
|
450
|
+
message.resourceError = reader.bool();
|
|
451
|
+
break;
|
|
452
|
+
case 13:
|
|
453
|
+
message.inputsLocked = reader.bool();
|
|
454
|
+
break;
|
|
455
|
+
case 14:
|
|
456
|
+
message.outputsLocked = reader.bool();
|
|
457
|
+
break;
|
|
458
|
+
case 12:
|
|
459
|
+
message.fieldCreated = reader.bool();
|
|
460
|
+
break;
|
|
461
|
+
case 17:
|
|
462
|
+
message.fieldGotError = reader.bool();
|
|
463
|
+
break;
|
|
464
|
+
case 7:
|
|
465
|
+
message.inputSet = reader.bool();
|
|
466
|
+
break;
|
|
467
|
+
case 8:
|
|
468
|
+
message.allInputsSet = reader.bool();
|
|
469
|
+
break;
|
|
470
|
+
case 9:
|
|
471
|
+
message.outputSet = reader.bool();
|
|
472
|
+
break;
|
|
473
|
+
case 10:
|
|
474
|
+
message.allOutputsSet = reader.bool();
|
|
475
|
+
break;
|
|
476
|
+
case 15:
|
|
477
|
+
message.genericOtwSet = reader.bool();
|
|
478
|
+
break;
|
|
479
|
+
case 11:
|
|
480
|
+
message.dynamicChanged = reader.bool();
|
|
481
|
+
break;
|
|
482
|
+
default:
|
|
483
|
+
let u = options.readUnknownField;
|
|
484
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
485
|
+
let d = reader.skip(wireType);
|
|
486
|
+
if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
return message;
|
|
490
|
+
}
|
|
491
|
+
internalBinaryWrite(message, writer, options) {
|
|
492
|
+
if (message.all !== void 0) writer.tag(1, WireType.Varint).bool(message.all);
|
|
493
|
+
if (message.resourceCreated !== void 0) writer.tag(2, WireType.Varint).bool(message.resourceCreated);
|
|
494
|
+
if (message.resourceDeleted !== void 0) writer.tag(3, WireType.Varint).bool(message.resourceDeleted);
|
|
495
|
+
if (message.resourceReady !== void 0) writer.tag(5, WireType.Varint).bool(message.resourceReady);
|
|
496
|
+
if (message.resourceDuplicate !== void 0) writer.tag(6, WireType.Varint).bool(message.resourceDuplicate);
|
|
497
|
+
if (message.inputSet !== void 0) writer.tag(7, WireType.Varint).bool(message.inputSet);
|
|
498
|
+
if (message.allInputsSet !== void 0) writer.tag(8, WireType.Varint).bool(message.allInputsSet);
|
|
499
|
+
if (message.outputSet !== void 0) writer.tag(9, WireType.Varint).bool(message.outputSet);
|
|
500
|
+
if (message.allOutputsSet !== void 0) writer.tag(10, WireType.Varint).bool(message.allOutputsSet);
|
|
501
|
+
if (message.dynamicChanged !== void 0) writer.tag(11, WireType.Varint).bool(message.dynamicChanged);
|
|
502
|
+
if (message.fieldCreated !== void 0) writer.tag(12, WireType.Varint).bool(message.fieldCreated);
|
|
503
|
+
if (message.inputsLocked !== void 0) writer.tag(13, WireType.Varint).bool(message.inputsLocked);
|
|
504
|
+
if (message.outputsLocked !== void 0) writer.tag(14, WireType.Varint).bool(message.outputsLocked);
|
|
505
|
+
if (message.genericOtwSet !== void 0) writer.tag(15, WireType.Varint).bool(message.genericOtwSet);
|
|
506
|
+
if (message.resourceError !== void 0) writer.tag(16, WireType.Varint).bool(message.resourceError);
|
|
507
|
+
if (message.fieldGotError !== void 0) writer.tag(17, WireType.Varint).bool(message.fieldGotError);
|
|
508
|
+
let u = options.writeUnknownFields;
|
|
509
|
+
if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
510
|
+
return writer;
|
|
511
|
+
}
|
|
512
|
+
};
|
|
427
513
|
/**
|
|
428
|
-
|
|
429
|
-
|
|
514
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.RTypes.NotificationFilter.EventFilter
|
|
515
|
+
*/
|
|
430
516
|
const NotificationFilter_EventFilter = new NotificationFilter_EventFilter$Type();
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
}
|
|
517
|
+
var NotificationFilter_Payload$Type = class extends MessageType {
|
|
518
|
+
constructor() {
|
|
519
|
+
super("MiLaboratories.PL.RTypes.NotificationFilter.Payload", [{
|
|
520
|
+
no: 1,
|
|
521
|
+
name: "values",
|
|
522
|
+
kind: "map",
|
|
523
|
+
K: 9,
|
|
524
|
+
V: {
|
|
525
|
+
kind: "scalar",
|
|
526
|
+
T: 12
|
|
527
|
+
}
|
|
528
|
+
}]);
|
|
529
|
+
}
|
|
530
|
+
create(value) {
|
|
531
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
532
|
+
message.values = {};
|
|
533
|
+
if (value !== void 0) reflectionMergePartial(this, message, value);
|
|
534
|
+
return message;
|
|
535
|
+
}
|
|
536
|
+
internalBinaryRead(reader, length, options, target) {
|
|
537
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
538
|
+
while (reader.pos < end) {
|
|
539
|
+
let [fieldNo, wireType] = reader.tag();
|
|
540
|
+
switch (fieldNo) {
|
|
541
|
+
case 1:
|
|
542
|
+
this.binaryReadMap1(message.values, reader, options);
|
|
543
|
+
break;
|
|
544
|
+
default:
|
|
545
|
+
let u = options.readUnknownField;
|
|
546
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
547
|
+
let d = reader.skip(wireType);
|
|
548
|
+
if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
return message;
|
|
552
|
+
}
|
|
553
|
+
binaryReadMap1(map, reader, options) {
|
|
554
|
+
let len = reader.uint32(), end = reader.pos + len, key, val;
|
|
555
|
+
while (reader.pos < end) {
|
|
556
|
+
let [fieldNo, wireType] = reader.tag();
|
|
557
|
+
switch (fieldNo) {
|
|
558
|
+
case 1:
|
|
559
|
+
key = reader.string();
|
|
560
|
+
break;
|
|
561
|
+
case 2:
|
|
562
|
+
val = reader.bytes();
|
|
563
|
+
break;
|
|
564
|
+
default: throw new globalThis.Error("unknown map entry field for MiLaboratories.PL.RTypes.NotificationFilter.Payload.values");
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
map[key ?? ""] = val ?? new Uint8Array(0);
|
|
568
|
+
}
|
|
569
|
+
internalBinaryWrite(message, writer, options) {
|
|
570
|
+
for (let k of globalThis.Object.keys(message.values)) writer.tag(1, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).bytes(message.values[k]).join();
|
|
571
|
+
let u = options.writeUnknownFields;
|
|
572
|
+
if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
573
|
+
return writer;
|
|
574
|
+
}
|
|
575
|
+
};
|
|
490
576
|
/**
|
|
491
|
-
|
|
492
|
-
|
|
577
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.RTypes.NotificationFilter.Payload
|
|
578
|
+
*/
|
|
493
579
|
const NotificationFilter_Payload = new NotificationFilter_Payload$Type();
|
|
494
580
|
|
|
495
|
-
|
|
496
|
-
|
|
581
|
+
//#endregion
|
|
582
|
+
export { NotificationFilter, NotificationFilter_Payload };
|
|
583
|
+
//# sourceMappingURL=resource_types.js.map
|