@milaboratories/pl-client 2.11.3 → 2.11.4

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.
Files changed (65) hide show
  1. package/dist/core/transaction.d.ts +2 -1
  2. package/dist/core/transaction.d.ts.map +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +1377 -1173
  6. package/dist/index.mjs.map +1 -1
  7. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts +3 -3
  8. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +4 -4
  9. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +1 -1
  10. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +16 -16
  11. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -1
  12. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +2 -2
  13. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +11 -11
  14. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +8 -8
  15. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +1 -1
  16. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +22 -22
  17. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -1
  18. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +10 -10
  19. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +25 -25
  20. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +50 -50
  21. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +415 -304
  22. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
  23. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +70 -66
  24. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -1
  25. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +4 -4
  26. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +16 -16
  27. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +30 -30
  28. package/dist/proto/google/api/http.d.ts +93 -89
  29. package/dist/proto/google/api/http.d.ts.map +1 -1
  30. package/dist/proto/google/protobuf/any.d.ts +2 -2
  31. package/dist/proto/google/protobuf/descriptor.d.ts +1298 -1151
  32. package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
  33. package/dist/proto/google/protobuf/duration.d.ts +2 -2
  34. package/dist/proto/google/protobuf/struct.d.ts +10 -8
  35. package/dist/proto/google/protobuf/struct.d.ts.map +1 -1
  36. package/dist/proto/google/protobuf/timestamp.d.ts +2 -2
  37. package/dist/proto/google/protobuf/wrappers.d.ts +36 -9
  38. package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -1
  39. package/package.json +1 -1
  40. package/src/core/ll_client.test.ts +3 -3
  41. package/src/core/ll_transaction.test.ts +4 -4
  42. package/src/core/transaction.ts +2 -0
  43. package/src/proto/github.com/googleapis/googleapis/google/rpc/status.ts +5 -5
  44. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +23 -24
  45. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +232 -247
  46. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +3 -3
  47. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +13 -13
  48. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +35 -37
  49. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +375 -399
  50. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +11 -11
  51. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +26 -26
  52. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +51 -51
  53. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +687 -418
  54. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +113 -101
  55. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +5 -5
  56. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/import.ts +17 -17
  57. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +50 -50
  58. package/src/proto/google/api/http.ts +290 -295
  59. package/src/proto/google/protobuf/any.ts +3 -3
  60. package/src/proto/google/protobuf/descriptor.ts +3235 -3123
  61. package/src/proto/google/protobuf/duration.ts +3 -3
  62. package/src/proto/google/protobuf/empty.ts +1 -1
  63. package/src/proto/google/protobuf/struct.ts +13 -11
  64. package/src/proto/google/protobuf/timestamp.ts +3 -3
  65. package/src/proto/google/protobuf/wrappers.ts +48 -14
@@ -1,4 +1,4 @@
1
- // @generated by protobuf-ts 2.9.6 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
1
+ // @generated by protobuf-ts 2.11.0 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
2
2
  // @generated from protobuf file "github.com/milaboratory/pl/plapi/plapiproto/api.proto" (package "MiLaboratories.PL.API", syntax proto3)
3
3
  // tslint:disable
4
4
  import { ServiceType } from "@protobuf-ts/runtime-rpc";
@@ -147,7 +147,7 @@ export interface TxAPI {
147
147
  */
148
148
  export interface TxAPI_ClientMessage {
149
149
  /**
150
- * @generated from protobuf field: uint32 request_id = 1;
150
+ * @generated from protobuf field: uint32 request_id = 1
151
151
  */
152
152
  requestId: number;
153
153
  /**
@@ -156,319 +156,325 @@ export interface TxAPI_ClientMessage {
156
156
  request: {
157
157
  oneofKind: "txOpen";
158
158
  /**
159
- * @generated from protobuf field: MiLaboratories.PL.API.TxAPI.Open.Request tx_open = 11;
159
+ * @generated from protobuf field: MiLaboratories.PL.API.TxAPI.Open.Request tx_open = 11
160
160
  */
161
161
  txOpen: TxAPI_Open_Request; // open transaction
162
162
  } | {
163
163
  oneofKind: "txCommit";
164
164
  /**
165
- * @generated from protobuf field: MiLaboratories.PL.API.TxAPI.Commit.Request tx_commit = 12;
165
+ * @generated from protobuf field: MiLaboratories.PL.API.TxAPI.Commit.Request tx_commit = 12
166
166
  */
167
167
  txCommit: TxAPI_Commit_Request; // commit the transaction and close the stream
168
168
  } | {
169
169
  oneofKind: "txDiscard";
170
170
  /**
171
- * @generated from protobuf field: MiLaboratories.PL.API.TxAPI.Discard.Request tx_discard = 13;
171
+ * @generated from protobuf field: MiLaboratories.PL.API.TxAPI.Discard.Request tx_discard = 13
172
172
  */
173
173
  txDiscard: TxAPI_Discard_Request; // discard the transaction and close the stream
174
174
  } | {
175
175
  oneofKind: "resourceCreateRoot";
176
176
  /**
177
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateRoot.Request resource_create_root = 58;
177
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateRoot.Request resource_create_root = 58
178
178
  */
179
179
  resourceCreateRoot: ResourceAPI_CreateRoot_Request; // create new root resource
180
180
  } | {
181
181
  oneofKind: "resourceRemove";
182
182
  /**
183
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Remove.Request resource_remove = 57;
183
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Remove.Request resource_remove = 57
184
184
  */
185
185
  resourceRemove: ResourceAPI_Remove_Request; // remove root resource from platform
186
186
  } | {
187
187
  oneofKind: "resourceCreateStruct";
188
188
  /**
189
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateStruct.Request resource_create_struct = 51;
189
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateStruct.Request resource_create_struct = 51
190
190
  */
191
191
  resourceCreateStruct: ResourceAPI_CreateStruct_Request; // create new structural resource
192
192
  } | {
193
193
  oneofKind: "resourceCreateEphemeral";
194
194
  /**
195
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateEphemeral.Request resource_create_ephemeral = 62;
195
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateEphemeral.Request resource_create_ephemeral = 62
196
196
  */
197
197
  resourceCreateEphemeral: ResourceAPI_CreateEphemeral_Request; // create new ephemeral resource
198
198
  } | {
199
199
  oneofKind: "resourceCreateValue";
200
200
  /**
201
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateValue.Request resource_create_value = 52;
201
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateValue.Request resource_create_value = 52
202
202
  */
203
203
  resourceCreateValue: ResourceAPI_CreateValue_Request; // create value resource
204
204
  } | {
205
205
  oneofKind: "resourceGetValueId";
206
206
  /**
207
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.GetValueID.Request resource_get_value_id = 63;
207
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.GetValueID.Request resource_get_value_id = 63
208
208
  */
209
209
  resourceGetValueId: ResourceAPI_GetValueID_Request; // get value resource by type and data
210
210
  } | {
211
211
  oneofKind: "resourceCreateSingleton";
212
212
  /**
213
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateSingleton.Request resource_create_singleton = 64;
213
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateSingleton.Request resource_create_singleton = 64
214
214
  */
215
215
  resourceCreateSingleton: ResourceAPI_CreateSingleton_Request; // create singleton resource
216
216
  } | {
217
217
  oneofKind: "resourceGetSingleton";
218
218
  /**
219
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.GetSingleton.Request resource_get_singleton = 65;
219
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.GetSingleton.Request resource_get_singleton = 65
220
220
  */
221
221
  resourceGetSingleton: ResourceAPI_GetSingleton_Request; // get singleton resource by type and data
222
222
  } | {
223
223
  oneofKind: "resourceCreateChild";
224
224
  /**
225
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateChild.Request resource_create_child = 59;
225
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateChild.Request resource_create_child = 59
226
226
  */
227
227
  resourceCreateChild: ResourceAPI_CreateChild_Request; // create new child resource
228
228
  } | {
229
229
  oneofKind: "resourceLockInputs";
230
230
  /**
231
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.LockInputs.Request resource_lock_inputs = 53;
231
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.LockInputs.Request resource_lock_inputs = 53
232
232
  */
233
233
  resourceLockInputs: ResourceAPI_LockInputs_Request; // lock inputs of resources without schema
234
234
  } | {
235
235
  oneofKind: "resourceLockOutputs";
236
236
  /**
237
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.LockOutputs.Request resource_lock_outputs = 56;
237
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.LockOutputs.Request resource_lock_outputs = 56
238
238
  */
239
239
  resourceLockOutputs: ResourceAPI_LockOutputs_Request; // lock outputs of resources without schema
240
240
  } | {
241
241
  oneofKind: "resourceExists";
242
242
  /**
243
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Exists.Request resource_exists = 54;
243
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Exists.Request resource_exists = 54
244
244
  */
245
245
  resourceExists: ResourceAPI_Exists_Request; // check if resource exists
246
246
  } | {
247
247
  oneofKind: "resourceGet";
248
248
  /**
249
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Get.Request resource_get = 55;
249
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Get.Request resource_get = 55
250
250
  */
251
251
  resourceGet: ResourceAPI_Get_Request; // get actual resource info from server
252
252
  } | {
253
253
  oneofKind: "resourceSetError";
254
254
  /**
255
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.SetError.Request resource_set_error = 61;
255
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.SetError.Request resource_set_error = 61
256
256
  */
257
257
  resourceSetError: ResourceAPI_SetError_Request; // create a special field and set error there.
258
258
  } | {
259
259
  oneofKind: "resourceListByType";
260
260
  /**
261
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.List.ByType.Request resource_list_by_type = 60;
261
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.List.ByType.Request resource_list_by_type = 60
262
262
  */
263
263
  resourceListByType: ResourceAPI_List_ByType_Request; // list resources of specific type
264
264
  } | {
265
265
  oneofKind: "resourceNameSet";
266
266
  /**
267
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Name.Set.Request resource_name_set = 66;
267
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Name.Set.Request resource_name_set = 66
268
268
  */
269
269
  resourceNameSet: ResourceAPI_Name_Set_Request; // assign name to resource
270
270
  } | {
271
271
  oneofKind: "resourceNameGet";
272
272
  /**
273
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Name.Get.Request resource_name_get = 67;
273
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Name.Get.Request resource_name_get = 67
274
274
  */
275
275
  resourceNameGet: ResourceAPI_Name_Get_Request; // get resource ID by name
276
276
  } | {
277
277
  oneofKind: "resourceNameExists";
278
278
  /**
279
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Name.Exists.Request resource_name_exists = 68;
279
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Name.Exists.Request resource_name_exists = 68
280
280
  */
281
281
  resourceNameExists: ResourceAPI_Name_Exists_Request; // check if resource name exists in platform
282
282
  } | {
283
283
  oneofKind: "resourceNameDelete";
284
284
  /**
285
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Name.Delete.Request resource_name_delete = 69;
285
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Name.Delete.Request resource_name_delete = 69
286
286
  */
287
287
  resourceNameDelete: ResourceAPI_Name_Delete_Request; // detach name from resource
288
288
  } | {
289
289
  oneofKind: "resourceTree";
290
290
  /**
291
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Tree.Request resource_tree = 70;
291
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Tree.Request resource_tree = 70
292
292
  */
293
293
  resourceTree: ResourceAPI_Tree_Request; // load tree rooted at given resource
294
+ } | {
295
+ oneofKind: "resourceTreeSize";
296
+ /**
297
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.TreeSize.Request resource_tree_size = 71
298
+ */
299
+ resourceTreeSize: ResourceAPI_TreeSize_Request; // calculate size for all resources in tree
294
300
  } | {
295
301
  oneofKind: "fieldCreate";
296
302
  /**
297
- * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Create.Request field_create = 101;
303
+ * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Create.Request field_create = 101
298
304
  */
299
305
  fieldCreate: FieldAPI_Create_Request; // add field to resource
300
306
  } | {
301
307
  oneofKind: "fieldExists";
302
308
  /**
303
- * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Exists.Request field_exists = 107;
309
+ * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Exists.Request field_exists = 107
304
310
  */
305
311
  fieldExists: FieldAPI_Exists_Request; // add field to resource
306
312
  } | {
307
313
  oneofKind: "fieldSet";
308
314
  /**
309
- * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Set.Request field_set = 102;
315
+ * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Set.Request field_set = 102
310
316
  */
311
317
  fieldSet: FieldAPI_Set_Request; // link field to another resource or field
312
318
  } | {
313
319
  oneofKind: "fieldSetError";
314
320
  /**
315
- * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.SetError.Request field_set_error = 105;
321
+ * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.SetError.Request field_set_error = 105
316
322
  */
317
323
  fieldSetError: FieldAPI_SetError_Request; // link field to error resource
318
324
  } | {
319
325
  oneofKind: "fieldGet";
320
326
  /**
321
- * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Get.Request field_get = 103;
327
+ * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Get.Request field_get = 103
322
328
  */
323
329
  fieldGet: FieldAPI_Get_Request; // get field info
324
330
  } | {
325
331
  oneofKind: "fieldReset";
326
332
  /**
327
- * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Reset.Request field_reset = 104;
333
+ * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Reset.Request field_reset = 104
328
334
  */
329
335
  fieldReset: FieldAPI_Reset_Request; // clear field value (MTW fields only)
330
336
  } | {
331
337
  oneofKind: "fieldRemove";
332
338
  /**
333
- * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Remove.Request field_remove = 106;
339
+ * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Remove.Request field_remove = 106
334
340
  */
335
341
  fieldRemove: FieldAPI_Remove_Request; // clear field value (MTW fields only)
336
342
  } | {
337
343
  oneofKind: "fieldList";
338
344
  /**
339
- * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.List.Request field_list = 108;
345
+ * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.List.Request field_list = 108
340
346
  */
341
347
  fieldList: FieldAPI_List_Request; // list fields of specific resource
342
348
  } | {
343
349
  oneofKind: "subscriptionCreate";
344
350
  /**
345
- * @generated from protobuf field: MiLaboratories.PL.API.SubscriptionAPI.CreateSubscription.Request subscription_create = 111;
351
+ * @generated from protobuf field: MiLaboratories.PL.API.SubscriptionAPI.CreateSubscription.Request subscription_create = 111
346
352
  */
347
353
  subscriptionCreate: SubscriptionAPI_CreateSubscription_Request; // create subscription
348
354
  } | {
349
355
  oneofKind: "subscriptionAttachFilter";
350
356
  /**
351
- * @generated from protobuf field: MiLaboratories.PL.API.SubscriptionAPI.AttachFilter.Request subscription_attach_filter = 112;
357
+ * @generated from protobuf field: MiLaboratories.PL.API.SubscriptionAPI.AttachFilter.Request subscription_attach_filter = 112
352
358
  */
353
359
  subscriptionAttachFilter: SubscriptionAPI_AttachFilter_Request; // add filter to existing subscription
354
360
  } | {
355
361
  oneofKind: "subscriptionDetachFilter";
356
362
  /**
357
- * @generated from protobuf field: MiLaboratories.PL.API.SubscriptionAPI.DetachFilter.Request subscription_detach_filter = 113;
363
+ * @generated from protobuf field: MiLaboratories.PL.API.SubscriptionAPI.DetachFilter.Request subscription_detach_filter = 113
358
364
  */
359
365
  subscriptionDetachFilter: SubscriptionAPI_DetachFilter_Request; // add filter to existing subscription
360
366
  } | {
361
367
  oneofKind: "subscriptionCreateFilter";
362
368
  /**
363
- * @generated from protobuf field: MiLaboratories.PL.API.SubscriptionAPI.CreateFilter.Request subscription_create_filter = 115;
369
+ * @generated from protobuf field: MiLaboratories.PL.API.SubscriptionAPI.CreateFilter.Request subscription_create_filter = 115
364
370
  */
365
371
  subscriptionCreateFilter: SubscriptionAPI_CreateFilter_Request; // create filter resource
366
372
  } | {
367
373
  oneofKind: "notificationGet";
368
374
  /**
369
- * @generated from protobuf field: MiLaboratories.PL.API.NotificationAPI.Get.Request notification_get = 154;
375
+ * @generated from protobuf field: MiLaboratories.PL.API.NotificationAPI.Get.Request notification_get = 154
370
376
  */
371
377
  notificationGet: NotificationAPI_Get_Request; // get notification info from platform
372
378
  } | {
373
379
  oneofKind: "notificationAck";
374
380
  /**
375
- * @generated from protobuf field: MiLaboratories.PL.API.NotificationAPI.Ack.Request notification_ack = 155;
381
+ * @generated from protobuf field: MiLaboratories.PL.API.NotificationAPI.Ack.Request notification_ack = 155
376
382
  */
377
383
  notificationAck: NotificationAPI_Ack_Request; // acknowledge notification handle by controller
378
384
  } | {
379
385
  oneofKind: "notificationDiscard";
380
386
  /**
381
- * @generated from protobuf field: MiLaboratories.PL.API.NotificationAPI.Discard.Request notification_discard = 156;
387
+ * @generated from protobuf field: MiLaboratories.PL.API.NotificationAPI.Discard.Request notification_discard = 156
382
388
  */
383
389
  notificationDiscard: NotificationAPI_Discard_Request; // discard notification handle by controller
384
390
  } | {
385
391
  oneofKind: "resourceKeyValueSet";
386
392
  /**
387
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.Set.Request resource_key_value_set = 200;
393
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.Set.Request resource_key_value_set = 200
388
394
  */
389
395
  resourceKeyValueSet: ResourceKVAPI_Set_Request; // set a value to a resource's key-value store.
390
396
  } | {
391
397
  oneofKind: "resourceKeyValueGet";
392
398
  /**
393
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.Get.Request resource_key_value_get = 201;
399
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.Get.Request resource_key_value_get = 201
394
400
  */
395
401
  resourceKeyValueGet: ResourceKVAPI_Get_Request; // get a value from a resource's key-value store.
396
402
  } | {
397
403
  oneofKind: "resourceKeyValueGetIfExists";
398
404
  /**
399
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.GetIfExists.Request resource_key_value_get_if_exists = 202;
405
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.GetIfExists.Request resource_key_value_get_if_exists = 202
400
406
  */
401
407
  resourceKeyValueGetIfExists: ResourceKVAPI_GetIfExists_Request; // get a value from a KV if the value exists.
402
408
  } | {
403
409
  oneofKind: "resourceKeyValueSetFlag";
404
410
  /**
405
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.SetFlag.Request resource_key_value_set_flag = 203;
411
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.SetFlag.Request resource_key_value_set_flag = 203
406
412
  */
407
413
  resourceKeyValueSetFlag: ResourceKVAPI_SetFlag_Request; // set a bool to a resource's key-value store.
408
414
  } | {
409
415
  oneofKind: "resourceKeyValueGetFlag";
410
416
  /**
411
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.GetFlag.Request resource_key_value_get_flag = 204;
417
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.GetFlag.Request resource_key_value_get_flag = 204
412
418
  */
413
419
  resourceKeyValueGetFlag: ResourceKVAPI_GetFlag_Request; // get a bool from a resource's key-value store.
414
420
  } | {
415
421
  oneofKind: "resourceKeyValueGetFlagIfExists";
416
422
  /**
417
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.GetFlag.Request resource_key_value_get_flag_if_exists = 205;
423
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.GetFlag.Request resource_key_value_get_flag_if_exists = 205
418
424
  */
419
425
  resourceKeyValueGetFlagIfExists: ResourceKVAPI_GetFlag_Request; // get a bool from a resource's key-value store, return false if key is not found.
420
426
  } | {
421
427
  oneofKind: "resourceKeyValueDelete";
422
428
  /**
423
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.Delete.Request resource_key_value_delete = 206;
429
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.Delete.Request resource_key_value_delete = 206
424
430
  */
425
431
  resourceKeyValueDelete: ResourceKVAPI_Delete_Request; // delete value from resource KV storage
426
432
  } | {
427
433
  oneofKind: "resourceKeyValueList";
428
434
  /**
429
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.List.Request resource_key_value_list = 207;
435
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.List.Request resource_key_value_list = 207
430
436
  */
431
437
  resourceKeyValueList: ResourceKVAPI_List_Request; // return all resource KV items
432
438
  } | {
433
439
  oneofKind: "controllerKeyValueSet";
434
440
  /**
435
- * @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.Set.Request controller_key_value_set = 250;
441
+ * @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.Set.Request controller_key_value_set = 250
436
442
  */
437
443
  controllerKeyValueSet: ControllerKVAPI_Set_Request; // set a value to a controller's key-value store.
438
444
  } | {
439
445
  oneofKind: "controllerKeyValueGet";
440
446
  /**
441
- * @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.Get.Request controller_key_value_get = 251;
447
+ * @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.Get.Request controller_key_value_get = 251
442
448
  */
443
449
  controllerKeyValueGet: ControllerKVAPI_Get_Request; // get a value from a controller's key-value store.
444
450
  } | {
445
451
  oneofKind: "controllerKeyValueGetIfExists";
446
452
  /**
447
- * @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.GetIfExists.Request controller_key_value_get_if_exists = 252;
453
+ * @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.GetIfExists.Request controller_key_value_get_if_exists = 252
448
454
  */
449
455
  controllerKeyValueGetIfExists: ControllerKVAPI_GetIfExists_Request; // get a value from a KV if the value exists.
450
456
  } | {
451
457
  oneofKind: "cacheSetToField";
452
458
  /**
453
- * @generated from protobuf field: MiLaboratories.PL.API.CacheAPI.SetToField.Request cache_set_to_field = 300;
459
+ * @generated from protobuf field: MiLaboratories.PL.API.CacheAPI.SetToField.Request cache_set_to_field = 300
454
460
  */
455
461
  cacheSetToField: CacheAPI_SetToField_Request; // store the topology info and results of the field.
456
462
  } | {
457
463
  oneofKind: "cacheDeleteExpiredRecords";
458
464
  /**
459
- * @generated from protobuf field: MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords.Request cache_delete_expired_records = 301;
465
+ * @generated from protobuf field: MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords.Request cache_delete_expired_records = 301
460
466
  */
461
467
  cacheDeleteExpiredRecords: CacheAPI_DeleteExpiredRecords_Request; // iterate through all records and delete expired.
462
468
  } | {
463
469
  oneofKind: "controllerFeaturesSet";
464
470
  /**
465
- * @generated from protobuf field: MiLaboratories.PL.API.ControllerAPI.SetFeatures.Request controller_features_set = 350;
471
+ * @generated from protobuf field: MiLaboratories.PL.API.ControllerAPI.SetFeatures.Request controller_features_set = 350
466
472
  */
467
473
  controllerFeaturesSet: ControllerAPI_SetFeatures_Request; // replace list of resource features, provided by controller.
468
474
  } | {
469
475
  oneofKind: "controllerFeaturesClear";
470
476
  /**
471
- * @generated from protobuf field: MiLaboratories.PL.API.ControllerAPI.ClearFeatures.Request controller_features_clear = 351;
477
+ * @generated from protobuf field: MiLaboratories.PL.API.ControllerAPI.ClearFeatures.Request controller_features_clear = 351
472
478
  */
473
479
  controllerFeaturesClear: ControllerAPI_ClearFeatures_Request; // clear list of resource features, provided by controller.
474
480
  } | {
@@ -480,14 +486,14 @@ export interface TxAPI_ClientMessage {
480
486
  */
481
487
  export interface TxAPI_ServerMessage {
482
488
  /**
483
- * @generated from protobuf field: uint32 request_id = 1;
489
+ * @generated from protobuf field: uint32 request_id = 1
484
490
  */
485
491
  requestId: number;
486
492
  /**
487
493
  * Additional response message info for multi-message responses.
488
494
  * Is always empty in single-message responses.
489
495
  *
490
- * @generated from protobuf field: MiLaboratories.PL.API.TxAPI.ServerMessage.Multi multi_message = 2;
496
+ * @generated from protobuf field: MiLaboratories.PL.API.TxAPI.ServerMessage.Multi multi_message = 2
491
497
  */
492
498
  multiMessage?: TxAPI_ServerMessage_Multi;
493
499
  /**
@@ -496,326 +502,332 @@ export interface TxAPI_ServerMessage {
496
502
  response: {
497
503
  oneofKind: "txOpen";
498
504
  /**
499
- * @generated from protobuf field: MiLaboratories.PL.API.TxAPI.Open.Response tx_open = 11;
505
+ * @generated from protobuf field: MiLaboratories.PL.API.TxAPI.Open.Response tx_open = 11
500
506
  */
501
507
  txOpen: TxAPI_Open_Response;
502
508
  } | {
503
509
  oneofKind: "txCommit";
504
510
  /**
505
- * @generated from protobuf field: MiLaboratories.PL.API.TxAPI.Commit.Response tx_commit = 12;
511
+ * @generated from protobuf field: MiLaboratories.PL.API.TxAPI.Commit.Response tx_commit = 12
506
512
  */
507
513
  txCommit: TxAPI_Commit_Response;
508
514
  } | {
509
515
  oneofKind: "txDiscard";
510
516
  /**
511
- * @generated from protobuf field: MiLaboratories.PL.API.TxAPI.Discard.Response tx_discard = 13;
517
+ * @generated from protobuf field: MiLaboratories.PL.API.TxAPI.Discard.Response tx_discard = 13
512
518
  */
513
519
  txDiscard: TxAPI_Discard_Response;
514
520
  } | {
515
521
  oneofKind: "resourceCreateRoot";
516
522
  /**
517
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateRoot.Response resource_create_root = 58;
523
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateRoot.Response resource_create_root = 58
518
524
  */
519
525
  resourceCreateRoot: ResourceAPI_CreateRoot_Response;
520
526
  } | {
521
527
  oneofKind: "resourceRemove";
522
528
  /**
523
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Remove.Response resource_remove = 57;
529
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Remove.Response resource_remove = 57
524
530
  */
525
531
  resourceRemove: ResourceAPI_Remove_Response;
526
532
  } | {
527
533
  oneofKind: "resourceCreateStruct";
528
534
  /**
529
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateStruct.Response resource_create_struct = 51;
535
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateStruct.Response resource_create_struct = 51
530
536
  */
531
537
  resourceCreateStruct: ResourceAPI_CreateStruct_Response;
532
538
  } | {
533
539
  oneofKind: "resourceCreateEphemeral";
534
540
  /**
535
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateEphemeral.Response resource_create_ephemeral = 62;
541
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateEphemeral.Response resource_create_ephemeral = 62
536
542
  */
537
543
  resourceCreateEphemeral: ResourceAPI_CreateEphemeral_Response;
538
544
  } | {
539
545
  oneofKind: "resourceCreateValue";
540
546
  /**
541
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateValue.Response resource_create_value = 52;
547
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateValue.Response resource_create_value = 52
542
548
  */
543
549
  resourceCreateValue: ResourceAPI_CreateValue_Response;
544
550
  } | {
545
551
  oneofKind: "resourceGetValueId";
546
552
  /**
547
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.GetValueID.Response resource_get_value_id = 63;
553
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.GetValueID.Response resource_get_value_id = 63
548
554
  */
549
555
  resourceGetValueId: ResourceAPI_GetValueID_Response;
550
556
  } | {
551
557
  oneofKind: "resourceCreateSingleton";
552
558
  /**
553
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateSingleton.Response resource_create_singleton = 64;
559
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateSingleton.Response resource_create_singleton = 64
554
560
  */
555
561
  resourceCreateSingleton: ResourceAPI_CreateSingleton_Response;
556
562
  } | {
557
563
  oneofKind: "resourceGetSingleton";
558
564
  /**
559
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.GetSingleton.Response resource_get_singleton = 65;
565
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.GetSingleton.Response resource_get_singleton = 65
560
566
  */
561
567
  resourceGetSingleton: ResourceAPI_GetSingleton_Response;
562
568
  } | {
563
569
  oneofKind: "resourceCreateChild";
564
570
  /**
565
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateChild.Response resource_create_child = 59;
571
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.CreateChild.Response resource_create_child = 59
566
572
  */
567
573
  resourceCreateChild: ResourceAPI_CreateChild_Response;
568
574
  } | {
569
575
  oneofKind: "resourceLockInputs";
570
576
  /**
571
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.LockInputs.Response resource_lock_inputs = 53;
577
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.LockInputs.Response resource_lock_inputs = 53
572
578
  */
573
579
  resourceLockInputs: ResourceAPI_LockInputs_Response;
574
580
  } | {
575
581
  oneofKind: "resourceLockOutputs";
576
582
  /**
577
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.LockOutputs.Response resource_lock_outputs = 56;
583
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.LockOutputs.Response resource_lock_outputs = 56
578
584
  */
579
585
  resourceLockOutputs: ResourceAPI_LockOutputs_Response;
580
586
  } | {
581
587
  oneofKind: "resourceExists";
582
588
  /**
583
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Exists.Response resource_exists = 54;
589
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Exists.Response resource_exists = 54
584
590
  */
585
591
  resourceExists: ResourceAPI_Exists_Response;
586
592
  } | {
587
593
  oneofKind: "resourceGet";
588
594
  /**
589
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Get.Response resource_get = 55;
595
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Get.Response resource_get = 55
590
596
  */
591
597
  resourceGet: ResourceAPI_Get_Response;
592
598
  } | {
593
599
  oneofKind: "resourceSetError";
594
600
  /**
595
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.SetError.Response resource_set_error = 61;
601
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.SetError.Response resource_set_error = 61
596
602
  */
597
603
  resourceSetError: ResourceAPI_SetError_Response;
598
604
  } | {
599
605
  oneofKind: "resourceListByType";
600
606
  /**
601
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.List.ByType.Response resource_list_by_type = 60;
607
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.List.ByType.Response resource_list_by_type = 60
602
608
  */
603
609
  resourceListByType: ResourceAPI_List_ByType_Response;
604
610
  } | {
605
611
  oneofKind: "resourceNameSet";
606
612
  /**
607
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Name.Set.Response resource_name_set = 66;
613
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Name.Set.Response resource_name_set = 66
608
614
  */
609
615
  resourceNameSet: ResourceAPI_Name_Set_Response;
610
616
  } | {
611
617
  oneofKind: "resourceNameGet";
612
618
  /**
613
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Name.Get.Response resource_name_get = 67;
619
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Name.Get.Response resource_name_get = 67
614
620
  */
615
621
  resourceNameGet: ResourceAPI_Name_Get_Response;
616
622
  } | {
617
623
  oneofKind: "resourceNameExists";
618
624
  /**
619
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Name.Exists.Response resource_name_exists = 68;
625
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Name.Exists.Response resource_name_exists = 68
620
626
  */
621
627
  resourceNameExists: ResourceAPI_Name_Exists_Response;
622
628
  } | {
623
629
  oneofKind: "resourceNameDelete";
624
630
  /**
625
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Name.Delete.Response resource_name_delete = 69;
631
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Name.Delete.Response resource_name_delete = 69
626
632
  */
627
633
  resourceNameDelete: ResourceAPI_Name_Delete_Response;
628
634
  } | {
629
635
  oneofKind: "resourceTree";
630
636
  /**
631
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Tree.Response resource_tree = 70;
637
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.Tree.Response resource_tree = 70
632
638
  */
633
639
  resourceTree: ResourceAPI_Tree_Response;
640
+ } | {
641
+ oneofKind: "resourceTreeSize";
642
+ /**
643
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceAPI.TreeSize.Response resource_tree_size = 71
644
+ */
645
+ resourceTreeSize: ResourceAPI_TreeSize_Response;
634
646
  } | {
635
647
  oneofKind: "fieldCreate";
636
648
  /**
637
- * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Create.Response field_create = 101;
649
+ * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Create.Response field_create = 101
638
650
  */
639
651
  fieldCreate: FieldAPI_Create_Response;
640
652
  } | {
641
653
  oneofKind: "fieldExists";
642
654
  /**
643
- * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Exists.Response field_exists = 107;
655
+ * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Exists.Response field_exists = 107
644
656
  */
645
657
  fieldExists: FieldAPI_Exists_Response;
646
658
  } | {
647
659
  oneofKind: "fieldSet";
648
660
  /**
649
- * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Set.Response field_set = 102;
661
+ * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Set.Response field_set = 102
650
662
  */
651
663
  fieldSet: FieldAPI_Set_Response;
652
664
  } | {
653
665
  oneofKind: "fieldSetError";
654
666
  /**
655
- * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.SetError.Response field_set_error = 105;
667
+ * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.SetError.Response field_set_error = 105
656
668
  */
657
669
  fieldSetError: FieldAPI_SetError_Response;
658
670
  } | {
659
671
  oneofKind: "fieldGet";
660
672
  /**
661
- * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Get.Response field_get = 103;
673
+ * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Get.Response field_get = 103
662
674
  */
663
675
  fieldGet: FieldAPI_Get_Response;
664
676
  } | {
665
677
  oneofKind: "fieldReset";
666
678
  /**
667
- * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Reset.Response field_reset = 104;
679
+ * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Reset.Response field_reset = 104
668
680
  */
669
681
  fieldReset: FieldAPI_Reset_Response;
670
682
  } | {
671
683
  oneofKind: "fieldRemove";
672
684
  /**
673
- * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Remove.Response field_remove = 106;
685
+ * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.Remove.Response field_remove = 106
674
686
  */
675
687
  fieldRemove: FieldAPI_Remove_Response;
676
688
  } | {
677
689
  oneofKind: "fieldList";
678
690
  /**
679
- * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.List.Response field_list = 108;
691
+ * @generated from protobuf field: MiLaboratories.PL.API.FieldAPI.List.Response field_list = 108
680
692
  */
681
693
  fieldList: FieldAPI_List_Response;
682
694
  } | {
683
695
  oneofKind: "subscriptionCreate";
684
696
  /**
685
- * @generated from protobuf field: MiLaboratories.PL.API.SubscriptionAPI.CreateSubscription.Response subscription_create = 111;
697
+ * @generated from protobuf field: MiLaboratories.PL.API.SubscriptionAPI.CreateSubscription.Response subscription_create = 111
686
698
  */
687
699
  subscriptionCreate: SubscriptionAPI_CreateSubscription_Response;
688
700
  } | {
689
701
  oneofKind: "subscriptionCreateFilter";
690
702
  /**
691
- * @generated from protobuf field: MiLaboratories.PL.API.SubscriptionAPI.CreateFilter.Response subscription_create_filter = 115;
703
+ * @generated from protobuf field: MiLaboratories.PL.API.SubscriptionAPI.CreateFilter.Response subscription_create_filter = 115
692
704
  */
693
705
  subscriptionCreateFilter: SubscriptionAPI_CreateFilter_Response;
694
706
  } | {
695
707
  oneofKind: "subscriptionAttachFilter";
696
708
  /**
697
- * @generated from protobuf field: MiLaboratories.PL.API.SubscriptionAPI.AttachFilter.Response subscription_attach_filter = 112;
709
+ * @generated from protobuf field: MiLaboratories.PL.API.SubscriptionAPI.AttachFilter.Response subscription_attach_filter = 112
698
710
  */
699
711
  subscriptionAttachFilter: SubscriptionAPI_AttachFilter_Response;
700
712
  } | {
701
713
  oneofKind: "subscriptionDetachFilter";
702
714
  /**
703
- * @generated from protobuf field: MiLaboratories.PL.API.SubscriptionAPI.DetachFilter.Response subscription_detach_filter = 113;
715
+ * @generated from protobuf field: MiLaboratories.PL.API.SubscriptionAPI.DetachFilter.Response subscription_detach_filter = 113
704
716
  */
705
717
  subscriptionDetachFilter: SubscriptionAPI_DetachFilter_Response;
706
718
  } | {
707
719
  oneofKind: "notificationGet";
708
720
  /**
709
- * @generated from protobuf field: MiLaboratories.PL.API.NotificationAPI.Get.Response notification_get = 154;
721
+ * @generated from protobuf field: MiLaboratories.PL.API.NotificationAPI.Get.Response notification_get = 154
710
722
  */
711
723
  notificationGet: NotificationAPI_Get_Response;
712
724
  } | {
713
725
  oneofKind: "notificationAck";
714
726
  /**
715
- * @generated from protobuf field: MiLaboratories.PL.API.NotificationAPI.Ack.Response notification_ack = 155;
727
+ * @generated from protobuf field: MiLaboratories.PL.API.NotificationAPI.Ack.Response notification_ack = 155
716
728
  */
717
729
  notificationAck: NotificationAPI_Ack_Response;
718
730
  } | {
719
731
  oneofKind: "notificationDiscard";
720
732
  /**
721
- * @generated from protobuf field: MiLaboratories.PL.API.NotificationAPI.Discard.Response notification_discard = 156;
733
+ * @generated from protobuf field: MiLaboratories.PL.API.NotificationAPI.Discard.Response notification_discard = 156
722
734
  */
723
735
  notificationDiscard: NotificationAPI_Discard_Response;
724
736
  } | {
725
737
  oneofKind: "resourceKeyValueSet";
726
738
  /**
727
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.Set.Response resource_key_value_set = 200;
739
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.Set.Response resource_key_value_set = 200
728
740
  */
729
741
  resourceKeyValueSet: ResourceKVAPI_Set_Response;
730
742
  } | {
731
743
  oneofKind: "resourceKeyValueGet";
732
744
  /**
733
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.Get.Response resource_key_value_get = 201;
745
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.Get.Response resource_key_value_get = 201
734
746
  */
735
747
  resourceKeyValueGet: ResourceKVAPI_Get_Response;
736
748
  } | {
737
749
  oneofKind: "resourceKeyValueGetIfExists";
738
750
  /**
739
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.GetIfExists.Response resource_key_value_get_if_exists = 202;
751
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.GetIfExists.Response resource_key_value_get_if_exists = 202
740
752
  */
741
753
  resourceKeyValueGetIfExists: ResourceKVAPI_GetIfExists_Response;
742
754
  } | {
743
755
  oneofKind: "resourceKeyValueSetFlag";
744
756
  /**
745
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.SetFlag.Response resource_key_value_set_flag = 203;
757
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.SetFlag.Response resource_key_value_set_flag = 203
746
758
  */
747
759
  resourceKeyValueSetFlag: ResourceKVAPI_SetFlag_Response;
748
760
  } | {
749
761
  oneofKind: "resourceKeyValueGetFlag";
750
762
  /**
751
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.GetFlag.Response resource_key_value_get_flag = 204;
763
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.GetFlag.Response resource_key_value_get_flag = 204
752
764
  */
753
765
  resourceKeyValueGetFlag: ResourceKVAPI_GetFlag_Response;
754
766
  } | {
755
767
  oneofKind: "resourceKeyValueGetFlagIfExists";
756
768
  /**
757
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.GetFlag.Response resource_key_value_get_flag_if_exists = 205;
769
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.GetFlag.Response resource_key_value_get_flag_if_exists = 205
758
770
  */
759
771
  resourceKeyValueGetFlagIfExists: ResourceKVAPI_GetFlag_Response;
760
772
  } | {
761
773
  oneofKind: "resourceKeyValueDelete";
762
774
  /**
763
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.Delete.Response resource_key_value_delete = 206;
775
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.Delete.Response resource_key_value_delete = 206
764
776
  */
765
777
  resourceKeyValueDelete: ResourceKVAPI_Delete_Response;
766
778
  } | {
767
779
  oneofKind: "resourceKeyValueList";
768
780
  /**
769
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.List.Response resource_key_value_list = 207;
781
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.List.Response resource_key_value_list = 207
770
782
  */
771
783
  resourceKeyValueList: ResourceKVAPI_List_Response; // multi-message
772
784
  } | {
773
785
  oneofKind: "controllerKeyValueSet";
774
786
  /**
775
- * @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.Set.Response controller_key_value_set = 250;
787
+ * @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.Set.Response controller_key_value_set = 250
776
788
  */
777
789
  controllerKeyValueSet: ControllerKVAPI_Set_Response;
778
790
  } | {
779
791
  oneofKind: "controllerKeyValueGet";
780
792
  /**
781
- * @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.Get.Response controller_key_value_get = 251;
793
+ * @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.Get.Response controller_key_value_get = 251
782
794
  */
783
795
  controllerKeyValueGet: ControllerKVAPI_Get_Response;
784
796
  } | {
785
797
  oneofKind: "controllerKeyValueGetIfExists";
786
798
  /**
787
- * @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.GetIfExists.Response controller_key_value_get_if_exists = 252;
799
+ * @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.GetIfExists.Response controller_key_value_get_if_exists = 252
788
800
  */
789
801
  controllerKeyValueGetIfExists: ControllerKVAPI_GetIfExists_Response;
790
802
  } | {
791
803
  oneofKind: "cacheSetToField";
792
804
  /**
793
- * @generated from protobuf field: MiLaboratories.PL.API.CacheAPI.SetToField.Response cache_set_to_field = 300;
805
+ * @generated from protobuf field: MiLaboratories.PL.API.CacheAPI.SetToField.Response cache_set_to_field = 300
794
806
  */
795
807
  cacheSetToField: CacheAPI_SetToField_Response;
796
808
  } | {
797
809
  oneofKind: "cacheDeleteExpiredRecords";
798
810
  /**
799
- * @generated from protobuf field: MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords.Response cache_delete_expired_records = 301;
811
+ * @generated from protobuf field: MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords.Response cache_delete_expired_records = 301
800
812
  */
801
813
  cacheDeleteExpiredRecords: CacheAPI_DeleteExpiredRecords_Response;
802
814
  } | {
803
815
  oneofKind: "controllerFeaturesSet";
804
816
  /**
805
- * @generated from protobuf field: MiLaboratories.PL.API.ControllerAPI.SetFeatures.Response controller_features_set = 350;
817
+ * @generated from protobuf field: MiLaboratories.PL.API.ControllerAPI.SetFeatures.Response controller_features_set = 350
806
818
  */
807
819
  controllerFeaturesSet: ControllerAPI_SetFeatures_Response;
808
820
  } | {
809
821
  oneofKind: "controllerFeaturesClear";
810
822
  /**
811
- * @generated from protobuf field: MiLaboratories.PL.API.ControllerAPI.ClearFeatures.Response controller_features_clear = 351;
823
+ * @generated from protobuf field: MiLaboratories.PL.API.ControllerAPI.ClearFeatures.Response controller_features_clear = 351
812
824
  */
813
825
  controllerFeaturesClear: ControllerAPI_ClearFeatures_Response;
814
826
  } | {
815
827
  oneofKind: undefined;
816
828
  };
817
829
  /**
818
- * @generated from protobuf field: google.rpc.Status error = 3;
830
+ * @generated from protobuf field: google.rpc.Status error = 3
819
831
  */
820
832
  error?: Status;
821
833
  }
@@ -830,14 +842,14 @@ export interface TxAPI_ServerMessage_Multi {
830
842
  * In that case, the server responses to the client with many messages, each having
831
843
  * the same <request_id> value and different <message_id> values.
832
844
  *
833
- * @generated from protobuf field: uint32 id = 1;
845
+ * @generated from protobuf field: uint32 id = 1
834
846
  */
835
847
  id: number;
836
848
  /**
837
849
  * Sign of the last message in multi-message response.
838
850
  * Helps to wrap multi-message responses into iterators on client side.
839
851
  *
840
- * @generated from protobuf field: bool is_last = 2;
852
+ * @generated from protobuf field: bool is_last = 2
841
853
  */
842
854
  isLast: boolean;
843
855
  /**
@@ -845,7 +857,7 @@ export interface TxAPI_ServerMessage_Multi {
845
857
  * (like listing of empty directory). In that case client still has to know that the request was
846
858
  * handled and the empty result is OK.
847
859
  *
848
- * @generated from protobuf field: bool is_empty = 3;
860
+ * @generated from protobuf field: bool is_empty = 3
849
861
  */
850
862
  isEmpty: boolean;
851
863
  }
@@ -859,13 +871,17 @@ export interface TxAPI_Open {
859
871
  */
860
872
  export interface TxAPI_Open_Request {
861
873
  /**
862
- * @generated from protobuf field: string name = 1;
874
+ * @generated from protobuf field: string name = 1
863
875
  */
864
876
  name: string;
865
877
  /**
866
- * @generated from protobuf field: MiLaboratories.PL.API.TxAPI.Open.Request.WritableTx writable = 2;
878
+ * @generated from protobuf field: MiLaboratories.PL.API.TxAPI.Open.Request.WritableTx writable = 2
867
879
  */
868
880
  writable: TxAPI_Open_Request_WritableTx;
881
+ /**
882
+ * @generated from protobuf field: bool enableFormattedErrors = 3
883
+ */
884
+ enableFormattedErrors: boolean;
869
885
  }
870
886
  /**
871
887
  * @generated from protobuf enum MiLaboratories.PL.API.TxAPI.Open.Request.WritableTx
@@ -889,7 +905,7 @@ export enum TxAPI_Open_Request_WritableTx {
889
905
  */
890
906
  export interface TxAPI_Open_Response {
891
907
  /**
892
- * @generated from protobuf field: MiLaboratories.PL.API.Tx tx = 1;
908
+ * @generated from protobuf field: MiLaboratories.PL.API.Tx tx = 1
893
909
  */
894
910
  tx?: Tx;
895
911
  }
@@ -908,7 +924,7 @@ export interface TxAPI_Commit_Request {
908
924
  */
909
925
  export interface TxAPI_Commit_Response {
910
926
  /**
911
- * @generated from protobuf field: bool success = 1;
927
+ * @generated from protobuf field: bool success = 1
912
928
  */
913
929
  success: boolean;
914
930
  }
@@ -937,7 +953,7 @@ export interface TxAPI_Sync {
937
953
  */
938
954
  export interface TxAPI_Sync_Request {
939
955
  /**
940
- * @generated from protobuf field: uint64 tx_id = 1;
956
+ * @generated from protobuf field: uint64 tx_id = 1
941
957
  */
942
958
  txId: bigint;
943
959
  }
@@ -961,15 +977,15 @@ export interface ResourceAPI_CreateStruct {
961
977
  */
962
978
  export interface ResourceAPI_CreateStruct_Request {
963
979
  /**
964
- * @generated from protobuf field: uint64 id = 2;
980
+ * @generated from protobuf field: uint64 id = 2
965
981
  */
966
982
  id: bigint;
967
983
  /**
968
- * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType type = 3;
984
+ * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType type = 3
969
985
  */
970
986
  type?: ResourceType;
971
987
  /**
972
- * @generated from protobuf field: optional bytes data = 4;
988
+ * @generated from protobuf field: optional bytes data = 4
973
989
  */
974
990
  data?: Uint8Array;
975
991
  }
@@ -978,7 +994,7 @@ export interface ResourceAPI_CreateStruct_Request {
978
994
  */
979
995
  export interface ResourceAPI_CreateStruct_Response {
980
996
  /**
981
- * @generated from protobuf field: uint64 resource_id = 1;
997
+ * @generated from protobuf field: uint64 resource_id = 1
982
998
  */
983
999
  resourceId: bigint;
984
1000
  }
@@ -992,15 +1008,15 @@ export interface ResourceAPI_CreateEphemeral {
992
1008
  */
993
1009
  export interface ResourceAPI_CreateEphemeral_Request {
994
1010
  /**
995
- * @generated from protobuf field: uint64 id = 2;
1011
+ * @generated from protobuf field: uint64 id = 2
996
1012
  */
997
1013
  id: bigint;
998
1014
  /**
999
- * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType type = 3;
1015
+ * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType type = 3
1000
1016
  */
1001
1017
  type?: ResourceType;
1002
1018
  /**
1003
- * @generated from protobuf field: optional bytes data = 4;
1019
+ * @generated from protobuf field: optional bytes data = 4
1004
1020
  */
1005
1021
  data?: Uint8Array;
1006
1022
  }
@@ -1009,7 +1025,7 @@ export interface ResourceAPI_CreateEphemeral_Request {
1009
1025
  */
1010
1026
  export interface ResourceAPI_CreateEphemeral_Response {
1011
1027
  /**
1012
- * @generated from protobuf field: uint64 resource_id = 1;
1028
+ * @generated from protobuf field: uint64 resource_id = 1
1013
1029
  */
1014
1030
  resourceId: bigint;
1015
1031
  }
@@ -1023,15 +1039,15 @@ export interface ResourceAPI_CreateChild {
1023
1039
  */
1024
1040
  export interface ResourceAPI_CreateChild_Request {
1025
1041
  /**
1026
- * @generated from protobuf field: uint64 id = 1;
1042
+ * @generated from protobuf field: uint64 id = 1
1027
1043
  */
1028
1044
  id: bigint;
1029
1045
  /**
1030
- * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType type = 2;
1046
+ * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType type = 2
1031
1047
  */
1032
1048
  type?: ResourceType;
1033
1049
  /**
1034
- * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef parent_field = 3;
1050
+ * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef parent_field = 3
1035
1051
  */
1036
1052
  parentField?: FieldRef;
1037
1053
  }
@@ -1040,7 +1056,7 @@ export interface ResourceAPI_CreateChild_Request {
1040
1056
  */
1041
1057
  export interface ResourceAPI_CreateChild_Response {
1042
1058
  /**
1043
- * @generated from protobuf field: uint64 resource_id = 1;
1059
+ * @generated from protobuf field: uint64 resource_id = 1
1044
1060
  */
1045
1061
  resourceId: bigint;
1046
1062
  }
@@ -1054,19 +1070,19 @@ export interface ResourceAPI_CreateValue {
1054
1070
  */
1055
1071
  export interface ResourceAPI_CreateValue_Request {
1056
1072
  /**
1057
- * @generated from protobuf field: uint64 id = 2;
1073
+ * @generated from protobuf field: uint64 id = 2
1058
1074
  */
1059
1075
  id: bigint;
1060
1076
  /**
1061
- * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType type = 3;
1077
+ * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType type = 3
1062
1078
  */
1063
1079
  type?: ResourceType;
1064
1080
  /**
1065
- * @generated from protobuf field: bytes data = 6;
1081
+ * @generated from protobuf field: bytes data = 6
1066
1082
  */
1067
1083
  data: Uint8Array;
1068
1084
  /**
1069
- * @generated from protobuf field: bool error_if_exists = 7;
1085
+ * @generated from protobuf field: bool error_if_exists = 7
1070
1086
  */
1071
1087
  errorIfExists: boolean;
1072
1088
  }
@@ -1075,7 +1091,7 @@ export interface ResourceAPI_CreateValue_Request {
1075
1091
  */
1076
1092
  export interface ResourceAPI_CreateValue_Response {
1077
1093
  /**
1078
- * @generated from protobuf field: uint64 resource_id = 1;
1094
+ * @generated from protobuf field: uint64 resource_id = 1
1079
1095
  */
1080
1096
  resourceId: bigint;
1081
1097
  }
@@ -1089,11 +1105,11 @@ export interface ResourceAPI_GetValueID {
1089
1105
  */
1090
1106
  export interface ResourceAPI_GetValueID_Request {
1091
1107
  /**
1092
- * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType type = 1;
1108
+ * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType type = 1
1093
1109
  */
1094
1110
  type?: ResourceType;
1095
1111
  /**
1096
- * @generated from protobuf field: bytes data = 2;
1112
+ * @generated from protobuf field: bytes data = 2
1097
1113
  */
1098
1114
  data: Uint8Array;
1099
1115
  }
@@ -1102,7 +1118,7 @@ export interface ResourceAPI_GetValueID_Request {
1102
1118
  */
1103
1119
  export interface ResourceAPI_GetValueID_Response {
1104
1120
  /**
1105
- * @generated from protobuf field: uint64 resource_id = 1;
1121
+ * @generated from protobuf field: uint64 resource_id = 1
1106
1122
  */
1107
1123
  resourceId: bigint;
1108
1124
  }
@@ -1116,19 +1132,19 @@ export interface ResourceAPI_CreateSingleton {
1116
1132
  */
1117
1133
  export interface ResourceAPI_CreateSingleton_Request {
1118
1134
  /**
1119
- * @generated from protobuf field: uint64 id = 2;
1135
+ * @generated from protobuf field: uint64 id = 2
1120
1136
  */
1121
1137
  id: bigint;
1122
1138
  /**
1123
- * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType type = 3;
1139
+ * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType type = 3
1124
1140
  */
1125
1141
  type?: ResourceType;
1126
1142
  /**
1127
- * @generated from protobuf field: bytes data = 6;
1143
+ * @generated from protobuf field: bytes data = 6
1128
1144
  */
1129
1145
  data: Uint8Array;
1130
1146
  /**
1131
- * @generated from protobuf field: bool error_if_exists = 7;
1147
+ * @generated from protobuf field: bool error_if_exists = 7
1132
1148
  */
1133
1149
  errorIfExists: boolean;
1134
1150
  }
@@ -1137,7 +1153,7 @@ export interface ResourceAPI_CreateSingleton_Request {
1137
1153
  */
1138
1154
  export interface ResourceAPI_CreateSingleton_Response {
1139
1155
  /**
1140
- * @generated from protobuf field: uint64 resource_id = 1;
1156
+ * @generated from protobuf field: uint64 resource_id = 1
1141
1157
  */
1142
1158
  resourceId: bigint;
1143
1159
  }
@@ -1151,15 +1167,15 @@ export interface ResourceAPI_GetSingleton {
1151
1167
  */
1152
1168
  export interface ResourceAPI_GetSingleton_Request {
1153
1169
  /**
1154
- * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType type = 1;
1170
+ * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType type = 1
1155
1171
  */
1156
1172
  type?: ResourceType;
1157
1173
  /**
1158
- * @generated from protobuf field: bytes data = 2;
1174
+ * @generated from protobuf field: bytes data = 2
1159
1175
  */
1160
1176
  data: Uint8Array;
1161
1177
  /**
1162
- * @generated from protobuf field: bool load_fields = 3;
1178
+ * @generated from protobuf field: bool load_fields = 3
1163
1179
  */
1164
1180
  loadFields: boolean;
1165
1181
  }
@@ -1168,7 +1184,7 @@ export interface ResourceAPI_GetSingleton_Request {
1168
1184
  */
1169
1185
  export interface ResourceAPI_GetSingleton_Response {
1170
1186
  /**
1171
- * @generated from protobuf field: MiLaboratories.PL.API.Resource resource = 1;
1187
+ * @generated from protobuf field: MiLaboratories.PL.API.Resource resource = 1
1172
1188
  */
1173
1189
  resource?: Resource;
1174
1190
  }
@@ -1182,7 +1198,7 @@ export interface ResourceAPI_LockInputs {
1182
1198
  */
1183
1199
  export interface ResourceAPI_LockInputs_Request {
1184
1200
  /**
1185
- * @generated from protobuf field: uint64 resource_id = 1;
1201
+ * @generated from protobuf field: uint64 resource_id = 1
1186
1202
  */
1187
1203
  resourceId: bigint;
1188
1204
  }
@@ -1201,7 +1217,7 @@ export interface ResourceAPI_LockOutputs {
1201
1217
  */
1202
1218
  export interface ResourceAPI_LockOutputs_Request {
1203
1219
  /**
1204
- * @generated from protobuf field: uint64 resource_id = 1;
1220
+ * @generated from protobuf field: uint64 resource_id = 1
1205
1221
  */
1206
1222
  resourceId: bigint;
1207
1223
  }
@@ -1220,7 +1236,7 @@ export interface ResourceAPI_Exists {
1220
1236
  */
1221
1237
  export interface ResourceAPI_Exists_Request {
1222
1238
  /**
1223
- * @generated from protobuf field: uint64 resource_id = 1;
1239
+ * @generated from protobuf field: uint64 resource_id = 1
1224
1240
  */
1225
1241
  resourceId: bigint;
1226
1242
  }
@@ -1229,7 +1245,7 @@ export interface ResourceAPI_Exists_Request {
1229
1245
  */
1230
1246
  export interface ResourceAPI_Exists_Response {
1231
1247
  /**
1232
- * @generated from protobuf field: bool exists = 1;
1248
+ * @generated from protobuf field: bool exists = 1
1233
1249
  */
1234
1250
  exists: boolean;
1235
1251
  }
@@ -1243,11 +1259,11 @@ export interface ResourceAPI_SetError {
1243
1259
  */
1244
1260
  export interface ResourceAPI_SetError_Request {
1245
1261
  /**
1246
- * @generated from protobuf field: uint64 resource_id = 1;
1262
+ * @generated from protobuf field: uint64 resource_id = 1
1247
1263
  */
1248
1264
  resourceId: bigint;
1249
1265
  /**
1250
- * @generated from protobuf field: uint64 error_resource_id = 2;
1266
+ * @generated from protobuf field: uint64 error_resource_id = 2
1251
1267
  */
1252
1268
  errorResourceId: bigint;
1253
1269
  }
@@ -1266,11 +1282,11 @@ export interface ResourceAPI_Get {
1266
1282
  */
1267
1283
  export interface ResourceAPI_Get_Request {
1268
1284
  /**
1269
- * @generated from protobuf field: uint64 resource_id = 1;
1285
+ * @generated from protobuf field: uint64 resource_id = 1
1270
1286
  */
1271
1287
  resourceId: bigint;
1272
1288
  /**
1273
- * @generated from protobuf field: bool load_fields = 2;
1289
+ * @generated from protobuf field: bool load_fields = 2
1274
1290
  */
1275
1291
  loadFields: boolean;
1276
1292
  }
@@ -1279,7 +1295,7 @@ export interface ResourceAPI_Get_Request {
1279
1295
  */
1280
1296
  export interface ResourceAPI_Get_Response {
1281
1297
  /**
1282
- * @generated from protobuf field: MiLaboratories.PL.API.Resource resource = 1;
1298
+ * @generated from protobuf field: MiLaboratories.PL.API.Resource resource = 1
1283
1299
  */
1284
1300
  resource?: Resource;
1285
1301
  }
@@ -1298,20 +1314,47 @@ export interface ResourceAPI_List_ByType {
1298
1314
  */
1299
1315
  export interface ResourceAPI_List_ByType_Request {
1300
1316
  /**
1301
- * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType resource_type = 1;
1317
+ * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType resource_type = 1
1302
1318
  */
1303
1319
  resourceType?: ResourceType;
1320
+ /**
1321
+ * Non-zero value makes API to limit its responses count to at most
1322
+ * <limit> number of items.
1323
+ * Zero value makes API to return all available items.
1324
+ *
1325
+ * @generated from protobuf field: uint32 limit = 3
1326
+ */
1327
+ limit: number;
1328
+ /**
1329
+ * Start listing from given resource ID (not including this resource ID itself)
1330
+ * After == 100 means listing will NOT contain resources with ID = 100 and lower.
1331
+ *
1332
+ * @generated from protobuf field: uint64 after = 6
1333
+ */
1334
+ after: bigint;
1335
+ /**
1336
+ * True value makes API to return original resources instead of duplicates.
1337
+ *
1338
+ * @generated from protobuf field: bool resolve_duplicates = 4
1339
+ */
1340
+ resolveDuplicates: boolean;
1341
+ /**
1342
+ * Load fields for each resource in list.
1343
+ *
1344
+ * @generated from protobuf field: bool load_fields = 5
1345
+ */
1346
+ loadFields: boolean;
1304
1347
  }
1305
1348
  /**
1349
+ * Multi-message
1350
+ *
1306
1351
  * @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.List.ByType.Response
1307
1352
  */
1308
1353
  export interface ResourceAPI_List_ByType_Response {
1309
1354
  /**
1310
- * @generated from protobuf field: map<uint64, MiLaboratories.PL.API.Resource> resources = 1;
1355
+ * @generated from protobuf field: MiLaboratories.PL.API.Resource resource = 1
1311
1356
  */
1312
- resources: {
1313
- [key: string]: Resource;
1314
- };
1357
+ resource?: Resource;
1315
1358
  }
1316
1359
  /**
1317
1360
  * @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.CreateRoot
@@ -1323,11 +1366,11 @@ export interface ResourceAPI_CreateRoot {
1323
1366
  */
1324
1367
  export interface ResourceAPI_CreateRoot_Request {
1325
1368
  /**
1326
- * @generated from protobuf field: uint64 id = 2;
1369
+ * @generated from protobuf field: uint64 id = 2
1327
1370
  */
1328
1371
  id: bigint;
1329
1372
  /**
1330
- * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType type = 3;
1373
+ * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType type = 3
1331
1374
  */
1332
1375
  type?: ResourceType;
1333
1376
  }
@@ -1336,7 +1379,7 @@ export interface ResourceAPI_CreateRoot_Request {
1336
1379
  */
1337
1380
  export interface ResourceAPI_CreateRoot_Response {
1338
1381
  /**
1339
- * @generated from protobuf field: uint64 resource_id = 1;
1382
+ * @generated from protobuf field: uint64 resource_id = 1
1340
1383
  */
1341
1384
  resourceId: bigint;
1342
1385
  }
@@ -1354,7 +1397,7 @@ export interface ResourceAPI_Remove {
1354
1397
  */
1355
1398
  export interface ResourceAPI_Remove_Request {
1356
1399
  /**
1357
- * @generated from protobuf field: uint64 id = 1;
1400
+ * @generated from protobuf field: uint64 id = 1
1358
1401
  */
1359
1402
  id: bigint;
1360
1403
  }
@@ -1378,11 +1421,11 @@ export interface ResourceAPI_Name_Set {
1378
1421
  */
1379
1422
  export interface ResourceAPI_Name_Set_Request {
1380
1423
  /**
1381
- * @generated from protobuf field: uint64 resource_id = 1;
1424
+ * @generated from protobuf field: uint64 resource_id = 1
1382
1425
  */
1383
1426
  resourceId: bigint;
1384
1427
  /**
1385
- * @generated from protobuf field: string name = 2;
1428
+ * @generated from protobuf field: string name = 2
1386
1429
  */
1387
1430
  name: string;
1388
1431
  }
@@ -1401,7 +1444,7 @@ export interface ResourceAPI_Name_Get {
1401
1444
  */
1402
1445
  export interface ResourceAPI_Name_Get_Request {
1403
1446
  /**
1404
- * @generated from protobuf field: string name = 1;
1447
+ * @generated from protobuf field: string name = 1
1405
1448
  */
1406
1449
  name: string;
1407
1450
  }
@@ -1410,7 +1453,7 @@ export interface ResourceAPI_Name_Get_Request {
1410
1453
  */
1411
1454
  export interface ResourceAPI_Name_Get_Response {
1412
1455
  /**
1413
- * @generated from protobuf field: uint64 resource_id = 1;
1456
+ * @generated from protobuf field: uint64 resource_id = 1
1414
1457
  */
1415
1458
  resourceId: bigint;
1416
1459
  }
@@ -1424,7 +1467,7 @@ export interface ResourceAPI_Name_Exists {
1424
1467
  */
1425
1468
  export interface ResourceAPI_Name_Exists_Request {
1426
1469
  /**
1427
- * @generated from protobuf field: string name = 1;
1470
+ * @generated from protobuf field: string name = 1
1428
1471
  */
1429
1472
  name: string;
1430
1473
  }
@@ -1433,7 +1476,7 @@ export interface ResourceAPI_Name_Exists_Request {
1433
1476
  */
1434
1477
  export interface ResourceAPI_Name_Exists_Response {
1435
1478
  /**
1436
- * @generated from protobuf field: bool exists = 1;
1479
+ * @generated from protobuf field: bool exists = 1
1437
1480
  */
1438
1481
  exists: boolean;
1439
1482
  }
@@ -1447,7 +1490,7 @@ export interface ResourceAPI_Name_Delete {
1447
1490
  */
1448
1491
  export interface ResourceAPI_Name_Delete_Request {
1449
1492
  /**
1450
- * @generated from protobuf field: string name = 1;
1493
+ * @generated from protobuf field: string name = 1
1451
1494
  */
1452
1495
  name: string;
1453
1496
  }
@@ -1466,7 +1509,7 @@ export interface ResourceAPI_Tree {
1466
1509
  */
1467
1510
  export interface ResourceAPI_Tree_Request {
1468
1511
  /**
1469
- * @generated from protobuf field: uint64 resource_id = 1;
1512
+ * @generated from protobuf field: uint64 resource_id = 1
1470
1513
  */
1471
1514
  resourceId: bigint;
1472
1515
  /**
@@ -1477,7 +1520,7 @@ export interface ResourceAPI_Tree_Request {
1477
1520
  * 0 value makes API to return only single resource <resource_id> and is actually
1478
1521
  * equal to Get.Request
1479
1522
  *
1480
- * @generated from protobuf field: optional uint32 max_depth = 2;
1523
+ * @generated from protobuf field: optional uint32 max_depth = 2
1481
1524
  */
1482
1525
  maxDepth?: number;
1483
1526
  }
@@ -1488,10 +1531,40 @@ export interface ResourceAPI_Tree_Request {
1488
1531
  */
1489
1532
  export interface ResourceAPI_Tree_Response {
1490
1533
  /**
1491
- * @generated from protobuf field: MiLaboratories.PL.API.Resource resource = 1;
1534
+ * @generated from protobuf field: MiLaboratories.PL.API.Resource resource = 1
1492
1535
  */
1493
1536
  resource?: Resource;
1494
1537
  }
1538
+ /**
1539
+ * @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.TreeSize
1540
+ */
1541
+ export interface ResourceAPI_TreeSize {
1542
+ }
1543
+ /**
1544
+ * @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.TreeSize.Request
1545
+ */
1546
+ export interface ResourceAPI_TreeSize_Request {
1547
+ /**
1548
+ * @generated from protobuf field: uint64 resource_id = 1
1549
+ */
1550
+ resourceId: bigint;
1551
+ }
1552
+ /**
1553
+ * @generated from protobuf message MiLaboratories.PL.API.ResourceAPI.TreeSize.Response
1554
+ */
1555
+ export interface ResourceAPI_TreeSize_Response {
1556
+ /**
1557
+ * size of all tree resources in bytes
1558
+ * could change between call regarding compression algorithm
1559
+ *
1560
+ * @generated from protobuf field: uint64 size = 1
1561
+ */
1562
+ size: bigint;
1563
+ /**
1564
+ * @generated from protobuf field: uint64 resource_count = 2
1565
+ */
1566
+ resourceCount: bigint;
1567
+ }
1495
1568
  /**
1496
1569
  * @generated from protobuf message MiLaboratories.PL.API.FieldAPI
1497
1570
  */
@@ -1507,13 +1580,13 @@ export interface FieldAPI_Create {
1507
1580
  */
1508
1581
  export interface FieldAPI_Create_Request {
1509
1582
  /**
1510
- * @generated from protobuf field: MiLaboratories.PL.Base.FieldType type = 1;
1583
+ * @generated from protobuf field: MiLaboratories.PL.Base.FieldType type = 1
1511
1584
  */
1512
1585
  type: FieldType;
1513
1586
  /**
1514
1587
  * field ID is always combination of parent resource ID and field name
1515
1588
  *
1516
- * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef id = 2;
1589
+ * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef id = 2
1517
1590
  */
1518
1591
  id?: FieldRef;
1519
1592
  }
@@ -1522,7 +1595,7 @@ export interface FieldAPI_Create_Request {
1522
1595
  */
1523
1596
  export interface FieldAPI_Create_Response {
1524
1597
  /**
1525
- * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef global_id = 1;
1598
+ * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef global_id = 1
1526
1599
  */
1527
1600
  globalId?: FieldRef;
1528
1601
  }
@@ -1536,7 +1609,7 @@ export interface FieldAPI_Exists {
1536
1609
  */
1537
1610
  export interface FieldAPI_Exists_Request {
1538
1611
  /**
1539
- * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef field = 1;
1612
+ * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef field = 1
1540
1613
  */
1541
1614
  field?: FieldRef;
1542
1615
  }
@@ -1545,7 +1618,7 @@ export interface FieldAPI_Exists_Request {
1545
1618
  */
1546
1619
  export interface FieldAPI_Exists_Response {
1547
1620
  /**
1548
- * @generated from protobuf field: bool exists = 1;
1621
+ * @generated from protobuf field: bool exists = 1
1549
1622
  */
1550
1623
  exists: boolean;
1551
1624
  }
@@ -1559,11 +1632,11 @@ export interface FieldAPI_Set {
1559
1632
  */
1560
1633
  export interface FieldAPI_Set_Request {
1561
1634
  /**
1562
- * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef field = 1;
1635
+ * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef field = 1
1563
1636
  */
1564
1637
  field?: FieldRef;
1565
1638
  /**
1566
- * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef value = 2;
1639
+ * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef value = 2
1567
1640
  */
1568
1641
  value?: FieldRef;
1569
1642
  }
@@ -1582,11 +1655,11 @@ export interface FieldAPI_SetError {
1582
1655
  */
1583
1656
  export interface FieldAPI_SetError_Request {
1584
1657
  /**
1585
- * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef field = 1;
1658
+ * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef field = 1
1586
1659
  */
1587
1660
  field?: FieldRef;
1588
1661
  /**
1589
- * @generated from protobuf field: uint64 err_resource_id = 2;
1662
+ * @generated from protobuf field: uint64 err_resource_id = 2
1590
1663
  */
1591
1664
  errResourceId: bigint;
1592
1665
  }
@@ -1605,7 +1678,7 @@ export interface FieldAPI_Get {
1605
1678
  */
1606
1679
  export interface FieldAPI_Get_Request {
1607
1680
  /**
1608
- * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef field = 1;
1681
+ * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef field = 1
1609
1682
  */
1610
1683
  field?: FieldRef;
1611
1684
  }
@@ -1614,7 +1687,7 @@ export interface FieldAPI_Get_Request {
1614
1687
  */
1615
1688
  export interface FieldAPI_Get_Response {
1616
1689
  /**
1617
- * @generated from protobuf field: MiLaboratories.PL.API.Field field = 1;
1690
+ * @generated from protobuf field: MiLaboratories.PL.API.Field field = 1
1618
1691
  */
1619
1692
  field?: Field;
1620
1693
  }
@@ -1628,7 +1701,7 @@ export interface FieldAPI_Reset {
1628
1701
  */
1629
1702
  export interface FieldAPI_Reset_Request {
1630
1703
  /**
1631
- * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef field = 1;
1704
+ * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef field = 1
1632
1705
  */
1633
1706
  field?: FieldRef;
1634
1707
  }
@@ -1647,7 +1720,7 @@ export interface FieldAPI_Remove {
1647
1720
  */
1648
1721
  export interface FieldAPI_Remove_Request {
1649
1722
  /**
1650
- * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef field = 1;
1723
+ * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef field = 1
1651
1724
  */
1652
1725
  field?: FieldRef;
1653
1726
  }
@@ -1666,14 +1739,14 @@ export interface FieldAPI_List {
1666
1739
  */
1667
1740
  export interface FieldAPI_List_Request {
1668
1741
  /**
1669
- * @generated from protobuf field: uint64 resource_id = 1;
1742
+ * @generated from protobuf field: uint64 resource_id = 1
1670
1743
  */
1671
1744
  resourceId: bigint;
1672
1745
  /**
1673
1746
  * Start the listing from given position, returning first field with
1674
1747
  * name >= start_from.
1675
1748
  *
1676
- * @generated from protobuf field: string start_from = 2;
1749
+ * @generated from protobuf field: string start_from = 2
1677
1750
  */
1678
1751
  startFrom: string;
1679
1752
  /**
@@ -1681,7 +1754,7 @@ export interface FieldAPI_List_Request {
1681
1754
  * most <limit>.
1682
1755
  * Zero value makes API to return all available fields of the resource.
1683
1756
  *
1684
- * @generated from protobuf field: uint32 limit = 3;
1757
+ * @generated from protobuf field: uint32 limit = 3
1685
1758
  */
1686
1759
  limit: number;
1687
1760
  }
@@ -1692,7 +1765,7 @@ export interface FieldAPI_List_Request {
1692
1765
  */
1693
1766
  export interface FieldAPI_List_Response {
1694
1767
  /**
1695
- * @generated from protobuf field: MiLaboratories.PL.API.Field field = 1;
1768
+ * @generated from protobuf field: MiLaboratories.PL.API.Field field = 1
1696
1769
  */
1697
1770
  field?: Field;
1698
1771
  /**
@@ -1703,7 +1776,7 @@ export interface FieldAPI_List_Response {
1703
1776
  *
1704
1777
  * Use <next> value as <start_from> in the List.Request to continue listing.
1705
1778
  *
1706
- * @generated from protobuf field: string next = 4;
1779
+ * @generated from protobuf field: string next = 4
1707
1780
  */
1708
1781
  next: string;
1709
1782
  }
@@ -1722,11 +1795,11 @@ export interface NotificationAPI_Get {
1722
1795
  */
1723
1796
  export interface NotificationAPI_Get_Request {
1724
1797
  /**
1725
- * @generated from protobuf field: uint64 subscription = 1;
1798
+ * @generated from protobuf field: uint64 subscription = 1
1726
1799
  */
1727
1800
  subscription: bigint;
1728
1801
  /**
1729
- * @generated from protobuf field: uint32 max_notifications = 2;
1802
+ * @generated from protobuf field: uint32 max_notifications = 2
1730
1803
  */
1731
1804
  maxNotifications: number;
1732
1805
  }
@@ -1735,7 +1808,7 @@ export interface NotificationAPI_Get_Request {
1735
1808
  */
1736
1809
  export interface NotificationAPI_Get_Response {
1737
1810
  /**
1738
- * @generated from protobuf field: repeated MiLaboratories.PL.API.Notification notifications = 1;
1811
+ * @generated from protobuf field: repeated MiLaboratories.PL.API.Notification notifications = 1
1739
1812
  */
1740
1813
  notifications: Notification[];
1741
1814
  }
@@ -1749,11 +1822,11 @@ export interface NotificationAPI_Ack {
1749
1822
  */
1750
1823
  export interface NotificationAPI_Ack_Request {
1751
1824
  /**
1752
- * @generated from protobuf field: uint64 subscription_id = 1;
1825
+ * @generated from protobuf field: uint64 subscription_id = 1
1753
1826
  */
1754
1827
  subscriptionId: bigint;
1755
1828
  /**
1756
- * @generated from protobuf field: uint64 event_id = 2;
1829
+ * @generated from protobuf field: uint64 event_id = 2
1757
1830
  */
1758
1831
  eventId: bigint;
1759
1832
  }
@@ -1772,11 +1845,11 @@ export interface NotificationAPI_Discard {
1772
1845
  */
1773
1846
  export interface NotificationAPI_Discard_Request {
1774
1847
  /**
1775
- * @generated from protobuf field: uint64 subscription_id = 1;
1848
+ * @generated from protobuf field: uint64 subscription_id = 1
1776
1849
  */
1777
1850
  subscriptionId: bigint;
1778
1851
  /**
1779
- * @generated from protobuf field: uint64 event_id = 2;
1852
+ * @generated from protobuf field: uint64 event_id = 2
1780
1853
  */
1781
1854
  eventId: bigint;
1782
1855
  }
@@ -1800,15 +1873,15 @@ export interface SubscriptionAPI_CreateSubscription {
1800
1873
  */
1801
1874
  export interface SubscriptionAPI_CreateSubscription_Request {
1802
1875
  /**
1803
- * @generated from protobuf field: uint64 id = 1;
1876
+ * @generated from protobuf field: uint64 id = 1
1804
1877
  */
1805
1878
  id: bigint;
1806
1879
  /**
1807
- * @generated from protobuf field: bool blocking = 2;
1880
+ * @generated from protobuf field: bool blocking = 2
1808
1881
  */
1809
1882
  blocking: boolean;
1810
1883
  /**
1811
- * @generated from protobuf field: bool gc = 3;
1884
+ * @generated from protobuf field: bool gc = 3
1812
1885
  */
1813
1886
  gc: boolean;
1814
1887
  }
@@ -1817,7 +1890,7 @@ export interface SubscriptionAPI_CreateSubscription_Request {
1817
1890
  */
1818
1891
  export interface SubscriptionAPI_CreateSubscription_Response {
1819
1892
  /**
1820
- * @generated from protobuf field: uint64 subscription_id = 1;
1893
+ * @generated from protobuf field: uint64 subscription_id = 1
1821
1894
  */
1822
1895
  subscriptionId: bigint;
1823
1896
  }
@@ -1831,11 +1904,11 @@ export interface SubscriptionAPI_CreateFilter {
1831
1904
  */
1832
1905
  export interface SubscriptionAPI_CreateFilter_Request {
1833
1906
  /**
1834
- * @generated from protobuf field: uint64 id = 1;
1907
+ * @generated from protobuf field: uint64 id = 1
1835
1908
  */
1836
1909
  id: bigint;
1837
1910
  /**
1838
- * @generated from protobuf field: MiLaboratories.PL.RTypes.NotificationFilter filter = 2;
1911
+ * @generated from protobuf field: MiLaboratories.PL.RTypes.NotificationFilter filter = 2
1839
1912
  */
1840
1913
  filter?: NotificationFilter;
1841
1914
  }
@@ -1844,7 +1917,7 @@ export interface SubscriptionAPI_CreateFilter_Request {
1844
1917
  */
1845
1918
  export interface SubscriptionAPI_CreateFilter_Response {
1846
1919
  /**
1847
- * @generated from protobuf field: uint64 filter_id = 1;
1920
+ * @generated from protobuf field: uint64 filter_id = 1
1848
1921
  */
1849
1922
  filterId: bigint;
1850
1923
  }
@@ -1858,21 +1931,21 @@ export interface SubscriptionAPI_ListSubscriptions {
1858
1931
  */
1859
1932
  export interface SubscriptionAPI_ListSubscriptions_SubscriptionInfo {
1860
1933
  /**
1861
- * @generated from protobuf field: MiLaboratories.PL.API.Subscription subscription = 1;
1934
+ * @generated from protobuf field: MiLaboratories.PL.API.Subscription subscription = 1
1862
1935
  */
1863
1936
  subscription?: Subscription;
1864
1937
  /**
1865
1938
  * TS of the moment someone last read notifications from subscription.
1866
1939
  * old time = stale (lost) subscription
1867
1940
  *
1868
- * @generated from protobuf field: uint64 last_read_time = 2;
1941
+ * @generated from protobuf field: uint64 last_read_time = 2
1869
1942
  */
1870
1943
  lastReadTime: bigint;
1871
1944
  /**
1872
1945
  * number of not-yet-read notifications in subscription queue
1873
1946
  * (notifications subscriber is expected to get on next reads)
1874
1947
  *
1875
- * @generated from protobuf field: uint64 notification_queue_size = 3;
1948
+ * @generated from protobuf field: uint64 notification_queue_size = 3
1876
1949
  */
1877
1950
  notificationQueueSize: bigint;
1878
1951
  }
@@ -1886,7 +1959,7 @@ export interface SubscriptionAPI_ListSubscriptions_Request {
1886
1959
  */
1887
1960
  export interface SubscriptionAPI_ListSubscriptions_Response {
1888
1961
  /**
1889
- * @generated from protobuf field: repeated MiLaboratories.PL.API.SubscriptionAPI.ListSubscriptions.SubscriptionInfo subscriptions = 1;
1962
+ * @generated from protobuf field: repeated MiLaboratories.PL.API.SubscriptionAPI.ListSubscriptions.SubscriptionInfo subscriptions = 1
1890
1963
  */
1891
1964
  subscriptions: SubscriptionAPI_ListSubscriptions_SubscriptionInfo[];
1892
1965
  }
@@ -1900,15 +1973,15 @@ export interface SubscriptionAPI_AttachFilter {
1900
1973
  */
1901
1974
  export interface SubscriptionAPI_AttachFilter_Request {
1902
1975
  /**
1903
- * @generated from protobuf field: uint64 subscription_id = 1;
1976
+ * @generated from protobuf field: uint64 subscription_id = 1
1904
1977
  */
1905
1978
  subscriptionId: bigint;
1906
1979
  /**
1907
- * @generated from protobuf field: string filter_name = 2;
1980
+ * @generated from protobuf field: string filter_name = 2
1908
1981
  */
1909
1982
  filterName: string;
1910
1983
  /**
1911
- * @generated from protobuf field: uint64 filter_id = 3;
1984
+ * @generated from protobuf field: uint64 filter_id = 3
1912
1985
  */
1913
1986
  filterId: bigint;
1914
1987
  }
@@ -1927,11 +2000,11 @@ export interface SubscriptionAPI_DetachFilter {
1927
2000
  */
1928
2001
  export interface SubscriptionAPI_DetachFilter_Request {
1929
2002
  /**
1930
- * @generated from protobuf field: uint64 subscription_id = 1;
2003
+ * @generated from protobuf field: uint64 subscription_id = 1
1931
2004
  */
1932
2005
  subscriptionId: bigint;
1933
2006
  /**
1934
- * @generated from protobuf field: string filter_name = 2;
2007
+ * @generated from protobuf field: string filter_name = 2
1935
2008
  */
1936
2009
  filterName: string;
1937
2010
  }
@@ -1955,17 +2028,17 @@ export interface ControllerAPI_Register {
1955
2028
  */
1956
2029
  export interface ControllerAPI_Register_Request {
1957
2030
  /**
1958
- * @generated from protobuf field: string controller_type = 1;
2031
+ * @generated from protobuf field: string controller_type = 1
1959
2032
  */
1960
2033
  controllerType: string;
1961
2034
  /**
1962
- * @generated from protobuf field: map<string, MiLaboratories.PL.RTypes.NotificationFilter> filters = 2;
2035
+ * @generated from protobuf field: map<string, MiLaboratories.PL.RTypes.NotificationFilter> filters = 2
1963
2036
  */
1964
2037
  filters: {
1965
2038
  [key: string]: NotificationFilter;
1966
2039
  };
1967
2040
  /**
1968
- * @generated from protobuf field: repeated MiLaboratories.PL.API.ResourceSchema resource_schemas = 3;
2041
+ * @generated from protobuf field: repeated MiLaboratories.PL.API.ResourceSchema resource_schemas = 3
1969
2042
  */
1970
2043
  resourceSchemas: ResourceSchema[];
1971
2044
  }
@@ -1974,11 +2047,11 @@ export interface ControllerAPI_Register_Request {
1974
2047
  */
1975
2048
  export interface ControllerAPI_Register_Response {
1976
2049
  /**
1977
- * @generated from protobuf field: uint64 controller_id = 1;
2050
+ * @generated from protobuf field: uint64 controller_id = 1
1978
2051
  */
1979
2052
  controllerId: bigint;
1980
2053
  /**
1981
- * @generated from protobuf field: uint64 subscription_id = 2;
2054
+ * @generated from protobuf field: uint64 subscription_id = 2
1982
2055
  */
1983
2056
  subscriptionId: bigint;
1984
2057
  }
@@ -1992,7 +2065,7 @@ export interface ControllerAPI_Exists {
1992
2065
  */
1993
2066
  export interface ControllerAPI_Exists_Request {
1994
2067
  /**
1995
- * @generated from protobuf field: string controller_type = 1;
2068
+ * @generated from protobuf field: string controller_type = 1
1996
2069
  */
1997
2070
  controllerType: string;
1998
2071
  }
@@ -2001,7 +2074,7 @@ export interface ControllerAPI_Exists_Request {
2001
2074
  */
2002
2075
  export interface ControllerAPI_Exists_Response {
2003
2076
  /**
2004
- * @generated from protobuf field: bool exists = 1;
2077
+ * @generated from protobuf field: bool exists = 1
2005
2078
  */
2006
2079
  exists: boolean;
2007
2080
  }
@@ -2015,17 +2088,17 @@ export interface ControllerAPI_Update {
2015
2088
  */
2016
2089
  export interface ControllerAPI_Update_Request {
2017
2090
  /**
2018
- * @generated from protobuf field: string controller_type = 1;
2091
+ * @generated from protobuf field: string controller_type = 1
2019
2092
  */
2020
2093
  controllerType: string;
2021
2094
  /**
2022
- * @generated from protobuf field: map<string, MiLaboratories.PL.RTypes.NotificationFilter> filters = 2;
2095
+ * @generated from protobuf field: map<string, MiLaboratories.PL.RTypes.NotificationFilter> filters = 2
2023
2096
  */
2024
2097
  filters: {
2025
2098
  [key: string]: NotificationFilter;
2026
2099
  };
2027
2100
  /**
2028
- * @generated from protobuf field: repeated MiLaboratories.PL.API.ResourceSchema resource_schemas = 3;
2101
+ * @generated from protobuf field: repeated MiLaboratories.PL.API.ResourceSchema resource_schemas = 3
2029
2102
  */
2030
2103
  resourceSchemas: ResourceSchema[];
2031
2104
  }
@@ -2044,7 +2117,7 @@ export interface ControllerAPI_Deregister {
2044
2117
  */
2045
2118
  export interface ControllerAPI_Deregister_Request {
2046
2119
  /**
2047
- * @generated from protobuf field: string controller_type = 1;
2120
+ * @generated from protobuf field: string controller_type = 1
2048
2121
  */
2049
2122
  controllerType: string;
2050
2123
  }
@@ -2063,11 +2136,11 @@ export interface ControllerAPI_Create {
2063
2136
  */
2064
2137
  export interface ControllerAPI_Create_Request {
2065
2138
  /**
2066
- * @generated from protobuf field: uint64 id = 1;
2139
+ * @generated from protobuf field: uint64 id = 1
2067
2140
  */
2068
2141
  id: bigint;
2069
2142
  /**
2070
- * @generated from protobuf field: string controller_type = 2;
2143
+ * @generated from protobuf field: string controller_type = 2
2071
2144
  */
2072
2145
  controllerType: string;
2073
2146
  }
@@ -2076,7 +2149,7 @@ export interface ControllerAPI_Create_Request {
2076
2149
  */
2077
2150
  export interface ControllerAPI_Create_Response {
2078
2151
  /**
2079
- * @generated from protobuf field: uint64 controller_id = 1;
2152
+ * @generated from protobuf field: uint64 controller_id = 1
2080
2153
  */
2081
2154
  controllerId: bigint;
2082
2155
  }
@@ -2090,7 +2163,7 @@ export interface ControllerAPI_Get {
2090
2163
  */
2091
2164
  export interface ControllerAPI_Get_Request {
2092
2165
  /**
2093
- * @generated from protobuf field: string controller_type = 1;
2166
+ * @generated from protobuf field: string controller_type = 1
2094
2167
  */
2095
2168
  controllerType: string;
2096
2169
  }
@@ -2099,7 +2172,7 @@ export interface ControllerAPI_Get_Request {
2099
2172
  */
2100
2173
  export interface ControllerAPI_Get_Response {
2101
2174
  /**
2102
- * @generated from protobuf field: MiLaboratories.PL.API.Controller controller = 1;
2175
+ * @generated from protobuf field: MiLaboratories.PL.API.Controller controller = 1
2103
2176
  */
2104
2177
  controller?: Controller;
2105
2178
  }
@@ -2113,11 +2186,11 @@ export interface ControllerAPI_AttachSubscription {
2113
2186
  */
2114
2187
  export interface ControllerAPI_AttachSubscription_Request {
2115
2188
  /**
2116
- * @generated from protobuf field: uint64 controller_id = 1;
2189
+ * @generated from protobuf field: uint64 controller_id = 1
2117
2190
  */
2118
2191
  controllerId: bigint;
2119
2192
  /**
2120
- * @generated from protobuf field: uint64 subscription_id = 2;
2193
+ * @generated from protobuf field: uint64 subscription_id = 2
2121
2194
  */
2122
2195
  subscriptionId: bigint;
2123
2196
  }
@@ -2136,11 +2209,11 @@ export interface ControllerAPI_GetNotifications {
2136
2209
  */
2137
2210
  export interface ControllerAPI_GetNotifications_Request {
2138
2211
  /**
2139
- * @generated from protobuf field: string controller_type = 1;
2212
+ * @generated from protobuf field: string controller_type = 1
2140
2213
  */
2141
2214
  controllerType: string;
2142
2215
  /**
2143
- * @generated from protobuf field: uint32 max_notifications = 2;
2216
+ * @generated from protobuf field: uint32 max_notifications = 2
2144
2217
  */
2145
2218
  maxNotifications: number;
2146
2219
  }
@@ -2149,7 +2222,7 @@ export interface ControllerAPI_GetNotifications_Request {
2149
2222
  */
2150
2223
  export interface ControllerAPI_GetNotifications_Response {
2151
2224
  /**
2152
- * @generated from protobuf field: repeated MiLaboratories.PL.API.Notification notifications = 1;
2225
+ * @generated from protobuf field: repeated MiLaboratories.PL.API.Notification notifications = 1
2153
2226
  */
2154
2227
  notifications: Notification[];
2155
2228
  }
@@ -2163,11 +2236,11 @@ export interface ControllerAPI_WriteAliasesAndUrls {
2163
2236
  */
2164
2237
  export interface ControllerAPI_WriteAliasesAndUrls_Request {
2165
2238
  /**
2166
- * @generated from protobuf field: string controller_type = 1;
2239
+ * @generated from protobuf field: string controller_type = 1
2167
2240
  */
2168
2241
  controllerType: string;
2169
2242
  /**
2170
- * @generated from protobuf field: map<string, string> aliases_to_urls = 2;
2243
+ * @generated from protobuf field: map<string, string> aliases_to_urls = 2
2171
2244
  */
2172
2245
  aliasesToUrls: {
2173
2246
  [key: string]: string;
@@ -2188,11 +2261,11 @@ export interface ControllerAPI_GetUrl {
2188
2261
  */
2189
2262
  export interface ControllerAPI_GetUrl_Request {
2190
2263
  /**
2191
- * @generated from protobuf field: string controller_alias = 1;
2264
+ * @generated from protobuf field: string controller_alias = 1
2192
2265
  */
2193
2266
  controllerAlias: string;
2194
2267
  /**
2195
- * @generated from protobuf field: uint64 resource_id = 2;
2268
+ * @generated from protobuf field: uint64 resource_id = 2
2196
2269
  */
2197
2270
  resourceId: bigint;
2198
2271
  }
@@ -2201,7 +2274,7 @@ export interface ControllerAPI_GetUrl_Request {
2201
2274
  */
2202
2275
  export interface ControllerAPI_GetUrl_Response {
2203
2276
  /**
2204
- * @generated from protobuf field: string controller_url = 2;
2277
+ * @generated from protobuf field: string controller_url = 2
2205
2278
  */
2206
2279
  controllerUrl: string;
2207
2280
  }
@@ -2215,7 +2288,7 @@ export interface ControllerAPI_RemoveAliasesAndUrls {
2215
2288
  */
2216
2289
  export interface ControllerAPI_RemoveAliasesAndUrls_Request {
2217
2290
  /**
2218
- * @generated from protobuf field: string controller_type = 1;
2291
+ * @generated from protobuf field: string controller_type = 1
2219
2292
  */
2220
2293
  controllerType: string;
2221
2294
  }
@@ -2234,7 +2307,7 @@ export interface ControllerAPI_SetFeatures {
2234
2307
  */
2235
2308
  export interface ControllerAPI_SetFeatures_Request {
2236
2309
  /**
2237
- * @generated from protobuf field: repeated MiLaboratories.PL.API.ResourceAPIFeature features = 2;
2310
+ * @generated from protobuf field: repeated MiLaboratories.PL.API.ResourceAPIFeature features = 2
2238
2311
  */
2239
2312
  features: ResourceAPIFeature[];
2240
2313
  }
@@ -2253,7 +2326,7 @@ export interface ControllerAPI_ClearFeatures {
2253
2326
  */
2254
2327
  export interface ControllerAPI_ClearFeatures_Request {
2255
2328
  /**
2256
- * @generated from protobuf field: string controller_type = 1;
2329
+ * @generated from protobuf field: string controller_type = 1
2257
2330
  */
2258
2331
  controllerType: string;
2259
2332
  }
@@ -2277,14 +2350,14 @@ export interface ResourceKVAPI_List {
2277
2350
  */
2278
2351
  export interface ResourceKVAPI_List_Request {
2279
2352
  /**
2280
- * @generated from protobuf field: uint64 resource_id = 1;
2353
+ * @generated from protobuf field: uint64 resource_id = 1
2281
2354
  */
2282
2355
  resourceId: bigint;
2283
2356
  /**
2284
2357
  * Start the listing from given position, returning first item with
2285
2358
  * key >= start_from.
2286
2359
  *
2287
- * @generated from protobuf field: string start_from = 2;
2360
+ * @generated from protobuf field: string start_from = 2
2288
2361
  */
2289
2362
  startFrom: string;
2290
2363
  /**
@@ -2292,7 +2365,7 @@ export interface ResourceKVAPI_List_Request {
2292
2365
  * <limit> number of items.
2293
2366
  * Zero value makes API to return all available items.
2294
2367
  *
2295
- * @generated from protobuf field: uint32 limit = 3;
2368
+ * @generated from protobuf field: uint32 limit = 3
2296
2369
  */
2297
2370
  limit: number;
2298
2371
  }
@@ -2303,7 +2376,7 @@ export interface ResourceKVAPI_List_Request {
2303
2376
  */
2304
2377
  export interface ResourceKVAPI_List_Response {
2305
2378
  /**
2306
- * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.List.Response.KV record = 1;
2379
+ * @generated from protobuf field: MiLaboratories.PL.API.ResourceKVAPI.List.Response.KV record = 1
2307
2380
  */
2308
2381
  record?: ResourceKVAPI_List_Response_KV;
2309
2382
  /**
@@ -2314,7 +2387,7 @@ export interface ResourceKVAPI_List_Response {
2314
2387
  *
2315
2388
  * Use <next> value as <start_from> of the List.Request to continue listing.
2316
2389
  *
2317
- * @generated from protobuf field: string next = 4;
2390
+ * @generated from protobuf field: string next = 4
2318
2391
  */
2319
2392
  next: string;
2320
2393
  }
@@ -2323,11 +2396,11 @@ export interface ResourceKVAPI_List_Response {
2323
2396
  */
2324
2397
  export interface ResourceKVAPI_List_Response_KV {
2325
2398
  /**
2326
- * @generated from protobuf field: string key = 2;
2399
+ * @generated from protobuf field: string key = 2
2327
2400
  */
2328
2401
  key: string;
2329
2402
  /**
2330
- * @generated from protobuf field: bytes value = 3;
2403
+ * @generated from protobuf field: bytes value = 3
2331
2404
  */
2332
2405
  value: Uint8Array;
2333
2406
  }
@@ -2341,15 +2414,15 @@ export interface ResourceKVAPI_Set {
2341
2414
  */
2342
2415
  export interface ResourceKVAPI_Set_Request {
2343
2416
  /**
2344
- * @generated from protobuf field: uint64 resource_id = 1;
2417
+ * @generated from protobuf field: uint64 resource_id = 1
2345
2418
  */
2346
2419
  resourceId: bigint;
2347
2420
  /**
2348
- * @generated from protobuf field: string key = 2;
2421
+ * @generated from protobuf field: string key = 2
2349
2422
  */
2350
2423
  key: string;
2351
2424
  /**
2352
- * @generated from protobuf field: bytes value = 3;
2425
+ * @generated from protobuf field: bytes value = 3
2353
2426
  */
2354
2427
  value: Uint8Array;
2355
2428
  }
@@ -2368,11 +2441,11 @@ export interface ResourceKVAPI_Get {
2368
2441
  */
2369
2442
  export interface ResourceKVAPI_Get_Request {
2370
2443
  /**
2371
- * @generated from protobuf field: uint64 resource_id = 1;
2444
+ * @generated from protobuf field: uint64 resource_id = 1
2372
2445
  */
2373
2446
  resourceId: bigint;
2374
2447
  /**
2375
- * @generated from protobuf field: string key = 2;
2448
+ * @generated from protobuf field: string key = 2
2376
2449
  */
2377
2450
  key: string;
2378
2451
  }
@@ -2381,7 +2454,7 @@ export interface ResourceKVAPI_Get_Request {
2381
2454
  */
2382
2455
  export interface ResourceKVAPI_Get_Response {
2383
2456
  /**
2384
- * @generated from protobuf field: bytes value = 1;
2457
+ * @generated from protobuf field: bytes value = 1
2385
2458
  */
2386
2459
  value: Uint8Array;
2387
2460
  }
@@ -2395,11 +2468,11 @@ export interface ResourceKVAPI_GetIfExists {
2395
2468
  */
2396
2469
  export interface ResourceKVAPI_GetIfExists_Request {
2397
2470
  /**
2398
- * @generated from protobuf field: uint64 resource_id = 1;
2471
+ * @generated from protobuf field: uint64 resource_id = 1
2399
2472
  */
2400
2473
  resourceId: bigint;
2401
2474
  /**
2402
- * @generated from protobuf field: string key = 2;
2475
+ * @generated from protobuf field: string key = 2
2403
2476
  */
2404
2477
  key: string;
2405
2478
  }
@@ -2408,11 +2481,11 @@ export interface ResourceKVAPI_GetIfExists_Request {
2408
2481
  */
2409
2482
  export interface ResourceKVAPI_GetIfExists_Response {
2410
2483
  /**
2411
- * @generated from protobuf field: bytes value = 1;
2484
+ * @generated from protobuf field: bytes value = 1
2412
2485
  */
2413
2486
  value: Uint8Array;
2414
2487
  /**
2415
- * @generated from protobuf field: bool exists = 2;
2488
+ * @generated from protobuf field: bool exists = 2
2416
2489
  */
2417
2490
  exists: boolean;
2418
2491
  }
@@ -2426,11 +2499,11 @@ export interface ResourceKVAPI_Delete {
2426
2499
  */
2427
2500
  export interface ResourceKVAPI_Delete_Request {
2428
2501
  /**
2429
- * @generated from protobuf field: uint64 resource_id = 1;
2502
+ * @generated from protobuf field: uint64 resource_id = 1
2430
2503
  */
2431
2504
  resourceId: bigint;
2432
2505
  /**
2433
- * @generated from protobuf field: string key = 2;
2506
+ * @generated from protobuf field: string key = 2
2434
2507
  */
2435
2508
  key: string;
2436
2509
  }
@@ -2449,15 +2522,15 @@ export interface ResourceKVAPI_SetFlag {
2449
2522
  */
2450
2523
  export interface ResourceKVAPI_SetFlag_Request {
2451
2524
  /**
2452
- * @generated from protobuf field: uint64 resource_id = 1;
2525
+ * @generated from protobuf field: uint64 resource_id = 1
2453
2526
  */
2454
2527
  resourceId: bigint;
2455
2528
  /**
2456
- * @generated from protobuf field: string key = 2;
2529
+ * @generated from protobuf field: string key = 2
2457
2530
  */
2458
2531
  key: string;
2459
2532
  /**
2460
- * @generated from protobuf field: bool value = 3;
2533
+ * @generated from protobuf field: bool value = 3
2461
2534
  */
2462
2535
  value: boolean;
2463
2536
  }
@@ -2476,11 +2549,11 @@ export interface ResourceKVAPI_GetFlag {
2476
2549
  */
2477
2550
  export interface ResourceKVAPI_GetFlag_Request {
2478
2551
  /**
2479
- * @generated from protobuf field: uint64 resource_id = 1;
2552
+ * @generated from protobuf field: uint64 resource_id = 1
2480
2553
  */
2481
2554
  resourceId: bigint;
2482
2555
  /**
2483
- * @generated from protobuf field: string key = 2;
2556
+ * @generated from protobuf field: string key = 2
2484
2557
  */
2485
2558
  key: string;
2486
2559
  }
@@ -2489,7 +2562,7 @@ export interface ResourceKVAPI_GetFlag_Request {
2489
2562
  */
2490
2563
  export interface ResourceKVAPI_GetFlag_Response {
2491
2564
  /**
2492
- * @generated from protobuf field: bool value = 1;
2565
+ * @generated from protobuf field: bool value = 1
2493
2566
  */
2494
2567
  value: boolean;
2495
2568
  }
@@ -2508,15 +2581,15 @@ export interface ControllerKVAPI_Set {
2508
2581
  */
2509
2582
  export interface ControllerKVAPI_Set_Request {
2510
2583
  /**
2511
- * @generated from protobuf field: string controller_type = 1;
2584
+ * @generated from protobuf field: string controller_type = 1
2512
2585
  */
2513
2586
  controllerType: string;
2514
2587
  /**
2515
- * @generated from protobuf field: string key = 2;
2588
+ * @generated from protobuf field: string key = 2
2516
2589
  */
2517
2590
  key: string;
2518
2591
  /**
2519
- * @generated from protobuf field: bytes value = 3;
2592
+ * @generated from protobuf field: bytes value = 3
2520
2593
  */
2521
2594
  value: Uint8Array;
2522
2595
  }
@@ -2535,11 +2608,11 @@ export interface ControllerKVAPI_Get {
2535
2608
  */
2536
2609
  export interface ControllerKVAPI_Get_Request {
2537
2610
  /**
2538
- * @generated from protobuf field: string controller_type = 1;
2611
+ * @generated from protobuf field: string controller_type = 1
2539
2612
  */
2540
2613
  controllerType: string;
2541
2614
  /**
2542
- * @generated from protobuf field: string key = 2;
2615
+ * @generated from protobuf field: string key = 2
2543
2616
  */
2544
2617
  key: string;
2545
2618
  }
@@ -2548,7 +2621,7 @@ export interface ControllerKVAPI_Get_Request {
2548
2621
  */
2549
2622
  export interface ControllerKVAPI_Get_Response {
2550
2623
  /**
2551
- * @generated from protobuf field: bytes value = 1;
2624
+ * @generated from protobuf field: bytes value = 1
2552
2625
  */
2553
2626
  value: Uint8Array;
2554
2627
  }
@@ -2562,11 +2635,11 @@ export interface ControllerKVAPI_GetIfExists {
2562
2635
  */
2563
2636
  export interface ControllerKVAPI_GetIfExists_Request {
2564
2637
  /**
2565
- * @generated from protobuf field: string controller_type = 1;
2638
+ * @generated from protobuf field: string controller_type = 1
2566
2639
  */
2567
2640
  controllerType: string;
2568
2641
  /**
2569
- * @generated from protobuf field: string key = 2;
2642
+ * @generated from protobuf field: string key = 2
2570
2643
  */
2571
2644
  key: string;
2572
2645
  }
@@ -2575,11 +2648,11 @@ export interface ControllerKVAPI_GetIfExists_Request {
2575
2648
  */
2576
2649
  export interface ControllerKVAPI_GetIfExists_Response {
2577
2650
  /**
2578
- * @generated from protobuf field: bytes value = 1;
2651
+ * @generated from protobuf field: bytes value = 1
2579
2652
  */
2580
2653
  value: Uint8Array;
2581
2654
  /**
2582
- * @generated from protobuf field: bool exists = 2;
2655
+ * @generated from protobuf field: bool exists = 2
2583
2656
  */
2584
2657
  exists: boolean;
2585
2658
  }
@@ -2598,11 +2671,11 @@ export interface CacheAPI_SetToField {
2598
2671
  */
2599
2672
  export interface CacheAPI_SetToField_Request {
2600
2673
  /**
2601
- * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef id = 1;
2674
+ * @generated from protobuf field: MiLaboratories.PL.Base.FieldRef id = 1
2602
2675
  */
2603
2676
  id?: FieldRef;
2604
2677
  /**
2605
- * @generated from protobuf field: google.protobuf.Duration period = 2;
2678
+ * @generated from protobuf field: google.protobuf.Duration period = 2
2606
2679
  */
2607
2680
  period?: Duration;
2608
2681
  }
@@ -2646,15 +2719,15 @@ export interface LocksAPI_Lease_Create {
2646
2719
  */
2647
2720
  export interface LocksAPI_Lease_Create_Request {
2648
2721
  /**
2649
- * @generated from protobuf field: uint64 resource_id = 1;
2722
+ * @generated from protobuf field: uint64 resource_id = 1
2650
2723
  */
2651
2724
  resourceId: bigint;
2652
2725
  /**
2653
- * @generated from protobuf field: google.protobuf.Duration timeout = 3;
2726
+ * @generated from protobuf field: google.protobuf.Duration timeout = 3
2654
2727
  */
2655
2728
  timeout?: Duration;
2656
2729
  /**
2657
- * @generated from protobuf field: string name = 4;
2730
+ * @generated from protobuf field: string name = 4
2658
2731
  */
2659
2732
  name: string;
2660
2733
  }
@@ -2663,7 +2736,7 @@ export interface LocksAPI_Lease_Create_Request {
2663
2736
  */
2664
2737
  export interface LocksAPI_Lease_Create_Response {
2665
2738
  /**
2666
- * @generated from protobuf field: bytes lease_id = 1;
2739
+ * @generated from protobuf field: bytes lease_id = 1
2667
2740
  */
2668
2741
  leaseId: Uint8Array;
2669
2742
  }
@@ -2677,19 +2750,19 @@ export interface LocksAPI_Lease_Update {
2677
2750
  */
2678
2751
  export interface LocksAPI_Lease_Update_Request {
2679
2752
  /**
2680
- * @generated from protobuf field: uint64 resource_id = 1;
2753
+ * @generated from protobuf field: uint64 resource_id = 1
2681
2754
  */
2682
2755
  resourceId: bigint;
2683
2756
  /**
2684
- * @generated from protobuf field: bytes lease_id = 2;
2757
+ * @generated from protobuf field: bytes lease_id = 2
2685
2758
  */
2686
2759
  leaseId: Uint8Array;
2687
2760
  /**
2688
- * @generated from protobuf field: google.protobuf.Duration timeout = 3;
2761
+ * @generated from protobuf field: google.protobuf.Duration timeout = 3
2689
2762
  */
2690
2763
  timeout?: Duration;
2691
2764
  /**
2692
- * @generated from protobuf field: string name = 4;
2765
+ * @generated from protobuf field: string name = 4
2693
2766
  */
2694
2767
  name: string;
2695
2768
  }
@@ -2708,11 +2781,11 @@ export interface LocksAPI_Lease_Release {
2708
2781
  */
2709
2782
  export interface LocksAPI_Lease_Release_Request {
2710
2783
  /**
2711
- * @generated from protobuf field: uint64 resource_id = 1;
2784
+ * @generated from protobuf field: uint64 resource_id = 1
2712
2785
  */
2713
2786
  resourceId: bigint;
2714
2787
  /**
2715
- * @generated from protobuf field: bytes lease_id = 2;
2788
+ * @generated from protobuf field: bytes lease_id = 2
2716
2789
  */
2717
2790
  leaseId: Uint8Array;
2718
2791
  }
@@ -2741,7 +2814,7 @@ export interface AuthAPI_ListMethods_Request {
2741
2814
  */
2742
2815
  export interface AuthAPI_ListMethods_Response {
2743
2816
  /**
2744
- * @generated from protobuf field: repeated MiLaboratories.PL.API.AuthAPI.ListMethods.MethodInfo methods = 1;
2817
+ * @generated from protobuf field: repeated MiLaboratories.PL.API.AuthAPI.ListMethods.MethodInfo methods = 1
2745
2818
  */
2746
2819
  methods: AuthAPI_ListMethods_MethodInfo[];
2747
2820
  }
@@ -2750,15 +2823,15 @@ export interface AuthAPI_ListMethods_Response {
2750
2823
  */
2751
2824
  export interface AuthAPI_ListMethods_MethodInfo {
2752
2825
  /**
2753
- * @generated from protobuf field: string type = 1;
2826
+ * @generated from protobuf field: string type = 1
2754
2827
  */
2755
2828
  type: string;
2756
2829
  /**
2757
- * @generated from protobuf field: string name = 2;
2830
+ * @generated from protobuf field: string name = 2
2758
2831
  */
2759
2832
  name: string;
2760
2833
  /**
2761
- * @generated from protobuf field: map<string, string> info = 3;
2834
+ * @generated from protobuf field: map<string, string> info = 3
2762
2835
  */
2763
2836
  info: {
2764
2837
  [key: string]: string;
@@ -2774,7 +2847,7 @@ export interface AuthAPI_GetJWTToken {
2774
2847
  */
2775
2848
  export interface AuthAPI_GetJWTToken_Request {
2776
2849
  /**
2777
- * @generated from protobuf field: google.protobuf.Duration expiration = 1;
2850
+ * @generated from protobuf field: google.protobuf.Duration expiration = 1
2778
2851
  */
2779
2852
  expiration?: Duration;
2780
2853
  }
@@ -2783,7 +2856,7 @@ export interface AuthAPI_GetJWTToken_Request {
2783
2856
  */
2784
2857
  export interface AuthAPI_GetJWTToken_Response {
2785
2858
  /**
2786
- * @generated from protobuf field: string token = 1;
2859
+ * @generated from protobuf field: string token = 1
2787
2860
  */
2788
2861
  token: string;
2789
2862
  }
@@ -2807,7 +2880,7 @@ export interface MiscAPI_ListResourceTypes_Request {
2807
2880
  */
2808
2881
  export interface MiscAPI_ListResourceTypes_Response {
2809
2882
  /**
2810
- * @generated from protobuf field: repeated MiLaboratories.PL.Base.ResourceType types = 1;
2883
+ * @generated from protobuf field: repeated MiLaboratories.PL.Base.ResourceType types = 1
2811
2884
  */
2812
2885
  types: ResourceType[];
2813
2886
  }
@@ -2833,21 +2906,30 @@ export interface MaintenanceAPI_Ping_Request {
2833
2906
  */
2834
2907
  export interface MaintenanceAPI_Ping_Response {
2835
2908
  /**
2836
- * @generated from protobuf field: string core_version = 1;
2909
+ * @generated from protobuf field: string core_version = 1
2837
2910
  */
2838
2911
  coreVersion: string;
2839
2912
  /**
2840
- * @generated from protobuf field: string core_full_version = 2;
2913
+ * @generated from protobuf field: string core_full_version = 2
2841
2914
  */
2842
2915
  coreFullVersion: string;
2843
2916
  /**
2844
- * @generated from protobuf field: string server_info = 3;
2917
+ * @generated from protobuf field: string server_info = 3
2845
2918
  */
2846
2919
  serverInfo: string;
2847
2920
  /**
2848
- * @generated from protobuf field: MiLaboratories.PL.API.MaintenanceAPI.Ping.Response.Compression compression = 4;
2921
+ * @generated from protobuf field: MiLaboratories.PL.API.MaintenanceAPI.Ping.Response.Compression compression = 4
2849
2922
  */
2850
2923
  compression: MaintenanceAPI_Ping_Response_Compression;
2924
+ /**
2925
+ * instanceID is a unique ID that changes when we reset DB state.
2926
+ * If we reset a state and a database, but the address of the backend is still the same,
2927
+ * without instanceID we are not sure if it's the same state or not,
2928
+ * and UI can't detect it and clear its state (e.g. caches of drivers).
2929
+ *
2930
+ * @generated from protobuf field: string instance_id = 5
2931
+ */
2932
+ instanceId: string;
2851
2933
  }
2852
2934
  /**
2853
2935
  * @generated from protobuf enum MiLaboratories.PL.API.MaintenanceAPI.Ping.Response.Compression
@@ -2928,6 +3010,7 @@ class TxAPI_ClientMessage$Type extends MessageType<TxAPI_ClientMessage> {
2928
3010
  { no: 68, name: "resource_name_exists", kind: "message", oneof: "request", T: () => ResourceAPI_Name_Exists_Request },
2929
3011
  { no: 69, name: "resource_name_delete", kind: "message", oneof: "request", T: () => ResourceAPI_Name_Delete_Request },
2930
3012
  { no: 70, name: "resource_tree", kind: "message", oneof: "request", T: () => ResourceAPI_Tree_Request },
3013
+ { no: 71, name: "resource_tree_size", kind: "message", oneof: "request", T: () => ResourceAPI_TreeSize_Request },
2931
3014
  { no: 101, name: "field_create", kind: "message", oneof: "request", T: () => FieldAPI_Create_Request },
2932
3015
  { no: 107, name: "field_exists", kind: "message", oneof: "request", T: () => FieldAPI_Exists_Request },
2933
3016
  { no: 102, name: "field_set", kind: "message", oneof: "request", T: () => FieldAPI_Set_Request },
@@ -3114,6 +3197,12 @@ class TxAPI_ClientMessage$Type extends MessageType<TxAPI_ClientMessage> {
3114
3197
  resourceTree: ResourceAPI_Tree_Request.internalBinaryRead(reader, reader.uint32(), options, (message.request as any).resourceTree)
3115
3198
  };
3116
3199
  break;
3200
+ case /* MiLaboratories.PL.API.ResourceAPI.TreeSize.Request resource_tree_size */ 71:
3201
+ message.request = {
3202
+ oneofKind: "resourceTreeSize",
3203
+ resourceTreeSize: ResourceAPI_TreeSize_Request.internalBinaryRead(reader, reader.uint32(), options, (message.request as any).resourceTreeSize)
3204
+ };
3205
+ break;
3117
3206
  case /* MiLaboratories.PL.API.FieldAPI.Create.Request field_create */ 101:
3118
3207
  message.request = {
3119
3208
  oneofKind: "fieldCreate",
@@ -3318,51 +3407,51 @@ class TxAPI_ClientMessage$Type extends MessageType<TxAPI_ClientMessage> {
3318
3407
  /* MiLaboratories.PL.API.TxAPI.Discard.Request tx_discard = 13; */
3319
3408
  if (message.request.oneofKind === "txDiscard")
3320
3409
  TxAPI_Discard_Request.internalBinaryWrite(message.request.txDiscard, writer.tag(13, WireType.LengthDelimited).fork(), options).join();
3321
- /* MiLaboratories.PL.API.ResourceAPI.CreateRoot.Request resource_create_root = 58; */
3322
- if (message.request.oneofKind === "resourceCreateRoot")
3323
- ResourceAPI_CreateRoot_Request.internalBinaryWrite(message.request.resourceCreateRoot, writer.tag(58, WireType.LengthDelimited).fork(), options).join();
3324
- /* MiLaboratories.PL.API.ResourceAPI.Remove.Request resource_remove = 57; */
3325
- if (message.request.oneofKind === "resourceRemove")
3326
- ResourceAPI_Remove_Request.internalBinaryWrite(message.request.resourceRemove, writer.tag(57, WireType.LengthDelimited).fork(), options).join();
3327
3410
  /* MiLaboratories.PL.API.ResourceAPI.CreateStruct.Request resource_create_struct = 51; */
3328
3411
  if (message.request.oneofKind === "resourceCreateStruct")
3329
3412
  ResourceAPI_CreateStruct_Request.internalBinaryWrite(message.request.resourceCreateStruct, writer.tag(51, WireType.LengthDelimited).fork(), options).join();
3330
- /* MiLaboratories.PL.API.ResourceAPI.CreateEphemeral.Request resource_create_ephemeral = 62; */
3331
- if (message.request.oneofKind === "resourceCreateEphemeral")
3332
- ResourceAPI_CreateEphemeral_Request.internalBinaryWrite(message.request.resourceCreateEphemeral, writer.tag(62, WireType.LengthDelimited).fork(), options).join();
3333
3413
  /* MiLaboratories.PL.API.ResourceAPI.CreateValue.Request resource_create_value = 52; */
3334
3414
  if (message.request.oneofKind === "resourceCreateValue")
3335
3415
  ResourceAPI_CreateValue_Request.internalBinaryWrite(message.request.resourceCreateValue, writer.tag(52, WireType.LengthDelimited).fork(), options).join();
3336
- /* MiLaboratories.PL.API.ResourceAPI.GetValueID.Request resource_get_value_id = 63; */
3337
- if (message.request.oneofKind === "resourceGetValueId")
3338
- ResourceAPI_GetValueID_Request.internalBinaryWrite(message.request.resourceGetValueId, writer.tag(63, WireType.LengthDelimited).fork(), options).join();
3339
- /* MiLaboratories.PL.API.ResourceAPI.CreateSingleton.Request resource_create_singleton = 64; */
3340
- if (message.request.oneofKind === "resourceCreateSingleton")
3341
- ResourceAPI_CreateSingleton_Request.internalBinaryWrite(message.request.resourceCreateSingleton, writer.tag(64, WireType.LengthDelimited).fork(), options).join();
3342
- /* MiLaboratories.PL.API.ResourceAPI.GetSingleton.Request resource_get_singleton = 65; */
3343
- if (message.request.oneofKind === "resourceGetSingleton")
3344
- ResourceAPI_GetSingleton_Request.internalBinaryWrite(message.request.resourceGetSingleton, writer.tag(65, WireType.LengthDelimited).fork(), options).join();
3345
- /* MiLaboratories.PL.API.ResourceAPI.CreateChild.Request resource_create_child = 59; */
3346
- if (message.request.oneofKind === "resourceCreateChild")
3347
- ResourceAPI_CreateChild_Request.internalBinaryWrite(message.request.resourceCreateChild, writer.tag(59, WireType.LengthDelimited).fork(), options).join();
3348
3416
  /* MiLaboratories.PL.API.ResourceAPI.LockInputs.Request resource_lock_inputs = 53; */
3349
3417
  if (message.request.oneofKind === "resourceLockInputs")
3350
3418
  ResourceAPI_LockInputs_Request.internalBinaryWrite(message.request.resourceLockInputs, writer.tag(53, WireType.LengthDelimited).fork(), options).join();
3351
- /* MiLaboratories.PL.API.ResourceAPI.LockOutputs.Request resource_lock_outputs = 56; */
3352
- if (message.request.oneofKind === "resourceLockOutputs")
3353
- ResourceAPI_LockOutputs_Request.internalBinaryWrite(message.request.resourceLockOutputs, writer.tag(56, WireType.LengthDelimited).fork(), options).join();
3354
3419
  /* MiLaboratories.PL.API.ResourceAPI.Exists.Request resource_exists = 54; */
3355
3420
  if (message.request.oneofKind === "resourceExists")
3356
3421
  ResourceAPI_Exists_Request.internalBinaryWrite(message.request.resourceExists, writer.tag(54, WireType.LengthDelimited).fork(), options).join();
3357
3422
  /* MiLaboratories.PL.API.ResourceAPI.Get.Request resource_get = 55; */
3358
3423
  if (message.request.oneofKind === "resourceGet")
3359
3424
  ResourceAPI_Get_Request.internalBinaryWrite(message.request.resourceGet, writer.tag(55, WireType.LengthDelimited).fork(), options).join();
3360
- /* MiLaboratories.PL.API.ResourceAPI.SetError.Request resource_set_error = 61; */
3361
- if (message.request.oneofKind === "resourceSetError")
3362
- ResourceAPI_SetError_Request.internalBinaryWrite(message.request.resourceSetError, writer.tag(61, WireType.LengthDelimited).fork(), options).join();
3425
+ /* MiLaboratories.PL.API.ResourceAPI.LockOutputs.Request resource_lock_outputs = 56; */
3426
+ if (message.request.oneofKind === "resourceLockOutputs")
3427
+ ResourceAPI_LockOutputs_Request.internalBinaryWrite(message.request.resourceLockOutputs, writer.tag(56, WireType.LengthDelimited).fork(), options).join();
3428
+ /* MiLaboratories.PL.API.ResourceAPI.Remove.Request resource_remove = 57; */
3429
+ if (message.request.oneofKind === "resourceRemove")
3430
+ ResourceAPI_Remove_Request.internalBinaryWrite(message.request.resourceRemove, writer.tag(57, WireType.LengthDelimited).fork(), options).join();
3431
+ /* MiLaboratories.PL.API.ResourceAPI.CreateRoot.Request resource_create_root = 58; */
3432
+ if (message.request.oneofKind === "resourceCreateRoot")
3433
+ ResourceAPI_CreateRoot_Request.internalBinaryWrite(message.request.resourceCreateRoot, writer.tag(58, WireType.LengthDelimited).fork(), options).join();
3434
+ /* MiLaboratories.PL.API.ResourceAPI.CreateChild.Request resource_create_child = 59; */
3435
+ if (message.request.oneofKind === "resourceCreateChild")
3436
+ ResourceAPI_CreateChild_Request.internalBinaryWrite(message.request.resourceCreateChild, writer.tag(59, WireType.LengthDelimited).fork(), options).join();
3363
3437
  /* MiLaboratories.PL.API.ResourceAPI.List.ByType.Request resource_list_by_type = 60; */
3364
3438
  if (message.request.oneofKind === "resourceListByType")
3365
3439
  ResourceAPI_List_ByType_Request.internalBinaryWrite(message.request.resourceListByType, writer.tag(60, WireType.LengthDelimited).fork(), options).join();
3440
+ /* MiLaboratories.PL.API.ResourceAPI.SetError.Request resource_set_error = 61; */
3441
+ if (message.request.oneofKind === "resourceSetError")
3442
+ ResourceAPI_SetError_Request.internalBinaryWrite(message.request.resourceSetError, writer.tag(61, WireType.LengthDelimited).fork(), options).join();
3443
+ /* MiLaboratories.PL.API.ResourceAPI.CreateEphemeral.Request resource_create_ephemeral = 62; */
3444
+ if (message.request.oneofKind === "resourceCreateEphemeral")
3445
+ ResourceAPI_CreateEphemeral_Request.internalBinaryWrite(message.request.resourceCreateEphemeral, writer.tag(62, WireType.LengthDelimited).fork(), options).join();
3446
+ /* MiLaboratories.PL.API.ResourceAPI.GetValueID.Request resource_get_value_id = 63; */
3447
+ if (message.request.oneofKind === "resourceGetValueId")
3448
+ ResourceAPI_GetValueID_Request.internalBinaryWrite(message.request.resourceGetValueId, writer.tag(63, WireType.LengthDelimited).fork(), options).join();
3449
+ /* MiLaboratories.PL.API.ResourceAPI.CreateSingleton.Request resource_create_singleton = 64; */
3450
+ if (message.request.oneofKind === "resourceCreateSingleton")
3451
+ ResourceAPI_CreateSingleton_Request.internalBinaryWrite(message.request.resourceCreateSingleton, writer.tag(64, WireType.LengthDelimited).fork(), options).join();
3452
+ /* MiLaboratories.PL.API.ResourceAPI.GetSingleton.Request resource_get_singleton = 65; */
3453
+ if (message.request.oneofKind === "resourceGetSingleton")
3454
+ ResourceAPI_GetSingleton_Request.internalBinaryWrite(message.request.resourceGetSingleton, writer.tag(65, WireType.LengthDelimited).fork(), options).join();
3366
3455
  /* MiLaboratories.PL.API.ResourceAPI.Name.Set.Request resource_name_set = 66; */
3367
3456
  if (message.request.oneofKind === "resourceNameSet")
3368
3457
  ResourceAPI_Name_Set_Request.internalBinaryWrite(message.request.resourceNameSet, writer.tag(66, WireType.LengthDelimited).fork(), options).join();
@@ -3378,27 +3467,30 @@ class TxAPI_ClientMessage$Type extends MessageType<TxAPI_ClientMessage> {
3378
3467
  /* MiLaboratories.PL.API.ResourceAPI.Tree.Request resource_tree = 70; */
3379
3468
  if (message.request.oneofKind === "resourceTree")
3380
3469
  ResourceAPI_Tree_Request.internalBinaryWrite(message.request.resourceTree, writer.tag(70, WireType.LengthDelimited).fork(), options).join();
3470
+ /* MiLaboratories.PL.API.ResourceAPI.TreeSize.Request resource_tree_size = 71; */
3471
+ if (message.request.oneofKind === "resourceTreeSize")
3472
+ ResourceAPI_TreeSize_Request.internalBinaryWrite(message.request.resourceTreeSize, writer.tag(71, WireType.LengthDelimited).fork(), options).join();
3381
3473
  /* MiLaboratories.PL.API.FieldAPI.Create.Request field_create = 101; */
3382
3474
  if (message.request.oneofKind === "fieldCreate")
3383
3475
  FieldAPI_Create_Request.internalBinaryWrite(message.request.fieldCreate, writer.tag(101, WireType.LengthDelimited).fork(), options).join();
3384
- /* MiLaboratories.PL.API.FieldAPI.Exists.Request field_exists = 107; */
3385
- if (message.request.oneofKind === "fieldExists")
3386
- FieldAPI_Exists_Request.internalBinaryWrite(message.request.fieldExists, writer.tag(107, WireType.LengthDelimited).fork(), options).join();
3387
3476
  /* MiLaboratories.PL.API.FieldAPI.Set.Request field_set = 102; */
3388
3477
  if (message.request.oneofKind === "fieldSet")
3389
3478
  FieldAPI_Set_Request.internalBinaryWrite(message.request.fieldSet, writer.tag(102, WireType.LengthDelimited).fork(), options).join();
3390
- /* MiLaboratories.PL.API.FieldAPI.SetError.Request field_set_error = 105; */
3391
- if (message.request.oneofKind === "fieldSetError")
3392
- FieldAPI_SetError_Request.internalBinaryWrite(message.request.fieldSetError, writer.tag(105, WireType.LengthDelimited).fork(), options).join();
3393
3479
  /* MiLaboratories.PL.API.FieldAPI.Get.Request field_get = 103; */
3394
3480
  if (message.request.oneofKind === "fieldGet")
3395
3481
  FieldAPI_Get_Request.internalBinaryWrite(message.request.fieldGet, writer.tag(103, WireType.LengthDelimited).fork(), options).join();
3396
3482
  /* MiLaboratories.PL.API.FieldAPI.Reset.Request field_reset = 104; */
3397
3483
  if (message.request.oneofKind === "fieldReset")
3398
3484
  FieldAPI_Reset_Request.internalBinaryWrite(message.request.fieldReset, writer.tag(104, WireType.LengthDelimited).fork(), options).join();
3485
+ /* MiLaboratories.PL.API.FieldAPI.SetError.Request field_set_error = 105; */
3486
+ if (message.request.oneofKind === "fieldSetError")
3487
+ FieldAPI_SetError_Request.internalBinaryWrite(message.request.fieldSetError, writer.tag(105, WireType.LengthDelimited).fork(), options).join();
3399
3488
  /* MiLaboratories.PL.API.FieldAPI.Remove.Request field_remove = 106; */
3400
3489
  if (message.request.oneofKind === "fieldRemove")
3401
3490
  FieldAPI_Remove_Request.internalBinaryWrite(message.request.fieldRemove, writer.tag(106, WireType.LengthDelimited).fork(), options).join();
3491
+ /* MiLaboratories.PL.API.FieldAPI.Exists.Request field_exists = 107; */
3492
+ if (message.request.oneofKind === "fieldExists")
3493
+ FieldAPI_Exists_Request.internalBinaryWrite(message.request.fieldExists, writer.tag(107, WireType.LengthDelimited).fork(), options).join();
3402
3494
  /* MiLaboratories.PL.API.FieldAPI.List.Request field_list = 108; */
3403
3495
  if (message.request.oneofKind === "fieldList")
3404
3496
  FieldAPI_List_Request.internalBinaryWrite(message.request.fieldList, writer.tag(108, WireType.LengthDelimited).fork(), options).join();
@@ -3507,6 +3599,7 @@ class TxAPI_ServerMessage$Type extends MessageType<TxAPI_ServerMessage> {
3507
3599
  { no: 68, name: "resource_name_exists", kind: "message", oneof: "response", T: () => ResourceAPI_Name_Exists_Response },
3508
3600
  { no: 69, name: "resource_name_delete", kind: "message", oneof: "response", T: () => ResourceAPI_Name_Delete_Response },
3509
3601
  { no: 70, name: "resource_tree", kind: "message", oneof: "response", T: () => ResourceAPI_Tree_Response },
3602
+ { no: 71, name: "resource_tree_size", kind: "message", oneof: "response", T: () => ResourceAPI_TreeSize_Response },
3510
3603
  { no: 101, name: "field_create", kind: "message", oneof: "response", T: () => FieldAPI_Create_Response },
3511
3604
  { no: 107, name: "field_exists", kind: "message", oneof: "response", T: () => FieldAPI_Exists_Response },
3512
3605
  { no: 102, name: "field_set", kind: "message", oneof: "response", T: () => FieldAPI_Set_Response },
@@ -3697,6 +3790,12 @@ class TxAPI_ServerMessage$Type extends MessageType<TxAPI_ServerMessage> {
3697
3790
  resourceTree: ResourceAPI_Tree_Response.internalBinaryRead(reader, reader.uint32(), options, (message.response as any).resourceTree)
3698
3791
  };
3699
3792
  break;
3793
+ case /* MiLaboratories.PL.API.ResourceAPI.TreeSize.Response resource_tree_size */ 71:
3794
+ message.response = {
3795
+ oneofKind: "resourceTreeSize",
3796
+ resourceTreeSize: ResourceAPI_TreeSize_Response.internalBinaryRead(reader, reader.uint32(), options, (message.response as any).resourceTreeSize)
3797
+ };
3798
+ break;
3700
3799
  case /* MiLaboratories.PL.API.FieldAPI.Create.Response field_create */ 101:
3701
3800
  message.response = {
3702
3801
  oneofKind: "fieldCreate",
@@ -3898,6 +3997,9 @@ class TxAPI_ServerMessage$Type extends MessageType<TxAPI_ServerMessage> {
3898
3997
  /* MiLaboratories.PL.API.TxAPI.ServerMessage.Multi multi_message = 2; */
3899
3998
  if (message.multiMessage)
3900
3999
  TxAPI_ServerMessage_Multi.internalBinaryWrite(message.multiMessage, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
4000
+ /* google.rpc.Status error = 3; */
4001
+ if (message.error)
4002
+ Status.internalBinaryWrite(message.error, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
3901
4003
  /* MiLaboratories.PL.API.TxAPI.Open.Response tx_open = 11; */
3902
4004
  if (message.response.oneofKind === "txOpen")
3903
4005
  TxAPI_Open_Response.internalBinaryWrite(message.response.txOpen, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
@@ -3907,51 +4009,51 @@ class TxAPI_ServerMessage$Type extends MessageType<TxAPI_ServerMessage> {
3907
4009
  /* MiLaboratories.PL.API.TxAPI.Discard.Response tx_discard = 13; */
3908
4010
  if (message.response.oneofKind === "txDiscard")
3909
4011
  TxAPI_Discard_Response.internalBinaryWrite(message.response.txDiscard, writer.tag(13, WireType.LengthDelimited).fork(), options).join();
3910
- /* MiLaboratories.PL.API.ResourceAPI.CreateRoot.Response resource_create_root = 58; */
3911
- if (message.response.oneofKind === "resourceCreateRoot")
3912
- ResourceAPI_CreateRoot_Response.internalBinaryWrite(message.response.resourceCreateRoot, writer.tag(58, WireType.LengthDelimited).fork(), options).join();
3913
- /* MiLaboratories.PL.API.ResourceAPI.Remove.Response resource_remove = 57; */
3914
- if (message.response.oneofKind === "resourceRemove")
3915
- ResourceAPI_Remove_Response.internalBinaryWrite(message.response.resourceRemove, writer.tag(57, WireType.LengthDelimited).fork(), options).join();
3916
4012
  /* MiLaboratories.PL.API.ResourceAPI.CreateStruct.Response resource_create_struct = 51; */
3917
4013
  if (message.response.oneofKind === "resourceCreateStruct")
3918
4014
  ResourceAPI_CreateStruct_Response.internalBinaryWrite(message.response.resourceCreateStruct, writer.tag(51, WireType.LengthDelimited).fork(), options).join();
3919
- /* MiLaboratories.PL.API.ResourceAPI.CreateEphemeral.Response resource_create_ephemeral = 62; */
3920
- if (message.response.oneofKind === "resourceCreateEphemeral")
3921
- ResourceAPI_CreateEphemeral_Response.internalBinaryWrite(message.response.resourceCreateEphemeral, writer.tag(62, WireType.LengthDelimited).fork(), options).join();
3922
4015
  /* MiLaboratories.PL.API.ResourceAPI.CreateValue.Response resource_create_value = 52; */
3923
4016
  if (message.response.oneofKind === "resourceCreateValue")
3924
4017
  ResourceAPI_CreateValue_Response.internalBinaryWrite(message.response.resourceCreateValue, writer.tag(52, WireType.LengthDelimited).fork(), options).join();
3925
- /* MiLaboratories.PL.API.ResourceAPI.GetValueID.Response resource_get_value_id = 63; */
3926
- if (message.response.oneofKind === "resourceGetValueId")
3927
- ResourceAPI_GetValueID_Response.internalBinaryWrite(message.response.resourceGetValueId, writer.tag(63, WireType.LengthDelimited).fork(), options).join();
3928
- /* MiLaboratories.PL.API.ResourceAPI.CreateSingleton.Response resource_create_singleton = 64; */
3929
- if (message.response.oneofKind === "resourceCreateSingleton")
3930
- ResourceAPI_CreateSingleton_Response.internalBinaryWrite(message.response.resourceCreateSingleton, writer.tag(64, WireType.LengthDelimited).fork(), options).join();
3931
- /* MiLaboratories.PL.API.ResourceAPI.GetSingleton.Response resource_get_singleton = 65; */
3932
- if (message.response.oneofKind === "resourceGetSingleton")
3933
- ResourceAPI_GetSingleton_Response.internalBinaryWrite(message.response.resourceGetSingleton, writer.tag(65, WireType.LengthDelimited).fork(), options).join();
3934
- /* MiLaboratories.PL.API.ResourceAPI.CreateChild.Response resource_create_child = 59; */
3935
- if (message.response.oneofKind === "resourceCreateChild")
3936
- ResourceAPI_CreateChild_Response.internalBinaryWrite(message.response.resourceCreateChild, writer.tag(59, WireType.LengthDelimited).fork(), options).join();
3937
4018
  /* MiLaboratories.PL.API.ResourceAPI.LockInputs.Response resource_lock_inputs = 53; */
3938
4019
  if (message.response.oneofKind === "resourceLockInputs")
3939
4020
  ResourceAPI_LockInputs_Response.internalBinaryWrite(message.response.resourceLockInputs, writer.tag(53, WireType.LengthDelimited).fork(), options).join();
3940
- /* MiLaboratories.PL.API.ResourceAPI.LockOutputs.Response resource_lock_outputs = 56; */
3941
- if (message.response.oneofKind === "resourceLockOutputs")
3942
- ResourceAPI_LockOutputs_Response.internalBinaryWrite(message.response.resourceLockOutputs, writer.tag(56, WireType.LengthDelimited).fork(), options).join();
3943
4021
  /* MiLaboratories.PL.API.ResourceAPI.Exists.Response resource_exists = 54; */
3944
4022
  if (message.response.oneofKind === "resourceExists")
3945
4023
  ResourceAPI_Exists_Response.internalBinaryWrite(message.response.resourceExists, writer.tag(54, WireType.LengthDelimited).fork(), options).join();
3946
4024
  /* MiLaboratories.PL.API.ResourceAPI.Get.Response resource_get = 55; */
3947
4025
  if (message.response.oneofKind === "resourceGet")
3948
4026
  ResourceAPI_Get_Response.internalBinaryWrite(message.response.resourceGet, writer.tag(55, WireType.LengthDelimited).fork(), options).join();
3949
- /* MiLaboratories.PL.API.ResourceAPI.SetError.Response resource_set_error = 61; */
3950
- if (message.response.oneofKind === "resourceSetError")
3951
- ResourceAPI_SetError_Response.internalBinaryWrite(message.response.resourceSetError, writer.tag(61, WireType.LengthDelimited).fork(), options).join();
4027
+ /* MiLaboratories.PL.API.ResourceAPI.LockOutputs.Response resource_lock_outputs = 56; */
4028
+ if (message.response.oneofKind === "resourceLockOutputs")
4029
+ ResourceAPI_LockOutputs_Response.internalBinaryWrite(message.response.resourceLockOutputs, writer.tag(56, WireType.LengthDelimited).fork(), options).join();
4030
+ /* MiLaboratories.PL.API.ResourceAPI.Remove.Response resource_remove = 57; */
4031
+ if (message.response.oneofKind === "resourceRemove")
4032
+ ResourceAPI_Remove_Response.internalBinaryWrite(message.response.resourceRemove, writer.tag(57, WireType.LengthDelimited).fork(), options).join();
4033
+ /* MiLaboratories.PL.API.ResourceAPI.CreateRoot.Response resource_create_root = 58; */
4034
+ if (message.response.oneofKind === "resourceCreateRoot")
4035
+ ResourceAPI_CreateRoot_Response.internalBinaryWrite(message.response.resourceCreateRoot, writer.tag(58, WireType.LengthDelimited).fork(), options).join();
4036
+ /* MiLaboratories.PL.API.ResourceAPI.CreateChild.Response resource_create_child = 59; */
4037
+ if (message.response.oneofKind === "resourceCreateChild")
4038
+ ResourceAPI_CreateChild_Response.internalBinaryWrite(message.response.resourceCreateChild, writer.tag(59, WireType.LengthDelimited).fork(), options).join();
3952
4039
  /* MiLaboratories.PL.API.ResourceAPI.List.ByType.Response resource_list_by_type = 60; */
3953
4040
  if (message.response.oneofKind === "resourceListByType")
3954
4041
  ResourceAPI_List_ByType_Response.internalBinaryWrite(message.response.resourceListByType, writer.tag(60, WireType.LengthDelimited).fork(), options).join();
4042
+ /* MiLaboratories.PL.API.ResourceAPI.SetError.Response resource_set_error = 61; */
4043
+ if (message.response.oneofKind === "resourceSetError")
4044
+ ResourceAPI_SetError_Response.internalBinaryWrite(message.response.resourceSetError, writer.tag(61, WireType.LengthDelimited).fork(), options).join();
4045
+ /* MiLaboratories.PL.API.ResourceAPI.CreateEphemeral.Response resource_create_ephemeral = 62; */
4046
+ if (message.response.oneofKind === "resourceCreateEphemeral")
4047
+ ResourceAPI_CreateEphemeral_Response.internalBinaryWrite(message.response.resourceCreateEphemeral, writer.tag(62, WireType.LengthDelimited).fork(), options).join();
4048
+ /* MiLaboratories.PL.API.ResourceAPI.GetValueID.Response resource_get_value_id = 63; */
4049
+ if (message.response.oneofKind === "resourceGetValueId")
4050
+ ResourceAPI_GetValueID_Response.internalBinaryWrite(message.response.resourceGetValueId, writer.tag(63, WireType.LengthDelimited).fork(), options).join();
4051
+ /* MiLaboratories.PL.API.ResourceAPI.CreateSingleton.Response resource_create_singleton = 64; */
4052
+ if (message.response.oneofKind === "resourceCreateSingleton")
4053
+ ResourceAPI_CreateSingleton_Response.internalBinaryWrite(message.response.resourceCreateSingleton, writer.tag(64, WireType.LengthDelimited).fork(), options).join();
4054
+ /* MiLaboratories.PL.API.ResourceAPI.GetSingleton.Response resource_get_singleton = 65; */
4055
+ if (message.response.oneofKind === "resourceGetSingleton")
4056
+ ResourceAPI_GetSingleton_Response.internalBinaryWrite(message.response.resourceGetSingleton, writer.tag(65, WireType.LengthDelimited).fork(), options).join();
3955
4057
  /* MiLaboratories.PL.API.ResourceAPI.Name.Set.Response resource_name_set = 66; */
3956
4058
  if (message.response.oneofKind === "resourceNameSet")
3957
4059
  ResourceAPI_Name_Set_Response.internalBinaryWrite(message.response.resourceNameSet, writer.tag(66, WireType.LengthDelimited).fork(), options).join();
@@ -3967,42 +4069,45 @@ class TxAPI_ServerMessage$Type extends MessageType<TxAPI_ServerMessage> {
3967
4069
  /* MiLaboratories.PL.API.ResourceAPI.Tree.Response resource_tree = 70; */
3968
4070
  if (message.response.oneofKind === "resourceTree")
3969
4071
  ResourceAPI_Tree_Response.internalBinaryWrite(message.response.resourceTree, writer.tag(70, WireType.LengthDelimited).fork(), options).join();
4072
+ /* MiLaboratories.PL.API.ResourceAPI.TreeSize.Response resource_tree_size = 71; */
4073
+ if (message.response.oneofKind === "resourceTreeSize")
4074
+ ResourceAPI_TreeSize_Response.internalBinaryWrite(message.response.resourceTreeSize, writer.tag(71, WireType.LengthDelimited).fork(), options).join();
3970
4075
  /* MiLaboratories.PL.API.FieldAPI.Create.Response field_create = 101; */
3971
4076
  if (message.response.oneofKind === "fieldCreate")
3972
4077
  FieldAPI_Create_Response.internalBinaryWrite(message.response.fieldCreate, writer.tag(101, WireType.LengthDelimited).fork(), options).join();
3973
- /* MiLaboratories.PL.API.FieldAPI.Exists.Response field_exists = 107; */
3974
- if (message.response.oneofKind === "fieldExists")
3975
- FieldAPI_Exists_Response.internalBinaryWrite(message.response.fieldExists, writer.tag(107, WireType.LengthDelimited).fork(), options).join();
3976
4078
  /* MiLaboratories.PL.API.FieldAPI.Set.Response field_set = 102; */
3977
4079
  if (message.response.oneofKind === "fieldSet")
3978
4080
  FieldAPI_Set_Response.internalBinaryWrite(message.response.fieldSet, writer.tag(102, WireType.LengthDelimited).fork(), options).join();
3979
- /* MiLaboratories.PL.API.FieldAPI.SetError.Response field_set_error = 105; */
3980
- if (message.response.oneofKind === "fieldSetError")
3981
- FieldAPI_SetError_Response.internalBinaryWrite(message.response.fieldSetError, writer.tag(105, WireType.LengthDelimited).fork(), options).join();
3982
4081
  /* MiLaboratories.PL.API.FieldAPI.Get.Response field_get = 103; */
3983
4082
  if (message.response.oneofKind === "fieldGet")
3984
4083
  FieldAPI_Get_Response.internalBinaryWrite(message.response.fieldGet, writer.tag(103, WireType.LengthDelimited).fork(), options).join();
3985
4084
  /* MiLaboratories.PL.API.FieldAPI.Reset.Response field_reset = 104; */
3986
4085
  if (message.response.oneofKind === "fieldReset")
3987
4086
  FieldAPI_Reset_Response.internalBinaryWrite(message.response.fieldReset, writer.tag(104, WireType.LengthDelimited).fork(), options).join();
4087
+ /* MiLaboratories.PL.API.FieldAPI.SetError.Response field_set_error = 105; */
4088
+ if (message.response.oneofKind === "fieldSetError")
4089
+ FieldAPI_SetError_Response.internalBinaryWrite(message.response.fieldSetError, writer.tag(105, WireType.LengthDelimited).fork(), options).join();
3988
4090
  /* MiLaboratories.PL.API.FieldAPI.Remove.Response field_remove = 106; */
3989
4091
  if (message.response.oneofKind === "fieldRemove")
3990
4092
  FieldAPI_Remove_Response.internalBinaryWrite(message.response.fieldRemove, writer.tag(106, WireType.LengthDelimited).fork(), options).join();
4093
+ /* MiLaboratories.PL.API.FieldAPI.Exists.Response field_exists = 107; */
4094
+ if (message.response.oneofKind === "fieldExists")
4095
+ FieldAPI_Exists_Response.internalBinaryWrite(message.response.fieldExists, writer.tag(107, WireType.LengthDelimited).fork(), options).join();
3991
4096
  /* MiLaboratories.PL.API.FieldAPI.List.Response field_list = 108; */
3992
4097
  if (message.response.oneofKind === "fieldList")
3993
4098
  FieldAPI_List_Response.internalBinaryWrite(message.response.fieldList, writer.tag(108, WireType.LengthDelimited).fork(), options).join();
3994
4099
  /* MiLaboratories.PL.API.SubscriptionAPI.CreateSubscription.Response subscription_create = 111; */
3995
4100
  if (message.response.oneofKind === "subscriptionCreate")
3996
4101
  SubscriptionAPI_CreateSubscription_Response.internalBinaryWrite(message.response.subscriptionCreate, writer.tag(111, WireType.LengthDelimited).fork(), options).join();
3997
- /* MiLaboratories.PL.API.SubscriptionAPI.CreateFilter.Response subscription_create_filter = 115; */
3998
- if (message.response.oneofKind === "subscriptionCreateFilter")
3999
- SubscriptionAPI_CreateFilter_Response.internalBinaryWrite(message.response.subscriptionCreateFilter, writer.tag(115, WireType.LengthDelimited).fork(), options).join();
4000
4102
  /* MiLaboratories.PL.API.SubscriptionAPI.AttachFilter.Response subscription_attach_filter = 112; */
4001
4103
  if (message.response.oneofKind === "subscriptionAttachFilter")
4002
4104
  SubscriptionAPI_AttachFilter_Response.internalBinaryWrite(message.response.subscriptionAttachFilter, writer.tag(112, WireType.LengthDelimited).fork(), options).join();
4003
4105
  /* MiLaboratories.PL.API.SubscriptionAPI.DetachFilter.Response subscription_detach_filter = 113; */
4004
4106
  if (message.response.oneofKind === "subscriptionDetachFilter")
4005
4107
  SubscriptionAPI_DetachFilter_Response.internalBinaryWrite(message.response.subscriptionDetachFilter, writer.tag(113, WireType.LengthDelimited).fork(), options).join();
4108
+ /* MiLaboratories.PL.API.SubscriptionAPI.CreateFilter.Response subscription_create_filter = 115; */
4109
+ if (message.response.oneofKind === "subscriptionCreateFilter")
4110
+ SubscriptionAPI_CreateFilter_Response.internalBinaryWrite(message.response.subscriptionCreateFilter, writer.tag(115, WireType.LengthDelimited).fork(), options).join();
4006
4111
  /* MiLaboratories.PL.API.NotificationAPI.Get.Response notification_get = 154; */
4007
4112
  if (message.response.oneofKind === "notificationGet")
4008
4113
  NotificationAPI_Get_Response.internalBinaryWrite(message.response.notificationGet, writer.tag(154, WireType.LengthDelimited).fork(), options).join();
@@ -4057,9 +4162,6 @@ class TxAPI_ServerMessage$Type extends MessageType<TxAPI_ServerMessage> {
4057
4162
  /* MiLaboratories.PL.API.ControllerAPI.ClearFeatures.Response controller_features_clear = 351; */
4058
4163
  if (message.response.oneofKind === "controllerFeaturesClear")
4059
4164
  ControllerAPI_ClearFeatures_Response.internalBinaryWrite(message.response.controllerFeaturesClear, writer.tag(351, WireType.LengthDelimited).fork(), options).join();
4060
- /* google.rpc.Status error = 3; */
4061
- if (message.error)
4062
- Status.internalBinaryWrite(message.error, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
4063
4165
  let u = options.writeUnknownFields;
4064
4166
  if (u !== false)
4065
4167
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -4176,13 +4278,15 @@ class TxAPI_Open_Request$Type extends MessageType<TxAPI_Open_Request> {
4176
4278
  constructor() {
4177
4279
  super("MiLaboratories.PL.API.TxAPI.Open.Request", [
4178
4280
  { no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4179
- { no: 2, name: "writable", kind: "enum", T: () => ["MiLaboratories.PL.API.TxAPI.Open.Request.WritableTx", TxAPI_Open_Request_WritableTx] }
4281
+ { no: 2, name: "writable", kind: "enum", T: () => ["MiLaboratories.PL.API.TxAPI.Open.Request.WritableTx", TxAPI_Open_Request_WritableTx] },
4282
+ { no: 3, name: "enableFormattedErrors", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
4180
4283
  ]);
4181
4284
  }
4182
4285
  create(value?: PartialMessage<TxAPI_Open_Request>): TxAPI_Open_Request {
4183
4286
  const message = globalThis.Object.create((this.messagePrototype!));
4184
4287
  message.name = "";
4185
4288
  message.writable = 0;
4289
+ message.enableFormattedErrors = false;
4186
4290
  if (value !== undefined)
4187
4291
  reflectionMergePartial<TxAPI_Open_Request>(this, message, value);
4188
4292
  return message;
@@ -4198,6 +4302,9 @@ class TxAPI_Open_Request$Type extends MessageType<TxAPI_Open_Request> {
4198
4302
  case /* MiLaboratories.PL.API.TxAPI.Open.Request.WritableTx writable */ 2:
4199
4303
  message.writable = reader.int32();
4200
4304
  break;
4305
+ case /* bool enableFormattedErrors */ 3:
4306
+ message.enableFormattedErrors = reader.bool();
4307
+ break;
4201
4308
  default:
4202
4309
  let u = options.readUnknownField;
4203
4310
  if (u === "throw")
@@ -4216,6 +4323,9 @@ class TxAPI_Open_Request$Type extends MessageType<TxAPI_Open_Request> {
4216
4323
  /* MiLaboratories.PL.API.TxAPI.Open.Request.WritableTx writable = 2; */
4217
4324
  if (message.writable !== 0)
4218
4325
  writer.tag(2, WireType.Varint).int32(message.writable);
4326
+ /* bool enableFormattedErrors = 3; */
4327
+ if (message.enableFormattedErrors !== false)
4328
+ writer.tag(3, WireType.Varint).bool(message.enableFormattedErrors);
4219
4329
  let u = options.writeUnknownFields;
4220
4330
  if (u !== false)
4221
4331
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -6431,11 +6541,19 @@ export const ResourceAPI_List_ByType = new ResourceAPI_List_ByType$Type();
6431
6541
  class ResourceAPI_List_ByType_Request$Type extends MessageType<ResourceAPI_List_ByType_Request> {
6432
6542
  constructor() {
6433
6543
  super("MiLaboratories.PL.API.ResourceAPI.List.ByType.Request", [
6434
- { no: 1, name: "resource_type", kind: "message", T: () => ResourceType }
6544
+ { no: 1, name: "resource_type", kind: "message", T: () => ResourceType },
6545
+ { no: 3, name: "limit", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
6546
+ { no: 6, name: "after", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
6547
+ { no: 4, name: "resolve_duplicates", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
6548
+ { no: 5, name: "load_fields", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
6435
6549
  ]);
6436
6550
  }
6437
6551
  create(value?: PartialMessage<ResourceAPI_List_ByType_Request>): ResourceAPI_List_ByType_Request {
6438
6552
  const message = globalThis.Object.create((this.messagePrototype!));
6553
+ message.limit = 0;
6554
+ message.after = 0n;
6555
+ message.resolveDuplicates = false;
6556
+ message.loadFields = false;
6439
6557
  if (value !== undefined)
6440
6558
  reflectionMergePartial<ResourceAPI_List_ByType_Request>(this, message, value);
6441
6559
  return message;
@@ -6448,6 +6566,18 @@ class ResourceAPI_List_ByType_Request$Type extends MessageType<ResourceAPI_List_
6448
6566
  case /* MiLaboratories.PL.Base.ResourceType resource_type */ 1:
6449
6567
  message.resourceType = ResourceType.internalBinaryRead(reader, reader.uint32(), options, message.resourceType);
6450
6568
  break;
6569
+ case /* uint32 limit */ 3:
6570
+ message.limit = reader.uint32();
6571
+ break;
6572
+ case /* uint64 after */ 6:
6573
+ message.after = reader.uint64().toBigInt();
6574
+ break;
6575
+ case /* bool resolve_duplicates */ 4:
6576
+ message.resolveDuplicates = reader.bool();
6577
+ break;
6578
+ case /* bool load_fields */ 5:
6579
+ message.loadFields = reader.bool();
6580
+ break;
6451
6581
  default:
6452
6582
  let u = options.readUnknownField;
6453
6583
  if (u === "throw")
@@ -6463,6 +6593,18 @@ class ResourceAPI_List_ByType_Request$Type extends MessageType<ResourceAPI_List_
6463
6593
  /* MiLaboratories.PL.Base.ResourceType resource_type = 1; */
6464
6594
  if (message.resourceType)
6465
6595
  ResourceType.internalBinaryWrite(message.resourceType, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
6596
+ /* uint32 limit = 3; */
6597
+ if (message.limit !== 0)
6598
+ writer.tag(3, WireType.Varint).uint32(message.limit);
6599
+ /* bool resolve_duplicates = 4; */
6600
+ if (message.resolveDuplicates !== false)
6601
+ writer.tag(4, WireType.Varint).bool(message.resolveDuplicates);
6602
+ /* bool load_fields = 5; */
6603
+ if (message.loadFields !== false)
6604
+ writer.tag(5, WireType.Varint).bool(message.loadFields);
6605
+ /* uint64 after = 6; */
6606
+ if (message.after !== 0n)
6607
+ writer.tag(6, WireType.Varint).uint64(message.after);
6466
6608
  let u = options.writeUnknownFields;
6467
6609
  if (u !== false)
6468
6610
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -6477,12 +6619,11 @@ export const ResourceAPI_List_ByType_Request = new ResourceAPI_List_ByType_Reque
6477
6619
  class ResourceAPI_List_ByType_Response$Type extends MessageType<ResourceAPI_List_ByType_Response> {
6478
6620
  constructor() {
6479
6621
  super("MiLaboratories.PL.API.ResourceAPI.List.ByType.Response", [
6480
- { no: 1, name: "resources", kind: "map", K: 4 /*ScalarType.UINT64*/, V: { kind: "message", T: () => Resource } }
6622
+ { no: 1, name: "resource", kind: "message", T: () => Resource }
6481
6623
  ]);
6482
6624
  }
6483
6625
  create(value?: PartialMessage<ResourceAPI_List_ByType_Response>): ResourceAPI_List_ByType_Response {
6484
6626
  const message = globalThis.Object.create((this.messagePrototype!));
6485
- message.resources = {};
6486
6627
  if (value !== undefined)
6487
6628
  reflectionMergePartial<ResourceAPI_List_ByType_Response>(this, message, value);
6488
6629
  return message;
@@ -6492,8 +6633,8 @@ class ResourceAPI_List_ByType_Response$Type extends MessageType<ResourceAPI_List
6492
6633
  while (reader.pos < end) {
6493
6634
  let [fieldNo, wireType] = reader.tag();
6494
6635
  switch (fieldNo) {
6495
- case /* map<uint64, MiLaboratories.PL.API.Resource> resources */ 1:
6496
- this.binaryReadMap1(message.resources, reader, options);
6636
+ case /* MiLaboratories.PL.API.Resource resource */ 1:
6637
+ message.resource = Resource.internalBinaryRead(reader, reader.uint32(), options, message.resource);
6497
6638
  break;
6498
6639
  default:
6499
6640
  let u = options.readUnknownField;
@@ -6506,30 +6647,10 @@ class ResourceAPI_List_ByType_Response$Type extends MessageType<ResourceAPI_List
6506
6647
  }
6507
6648
  return message;
6508
6649
  }
6509
- private binaryReadMap1(map: ResourceAPI_List_ByType_Response["resources"], reader: IBinaryReader, options: BinaryReadOptions): void {
6510
- let len = reader.uint32(), end = reader.pos + len, key: keyof ResourceAPI_List_ByType_Response["resources"] | undefined, val: ResourceAPI_List_ByType_Response["resources"][any] | undefined;
6511
- while (reader.pos < end) {
6512
- let [fieldNo, wireType] = reader.tag();
6513
- switch (fieldNo) {
6514
- case 1:
6515
- key = reader.uint64().toString();
6516
- break;
6517
- case 2:
6518
- val = Resource.internalBinaryRead(reader, reader.uint32(), options);
6519
- break;
6520
- default: throw new globalThis.Error("unknown map entry field for field MiLaboratories.PL.API.ResourceAPI.List.ByType.Response.resources");
6521
- }
6522
- }
6523
- map[key ?? "0"] = val ?? Resource.create();
6524
- }
6525
6650
  internalBinaryWrite(message: ResourceAPI_List_ByType_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
6526
- /* map<uint64, MiLaboratories.PL.API.Resource> resources = 1; */
6527
- for (let k of globalThis.Object.keys(message.resources)) {
6528
- writer.tag(1, WireType.LengthDelimited).fork().tag(1, WireType.Varint).uint64(k);
6529
- writer.tag(2, WireType.LengthDelimited).fork();
6530
- Resource.internalBinaryWrite(message.resources[k], writer, options);
6531
- writer.join().join();
6532
- }
6651
+ /* MiLaboratories.PL.API.Resource resource = 1; */
6652
+ if (message.resource)
6653
+ Resource.internalBinaryWrite(message.resource, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
6533
6654
  let u = options.writeUnknownFields;
6534
6655
  if (u !== false)
6535
6656
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -7497,6 +7618,146 @@ class ResourceAPI_Tree_Response$Type extends MessageType<ResourceAPI_Tree_Respon
7497
7618
  */
7498
7619
  export const ResourceAPI_Tree_Response = new ResourceAPI_Tree_Response$Type();
7499
7620
  // @generated message type with reflection information, may provide speed optimized methods
7621
+ class ResourceAPI_TreeSize$Type extends MessageType<ResourceAPI_TreeSize> {
7622
+ constructor() {
7623
+ super("MiLaboratories.PL.API.ResourceAPI.TreeSize", []);
7624
+ }
7625
+ create(value?: PartialMessage<ResourceAPI_TreeSize>): ResourceAPI_TreeSize {
7626
+ const message = globalThis.Object.create((this.messagePrototype!));
7627
+ if (value !== undefined)
7628
+ reflectionMergePartial<ResourceAPI_TreeSize>(this, message, value);
7629
+ return message;
7630
+ }
7631
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_TreeSize): ResourceAPI_TreeSize {
7632
+ let message = target ?? this.create(), end = reader.pos + length;
7633
+ while (reader.pos < end) {
7634
+ let [fieldNo, wireType] = reader.tag();
7635
+ switch (fieldNo) {
7636
+ default:
7637
+ let u = options.readUnknownField;
7638
+ if (u === "throw")
7639
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
7640
+ let d = reader.skip(wireType);
7641
+ if (u !== false)
7642
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
7643
+ }
7644
+ }
7645
+ return message;
7646
+ }
7647
+ internalBinaryWrite(message: ResourceAPI_TreeSize, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
7648
+ let u = options.writeUnknownFields;
7649
+ if (u !== false)
7650
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
7651
+ return writer;
7652
+ }
7653
+ }
7654
+ /**
7655
+ * @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.TreeSize
7656
+ */
7657
+ export const ResourceAPI_TreeSize = new ResourceAPI_TreeSize$Type();
7658
+ // @generated message type with reflection information, may provide speed optimized methods
7659
+ class ResourceAPI_TreeSize_Request$Type extends MessageType<ResourceAPI_TreeSize_Request> {
7660
+ constructor() {
7661
+ super("MiLaboratories.PL.API.ResourceAPI.TreeSize.Request", [
7662
+ { no: 1, name: "resource_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }
7663
+ ]);
7664
+ }
7665
+ create(value?: PartialMessage<ResourceAPI_TreeSize_Request>): ResourceAPI_TreeSize_Request {
7666
+ const message = globalThis.Object.create((this.messagePrototype!));
7667
+ message.resourceId = 0n;
7668
+ if (value !== undefined)
7669
+ reflectionMergePartial<ResourceAPI_TreeSize_Request>(this, message, value);
7670
+ return message;
7671
+ }
7672
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_TreeSize_Request): ResourceAPI_TreeSize_Request {
7673
+ let message = target ?? this.create(), end = reader.pos + length;
7674
+ while (reader.pos < end) {
7675
+ let [fieldNo, wireType] = reader.tag();
7676
+ switch (fieldNo) {
7677
+ case /* uint64 resource_id */ 1:
7678
+ message.resourceId = reader.uint64().toBigInt();
7679
+ break;
7680
+ default:
7681
+ let u = options.readUnknownField;
7682
+ if (u === "throw")
7683
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
7684
+ let d = reader.skip(wireType);
7685
+ if (u !== false)
7686
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
7687
+ }
7688
+ }
7689
+ return message;
7690
+ }
7691
+ internalBinaryWrite(message: ResourceAPI_TreeSize_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
7692
+ /* uint64 resource_id = 1; */
7693
+ if (message.resourceId !== 0n)
7694
+ writer.tag(1, WireType.Varint).uint64(message.resourceId);
7695
+ let u = options.writeUnknownFields;
7696
+ if (u !== false)
7697
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
7698
+ return writer;
7699
+ }
7700
+ }
7701
+ /**
7702
+ * @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.TreeSize.Request
7703
+ */
7704
+ export const ResourceAPI_TreeSize_Request = new ResourceAPI_TreeSize_Request$Type();
7705
+ // @generated message type with reflection information, may provide speed optimized methods
7706
+ class ResourceAPI_TreeSize_Response$Type extends MessageType<ResourceAPI_TreeSize_Response> {
7707
+ constructor() {
7708
+ super("MiLaboratories.PL.API.ResourceAPI.TreeSize.Response", [
7709
+ { no: 1, name: "size", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
7710
+ { no: 2, name: "resource_count", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }
7711
+ ]);
7712
+ }
7713
+ create(value?: PartialMessage<ResourceAPI_TreeSize_Response>): ResourceAPI_TreeSize_Response {
7714
+ const message = globalThis.Object.create((this.messagePrototype!));
7715
+ message.size = 0n;
7716
+ message.resourceCount = 0n;
7717
+ if (value !== undefined)
7718
+ reflectionMergePartial<ResourceAPI_TreeSize_Response>(this, message, value);
7719
+ return message;
7720
+ }
7721
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceAPI_TreeSize_Response): ResourceAPI_TreeSize_Response {
7722
+ let message = target ?? this.create(), end = reader.pos + length;
7723
+ while (reader.pos < end) {
7724
+ let [fieldNo, wireType] = reader.tag();
7725
+ switch (fieldNo) {
7726
+ case /* uint64 size */ 1:
7727
+ message.size = reader.uint64().toBigInt();
7728
+ break;
7729
+ case /* uint64 resource_count */ 2:
7730
+ message.resourceCount = reader.uint64().toBigInt();
7731
+ break;
7732
+ default:
7733
+ let u = options.readUnknownField;
7734
+ if (u === "throw")
7735
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
7736
+ let d = reader.skip(wireType);
7737
+ if (u !== false)
7738
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
7739
+ }
7740
+ }
7741
+ return message;
7742
+ }
7743
+ internalBinaryWrite(message: ResourceAPI_TreeSize_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
7744
+ /* uint64 size = 1; */
7745
+ if (message.size !== 0n)
7746
+ writer.tag(1, WireType.Varint).uint64(message.size);
7747
+ /* uint64 resource_count = 2; */
7748
+ if (message.resourceCount !== 0n)
7749
+ writer.tag(2, WireType.Varint).uint64(message.resourceCount);
7750
+ let u = options.writeUnknownFields;
7751
+ if (u !== false)
7752
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
7753
+ return writer;
7754
+ }
7755
+ }
7756
+ /**
7757
+ * @generated MessageType for protobuf message MiLaboratories.PL.API.ResourceAPI.TreeSize.Response
7758
+ */
7759
+ export const ResourceAPI_TreeSize_Response = new ResourceAPI_TreeSize_Response$Type();
7760
+ // @generated message type with reflection information, may provide speed optimized methods
7500
7761
  class FieldAPI$Type extends MessageType<FieldAPI> {
7501
7762
  constructor() {
7502
7763
  super("MiLaboratories.PL.API.FieldAPI", []);
@@ -8726,7 +8987,7 @@ export const NotificationAPI_Get_Request = new NotificationAPI_Get_Request$Type(
8726
8987
  class NotificationAPI_Get_Response$Type extends MessageType<NotificationAPI_Get_Response> {
8727
8988
  constructor() {
8728
8989
  super("MiLaboratories.PL.API.NotificationAPI.Get.Response", [
8729
- { no: 1, name: "notifications", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Notification }
8990
+ { no: 1, name: "notifications", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Notification }
8730
8991
  ]);
8731
8992
  }
8732
8993
  create(value?: PartialMessage<NotificationAPI_Get_Response>): NotificationAPI_Get_Response {
@@ -9498,7 +9759,7 @@ export const SubscriptionAPI_ListSubscriptions_Request = new SubscriptionAPI_Lis
9498
9759
  class SubscriptionAPI_ListSubscriptions_Response$Type extends MessageType<SubscriptionAPI_ListSubscriptions_Response> {
9499
9760
  constructor() {
9500
9761
  super("MiLaboratories.PL.API.SubscriptionAPI.ListSubscriptions.Response", [
9501
- { no: 1, name: "subscriptions", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => SubscriptionAPI_ListSubscriptions_SubscriptionInfo }
9762
+ { no: 1, name: "subscriptions", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SubscriptionAPI_ListSubscriptions_SubscriptionInfo }
9502
9763
  ]);
9503
9764
  }
9504
9765
  create(value?: PartialMessage<SubscriptionAPI_ListSubscriptions_Response>): SubscriptionAPI_ListSubscriptions_Response {
@@ -9893,7 +10154,7 @@ class ControllerAPI_Register_Request$Type extends MessageType<ControllerAPI_Regi
9893
10154
  super("MiLaboratories.PL.API.ControllerAPI.Register.Request", [
9894
10155
  { no: 1, name: "controller_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
9895
10156
  { no: 2, name: "filters", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => NotificationFilter } },
9896
- { no: 3, name: "resource_schemas", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => ResourceSchema }
10157
+ { no: 3, name: "resource_schemas", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ResourceSchema }
9897
10158
  ]);
9898
10159
  }
9899
10160
  create(value?: PartialMessage<ControllerAPI_Register_Request>): ControllerAPI_Register_Request {
@@ -9941,7 +10202,7 @@ class ControllerAPI_Register_Request$Type extends MessageType<ControllerAPI_Regi
9941
10202
  case 2:
9942
10203
  val = NotificationFilter.internalBinaryRead(reader, reader.uint32(), options);
9943
10204
  break;
9944
- default: throw new globalThis.Error("unknown map entry field for field MiLaboratories.PL.API.ControllerAPI.Register.Request.filters");
10205
+ default: throw new globalThis.Error("unknown map entry field for MiLaboratories.PL.API.ControllerAPI.Register.Request.filters");
9945
10206
  }
9946
10207
  }
9947
10208
  map[key ?? ""] = val ?? NotificationFilter.create();
@@ -10201,7 +10462,7 @@ class ControllerAPI_Update_Request$Type extends MessageType<ControllerAPI_Update
10201
10462
  super("MiLaboratories.PL.API.ControllerAPI.Update.Request", [
10202
10463
  { no: 1, name: "controller_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
10203
10464
  { no: 2, name: "filters", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => NotificationFilter } },
10204
- { no: 3, name: "resource_schemas", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => ResourceSchema }
10465
+ { no: 3, name: "resource_schemas", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ResourceSchema }
10205
10466
  ]);
10206
10467
  }
10207
10468
  create(value?: PartialMessage<ControllerAPI_Update_Request>): ControllerAPI_Update_Request {
@@ -10249,7 +10510,7 @@ class ControllerAPI_Update_Request$Type extends MessageType<ControllerAPI_Update
10249
10510
  case 2:
10250
10511
  val = NotificationFilter.internalBinaryRead(reader, reader.uint32(), options);
10251
10512
  break;
10252
- default: throw new globalThis.Error("unknown map entry field for field MiLaboratories.PL.API.ControllerAPI.Update.Request.filters");
10513
+ default: throw new globalThis.Error("unknown map entry field for MiLaboratories.PL.API.ControllerAPI.Update.Request.filters");
10253
10514
  }
10254
10515
  }
10255
10516
  map[key ?? ""] = val ?? NotificationFilter.create();
@@ -10938,7 +11199,7 @@ export const ControllerAPI_GetNotifications_Request = new ControllerAPI_GetNotif
10938
11199
  class ControllerAPI_GetNotifications_Response$Type extends MessageType<ControllerAPI_GetNotifications_Response> {
10939
11200
  constructor() {
10940
11201
  super("MiLaboratories.PL.API.ControllerAPI.GetNotifications.Response", [
10941
- { no: 1, name: "notifications", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Notification }
11202
+ { no: 1, name: "notifications", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Notification }
10942
11203
  ]);
10943
11204
  }
10944
11205
  create(value?: PartialMessage<ControllerAPI_GetNotifications_Response>): ControllerAPI_GetNotifications_Response {
@@ -11068,7 +11329,7 @@ class ControllerAPI_WriteAliasesAndUrls_Request$Type extends MessageType<Control
11068
11329
  case 2:
11069
11330
  val = reader.string();
11070
11331
  break;
11071
- default: throw new globalThis.Error("unknown map entry field for field MiLaboratories.PL.API.ControllerAPI.WriteAliasesAndUrls.Request.aliases_to_urls");
11332
+ default: throw new globalThis.Error("unknown map entry field for MiLaboratories.PL.API.ControllerAPI.WriteAliasesAndUrls.Request.aliases_to_urls");
11072
11333
  }
11073
11334
  }
11074
11335
  map[key ?? ""] = val ?? "";
@@ -11433,7 +11694,7 @@ export const ControllerAPI_SetFeatures = new ControllerAPI_SetFeatures$Type();
11433
11694
  class ControllerAPI_SetFeatures_Request$Type extends MessageType<ControllerAPI_SetFeatures_Request> {
11434
11695
  constructor() {
11435
11696
  super("MiLaboratories.PL.API.ControllerAPI.SetFeatures.Request", [
11436
- { no: 2, name: "features", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => ResourceAPIFeature }
11697
+ { no: 2, name: "features", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ResourceAPIFeature }
11437
11698
  ]);
11438
11699
  }
11439
11700
  create(value?: PartialMessage<ControllerAPI_SetFeatures_Request>): ControllerAPI_SetFeatures_Request {
@@ -14086,7 +14347,7 @@ export const AuthAPI_ListMethods_Request = new AuthAPI_ListMethods_Request$Type(
14086
14347
  class AuthAPI_ListMethods_Response$Type extends MessageType<AuthAPI_ListMethods_Response> {
14087
14348
  constructor() {
14088
14349
  super("MiLaboratories.PL.API.AuthAPI.ListMethods.Response", [
14089
- { no: 1, name: "methods", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => AuthAPI_ListMethods_MethodInfo }
14350
+ { no: 1, name: "methods", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AuthAPI_ListMethods_MethodInfo }
14090
14351
  ]);
14091
14352
  }
14092
14353
  create(value?: PartialMessage<AuthAPI_ListMethods_Response>): AuthAPI_ListMethods_Response {
@@ -14183,7 +14444,7 @@ class AuthAPI_ListMethods_MethodInfo$Type extends MessageType<AuthAPI_ListMethod
14183
14444
  case 2:
14184
14445
  val = reader.string();
14185
14446
  break;
14186
- default: throw new globalThis.Error("unknown map entry field for field MiLaboratories.PL.API.AuthAPI.ListMethods.MethodInfo.info");
14447
+ default: throw new globalThis.Error("unknown map entry field for MiLaboratories.PL.API.AuthAPI.ListMethods.MethodInfo.info");
14187
14448
  }
14188
14449
  }
14189
14450
  map[key ?? ""] = val ?? "";
@@ -14457,7 +14718,7 @@ export const MiscAPI_ListResourceTypes_Request = new MiscAPI_ListResourceTypes_R
14457
14718
  class MiscAPI_ListResourceTypes_Response$Type extends MessageType<MiscAPI_ListResourceTypes_Response> {
14458
14719
  constructor() {
14459
14720
  super("MiLaboratories.PL.API.MiscAPI.ListResourceTypes.Response", [
14460
- { no: 1, name: "types", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => ResourceType }
14721
+ { no: 1, name: "types", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ResourceType }
14461
14722
  ]);
14462
14723
  }
14463
14724
  create(value?: PartialMessage<MiscAPI_ListResourceTypes_Response>): MiscAPI_ListResourceTypes_Response {
@@ -14621,7 +14882,8 @@ class MaintenanceAPI_Ping_Response$Type extends MessageType<MaintenanceAPI_Ping_
14621
14882
  { no: 1, name: "core_version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
14622
14883
  { no: 2, name: "core_full_version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
14623
14884
  { no: 3, name: "server_info", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
14624
- { no: 4, name: "compression", kind: "enum", T: () => ["MiLaboratories.PL.API.MaintenanceAPI.Ping.Response.Compression", MaintenanceAPI_Ping_Response_Compression] }
14885
+ { no: 4, name: "compression", kind: "enum", T: () => ["MiLaboratories.PL.API.MaintenanceAPI.Ping.Response.Compression", MaintenanceAPI_Ping_Response_Compression] },
14886
+ { no: 5, name: "instance_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
14625
14887
  ]);
14626
14888
  }
14627
14889
  create(value?: PartialMessage<MaintenanceAPI_Ping_Response>): MaintenanceAPI_Ping_Response {
@@ -14630,6 +14892,7 @@ class MaintenanceAPI_Ping_Response$Type extends MessageType<MaintenanceAPI_Ping_
14630
14892
  message.coreFullVersion = "";
14631
14893
  message.serverInfo = "";
14632
14894
  message.compression = 0;
14895
+ message.instanceId = "";
14633
14896
  if (value !== undefined)
14634
14897
  reflectionMergePartial<MaintenanceAPI_Ping_Response>(this, message, value);
14635
14898
  return message;
@@ -14651,6 +14914,9 @@ class MaintenanceAPI_Ping_Response$Type extends MessageType<MaintenanceAPI_Ping_
14651
14914
  case /* MiLaboratories.PL.API.MaintenanceAPI.Ping.Response.Compression compression */ 4:
14652
14915
  message.compression = reader.int32();
14653
14916
  break;
14917
+ case /* string instance_id */ 5:
14918
+ message.instanceId = reader.string();
14919
+ break;
14654
14920
  default:
14655
14921
  let u = options.readUnknownField;
14656
14922
  if (u === "throw")
@@ -14675,6 +14941,9 @@ class MaintenanceAPI_Ping_Response$Type extends MessageType<MaintenanceAPI_Ping_
14675
14941
  /* MiLaboratories.PL.API.MaintenanceAPI.Ping.Response.Compression compression = 4; */
14676
14942
  if (message.compression !== 0)
14677
14943
  writer.tag(4, WireType.Varint).int32(message.compression);
14944
+ /* string instance_id = 5; */
14945
+ if (message.instanceId !== "")
14946
+ writer.tag(5, WireType.LengthDelimited).string(message.instanceId);
14678
14947
  let u = options.writeUnknownFields;
14679
14948
  if (u !== false)
14680
14949
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);