@kaiko-data/sdk-node 1.28.0 → 1.29.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
CHANGED
|
@@ -103,6 +103,11 @@ export class ConstantDurationFuture extends jspb.Message {
|
|
|
103
103
|
getRateQuoteConversion(): RateQuoteConversion | undefined;
|
|
104
104
|
setRateQuoteConversion(value?: RateQuoteConversion): void;
|
|
105
105
|
|
|
106
|
+
hasForecast(): boolean;
|
|
107
|
+
clearForecast(): void;
|
|
108
|
+
getForecast(): ConstantDurationFutureForecast | undefined;
|
|
109
|
+
setForecast(value?: ConstantDurationFutureForecast): void;
|
|
110
|
+
|
|
106
111
|
serializeBinary(): Uint8Array;
|
|
107
112
|
toObject(includeInstance?: boolean): ConstantDurationFuture.AsObject;
|
|
108
113
|
static toObject(includeInstance: boolean, msg: ConstantDurationFuture): ConstantDurationFuture.AsObject;
|
|
@@ -122,6 +127,45 @@ export namespace ConstantDurationFuture {
|
|
|
122
127
|
constantDuration: number,
|
|
123
128
|
status: ConstantDurationFutureStatusMap[keyof ConstantDurationFutureStatusMap],
|
|
124
129
|
rateQuoteConversion?: RateQuoteConversion.AsObject,
|
|
130
|
+
forecast?: ConstantDurationFutureForecast.AsObject,
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export class ConstantDurationFutureForecast extends jspb.Message {
|
|
135
|
+
getExchange(): string;
|
|
136
|
+
setExchange(value: string): void;
|
|
137
|
+
|
|
138
|
+
hasFutureDate(): boolean;
|
|
139
|
+
clearFutureDate(): void;
|
|
140
|
+
getFutureDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
141
|
+
setFutureDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
142
|
+
|
|
143
|
+
hasFrontFuture(): boolean;
|
|
144
|
+
clearFrontFuture(): void;
|
|
145
|
+
getFrontFuture(): ConstantDurationFutureDetail | undefined;
|
|
146
|
+
setFrontFuture(value?: ConstantDurationFutureDetail): void;
|
|
147
|
+
|
|
148
|
+
hasBackFuture(): boolean;
|
|
149
|
+
clearBackFuture(): void;
|
|
150
|
+
getBackFuture(): ConstantDurationFutureDetail | undefined;
|
|
151
|
+
setBackFuture(value?: ConstantDurationFutureDetail): void;
|
|
152
|
+
|
|
153
|
+
serializeBinary(): Uint8Array;
|
|
154
|
+
toObject(includeInstance?: boolean): ConstantDurationFutureForecast.AsObject;
|
|
155
|
+
static toObject(includeInstance: boolean, msg: ConstantDurationFutureForecast): ConstantDurationFutureForecast.AsObject;
|
|
156
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
157
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
158
|
+
static serializeBinaryToWriter(message: ConstantDurationFutureForecast, writer: jspb.BinaryWriter): void;
|
|
159
|
+
static deserializeBinary(bytes: Uint8Array): ConstantDurationFutureForecast;
|
|
160
|
+
static deserializeBinaryFromReader(message: ConstantDurationFutureForecast, reader: jspb.BinaryReader): ConstantDurationFutureForecast;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export namespace ConstantDurationFutureForecast {
|
|
164
|
+
export type AsObject = {
|
|
165
|
+
exchange: string,
|
|
166
|
+
futureDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
167
|
+
frontFuture?: ConstantDurationFutureDetail.AsObject,
|
|
168
|
+
backFuture?: ConstantDurationFutureDetail.AsObject,
|
|
125
169
|
}
|
|
126
170
|
}
|
|
127
171
|
|
|
@@ -27,6 +27,7 @@ var sdk_stream_index_v1_commodity_pb = require('../../../sdk/stream/index_v1/com
|
|
|
27
27
|
goog.object.extend(proto, sdk_stream_index_v1_commodity_pb);
|
|
28
28
|
goog.exportSymbol('proto.kaikosdk.ConstantDurationFuture', null, global);
|
|
29
29
|
goog.exportSymbol('proto.kaikosdk.ConstantDurationFutureDetail', null, global);
|
|
30
|
+
goog.exportSymbol('proto.kaikosdk.ConstantDurationFutureForecast', null, global);
|
|
30
31
|
goog.exportSymbol('proto.kaikosdk.ConstantDurationFutureStatus', null, global);
|
|
31
32
|
goog.exportSymbol('proto.kaikosdk.RateQuoteConversion', null, global);
|
|
32
33
|
goog.exportSymbol('proto.kaikosdk.StreamConstantDurationIndicesServiceResponseComposition', null, global);
|
|
@@ -94,6 +95,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
94
95
|
*/
|
|
95
96
|
proto.kaikosdk.ConstantDurationFuture.displayName = 'proto.kaikosdk.ConstantDurationFuture';
|
|
96
97
|
}
|
|
98
|
+
/**
|
|
99
|
+
* Generated by JsPbCodeGenerator.
|
|
100
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
101
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
102
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
103
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
104
|
+
* valid.
|
|
105
|
+
* @extends {jspb.Message}
|
|
106
|
+
* @constructor
|
|
107
|
+
*/
|
|
108
|
+
proto.kaikosdk.ConstantDurationFutureForecast = function(opt_data) {
|
|
109
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
110
|
+
};
|
|
111
|
+
goog.inherits(proto.kaikosdk.ConstantDurationFutureForecast, jspb.Message);
|
|
112
|
+
if (goog.DEBUG && !COMPILED) {
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
* @override
|
|
116
|
+
*/
|
|
117
|
+
proto.kaikosdk.ConstantDurationFutureForecast.displayName = 'proto.kaikosdk.ConstantDurationFutureForecast';
|
|
118
|
+
}
|
|
97
119
|
/**
|
|
98
120
|
* Generated by JsPbCodeGenerator.
|
|
99
121
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -677,7 +699,8 @@ proto.kaikosdk.ConstantDurationFuture.toObject = function(includeInstance, msg)
|
|
|
677
699
|
backFuture: (f = msg.getBackFuture()) && proto.kaikosdk.ConstantDurationFutureDetail.toObject(includeInstance, f),
|
|
678
700
|
constantDuration: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
679
701
|
status: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
680
|
-
rateQuoteConversion: (f = msg.getRateQuoteConversion()) && proto.kaikosdk.RateQuoteConversion.toObject(includeInstance, f)
|
|
702
|
+
rateQuoteConversion: (f = msg.getRateQuoteConversion()) && proto.kaikosdk.RateQuoteConversion.toObject(includeInstance, f),
|
|
703
|
+
forecast: (f = msg.getForecast()) && proto.kaikosdk.ConstantDurationFutureForecast.toObject(includeInstance, f)
|
|
681
704
|
};
|
|
682
705
|
|
|
683
706
|
if (includeInstance) {
|
|
@@ -745,6 +768,11 @@ proto.kaikosdk.ConstantDurationFuture.deserializeBinaryFromReader = function(msg
|
|
|
745
768
|
reader.readMessage(value,proto.kaikosdk.RateQuoteConversion.deserializeBinaryFromReader);
|
|
746
769
|
msg.setRateQuoteConversion(value);
|
|
747
770
|
break;
|
|
771
|
+
case 8:
|
|
772
|
+
var value = new proto.kaikosdk.ConstantDurationFutureForecast;
|
|
773
|
+
reader.readMessage(value,proto.kaikosdk.ConstantDurationFutureForecast.deserializeBinaryFromReader);
|
|
774
|
+
msg.setForecast(value);
|
|
775
|
+
break;
|
|
748
776
|
default:
|
|
749
777
|
reader.skipField();
|
|
750
778
|
break;
|
|
@@ -826,6 +854,14 @@ proto.kaikosdk.ConstantDurationFuture.serializeBinaryToWriter = function(message
|
|
|
826
854
|
proto.kaikosdk.RateQuoteConversion.serializeBinaryToWriter
|
|
827
855
|
);
|
|
828
856
|
}
|
|
857
|
+
f = message.getForecast();
|
|
858
|
+
if (f != null) {
|
|
859
|
+
writer.writeMessage(
|
|
860
|
+
8,
|
|
861
|
+
f,
|
|
862
|
+
proto.kaikosdk.ConstantDurationFutureForecast.serializeBinaryToWriter
|
|
863
|
+
);
|
|
864
|
+
}
|
|
829
865
|
};
|
|
830
866
|
|
|
831
867
|
|
|
@@ -1012,6 +1048,326 @@ proto.kaikosdk.ConstantDurationFuture.prototype.hasRateQuoteConversion = functio
|
|
|
1012
1048
|
};
|
|
1013
1049
|
|
|
1014
1050
|
|
|
1051
|
+
/**
|
|
1052
|
+
* optional ConstantDurationFutureForecast forecast = 8;
|
|
1053
|
+
* @return {?proto.kaikosdk.ConstantDurationFutureForecast}
|
|
1054
|
+
*/
|
|
1055
|
+
proto.kaikosdk.ConstantDurationFuture.prototype.getForecast = function() {
|
|
1056
|
+
return /** @type{?proto.kaikosdk.ConstantDurationFutureForecast} */ (
|
|
1057
|
+
jspb.Message.getWrapperField(this, proto.kaikosdk.ConstantDurationFutureForecast, 8));
|
|
1058
|
+
};
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
/**
|
|
1062
|
+
* @param {?proto.kaikosdk.ConstantDurationFutureForecast|undefined} value
|
|
1063
|
+
* @return {!proto.kaikosdk.ConstantDurationFuture} returns this
|
|
1064
|
+
*/
|
|
1065
|
+
proto.kaikosdk.ConstantDurationFuture.prototype.setForecast = function(value) {
|
|
1066
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
1067
|
+
};
|
|
1068
|
+
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* Clears the message field making it undefined.
|
|
1072
|
+
* @return {!proto.kaikosdk.ConstantDurationFuture} returns this
|
|
1073
|
+
*/
|
|
1074
|
+
proto.kaikosdk.ConstantDurationFuture.prototype.clearForecast = function() {
|
|
1075
|
+
return this.setForecast(undefined);
|
|
1076
|
+
};
|
|
1077
|
+
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* Returns whether this field is set.
|
|
1081
|
+
* @return {boolean}
|
|
1082
|
+
*/
|
|
1083
|
+
proto.kaikosdk.ConstantDurationFuture.prototype.hasForecast = function() {
|
|
1084
|
+
return jspb.Message.getField(this, 8) != null;
|
|
1085
|
+
};
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1092
|
+
/**
|
|
1093
|
+
* Creates an object representation of this proto.
|
|
1094
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1095
|
+
* Optional fields that are not set will be set to undefined.
|
|
1096
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1097
|
+
* For the list of reserved names please see:
|
|
1098
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1099
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1100
|
+
* JSPB instance for transitional soy proto support:
|
|
1101
|
+
* http://goto/soy-param-migration
|
|
1102
|
+
* @return {!Object}
|
|
1103
|
+
*/
|
|
1104
|
+
proto.kaikosdk.ConstantDurationFutureForecast.prototype.toObject = function(opt_includeInstance) {
|
|
1105
|
+
return proto.kaikosdk.ConstantDurationFutureForecast.toObject(opt_includeInstance, this);
|
|
1106
|
+
};
|
|
1107
|
+
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* Static version of the {@see toObject} method.
|
|
1111
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1112
|
+
* the JSPB instance for transitional soy proto support:
|
|
1113
|
+
* http://goto/soy-param-migration
|
|
1114
|
+
* @param {!proto.kaikosdk.ConstantDurationFutureForecast} msg The msg instance to transform.
|
|
1115
|
+
* @return {!Object}
|
|
1116
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1117
|
+
*/
|
|
1118
|
+
proto.kaikosdk.ConstantDurationFutureForecast.toObject = function(includeInstance, msg) {
|
|
1119
|
+
var f, obj = {
|
|
1120
|
+
exchange: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1121
|
+
futureDate: (f = msg.getFutureDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1122
|
+
frontFuture: (f = msg.getFrontFuture()) && proto.kaikosdk.ConstantDurationFutureDetail.toObject(includeInstance, f),
|
|
1123
|
+
backFuture: (f = msg.getBackFuture()) && proto.kaikosdk.ConstantDurationFutureDetail.toObject(includeInstance, f)
|
|
1124
|
+
};
|
|
1125
|
+
|
|
1126
|
+
if (includeInstance) {
|
|
1127
|
+
obj.$jspbMessageInstance = msg;
|
|
1128
|
+
}
|
|
1129
|
+
return obj;
|
|
1130
|
+
};
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
/**
|
|
1135
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1136
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1137
|
+
* @return {!proto.kaikosdk.ConstantDurationFutureForecast}
|
|
1138
|
+
*/
|
|
1139
|
+
proto.kaikosdk.ConstantDurationFutureForecast.deserializeBinary = function(bytes) {
|
|
1140
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1141
|
+
var msg = new proto.kaikosdk.ConstantDurationFutureForecast;
|
|
1142
|
+
return proto.kaikosdk.ConstantDurationFutureForecast.deserializeBinaryFromReader(msg, reader);
|
|
1143
|
+
};
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
/**
|
|
1147
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1148
|
+
* given reader into the given message object.
|
|
1149
|
+
* @param {!proto.kaikosdk.ConstantDurationFutureForecast} msg The message object to deserialize into.
|
|
1150
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1151
|
+
* @return {!proto.kaikosdk.ConstantDurationFutureForecast}
|
|
1152
|
+
*/
|
|
1153
|
+
proto.kaikosdk.ConstantDurationFutureForecast.deserializeBinaryFromReader = function(msg, reader) {
|
|
1154
|
+
while (reader.nextField()) {
|
|
1155
|
+
if (reader.isEndGroup()) {
|
|
1156
|
+
break;
|
|
1157
|
+
}
|
|
1158
|
+
var field = reader.getFieldNumber();
|
|
1159
|
+
switch (field) {
|
|
1160
|
+
case 1:
|
|
1161
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1162
|
+
msg.setExchange(value);
|
|
1163
|
+
break;
|
|
1164
|
+
case 2:
|
|
1165
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1166
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1167
|
+
msg.setFutureDate(value);
|
|
1168
|
+
break;
|
|
1169
|
+
case 3:
|
|
1170
|
+
var value = new proto.kaikosdk.ConstantDurationFutureDetail;
|
|
1171
|
+
reader.readMessage(value,proto.kaikosdk.ConstantDurationFutureDetail.deserializeBinaryFromReader);
|
|
1172
|
+
msg.setFrontFuture(value);
|
|
1173
|
+
break;
|
|
1174
|
+
case 4:
|
|
1175
|
+
var value = new proto.kaikosdk.ConstantDurationFutureDetail;
|
|
1176
|
+
reader.readMessage(value,proto.kaikosdk.ConstantDurationFutureDetail.deserializeBinaryFromReader);
|
|
1177
|
+
msg.setBackFuture(value);
|
|
1178
|
+
break;
|
|
1179
|
+
default:
|
|
1180
|
+
reader.skipField();
|
|
1181
|
+
break;
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
return msg;
|
|
1185
|
+
};
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1190
|
+
* @return {!Uint8Array}
|
|
1191
|
+
*/
|
|
1192
|
+
proto.kaikosdk.ConstantDurationFutureForecast.prototype.serializeBinary = function() {
|
|
1193
|
+
var writer = new jspb.BinaryWriter();
|
|
1194
|
+
proto.kaikosdk.ConstantDurationFutureForecast.serializeBinaryToWriter(this, writer);
|
|
1195
|
+
return writer.getResultBuffer();
|
|
1196
|
+
};
|
|
1197
|
+
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1201
|
+
* format), writing to the given BinaryWriter.
|
|
1202
|
+
* @param {!proto.kaikosdk.ConstantDurationFutureForecast} message
|
|
1203
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1204
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1205
|
+
*/
|
|
1206
|
+
proto.kaikosdk.ConstantDurationFutureForecast.serializeBinaryToWriter = function(message, writer) {
|
|
1207
|
+
var f = undefined;
|
|
1208
|
+
f = message.getExchange();
|
|
1209
|
+
if (f.length > 0) {
|
|
1210
|
+
writer.writeString(
|
|
1211
|
+
1,
|
|
1212
|
+
f
|
|
1213
|
+
);
|
|
1214
|
+
}
|
|
1215
|
+
f = message.getFutureDate();
|
|
1216
|
+
if (f != null) {
|
|
1217
|
+
writer.writeMessage(
|
|
1218
|
+
2,
|
|
1219
|
+
f,
|
|
1220
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1221
|
+
);
|
|
1222
|
+
}
|
|
1223
|
+
f = message.getFrontFuture();
|
|
1224
|
+
if (f != null) {
|
|
1225
|
+
writer.writeMessage(
|
|
1226
|
+
3,
|
|
1227
|
+
f,
|
|
1228
|
+
proto.kaikosdk.ConstantDurationFutureDetail.serializeBinaryToWriter
|
|
1229
|
+
);
|
|
1230
|
+
}
|
|
1231
|
+
f = message.getBackFuture();
|
|
1232
|
+
if (f != null) {
|
|
1233
|
+
writer.writeMessage(
|
|
1234
|
+
4,
|
|
1235
|
+
f,
|
|
1236
|
+
proto.kaikosdk.ConstantDurationFutureDetail.serializeBinaryToWriter
|
|
1237
|
+
);
|
|
1238
|
+
}
|
|
1239
|
+
};
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* optional string exchange = 1;
|
|
1244
|
+
* @return {string}
|
|
1245
|
+
*/
|
|
1246
|
+
proto.kaikosdk.ConstantDurationFutureForecast.prototype.getExchange = function() {
|
|
1247
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1248
|
+
};
|
|
1249
|
+
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* @param {string} value
|
|
1253
|
+
* @return {!proto.kaikosdk.ConstantDurationFutureForecast} returns this
|
|
1254
|
+
*/
|
|
1255
|
+
proto.kaikosdk.ConstantDurationFutureForecast.prototype.setExchange = function(value) {
|
|
1256
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1257
|
+
};
|
|
1258
|
+
|
|
1259
|
+
|
|
1260
|
+
/**
|
|
1261
|
+
* optional google.protobuf.Timestamp future_date = 2;
|
|
1262
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1263
|
+
*/
|
|
1264
|
+
proto.kaikosdk.ConstantDurationFutureForecast.prototype.getFutureDate = function() {
|
|
1265
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1266
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
|
|
1267
|
+
};
|
|
1268
|
+
|
|
1269
|
+
|
|
1270
|
+
/**
|
|
1271
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1272
|
+
* @return {!proto.kaikosdk.ConstantDurationFutureForecast} returns this
|
|
1273
|
+
*/
|
|
1274
|
+
proto.kaikosdk.ConstantDurationFutureForecast.prototype.setFutureDate = function(value) {
|
|
1275
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
1276
|
+
};
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* Clears the message field making it undefined.
|
|
1281
|
+
* @return {!proto.kaikosdk.ConstantDurationFutureForecast} returns this
|
|
1282
|
+
*/
|
|
1283
|
+
proto.kaikosdk.ConstantDurationFutureForecast.prototype.clearFutureDate = function() {
|
|
1284
|
+
return this.setFutureDate(undefined);
|
|
1285
|
+
};
|
|
1286
|
+
|
|
1287
|
+
|
|
1288
|
+
/**
|
|
1289
|
+
* Returns whether this field is set.
|
|
1290
|
+
* @return {boolean}
|
|
1291
|
+
*/
|
|
1292
|
+
proto.kaikosdk.ConstantDurationFutureForecast.prototype.hasFutureDate = function() {
|
|
1293
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1294
|
+
};
|
|
1295
|
+
|
|
1296
|
+
|
|
1297
|
+
/**
|
|
1298
|
+
* optional ConstantDurationFutureDetail front_future = 3;
|
|
1299
|
+
* @return {?proto.kaikosdk.ConstantDurationFutureDetail}
|
|
1300
|
+
*/
|
|
1301
|
+
proto.kaikosdk.ConstantDurationFutureForecast.prototype.getFrontFuture = function() {
|
|
1302
|
+
return /** @type{?proto.kaikosdk.ConstantDurationFutureDetail} */ (
|
|
1303
|
+
jspb.Message.getWrapperField(this, proto.kaikosdk.ConstantDurationFutureDetail, 3));
|
|
1304
|
+
};
|
|
1305
|
+
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* @param {?proto.kaikosdk.ConstantDurationFutureDetail|undefined} value
|
|
1309
|
+
* @return {!proto.kaikosdk.ConstantDurationFutureForecast} returns this
|
|
1310
|
+
*/
|
|
1311
|
+
proto.kaikosdk.ConstantDurationFutureForecast.prototype.setFrontFuture = function(value) {
|
|
1312
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
1313
|
+
};
|
|
1314
|
+
|
|
1315
|
+
|
|
1316
|
+
/**
|
|
1317
|
+
* Clears the message field making it undefined.
|
|
1318
|
+
* @return {!proto.kaikosdk.ConstantDurationFutureForecast} returns this
|
|
1319
|
+
*/
|
|
1320
|
+
proto.kaikosdk.ConstantDurationFutureForecast.prototype.clearFrontFuture = function() {
|
|
1321
|
+
return this.setFrontFuture(undefined);
|
|
1322
|
+
};
|
|
1323
|
+
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* Returns whether this field is set.
|
|
1327
|
+
* @return {boolean}
|
|
1328
|
+
*/
|
|
1329
|
+
proto.kaikosdk.ConstantDurationFutureForecast.prototype.hasFrontFuture = function() {
|
|
1330
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1331
|
+
};
|
|
1332
|
+
|
|
1333
|
+
|
|
1334
|
+
/**
|
|
1335
|
+
* optional ConstantDurationFutureDetail back_future = 4;
|
|
1336
|
+
* @return {?proto.kaikosdk.ConstantDurationFutureDetail}
|
|
1337
|
+
*/
|
|
1338
|
+
proto.kaikosdk.ConstantDurationFutureForecast.prototype.getBackFuture = function() {
|
|
1339
|
+
return /** @type{?proto.kaikosdk.ConstantDurationFutureDetail} */ (
|
|
1340
|
+
jspb.Message.getWrapperField(this, proto.kaikosdk.ConstantDurationFutureDetail, 4));
|
|
1341
|
+
};
|
|
1342
|
+
|
|
1343
|
+
|
|
1344
|
+
/**
|
|
1345
|
+
* @param {?proto.kaikosdk.ConstantDurationFutureDetail|undefined} value
|
|
1346
|
+
* @return {!proto.kaikosdk.ConstantDurationFutureForecast} returns this
|
|
1347
|
+
*/
|
|
1348
|
+
proto.kaikosdk.ConstantDurationFutureForecast.prototype.setBackFuture = function(value) {
|
|
1349
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
1350
|
+
};
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* Clears the message field making it undefined.
|
|
1355
|
+
* @return {!proto.kaikosdk.ConstantDurationFutureForecast} returns this
|
|
1356
|
+
*/
|
|
1357
|
+
proto.kaikosdk.ConstantDurationFutureForecast.prototype.clearBackFuture = function() {
|
|
1358
|
+
return this.setBackFuture(undefined);
|
|
1359
|
+
};
|
|
1360
|
+
|
|
1361
|
+
|
|
1362
|
+
/**
|
|
1363
|
+
* Returns whether this field is set.
|
|
1364
|
+
* @return {boolean}
|
|
1365
|
+
*/
|
|
1366
|
+
proto.kaikosdk.ConstantDurationFutureForecast.prototype.hasBackFuture = function() {
|
|
1367
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1368
|
+
};
|
|
1369
|
+
|
|
1370
|
+
|
|
1015
1371
|
|
|
1016
1372
|
/**
|
|
1017
1373
|
* List of repeated fields within this message type.
|
|
@@ -4,6 +4,7 @@
|
|
|
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
|
import * as sdk_core_data_interval_pb from "../../../sdk/core/data_interval_pb";
|
|
7
|
+
import * as sdk_core_wrappers_pb from "../../../sdk/core/wrappers_pb";
|
|
7
8
|
import * as sdk_stream_index_v1_commodity_pb from "../../../sdk/stream/index_v1/commodity_pb";
|
|
8
9
|
|
|
9
10
|
export class StreamIndexServiceResponsePercentage extends jspb.Message {
|
|
@@ -207,8 +208,8 @@ export class StreamIndexServiceResponseV1 extends jspb.Message {
|
|
|
207
208
|
|
|
208
209
|
hasLastAnomalyIngestTime(): boolean;
|
|
209
210
|
clearLastAnomalyIngestTime(): void;
|
|
210
|
-
getLastAnomalyIngestTime():
|
|
211
|
-
setLastAnomalyIngestTime(value?:
|
|
211
|
+
getLastAnomalyIngestTime(): sdk_core_wrappers_pb.TimestampValue | undefined;
|
|
212
|
+
setLastAnomalyIngestTime(value?: sdk_core_wrappers_pb.TimestampValue): void;
|
|
212
213
|
|
|
213
214
|
serializeBinary(): Uint8Array;
|
|
214
215
|
toObject(includeInstance?: boolean): StreamIndexServiceResponseV1.AsObject;
|
|
@@ -232,7 +233,7 @@ export namespace StreamIndexServiceResponseV1 {
|
|
|
232
233
|
tsEvent?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
233
234
|
sequenceId: string,
|
|
234
235
|
lastIngestTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
235
|
-
lastAnomalyIngestTime?:
|
|
236
|
+
lastAnomalyIngestTime?: sdk_core_wrappers_pb.TimestampValue.AsObject,
|
|
236
237
|
}
|
|
237
238
|
}
|
|
238
239
|
|
|
@@ -25,6 +25,8 @@ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/time
|
|
|
25
25
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
26
26
|
var sdk_core_data_interval_pb = require('../../../sdk/core/data_interval_pb.js');
|
|
27
27
|
goog.object.extend(proto, sdk_core_data_interval_pb);
|
|
28
|
+
var sdk_core_wrappers_pb = require('../../../sdk/core/wrappers_pb.js');
|
|
29
|
+
goog.object.extend(proto, sdk_core_wrappers_pb);
|
|
28
30
|
var sdk_stream_index_v1_commodity_pb = require('../../../sdk/stream/index_v1/commodity_pb.js');
|
|
29
31
|
goog.object.extend(proto, sdk_stream_index_v1_commodity_pb);
|
|
30
32
|
goog.exportSymbol('proto.kaikosdk.StreamIndexServiceResponseBaseAsset', null, global);
|
|
@@ -1322,7 +1324,7 @@ proto.kaikosdk.StreamIndexServiceResponseV1.toObject = function(includeInstance,
|
|
|
1322
1324
|
tsEvent: (f = msg.getTsEvent()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1323
1325
|
sequenceId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1324
1326
|
lastIngestTime: (f = msg.getLastIngestTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1325
|
-
lastAnomalyIngestTime: (f = msg.getLastAnomalyIngestTime()) &&
|
|
1327
|
+
lastAnomalyIngestTime: (f = msg.getLastAnomalyIngestTime()) && sdk_core_wrappers_pb.TimestampValue.toObject(includeInstance, f)
|
|
1326
1328
|
};
|
|
1327
1329
|
|
|
1328
1330
|
if (includeInstance) {
|
|
@@ -1404,9 +1406,9 @@ proto.kaikosdk.StreamIndexServiceResponseV1.deserializeBinaryFromReader = functi
|
|
|
1404
1406
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1405
1407
|
msg.setLastIngestTime(value);
|
|
1406
1408
|
break;
|
|
1407
|
-
case
|
|
1408
|
-
var value = new
|
|
1409
|
-
reader.readMessage(value,
|
|
1409
|
+
case 12:
|
|
1410
|
+
var value = new sdk_core_wrappers_pb.TimestampValue;
|
|
1411
|
+
reader.readMessage(value,sdk_core_wrappers_pb.TimestampValue.deserializeBinaryFromReader);
|
|
1410
1412
|
msg.setLastAnomalyIngestTime(value);
|
|
1411
1413
|
break;
|
|
1412
1414
|
default:
|
|
@@ -1516,9 +1518,9 @@ proto.kaikosdk.StreamIndexServiceResponseV1.serializeBinaryToWriter = function(m
|
|
|
1516
1518
|
f = message.getLastAnomalyIngestTime();
|
|
1517
1519
|
if (f != null) {
|
|
1518
1520
|
writer.writeMessage(
|
|
1519
|
-
|
|
1521
|
+
12,
|
|
1520
1522
|
f,
|
|
1521
|
-
|
|
1523
|
+
sdk_core_wrappers_pb.TimestampValue.serializeBinaryToWriter
|
|
1522
1524
|
);
|
|
1523
1525
|
}
|
|
1524
1526
|
};
|
|
@@ -1821,21 +1823,21 @@ proto.kaikosdk.StreamIndexServiceResponseV1.prototype.hasLastIngestTime = functi
|
|
|
1821
1823
|
|
|
1822
1824
|
|
|
1823
1825
|
/**
|
|
1824
|
-
* optional
|
|
1825
|
-
* @return {?proto.
|
|
1826
|
+
* optional TimestampValue last_anomaly_ingest_time = 12;
|
|
1827
|
+
* @return {?proto.kaikosdk.TimestampValue}
|
|
1826
1828
|
*/
|
|
1827
1829
|
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.getLastAnomalyIngestTime = function() {
|
|
1828
|
-
return /** @type{?proto.
|
|
1829
|
-
jspb.Message.getWrapperField(this,
|
|
1830
|
+
return /** @type{?proto.kaikosdk.TimestampValue} */ (
|
|
1831
|
+
jspb.Message.getWrapperField(this, sdk_core_wrappers_pb.TimestampValue, 12));
|
|
1830
1832
|
};
|
|
1831
1833
|
|
|
1832
1834
|
|
|
1833
1835
|
/**
|
|
1834
|
-
* @param {?proto.
|
|
1836
|
+
* @param {?proto.kaikosdk.TimestampValue|undefined} value
|
|
1835
1837
|
* @return {!proto.kaikosdk.StreamIndexServiceResponseV1} returns this
|
|
1836
1838
|
*/
|
|
1837
1839
|
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.setLastAnomalyIngestTime = function(value) {
|
|
1838
|
-
return jspb.Message.setWrapperField(this,
|
|
1840
|
+
return jspb.Message.setWrapperField(this, 12, value);
|
|
1839
1841
|
};
|
|
1840
1842
|
|
|
1841
1843
|
|
|
@@ -1853,7 +1855,7 @@ proto.kaikosdk.StreamIndexServiceResponseV1.prototype.clearLastAnomalyIngestTime
|
|
|
1853
1855
|
* @return {boolean}
|
|
1854
1856
|
*/
|
|
1855
1857
|
proto.kaikosdk.StreamIndexServiceResponseV1.prototype.hasLastAnomalyIngestTime = function() {
|
|
1856
|
-
return jspb.Message.getField(this,
|
|
1858
|
+
return jspb.Message.getField(this, 12) != null;
|
|
1857
1859
|
};
|
|
1858
1860
|
|
|
1859
1861
|
|