@valkey/valkey-glide 1.3.4 → 1.3.5-rc0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +36 -14
- package/build-ts/{src/BaseClient.d.ts → BaseClient.d.ts} +62 -118
- package/build-ts/BaseClient.js +6050 -0
- package/build-ts/BaseClient.js.map +1 -0
- package/build-ts/{src/Transaction.d.ts → Batch.d.ts} +124 -67
- package/build-ts/Batch.js +3458 -0
- package/build-ts/Batch.js.map +1 -0
- package/build-ts/{src/Commands.d.ts → Commands.d.ts} +171 -791
- package/build-ts/Commands.js +2709 -0
- package/build-ts/Commands.js.map +1 -0
- package/build-ts/Errors.js +43 -0
- package/build-ts/Errors.js.map +1 -0
- package/build-ts/{src/GlideClient.d.ts → GlideClient.d.ts} +55 -19
- package/build-ts/GlideClient.js +900 -0
- package/build-ts/GlideClient.js.map +1 -0
- package/build-ts/{src/GlideClusterClient.d.ts → GlideClusterClient.d.ts} +78 -42
- package/build-ts/GlideClusterClient.js +1252 -0
- package/build-ts/GlideClusterClient.js.map +1 -0
- package/build-ts/Logger.js +68 -0
- package/build-ts/Logger.js.map +1 -0
- package/build-ts/{src/ProtobufMessage.d.ts → ProtobufMessage.d.ts} +135 -634
- package/build-ts/ProtobufMessage.js +5205 -0
- package/build-ts/index.d.ts +16 -11
- package/build-ts/index.js +54 -216
- package/build-ts/index.js.map +1 -0
- package/build-ts/native.d.ts +14 -0
- package/build-ts/native.js +343 -0
- package/build-ts/native.js.map +1 -0
- package/build-ts/server-modules/GlideFt.js +629 -0
- package/build-ts/server-modules/GlideFt.js.map +1 -0
- package/build-ts/{src/server-modules → server-modules}/GlideFtOptions.d.ts +1 -1
- package/build-ts/server-modules/GlideFtOptions.js +6 -0
- package/build-ts/server-modules/GlideFtOptions.js.map +1 -0
- package/build-ts/{src/server-modules → server-modules}/GlideJson.d.ts +65 -65
- package/build-ts/server-modules/GlideJson.js +1573 -0
- package/build-ts/server-modules/GlideJson.js.map +1 -0
- package/package.json +154 -63
- /package/build-ts/{src/Errors.d.ts → Errors.d.ts} +0 -0
- /package/build-ts/{src/Logger.d.ts → Logger.d.ts} +0 -0
- /package/build-ts/{src/server-modules → server-modules}/GlideFt.d.ts +0 -0
|
@@ -83,34 +83,6 @@ export namespace command_request {
|
|
|
83
83
|
*/
|
|
84
84
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.SlotIdRoute;
|
|
85
85
|
|
|
86
|
-
/**
|
|
87
|
-
* Verifies a SlotIdRoute message.
|
|
88
|
-
* @param message Plain object to verify
|
|
89
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
90
|
-
*/
|
|
91
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Creates a SlotIdRoute message from a plain object. Also converts values to their respective internal types.
|
|
95
|
-
* @param object Plain object
|
|
96
|
-
* @returns SlotIdRoute
|
|
97
|
-
*/
|
|
98
|
-
public static fromObject(object: { [k: string]: any }): command_request.SlotIdRoute;
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Creates a plain object from a SlotIdRoute message. Also converts values to other types if specified.
|
|
102
|
-
* @param message SlotIdRoute
|
|
103
|
-
* @param [options] Conversion options
|
|
104
|
-
* @returns Plain object
|
|
105
|
-
*/
|
|
106
|
-
public static toObject(message: command_request.SlotIdRoute, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Converts this SlotIdRoute to JSON.
|
|
110
|
-
* @returns JSON object
|
|
111
|
-
*/
|
|
112
|
-
public toJSON(): { [k: string]: any };
|
|
113
|
-
|
|
114
86
|
/**
|
|
115
87
|
* Gets the default type url for SlotIdRoute
|
|
116
88
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -186,34 +158,6 @@ export namespace command_request {
|
|
|
186
158
|
*/
|
|
187
159
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.SlotKeyRoute;
|
|
188
160
|
|
|
189
|
-
/**
|
|
190
|
-
* Verifies a SlotKeyRoute message.
|
|
191
|
-
* @param message Plain object to verify
|
|
192
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
193
|
-
*/
|
|
194
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Creates a SlotKeyRoute message from a plain object. Also converts values to their respective internal types.
|
|
198
|
-
* @param object Plain object
|
|
199
|
-
* @returns SlotKeyRoute
|
|
200
|
-
*/
|
|
201
|
-
public static fromObject(object: { [k: string]: any }): command_request.SlotKeyRoute;
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* Creates a plain object from a SlotKeyRoute message. Also converts values to other types if specified.
|
|
205
|
-
* @param message SlotKeyRoute
|
|
206
|
-
* @param [options] Conversion options
|
|
207
|
-
* @returns Plain object
|
|
208
|
-
*/
|
|
209
|
-
public static toObject(message: command_request.SlotKeyRoute, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* Converts this SlotKeyRoute to JSON.
|
|
213
|
-
* @returns JSON object
|
|
214
|
-
*/
|
|
215
|
-
public toJSON(): { [k: string]: any };
|
|
216
|
-
|
|
217
161
|
/**
|
|
218
162
|
* Gets the default type url for SlotKeyRoute
|
|
219
163
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -289,34 +233,6 @@ export namespace command_request {
|
|
|
289
233
|
*/
|
|
290
234
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.ByAddressRoute;
|
|
291
235
|
|
|
292
|
-
/**
|
|
293
|
-
* Verifies a ByAddressRoute message.
|
|
294
|
-
* @param message Plain object to verify
|
|
295
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
296
|
-
*/
|
|
297
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* Creates a ByAddressRoute message from a plain object. Also converts values to their respective internal types.
|
|
301
|
-
* @param object Plain object
|
|
302
|
-
* @returns ByAddressRoute
|
|
303
|
-
*/
|
|
304
|
-
public static fromObject(object: { [k: string]: any }): command_request.ByAddressRoute;
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* Creates a plain object from a ByAddressRoute message. Also converts values to other types if specified.
|
|
308
|
-
* @param message ByAddressRoute
|
|
309
|
-
* @param [options] Conversion options
|
|
310
|
-
* @returns Plain object
|
|
311
|
-
*/
|
|
312
|
-
public static toObject(message: command_request.ByAddressRoute, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* Converts this ByAddressRoute to JSON.
|
|
316
|
-
* @returns JSON object
|
|
317
|
-
*/
|
|
318
|
-
public toJSON(): { [k: string]: any };
|
|
319
|
-
|
|
320
236
|
/**
|
|
321
237
|
* Gets the default type url for ByAddressRoute
|
|
322
238
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -407,34 +323,6 @@ export namespace command_request {
|
|
|
407
323
|
*/
|
|
408
324
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.Routes;
|
|
409
325
|
|
|
410
|
-
/**
|
|
411
|
-
* Verifies a Routes message.
|
|
412
|
-
* @param message Plain object to verify
|
|
413
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
414
|
-
*/
|
|
415
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* Creates a Routes message from a plain object. Also converts values to their respective internal types.
|
|
419
|
-
* @param object Plain object
|
|
420
|
-
* @returns Routes
|
|
421
|
-
*/
|
|
422
|
-
public static fromObject(object: { [k: string]: any }): command_request.Routes;
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* Creates a plain object from a Routes message. Also converts values to other types if specified.
|
|
426
|
-
* @param message Routes
|
|
427
|
-
* @param [options] Conversion options
|
|
428
|
-
* @returns Plain object
|
|
429
|
-
*/
|
|
430
|
-
public static toObject(message: command_request.Routes, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
431
|
-
|
|
432
|
-
/**
|
|
433
|
-
* Converts this Routes to JSON.
|
|
434
|
-
* @returns JSON object
|
|
435
|
-
*/
|
|
436
|
-
public toJSON(): { [k: string]: any };
|
|
437
|
-
|
|
438
326
|
/**
|
|
439
327
|
* Gets the default type url for Routes
|
|
440
328
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -900,34 +788,6 @@ export namespace command_request {
|
|
|
900
788
|
*/
|
|
901
789
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.Command;
|
|
902
790
|
|
|
903
|
-
/**
|
|
904
|
-
* Verifies a Command message.
|
|
905
|
-
* @param message Plain object to verify
|
|
906
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
907
|
-
*/
|
|
908
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
909
|
-
|
|
910
|
-
/**
|
|
911
|
-
* Creates a Command message from a plain object. Also converts values to their respective internal types.
|
|
912
|
-
* @param object Plain object
|
|
913
|
-
* @returns Command
|
|
914
|
-
*/
|
|
915
|
-
public static fromObject(object: { [k: string]: any }): command_request.Command;
|
|
916
|
-
|
|
917
|
-
/**
|
|
918
|
-
* Creates a plain object from a Command message. Also converts values to other types if specified.
|
|
919
|
-
* @param message Command
|
|
920
|
-
* @param [options] Conversion options
|
|
921
|
-
* @returns Plain object
|
|
922
|
-
*/
|
|
923
|
-
public static toObject(message: command_request.Command, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
924
|
-
|
|
925
|
-
/**
|
|
926
|
-
* Converts this Command to JSON.
|
|
927
|
-
* @returns JSON object
|
|
928
|
-
*/
|
|
929
|
-
public toJSON(): { [k: string]: any };
|
|
930
|
-
|
|
931
791
|
/**
|
|
932
792
|
* Gets the default type url for Command
|
|
933
793
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -999,34 +859,6 @@ export namespace command_request {
|
|
|
999
859
|
*/
|
|
1000
860
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.Command.ArgsArray;
|
|
1001
861
|
|
|
1002
|
-
/**
|
|
1003
|
-
* Verifies an ArgsArray message.
|
|
1004
|
-
* @param message Plain object to verify
|
|
1005
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1006
|
-
*/
|
|
1007
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1008
|
-
|
|
1009
|
-
/**
|
|
1010
|
-
* Creates an ArgsArray message from a plain object. Also converts values to their respective internal types.
|
|
1011
|
-
* @param object Plain object
|
|
1012
|
-
* @returns ArgsArray
|
|
1013
|
-
*/
|
|
1014
|
-
public static fromObject(object: { [k: string]: any }): command_request.Command.ArgsArray;
|
|
1015
|
-
|
|
1016
|
-
/**
|
|
1017
|
-
* Creates a plain object from an ArgsArray message. Also converts values to other types if specified.
|
|
1018
|
-
* @param message ArgsArray
|
|
1019
|
-
* @param [options] Conversion options
|
|
1020
|
-
* @returns Plain object
|
|
1021
|
-
*/
|
|
1022
|
-
public static toObject(message: command_request.Command.ArgsArray, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1023
|
-
|
|
1024
|
-
/**
|
|
1025
|
-
* Converts this ArgsArray to JSON.
|
|
1026
|
-
* @returns JSON object
|
|
1027
|
-
*/
|
|
1028
|
-
public toJSON(): { [k: string]: any };
|
|
1029
|
-
|
|
1030
862
|
/**
|
|
1031
863
|
* Gets the default type url for ArgsArray
|
|
1032
864
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -1109,34 +941,6 @@ export namespace command_request {
|
|
|
1109
941
|
*/
|
|
1110
942
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.ScriptInvocationPointers;
|
|
1111
943
|
|
|
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
944
|
/**
|
|
1141
945
|
* Gets the default type url for ScriptInvocationPointers
|
|
1142
946
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -1218,34 +1022,6 @@ export namespace command_request {
|
|
|
1218
1022
|
*/
|
|
1219
1023
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.ScriptInvocation;
|
|
1220
1024
|
|
|
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
1025
|
/**
|
|
1250
1026
|
* Gets the default type url for ScriptInvocation
|
|
1251
1027
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -1254,97 +1030,99 @@ export namespace command_request {
|
|
|
1254
1030
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1255
1031
|
}
|
|
1256
1032
|
|
|
1257
|
-
/** Properties of a
|
|
1258
|
-
interface
|
|
1033
|
+
/** Properties of a Batch. */
|
|
1034
|
+
interface IBatch {
|
|
1259
1035
|
|
|
1260
|
-
/**
|
|
1036
|
+
/** Batch isAtomic */
|
|
1037
|
+
isAtomic?: (boolean|null);
|
|
1038
|
+
|
|
1039
|
+
/** Batch commands */
|
|
1261
1040
|
commands?: (command_request.ICommand[]|null);
|
|
1041
|
+
|
|
1042
|
+
/** Batch raiseOnError */
|
|
1043
|
+
raiseOnError?: (boolean|null);
|
|
1044
|
+
|
|
1045
|
+
/** Batch timeout */
|
|
1046
|
+
timeout?: (number|null);
|
|
1047
|
+
|
|
1048
|
+
/** Batch retryServerError */
|
|
1049
|
+
retryServerError?: (boolean|null);
|
|
1050
|
+
|
|
1051
|
+
/** Batch retryConnectionError */
|
|
1052
|
+
retryConnectionError?: (boolean|null);
|
|
1262
1053
|
}
|
|
1263
1054
|
|
|
1264
|
-
/** Represents a
|
|
1265
|
-
class
|
|
1055
|
+
/** Represents a Batch. */
|
|
1056
|
+
class Batch implements IBatch {
|
|
1266
1057
|
|
|
1267
1058
|
/**
|
|
1268
|
-
* Constructs a new
|
|
1059
|
+
* Constructs a new Batch.
|
|
1269
1060
|
* @param [properties] Properties to set
|
|
1270
1061
|
*/
|
|
1271
|
-
constructor(properties?: command_request.
|
|
1062
|
+
constructor(properties?: command_request.IBatch);
|
|
1272
1063
|
|
|
1273
|
-
/**
|
|
1064
|
+
/** Batch isAtomic. */
|
|
1065
|
+
public isAtomic: boolean;
|
|
1066
|
+
|
|
1067
|
+
/** Batch commands. */
|
|
1274
1068
|
public commands: command_request.ICommand[];
|
|
1275
1069
|
|
|
1070
|
+
/** Batch raiseOnError. */
|
|
1071
|
+
public raiseOnError?: (boolean|null);
|
|
1072
|
+
|
|
1073
|
+
/** Batch timeout. */
|
|
1074
|
+
public timeout?: (number|null);
|
|
1075
|
+
|
|
1076
|
+
/** Batch retryServerError. */
|
|
1077
|
+
public retryServerError?: (boolean|null);
|
|
1078
|
+
|
|
1079
|
+
/** Batch retryConnectionError. */
|
|
1080
|
+
public retryConnectionError?: (boolean|null);
|
|
1081
|
+
|
|
1276
1082
|
/**
|
|
1277
|
-
* Creates a new
|
|
1083
|
+
* Creates a new Batch instance using the specified properties.
|
|
1278
1084
|
* @param [properties] Properties to set
|
|
1279
|
-
* @returns
|
|
1085
|
+
* @returns Batch instance
|
|
1280
1086
|
*/
|
|
1281
|
-
public static create(properties?: command_request.
|
|
1087
|
+
public static create(properties?: command_request.IBatch): command_request.Batch;
|
|
1282
1088
|
|
|
1283
1089
|
/**
|
|
1284
|
-
* Encodes the specified
|
|
1285
|
-
* @param message
|
|
1090
|
+
* Encodes the specified Batch message. Does not implicitly {@link command_request.Batch.verify|verify} messages.
|
|
1091
|
+
* @param message Batch message or plain object to encode
|
|
1286
1092
|
* @param [writer] Writer to encode to
|
|
1287
1093
|
* @returns Writer
|
|
1288
1094
|
*/
|
|
1289
|
-
public static encode(message: command_request.
|
|
1095
|
+
public static encode(message: command_request.IBatch, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1290
1096
|
|
|
1291
1097
|
/**
|
|
1292
|
-
* Encodes the specified
|
|
1293
|
-
* @param message
|
|
1098
|
+
* Encodes the specified Batch message, length delimited. Does not implicitly {@link command_request.Batch.verify|verify} messages.
|
|
1099
|
+
* @param message Batch message or plain object to encode
|
|
1294
1100
|
* @param [writer] Writer to encode to
|
|
1295
1101
|
* @returns Writer
|
|
1296
1102
|
*/
|
|
1297
|
-
public static encodeDelimited(message: command_request.
|
|
1103
|
+
public static encodeDelimited(message: command_request.IBatch, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1298
1104
|
|
|
1299
1105
|
/**
|
|
1300
|
-
* Decodes a
|
|
1106
|
+
* Decodes a Batch message from the specified reader or buffer.
|
|
1301
1107
|
* @param reader Reader or buffer to decode from
|
|
1302
1108
|
* @param [length] Message length if known beforehand
|
|
1303
|
-
* @returns
|
|
1109
|
+
* @returns Batch
|
|
1304
1110
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1305
1111
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1306
1112
|
*/
|
|
1307
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): command_request.
|
|
1113
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): command_request.Batch;
|
|
1308
1114
|
|
|
1309
1115
|
/**
|
|
1310
|
-
* Decodes a
|
|
1116
|
+
* Decodes a Batch message from the specified reader or buffer, length delimited.
|
|
1311
1117
|
* @param reader Reader or buffer to decode from
|
|
1312
|
-
* @returns
|
|
1118
|
+
* @returns Batch
|
|
1313
1119
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1314
1120
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1315
1121
|
*/
|
|
1316
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.
|
|
1317
|
-
|
|
1318
|
-
/**
|
|
1319
|
-
* Verifies a Transaction message.
|
|
1320
|
-
* @param message Plain object to verify
|
|
1321
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1322
|
-
*/
|
|
1323
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1324
|
-
|
|
1325
|
-
/**
|
|
1326
|
-
* Creates a Transaction message from a plain object. Also converts values to their respective internal types.
|
|
1327
|
-
* @param object Plain object
|
|
1328
|
-
* @returns Transaction
|
|
1329
|
-
*/
|
|
1330
|
-
public static fromObject(object: { [k: string]: any }): command_request.Transaction;
|
|
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 };
|
|
1122
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.Batch;
|
|
1345
1123
|
|
|
1346
1124
|
/**
|
|
1347
|
-
* Gets the default type url for
|
|
1125
|
+
* Gets the default type url for Batch
|
|
1348
1126
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1349
1127
|
* @returns The default type url
|
|
1350
1128
|
*/
|
|
@@ -1436,34 +1214,6 @@ export namespace command_request {
|
|
|
1436
1214
|
*/
|
|
1437
1215
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.ClusterScan;
|
|
1438
1216
|
|
|
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
1217
|
/**
|
|
1468
1218
|
* Gets the default type url for ClusterScan
|
|
1469
1219
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -1539,34 +1289,6 @@ export namespace command_request {
|
|
|
1539
1289
|
*/
|
|
1540
1290
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.UpdateConnectionPassword;
|
|
1541
1291
|
|
|
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
1292
|
/**
|
|
1571
1293
|
* Gets the default type url for UpdateConnectionPassword
|
|
1572
1294
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -1584,8 +1306,8 @@ export namespace command_request {
|
|
|
1584
1306
|
/** CommandRequest singleCommand */
|
|
1585
1307
|
singleCommand?: (command_request.ICommand|null);
|
|
1586
1308
|
|
|
1587
|
-
/** CommandRequest
|
|
1588
|
-
|
|
1309
|
+
/** CommandRequest batch */
|
|
1310
|
+
batch?: (command_request.IBatch|null);
|
|
1589
1311
|
|
|
1590
1312
|
/** CommandRequest scriptInvocation */
|
|
1591
1313
|
scriptInvocation?: (command_request.IScriptInvocation|null);
|
|
@@ -1618,8 +1340,8 @@ export namespace command_request {
|
|
|
1618
1340
|
/** CommandRequest singleCommand. */
|
|
1619
1341
|
public singleCommand?: (command_request.ICommand|null);
|
|
1620
1342
|
|
|
1621
|
-
/** CommandRequest
|
|
1622
|
-
public
|
|
1343
|
+
/** CommandRequest batch. */
|
|
1344
|
+
public batch?: (command_request.IBatch|null);
|
|
1623
1345
|
|
|
1624
1346
|
/** CommandRequest scriptInvocation. */
|
|
1625
1347
|
public scriptInvocation?: (command_request.IScriptInvocation|null);
|
|
@@ -1637,7 +1359,7 @@ export namespace command_request {
|
|
|
1637
1359
|
public route?: (command_request.IRoutes|null);
|
|
1638
1360
|
|
|
1639
1361
|
/** CommandRequest command. */
|
|
1640
|
-
public command?: ("singleCommand"|"
|
|
1362
|
+
public command?: ("singleCommand"|"batch"|"scriptInvocation"|"scriptInvocationPointers"|"clusterScan"|"updateConnectionPassword");
|
|
1641
1363
|
|
|
1642
1364
|
/**
|
|
1643
1365
|
* Creates a new CommandRequest instance using the specified properties.
|
|
@@ -1681,34 +1403,6 @@ export namespace command_request {
|
|
|
1681
1403
|
*/
|
|
1682
1404
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): command_request.CommandRequest;
|
|
1683
1405
|
|
|
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
1406
|
/**
|
|
1713
1407
|
* Gets the default type url for CommandRequest
|
|
1714
1408
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -1788,34 +1482,6 @@ export namespace connection_request {
|
|
|
1788
1482
|
*/
|
|
1789
1483
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.NodeAddress;
|
|
1790
1484
|
|
|
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
1485
|
/**
|
|
1820
1486
|
* Gets the default type url for NodeAddress
|
|
1821
1487
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -1907,34 +1573,6 @@ export namespace connection_request {
|
|
|
1907
1573
|
*/
|
|
1908
1574
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.AuthenticationInfo;
|
|
1909
1575
|
|
|
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
1576
|
/**
|
|
1939
1577
|
* Gets the default type url for AuthenticationInfo
|
|
1940
1578
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -2010,34 +1648,6 @@ export namespace connection_request {
|
|
|
2010
1648
|
*/
|
|
2011
1649
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.PeriodicChecksManualInterval;
|
|
2012
1650
|
|
|
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
1651
|
/**
|
|
2042
1652
|
* Gets the default type url for PeriodicChecksManualInterval
|
|
2043
1653
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -2101,34 +1711,6 @@ export namespace connection_request {
|
|
|
2101
1711
|
*/
|
|
2102
1712
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.PeriodicChecksDisabled;
|
|
2103
1713
|
|
|
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
1714
|
/**
|
|
2133
1715
|
* Gets the default type url for PeriodicChecksDisabled
|
|
2134
1716
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -2205,34 +1787,6 @@ export namespace connection_request {
|
|
|
2205
1787
|
*/
|
|
2206
1788
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.PubSubChannelsOrPatterns;
|
|
2207
1789
|
|
|
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
1790
|
/**
|
|
2237
1791
|
* Gets the default type url for PubSubChannelsOrPatterns
|
|
2238
1792
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -2303,35 +1857,82 @@ export namespace connection_request {
|
|
|
2303
1857
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.PubSubSubscriptions;
|
|
2304
1858
|
|
|
2305
1859
|
/**
|
|
2306
|
-
*
|
|
2307
|
-
* @param
|
|
2308
|
-
* @returns
|
|
1860
|
+
* Gets the default type url for PubSubSubscriptions
|
|
1861
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1862
|
+
* @returns The default type url
|
|
2309
1863
|
*/
|
|
2310
|
-
public static
|
|
1864
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1867
|
+
/** Properties of an OpenTelemetryConfig. */
|
|
1868
|
+
interface IOpenTelemetryConfig {
|
|
1869
|
+
|
|
1870
|
+
/** OpenTelemetryConfig collectorEndPoint */
|
|
1871
|
+
collectorEndPoint?: (string|null);
|
|
1872
|
+
|
|
1873
|
+
/** OpenTelemetryConfig spanFlushInterval */
|
|
1874
|
+
spanFlushInterval?: (number|Long|null);
|
|
1875
|
+
}
|
|
1876
|
+
|
|
1877
|
+
/** Represents an OpenTelemetryConfig. */
|
|
1878
|
+
class OpenTelemetryConfig implements IOpenTelemetryConfig {
|
|
2311
1879
|
|
|
2312
1880
|
/**
|
|
2313
|
-
*
|
|
2314
|
-
* @param
|
|
2315
|
-
* @returns PubSubSubscriptions
|
|
1881
|
+
* Constructs a new OpenTelemetryConfig.
|
|
1882
|
+
* @param [properties] Properties to set
|
|
2316
1883
|
*/
|
|
2317
|
-
|
|
1884
|
+
constructor(properties?: connection_request.IOpenTelemetryConfig);
|
|
1885
|
+
|
|
1886
|
+
/** OpenTelemetryConfig collectorEndPoint. */
|
|
1887
|
+
public collectorEndPoint: string;
|
|
1888
|
+
|
|
1889
|
+
/** OpenTelemetryConfig spanFlushInterval. */
|
|
1890
|
+
public spanFlushInterval?: (number|Long|null);
|
|
2318
1891
|
|
|
2319
1892
|
/**
|
|
2320
|
-
* Creates a
|
|
2321
|
-
* @param
|
|
2322
|
-
* @
|
|
2323
|
-
* @returns Plain object
|
|
1893
|
+
* Creates a new OpenTelemetryConfig instance using the specified properties.
|
|
1894
|
+
* @param [properties] Properties to set
|
|
1895
|
+
* @returns OpenTelemetryConfig instance
|
|
2324
1896
|
*/
|
|
2325
|
-
public static
|
|
1897
|
+
public static create(properties?: connection_request.IOpenTelemetryConfig): connection_request.OpenTelemetryConfig;
|
|
2326
1898
|
|
|
2327
1899
|
/**
|
|
2328
|
-
*
|
|
2329
|
-
* @
|
|
1900
|
+
* Encodes the specified OpenTelemetryConfig message. Does not implicitly {@link connection_request.OpenTelemetryConfig.verify|verify} messages.
|
|
1901
|
+
* @param message OpenTelemetryConfig message or plain object to encode
|
|
1902
|
+
* @param [writer] Writer to encode to
|
|
1903
|
+
* @returns Writer
|
|
2330
1904
|
*/
|
|
2331
|
-
public
|
|
1905
|
+
public static encode(message: connection_request.IOpenTelemetryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2332
1906
|
|
|
2333
1907
|
/**
|
|
2334
|
-
*
|
|
1908
|
+
* Encodes the specified OpenTelemetryConfig message, length delimited. Does not implicitly {@link connection_request.OpenTelemetryConfig.verify|verify} messages.
|
|
1909
|
+
* @param message OpenTelemetryConfig message or plain object to encode
|
|
1910
|
+
* @param [writer] Writer to encode to
|
|
1911
|
+
* @returns Writer
|
|
1912
|
+
*/
|
|
1913
|
+
public static encodeDelimited(message: connection_request.IOpenTelemetryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1914
|
+
|
|
1915
|
+
/**
|
|
1916
|
+
* Decodes an OpenTelemetryConfig message from the specified reader or buffer.
|
|
1917
|
+
* @param reader Reader or buffer to decode from
|
|
1918
|
+
* @param [length] Message length if known beforehand
|
|
1919
|
+
* @returns OpenTelemetryConfig
|
|
1920
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1921
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1922
|
+
*/
|
|
1923
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): connection_request.OpenTelemetryConfig;
|
|
1924
|
+
|
|
1925
|
+
/**
|
|
1926
|
+
* Decodes an OpenTelemetryConfig message from the specified reader or buffer, length delimited.
|
|
1927
|
+
* @param reader Reader or buffer to decode from
|
|
1928
|
+
* @returns OpenTelemetryConfig
|
|
1929
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1930
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1931
|
+
*/
|
|
1932
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.OpenTelemetryConfig;
|
|
1933
|
+
|
|
1934
|
+
/**
|
|
1935
|
+
* Gets the default type url for OpenTelemetryConfig
|
|
2335
1936
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2336
1937
|
* @returns The default type url
|
|
2337
1938
|
*/
|
|
@@ -2388,6 +1989,9 @@ export namespace connection_request {
|
|
|
2388
1989
|
|
|
2389
1990
|
/** ConnectionRequest connectionTimeout */
|
|
2390
1991
|
connectionTimeout?: (number|null);
|
|
1992
|
+
|
|
1993
|
+
/** ConnectionRequest opentelemetryConfig */
|
|
1994
|
+
opentelemetryConfig?: (connection_request.IOpenTelemetryConfig|null);
|
|
2391
1995
|
}
|
|
2392
1996
|
|
|
2393
1997
|
/** Represents a ConnectionRequest. */
|
|
@@ -2447,6 +2051,9 @@ export namespace connection_request {
|
|
|
2447
2051
|
/** ConnectionRequest connectionTimeout. */
|
|
2448
2052
|
public connectionTimeout: number;
|
|
2449
2053
|
|
|
2054
|
+
/** ConnectionRequest opentelemetryConfig. */
|
|
2055
|
+
public opentelemetryConfig?: (connection_request.IOpenTelemetryConfig|null);
|
|
2056
|
+
|
|
2450
2057
|
/** ConnectionRequest periodicChecks. */
|
|
2451
2058
|
public periodicChecks?: ("periodicChecksManualInterval"|"periodicChecksDisabled");
|
|
2452
2059
|
|
|
@@ -2492,34 +2099,6 @@ export namespace connection_request {
|
|
|
2492
2099
|
*/
|
|
2493
2100
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.ConnectionRequest;
|
|
2494
2101
|
|
|
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
2102
|
/**
|
|
2524
2103
|
* Gets the default type url for ConnectionRequest
|
|
2525
2104
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -2539,6 +2118,9 @@ export namespace connection_request {
|
|
|
2539
2118
|
|
|
2540
2119
|
/** ConnectionRetryStrategy exponentBase */
|
|
2541
2120
|
exponentBase?: (number|null);
|
|
2121
|
+
|
|
2122
|
+
/** ConnectionRetryStrategy jitterPercent */
|
|
2123
|
+
jitterPercent?: (number|null);
|
|
2542
2124
|
}
|
|
2543
2125
|
|
|
2544
2126
|
/** Represents a ConnectionRetryStrategy. */
|
|
@@ -2559,6 +2141,9 @@ export namespace connection_request {
|
|
|
2559
2141
|
/** ConnectionRetryStrategy exponentBase. */
|
|
2560
2142
|
public exponentBase: number;
|
|
2561
2143
|
|
|
2144
|
+
/** ConnectionRetryStrategy jitterPercent. */
|
|
2145
|
+
public jitterPercent?: (number|null);
|
|
2146
|
+
|
|
2562
2147
|
/**
|
|
2563
2148
|
* Creates a new ConnectionRetryStrategy instance using the specified properties.
|
|
2564
2149
|
* @param [properties] Properties to set
|
|
@@ -2601,34 +2186,6 @@ export namespace connection_request {
|
|
|
2601
2186
|
*/
|
|
2602
2187
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): connection_request.ConnectionRetryStrategy;
|
|
2603
2188
|
|
|
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
2189
|
/**
|
|
2633
2190
|
* Gets the default type url for ConnectionRetryStrategy
|
|
2634
2191
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -2716,34 +2273,6 @@ export namespace response {
|
|
|
2716
2273
|
*/
|
|
2717
2274
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): response.RequestError;
|
|
2718
2275
|
|
|
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
2276
|
/**
|
|
2748
2277
|
* Gets the default type url for RequestError
|
|
2749
2278
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
@@ -2846,34 +2375,6 @@ export namespace response {
|
|
|
2846
2375
|
*/
|
|
2847
2376
|
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): response.Response;
|
|
2848
2377
|
|
|
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
2378
|
/**
|
|
2878
2379
|
* Gets the default type url for Response
|
|
2879
2380
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|