@fintekkers/ledger-models 1.1.50 → 1.1.51

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.
Files changed (29) hide show
  1. package/node/fintekkers/models/security/security_metric_grpc_pb.js +1 -0
  2. package/node/fintekkers/models/security/security_metric_pb.d.ts +89 -0
  3. package/node/fintekkers/models/security/security_metric_pb.js +657 -0
  4. package/node/fintekkers/models/security/security_metric_type_grpc_pb.js +1 -0
  5. package/node/fintekkers/models/security/security_metric_type_pb.d.ts +14 -0
  6. package/node/fintekkers/models/security/security_metric_type_pb.js +35 -0
  7. package/node/fintekkers/models/util/object_type_pb.d.ts +7 -0
  8. package/node/fintekkers/models/util/object_type_pb.js +8 -1
  9. package/node/fintekkers/requests/security_metric/create_security_metric_request_grpc_pb.js +1 -0
  10. package/node/fintekkers/requests/security_metric/create_security_metric_request_pb.d.ts +81 -0
  11. package/node/fintekkers/requests/security_metric/create_security_metric_request_pb.js +600 -0
  12. package/node/fintekkers/requests/security_metric/get_latest_security_metric_request_grpc_pb.js +1 -0
  13. package/node/fintekkers/requests/security_metric/get_latest_security_metric_request_pb.d.ts +93 -0
  14. package/node/fintekkers/requests/security_metric/get_latest_security_metric_request_pb.js +717 -0
  15. package/node/fintekkers/requests/security_metric/search_security_metric_request_grpc_pb.js +1 -0
  16. package/node/fintekkers/requests/security_metric/search_security_metric_request_pb.d.ts +101 -0
  17. package/node/fintekkers/requests/security_metric/search_security_metric_request_pb.js +757 -0
  18. package/node/fintekkers/services/security-metric-service/security_metric_service_grpc_pb.d.ts +76 -0
  19. package/node/fintekkers/services/security-metric-service/security_metric_service_grpc_pb.js +173 -0
  20. package/node/fintekkers/services/security-metric-service/security_metric_service_pb.d.ts +10 -0
  21. package/node/fintekkers/services/security-metric-service/security_metric_service_pb.js +29 -0
  22. package/node/wrappers/models/security/security-metric-roundtrip.test.d.ts +1 -0
  23. package/node/wrappers/models/security/security-metric-roundtrip.test.js +137 -0
  24. package/node/wrappers/models/security/security-metric-roundtrip.test.js.map +1 -0
  25. package/node/wrappers/models/security/security-metric-roundtrip.test.ts +162 -0
  26. package/node/wrappers/util/object-types.js +12 -0
  27. package/node/wrappers/util/object-types.js.map +1 -1
  28. package/node/wrappers/util/object-types.ts +12 -0
  29. package/package.json +1 -1
@@ -0,0 +1,757 @@
1
+ // source: fintekkers/requests/security_metric/search_security_metric_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 = (function() {
17
+ if (this) { return this; }
18
+ if (typeof window !== 'undefined') { return window; }
19
+ if (typeof global !== 'undefined') { return global; }
20
+ if (typeof self !== 'undefined') { return self; }
21
+ return Function('return this')();
22
+ }.call(null));
23
+
24
+ var fintekkers_models_util_uuid_pb = require('../../../fintekkers/models/util/uuid_pb.js');
25
+ goog.object.extend(proto, fintekkers_models_util_uuid_pb);
26
+ var fintekkers_models_util_local_date_pb = require('../../../fintekkers/models/util/local_date_pb.js');
27
+ goog.object.extend(proto, fintekkers_models_util_local_date_pb);
28
+ var fintekkers_models_util_local_timestamp_pb = require('../../../fintekkers/models/util/local_timestamp_pb.js');
29
+ goog.object.extend(proto, fintekkers_models_util_local_timestamp_pb);
30
+ var fintekkers_models_security_security_metric_pb = require('../../../fintekkers/models/security/security_metric_pb.js');
31
+ goog.object.extend(proto, fintekkers_models_security_security_metric_pb);
32
+ var fintekkers_models_security_security_metric_type_pb = require('../../../fintekkers/models/security/security_metric_type_pb.js');
33
+ goog.object.extend(proto, fintekkers_models_security_security_metric_type_pb);
34
+ var fintekkers_models_util_object_type_pb = require('../../../fintekkers/models/util/object_type_pb.js');
35
+ goog.object.extend(proto, fintekkers_models_util_object_type_pb);
36
+ var fintekkers_models_util_version_pb = require('../../../fintekkers/models/util/version_pb.js');
37
+ goog.object.extend(proto, fintekkers_models_util_version_pb);
38
+ goog.exportSymbol('proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto', null, global);
39
+ goog.exportSymbol('proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto', null, global);
40
+ /**
41
+ * Generated by JsPbCodeGenerator.
42
+ * @param {Array=} opt_data Optional initial data array, typically from a
43
+ * server response, or constructed directly in Javascript. The array is used
44
+ * in place and becomes part of the constructed object. It is not cloned.
45
+ * If no data is provided, the constructed object will be empty, but still
46
+ * valid.
47
+ * @extends {jspb.Message}
48
+ * @constructor
49
+ */
50
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto = function(opt_data) {
51
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.repeatedFields_, null);
52
+ };
53
+ goog.inherits(proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto, jspb.Message);
54
+ if (goog.DEBUG && !COMPILED) {
55
+ /**
56
+ * @public
57
+ * @override
58
+ */
59
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.displayName = 'proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto';
60
+ }
61
+ /**
62
+ * Generated by JsPbCodeGenerator.
63
+ * @param {Array=} opt_data Optional initial data array, typically from a
64
+ * server response, or constructed directly in Javascript. The array is used
65
+ * in place and becomes part of the constructed object. It is not cloned.
66
+ * If no data is provided, the constructed object will be empty, but still
67
+ * valid.
68
+ * @extends {jspb.Message}
69
+ * @constructor
70
+ */
71
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto = function(opt_data) {
72
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
73
+ };
74
+ goog.inherits(proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto, jspb.Message);
75
+ if (goog.DEBUG && !COMPILED) {
76
+ /**
77
+ * @public
78
+ * @override
79
+ */
80
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.displayName = 'proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto';
81
+ }
82
+
83
+ /**
84
+ * List of repeated fields within this message type.
85
+ * @private {!Array<number>}
86
+ * @const
87
+ */
88
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.repeatedFields_ = [11];
89
+
90
+
91
+
92
+ if (jspb.Message.GENERATE_TO_OBJECT) {
93
+ /**
94
+ * Creates an object representation of this proto.
95
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
96
+ * Optional fields that are not set will be set to undefined.
97
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
98
+ * For the list of reserved names please see:
99
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
100
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
101
+ * JSPB instance for transitional soy proto support:
102
+ * http://goto/soy-param-migration
103
+ * @return {!Object}
104
+ */
105
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.toObject = function(opt_includeInstance) {
106
+ return proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.toObject(opt_includeInstance, this);
107
+ };
108
+
109
+
110
+ /**
111
+ * Static version of the {@see toObject} method.
112
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
113
+ * the JSPB instance for transitional soy proto support:
114
+ * http://goto/soy-param-migration
115
+ * @param {!proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto} msg The msg instance to transform.
116
+ * @return {!Object}
117
+ * @suppress {unusedLocalVariables} f is only used for nested messages
118
+ */
119
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.toObject = function(includeInstance, msg) {
120
+ var f, obj = {
121
+ objectType: jspb.Message.getFieldWithDefault(msg, 1, 0),
122
+ version: (f = msg.getVersion()) && fintekkers_models_util_version_pb.VersionProto.toObject(includeInstance, f),
123
+ securityId: (f = msg.getSecurityId()) && fintekkers_models_util_uuid_pb.UUIDProto.toObject(includeInstance, f),
124
+ metricsList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
125
+ startDate: (f = msg.getStartDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
126
+ endDate: (f = msg.getEndDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
127
+ asOf: (f = msg.getAsOf()) && fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.toObject(includeInstance, f)
128
+ };
129
+
130
+ if (includeInstance) {
131
+ obj.$jspbMessageInstance = msg;
132
+ }
133
+ return obj;
134
+ };
135
+ }
136
+
137
+
138
+ /**
139
+ * Deserializes binary data (in protobuf wire format).
140
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
141
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto}
142
+ */
143
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.deserializeBinary = function(bytes) {
144
+ var reader = new jspb.BinaryReader(bytes);
145
+ var msg = new proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto;
146
+ return proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.deserializeBinaryFromReader(msg, reader);
147
+ };
148
+
149
+
150
+ /**
151
+ * Deserializes binary data (in protobuf wire format) from the
152
+ * given reader into the given message object.
153
+ * @param {!proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto} msg The message object to deserialize into.
154
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
155
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto}
156
+ */
157
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.deserializeBinaryFromReader = function(msg, reader) {
158
+ while (reader.nextField()) {
159
+ if (reader.isEndGroup()) {
160
+ break;
161
+ }
162
+ var field = reader.getFieldNumber();
163
+ switch (field) {
164
+ case 1:
165
+ var value = /** @type {!proto.fintekkers.models.util.ObjectTypeProto} */ (reader.readEnum());
166
+ msg.setObjectType(value);
167
+ break;
168
+ case 2:
169
+ var value = new fintekkers_models_util_version_pb.VersionProto;
170
+ reader.readMessage(value,fintekkers_models_util_version_pb.VersionProto.deserializeBinaryFromReader);
171
+ msg.setVersion(value);
172
+ break;
173
+ case 10:
174
+ var value = new fintekkers_models_util_uuid_pb.UUIDProto;
175
+ reader.readMessage(value,fintekkers_models_util_uuid_pb.UUIDProto.deserializeBinaryFromReader);
176
+ msg.setSecurityId(value);
177
+ break;
178
+ case 11:
179
+ var values = /** @type {!Array<!proto.fintekkers.models.security.SecurityMetricTypeProto>} */ (reader.isDelimited() ? (function(){var arr=[];reader.readPackableEnumInto(arr);return arr;})() : [reader.readEnum()]);
180
+ for (var i = 0; i < values.length; i++) {
181
+ msg.addMetrics(values[i]);
182
+ }
183
+ break;
184
+ case 12:
185
+ var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
186
+ reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
187
+ msg.setStartDate(value);
188
+ break;
189
+ case 13:
190
+ var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
191
+ reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
192
+ msg.setEndDate(value);
193
+ break;
194
+ case 14:
195
+ var value = new fintekkers_models_util_local_timestamp_pb.LocalTimestampProto;
196
+ reader.readMessage(value,fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.deserializeBinaryFromReader);
197
+ msg.setAsOf(value);
198
+ break;
199
+ default:
200
+ reader.skipField();
201
+ break;
202
+ }
203
+ }
204
+ return msg;
205
+ };
206
+
207
+
208
+ /**
209
+ * Serializes the message to binary data (in protobuf wire format).
210
+ * @return {!Uint8Array}
211
+ */
212
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.serializeBinary = function() {
213
+ var writer = new jspb.BinaryWriter();
214
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.serializeBinaryToWriter(this, writer);
215
+ return writer.getResultBuffer();
216
+ };
217
+
218
+
219
+ /**
220
+ * Serializes the given message to binary data (in protobuf wire
221
+ * format), writing to the given BinaryWriter.
222
+ * @param {!proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto} message
223
+ * @param {!jspb.BinaryWriter} writer
224
+ * @suppress {unusedLocalVariables} f is only used for nested messages
225
+ */
226
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.serializeBinaryToWriter = function(message, writer) {
227
+ var f = undefined;
228
+ f = message.getObjectType();
229
+ if (f !== 0.0) {
230
+ writer.writeEnum(
231
+ 1,
232
+ f
233
+ );
234
+ }
235
+ f = message.getVersion();
236
+ if (f != null) {
237
+ writer.writeMessage(
238
+ 2,
239
+ f,
240
+ fintekkers_models_util_version_pb.VersionProto.serializeBinaryToWriter
241
+ );
242
+ }
243
+ f = message.getSecurityId();
244
+ if (f != null) {
245
+ writer.writeMessage(
246
+ 10,
247
+ f,
248
+ fintekkers_models_util_uuid_pb.UUIDProto.serializeBinaryToWriter
249
+ );
250
+ }
251
+ f = message.getMetricsList();
252
+ if (f.length > 0) {
253
+ writer.writePackedEnum(
254
+ 11,
255
+ f
256
+ );
257
+ }
258
+ f = message.getStartDate();
259
+ if (f != null) {
260
+ writer.writeMessage(
261
+ 12,
262
+ f,
263
+ fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
264
+ );
265
+ }
266
+ f = message.getEndDate();
267
+ if (f != null) {
268
+ writer.writeMessage(
269
+ 13,
270
+ f,
271
+ fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
272
+ );
273
+ }
274
+ f = message.getAsOf();
275
+ if (f != null) {
276
+ writer.writeMessage(
277
+ 14,
278
+ f,
279
+ fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.serializeBinaryToWriter
280
+ );
281
+ }
282
+ };
283
+
284
+
285
+ /**
286
+ * optional fintekkers.models.util.ObjectTypeProto object_type = 1;
287
+ * @return {!proto.fintekkers.models.util.ObjectTypeProto}
288
+ */
289
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.getObjectType = function() {
290
+ return /** @type {!proto.fintekkers.models.util.ObjectTypeProto} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
291
+ };
292
+
293
+
294
+ /**
295
+ * @param {!proto.fintekkers.models.util.ObjectTypeProto} value
296
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto} returns this
297
+ */
298
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.setObjectType = function(value) {
299
+ return jspb.Message.setProto3EnumField(this, 1, value);
300
+ };
301
+
302
+
303
+ /**
304
+ * optional fintekkers.models.util.VersionProto version = 2;
305
+ * @return {?proto.fintekkers.models.util.VersionProto}
306
+ */
307
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.getVersion = function() {
308
+ return /** @type{?proto.fintekkers.models.util.VersionProto} */ (
309
+ jspb.Message.getWrapperField(this, fintekkers_models_util_version_pb.VersionProto, 2));
310
+ };
311
+
312
+
313
+ /**
314
+ * @param {?proto.fintekkers.models.util.VersionProto|undefined} value
315
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto} returns this
316
+ */
317
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.setVersion = function(value) {
318
+ return jspb.Message.setWrapperField(this, 2, value);
319
+ };
320
+
321
+
322
+ /**
323
+ * Clears the message field making it undefined.
324
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto} returns this
325
+ */
326
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.clearVersion = function() {
327
+ return this.setVersion(undefined);
328
+ };
329
+
330
+
331
+ /**
332
+ * Returns whether this field is set.
333
+ * @return {boolean}
334
+ */
335
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.hasVersion = function() {
336
+ return jspb.Message.getField(this, 2) != null;
337
+ };
338
+
339
+
340
+ /**
341
+ * optional fintekkers.models.util.UUIDProto security_id = 10;
342
+ * @return {?proto.fintekkers.models.util.UUIDProto}
343
+ */
344
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.getSecurityId = function() {
345
+ return /** @type{?proto.fintekkers.models.util.UUIDProto} */ (
346
+ jspb.Message.getWrapperField(this, fintekkers_models_util_uuid_pb.UUIDProto, 10));
347
+ };
348
+
349
+
350
+ /**
351
+ * @param {?proto.fintekkers.models.util.UUIDProto|undefined} value
352
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto} returns this
353
+ */
354
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.setSecurityId = function(value) {
355
+ return jspb.Message.setWrapperField(this, 10, value);
356
+ };
357
+
358
+
359
+ /**
360
+ * Clears the message field making it undefined.
361
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto} returns this
362
+ */
363
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.clearSecurityId = function() {
364
+ return this.setSecurityId(undefined);
365
+ };
366
+
367
+
368
+ /**
369
+ * Returns whether this field is set.
370
+ * @return {boolean}
371
+ */
372
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.hasSecurityId = function() {
373
+ return jspb.Message.getField(this, 10) != null;
374
+ };
375
+
376
+
377
+ /**
378
+ * repeated fintekkers.models.security.SecurityMetricTypeProto metrics = 11;
379
+ * @return {!Array<!proto.fintekkers.models.security.SecurityMetricTypeProto>}
380
+ */
381
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.getMetricsList = function() {
382
+ return /** @type {!Array<!proto.fintekkers.models.security.SecurityMetricTypeProto>} */ (jspb.Message.getRepeatedField(this, 11));
383
+ };
384
+
385
+
386
+ /**
387
+ * @param {!Array<!proto.fintekkers.models.security.SecurityMetricTypeProto>} value
388
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto} returns this
389
+ */
390
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.setMetricsList = function(value) {
391
+ return jspb.Message.setField(this, 11, value || []);
392
+ };
393
+
394
+
395
+ /**
396
+ * @param {!proto.fintekkers.models.security.SecurityMetricTypeProto} value
397
+ * @param {number=} opt_index
398
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto} returns this
399
+ */
400
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.addMetrics = function(value, opt_index) {
401
+ return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
402
+ };
403
+
404
+
405
+ /**
406
+ * Clears the list making it empty but non-null.
407
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto} returns this
408
+ */
409
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.clearMetricsList = function() {
410
+ return this.setMetricsList([]);
411
+ };
412
+
413
+
414
+ /**
415
+ * optional fintekkers.models.util.LocalDateProto start_date = 12;
416
+ * @return {?proto.fintekkers.models.util.LocalDateProto}
417
+ */
418
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.getStartDate = function() {
419
+ return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
420
+ jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 12));
421
+ };
422
+
423
+
424
+ /**
425
+ * @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
426
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto} returns this
427
+ */
428
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.setStartDate = function(value) {
429
+ return jspb.Message.setWrapperField(this, 12, value);
430
+ };
431
+
432
+
433
+ /**
434
+ * Clears the message field making it undefined.
435
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto} returns this
436
+ */
437
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.clearStartDate = function() {
438
+ return this.setStartDate(undefined);
439
+ };
440
+
441
+
442
+ /**
443
+ * Returns whether this field is set.
444
+ * @return {boolean}
445
+ */
446
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.hasStartDate = function() {
447
+ return jspb.Message.getField(this, 12) != null;
448
+ };
449
+
450
+
451
+ /**
452
+ * optional fintekkers.models.util.LocalDateProto end_date = 13;
453
+ * @return {?proto.fintekkers.models.util.LocalDateProto}
454
+ */
455
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.getEndDate = function() {
456
+ return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
457
+ jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 13));
458
+ };
459
+
460
+
461
+ /**
462
+ * @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
463
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto} returns this
464
+ */
465
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.setEndDate = function(value) {
466
+ return jspb.Message.setWrapperField(this, 13, value);
467
+ };
468
+
469
+
470
+ /**
471
+ * Clears the message field making it undefined.
472
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto} returns this
473
+ */
474
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.clearEndDate = function() {
475
+ return this.setEndDate(undefined);
476
+ };
477
+
478
+
479
+ /**
480
+ * Returns whether this field is set.
481
+ * @return {boolean}
482
+ */
483
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.hasEndDate = function() {
484
+ return jspb.Message.getField(this, 13) != null;
485
+ };
486
+
487
+
488
+ /**
489
+ * optional fintekkers.models.util.LocalTimestampProto as_of = 14;
490
+ * @return {?proto.fintekkers.models.util.LocalTimestampProto}
491
+ */
492
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.getAsOf = function() {
493
+ return /** @type{?proto.fintekkers.models.util.LocalTimestampProto} */ (
494
+ jspb.Message.getWrapperField(this, fintekkers_models_util_local_timestamp_pb.LocalTimestampProto, 14));
495
+ };
496
+
497
+
498
+ /**
499
+ * @param {?proto.fintekkers.models.util.LocalTimestampProto|undefined} value
500
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto} returns this
501
+ */
502
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.setAsOf = function(value) {
503
+ return jspb.Message.setWrapperField(this, 14, value);
504
+ };
505
+
506
+
507
+ /**
508
+ * Clears the message field making it undefined.
509
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto} returns this
510
+ */
511
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.clearAsOf = function() {
512
+ return this.setAsOf(undefined);
513
+ };
514
+
515
+
516
+ /**
517
+ * Returns whether this field is set.
518
+ * @return {boolean}
519
+ */
520
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricRequestProto.prototype.hasAsOf = function() {
521
+ return jspb.Message.getField(this, 14) != null;
522
+ };
523
+
524
+
525
+
526
+
527
+
528
+ if (jspb.Message.GENERATE_TO_OBJECT) {
529
+ /**
530
+ * Creates an object representation of this proto.
531
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
532
+ * Optional fields that are not set will be set to undefined.
533
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
534
+ * For the list of reserved names please see:
535
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
536
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
537
+ * JSPB instance for transitional soy proto support:
538
+ * http://goto/soy-param-migration
539
+ * @return {!Object}
540
+ */
541
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.prototype.toObject = function(opt_includeInstance) {
542
+ return proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.toObject(opt_includeInstance, this);
543
+ };
544
+
545
+
546
+ /**
547
+ * Static version of the {@see toObject} method.
548
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
549
+ * the JSPB instance for transitional soy proto support:
550
+ * http://goto/soy-param-migration
551
+ * @param {!proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto} msg The msg instance to transform.
552
+ * @return {!Object}
553
+ * @suppress {unusedLocalVariables} f is only used for nested messages
554
+ */
555
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.toObject = function(includeInstance, msg) {
556
+ var f, obj = {
557
+ objectType: jspb.Message.getFieldWithDefault(msg, 1, 0),
558
+ version: (f = msg.getVersion()) && fintekkers_models_util_version_pb.VersionProto.toObject(includeInstance, f),
559
+ series: (f = msg.getSeries()) && fintekkers_models_security_security_metric_pb.SecurityMetricSeriesProto.toObject(includeInstance, f)
560
+ };
561
+
562
+ if (includeInstance) {
563
+ obj.$jspbMessageInstance = msg;
564
+ }
565
+ return obj;
566
+ };
567
+ }
568
+
569
+
570
+ /**
571
+ * Deserializes binary data (in protobuf wire format).
572
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
573
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto}
574
+ */
575
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.deserializeBinary = function(bytes) {
576
+ var reader = new jspb.BinaryReader(bytes);
577
+ var msg = new proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto;
578
+ return proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.deserializeBinaryFromReader(msg, reader);
579
+ };
580
+
581
+
582
+ /**
583
+ * Deserializes binary data (in protobuf wire format) from the
584
+ * given reader into the given message object.
585
+ * @param {!proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto} msg The message object to deserialize into.
586
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
587
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto}
588
+ */
589
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.deserializeBinaryFromReader = function(msg, reader) {
590
+ while (reader.nextField()) {
591
+ if (reader.isEndGroup()) {
592
+ break;
593
+ }
594
+ var field = reader.getFieldNumber();
595
+ switch (field) {
596
+ case 1:
597
+ var value = /** @type {!proto.fintekkers.models.util.ObjectTypeProto} */ (reader.readEnum());
598
+ msg.setObjectType(value);
599
+ break;
600
+ case 2:
601
+ var value = new fintekkers_models_util_version_pb.VersionProto;
602
+ reader.readMessage(value,fintekkers_models_util_version_pb.VersionProto.deserializeBinaryFromReader);
603
+ msg.setVersion(value);
604
+ break;
605
+ case 20:
606
+ var value = new fintekkers_models_security_security_metric_pb.SecurityMetricSeriesProto;
607
+ reader.readMessage(value,fintekkers_models_security_security_metric_pb.SecurityMetricSeriesProto.deserializeBinaryFromReader);
608
+ msg.setSeries(value);
609
+ break;
610
+ default:
611
+ reader.skipField();
612
+ break;
613
+ }
614
+ }
615
+ return msg;
616
+ };
617
+
618
+
619
+ /**
620
+ * Serializes the message to binary data (in protobuf wire format).
621
+ * @return {!Uint8Array}
622
+ */
623
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.prototype.serializeBinary = function() {
624
+ var writer = new jspb.BinaryWriter();
625
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.serializeBinaryToWriter(this, writer);
626
+ return writer.getResultBuffer();
627
+ };
628
+
629
+
630
+ /**
631
+ * Serializes the given message to binary data (in protobuf wire
632
+ * format), writing to the given BinaryWriter.
633
+ * @param {!proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto} message
634
+ * @param {!jspb.BinaryWriter} writer
635
+ * @suppress {unusedLocalVariables} f is only used for nested messages
636
+ */
637
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.serializeBinaryToWriter = function(message, writer) {
638
+ var f = undefined;
639
+ f = message.getObjectType();
640
+ if (f !== 0.0) {
641
+ writer.writeEnum(
642
+ 1,
643
+ f
644
+ );
645
+ }
646
+ f = message.getVersion();
647
+ if (f != null) {
648
+ writer.writeMessage(
649
+ 2,
650
+ f,
651
+ fintekkers_models_util_version_pb.VersionProto.serializeBinaryToWriter
652
+ );
653
+ }
654
+ f = message.getSeries();
655
+ if (f != null) {
656
+ writer.writeMessage(
657
+ 20,
658
+ f,
659
+ fintekkers_models_security_security_metric_pb.SecurityMetricSeriesProto.serializeBinaryToWriter
660
+ );
661
+ }
662
+ };
663
+
664
+
665
+ /**
666
+ * optional fintekkers.models.util.ObjectTypeProto object_type = 1;
667
+ * @return {!proto.fintekkers.models.util.ObjectTypeProto}
668
+ */
669
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.prototype.getObjectType = function() {
670
+ return /** @type {!proto.fintekkers.models.util.ObjectTypeProto} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
671
+ };
672
+
673
+
674
+ /**
675
+ * @param {!proto.fintekkers.models.util.ObjectTypeProto} value
676
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto} returns this
677
+ */
678
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.prototype.setObjectType = function(value) {
679
+ return jspb.Message.setProto3EnumField(this, 1, value);
680
+ };
681
+
682
+
683
+ /**
684
+ * optional fintekkers.models.util.VersionProto version = 2;
685
+ * @return {?proto.fintekkers.models.util.VersionProto}
686
+ */
687
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.prototype.getVersion = function() {
688
+ return /** @type{?proto.fintekkers.models.util.VersionProto} */ (
689
+ jspb.Message.getWrapperField(this, fintekkers_models_util_version_pb.VersionProto, 2));
690
+ };
691
+
692
+
693
+ /**
694
+ * @param {?proto.fintekkers.models.util.VersionProto|undefined} value
695
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto} returns this
696
+ */
697
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.prototype.setVersion = function(value) {
698
+ return jspb.Message.setWrapperField(this, 2, value);
699
+ };
700
+
701
+
702
+ /**
703
+ * Clears the message field making it undefined.
704
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto} returns this
705
+ */
706
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.prototype.clearVersion = function() {
707
+ return this.setVersion(undefined);
708
+ };
709
+
710
+
711
+ /**
712
+ * Returns whether this field is set.
713
+ * @return {boolean}
714
+ */
715
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.prototype.hasVersion = function() {
716
+ return jspb.Message.getField(this, 2) != null;
717
+ };
718
+
719
+
720
+ /**
721
+ * optional fintekkers.models.security.SecurityMetricSeriesProto series = 20;
722
+ * @return {?proto.fintekkers.models.security.SecurityMetricSeriesProto}
723
+ */
724
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.prototype.getSeries = function() {
725
+ return /** @type{?proto.fintekkers.models.security.SecurityMetricSeriesProto} */ (
726
+ jspb.Message.getWrapperField(this, fintekkers_models_security_security_metric_pb.SecurityMetricSeriesProto, 20));
727
+ };
728
+
729
+
730
+ /**
731
+ * @param {?proto.fintekkers.models.security.SecurityMetricSeriesProto|undefined} value
732
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto} returns this
733
+ */
734
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.prototype.setSeries = function(value) {
735
+ return jspb.Message.setWrapperField(this, 20, value);
736
+ };
737
+
738
+
739
+ /**
740
+ * Clears the message field making it undefined.
741
+ * @return {!proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto} returns this
742
+ */
743
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.prototype.clearSeries = function() {
744
+ return this.setSeries(undefined);
745
+ };
746
+
747
+
748
+ /**
749
+ * Returns whether this field is set.
750
+ * @return {boolean}
751
+ */
752
+ proto.fintekkers.requests.security_metric.SearchSecurityMetricResponseProto.prototype.hasSeries = function() {
753
+ return jspb.Message.getField(this, 20) != null;
754
+ };
755
+
756
+
757
+ goog.object.extend(exports, proto.fintekkers.requests.security_metric);