@milaboratories/pl-client 2.11.10 → 2.11.11
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 +3 -3
- 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
|
@@ -453,6 +453,24 @@ export interface TxAPI_ClientMessage {
|
|
|
453
453
|
* @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.GetIfExists.Request controller_key_value_get_if_exists = 252
|
|
454
454
|
*/
|
|
455
455
|
controllerKeyValueGetIfExists: ControllerKVAPI_GetIfExists_Request; // get a value from a KV if the value exists.
|
|
456
|
+
} | {
|
|
457
|
+
oneofKind: "controllerKeyValueSetFlag";
|
|
458
|
+
/**
|
|
459
|
+
* @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Request controller_key_value_set_flag = 253
|
|
460
|
+
*/
|
|
461
|
+
controllerKeyValueSetFlag: ControllerKVAPI_SetFlag_Request; // set a bool to a controller's key-value store.
|
|
462
|
+
} | {
|
|
463
|
+
oneofKind: "controllerKeyValueGetFlag";
|
|
464
|
+
/**
|
|
465
|
+
* @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Request controller_key_value_get_flag = 254
|
|
466
|
+
*/
|
|
467
|
+
controllerKeyValueGetFlag: ControllerKVAPI_GetFlag_Request; // get a bool from a controller's key-value store.
|
|
468
|
+
} | {
|
|
469
|
+
oneofKind: "controllerKeyValueGetFlagIfExists";
|
|
470
|
+
/**
|
|
471
|
+
* @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Request controller_key_value_get_flag_if_exists = 255
|
|
472
|
+
*/
|
|
473
|
+
controllerKeyValueGetFlagIfExists: ControllerKVAPI_GetFlagIfExists_Request; // get a bool from a controller's key-value store, return false if key is not found.
|
|
456
474
|
} | {
|
|
457
475
|
oneofKind: "cacheSetToField";
|
|
458
476
|
/**
|
|
@@ -799,6 +817,24 @@ export interface TxAPI_ServerMessage {
|
|
|
799
817
|
* @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.GetIfExists.Response controller_key_value_get_if_exists = 252
|
|
800
818
|
*/
|
|
801
819
|
controllerKeyValueGetIfExists: ControllerKVAPI_GetIfExists_Response;
|
|
820
|
+
} | {
|
|
821
|
+
oneofKind: "controllerKeyValueSetFlag";
|
|
822
|
+
/**
|
|
823
|
+
* @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Response controller_key_value_set_flag = 253
|
|
824
|
+
*/
|
|
825
|
+
controllerKeyValueSetFlag: ControllerKVAPI_SetFlag_Response;
|
|
826
|
+
} | {
|
|
827
|
+
oneofKind: "controllerKeyValueGetFlag";
|
|
828
|
+
/**
|
|
829
|
+
* @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Response controller_key_value_get_flag = 254
|
|
830
|
+
*/
|
|
831
|
+
controllerKeyValueGetFlag: ControllerKVAPI_GetFlag_Response;
|
|
832
|
+
} | {
|
|
833
|
+
oneofKind: "controllerKeyValueGetFlagIfExists";
|
|
834
|
+
/**
|
|
835
|
+
* @generated from protobuf field: MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Response controller_key_value_get_flag_if_exists = 255
|
|
836
|
+
*/
|
|
837
|
+
controllerKeyValueGetFlagIfExists: ControllerKVAPI_GetFlagIfExists_Response;
|
|
802
838
|
} | {
|
|
803
839
|
oneofKind: "cacheSetToField";
|
|
804
840
|
/**
|
|
@@ -2656,6 +2692,91 @@ export interface ControllerKVAPI_GetIfExists_Response {
|
|
|
2656
2692
|
*/
|
|
2657
2693
|
exists: boolean;
|
|
2658
2694
|
}
|
|
2695
|
+
/**
|
|
2696
|
+
* @generated from protobuf message MiLaboratories.PL.API.ControllerKVAPI.SetFlag
|
|
2697
|
+
*/
|
|
2698
|
+
export interface ControllerKVAPI_SetFlag {
|
|
2699
|
+
}
|
|
2700
|
+
/**
|
|
2701
|
+
* @generated from protobuf message MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Request
|
|
2702
|
+
*/
|
|
2703
|
+
export interface ControllerKVAPI_SetFlag_Request {
|
|
2704
|
+
/**
|
|
2705
|
+
* @generated from protobuf field: string controller_type = 1
|
|
2706
|
+
*/
|
|
2707
|
+
controllerType: string;
|
|
2708
|
+
/**
|
|
2709
|
+
* @generated from protobuf field: string key = 2
|
|
2710
|
+
*/
|
|
2711
|
+
key: string;
|
|
2712
|
+
/**
|
|
2713
|
+
* @generated from protobuf field: bool value = 3
|
|
2714
|
+
*/
|
|
2715
|
+
value: boolean;
|
|
2716
|
+
}
|
|
2717
|
+
/**
|
|
2718
|
+
* @generated from protobuf message MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Response
|
|
2719
|
+
*/
|
|
2720
|
+
export interface ControllerKVAPI_SetFlag_Response {
|
|
2721
|
+
}
|
|
2722
|
+
/**
|
|
2723
|
+
* @generated from protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlag
|
|
2724
|
+
*/
|
|
2725
|
+
export interface ControllerKVAPI_GetFlag {
|
|
2726
|
+
}
|
|
2727
|
+
/**
|
|
2728
|
+
* @generated from protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Request
|
|
2729
|
+
*/
|
|
2730
|
+
export interface ControllerKVAPI_GetFlag_Request {
|
|
2731
|
+
/**
|
|
2732
|
+
* @generated from protobuf field: string controller_type = 1
|
|
2733
|
+
*/
|
|
2734
|
+
controllerType: string;
|
|
2735
|
+
/**
|
|
2736
|
+
* @generated from protobuf field: string key = 2
|
|
2737
|
+
*/
|
|
2738
|
+
key: string;
|
|
2739
|
+
}
|
|
2740
|
+
/**
|
|
2741
|
+
* @generated from protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Response
|
|
2742
|
+
*/
|
|
2743
|
+
export interface ControllerKVAPI_GetFlag_Response {
|
|
2744
|
+
/**
|
|
2745
|
+
* @generated from protobuf field: bool value = 1
|
|
2746
|
+
*/
|
|
2747
|
+
value: boolean;
|
|
2748
|
+
}
|
|
2749
|
+
/**
|
|
2750
|
+
* @generated from protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists
|
|
2751
|
+
*/
|
|
2752
|
+
export interface ControllerKVAPI_GetFlagIfExists {
|
|
2753
|
+
}
|
|
2754
|
+
/**
|
|
2755
|
+
* @generated from protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Request
|
|
2756
|
+
*/
|
|
2757
|
+
export interface ControllerKVAPI_GetFlagIfExists_Request {
|
|
2758
|
+
/**
|
|
2759
|
+
* @generated from protobuf field: string controller_type = 1
|
|
2760
|
+
*/
|
|
2761
|
+
controllerType: string;
|
|
2762
|
+
/**
|
|
2763
|
+
* @generated from protobuf field: string key = 2
|
|
2764
|
+
*/
|
|
2765
|
+
key: string;
|
|
2766
|
+
}
|
|
2767
|
+
/**
|
|
2768
|
+
* @generated from protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Response
|
|
2769
|
+
*/
|
|
2770
|
+
export interface ControllerKVAPI_GetFlagIfExists_Response {
|
|
2771
|
+
/**
|
|
2772
|
+
* @generated from protobuf field: bool value = 1
|
|
2773
|
+
*/
|
|
2774
|
+
value: boolean;
|
|
2775
|
+
/**
|
|
2776
|
+
* @generated from protobuf field: bool exists = 2
|
|
2777
|
+
*/
|
|
2778
|
+
exists: boolean;
|
|
2779
|
+
}
|
|
2659
2780
|
/**
|
|
2660
2781
|
* @generated from protobuf message MiLaboratories.PL.API.CacheAPI
|
|
2661
2782
|
*/
|
|
@@ -2944,6 +3065,35 @@ export enum MaintenanceAPI_Ping_Response_Compression {
|
|
|
2944
3065
|
*/
|
|
2945
3066
|
GZIP = 1
|
|
2946
3067
|
}
|
|
3068
|
+
/**
|
|
3069
|
+
* @generated from protobuf message MiLaboratories.PL.API.MaintenanceAPI.License
|
|
3070
|
+
*/
|
|
3071
|
+
export interface MaintenanceAPI_License {
|
|
3072
|
+
}
|
|
3073
|
+
/**
|
|
3074
|
+
* @generated from protobuf message MiLaboratories.PL.API.MaintenanceAPI.License.Request
|
|
3075
|
+
*/
|
|
3076
|
+
export interface MaintenanceAPI_License_Request {
|
|
3077
|
+
}
|
|
3078
|
+
/**
|
|
3079
|
+
* @generated from protobuf message MiLaboratories.PL.API.MaintenanceAPI.License.Response
|
|
3080
|
+
*/
|
|
3081
|
+
export interface MaintenanceAPI_License_Response {
|
|
3082
|
+
/**
|
|
3083
|
+
* @generated from protobuf field: int32 status = 1
|
|
3084
|
+
*/
|
|
3085
|
+
status: number; // HTTP status code of the last valid response from license server.
|
|
3086
|
+
/**
|
|
3087
|
+
* @generated from protobuf field: bool is_ok = 2
|
|
3088
|
+
*/
|
|
3089
|
+
isOk: boolean; // true if status is 200
|
|
3090
|
+
/**
|
|
3091
|
+
* Raw response body as it was received from the license server.
|
|
3092
|
+
*
|
|
3093
|
+
* @generated from protobuf field: bytes response_body = 3
|
|
3094
|
+
*/
|
|
3095
|
+
responseBody: Uint8Array;
|
|
3096
|
+
}
|
|
2947
3097
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2948
3098
|
class TxAPI$Type extends MessageType<TxAPI> {
|
|
2949
3099
|
constructor() {
|
|
@@ -3037,6 +3187,9 @@ class TxAPI_ClientMessage$Type extends MessageType<TxAPI_ClientMessage> {
|
|
|
3037
3187
|
{ no: 250, name: "controller_key_value_set", kind: "message", oneof: "request", T: () => ControllerKVAPI_Set_Request },
|
|
3038
3188
|
{ no: 251, name: "controller_key_value_get", kind: "message", oneof: "request", T: () => ControllerKVAPI_Get_Request },
|
|
3039
3189
|
{ no: 252, name: "controller_key_value_get_if_exists", kind: "message", oneof: "request", T: () => ControllerKVAPI_GetIfExists_Request },
|
|
3190
|
+
{ no: 253, name: "controller_key_value_set_flag", kind: "message", oneof: "request", T: () => ControllerKVAPI_SetFlag_Request },
|
|
3191
|
+
{ no: 254, name: "controller_key_value_get_flag", kind: "message", oneof: "request", T: () => ControllerKVAPI_GetFlag_Request },
|
|
3192
|
+
{ no: 255, name: "controller_key_value_get_flag_if_exists", kind: "message", oneof: "request", T: () => ControllerKVAPI_GetFlagIfExists_Request },
|
|
3040
3193
|
{ no: 300, name: "cache_set_to_field", kind: "message", oneof: "request", T: () => CacheAPI_SetToField_Request },
|
|
3041
3194
|
{ no: 301, name: "cache_delete_expired_records", kind: "message", oneof: "request", T: () => CacheAPI_DeleteExpiredRecords_Request },
|
|
3042
3195
|
{ no: 350, name: "controller_features_set", kind: "message", oneof: "request", T: () => ControllerAPI_SetFeatures_Request },
|
|
@@ -3359,6 +3512,24 @@ class TxAPI_ClientMessage$Type extends MessageType<TxAPI_ClientMessage> {
|
|
|
3359
3512
|
controllerKeyValueGetIfExists: ControllerKVAPI_GetIfExists_Request.internalBinaryRead(reader, reader.uint32(), options, (message.request as any).controllerKeyValueGetIfExists)
|
|
3360
3513
|
};
|
|
3361
3514
|
break;
|
|
3515
|
+
case /* MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Request controller_key_value_set_flag */ 253:
|
|
3516
|
+
message.request = {
|
|
3517
|
+
oneofKind: "controllerKeyValueSetFlag",
|
|
3518
|
+
controllerKeyValueSetFlag: ControllerKVAPI_SetFlag_Request.internalBinaryRead(reader, reader.uint32(), options, (message.request as any).controllerKeyValueSetFlag)
|
|
3519
|
+
};
|
|
3520
|
+
break;
|
|
3521
|
+
case /* MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Request controller_key_value_get_flag */ 254:
|
|
3522
|
+
message.request = {
|
|
3523
|
+
oneofKind: "controllerKeyValueGetFlag",
|
|
3524
|
+
controllerKeyValueGetFlag: ControllerKVAPI_GetFlag_Request.internalBinaryRead(reader, reader.uint32(), options, (message.request as any).controllerKeyValueGetFlag)
|
|
3525
|
+
};
|
|
3526
|
+
break;
|
|
3527
|
+
case /* MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Request controller_key_value_get_flag_if_exists */ 255:
|
|
3528
|
+
message.request = {
|
|
3529
|
+
oneofKind: "controllerKeyValueGetFlagIfExists",
|
|
3530
|
+
controllerKeyValueGetFlagIfExists: ControllerKVAPI_GetFlagIfExists_Request.internalBinaryRead(reader, reader.uint32(), options, (message.request as any).controllerKeyValueGetFlagIfExists)
|
|
3531
|
+
};
|
|
3532
|
+
break;
|
|
3362
3533
|
case /* MiLaboratories.PL.API.CacheAPI.SetToField.Request cache_set_to_field */ 300:
|
|
3363
3534
|
message.request = {
|
|
3364
3535
|
oneofKind: "cacheSetToField",
|
|
@@ -3548,6 +3719,15 @@ class TxAPI_ClientMessage$Type extends MessageType<TxAPI_ClientMessage> {
|
|
|
3548
3719
|
/* MiLaboratories.PL.API.ControllerKVAPI.GetIfExists.Request controller_key_value_get_if_exists = 252; */
|
|
3549
3720
|
if (message.request.oneofKind === "controllerKeyValueGetIfExists")
|
|
3550
3721
|
ControllerKVAPI_GetIfExists_Request.internalBinaryWrite(message.request.controllerKeyValueGetIfExists, writer.tag(252, WireType.LengthDelimited).fork(), options).join();
|
|
3722
|
+
/* MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Request controller_key_value_set_flag = 253; */
|
|
3723
|
+
if (message.request.oneofKind === "controllerKeyValueSetFlag")
|
|
3724
|
+
ControllerKVAPI_SetFlag_Request.internalBinaryWrite(message.request.controllerKeyValueSetFlag, writer.tag(253, WireType.LengthDelimited).fork(), options).join();
|
|
3725
|
+
/* MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Request controller_key_value_get_flag = 254; */
|
|
3726
|
+
if (message.request.oneofKind === "controllerKeyValueGetFlag")
|
|
3727
|
+
ControllerKVAPI_GetFlag_Request.internalBinaryWrite(message.request.controllerKeyValueGetFlag, writer.tag(254, WireType.LengthDelimited).fork(), options).join();
|
|
3728
|
+
/* MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Request controller_key_value_get_flag_if_exists = 255; */
|
|
3729
|
+
if (message.request.oneofKind === "controllerKeyValueGetFlagIfExists")
|
|
3730
|
+
ControllerKVAPI_GetFlagIfExists_Request.internalBinaryWrite(message.request.controllerKeyValueGetFlagIfExists, writer.tag(255, WireType.LengthDelimited).fork(), options).join();
|
|
3551
3731
|
/* MiLaboratories.PL.API.CacheAPI.SetToField.Request cache_set_to_field = 300; */
|
|
3552
3732
|
if (message.request.oneofKind === "cacheSetToField")
|
|
3553
3733
|
CacheAPI_SetToField_Request.internalBinaryWrite(message.request.cacheSetToField, writer.tag(300, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -3626,6 +3806,9 @@ class TxAPI_ServerMessage$Type extends MessageType<TxAPI_ServerMessage> {
|
|
|
3626
3806
|
{ no: 250, name: "controller_key_value_set", kind: "message", oneof: "response", T: () => ControllerKVAPI_Set_Response },
|
|
3627
3807
|
{ no: 251, name: "controller_key_value_get", kind: "message", oneof: "response", T: () => ControllerKVAPI_Get_Response },
|
|
3628
3808
|
{ no: 252, name: "controller_key_value_get_if_exists", kind: "message", oneof: "response", T: () => ControllerKVAPI_GetIfExists_Response },
|
|
3809
|
+
{ no: 253, name: "controller_key_value_set_flag", kind: "message", oneof: "response", T: () => ControllerKVAPI_SetFlag_Response },
|
|
3810
|
+
{ no: 254, name: "controller_key_value_get_flag", kind: "message", oneof: "response", T: () => ControllerKVAPI_GetFlag_Response },
|
|
3811
|
+
{ no: 255, name: "controller_key_value_get_flag_if_exists", kind: "message", oneof: "response", T: () => ControllerKVAPI_GetFlagIfExists_Response },
|
|
3629
3812
|
{ no: 300, name: "cache_set_to_field", kind: "message", oneof: "response", T: () => CacheAPI_SetToField_Response },
|
|
3630
3813
|
{ no: 301, name: "cache_delete_expired_records", kind: "message", oneof: "response", T: () => CacheAPI_DeleteExpiredRecords_Response },
|
|
3631
3814
|
{ no: 350, name: "controller_features_set", kind: "message", oneof: "response", T: () => ControllerAPI_SetFeatures_Response },
|
|
@@ -3952,6 +4135,24 @@ class TxAPI_ServerMessage$Type extends MessageType<TxAPI_ServerMessage> {
|
|
|
3952
4135
|
controllerKeyValueGetIfExists: ControllerKVAPI_GetIfExists_Response.internalBinaryRead(reader, reader.uint32(), options, (message.response as any).controllerKeyValueGetIfExists)
|
|
3953
4136
|
};
|
|
3954
4137
|
break;
|
|
4138
|
+
case /* MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Response controller_key_value_set_flag */ 253:
|
|
4139
|
+
message.response = {
|
|
4140
|
+
oneofKind: "controllerKeyValueSetFlag",
|
|
4141
|
+
controllerKeyValueSetFlag: ControllerKVAPI_SetFlag_Response.internalBinaryRead(reader, reader.uint32(), options, (message.response as any).controllerKeyValueSetFlag)
|
|
4142
|
+
};
|
|
4143
|
+
break;
|
|
4144
|
+
case /* MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Response controller_key_value_get_flag */ 254:
|
|
4145
|
+
message.response = {
|
|
4146
|
+
oneofKind: "controllerKeyValueGetFlag",
|
|
4147
|
+
controllerKeyValueGetFlag: ControllerKVAPI_GetFlag_Response.internalBinaryRead(reader, reader.uint32(), options, (message.response as any).controllerKeyValueGetFlag)
|
|
4148
|
+
};
|
|
4149
|
+
break;
|
|
4150
|
+
case /* MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Response controller_key_value_get_flag_if_exists */ 255:
|
|
4151
|
+
message.response = {
|
|
4152
|
+
oneofKind: "controllerKeyValueGetFlagIfExists",
|
|
4153
|
+
controllerKeyValueGetFlagIfExists: ControllerKVAPI_GetFlagIfExists_Response.internalBinaryRead(reader, reader.uint32(), options, (message.response as any).controllerKeyValueGetFlagIfExists)
|
|
4154
|
+
};
|
|
4155
|
+
break;
|
|
3955
4156
|
case /* MiLaboratories.PL.API.CacheAPI.SetToField.Response cache_set_to_field */ 300:
|
|
3956
4157
|
message.response = {
|
|
3957
4158
|
oneofKind: "cacheSetToField",
|
|
@@ -4150,6 +4351,15 @@ class TxAPI_ServerMessage$Type extends MessageType<TxAPI_ServerMessage> {
|
|
|
4150
4351
|
/* MiLaboratories.PL.API.ControllerKVAPI.GetIfExists.Response controller_key_value_get_if_exists = 252; */
|
|
4151
4352
|
if (message.response.oneofKind === "controllerKeyValueGetIfExists")
|
|
4152
4353
|
ControllerKVAPI_GetIfExists_Response.internalBinaryWrite(message.response.controllerKeyValueGetIfExists, writer.tag(252, WireType.LengthDelimited).fork(), options).join();
|
|
4354
|
+
/* MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Response controller_key_value_set_flag = 253; */
|
|
4355
|
+
if (message.response.oneofKind === "controllerKeyValueSetFlag")
|
|
4356
|
+
ControllerKVAPI_SetFlag_Response.internalBinaryWrite(message.response.controllerKeyValueSetFlag, writer.tag(253, WireType.LengthDelimited).fork(), options).join();
|
|
4357
|
+
/* MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Response controller_key_value_get_flag = 254; */
|
|
4358
|
+
if (message.response.oneofKind === "controllerKeyValueGetFlag")
|
|
4359
|
+
ControllerKVAPI_GetFlag_Response.internalBinaryWrite(message.response.controllerKeyValueGetFlag, writer.tag(254, WireType.LengthDelimited).fork(), options).join();
|
|
4360
|
+
/* MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Response controller_key_value_get_flag_if_exists = 255; */
|
|
4361
|
+
if (message.response.oneofKind === "controllerKeyValueGetFlagIfExists")
|
|
4362
|
+
ControllerKVAPI_GetFlagIfExists_Response.internalBinaryWrite(message.response.controllerKeyValueGetFlagIfExists, writer.tag(255, WireType.LengthDelimited).fork(), options).join();
|
|
4153
4363
|
/* MiLaboratories.PL.API.CacheAPI.SetToField.Response cache_set_to_field = 300; */
|
|
4154
4364
|
if (message.response.oneofKind === "cacheSetToField")
|
|
4155
4365
|
CacheAPI_SetToField_Response.internalBinaryWrite(message.response.cacheSetToField, writer.tag(300, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -13449,17 +13659,17 @@ class ControllerKVAPI_GetIfExists_Response$Type extends MessageType<ControllerKV
|
|
|
13449
13659
|
*/
|
|
13450
13660
|
export const ControllerKVAPI_GetIfExists_Response = new ControllerKVAPI_GetIfExists_Response$Type();
|
|
13451
13661
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
13452
|
-
class
|
|
13662
|
+
class ControllerKVAPI_SetFlag$Type extends MessageType<ControllerKVAPI_SetFlag> {
|
|
13453
13663
|
constructor() {
|
|
13454
|
-
super("MiLaboratories.PL.API.
|
|
13664
|
+
super("MiLaboratories.PL.API.ControllerKVAPI.SetFlag", []);
|
|
13455
13665
|
}
|
|
13456
|
-
create(value?: PartialMessage<
|
|
13666
|
+
create(value?: PartialMessage<ControllerKVAPI_SetFlag>): ControllerKVAPI_SetFlag {
|
|
13457
13667
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
13458
13668
|
if (value !== undefined)
|
|
13459
|
-
reflectionMergePartial<
|
|
13669
|
+
reflectionMergePartial<ControllerKVAPI_SetFlag>(this, message, value);
|
|
13460
13670
|
return message;
|
|
13461
13671
|
}
|
|
13462
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
13672
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerKVAPI_SetFlag): ControllerKVAPI_SetFlag {
|
|
13463
13673
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
13464
13674
|
while (reader.pos < end) {
|
|
13465
13675
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -13475,7 +13685,7 @@ class CacheAPI$Type extends MessageType<CacheAPI> {
|
|
|
13475
13685
|
}
|
|
13476
13686
|
return message;
|
|
13477
13687
|
}
|
|
13478
|
-
internalBinaryWrite(message:
|
|
13688
|
+
internalBinaryWrite(message: ControllerKVAPI_SetFlag, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
13479
13689
|
let u = options.writeUnknownFields;
|
|
13480
13690
|
if (u !== false)
|
|
13481
13691
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -13483,25 +13693,41 @@ class CacheAPI$Type extends MessageType<CacheAPI> {
|
|
|
13483
13693
|
}
|
|
13484
13694
|
}
|
|
13485
13695
|
/**
|
|
13486
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
13696
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.SetFlag
|
|
13487
13697
|
*/
|
|
13488
|
-
export const
|
|
13698
|
+
export const ControllerKVAPI_SetFlag = new ControllerKVAPI_SetFlag$Type();
|
|
13489
13699
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
13490
|
-
class
|
|
13700
|
+
class ControllerKVAPI_SetFlag_Request$Type extends MessageType<ControllerKVAPI_SetFlag_Request> {
|
|
13491
13701
|
constructor() {
|
|
13492
|
-
super("MiLaboratories.PL.API.
|
|
13702
|
+
super("MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Request", [
|
|
13703
|
+
{ no: 1, name: "controller_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
13704
|
+
{ no: 2, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
13705
|
+
{ no: 3, name: "value", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
13706
|
+
]);
|
|
13493
13707
|
}
|
|
13494
|
-
create(value?: PartialMessage<
|
|
13708
|
+
create(value?: PartialMessage<ControllerKVAPI_SetFlag_Request>): ControllerKVAPI_SetFlag_Request {
|
|
13495
13709
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
13710
|
+
message.controllerType = "";
|
|
13711
|
+
message.key = "";
|
|
13712
|
+
message.value = false;
|
|
13496
13713
|
if (value !== undefined)
|
|
13497
|
-
reflectionMergePartial<
|
|
13714
|
+
reflectionMergePartial<ControllerKVAPI_SetFlag_Request>(this, message, value);
|
|
13498
13715
|
return message;
|
|
13499
13716
|
}
|
|
13500
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
13717
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerKVAPI_SetFlag_Request): ControllerKVAPI_SetFlag_Request {
|
|
13501
13718
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
13502
13719
|
while (reader.pos < end) {
|
|
13503
13720
|
let [fieldNo, wireType] = reader.tag();
|
|
13504
13721
|
switch (fieldNo) {
|
|
13722
|
+
case /* string controller_type */ 1:
|
|
13723
|
+
message.controllerType = reader.string();
|
|
13724
|
+
break;
|
|
13725
|
+
case /* string key */ 2:
|
|
13726
|
+
message.key = reader.string();
|
|
13727
|
+
break;
|
|
13728
|
+
case /* bool value */ 3:
|
|
13729
|
+
message.value = reader.bool();
|
|
13730
|
+
break;
|
|
13505
13731
|
default:
|
|
13506
13732
|
let u = options.readUnknownField;
|
|
13507
13733
|
if (u === "throw")
|
|
@@ -13513,7 +13739,16 @@ class CacheAPI_SetToField$Type extends MessageType<CacheAPI_SetToField> {
|
|
|
13513
13739
|
}
|
|
13514
13740
|
return message;
|
|
13515
13741
|
}
|
|
13516
|
-
internalBinaryWrite(message:
|
|
13742
|
+
internalBinaryWrite(message: ControllerKVAPI_SetFlag_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
13743
|
+
/* string controller_type = 1; */
|
|
13744
|
+
if (message.controllerType !== "")
|
|
13745
|
+
writer.tag(1, WireType.LengthDelimited).string(message.controllerType);
|
|
13746
|
+
/* string key = 2; */
|
|
13747
|
+
if (message.key !== "")
|
|
13748
|
+
writer.tag(2, WireType.LengthDelimited).string(message.key);
|
|
13749
|
+
/* bool value = 3; */
|
|
13750
|
+
if (message.value !== false)
|
|
13751
|
+
writer.tag(3, WireType.Varint).bool(message.value);
|
|
13517
13752
|
let u = options.writeUnknownFields;
|
|
13518
13753
|
if (u !== false)
|
|
13519
13754
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -13521,34 +13756,25 @@ class CacheAPI_SetToField$Type extends MessageType<CacheAPI_SetToField> {
|
|
|
13521
13756
|
}
|
|
13522
13757
|
}
|
|
13523
13758
|
/**
|
|
13524
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
13759
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Request
|
|
13525
13760
|
*/
|
|
13526
|
-
export const
|
|
13761
|
+
export const ControllerKVAPI_SetFlag_Request = new ControllerKVAPI_SetFlag_Request$Type();
|
|
13527
13762
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
13528
|
-
class
|
|
13763
|
+
class ControllerKVAPI_SetFlag_Response$Type extends MessageType<ControllerKVAPI_SetFlag_Response> {
|
|
13529
13764
|
constructor() {
|
|
13530
|
-
super("MiLaboratories.PL.API.
|
|
13531
|
-
{ no: 1, name: "id", kind: "message", T: () => FieldRef },
|
|
13532
|
-
{ no: 2, name: "period", kind: "message", T: () => Duration }
|
|
13533
|
-
]);
|
|
13765
|
+
super("MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Response", []);
|
|
13534
13766
|
}
|
|
13535
|
-
create(value?: PartialMessage<
|
|
13767
|
+
create(value?: PartialMessage<ControllerKVAPI_SetFlag_Response>): ControllerKVAPI_SetFlag_Response {
|
|
13536
13768
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
13537
13769
|
if (value !== undefined)
|
|
13538
|
-
reflectionMergePartial<
|
|
13770
|
+
reflectionMergePartial<ControllerKVAPI_SetFlag_Response>(this, message, value);
|
|
13539
13771
|
return message;
|
|
13540
13772
|
}
|
|
13541
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
13773
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerKVAPI_SetFlag_Response): ControllerKVAPI_SetFlag_Response {
|
|
13542
13774
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
13543
13775
|
while (reader.pos < end) {
|
|
13544
13776
|
let [fieldNo, wireType] = reader.tag();
|
|
13545
13777
|
switch (fieldNo) {
|
|
13546
|
-
case /* MiLaboratories.PL.Base.FieldRef id */ 1:
|
|
13547
|
-
message.id = FieldRef.internalBinaryRead(reader, reader.uint32(), options, message.id);
|
|
13548
|
-
break;
|
|
13549
|
-
case /* google.protobuf.Duration period */ 2:
|
|
13550
|
-
message.period = Duration.internalBinaryRead(reader, reader.uint32(), options, message.period);
|
|
13551
|
-
break;
|
|
13552
13778
|
default:
|
|
13553
13779
|
let u = options.readUnknownField;
|
|
13554
13780
|
if (u === "throw")
|
|
@@ -13560,13 +13786,7 @@ class CacheAPI_SetToField_Request$Type extends MessageType<CacheAPI_SetToField_R
|
|
|
13560
13786
|
}
|
|
13561
13787
|
return message;
|
|
13562
13788
|
}
|
|
13563
|
-
internalBinaryWrite(message:
|
|
13564
|
-
/* MiLaboratories.PL.Base.FieldRef id = 1; */
|
|
13565
|
-
if (message.id)
|
|
13566
|
-
FieldRef.internalBinaryWrite(message.id, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
13567
|
-
/* google.protobuf.Duration period = 2; */
|
|
13568
|
-
if (message.period)
|
|
13569
|
-
Duration.internalBinaryWrite(message.period, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
13789
|
+
internalBinaryWrite(message: ControllerKVAPI_SetFlag_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
13570
13790
|
let u = options.writeUnknownFields;
|
|
13571
13791
|
if (u !== false)
|
|
13572
13792
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -13574,21 +13794,21 @@ class CacheAPI_SetToField_Request$Type extends MessageType<CacheAPI_SetToField_R
|
|
|
13574
13794
|
}
|
|
13575
13795
|
}
|
|
13576
13796
|
/**
|
|
13577
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
13797
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.SetFlag.Response
|
|
13578
13798
|
*/
|
|
13579
|
-
export const
|
|
13799
|
+
export const ControllerKVAPI_SetFlag_Response = new ControllerKVAPI_SetFlag_Response$Type();
|
|
13580
13800
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
13581
|
-
class
|
|
13801
|
+
class ControllerKVAPI_GetFlag$Type extends MessageType<ControllerKVAPI_GetFlag> {
|
|
13582
13802
|
constructor() {
|
|
13583
|
-
super("MiLaboratories.PL.API.
|
|
13803
|
+
super("MiLaboratories.PL.API.ControllerKVAPI.GetFlag", []);
|
|
13584
13804
|
}
|
|
13585
|
-
create(value?: PartialMessage<
|
|
13805
|
+
create(value?: PartialMessage<ControllerKVAPI_GetFlag>): ControllerKVAPI_GetFlag {
|
|
13586
13806
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
13587
13807
|
if (value !== undefined)
|
|
13588
|
-
reflectionMergePartial<
|
|
13808
|
+
reflectionMergePartial<ControllerKVAPI_GetFlag>(this, message, value);
|
|
13589
13809
|
return message;
|
|
13590
13810
|
}
|
|
13591
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
13811
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerKVAPI_GetFlag): ControllerKVAPI_GetFlag {
|
|
13592
13812
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
13593
13813
|
while (reader.pos < end) {
|
|
13594
13814
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -13604,7 +13824,7 @@ class CacheAPI_SetToField_Response$Type extends MessageType<CacheAPI_SetToField_
|
|
|
13604
13824
|
}
|
|
13605
13825
|
return message;
|
|
13606
13826
|
}
|
|
13607
|
-
internalBinaryWrite(message:
|
|
13827
|
+
internalBinaryWrite(message: ControllerKVAPI_GetFlag, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
13608
13828
|
let u = options.writeUnknownFields;
|
|
13609
13829
|
if (u !== false)
|
|
13610
13830
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -13612,25 +13832,36 @@ class CacheAPI_SetToField_Response$Type extends MessageType<CacheAPI_SetToField_
|
|
|
13612
13832
|
}
|
|
13613
13833
|
}
|
|
13614
13834
|
/**
|
|
13615
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
13835
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlag
|
|
13616
13836
|
*/
|
|
13617
|
-
export const
|
|
13837
|
+
export const ControllerKVAPI_GetFlag = new ControllerKVAPI_GetFlag$Type();
|
|
13618
13838
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
13619
|
-
class
|
|
13839
|
+
class ControllerKVAPI_GetFlag_Request$Type extends MessageType<ControllerKVAPI_GetFlag_Request> {
|
|
13620
13840
|
constructor() {
|
|
13621
|
-
super("MiLaboratories.PL.API.
|
|
13841
|
+
super("MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Request", [
|
|
13842
|
+
{ no: 1, name: "controller_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
13843
|
+
{ no: 2, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
13844
|
+
]);
|
|
13622
13845
|
}
|
|
13623
|
-
create(value?: PartialMessage<
|
|
13846
|
+
create(value?: PartialMessage<ControllerKVAPI_GetFlag_Request>): ControllerKVAPI_GetFlag_Request {
|
|
13624
13847
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
13848
|
+
message.controllerType = "";
|
|
13849
|
+
message.key = "";
|
|
13625
13850
|
if (value !== undefined)
|
|
13626
|
-
reflectionMergePartial<
|
|
13851
|
+
reflectionMergePartial<ControllerKVAPI_GetFlag_Request>(this, message, value);
|
|
13627
13852
|
return message;
|
|
13628
13853
|
}
|
|
13629
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
13854
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerKVAPI_GetFlag_Request): ControllerKVAPI_GetFlag_Request {
|
|
13630
13855
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
13631
13856
|
while (reader.pos < end) {
|
|
13632
13857
|
let [fieldNo, wireType] = reader.tag();
|
|
13633
13858
|
switch (fieldNo) {
|
|
13859
|
+
case /* string controller_type */ 1:
|
|
13860
|
+
message.controllerType = reader.string();
|
|
13861
|
+
break;
|
|
13862
|
+
case /* string key */ 2:
|
|
13863
|
+
message.key = reader.string();
|
|
13864
|
+
break;
|
|
13634
13865
|
default:
|
|
13635
13866
|
let u = options.readUnknownField;
|
|
13636
13867
|
if (u === "throw")
|
|
@@ -13642,7 +13873,13 @@ class CacheAPI_DeleteExpiredRecords$Type extends MessageType<CacheAPI_DeleteExpi
|
|
|
13642
13873
|
}
|
|
13643
13874
|
return message;
|
|
13644
13875
|
}
|
|
13645
|
-
internalBinaryWrite(message:
|
|
13876
|
+
internalBinaryWrite(message: ControllerKVAPI_GetFlag_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
13877
|
+
/* string controller_type = 1; */
|
|
13878
|
+
if (message.controllerType !== "")
|
|
13879
|
+
writer.tag(1, WireType.LengthDelimited).string(message.controllerType);
|
|
13880
|
+
/* string key = 2; */
|
|
13881
|
+
if (message.key !== "")
|
|
13882
|
+
writer.tag(2, WireType.LengthDelimited).string(message.key);
|
|
13646
13883
|
let u = options.writeUnknownFields;
|
|
13647
13884
|
if (u !== false)
|
|
13648
13885
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -13650,25 +13887,31 @@ class CacheAPI_DeleteExpiredRecords$Type extends MessageType<CacheAPI_DeleteExpi
|
|
|
13650
13887
|
}
|
|
13651
13888
|
}
|
|
13652
13889
|
/**
|
|
13653
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
13890
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Request
|
|
13654
13891
|
*/
|
|
13655
|
-
export const
|
|
13892
|
+
export const ControllerKVAPI_GetFlag_Request = new ControllerKVAPI_GetFlag_Request$Type();
|
|
13656
13893
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
13657
|
-
class
|
|
13894
|
+
class ControllerKVAPI_GetFlag_Response$Type extends MessageType<ControllerKVAPI_GetFlag_Response> {
|
|
13658
13895
|
constructor() {
|
|
13659
|
-
super("MiLaboratories.PL.API.
|
|
13896
|
+
super("MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Response", [
|
|
13897
|
+
{ no: 1, name: "value", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
13898
|
+
]);
|
|
13660
13899
|
}
|
|
13661
|
-
create(value?: PartialMessage<
|
|
13900
|
+
create(value?: PartialMessage<ControllerKVAPI_GetFlag_Response>): ControllerKVAPI_GetFlag_Response {
|
|
13662
13901
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
13902
|
+
message.value = false;
|
|
13663
13903
|
if (value !== undefined)
|
|
13664
|
-
reflectionMergePartial<
|
|
13904
|
+
reflectionMergePartial<ControllerKVAPI_GetFlag_Response>(this, message, value);
|
|
13665
13905
|
return message;
|
|
13666
13906
|
}
|
|
13667
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
13907
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerKVAPI_GetFlag_Response): ControllerKVAPI_GetFlag_Response {
|
|
13668
13908
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
13669
13909
|
while (reader.pos < end) {
|
|
13670
13910
|
let [fieldNo, wireType] = reader.tag();
|
|
13671
13911
|
switch (fieldNo) {
|
|
13912
|
+
case /* bool value */ 1:
|
|
13913
|
+
message.value = reader.bool();
|
|
13914
|
+
break;
|
|
13672
13915
|
default:
|
|
13673
13916
|
let u = options.readUnknownField;
|
|
13674
13917
|
if (u === "throw")
|
|
@@ -13680,7 +13923,10 @@ class CacheAPI_DeleteExpiredRecords_Request$Type extends MessageType<CacheAPI_De
|
|
|
13680
13923
|
}
|
|
13681
13924
|
return message;
|
|
13682
13925
|
}
|
|
13683
|
-
internalBinaryWrite(message:
|
|
13926
|
+
internalBinaryWrite(message: ControllerKVAPI_GetFlag_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
13927
|
+
/* bool value = 1; */
|
|
13928
|
+
if (message.value !== false)
|
|
13929
|
+
writer.tag(1, WireType.Varint).bool(message.value);
|
|
13684
13930
|
let u = options.writeUnknownFields;
|
|
13685
13931
|
if (u !== false)
|
|
13686
13932
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -13688,21 +13934,21 @@ class CacheAPI_DeleteExpiredRecords_Request$Type extends MessageType<CacheAPI_De
|
|
|
13688
13934
|
}
|
|
13689
13935
|
}
|
|
13690
13936
|
/**
|
|
13691
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
13937
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlag.Response
|
|
13692
13938
|
*/
|
|
13693
|
-
export const
|
|
13939
|
+
export const ControllerKVAPI_GetFlag_Response = new ControllerKVAPI_GetFlag_Response$Type();
|
|
13694
13940
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
13695
|
-
class
|
|
13941
|
+
class ControllerKVAPI_GetFlagIfExists$Type extends MessageType<ControllerKVAPI_GetFlagIfExists> {
|
|
13696
13942
|
constructor() {
|
|
13697
|
-
super("MiLaboratories.PL.API.
|
|
13943
|
+
super("MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists", []);
|
|
13698
13944
|
}
|
|
13699
|
-
create(value?: PartialMessage<
|
|
13945
|
+
create(value?: PartialMessage<ControllerKVAPI_GetFlagIfExists>): ControllerKVAPI_GetFlagIfExists {
|
|
13700
13946
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
13701
13947
|
if (value !== undefined)
|
|
13702
|
-
reflectionMergePartial<
|
|
13948
|
+
reflectionMergePartial<ControllerKVAPI_GetFlagIfExists>(this, message, value);
|
|
13703
13949
|
return message;
|
|
13704
13950
|
}
|
|
13705
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
13951
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerKVAPI_GetFlagIfExists): ControllerKVAPI_GetFlagIfExists {
|
|
13706
13952
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
13707
13953
|
while (reader.pos < end) {
|
|
13708
13954
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -13718,7 +13964,7 @@ class CacheAPI_DeleteExpiredRecords_Response$Type extends MessageType<CacheAPI_D
|
|
|
13718
13964
|
}
|
|
13719
13965
|
return message;
|
|
13720
13966
|
}
|
|
13721
|
-
internalBinaryWrite(message:
|
|
13967
|
+
internalBinaryWrite(message: ControllerKVAPI_GetFlagIfExists, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
13722
13968
|
let u = options.writeUnknownFields;
|
|
13723
13969
|
if (u !== false)
|
|
13724
13970
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -13726,30 +13972,421 @@ class CacheAPI_DeleteExpiredRecords_Response$Type extends MessageType<CacheAPI_D
|
|
|
13726
13972
|
}
|
|
13727
13973
|
}
|
|
13728
13974
|
/**
|
|
13729
|
-
* @generated MessageType for protobuf message MiLaboratories.PL.API.
|
|
13975
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists
|
|
13730
13976
|
*/
|
|
13731
|
-
export const
|
|
13977
|
+
export const ControllerKVAPI_GetFlagIfExists = new ControllerKVAPI_GetFlagIfExists$Type();
|
|
13732
13978
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
13733
|
-
class
|
|
13979
|
+
class ControllerKVAPI_GetFlagIfExists_Request$Type extends MessageType<ControllerKVAPI_GetFlagIfExists_Request> {
|
|
13734
13980
|
constructor() {
|
|
13735
|
-
super("MiLaboratories.PL.API.
|
|
13981
|
+
super("MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Request", [
|
|
13982
|
+
{ no: 1, name: "controller_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
13983
|
+
{ no: 2, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
13984
|
+
]);
|
|
13736
13985
|
}
|
|
13737
|
-
create(value?: PartialMessage<
|
|
13986
|
+
create(value?: PartialMessage<ControllerKVAPI_GetFlagIfExists_Request>): ControllerKVAPI_GetFlagIfExists_Request {
|
|
13738
13987
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
13988
|
+
message.controllerType = "";
|
|
13989
|
+
message.key = "";
|
|
13739
13990
|
if (value !== undefined)
|
|
13740
|
-
reflectionMergePartial<
|
|
13991
|
+
reflectionMergePartial<ControllerKVAPI_GetFlagIfExists_Request>(this, message, value);
|
|
13741
13992
|
return message;
|
|
13742
13993
|
}
|
|
13743
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
13994
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerKVAPI_GetFlagIfExists_Request): ControllerKVAPI_GetFlagIfExists_Request {
|
|
13744
13995
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
13745
13996
|
while (reader.pos < end) {
|
|
13746
13997
|
let [fieldNo, wireType] = reader.tag();
|
|
13747
13998
|
switch (fieldNo) {
|
|
13748
|
-
|
|
13749
|
-
|
|
13750
|
-
|
|
13751
|
-
|
|
13752
|
-
|
|
13999
|
+
case /* string controller_type */ 1:
|
|
14000
|
+
message.controllerType = reader.string();
|
|
14001
|
+
break;
|
|
14002
|
+
case /* string key */ 2:
|
|
14003
|
+
message.key = reader.string();
|
|
14004
|
+
break;
|
|
14005
|
+
default:
|
|
14006
|
+
let u = options.readUnknownField;
|
|
14007
|
+
if (u === "throw")
|
|
14008
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14009
|
+
let d = reader.skip(wireType);
|
|
14010
|
+
if (u !== false)
|
|
14011
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14012
|
+
}
|
|
14013
|
+
}
|
|
14014
|
+
return message;
|
|
14015
|
+
}
|
|
14016
|
+
internalBinaryWrite(message: ControllerKVAPI_GetFlagIfExists_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
14017
|
+
/* string controller_type = 1; */
|
|
14018
|
+
if (message.controllerType !== "")
|
|
14019
|
+
writer.tag(1, WireType.LengthDelimited).string(message.controllerType);
|
|
14020
|
+
/* string key = 2; */
|
|
14021
|
+
if (message.key !== "")
|
|
14022
|
+
writer.tag(2, WireType.LengthDelimited).string(message.key);
|
|
14023
|
+
let u = options.writeUnknownFields;
|
|
14024
|
+
if (u !== false)
|
|
14025
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
14026
|
+
return writer;
|
|
14027
|
+
}
|
|
14028
|
+
}
|
|
14029
|
+
/**
|
|
14030
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Request
|
|
14031
|
+
*/
|
|
14032
|
+
export const ControllerKVAPI_GetFlagIfExists_Request = new ControllerKVAPI_GetFlagIfExists_Request$Type();
|
|
14033
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
14034
|
+
class ControllerKVAPI_GetFlagIfExists_Response$Type extends MessageType<ControllerKVAPI_GetFlagIfExists_Response> {
|
|
14035
|
+
constructor() {
|
|
14036
|
+
super("MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Response", [
|
|
14037
|
+
{ no: 1, name: "value", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
14038
|
+
{ no: 2, name: "exists", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
14039
|
+
]);
|
|
14040
|
+
}
|
|
14041
|
+
create(value?: PartialMessage<ControllerKVAPI_GetFlagIfExists_Response>): ControllerKVAPI_GetFlagIfExists_Response {
|
|
14042
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
14043
|
+
message.value = false;
|
|
14044
|
+
message.exists = false;
|
|
14045
|
+
if (value !== undefined)
|
|
14046
|
+
reflectionMergePartial<ControllerKVAPI_GetFlagIfExists_Response>(this, message, value);
|
|
14047
|
+
return message;
|
|
14048
|
+
}
|
|
14049
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerKVAPI_GetFlagIfExists_Response): ControllerKVAPI_GetFlagIfExists_Response {
|
|
14050
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14051
|
+
while (reader.pos < end) {
|
|
14052
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14053
|
+
switch (fieldNo) {
|
|
14054
|
+
case /* bool value */ 1:
|
|
14055
|
+
message.value = reader.bool();
|
|
14056
|
+
break;
|
|
14057
|
+
case /* bool exists */ 2:
|
|
14058
|
+
message.exists = reader.bool();
|
|
14059
|
+
break;
|
|
14060
|
+
default:
|
|
14061
|
+
let u = options.readUnknownField;
|
|
14062
|
+
if (u === "throw")
|
|
14063
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14064
|
+
let d = reader.skip(wireType);
|
|
14065
|
+
if (u !== false)
|
|
14066
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14067
|
+
}
|
|
14068
|
+
}
|
|
14069
|
+
return message;
|
|
14070
|
+
}
|
|
14071
|
+
internalBinaryWrite(message: ControllerKVAPI_GetFlagIfExists_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
14072
|
+
/* bool value = 1; */
|
|
14073
|
+
if (message.value !== false)
|
|
14074
|
+
writer.tag(1, WireType.Varint).bool(message.value);
|
|
14075
|
+
/* bool exists = 2; */
|
|
14076
|
+
if (message.exists !== false)
|
|
14077
|
+
writer.tag(2, WireType.Varint).bool(message.exists);
|
|
14078
|
+
let u = options.writeUnknownFields;
|
|
14079
|
+
if (u !== false)
|
|
14080
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
14081
|
+
return writer;
|
|
14082
|
+
}
|
|
14083
|
+
}
|
|
14084
|
+
/**
|
|
14085
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.ControllerKVAPI.GetFlagIfExists.Response
|
|
14086
|
+
*/
|
|
14087
|
+
export const ControllerKVAPI_GetFlagIfExists_Response = new ControllerKVAPI_GetFlagIfExists_Response$Type();
|
|
14088
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
14089
|
+
class CacheAPI$Type extends MessageType<CacheAPI> {
|
|
14090
|
+
constructor() {
|
|
14091
|
+
super("MiLaboratories.PL.API.CacheAPI", []);
|
|
14092
|
+
}
|
|
14093
|
+
create(value?: PartialMessage<CacheAPI>): CacheAPI {
|
|
14094
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
14095
|
+
if (value !== undefined)
|
|
14096
|
+
reflectionMergePartial<CacheAPI>(this, message, value);
|
|
14097
|
+
return message;
|
|
14098
|
+
}
|
|
14099
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CacheAPI): CacheAPI {
|
|
14100
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14101
|
+
while (reader.pos < end) {
|
|
14102
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14103
|
+
switch (fieldNo) {
|
|
14104
|
+
default:
|
|
14105
|
+
let u = options.readUnknownField;
|
|
14106
|
+
if (u === "throw")
|
|
14107
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14108
|
+
let d = reader.skip(wireType);
|
|
14109
|
+
if (u !== false)
|
|
14110
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14111
|
+
}
|
|
14112
|
+
}
|
|
14113
|
+
return message;
|
|
14114
|
+
}
|
|
14115
|
+
internalBinaryWrite(message: CacheAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
14116
|
+
let u = options.writeUnknownFields;
|
|
14117
|
+
if (u !== false)
|
|
14118
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
14119
|
+
return writer;
|
|
14120
|
+
}
|
|
14121
|
+
}
|
|
14122
|
+
/**
|
|
14123
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.CacheAPI
|
|
14124
|
+
*/
|
|
14125
|
+
export const CacheAPI = new CacheAPI$Type();
|
|
14126
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
14127
|
+
class CacheAPI_SetToField$Type extends MessageType<CacheAPI_SetToField> {
|
|
14128
|
+
constructor() {
|
|
14129
|
+
super("MiLaboratories.PL.API.CacheAPI.SetToField", []);
|
|
14130
|
+
}
|
|
14131
|
+
create(value?: PartialMessage<CacheAPI_SetToField>): CacheAPI_SetToField {
|
|
14132
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
14133
|
+
if (value !== undefined)
|
|
14134
|
+
reflectionMergePartial<CacheAPI_SetToField>(this, message, value);
|
|
14135
|
+
return message;
|
|
14136
|
+
}
|
|
14137
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CacheAPI_SetToField): CacheAPI_SetToField {
|
|
14138
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14139
|
+
while (reader.pos < end) {
|
|
14140
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14141
|
+
switch (fieldNo) {
|
|
14142
|
+
default:
|
|
14143
|
+
let u = options.readUnknownField;
|
|
14144
|
+
if (u === "throw")
|
|
14145
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14146
|
+
let d = reader.skip(wireType);
|
|
14147
|
+
if (u !== false)
|
|
14148
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14149
|
+
}
|
|
14150
|
+
}
|
|
14151
|
+
return message;
|
|
14152
|
+
}
|
|
14153
|
+
internalBinaryWrite(message: CacheAPI_SetToField, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
14154
|
+
let u = options.writeUnknownFields;
|
|
14155
|
+
if (u !== false)
|
|
14156
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
14157
|
+
return writer;
|
|
14158
|
+
}
|
|
14159
|
+
}
|
|
14160
|
+
/**
|
|
14161
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.CacheAPI.SetToField
|
|
14162
|
+
*/
|
|
14163
|
+
export const CacheAPI_SetToField = new CacheAPI_SetToField$Type();
|
|
14164
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
14165
|
+
class CacheAPI_SetToField_Request$Type extends MessageType<CacheAPI_SetToField_Request> {
|
|
14166
|
+
constructor() {
|
|
14167
|
+
super("MiLaboratories.PL.API.CacheAPI.SetToField.Request", [
|
|
14168
|
+
{ no: 1, name: "id", kind: "message", T: () => FieldRef },
|
|
14169
|
+
{ no: 2, name: "period", kind: "message", T: () => Duration }
|
|
14170
|
+
]);
|
|
14171
|
+
}
|
|
14172
|
+
create(value?: PartialMessage<CacheAPI_SetToField_Request>): CacheAPI_SetToField_Request {
|
|
14173
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
14174
|
+
if (value !== undefined)
|
|
14175
|
+
reflectionMergePartial<CacheAPI_SetToField_Request>(this, message, value);
|
|
14176
|
+
return message;
|
|
14177
|
+
}
|
|
14178
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CacheAPI_SetToField_Request): CacheAPI_SetToField_Request {
|
|
14179
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14180
|
+
while (reader.pos < end) {
|
|
14181
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14182
|
+
switch (fieldNo) {
|
|
14183
|
+
case /* MiLaboratories.PL.Base.FieldRef id */ 1:
|
|
14184
|
+
message.id = FieldRef.internalBinaryRead(reader, reader.uint32(), options, message.id);
|
|
14185
|
+
break;
|
|
14186
|
+
case /* google.protobuf.Duration period */ 2:
|
|
14187
|
+
message.period = Duration.internalBinaryRead(reader, reader.uint32(), options, message.period);
|
|
14188
|
+
break;
|
|
14189
|
+
default:
|
|
14190
|
+
let u = options.readUnknownField;
|
|
14191
|
+
if (u === "throw")
|
|
14192
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14193
|
+
let d = reader.skip(wireType);
|
|
14194
|
+
if (u !== false)
|
|
14195
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14196
|
+
}
|
|
14197
|
+
}
|
|
14198
|
+
return message;
|
|
14199
|
+
}
|
|
14200
|
+
internalBinaryWrite(message: CacheAPI_SetToField_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
14201
|
+
/* MiLaboratories.PL.Base.FieldRef id = 1; */
|
|
14202
|
+
if (message.id)
|
|
14203
|
+
FieldRef.internalBinaryWrite(message.id, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
14204
|
+
/* google.protobuf.Duration period = 2; */
|
|
14205
|
+
if (message.period)
|
|
14206
|
+
Duration.internalBinaryWrite(message.period, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
14207
|
+
let u = options.writeUnknownFields;
|
|
14208
|
+
if (u !== false)
|
|
14209
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
14210
|
+
return writer;
|
|
14211
|
+
}
|
|
14212
|
+
}
|
|
14213
|
+
/**
|
|
14214
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.CacheAPI.SetToField.Request
|
|
14215
|
+
*/
|
|
14216
|
+
export const CacheAPI_SetToField_Request = new CacheAPI_SetToField_Request$Type();
|
|
14217
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
14218
|
+
class CacheAPI_SetToField_Response$Type extends MessageType<CacheAPI_SetToField_Response> {
|
|
14219
|
+
constructor() {
|
|
14220
|
+
super("MiLaboratories.PL.API.CacheAPI.SetToField.Response", []);
|
|
14221
|
+
}
|
|
14222
|
+
create(value?: PartialMessage<CacheAPI_SetToField_Response>): CacheAPI_SetToField_Response {
|
|
14223
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
14224
|
+
if (value !== undefined)
|
|
14225
|
+
reflectionMergePartial<CacheAPI_SetToField_Response>(this, message, value);
|
|
14226
|
+
return message;
|
|
14227
|
+
}
|
|
14228
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CacheAPI_SetToField_Response): CacheAPI_SetToField_Response {
|
|
14229
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14230
|
+
while (reader.pos < end) {
|
|
14231
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14232
|
+
switch (fieldNo) {
|
|
14233
|
+
default:
|
|
14234
|
+
let u = options.readUnknownField;
|
|
14235
|
+
if (u === "throw")
|
|
14236
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14237
|
+
let d = reader.skip(wireType);
|
|
14238
|
+
if (u !== false)
|
|
14239
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14240
|
+
}
|
|
14241
|
+
}
|
|
14242
|
+
return message;
|
|
14243
|
+
}
|
|
14244
|
+
internalBinaryWrite(message: CacheAPI_SetToField_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
14245
|
+
let u = options.writeUnknownFields;
|
|
14246
|
+
if (u !== false)
|
|
14247
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
14248
|
+
return writer;
|
|
14249
|
+
}
|
|
14250
|
+
}
|
|
14251
|
+
/**
|
|
14252
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.CacheAPI.SetToField.Response
|
|
14253
|
+
*/
|
|
14254
|
+
export const CacheAPI_SetToField_Response = new CacheAPI_SetToField_Response$Type();
|
|
14255
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
14256
|
+
class CacheAPI_DeleteExpiredRecords$Type extends MessageType<CacheAPI_DeleteExpiredRecords> {
|
|
14257
|
+
constructor() {
|
|
14258
|
+
super("MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords", []);
|
|
14259
|
+
}
|
|
14260
|
+
create(value?: PartialMessage<CacheAPI_DeleteExpiredRecords>): CacheAPI_DeleteExpiredRecords {
|
|
14261
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
14262
|
+
if (value !== undefined)
|
|
14263
|
+
reflectionMergePartial<CacheAPI_DeleteExpiredRecords>(this, message, value);
|
|
14264
|
+
return message;
|
|
14265
|
+
}
|
|
14266
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CacheAPI_DeleteExpiredRecords): CacheAPI_DeleteExpiredRecords {
|
|
14267
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14268
|
+
while (reader.pos < end) {
|
|
14269
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14270
|
+
switch (fieldNo) {
|
|
14271
|
+
default:
|
|
14272
|
+
let u = options.readUnknownField;
|
|
14273
|
+
if (u === "throw")
|
|
14274
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14275
|
+
let d = reader.skip(wireType);
|
|
14276
|
+
if (u !== false)
|
|
14277
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14278
|
+
}
|
|
14279
|
+
}
|
|
14280
|
+
return message;
|
|
14281
|
+
}
|
|
14282
|
+
internalBinaryWrite(message: CacheAPI_DeleteExpiredRecords, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
14283
|
+
let u = options.writeUnknownFields;
|
|
14284
|
+
if (u !== false)
|
|
14285
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
14286
|
+
return writer;
|
|
14287
|
+
}
|
|
14288
|
+
}
|
|
14289
|
+
/**
|
|
14290
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords
|
|
14291
|
+
*/
|
|
14292
|
+
export const CacheAPI_DeleteExpiredRecords = new CacheAPI_DeleteExpiredRecords$Type();
|
|
14293
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
14294
|
+
class CacheAPI_DeleteExpiredRecords_Request$Type extends MessageType<CacheAPI_DeleteExpiredRecords_Request> {
|
|
14295
|
+
constructor() {
|
|
14296
|
+
super("MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords.Request", []);
|
|
14297
|
+
}
|
|
14298
|
+
create(value?: PartialMessage<CacheAPI_DeleteExpiredRecords_Request>): CacheAPI_DeleteExpiredRecords_Request {
|
|
14299
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
14300
|
+
if (value !== undefined)
|
|
14301
|
+
reflectionMergePartial<CacheAPI_DeleteExpiredRecords_Request>(this, message, value);
|
|
14302
|
+
return message;
|
|
14303
|
+
}
|
|
14304
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CacheAPI_DeleteExpiredRecords_Request): CacheAPI_DeleteExpiredRecords_Request {
|
|
14305
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14306
|
+
while (reader.pos < end) {
|
|
14307
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14308
|
+
switch (fieldNo) {
|
|
14309
|
+
default:
|
|
14310
|
+
let u = options.readUnknownField;
|
|
14311
|
+
if (u === "throw")
|
|
14312
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14313
|
+
let d = reader.skip(wireType);
|
|
14314
|
+
if (u !== false)
|
|
14315
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14316
|
+
}
|
|
14317
|
+
}
|
|
14318
|
+
return message;
|
|
14319
|
+
}
|
|
14320
|
+
internalBinaryWrite(message: CacheAPI_DeleteExpiredRecords_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
14321
|
+
let u = options.writeUnknownFields;
|
|
14322
|
+
if (u !== false)
|
|
14323
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
14324
|
+
return writer;
|
|
14325
|
+
}
|
|
14326
|
+
}
|
|
14327
|
+
/**
|
|
14328
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords.Request
|
|
14329
|
+
*/
|
|
14330
|
+
export const CacheAPI_DeleteExpiredRecords_Request = new CacheAPI_DeleteExpiredRecords_Request$Type();
|
|
14331
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
14332
|
+
class CacheAPI_DeleteExpiredRecords_Response$Type extends MessageType<CacheAPI_DeleteExpiredRecords_Response> {
|
|
14333
|
+
constructor() {
|
|
14334
|
+
super("MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords.Response", []);
|
|
14335
|
+
}
|
|
14336
|
+
create(value?: PartialMessage<CacheAPI_DeleteExpiredRecords_Response>): CacheAPI_DeleteExpiredRecords_Response {
|
|
14337
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
14338
|
+
if (value !== undefined)
|
|
14339
|
+
reflectionMergePartial<CacheAPI_DeleteExpiredRecords_Response>(this, message, value);
|
|
14340
|
+
return message;
|
|
14341
|
+
}
|
|
14342
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CacheAPI_DeleteExpiredRecords_Response): CacheAPI_DeleteExpiredRecords_Response {
|
|
14343
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14344
|
+
while (reader.pos < end) {
|
|
14345
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14346
|
+
switch (fieldNo) {
|
|
14347
|
+
default:
|
|
14348
|
+
let u = options.readUnknownField;
|
|
14349
|
+
if (u === "throw")
|
|
14350
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14351
|
+
let d = reader.skip(wireType);
|
|
14352
|
+
if (u !== false)
|
|
14353
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
14354
|
+
}
|
|
14355
|
+
}
|
|
14356
|
+
return message;
|
|
14357
|
+
}
|
|
14358
|
+
internalBinaryWrite(message: CacheAPI_DeleteExpiredRecords_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
14359
|
+
let u = options.writeUnknownFields;
|
|
14360
|
+
if (u !== false)
|
|
14361
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
14362
|
+
return writer;
|
|
14363
|
+
}
|
|
14364
|
+
}
|
|
14365
|
+
/**
|
|
14366
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords.Response
|
|
14367
|
+
*/
|
|
14368
|
+
export const CacheAPI_DeleteExpiredRecords_Response = new CacheAPI_DeleteExpiredRecords_Response$Type();
|
|
14369
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
14370
|
+
class LocksAPI$Type extends MessageType<LocksAPI> {
|
|
14371
|
+
constructor() {
|
|
14372
|
+
super("MiLaboratories.PL.API.LocksAPI", []);
|
|
14373
|
+
}
|
|
14374
|
+
create(value?: PartialMessage<LocksAPI>): LocksAPI {
|
|
14375
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
14376
|
+
if (value !== undefined)
|
|
14377
|
+
reflectionMergePartial<LocksAPI>(this, message, value);
|
|
14378
|
+
return message;
|
|
14379
|
+
}
|
|
14380
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LocksAPI): LocksAPI {
|
|
14381
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
14382
|
+
while (reader.pos < end) {
|
|
14383
|
+
let [fieldNo, wireType] = reader.tag();
|
|
14384
|
+
switch (fieldNo) {
|
|
14385
|
+
default:
|
|
14386
|
+
let u = options.readUnknownField;
|
|
14387
|
+
if (u === "throw")
|
|
14388
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
14389
|
+
let d = reader.skip(wireType);
|
|
13753
14390
|
if (u !== false)
|
|
13754
14391
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
13755
14392
|
}
|
|
@@ -14954,6 +15591,145 @@ class MaintenanceAPI_Ping_Response$Type extends MessageType<MaintenanceAPI_Ping_
|
|
|
14954
15591
|
* @generated MessageType for protobuf message MiLaboratories.PL.API.MaintenanceAPI.Ping.Response
|
|
14955
15592
|
*/
|
|
14956
15593
|
export const MaintenanceAPI_Ping_Response = new MaintenanceAPI_Ping_Response$Type();
|
|
15594
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
15595
|
+
class MaintenanceAPI_License$Type extends MessageType<MaintenanceAPI_License> {
|
|
15596
|
+
constructor() {
|
|
15597
|
+
super("MiLaboratories.PL.API.MaintenanceAPI.License", []);
|
|
15598
|
+
}
|
|
15599
|
+
create(value?: PartialMessage<MaintenanceAPI_License>): MaintenanceAPI_License {
|
|
15600
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
15601
|
+
if (value !== undefined)
|
|
15602
|
+
reflectionMergePartial<MaintenanceAPI_License>(this, message, value);
|
|
15603
|
+
return message;
|
|
15604
|
+
}
|
|
15605
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MaintenanceAPI_License): MaintenanceAPI_License {
|
|
15606
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
15607
|
+
while (reader.pos < end) {
|
|
15608
|
+
let [fieldNo, wireType] = reader.tag();
|
|
15609
|
+
switch (fieldNo) {
|
|
15610
|
+
default:
|
|
15611
|
+
let u = options.readUnknownField;
|
|
15612
|
+
if (u === "throw")
|
|
15613
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
15614
|
+
let d = reader.skip(wireType);
|
|
15615
|
+
if (u !== false)
|
|
15616
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
15617
|
+
}
|
|
15618
|
+
}
|
|
15619
|
+
return message;
|
|
15620
|
+
}
|
|
15621
|
+
internalBinaryWrite(message: MaintenanceAPI_License, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
15622
|
+
let u = options.writeUnknownFields;
|
|
15623
|
+
if (u !== false)
|
|
15624
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
15625
|
+
return writer;
|
|
15626
|
+
}
|
|
15627
|
+
}
|
|
15628
|
+
/**
|
|
15629
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.MaintenanceAPI.License
|
|
15630
|
+
*/
|
|
15631
|
+
export const MaintenanceAPI_License = new MaintenanceAPI_License$Type();
|
|
15632
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
15633
|
+
class MaintenanceAPI_License_Request$Type extends MessageType<MaintenanceAPI_License_Request> {
|
|
15634
|
+
constructor() {
|
|
15635
|
+
super("MiLaboratories.PL.API.MaintenanceAPI.License.Request", []);
|
|
15636
|
+
}
|
|
15637
|
+
create(value?: PartialMessage<MaintenanceAPI_License_Request>): MaintenanceAPI_License_Request {
|
|
15638
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
15639
|
+
if (value !== undefined)
|
|
15640
|
+
reflectionMergePartial<MaintenanceAPI_License_Request>(this, message, value);
|
|
15641
|
+
return message;
|
|
15642
|
+
}
|
|
15643
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MaintenanceAPI_License_Request): MaintenanceAPI_License_Request {
|
|
15644
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
15645
|
+
while (reader.pos < end) {
|
|
15646
|
+
let [fieldNo, wireType] = reader.tag();
|
|
15647
|
+
switch (fieldNo) {
|
|
15648
|
+
default:
|
|
15649
|
+
let u = options.readUnknownField;
|
|
15650
|
+
if (u === "throw")
|
|
15651
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
15652
|
+
let d = reader.skip(wireType);
|
|
15653
|
+
if (u !== false)
|
|
15654
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
15655
|
+
}
|
|
15656
|
+
}
|
|
15657
|
+
return message;
|
|
15658
|
+
}
|
|
15659
|
+
internalBinaryWrite(message: MaintenanceAPI_License_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
15660
|
+
let u = options.writeUnknownFields;
|
|
15661
|
+
if (u !== false)
|
|
15662
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
15663
|
+
return writer;
|
|
15664
|
+
}
|
|
15665
|
+
}
|
|
15666
|
+
/**
|
|
15667
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.MaintenanceAPI.License.Request
|
|
15668
|
+
*/
|
|
15669
|
+
export const MaintenanceAPI_License_Request = new MaintenanceAPI_License_Request$Type();
|
|
15670
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
15671
|
+
class MaintenanceAPI_License_Response$Type extends MessageType<MaintenanceAPI_License_Response> {
|
|
15672
|
+
constructor() {
|
|
15673
|
+
super("MiLaboratories.PL.API.MaintenanceAPI.License.Response", [
|
|
15674
|
+
{ no: 1, name: "status", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
15675
|
+
{ no: 2, name: "is_ok", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
15676
|
+
{ no: 3, name: "response_body", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
|
|
15677
|
+
]);
|
|
15678
|
+
}
|
|
15679
|
+
create(value?: PartialMessage<MaintenanceAPI_License_Response>): MaintenanceAPI_License_Response {
|
|
15680
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
15681
|
+
message.status = 0;
|
|
15682
|
+
message.isOk = false;
|
|
15683
|
+
message.responseBody = new Uint8Array(0);
|
|
15684
|
+
if (value !== undefined)
|
|
15685
|
+
reflectionMergePartial<MaintenanceAPI_License_Response>(this, message, value);
|
|
15686
|
+
return message;
|
|
15687
|
+
}
|
|
15688
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MaintenanceAPI_License_Response): MaintenanceAPI_License_Response {
|
|
15689
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
15690
|
+
while (reader.pos < end) {
|
|
15691
|
+
let [fieldNo, wireType] = reader.tag();
|
|
15692
|
+
switch (fieldNo) {
|
|
15693
|
+
case /* int32 status */ 1:
|
|
15694
|
+
message.status = reader.int32();
|
|
15695
|
+
break;
|
|
15696
|
+
case /* bool is_ok */ 2:
|
|
15697
|
+
message.isOk = reader.bool();
|
|
15698
|
+
break;
|
|
15699
|
+
case /* bytes response_body */ 3:
|
|
15700
|
+
message.responseBody = reader.bytes();
|
|
15701
|
+
break;
|
|
15702
|
+
default:
|
|
15703
|
+
let u = options.readUnknownField;
|
|
15704
|
+
if (u === "throw")
|
|
15705
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
15706
|
+
let d = reader.skip(wireType);
|
|
15707
|
+
if (u !== false)
|
|
15708
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
15709
|
+
}
|
|
15710
|
+
}
|
|
15711
|
+
return message;
|
|
15712
|
+
}
|
|
15713
|
+
internalBinaryWrite(message: MaintenanceAPI_License_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
15714
|
+
/* int32 status = 1; */
|
|
15715
|
+
if (message.status !== 0)
|
|
15716
|
+
writer.tag(1, WireType.Varint).int32(message.status);
|
|
15717
|
+
/* bool is_ok = 2; */
|
|
15718
|
+
if (message.isOk !== false)
|
|
15719
|
+
writer.tag(2, WireType.Varint).bool(message.isOk);
|
|
15720
|
+
/* bytes response_body = 3; */
|
|
15721
|
+
if (message.responseBody.length)
|
|
15722
|
+
writer.tag(3, WireType.LengthDelimited).bytes(message.responseBody);
|
|
15723
|
+
let u = options.writeUnknownFields;
|
|
15724
|
+
if (u !== false)
|
|
15725
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
15726
|
+
return writer;
|
|
15727
|
+
}
|
|
15728
|
+
}
|
|
15729
|
+
/**
|
|
15730
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.MaintenanceAPI.License.Response
|
|
15731
|
+
*/
|
|
15732
|
+
export const MaintenanceAPI_License_Response = new MaintenanceAPI_License_Response$Type();
|
|
14957
15733
|
/**
|
|
14958
15734
|
* @generated ServiceType for protobuf service MiLaboratories.PL.API.Platform
|
|
14959
15735
|
*/
|
|
@@ -14982,5 +15758,6 @@ export const Platform = new ServiceType("MiLaboratories.PL.API.Platform", [
|
|
|
14982
15758
|
{ name: "AuthMethods", options: {}, I: AuthAPI_ListMethods_Request, O: AuthAPI_ListMethods_Response },
|
|
14983
15759
|
{ name: "GetJWTToken", options: {}, I: AuthAPI_GetJWTToken_Request, O: AuthAPI_GetJWTToken_Response },
|
|
14984
15760
|
{ name: "ListResourceTypes", options: {}, I: MiscAPI_ListResourceTypes_Request, O: MiscAPI_ListResourceTypes_Response },
|
|
14985
|
-
{ name: "Ping", options: {}, I: MaintenanceAPI_Ping_Request, O: MaintenanceAPI_Ping_Response }
|
|
15761
|
+
{ name: "Ping", options: {}, I: MaintenanceAPI_Ping_Request, O: MaintenanceAPI_Ping_Response },
|
|
15762
|
+
{ name: "License", options: {}, I: MaintenanceAPI_License_Request, O: MaintenanceAPI_License_Response }
|
|
14986
15763
|
]);
|