@valkey/valkey-glide-darwin-x64 1.3.4 → 255.255.255

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/package.json +31 -95
  2. package/README.md +0 -106
  3. package/build-ts/index.d.ts +0 -14
  4. package/build-ts/index.js +0 -34
  5. package/build-ts/index.js.map +0 -1
  6. package/build-ts/src/BaseClient.d.ts +0 -5254
  7. package/build-ts/src/BaseClient.js +0 -6391
  8. package/build-ts/src/BaseClient.js.map +0 -1
  9. package/build-ts/src/Commands.d.ts +0 -1034
  10. package/build-ts/src/Commands.js +0 -2710
  11. package/build-ts/src/Commands.js.map +0 -1
  12. package/build-ts/src/Errors.d.ts +0 -21
  13. package/build-ts/src/Errors.js +0 -43
  14. package/build-ts/src/Errors.js.map +0 -1
  15. package/build-ts/src/GlideClient.d.ts +0 -832
  16. package/build-ts/src/GlideClient.js +0 -940
  17. package/build-ts/src/GlideClient.js.map +0 -1
  18. package/build-ts/src/GlideClusterClient.d.ts +0 -1323
  19. package/build-ts/src/GlideClusterClient.js +0 -1276
  20. package/build-ts/src/GlideClusterClient.js.map +0 -1
  21. package/build-ts/src/Logger.d.ts +0 -32
  22. package/build-ts/src/Logger.js +0 -68
  23. package/build-ts/src/Logger.js.map +0 -1
  24. package/build-ts/src/ProtobufMessage.d.ts +0 -2889
  25. package/build-ts/src/ProtobufMessage.js +0 -8785
  26. package/build-ts/src/ProtobufMessage.js.map +0 -1
  27. package/build-ts/src/Transaction.d.ts +0 -2963
  28. package/build-ts/src/Transaction.js +0 -3388
  29. package/build-ts/src/Transaction.js.map +0 -1
  30. package/build-ts/src/server-modules/GlideFt.d.ts +0 -412
  31. package/build-ts/src/server-modules/GlideFt.js +0 -664
  32. package/build-ts/src/server-modules/GlideFt.js.map +0 -1
  33. package/build-ts/src/server-modules/GlideFtOptions.d.ts +0 -244
  34. package/build-ts/src/server-modules/GlideFtOptions.js +0 -6
  35. package/build-ts/src/server-modules/GlideFtOptions.js.map +0 -1
  36. package/build-ts/src/server-modules/GlideJson.d.ts +0 -1335
  37. package/build-ts/src/server-modules/GlideJson.js +0 -1628
  38. package/build-ts/src/server-modules/GlideJson.js.map +0 -1
  39. package/index.ts +0 -15
  40. package/node_modules/glide-rs/glide-rs.darwin-x64.node +0 -0
  41. package/node_modules/glide-rs/index.d.ts +0 -71
  42. package/node_modules/glide-rs/index.js +0 -317
  43. package/node_modules/glide-rs/package.json +0 -65
  44. package/npm/glide/index.ts +0 -391
  45. package/npm/glide/package.json +0 -67
@@ -1,2889 +0,0 @@
1
- import * as $protobuf from "protobufjs";
2
- import Long = require("long");
3
- /** Namespace command_request. */
4
- export namespace command_request {
5
-
6
- /** SimpleRoutes enum. */
7
- enum SimpleRoutes {
8
- AllNodes = 0,
9
- AllPrimaries = 1,
10
- Random = 2
11
- }
12
-
13
- /** SlotTypes enum. */
14
- enum SlotTypes {
15
- Primary = 0,
16
- Replica = 1
17
- }
18
-
19
- /** Properties of a SlotIdRoute. */
20
- interface ISlotIdRoute {
21
-
22
- /** SlotIdRoute slotType */
23
- slotType?: (command_request.SlotTypes|null);
24
-
25
- /** SlotIdRoute slotId */
26
- slotId?: (number|null);
27
- }
28
-
29
- /** Represents a SlotIdRoute. */
30
- class SlotIdRoute implements ISlotIdRoute {
31
-
32
- /**
33
- * Constructs a new SlotIdRoute.
34
- * @param [properties] Properties to set
35
- */
36
- constructor(properties?: command_request.ISlotIdRoute);
37
-
38
- /** SlotIdRoute slotType. */
39
- public slotType: command_request.SlotTypes;
40
-
41
- /** SlotIdRoute slotId. */
42
- public slotId: number;
43
-
44
- /**
45
- * Creates a new SlotIdRoute instance using the specified properties.
46
- * @param [properties] Properties to set
47
- * @returns SlotIdRoute instance
48
- */
49
- public static create(properties?: command_request.ISlotIdRoute): command_request.SlotIdRoute;
50
-
51
- /**
52
- * Encodes the specified SlotIdRoute message. Does not implicitly {@link command_request.SlotIdRoute.verify|verify} messages.
53
- * @param message SlotIdRoute message or plain object to encode
54
- * @param [writer] Writer to encode to
55
- * @returns Writer
56
- */
57
- public static encode(message: command_request.ISlotIdRoute, writer?: $protobuf.Writer): $protobuf.Writer;
58
-
59
- /**
60
- * Encodes the specified SlotIdRoute message, length delimited. Does not implicitly {@link command_request.SlotIdRoute.verify|verify} messages.
61
- * @param message SlotIdRoute message or plain object to encode
62
- * @param [writer] Writer to encode to
63
- * @returns Writer
64
- */
65
- public static encodeDelimited(message: command_request.ISlotIdRoute, writer?: $protobuf.Writer): $protobuf.Writer;
66
-
67
- /**
68
- * Decodes a SlotIdRoute message from the specified reader or buffer.
69
- * @param reader Reader or buffer to decode from
70
- * @param [length] Message length if known beforehand
71
- * @returns SlotIdRoute
72
- * @throws {Error} If the payload is not a reader or valid buffer
73
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
74
- */
75
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): command_request.SlotIdRoute;
76
-
77
- /**
78
- * Decodes a SlotIdRoute message from the specified reader or buffer, length delimited.
79
- * @param reader Reader or buffer to decode from
80
- * @returns SlotIdRoute
81
- * @throws {Error} If the payload is not a reader or valid buffer
82
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
83
- */
84
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.SlotIdRoute;
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
- /**
115
- * Gets the default type url for SlotIdRoute
116
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
117
- * @returns The default type url
118
- */
119
- public static getTypeUrl(typeUrlPrefix?: string): string;
120
- }
121
-
122
- /** Properties of a SlotKeyRoute. */
123
- interface ISlotKeyRoute {
124
-
125
- /** SlotKeyRoute slotType */
126
- slotType?: (command_request.SlotTypes|null);
127
-
128
- /** SlotKeyRoute slotKey */
129
- slotKey?: (string|null);
130
- }
131
-
132
- /** Represents a SlotKeyRoute. */
133
- class SlotKeyRoute implements ISlotKeyRoute {
134
-
135
- /**
136
- * Constructs a new SlotKeyRoute.
137
- * @param [properties] Properties to set
138
- */
139
- constructor(properties?: command_request.ISlotKeyRoute);
140
-
141
- /** SlotKeyRoute slotType. */
142
- public slotType: command_request.SlotTypes;
143
-
144
- /** SlotKeyRoute slotKey. */
145
- public slotKey: string;
146
-
147
- /**
148
- * Creates a new SlotKeyRoute instance using the specified properties.
149
- * @param [properties] Properties to set
150
- * @returns SlotKeyRoute instance
151
- */
152
- public static create(properties?: command_request.ISlotKeyRoute): command_request.SlotKeyRoute;
153
-
154
- /**
155
- * Encodes the specified SlotKeyRoute message. Does not implicitly {@link command_request.SlotKeyRoute.verify|verify} messages.
156
- * @param message SlotKeyRoute message or plain object to encode
157
- * @param [writer] Writer to encode to
158
- * @returns Writer
159
- */
160
- public static encode(message: command_request.ISlotKeyRoute, writer?: $protobuf.Writer): $protobuf.Writer;
161
-
162
- /**
163
- * Encodes the specified SlotKeyRoute message, length delimited. Does not implicitly {@link command_request.SlotKeyRoute.verify|verify} messages.
164
- * @param message SlotKeyRoute message or plain object to encode
165
- * @param [writer] Writer to encode to
166
- * @returns Writer
167
- */
168
- public static encodeDelimited(message: command_request.ISlotKeyRoute, writer?: $protobuf.Writer): $protobuf.Writer;
169
-
170
- /**
171
- * Decodes a SlotKeyRoute message from the specified reader or buffer.
172
- * @param reader Reader or buffer to decode from
173
- * @param [length] Message length if known beforehand
174
- * @returns SlotKeyRoute
175
- * @throws {Error} If the payload is not a reader or valid buffer
176
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
177
- */
178
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): command_request.SlotKeyRoute;
179
-
180
- /**
181
- * Decodes a SlotKeyRoute message from the specified reader or buffer, length delimited.
182
- * @param reader Reader or buffer to decode from
183
- * @returns SlotKeyRoute
184
- * @throws {Error} If the payload is not a reader or valid buffer
185
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
186
- */
187
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.SlotKeyRoute;
188
-
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
- /**
218
- * Gets the default type url for SlotKeyRoute
219
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
220
- * @returns The default type url
221
- */
222
- public static getTypeUrl(typeUrlPrefix?: string): string;
223
- }
224
-
225
- /** Properties of a ByAddressRoute. */
226
- interface IByAddressRoute {
227
-
228
- /** ByAddressRoute host */
229
- host?: (string|null);
230
-
231
- /** ByAddressRoute port */
232
- port?: (number|null);
233
- }
234
-
235
- /** Represents a ByAddressRoute. */
236
- class ByAddressRoute implements IByAddressRoute {
237
-
238
- /**
239
- * Constructs a new ByAddressRoute.
240
- * @param [properties] Properties to set
241
- */
242
- constructor(properties?: command_request.IByAddressRoute);
243
-
244
- /** ByAddressRoute host. */
245
- public host: string;
246
-
247
- /** ByAddressRoute port. */
248
- public port: number;
249
-
250
- /**
251
- * Creates a new ByAddressRoute instance using the specified properties.
252
- * @param [properties] Properties to set
253
- * @returns ByAddressRoute instance
254
- */
255
- public static create(properties?: command_request.IByAddressRoute): command_request.ByAddressRoute;
256
-
257
- /**
258
- * Encodes the specified ByAddressRoute message. Does not implicitly {@link command_request.ByAddressRoute.verify|verify} messages.
259
- * @param message ByAddressRoute message or plain object to encode
260
- * @param [writer] Writer to encode to
261
- * @returns Writer
262
- */
263
- public static encode(message: command_request.IByAddressRoute, writer?: $protobuf.Writer): $protobuf.Writer;
264
-
265
- /**
266
- * Encodes the specified ByAddressRoute message, length delimited. Does not implicitly {@link command_request.ByAddressRoute.verify|verify} messages.
267
- * @param message ByAddressRoute message or plain object to encode
268
- * @param [writer] Writer to encode to
269
- * @returns Writer
270
- */
271
- public static encodeDelimited(message: command_request.IByAddressRoute, writer?: $protobuf.Writer): $protobuf.Writer;
272
-
273
- /**
274
- * Decodes a ByAddressRoute message from the specified reader or buffer.
275
- * @param reader Reader or buffer to decode from
276
- * @param [length] Message length if known beforehand
277
- * @returns ByAddressRoute
278
- * @throws {Error} If the payload is not a reader or valid buffer
279
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
280
- */
281
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): command_request.ByAddressRoute;
282
-
283
- /**
284
- * Decodes a ByAddressRoute message from the specified reader or buffer, length delimited.
285
- * @param reader Reader or buffer to decode from
286
- * @returns ByAddressRoute
287
- * @throws {Error} If the payload is not a reader or valid buffer
288
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
289
- */
290
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.ByAddressRoute;
291
-
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
- /**
321
- * Gets the default type url for ByAddressRoute
322
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
323
- * @returns The default type url
324
- */
325
- public static getTypeUrl(typeUrlPrefix?: string): string;
326
- }
327
-
328
- /** Properties of a Routes. */
329
- interface IRoutes {
330
-
331
- /** Routes simpleRoutes */
332
- simpleRoutes?: (command_request.SimpleRoutes|null);
333
-
334
- /** Routes slotKeyRoute */
335
- slotKeyRoute?: (command_request.ISlotKeyRoute|null);
336
-
337
- /** Routes slotIdRoute */
338
- slotIdRoute?: (command_request.ISlotIdRoute|null);
339
-
340
- /** Routes byAddressRoute */
341
- byAddressRoute?: (command_request.IByAddressRoute|null);
342
- }
343
-
344
- /** Represents a Routes. */
345
- class Routes implements IRoutes {
346
-
347
- /**
348
- * Constructs a new Routes.
349
- * @param [properties] Properties to set
350
- */
351
- constructor(properties?: command_request.IRoutes);
352
-
353
- /** Routes simpleRoutes. */
354
- public simpleRoutes?: (command_request.SimpleRoutes|null);
355
-
356
- /** Routes slotKeyRoute. */
357
- public slotKeyRoute?: (command_request.ISlotKeyRoute|null);
358
-
359
- /** Routes slotIdRoute. */
360
- public slotIdRoute?: (command_request.ISlotIdRoute|null);
361
-
362
- /** Routes byAddressRoute. */
363
- public byAddressRoute?: (command_request.IByAddressRoute|null);
364
-
365
- /** Routes value. */
366
- public value?: ("simpleRoutes"|"slotKeyRoute"|"slotIdRoute"|"byAddressRoute");
367
-
368
- /**
369
- * Creates a new Routes instance using the specified properties.
370
- * @param [properties] Properties to set
371
- * @returns Routes instance
372
- */
373
- public static create(properties?: command_request.IRoutes): command_request.Routes;
374
-
375
- /**
376
- * Encodes the specified Routes message. Does not implicitly {@link command_request.Routes.verify|verify} messages.
377
- * @param message Routes message or plain object to encode
378
- * @param [writer] Writer to encode to
379
- * @returns Writer
380
- */
381
- public static encode(message: command_request.IRoutes, writer?: $protobuf.Writer): $protobuf.Writer;
382
-
383
- /**
384
- * Encodes the specified Routes message, length delimited. Does not implicitly {@link command_request.Routes.verify|verify} messages.
385
- * @param message Routes message or plain object to encode
386
- * @param [writer] Writer to encode to
387
- * @returns Writer
388
- */
389
- public static encodeDelimited(message: command_request.IRoutes, writer?: $protobuf.Writer): $protobuf.Writer;
390
-
391
- /**
392
- * Decodes a Routes message from the specified reader or buffer.
393
- * @param reader Reader or buffer to decode from
394
- * @param [length] Message length if known beforehand
395
- * @returns Routes
396
- * @throws {Error} If the payload is not a reader or valid buffer
397
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
398
- */
399
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): command_request.Routes;
400
-
401
- /**
402
- * Decodes a Routes message from the specified reader or buffer, length delimited.
403
- * @param reader Reader or buffer to decode from
404
- * @returns Routes
405
- * @throws {Error} If the payload is not a reader or valid buffer
406
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
407
- */
408
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.Routes;
409
-
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
- /**
439
- * Gets the default type url for Routes
440
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
441
- * @returns The default type url
442
- */
443
- public static getTypeUrl(typeUrlPrefix?: string): string;
444
- }
445
-
446
- /** RequestType enum. */
447
- enum RequestType {
448
- InvalidRequest = 0,
449
- CustomCommand = 1,
450
- BitCount = 101,
451
- BitField = 102,
452
- BitFieldReadOnly = 103,
453
- BitOp = 104,
454
- BitPos = 105,
455
- GetBit = 106,
456
- SetBit = 107,
457
- Asking = 201,
458
- ClusterAddSlots = 202,
459
- ClusterAddSlotsRange = 203,
460
- ClusterBumpEpoch = 204,
461
- ClusterCountFailureReports = 205,
462
- ClusterCountKeysInSlot = 206,
463
- ClusterDelSlots = 207,
464
- ClusterDelSlotsRange = 208,
465
- ClusterFailover = 209,
466
- ClusterFlushSlots = 210,
467
- ClusterForget = 211,
468
- ClusterGetKeysInSlot = 212,
469
- ClusterInfo = 213,
470
- ClusterKeySlot = 214,
471
- ClusterLinks = 215,
472
- ClusterMeet = 216,
473
- ClusterMyId = 217,
474
- ClusterMyShardId = 218,
475
- ClusterNodes = 219,
476
- ClusterReplicas = 220,
477
- ClusterReplicate = 221,
478
- ClusterReset = 222,
479
- ClusterSaveConfig = 223,
480
- ClusterSetConfigEpoch = 224,
481
- ClusterSetslot = 225,
482
- ClusterShards = 226,
483
- ClusterSlaves = 227,
484
- ClusterSlots = 228,
485
- ReadOnly = 229,
486
- ReadWrite = 230,
487
- Auth = 301,
488
- ClientCaching = 302,
489
- ClientGetName = 303,
490
- ClientGetRedir = 304,
491
- ClientId = 305,
492
- ClientInfo = 306,
493
- ClientKillSimple = 307,
494
- ClientKill = 308,
495
- ClientList = 309,
496
- ClientNoEvict = 310,
497
- ClientNoTouch = 311,
498
- ClientPause = 312,
499
- ClientReply = 313,
500
- ClientSetInfo = 314,
501
- ClientSetName = 315,
502
- ClientTracking = 316,
503
- ClientTrackingInfo = 317,
504
- ClientUnblock = 318,
505
- ClientUnpause = 319,
506
- Echo = 320,
507
- Hello = 321,
508
- Ping = 322,
509
- Quit = 323,
510
- Reset = 324,
511
- Select = 325,
512
- Copy = 401,
513
- Del = 402,
514
- Dump = 403,
515
- Exists = 404,
516
- Expire = 405,
517
- ExpireAt = 406,
518
- ExpireTime = 407,
519
- Keys = 408,
520
- Migrate = 409,
521
- Move = 410,
522
- ObjectEncoding = 411,
523
- ObjectFreq = 412,
524
- ObjectIdleTime = 413,
525
- ObjectRefCount = 414,
526
- Persist = 415,
527
- PExpire = 416,
528
- PExpireAt = 417,
529
- PExpireTime = 418,
530
- PTTL = 419,
531
- RandomKey = 420,
532
- Rename = 421,
533
- RenameNX = 422,
534
- Restore = 423,
535
- Scan = 424,
536
- Sort = 425,
537
- SortReadOnly = 426,
538
- Touch = 427,
539
- TTL = 428,
540
- Type = 429,
541
- Unlink = 430,
542
- Wait = 431,
543
- WaitAof = 432,
544
- GeoAdd = 501,
545
- GeoDist = 502,
546
- GeoHash = 503,
547
- GeoPos = 504,
548
- GeoRadius = 505,
549
- GeoRadiusReadOnly = 506,
550
- GeoRadiusByMember = 507,
551
- GeoRadiusByMemberReadOnly = 508,
552
- GeoSearch = 509,
553
- GeoSearchStore = 510,
554
- HDel = 601,
555
- HExists = 602,
556
- HGet = 603,
557
- HGetAll = 604,
558
- HIncrBy = 605,
559
- HIncrByFloat = 606,
560
- HKeys = 607,
561
- HLen = 608,
562
- HMGet = 609,
563
- HMSet = 610,
564
- HRandField = 611,
565
- HScan = 612,
566
- HSet = 613,
567
- HSetNX = 614,
568
- HStrlen = 615,
569
- HVals = 616,
570
- PfAdd = 701,
571
- PfCount = 702,
572
- PfMerge = 703,
573
- BLMove = 801,
574
- BLMPop = 802,
575
- BLPop = 803,
576
- BRPop = 804,
577
- BRPopLPush = 805,
578
- LIndex = 806,
579
- LInsert = 807,
580
- LLen = 808,
581
- LMove = 809,
582
- LMPop = 810,
583
- LPop = 811,
584
- LPos = 812,
585
- LPush = 813,
586
- LPushX = 814,
587
- LRange = 815,
588
- LRem = 816,
589
- LSet = 817,
590
- LTrim = 818,
591
- RPop = 819,
592
- RPopLPush = 820,
593
- RPush = 821,
594
- RPushX = 822,
595
- PSubscribe = 901,
596
- Publish = 902,
597
- PubSubChannels = 903,
598
- PubSubNumPat = 904,
599
- PubSubNumSub = 905,
600
- PubSubShardChannels = 906,
601
- PubSubShardNumSub = 907,
602
- PUnsubscribe = 908,
603
- SPublish = 909,
604
- SSubscribe = 910,
605
- Subscribe = 911,
606
- SUnsubscribe = 912,
607
- Unsubscribe = 913,
608
- Eval = 1001,
609
- EvalReadOnly = 1002,
610
- EvalSha = 1003,
611
- EvalShaReadOnly = 1004,
612
- FCall = 1005,
613
- FCallReadOnly = 1006,
614
- FunctionDelete = 1007,
615
- FunctionDump = 1008,
616
- FunctionFlush = 1009,
617
- FunctionKill = 1010,
618
- FunctionList = 1011,
619
- FunctionLoad = 1012,
620
- FunctionRestore = 1013,
621
- FunctionStats = 1014,
622
- ScriptDebug = 1015,
623
- ScriptExists = 1016,
624
- ScriptFlush = 1017,
625
- ScriptKill = 1018,
626
- ScriptLoad = 1019,
627
- ScriptShow = 1020,
628
- AclCat = 1101,
629
- AclDelUser = 1102,
630
- AclDryRun = 1103,
631
- AclGenPass = 1104,
632
- AclGetUser = 1105,
633
- AclList = 1106,
634
- AclLoad = 1107,
635
- AclLog = 1108,
636
- AclSave = 1109,
637
- AclSetSser = 1110,
638
- AclUsers = 1111,
639
- AclWhoami = 1112,
640
- BgRewriteAof = 1113,
641
- BgSave = 1114,
642
- Command_ = 1115,
643
- CommandCount = 1116,
644
- CommandDocs = 1117,
645
- CommandGetKeys = 1118,
646
- CommandGetKeysAndFlags = 1119,
647
- CommandInfo = 1120,
648
- CommandList = 1121,
649
- ConfigGet = 1122,
650
- ConfigResetStat = 1123,
651
- ConfigRewrite = 1124,
652
- ConfigSet = 1125,
653
- DBSize = 1126,
654
- FailOver = 1127,
655
- FlushAll = 1128,
656
- FlushDB = 1129,
657
- Info = 1130,
658
- LastSave = 1131,
659
- LatencyDoctor = 1132,
660
- LatencyGraph = 1133,
661
- LatencyHistogram = 1134,
662
- LatencyHistory = 1135,
663
- LatencyLatest = 1136,
664
- LatencyReset = 1137,
665
- Lolwut = 1138,
666
- MemoryDoctor = 1139,
667
- MemoryMallocStats = 1140,
668
- MemoryPurge = 1141,
669
- MemoryStats = 1142,
670
- MemoryUsage = 1143,
671
- ModuleList = 1144,
672
- ModuleLoad = 1145,
673
- ModuleLoadEx = 1146,
674
- ModuleUnload = 1147,
675
- Monitor = 1148,
676
- PSync = 1149,
677
- ReplConf = 1150,
678
- ReplicaOf = 1151,
679
- RestoreAsking = 1152,
680
- Role = 1153,
681
- Save = 1154,
682
- ShutDown = 1155,
683
- SlaveOf = 1156,
684
- SlowLogGet = 1157,
685
- SlowLogLen = 1158,
686
- SlowLogReset = 1159,
687
- SwapDb = 1160,
688
- Sync = 1161,
689
- Time = 1162,
690
- SAdd = 1201,
691
- SCard = 1202,
692
- SDiff = 1203,
693
- SDiffStore = 1204,
694
- SInter = 1205,
695
- SInterCard = 1206,
696
- SInterStore = 1207,
697
- SIsMember = 1208,
698
- SMembers = 1209,
699
- SMIsMember = 1210,
700
- SMove = 1211,
701
- SPop = 1212,
702
- SRandMember = 1213,
703
- SRem = 1214,
704
- SScan = 1215,
705
- SUnion = 1216,
706
- SUnionStore = 1217,
707
- BZMPop = 1301,
708
- BZPopMax = 1302,
709
- BZPopMin = 1303,
710
- ZAdd = 1304,
711
- ZCard = 1305,
712
- ZCount = 1306,
713
- ZDiff = 1307,
714
- ZDiffStore = 1308,
715
- ZIncrBy = 1309,
716
- ZInter = 1310,
717
- ZInterCard = 1311,
718
- ZInterStore = 1312,
719
- ZLexCount = 1313,
720
- ZMPop = 1314,
721
- ZMScore = 1315,
722
- ZPopMax = 1316,
723
- ZPopMin = 1317,
724
- ZRandMember = 1318,
725
- ZRange = 1319,
726
- ZRangeByLex = 1320,
727
- ZRangeByScore = 1321,
728
- ZRangeStore = 1322,
729
- ZRank = 1323,
730
- ZRem = 1324,
731
- ZRemRangeByLex = 1325,
732
- ZRemRangeByRank = 1326,
733
- ZRemRangeByScore = 1327,
734
- ZRevRange = 1328,
735
- ZRevRangeByLex = 1329,
736
- ZRevRangeByScore = 1330,
737
- ZRevRank = 1331,
738
- ZScan = 1332,
739
- ZScore = 1333,
740
- ZUnion = 1334,
741
- ZUnionStore = 1335,
742
- XAck = 1401,
743
- XAdd = 1402,
744
- XAutoClaim = 1403,
745
- XClaim = 1404,
746
- XDel = 1405,
747
- XGroupCreate = 1406,
748
- XGroupCreateConsumer = 1407,
749
- XGroupDelConsumer = 1408,
750
- XGroupDestroy = 1409,
751
- XGroupSetId = 1410,
752
- XInfoConsumers = 1411,
753
- XInfoGroups = 1412,
754
- XInfoStream = 1413,
755
- XLen = 1414,
756
- XPending = 1415,
757
- XRange = 1416,
758
- XRead = 1417,
759
- XReadGroup = 1418,
760
- XRevRange = 1419,
761
- XSetId = 1420,
762
- XTrim = 1421,
763
- Append = 1501,
764
- Decr = 1502,
765
- DecrBy = 1503,
766
- Get = 1504,
767
- GetDel = 1505,
768
- GetEx = 1506,
769
- GetRange = 1507,
770
- GetSet = 1508,
771
- Incr = 1509,
772
- IncrBy = 1510,
773
- IncrByFloat = 1511,
774
- LCS = 1512,
775
- MGet = 1513,
776
- MSet = 1514,
777
- MSetNX = 1515,
778
- PSetEx = 1516,
779
- Set = 1517,
780
- SetEx = 1518,
781
- SetNX = 1519,
782
- SetRange = 1520,
783
- Strlen = 1521,
784
- Substr = 1522,
785
- Discard = 1601,
786
- Exec = 1602,
787
- Multi = 1603,
788
- UnWatch = 1604,
789
- Watch = 1605,
790
- JsonArrAppend = 2001,
791
- JsonArrIndex = 2002,
792
- JsonArrInsert = 2003,
793
- JsonArrLen = 2004,
794
- JsonArrPop = 2005,
795
- JsonArrTrim = 2006,
796
- JsonClear = 2007,
797
- JsonDebug = 2008,
798
- JsonDel = 2009,
799
- JsonForget = 2010,
800
- JsonGet = 2011,
801
- JsonMGet = 2012,
802
- JsonNumIncrBy = 2013,
803
- JsonNumMultBy = 2014,
804
- JsonObjKeys = 2015,
805
- JsonObjLen = 2016,
806
- JsonResp = 2017,
807
- JsonSet = 2018,
808
- JsonStrAppend = 2019,
809
- JsonStrLen = 2020,
810
- JsonToggle = 2021,
811
- JsonType = 2022,
812
- FtList = 2101,
813
- FtAggregate = 2102,
814
- FtAliasAdd = 2103,
815
- FtAliasDel = 2104,
816
- FtAliasList = 2105,
817
- FtAliasUpdate = 2106,
818
- FtCreate = 2107,
819
- FtDropIndex = 2108,
820
- FtExplain = 2109,
821
- FtExplainCli = 2110,
822
- FtInfo = 2111,
823
- FtProfile = 2112,
824
- FtSearch = 2113
825
- }
826
-
827
- /** Properties of a Command. */
828
- interface ICommand {
829
-
830
- /** Command requestType */
831
- requestType?: (command_request.RequestType|null);
832
-
833
- /** Command argsArray */
834
- argsArray?: (command_request.Command.IArgsArray|null);
835
-
836
- /** Command argsVecPointer */
837
- argsVecPointer?: (number|Long|null);
838
- }
839
-
840
- /** Represents a Command. */
841
- class Command implements ICommand {
842
-
843
- /**
844
- * Constructs a new Command.
845
- * @param [properties] Properties to set
846
- */
847
- constructor(properties?: command_request.ICommand);
848
-
849
- /** Command requestType. */
850
- public requestType: command_request.RequestType;
851
-
852
- /** Command argsArray. */
853
- public argsArray?: (command_request.Command.IArgsArray|null);
854
-
855
- /** Command argsVecPointer. */
856
- public argsVecPointer?: (number|Long|null);
857
-
858
- /** Command args. */
859
- public args?: ("argsArray"|"argsVecPointer");
860
-
861
- /**
862
- * Creates a new Command instance using the specified properties.
863
- * @param [properties] Properties to set
864
- * @returns Command instance
865
- */
866
- public static create(properties?: command_request.ICommand): command_request.Command;
867
-
868
- /**
869
- * Encodes the specified Command message. Does not implicitly {@link command_request.Command.verify|verify} messages.
870
- * @param message Command message or plain object to encode
871
- * @param [writer] Writer to encode to
872
- * @returns Writer
873
- */
874
- public static encode(message: command_request.ICommand, writer?: $protobuf.Writer): $protobuf.Writer;
875
-
876
- /**
877
- * Encodes the specified Command message, length delimited. Does not implicitly {@link command_request.Command.verify|verify} messages.
878
- * @param message Command message or plain object to encode
879
- * @param [writer] Writer to encode to
880
- * @returns Writer
881
- */
882
- public static encodeDelimited(message: command_request.ICommand, writer?: $protobuf.Writer): $protobuf.Writer;
883
-
884
- /**
885
- * Decodes a Command message from the specified reader or buffer.
886
- * @param reader Reader or buffer to decode from
887
- * @param [length] Message length if known beforehand
888
- * @returns Command
889
- * @throws {Error} If the payload is not a reader or valid buffer
890
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
891
- */
892
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): command_request.Command;
893
-
894
- /**
895
- * Decodes a Command message from the specified reader or buffer, length delimited.
896
- * @param reader Reader or buffer to decode from
897
- * @returns Command
898
- * @throws {Error} If the payload is not a reader or valid buffer
899
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
900
- */
901
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.Command;
902
-
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
- /**
932
- * Gets the default type url for Command
933
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
934
- * @returns The default type url
935
- */
936
- public static getTypeUrl(typeUrlPrefix?: string): string;
937
- }
938
-
939
- namespace Command {
940
-
941
- /** Properties of an ArgsArray. */
942
- interface IArgsArray {
943
-
944
- /** ArgsArray args */
945
- args?: (Uint8Array[]|null);
946
- }
947
-
948
- /** Represents an ArgsArray. */
949
- class ArgsArray implements IArgsArray {
950
-
951
- /**
952
- * Constructs a new ArgsArray.
953
- * @param [properties] Properties to set
954
- */
955
- constructor(properties?: command_request.Command.IArgsArray);
956
-
957
- /** ArgsArray args. */
958
- public args: Uint8Array[];
959
-
960
- /**
961
- * Creates a new ArgsArray instance using the specified properties.
962
- * @param [properties] Properties to set
963
- * @returns ArgsArray instance
964
- */
965
- public static create(properties?: command_request.Command.IArgsArray): command_request.Command.ArgsArray;
966
-
967
- /**
968
- * Encodes the specified ArgsArray message. Does not implicitly {@link command_request.Command.ArgsArray.verify|verify} messages.
969
- * @param message ArgsArray message or plain object to encode
970
- * @param [writer] Writer to encode to
971
- * @returns Writer
972
- */
973
- public static encode(message: command_request.Command.IArgsArray, writer?: $protobuf.Writer): $protobuf.Writer;
974
-
975
- /**
976
- * Encodes the specified ArgsArray message, length delimited. Does not implicitly {@link command_request.Command.ArgsArray.verify|verify} messages.
977
- * @param message ArgsArray message or plain object to encode
978
- * @param [writer] Writer to encode to
979
- * @returns Writer
980
- */
981
- public static encodeDelimited(message: command_request.Command.IArgsArray, writer?: $protobuf.Writer): $protobuf.Writer;
982
-
983
- /**
984
- * Decodes an ArgsArray message from the specified reader or buffer.
985
- * @param reader Reader or buffer to decode from
986
- * @param [length] Message length if known beforehand
987
- * @returns ArgsArray
988
- * @throws {Error} If the payload is not a reader or valid buffer
989
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
990
- */
991
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): command_request.Command.ArgsArray;
992
-
993
- /**
994
- * Decodes an ArgsArray message from the specified reader or buffer, length delimited.
995
- * @param reader Reader or buffer to decode from
996
- * @returns ArgsArray
997
- * @throws {Error} If the payload is not a reader or valid buffer
998
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
999
- */
1000
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.Command.ArgsArray;
1001
-
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
- /**
1031
- * Gets the default type url for ArgsArray
1032
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1033
- * @returns The default type url
1034
- */
1035
- public static getTypeUrl(typeUrlPrefix?: string): string;
1036
- }
1037
- }
1038
-
1039
- /** Properties of a ScriptInvocationPointers. */
1040
- interface IScriptInvocationPointers {
1041
-
1042
- /** ScriptInvocationPointers hash */
1043
- hash?: (string|null);
1044
-
1045
- /** ScriptInvocationPointers keysPointer */
1046
- keysPointer?: (number|Long|null);
1047
-
1048
- /** ScriptInvocationPointers argsPointer */
1049
- argsPointer?: (number|Long|null);
1050
- }
1051
-
1052
- /** Represents a ScriptInvocationPointers. */
1053
- class ScriptInvocationPointers implements IScriptInvocationPointers {
1054
-
1055
- /**
1056
- * Constructs a new ScriptInvocationPointers.
1057
- * @param [properties] Properties to set
1058
- */
1059
- constructor(properties?: command_request.IScriptInvocationPointers);
1060
-
1061
- /** ScriptInvocationPointers hash. */
1062
- public hash: string;
1063
-
1064
- /** ScriptInvocationPointers keysPointer. */
1065
- public keysPointer?: (number|Long|null);
1066
-
1067
- /** ScriptInvocationPointers argsPointer. */
1068
- public argsPointer?: (number|Long|null);
1069
-
1070
- /**
1071
- * Creates a new ScriptInvocationPointers instance using the specified properties.
1072
- * @param [properties] Properties to set
1073
- * @returns ScriptInvocationPointers instance
1074
- */
1075
- public static create(properties?: command_request.IScriptInvocationPointers): command_request.ScriptInvocationPointers;
1076
-
1077
- /**
1078
- * Encodes the specified ScriptInvocationPointers message. Does not implicitly {@link command_request.ScriptInvocationPointers.verify|verify} messages.
1079
- * @param message ScriptInvocationPointers message or plain object to encode
1080
- * @param [writer] Writer to encode to
1081
- * @returns Writer
1082
- */
1083
- public static encode(message: command_request.IScriptInvocationPointers, writer?: $protobuf.Writer): $protobuf.Writer;
1084
-
1085
- /**
1086
- * Encodes the specified ScriptInvocationPointers message, length delimited. Does not implicitly {@link command_request.ScriptInvocationPointers.verify|verify} messages.
1087
- * @param message ScriptInvocationPointers message or plain object to encode
1088
- * @param [writer] Writer to encode to
1089
- * @returns Writer
1090
- */
1091
- public static encodeDelimited(message: command_request.IScriptInvocationPointers, writer?: $protobuf.Writer): $protobuf.Writer;
1092
-
1093
- /**
1094
- * Decodes a ScriptInvocationPointers message from the specified reader or buffer.
1095
- * @param reader Reader or buffer to decode from
1096
- * @param [length] Message length if known beforehand
1097
- * @returns ScriptInvocationPointers
1098
- * @throws {Error} If the payload is not a reader or valid buffer
1099
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1100
- */
1101
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): command_request.ScriptInvocationPointers;
1102
-
1103
- /**
1104
- * Decodes a ScriptInvocationPointers message from the specified reader or buffer, length delimited.
1105
- * @param reader Reader or buffer to decode from
1106
- * @returns ScriptInvocationPointers
1107
- * @throws {Error} If the payload is not a reader or valid buffer
1108
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1109
- */
1110
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.ScriptInvocationPointers;
1111
-
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
- /**
1141
- * Gets the default type url for ScriptInvocationPointers
1142
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1143
- * @returns The default type url
1144
- */
1145
- public static getTypeUrl(typeUrlPrefix?: string): string;
1146
- }
1147
-
1148
- /** Properties of a ScriptInvocation. */
1149
- interface IScriptInvocation {
1150
-
1151
- /** ScriptInvocation hash */
1152
- hash?: (string|null);
1153
-
1154
- /** ScriptInvocation keys */
1155
- keys?: (Uint8Array[]|null);
1156
-
1157
- /** ScriptInvocation args */
1158
- args?: (Uint8Array[]|null);
1159
- }
1160
-
1161
- /** Represents a ScriptInvocation. */
1162
- class ScriptInvocation implements IScriptInvocation {
1163
-
1164
- /**
1165
- * Constructs a new ScriptInvocation.
1166
- * @param [properties] Properties to set
1167
- */
1168
- constructor(properties?: command_request.IScriptInvocation);
1169
-
1170
- /** ScriptInvocation hash. */
1171
- public hash: string;
1172
-
1173
- /** ScriptInvocation keys. */
1174
- public keys: Uint8Array[];
1175
-
1176
- /** ScriptInvocation args. */
1177
- public args: Uint8Array[];
1178
-
1179
- /**
1180
- * Creates a new ScriptInvocation instance using the specified properties.
1181
- * @param [properties] Properties to set
1182
- * @returns ScriptInvocation instance
1183
- */
1184
- public static create(properties?: command_request.IScriptInvocation): command_request.ScriptInvocation;
1185
-
1186
- /**
1187
- * Encodes the specified ScriptInvocation message. Does not implicitly {@link command_request.ScriptInvocation.verify|verify} messages.
1188
- * @param message ScriptInvocation message or plain object to encode
1189
- * @param [writer] Writer to encode to
1190
- * @returns Writer
1191
- */
1192
- public static encode(message: command_request.IScriptInvocation, writer?: $protobuf.Writer): $protobuf.Writer;
1193
-
1194
- /**
1195
- * Encodes the specified ScriptInvocation message, length delimited. Does not implicitly {@link command_request.ScriptInvocation.verify|verify} messages.
1196
- * @param message ScriptInvocation message or plain object to encode
1197
- * @param [writer] Writer to encode to
1198
- * @returns Writer
1199
- */
1200
- public static encodeDelimited(message: command_request.IScriptInvocation, writer?: $protobuf.Writer): $protobuf.Writer;
1201
-
1202
- /**
1203
- * Decodes a ScriptInvocation message from the specified reader or buffer.
1204
- * @param reader Reader or buffer to decode from
1205
- * @param [length] Message length if known beforehand
1206
- * @returns ScriptInvocation
1207
- * @throws {Error} If the payload is not a reader or valid buffer
1208
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1209
- */
1210
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): command_request.ScriptInvocation;
1211
-
1212
- /**
1213
- * Decodes a ScriptInvocation message from the specified reader or buffer, length delimited.
1214
- * @param reader Reader or buffer to decode from
1215
- * @returns ScriptInvocation
1216
- * @throws {Error} If the payload is not a reader or valid buffer
1217
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1218
- */
1219
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.ScriptInvocation;
1220
-
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
- /**
1250
- * Gets the default type url for ScriptInvocation
1251
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1252
- * @returns The default type url
1253
- */
1254
- public static getTypeUrl(typeUrlPrefix?: string): string;
1255
- }
1256
-
1257
- /** Properties of a Transaction. */
1258
- interface ITransaction {
1259
-
1260
- /** Transaction commands */
1261
- commands?: (command_request.ICommand[]|null);
1262
- }
1263
-
1264
- /** Represents a Transaction. */
1265
- class Transaction implements ITransaction {
1266
-
1267
- /**
1268
- * Constructs a new Transaction.
1269
- * @param [properties] Properties to set
1270
- */
1271
- constructor(properties?: command_request.ITransaction);
1272
-
1273
- /** Transaction commands. */
1274
- public commands: command_request.ICommand[];
1275
-
1276
- /**
1277
- * Creates a new Transaction instance using the specified properties.
1278
- * @param [properties] Properties to set
1279
- * @returns Transaction instance
1280
- */
1281
- public static create(properties?: command_request.ITransaction): command_request.Transaction;
1282
-
1283
- /**
1284
- * Encodes the specified Transaction message. Does not implicitly {@link command_request.Transaction.verify|verify} messages.
1285
- * @param message Transaction message or plain object to encode
1286
- * @param [writer] Writer to encode to
1287
- * @returns Writer
1288
- */
1289
- public static encode(message: command_request.ITransaction, writer?: $protobuf.Writer): $protobuf.Writer;
1290
-
1291
- /**
1292
- * Encodes the specified Transaction message, length delimited. Does not implicitly {@link command_request.Transaction.verify|verify} messages.
1293
- * @param message Transaction message or plain object to encode
1294
- * @param [writer] Writer to encode to
1295
- * @returns Writer
1296
- */
1297
- public static encodeDelimited(message: command_request.ITransaction, writer?: $protobuf.Writer): $protobuf.Writer;
1298
-
1299
- /**
1300
- * Decodes a Transaction message from the specified reader or buffer.
1301
- * @param reader Reader or buffer to decode from
1302
- * @param [length] Message length if known beforehand
1303
- * @returns Transaction
1304
- * @throws {Error} If the payload is not a reader or valid buffer
1305
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1306
- */
1307
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): command_request.Transaction;
1308
-
1309
- /**
1310
- * Decodes a Transaction message from the specified reader or buffer, length delimited.
1311
- * @param reader Reader or buffer to decode from
1312
- * @returns Transaction
1313
- * @throws {Error} If the payload is not a reader or valid buffer
1314
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1315
- */
1316
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.Transaction;
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;
1331
-
1332
- /**
1333
- * Creates a plain object from a Transaction message. Also converts values to other types if specified.
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
1348
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1349
- * @returns The default type url
1350
- */
1351
- public static getTypeUrl(typeUrlPrefix?: string): string;
1352
- }
1353
-
1354
- /** Properties of a ClusterScan. */
1355
- interface IClusterScan {
1356
-
1357
- /** ClusterScan cursor */
1358
- cursor?: (string|null);
1359
-
1360
- /** ClusterScan matchPattern */
1361
- matchPattern?: (Uint8Array|null);
1362
-
1363
- /** ClusterScan count */
1364
- count?: (number|Long|null);
1365
-
1366
- /** ClusterScan objectType */
1367
- objectType?: (string|null);
1368
-
1369
- /** ClusterScan allowNonCoveredSlots */
1370
- allowNonCoveredSlots?: (boolean|null);
1371
- }
1372
-
1373
- /** Represents a ClusterScan. */
1374
- class ClusterScan implements IClusterScan {
1375
-
1376
- /**
1377
- * Constructs a new ClusterScan.
1378
- * @param [properties] Properties to set
1379
- */
1380
- constructor(properties?: command_request.IClusterScan);
1381
-
1382
- /** ClusterScan cursor. */
1383
- public cursor: string;
1384
-
1385
- /** ClusterScan matchPattern. */
1386
- public matchPattern?: (Uint8Array|null);
1387
-
1388
- /** ClusterScan count. */
1389
- public count?: (number|Long|null);
1390
-
1391
- /** ClusterScan objectType. */
1392
- public objectType?: (string|null);
1393
-
1394
- /** ClusterScan allowNonCoveredSlots. */
1395
- public allowNonCoveredSlots: boolean;
1396
-
1397
- /**
1398
- * Creates a new ClusterScan instance using the specified properties.
1399
- * @param [properties] Properties to set
1400
- * @returns ClusterScan instance
1401
- */
1402
- public static create(properties?: command_request.IClusterScan): command_request.ClusterScan;
1403
-
1404
- /**
1405
- * Encodes the specified ClusterScan message. Does not implicitly {@link command_request.ClusterScan.verify|verify} messages.
1406
- * @param message ClusterScan message or plain object to encode
1407
- * @param [writer] Writer to encode to
1408
- * @returns Writer
1409
- */
1410
- public static encode(message: command_request.IClusterScan, writer?: $protobuf.Writer): $protobuf.Writer;
1411
-
1412
- /**
1413
- * Encodes the specified ClusterScan message, length delimited. Does not implicitly {@link command_request.ClusterScan.verify|verify} messages.
1414
- * @param message ClusterScan message or plain object to encode
1415
- * @param [writer] Writer to encode to
1416
- * @returns Writer
1417
- */
1418
- public static encodeDelimited(message: command_request.IClusterScan, writer?: $protobuf.Writer): $protobuf.Writer;
1419
-
1420
- /**
1421
- * Decodes a ClusterScan message from the specified reader or buffer.
1422
- * @param reader Reader or buffer to decode from
1423
- * @param [length] Message length if known beforehand
1424
- * @returns ClusterScan
1425
- * @throws {Error} If the payload is not a reader or valid buffer
1426
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1427
- */
1428
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): command_request.ClusterScan;
1429
-
1430
- /**
1431
- * Decodes a ClusterScan message from the specified reader or buffer, length delimited.
1432
- * @param reader Reader or buffer to decode from
1433
- * @returns ClusterScan
1434
- * @throws {Error} If the payload is not a reader or valid buffer
1435
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1436
- */
1437
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.ClusterScan;
1438
-
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
- /**
1468
- * Gets the default type url for ClusterScan
1469
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1470
- * @returns The default type url
1471
- */
1472
- public static getTypeUrl(typeUrlPrefix?: string): string;
1473
- }
1474
-
1475
- /** Properties of an UpdateConnectionPassword. */
1476
- interface IUpdateConnectionPassword {
1477
-
1478
- /** UpdateConnectionPassword password */
1479
- password?: (string|null);
1480
-
1481
- /** UpdateConnectionPassword immediateAuth */
1482
- immediateAuth?: (boolean|null);
1483
- }
1484
-
1485
- /** Represents an UpdateConnectionPassword. */
1486
- class UpdateConnectionPassword implements IUpdateConnectionPassword {
1487
-
1488
- /**
1489
- * Constructs a new UpdateConnectionPassword.
1490
- * @param [properties] Properties to set
1491
- */
1492
- constructor(properties?: command_request.IUpdateConnectionPassword);
1493
-
1494
- /** UpdateConnectionPassword password. */
1495
- public password?: (string|null);
1496
-
1497
- /** UpdateConnectionPassword immediateAuth. */
1498
- public immediateAuth: boolean;
1499
-
1500
- /**
1501
- * Creates a new UpdateConnectionPassword instance using the specified properties.
1502
- * @param [properties] Properties to set
1503
- * @returns UpdateConnectionPassword instance
1504
- */
1505
- public static create(properties?: command_request.IUpdateConnectionPassword): command_request.UpdateConnectionPassword;
1506
-
1507
- /**
1508
- * Encodes the specified UpdateConnectionPassword message. Does not implicitly {@link command_request.UpdateConnectionPassword.verify|verify} messages.
1509
- * @param message UpdateConnectionPassword message or plain object to encode
1510
- * @param [writer] Writer to encode to
1511
- * @returns Writer
1512
- */
1513
- public static encode(message: command_request.IUpdateConnectionPassword, writer?: $protobuf.Writer): $protobuf.Writer;
1514
-
1515
- /**
1516
- * Encodes the specified UpdateConnectionPassword message, length delimited. Does not implicitly {@link command_request.UpdateConnectionPassword.verify|verify} messages.
1517
- * @param message UpdateConnectionPassword message or plain object to encode
1518
- * @param [writer] Writer to encode to
1519
- * @returns Writer
1520
- */
1521
- public static encodeDelimited(message: command_request.IUpdateConnectionPassword, writer?: $protobuf.Writer): $protobuf.Writer;
1522
-
1523
- /**
1524
- * Decodes an UpdateConnectionPassword message from the specified reader or buffer.
1525
- * @param reader Reader or buffer to decode from
1526
- * @param [length] Message length if known beforehand
1527
- * @returns UpdateConnectionPassword
1528
- * @throws {Error} If the payload is not a reader or valid buffer
1529
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1530
- */
1531
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): command_request.UpdateConnectionPassword;
1532
-
1533
- /**
1534
- * Decodes an UpdateConnectionPassword message from the specified reader or buffer, length delimited.
1535
- * @param reader Reader or buffer to decode from
1536
- * @returns UpdateConnectionPassword
1537
- * @throws {Error} If the payload is not a reader or valid buffer
1538
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1539
- */
1540
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.UpdateConnectionPassword;
1541
-
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
- /**
1571
- * Gets the default type url for UpdateConnectionPassword
1572
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1573
- * @returns The default type url
1574
- */
1575
- public static getTypeUrl(typeUrlPrefix?: string): string;
1576
- }
1577
-
1578
- /** Properties of a CommandRequest. */
1579
- interface ICommandRequest {
1580
-
1581
- /** CommandRequest callbackIdx */
1582
- callbackIdx?: (number|null);
1583
-
1584
- /** CommandRequest singleCommand */
1585
- singleCommand?: (command_request.ICommand|null);
1586
-
1587
- /** CommandRequest transaction */
1588
- transaction?: (command_request.ITransaction|null);
1589
-
1590
- /** CommandRequest scriptInvocation */
1591
- scriptInvocation?: (command_request.IScriptInvocation|null);
1592
-
1593
- /** CommandRequest scriptInvocationPointers */
1594
- scriptInvocationPointers?: (command_request.IScriptInvocationPointers|null);
1595
-
1596
- /** CommandRequest clusterScan */
1597
- clusterScan?: (command_request.IClusterScan|null);
1598
-
1599
- /** CommandRequest updateConnectionPassword */
1600
- updateConnectionPassword?: (command_request.IUpdateConnectionPassword|null);
1601
-
1602
- /** CommandRequest route */
1603
- route?: (command_request.IRoutes|null);
1604
- }
1605
-
1606
- /** Represents a CommandRequest. */
1607
- class CommandRequest implements ICommandRequest {
1608
-
1609
- /**
1610
- * Constructs a new CommandRequest.
1611
- * @param [properties] Properties to set
1612
- */
1613
- constructor(properties?: command_request.ICommandRequest);
1614
-
1615
- /** CommandRequest callbackIdx. */
1616
- public callbackIdx: number;
1617
-
1618
- /** CommandRequest singleCommand. */
1619
- public singleCommand?: (command_request.ICommand|null);
1620
-
1621
- /** CommandRequest transaction. */
1622
- public transaction?: (command_request.ITransaction|null);
1623
-
1624
- /** CommandRequest scriptInvocation. */
1625
- public scriptInvocation?: (command_request.IScriptInvocation|null);
1626
-
1627
- /** CommandRequest scriptInvocationPointers. */
1628
- public scriptInvocationPointers?: (command_request.IScriptInvocationPointers|null);
1629
-
1630
- /** CommandRequest clusterScan. */
1631
- public clusterScan?: (command_request.IClusterScan|null);
1632
-
1633
- /** CommandRequest updateConnectionPassword. */
1634
- public updateConnectionPassword?: (command_request.IUpdateConnectionPassword|null);
1635
-
1636
- /** CommandRequest route. */
1637
- public route?: (command_request.IRoutes|null);
1638
-
1639
- /** CommandRequest command. */
1640
- public command?: ("singleCommand"|"transaction"|"scriptInvocation"|"scriptInvocationPointers"|"clusterScan"|"updateConnectionPassword");
1641
-
1642
- /**
1643
- * Creates a new CommandRequest instance using the specified properties.
1644
- * @param [properties] Properties to set
1645
- * @returns CommandRequest instance
1646
- */
1647
- public static create(properties?: command_request.ICommandRequest): command_request.CommandRequest;
1648
-
1649
- /**
1650
- * Encodes the specified CommandRequest message. Does not implicitly {@link command_request.CommandRequest.verify|verify} messages.
1651
- * @param message CommandRequest message or plain object to encode
1652
- * @param [writer] Writer to encode to
1653
- * @returns Writer
1654
- */
1655
- public static encode(message: command_request.ICommandRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1656
-
1657
- /**
1658
- * Encodes the specified CommandRequest message, length delimited. Does not implicitly {@link command_request.CommandRequest.verify|verify} messages.
1659
- * @param message CommandRequest message or plain object to encode
1660
- * @param [writer] Writer to encode to
1661
- * @returns Writer
1662
- */
1663
- public static encodeDelimited(message: command_request.ICommandRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1664
-
1665
- /**
1666
- * Decodes a CommandRequest message from the specified reader or buffer.
1667
- * @param reader Reader or buffer to decode from
1668
- * @param [length] Message length if known beforehand
1669
- * @returns CommandRequest
1670
- * @throws {Error} If the payload is not a reader or valid buffer
1671
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1672
- */
1673
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): command_request.CommandRequest;
1674
-
1675
- /**
1676
- * Decodes a CommandRequest message from the specified reader or buffer, length delimited.
1677
- * @param reader Reader or buffer to decode from
1678
- * @returns CommandRequest
1679
- * @throws {Error} If the payload is not a reader or valid buffer
1680
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1681
- */
1682
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.CommandRequest;
1683
-
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
- /**
1713
- * Gets the default type url for CommandRequest
1714
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1715
- * @returns The default type url
1716
- */
1717
- public static getTypeUrl(typeUrlPrefix?: string): string;
1718
- }
1719
- }
1720
-
1721
- /** Namespace connection_request. */
1722
- export namespace connection_request {
1723
-
1724
- /** Properties of a NodeAddress. */
1725
- interface INodeAddress {
1726
-
1727
- /** NodeAddress host */
1728
- host?: (string|null);
1729
-
1730
- /** NodeAddress port */
1731
- port?: (number|null);
1732
- }
1733
-
1734
- /** Represents a NodeAddress. */
1735
- class NodeAddress implements INodeAddress {
1736
-
1737
- /**
1738
- * Constructs a new NodeAddress.
1739
- * @param [properties] Properties to set
1740
- */
1741
- constructor(properties?: connection_request.INodeAddress);
1742
-
1743
- /** NodeAddress host. */
1744
- public host: string;
1745
-
1746
- /** NodeAddress port. */
1747
- public port: number;
1748
-
1749
- /**
1750
- * Creates a new NodeAddress instance using the specified properties.
1751
- * @param [properties] Properties to set
1752
- * @returns NodeAddress instance
1753
- */
1754
- public static create(properties?: connection_request.INodeAddress): connection_request.NodeAddress;
1755
-
1756
- /**
1757
- * Encodes the specified NodeAddress message. Does not implicitly {@link connection_request.NodeAddress.verify|verify} messages.
1758
- * @param message NodeAddress message or plain object to encode
1759
- * @param [writer] Writer to encode to
1760
- * @returns Writer
1761
- */
1762
- public static encode(message: connection_request.INodeAddress, writer?: $protobuf.Writer): $protobuf.Writer;
1763
-
1764
- /**
1765
- * Encodes the specified NodeAddress message, length delimited. Does not implicitly {@link connection_request.NodeAddress.verify|verify} messages.
1766
- * @param message NodeAddress message or plain object to encode
1767
- * @param [writer] Writer to encode to
1768
- * @returns Writer
1769
- */
1770
- public static encodeDelimited(message: connection_request.INodeAddress, writer?: $protobuf.Writer): $protobuf.Writer;
1771
-
1772
- /**
1773
- * Decodes a NodeAddress message from the specified reader or buffer.
1774
- * @param reader Reader or buffer to decode from
1775
- * @param [length] Message length if known beforehand
1776
- * @returns NodeAddress
1777
- * @throws {Error} If the payload is not a reader or valid buffer
1778
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1779
- */
1780
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): connection_request.NodeAddress;
1781
-
1782
- /**
1783
- * Decodes a NodeAddress message from the specified reader or buffer, length delimited.
1784
- * @param reader Reader or buffer to decode from
1785
- * @returns NodeAddress
1786
- * @throws {Error} If the payload is not a reader or valid buffer
1787
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1788
- */
1789
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.NodeAddress;
1790
-
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
- /**
1820
- * Gets the default type url for NodeAddress
1821
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1822
- * @returns The default type url
1823
- */
1824
- public static getTypeUrl(typeUrlPrefix?: string): string;
1825
- }
1826
-
1827
- /** ReadFrom enum. */
1828
- enum ReadFrom {
1829
- Primary = 0,
1830
- PreferReplica = 1,
1831
- LowestLatency = 2,
1832
- AZAffinity = 3,
1833
- AZAffinityReplicasAndPrimary = 4
1834
- }
1835
-
1836
- /** TlsMode enum. */
1837
- enum TlsMode {
1838
- NoTls = 0,
1839
- SecureTls = 1,
1840
- InsecureTls = 2
1841
- }
1842
-
1843
- /** Properties of an AuthenticationInfo. */
1844
- interface IAuthenticationInfo {
1845
-
1846
- /** AuthenticationInfo password */
1847
- password?: (string|null);
1848
-
1849
- /** AuthenticationInfo username */
1850
- username?: (string|null);
1851
- }
1852
-
1853
- /** Represents an AuthenticationInfo. */
1854
- class AuthenticationInfo implements IAuthenticationInfo {
1855
-
1856
- /**
1857
- * Constructs a new AuthenticationInfo.
1858
- * @param [properties] Properties to set
1859
- */
1860
- constructor(properties?: connection_request.IAuthenticationInfo);
1861
-
1862
- /** AuthenticationInfo password. */
1863
- public password: string;
1864
-
1865
- /** AuthenticationInfo username. */
1866
- public username: string;
1867
-
1868
- /**
1869
- * Creates a new AuthenticationInfo instance using the specified properties.
1870
- * @param [properties] Properties to set
1871
- * @returns AuthenticationInfo instance
1872
- */
1873
- public static create(properties?: connection_request.IAuthenticationInfo): connection_request.AuthenticationInfo;
1874
-
1875
- /**
1876
- * Encodes the specified AuthenticationInfo message. Does not implicitly {@link connection_request.AuthenticationInfo.verify|verify} messages.
1877
- * @param message AuthenticationInfo message or plain object to encode
1878
- * @param [writer] Writer to encode to
1879
- * @returns Writer
1880
- */
1881
- public static encode(message: connection_request.IAuthenticationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
1882
-
1883
- /**
1884
- * Encodes the specified AuthenticationInfo message, length delimited. Does not implicitly {@link connection_request.AuthenticationInfo.verify|verify} messages.
1885
- * @param message AuthenticationInfo message or plain object to encode
1886
- * @param [writer] Writer to encode to
1887
- * @returns Writer
1888
- */
1889
- public static encodeDelimited(message: connection_request.IAuthenticationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
1890
-
1891
- /**
1892
- * Decodes an AuthenticationInfo message from the specified reader or buffer.
1893
- * @param reader Reader or buffer to decode from
1894
- * @param [length] Message length if known beforehand
1895
- * @returns AuthenticationInfo
1896
- * @throws {Error} If the payload is not a reader or valid buffer
1897
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1898
- */
1899
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): connection_request.AuthenticationInfo;
1900
-
1901
- /**
1902
- * Decodes an AuthenticationInfo message from the specified reader or buffer, length delimited.
1903
- * @param reader Reader or buffer to decode from
1904
- * @returns AuthenticationInfo
1905
- * @throws {Error} If the payload is not a reader or valid buffer
1906
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1907
- */
1908
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.AuthenticationInfo;
1909
-
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
- /**
1939
- * Gets the default type url for AuthenticationInfo
1940
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1941
- * @returns The default type url
1942
- */
1943
- public static getTypeUrl(typeUrlPrefix?: string): string;
1944
- }
1945
-
1946
- /** ProtocolVersion enum. */
1947
- enum ProtocolVersion {
1948
- RESP3 = 0,
1949
- RESP2 = 1
1950
- }
1951
-
1952
- /** Properties of a PeriodicChecksManualInterval. */
1953
- interface IPeriodicChecksManualInterval {
1954
-
1955
- /** PeriodicChecksManualInterval durationInSec */
1956
- durationInSec?: (number|null);
1957
- }
1958
-
1959
- /** Represents a PeriodicChecksManualInterval. */
1960
- class PeriodicChecksManualInterval implements IPeriodicChecksManualInterval {
1961
-
1962
- /**
1963
- * Constructs a new PeriodicChecksManualInterval.
1964
- * @param [properties] Properties to set
1965
- */
1966
- constructor(properties?: connection_request.IPeriodicChecksManualInterval);
1967
-
1968
- /** PeriodicChecksManualInterval durationInSec. */
1969
- public durationInSec: number;
1970
-
1971
- /**
1972
- * Creates a new PeriodicChecksManualInterval instance using the specified properties.
1973
- * @param [properties] Properties to set
1974
- * @returns PeriodicChecksManualInterval instance
1975
- */
1976
- public static create(properties?: connection_request.IPeriodicChecksManualInterval): connection_request.PeriodicChecksManualInterval;
1977
-
1978
- /**
1979
- * Encodes the specified PeriodicChecksManualInterval message. Does not implicitly {@link connection_request.PeriodicChecksManualInterval.verify|verify} messages.
1980
- * @param message PeriodicChecksManualInterval message or plain object to encode
1981
- * @param [writer] Writer to encode to
1982
- * @returns Writer
1983
- */
1984
- public static encode(message: connection_request.IPeriodicChecksManualInterval, writer?: $protobuf.Writer): $protobuf.Writer;
1985
-
1986
- /**
1987
- * Encodes the specified PeriodicChecksManualInterval message, length delimited. Does not implicitly {@link connection_request.PeriodicChecksManualInterval.verify|verify} messages.
1988
- * @param message PeriodicChecksManualInterval message or plain object to encode
1989
- * @param [writer] Writer to encode to
1990
- * @returns Writer
1991
- */
1992
- public static encodeDelimited(message: connection_request.IPeriodicChecksManualInterval, writer?: $protobuf.Writer): $protobuf.Writer;
1993
-
1994
- /**
1995
- * Decodes a PeriodicChecksManualInterval message from the specified reader or buffer.
1996
- * @param reader Reader or buffer to decode from
1997
- * @param [length] Message length if known beforehand
1998
- * @returns PeriodicChecksManualInterval
1999
- * @throws {Error} If the payload is not a reader or valid buffer
2000
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2001
- */
2002
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): connection_request.PeriodicChecksManualInterval;
2003
-
2004
- /**
2005
- * Decodes a PeriodicChecksManualInterval message from the specified reader or buffer, length delimited.
2006
- * @param reader Reader or buffer to decode from
2007
- * @returns PeriodicChecksManualInterval
2008
- * @throws {Error} If the payload is not a reader or valid buffer
2009
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2010
- */
2011
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.PeriodicChecksManualInterval;
2012
-
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
- /**
2042
- * Gets the default type url for PeriodicChecksManualInterval
2043
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2044
- * @returns The default type url
2045
- */
2046
- public static getTypeUrl(typeUrlPrefix?: string): string;
2047
- }
2048
-
2049
- /** Properties of a PeriodicChecksDisabled. */
2050
- interface IPeriodicChecksDisabled {
2051
- }
2052
-
2053
- /** Represents a PeriodicChecksDisabled. */
2054
- class PeriodicChecksDisabled implements IPeriodicChecksDisabled {
2055
-
2056
- /**
2057
- * Constructs a new PeriodicChecksDisabled.
2058
- * @param [properties] Properties to set
2059
- */
2060
- constructor(properties?: connection_request.IPeriodicChecksDisabled);
2061
-
2062
- /**
2063
- * Creates a new PeriodicChecksDisabled instance using the specified properties.
2064
- * @param [properties] Properties to set
2065
- * @returns PeriodicChecksDisabled instance
2066
- */
2067
- public static create(properties?: connection_request.IPeriodicChecksDisabled): connection_request.PeriodicChecksDisabled;
2068
-
2069
- /**
2070
- * Encodes the specified PeriodicChecksDisabled message. Does not implicitly {@link connection_request.PeriodicChecksDisabled.verify|verify} messages.
2071
- * @param message PeriodicChecksDisabled message or plain object to encode
2072
- * @param [writer] Writer to encode to
2073
- * @returns Writer
2074
- */
2075
- public static encode(message: connection_request.IPeriodicChecksDisabled, writer?: $protobuf.Writer): $protobuf.Writer;
2076
-
2077
- /**
2078
- * Encodes the specified PeriodicChecksDisabled message, length delimited. Does not implicitly {@link connection_request.PeriodicChecksDisabled.verify|verify} messages.
2079
- * @param message PeriodicChecksDisabled message or plain object to encode
2080
- * @param [writer] Writer to encode to
2081
- * @returns Writer
2082
- */
2083
- public static encodeDelimited(message: connection_request.IPeriodicChecksDisabled, writer?: $protobuf.Writer): $protobuf.Writer;
2084
-
2085
- /**
2086
- * Decodes a PeriodicChecksDisabled message from the specified reader or buffer.
2087
- * @param reader Reader or buffer to decode from
2088
- * @param [length] Message length if known beforehand
2089
- * @returns PeriodicChecksDisabled
2090
- * @throws {Error} If the payload is not a reader or valid buffer
2091
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2092
- */
2093
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): connection_request.PeriodicChecksDisabled;
2094
-
2095
- /**
2096
- * Decodes a PeriodicChecksDisabled message from the specified reader or buffer, length delimited.
2097
- * @param reader Reader or buffer to decode from
2098
- * @returns PeriodicChecksDisabled
2099
- * @throws {Error} If the payload is not a reader or valid buffer
2100
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2101
- */
2102
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.PeriodicChecksDisabled;
2103
-
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
- /**
2133
- * Gets the default type url for PeriodicChecksDisabled
2134
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2135
- * @returns The default type url
2136
- */
2137
- public static getTypeUrl(typeUrlPrefix?: string): string;
2138
- }
2139
-
2140
- /** PubSubChannelType enum. */
2141
- enum PubSubChannelType {
2142
- Exact = 0,
2143
- Pattern = 1,
2144
- Sharded = 2
2145
- }
2146
-
2147
- /** Properties of a PubSubChannelsOrPatterns. */
2148
- interface IPubSubChannelsOrPatterns {
2149
-
2150
- /** PubSubChannelsOrPatterns channelsOrPatterns */
2151
- channelsOrPatterns?: (Uint8Array[]|null);
2152
- }
2153
-
2154
- /** Represents a PubSubChannelsOrPatterns. */
2155
- class PubSubChannelsOrPatterns implements IPubSubChannelsOrPatterns {
2156
-
2157
- /**
2158
- * Constructs a new PubSubChannelsOrPatterns.
2159
- * @param [properties] Properties to set
2160
- */
2161
- constructor(properties?: connection_request.IPubSubChannelsOrPatterns);
2162
-
2163
- /** PubSubChannelsOrPatterns channelsOrPatterns. */
2164
- public channelsOrPatterns: Uint8Array[];
2165
-
2166
- /**
2167
- * Creates a new PubSubChannelsOrPatterns instance using the specified properties.
2168
- * @param [properties] Properties to set
2169
- * @returns PubSubChannelsOrPatterns instance
2170
- */
2171
- public static create(properties?: connection_request.IPubSubChannelsOrPatterns): connection_request.PubSubChannelsOrPatterns;
2172
-
2173
- /**
2174
- * Encodes the specified PubSubChannelsOrPatterns message. Does not implicitly {@link connection_request.PubSubChannelsOrPatterns.verify|verify} messages.
2175
- * @param message PubSubChannelsOrPatterns message or plain object to encode
2176
- * @param [writer] Writer to encode to
2177
- * @returns Writer
2178
- */
2179
- public static encode(message: connection_request.IPubSubChannelsOrPatterns, writer?: $protobuf.Writer): $protobuf.Writer;
2180
-
2181
- /**
2182
- * Encodes the specified PubSubChannelsOrPatterns message, length delimited. Does not implicitly {@link connection_request.PubSubChannelsOrPatterns.verify|verify} messages.
2183
- * @param message PubSubChannelsOrPatterns message or plain object to encode
2184
- * @param [writer] Writer to encode to
2185
- * @returns Writer
2186
- */
2187
- public static encodeDelimited(message: connection_request.IPubSubChannelsOrPatterns, writer?: $protobuf.Writer): $protobuf.Writer;
2188
-
2189
- /**
2190
- * Decodes a PubSubChannelsOrPatterns message from the specified reader or buffer.
2191
- * @param reader Reader or buffer to decode from
2192
- * @param [length] Message length if known beforehand
2193
- * @returns PubSubChannelsOrPatterns
2194
- * @throws {Error} If the payload is not a reader or valid buffer
2195
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2196
- */
2197
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): connection_request.PubSubChannelsOrPatterns;
2198
-
2199
- /**
2200
- * Decodes a PubSubChannelsOrPatterns message from the specified reader or buffer, length delimited.
2201
- * @param reader Reader or buffer to decode from
2202
- * @returns PubSubChannelsOrPatterns
2203
- * @throws {Error} If the payload is not a reader or valid buffer
2204
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2205
- */
2206
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.PubSubChannelsOrPatterns;
2207
-
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
- /**
2237
- * Gets the default type url for PubSubChannelsOrPatterns
2238
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2239
- * @returns The default type url
2240
- */
2241
- public static getTypeUrl(typeUrlPrefix?: string): string;
2242
- }
2243
-
2244
- /** Properties of a PubSubSubscriptions. */
2245
- interface IPubSubSubscriptions {
2246
-
2247
- /** PubSubSubscriptions channelsOrPatternsByType */
2248
- channelsOrPatternsByType?: ({ [k: string]: connection_request.IPubSubChannelsOrPatterns }|null);
2249
- }
2250
-
2251
- /** Represents a PubSubSubscriptions. */
2252
- class PubSubSubscriptions implements IPubSubSubscriptions {
2253
-
2254
- /**
2255
- * Constructs a new PubSubSubscriptions.
2256
- * @param [properties] Properties to set
2257
- */
2258
- constructor(properties?: connection_request.IPubSubSubscriptions);
2259
-
2260
- /** PubSubSubscriptions channelsOrPatternsByType. */
2261
- public channelsOrPatternsByType: { [k: string]: connection_request.IPubSubChannelsOrPatterns };
2262
-
2263
- /**
2264
- * Creates a new PubSubSubscriptions instance using the specified properties.
2265
- * @param [properties] Properties to set
2266
- * @returns PubSubSubscriptions instance
2267
- */
2268
- public static create(properties?: connection_request.IPubSubSubscriptions): connection_request.PubSubSubscriptions;
2269
-
2270
- /**
2271
- * Encodes the specified PubSubSubscriptions message. Does not implicitly {@link connection_request.PubSubSubscriptions.verify|verify} messages.
2272
- * @param message PubSubSubscriptions message or plain object to encode
2273
- * @param [writer] Writer to encode to
2274
- * @returns Writer
2275
- */
2276
- public static encode(message: connection_request.IPubSubSubscriptions, writer?: $protobuf.Writer): $protobuf.Writer;
2277
-
2278
- /**
2279
- * Encodes the specified PubSubSubscriptions message, length delimited. Does not implicitly {@link connection_request.PubSubSubscriptions.verify|verify} messages.
2280
- * @param message PubSubSubscriptions message or plain object to encode
2281
- * @param [writer] Writer to encode to
2282
- * @returns Writer
2283
- */
2284
- public static encodeDelimited(message: connection_request.IPubSubSubscriptions, writer?: $protobuf.Writer): $protobuf.Writer;
2285
-
2286
- /**
2287
- * Decodes a PubSubSubscriptions message from the specified reader or buffer.
2288
- * @param reader Reader or buffer to decode from
2289
- * @param [length] Message length if known beforehand
2290
- * @returns PubSubSubscriptions
2291
- * @throws {Error} If the payload is not a reader or valid buffer
2292
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2293
- */
2294
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): connection_request.PubSubSubscriptions;
2295
-
2296
- /**
2297
- * Decodes a PubSubSubscriptions message from the specified reader or buffer, length delimited.
2298
- * @param reader Reader or buffer to decode from
2299
- * @returns PubSubSubscriptions
2300
- * @throws {Error} If the payload is not a reader or valid buffer
2301
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2302
- */
2303
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.PubSubSubscriptions;
2304
-
2305
- /**
2306
- * Verifies a PubSubSubscriptions message.
2307
- * @param message Plain object to verify
2308
- * @returns `null` if valid, otherwise the reason why it is not
2309
- */
2310
- public static verify(message: { [k: string]: any }): (string|null);
2311
-
2312
- /**
2313
- * Creates a PubSubSubscriptions message from a plain object. Also converts values to their respective internal types.
2314
- * @param object Plain object
2315
- * @returns PubSubSubscriptions
2316
- */
2317
- public static fromObject(object: { [k: string]: any }): connection_request.PubSubSubscriptions;
2318
-
2319
- /**
2320
- * Creates a plain object from a PubSubSubscriptions message. Also converts values to other types if specified.
2321
- * @param message PubSubSubscriptions
2322
- * @param [options] Conversion options
2323
- * @returns Plain object
2324
- */
2325
- public static toObject(message: connection_request.PubSubSubscriptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2326
-
2327
- /**
2328
- * Converts this PubSubSubscriptions to JSON.
2329
- * @returns JSON object
2330
- */
2331
- public toJSON(): { [k: string]: any };
2332
-
2333
- /**
2334
- * Gets the default type url for PubSubSubscriptions
2335
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2336
- * @returns The default type url
2337
- */
2338
- public static getTypeUrl(typeUrlPrefix?: string): string;
2339
- }
2340
-
2341
- /** Properties of a ConnectionRequest. */
2342
- interface IConnectionRequest {
2343
-
2344
- /** ConnectionRequest addresses */
2345
- addresses?: (connection_request.INodeAddress[]|null);
2346
-
2347
- /** ConnectionRequest tlsMode */
2348
- tlsMode?: (connection_request.TlsMode|null);
2349
-
2350
- /** ConnectionRequest clusterModeEnabled */
2351
- clusterModeEnabled?: (boolean|null);
2352
-
2353
- /** ConnectionRequest requestTimeout */
2354
- requestTimeout?: (number|null);
2355
-
2356
- /** ConnectionRequest readFrom */
2357
- readFrom?: (connection_request.ReadFrom|null);
2358
-
2359
- /** ConnectionRequest connectionRetryStrategy */
2360
- connectionRetryStrategy?: (connection_request.IConnectionRetryStrategy|null);
2361
-
2362
- /** ConnectionRequest authenticationInfo */
2363
- authenticationInfo?: (connection_request.IAuthenticationInfo|null);
2364
-
2365
- /** ConnectionRequest databaseId */
2366
- databaseId?: (number|null);
2367
-
2368
- /** ConnectionRequest protocol */
2369
- protocol?: (connection_request.ProtocolVersion|null);
2370
-
2371
- /** ConnectionRequest clientName */
2372
- clientName?: (string|null);
2373
-
2374
- /** ConnectionRequest periodicChecksManualInterval */
2375
- periodicChecksManualInterval?: (connection_request.IPeriodicChecksManualInterval|null);
2376
-
2377
- /** ConnectionRequest periodicChecksDisabled */
2378
- periodicChecksDisabled?: (connection_request.IPeriodicChecksDisabled|null);
2379
-
2380
- /** ConnectionRequest pubsubSubscriptions */
2381
- pubsubSubscriptions?: (connection_request.IPubSubSubscriptions|null);
2382
-
2383
- /** ConnectionRequest inflightRequestsLimit */
2384
- inflightRequestsLimit?: (number|null);
2385
-
2386
- /** ConnectionRequest clientAz */
2387
- clientAz?: (string|null);
2388
-
2389
- /** ConnectionRequest connectionTimeout */
2390
- connectionTimeout?: (number|null);
2391
- }
2392
-
2393
- /** Represents a ConnectionRequest. */
2394
- class ConnectionRequest implements IConnectionRequest {
2395
-
2396
- /**
2397
- * Constructs a new ConnectionRequest.
2398
- * @param [properties] Properties to set
2399
- */
2400
- constructor(properties?: connection_request.IConnectionRequest);
2401
-
2402
- /** ConnectionRequest addresses. */
2403
- public addresses: connection_request.INodeAddress[];
2404
-
2405
- /** ConnectionRequest tlsMode. */
2406
- public tlsMode: connection_request.TlsMode;
2407
-
2408
- /** ConnectionRequest clusterModeEnabled. */
2409
- public clusterModeEnabled: boolean;
2410
-
2411
- /** ConnectionRequest requestTimeout. */
2412
- public requestTimeout: number;
2413
-
2414
- /** ConnectionRequest readFrom. */
2415
- public readFrom: connection_request.ReadFrom;
2416
-
2417
- /** ConnectionRequest connectionRetryStrategy. */
2418
- public connectionRetryStrategy?: (connection_request.IConnectionRetryStrategy|null);
2419
-
2420
- /** ConnectionRequest authenticationInfo. */
2421
- public authenticationInfo?: (connection_request.IAuthenticationInfo|null);
2422
-
2423
- /** ConnectionRequest databaseId. */
2424
- public databaseId: number;
2425
-
2426
- /** ConnectionRequest protocol. */
2427
- public protocol: connection_request.ProtocolVersion;
2428
-
2429
- /** ConnectionRequest clientName. */
2430
- public clientName: string;
2431
-
2432
- /** ConnectionRequest periodicChecksManualInterval. */
2433
- public periodicChecksManualInterval?: (connection_request.IPeriodicChecksManualInterval|null);
2434
-
2435
- /** ConnectionRequest periodicChecksDisabled. */
2436
- public periodicChecksDisabled?: (connection_request.IPeriodicChecksDisabled|null);
2437
-
2438
- /** ConnectionRequest pubsubSubscriptions. */
2439
- public pubsubSubscriptions?: (connection_request.IPubSubSubscriptions|null);
2440
-
2441
- /** ConnectionRequest inflightRequestsLimit. */
2442
- public inflightRequestsLimit: number;
2443
-
2444
- /** ConnectionRequest clientAz. */
2445
- public clientAz: string;
2446
-
2447
- /** ConnectionRequest connectionTimeout. */
2448
- public connectionTimeout: number;
2449
-
2450
- /** ConnectionRequest periodicChecks. */
2451
- public periodicChecks?: ("periodicChecksManualInterval"|"periodicChecksDisabled");
2452
-
2453
- /**
2454
- * Creates a new ConnectionRequest instance using the specified properties.
2455
- * @param [properties] Properties to set
2456
- * @returns ConnectionRequest instance
2457
- */
2458
- public static create(properties?: connection_request.IConnectionRequest): connection_request.ConnectionRequest;
2459
-
2460
- /**
2461
- * Encodes the specified ConnectionRequest message. Does not implicitly {@link connection_request.ConnectionRequest.verify|verify} messages.
2462
- * @param message ConnectionRequest message or plain object to encode
2463
- * @param [writer] Writer to encode to
2464
- * @returns Writer
2465
- */
2466
- public static encode(message: connection_request.IConnectionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2467
-
2468
- /**
2469
- * Encodes the specified ConnectionRequest message, length delimited. Does not implicitly {@link connection_request.ConnectionRequest.verify|verify} messages.
2470
- * @param message ConnectionRequest message or plain object to encode
2471
- * @param [writer] Writer to encode to
2472
- * @returns Writer
2473
- */
2474
- public static encodeDelimited(message: connection_request.IConnectionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2475
-
2476
- /**
2477
- * Decodes a ConnectionRequest message from the specified reader or buffer.
2478
- * @param reader Reader or buffer to decode from
2479
- * @param [length] Message length if known beforehand
2480
- * @returns ConnectionRequest
2481
- * @throws {Error} If the payload is not a reader or valid buffer
2482
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2483
- */
2484
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): connection_request.ConnectionRequest;
2485
-
2486
- /**
2487
- * Decodes a ConnectionRequest message from the specified reader or buffer, length delimited.
2488
- * @param reader Reader or buffer to decode from
2489
- * @returns ConnectionRequest
2490
- * @throws {Error} If the payload is not a reader or valid buffer
2491
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2492
- */
2493
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.ConnectionRequest;
2494
-
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
- /**
2524
- * Gets the default type url for ConnectionRequest
2525
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2526
- * @returns The default type url
2527
- */
2528
- public static getTypeUrl(typeUrlPrefix?: string): string;
2529
- }
2530
-
2531
- /** Properties of a ConnectionRetryStrategy. */
2532
- interface IConnectionRetryStrategy {
2533
-
2534
- /** ConnectionRetryStrategy numberOfRetries */
2535
- numberOfRetries?: (number|null);
2536
-
2537
- /** ConnectionRetryStrategy factor */
2538
- factor?: (number|null);
2539
-
2540
- /** ConnectionRetryStrategy exponentBase */
2541
- exponentBase?: (number|null);
2542
- }
2543
-
2544
- /** Represents a ConnectionRetryStrategy. */
2545
- class ConnectionRetryStrategy implements IConnectionRetryStrategy {
2546
-
2547
- /**
2548
- * Constructs a new ConnectionRetryStrategy.
2549
- * @param [properties] Properties to set
2550
- */
2551
- constructor(properties?: connection_request.IConnectionRetryStrategy);
2552
-
2553
- /** ConnectionRetryStrategy numberOfRetries. */
2554
- public numberOfRetries: number;
2555
-
2556
- /** ConnectionRetryStrategy factor. */
2557
- public factor: number;
2558
-
2559
- /** ConnectionRetryStrategy exponentBase. */
2560
- public exponentBase: number;
2561
-
2562
- /**
2563
- * Creates a new ConnectionRetryStrategy instance using the specified properties.
2564
- * @param [properties] Properties to set
2565
- * @returns ConnectionRetryStrategy instance
2566
- */
2567
- public static create(properties?: connection_request.IConnectionRetryStrategy): connection_request.ConnectionRetryStrategy;
2568
-
2569
- /**
2570
- * Encodes the specified ConnectionRetryStrategy message. Does not implicitly {@link connection_request.ConnectionRetryStrategy.verify|verify} messages.
2571
- * @param message ConnectionRetryStrategy message or plain object to encode
2572
- * @param [writer] Writer to encode to
2573
- * @returns Writer
2574
- */
2575
- public static encode(message: connection_request.IConnectionRetryStrategy, writer?: $protobuf.Writer): $protobuf.Writer;
2576
-
2577
- /**
2578
- * Encodes the specified ConnectionRetryStrategy message, length delimited. Does not implicitly {@link connection_request.ConnectionRetryStrategy.verify|verify} messages.
2579
- * @param message ConnectionRetryStrategy message or plain object to encode
2580
- * @param [writer] Writer to encode to
2581
- * @returns Writer
2582
- */
2583
- public static encodeDelimited(message: connection_request.IConnectionRetryStrategy, writer?: $protobuf.Writer): $protobuf.Writer;
2584
-
2585
- /**
2586
- * Decodes a ConnectionRetryStrategy message from the specified reader or buffer.
2587
- * @param reader Reader or buffer to decode from
2588
- * @param [length] Message length if known beforehand
2589
- * @returns ConnectionRetryStrategy
2590
- * @throws {Error} If the payload is not a reader or valid buffer
2591
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2592
- */
2593
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): connection_request.ConnectionRetryStrategy;
2594
-
2595
- /**
2596
- * Decodes a ConnectionRetryStrategy message from the specified reader or buffer, length delimited.
2597
- * @param reader Reader or buffer to decode from
2598
- * @returns ConnectionRetryStrategy
2599
- * @throws {Error} If the payload is not a reader or valid buffer
2600
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2601
- */
2602
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.ConnectionRetryStrategy;
2603
-
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
- /**
2633
- * Gets the default type url for ConnectionRetryStrategy
2634
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2635
- * @returns The default type url
2636
- */
2637
- public static getTypeUrl(typeUrlPrefix?: string): string;
2638
- }
2639
- }
2640
-
2641
- /** Namespace response. */
2642
- export namespace response {
2643
-
2644
- /** RequestErrorType enum. */
2645
- enum RequestErrorType {
2646
- Unspecified = 0,
2647
- ExecAbort = 1,
2648
- Timeout = 2,
2649
- Disconnect = 3
2650
- }
2651
-
2652
- /** Properties of a RequestError. */
2653
- interface IRequestError {
2654
-
2655
- /** RequestError type */
2656
- type?: (response.RequestErrorType|null);
2657
-
2658
- /** RequestError message */
2659
- message?: (string|null);
2660
- }
2661
-
2662
- /** Represents a RequestError. */
2663
- class RequestError implements IRequestError {
2664
-
2665
- /**
2666
- * Constructs a new RequestError.
2667
- * @param [properties] Properties to set
2668
- */
2669
- constructor(properties?: response.IRequestError);
2670
-
2671
- /** RequestError type. */
2672
- public type: response.RequestErrorType;
2673
-
2674
- /** RequestError message. */
2675
- public message: string;
2676
-
2677
- /**
2678
- * Creates a new RequestError instance using the specified properties.
2679
- * @param [properties] Properties to set
2680
- * @returns RequestError instance
2681
- */
2682
- public static create(properties?: response.IRequestError): response.RequestError;
2683
-
2684
- /**
2685
- * Encodes the specified RequestError message. Does not implicitly {@link response.RequestError.verify|verify} messages.
2686
- * @param message RequestError message or plain object to encode
2687
- * @param [writer] Writer to encode to
2688
- * @returns Writer
2689
- */
2690
- public static encode(message: response.IRequestError, writer?: $protobuf.Writer): $protobuf.Writer;
2691
-
2692
- /**
2693
- * Encodes the specified RequestError message, length delimited. Does not implicitly {@link response.RequestError.verify|verify} messages.
2694
- * @param message RequestError message or plain object to encode
2695
- * @param [writer] Writer to encode to
2696
- * @returns Writer
2697
- */
2698
- public static encodeDelimited(message: response.IRequestError, writer?: $protobuf.Writer): $protobuf.Writer;
2699
-
2700
- /**
2701
- * Decodes a RequestError message from the specified reader or buffer.
2702
- * @param reader Reader or buffer to decode from
2703
- * @param [length] Message length if known beforehand
2704
- * @returns RequestError
2705
- * @throws {Error} If the payload is not a reader or valid buffer
2706
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2707
- */
2708
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): response.RequestError;
2709
-
2710
- /**
2711
- * Decodes a RequestError message from the specified reader or buffer, length delimited.
2712
- * @param reader Reader or buffer to decode from
2713
- * @returns RequestError
2714
- * @throws {Error} If the payload is not a reader or valid buffer
2715
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2716
- */
2717
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): response.RequestError;
2718
-
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
- /**
2748
- * Gets the default type url for RequestError
2749
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2750
- * @returns The default type url
2751
- */
2752
- public static getTypeUrl(typeUrlPrefix?: string): string;
2753
- }
2754
-
2755
- /** Properties of a Response. */
2756
- interface IResponse {
2757
-
2758
- /** Response callbackIdx */
2759
- callbackIdx?: (number|null);
2760
-
2761
- /** Response respPointer */
2762
- respPointer?: (number|Long|null);
2763
-
2764
- /** Response constantResponse */
2765
- constantResponse?: (response.ConstantResponse|null);
2766
-
2767
- /** Response requestError */
2768
- requestError?: (response.IRequestError|null);
2769
-
2770
- /** Response closingError */
2771
- closingError?: (string|null);
2772
-
2773
- /** Response isPush */
2774
- isPush?: (boolean|null);
2775
- }
2776
-
2777
- /** Represents a Response. */
2778
- class Response implements IResponse {
2779
-
2780
- /**
2781
- * Constructs a new Response.
2782
- * @param [properties] Properties to set
2783
- */
2784
- constructor(properties?: response.IResponse);
2785
-
2786
- /** Response callbackIdx. */
2787
- public callbackIdx: number;
2788
-
2789
- /** Response respPointer. */
2790
- public respPointer?: (number|Long|null);
2791
-
2792
- /** Response constantResponse. */
2793
- public constantResponse?: (response.ConstantResponse|null);
2794
-
2795
- /** Response requestError. */
2796
- public requestError?: (response.IRequestError|null);
2797
-
2798
- /** Response closingError. */
2799
- public closingError?: (string|null);
2800
-
2801
- /** Response isPush. */
2802
- public isPush: boolean;
2803
-
2804
- /** Response value. */
2805
- public value?: ("respPointer"|"constantResponse"|"requestError"|"closingError");
2806
-
2807
- /**
2808
- * Creates a new Response instance using the specified properties.
2809
- * @param [properties] Properties to set
2810
- * @returns Response instance
2811
- */
2812
- public static create(properties?: response.IResponse): response.Response;
2813
-
2814
- /**
2815
- * Encodes the specified Response message. Does not implicitly {@link response.Response.verify|verify} messages.
2816
- * @param message Response message or plain object to encode
2817
- * @param [writer] Writer to encode to
2818
- * @returns Writer
2819
- */
2820
- public static encode(message: response.IResponse, writer?: $protobuf.Writer): $protobuf.Writer;
2821
-
2822
- /**
2823
- * Encodes the specified Response message, length delimited. Does not implicitly {@link response.Response.verify|verify} messages.
2824
- * @param message Response message or plain object to encode
2825
- * @param [writer] Writer to encode to
2826
- * @returns Writer
2827
- */
2828
- public static encodeDelimited(message: response.IResponse, writer?: $protobuf.Writer): $protobuf.Writer;
2829
-
2830
- /**
2831
- * Decodes a Response message from the specified reader or buffer.
2832
- * @param reader Reader or buffer to decode from
2833
- * @param [length] Message length if known beforehand
2834
- * @returns Response
2835
- * @throws {Error} If the payload is not a reader or valid buffer
2836
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2837
- */
2838
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): response.Response;
2839
-
2840
- /**
2841
- * Decodes a Response message from the specified reader or buffer, length delimited.
2842
- * @param reader Reader or buffer to decode from
2843
- * @returns Response
2844
- * @throws {Error} If the payload is not a reader or valid buffer
2845
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2846
- */
2847
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): response.Response;
2848
-
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
- /**
2878
- * Gets the default type url for Response
2879
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2880
- * @returns The default type url
2881
- */
2882
- public static getTypeUrl(typeUrlPrefix?: string): string;
2883
- }
2884
-
2885
- /** ConstantResponse enum. */
2886
- enum ConstantResponse {
2887
- OK = 0
2888
- }
2889
- }