@milaboratories/pl-client 2.7.12 → 2.7.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/auth.d.ts.map +1 -1
- package/dist/core/cache.d.ts.map +1 -1
- package/dist/core/client.d.ts +1 -1
- package/dist/core/client.d.ts.map +1 -1
- package/dist/core/default_client.d.ts.map +1 -1
- package/dist/core/driver.d.ts.map +1 -1
- package/dist/core/errors.d.ts.map +1 -1
- package/dist/core/final.d.ts.map +1 -1
- package/dist/core/ll_client.d.ts.map +1 -1
- package/dist/core/ll_transaction.d.ts.map +1 -1
- package/dist/core/transaction.d.ts +1 -1
- package/dist/core/transaction.d.ts.map +1 -1
- package/dist/core/type_conversion.d.ts.map +1 -1
- package/dist/core/types.d.ts +1 -1
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/unauth_client.d.ts.map +1 -1
- package/dist/helpers/pl.d.ts.map +1 -1
- package/dist/helpers/poll.d.ts.map +1 -1
- package/dist/helpers/state_helpers.d.ts.map +1 -1
- package/dist/helpers/tx_helpers.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4069 -4075
- package/dist/index.mjs.map +1 -1
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts +15 -15
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +4 -4
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +16 -16
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +4 -4
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +59 -59
- 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.client.d.ts +8 -8
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +22 -22
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +72 -72
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +152 -152
- 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.client.d.ts +156 -156
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +773 -773
- 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 +163 -163
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +22 -22
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +32 -32
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +78 -78
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +1 -1
- package/dist/proto/google/api/http.d.ts +89 -89
- package/dist/proto/google/api/http.d.ts.map +1 -1
- package/dist/proto/google/protobuf/any.d.ts +52 -52
- package/dist/proto/google/protobuf/any.d.ts.map +1 -1
- package/dist/proto/google/protobuf/descriptor.d.ts +1151 -1151
- package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/proto/google/protobuf/duration.d.ts +19 -19
- package/dist/proto/google/protobuf/duration.d.ts.map +1 -1
- package/dist/proto/google/protobuf/empty.d.ts.map +1 -1
- package/dist/proto/google/protobuf/struct.d.ts +56 -56
- package/dist/proto/google/protobuf/struct.d.ts.map +1 -1
- package/dist/proto/google/protobuf/timestamp.d.ts +25 -25
- package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -1
- package/dist/proto/google/protobuf/wrappers.d.ts +72 -72
- package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -1
- package/dist/test/test_config.d.ts.map +1 -1
- package/dist/util/util.d.ts.map +1 -1
- package/package.json +17 -13
- package/src/core/auth.ts +3 -3
- package/src/core/cache.ts +1 -1
- package/src/core/client.ts +39 -31
- package/src/core/config.ts +21 -21
- package/src/core/default_client.ts +15 -14
- package/src/core/driver.ts +4 -4
- package/src/core/errors.ts +3 -3
- package/src/core/final.ts +7 -4
- package/src/core/ll_client.ts +31 -27
- package/src/core/ll_transaction.ts +17 -17
- package/src/core/stat.ts +2 -2
- package/src/core/transaction.ts +93 -95
- package/src/core/type_conversion.ts +11 -8
- package/src/core/types.ts +25 -26
- package/src/core/unauth_client.ts +6 -6
- package/src/helpers/pl.ts +8 -7
- package/src/helpers/poll.ts +25 -21
- package/src/helpers/state_helpers.ts +2 -1
- package/src/helpers/tx_helpers.ts +4 -3
- package/src/proto/github.com/googleapis/googleapis/google/rpc/status.ts +74 -71
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +21 -20
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +240 -225
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +21 -20
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +290 -275
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +32 -30
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +388 -364
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +58 -53
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +490 -469
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +262 -237
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +11751 -11032
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +1155 -1114
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +131 -125
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/import.ts +203 -200
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +559 -540
- package/src/proto/google/api/http.ts +280 -271
- package/src/proto/google/protobuf/any.ts +149 -139
- package/src/proto/google/protobuf/descriptor.ts +2952 -2853
- package/src/proto/google/protobuf/duration.ts +107 -102
- package/src/proto/google/protobuf/empty.ts +41 -38
- package/src/proto/google/protobuf/struct.ts +336 -322
- package/src/proto/google/protobuf/timestamp.ts +131 -123
- package/src/proto/google/protobuf/wrappers.ts +536 -491
- package/src/test/test_config.ts +21 -19
- package/src/util/util.ts +1 -0
|
@@ -1,301 +1,304 @@
|
|
|
1
1
|
// @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
2
2
|
// @generated from protobuf file "github.com/milaboratory/pl/plapi/plapiproto/resource_types.proto" (package "MiLaboratories.PL.RTypes", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
|
-
import type { BinaryWriteOptions } from
|
|
5
|
-
import type { IBinaryWriter } from
|
|
6
|
-
import { WireType } from
|
|
7
|
-
import type { BinaryReadOptions } from
|
|
8
|
-
import type { IBinaryReader } from
|
|
9
|
-
import { UnknownFieldHandler } from
|
|
10
|
-
import type { PartialMessage } from
|
|
11
|
-
import { reflectionMergePartial } from
|
|
12
|
-
import { MessageType } from
|
|
13
|
-
import { ResourceType } from
|
|
4
|
+
import type { BinaryWriteOptions } from '@protobuf-ts/runtime';
|
|
5
|
+
import type { IBinaryWriter } from '@protobuf-ts/runtime';
|
|
6
|
+
import { WireType } from '@protobuf-ts/runtime';
|
|
7
|
+
import type { BinaryReadOptions } from '@protobuf-ts/runtime';
|
|
8
|
+
import type { IBinaryReader } from '@protobuf-ts/runtime';
|
|
9
|
+
import { UnknownFieldHandler } from '@protobuf-ts/runtime';
|
|
10
|
+
import type { PartialMessage } from '@protobuf-ts/runtime';
|
|
11
|
+
import { reflectionMergePartial } from '@protobuf-ts/runtime';
|
|
12
|
+
import { MessageType } from '@protobuf-ts/runtime';
|
|
13
|
+
import { ResourceType } from './base_types';
|
|
14
14
|
/**
|
|
15
15
|
* @generated from protobuf message MiLaboratories.PL.RTypes.Number
|
|
16
16
|
*/
|
|
17
17
|
export interface Number$ {
|
|
18
|
-
|
|
18
|
+
/**
|
|
19
19
|
* @generated from protobuf oneof: value
|
|
20
20
|
*/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
value: {
|
|
22
|
+
oneofKind: 'int32';
|
|
23
|
+
/**
|
|
24
24
|
* @generated from protobuf field: int32 int32 = 1;
|
|
25
25
|
*/
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
int32: number;
|
|
27
|
+
} | {
|
|
28
|
+
oneofKind: 'uint32';
|
|
29
|
+
/**
|
|
30
30
|
* @generated from protobuf field: uint32 uint32 = 2;
|
|
31
31
|
*/
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
uint32: number;
|
|
33
|
+
} | {
|
|
34
|
+
oneofKind: 'int64';
|
|
35
|
+
/**
|
|
36
36
|
* @generated from protobuf field: int64 int64 = 3;
|
|
37
37
|
*/
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
int64: bigint;
|
|
39
|
+
} | {
|
|
40
|
+
oneofKind: 'uint64';
|
|
41
|
+
/**
|
|
42
42
|
* @generated from protobuf field: uint64 uint64 = 4;
|
|
43
43
|
*/
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
uint64: bigint;
|
|
45
|
+
} | {
|
|
46
|
+
oneofKind: 'float';
|
|
47
|
+
/**
|
|
48
48
|
* @generated from protobuf field: float float = 5;
|
|
49
49
|
*/
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
float: number;
|
|
51
|
+
} | {
|
|
52
|
+
oneofKind: 'double';
|
|
53
|
+
/**
|
|
54
54
|
* @generated from protobuf field: double double = 6;
|
|
55
55
|
*/
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
double: number;
|
|
57
|
+
} | {
|
|
58
|
+
oneofKind: undefined;
|
|
59
|
+
};
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
62
|
* @generated from protobuf message MiLaboratories.PL.RTypes.ControllerSettings
|
|
63
63
|
*/
|
|
64
64
|
export interface ControllerSettings {
|
|
65
|
-
|
|
65
|
+
/**
|
|
66
66
|
* @generated from protobuf field: string type = 1;
|
|
67
67
|
*/
|
|
68
|
-
|
|
68
|
+
type: string;
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
71
|
* @generated from protobuf message MiLaboratories.PL.RTypes.SubscriptionSettings
|
|
72
72
|
*/
|
|
73
73
|
export interface SubscriptionSettings {
|
|
74
|
-
|
|
74
|
+
/**
|
|
75
75
|
* @generated from protobuf field: bool blocking = 1;
|
|
76
76
|
*/
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
blocking: boolean;
|
|
78
|
+
/**
|
|
79
79
|
* FIXME: drop this hack once we allow Data in Structural resources
|
|
80
80
|
*
|
|
81
81
|
* @generated from protobuf field: uint64 randomizer = 2;
|
|
82
82
|
*/
|
|
83
|
-
|
|
83
|
+
randomizer: bigint; // dirty hack that makes subscription settings resources unique
|
|
84
84
|
}
|
|
85
85
|
/**
|
|
86
86
|
* @generated from protobuf message MiLaboratories.PL.RTypes.NotificationFilter
|
|
87
87
|
*/
|
|
88
88
|
export interface NotificationFilter {
|
|
89
|
-
|
|
89
|
+
/**
|
|
90
90
|
* @generated from protobuf oneof: resource_filter
|
|
91
91
|
*/
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
resourceFilter: {
|
|
93
|
+
oneofKind: 'resourceType';
|
|
94
|
+
/**
|
|
95
95
|
* @generated from protobuf field: MiLaboratories.PL.Base.ResourceType resource_type = 1;
|
|
96
96
|
*/
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
resourceType: ResourceType;
|
|
98
|
+
} | {
|
|
99
|
+
oneofKind: 'resourceId';
|
|
100
|
+
/**
|
|
101
101
|
* @generated from protobuf field: uint64 resource_id = 7;
|
|
102
102
|
*/
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
103
|
+
resourceId: bigint;
|
|
104
|
+
} | {
|
|
105
|
+
oneofKind: undefined;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
108
|
* @generated from protobuf field: MiLaboratories.PL.RTypes.NotificationFilter.EventFilter event_filter = 8;
|
|
109
109
|
*/
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
eventFilter?: NotificationFilter_EventFilter;
|
|
111
|
+
/**
|
|
112
112
|
* @generated from protobuf field: MiLaboratories.PL.RTypes.NotificationFilter.Payload payload = 9;
|
|
113
113
|
*/
|
|
114
|
-
|
|
114
|
+
payload?: NotificationFilter_Payload;
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
117
|
* @generated from protobuf message MiLaboratories.PL.RTypes.NotificationFilter.EventFilter
|
|
118
118
|
*/
|
|
119
119
|
export interface NotificationFilter_EventFilter {
|
|
120
|
-
|
|
120
|
+
/**
|
|
121
121
|
* @generated from protobuf field: optional bool all = 1;
|
|
122
122
|
*/
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
123
|
+
all?: boolean;
|
|
124
|
+
//
|
|
125
|
+
// Resource events
|
|
126
|
+
//
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
/**
|
|
129
129
|
* @generated from protobuf field: optional bool resource_created = 2;
|
|
130
130
|
*/
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
resourceCreated?: boolean;
|
|
132
|
+
/**
|
|
133
133
|
* @generated from protobuf field: optional bool resource_deleted = 3;
|
|
134
134
|
*/
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
resourceDeleted?: boolean;
|
|
136
|
+
/**
|
|
137
137
|
* @generated from protobuf field: optional bool resource_ready = 5;
|
|
138
138
|
*/
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
resourceReady?: boolean;
|
|
140
|
+
/**
|
|
141
141
|
* @generated from protobuf field: optional bool resource_duplicate = 6;
|
|
142
142
|
*/
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
resourceDuplicate?: boolean;
|
|
144
|
+
/**
|
|
145
145
|
* @generated from protobuf field: optional bool resource_error = 16;
|
|
146
146
|
*/
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
resourceError?: boolean;
|
|
148
|
+
/**
|
|
149
149
|
*
|
|
150
150
|
* Field events
|
|
151
151
|
*
|
|
152
152
|
*
|
|
153
153
|
* @generated from protobuf field: optional bool inputs_locked = 13;
|
|
154
154
|
*/
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
inputsLocked?: boolean;
|
|
156
|
+
/**
|
|
157
157
|
* @generated from protobuf field: optional bool outputs_locked = 14;
|
|
158
158
|
*/
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
outputsLocked?: boolean;
|
|
160
|
+
/**
|
|
161
161
|
* @generated from protobuf field: optional bool field_created = 12;
|
|
162
162
|
*/
|
|
163
|
-
|
|
164
|
-
|
|
163
|
+
fieldCreated?: boolean;
|
|
164
|
+
/**
|
|
165
165
|
* @generated from protobuf field: optional bool field_got_error = 17;
|
|
166
166
|
*/
|
|
167
|
-
|
|
168
|
-
|
|
167
|
+
fieldGotError?: boolean;
|
|
168
|
+
/**
|
|
169
169
|
* @generated from protobuf field: optional bool input_set = 7;
|
|
170
170
|
*/
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
inputSet?: boolean;
|
|
172
|
+
/**
|
|
173
173
|
* @generated from protobuf field: optional bool all_inputs_set = 8;
|
|
174
174
|
*/
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
allInputsSet?: boolean;
|
|
176
|
+
/**
|
|
177
177
|
* @generated from protobuf field: optional bool output_set = 9;
|
|
178
178
|
*/
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
outputSet?: boolean;
|
|
180
|
+
/**
|
|
181
181
|
* @generated from protobuf field: optional bool all_outputs_set = 10;
|
|
182
182
|
*/
|
|
183
|
-
|
|
184
|
-
|
|
183
|
+
allOutputsSet?: boolean;
|
|
184
|
+
/**
|
|
185
185
|
* @generated from protobuf field: optional bool generic_otw_set = 15;
|
|
186
186
|
*/
|
|
187
|
-
|
|
188
|
-
|
|
187
|
+
genericOtwSet?: boolean;
|
|
188
|
+
/**
|
|
189
189
|
* @generated from protobuf field: optional bool dynamic_changed = 11;
|
|
190
190
|
*/
|
|
191
|
-
|
|
191
|
+
dynamicChanged?: boolean;
|
|
192
192
|
}
|
|
193
193
|
/**
|
|
194
194
|
* @generated from protobuf message MiLaboratories.PL.RTypes.NotificationFilter.Payload
|
|
195
195
|
*/
|
|
196
196
|
export interface NotificationFilter_Payload {
|
|
197
|
-
|
|
197
|
+
/**
|
|
198
198
|
* @generated from protobuf field: map<string, bytes> values = 1;
|
|
199
199
|
*/
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
200
|
+
values: {
|
|
201
|
+
[key: string]: Uint8Array;
|
|
202
|
+
};
|
|
203
203
|
}
|
|
204
204
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
205
205
|
class Number$$Type extends MessageType<Number$> {
|
|
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
|
-
internalBinaryWrite(message: Number$, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
276
|
-
/* int32 int32 = 1; */
|
|
277
|
-
if (message.value.oneofKind === "int32")
|
|
278
|
-
writer.tag(1, WireType.Varint).int32(message.value.int32);
|
|
279
|
-
/* uint32 uint32 = 2; */
|
|
280
|
-
if (message.value.oneofKind === "uint32")
|
|
281
|
-
writer.tag(2, WireType.Varint).uint32(message.value.uint32);
|
|
282
|
-
/* int64 int64 = 3; */
|
|
283
|
-
if (message.value.oneofKind === "int64")
|
|
284
|
-
writer.tag(3, WireType.Varint).int64(message.value.int64);
|
|
285
|
-
/* uint64 uint64 = 4; */
|
|
286
|
-
if (message.value.oneofKind === "uint64")
|
|
287
|
-
writer.tag(4, WireType.Varint).uint64(message.value.uint64);
|
|
288
|
-
/* float float = 5; */
|
|
289
|
-
if (message.value.oneofKind === "float")
|
|
290
|
-
writer.tag(5, WireType.Bit32).float(message.value.float);
|
|
291
|
-
/* double double = 6; */
|
|
292
|
-
if (message.value.oneofKind === "double")
|
|
293
|
-
writer.tag(6, WireType.Bit64).double(message.value.double);
|
|
294
|
-
let u = options.writeUnknownFields;
|
|
295
|
-
if (u !== false)
|
|
296
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
297
|
-
return writer;
|
|
206
|
+
constructor() {
|
|
207
|
+
super('MiLaboratories.PL.RTypes.Number', [
|
|
208
|
+
{ no: 1, name: 'int32', kind: 'scalar', oneof: 'value', T: 5 /* ScalarType.INT32 */ },
|
|
209
|
+
{ no: 2, name: 'uint32', kind: 'scalar', oneof: 'value', T: 13 /* ScalarType.UINT32 */ },
|
|
210
|
+
{ no: 3, name: 'int64', kind: 'scalar', oneof: 'value', T: 3 /* ScalarType.INT64 */, L: 0 /* LongType.BIGINT */ },
|
|
211
|
+
{ no: 4, name: 'uint64', kind: 'scalar', oneof: 'value', T: 4 /* ScalarType.UINT64 */, L: 0 /* LongType.BIGINT */ },
|
|
212
|
+
{ no: 5, name: 'float', kind: 'scalar', oneof: 'value', T: 2 /* ScalarType.FLOAT */ },
|
|
213
|
+
{ no: 6, name: 'double', kind: 'scalar', oneof: 'value', T: 1 /* ScalarType.DOUBLE */ },
|
|
214
|
+
]);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
create(value?: PartialMessage<Number$>): Number$ {
|
|
218
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
219
|
+
message.value = { oneofKind: undefined };
|
|
220
|
+
if (value !== undefined)
|
|
221
|
+
reflectionMergePartial<Number$>(this, message, value);
|
|
222
|
+
return message;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Number$): Number$ {
|
|
226
|
+
const message = target ?? this.create(), end = reader.pos + length;
|
|
227
|
+
while (reader.pos < end) {
|
|
228
|
+
const [fieldNo, wireType] = reader.tag();
|
|
229
|
+
switch (fieldNo) {
|
|
230
|
+
case /* int32 int32 */ 1:
|
|
231
|
+
message.value = {
|
|
232
|
+
oneofKind: 'int32',
|
|
233
|
+
int32: reader.int32(),
|
|
234
|
+
};
|
|
235
|
+
break;
|
|
236
|
+
case /* uint32 uint32 */ 2:
|
|
237
|
+
message.value = {
|
|
238
|
+
oneofKind: 'uint32',
|
|
239
|
+
uint32: reader.uint32(),
|
|
240
|
+
};
|
|
241
|
+
break;
|
|
242
|
+
case /* int64 int64 */ 3:
|
|
243
|
+
message.value = {
|
|
244
|
+
oneofKind: 'int64',
|
|
245
|
+
int64: reader.int64().toBigInt(),
|
|
246
|
+
};
|
|
247
|
+
break;
|
|
248
|
+
case /* uint64 uint64 */ 4:
|
|
249
|
+
message.value = {
|
|
250
|
+
oneofKind: 'uint64',
|
|
251
|
+
uint64: reader.uint64().toBigInt(),
|
|
252
|
+
};
|
|
253
|
+
break;
|
|
254
|
+
case /* float float */ 5:
|
|
255
|
+
message.value = {
|
|
256
|
+
oneofKind: 'float',
|
|
257
|
+
float: reader.float(),
|
|
258
|
+
};
|
|
259
|
+
break;
|
|
260
|
+
case /* double double */ 6:
|
|
261
|
+
message.value = {
|
|
262
|
+
oneofKind: 'double',
|
|
263
|
+
double: reader.double(),
|
|
264
|
+
};
|
|
265
|
+
break;
|
|
266
|
+
default:
|
|
267
|
+
const u = options.readUnknownField;
|
|
268
|
+
if (u === 'throw')
|
|
269
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
270
|
+
const d = reader.skip(wireType);
|
|
271
|
+
if (u !== false)
|
|
272
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
273
|
+
}
|
|
298
274
|
}
|
|
275
|
+
return message;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
internalBinaryWrite(message: Number$, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
279
|
+
/* int32 int32 = 1; */
|
|
280
|
+
if (message.value.oneofKind === 'int32')
|
|
281
|
+
writer.tag(1, WireType.Varint).int32(message.value.int32);
|
|
282
|
+
/* uint32 uint32 = 2; */
|
|
283
|
+
if (message.value.oneofKind === 'uint32')
|
|
284
|
+
writer.tag(2, WireType.Varint).uint32(message.value.uint32);
|
|
285
|
+
/* int64 int64 = 3; */
|
|
286
|
+
if (message.value.oneofKind === 'int64')
|
|
287
|
+
writer.tag(3, WireType.Varint).int64(message.value.int64);
|
|
288
|
+
/* uint64 uint64 = 4; */
|
|
289
|
+
if (message.value.oneofKind === 'uint64')
|
|
290
|
+
writer.tag(4, WireType.Varint).uint64(message.value.uint64);
|
|
291
|
+
/* float float = 5; */
|
|
292
|
+
if (message.value.oneofKind === 'float')
|
|
293
|
+
writer.tag(5, WireType.Bit32).float(message.value.float);
|
|
294
|
+
/* double double = 6; */
|
|
295
|
+
if (message.value.oneofKind === 'double')
|
|
296
|
+
writer.tag(6, WireType.Bit64).double(message.value.double);
|
|
297
|
+
const u = options.writeUnknownFields;
|
|
298
|
+
if (u !== false)
|
|
299
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
300
|
+
return writer;
|
|
301
|
+
}
|
|
299
302
|
}
|
|
300
303
|
/**
|
|
301
304
|
* @generated MessageType for protobuf message MiLaboratories.PL.RTypes.Number
|
|
@@ -303,46 +306,49 @@ class Number$$Type extends MessageType<Number$> {
|
|
|
303
306
|
export const Number$ = new Number$$Type();
|
|
304
307
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
305
308
|
class ControllerSettings$Type extends MessageType<ControllerSettings> {
|
|
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
|
-
internalBinaryWrite(message: ControllerSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
338
|
-
/* string type = 1; */
|
|
339
|
-
if (message.type !== "")
|
|
340
|
-
writer.tag(1, WireType.LengthDelimited).string(message.type);
|
|
341
|
-
let u = options.writeUnknownFields;
|
|
342
|
-
if (u !== false)
|
|
343
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
344
|
-
return writer;
|
|
309
|
+
constructor() {
|
|
310
|
+
super('MiLaboratories.PL.RTypes.ControllerSettings', [
|
|
311
|
+
{ no: 1, name: 'type', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
312
|
+
]);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
create(value?: PartialMessage<ControllerSettings>): ControllerSettings {
|
|
316
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
317
|
+
message.type = '';
|
|
318
|
+
if (value !== undefined)
|
|
319
|
+
reflectionMergePartial<ControllerSettings>(this, message, value);
|
|
320
|
+
return message;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerSettings): ControllerSettings {
|
|
324
|
+
const message = target ?? this.create(), end = reader.pos + length;
|
|
325
|
+
while (reader.pos < end) {
|
|
326
|
+
const [fieldNo, wireType] = reader.tag();
|
|
327
|
+
switch (fieldNo) {
|
|
328
|
+
case /* string type */ 1:
|
|
329
|
+
message.type = reader.string();
|
|
330
|
+
break;
|
|
331
|
+
default:
|
|
332
|
+
const u = options.readUnknownField;
|
|
333
|
+
if (u === 'throw')
|
|
334
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
335
|
+
const d = reader.skip(wireType);
|
|
336
|
+
if (u !== false)
|
|
337
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
338
|
+
}
|
|
345
339
|
}
|
|
340
|
+
return message;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
internalBinaryWrite(message: ControllerSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
344
|
+
/* string type = 1; */
|
|
345
|
+
if (message.type !== '')
|
|
346
|
+
writer.tag(1, WireType.LengthDelimited).string(message.type);
|
|
347
|
+
const u = options.writeUnknownFields;
|
|
348
|
+
if (u !== false)
|
|
349
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
350
|
+
return writer;
|
|
351
|
+
}
|
|
346
352
|
}
|
|
347
353
|
/**
|
|
348
354
|
* @generated MessageType for protobuf message MiLaboratories.PL.RTypes.ControllerSettings
|
|
@@ -350,54 +356,57 @@ class ControllerSettings$Type extends MessageType<ControllerSettings> {
|
|
|
350
356
|
export const ControllerSettings = new ControllerSettings$Type();
|
|
351
357
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
352
358
|
class SubscriptionSettings$Type extends MessageType<SubscriptionSettings> {
|
|
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
|
-
internalBinaryWrite(message: SubscriptionSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
390
|
-
/* bool blocking = 1; */
|
|
391
|
-
if (message.blocking !== false)
|
|
392
|
-
writer.tag(1, WireType.Varint).bool(message.blocking);
|
|
393
|
-
/* uint64 randomizer = 2; */
|
|
394
|
-
if (message.randomizer !== 0n)
|
|
395
|
-
writer.tag(2, WireType.Varint).uint64(message.randomizer);
|
|
396
|
-
let u = options.writeUnknownFields;
|
|
397
|
-
if (u !== false)
|
|
398
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
399
|
-
return writer;
|
|
359
|
+
constructor() {
|
|
360
|
+
super('MiLaboratories.PL.RTypes.SubscriptionSettings', [
|
|
361
|
+
{ no: 1, name: 'blocking', kind: 'scalar', T: 8 /* ScalarType.BOOL */ },
|
|
362
|
+
{ no: 2, name: 'randomizer', kind: 'scalar', T: 4 /* ScalarType.UINT64 */, L: 0 /* LongType.BIGINT */ },
|
|
363
|
+
]);
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
create(value?: PartialMessage<SubscriptionSettings>): SubscriptionSettings {
|
|
367
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
368
|
+
message.blocking = false;
|
|
369
|
+
message.randomizer = 0n;
|
|
370
|
+
if (value !== undefined)
|
|
371
|
+
reflectionMergePartial<SubscriptionSettings>(this, message, value);
|
|
372
|
+
return message;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubscriptionSettings): SubscriptionSettings {
|
|
376
|
+
const message = target ?? this.create(), end = reader.pos + length;
|
|
377
|
+
while (reader.pos < end) {
|
|
378
|
+
const [fieldNo, wireType] = reader.tag();
|
|
379
|
+
switch (fieldNo) {
|
|
380
|
+
case /* bool blocking */ 1:
|
|
381
|
+
message.blocking = reader.bool();
|
|
382
|
+
break;
|
|
383
|
+
case /* uint64 randomizer */ 2:
|
|
384
|
+
message.randomizer = reader.uint64().toBigInt();
|
|
385
|
+
break;
|
|
386
|
+
default:
|
|
387
|
+
const u = options.readUnknownField;
|
|
388
|
+
if (u === 'throw')
|
|
389
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
390
|
+
const d = reader.skip(wireType);
|
|
391
|
+
if (u !== false)
|
|
392
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
393
|
+
}
|
|
400
394
|
}
|
|
395
|
+
return message;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
internalBinaryWrite(message: SubscriptionSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
399
|
+
/* bool blocking = 1; */
|
|
400
|
+
if (message.blocking !== false)
|
|
401
|
+
writer.tag(1, WireType.Varint).bool(message.blocking);
|
|
402
|
+
/* uint64 randomizer = 2; */
|
|
403
|
+
if (message.randomizer !== 0n)
|
|
404
|
+
writer.tag(2, WireType.Varint).uint64(message.randomizer);
|
|
405
|
+
const u = options.writeUnknownFields;
|
|
406
|
+
if (u !== false)
|
|
407
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
408
|
+
return writer;
|
|
409
|
+
}
|
|
401
410
|
}
|
|
402
411
|
/**
|
|
403
412
|
* @generated MessageType for protobuf message MiLaboratories.PL.RTypes.SubscriptionSettings
|
|
@@ -405,73 +414,76 @@ class SubscriptionSettings$Type extends MessageType<SubscriptionSettings> {
|
|
|
405
414
|
export const SubscriptionSettings = new SubscriptionSettings$Type();
|
|
406
415
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
407
416
|
class NotificationFilter$Type extends MessageType<NotificationFilter> {
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
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
|
-
internalBinaryWrite(message: NotificationFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
458
|
-
/* MiLaboratories.PL.Base.ResourceType resource_type = 1; */
|
|
459
|
-
if (message.resourceFilter.oneofKind === "resourceType")
|
|
460
|
-
ResourceType.internalBinaryWrite(message.resourceFilter.resourceType, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
461
|
-
/* uint64 resource_id = 7; */
|
|
462
|
-
if (message.resourceFilter.oneofKind === "resourceId")
|
|
463
|
-
writer.tag(7, WireType.Varint).uint64(message.resourceFilter.resourceId);
|
|
464
|
-
/* MiLaboratories.PL.RTypes.NotificationFilter.EventFilter event_filter = 8; */
|
|
465
|
-
if (message.eventFilter)
|
|
466
|
-
NotificationFilter_EventFilter.internalBinaryWrite(message.eventFilter, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
467
|
-
/* MiLaboratories.PL.RTypes.NotificationFilter.Payload payload = 9; */
|
|
468
|
-
if (message.payload)
|
|
469
|
-
NotificationFilter_Payload.internalBinaryWrite(message.payload, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
|
470
|
-
let u = options.writeUnknownFields;
|
|
471
|
-
if (u !== false)
|
|
472
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
473
|
-
return writer;
|
|
417
|
+
constructor() {
|
|
418
|
+
super('MiLaboratories.PL.RTypes.NotificationFilter', [
|
|
419
|
+
{ no: 1, name: 'resource_type', kind: 'message', oneof: 'resourceFilter', T: () => ResourceType },
|
|
420
|
+
{ no: 7, name: 'resource_id', kind: 'scalar', oneof: 'resourceFilter', T: 4 /* ScalarType.UINT64 */, L: 0 /* LongType.BIGINT */ },
|
|
421
|
+
{ no: 8, name: 'event_filter', kind: 'message', T: () => NotificationFilter_EventFilter },
|
|
422
|
+
{ no: 9, name: 'payload', kind: 'message', T: () => NotificationFilter_Payload },
|
|
423
|
+
]);
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
create(value?: PartialMessage<NotificationFilter>): NotificationFilter {
|
|
427
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
428
|
+
message.resourceFilter = { oneofKind: undefined };
|
|
429
|
+
if (value !== undefined)
|
|
430
|
+
reflectionMergePartial<NotificationFilter>(this, message, value);
|
|
431
|
+
return message;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotificationFilter): NotificationFilter {
|
|
435
|
+
const message = target ?? this.create(), end = reader.pos + length;
|
|
436
|
+
while (reader.pos < end) {
|
|
437
|
+
const [fieldNo, wireType] = reader.tag();
|
|
438
|
+
switch (fieldNo) {
|
|
439
|
+
case /* MiLaboratories.PL.Base.ResourceType resource_type */ 1:
|
|
440
|
+
message.resourceFilter = {
|
|
441
|
+
oneofKind: 'resourceType',
|
|
442
|
+
resourceType: ResourceType.internalBinaryRead(reader, reader.uint32(), options, (message.resourceFilter as any).resourceType),
|
|
443
|
+
};
|
|
444
|
+
break;
|
|
445
|
+
case /* uint64 resource_id */ 7:
|
|
446
|
+
message.resourceFilter = {
|
|
447
|
+
oneofKind: 'resourceId',
|
|
448
|
+
resourceId: reader.uint64().toBigInt(),
|
|
449
|
+
};
|
|
450
|
+
break;
|
|
451
|
+
case /* MiLaboratories.PL.RTypes.NotificationFilter.EventFilter event_filter */ 8:
|
|
452
|
+
message.eventFilter = NotificationFilter_EventFilter.internalBinaryRead(reader, reader.uint32(), options, message.eventFilter);
|
|
453
|
+
break;
|
|
454
|
+
case /* MiLaboratories.PL.RTypes.NotificationFilter.Payload payload */ 9:
|
|
455
|
+
message.payload = NotificationFilter_Payload.internalBinaryRead(reader, reader.uint32(), options, message.payload);
|
|
456
|
+
break;
|
|
457
|
+
default:
|
|
458
|
+
const u = options.readUnknownField;
|
|
459
|
+
if (u === 'throw')
|
|
460
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
461
|
+
const d = reader.skip(wireType);
|
|
462
|
+
if (u !== false)
|
|
463
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
464
|
+
}
|
|
474
465
|
}
|
|
466
|
+
return message;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
internalBinaryWrite(message: NotificationFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
470
|
+
/* MiLaboratories.PL.Base.ResourceType resource_type = 1; */
|
|
471
|
+
if (message.resourceFilter.oneofKind === 'resourceType')
|
|
472
|
+
ResourceType.internalBinaryWrite(message.resourceFilter.resourceType, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
473
|
+
/* uint64 resource_id = 7; */
|
|
474
|
+
if (message.resourceFilter.oneofKind === 'resourceId')
|
|
475
|
+
writer.tag(7, WireType.Varint).uint64(message.resourceFilter.resourceId);
|
|
476
|
+
/* MiLaboratories.PL.RTypes.NotificationFilter.EventFilter event_filter = 8; */
|
|
477
|
+
if (message.eventFilter)
|
|
478
|
+
NotificationFilter_EventFilter.internalBinaryWrite(message.eventFilter, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
479
|
+
/* MiLaboratories.PL.RTypes.NotificationFilter.Payload payload = 9; */
|
|
480
|
+
if (message.payload)
|
|
481
|
+
NotificationFilter_Payload.internalBinaryWrite(message.payload, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
|
482
|
+
const u = options.writeUnknownFields;
|
|
483
|
+
if (u !== false)
|
|
484
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
485
|
+
return writer;
|
|
486
|
+
}
|
|
475
487
|
}
|
|
476
488
|
/**
|
|
477
489
|
* @generated MessageType for protobuf message MiLaboratories.PL.RTypes.NotificationFilter
|
|
@@ -479,150 +491,153 @@ class NotificationFilter$Type extends MessageType<NotificationFilter> {
|
|
|
479
491
|
export const NotificationFilter = new NotificationFilter$Type();
|
|
480
492
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
481
493
|
class NotificationFilter_EventFilter$Type extends MessageType<NotificationFilter_EventFilter> {
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
}
|
|
572
|
-
internalBinaryWrite(message: NotificationFilter_EventFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
573
|
-
/* optional bool all = 1; */
|
|
574
|
-
if (message.all !== undefined)
|
|
575
|
-
writer.tag(1, WireType.Varint).bool(message.all);
|
|
576
|
-
/* optional bool resource_created = 2; */
|
|
577
|
-
if (message.resourceCreated !== undefined)
|
|
578
|
-
writer.tag(2, WireType.Varint).bool(message.resourceCreated);
|
|
579
|
-
/* optional bool resource_deleted = 3; */
|
|
580
|
-
if (message.resourceDeleted !== undefined)
|
|
581
|
-
writer.tag(3, WireType.Varint).bool(message.resourceDeleted);
|
|
582
|
-
/* optional bool resource_ready = 5; */
|
|
583
|
-
if (message.resourceReady !== undefined)
|
|
584
|
-
writer.tag(5, WireType.Varint).bool(message.resourceReady);
|
|
585
|
-
/* optional bool resource_duplicate = 6; */
|
|
586
|
-
if (message.resourceDuplicate !== undefined)
|
|
587
|
-
writer.tag(6, WireType.Varint).bool(message.resourceDuplicate);
|
|
588
|
-
/* optional bool resource_error = 16; */
|
|
589
|
-
if (message.resourceError !== undefined)
|
|
590
|
-
writer.tag(16, WireType.Varint).bool(message.resourceError);
|
|
591
|
-
/* optional bool inputs_locked = 13; */
|
|
592
|
-
if (message.inputsLocked !== undefined)
|
|
593
|
-
writer.tag(13, WireType.Varint).bool(message.inputsLocked);
|
|
594
|
-
/* optional bool outputs_locked = 14; */
|
|
595
|
-
if (message.outputsLocked !== undefined)
|
|
596
|
-
writer.tag(14, WireType.Varint).bool(message.outputsLocked);
|
|
597
|
-
/* optional bool field_created = 12; */
|
|
598
|
-
if (message.fieldCreated !== undefined)
|
|
599
|
-
writer.tag(12, WireType.Varint).bool(message.fieldCreated);
|
|
600
|
-
/* optional bool field_got_error = 17; */
|
|
601
|
-
if (message.fieldGotError !== undefined)
|
|
602
|
-
writer.tag(17, WireType.Varint).bool(message.fieldGotError);
|
|
603
|
-
/* optional bool input_set = 7; */
|
|
604
|
-
if (message.inputSet !== undefined)
|
|
605
|
-
writer.tag(7, WireType.Varint).bool(message.inputSet);
|
|
606
|
-
/* optional bool all_inputs_set = 8; */
|
|
607
|
-
if (message.allInputsSet !== undefined)
|
|
608
|
-
writer.tag(8, WireType.Varint).bool(message.allInputsSet);
|
|
609
|
-
/* optional bool output_set = 9; */
|
|
610
|
-
if (message.outputSet !== undefined)
|
|
611
|
-
writer.tag(9, WireType.Varint).bool(message.outputSet);
|
|
612
|
-
/* optional bool all_outputs_set = 10; */
|
|
613
|
-
if (message.allOutputsSet !== undefined)
|
|
614
|
-
writer.tag(10, WireType.Varint).bool(message.allOutputsSet);
|
|
615
|
-
/* optional bool generic_otw_set = 15; */
|
|
616
|
-
if (message.genericOtwSet !== undefined)
|
|
617
|
-
writer.tag(15, WireType.Varint).bool(message.genericOtwSet);
|
|
618
|
-
/* optional bool dynamic_changed = 11; */
|
|
619
|
-
if (message.dynamicChanged !== undefined)
|
|
620
|
-
writer.tag(11, WireType.Varint).bool(message.dynamicChanged);
|
|
621
|
-
let u = options.writeUnknownFields;
|
|
622
|
-
if (u !== false)
|
|
623
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
624
|
-
return writer;
|
|
494
|
+
constructor() {
|
|
495
|
+
super('MiLaboratories.PL.RTypes.NotificationFilter.EventFilter', [
|
|
496
|
+
{ no: 1, name: 'all', kind: 'scalar', opt: true, T: 8 /* ScalarType.BOOL */ },
|
|
497
|
+
{ no: 2, name: 'resource_created', kind: 'scalar', opt: true, T: 8 /* ScalarType.BOOL */ },
|
|
498
|
+
{ no: 3, name: 'resource_deleted', kind: 'scalar', opt: true, T: 8 /* ScalarType.BOOL */ },
|
|
499
|
+
{ no: 5, name: 'resource_ready', kind: 'scalar', opt: true, T: 8 /* ScalarType.BOOL */ },
|
|
500
|
+
{ no: 6, name: 'resource_duplicate', kind: 'scalar', opt: true, T: 8 /* ScalarType.BOOL */ },
|
|
501
|
+
{ no: 16, name: 'resource_error', kind: 'scalar', opt: true, T: 8 /* ScalarType.BOOL */ },
|
|
502
|
+
{ no: 13, name: 'inputs_locked', kind: 'scalar', opt: true, T: 8 /* ScalarType.BOOL */ },
|
|
503
|
+
{ no: 14, name: 'outputs_locked', kind: 'scalar', opt: true, T: 8 /* ScalarType.BOOL */ },
|
|
504
|
+
{ no: 12, name: 'field_created', kind: 'scalar', opt: true, T: 8 /* ScalarType.BOOL */ },
|
|
505
|
+
{ no: 17, name: 'field_got_error', kind: 'scalar', opt: true, T: 8 /* ScalarType.BOOL */ },
|
|
506
|
+
{ no: 7, name: 'input_set', kind: 'scalar', opt: true, T: 8 /* ScalarType.BOOL */ },
|
|
507
|
+
{ no: 8, name: 'all_inputs_set', kind: 'scalar', opt: true, T: 8 /* ScalarType.BOOL */ },
|
|
508
|
+
{ no: 9, name: 'output_set', kind: 'scalar', opt: true, T: 8 /* ScalarType.BOOL */ },
|
|
509
|
+
{ no: 10, name: 'all_outputs_set', kind: 'scalar', opt: true, T: 8 /* ScalarType.BOOL */ },
|
|
510
|
+
{ no: 15, name: 'generic_otw_set', kind: 'scalar', opt: true, T: 8 /* ScalarType.BOOL */ },
|
|
511
|
+
{ no: 11, name: 'dynamic_changed', kind: 'scalar', opt: true, T: 8 /* ScalarType.BOOL */ },
|
|
512
|
+
]);
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
create(value?: PartialMessage<NotificationFilter_EventFilter>): NotificationFilter_EventFilter {
|
|
516
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
517
|
+
if (value !== undefined)
|
|
518
|
+
reflectionMergePartial<NotificationFilter_EventFilter>(this, message, value);
|
|
519
|
+
return message;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotificationFilter_EventFilter): NotificationFilter_EventFilter {
|
|
523
|
+
const message = target ?? this.create(), end = reader.pos + length;
|
|
524
|
+
while (reader.pos < end) {
|
|
525
|
+
const [fieldNo, wireType] = reader.tag();
|
|
526
|
+
switch (fieldNo) {
|
|
527
|
+
case /* optional bool all */ 1:
|
|
528
|
+
message.all = reader.bool();
|
|
529
|
+
break;
|
|
530
|
+
case /* optional bool resource_created */ 2:
|
|
531
|
+
message.resourceCreated = reader.bool();
|
|
532
|
+
break;
|
|
533
|
+
case /* optional bool resource_deleted */ 3:
|
|
534
|
+
message.resourceDeleted = reader.bool();
|
|
535
|
+
break;
|
|
536
|
+
case /* optional bool resource_ready */ 5:
|
|
537
|
+
message.resourceReady = reader.bool();
|
|
538
|
+
break;
|
|
539
|
+
case /* optional bool resource_duplicate */ 6:
|
|
540
|
+
message.resourceDuplicate = reader.bool();
|
|
541
|
+
break;
|
|
542
|
+
case /* optional bool resource_error */ 16:
|
|
543
|
+
message.resourceError = reader.bool();
|
|
544
|
+
break;
|
|
545
|
+
case /* optional bool inputs_locked */ 13:
|
|
546
|
+
message.inputsLocked = reader.bool();
|
|
547
|
+
break;
|
|
548
|
+
case /* optional bool outputs_locked */ 14:
|
|
549
|
+
message.outputsLocked = reader.bool();
|
|
550
|
+
break;
|
|
551
|
+
case /* optional bool field_created */ 12:
|
|
552
|
+
message.fieldCreated = reader.bool();
|
|
553
|
+
break;
|
|
554
|
+
case /* optional bool field_got_error */ 17:
|
|
555
|
+
message.fieldGotError = reader.bool();
|
|
556
|
+
break;
|
|
557
|
+
case /* optional bool input_set */ 7:
|
|
558
|
+
message.inputSet = reader.bool();
|
|
559
|
+
break;
|
|
560
|
+
case /* optional bool all_inputs_set */ 8:
|
|
561
|
+
message.allInputsSet = reader.bool();
|
|
562
|
+
break;
|
|
563
|
+
case /* optional bool output_set */ 9:
|
|
564
|
+
message.outputSet = reader.bool();
|
|
565
|
+
break;
|
|
566
|
+
case /* optional bool all_outputs_set */ 10:
|
|
567
|
+
message.allOutputsSet = reader.bool();
|
|
568
|
+
break;
|
|
569
|
+
case /* optional bool generic_otw_set */ 15:
|
|
570
|
+
message.genericOtwSet = reader.bool();
|
|
571
|
+
break;
|
|
572
|
+
case /* optional bool dynamic_changed */ 11:
|
|
573
|
+
message.dynamicChanged = reader.bool();
|
|
574
|
+
break;
|
|
575
|
+
default:
|
|
576
|
+
const u = options.readUnknownField;
|
|
577
|
+
if (u === 'throw')
|
|
578
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
579
|
+
const d = reader.skip(wireType);
|
|
580
|
+
if (u !== false)
|
|
581
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
582
|
+
}
|
|
625
583
|
}
|
|
584
|
+
return message;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
internalBinaryWrite(message: NotificationFilter_EventFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
588
|
+
/* optional bool all = 1; */
|
|
589
|
+
if (message.all !== undefined)
|
|
590
|
+
writer.tag(1, WireType.Varint).bool(message.all);
|
|
591
|
+
/* optional bool resource_created = 2; */
|
|
592
|
+
if (message.resourceCreated !== undefined)
|
|
593
|
+
writer.tag(2, WireType.Varint).bool(message.resourceCreated);
|
|
594
|
+
/* optional bool resource_deleted = 3; */
|
|
595
|
+
if (message.resourceDeleted !== undefined)
|
|
596
|
+
writer.tag(3, WireType.Varint).bool(message.resourceDeleted);
|
|
597
|
+
/* optional bool resource_ready = 5; */
|
|
598
|
+
if (message.resourceReady !== undefined)
|
|
599
|
+
writer.tag(5, WireType.Varint).bool(message.resourceReady);
|
|
600
|
+
/* optional bool resource_duplicate = 6; */
|
|
601
|
+
if (message.resourceDuplicate !== undefined)
|
|
602
|
+
writer.tag(6, WireType.Varint).bool(message.resourceDuplicate);
|
|
603
|
+
/* optional bool resource_error = 16; */
|
|
604
|
+
if (message.resourceError !== undefined)
|
|
605
|
+
writer.tag(16, WireType.Varint).bool(message.resourceError);
|
|
606
|
+
/* optional bool inputs_locked = 13; */
|
|
607
|
+
if (message.inputsLocked !== undefined)
|
|
608
|
+
writer.tag(13, WireType.Varint).bool(message.inputsLocked);
|
|
609
|
+
/* optional bool outputs_locked = 14; */
|
|
610
|
+
if (message.outputsLocked !== undefined)
|
|
611
|
+
writer.tag(14, WireType.Varint).bool(message.outputsLocked);
|
|
612
|
+
/* optional bool field_created = 12; */
|
|
613
|
+
if (message.fieldCreated !== undefined)
|
|
614
|
+
writer.tag(12, WireType.Varint).bool(message.fieldCreated);
|
|
615
|
+
/* optional bool field_got_error = 17; */
|
|
616
|
+
if (message.fieldGotError !== undefined)
|
|
617
|
+
writer.tag(17, WireType.Varint).bool(message.fieldGotError);
|
|
618
|
+
/* optional bool input_set = 7; */
|
|
619
|
+
if (message.inputSet !== undefined)
|
|
620
|
+
writer.tag(7, WireType.Varint).bool(message.inputSet);
|
|
621
|
+
/* optional bool all_inputs_set = 8; */
|
|
622
|
+
if (message.allInputsSet !== undefined)
|
|
623
|
+
writer.tag(8, WireType.Varint).bool(message.allInputsSet);
|
|
624
|
+
/* optional bool output_set = 9; */
|
|
625
|
+
if (message.outputSet !== undefined)
|
|
626
|
+
writer.tag(9, WireType.Varint).bool(message.outputSet);
|
|
627
|
+
/* optional bool all_outputs_set = 10; */
|
|
628
|
+
if (message.allOutputsSet !== undefined)
|
|
629
|
+
writer.tag(10, WireType.Varint).bool(message.allOutputsSet);
|
|
630
|
+
/* optional bool generic_otw_set = 15; */
|
|
631
|
+
if (message.genericOtwSet !== undefined)
|
|
632
|
+
writer.tag(15, WireType.Varint).bool(message.genericOtwSet);
|
|
633
|
+
/* optional bool dynamic_changed = 11; */
|
|
634
|
+
if (message.dynamicChanged !== undefined)
|
|
635
|
+
writer.tag(11, WireType.Varint).bool(message.dynamicChanged);
|
|
636
|
+
const u = options.writeUnknownFields;
|
|
637
|
+
if (u !== false)
|
|
638
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
639
|
+
return writer;
|
|
640
|
+
}
|
|
626
641
|
}
|
|
627
642
|
/**
|
|
628
643
|
* @generated MessageType for protobuf message MiLaboratories.PL.RTypes.NotificationFilter.EventFilter
|
|
@@ -630,62 +645,66 @@ class NotificationFilter_EventFilter$Type extends MessageType<NotificationFilter
|
|
|
630
645
|
export const NotificationFilter_EventFilter = new NotificationFilter_EventFilter$Type();
|
|
631
646
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
632
647
|
class NotificationFilter_Payload$Type extends MessageType<NotificationFilter_Payload> {
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
}
|
|
664
|
-
private binaryReadMap1(map: NotificationFilter_Payload["values"], reader: IBinaryReader, options: BinaryReadOptions): void {
|
|
665
|
-
let len = reader.uint32(), end = reader.pos + len, key: keyof NotificationFilter_Payload["values"] | undefined, val: NotificationFilter_Payload["values"][any] | undefined;
|
|
666
|
-
while (reader.pos < end) {
|
|
667
|
-
let [fieldNo, wireType] = reader.tag();
|
|
668
|
-
switch (fieldNo) {
|
|
669
|
-
case 1:
|
|
670
|
-
key = reader.string();
|
|
671
|
-
break;
|
|
672
|
-
case 2:
|
|
673
|
-
val = reader.bytes();
|
|
674
|
-
break;
|
|
675
|
-
default: throw new globalThis.Error("unknown map entry field for field MiLaboratories.PL.RTypes.NotificationFilter.Payload.values");
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
map[key ?? ""] = val ?? new Uint8Array(0);
|
|
648
|
+
constructor() {
|
|
649
|
+
super('MiLaboratories.PL.RTypes.NotificationFilter.Payload', [
|
|
650
|
+
{ no: 1, name: 'values', kind: 'map', K: 9 /* ScalarType.STRING */, V: { kind: 'scalar', T: 12 /* ScalarType.BYTES */ } },
|
|
651
|
+
]);
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
create(value?: PartialMessage<NotificationFilter_Payload>): NotificationFilter_Payload {
|
|
655
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
656
|
+
message.values = {};
|
|
657
|
+
if (value !== undefined)
|
|
658
|
+
reflectionMergePartial<NotificationFilter_Payload>(this, message, value);
|
|
659
|
+
return message;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotificationFilter_Payload): NotificationFilter_Payload {
|
|
663
|
+
const message = target ?? this.create(), end = reader.pos + length;
|
|
664
|
+
while (reader.pos < end) {
|
|
665
|
+
const [fieldNo, wireType] = reader.tag();
|
|
666
|
+
switch (fieldNo) {
|
|
667
|
+
case /* map<string, bytes> values */ 1:
|
|
668
|
+
this.binaryReadMap1(message.values, reader, options);
|
|
669
|
+
break;
|
|
670
|
+
default:
|
|
671
|
+
const u = options.readUnknownField;
|
|
672
|
+
if (u === 'throw')
|
|
673
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
674
|
+
const d = reader.skip(wireType);
|
|
675
|
+
if (u !== false)
|
|
676
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
677
|
+
}
|
|
679
678
|
}
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
679
|
+
return message;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
private binaryReadMap1(map: NotificationFilter_Payload['values'], reader: IBinaryReader, options: BinaryReadOptions): void {
|
|
683
|
+
let len = reader.uint32(), end = reader.pos + len, key: keyof NotificationFilter_Payload['values'] | undefined, val: NotificationFilter_Payload['values'][any] | undefined;
|
|
684
|
+
while (reader.pos < end) {
|
|
685
|
+
const [fieldNo, wireType] = reader.tag();
|
|
686
|
+
switch (fieldNo) {
|
|
687
|
+
case 1:
|
|
688
|
+
key = reader.string();
|
|
689
|
+
break;
|
|
690
|
+
case 2:
|
|
691
|
+
val = reader.bytes();
|
|
692
|
+
break;
|
|
693
|
+
default: throw new globalThis.Error('unknown map entry field for field MiLaboratories.PL.RTypes.NotificationFilter.Payload.values');
|
|
694
|
+
}
|
|
688
695
|
}
|
|
696
|
+
map[key ?? ''] = val ?? new Uint8Array(0);
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
internalBinaryWrite(message: NotificationFilter_Payload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
700
|
+
/* map<string, bytes> values = 1; */
|
|
701
|
+
for (const k of globalThis.Object.keys(message.values))
|
|
702
|
+
writer.tag(1, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).bytes(message.values[k]).join();
|
|
703
|
+
const u = options.writeUnknownFields;
|
|
704
|
+
if (u !== false)
|
|
705
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
706
|
+
return writer;
|
|
707
|
+
}
|
|
689
708
|
}
|
|
690
709
|
/**
|
|
691
710
|
* @generated MessageType for protobuf message MiLaboratories.PL.RTypes.NotificationFilter.Payload
|