@milaboratories/pl-client 2.11.10 → 2.11.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/client.cjs +3 -0
- package/dist/core/client.cjs.map +1 -1
- package/dist/core/client.d.ts +2 -1
- package/dist/core/client.d.ts.map +1 -1
- package/dist/core/client.js +3 -0
- package/dist/core/client.js.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +759 -124
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs +7 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +10 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.js +7 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +270 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js +752 -125
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -1
- package/dist/proto/google/protobuf/any.cjs.map +1 -1
- package/dist/proto/google/protobuf/any.d.ts +5 -9
- package/dist/proto/google/protobuf/any.d.ts.map +1 -1
- package/dist/proto/google/protobuf/any.js.map +1 -1
- package/dist/proto/google/protobuf/descriptor.d.ts +45 -878
- package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/proto/google/protobuf/duration.cjs.map +1 -1
- package/dist/proto/google/protobuf/duration.d.ts +1 -0
- package/dist/proto/google/protobuf/duration.d.ts.map +1 -1
- package/dist/proto/google/protobuf/duration.js.map +1 -1
- package/dist/proto/google/protobuf/struct.d.ts +1 -1
- package/dist/proto/google/protobuf/timestamp.cjs.map +1 -1
- package/dist/proto/google/protobuf/timestamp.d.ts +4 -1
- package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -1
- package/dist/proto/google/protobuf/timestamp.js.map +1 -1
- package/dist/proto/google/protobuf/wrappers.d.ts +0 -27
- package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/core/client.ts +5 -1
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +13 -0
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +859 -82
- package/src/proto/google/protobuf/any.ts +5 -9
- package/src/proto/google/protobuf/descriptor.ts +75 -1465
- package/src/proto/google/protobuf/duration.ts +1 -0
- package/src/proto/google/protobuf/struct.ts +1 -1
- package/src/proto/google/protobuf/timestamp.ts +4 -1
- package/src/proto/google/protobuf/wrappers.ts +4 -37
|
@@ -136,6 +136,9 @@ class TxAPI_ClientMessage$Type extends runtime.MessageType {
|
|
|
136
136
|
{ no: 250, name: "controller_key_value_set", kind: "message", oneof: "request", T: () => ControllerKVAPI_Set_Request },
|
|
137
137
|
{ no: 251, name: "controller_key_value_get", kind: "message", oneof: "request", T: () => ControllerKVAPI_Get_Request },
|
|
138
138
|
{ no: 252, name: "controller_key_value_get_if_exists", kind: "message", oneof: "request", T: () => ControllerKVAPI_GetIfExists_Request },
|
|
139
|
+
{ no: 253, name: "controller_key_value_set_flag", kind: "message", oneof: "request", T: () => ControllerKVAPI_SetFlag_Request },
|
|
140
|
+
{ no: 254, name: "controller_key_value_get_flag", kind: "message", oneof: "request", T: () => ControllerKVAPI_GetFlag_Request },
|
|
141
|
+
{ no: 255, name: "controller_key_value_get_flag_if_exists", kind: "message", oneof: "request", T: () => ControllerKVAPI_GetFlagIfExists_Request },
|
|
139
142
|
{ no: 300, name: "cache_set_to_field", kind: "message", oneof: "request", T: () => CacheAPI_SetToField_Request },
|
|
140
143
|
{ no: 301, name: "cache_delete_expired_records", kind: "message", oneof: "request", T: () => CacheAPI_DeleteExpiredRecords_Request },
|
|
141
144
|
{ no: 350, name: "controller_features_set", kind: "message", oneof: "request", T: () => ControllerAPI_SetFeatures_Request },
|
|
@@ -458,6 +461,24 @@ class TxAPI_ClientMessage$Type extends runtime.MessageType {
|
|
|
458
461
|
controllerKeyValueGetIfExists: ControllerKVAPI_GetIfExists_Request.internalBinaryRead(reader, reader.uint32(), options, message.request.controllerKeyValueGetIfExists)
|
|
459
462
|
};
|
|
460
463
|
break;
|
|
464
|
+
case /* MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Request controller_key_value_set_flag */ 253:
|
|
465
|
+
message.request = {
|
|
466
|
+
oneofKind: "controllerKeyValueSetFlag",
|
|
467
|
+
controllerKeyValueSetFlag: ControllerKVAPI_SetFlag_Request.internalBinaryRead(reader, reader.uint32(), options, message.request.controllerKeyValueSetFlag)
|
|
468
|
+
};
|
|
469
|
+
break;
|
|
470
|
+
case /* MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Request controller_key_value_get_flag */ 254:
|
|
471
|
+
message.request = {
|
|
472
|
+
oneofKind: "controllerKeyValueGetFlag",
|
|
473
|
+
controllerKeyValueGetFlag: ControllerKVAPI_GetFlag_Request.internalBinaryRead(reader, reader.uint32(), options, message.request.controllerKeyValueGetFlag)
|
|
474
|
+
};
|
|
475
|
+
break;
|
|
476
|
+
case /* MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Request controller_key_value_get_flag_if_exists */ 255:
|
|
477
|
+
message.request = {
|
|
478
|
+
oneofKind: "controllerKeyValueGetFlagIfExists",
|
|
479
|
+
controllerKeyValueGetFlagIfExists: ControllerKVAPI_GetFlagIfExists_Request.internalBinaryRead(reader, reader.uint32(), options, message.request.controllerKeyValueGetFlagIfExists)
|
|
480
|
+
};
|
|
481
|
+
break;
|
|
461
482
|
case /* MiLaboratories.PL.API.CacheAPI.SetToField.Request cache_set_to_field */ 300:
|
|
462
483
|
message.request = {
|
|
463
484
|
oneofKind: "cacheSetToField",
|
|
@@ -647,6 +668,15 @@ class TxAPI_ClientMessage$Type extends runtime.MessageType {
|
|
|
647
668
|
/* MiLaboratories.PL.API.ControllerKVAPI.GetIfExists.Request controller_key_value_get_if_exists = 252; */
|
|
648
669
|
if (message.request.oneofKind === "controllerKeyValueGetIfExists")
|
|
649
670
|
ControllerKVAPI_GetIfExists_Request.internalBinaryWrite(message.request.controllerKeyValueGetIfExists, writer.tag(252, runtime.WireType.LengthDelimited).fork(), options).join();
|
|
671
|
+
/* MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Request controller_key_value_set_flag = 253; */
|
|
672
|
+
if (message.request.oneofKind === "controllerKeyValueSetFlag")
|
|
673
|
+
ControllerKVAPI_SetFlag_Request.internalBinaryWrite(message.request.controllerKeyValueSetFlag, writer.tag(253, runtime.WireType.LengthDelimited).fork(), options).join();
|
|
674
|
+
/* MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Request controller_key_value_get_flag = 254; */
|
|
675
|
+
if (message.request.oneofKind === "controllerKeyValueGetFlag")
|
|
676
|
+
ControllerKVAPI_GetFlag_Request.internalBinaryWrite(message.request.controllerKeyValueGetFlag, writer.tag(254, runtime.WireType.LengthDelimited).fork(), options).join();
|
|
677
|
+
/* MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Request controller_key_value_get_flag_if_exists = 255; */
|
|
678
|
+
if (message.request.oneofKind === "controllerKeyValueGetFlagIfExists")
|
|
679
|
+
ControllerKVAPI_GetFlagIfExists_Request.internalBinaryWrite(message.request.controllerKeyValueGetFlagIfExists, writer.tag(255, runtime.WireType.LengthDelimited).fork(), options).join();
|
|
650
680
|
/* MiLaboratories.PL.API.CacheAPI.SetToField.Request cache_set_to_field = 300; */
|
|
651
681
|
if (message.request.oneofKind === "cacheSetToField")
|
|
652
682
|
CacheAPI_SetToField_Request.internalBinaryWrite(message.request.cacheSetToField, writer.tag(300, runtime.WireType.LengthDelimited).fork(), options).join();
|
|
@@ -725,6 +755,9 @@ class TxAPI_ServerMessage$Type extends runtime.MessageType {
|
|
|
725
755
|
{ no: 250, name: "controller_key_value_set", kind: "message", oneof: "response", T: () => ControllerKVAPI_Set_Response },
|
|
726
756
|
{ no: 251, name: "controller_key_value_get", kind: "message", oneof: "response", T: () => ControllerKVAPI_Get_Response },
|
|
727
757
|
{ no: 252, name: "controller_key_value_get_if_exists", kind: "message", oneof: "response", T: () => ControllerKVAPI_GetIfExists_Response },
|
|
758
|
+
{ no: 253, name: "controller_key_value_set_flag", kind: "message", oneof: "response", T: () => ControllerKVAPI_SetFlag_Response },
|
|
759
|
+
{ no: 254, name: "controller_key_value_get_flag", kind: "message", oneof: "response", T: () => ControllerKVAPI_GetFlag_Response },
|
|
760
|
+
{ no: 255, name: "controller_key_value_get_flag_if_exists", kind: "message", oneof: "response", T: () => ControllerKVAPI_GetFlagIfExists_Response },
|
|
728
761
|
{ no: 300, name: "cache_set_to_field", kind: "message", oneof: "response", T: () => CacheAPI_SetToField_Response },
|
|
729
762
|
{ no: 301, name: "cache_delete_expired_records", kind: "message", oneof: "response", T: () => CacheAPI_DeleteExpiredRecords_Response },
|
|
730
763
|
{ no: 350, name: "controller_features_set", kind: "message", oneof: "response", T: () => ControllerAPI_SetFeatures_Response },
|
|
@@ -1051,6 +1084,24 @@ class TxAPI_ServerMessage$Type extends runtime.MessageType {
|
|
|
1051
1084
|
controllerKeyValueGetIfExists: ControllerKVAPI_GetIfExists_Response.internalBinaryRead(reader, reader.uint32(), options, message.response.controllerKeyValueGetIfExists)
|
|
1052
1085
|
};
|
|
1053
1086
|
break;
|
|
1087
|
+
case /* MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Response controller_key_value_set_flag */ 253:
|
|
1088
|
+
message.response = {
|
|
1089
|
+
oneofKind: "controllerKeyValueSetFlag",
|
|
1090
|
+
controllerKeyValueSetFlag: ControllerKVAPI_SetFlag_Response.internalBinaryRead(reader, reader.uint32(), options, message.response.controllerKeyValueSetFlag)
|
|
1091
|
+
};
|
|
1092
|
+
break;
|
|
1093
|
+
case /* MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Response controller_key_value_get_flag */ 254:
|
|
1094
|
+
message.response = {
|
|
1095
|
+
oneofKind: "controllerKeyValueGetFlag",
|
|
1096
|
+
controllerKeyValueGetFlag: ControllerKVAPI_GetFlag_Response.internalBinaryRead(reader, reader.uint32(), options, message.response.controllerKeyValueGetFlag)
|
|
1097
|
+
};
|
|
1098
|
+
break;
|
|
1099
|
+
case /* MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Response controller_key_value_get_flag_if_exists */ 255:
|
|
1100
|
+
message.response = {
|
|
1101
|
+
oneofKind: "controllerKeyValueGetFlagIfExists",
|
|
1102
|
+
controllerKeyValueGetFlagIfExists: ControllerKVAPI_GetFlagIfExists_Response.internalBinaryRead(reader, reader.uint32(), options, message.response.controllerKeyValueGetFlagIfExists)
|
|
1103
|
+
};
|
|
1104
|
+
break;
|
|
1054
1105
|
case /* MiLaboratories.PL.API.CacheAPI.SetToField.Response cache_set_to_field */ 300:
|
|
1055
1106
|
message.response = {
|
|
1056
1107
|
oneofKind: "cacheSetToField",
|
|
@@ -1249,6 +1300,15 @@ class TxAPI_ServerMessage$Type extends runtime.MessageType {
|
|
|
1249
1300
|
/* MiLaboratories.PL.API.ControllerKVAPI.GetIfExists.Response controller_key_value_get_if_exists = 252; */
|
|
1250
1301
|
if (message.response.oneofKind === "controllerKeyValueGetIfExists")
|
|
1251
1302
|
ControllerKVAPI_GetIfExists_Response.internalBinaryWrite(message.response.controllerKeyValueGetIfExists, writer.tag(252, runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1303
|
+
/* MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Response controller_key_value_set_flag = 253; */
|
|
1304
|
+
if (message.response.oneofKind === "controllerKeyValueSetFlag")
|
|
1305
|
+
ControllerKVAPI_SetFlag_Response.internalBinaryWrite(message.response.controllerKeyValueSetFlag, writer.tag(253, runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1306
|
+
/* MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Response controller_key_value_get_flag = 254; */
|
|
1307
|
+
if (message.response.oneofKind === "controllerKeyValueGetFlag")
|
|
1308
|
+
ControllerKVAPI_GetFlag_Response.internalBinaryWrite(message.response.controllerKeyValueGetFlag, writer.tag(254, runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1309
|
+
/* MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Response controller_key_value_get_flag_if_exists = 255; */
|
|
1310
|
+
if (message.response.oneofKind === "controllerKeyValueGetFlagIfExists")
|
|
1311
|
+
ControllerKVAPI_GetFlagIfExists_Response.internalBinaryWrite(message.response.controllerKeyValueGetFlagIfExists, writer.tag(255, runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1252
1312
|
/* MiLaboratories.PL.API.CacheAPI.SetToField.Response cache_set_to_field = 300; */
|
|
1253
1313
|
if (message.response.oneofKind === "cacheSetToField")
|
|
1254
1314
|
CacheAPI_SetToField_Response.internalBinaryWrite(message.response.cacheSetToField, writer.tag(300, runtime.WireType.LengthDelimited).fork(), options).join();
|
|
@@ -10548,9 +10608,9 @@ class ControllerKVAPI_GetIfExists_Response$Type extends runtime.MessageType {
|
|
|
10548
10608
|
*/
|
|
10549
10609
|
const ControllerKVAPI_GetIfExists_Response = new ControllerKVAPI_GetIfExists_Response$Type();
|
|
10550
10610
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
10551
|
-
class
|
|
10611
|
+
class ControllerKVAPI_SetFlag$Type extends runtime.MessageType {
|
|
10552
10612
|
constructor() {
|
|
10553
|
-
super("MiLaboratories.PL.API.
|
|
10613
|
+
super("MiLaboratories.PL.API.ControllerKVAPI.SetFlag", []);
|
|
10554
10614
|
}
|
|
10555
10615
|
create(value) {
|
|
10556
10616
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
@@ -10582,16 +10642,23 @@ class CacheAPI$Type extends runtime.MessageType {
|
|
|
10582
10642
|
}
|
|
10583
10643
|
}
|
|
10584
10644
|
/**
|
|
10585
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
10645
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.SetFlag
|
|
10586
10646
|
*/
|
|
10587
|
-
new
|
|
10647
|
+
new ControllerKVAPI_SetFlag$Type();
|
|
10588
10648
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
10589
|
-
class
|
|
10649
|
+
class ControllerKVAPI_SetFlag_Request$Type extends runtime.MessageType {
|
|
10590
10650
|
constructor() {
|
|
10591
|
-
super("MiLaboratories.PL.API.
|
|
10651
|
+
super("MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Request", [
|
|
10652
|
+
{ no: 1, name: "controller_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
10653
|
+
{ no: 2, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
10654
|
+
{ no: 3, name: "value", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
10655
|
+
]);
|
|
10592
10656
|
}
|
|
10593
10657
|
create(value) {
|
|
10594
10658
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
10659
|
+
message.controllerType = "";
|
|
10660
|
+
message.key = "";
|
|
10661
|
+
message.value = false;
|
|
10595
10662
|
if (value !== undefined)
|
|
10596
10663
|
runtime.reflectionMergePartial(this, message, value);
|
|
10597
10664
|
return message;
|
|
@@ -10601,6 +10668,15 @@ class CacheAPI_SetToField$Type extends runtime.MessageType {
|
|
|
10601
10668
|
while (reader.pos < end) {
|
|
10602
10669
|
let [fieldNo, wireType] = reader.tag();
|
|
10603
10670
|
switch (fieldNo) {
|
|
10671
|
+
case /* string controller_type */ 1:
|
|
10672
|
+
message.controllerType = reader.string();
|
|
10673
|
+
break;
|
|
10674
|
+
case /* string key */ 2:
|
|
10675
|
+
message.key = reader.string();
|
|
10676
|
+
break;
|
|
10677
|
+
case /* bool value */ 3:
|
|
10678
|
+
message.value = reader.bool();
|
|
10679
|
+
break;
|
|
10604
10680
|
default:
|
|
10605
10681
|
let u = options.readUnknownField;
|
|
10606
10682
|
if (u === "throw")
|
|
@@ -10613,6 +10689,15 @@ class CacheAPI_SetToField$Type extends runtime.MessageType {
|
|
|
10613
10689
|
return message;
|
|
10614
10690
|
}
|
|
10615
10691
|
internalBinaryWrite(message, writer, options) {
|
|
10692
|
+
/* string controller_type = 1; */
|
|
10693
|
+
if (message.controllerType !== "")
|
|
10694
|
+
writer.tag(1, runtime.WireType.LengthDelimited).string(message.controllerType);
|
|
10695
|
+
/* string key = 2; */
|
|
10696
|
+
if (message.key !== "")
|
|
10697
|
+
writer.tag(2, runtime.WireType.LengthDelimited).string(message.key);
|
|
10698
|
+
/* bool value = 3; */
|
|
10699
|
+
if (message.value !== false)
|
|
10700
|
+
writer.tag(3, runtime.WireType.Varint).bool(message.value);
|
|
10616
10701
|
let u = options.writeUnknownFields;
|
|
10617
10702
|
if (u !== false)
|
|
10618
10703
|
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -10620,16 +10705,13 @@ class CacheAPI_SetToField$Type extends runtime.MessageType {
|
|
|
10620
10705
|
}
|
|
10621
10706
|
}
|
|
10622
10707
|
/**
|
|
10623
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
10708
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Request
|
|
10624
10709
|
*/
|
|
10625
|
-
new
|
|
10710
|
+
const ControllerKVAPI_SetFlag_Request = new ControllerKVAPI_SetFlag_Request$Type();
|
|
10626
10711
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
10627
|
-
class
|
|
10712
|
+
class ControllerKVAPI_SetFlag_Response$Type extends runtime.MessageType {
|
|
10628
10713
|
constructor() {
|
|
10629
|
-
super("MiLaboratories.PL.API.
|
|
10630
|
-
{ no: 1, name: "id", kind: "message", T: () => base_types.FieldRef },
|
|
10631
|
-
{ no: 2, name: "period", kind: "message", T: () => duration.Duration }
|
|
10632
|
-
]);
|
|
10714
|
+
super("MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Response", []);
|
|
10633
10715
|
}
|
|
10634
10716
|
create(value) {
|
|
10635
10717
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
@@ -10642,12 +10724,6 @@ class CacheAPI_SetToField_Request$Type extends runtime.MessageType {
|
|
|
10642
10724
|
while (reader.pos < end) {
|
|
10643
10725
|
let [fieldNo, wireType] = reader.tag();
|
|
10644
10726
|
switch (fieldNo) {
|
|
10645
|
-
case /* MiLaboratories.PL.Base.FieldRef id */ 1:
|
|
10646
|
-
message.id = base_types.FieldRef.internalBinaryRead(reader, reader.uint32(), options, message.id);
|
|
10647
|
-
break;
|
|
10648
|
-
case /* google.protobuf.Duration period */ 2:
|
|
10649
|
-
message.period = duration.Duration.internalBinaryRead(reader, reader.uint32(), options, message.period);
|
|
10650
|
-
break;
|
|
10651
10727
|
default:
|
|
10652
10728
|
let u = options.readUnknownField;
|
|
10653
10729
|
if (u === "throw")
|
|
@@ -10660,12 +10736,6 @@ class CacheAPI_SetToField_Request$Type extends runtime.MessageType {
|
|
|
10660
10736
|
return message;
|
|
10661
10737
|
}
|
|
10662
10738
|
internalBinaryWrite(message, writer, options) {
|
|
10663
|
-
/* MiLaboratories.PL.Base.FieldRef id = 1; */
|
|
10664
|
-
if (message.id)
|
|
10665
|
-
base_types.FieldRef.internalBinaryWrite(message.id, writer.tag(1, runtime.WireType.LengthDelimited).fork(), options).join();
|
|
10666
|
-
/* google.protobuf.Duration period = 2; */
|
|
10667
|
-
if (message.period)
|
|
10668
|
-
duration.Duration.internalBinaryWrite(message.period, writer.tag(2, runtime.WireType.LengthDelimited).fork(), options).join();
|
|
10669
10739
|
let u = options.writeUnknownFields;
|
|
10670
10740
|
if (u !== false)
|
|
10671
10741
|
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -10673,13 +10743,13 @@ class CacheAPI_SetToField_Request$Type extends runtime.MessageType {
|
|
|
10673
10743
|
}
|
|
10674
10744
|
}
|
|
10675
10745
|
/**
|
|
10676
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
10746
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Response
|
|
10677
10747
|
*/
|
|
10678
|
-
const
|
|
10748
|
+
const ControllerKVAPI_SetFlag_Response = new ControllerKVAPI_SetFlag_Response$Type();
|
|
10679
10749
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
10680
|
-
class
|
|
10750
|
+
class ControllerKVAPI_GetFlag$Type extends runtime.MessageType {
|
|
10681
10751
|
constructor() {
|
|
10682
|
-
super("MiLaboratories.PL.API.
|
|
10752
|
+
super("MiLaboratories.PL.API.ControllerKVAPI.GetFlag", []);
|
|
10683
10753
|
}
|
|
10684
10754
|
create(value) {
|
|
10685
10755
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
@@ -10711,16 +10781,21 @@ class CacheAPI_SetToField_Response$Type extends runtime.MessageType {
|
|
|
10711
10781
|
}
|
|
10712
10782
|
}
|
|
10713
10783
|
/**
|
|
10714
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
10784
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlag
|
|
10715
10785
|
*/
|
|
10716
|
-
|
|
10786
|
+
new ControllerKVAPI_GetFlag$Type();
|
|
10717
10787
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
10718
|
-
class
|
|
10788
|
+
class ControllerKVAPI_GetFlag_Request$Type extends runtime.MessageType {
|
|
10719
10789
|
constructor() {
|
|
10720
|
-
super("MiLaboratories.PL.API.
|
|
10790
|
+
super("MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Request", [
|
|
10791
|
+
{ no: 1, name: "controller_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
10792
|
+
{ no: 2, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
10793
|
+
]);
|
|
10721
10794
|
}
|
|
10722
10795
|
create(value) {
|
|
10723
10796
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
10797
|
+
message.controllerType = "";
|
|
10798
|
+
message.key = "";
|
|
10724
10799
|
if (value !== undefined)
|
|
10725
10800
|
runtime.reflectionMergePartial(this, message, value);
|
|
10726
10801
|
return message;
|
|
@@ -10730,6 +10805,12 @@ class CacheAPI_DeleteExpiredRecords$Type extends runtime.MessageType {
|
|
|
10730
10805
|
while (reader.pos < end) {
|
|
10731
10806
|
let [fieldNo, wireType] = reader.tag();
|
|
10732
10807
|
switch (fieldNo) {
|
|
10808
|
+
case /* string controller_type */ 1:
|
|
10809
|
+
message.controllerType = reader.string();
|
|
10810
|
+
break;
|
|
10811
|
+
case /* string key */ 2:
|
|
10812
|
+
message.key = reader.string();
|
|
10813
|
+
break;
|
|
10733
10814
|
default:
|
|
10734
10815
|
let u = options.readUnknownField;
|
|
10735
10816
|
if (u === "throw")
|
|
@@ -10742,6 +10823,12 @@ class CacheAPI_DeleteExpiredRecords$Type extends runtime.MessageType {
|
|
|
10742
10823
|
return message;
|
|
10743
10824
|
}
|
|
10744
10825
|
internalBinaryWrite(message, writer, options) {
|
|
10826
|
+
/* string controller_type = 1; */
|
|
10827
|
+
if (message.controllerType !== "")
|
|
10828
|
+
writer.tag(1, runtime.WireType.LengthDelimited).string(message.controllerType);
|
|
10829
|
+
/* string key = 2; */
|
|
10830
|
+
if (message.key !== "")
|
|
10831
|
+
writer.tag(2, runtime.WireType.LengthDelimited).string(message.key);
|
|
10745
10832
|
let u = options.writeUnknownFields;
|
|
10746
10833
|
if (u !== false)
|
|
10747
10834
|
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -10749,16 +10836,19 @@ class CacheAPI_DeleteExpiredRecords$Type extends runtime.MessageType {
|
|
|
10749
10836
|
}
|
|
10750
10837
|
}
|
|
10751
10838
|
/**
|
|
10752
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
10839
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Request
|
|
10753
10840
|
*/
|
|
10754
|
-
new
|
|
10841
|
+
const ControllerKVAPI_GetFlag_Request = new ControllerKVAPI_GetFlag_Request$Type();
|
|
10755
10842
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
10756
|
-
class
|
|
10843
|
+
class ControllerKVAPI_GetFlag_Response$Type extends runtime.MessageType {
|
|
10757
10844
|
constructor() {
|
|
10758
|
-
super("MiLaboratories.PL.API.
|
|
10845
|
+
super("MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Response", [
|
|
10846
|
+
{ no: 1, name: "value", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
10847
|
+
]);
|
|
10759
10848
|
}
|
|
10760
10849
|
create(value) {
|
|
10761
10850
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
10851
|
+
message.value = false;
|
|
10762
10852
|
if (value !== undefined)
|
|
10763
10853
|
runtime.reflectionMergePartial(this, message, value);
|
|
10764
10854
|
return message;
|
|
@@ -10768,6 +10858,9 @@ class CacheAPI_DeleteExpiredRecords_Request$Type extends runtime.MessageType {
|
|
|
10768
10858
|
while (reader.pos < end) {
|
|
10769
10859
|
let [fieldNo, wireType] = reader.tag();
|
|
10770
10860
|
switch (fieldNo) {
|
|
10861
|
+
case /* bool value */ 1:
|
|
10862
|
+
message.value = reader.bool();
|
|
10863
|
+
break;
|
|
10771
10864
|
default:
|
|
10772
10865
|
let u = options.readUnknownField;
|
|
10773
10866
|
if (u === "throw")
|
|
@@ -10780,6 +10873,9 @@ class CacheAPI_DeleteExpiredRecords_Request$Type extends runtime.MessageType {
|
|
|
10780
10873
|
return message;
|
|
10781
10874
|
}
|
|
10782
10875
|
internalBinaryWrite(message, writer, options) {
|
|
10876
|
+
/* bool value = 1; */
|
|
10877
|
+
if (message.value !== false)
|
|
10878
|
+
writer.tag(1, runtime.WireType.Varint).bool(message.value);
|
|
10783
10879
|
let u = options.writeUnknownFields;
|
|
10784
10880
|
if (u !== false)
|
|
10785
10881
|
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -10787,13 +10883,13 @@ class CacheAPI_DeleteExpiredRecords_Request$Type extends runtime.MessageType {
|
|
|
10787
10883
|
}
|
|
10788
10884
|
}
|
|
10789
10885
|
/**
|
|
10790
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
10886
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Response
|
|
10791
10887
|
*/
|
|
10792
|
-
const
|
|
10888
|
+
const ControllerKVAPI_GetFlag_Response = new ControllerKVAPI_GetFlag_Response$Type();
|
|
10793
10889
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
10794
|
-
class
|
|
10890
|
+
class ControllerKVAPI_GetFlagIfExists$Type extends runtime.MessageType {
|
|
10795
10891
|
constructor() {
|
|
10796
|
-
super("MiLaboratories.PL.API.
|
|
10892
|
+
super("MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists", []);
|
|
10797
10893
|
}
|
|
10798
10894
|
create(value) {
|
|
10799
10895
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
@@ -10825,16 +10921,21 @@ class CacheAPI_DeleteExpiredRecords_Response$Type extends runtime.MessageType {
|
|
|
10825
10921
|
}
|
|
10826
10922
|
}
|
|
10827
10923
|
/**
|
|
10828
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
10924
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists
|
|
10829
10925
|
*/
|
|
10830
|
-
|
|
10926
|
+
new ControllerKVAPI_GetFlagIfExists$Type();
|
|
10831
10927
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
10832
|
-
class
|
|
10928
|
+
class ControllerKVAPI_GetFlagIfExists_Request$Type extends runtime.MessageType {
|
|
10833
10929
|
constructor() {
|
|
10834
|
-
super("MiLaboratories.PL.API.
|
|
10930
|
+
super("MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Request", [
|
|
10931
|
+
{ no: 1, name: "controller_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
10932
|
+
{ no: 2, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
10933
|
+
]);
|
|
10835
10934
|
}
|
|
10836
10935
|
create(value) {
|
|
10837
10936
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
10937
|
+
message.controllerType = "";
|
|
10938
|
+
message.key = "";
|
|
10838
10939
|
if (value !== undefined)
|
|
10839
10940
|
runtime.reflectionMergePartial(this, message, value);
|
|
10840
10941
|
return message;
|
|
@@ -10844,6 +10945,12 @@ class LocksAPI$Type extends runtime.MessageType {
|
|
|
10844
10945
|
while (reader.pos < end) {
|
|
10845
10946
|
let [fieldNo, wireType] = reader.tag();
|
|
10846
10947
|
switch (fieldNo) {
|
|
10948
|
+
case /* string controller_type */ 1:
|
|
10949
|
+
message.controllerType = reader.string();
|
|
10950
|
+
break;
|
|
10951
|
+
case /* string key */ 2:
|
|
10952
|
+
message.key = reader.string();
|
|
10953
|
+
break;
|
|
10847
10954
|
default:
|
|
10848
10955
|
let u = options.readUnknownField;
|
|
10849
10956
|
if (u === "throw")
|
|
@@ -10856,6 +10963,12 @@ class LocksAPI$Type extends runtime.MessageType {
|
|
|
10856
10963
|
return message;
|
|
10857
10964
|
}
|
|
10858
10965
|
internalBinaryWrite(message, writer, options) {
|
|
10966
|
+
/* string controller_type = 1; */
|
|
10967
|
+
if (message.controllerType !== "")
|
|
10968
|
+
writer.tag(1, runtime.WireType.LengthDelimited).string(message.controllerType);
|
|
10969
|
+
/* string key = 2; */
|
|
10970
|
+
if (message.key !== "")
|
|
10971
|
+
writer.tag(2, runtime.WireType.LengthDelimited).string(message.key);
|
|
10859
10972
|
let u = options.writeUnknownFields;
|
|
10860
10973
|
if (u !== false)
|
|
10861
10974
|
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -10863,16 +10976,21 @@ class LocksAPI$Type extends runtime.MessageType {
|
|
|
10863
10976
|
}
|
|
10864
10977
|
}
|
|
10865
10978
|
/**
|
|
10866
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
10979
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Request
|
|
10867
10980
|
*/
|
|
10868
|
-
new
|
|
10981
|
+
const ControllerKVAPI_GetFlagIfExists_Request = new ControllerKVAPI_GetFlagIfExists_Request$Type();
|
|
10869
10982
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
10870
|
-
class
|
|
10983
|
+
class ControllerKVAPI_GetFlagIfExists_Response$Type extends runtime.MessageType {
|
|
10871
10984
|
constructor() {
|
|
10872
|
-
super("MiLaboratories.PL.API.
|
|
10985
|
+
super("MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Response", [
|
|
10986
|
+
{ no: 1, name: "value", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
10987
|
+
{ no: 2, name: "exists", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
10988
|
+
]);
|
|
10873
10989
|
}
|
|
10874
10990
|
create(value) {
|
|
10875
10991
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
10992
|
+
message.value = false;
|
|
10993
|
+
message.exists = false;
|
|
10876
10994
|
if (value !== undefined)
|
|
10877
10995
|
runtime.reflectionMergePartial(this, message, value);
|
|
10878
10996
|
return message;
|
|
@@ -10882,6 +11000,12 @@ class LocksAPI_Lease$Type extends runtime.MessageType {
|
|
|
10882
11000
|
while (reader.pos < end) {
|
|
10883
11001
|
let [fieldNo, wireType] = reader.tag();
|
|
10884
11002
|
switch (fieldNo) {
|
|
11003
|
+
case /* bool value */ 1:
|
|
11004
|
+
message.value = reader.bool();
|
|
11005
|
+
break;
|
|
11006
|
+
case /* bool exists */ 2:
|
|
11007
|
+
message.exists = reader.bool();
|
|
11008
|
+
break;
|
|
10885
11009
|
default:
|
|
10886
11010
|
let u = options.readUnknownField;
|
|
10887
11011
|
if (u === "throw")
|
|
@@ -10894,6 +11018,12 @@ class LocksAPI_Lease$Type extends runtime.MessageType {
|
|
|
10894
11018
|
return message;
|
|
10895
11019
|
}
|
|
10896
11020
|
internalBinaryWrite(message, writer, options) {
|
|
11021
|
+
/* bool value = 1; */
|
|
11022
|
+
if (message.value !== false)
|
|
11023
|
+
writer.tag(1, runtime.WireType.Varint).bool(message.value);
|
|
11024
|
+
/* bool exists = 2; */
|
|
11025
|
+
if (message.exists !== false)
|
|
11026
|
+
writer.tag(2, runtime.WireType.Varint).bool(message.exists);
|
|
10897
11027
|
let u = options.writeUnknownFields;
|
|
10898
11028
|
if (u !== false)
|
|
10899
11029
|
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -10901,13 +11031,13 @@ class LocksAPI_Lease$Type extends runtime.MessageType {
|
|
|
10901
11031
|
}
|
|
10902
11032
|
}
|
|
10903
11033
|
/**
|
|
10904
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
11034
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Response
|
|
10905
11035
|
*/
|
|
10906
|
-
new
|
|
11036
|
+
const ControllerKVAPI_GetFlagIfExists_Response = new ControllerKVAPI_GetFlagIfExists_Response$Type();
|
|
10907
11037
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
10908
|
-
class
|
|
11038
|
+
class CacheAPI$Type extends runtime.MessageType {
|
|
10909
11039
|
constructor() {
|
|
10910
|
-
super("MiLaboratories.PL.API.
|
|
11040
|
+
super("MiLaboratories.PL.API.CacheAPI", []);
|
|
10911
11041
|
}
|
|
10912
11042
|
create(value) {
|
|
10913
11043
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
@@ -10939,22 +11069,16 @@ class LocksAPI_Lease_Create$Type extends runtime.MessageType {
|
|
|
10939
11069
|
}
|
|
10940
11070
|
}
|
|
10941
11071
|
/**
|
|
10942
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
11072
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.CacheAPI
|
|
10943
11073
|
*/
|
|
10944
|
-
new
|
|
11074
|
+
new CacheAPI$Type();
|
|
10945
11075
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
10946
|
-
class
|
|
11076
|
+
class CacheAPI_SetToField$Type extends runtime.MessageType {
|
|
10947
11077
|
constructor() {
|
|
10948
|
-
super("MiLaboratories.PL.API.
|
|
10949
|
-
{ no: 1, name: "resource_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
10950
|
-
{ no: 3, name: "timeout", kind: "message", T: () => duration.Duration },
|
|
10951
|
-
{ no: 4, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
10952
|
-
]);
|
|
11078
|
+
super("MiLaboratories.PL.API.CacheAPI.SetToField", []);
|
|
10953
11079
|
}
|
|
10954
11080
|
create(value) {
|
|
10955
11081
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
10956
|
-
message.resourceId = 0n;
|
|
10957
|
-
message.name = "";
|
|
10958
11082
|
if (value !== undefined)
|
|
10959
11083
|
runtime.reflectionMergePartial(this, message, value);
|
|
10960
11084
|
return message;
|
|
@@ -10964,15 +11088,6 @@ class LocksAPI_Lease_Create_Request$Type extends runtime.MessageType {
|
|
|
10964
11088
|
while (reader.pos < end) {
|
|
10965
11089
|
let [fieldNo, wireType] = reader.tag();
|
|
10966
11090
|
switch (fieldNo) {
|
|
10967
|
-
case /* uint64 resource_id */ 1:
|
|
10968
|
-
message.resourceId = reader.uint64().toBigInt();
|
|
10969
|
-
break;
|
|
10970
|
-
case /* google.protobuf.Duration timeout */ 3:
|
|
10971
|
-
message.timeout = duration.Duration.internalBinaryRead(reader, reader.uint32(), options, message.timeout);
|
|
10972
|
-
break;
|
|
10973
|
-
case /* string name */ 4:
|
|
10974
|
-
message.name = reader.string();
|
|
10975
|
-
break;
|
|
10976
11091
|
default:
|
|
10977
11092
|
let u = options.readUnknownField;
|
|
10978
11093
|
if (u === "throw")
|
|
@@ -10985,15 +11100,6 @@ class LocksAPI_Lease_Create_Request$Type extends runtime.MessageType {
|
|
|
10985
11100
|
return message;
|
|
10986
11101
|
}
|
|
10987
11102
|
internalBinaryWrite(message, writer, options) {
|
|
10988
|
-
/* uint64 resource_id = 1; */
|
|
10989
|
-
if (message.resourceId !== 0n)
|
|
10990
|
-
writer.tag(1, runtime.WireType.Varint).uint64(message.resourceId);
|
|
10991
|
-
/* google.protobuf.Duration timeout = 3; */
|
|
10992
|
-
if (message.timeout)
|
|
10993
|
-
duration.Duration.internalBinaryWrite(message.timeout, writer.tag(3, runtime.WireType.LengthDelimited).fork(), options).join();
|
|
10994
|
-
/* string name = 4; */
|
|
10995
|
-
if (message.name !== "")
|
|
10996
|
-
writer.tag(4, runtime.WireType.LengthDelimited).string(message.name);
|
|
10997
11103
|
let u = options.writeUnknownFields;
|
|
10998
11104
|
if (u !== false)
|
|
10999
11105
|
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -11001,19 +11107,19 @@ class LocksAPI_Lease_Create_Request$Type extends runtime.MessageType {
|
|
|
11001
11107
|
}
|
|
11002
11108
|
}
|
|
11003
11109
|
/**
|
|
11004
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
11110
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.CacheAPI.SetToField
|
|
11005
11111
|
*/
|
|
11006
|
-
|
|
11112
|
+
new CacheAPI_SetToField$Type();
|
|
11007
11113
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
11008
|
-
class
|
|
11114
|
+
class CacheAPI_SetToField_Request$Type extends runtime.MessageType {
|
|
11009
11115
|
constructor() {
|
|
11010
|
-
super("MiLaboratories.PL.API.
|
|
11011
|
-
{ no: 1, name: "
|
|
11116
|
+
super("MiLaboratories.PL.API.CacheAPI.SetToField.Request", [
|
|
11117
|
+
{ no: 1, name: "id", kind: "message", T: () => base_types.FieldRef },
|
|
11118
|
+
{ no: 2, name: "period", kind: "message", T: () => duration.Duration }
|
|
11012
11119
|
]);
|
|
11013
11120
|
}
|
|
11014
11121
|
create(value) {
|
|
11015
11122
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
11016
|
-
message.leaseId = new Uint8Array(0);
|
|
11017
11123
|
if (value !== undefined)
|
|
11018
11124
|
runtime.reflectionMergePartial(this, message, value);
|
|
11019
11125
|
return message;
|
|
@@ -11023,8 +11129,11 @@ class LocksAPI_Lease_Create_Response$Type extends runtime.MessageType {
|
|
|
11023
11129
|
while (reader.pos < end) {
|
|
11024
11130
|
let [fieldNo, wireType] = reader.tag();
|
|
11025
11131
|
switch (fieldNo) {
|
|
11026
|
-
case /*
|
|
11027
|
-
message.
|
|
11132
|
+
case /* MiLaboratories.PL.Base.FieldRef id */ 1:
|
|
11133
|
+
message.id = base_types.FieldRef.internalBinaryRead(reader, reader.uint32(), options, message.id);
|
|
11134
|
+
break;
|
|
11135
|
+
case /* google.protobuf.Duration period */ 2:
|
|
11136
|
+
message.period = duration.Duration.internalBinaryRead(reader, reader.uint32(), options, message.period);
|
|
11028
11137
|
break;
|
|
11029
11138
|
default:
|
|
11030
11139
|
let u = options.readUnknownField;
|
|
@@ -11038,9 +11147,12 @@ class LocksAPI_Lease_Create_Response$Type extends runtime.MessageType {
|
|
|
11038
11147
|
return message;
|
|
11039
11148
|
}
|
|
11040
11149
|
internalBinaryWrite(message, writer, options) {
|
|
11041
|
-
/*
|
|
11042
|
-
if (message.
|
|
11043
|
-
writer.tag(1, runtime.WireType.LengthDelimited).
|
|
11150
|
+
/* MiLaboratories.PL.Base.FieldRef id = 1; */
|
|
11151
|
+
if (message.id)
|
|
11152
|
+
base_types.FieldRef.internalBinaryWrite(message.id, writer.tag(1, runtime.WireType.LengthDelimited).fork(), options).join();
|
|
11153
|
+
/* google.protobuf.Duration period = 2; */
|
|
11154
|
+
if (message.period)
|
|
11155
|
+
duration.Duration.internalBinaryWrite(message.period, writer.tag(2, runtime.WireType.LengthDelimited).fork(), options).join();
|
|
11044
11156
|
let u = options.writeUnknownFields;
|
|
11045
11157
|
if (u !== false)
|
|
11046
11158
|
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -11048,13 +11160,13 @@ class LocksAPI_Lease_Create_Response$Type extends runtime.MessageType {
|
|
|
11048
11160
|
}
|
|
11049
11161
|
}
|
|
11050
11162
|
/**
|
|
11051
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
11163
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.CacheAPI.SetToField.Request
|
|
11052
11164
|
*/
|
|
11053
|
-
const
|
|
11165
|
+
const CacheAPI_SetToField_Request = new CacheAPI_SetToField_Request$Type();
|
|
11054
11166
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
11055
|
-
class
|
|
11167
|
+
class CacheAPI_SetToField_Response$Type extends runtime.MessageType {
|
|
11056
11168
|
constructor() {
|
|
11057
|
-
super("MiLaboratories.PL.API.
|
|
11169
|
+
super("MiLaboratories.PL.API.CacheAPI.SetToField.Response", []);
|
|
11058
11170
|
}
|
|
11059
11171
|
create(value) {
|
|
11060
11172
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
@@ -11086,24 +11198,16 @@ class LocksAPI_Lease_Update$Type extends runtime.MessageType {
|
|
|
11086
11198
|
}
|
|
11087
11199
|
}
|
|
11088
11200
|
/**
|
|
11089
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
11201
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.CacheAPI.SetToField.Response
|
|
11090
11202
|
*/
|
|
11091
|
-
new
|
|
11203
|
+
const CacheAPI_SetToField_Response = new CacheAPI_SetToField_Response$Type();
|
|
11092
11204
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
11093
|
-
class
|
|
11205
|
+
class CacheAPI_DeleteExpiredRecords$Type extends runtime.MessageType {
|
|
11094
11206
|
constructor() {
|
|
11095
|
-
super("MiLaboratories.PL.API.
|
|
11096
|
-
{ no: 1, name: "resource_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
11097
|
-
{ no: 2, name: "lease_id", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },
|
|
11098
|
-
{ no: 3, name: "timeout", kind: "message", T: () => duration.Duration },
|
|
11099
|
-
{ no: 4, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
11100
|
-
]);
|
|
11207
|
+
super("MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords", []);
|
|
11101
11208
|
}
|
|
11102
11209
|
create(value) {
|
|
11103
11210
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
11104
|
-
message.resourceId = 0n;
|
|
11105
|
-
message.leaseId = new Uint8Array(0);
|
|
11106
|
-
message.name = "";
|
|
11107
11211
|
if (value !== undefined)
|
|
11108
11212
|
runtime.reflectionMergePartial(this, message, value);
|
|
11109
11213
|
return message;
|
|
@@ -11113,18 +11217,6 @@ class LocksAPI_Lease_Update_Request$Type extends runtime.MessageType {
|
|
|
11113
11217
|
while (reader.pos < end) {
|
|
11114
11218
|
let [fieldNo, wireType] = reader.tag();
|
|
11115
11219
|
switch (fieldNo) {
|
|
11116
|
-
case /* uint64 resource_id */ 1:
|
|
11117
|
-
message.resourceId = reader.uint64().toBigInt();
|
|
11118
|
-
break;
|
|
11119
|
-
case /* bytes lease_id */ 2:
|
|
11120
|
-
message.leaseId = reader.bytes();
|
|
11121
|
-
break;
|
|
11122
|
-
case /* google.protobuf.Duration timeout */ 3:
|
|
11123
|
-
message.timeout = duration.Duration.internalBinaryRead(reader, reader.uint32(), options, message.timeout);
|
|
11124
|
-
break;
|
|
11125
|
-
case /* string name */ 4:
|
|
11126
|
-
message.name = reader.string();
|
|
11127
|
-
break;
|
|
11128
11220
|
default:
|
|
11129
11221
|
let u = options.readUnknownField;
|
|
11130
11222
|
if (u === "throw")
|
|
@@ -11137,9 +11229,404 @@ class LocksAPI_Lease_Update_Request$Type extends runtime.MessageType {
|
|
|
11137
11229
|
return message;
|
|
11138
11230
|
}
|
|
11139
11231
|
internalBinaryWrite(message, writer, options) {
|
|
11140
|
-
|
|
11141
|
-
if (
|
|
11142
|
-
|
|
11232
|
+
let u = options.writeUnknownFields;
|
|
11233
|
+
if (u !== false)
|
|
11234
|
+
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11235
|
+
return writer;
|
|
11236
|
+
}
|
|
11237
|
+
}
|
|
11238
|
+
/**
|
|
11239
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords
|
|
11240
|
+
*/
|
|
11241
|
+
new CacheAPI_DeleteExpiredRecords$Type();
|
|
11242
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
11243
|
+
class CacheAPI_DeleteExpiredRecords_Request$Type extends runtime.MessageType {
|
|
11244
|
+
constructor() {
|
|
11245
|
+
super("MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords.Request", []);
|
|
11246
|
+
}
|
|
11247
|
+
create(value) {
|
|
11248
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
11249
|
+
if (value !== undefined)
|
|
11250
|
+
runtime.reflectionMergePartial(this, message, value);
|
|
11251
|
+
return message;
|
|
11252
|
+
}
|
|
11253
|
+
internalBinaryRead(reader, length, options, target) {
|
|
11254
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11255
|
+
while (reader.pos < end) {
|
|
11256
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11257
|
+
switch (fieldNo) {
|
|
11258
|
+
default:
|
|
11259
|
+
let u = options.readUnknownField;
|
|
11260
|
+
if (u === "throw")
|
|
11261
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11262
|
+
let d = reader.skip(wireType);
|
|
11263
|
+
if (u !== false)
|
|
11264
|
+
(u === true ? runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11265
|
+
}
|
|
11266
|
+
}
|
|
11267
|
+
return message;
|
|
11268
|
+
}
|
|
11269
|
+
internalBinaryWrite(message, writer, options) {
|
|
11270
|
+
let u = options.writeUnknownFields;
|
|
11271
|
+
if (u !== false)
|
|
11272
|
+
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11273
|
+
return writer;
|
|
11274
|
+
}
|
|
11275
|
+
}
|
|
11276
|
+
/**
|
|
11277
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords.Request
|
|
11278
|
+
*/
|
|
11279
|
+
const CacheAPI_DeleteExpiredRecords_Request = new CacheAPI_DeleteExpiredRecords_Request$Type();
|
|
11280
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
11281
|
+
class CacheAPI_DeleteExpiredRecords_Response$Type extends runtime.MessageType {
|
|
11282
|
+
constructor() {
|
|
11283
|
+
super("MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords.Response", []);
|
|
11284
|
+
}
|
|
11285
|
+
create(value) {
|
|
11286
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
11287
|
+
if (value !== undefined)
|
|
11288
|
+
runtime.reflectionMergePartial(this, message, value);
|
|
11289
|
+
return message;
|
|
11290
|
+
}
|
|
11291
|
+
internalBinaryRead(reader, length, options, target) {
|
|
11292
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11293
|
+
while (reader.pos < end) {
|
|
11294
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11295
|
+
switch (fieldNo) {
|
|
11296
|
+
default:
|
|
11297
|
+
let u = options.readUnknownField;
|
|
11298
|
+
if (u === "throw")
|
|
11299
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11300
|
+
let d = reader.skip(wireType);
|
|
11301
|
+
if (u !== false)
|
|
11302
|
+
(u === true ? runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11303
|
+
}
|
|
11304
|
+
}
|
|
11305
|
+
return message;
|
|
11306
|
+
}
|
|
11307
|
+
internalBinaryWrite(message, writer, options) {
|
|
11308
|
+
let u = options.writeUnknownFields;
|
|
11309
|
+
if (u !== false)
|
|
11310
|
+
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11311
|
+
return writer;
|
|
11312
|
+
}
|
|
11313
|
+
}
|
|
11314
|
+
/**
|
|
11315
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords.Response
|
|
11316
|
+
*/
|
|
11317
|
+
const CacheAPI_DeleteExpiredRecords_Response = new CacheAPI_DeleteExpiredRecords_Response$Type();
|
|
11318
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
11319
|
+
class LocksAPI$Type extends runtime.MessageType {
|
|
11320
|
+
constructor() {
|
|
11321
|
+
super("MiLaboratories.PL.API.LocksAPI", []);
|
|
11322
|
+
}
|
|
11323
|
+
create(value) {
|
|
11324
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
11325
|
+
if (value !== undefined)
|
|
11326
|
+
runtime.reflectionMergePartial(this, message, value);
|
|
11327
|
+
return message;
|
|
11328
|
+
}
|
|
11329
|
+
internalBinaryRead(reader, length, options, target) {
|
|
11330
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11331
|
+
while (reader.pos < end) {
|
|
11332
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11333
|
+
switch (fieldNo) {
|
|
11334
|
+
default:
|
|
11335
|
+
let u = options.readUnknownField;
|
|
11336
|
+
if (u === "throw")
|
|
11337
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11338
|
+
let d = reader.skip(wireType);
|
|
11339
|
+
if (u !== false)
|
|
11340
|
+
(u === true ? runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11341
|
+
}
|
|
11342
|
+
}
|
|
11343
|
+
return message;
|
|
11344
|
+
}
|
|
11345
|
+
internalBinaryWrite(message, writer, options) {
|
|
11346
|
+
let u = options.writeUnknownFields;
|
|
11347
|
+
if (u !== false)
|
|
11348
|
+
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11349
|
+
return writer;
|
|
11350
|
+
}
|
|
11351
|
+
}
|
|
11352
|
+
/**
|
|
11353
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI
|
|
11354
|
+
*/
|
|
11355
|
+
new LocksAPI$Type();
|
|
11356
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
11357
|
+
class LocksAPI_Lease$Type extends runtime.MessageType {
|
|
11358
|
+
constructor() {
|
|
11359
|
+
super("MiLaboratories.PL.API.LocksAPI.Lease", []);
|
|
11360
|
+
}
|
|
11361
|
+
create(value) {
|
|
11362
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
11363
|
+
if (value !== undefined)
|
|
11364
|
+
runtime.reflectionMergePartial(this, message, value);
|
|
11365
|
+
return message;
|
|
11366
|
+
}
|
|
11367
|
+
internalBinaryRead(reader, length, options, target) {
|
|
11368
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11369
|
+
while (reader.pos < end) {
|
|
11370
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11371
|
+
switch (fieldNo) {
|
|
11372
|
+
default:
|
|
11373
|
+
let u = options.readUnknownField;
|
|
11374
|
+
if (u === "throw")
|
|
11375
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11376
|
+
let d = reader.skip(wireType);
|
|
11377
|
+
if (u !== false)
|
|
11378
|
+
(u === true ? runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11379
|
+
}
|
|
11380
|
+
}
|
|
11381
|
+
return message;
|
|
11382
|
+
}
|
|
11383
|
+
internalBinaryWrite(message, writer, options) {
|
|
11384
|
+
let u = options.writeUnknownFields;
|
|
11385
|
+
if (u !== false)
|
|
11386
|
+
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11387
|
+
return writer;
|
|
11388
|
+
}
|
|
11389
|
+
}
|
|
11390
|
+
/**
|
|
11391
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.Lease
|
|
11392
|
+
*/
|
|
11393
|
+
new LocksAPI_Lease$Type();
|
|
11394
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
11395
|
+
class LocksAPI_Lease_Create$Type extends runtime.MessageType {
|
|
11396
|
+
constructor() {
|
|
11397
|
+
super("MiLaboratories.PL.API.LocksAPI.Lease.Create", []);
|
|
11398
|
+
}
|
|
11399
|
+
create(value) {
|
|
11400
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
11401
|
+
if (value !== undefined)
|
|
11402
|
+
runtime.reflectionMergePartial(this, message, value);
|
|
11403
|
+
return message;
|
|
11404
|
+
}
|
|
11405
|
+
internalBinaryRead(reader, length, options, target) {
|
|
11406
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11407
|
+
while (reader.pos < end) {
|
|
11408
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11409
|
+
switch (fieldNo) {
|
|
11410
|
+
default:
|
|
11411
|
+
let u = options.readUnknownField;
|
|
11412
|
+
if (u === "throw")
|
|
11413
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11414
|
+
let d = reader.skip(wireType);
|
|
11415
|
+
if (u !== false)
|
|
11416
|
+
(u === true ? runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11417
|
+
}
|
|
11418
|
+
}
|
|
11419
|
+
return message;
|
|
11420
|
+
}
|
|
11421
|
+
internalBinaryWrite(message, writer, options) {
|
|
11422
|
+
let u = options.writeUnknownFields;
|
|
11423
|
+
if (u !== false)
|
|
11424
|
+
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11425
|
+
return writer;
|
|
11426
|
+
}
|
|
11427
|
+
}
|
|
11428
|
+
/**
|
|
11429
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.Lease.Create
|
|
11430
|
+
*/
|
|
11431
|
+
new LocksAPI_Lease_Create$Type();
|
|
11432
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
11433
|
+
class LocksAPI_Lease_Create_Request$Type extends runtime.MessageType {
|
|
11434
|
+
constructor() {
|
|
11435
|
+
super("MiLaboratories.PL.API.LocksAPI.Lease.Create.Request", [
|
|
11436
|
+
{ no: 1, name: "resource_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
11437
|
+
{ no: 3, name: "timeout", kind: "message", T: () => duration.Duration },
|
|
11438
|
+
{ no: 4, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
11439
|
+
]);
|
|
11440
|
+
}
|
|
11441
|
+
create(value) {
|
|
11442
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
11443
|
+
message.resourceId = 0n;
|
|
11444
|
+
message.name = "";
|
|
11445
|
+
if (value !== undefined)
|
|
11446
|
+
runtime.reflectionMergePartial(this, message, value);
|
|
11447
|
+
return message;
|
|
11448
|
+
}
|
|
11449
|
+
internalBinaryRead(reader, length, options, target) {
|
|
11450
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11451
|
+
while (reader.pos < end) {
|
|
11452
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11453
|
+
switch (fieldNo) {
|
|
11454
|
+
case /* uint64 resource_id */ 1:
|
|
11455
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
11456
|
+
break;
|
|
11457
|
+
case /* google.protobuf.Duration timeout */ 3:
|
|
11458
|
+
message.timeout = duration.Duration.internalBinaryRead(reader, reader.uint32(), options, message.timeout);
|
|
11459
|
+
break;
|
|
11460
|
+
case /* string name */ 4:
|
|
11461
|
+
message.name = reader.string();
|
|
11462
|
+
break;
|
|
11463
|
+
default:
|
|
11464
|
+
let u = options.readUnknownField;
|
|
11465
|
+
if (u === "throw")
|
|
11466
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11467
|
+
let d = reader.skip(wireType);
|
|
11468
|
+
if (u !== false)
|
|
11469
|
+
(u === true ? runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11470
|
+
}
|
|
11471
|
+
}
|
|
11472
|
+
return message;
|
|
11473
|
+
}
|
|
11474
|
+
internalBinaryWrite(message, writer, options) {
|
|
11475
|
+
/* uint64 resource_id = 1; */
|
|
11476
|
+
if (message.resourceId !== 0n)
|
|
11477
|
+
writer.tag(1, runtime.WireType.Varint).uint64(message.resourceId);
|
|
11478
|
+
/* google.protobuf.Duration timeout = 3; */
|
|
11479
|
+
if (message.timeout)
|
|
11480
|
+
duration.Duration.internalBinaryWrite(message.timeout, writer.tag(3, runtime.WireType.LengthDelimited).fork(), options).join();
|
|
11481
|
+
/* string name = 4; */
|
|
11482
|
+
if (message.name !== "")
|
|
11483
|
+
writer.tag(4, runtime.WireType.LengthDelimited).string(message.name);
|
|
11484
|
+
let u = options.writeUnknownFields;
|
|
11485
|
+
if (u !== false)
|
|
11486
|
+
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11487
|
+
return writer;
|
|
11488
|
+
}
|
|
11489
|
+
}
|
|
11490
|
+
/**
|
|
11491
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.Lease.Create.Request
|
|
11492
|
+
*/
|
|
11493
|
+
const LocksAPI_Lease_Create_Request = new LocksAPI_Lease_Create_Request$Type();
|
|
11494
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
11495
|
+
class LocksAPI_Lease_Create_Response$Type extends runtime.MessageType {
|
|
11496
|
+
constructor() {
|
|
11497
|
+
super("MiLaboratories.PL.API.LocksAPI.Lease.Create.Response", [
|
|
11498
|
+
{ no: 1, name: "lease_id", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
|
|
11499
|
+
]);
|
|
11500
|
+
}
|
|
11501
|
+
create(value) {
|
|
11502
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
11503
|
+
message.leaseId = new Uint8Array(0);
|
|
11504
|
+
if (value !== undefined)
|
|
11505
|
+
runtime.reflectionMergePartial(this, message, value);
|
|
11506
|
+
return message;
|
|
11507
|
+
}
|
|
11508
|
+
internalBinaryRead(reader, length, options, target) {
|
|
11509
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11510
|
+
while (reader.pos < end) {
|
|
11511
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11512
|
+
switch (fieldNo) {
|
|
11513
|
+
case /* bytes lease_id */ 1:
|
|
11514
|
+
message.leaseId = reader.bytes();
|
|
11515
|
+
break;
|
|
11516
|
+
default:
|
|
11517
|
+
let u = options.readUnknownField;
|
|
11518
|
+
if (u === "throw")
|
|
11519
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11520
|
+
let d = reader.skip(wireType);
|
|
11521
|
+
if (u !== false)
|
|
11522
|
+
(u === true ? runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11523
|
+
}
|
|
11524
|
+
}
|
|
11525
|
+
return message;
|
|
11526
|
+
}
|
|
11527
|
+
internalBinaryWrite(message, writer, options) {
|
|
11528
|
+
/* bytes lease_id = 1; */
|
|
11529
|
+
if (message.leaseId.length)
|
|
11530
|
+
writer.tag(1, runtime.WireType.LengthDelimited).bytes(message.leaseId);
|
|
11531
|
+
let u = options.writeUnknownFields;
|
|
11532
|
+
if (u !== false)
|
|
11533
|
+
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11534
|
+
return writer;
|
|
11535
|
+
}
|
|
11536
|
+
}
|
|
11537
|
+
/**
|
|
11538
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.Lease.Create.Response
|
|
11539
|
+
*/
|
|
11540
|
+
const LocksAPI_Lease_Create_Response = new LocksAPI_Lease_Create_Response$Type();
|
|
11541
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
11542
|
+
class LocksAPI_Lease_Update$Type extends runtime.MessageType {
|
|
11543
|
+
constructor() {
|
|
11544
|
+
super("MiLaboratories.PL.API.LocksAPI.Lease.Update", []);
|
|
11545
|
+
}
|
|
11546
|
+
create(value) {
|
|
11547
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
11548
|
+
if (value !== undefined)
|
|
11549
|
+
runtime.reflectionMergePartial(this, message, value);
|
|
11550
|
+
return message;
|
|
11551
|
+
}
|
|
11552
|
+
internalBinaryRead(reader, length, options, target) {
|
|
11553
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11554
|
+
while (reader.pos < end) {
|
|
11555
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11556
|
+
switch (fieldNo) {
|
|
11557
|
+
default:
|
|
11558
|
+
let u = options.readUnknownField;
|
|
11559
|
+
if (u === "throw")
|
|
11560
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11561
|
+
let d = reader.skip(wireType);
|
|
11562
|
+
if (u !== false)
|
|
11563
|
+
(u === true ? runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11564
|
+
}
|
|
11565
|
+
}
|
|
11566
|
+
return message;
|
|
11567
|
+
}
|
|
11568
|
+
internalBinaryWrite(message, writer, options) {
|
|
11569
|
+
let u = options.writeUnknownFields;
|
|
11570
|
+
if (u !== false)
|
|
11571
|
+
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11572
|
+
return writer;
|
|
11573
|
+
}
|
|
11574
|
+
}
|
|
11575
|
+
/**
|
|
11576
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.LocksAPI.Lease.Update
|
|
11577
|
+
*/
|
|
11578
|
+
new LocksAPI_Lease_Update$Type();
|
|
11579
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
11580
|
+
class LocksAPI_Lease_Update_Request$Type extends runtime.MessageType {
|
|
11581
|
+
constructor() {
|
|
11582
|
+
super("MiLaboratories.PL.API.LocksAPI.Lease.Update.Request", [
|
|
11583
|
+
{ no: 1, name: "resource_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
11584
|
+
{ no: 2, name: "lease_id", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },
|
|
11585
|
+
{ no: 3, name: "timeout", kind: "message", T: () => duration.Duration },
|
|
11586
|
+
{ no: 4, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
11587
|
+
]);
|
|
11588
|
+
}
|
|
11589
|
+
create(value) {
|
|
11590
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
11591
|
+
message.resourceId = 0n;
|
|
11592
|
+
message.leaseId = new Uint8Array(0);
|
|
11593
|
+
message.name = "";
|
|
11594
|
+
if (value !== undefined)
|
|
11595
|
+
runtime.reflectionMergePartial(this, message, value);
|
|
11596
|
+
return message;
|
|
11597
|
+
}
|
|
11598
|
+
internalBinaryRead(reader, length, options, target) {
|
|
11599
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11600
|
+
while (reader.pos < end) {
|
|
11601
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11602
|
+
switch (fieldNo) {
|
|
11603
|
+
case /* uint64 resource_id */ 1:
|
|
11604
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
11605
|
+
break;
|
|
11606
|
+
case /* bytes lease_id */ 2:
|
|
11607
|
+
message.leaseId = reader.bytes();
|
|
11608
|
+
break;
|
|
11609
|
+
case /* google.protobuf.Duration timeout */ 3:
|
|
11610
|
+
message.timeout = duration.Duration.internalBinaryRead(reader, reader.uint32(), options, message.timeout);
|
|
11611
|
+
break;
|
|
11612
|
+
case /* string name */ 4:
|
|
11613
|
+
message.name = reader.string();
|
|
11614
|
+
break;
|
|
11615
|
+
default:
|
|
11616
|
+
let u = options.readUnknownField;
|
|
11617
|
+
if (u === "throw")
|
|
11618
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11619
|
+
let d = reader.skip(wireType);
|
|
11620
|
+
if (u !== false)
|
|
11621
|
+
(u === true ? runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11622
|
+
}
|
|
11623
|
+
}
|
|
11624
|
+
return message;
|
|
11625
|
+
}
|
|
11626
|
+
internalBinaryWrite(message, writer, options) {
|
|
11627
|
+
/* uint64 resource_id = 1; */
|
|
11628
|
+
if (message.resourceId !== 0n)
|
|
11629
|
+
writer.tag(1, runtime.WireType.Varint).uint64(message.resourceId);
|
|
11143
11630
|
/* bytes lease_id = 2; */
|
|
11144
11631
|
if (message.leaseId.length)
|
|
11145
11632
|
writer.tag(2, runtime.WireType.LengthDelimited).bytes(message.leaseId);
|
|
@@ -12053,6 +12540,145 @@ class MaintenanceAPI_Ping_Response$Type extends runtime.MessageType {
|
|
|
12053
12540
|
* @generated MessageType for protobuf message MiLaboratories.PL.API.MaintenanceAPI.Ping.Response
|
|
12054
12541
|
*/
|
|
12055
12542
|
const MaintenanceAPI_Ping_Response = new MaintenanceAPI_Ping_Response$Type();
|
|
12543
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
12544
|
+
class MaintenanceAPI_License$Type extends runtime.MessageType {
|
|
12545
|
+
constructor() {
|
|
12546
|
+
super("MiLaboratories.PL.API.MaintenanceAPI.License", []);
|
|
12547
|
+
}
|
|
12548
|
+
create(value) {
|
|
12549
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
12550
|
+
if (value !== undefined)
|
|
12551
|
+
runtime.reflectionMergePartial(this, message, value);
|
|
12552
|
+
return message;
|
|
12553
|
+
}
|
|
12554
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12555
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12556
|
+
while (reader.pos < end) {
|
|
12557
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12558
|
+
switch (fieldNo) {
|
|
12559
|
+
default:
|
|
12560
|
+
let u = options.readUnknownField;
|
|
12561
|
+
if (u === "throw")
|
|
12562
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12563
|
+
let d = reader.skip(wireType);
|
|
12564
|
+
if (u !== false)
|
|
12565
|
+
(u === true ? runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12566
|
+
}
|
|
12567
|
+
}
|
|
12568
|
+
return message;
|
|
12569
|
+
}
|
|
12570
|
+
internalBinaryWrite(message, writer, options) {
|
|
12571
|
+
let u = options.writeUnknownFields;
|
|
12572
|
+
if (u !== false)
|
|
12573
|
+
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12574
|
+
return writer;
|
|
12575
|
+
}
|
|
12576
|
+
}
|
|
12577
|
+
/**
|
|
12578
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.MaintenanceAPI.License
|
|
12579
|
+
*/
|
|
12580
|
+
new MaintenanceAPI_License$Type();
|
|
12581
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
12582
|
+
class MaintenanceAPI_License_Request$Type extends runtime.MessageType {
|
|
12583
|
+
constructor() {
|
|
12584
|
+
super("MiLaboratories.PL.API.MaintenanceAPI.License.Request", []);
|
|
12585
|
+
}
|
|
12586
|
+
create(value) {
|
|
12587
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
12588
|
+
if (value !== undefined)
|
|
12589
|
+
runtime.reflectionMergePartial(this, message, value);
|
|
12590
|
+
return message;
|
|
12591
|
+
}
|
|
12592
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12593
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12594
|
+
while (reader.pos < end) {
|
|
12595
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12596
|
+
switch (fieldNo) {
|
|
12597
|
+
default:
|
|
12598
|
+
let u = options.readUnknownField;
|
|
12599
|
+
if (u === "throw")
|
|
12600
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12601
|
+
let d = reader.skip(wireType);
|
|
12602
|
+
if (u !== false)
|
|
12603
|
+
(u === true ? runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12604
|
+
}
|
|
12605
|
+
}
|
|
12606
|
+
return message;
|
|
12607
|
+
}
|
|
12608
|
+
internalBinaryWrite(message, writer, options) {
|
|
12609
|
+
let u = options.writeUnknownFields;
|
|
12610
|
+
if (u !== false)
|
|
12611
|
+
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12612
|
+
return writer;
|
|
12613
|
+
}
|
|
12614
|
+
}
|
|
12615
|
+
/**
|
|
12616
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.MaintenanceAPI.License.Request
|
|
12617
|
+
*/
|
|
12618
|
+
const MaintenanceAPI_License_Request = new MaintenanceAPI_License_Request$Type();
|
|
12619
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
12620
|
+
class MaintenanceAPI_License_Response$Type extends runtime.MessageType {
|
|
12621
|
+
constructor() {
|
|
12622
|
+
super("MiLaboratories.PL.API.MaintenanceAPI.License.Response", [
|
|
12623
|
+
{ no: 1, name: "status", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
12624
|
+
{ no: 2, name: "is_ok", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
12625
|
+
{ no: 3, name: "response_body", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
|
|
12626
|
+
]);
|
|
12627
|
+
}
|
|
12628
|
+
create(value) {
|
|
12629
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
12630
|
+
message.status = 0;
|
|
12631
|
+
message.isOk = false;
|
|
12632
|
+
message.responseBody = new Uint8Array(0);
|
|
12633
|
+
if (value !== undefined)
|
|
12634
|
+
runtime.reflectionMergePartial(this, message, value);
|
|
12635
|
+
return message;
|
|
12636
|
+
}
|
|
12637
|
+
internalBinaryRead(reader, length, options, target) {
|
|
12638
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
12639
|
+
while (reader.pos < end) {
|
|
12640
|
+
let [fieldNo, wireType] = reader.tag();
|
|
12641
|
+
switch (fieldNo) {
|
|
12642
|
+
case /* int32 status */ 1:
|
|
12643
|
+
message.status = reader.int32();
|
|
12644
|
+
break;
|
|
12645
|
+
case /* bool is_ok */ 2:
|
|
12646
|
+
message.isOk = reader.bool();
|
|
12647
|
+
break;
|
|
12648
|
+
case /* bytes response_body */ 3:
|
|
12649
|
+
message.responseBody = reader.bytes();
|
|
12650
|
+
break;
|
|
12651
|
+
default:
|
|
12652
|
+
let u = options.readUnknownField;
|
|
12653
|
+
if (u === "throw")
|
|
12654
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
12655
|
+
let d = reader.skip(wireType);
|
|
12656
|
+
if (u !== false)
|
|
12657
|
+
(u === true ? runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
12658
|
+
}
|
|
12659
|
+
}
|
|
12660
|
+
return message;
|
|
12661
|
+
}
|
|
12662
|
+
internalBinaryWrite(message, writer, options) {
|
|
12663
|
+
/* int32 status = 1; */
|
|
12664
|
+
if (message.status !== 0)
|
|
12665
|
+
writer.tag(1, runtime.WireType.Varint).int32(message.status);
|
|
12666
|
+
/* bool is_ok = 2; */
|
|
12667
|
+
if (message.isOk !== false)
|
|
12668
|
+
writer.tag(2, runtime.WireType.Varint).bool(message.isOk);
|
|
12669
|
+
/* bytes response_body = 3; */
|
|
12670
|
+
if (message.responseBody.length)
|
|
12671
|
+
writer.tag(3, runtime.WireType.LengthDelimited).bytes(message.responseBody);
|
|
12672
|
+
let u = options.writeUnknownFields;
|
|
12673
|
+
if (u !== false)
|
|
12674
|
+
(u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
12675
|
+
return writer;
|
|
12676
|
+
}
|
|
12677
|
+
}
|
|
12678
|
+
/**
|
|
12679
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.MaintenanceAPI.License.Response
|
|
12680
|
+
*/
|
|
12681
|
+
const MaintenanceAPI_License_Response = new MaintenanceAPI_License_Response$Type();
|
|
12056
12682
|
/**
|
|
12057
12683
|
* @generated ServiceType for protobuf service MiLaboratories.PL.API.Platform
|
|
12058
12684
|
*/
|
|
@@ -12081,7 +12707,8 @@ const Platform = new runtimeRpc.ServiceType("MiLaboratories.PL.API.Platform", [
|
|
|
12081
12707
|
{ name: "AuthMethods", options: {}, I: AuthAPI_ListMethods_Request, O: AuthAPI_ListMethods_Response },
|
|
12082
12708
|
{ name: "GetJWTToken", options: {}, I: AuthAPI_GetJWTToken_Request, O: AuthAPI_GetJWTToken_Response },
|
|
12083
12709
|
{ name: "ListResourceTypes", options: {}, I: MiscAPI_ListResourceTypes_Request, O: MiscAPI_ListResourceTypes_Response },
|
|
12084
|
-
{ name: "Ping", options: {}, I: MaintenanceAPI_Ping_Request, O: MaintenanceAPI_Ping_Response }
|
|
12710
|
+
{ name: "Ping", options: {}, I: MaintenanceAPI_Ping_Request, O: MaintenanceAPI_Ping_Response },
|
|
12711
|
+
{ name: "License", options: {}, I: MaintenanceAPI_License_Request, O: MaintenanceAPI_License_Response }
|
|
12085
12712
|
]);
|
|
12086
12713
|
|
|
12087
12714
|
exports.AuthAPI_GetJWTToken_Request = AuthAPI_GetJWTToken_Request;
|
|
@@ -12119,10 +12746,16 @@ exports.ControllerAPI_Update_Request = ControllerAPI_Update_Request;
|
|
|
12119
12746
|
exports.ControllerAPI_Update_Response = ControllerAPI_Update_Response;
|
|
12120
12747
|
exports.ControllerAPI_WriteAliasesAndUrls_Request = ControllerAPI_WriteAliasesAndUrls_Request;
|
|
12121
12748
|
exports.ControllerAPI_WriteAliasesAndUrls_Response = ControllerAPI_WriteAliasesAndUrls_Response;
|
|
12749
|
+
exports.ControllerKVAPI_GetFlagIfExists_Request = ControllerKVAPI_GetFlagIfExists_Request;
|
|
12750
|
+
exports.ControllerKVAPI_GetFlagIfExists_Response = ControllerKVAPI_GetFlagIfExists_Response;
|
|
12751
|
+
exports.ControllerKVAPI_GetFlag_Request = ControllerKVAPI_GetFlag_Request;
|
|
12752
|
+
exports.ControllerKVAPI_GetFlag_Response = ControllerKVAPI_GetFlag_Response;
|
|
12122
12753
|
exports.ControllerKVAPI_GetIfExists_Request = ControllerKVAPI_GetIfExists_Request;
|
|
12123
12754
|
exports.ControllerKVAPI_GetIfExists_Response = ControllerKVAPI_GetIfExists_Response;
|
|
12124
12755
|
exports.ControllerKVAPI_Get_Request = ControllerKVAPI_Get_Request;
|
|
12125
12756
|
exports.ControllerKVAPI_Get_Response = ControllerKVAPI_Get_Response;
|
|
12757
|
+
exports.ControllerKVAPI_SetFlag_Request = ControllerKVAPI_SetFlag_Request;
|
|
12758
|
+
exports.ControllerKVAPI_SetFlag_Response = ControllerKVAPI_SetFlag_Response;
|
|
12126
12759
|
exports.ControllerKVAPI_Set_Request = ControllerKVAPI_Set_Request;
|
|
12127
12760
|
exports.ControllerKVAPI_Set_Response = ControllerKVAPI_Set_Response;
|
|
12128
12761
|
exports.FieldAPI_Create_Request = FieldAPI_Create_Request;
|
|
@@ -12147,6 +12780,8 @@ exports.LocksAPI_Lease_Release_Request = LocksAPI_Lease_Release_Request;
|
|
|
12147
12780
|
exports.LocksAPI_Lease_Release_Response = LocksAPI_Lease_Release_Response;
|
|
12148
12781
|
exports.LocksAPI_Lease_Update_Request = LocksAPI_Lease_Update_Request;
|
|
12149
12782
|
exports.LocksAPI_Lease_Update_Response = LocksAPI_Lease_Update_Response;
|
|
12783
|
+
exports.MaintenanceAPI_License_Request = MaintenanceAPI_License_Request;
|
|
12784
|
+
exports.MaintenanceAPI_License_Response = MaintenanceAPI_License_Response;
|
|
12150
12785
|
exports.MaintenanceAPI_Ping_Request = MaintenanceAPI_Ping_Request;
|
|
12151
12786
|
exports.MaintenanceAPI_Ping_Response = MaintenanceAPI_Ping_Response;
|
|
12152
12787
|
exports.MiscAPI_ListResourceTypes_Request = MiscAPI_ListResourceTypes_Request;
|