@valkey/valkey-glide 1.3.4 → 1.3.5-rc2
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/LICENSE +201 -0
- package/README.md +36 -14
- package/build-ts/{src/BaseClient.d.ts → BaseClient.d.ts} +62 -118
- package/build-ts/BaseClient.js +6049 -0
- package/build-ts/{src/Transaction.d.ts → Batch.d.ts} +124 -67
- package/build-ts/Batch.js +3457 -0
- package/build-ts/{src/Commands.d.ts → Commands.d.ts} +171 -791
- package/build-ts/Commands.js +2708 -0
- package/build-ts/Errors.js +42 -0
- package/build-ts/{src/GlideClient.d.ts → GlideClient.d.ts} +55 -19
- package/build-ts/GlideClient.js +899 -0
- package/build-ts/{src/GlideClusterClient.d.ts → GlideClusterClient.d.ts} +78 -42
- package/build-ts/GlideClusterClient.js +1251 -0
- package/build-ts/Logger.js +67 -0
- package/build-ts/{src/ProtobufMessage.d.ts → ProtobufMessage.d.ts} +171 -634
- package/build-ts/ProtobufMessage.js +5265 -0
- package/build-ts/index.d.ts +16 -11
- package/build-ts/index.js +53 -216
- package/build-ts/native.d.ts +14 -0
- package/build-ts/native.js +342 -0
- package/build-ts/server-modules/GlideFt.js +628 -0
- package/build-ts/{src/server-modules → server-modules}/GlideFtOptions.d.ts +1 -1
- package/build-ts/server-modules/GlideFtOptions.js +5 -0
- package/build-ts/{src/server-modules → server-modules}/GlideJson.d.ts +65 -65
- package/build-ts/server-modules/GlideJson.js +1572 -0
- package/package.json +141 -64
- /package/build-ts/{src/Errors.d.ts → Errors.d.ts} +0 -0
- /package/build-ts/{src/Logger.d.ts → Logger.d.ts} +0 -0
- /package/build-ts/{src/server-modules → server-modules}/GlideFt.d.ts +0 -0
|
@@ -83,34 +83,6 @@ export namespace command_request {
|
|
|
83
83
|
*/
|
|
84
84
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.SlotIdRoute;
|
|
85
85
|
|
|
86
|
-
/**
|
|
87
|
-
* Verifies a SlotIdRoute message.
|
|
88
|
-
* @param message Plain object to verify
|
|
89
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
90
|
-
*/
|
|
91
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Creates a SlotIdRoute message from a plain object. Also converts values to their respective internal types.
|
|
95
|
-
* @param object Plain object
|
|
96
|
-
* @returns SlotIdRoute
|
|
97
|
-
*/
|
|
98
|
-
public static fromObject(object: { [k: string]: any }): command_request.SlotIdRoute;
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Creates a plain object from a SlotIdRoute message. Also converts values to other types if specified.
|
|
102
|
-
* @param message SlotIdRoute
|
|
103
|
-
* @param [options] Conversion options
|
|
104
|
-
* @returns Plain object
|
|
105
|
-
*/
|
|
106
|
-
public static toObject(message: command_request.SlotIdRoute, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Converts this SlotIdRoute to JSON.
|
|
110
|
-
* @returns JSON object
|
|
111
|
-
*/
|
|
112
|
-
public toJSON(): { [k: string]: any };
|
|
113
|
-
|
|
114
86
|
/**
|
|
115
87
|
* Gets the default type url for SlotIdRoute
|
|
116
88
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -186,34 +158,6 @@ export namespace command_request {
|
|
|
186
158
|
*/
|
|
187
159
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.SlotKeyRoute;
|
|
188
160
|
|
|
189
|
-
/**
|
|
190
|
-
* Verifies a SlotKeyRoute message.
|
|
191
|
-
* @param message Plain object to verify
|
|
192
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
193
|
-
*/
|
|
194
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Creates a SlotKeyRoute message from a plain object. Also converts values to their respective internal types.
|
|
198
|
-
* @param object Plain object
|
|
199
|
-
* @returns SlotKeyRoute
|
|
200
|
-
*/
|
|
201
|
-
public static fromObject(object: { [k: string]: any }): command_request.SlotKeyRoute;
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* Creates a plain object from a SlotKeyRoute message. Also converts values to other types if specified.
|
|
205
|
-
* @param message SlotKeyRoute
|
|
206
|
-
* @param [options] Conversion options
|
|
207
|
-
* @returns Plain object
|
|
208
|
-
*/
|
|
209
|
-
public static toObject(message: command_request.SlotKeyRoute, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* Converts this SlotKeyRoute to JSON.
|
|
213
|
-
* @returns JSON object
|
|
214
|
-
*/
|
|
215
|
-
public toJSON(): { [k: string]: any };
|
|
216
|
-
|
|
217
161
|
/**
|
|
218
162
|
* Gets the default type url for SlotKeyRoute
|
|
219
163
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -289,34 +233,6 @@ export namespace command_request {
|
|
|
289
233
|
*/
|
|
290
234
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.ByAddressRoute;
|
|
291
235
|
|
|
292
|
-
/**
|
|
293
|
-
* Verifies a ByAddressRoute message.
|
|
294
|
-
* @param message Plain object to verify
|
|
295
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
296
|
-
*/
|
|
297
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* Creates a ByAddressRoute message from a plain object. Also converts values to their respective internal types.
|
|
301
|
-
* @param object Plain object
|
|
302
|
-
* @returns ByAddressRoute
|
|
303
|
-
*/
|
|
304
|
-
public static fromObject(object: { [k: string]: any }): command_request.ByAddressRoute;
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* Creates a plain object from a ByAddressRoute message. Also converts values to other types if specified.
|
|
308
|
-
* @param message ByAddressRoute
|
|
309
|
-
* @param [options] Conversion options
|
|
310
|
-
* @returns Plain object
|
|
311
|
-
*/
|
|
312
|
-
public static toObject(message: command_request.ByAddressRoute, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* Converts this ByAddressRoute to JSON.
|
|
316
|
-
* @returns JSON object
|
|
317
|
-
*/
|
|
318
|
-
public toJSON(): { [k: string]: any };
|
|
319
|
-
|
|
320
236
|
/**
|
|
321
237
|
* Gets the default type url for ByAddressRoute
|
|
322
238
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -407,34 +323,6 @@ export namespace command_request {
|
|
|
407
323
|
*/
|
|
408
324
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.Routes;
|
|
409
325
|
|
|
410
|
-
/**
|
|
411
|
-
* Verifies a Routes message.
|
|
412
|
-
* @param message Plain object to verify
|
|
413
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
414
|
-
*/
|
|
415
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* Creates a Routes message from a plain object. Also converts values to their respective internal types.
|
|
419
|
-
* @param object Plain object
|
|
420
|
-
* @returns Routes
|
|
421
|
-
*/
|
|
422
|
-
public static fromObject(object: { [k: string]: any }): command_request.Routes;
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* Creates a plain object from a Routes message. Also converts values to other types if specified.
|
|
426
|
-
* @param message Routes
|
|
427
|
-
* @param [options] Conversion options
|
|
428
|
-
* @returns Plain object
|
|
429
|
-
*/
|
|
430
|
-
public static toObject(message: command_request.Routes, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
431
|
-
|
|
432
|
-
/**
|
|
433
|
-
* Converts this Routes to JSON.
|
|
434
|
-
* @returns JSON object
|
|
435
|
-
*/
|
|
436
|
-
public toJSON(): { [k: string]: any };
|
|
437
|
-
|
|
438
326
|
/**
|
|
439
327
|
* Gets the default type url for Routes
|
|
440
328
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -900,34 +788,6 @@ export namespace command_request {
|
|
|
900
788
|
*/
|
|
901
789
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.Command;
|
|
902
790
|
|
|
903
|
-
/**
|
|
904
|
-
* Verifies a Command message.
|
|
905
|
-
* @param message Plain object to verify
|
|
906
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
907
|
-
*/
|
|
908
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
909
|
-
|
|
910
|
-
/**
|
|
911
|
-
* Creates a Command message from a plain object. Also converts values to their respective internal types.
|
|
912
|
-
* @param object Plain object
|
|
913
|
-
* @returns Command
|
|
914
|
-
*/
|
|
915
|
-
public static fromObject(object: { [k: string]: any }): command_request.Command;
|
|
916
|
-
|
|
917
|
-
/**
|
|
918
|
-
* Creates a plain object from a Command message. Also converts values to other types if specified.
|
|
919
|
-
* @param message Command
|
|
920
|
-
* @param [options] Conversion options
|
|
921
|
-
* @returns Plain object
|
|
922
|
-
*/
|
|
923
|
-
public static toObject(message: command_request.Command, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
924
|
-
|
|
925
|
-
/**
|
|
926
|
-
* Converts this Command to JSON.
|
|
927
|
-
* @returns JSON object
|
|
928
|
-
*/
|
|
929
|
-
public toJSON(): { [k: string]: any };
|
|
930
|
-
|
|
931
791
|
/**
|
|
932
792
|
* Gets the default type url for Command
|
|
933
793
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -999,34 +859,6 @@ export namespace command_request {
|
|
|
999
859
|
*/
|
|
1000
860
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.Command.ArgsArray;
|
|
1001
861
|
|
|
1002
|
-
/**
|
|
1003
|
-
* Verifies an ArgsArray message.
|
|
1004
|
-
* @param message Plain object to verify
|
|
1005
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1006
|
-
*/
|
|
1007
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1008
|
-
|
|
1009
|
-
/**
|
|
1010
|
-
* Creates an ArgsArray message from a plain object. Also converts values to their respective internal types.
|
|
1011
|
-
* @param object Plain object
|
|
1012
|
-
* @returns ArgsArray
|
|
1013
|
-
*/
|
|
1014
|
-
public static fromObject(object: { [k: string]: any }): command_request.Command.ArgsArray;
|
|
1015
|
-
|
|
1016
|
-
/**
|
|
1017
|
-
* Creates a plain object from an ArgsArray message. Also converts values to other types if specified.
|
|
1018
|
-
* @param message ArgsArray
|
|
1019
|
-
* @param [options] Conversion options
|
|
1020
|
-
* @returns Plain object
|
|
1021
|
-
*/
|
|
1022
|
-
public static toObject(message: command_request.Command.ArgsArray, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1023
|
-
|
|
1024
|
-
/**
|
|
1025
|
-
* Converts this ArgsArray to JSON.
|
|
1026
|
-
* @returns JSON object
|
|
1027
|
-
*/
|
|
1028
|
-
public toJSON(): { [k: string]: any };
|
|
1029
|
-
|
|
1030
862
|
/**
|
|
1031
863
|
* Gets the default type url for ArgsArray
|
|
1032
864
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -1067,6 +899,12 @@ export namespace command_request {
|
|
|
1067
899
|
/** ScriptInvocationPointers argsPointer. */
|
|
1068
900
|
public argsPointer?: (number|Long|null);
|
|
1069
901
|
|
|
902
|
+
/** ScriptInvocationPointers _keysPointer. */
|
|
903
|
+
public _keysPointer?: "keysPointer";
|
|
904
|
+
|
|
905
|
+
/** ScriptInvocationPointers _argsPointer. */
|
|
906
|
+
public _argsPointer?: "argsPointer";
|
|
907
|
+
|
|
1070
908
|
/**
|
|
1071
909
|
* Creates a new ScriptInvocationPointers instance using the specified properties.
|
|
1072
910
|
* @param [properties] Properties to set
|
|
@@ -1109,34 +947,6 @@ export namespace command_request {
|
|
|
1109
947
|
*/
|
|
1110
948
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.ScriptInvocationPointers;
|
|
1111
949
|
|
|
1112
|
-
/**
|
|
1113
|
-
* Verifies a ScriptInvocationPointers message.
|
|
1114
|
-
* @param message Plain object to verify
|
|
1115
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1116
|
-
*/
|
|
1117
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1118
|
-
|
|
1119
|
-
/**
|
|
1120
|
-
* Creates a ScriptInvocationPointers message from a plain object. Also converts values to their respective internal types.
|
|
1121
|
-
* @param object Plain object
|
|
1122
|
-
* @returns ScriptInvocationPointers
|
|
1123
|
-
*/
|
|
1124
|
-
public static fromObject(object: { [k: string]: any }): command_request.ScriptInvocationPointers;
|
|
1125
|
-
|
|
1126
|
-
/**
|
|
1127
|
-
* Creates a plain object from a ScriptInvocationPointers message. Also converts values to other types if specified.
|
|
1128
|
-
* @param message ScriptInvocationPointers
|
|
1129
|
-
* @param [options] Conversion options
|
|
1130
|
-
* @returns Plain object
|
|
1131
|
-
*/
|
|
1132
|
-
public static toObject(message: command_request.ScriptInvocationPointers, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1133
|
-
|
|
1134
|
-
/**
|
|
1135
|
-
* Converts this ScriptInvocationPointers to JSON.
|
|
1136
|
-
* @returns JSON object
|
|
1137
|
-
*/
|
|
1138
|
-
public toJSON(): { [k: string]: any };
|
|
1139
|
-
|
|
1140
950
|
/**
|
|
1141
951
|
* Gets the default type url for ScriptInvocationPointers
|
|
1142
952
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -1218,34 +1028,6 @@ export namespace command_request {
|
|
|
1218
1028
|
*/
|
|
1219
1029
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.ScriptInvocation;
|
|
1220
1030
|
|
|
1221
|
-
/**
|
|
1222
|
-
* Verifies a ScriptInvocation message.
|
|
1223
|
-
* @param message Plain object to verify
|
|
1224
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1225
|
-
*/
|
|
1226
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1227
|
-
|
|
1228
|
-
/**
|
|
1229
|
-
* Creates a ScriptInvocation message from a plain object. Also converts values to their respective internal types.
|
|
1230
|
-
* @param object Plain object
|
|
1231
|
-
* @returns ScriptInvocation
|
|
1232
|
-
*/
|
|
1233
|
-
public static fromObject(object: { [k: string]: any }): command_request.ScriptInvocation;
|
|
1234
|
-
|
|
1235
|
-
/**
|
|
1236
|
-
* Creates a plain object from a ScriptInvocation message. Also converts values to other types if specified.
|
|
1237
|
-
* @param message ScriptInvocation
|
|
1238
|
-
* @param [options] Conversion options
|
|
1239
|
-
* @returns Plain object
|
|
1240
|
-
*/
|
|
1241
|
-
public static toObject(message: command_request.ScriptInvocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1242
|
-
|
|
1243
|
-
/**
|
|
1244
|
-
* Converts this ScriptInvocation to JSON.
|
|
1245
|
-
* @returns JSON object
|
|
1246
|
-
*/
|
|
1247
|
-
public toJSON(): { [k: string]: any };
|
|
1248
|
-
|
|
1249
1031
|
/**
|
|
1250
1032
|
* Gets the default type url for ScriptInvocation
|
|
1251
1033
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -1254,97 +1036,111 @@ export namespace command_request {
|
|
|
1254
1036
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1255
1037
|
}
|
|
1256
1038
|
|
|
1257
|
-
/** Properties of a
|
|
1258
|
-
interface
|
|
1039
|
+
/** Properties of a Batch. */
|
|
1040
|
+
interface IBatch {
|
|
1041
|
+
|
|
1042
|
+
/** Batch isAtomic */
|
|
1043
|
+
isAtomic?: (boolean|null);
|
|
1259
1044
|
|
|
1260
|
-
/**
|
|
1045
|
+
/** Batch commands */
|
|
1261
1046
|
commands?: (command_request.ICommand[]|null);
|
|
1047
|
+
|
|
1048
|
+
/** Batch raiseOnError */
|
|
1049
|
+
raiseOnError?: (boolean|null);
|
|
1050
|
+
|
|
1051
|
+
/** Batch timeout */
|
|
1052
|
+
timeout?: (number|null);
|
|
1053
|
+
|
|
1054
|
+
/** Batch retryServerError */
|
|
1055
|
+
retryServerError?: (boolean|null);
|
|
1056
|
+
|
|
1057
|
+
/** Batch retryConnectionError */
|
|
1058
|
+
retryConnectionError?: (boolean|null);
|
|
1262
1059
|
}
|
|
1263
1060
|
|
|
1264
|
-
/** Represents a
|
|
1265
|
-
class
|
|
1061
|
+
/** Represents a Batch. */
|
|
1062
|
+
class Batch implements IBatch {
|
|
1266
1063
|
|
|
1267
1064
|
/**
|
|
1268
|
-
* Constructs a new
|
|
1065
|
+
* Constructs a new Batch.
|
|
1269
1066
|
* @param [properties] Properties to set
|
|
1270
1067
|
*/
|
|
1271
|
-
constructor(properties?: command_request.
|
|
1068
|
+
constructor(properties?: command_request.IBatch);
|
|
1272
1069
|
|
|
1273
|
-
/**
|
|
1070
|
+
/** Batch isAtomic. */
|
|
1071
|
+
public isAtomic: boolean;
|
|
1072
|
+
|
|
1073
|
+
/** Batch commands. */
|
|
1274
1074
|
public commands: command_request.ICommand[];
|
|
1275
1075
|
|
|
1076
|
+
/** Batch raiseOnError. */
|
|
1077
|
+
public raiseOnError?: (boolean|null);
|
|
1078
|
+
|
|
1079
|
+
/** Batch timeout. */
|
|
1080
|
+
public timeout?: (number|null);
|
|
1081
|
+
|
|
1082
|
+
/** Batch retryServerError. */
|
|
1083
|
+
public retryServerError?: (boolean|null);
|
|
1084
|
+
|
|
1085
|
+
/** Batch retryConnectionError. */
|
|
1086
|
+
public retryConnectionError?: (boolean|null);
|
|
1087
|
+
|
|
1088
|
+
/** Batch _raiseOnError. */
|
|
1089
|
+
public _raiseOnError?: "raiseOnError";
|
|
1090
|
+
|
|
1091
|
+
/** Batch _timeout. */
|
|
1092
|
+
public _timeout?: "timeout";
|
|
1093
|
+
|
|
1094
|
+
/** Batch _retryServerError. */
|
|
1095
|
+
public _retryServerError?: "retryServerError";
|
|
1096
|
+
|
|
1097
|
+
/** Batch _retryConnectionError. */
|
|
1098
|
+
public _retryConnectionError?: "retryConnectionError";
|
|
1099
|
+
|
|
1276
1100
|
/**
|
|
1277
|
-
* Creates a new
|
|
1101
|
+
* Creates a new Batch instance using the specified properties.
|
|
1278
1102
|
* @param [properties] Properties to set
|
|
1279
|
-
* @returns
|
|
1103
|
+
* @returns Batch instance
|
|
1280
1104
|
*/
|
|
1281
|
-
public static create(properties?: command_request.
|
|
1105
|
+
public static create(properties?: command_request.IBatch): command_request.Batch;
|
|
1282
1106
|
|
|
1283
1107
|
/**
|
|
1284
|
-
* Encodes the specified
|
|
1285
|
-
* @param message
|
|
1108
|
+
* Encodes the specified Batch message. Does not implicitly {@link command_request.Batch.verify|verify} messages.
|
|
1109
|
+
* @param message Batch message or plain object to encode
|
|
1286
1110
|
* @param [writer] Writer to encode to
|
|
1287
1111
|
* @returns Writer
|
|
1288
1112
|
*/
|
|
1289
|
-
public static encode(message: command_request.
|
|
1113
|
+
public static encode(message: command_request.IBatch, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1290
1114
|
|
|
1291
1115
|
/**
|
|
1292
|
-
* Encodes the specified
|
|
1293
|
-
* @param message
|
|
1116
|
+
* Encodes the specified Batch message, length delimited. Does not implicitly {@link command_request.Batch.verify|verify} messages.
|
|
1117
|
+
* @param message Batch message or plain object to encode
|
|
1294
1118
|
* @param [writer] Writer to encode to
|
|
1295
1119
|
* @returns Writer
|
|
1296
1120
|
*/
|
|
1297
|
-
public static encodeDelimited(message: command_request.
|
|
1121
|
+
public static encodeDelimited(message: command_request.IBatch, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1298
1122
|
|
|
1299
1123
|
/**
|
|
1300
|
-
* Decodes a
|
|
1124
|
+
* Decodes a Batch message from the specified reader or buffer.
|
|
1301
1125
|
* @param reader Reader or buffer to decode from
|
|
1302
1126
|
* @param [length] Message length if known beforehand
|
|
1303
|
-
* @returns
|
|
1127
|
+
* @returns Batch
|
|
1304
1128
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1305
1129
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1306
1130
|
*/
|
|
1307
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): command_request.
|
|
1131
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): command_request.Batch;
|
|
1308
1132
|
|
|
1309
1133
|
/**
|
|
1310
|
-
* Decodes a
|
|
1134
|
+
* Decodes a Batch message from the specified reader or buffer, length delimited.
|
|
1311
1135
|
* @param reader Reader or buffer to decode from
|
|
1312
|
-
* @returns
|
|
1136
|
+
* @returns Batch
|
|
1313
1137
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1314
1138
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1315
1139
|
*/
|
|
1316
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.
|
|
1317
|
-
|
|
1318
|
-
/**
|
|
1319
|
-
* Verifies a Transaction message.
|
|
1320
|
-
* @param message Plain object to verify
|
|
1321
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1322
|
-
*/
|
|
1323
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1324
|
-
|
|
1325
|
-
/**
|
|
1326
|
-
* Creates a Transaction message from a plain object. Also converts values to their respective internal types.
|
|
1327
|
-
* @param object Plain object
|
|
1328
|
-
* @returns Transaction
|
|
1329
|
-
*/
|
|
1330
|
-
public static fromObject(object: { [k: string]: any }): command_request.Transaction;
|
|
1140
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.Batch;
|
|
1331
1141
|
|
|
1332
1142
|
/**
|
|
1333
|
-
*
|
|
1334
|
-
* @param message Transaction
|
|
1335
|
-
* @param [options] Conversion options
|
|
1336
|
-
* @returns Plain object
|
|
1337
|
-
*/
|
|
1338
|
-
public static toObject(message: command_request.Transaction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1339
|
-
|
|
1340
|
-
/**
|
|
1341
|
-
* Converts this Transaction to JSON.
|
|
1342
|
-
* @returns JSON object
|
|
1343
|
-
*/
|
|
1344
|
-
public toJSON(): { [k: string]: any };
|
|
1345
|
-
|
|
1346
|
-
/**
|
|
1347
|
-
* Gets the default type url for Transaction
|
|
1143
|
+
* Gets the default type url for Batch
|
|
1348
1144
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1349
1145
|
* @returns The default type url
|
|
1350
1146
|
*/
|
|
@@ -1394,6 +1190,15 @@ export namespace command_request {
|
|
|
1394
1190
|
/** ClusterScan allowNonCoveredSlots. */
|
|
1395
1191
|
public allowNonCoveredSlots: boolean;
|
|
1396
1192
|
|
|
1193
|
+
/** ClusterScan _matchPattern. */
|
|
1194
|
+
public _matchPattern?: "matchPattern";
|
|
1195
|
+
|
|
1196
|
+
/** ClusterScan _count. */
|
|
1197
|
+
public _count?: "count";
|
|
1198
|
+
|
|
1199
|
+
/** ClusterScan _objectType. */
|
|
1200
|
+
public _objectType?: "objectType";
|
|
1201
|
+
|
|
1397
1202
|
/**
|
|
1398
1203
|
* Creates a new ClusterScan instance using the specified properties.
|
|
1399
1204
|
* @param [properties] Properties to set
|
|
@@ -1436,34 +1241,6 @@ export namespace command_request {
|
|
|
1436
1241
|
*/
|
|
1437
1242
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.ClusterScan;
|
|
1438
1243
|
|
|
1439
|
-
/**
|
|
1440
|
-
* Verifies a ClusterScan message.
|
|
1441
|
-
* @param message Plain object to verify
|
|
1442
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1443
|
-
*/
|
|
1444
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1445
|
-
|
|
1446
|
-
/**
|
|
1447
|
-
* Creates a ClusterScan message from a plain object. Also converts values to their respective internal types.
|
|
1448
|
-
* @param object Plain object
|
|
1449
|
-
* @returns ClusterScan
|
|
1450
|
-
*/
|
|
1451
|
-
public static fromObject(object: { [k: string]: any }): command_request.ClusterScan;
|
|
1452
|
-
|
|
1453
|
-
/**
|
|
1454
|
-
* Creates a plain object from a ClusterScan message. Also converts values to other types if specified.
|
|
1455
|
-
* @param message ClusterScan
|
|
1456
|
-
* @param [options] Conversion options
|
|
1457
|
-
* @returns Plain object
|
|
1458
|
-
*/
|
|
1459
|
-
public static toObject(message: command_request.ClusterScan, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1460
|
-
|
|
1461
|
-
/**
|
|
1462
|
-
* Converts this ClusterScan to JSON.
|
|
1463
|
-
* @returns JSON object
|
|
1464
|
-
*/
|
|
1465
|
-
public toJSON(): { [k: string]: any };
|
|
1466
|
-
|
|
1467
1244
|
/**
|
|
1468
1245
|
* Gets the default type url for ClusterScan
|
|
1469
1246
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -1497,6 +1274,9 @@ export namespace command_request {
|
|
|
1497
1274
|
/** UpdateConnectionPassword immediateAuth. */
|
|
1498
1275
|
public immediateAuth: boolean;
|
|
1499
1276
|
|
|
1277
|
+
/** UpdateConnectionPassword _password. */
|
|
1278
|
+
public _password?: "password";
|
|
1279
|
+
|
|
1500
1280
|
/**
|
|
1501
1281
|
* Creates a new UpdateConnectionPassword instance using the specified properties.
|
|
1502
1282
|
* @param [properties] Properties to set
|
|
@@ -1539,34 +1319,6 @@ export namespace command_request {
|
|
|
1539
1319
|
*/
|
|
1540
1320
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.UpdateConnectionPassword;
|
|
1541
1321
|
|
|
1542
|
-
/**
|
|
1543
|
-
* Verifies an UpdateConnectionPassword message.
|
|
1544
|
-
* @param message Plain object to verify
|
|
1545
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1546
|
-
*/
|
|
1547
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1548
|
-
|
|
1549
|
-
/**
|
|
1550
|
-
* Creates an UpdateConnectionPassword message from a plain object. Also converts values to their respective internal types.
|
|
1551
|
-
* @param object Plain object
|
|
1552
|
-
* @returns UpdateConnectionPassword
|
|
1553
|
-
*/
|
|
1554
|
-
public static fromObject(object: { [k: string]: any }): command_request.UpdateConnectionPassword;
|
|
1555
|
-
|
|
1556
|
-
/**
|
|
1557
|
-
* Creates a plain object from an UpdateConnectionPassword message. Also converts values to other types if specified.
|
|
1558
|
-
* @param message UpdateConnectionPassword
|
|
1559
|
-
* @param [options] Conversion options
|
|
1560
|
-
* @returns Plain object
|
|
1561
|
-
*/
|
|
1562
|
-
public static toObject(message: command_request.UpdateConnectionPassword, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1563
|
-
|
|
1564
|
-
/**
|
|
1565
|
-
* Converts this UpdateConnectionPassword to JSON.
|
|
1566
|
-
* @returns JSON object
|
|
1567
|
-
*/
|
|
1568
|
-
public toJSON(): { [k: string]: any };
|
|
1569
|
-
|
|
1570
1322
|
/**
|
|
1571
1323
|
* Gets the default type url for UpdateConnectionPassword
|
|
1572
1324
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -1584,8 +1336,8 @@ export namespace command_request {
|
|
|
1584
1336
|
/** CommandRequest singleCommand */
|
|
1585
1337
|
singleCommand?: (command_request.ICommand|null);
|
|
1586
1338
|
|
|
1587
|
-
/** CommandRequest
|
|
1588
|
-
|
|
1339
|
+
/** CommandRequest batch */
|
|
1340
|
+
batch?: (command_request.IBatch|null);
|
|
1589
1341
|
|
|
1590
1342
|
/** CommandRequest scriptInvocation */
|
|
1591
1343
|
scriptInvocation?: (command_request.IScriptInvocation|null);
|
|
@@ -1618,8 +1370,8 @@ export namespace command_request {
|
|
|
1618
1370
|
/** CommandRequest singleCommand. */
|
|
1619
1371
|
public singleCommand?: (command_request.ICommand|null);
|
|
1620
1372
|
|
|
1621
|
-
/** CommandRequest
|
|
1622
|
-
public
|
|
1373
|
+
/** CommandRequest batch. */
|
|
1374
|
+
public batch?: (command_request.IBatch|null);
|
|
1623
1375
|
|
|
1624
1376
|
/** CommandRequest scriptInvocation. */
|
|
1625
1377
|
public scriptInvocation?: (command_request.IScriptInvocation|null);
|
|
@@ -1637,7 +1389,7 @@ export namespace command_request {
|
|
|
1637
1389
|
public route?: (command_request.IRoutes|null);
|
|
1638
1390
|
|
|
1639
1391
|
/** CommandRequest command. */
|
|
1640
|
-
public command?: ("singleCommand"|"
|
|
1392
|
+
public command?: ("singleCommand"|"batch"|"scriptInvocation"|"scriptInvocationPointers"|"clusterScan"|"updateConnectionPassword");
|
|
1641
1393
|
|
|
1642
1394
|
/**
|
|
1643
1395
|
* Creates a new CommandRequest instance using the specified properties.
|
|
@@ -1681,34 +1433,6 @@ export namespace command_request {
|
|
|
1681
1433
|
*/
|
|
1682
1434
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.CommandRequest;
|
|
1683
1435
|
|
|
1684
|
-
/**
|
|
1685
|
-
* Verifies a CommandRequest message.
|
|
1686
|
-
* @param message Plain object to verify
|
|
1687
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1688
|
-
*/
|
|
1689
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1690
|
-
|
|
1691
|
-
/**
|
|
1692
|
-
* Creates a CommandRequest message from a plain object. Also converts values to their respective internal types.
|
|
1693
|
-
* @param object Plain object
|
|
1694
|
-
* @returns CommandRequest
|
|
1695
|
-
*/
|
|
1696
|
-
public static fromObject(object: { [k: string]: any }): command_request.CommandRequest;
|
|
1697
|
-
|
|
1698
|
-
/**
|
|
1699
|
-
* Creates a plain object from a CommandRequest message. Also converts values to other types if specified.
|
|
1700
|
-
* @param message CommandRequest
|
|
1701
|
-
* @param [options] Conversion options
|
|
1702
|
-
* @returns Plain object
|
|
1703
|
-
*/
|
|
1704
|
-
public static toObject(message: command_request.CommandRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1705
|
-
|
|
1706
|
-
/**
|
|
1707
|
-
* Converts this CommandRequest to JSON.
|
|
1708
|
-
* @returns JSON object
|
|
1709
|
-
*/
|
|
1710
|
-
public toJSON(): { [k: string]: any };
|
|
1711
|
-
|
|
1712
1436
|
/**
|
|
1713
1437
|
* Gets the default type url for CommandRequest
|
|
1714
1438
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -1788,34 +1512,6 @@ export namespace connection_request {
|
|
|
1788
1512
|
*/
|
|
1789
1513
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.NodeAddress;
|
|
1790
1514
|
|
|
1791
|
-
/**
|
|
1792
|
-
* Verifies a NodeAddress message.
|
|
1793
|
-
* @param message Plain object to verify
|
|
1794
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1795
|
-
*/
|
|
1796
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1797
|
-
|
|
1798
|
-
/**
|
|
1799
|
-
* Creates a NodeAddress message from a plain object. Also converts values to their respective internal types.
|
|
1800
|
-
* @param object Plain object
|
|
1801
|
-
* @returns NodeAddress
|
|
1802
|
-
*/
|
|
1803
|
-
public static fromObject(object: { [k: string]: any }): connection_request.NodeAddress;
|
|
1804
|
-
|
|
1805
|
-
/**
|
|
1806
|
-
* Creates a plain object from a NodeAddress message. Also converts values to other types if specified.
|
|
1807
|
-
* @param message NodeAddress
|
|
1808
|
-
* @param [options] Conversion options
|
|
1809
|
-
* @returns Plain object
|
|
1810
|
-
*/
|
|
1811
|
-
public static toObject(message: connection_request.NodeAddress, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1812
|
-
|
|
1813
|
-
/**
|
|
1814
|
-
* Converts this NodeAddress to JSON.
|
|
1815
|
-
* @returns JSON object
|
|
1816
|
-
*/
|
|
1817
|
-
public toJSON(): { [k: string]: any };
|
|
1818
|
-
|
|
1819
1515
|
/**
|
|
1820
1516
|
* Gets the default type url for NodeAddress
|
|
1821
1517
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -1907,34 +1603,6 @@ export namespace connection_request {
|
|
|
1907
1603
|
*/
|
|
1908
1604
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.AuthenticationInfo;
|
|
1909
1605
|
|
|
1910
|
-
/**
|
|
1911
|
-
* Verifies an AuthenticationInfo message.
|
|
1912
|
-
* @param message Plain object to verify
|
|
1913
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1914
|
-
*/
|
|
1915
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1916
|
-
|
|
1917
|
-
/**
|
|
1918
|
-
* Creates an AuthenticationInfo message from a plain object. Also converts values to their respective internal types.
|
|
1919
|
-
* @param object Plain object
|
|
1920
|
-
* @returns AuthenticationInfo
|
|
1921
|
-
*/
|
|
1922
|
-
public static fromObject(object: { [k: string]: any }): connection_request.AuthenticationInfo;
|
|
1923
|
-
|
|
1924
|
-
/**
|
|
1925
|
-
* Creates a plain object from an AuthenticationInfo message. Also converts values to other types if specified.
|
|
1926
|
-
* @param message AuthenticationInfo
|
|
1927
|
-
* @param [options] Conversion options
|
|
1928
|
-
* @returns Plain object
|
|
1929
|
-
*/
|
|
1930
|
-
public static toObject(message: connection_request.AuthenticationInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1931
|
-
|
|
1932
|
-
/**
|
|
1933
|
-
* Converts this AuthenticationInfo to JSON.
|
|
1934
|
-
* @returns JSON object
|
|
1935
|
-
*/
|
|
1936
|
-
public toJSON(): { [k: string]: any };
|
|
1937
|
-
|
|
1938
1606
|
/**
|
|
1939
1607
|
* Gets the default type url for AuthenticationInfo
|
|
1940
1608
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -2010,34 +1678,6 @@ export namespace connection_request {
|
|
|
2010
1678
|
*/
|
|
2011
1679
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.PeriodicChecksManualInterval;
|
|
2012
1680
|
|
|
2013
|
-
/**
|
|
2014
|
-
* Verifies a PeriodicChecksManualInterval message.
|
|
2015
|
-
* @param message Plain object to verify
|
|
2016
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
2017
|
-
*/
|
|
2018
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
2019
|
-
|
|
2020
|
-
/**
|
|
2021
|
-
* Creates a PeriodicChecksManualInterval message from a plain object. Also converts values to their respective internal types.
|
|
2022
|
-
* @param object Plain object
|
|
2023
|
-
* @returns PeriodicChecksManualInterval
|
|
2024
|
-
*/
|
|
2025
|
-
public static fromObject(object: { [k: string]: any }): connection_request.PeriodicChecksManualInterval;
|
|
2026
|
-
|
|
2027
|
-
/**
|
|
2028
|
-
* Creates a plain object from a PeriodicChecksManualInterval message. Also converts values to other types if specified.
|
|
2029
|
-
* @param message PeriodicChecksManualInterval
|
|
2030
|
-
* @param [options] Conversion options
|
|
2031
|
-
* @returns Plain object
|
|
2032
|
-
*/
|
|
2033
|
-
public static toObject(message: connection_request.PeriodicChecksManualInterval, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2034
|
-
|
|
2035
|
-
/**
|
|
2036
|
-
* Converts this PeriodicChecksManualInterval to JSON.
|
|
2037
|
-
* @returns JSON object
|
|
2038
|
-
*/
|
|
2039
|
-
public toJSON(): { [k: string]: any };
|
|
2040
|
-
|
|
2041
1681
|
/**
|
|
2042
1682
|
* Gets the default type url for PeriodicChecksManualInterval
|
|
2043
1683
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -2101,34 +1741,6 @@ export namespace connection_request {
|
|
|
2101
1741
|
*/
|
|
2102
1742
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.PeriodicChecksDisabled;
|
|
2103
1743
|
|
|
2104
|
-
/**
|
|
2105
|
-
* Verifies a PeriodicChecksDisabled message.
|
|
2106
|
-
* @param message Plain object to verify
|
|
2107
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
2108
|
-
*/
|
|
2109
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
2110
|
-
|
|
2111
|
-
/**
|
|
2112
|
-
* Creates a PeriodicChecksDisabled message from a plain object. Also converts values to their respective internal types.
|
|
2113
|
-
* @param object Plain object
|
|
2114
|
-
* @returns PeriodicChecksDisabled
|
|
2115
|
-
*/
|
|
2116
|
-
public static fromObject(object: { [k: string]: any }): connection_request.PeriodicChecksDisabled;
|
|
2117
|
-
|
|
2118
|
-
/**
|
|
2119
|
-
* Creates a plain object from a PeriodicChecksDisabled message. Also converts values to other types if specified.
|
|
2120
|
-
* @param message PeriodicChecksDisabled
|
|
2121
|
-
* @param [options] Conversion options
|
|
2122
|
-
* @returns Plain object
|
|
2123
|
-
*/
|
|
2124
|
-
public static toObject(message: connection_request.PeriodicChecksDisabled, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2125
|
-
|
|
2126
|
-
/**
|
|
2127
|
-
* Converts this PeriodicChecksDisabled to JSON.
|
|
2128
|
-
* @returns JSON object
|
|
2129
|
-
*/
|
|
2130
|
-
public toJSON(): { [k: string]: any };
|
|
2131
|
-
|
|
2132
1744
|
/**
|
|
2133
1745
|
* Gets the default type url for PeriodicChecksDisabled
|
|
2134
1746
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -2205,34 +1817,6 @@ export namespace connection_request {
|
|
|
2205
1817
|
*/
|
|
2206
1818
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.PubSubChannelsOrPatterns;
|
|
2207
1819
|
|
|
2208
|
-
/**
|
|
2209
|
-
* Verifies a PubSubChannelsOrPatterns message.
|
|
2210
|
-
* @param message Plain object to verify
|
|
2211
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
2212
|
-
*/
|
|
2213
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
2214
|
-
|
|
2215
|
-
/**
|
|
2216
|
-
* Creates a PubSubChannelsOrPatterns message from a plain object. Also converts values to their respective internal types.
|
|
2217
|
-
* @param object Plain object
|
|
2218
|
-
* @returns PubSubChannelsOrPatterns
|
|
2219
|
-
*/
|
|
2220
|
-
public static fromObject(object: { [k: string]: any }): connection_request.PubSubChannelsOrPatterns;
|
|
2221
|
-
|
|
2222
|
-
/**
|
|
2223
|
-
* Creates a plain object from a PubSubChannelsOrPatterns message. Also converts values to other types if specified.
|
|
2224
|
-
* @param message PubSubChannelsOrPatterns
|
|
2225
|
-
* @param [options] Conversion options
|
|
2226
|
-
* @returns Plain object
|
|
2227
|
-
*/
|
|
2228
|
-
public static toObject(message: connection_request.PubSubChannelsOrPatterns, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2229
|
-
|
|
2230
|
-
/**
|
|
2231
|
-
* Converts this PubSubChannelsOrPatterns to JSON.
|
|
2232
|
-
* @returns JSON object
|
|
2233
|
-
*/
|
|
2234
|
-
public toJSON(): { [k: string]: any };
|
|
2235
|
-
|
|
2236
1820
|
/**
|
|
2237
1821
|
* Gets the default type url for PubSubChannelsOrPatterns
|
|
2238
1822
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -2303,35 +1887,85 @@ export namespace connection_request {
|
|
|
2303
1887
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.PubSubSubscriptions;
|
|
2304
1888
|
|
|
2305
1889
|
/**
|
|
2306
|
-
*
|
|
2307
|
-
* @param
|
|
2308
|
-
* @returns
|
|
1890
|
+
* Gets the default type url for PubSubSubscriptions
|
|
1891
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1892
|
+
* @returns The default type url
|
|
2309
1893
|
*/
|
|
2310
|
-
public static
|
|
1894
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
/** Properties of an OpenTelemetryConfig. */
|
|
1898
|
+
interface IOpenTelemetryConfig {
|
|
1899
|
+
|
|
1900
|
+
/** OpenTelemetryConfig collectorEndPoint */
|
|
1901
|
+
collectorEndPoint?: (string|null);
|
|
1902
|
+
|
|
1903
|
+
/** OpenTelemetryConfig spanFlushInterval */
|
|
1904
|
+
spanFlushInterval?: (number|Long|null);
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
/** Represents an OpenTelemetryConfig. */
|
|
1908
|
+
class OpenTelemetryConfig implements IOpenTelemetryConfig {
|
|
2311
1909
|
|
|
2312
1910
|
/**
|
|
2313
|
-
*
|
|
2314
|
-
* @param
|
|
2315
|
-
* @returns PubSubSubscriptions
|
|
1911
|
+
* Constructs a new OpenTelemetryConfig.
|
|
1912
|
+
* @param [properties] Properties to set
|
|
2316
1913
|
*/
|
|
2317
|
-
|
|
1914
|
+
constructor(properties?: connection_request.IOpenTelemetryConfig);
|
|
1915
|
+
|
|
1916
|
+
/** OpenTelemetryConfig collectorEndPoint. */
|
|
1917
|
+
public collectorEndPoint: string;
|
|
1918
|
+
|
|
1919
|
+
/** OpenTelemetryConfig spanFlushInterval. */
|
|
1920
|
+
public spanFlushInterval?: (number|Long|null);
|
|
1921
|
+
|
|
1922
|
+
/** OpenTelemetryConfig _spanFlushInterval. */
|
|
1923
|
+
public _spanFlushInterval?: "spanFlushInterval";
|
|
2318
1924
|
|
|
2319
1925
|
/**
|
|
2320
|
-
* Creates a
|
|
2321
|
-
* @param
|
|
2322
|
-
* @
|
|
2323
|
-
* @returns Plain object
|
|
1926
|
+
* Creates a new OpenTelemetryConfig instance using the specified properties.
|
|
1927
|
+
* @param [properties] Properties to set
|
|
1928
|
+
* @returns OpenTelemetryConfig instance
|
|
2324
1929
|
*/
|
|
2325
|
-
public static
|
|
1930
|
+
public static create(properties?: connection_request.IOpenTelemetryConfig): connection_request.OpenTelemetryConfig;
|
|
2326
1931
|
|
|
2327
1932
|
/**
|
|
2328
|
-
*
|
|
2329
|
-
* @
|
|
1933
|
+
* Encodes the specified OpenTelemetryConfig message. Does not implicitly {@link connection_request.OpenTelemetryConfig.verify|verify} messages.
|
|
1934
|
+
* @param message OpenTelemetryConfig message or plain object to encode
|
|
1935
|
+
* @param [writer] Writer to encode to
|
|
1936
|
+
* @returns Writer
|
|
2330
1937
|
*/
|
|
2331
|
-
public
|
|
1938
|
+
public static encode(message: connection_request.IOpenTelemetryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2332
1939
|
|
|
2333
1940
|
/**
|
|
2334
|
-
*
|
|
1941
|
+
* Encodes the specified OpenTelemetryConfig message, length delimited. Does not implicitly {@link connection_request.OpenTelemetryConfig.verify|verify} messages.
|
|
1942
|
+
* @param message OpenTelemetryConfig message or plain object to encode
|
|
1943
|
+
* @param [writer] Writer to encode to
|
|
1944
|
+
* @returns Writer
|
|
1945
|
+
*/
|
|
1946
|
+
public static encodeDelimited(message: connection_request.IOpenTelemetryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
* Decodes an OpenTelemetryConfig message from the specified reader or buffer.
|
|
1950
|
+
* @param reader Reader or buffer to decode from
|
|
1951
|
+
* @param [length] Message length if known beforehand
|
|
1952
|
+
* @returns OpenTelemetryConfig
|
|
1953
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1954
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1955
|
+
*/
|
|
1956
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): connection_request.OpenTelemetryConfig;
|
|
1957
|
+
|
|
1958
|
+
/**
|
|
1959
|
+
* Decodes an OpenTelemetryConfig message from the specified reader or buffer, length delimited.
|
|
1960
|
+
* @param reader Reader or buffer to decode from
|
|
1961
|
+
* @returns OpenTelemetryConfig
|
|
1962
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1963
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1964
|
+
*/
|
|
1965
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.OpenTelemetryConfig;
|
|
1966
|
+
|
|
1967
|
+
/**
|
|
1968
|
+
* Gets the default type url for OpenTelemetryConfig
|
|
2335
1969
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2336
1970
|
* @returns The default type url
|
|
2337
1971
|
*/
|
|
@@ -2388,6 +2022,9 @@ export namespace connection_request {
|
|
|
2388
2022
|
|
|
2389
2023
|
/** ConnectionRequest connectionTimeout */
|
|
2390
2024
|
connectionTimeout?: (number|null);
|
|
2025
|
+
|
|
2026
|
+
/** ConnectionRequest opentelemetryConfig */
|
|
2027
|
+
opentelemetryConfig?: (connection_request.IOpenTelemetryConfig|null);
|
|
2391
2028
|
}
|
|
2392
2029
|
|
|
2393
2030
|
/** Represents a ConnectionRequest. */
|
|
@@ -2447,6 +2084,9 @@ export namespace connection_request {
|
|
|
2447
2084
|
/** ConnectionRequest connectionTimeout. */
|
|
2448
2085
|
public connectionTimeout: number;
|
|
2449
2086
|
|
|
2087
|
+
/** ConnectionRequest opentelemetryConfig. */
|
|
2088
|
+
public opentelemetryConfig?: (connection_request.IOpenTelemetryConfig|null);
|
|
2089
|
+
|
|
2450
2090
|
/** ConnectionRequest periodicChecks. */
|
|
2451
2091
|
public periodicChecks?: ("periodicChecksManualInterval"|"periodicChecksDisabled");
|
|
2452
2092
|
|
|
@@ -2492,34 +2132,6 @@ export namespace connection_request {
|
|
|
2492
2132
|
*/
|
|
2493
2133
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.ConnectionRequest;
|
|
2494
2134
|
|
|
2495
|
-
/**
|
|
2496
|
-
* Verifies a ConnectionRequest message.
|
|
2497
|
-
* @param message Plain object to verify
|
|
2498
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
2499
|
-
*/
|
|
2500
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
2501
|
-
|
|
2502
|
-
/**
|
|
2503
|
-
* Creates a ConnectionRequest message from a plain object. Also converts values to their respective internal types.
|
|
2504
|
-
* @param object Plain object
|
|
2505
|
-
* @returns ConnectionRequest
|
|
2506
|
-
*/
|
|
2507
|
-
public static fromObject(object: { [k: string]: any }): connection_request.ConnectionRequest;
|
|
2508
|
-
|
|
2509
|
-
/**
|
|
2510
|
-
* Creates a plain object from a ConnectionRequest message. Also converts values to other types if specified.
|
|
2511
|
-
* @param message ConnectionRequest
|
|
2512
|
-
* @param [options] Conversion options
|
|
2513
|
-
* @returns Plain object
|
|
2514
|
-
*/
|
|
2515
|
-
public static toObject(message: connection_request.ConnectionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2516
|
-
|
|
2517
|
-
/**
|
|
2518
|
-
* Converts this ConnectionRequest to JSON.
|
|
2519
|
-
* @returns JSON object
|
|
2520
|
-
*/
|
|
2521
|
-
public toJSON(): { [k: string]: any };
|
|
2522
|
-
|
|
2523
2135
|
/**
|
|
2524
2136
|
* Gets the default type url for ConnectionRequest
|
|
2525
2137
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -2539,6 +2151,9 @@ export namespace connection_request {
|
|
|
2539
2151
|
|
|
2540
2152
|
/** ConnectionRetryStrategy exponentBase */
|
|
2541
2153
|
exponentBase?: (number|null);
|
|
2154
|
+
|
|
2155
|
+
/** ConnectionRetryStrategy jitterPercent */
|
|
2156
|
+
jitterPercent?: (number|null);
|
|
2542
2157
|
}
|
|
2543
2158
|
|
|
2544
2159
|
/** Represents a ConnectionRetryStrategy. */
|
|
@@ -2559,6 +2174,12 @@ export namespace connection_request {
|
|
|
2559
2174
|
/** ConnectionRetryStrategy exponentBase. */
|
|
2560
2175
|
public exponentBase: number;
|
|
2561
2176
|
|
|
2177
|
+
/** ConnectionRetryStrategy jitterPercent. */
|
|
2178
|
+
public jitterPercent?: (number|null);
|
|
2179
|
+
|
|
2180
|
+
/** ConnectionRetryStrategy _jitterPercent. */
|
|
2181
|
+
public _jitterPercent?: "jitterPercent";
|
|
2182
|
+
|
|
2562
2183
|
/**
|
|
2563
2184
|
* Creates a new ConnectionRetryStrategy instance using the specified properties.
|
|
2564
2185
|
* @param [properties] Properties to set
|
|
@@ -2601,34 +2222,6 @@ export namespace connection_request {
|
|
|
2601
2222
|
*/
|
|
2602
2223
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.ConnectionRetryStrategy;
|
|
2603
2224
|
|
|
2604
|
-
/**
|
|
2605
|
-
* Verifies a ConnectionRetryStrategy message.
|
|
2606
|
-
* @param message Plain object to verify
|
|
2607
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
2608
|
-
*/
|
|
2609
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
2610
|
-
|
|
2611
|
-
/**
|
|
2612
|
-
* Creates a ConnectionRetryStrategy message from a plain object. Also converts values to their respective internal types.
|
|
2613
|
-
* @param object Plain object
|
|
2614
|
-
* @returns ConnectionRetryStrategy
|
|
2615
|
-
*/
|
|
2616
|
-
public static fromObject(object: { [k: string]: any }): connection_request.ConnectionRetryStrategy;
|
|
2617
|
-
|
|
2618
|
-
/**
|
|
2619
|
-
* Creates a plain object from a ConnectionRetryStrategy message. Also converts values to other types if specified.
|
|
2620
|
-
* @param message ConnectionRetryStrategy
|
|
2621
|
-
* @param [options] Conversion options
|
|
2622
|
-
* @returns Plain object
|
|
2623
|
-
*/
|
|
2624
|
-
public static toObject(message: connection_request.ConnectionRetryStrategy, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2625
|
-
|
|
2626
|
-
/**
|
|
2627
|
-
* Converts this ConnectionRetryStrategy to JSON.
|
|
2628
|
-
* @returns JSON object
|
|
2629
|
-
*/
|
|
2630
|
-
public toJSON(): { [k: string]: any };
|
|
2631
|
-
|
|
2632
2225
|
/**
|
|
2633
2226
|
* Gets the default type url for ConnectionRetryStrategy
|
|
2634
2227
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -2716,34 +2309,6 @@ export namespace response {
|
|
|
2716
2309
|
*/
|
|
2717
2310
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): response.RequestError;
|
|
2718
2311
|
|
|
2719
|
-
/**
|
|
2720
|
-
* Verifies a RequestError message.
|
|
2721
|
-
* @param message Plain object to verify
|
|
2722
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
2723
|
-
*/
|
|
2724
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
2725
|
-
|
|
2726
|
-
/**
|
|
2727
|
-
* Creates a RequestError message from a plain object. Also converts values to their respective internal types.
|
|
2728
|
-
* @param object Plain object
|
|
2729
|
-
* @returns RequestError
|
|
2730
|
-
*/
|
|
2731
|
-
public static fromObject(object: { [k: string]: any }): response.RequestError;
|
|
2732
|
-
|
|
2733
|
-
/**
|
|
2734
|
-
* Creates a plain object from a RequestError message. Also converts values to other types if specified.
|
|
2735
|
-
* @param message RequestError
|
|
2736
|
-
* @param [options] Conversion options
|
|
2737
|
-
* @returns Plain object
|
|
2738
|
-
*/
|
|
2739
|
-
public static toObject(message: response.RequestError, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2740
|
-
|
|
2741
|
-
/**
|
|
2742
|
-
* Converts this RequestError to JSON.
|
|
2743
|
-
* @returns JSON object
|
|
2744
|
-
*/
|
|
2745
|
-
public toJSON(): { [k: string]: any };
|
|
2746
|
-
|
|
2747
2312
|
/**
|
|
2748
2313
|
* Gets the default type url for RequestError
|
|
2749
2314
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -2846,34 +2411,6 @@ export namespace response {
|
|
|
2846
2411
|
*/
|
|
2847
2412
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): response.Response;
|
|
2848
2413
|
|
|
2849
|
-
/**
|
|
2850
|
-
* Verifies a Response message.
|
|
2851
|
-
* @param message Plain object to verify
|
|
2852
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
2853
|
-
*/
|
|
2854
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
2855
|
-
|
|
2856
|
-
/**
|
|
2857
|
-
* Creates a Response message from a plain object. Also converts values to their respective internal types.
|
|
2858
|
-
* @param object Plain object
|
|
2859
|
-
* @returns Response
|
|
2860
|
-
*/
|
|
2861
|
-
public static fromObject(object: { [k: string]: any }): response.Response;
|
|
2862
|
-
|
|
2863
|
-
/**
|
|
2864
|
-
* Creates a plain object from a Response message. Also converts values to other types if specified.
|
|
2865
|
-
* @param message Response
|
|
2866
|
-
* @param [options] Conversion options
|
|
2867
|
-
* @returns Plain object
|
|
2868
|
-
*/
|
|
2869
|
-
public static toObject(message: response.Response, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2870
|
-
|
|
2871
|
-
/**
|
|
2872
|
-
* Converts this Response to JSON.
|
|
2873
|
-
* @returns JSON object
|
|
2874
|
-
*/
|
|
2875
|
-
public toJSON(): { [k: string]: any };
|
|
2876
|
-
|
|
2877
2414
|
/**
|
|
2878
2415
|
* Gets the default type url for Response
|
|
2879
2416
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|