@kaiko-data/sdk-node 1.36.0 → 1.37.0
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/README.md +4 -0
- package/package.json +1 -1
- package/sdk/sdk_grpc_pb.d.ts +54 -0
- package/sdk/sdk_grpc_pb.js +123 -0
- package/sdk/sdk_pb.d.ts +6 -0
- package/sdk/sdk_pb.js +12 -0
- package/sdk/stream/canton_oracle_v2/response_pb.d.ts +33 -3
- package/sdk/stream/canton_oracle_v2/response_pb.js +246 -13
- package/sdk/stream/evm_oracle_v1/request_grpc_pb.d.ts +1 -0
- package/sdk/stream/evm_oracle_v1/request_grpc_pb.js +1 -0
- package/sdk/stream/evm_oracle_v1/request_pb.d.ts +31 -0
- package/sdk/stream/evm_oracle_v1/request_pb.js +232 -0
- package/sdk/stream/evm_oracle_v1/response_grpc_pb.d.ts +1 -0
- package/sdk/stream/evm_oracle_v1/response_grpc_pb.js +1 -0
- package/sdk/stream/evm_oracle_v1/response_pb.d.ts +49 -0
- package/sdk/stream/evm_oracle_v1/response_pb.js +362 -0
- package/sdk/stream/index_v1/response_pb.d.ts +70 -0
- package/sdk/stream/index_v1/response_pb.js +562 -2
|
@@ -30,6 +30,7 @@ goog.object.extend(proto, sdk_core_wrappers_pb);
|
|
|
30
30
|
var sdk_stream_index_v1_commodity_pb = require('../../../sdk/stream/index_v1/commodity_pb.js');
|
|
31
31
|
goog.object.extend(proto, sdk_stream_index_v1_commodity_pb);
|
|
32
32
|
goog.exportSymbol('proto.kaikosdk.FallbackInfo', null, global);
|
|
33
|
+
goog.exportSymbol('proto.kaikosdk.StreamIndexServiceLastMicroPrice', null, global);
|
|
33
34
|
goog.exportSymbol('proto.kaikosdk.StreamIndexServiceResponseBaseAsset', null, global);
|
|
34
35
|
goog.exportSymbol('proto.kaikosdk.StreamIndexServiceResponseInstruments', null, global);
|
|
35
36
|
goog.exportSymbol('proto.kaikosdk.StreamIndexServiceResponsePairs', null, global);
|
|
@@ -120,6 +121,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
120
121
|
*/
|
|
121
122
|
proto.kaikosdk.StreamIndexServiceResponseInstruments.displayName = 'proto.kaikosdk.StreamIndexServiceResponseInstruments';
|
|
122
123
|
}
|
|
124
|
+
/**
|
|
125
|
+
* Generated by JsPbCodeGenerator.
|
|
126
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
127
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
128
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
129
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
130
|
+
* valid.
|
|
131
|
+
* @extends {jspb.Message}
|
|
132
|
+
* @constructor
|
|
133
|
+
*/
|
|
134
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice = function(opt_data) {
|
|
135
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
136
|
+
};
|
|
137
|
+
goog.inherits(proto.kaikosdk.StreamIndexServiceLastMicroPrice, jspb.Message);
|
|
138
|
+
if (goog.DEBUG && !COMPILED) {
|
|
139
|
+
/**
|
|
140
|
+
* @public
|
|
141
|
+
* @override
|
|
142
|
+
*/
|
|
143
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice.displayName = 'proto.kaikosdk.StreamIndexServiceLastMicroPrice';
|
|
144
|
+
}
|
|
123
145
|
/**
|
|
124
146
|
* Generated by JsPbCodeGenerator.
|
|
125
147
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1138,6 +1160,247 @@ proto.kaikosdk.StreamIndexServiceResponseInstruments.prototype.hasUnderlyingTrad
|
|
|
1138
1160
|
|
|
1139
1161
|
|
|
1140
1162
|
|
|
1163
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1164
|
+
/**
|
|
1165
|
+
* Creates an object representation of this proto.
|
|
1166
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1167
|
+
* Optional fields that are not set will be set to undefined.
|
|
1168
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1169
|
+
* For the list of reserved names please see:
|
|
1170
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1171
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1172
|
+
* JSPB instance for transitional soy proto support:
|
|
1173
|
+
* http://goto/soy-param-migration
|
|
1174
|
+
* @return {!Object}
|
|
1175
|
+
*/
|
|
1176
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice.prototype.toObject = function(opt_includeInstance) {
|
|
1177
|
+
return proto.kaikosdk.StreamIndexServiceLastMicroPrice.toObject(opt_includeInstance, this);
|
|
1178
|
+
};
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* Static version of the {@see toObject} method.
|
|
1183
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1184
|
+
* the JSPB instance for transitional soy proto support:
|
|
1185
|
+
* http://goto/soy-param-migration
|
|
1186
|
+
* @param {!proto.kaikosdk.StreamIndexServiceLastMicroPrice} msg The msg instance to transform.
|
|
1187
|
+
* @return {!Object}
|
|
1188
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1189
|
+
*/
|
|
1190
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice.toObject = function(includeInstance, msg) {
|
|
1191
|
+
var f, obj = {
|
|
1192
|
+
price: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
|
|
1193
|
+
lastTradeTime: (f = msg.getLastTradeTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1194
|
+
volume: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
1195
|
+
exchange: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
1196
|
+
};
|
|
1197
|
+
|
|
1198
|
+
if (includeInstance) {
|
|
1199
|
+
obj.$jspbMessageInstance = msg;
|
|
1200
|
+
}
|
|
1201
|
+
return obj;
|
|
1202
|
+
};
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1208
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1209
|
+
* @return {!proto.kaikosdk.StreamIndexServiceLastMicroPrice}
|
|
1210
|
+
*/
|
|
1211
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice.deserializeBinary = function(bytes) {
|
|
1212
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1213
|
+
var msg = new proto.kaikosdk.StreamIndexServiceLastMicroPrice;
|
|
1214
|
+
return proto.kaikosdk.StreamIndexServiceLastMicroPrice.deserializeBinaryFromReader(msg, reader);
|
|
1215
|
+
};
|
|
1216
|
+
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1220
|
+
* given reader into the given message object.
|
|
1221
|
+
* @param {!proto.kaikosdk.StreamIndexServiceLastMicroPrice} msg The message object to deserialize into.
|
|
1222
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1223
|
+
* @return {!proto.kaikosdk.StreamIndexServiceLastMicroPrice}
|
|
1224
|
+
*/
|
|
1225
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice.deserializeBinaryFromReader = function(msg, reader) {
|
|
1226
|
+
while (reader.nextField()) {
|
|
1227
|
+
if (reader.isEndGroup()) {
|
|
1228
|
+
break;
|
|
1229
|
+
}
|
|
1230
|
+
var field = reader.getFieldNumber();
|
|
1231
|
+
switch (field) {
|
|
1232
|
+
case 1:
|
|
1233
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1234
|
+
msg.setPrice(value);
|
|
1235
|
+
break;
|
|
1236
|
+
case 2:
|
|
1237
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1238
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1239
|
+
msg.setLastTradeTime(value);
|
|
1240
|
+
break;
|
|
1241
|
+
case 3:
|
|
1242
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1243
|
+
msg.setVolume(value);
|
|
1244
|
+
break;
|
|
1245
|
+
case 4:
|
|
1246
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1247
|
+
msg.setExchange(value);
|
|
1248
|
+
break;
|
|
1249
|
+
default:
|
|
1250
|
+
reader.skipField();
|
|
1251
|
+
break;
|
|
1252
|
+
}
|
|
1253
|
+
}
|
|
1254
|
+
return msg;
|
|
1255
|
+
};
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1260
|
+
* @return {!Uint8Array}
|
|
1261
|
+
*/
|
|
1262
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice.prototype.serializeBinary = function() {
|
|
1263
|
+
var writer = new jspb.BinaryWriter();
|
|
1264
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice.serializeBinaryToWriter(this, writer);
|
|
1265
|
+
return writer.getResultBuffer();
|
|
1266
|
+
};
|
|
1267
|
+
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1271
|
+
* format), writing to the given BinaryWriter.
|
|
1272
|
+
* @param {!proto.kaikosdk.StreamIndexServiceLastMicroPrice} message
|
|
1273
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1274
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1275
|
+
*/
|
|
1276
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice.serializeBinaryToWriter = function(message, writer) {
|
|
1277
|
+
var f = undefined;
|
|
1278
|
+
f = message.getPrice();
|
|
1279
|
+
if (f !== 0.0) {
|
|
1280
|
+
writer.writeDouble(
|
|
1281
|
+
1,
|
|
1282
|
+
f
|
|
1283
|
+
);
|
|
1284
|
+
}
|
|
1285
|
+
f = message.getLastTradeTime();
|
|
1286
|
+
if (f != null) {
|
|
1287
|
+
writer.writeMessage(
|
|
1288
|
+
2,
|
|
1289
|
+
f,
|
|
1290
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1291
|
+
);
|
|
1292
|
+
}
|
|
1293
|
+
f = message.getVolume();
|
|
1294
|
+
if (f !== 0.0) {
|
|
1295
|
+
writer.writeDouble(
|
|
1296
|
+
3,
|
|
1297
|
+
f
|
|
1298
|
+
);
|
|
1299
|
+
}
|
|
1300
|
+
f = message.getExchange();
|
|
1301
|
+
if (f.length > 0) {
|
|
1302
|
+
writer.writeString(
|
|
1303
|
+
4,
|
|
1304
|
+
f
|
|
1305
|
+
);
|
|
1306
|
+
}
|
|
1307
|
+
};
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* optional double price = 1;
|
|
1312
|
+
* @return {number}
|
|
1313
|
+
*/
|
|
1314
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice.prototype.getPrice = function() {
|
|
1315
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
|
|
1316
|
+
};
|
|
1317
|
+
|
|
1318
|
+
|
|
1319
|
+
/**
|
|
1320
|
+
* @param {number} value
|
|
1321
|
+
* @return {!proto.kaikosdk.StreamIndexServiceLastMicroPrice} returns this
|
|
1322
|
+
*/
|
|
1323
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice.prototype.setPrice = function(value) {
|
|
1324
|
+
return jspb.Message.setProto3FloatField(this, 1, value);
|
|
1325
|
+
};
|
|
1326
|
+
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* optional google.protobuf.Timestamp last_trade_time = 2;
|
|
1330
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1331
|
+
*/
|
|
1332
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice.prototype.getLastTradeTime = function() {
|
|
1333
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1334
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
|
|
1335
|
+
};
|
|
1336
|
+
|
|
1337
|
+
|
|
1338
|
+
/**
|
|
1339
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1340
|
+
* @return {!proto.kaikosdk.StreamIndexServiceLastMicroPrice} returns this
|
|
1341
|
+
*/
|
|
1342
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice.prototype.setLastTradeTime = function(value) {
|
|
1343
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
1344
|
+
};
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
/**
|
|
1348
|
+
* Clears the message field making it undefined.
|
|
1349
|
+
* @return {!proto.kaikosdk.StreamIndexServiceLastMicroPrice} returns this
|
|
1350
|
+
*/
|
|
1351
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice.prototype.clearLastTradeTime = function() {
|
|
1352
|
+
return this.setLastTradeTime(undefined);
|
|
1353
|
+
};
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
/**
|
|
1357
|
+
* Returns whether this field is set.
|
|
1358
|
+
* @return {boolean}
|
|
1359
|
+
*/
|
|
1360
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice.prototype.hasLastTradeTime = function() {
|
|
1361
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1362
|
+
};
|
|
1363
|
+
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* optional double volume = 3;
|
|
1367
|
+
* @return {number}
|
|
1368
|
+
*/
|
|
1369
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice.prototype.getVolume = function() {
|
|
1370
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
1371
|
+
};
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
/**
|
|
1375
|
+
* @param {number} value
|
|
1376
|
+
* @return {!proto.kaikosdk.StreamIndexServiceLastMicroPrice} returns this
|
|
1377
|
+
*/
|
|
1378
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice.prototype.setVolume = function(value) {
|
|
1379
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
1380
|
+
};
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* optional string exchange = 4;
|
|
1385
|
+
* @return {string}
|
|
1386
|
+
*/
|
|
1387
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice.prototype.getExchange = function() {
|
|
1388
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1389
|
+
};
|
|
1390
|
+
|
|
1391
|
+
|
|
1392
|
+
/**
|
|
1393
|
+
* @param {string} value
|
|
1394
|
+
* @return {!proto.kaikosdk.StreamIndexServiceLastMicroPrice} returns this
|
|
1395
|
+
*/
|
|
1396
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice.prototype.setExchange = function(value) {
|
|
1397
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1398
|
+
};
|
|
1399
|
+
|
|
1400
|
+
|
|
1401
|
+
|
|
1402
|
+
|
|
1403
|
+
|
|
1141
1404
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1142
1405
|
/**
|
|
1143
1406
|
* Creates an object representation of this proto.
|
|
@@ -1329,7 +1592,8 @@ proto.kaikosdk.FallbackInfo.toObject = function(includeInstance, msg) {
|
|
|
1329
1592
|
var f, obj = {
|
|
1330
1593
|
fallbackUsed: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f,
|
|
1331
1594
|
fallbackSource: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
1332
|
-
fallbackTimestamp: (f = msg.getFallbackTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
1595
|
+
fallbackTimestamp: (f = msg.getFallbackTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1596
|
+
fallbackInterval: (f = msg.getFallbackInterval()) && sdk_core_data_interval_pb.DataInterval.toObject(includeInstance, f)
|
|
1333
1597
|
};
|
|
1334
1598
|
|
|
1335
1599
|
if (includeInstance) {
|
|
@@ -1379,6 +1643,11 @@ proto.kaikosdk.FallbackInfo.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1379
1643
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1380
1644
|
msg.setFallbackTimestamp(value);
|
|
1381
1645
|
break;
|
|
1646
|
+
case 4:
|
|
1647
|
+
var value = new sdk_core_data_interval_pb.DataInterval;
|
|
1648
|
+
reader.readMessage(value,sdk_core_data_interval_pb.DataInterval.deserializeBinaryFromReader);
|
|
1649
|
+
msg.setFallbackInterval(value);
|
|
1650
|
+
break;
|
|
1382
1651
|
default:
|
|
1383
1652
|
reader.skipField();
|
|
1384
1653
|
break;
|
|
@@ -1430,6 +1699,14 @@ proto.kaikosdk.FallbackInfo.serializeBinaryToWriter = function(message, writer)
|
|
|
1430
1699
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1431
1700
|
);
|
|
1432
1701
|
}
|
|
1702
|
+
f = message.getFallbackInterval();
|
|
1703
|
+
if (f != null) {
|
|
1704
|
+
writer.writeMessage(
|
|
1705
|
+
4,
|
|
1706
|
+
f,
|
|
1707
|
+
sdk_core_data_interval_pb.DataInterval.serializeBinaryToWriter
|
|
1708
|
+
);
|
|
1709
|
+
}
|
|
1433
1710
|
};
|
|
1434
1711
|
|
|
1435
1712
|
|
|
@@ -1542,6 +1819,43 @@ proto.kaikosdk.FallbackInfo.prototype.hasFallbackTimestamp = function() {
|
|
|
1542
1819
|
};
|
|
1543
1820
|
|
|
1544
1821
|
|
|
1822
|
+
/**
|
|
1823
|
+
* optional DataInterval fallback_interval = 4;
|
|
1824
|
+
* @return {?proto.kaikosdk.DataInterval}
|
|
1825
|
+
*/
|
|
1826
|
+
proto.kaikosdk.FallbackInfo.prototype.getFallbackInterval = function() {
|
|
1827
|
+
return /** @type{?proto.kaikosdk.DataInterval} */ (
|
|
1828
|
+
jspb.Message.getWrapperField(this, sdk_core_data_interval_pb.DataInterval, 4));
|
|
1829
|
+
};
|
|
1830
|
+
|
|
1831
|
+
|
|
1832
|
+
/**
|
|
1833
|
+
* @param {?proto.kaikosdk.DataInterval|undefined} value
|
|
1834
|
+
* @return {!proto.kaikosdk.FallbackInfo} returns this
|
|
1835
|
+
*/
|
|
1836
|
+
proto.kaikosdk.FallbackInfo.prototype.setFallbackInterval = function(value) {
|
|
1837
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
1838
|
+
};
|
|
1839
|
+
|
|
1840
|
+
|
|
1841
|
+
/**
|
|
1842
|
+
* Clears the message field making it undefined.
|
|
1843
|
+
* @return {!proto.kaikosdk.FallbackInfo} returns this
|
|
1844
|
+
*/
|
|
1845
|
+
proto.kaikosdk.FallbackInfo.prototype.clearFallbackInterval = function() {
|
|
1846
|
+
return this.setFallbackInterval(undefined);
|
|
1847
|
+
};
|
|
1848
|
+
|
|
1849
|
+
|
|
1850
|
+
/**
|
|
1851
|
+
* Returns whether this field is set.
|
|
1852
|
+
* @return {boolean}
|
|
1853
|
+
*/
|
|
1854
|
+
proto.kaikosdk.FallbackInfo.prototype.hasFallbackInterval = function() {
|
|
1855
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1856
|
+
};
|
|
1857
|
+
|
|
1858
|
+
|
|
1545
1859
|
|
|
1546
1860
|
/**
|
|
1547
1861
|
* List of repeated fields within this message type.
|
|
@@ -1594,7 +1908,12 @@ tsEvent: (f = msg.getTsEvent()) && google_protobuf_timestamp_pb.Timestamp.toObje
|
|
|
1594
1908
|
sequenceId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1595
1909
|
lastIngestTime: (f = msg.getLastIngestTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1596
1910
|
lastAnomalyIngestTime: (f = msg.getLastAnomalyIngestTime()) && sdk_core_wrappers_pb.TimestampValue.toObject(includeInstance, f),
|
|
1597
|
-
fallbackInfo: (f = msg.getFallbackInfo()) && proto.kaikosdk.FallbackInfo.toObject(includeInstance, f)
|
|
1911
|
+
fallbackInfo: (f = msg.getFallbackInfo()) && proto.kaikosdk.FallbackInfo.toObject(includeInstance, f),
|
|
1912
|
+
lastMicroPrice: (f = msg.getLastMicroPrice()) && proto.kaikosdk.StreamIndexServiceLastMicroPrice.toObject(includeInstance, f),
|
|
1913
|
+
restatementStatus: (f = jspb.Message.getBooleanField(msg, 15)) == null ? undefined : f,
|
|
1914
|
+
correctionId: (f = jspb.Message.getField(msg, 16)) == null ? undefined : f,
|
|
1915
|
+
initialPublicationTs: (f = msg.getInitialPublicationTs()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1916
|
+
incidentId: (f = jspb.Message.getField(msg, 18)) == null ? undefined : f
|
|
1598
1917
|
};
|
|
1599
1918
|
|
|
1600
1919
|
if (includeInstance) {
|
|
@@ -1686,6 +2005,28 @@ proto.kaikosdk.StreamIndexServiceResponseV1.deserializeBinaryFromReader = functi
|
|
|
1686
2005
|
reader.readMessage(value,proto.kaikosdk.FallbackInfo.deserializeBinaryFromReader);
|
|
1687
2006
|
msg.setFallbackInfo(value);
|
|
1688
2007
|
break;
|
|
2008
|
+
case 14:
|
|
2009
|
+
var value = new proto.kaikosdk.StreamIndexServiceLastMicroPrice;
|
|
2010
|
+
reader.readMessage(value,proto.kaikosdk.StreamIndexServiceLastMicroPrice.deserializeBinaryFromReader);
|
|
2011
|
+
msg.setLastMicroPrice(value);
|
|
2012
|
+
break;
|
|
2013
|
+
case 15:
|
|
2014
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2015
|
+
msg.setRestatementStatus(value);
|
|
2016
|
+
break;
|
|
2017
|
+
case 16:
|
|
2018
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2019
|
+
msg.setCorrectionId(value);
|
|
2020
|
+
break;
|
|
2021
|
+
case 17:
|
|
2022
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
2023
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
2024
|
+
msg.setInitialPublicationTs(value);
|
|
2025
|
+
break;
|
|
2026
|
+
case 18:
|
|
2027
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2028
|
+
msg.setIncidentId(value);
|
|
2029
|
+
break;
|
|
1689
2030
|
default:
|
|
1690
2031
|
reader.skipField();
|
|
1691
2032
|
break;
|
|
@@ -1806,6 +2147,43 @@ proto.kaikosdk.StreamIndexServiceResponseV1.serializeBinaryToWriter = function(m
|
|
|
1806
2147
|
proto.kaikosdk.FallbackInfo.serializeBinaryToWriter
|
|
1807
2148
|
);
|
|
1808
2149
|
}
|
|
2150
|
+
f = message.getLastMicroPrice();
|
|
2151
|
+
if (f != null) {
|
|
2152
|
+
writer.writeMessage(
|
|
2153
|
+
14,
|
|
2154
|
+
f,
|
|
2155
|
+
proto.kaikosdk.StreamIndexServiceLastMicroPrice.serializeBinaryToWriter
|
|
2156
|
+
);
|
|
2157
|
+
}
|
|
2158
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 15));
|
|
2159
|
+
if (f != null) {
|
|
2160
|
+
writer.writeBool(
|
|
2161
|
+
15,
|
|
2162
|
+
f
|
|
2163
|
+
);
|
|
2164
|
+
}
|
|
2165
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 16));
|
|
2166
|
+
if (f != null) {
|
|
2167
|
+
writer.writeString(
|
|
2168
|
+
16,
|
|
2169
|
+
f
|
|
2170
|
+
);
|
|
2171
|
+
}
|
|
2172
|
+
f = message.getInitialPublicationTs();
|
|
2173
|
+
if (f != null) {
|
|
2174
|
+
writer.writeMessage(
|
|
2175
|
+
17,
|
|
2176
|
+
f,
|
|
2177
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
2178
|
+
);
|
|
2179
|
+
}
|
|
2180
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 18));
|
|
2181
|
+
if (f != null) {
|
|
2182
|
+
writer.writeString(
|
|
2183
|
+
18,
|
|
2184
|
+
f
|
|
2185
|
+
);
|
|
2186
|
+
}
|
|
1809
2187
|
};
|
|
1810
2188
|
|
|
1811
2189
|
|
|
@@ -2179,4 +2557,186 @@ proto.kaikosdk.StreamIndexServiceResponseV1.prototype.hasFallbackInfo = function
|
|
|
2179
2557
|
};
|
|
2180
2558
|
|
|
2181
2559
|
|
|
2560
|
+
/**
|
|
2561
|
+
* optional StreamIndexServiceLastMicroPrice last_micro_price = 14;
|
|
2562
|
+
* @return {?proto.kaikosdk.StreamIndexServiceLastMicroPrice}
|
|
2563
|
+
*/
|
|
2564
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.getLastMicroPrice = function() {
|
|
2565
|
+
return /** @type{?proto.kaikosdk.StreamIndexServiceLastMicroPrice} */ (
|
|
2566
|
+
jspb.Message.getWrapperField(this, proto.kaikosdk.StreamIndexServiceLastMicroPrice, 14));
|
|
2567
|
+
};
|
|
2568
|
+
|
|
2569
|
+
|
|
2570
|
+
/**
|
|
2571
|
+
* @param {?proto.kaikosdk.StreamIndexServiceLastMicroPrice|undefined} value
|
|
2572
|
+
* @return {!proto.kaikosdk.StreamIndexServiceResponseV1} returns this
|
|
2573
|
+
*/
|
|
2574
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.setLastMicroPrice = function(value) {
|
|
2575
|
+
return jspb.Message.setWrapperField(this, 14, value);
|
|
2576
|
+
};
|
|
2577
|
+
|
|
2578
|
+
|
|
2579
|
+
/**
|
|
2580
|
+
* Clears the message field making it undefined.
|
|
2581
|
+
* @return {!proto.kaikosdk.StreamIndexServiceResponseV1} returns this
|
|
2582
|
+
*/
|
|
2583
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.clearLastMicroPrice = function() {
|
|
2584
|
+
return this.setLastMicroPrice(undefined);
|
|
2585
|
+
};
|
|
2586
|
+
|
|
2587
|
+
|
|
2588
|
+
/**
|
|
2589
|
+
* Returns whether this field is set.
|
|
2590
|
+
* @return {boolean}
|
|
2591
|
+
*/
|
|
2592
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.hasLastMicroPrice = function() {
|
|
2593
|
+
return jspb.Message.getField(this, 14) != null;
|
|
2594
|
+
};
|
|
2595
|
+
|
|
2596
|
+
|
|
2597
|
+
/**
|
|
2598
|
+
* optional bool restatement_status = 15;
|
|
2599
|
+
* @return {boolean}
|
|
2600
|
+
*/
|
|
2601
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.getRestatementStatus = function() {
|
|
2602
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false));
|
|
2603
|
+
};
|
|
2604
|
+
|
|
2605
|
+
|
|
2606
|
+
/**
|
|
2607
|
+
* @param {boolean} value
|
|
2608
|
+
* @return {!proto.kaikosdk.StreamIndexServiceResponseV1} returns this
|
|
2609
|
+
*/
|
|
2610
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.setRestatementStatus = function(value) {
|
|
2611
|
+
return jspb.Message.setField(this, 15, value);
|
|
2612
|
+
};
|
|
2613
|
+
|
|
2614
|
+
|
|
2615
|
+
/**
|
|
2616
|
+
* Clears the field making it undefined.
|
|
2617
|
+
* @return {!proto.kaikosdk.StreamIndexServiceResponseV1} returns this
|
|
2618
|
+
*/
|
|
2619
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.clearRestatementStatus = function() {
|
|
2620
|
+
return jspb.Message.setField(this, 15, undefined);
|
|
2621
|
+
};
|
|
2622
|
+
|
|
2623
|
+
|
|
2624
|
+
/**
|
|
2625
|
+
* Returns whether this field is set.
|
|
2626
|
+
* @return {boolean}
|
|
2627
|
+
*/
|
|
2628
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.hasRestatementStatus = function() {
|
|
2629
|
+
return jspb.Message.getField(this, 15) != null;
|
|
2630
|
+
};
|
|
2631
|
+
|
|
2632
|
+
|
|
2633
|
+
/**
|
|
2634
|
+
* optional string correction_id = 16;
|
|
2635
|
+
* @return {string}
|
|
2636
|
+
*/
|
|
2637
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.getCorrectionId = function() {
|
|
2638
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
2639
|
+
};
|
|
2640
|
+
|
|
2641
|
+
|
|
2642
|
+
/**
|
|
2643
|
+
* @param {string} value
|
|
2644
|
+
* @return {!proto.kaikosdk.StreamIndexServiceResponseV1} returns this
|
|
2645
|
+
*/
|
|
2646
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.setCorrectionId = function(value) {
|
|
2647
|
+
return jspb.Message.setField(this, 16, value);
|
|
2648
|
+
};
|
|
2649
|
+
|
|
2650
|
+
|
|
2651
|
+
/**
|
|
2652
|
+
* Clears the field making it undefined.
|
|
2653
|
+
* @return {!proto.kaikosdk.StreamIndexServiceResponseV1} returns this
|
|
2654
|
+
*/
|
|
2655
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.clearCorrectionId = function() {
|
|
2656
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
2657
|
+
};
|
|
2658
|
+
|
|
2659
|
+
|
|
2660
|
+
/**
|
|
2661
|
+
* Returns whether this field is set.
|
|
2662
|
+
* @return {boolean}
|
|
2663
|
+
*/
|
|
2664
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.hasCorrectionId = function() {
|
|
2665
|
+
return jspb.Message.getField(this, 16) != null;
|
|
2666
|
+
};
|
|
2667
|
+
|
|
2668
|
+
|
|
2669
|
+
/**
|
|
2670
|
+
* optional google.protobuf.Timestamp initial_publication_ts = 17;
|
|
2671
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
2672
|
+
*/
|
|
2673
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.getInitialPublicationTs = function() {
|
|
2674
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
2675
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 17));
|
|
2676
|
+
};
|
|
2677
|
+
|
|
2678
|
+
|
|
2679
|
+
/**
|
|
2680
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
2681
|
+
* @return {!proto.kaikosdk.StreamIndexServiceResponseV1} returns this
|
|
2682
|
+
*/
|
|
2683
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.setInitialPublicationTs = function(value) {
|
|
2684
|
+
return jspb.Message.setWrapperField(this, 17, value);
|
|
2685
|
+
};
|
|
2686
|
+
|
|
2687
|
+
|
|
2688
|
+
/**
|
|
2689
|
+
* Clears the message field making it undefined.
|
|
2690
|
+
* @return {!proto.kaikosdk.StreamIndexServiceResponseV1} returns this
|
|
2691
|
+
*/
|
|
2692
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.clearInitialPublicationTs = function() {
|
|
2693
|
+
return this.setInitialPublicationTs(undefined);
|
|
2694
|
+
};
|
|
2695
|
+
|
|
2696
|
+
|
|
2697
|
+
/**
|
|
2698
|
+
* Returns whether this field is set.
|
|
2699
|
+
* @return {boolean}
|
|
2700
|
+
*/
|
|
2701
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.hasInitialPublicationTs = function() {
|
|
2702
|
+
return jspb.Message.getField(this, 17) != null;
|
|
2703
|
+
};
|
|
2704
|
+
|
|
2705
|
+
|
|
2706
|
+
/**
|
|
2707
|
+
* optional string incident_id = 18;
|
|
2708
|
+
* @return {string}
|
|
2709
|
+
*/
|
|
2710
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.getIncidentId = function() {
|
|
2711
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
2712
|
+
};
|
|
2713
|
+
|
|
2714
|
+
|
|
2715
|
+
/**
|
|
2716
|
+
* @param {string} value
|
|
2717
|
+
* @return {!proto.kaikosdk.StreamIndexServiceResponseV1} returns this
|
|
2718
|
+
*/
|
|
2719
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.setIncidentId = function(value) {
|
|
2720
|
+
return jspb.Message.setField(this, 18, value);
|
|
2721
|
+
};
|
|
2722
|
+
|
|
2723
|
+
|
|
2724
|
+
/**
|
|
2725
|
+
* Clears the field making it undefined.
|
|
2726
|
+
* @return {!proto.kaikosdk.StreamIndexServiceResponseV1} returns this
|
|
2727
|
+
*/
|
|
2728
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.clearIncidentId = function() {
|
|
2729
|
+
return jspb.Message.setField(this, 18, undefined);
|
|
2730
|
+
};
|
|
2731
|
+
|
|
2732
|
+
|
|
2733
|
+
/**
|
|
2734
|
+
* Returns whether this field is set.
|
|
2735
|
+
* @return {boolean}
|
|
2736
|
+
*/
|
|
2737
|
+
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.hasIncidentId = function() {
|
|
2738
|
+
return jspb.Message.getField(this, 18) != null;
|
|
2739
|
+
};
|
|
2740
|
+
|
|
2741
|
+
|
|
2182
2742
|
goog.object.extend(exports, proto.kaikosdk);
|