@kaiko-data/sdk-node 1.3.0 → 1.3.1
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
CHANGED
|
@@ -4,6 +4,30 @@
|
|
|
4
4
|
import * as jspb from "google-protobuf";
|
|
5
5
|
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
6
6
|
|
|
7
|
+
export class StreamAggregatedPriceValue extends jspb.Message {
|
|
8
|
+
getPrice(): string;
|
|
9
|
+
setPrice(value: string): void;
|
|
10
|
+
|
|
11
|
+
getVolume(): string;
|
|
12
|
+
setVolume(value: string): void;
|
|
13
|
+
|
|
14
|
+
serializeBinary(): Uint8Array;
|
|
15
|
+
toObject(includeInstance?: boolean): StreamAggregatedPriceValue.AsObject;
|
|
16
|
+
static toObject(includeInstance: boolean, msg: StreamAggregatedPriceValue): StreamAggregatedPriceValue.AsObject;
|
|
17
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
18
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
19
|
+
static serializeBinaryToWriter(message: StreamAggregatedPriceValue, writer: jspb.BinaryWriter): void;
|
|
20
|
+
static deserializeBinary(bytes: Uint8Array): StreamAggregatedPriceValue;
|
|
21
|
+
static deserializeBinaryFromReader(message: StreamAggregatedPriceValue, reader: jspb.BinaryReader): StreamAggregatedPriceValue;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export namespace StreamAggregatedPriceValue {
|
|
25
|
+
export type AsObject = {
|
|
26
|
+
price: string,
|
|
27
|
+
volume: string,
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
7
31
|
export class StreamAggregatedPriceResponseV1 extends jspb.Message {
|
|
8
32
|
getAggregate(): string;
|
|
9
33
|
setAggregate(value: string): void;
|
|
@@ -14,26 +38,19 @@ export class StreamAggregatedPriceResponseV1 extends jspb.Message {
|
|
|
14
38
|
getCode(): string;
|
|
15
39
|
setCode(value: string): void;
|
|
16
40
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
setVolume(value: string): void;
|
|
41
|
+
hasValue(): boolean;
|
|
42
|
+
clearValue(): void;
|
|
43
|
+
getValue(): StreamAggregatedPriceValue | undefined;
|
|
44
|
+
setValue(value?: StreamAggregatedPriceValue): void;
|
|
22
45
|
|
|
23
46
|
getEventType(): StreamAggregatedPriceResponseV1.EventTypeMap[keyof StreamAggregatedPriceResponseV1.EventTypeMap];
|
|
24
47
|
setEventType(value: StreamAggregatedPriceResponseV1.EventTypeMap[keyof StreamAggregatedPriceResponseV1.EventTypeMap]): void;
|
|
25
48
|
|
|
26
|
-
getSequenceId(): string;
|
|
27
|
-
setSequenceId(value: string): void;
|
|
28
|
-
|
|
29
49
|
hasTsEvent(): boolean;
|
|
30
50
|
clearTsEvent(): void;
|
|
31
51
|
getTsEvent(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
32
52
|
setTsEvent(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
33
53
|
|
|
34
|
-
getUid(): string;
|
|
35
|
-
setUid(value: string): void;
|
|
36
|
-
|
|
37
54
|
serializeBinary(): Uint8Array;
|
|
38
55
|
toObject(includeInstance?: boolean): StreamAggregatedPriceResponseV1.AsObject;
|
|
39
56
|
static toObject(includeInstance: boolean, msg: StreamAggregatedPriceResponseV1): StreamAggregatedPriceResponseV1.AsObject;
|
|
@@ -49,12 +66,9 @@ export namespace StreamAggregatedPriceResponseV1 {
|
|
|
49
66
|
aggregate: string,
|
|
50
67
|
instrumentClass: string,
|
|
51
68
|
code: string,
|
|
52
|
-
|
|
53
|
-
volume: string,
|
|
69
|
+
value?: StreamAggregatedPriceValue.AsObject,
|
|
54
70
|
eventType: StreamAggregatedPriceResponseV1.EventTypeMap[keyof StreamAggregatedPriceResponseV1.EventTypeMap],
|
|
55
|
-
sequenceId: string,
|
|
56
71
|
tsEvent?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
57
|
-
uid: string,
|
|
58
72
|
}
|
|
59
73
|
|
|
60
74
|
export interface EventTypeMap {
|
|
@@ -25,6 +25,28 @@ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/time
|
|
|
25
25
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
26
26
|
goog.exportSymbol('proto.kaikosdk.StreamAggregatedPriceResponseV1', null, global);
|
|
27
27
|
goog.exportSymbol('proto.kaikosdk.StreamAggregatedPriceResponseV1.EventType', null, global);
|
|
28
|
+
goog.exportSymbol('proto.kaikosdk.StreamAggregatedPriceValue', 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.StreamAggregatedPriceValue = function(opt_data) {
|
|
40
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
41
|
+
};
|
|
42
|
+
goog.inherits(proto.kaikosdk.StreamAggregatedPriceValue, jspb.Message);
|
|
43
|
+
if (goog.DEBUG && !COMPILED) {
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
* @override
|
|
47
|
+
*/
|
|
48
|
+
proto.kaikosdk.StreamAggregatedPriceValue.displayName = 'proto.kaikosdk.StreamAggregatedPriceValue';
|
|
49
|
+
}
|
|
28
50
|
/**
|
|
29
51
|
* Generated by JsPbCodeGenerator.
|
|
30
52
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -49,6 +71,166 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
49
71
|
|
|
50
72
|
|
|
51
73
|
|
|
74
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
75
|
+
/**
|
|
76
|
+
* Creates an object representation of this proto.
|
|
77
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
78
|
+
* Optional fields that are not set will be set to undefined.
|
|
79
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
80
|
+
* For the list of reserved names please see:
|
|
81
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
82
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
83
|
+
* JSPB instance for transitional soy proto support:
|
|
84
|
+
* http://goto/soy-param-migration
|
|
85
|
+
* @return {!Object}
|
|
86
|
+
*/
|
|
87
|
+
proto.kaikosdk.StreamAggregatedPriceValue.prototype.toObject = function(opt_includeInstance) {
|
|
88
|
+
return proto.kaikosdk.StreamAggregatedPriceValue.toObject(opt_includeInstance, this);
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Static version of the {@see toObject} method.
|
|
94
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
95
|
+
* the JSPB instance for transitional soy proto support:
|
|
96
|
+
* http://goto/soy-param-migration
|
|
97
|
+
* @param {!proto.kaikosdk.StreamAggregatedPriceValue} msg The msg instance to transform.
|
|
98
|
+
* @return {!Object}
|
|
99
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
100
|
+
*/
|
|
101
|
+
proto.kaikosdk.StreamAggregatedPriceValue.toObject = function(includeInstance, msg) {
|
|
102
|
+
var f, obj = {
|
|
103
|
+
price: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
104
|
+
volume: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
if (includeInstance) {
|
|
108
|
+
obj.$jspbMessageInstance = msg;
|
|
109
|
+
}
|
|
110
|
+
return obj;
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Deserializes binary data (in protobuf wire format).
|
|
117
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
118
|
+
* @return {!proto.kaikosdk.StreamAggregatedPriceValue}
|
|
119
|
+
*/
|
|
120
|
+
proto.kaikosdk.StreamAggregatedPriceValue.deserializeBinary = function(bytes) {
|
|
121
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
122
|
+
var msg = new proto.kaikosdk.StreamAggregatedPriceValue;
|
|
123
|
+
return proto.kaikosdk.StreamAggregatedPriceValue.deserializeBinaryFromReader(msg, reader);
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
129
|
+
* given reader into the given message object.
|
|
130
|
+
* @param {!proto.kaikosdk.StreamAggregatedPriceValue} msg The message object to deserialize into.
|
|
131
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
132
|
+
* @return {!proto.kaikosdk.StreamAggregatedPriceValue}
|
|
133
|
+
*/
|
|
134
|
+
proto.kaikosdk.StreamAggregatedPriceValue.deserializeBinaryFromReader = function(msg, reader) {
|
|
135
|
+
while (reader.nextField()) {
|
|
136
|
+
if (reader.isEndGroup()) {
|
|
137
|
+
break;
|
|
138
|
+
}
|
|
139
|
+
var field = reader.getFieldNumber();
|
|
140
|
+
switch (field) {
|
|
141
|
+
case 1:
|
|
142
|
+
var value = /** @type {string} */ (reader.readString());
|
|
143
|
+
msg.setPrice(value);
|
|
144
|
+
break;
|
|
145
|
+
case 2:
|
|
146
|
+
var value = /** @type {string} */ (reader.readString());
|
|
147
|
+
msg.setVolume(value);
|
|
148
|
+
break;
|
|
149
|
+
default:
|
|
150
|
+
reader.skipField();
|
|
151
|
+
break;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
return msg;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
160
|
+
* @return {!Uint8Array}
|
|
161
|
+
*/
|
|
162
|
+
proto.kaikosdk.StreamAggregatedPriceValue.prototype.serializeBinary = function() {
|
|
163
|
+
var writer = new jspb.BinaryWriter();
|
|
164
|
+
proto.kaikosdk.StreamAggregatedPriceValue.serializeBinaryToWriter(this, writer);
|
|
165
|
+
return writer.getResultBuffer();
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
171
|
+
* format), writing to the given BinaryWriter.
|
|
172
|
+
* @param {!proto.kaikosdk.StreamAggregatedPriceValue} message
|
|
173
|
+
* @param {!jspb.BinaryWriter} writer
|
|
174
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
175
|
+
*/
|
|
176
|
+
proto.kaikosdk.StreamAggregatedPriceValue.serializeBinaryToWriter = function(message, writer) {
|
|
177
|
+
var f = undefined;
|
|
178
|
+
f = message.getPrice();
|
|
179
|
+
if (f.length > 0) {
|
|
180
|
+
writer.writeString(
|
|
181
|
+
1,
|
|
182
|
+
f
|
|
183
|
+
);
|
|
184
|
+
}
|
|
185
|
+
f = message.getVolume();
|
|
186
|
+
if (f.length > 0) {
|
|
187
|
+
writer.writeString(
|
|
188
|
+
2,
|
|
189
|
+
f
|
|
190
|
+
);
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* optional string price = 1;
|
|
197
|
+
* @return {string}
|
|
198
|
+
*/
|
|
199
|
+
proto.kaikosdk.StreamAggregatedPriceValue.prototype.getPrice = function() {
|
|
200
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* @param {string} value
|
|
206
|
+
* @return {!proto.kaikosdk.StreamAggregatedPriceValue} returns this
|
|
207
|
+
*/
|
|
208
|
+
proto.kaikosdk.StreamAggregatedPriceValue.prototype.setPrice = function(value) {
|
|
209
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* optional string volume = 2;
|
|
215
|
+
* @return {string}
|
|
216
|
+
*/
|
|
217
|
+
proto.kaikosdk.StreamAggregatedPriceValue.prototype.getVolume = function() {
|
|
218
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* @param {string} value
|
|
224
|
+
* @return {!proto.kaikosdk.StreamAggregatedPriceValue} returns this
|
|
225
|
+
*/
|
|
226
|
+
proto.kaikosdk.StreamAggregatedPriceValue.prototype.setVolume = function(value) {
|
|
227
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
52
234
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
53
235
|
/**
|
|
54
236
|
* Creates an object representation of this proto.
|
|
@@ -81,12 +263,9 @@ proto.kaikosdk.StreamAggregatedPriceResponseV1.toObject = function(includeInstan
|
|
|
81
263
|
aggregate: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
82
264
|
instrumentClass: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
83
265
|
code: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
sequenceId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
88
|
-
tsEvent: (f = msg.getTsEvent()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
89
|
-
uid: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
266
|
+
value: (f = msg.getValue()) && proto.kaikosdk.StreamAggregatedPriceValue.toObject(includeInstance, f),
|
|
267
|
+
eventType: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
268
|
+
tsEvent: (f = msg.getTsEvent()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
90
269
|
};
|
|
91
270
|
|
|
92
271
|
if (includeInstance) {
|
|
@@ -136,30 +315,19 @@ proto.kaikosdk.StreamAggregatedPriceResponseV1.deserializeBinaryFromReader = fun
|
|
|
136
315
|
msg.setCode(value);
|
|
137
316
|
break;
|
|
138
317
|
case 4:
|
|
139
|
-
var value =
|
|
140
|
-
|
|
318
|
+
var value = new proto.kaikosdk.StreamAggregatedPriceValue;
|
|
319
|
+
reader.readMessage(value,proto.kaikosdk.StreamAggregatedPriceValue.deserializeBinaryFromReader);
|
|
320
|
+
msg.setValue(value);
|
|
141
321
|
break;
|
|
142
322
|
case 5:
|
|
143
|
-
var value = /** @type {string} */ (reader.readString());
|
|
144
|
-
msg.setVolume(value);
|
|
145
|
-
break;
|
|
146
|
-
case 6:
|
|
147
323
|
var value = /** @type {!proto.kaikosdk.StreamAggregatedPriceResponseV1.EventType} */ (reader.readEnum());
|
|
148
324
|
msg.setEventType(value);
|
|
149
325
|
break;
|
|
150
|
-
case
|
|
151
|
-
var value = /** @type {string} */ (reader.readString());
|
|
152
|
-
msg.setSequenceId(value);
|
|
153
|
-
break;
|
|
154
|
-
case 8:
|
|
326
|
+
case 6:
|
|
155
327
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
156
328
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
157
329
|
msg.setTsEvent(value);
|
|
158
330
|
break;
|
|
159
|
-
case 9:
|
|
160
|
-
var value = /** @type {string} */ (reader.readString());
|
|
161
|
-
msg.setUid(value);
|
|
162
|
-
break;
|
|
163
331
|
default:
|
|
164
332
|
reader.skipField();
|
|
165
333
|
break;
|
|
@@ -210,49 +378,29 @@ proto.kaikosdk.StreamAggregatedPriceResponseV1.serializeBinaryToWriter = functio
|
|
|
210
378
|
f
|
|
211
379
|
);
|
|
212
380
|
}
|
|
213
|
-
f = message.
|
|
214
|
-
if (f
|
|
215
|
-
writer.
|
|
381
|
+
f = message.getValue();
|
|
382
|
+
if (f != null) {
|
|
383
|
+
writer.writeMessage(
|
|
216
384
|
4,
|
|
217
|
-
f
|
|
218
|
-
|
|
219
|
-
}
|
|
220
|
-
f = message.getVolume();
|
|
221
|
-
if (f.length > 0) {
|
|
222
|
-
writer.writeString(
|
|
223
|
-
5,
|
|
224
|
-
f
|
|
385
|
+
f,
|
|
386
|
+
proto.kaikosdk.StreamAggregatedPriceValue.serializeBinaryToWriter
|
|
225
387
|
);
|
|
226
388
|
}
|
|
227
389
|
f = message.getEventType();
|
|
228
390
|
if (f !== 0.0) {
|
|
229
391
|
writer.writeEnum(
|
|
230
|
-
|
|
231
|
-
f
|
|
232
|
-
);
|
|
233
|
-
}
|
|
234
|
-
f = message.getSequenceId();
|
|
235
|
-
if (f.length > 0) {
|
|
236
|
-
writer.writeString(
|
|
237
|
-
7,
|
|
392
|
+
5,
|
|
238
393
|
f
|
|
239
394
|
);
|
|
240
395
|
}
|
|
241
396
|
f = message.getTsEvent();
|
|
242
397
|
if (f != null) {
|
|
243
398
|
writer.writeMessage(
|
|
244
|
-
|
|
399
|
+
6,
|
|
245
400
|
f,
|
|
246
401
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
247
402
|
);
|
|
248
403
|
}
|
|
249
|
-
f = message.getUid();
|
|
250
|
-
if (f.length > 0) {
|
|
251
|
-
writer.writeString(
|
|
252
|
-
9,
|
|
253
|
-
f
|
|
254
|
-
);
|
|
255
|
-
}
|
|
256
404
|
};
|
|
257
405
|
|
|
258
406
|
|
|
@@ -320,47 +468,48 @@ proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.setCode = function(valu
|
|
|
320
468
|
|
|
321
469
|
|
|
322
470
|
/**
|
|
323
|
-
* optional
|
|
324
|
-
* @return {
|
|
471
|
+
* optional StreamAggregatedPriceValue value = 4;
|
|
472
|
+
* @return {?proto.kaikosdk.StreamAggregatedPriceValue}
|
|
325
473
|
*/
|
|
326
|
-
proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.
|
|
327
|
-
return /** @type
|
|
474
|
+
proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.getValue = function() {
|
|
475
|
+
return /** @type{?proto.kaikosdk.StreamAggregatedPriceValue} */ (
|
|
476
|
+
jspb.Message.getWrapperField(this, proto.kaikosdk.StreamAggregatedPriceValue, 4));
|
|
328
477
|
};
|
|
329
478
|
|
|
330
479
|
|
|
331
480
|
/**
|
|
332
|
-
* @param {
|
|
481
|
+
* @param {?proto.kaikosdk.StreamAggregatedPriceValue|undefined} value
|
|
333
482
|
* @return {!proto.kaikosdk.StreamAggregatedPriceResponseV1} returns this
|
|
334
|
-
|
|
335
|
-
proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.
|
|
336
|
-
return jspb.Message.
|
|
483
|
+
*/
|
|
484
|
+
proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.setValue = function(value) {
|
|
485
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
337
486
|
};
|
|
338
487
|
|
|
339
488
|
|
|
340
489
|
/**
|
|
341
|
-
*
|
|
342
|
-
* @return {
|
|
490
|
+
* Clears the message field making it undefined.
|
|
491
|
+
* @return {!proto.kaikosdk.StreamAggregatedPriceResponseV1} returns this
|
|
343
492
|
*/
|
|
344
|
-
proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.
|
|
345
|
-
return
|
|
493
|
+
proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.clearValue = function() {
|
|
494
|
+
return this.setValue(undefined);
|
|
346
495
|
};
|
|
347
496
|
|
|
348
497
|
|
|
349
498
|
/**
|
|
350
|
-
*
|
|
351
|
-
* @return {
|
|
499
|
+
* Returns whether this field is set.
|
|
500
|
+
* @return {boolean}
|
|
352
501
|
*/
|
|
353
|
-
proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.
|
|
354
|
-
return jspb.Message.
|
|
502
|
+
proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.hasValue = function() {
|
|
503
|
+
return jspb.Message.getField(this, 4) != null;
|
|
355
504
|
};
|
|
356
505
|
|
|
357
506
|
|
|
358
507
|
/**
|
|
359
|
-
* optional EventType event_type =
|
|
508
|
+
* optional EventType event_type = 5;
|
|
360
509
|
* @return {!proto.kaikosdk.StreamAggregatedPriceResponseV1.EventType}
|
|
361
510
|
*/
|
|
362
511
|
proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.getEventType = function() {
|
|
363
|
-
return /** @type {!proto.kaikosdk.StreamAggregatedPriceResponseV1.EventType} */ (jspb.Message.getFieldWithDefault(this,
|
|
512
|
+
return /** @type {!proto.kaikosdk.StreamAggregatedPriceResponseV1.EventType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
364
513
|
};
|
|
365
514
|
|
|
366
515
|
|
|
@@ -369,35 +518,17 @@ proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.getEventType = function
|
|
|
369
518
|
* @return {!proto.kaikosdk.StreamAggregatedPriceResponseV1} returns this
|
|
370
519
|
*/
|
|
371
520
|
proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.setEventType = function(value) {
|
|
372
|
-
return jspb.Message.setProto3EnumField(this,
|
|
373
|
-
};
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
/**
|
|
377
|
-
* optional string sequence_id = 7;
|
|
378
|
-
* @return {string}
|
|
379
|
-
*/
|
|
380
|
-
proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.getSequenceId = function() {
|
|
381
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
382
|
-
};
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* @param {string} value
|
|
387
|
-
* @return {!proto.kaikosdk.StreamAggregatedPriceResponseV1} returns this
|
|
388
|
-
*/
|
|
389
|
-
proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.setSequenceId = function(value) {
|
|
390
|
-
return jspb.Message.setProto3StringField(this, 7, value);
|
|
521
|
+
return jspb.Message.setProto3EnumField(this, 5, value);
|
|
391
522
|
};
|
|
392
523
|
|
|
393
524
|
|
|
394
525
|
/**
|
|
395
|
-
* optional google.protobuf.Timestamp ts_event =
|
|
526
|
+
* optional google.protobuf.Timestamp ts_event = 6;
|
|
396
527
|
* @return {?proto.google.protobuf.Timestamp}
|
|
397
528
|
*/
|
|
398
529
|
proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.getTsEvent = function() {
|
|
399
530
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
400
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp,
|
|
531
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
|
|
401
532
|
};
|
|
402
533
|
|
|
403
534
|
|
|
@@ -406,7 +537,7 @@ proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.getTsEvent = function()
|
|
|
406
537
|
* @return {!proto.kaikosdk.StreamAggregatedPriceResponseV1} returns this
|
|
407
538
|
*/
|
|
408
539
|
proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.setTsEvent = function(value) {
|
|
409
|
-
return jspb.Message.setWrapperField(this,
|
|
540
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
410
541
|
};
|
|
411
542
|
|
|
412
543
|
|
|
@@ -424,25 +555,7 @@ proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.clearTsEvent = function
|
|
|
424
555
|
* @return {boolean}
|
|
425
556
|
*/
|
|
426
557
|
proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.hasTsEvent = function() {
|
|
427
|
-
return jspb.Message.getField(this,
|
|
428
|
-
};
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
/**
|
|
432
|
-
* optional string uid = 9;
|
|
433
|
-
* @return {string}
|
|
434
|
-
*/
|
|
435
|
-
proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.getUid = function() {
|
|
436
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
437
|
-
};
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
/**
|
|
441
|
-
* @param {string} value
|
|
442
|
-
* @return {!proto.kaikosdk.StreamAggregatedPriceResponseV1} returns this
|
|
443
|
-
*/
|
|
444
|
-
proto.kaikosdk.StreamAggregatedPriceResponseV1.prototype.setUid = function(value) {
|
|
445
|
-
return jspb.Message.setProto3StringField(this, 9, value);
|
|
558
|
+
return jspb.Message.getField(this, 6) != null;
|
|
446
559
|
};
|
|
447
560
|
|
|
448
561
|
|