@marleena/trb-proto 1.0.53 → 1.0.55

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.
@@ -14,6 +14,20 @@ export class ListFilter extends jspb.Message {
14
14
  getOffset(): number;
15
15
  setOffset(value: number): ListFilter;
16
16
 
17
+ getSortBy(): string;
18
+ setSortBy(value: string): ListFilter;
19
+
20
+ getSortDesc(): boolean;
21
+ setSortDesc(value: boolean): ListFilter;
22
+
23
+ getFieldFiltersList(): Array<FieldFilter>;
24
+ setFieldFiltersList(value: Array<FieldFilter>): ListFilter;
25
+ clearFieldFiltersList(): ListFilter;
26
+ addFieldFilters(value?: FieldFilter, index?: number): FieldFilter;
27
+
28
+ getIntervalFilter(): number;
29
+ setIntervalFilter(value: number): ListFilter;
30
+
17
31
  serializeBinary(): Uint8Array;
18
32
  toObject(includeInstance?: boolean): ListFilter.AsObject;
19
33
  static toObject(includeInstance: boolean, msg: ListFilter): ListFilter.AsObject;
@@ -27,6 +41,32 @@ export namespace ListFilter {
27
41
  q: string,
28
42
  limit: number,
29
43
  offset: number,
44
+ sortBy: string,
45
+ sortDesc: boolean,
46
+ fieldFiltersList: Array<FieldFilter.AsObject>,
47
+ intervalFilter: number,
48
+ }
49
+ }
50
+
51
+ export class FieldFilter extends jspb.Message {
52
+ getField(): string;
53
+ setField(value: string): FieldFilter;
54
+
55
+ getValue(): string;
56
+ setValue(value: string): FieldFilter;
57
+
58
+ serializeBinary(): Uint8Array;
59
+ toObject(includeInstance?: boolean): FieldFilter.AsObject;
60
+ static toObject(includeInstance: boolean, msg: FieldFilter): FieldFilter.AsObject;
61
+ static serializeBinaryToWriter(message: FieldFilter, writer: jspb.BinaryWriter): void;
62
+ static deserializeBinary(bytes: Uint8Array): FieldFilter;
63
+ static deserializeBinaryFromReader(message: FieldFilter, reader: jspb.BinaryReader): FieldFilter;
64
+ }
65
+
66
+ export namespace FieldFilter {
67
+ export type AsObject = {
68
+ field: string,
69
+ value: string,
30
70
  }
31
71
  }
32
72
 
@@ -56,6 +96,9 @@ export class ListLastDownloadsResponse extends jspb.Message {
56
96
  clearItemsList(): ListLastDownloadsResponse;
57
97
  addItems(value?: LastDownload, index?: number): LastDownload;
58
98
 
99
+ getTotal(): number;
100
+ setTotal(value: number): ListLastDownloadsResponse;
101
+
59
102
  serializeBinary(): Uint8Array;
60
103
  toObject(includeInstance?: boolean): ListLastDownloadsResponse.AsObject;
61
104
  static toObject(includeInstance: boolean, msg: ListLastDownloadsResponse): ListLastDownloadsResponse.AsObject;
@@ -67,6 +110,7 @@ export class ListLastDownloadsResponse extends jspb.Message {
67
110
  export namespace ListLastDownloadsResponse {
68
111
  export type AsObject = {
69
112
  itemsList: Array<LastDownload.AsObject>,
113
+ total: number,
70
114
  }
71
115
  }
72
116
 
@@ -25,6 +25,7 @@ var google_api_annotations_pb = require('../google/api/annotations_pb.js');
25
25
  goog.object.extend(proto, google_api_annotations_pb);
26
26
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
27
27
  goog.object.extend(proto, google_protobuf_timestamp_pb);
28
+ goog.exportSymbol('proto.trb.historiccandle.v1.FieldFilter', null, global);
28
29
  goog.exportSymbol('proto.trb.historiccandle.v1.HistoricCandleRow', null, global);
29
30
  goog.exportSymbol('proto.trb.historiccandle.v1.LastDownload', null, global);
30
31
  goog.exportSymbol('proto.trb.historiccandle.v1.ListCandlesRequest', null, global);
@@ -43,7 +44,7 @@ goog.exportSymbol('proto.trb.historiccandle.v1.ListLastDownloadsResponse', null,
43
44
  * @constructor
44
45
  */
45
46
  proto.trb.historiccandle.v1.ListFilter = function(opt_data) {
46
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
47
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.historiccandle.v1.ListFilter.repeatedFields_, null);
47
48
  };
48
49
  goog.inherits(proto.trb.historiccandle.v1.ListFilter, jspb.Message);
49
50
  if (goog.DEBUG && !COMPILED) {
@@ -53,6 +54,27 @@ if (goog.DEBUG && !COMPILED) {
53
54
  */
54
55
  proto.trb.historiccandle.v1.ListFilter.displayName = 'proto.trb.historiccandle.v1.ListFilter';
55
56
  }
57
+ /**
58
+ * Generated by JsPbCodeGenerator.
59
+ * @param {Array=} opt_data Optional initial data array, typically from a
60
+ * server response, or constructed directly in Javascript. The array is used
61
+ * in place and becomes part of the constructed object. It is not cloned.
62
+ * If no data is provided, the constructed object will be empty, but still
63
+ * valid.
64
+ * @extends {jspb.Message}
65
+ * @constructor
66
+ */
67
+ proto.trb.historiccandle.v1.FieldFilter = function(opt_data) {
68
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
69
+ };
70
+ goog.inherits(proto.trb.historiccandle.v1.FieldFilter, jspb.Message);
71
+ if (goog.DEBUG && !COMPILED) {
72
+ /**
73
+ * @public
74
+ * @override
75
+ */
76
+ proto.trb.historiccandle.v1.FieldFilter.displayName = 'proto.trb.historiccandle.v1.FieldFilter';
77
+ }
56
78
  /**
57
79
  * Generated by JsPbCodeGenerator.
58
80
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -180,6 +202,13 @@ if (goog.DEBUG && !COMPILED) {
180
202
  proto.trb.historiccandle.v1.ListCandlesResponse.displayName = 'proto.trb.historiccandle.v1.ListCandlesResponse';
181
203
  }
182
204
 
205
+ /**
206
+ * List of repeated fields within this message type.
207
+ * @private {!Array<number>}
208
+ * @const
209
+ */
210
+ proto.trb.historiccandle.v1.ListFilter.repeatedFields_ = [6];
211
+
183
212
 
184
213
 
185
214
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -213,7 +242,12 @@ proto.trb.historiccandle.v1.ListFilter.toObject = function(includeInstance, msg)
213
242
  var f, obj = {
214
243
  q: jspb.Message.getFieldWithDefault(msg, 1, ""),
215
244
  limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
216
- offset: jspb.Message.getFieldWithDefault(msg, 3, 0)
245
+ offset: jspb.Message.getFieldWithDefault(msg, 3, 0),
246
+ sortBy: jspb.Message.getFieldWithDefault(msg, 4, ""),
247
+ sortDesc: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
248
+ fieldFiltersList: jspb.Message.toObjectList(msg.getFieldFiltersList(),
249
+ proto.trb.historiccandle.v1.FieldFilter.toObject, includeInstance),
250
+ intervalFilter: jspb.Message.getFieldWithDefault(msg, 7, 0)
217
251
  };
218
252
 
219
253
  if (includeInstance) {
@@ -262,6 +296,23 @@ proto.trb.historiccandle.v1.ListFilter.deserializeBinaryFromReader = function(ms
262
296
  var value = /** @type {number} */ (reader.readInt32());
263
297
  msg.setOffset(value);
264
298
  break;
299
+ case 4:
300
+ var value = /** @type {string} */ (reader.readString());
301
+ msg.setSortBy(value);
302
+ break;
303
+ case 5:
304
+ var value = /** @type {boolean} */ (reader.readBool());
305
+ msg.setSortDesc(value);
306
+ break;
307
+ case 6:
308
+ var value = new proto.trb.historiccandle.v1.FieldFilter;
309
+ reader.readMessage(value,proto.trb.historiccandle.v1.FieldFilter.deserializeBinaryFromReader);
310
+ msg.addFieldFilters(value);
311
+ break;
312
+ case 7:
313
+ var value = /** @type {number} */ (reader.readInt32());
314
+ msg.setIntervalFilter(value);
315
+ break;
265
316
  default:
266
317
  reader.skipField();
267
318
  break;
@@ -312,6 +363,35 @@ proto.trb.historiccandle.v1.ListFilter.serializeBinaryToWriter = function(messag
312
363
  f
313
364
  );
314
365
  }
366
+ f = message.getSortBy();
367
+ if (f.length > 0) {
368
+ writer.writeString(
369
+ 4,
370
+ f
371
+ );
372
+ }
373
+ f = message.getSortDesc();
374
+ if (f) {
375
+ writer.writeBool(
376
+ 5,
377
+ f
378
+ );
379
+ }
380
+ f = message.getFieldFiltersList();
381
+ if (f.length > 0) {
382
+ writer.writeRepeatedMessage(
383
+ 6,
384
+ f,
385
+ proto.trb.historiccandle.v1.FieldFilter.serializeBinaryToWriter
386
+ );
387
+ }
388
+ f = message.getIntervalFilter();
389
+ if (f !== 0) {
390
+ writer.writeInt32(
391
+ 7,
392
+ f
393
+ );
394
+ }
315
395
  };
316
396
 
317
397
 
@@ -369,6 +449,258 @@ proto.trb.historiccandle.v1.ListFilter.prototype.setOffset = function(value) {
369
449
  };
370
450
 
371
451
 
452
+ /**
453
+ * optional string sort_by = 4;
454
+ * @return {string}
455
+ */
456
+ proto.trb.historiccandle.v1.ListFilter.prototype.getSortBy = function() {
457
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
458
+ };
459
+
460
+
461
+ /**
462
+ * @param {string} value
463
+ * @return {!proto.trb.historiccandle.v1.ListFilter} returns this
464
+ */
465
+ proto.trb.historiccandle.v1.ListFilter.prototype.setSortBy = function(value) {
466
+ return jspb.Message.setProto3StringField(this, 4, value);
467
+ };
468
+
469
+
470
+ /**
471
+ * optional bool sort_desc = 5;
472
+ * @return {boolean}
473
+ */
474
+ proto.trb.historiccandle.v1.ListFilter.prototype.getSortDesc = function() {
475
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
476
+ };
477
+
478
+
479
+ /**
480
+ * @param {boolean} value
481
+ * @return {!proto.trb.historiccandle.v1.ListFilter} returns this
482
+ */
483
+ proto.trb.historiccandle.v1.ListFilter.prototype.setSortDesc = function(value) {
484
+ return jspb.Message.setProto3BooleanField(this, 5, value);
485
+ };
486
+
487
+
488
+ /**
489
+ * repeated FieldFilter field_filters = 6;
490
+ * @return {!Array<!proto.trb.historiccandle.v1.FieldFilter>}
491
+ */
492
+ proto.trb.historiccandle.v1.ListFilter.prototype.getFieldFiltersList = function() {
493
+ return /** @type{!Array<!proto.trb.historiccandle.v1.FieldFilter>} */ (
494
+ jspb.Message.getRepeatedWrapperField(this, proto.trb.historiccandle.v1.FieldFilter, 6));
495
+ };
496
+
497
+
498
+ /**
499
+ * @param {!Array<!proto.trb.historiccandle.v1.FieldFilter>} value
500
+ * @return {!proto.trb.historiccandle.v1.ListFilter} returns this
501
+ */
502
+ proto.trb.historiccandle.v1.ListFilter.prototype.setFieldFiltersList = function(value) {
503
+ return jspb.Message.setRepeatedWrapperField(this, 6, value);
504
+ };
505
+
506
+
507
+ /**
508
+ * @param {!proto.trb.historiccandle.v1.FieldFilter=} opt_value
509
+ * @param {number=} opt_index
510
+ * @return {!proto.trb.historiccandle.v1.FieldFilter}
511
+ */
512
+ proto.trb.historiccandle.v1.ListFilter.prototype.addFieldFilters = function(opt_value, opt_index) {
513
+ return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.trb.historiccandle.v1.FieldFilter, opt_index);
514
+ };
515
+
516
+
517
+ /**
518
+ * Clears the list making it empty but non-null.
519
+ * @return {!proto.trb.historiccandle.v1.ListFilter} returns this
520
+ */
521
+ proto.trb.historiccandle.v1.ListFilter.prototype.clearFieldFiltersList = function() {
522
+ return this.setFieldFiltersList([]);
523
+ };
524
+
525
+
526
+ /**
527
+ * optional int32 interval_filter = 7;
528
+ * @return {number}
529
+ */
530
+ proto.trb.historiccandle.v1.ListFilter.prototype.getIntervalFilter = function() {
531
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
532
+ };
533
+
534
+
535
+ /**
536
+ * @param {number} value
537
+ * @return {!proto.trb.historiccandle.v1.ListFilter} returns this
538
+ */
539
+ proto.trb.historiccandle.v1.ListFilter.prototype.setIntervalFilter = function(value) {
540
+ return jspb.Message.setProto3IntField(this, 7, value);
541
+ };
542
+
543
+
544
+
545
+
546
+
547
+ if (jspb.Message.GENERATE_TO_OBJECT) {
548
+ /**
549
+ * Creates an object representation of this proto.
550
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
551
+ * Optional fields that are not set will be set to undefined.
552
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
553
+ * For the list of reserved names please see:
554
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
555
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
556
+ * JSPB instance for transitional soy proto support:
557
+ * http://goto/soy-param-migration
558
+ * @return {!Object}
559
+ */
560
+ proto.trb.historiccandle.v1.FieldFilter.prototype.toObject = function(opt_includeInstance) {
561
+ return proto.trb.historiccandle.v1.FieldFilter.toObject(opt_includeInstance, this);
562
+ };
563
+
564
+
565
+ /**
566
+ * Static version of the {@see toObject} method.
567
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
568
+ * the JSPB instance for transitional soy proto support:
569
+ * http://goto/soy-param-migration
570
+ * @param {!proto.trb.historiccandle.v1.FieldFilter} msg The msg instance to transform.
571
+ * @return {!Object}
572
+ * @suppress {unusedLocalVariables} f is only used for nested messages
573
+ */
574
+ proto.trb.historiccandle.v1.FieldFilter.toObject = function(includeInstance, msg) {
575
+ var f, obj = {
576
+ field: jspb.Message.getFieldWithDefault(msg, 1, ""),
577
+ value: jspb.Message.getFieldWithDefault(msg, 2, "")
578
+ };
579
+
580
+ if (includeInstance) {
581
+ obj.$jspbMessageInstance = msg;
582
+ }
583
+ return obj;
584
+ };
585
+ }
586
+
587
+
588
+ /**
589
+ * Deserializes binary data (in protobuf wire format).
590
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
591
+ * @return {!proto.trb.historiccandle.v1.FieldFilter}
592
+ */
593
+ proto.trb.historiccandle.v1.FieldFilter.deserializeBinary = function(bytes) {
594
+ var reader = new jspb.BinaryReader(bytes);
595
+ var msg = new proto.trb.historiccandle.v1.FieldFilter;
596
+ return proto.trb.historiccandle.v1.FieldFilter.deserializeBinaryFromReader(msg, reader);
597
+ };
598
+
599
+
600
+ /**
601
+ * Deserializes binary data (in protobuf wire format) from the
602
+ * given reader into the given message object.
603
+ * @param {!proto.trb.historiccandle.v1.FieldFilter} msg The message object to deserialize into.
604
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
605
+ * @return {!proto.trb.historiccandle.v1.FieldFilter}
606
+ */
607
+ proto.trb.historiccandle.v1.FieldFilter.deserializeBinaryFromReader = function(msg, reader) {
608
+ while (reader.nextField()) {
609
+ if (reader.isEndGroup()) {
610
+ break;
611
+ }
612
+ var field = reader.getFieldNumber();
613
+ switch (field) {
614
+ case 1:
615
+ var value = /** @type {string} */ (reader.readString());
616
+ msg.setField(value);
617
+ break;
618
+ case 2:
619
+ var value = /** @type {string} */ (reader.readString());
620
+ msg.setValue(value);
621
+ break;
622
+ default:
623
+ reader.skipField();
624
+ break;
625
+ }
626
+ }
627
+ return msg;
628
+ };
629
+
630
+
631
+ /**
632
+ * Serializes the message to binary data (in protobuf wire format).
633
+ * @return {!Uint8Array}
634
+ */
635
+ proto.trb.historiccandle.v1.FieldFilter.prototype.serializeBinary = function() {
636
+ var writer = new jspb.BinaryWriter();
637
+ proto.trb.historiccandle.v1.FieldFilter.serializeBinaryToWriter(this, writer);
638
+ return writer.getResultBuffer();
639
+ };
640
+
641
+
642
+ /**
643
+ * Serializes the given message to binary data (in protobuf wire
644
+ * format), writing to the given BinaryWriter.
645
+ * @param {!proto.trb.historiccandle.v1.FieldFilter} message
646
+ * @param {!jspb.BinaryWriter} writer
647
+ * @suppress {unusedLocalVariables} f is only used for nested messages
648
+ */
649
+ proto.trb.historiccandle.v1.FieldFilter.serializeBinaryToWriter = function(message, writer) {
650
+ var f = undefined;
651
+ f = message.getField();
652
+ if (f.length > 0) {
653
+ writer.writeString(
654
+ 1,
655
+ f
656
+ );
657
+ }
658
+ f = message.getValue();
659
+ if (f.length > 0) {
660
+ writer.writeString(
661
+ 2,
662
+ f
663
+ );
664
+ }
665
+ };
666
+
667
+
668
+ /**
669
+ * optional string field = 1;
670
+ * @return {string}
671
+ */
672
+ proto.trb.historiccandle.v1.FieldFilter.prototype.getField = function() {
673
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
674
+ };
675
+
676
+
677
+ /**
678
+ * @param {string} value
679
+ * @return {!proto.trb.historiccandle.v1.FieldFilter} returns this
680
+ */
681
+ proto.trb.historiccandle.v1.FieldFilter.prototype.setField = function(value) {
682
+ return jspb.Message.setProto3StringField(this, 1, value);
683
+ };
684
+
685
+
686
+ /**
687
+ * optional string value = 2;
688
+ * @return {string}
689
+ */
690
+ proto.trb.historiccandle.v1.FieldFilter.prototype.getValue = function() {
691
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
692
+ };
693
+
694
+
695
+ /**
696
+ * @param {string} value
697
+ * @return {!proto.trb.historiccandle.v1.FieldFilter} returns this
698
+ */
699
+ proto.trb.historiccandle.v1.FieldFilter.prototype.setValue = function(value) {
700
+ return jspb.Message.setProto3StringField(this, 2, value);
701
+ };
702
+
703
+
372
704
 
373
705
 
374
706
 
@@ -560,7 +892,8 @@ proto.trb.historiccandle.v1.ListLastDownloadsResponse.prototype.toObject = funct
560
892
  proto.trb.historiccandle.v1.ListLastDownloadsResponse.toObject = function(includeInstance, msg) {
561
893
  var f, obj = {
562
894
  itemsList: jspb.Message.toObjectList(msg.getItemsList(),
563
- proto.trb.historiccandle.v1.LastDownload.toObject, includeInstance)
895
+ proto.trb.historiccandle.v1.LastDownload.toObject, includeInstance),
896
+ total: jspb.Message.getFieldWithDefault(msg, 2, 0)
564
897
  };
565
898
 
566
899
  if (includeInstance) {
@@ -602,6 +935,10 @@ proto.trb.historiccandle.v1.ListLastDownloadsResponse.deserializeBinaryFromReade
602
935
  reader.readMessage(value,proto.trb.historiccandle.v1.LastDownload.deserializeBinaryFromReader);
603
936
  msg.addItems(value);
604
937
  break;
938
+ case 2:
939
+ var value = /** @type {number} */ (reader.readInt32());
940
+ msg.setTotal(value);
941
+ break;
605
942
  default:
606
943
  reader.skipField();
607
944
  break;
@@ -639,6 +976,13 @@ proto.trb.historiccandle.v1.ListLastDownloadsResponse.serializeBinaryToWriter =
639
976
  proto.trb.historiccandle.v1.LastDownload.serializeBinaryToWriter
640
977
  );
641
978
  }
979
+ f = message.getTotal();
980
+ if (f !== 0) {
981
+ writer.writeInt32(
982
+ 2,
983
+ f
984
+ );
985
+ }
642
986
  };
643
987
 
644
988
 
@@ -680,6 +1024,24 @@ proto.trb.historiccandle.v1.ListLastDownloadsResponse.prototype.clearItemsList =
680
1024
  };
681
1025
 
682
1026
 
1027
+ /**
1028
+ * optional int32 total = 2;
1029
+ * @return {number}
1030
+ */
1031
+ proto.trb.historiccandle.v1.ListLastDownloadsResponse.prototype.getTotal = function() {
1032
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1033
+ };
1034
+
1035
+
1036
+ /**
1037
+ * @param {number} value
1038
+ * @return {!proto.trb.historiccandle.v1.ListLastDownloadsResponse} returns this
1039
+ */
1040
+ proto.trb.historiccandle.v1.ListLastDownloadsResponse.prototype.setTotal = function(value) {
1041
+ return jspb.Message.setProto3IntField(this, 2, value);
1042
+ };
1043
+
1044
+
683
1045
 
684
1046
 
685
1047
 
@@ -15,6 +15,17 @@ export class ListFilter extends jspb.Message {
15
15
  getOffset(): number;
16
16
  setOffset(value: number): ListFilter;
17
17
 
18
+ getSortBy(): string;
19
+ setSortBy(value: string): ListFilter;
20
+
21
+ getSortDesc(): boolean;
22
+ setSortDesc(value: boolean): ListFilter;
23
+
24
+ getFieldFiltersList(): Array<FieldFilter>;
25
+ setFieldFiltersList(value: Array<FieldFilter>): ListFilter;
26
+ clearFieldFiltersList(): ListFilter;
27
+ addFieldFilters(value?: FieldFilter, index?: number): FieldFilter;
28
+
18
29
  serializeBinary(): Uint8Array;
19
30
  toObject(includeInstance?: boolean): ListFilter.AsObject;
20
31
  static toObject(includeInstance: boolean, msg: ListFilter): ListFilter.AsObject;
@@ -28,6 +39,31 @@ export namespace ListFilter {
28
39
  q: string,
29
40
  limit: number,
30
41
  offset: number,
42
+ sortBy: string,
43
+ sortDesc: boolean,
44
+ fieldFiltersList: Array<FieldFilter.AsObject>,
45
+ }
46
+ }
47
+
48
+ export class FieldFilter extends jspb.Message {
49
+ getField(): string;
50
+ setField(value: string): FieldFilter;
51
+
52
+ getValue(): string;
53
+ setValue(value: string): FieldFilter;
54
+
55
+ serializeBinary(): Uint8Array;
56
+ toObject(includeInstance?: boolean): FieldFilter.AsObject;
57
+ static toObject(includeInstance: boolean, msg: FieldFilter): FieldFilter.AsObject;
58
+ static serializeBinaryToWriter(message: FieldFilter, writer: jspb.BinaryWriter): void;
59
+ static deserializeBinary(bytes: Uint8Array): FieldFilter;
60
+ static deserializeBinaryFromReader(message: FieldFilter, reader: jspb.BinaryReader): FieldFilter;
61
+ }
62
+
63
+ export namespace FieldFilter {
64
+ export type AsObject = {
65
+ field: string,
66
+ value: string,
31
67
  }
32
68
  }
33
69
 
@@ -91,6 +127,9 @@ export class ListInstrumentsResponse extends jspb.Message {
91
127
  clearItemsList(): ListInstrumentsResponse;
92
128
  addItems(value?: InstrumentListItem, index?: number): InstrumentListItem;
93
129
 
130
+ getTotal(): number;
131
+ setTotal(value: number): ListInstrumentsResponse;
132
+
94
133
  serializeBinary(): Uint8Array;
95
134
  toObject(includeInstance?: boolean): ListInstrumentsResponse.AsObject;
96
135
  static toObject(includeInstance: boolean, msg: ListInstrumentsResponse): ListInstrumentsResponse.AsObject;
@@ -102,6 +141,7 @@ export class ListInstrumentsResponse extends jspb.Message {
102
141
  export namespace ListInstrumentsResponse {
103
142
  export type AsObject = {
104
143
  itemsList: Array<InstrumentListItem.AsObject>,
144
+ total: number,
105
145
  }
106
146
  }
107
147