@kaiko-data/sdk-node 1.21.0 → 1.22.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/package.json +1 -1
- package/sdk/sdk_grpc_pb.d.ts +44 -8
- package/sdk/sdk_grpc_pb.js +90 -8
- package/sdk/sdk_pb.d.ts +12 -8
- package/sdk/sdk_pb.js +24 -16
- package/sdk/stream/derivatives_instrument_metrics_v1/commodity_kind_grpc_pb.d.ts +1 -0
- package/sdk/stream/derivatives_instrument_metrics_v1/commodity_kind_grpc_pb.js +1 -0
- package/sdk/stream/derivatives_instrument_metrics_v1/commodity_kind_pb.d.ts +13 -0
- package/sdk/stream/derivatives_instrument_metrics_v1/commodity_kind_pb.js +34 -0
- package/sdk/stream/derivatives_instrument_metrics_v1/request_grpc_pb.d.ts +1 -0
- package/sdk/stream/derivatives_instrument_metrics_v1/request_grpc_pb.js +1 -0
- package/sdk/stream/derivatives_instrument_metrics_v1/request_pb.d.ts +35 -0
- package/sdk/stream/derivatives_instrument_metrics_v1/request_pb.js +259 -0
- package/sdk/stream/derivatives_instrument_metrics_v1/response_grpc_pb.d.ts +1 -0
- package/sdk/stream/derivatives_instrument_metrics_v1/response_grpc_pb.js +1 -0
- package/sdk/stream/derivatives_instrument_metrics_v1/response_pb.d.ts +55 -0
- package/sdk/stream/derivatives_instrument_metrics_v1/response_pb.js +402 -0
- package/sdk/stream/iv_svi_parameters_v1/request_grpc_pb.d.ts +1 -0
- package/sdk/stream/iv_svi_parameters_v1/request_grpc_pb.js +1 -0
- package/sdk/stream/iv_svi_parameters_v1/request_pb.d.ts +32 -0
- package/sdk/stream/iv_svi_parameters_v1/request_pb.js +229 -0
- package/sdk/stream/iv_svi_parameters_v1/response_grpc_pb.d.ts +1 -0
- package/sdk/stream/iv_svi_parameters_v1/response_grpc_pb.js +1 -0
- package/sdk/stream/iv_svi_parameters_v1/response_pb.d.ts +92 -0
- package/sdk/stream/iv_svi_parameters_v1/response_pb.js +708 -0
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
// source: sdk/stream/derivatives_instrument_metrics_v1/response.proto
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview
|
|
4
|
+
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
13
|
+
|
|
14
|
+
var jspb = require('google-protobuf');
|
|
15
|
+
var goog = jspb;
|
|
16
|
+
var global =
|
|
17
|
+
(typeof globalThis !== 'undefined' && globalThis) ||
|
|
18
|
+
(typeof window !== 'undefined' && window) ||
|
|
19
|
+
(typeof global !== 'undefined' && global) ||
|
|
20
|
+
(typeof self !== 'undefined' && self) ||
|
|
21
|
+
(function () { return this; }).call(null) ||
|
|
22
|
+
Function('return this')();
|
|
23
|
+
|
|
24
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
25
|
+
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
26
|
+
var sdk_stream_derivatives_instrument_metrics_v1_commodity_kind_pb = require('../../../sdk/stream/derivatives_instrument_metrics_v1/commodity_kind_pb.js');
|
|
27
|
+
goog.object.extend(proto, sdk_stream_derivatives_instrument_metrics_v1_commodity_kind_pb);
|
|
28
|
+
goog.exportSymbol('proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1', null, global);
|
|
29
|
+
/**
|
|
30
|
+
* Generated by JsPbCodeGenerator.
|
|
31
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
32
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
33
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
34
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
35
|
+
* valid.
|
|
36
|
+
* @extends {jspb.Message}
|
|
37
|
+
* @constructor
|
|
38
|
+
*/
|
|
39
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1 = function(opt_data) {
|
|
40
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
41
|
+
};
|
|
42
|
+
goog.inherits(proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1, jspb.Message);
|
|
43
|
+
if (goog.DEBUG && !COMPILED) {
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
* @override
|
|
47
|
+
*/
|
|
48
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.displayName = 'proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1';
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
54
|
+
/**
|
|
55
|
+
* Creates an object representation of this proto.
|
|
56
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
57
|
+
* Optional fields that are not set will be set to undefined.
|
|
58
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
59
|
+
* For the list of reserved names please see:
|
|
60
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
61
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
62
|
+
* JSPB instance for transitional soy proto support:
|
|
63
|
+
* http://goto/soy-param-migration
|
|
64
|
+
* @return {!Object}
|
|
65
|
+
*/
|
|
66
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.toObject = function(opt_includeInstance) {
|
|
67
|
+
return proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.toObject(opt_includeInstance, this);
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Static version of the {@see toObject} method.
|
|
73
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
74
|
+
* the JSPB instance for transitional soy proto support:
|
|
75
|
+
* http://goto/soy-param-migration
|
|
76
|
+
* @param {!proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1} msg The msg instance to transform.
|
|
77
|
+
* @return {!Object}
|
|
78
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
79
|
+
*/
|
|
80
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.toObject = function(includeInstance, msg) {
|
|
81
|
+
var f, obj = {
|
|
82
|
+
value: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
83
|
+
legacySymbol: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
84
|
+
exchange: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
85
|
+
commodity: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
86
|
+
commodityKind: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
87
|
+
tsCollection: (f = msg.getTsCollection()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
88
|
+
tsEvent: (f = msg.getTsEvent()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
if (includeInstance) {
|
|
92
|
+
obj.$jspbMessageInstance = msg;
|
|
93
|
+
}
|
|
94
|
+
return obj;
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Deserializes binary data (in protobuf wire format).
|
|
101
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
102
|
+
* @return {!proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1}
|
|
103
|
+
*/
|
|
104
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.deserializeBinary = function(bytes) {
|
|
105
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
106
|
+
var msg = new proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1;
|
|
107
|
+
return proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.deserializeBinaryFromReader(msg, reader);
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
113
|
+
* given reader into the given message object.
|
|
114
|
+
* @param {!proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1} msg The message object to deserialize into.
|
|
115
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
116
|
+
* @return {!proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1}
|
|
117
|
+
*/
|
|
118
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.deserializeBinaryFromReader = function(msg, reader) {
|
|
119
|
+
while (reader.nextField()) {
|
|
120
|
+
if (reader.isEndGroup()) {
|
|
121
|
+
break;
|
|
122
|
+
}
|
|
123
|
+
var field = reader.getFieldNumber();
|
|
124
|
+
switch (field) {
|
|
125
|
+
case 1:
|
|
126
|
+
var value = /** @type {string} */ (reader.readString());
|
|
127
|
+
msg.setValue(value);
|
|
128
|
+
break;
|
|
129
|
+
case 2:
|
|
130
|
+
var value = /** @type {string} */ (reader.readString());
|
|
131
|
+
msg.setLegacySymbol(value);
|
|
132
|
+
break;
|
|
133
|
+
case 3:
|
|
134
|
+
var value = /** @type {string} */ (reader.readString());
|
|
135
|
+
msg.setExchange(value);
|
|
136
|
+
break;
|
|
137
|
+
case 4:
|
|
138
|
+
var value = /** @type {string} */ (reader.readString());
|
|
139
|
+
msg.setCommodity(value);
|
|
140
|
+
break;
|
|
141
|
+
case 5:
|
|
142
|
+
var value = /** @type {!proto.kaikosdk.StreamDerivativesInstrumentCommodityKindV1} */ (reader.readEnum());
|
|
143
|
+
msg.setCommodityKind(value);
|
|
144
|
+
break;
|
|
145
|
+
case 6:
|
|
146
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
147
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
148
|
+
msg.setTsCollection(value);
|
|
149
|
+
break;
|
|
150
|
+
case 7:
|
|
151
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
152
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
153
|
+
msg.setTsEvent(value);
|
|
154
|
+
break;
|
|
155
|
+
default:
|
|
156
|
+
reader.skipField();
|
|
157
|
+
break;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
return msg;
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
166
|
+
* @return {!Uint8Array}
|
|
167
|
+
*/
|
|
168
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.serializeBinary = function() {
|
|
169
|
+
var writer = new jspb.BinaryWriter();
|
|
170
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.serializeBinaryToWriter(this, writer);
|
|
171
|
+
return writer.getResultBuffer();
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
177
|
+
* format), writing to the given BinaryWriter.
|
|
178
|
+
* @param {!proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1} message
|
|
179
|
+
* @param {!jspb.BinaryWriter} writer
|
|
180
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
181
|
+
*/
|
|
182
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.serializeBinaryToWriter = function(message, writer) {
|
|
183
|
+
var f = undefined;
|
|
184
|
+
f = message.getValue();
|
|
185
|
+
if (f.length > 0) {
|
|
186
|
+
writer.writeString(
|
|
187
|
+
1,
|
|
188
|
+
f
|
|
189
|
+
);
|
|
190
|
+
}
|
|
191
|
+
f = message.getLegacySymbol();
|
|
192
|
+
if (f.length > 0) {
|
|
193
|
+
writer.writeString(
|
|
194
|
+
2,
|
|
195
|
+
f
|
|
196
|
+
);
|
|
197
|
+
}
|
|
198
|
+
f = message.getExchange();
|
|
199
|
+
if (f.length > 0) {
|
|
200
|
+
writer.writeString(
|
|
201
|
+
3,
|
|
202
|
+
f
|
|
203
|
+
);
|
|
204
|
+
}
|
|
205
|
+
f = message.getCommodity();
|
|
206
|
+
if (f.length > 0) {
|
|
207
|
+
writer.writeString(
|
|
208
|
+
4,
|
|
209
|
+
f
|
|
210
|
+
);
|
|
211
|
+
}
|
|
212
|
+
f = message.getCommodityKind();
|
|
213
|
+
if (f !== 0.0) {
|
|
214
|
+
writer.writeEnum(
|
|
215
|
+
5,
|
|
216
|
+
f
|
|
217
|
+
);
|
|
218
|
+
}
|
|
219
|
+
f = message.getTsCollection();
|
|
220
|
+
if (f != null) {
|
|
221
|
+
writer.writeMessage(
|
|
222
|
+
6,
|
|
223
|
+
f,
|
|
224
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
225
|
+
);
|
|
226
|
+
}
|
|
227
|
+
f = message.getTsEvent();
|
|
228
|
+
if (f != null) {
|
|
229
|
+
writer.writeMessage(
|
|
230
|
+
7,
|
|
231
|
+
f,
|
|
232
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
233
|
+
);
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* optional string value = 1;
|
|
240
|
+
* @return {string}
|
|
241
|
+
*/
|
|
242
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.getValue = function() {
|
|
243
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* @param {string} value
|
|
249
|
+
* @return {!proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1} returns this
|
|
250
|
+
*/
|
|
251
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.setValue = function(value) {
|
|
252
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* optional string legacy_symbol = 2;
|
|
258
|
+
* @return {string}
|
|
259
|
+
*/
|
|
260
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.getLegacySymbol = function() {
|
|
261
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* @param {string} value
|
|
267
|
+
* @return {!proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1} returns this
|
|
268
|
+
*/
|
|
269
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.setLegacySymbol = function(value) {
|
|
270
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* optional string exchange = 3;
|
|
276
|
+
* @return {string}
|
|
277
|
+
*/
|
|
278
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.getExchange = function() {
|
|
279
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* @param {string} value
|
|
285
|
+
* @return {!proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1} returns this
|
|
286
|
+
*/
|
|
287
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.setExchange = function(value) {
|
|
288
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* optional string commodity = 4;
|
|
294
|
+
* @return {string}
|
|
295
|
+
*/
|
|
296
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.getCommodity = function() {
|
|
297
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
298
|
+
};
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* @param {string} value
|
|
303
|
+
* @return {!proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1} returns this
|
|
304
|
+
*/
|
|
305
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.setCommodity = function(value) {
|
|
306
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* optional StreamDerivativesInstrumentCommodityKindV1 commodity_kind = 5;
|
|
312
|
+
* @return {!proto.kaikosdk.StreamDerivativesInstrumentCommodityKindV1}
|
|
313
|
+
*/
|
|
314
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.getCommodityKind = function() {
|
|
315
|
+
return /** @type {!proto.kaikosdk.StreamDerivativesInstrumentCommodityKindV1} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* @param {!proto.kaikosdk.StreamDerivativesInstrumentCommodityKindV1} value
|
|
321
|
+
* @return {!proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1} returns this
|
|
322
|
+
*/
|
|
323
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.setCommodityKind = function(value) {
|
|
324
|
+
return jspb.Message.setProto3EnumField(this, 5, value);
|
|
325
|
+
};
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* optional google.protobuf.Timestamp ts_collection = 6;
|
|
330
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
331
|
+
*/
|
|
332
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.getTsCollection = function() {
|
|
333
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
334
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
|
|
335
|
+
};
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
340
|
+
* @return {!proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1} returns this
|
|
341
|
+
*/
|
|
342
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.setTsCollection = function(value) {
|
|
343
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Clears the message field making it undefined.
|
|
349
|
+
* @return {!proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1} returns this
|
|
350
|
+
*/
|
|
351
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.clearTsCollection = function() {
|
|
352
|
+
return this.setTsCollection(undefined);
|
|
353
|
+
};
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* Returns whether this field is set.
|
|
358
|
+
* @return {boolean}
|
|
359
|
+
*/
|
|
360
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.hasTsCollection = function() {
|
|
361
|
+
return jspb.Message.getField(this, 6) != null;
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* optional google.protobuf.Timestamp ts_event = 7;
|
|
367
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
368
|
+
*/
|
|
369
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.getTsEvent = function() {
|
|
370
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
371
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
|
|
372
|
+
};
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
377
|
+
* @return {!proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1} returns this
|
|
378
|
+
*/
|
|
379
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.setTsEvent = function(value) {
|
|
380
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Clears the message field making it undefined.
|
|
386
|
+
* @return {!proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1} returns this
|
|
387
|
+
*/
|
|
388
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.clearTsEvent = function() {
|
|
389
|
+
return this.setTsEvent(undefined);
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* Returns whether this field is set.
|
|
395
|
+
* @return {boolean}
|
|
396
|
+
*/
|
|
397
|
+
proto.kaikosdk.StreamDerivativesInstrumentMetricsResponseV1.prototype.hasTsEvent = function() {
|
|
398
|
+
return jspb.Message.getField(this, 7) != null;
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
goog.object.extend(exports, proto.kaikosdk);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// package: kaikosdk
|
|
2
|
+
// file: sdk/stream/iv_svi_parameters_v1/request.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as sdk_core_assets_pb from "../../../sdk/core/assets_pb";
|
|
6
|
+
|
|
7
|
+
export class StreamIvSviParametersRequestV1 extends jspb.Message {
|
|
8
|
+
hasAssets(): boolean;
|
|
9
|
+
clearAssets(): void;
|
|
10
|
+
getAssets(): sdk_core_assets_pb.Assets | undefined;
|
|
11
|
+
setAssets(value?: sdk_core_assets_pb.Assets): void;
|
|
12
|
+
|
|
13
|
+
getExchanges(): string;
|
|
14
|
+
setExchanges(value: string): void;
|
|
15
|
+
|
|
16
|
+
serializeBinary(): Uint8Array;
|
|
17
|
+
toObject(includeInstance?: boolean): StreamIvSviParametersRequestV1.AsObject;
|
|
18
|
+
static toObject(includeInstance: boolean, msg: StreamIvSviParametersRequestV1): StreamIvSviParametersRequestV1.AsObject;
|
|
19
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
20
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
21
|
+
static serializeBinaryToWriter(message: StreamIvSviParametersRequestV1, writer: jspb.BinaryWriter): void;
|
|
22
|
+
static deserializeBinary(bytes: Uint8Array): StreamIvSviParametersRequestV1;
|
|
23
|
+
static deserializeBinaryFromReader(message: StreamIvSviParametersRequestV1, reader: jspb.BinaryReader): StreamIvSviParametersRequestV1;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export namespace StreamIvSviParametersRequestV1 {
|
|
27
|
+
export type AsObject = {
|
|
28
|
+
assets?: sdk_core_assets_pb.Assets.AsObject,
|
|
29
|
+
exchanges: string,
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
// source: sdk/stream/iv_svi_parameters_v1/request.proto
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview
|
|
4
|
+
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
13
|
+
|
|
14
|
+
var jspb = require('google-protobuf');
|
|
15
|
+
var goog = jspb;
|
|
16
|
+
var global =
|
|
17
|
+
(typeof globalThis !== 'undefined' && globalThis) ||
|
|
18
|
+
(typeof window !== 'undefined' && window) ||
|
|
19
|
+
(typeof global !== 'undefined' && global) ||
|
|
20
|
+
(typeof self !== 'undefined' && self) ||
|
|
21
|
+
(function () { return this; }).call(null) ||
|
|
22
|
+
Function('return this')();
|
|
23
|
+
|
|
24
|
+
var sdk_core_assets_pb = require('../../../sdk/core/assets_pb.js');
|
|
25
|
+
goog.object.extend(proto, sdk_core_assets_pb);
|
|
26
|
+
goog.exportSymbol('proto.kaikosdk.StreamIvSviParametersRequestV1', null, global);
|
|
27
|
+
/**
|
|
28
|
+
* Generated by JsPbCodeGenerator.
|
|
29
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
30
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
31
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
32
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
33
|
+
* valid.
|
|
34
|
+
* @extends {jspb.Message}
|
|
35
|
+
* @constructor
|
|
36
|
+
*/
|
|
37
|
+
proto.kaikosdk.StreamIvSviParametersRequestV1 = function(opt_data) {
|
|
38
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
39
|
+
};
|
|
40
|
+
goog.inherits(proto.kaikosdk.StreamIvSviParametersRequestV1, jspb.Message);
|
|
41
|
+
if (goog.DEBUG && !COMPILED) {
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
* @override
|
|
45
|
+
*/
|
|
46
|
+
proto.kaikosdk.StreamIvSviParametersRequestV1.displayName = 'proto.kaikosdk.StreamIvSviParametersRequestV1';
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
52
|
+
/**
|
|
53
|
+
* Creates an object representation of this proto.
|
|
54
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
55
|
+
* Optional fields that are not set will be set to undefined.
|
|
56
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
57
|
+
* For the list of reserved names please see:
|
|
58
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
59
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
60
|
+
* JSPB instance for transitional soy proto support:
|
|
61
|
+
* http://goto/soy-param-migration
|
|
62
|
+
* @return {!Object}
|
|
63
|
+
*/
|
|
64
|
+
proto.kaikosdk.StreamIvSviParametersRequestV1.prototype.toObject = function(opt_includeInstance) {
|
|
65
|
+
return proto.kaikosdk.StreamIvSviParametersRequestV1.toObject(opt_includeInstance, this);
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Static version of the {@see toObject} method.
|
|
71
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72
|
+
* the JSPB instance for transitional soy proto support:
|
|
73
|
+
* http://goto/soy-param-migration
|
|
74
|
+
* @param {!proto.kaikosdk.StreamIvSviParametersRequestV1} msg The msg instance to transform.
|
|
75
|
+
* @return {!Object}
|
|
76
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77
|
+
*/
|
|
78
|
+
proto.kaikosdk.StreamIvSviParametersRequestV1.toObject = function(includeInstance, msg) {
|
|
79
|
+
var f, obj = {
|
|
80
|
+
assets: (f = msg.getAssets()) && sdk_core_assets_pb.Assets.toObject(includeInstance, f),
|
|
81
|
+
exchanges: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
if (includeInstance) {
|
|
85
|
+
obj.$jspbMessageInstance = msg;
|
|
86
|
+
}
|
|
87
|
+
return obj;
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Deserializes binary data (in protobuf wire format).
|
|
94
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
95
|
+
* @return {!proto.kaikosdk.StreamIvSviParametersRequestV1}
|
|
96
|
+
*/
|
|
97
|
+
proto.kaikosdk.StreamIvSviParametersRequestV1.deserializeBinary = function(bytes) {
|
|
98
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
99
|
+
var msg = new proto.kaikosdk.StreamIvSviParametersRequestV1;
|
|
100
|
+
return proto.kaikosdk.StreamIvSviParametersRequestV1.deserializeBinaryFromReader(msg, reader);
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
106
|
+
* given reader into the given message object.
|
|
107
|
+
* @param {!proto.kaikosdk.StreamIvSviParametersRequestV1} msg The message object to deserialize into.
|
|
108
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
109
|
+
* @return {!proto.kaikosdk.StreamIvSviParametersRequestV1}
|
|
110
|
+
*/
|
|
111
|
+
proto.kaikosdk.StreamIvSviParametersRequestV1.deserializeBinaryFromReader = function(msg, reader) {
|
|
112
|
+
while (reader.nextField()) {
|
|
113
|
+
if (reader.isEndGroup()) {
|
|
114
|
+
break;
|
|
115
|
+
}
|
|
116
|
+
var field = reader.getFieldNumber();
|
|
117
|
+
switch (field) {
|
|
118
|
+
case 1:
|
|
119
|
+
var value = new sdk_core_assets_pb.Assets;
|
|
120
|
+
reader.readMessage(value,sdk_core_assets_pb.Assets.deserializeBinaryFromReader);
|
|
121
|
+
msg.setAssets(value);
|
|
122
|
+
break;
|
|
123
|
+
case 2:
|
|
124
|
+
var value = /** @type {string} */ (reader.readString());
|
|
125
|
+
msg.setExchanges(value);
|
|
126
|
+
break;
|
|
127
|
+
default:
|
|
128
|
+
reader.skipField();
|
|
129
|
+
break;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
return msg;
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
138
|
+
* @return {!Uint8Array}
|
|
139
|
+
*/
|
|
140
|
+
proto.kaikosdk.StreamIvSviParametersRequestV1.prototype.serializeBinary = function() {
|
|
141
|
+
var writer = new jspb.BinaryWriter();
|
|
142
|
+
proto.kaikosdk.StreamIvSviParametersRequestV1.serializeBinaryToWriter(this, writer);
|
|
143
|
+
return writer.getResultBuffer();
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
149
|
+
* format), writing to the given BinaryWriter.
|
|
150
|
+
* @param {!proto.kaikosdk.StreamIvSviParametersRequestV1} message
|
|
151
|
+
* @param {!jspb.BinaryWriter} writer
|
|
152
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
153
|
+
*/
|
|
154
|
+
proto.kaikosdk.StreamIvSviParametersRequestV1.serializeBinaryToWriter = function(message, writer) {
|
|
155
|
+
var f = undefined;
|
|
156
|
+
f = message.getAssets();
|
|
157
|
+
if (f != null) {
|
|
158
|
+
writer.writeMessage(
|
|
159
|
+
1,
|
|
160
|
+
f,
|
|
161
|
+
sdk_core_assets_pb.Assets.serializeBinaryToWriter
|
|
162
|
+
);
|
|
163
|
+
}
|
|
164
|
+
f = message.getExchanges();
|
|
165
|
+
if (f.length > 0) {
|
|
166
|
+
writer.writeString(
|
|
167
|
+
2,
|
|
168
|
+
f
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* optional Assets assets = 1;
|
|
176
|
+
* @return {?proto.kaikosdk.Assets}
|
|
177
|
+
*/
|
|
178
|
+
proto.kaikosdk.StreamIvSviParametersRequestV1.prototype.getAssets = function() {
|
|
179
|
+
return /** @type{?proto.kaikosdk.Assets} */ (
|
|
180
|
+
jspb.Message.getWrapperField(this, sdk_core_assets_pb.Assets, 1));
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* @param {?proto.kaikosdk.Assets|undefined} value
|
|
186
|
+
* @return {!proto.kaikosdk.StreamIvSviParametersRequestV1} returns this
|
|
187
|
+
*/
|
|
188
|
+
proto.kaikosdk.StreamIvSviParametersRequestV1.prototype.setAssets = function(value) {
|
|
189
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Clears the message field making it undefined.
|
|
195
|
+
* @return {!proto.kaikosdk.StreamIvSviParametersRequestV1} returns this
|
|
196
|
+
*/
|
|
197
|
+
proto.kaikosdk.StreamIvSviParametersRequestV1.prototype.clearAssets = function() {
|
|
198
|
+
return this.setAssets(undefined);
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Returns whether this field is set.
|
|
204
|
+
* @return {boolean}
|
|
205
|
+
*/
|
|
206
|
+
proto.kaikosdk.StreamIvSviParametersRequestV1.prototype.hasAssets = function() {
|
|
207
|
+
return jspb.Message.getField(this, 1) != null;
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* optional string exchanges = 2;
|
|
213
|
+
* @return {string}
|
|
214
|
+
*/
|
|
215
|
+
proto.kaikosdk.StreamIvSviParametersRequestV1.prototype.getExchanges = function() {
|
|
216
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* @param {string} value
|
|
222
|
+
* @return {!proto.kaikosdk.StreamIvSviParametersRequestV1} returns this
|
|
223
|
+
*/
|
|
224
|
+
proto.kaikosdk.StreamIvSviParametersRequestV1.prototype.setExchanges = function(value) {
|
|
225
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
goog.object.extend(exports, proto.kaikosdk);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|