@dashevo/dapi-grpc 1.3.0-dev.2 → 1.3.0-dev.3

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/Cargo.toml CHANGED
@@ -1,7 +1,7 @@
1
1
  [package]
2
2
  name = "dapi-grpc"
3
3
  description = "GRPC client for Dash Platform"
4
- version = "1.3.0-dev.2"
4
+ version = "1.3.0-dev.3"
5
5
  authors = [
6
6
  "Samuel Westrich <sam@dash.org>",
7
7
  "Igor Markin <igor.markin@dash.org>",
@@ -13454,7 +13454,7 @@ $root.org = (function() {
13454
13454
  * Properties of a GetIdentitiesBalancesRequestV0.
13455
13455
  * @memberof org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest
13456
13456
  * @interface IGetIdentitiesBalancesRequestV0
13457
- * @property {org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.IGetIdentitiesBalancesByKnownIdentityIds|null} [identitiesIds] GetIdentitiesBalancesRequestV0 identitiesIds
13457
+ * @property {Array.<Uint8Array>|null} [ids] GetIdentitiesBalancesRequestV0 ids
13458
13458
  * @property {boolean|null} [prove] GetIdentitiesBalancesRequestV0 prove
13459
13459
  */
13460
13460
 
@@ -13467,6 +13467,7 @@ $root.org = (function() {
13467
13467
  * @param {org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.IGetIdentitiesBalancesRequestV0=} [properties] Properties to set
13468
13468
  */
13469
13469
  function GetIdentitiesBalancesRequestV0(properties) {
13470
+ this.ids = [];
13470
13471
  if (properties)
13471
13472
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
13472
13473
  if (properties[keys[i]] != null)
@@ -13474,12 +13475,12 @@ $root.org = (function() {
13474
13475
  }
13475
13476
 
13476
13477
  /**
13477
- * GetIdentitiesBalancesRequestV0 identitiesIds.
13478
- * @member {org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.IGetIdentitiesBalancesByKnownIdentityIds|null|undefined} identitiesIds
13478
+ * GetIdentitiesBalancesRequestV0 ids.
13479
+ * @member {Array.<Uint8Array>} ids
13479
13480
  * @memberof org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0
13480
13481
  * @instance
13481
13482
  */
13482
- GetIdentitiesBalancesRequestV0.prototype.identitiesIds = null;
13483
+ GetIdentitiesBalancesRequestV0.prototype.ids = $util.emptyArray;
13483
13484
 
13484
13485
  /**
13485
13486
  * GetIdentitiesBalancesRequestV0 prove.
@@ -13513,8 +13514,9 @@ $root.org = (function() {
13513
13514
  GetIdentitiesBalancesRequestV0.encode = function encode(message, writer) {
13514
13515
  if (!writer)
13515
13516
  writer = $Writer.create();
13516
- if (message.identitiesIds != null && Object.hasOwnProperty.call(message, "identitiesIds"))
13517
- $root.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.encode(message.identitiesIds, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
13517
+ if (message.ids != null && message.ids.length)
13518
+ for (var i = 0; i < message.ids.length; ++i)
13519
+ writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.ids[i]);
13518
13520
  if (message.prove != null && Object.hasOwnProperty.call(message, "prove"))
13519
13521
  writer.uint32(/* id 2, wireType 0 =*/16).bool(message.prove);
13520
13522
  return writer;
@@ -13552,7 +13554,9 @@ $root.org = (function() {
13552
13554
  var tag = reader.uint32();
13553
13555
  switch (tag >>> 3) {
13554
13556
  case 1:
13555
- message.identitiesIds = $root.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.decode(reader, reader.uint32());
13557
+ if (!(message.ids && message.ids.length))
13558
+ message.ids = [];
13559
+ message.ids.push(reader.bytes());
13556
13560
  break;
13557
13561
  case 2:
13558
13562
  message.prove = reader.bool();
@@ -13592,10 +13596,12 @@ $root.org = (function() {
13592
13596
  GetIdentitiesBalancesRequestV0.verify = function verify(message) {
13593
13597
  if (typeof message !== "object" || message === null)
13594
13598
  return "object expected";
13595
- if (message.identitiesIds != null && message.hasOwnProperty("identitiesIds")) {
13596
- var error = $root.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.verify(message.identitiesIds);
13597
- if (error)
13598
- return "identitiesIds." + error;
13599
+ if (message.ids != null && message.hasOwnProperty("ids")) {
13600
+ if (!Array.isArray(message.ids))
13601
+ return "ids: array expected";
13602
+ for (var i = 0; i < message.ids.length; ++i)
13603
+ if (!(message.ids[i] && typeof message.ids[i].length === "number" || $util.isString(message.ids[i])))
13604
+ return "ids: buffer[] expected";
13599
13605
  }
13600
13606
  if (message.prove != null && message.hasOwnProperty("prove"))
13601
13607
  if (typeof message.prove !== "boolean")
@@ -13615,10 +13621,15 @@ $root.org = (function() {
13615
13621
  if (object instanceof $root.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0)
13616
13622
  return object;
13617
13623
  var message = new $root.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0();
13618
- if (object.identitiesIds != null) {
13619
- if (typeof object.identitiesIds !== "object")
13620
- throw TypeError(".org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.identitiesIds: object expected");
13621
- message.identitiesIds = $root.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.fromObject(object.identitiesIds);
13624
+ if (object.ids) {
13625
+ if (!Array.isArray(object.ids))
13626
+ throw TypeError(".org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.ids: array expected");
13627
+ message.ids = [];
13628
+ for (var i = 0; i < object.ids.length; ++i)
13629
+ if (typeof object.ids[i] === "string")
13630
+ $util.base64.decode(object.ids[i], message.ids[i] = $util.newBuffer($util.base64.length(object.ids[i])), 0);
13631
+ else if (object.ids[i].length >= 0)
13632
+ message.ids[i] = object.ids[i];
13622
13633
  }
13623
13634
  if (object.prove != null)
13624
13635
  message.prove = Boolean(object.prove);
@@ -13638,12 +13649,15 @@ $root.org = (function() {
13638
13649
  if (!options)
13639
13650
  options = {};
13640
13651
  var object = {};
13641
- if (options.defaults) {
13642
- object.identitiesIds = null;
13652
+ if (options.arrays || options.defaults)
13653
+ object.ids = [];
13654
+ if (options.defaults)
13643
13655
  object.prove = false;
13656
+ if (message.ids && message.ids.length) {
13657
+ object.ids = [];
13658
+ for (var j = 0; j < message.ids.length; ++j)
13659
+ object.ids[j] = options.bytes === String ? $util.base64.encode(message.ids[j], 0, message.ids[j].length) : options.bytes === Array ? Array.prototype.slice.call(message.ids[j]) : message.ids[j];
13644
13660
  }
13645
- if (message.identitiesIds != null && message.hasOwnProperty("identitiesIds"))
13646
- object.identitiesIds = $root.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.toObject(message.identitiesIds, options);
13647
13661
  if (message.prove != null && message.hasOwnProperty("prove"))
13648
13662
  object.prove = message.prove;
13649
13663
  return object;
@@ -13660,212 +13674,6 @@ $root.org = (function() {
13660
13674
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
13661
13675
  };
13662
13676
 
13663
- GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds = (function() {
13664
-
13665
- /**
13666
- * Properties of a GetIdentitiesBalancesByKnownIdentityIds.
13667
- * @memberof org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0
13668
- * @interface IGetIdentitiesBalancesByKnownIdentityIds
13669
- * @property {Array.<Uint8Array>|null} [identitiesIds] GetIdentitiesBalancesByKnownIdentityIds identitiesIds
13670
- */
13671
-
13672
- /**
13673
- * Constructs a new GetIdentitiesBalancesByKnownIdentityIds.
13674
- * @memberof org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0
13675
- * @classdesc Represents a GetIdentitiesBalancesByKnownIdentityIds.
13676
- * @implements IGetIdentitiesBalancesByKnownIdentityIds
13677
- * @constructor
13678
- * @param {org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.IGetIdentitiesBalancesByKnownIdentityIds=} [properties] Properties to set
13679
- */
13680
- function GetIdentitiesBalancesByKnownIdentityIds(properties) {
13681
- this.identitiesIds = [];
13682
- if (properties)
13683
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
13684
- if (properties[keys[i]] != null)
13685
- this[keys[i]] = properties[keys[i]];
13686
- }
13687
-
13688
- /**
13689
- * GetIdentitiesBalancesByKnownIdentityIds identitiesIds.
13690
- * @member {Array.<Uint8Array>} identitiesIds
13691
- * @memberof org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds
13692
- * @instance
13693
- */
13694
- GetIdentitiesBalancesByKnownIdentityIds.prototype.identitiesIds = $util.emptyArray;
13695
-
13696
- /**
13697
- * Creates a new GetIdentitiesBalancesByKnownIdentityIds instance using the specified properties.
13698
- * @function create
13699
- * @memberof org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds
13700
- * @static
13701
- * @param {org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.IGetIdentitiesBalancesByKnownIdentityIds=} [properties] Properties to set
13702
- * @returns {org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} GetIdentitiesBalancesByKnownIdentityIds instance
13703
- */
13704
- GetIdentitiesBalancesByKnownIdentityIds.create = function create(properties) {
13705
- return new GetIdentitiesBalancesByKnownIdentityIds(properties);
13706
- };
13707
-
13708
- /**
13709
- * Encodes the specified GetIdentitiesBalancesByKnownIdentityIds message. Does not implicitly {@link org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.verify|verify} messages.
13710
- * @function encode
13711
- * @memberof org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds
13712
- * @static
13713
- * @param {org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.IGetIdentitiesBalancesByKnownIdentityIds} message GetIdentitiesBalancesByKnownIdentityIds message or plain object to encode
13714
- * @param {$protobuf.Writer} [writer] Writer to encode to
13715
- * @returns {$protobuf.Writer} Writer
13716
- */
13717
- GetIdentitiesBalancesByKnownIdentityIds.encode = function encode(message, writer) {
13718
- if (!writer)
13719
- writer = $Writer.create();
13720
- if (message.identitiesIds != null && message.identitiesIds.length)
13721
- for (var i = 0; i < message.identitiesIds.length; ++i)
13722
- writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.identitiesIds[i]);
13723
- return writer;
13724
- };
13725
-
13726
- /**
13727
- * Encodes the specified GetIdentitiesBalancesByKnownIdentityIds message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.verify|verify} messages.
13728
- * @function encodeDelimited
13729
- * @memberof org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds
13730
- * @static
13731
- * @param {org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.IGetIdentitiesBalancesByKnownIdentityIds} message GetIdentitiesBalancesByKnownIdentityIds message or plain object to encode
13732
- * @param {$protobuf.Writer} [writer] Writer to encode to
13733
- * @returns {$protobuf.Writer} Writer
13734
- */
13735
- GetIdentitiesBalancesByKnownIdentityIds.encodeDelimited = function encodeDelimited(message, writer) {
13736
- return this.encode(message, writer).ldelim();
13737
- };
13738
-
13739
- /**
13740
- * Decodes a GetIdentitiesBalancesByKnownIdentityIds message from the specified reader or buffer.
13741
- * @function decode
13742
- * @memberof org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds
13743
- * @static
13744
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
13745
- * @param {number} [length] Message length if known beforehand
13746
- * @returns {org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} GetIdentitiesBalancesByKnownIdentityIds
13747
- * @throws {Error} If the payload is not a reader or valid buffer
13748
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
13749
- */
13750
- GetIdentitiesBalancesByKnownIdentityIds.decode = function decode(reader, length) {
13751
- if (!(reader instanceof $Reader))
13752
- reader = $Reader.create(reader);
13753
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds();
13754
- while (reader.pos < end) {
13755
- var tag = reader.uint32();
13756
- switch (tag >>> 3) {
13757
- case 1:
13758
- if (!(message.identitiesIds && message.identitiesIds.length))
13759
- message.identitiesIds = [];
13760
- message.identitiesIds.push(reader.bytes());
13761
- break;
13762
- default:
13763
- reader.skipType(tag & 7);
13764
- break;
13765
- }
13766
- }
13767
- return message;
13768
- };
13769
-
13770
- /**
13771
- * Decodes a GetIdentitiesBalancesByKnownIdentityIds message from the specified reader or buffer, length delimited.
13772
- * @function decodeDelimited
13773
- * @memberof org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds
13774
- * @static
13775
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
13776
- * @returns {org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} GetIdentitiesBalancesByKnownIdentityIds
13777
- * @throws {Error} If the payload is not a reader or valid buffer
13778
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
13779
- */
13780
- GetIdentitiesBalancesByKnownIdentityIds.decodeDelimited = function decodeDelimited(reader) {
13781
- if (!(reader instanceof $Reader))
13782
- reader = new $Reader(reader);
13783
- return this.decode(reader, reader.uint32());
13784
- };
13785
-
13786
- /**
13787
- * Verifies a GetIdentitiesBalancesByKnownIdentityIds message.
13788
- * @function verify
13789
- * @memberof org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds
13790
- * @static
13791
- * @param {Object.<string,*>} message Plain object to verify
13792
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
13793
- */
13794
- GetIdentitiesBalancesByKnownIdentityIds.verify = function verify(message) {
13795
- if (typeof message !== "object" || message === null)
13796
- return "object expected";
13797
- if (message.identitiesIds != null && message.hasOwnProperty("identitiesIds")) {
13798
- if (!Array.isArray(message.identitiesIds))
13799
- return "identitiesIds: array expected";
13800
- for (var i = 0; i < message.identitiesIds.length; ++i)
13801
- if (!(message.identitiesIds[i] && typeof message.identitiesIds[i].length === "number" || $util.isString(message.identitiesIds[i])))
13802
- return "identitiesIds: buffer[] expected";
13803
- }
13804
- return null;
13805
- };
13806
-
13807
- /**
13808
- * Creates a GetIdentitiesBalancesByKnownIdentityIds message from a plain object. Also converts values to their respective internal types.
13809
- * @function fromObject
13810
- * @memberof org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds
13811
- * @static
13812
- * @param {Object.<string,*>} object Plain object
13813
- * @returns {org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} GetIdentitiesBalancesByKnownIdentityIds
13814
- */
13815
- GetIdentitiesBalancesByKnownIdentityIds.fromObject = function fromObject(object) {
13816
- if (object instanceof $root.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds)
13817
- return object;
13818
- var message = new $root.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds();
13819
- if (object.identitiesIds) {
13820
- if (!Array.isArray(object.identitiesIds))
13821
- throw TypeError(".org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.identitiesIds: array expected");
13822
- message.identitiesIds = [];
13823
- for (var i = 0; i < object.identitiesIds.length; ++i)
13824
- if (typeof object.identitiesIds[i] === "string")
13825
- $util.base64.decode(object.identitiesIds[i], message.identitiesIds[i] = $util.newBuffer($util.base64.length(object.identitiesIds[i])), 0);
13826
- else if (object.identitiesIds[i].length >= 0)
13827
- message.identitiesIds[i] = object.identitiesIds[i];
13828
- }
13829
- return message;
13830
- };
13831
-
13832
- /**
13833
- * Creates a plain object from a GetIdentitiesBalancesByKnownIdentityIds message. Also converts values to other types if specified.
13834
- * @function toObject
13835
- * @memberof org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds
13836
- * @static
13837
- * @param {org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} message GetIdentitiesBalancesByKnownIdentityIds
13838
- * @param {$protobuf.IConversionOptions} [options] Conversion options
13839
- * @returns {Object.<string,*>} Plain object
13840
- */
13841
- GetIdentitiesBalancesByKnownIdentityIds.toObject = function toObject(message, options) {
13842
- if (!options)
13843
- options = {};
13844
- var object = {};
13845
- if (options.arrays || options.defaults)
13846
- object.identitiesIds = [];
13847
- if (message.identitiesIds && message.identitiesIds.length) {
13848
- object.identitiesIds = [];
13849
- for (var j = 0; j < message.identitiesIds.length; ++j)
13850
- object.identitiesIds[j] = options.bytes === String ? $util.base64.encode(message.identitiesIds[j], 0, message.identitiesIds[j].length) : options.bytes === Array ? Array.prototype.slice.call(message.identitiesIds[j]) : message.identitiesIds[j];
13851
- }
13852
- return object;
13853
- };
13854
-
13855
- /**
13856
- * Converts this GetIdentitiesBalancesByKnownIdentityIds to JSON.
13857
- * @function toJSON
13858
- * @memberof org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds
13859
- * @instance
13860
- * @returns {Object.<string,*>} JSON object
13861
- */
13862
- GetIdentitiesBalancesByKnownIdentityIds.prototype.toJSON = function toJSON() {
13863
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
13864
- };
13865
-
13866
- return GetIdentitiesBalancesByKnownIdentityIds;
13867
- })();
13868
-
13869
13677
  return GetIdentitiesBalancesRequestV0;
13870
13678
  })();
13871
13679
 
@@ -133,7 +133,6 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlock
133
133
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse.VersionCase', null, { proto });
134
134
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest', null, { proto });
135
135
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0', null, { proto });
136
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds', null, { proto });
137
136
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.VersionCase', null, { proto });
138
137
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse', null, { proto });
139
138
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0', null, { proto });
@@ -1404,7 +1403,7 @@ if (goog.DEBUG && !COMPILED) {
1404
1403
  * @constructor
1405
1404
  */
1406
1405
  proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0 = function(opt_data) {
1407
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1406
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.repeatedFields_, null);
1408
1407
  };
1409
1408
  goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0, jspb.Message);
1410
1409
  if (goog.DEBUG && !COMPILED) {
@@ -1414,27 +1413,6 @@ if (goog.DEBUG && !COMPILED) {
1414
1413
  */
1415
1414
  proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0';
1416
1415
  }
1417
- /**
1418
- * Generated by JsPbCodeGenerator.
1419
- * @param {Array=} opt_data Optional initial data array, typically from a
1420
- * server response, or constructed directly in Javascript. The array is used
1421
- * in place and becomes part of the constructed object. It is not cloned.
1422
- * If no data is provided, the constructed object will be empty, but still
1423
- * valid.
1424
- * @extends {jspb.Message}
1425
- * @constructor
1426
- */
1427
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds = function(opt_data) {
1428
- jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.repeatedFields_, null);
1429
- };
1430
- goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds, jspb.Message);
1431
- if (goog.DEBUG && !COMPILED) {
1432
- /**
1433
- * @public
1434
- * @override
1435
- */
1436
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds';
1437
- }
1438
1416
  /**
1439
1417
  * Generated by JsPbCodeGenerator.
1440
1418
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -13367,8 +13345,8 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEv
13367
13345
  */
13368
13346
  proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.serializeBinaryToWriter = function(message, writer) {
13369
13347
  var f = undefined;
13370
- f = message.getEpoch();
13371
- if (f !== 0) {
13348
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
13349
+ if (f != null) {
13372
13350
  writer.writeUint32(
13373
13351
  1,
13374
13352
  f
@@ -13405,7 +13383,25 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEv
13405
13383
  * @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0} returns this
13406
13384
  */
13407
13385
  proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.prototype.setEpoch = function(value) {
13408
- return jspb.Message.setProto3IntField(this, 1, value);
13386
+ return jspb.Message.setField(this, 1, value);
13387
+ };
13388
+
13389
+
13390
+ /**
13391
+ * Clears the field making it undefined.
13392
+ * @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0} returns this
13393
+ */
13394
+ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.prototype.clearEpoch = function() {
13395
+ return jspb.Message.setField(this, 1, undefined);
13396
+ };
13397
+
13398
+
13399
+ /**
13400
+ * Returns whether this field is set.
13401
+ * @return {boolean}
13402
+ */
13403
+ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.prototype.hasEpoch = function() {
13404
+ return jspb.Message.getField(this, 1) != null;
13409
13405
  };
13410
13406
 
13411
13407
 
@@ -14611,8 +14607,8 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.Get
14611
14607
  */
14612
14608
  proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.serializeBinaryToWriter = function(message, writer) {
14613
14609
  var f = undefined;
14614
- f = message.getEpoch();
14615
- if (f !== 0) {
14610
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
14611
+ if (f != null) {
14616
14612
  writer.writeUint32(
14617
14613
  1,
14618
14614
  f
@@ -14663,7 +14659,25 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.Get
14663
14659
  * @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0} returns this
14664
14660
  */
14665
14661
  proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.prototype.setEpoch = function(value) {
14666
- return jspb.Message.setProto3IntField(this, 1, value);
14662
+ return jspb.Message.setField(this, 1, value);
14663
+ };
14664
+
14665
+
14666
+ /**
14667
+ * Clears the field making it undefined.
14668
+ * @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0} returns this
14669
+ */
14670
+ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.prototype.clearEpoch = function() {
14671
+ return jspb.Message.setField(this, 1, undefined);
14672
+ };
14673
+
14674
+
14675
+ /**
14676
+ * Returns whether this field is set.
14677
+ * @return {boolean}
14678
+ */
14679
+ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.prototype.hasEpoch = function() {
14680
+ return jspb.Message.getField(this, 1) != null;
14667
14681
  };
14668
14682
 
14669
14683
 
@@ -15018,6 +15032,13 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.serializeBinaryToWr
15018
15032
 
15019
15033
 
15020
15034
 
15035
+ /**
15036
+ * List of repeated fields within this message type.
15037
+ * @private {!Array<number>}
15038
+ * @const
15039
+ */
15040
+ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.repeatedFields_ = [1];
15041
+
15021
15042
 
15022
15043
 
15023
15044
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -15049,7 +15070,7 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
15049
15070
  */
15050
15071
  proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.toObject = function(includeInstance, msg) {
15051
15072
  var f, obj = {
15052
- identitiesIds: (f = msg.getIdentitiesIds()) && proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.toObject(includeInstance, f),
15073
+ idsList: msg.getIdsList_asB64(),
15053
15074
  prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
15054
15075
  };
15055
15076
 
@@ -15088,9 +15109,8 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
15088
15109
  var field = reader.getFieldNumber();
15089
15110
  switch (field) {
15090
15111
  case 1:
15091
- var value = new proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds;
15092
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.deserializeBinaryFromReader);
15093
- msg.setIdentitiesIds(value);
15112
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
15113
+ msg.addIds(value);
15094
15114
  break;
15095
15115
  case 2:
15096
15116
  var value = /** @type {boolean} */ (reader.readBool());
@@ -15125,12 +15145,11 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
15125
15145
  */
15126
15146
  proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.serializeBinaryToWriter = function(message, writer) {
15127
15147
  var f = undefined;
15128
- f = message.getIdentitiesIds();
15129
- if (f != null) {
15130
- writer.writeMessage(
15148
+ f = message.getIdsList_asU8();
15149
+ if (f.length > 0) {
15150
+ writer.writeRepeatedBytes(
15131
15151
  1,
15132
- f,
15133
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.serializeBinaryToWriter
15152
+ f
15134
15153
  );
15135
15154
  }
15136
15155
  f = message.getProve();
@@ -15143,163 +15162,44 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
15143
15162
  };
15144
15163
 
15145
15164
 
15146
-
15147
- /**
15148
- * List of repeated fields within this message type.
15149
- * @private {!Array<number>}
15150
- * @const
15151
- */
15152
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.repeatedFields_ = [1];
15153
-
15154
-
15155
-
15156
- if (jspb.Message.GENERATE_TO_OBJECT) {
15157
- /**
15158
- * Creates an object representation of this proto.
15159
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
15160
- * Optional fields that are not set will be set to undefined.
15161
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15162
- * For the list of reserved names please see:
15163
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15164
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15165
- * JSPB instance for transitional soy proto support:
15166
- * http://goto/soy-param-migration
15167
- * @return {!Object}
15168
- */
15169
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.toObject = function(opt_includeInstance) {
15170
- return proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.toObject(opt_includeInstance, this);
15171
- };
15172
-
15173
-
15174
- /**
15175
- * Static version of the {@see toObject} method.
15176
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15177
- * the JSPB instance for transitional soy proto support:
15178
- * http://goto/soy-param-migration
15179
- * @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} msg The msg instance to transform.
15180
- * @return {!Object}
15181
- * @suppress {unusedLocalVariables} f is only used for nested messages
15182
- */
15183
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.toObject = function(includeInstance, msg) {
15184
- var f, obj = {
15185
- identitiesIdsList: msg.getIdentitiesIdsList_asB64()
15186
- };
15187
-
15188
- if (includeInstance) {
15189
- obj.$jspbMessageInstance = msg;
15190
- }
15191
- return obj;
15192
- };
15193
- }
15194
-
15195
-
15196
- /**
15197
- * Deserializes binary data (in protobuf wire format).
15198
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
15199
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds}
15200
- */
15201
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.deserializeBinary = function(bytes) {
15202
- var reader = new jspb.BinaryReader(bytes);
15203
- var msg = new proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds;
15204
- return proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.deserializeBinaryFromReader(msg, reader);
15205
- };
15206
-
15207
-
15208
- /**
15209
- * Deserializes binary data (in protobuf wire format) from the
15210
- * given reader into the given message object.
15211
- * @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} msg The message object to deserialize into.
15212
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15213
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds}
15214
- */
15215
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.deserializeBinaryFromReader = function(msg, reader) {
15216
- while (reader.nextField()) {
15217
- if (reader.isEndGroup()) {
15218
- break;
15219
- }
15220
- var field = reader.getFieldNumber();
15221
- switch (field) {
15222
- case 1:
15223
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
15224
- msg.addIdentitiesIds(value);
15225
- break;
15226
- default:
15227
- reader.skipField();
15228
- break;
15229
- }
15230
- }
15231
- return msg;
15232
- };
15233
-
15234
-
15235
- /**
15236
- * Serializes the message to binary data (in protobuf wire format).
15237
- * @return {!Uint8Array}
15238
- */
15239
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.serializeBinary = function() {
15240
- var writer = new jspb.BinaryWriter();
15241
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.serializeBinaryToWriter(this, writer);
15242
- return writer.getResultBuffer();
15243
- };
15244
-
15245
-
15246
- /**
15247
- * Serializes the given message to binary data (in protobuf wire
15248
- * format), writing to the given BinaryWriter.
15249
- * @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} message
15250
- * @param {!jspb.BinaryWriter} writer
15251
- * @suppress {unusedLocalVariables} f is only used for nested messages
15252
- */
15253
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.serializeBinaryToWriter = function(message, writer) {
15254
- var f = undefined;
15255
- f = message.getIdentitiesIdsList_asU8();
15256
- if (f.length > 0) {
15257
- writer.writeRepeatedBytes(
15258
- 1,
15259
- f
15260
- );
15261
- }
15262
- };
15263
-
15264
-
15265
15165
  /**
15266
- * repeated bytes identities_ids = 1;
15166
+ * repeated bytes ids = 1;
15267
15167
  * @return {!Array<string>}
15268
15168
  */
15269
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.getIdentitiesIdsList = function() {
15169
+ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdsList = function() {
15270
15170
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
15271
15171
  };
15272
15172
 
15273
15173
 
15274
15174
  /**
15275
- * repeated bytes identities_ids = 1;
15276
- * This is a type-conversion wrapper around `getIdentitiesIdsList()`
15175
+ * repeated bytes ids = 1;
15176
+ * This is a type-conversion wrapper around `getIdsList()`
15277
15177
  * @return {!Array<string>}
15278
15178
  */
15279
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.getIdentitiesIdsList_asB64 = function() {
15179
+ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdsList_asB64 = function() {
15280
15180
  return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
15281
- this.getIdentitiesIdsList()));
15181
+ this.getIdsList()));
15282
15182
  };
15283
15183
 
15284
15184
 
15285
15185
  /**
15286
- * repeated bytes identities_ids = 1;
15186
+ * repeated bytes ids = 1;
15287
15187
  * Note that Uint8Array is not supported on all browsers.
15288
15188
  * @see http://caniuse.com/Uint8Array
15289
- * This is a type-conversion wrapper around `getIdentitiesIdsList()`
15189
+ * This is a type-conversion wrapper around `getIdsList()`
15290
15190
  * @return {!Array<!Uint8Array>}
15291
15191
  */
15292
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.getIdentitiesIdsList_asU8 = function() {
15192
+ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdsList_asU8 = function() {
15293
15193
  return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
15294
- this.getIdentitiesIdsList()));
15194
+ this.getIdsList()));
15295
15195
  };
15296
15196
 
15297
15197
 
15298
15198
  /**
15299
15199
  * @param {!(Array<!Uint8Array>|Array<string>)} value
15300
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} returns this
15200
+ * @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
15301
15201
  */
15302
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.setIdentitiesIdsList = function(value) {
15202
+ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.setIdsList = function(value) {
15303
15203
  return jspb.Message.setField(this, 1, value || []);
15304
15204
  };
15305
15205
 
@@ -15307,56 +15207,19 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
15307
15207
  /**
15308
15208
  * @param {!(string|Uint8Array)} value
15309
15209
  * @param {number=} opt_index
15310
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} returns this
15210
+ * @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
15311
15211
  */
15312
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.addIdentitiesIds = function(value, opt_index) {
15212
+ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.addIds = function(value, opt_index) {
15313
15213
  return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
15314
15214
  };
15315
15215
 
15316
15216
 
15317
15217
  /**
15318
15218
  * Clears the list making it empty but non-null.
15319
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} returns this
15320
- */
15321
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.clearIdentitiesIdsList = function() {
15322
- return this.setIdentitiesIdsList([]);
15323
- };
15324
-
15325
-
15326
- /**
15327
- * optional GetIdentitiesBalancesByKnownIdentityIds identities_ids = 1;
15328
- * @return {?proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds}
15329
- */
15330
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdentitiesIds = function() {
15331
- return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} */ (
15332
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds, 1));
15333
- };
15334
-
15335
-
15336
- /**
15337
- * @param {?proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds|undefined} value
15338
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
15339
- */
15340
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.setIdentitiesIds = function(value) {
15341
- return jspb.Message.setWrapperField(this, 1, value);
15342
- };
15343
-
15344
-
15345
- /**
15346
- * Clears the message field making it undefined.
15347
15219
  * @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
15348
15220
  */
15349
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.clearIdentitiesIds = function() {
15350
- return this.setIdentitiesIds(undefined);
15351
- };
15352
-
15353
-
15354
- /**
15355
- * Returns whether this field is set.
15356
- * @return {boolean}
15357
- */
15358
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.hasIdentitiesIds = function() {
15359
- return jspb.Message.getField(this, 1) != null;
15221
+ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.clearIdsList = function() {
15222
+ return this.setIdsList([]);
15360
15223
  };
15361
15224
 
15362
15225
 
@@ -1343,6 +1343,8 @@ export namespace GetEvonodesProposedEpochBlocksByIdsRequest {
1343
1343
  }
1344
1344
 
1345
1345
  export class GetEvonodesProposedEpochBlocksByIdsRequestV0 extends jspb.Message {
1346
+ hasEpoch(): boolean;
1347
+ clearEpoch(): void;
1346
1348
  getEpoch(): number;
1347
1349
  setEpoch(value: number): void;
1348
1350
 
@@ -1520,6 +1522,8 @@ export namespace GetEvonodesProposedEpochBlocksByRangeRequest {
1520
1522
  }
1521
1523
 
1522
1524
  export class GetEvonodesProposedEpochBlocksByRangeRequestV0 extends jspb.Message {
1525
+ hasEpoch(): boolean;
1526
+ clearEpoch(): void;
1523
1527
  getEpoch(): number;
1524
1528
  setEpoch(value: number): void;
1525
1529
 
@@ -1601,10 +1605,12 @@ export namespace GetIdentitiesBalancesRequest {
1601
1605
  }
1602
1606
 
1603
1607
  export class GetIdentitiesBalancesRequestV0 extends jspb.Message {
1604
- hasIdentitiesIds(): boolean;
1605
- clearIdentitiesIds(): void;
1606
- getIdentitiesIds(): GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds | undefined;
1607
- setIdentitiesIds(value?: GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds): void;
1608
+ clearIdsList(): void;
1609
+ getIdsList(): Array<Uint8Array | string>;
1610
+ getIdsList_asU8(): Array<Uint8Array>;
1611
+ getIdsList_asB64(): Array<string>;
1612
+ setIdsList(value: Array<Uint8Array | string>): void;
1613
+ addIds(value: Uint8Array | string, index?: number): Uint8Array | string;
1608
1614
 
1609
1615
  getProve(): boolean;
1610
1616
  setProve(value: boolean): void;
@@ -1621,33 +1627,9 @@ export namespace GetIdentitiesBalancesRequest {
1621
1627
 
1622
1628
  export namespace GetIdentitiesBalancesRequestV0 {
1623
1629
  export type AsObject = {
1624
- identitiesIds?: GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.AsObject,
1630
+ idsList: Array<Uint8Array | string>,
1625
1631
  prove: boolean,
1626
1632
  }
1627
-
1628
- export class GetIdentitiesBalancesByKnownIdentityIds extends jspb.Message {
1629
- clearIdentitiesIdsList(): void;
1630
- getIdentitiesIdsList(): Array<Uint8Array | string>;
1631
- getIdentitiesIdsList_asU8(): Array<Uint8Array>;
1632
- getIdentitiesIdsList_asB64(): Array<string>;
1633
- setIdentitiesIdsList(value: Array<Uint8Array | string>): void;
1634
- addIdentitiesIds(value: Uint8Array | string, index?: number): Uint8Array | string;
1635
-
1636
- serializeBinary(): Uint8Array;
1637
- toObject(includeInstance?: boolean): GetIdentitiesBalancesByKnownIdentityIds.AsObject;
1638
- static toObject(includeInstance: boolean, msg: GetIdentitiesBalancesByKnownIdentityIds): GetIdentitiesBalancesByKnownIdentityIds.AsObject;
1639
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
1640
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
1641
- static serializeBinaryToWriter(message: GetIdentitiesBalancesByKnownIdentityIds, writer: jspb.BinaryWriter): void;
1642
- static deserializeBinary(bytes: Uint8Array): GetIdentitiesBalancesByKnownIdentityIds;
1643
- static deserializeBinaryFromReader(message: GetIdentitiesBalancesByKnownIdentityIds, reader: jspb.BinaryReader): GetIdentitiesBalancesByKnownIdentityIds;
1644
- }
1645
-
1646
- export namespace GetIdentitiesBalancesByKnownIdentityIds {
1647
- export type AsObject = {
1648
- identitiesIdsList: Array<Uint8Array | string>,
1649
- }
1650
- }
1651
1633
  }
1652
1634
 
1653
1635
  export enum VersionCase {
@@ -133,7 +133,6 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlock
133
133
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse.VersionCase', null, { proto });
134
134
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest', null, { proto });
135
135
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0', null, { proto });
136
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds', null, { proto });
137
136
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.VersionCase', null, { proto });
138
137
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse', null, { proto });
139
138
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0', null, { proto });
@@ -1404,7 +1403,7 @@ if (goog.DEBUG && !COMPILED) {
1404
1403
  * @constructor
1405
1404
  */
1406
1405
  proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0 = function(opt_data) {
1407
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1406
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.repeatedFields_, null);
1408
1407
  };
1409
1408
  goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0, jspb.Message);
1410
1409
  if (goog.DEBUG && !COMPILED) {
@@ -1414,27 +1413,6 @@ if (goog.DEBUG && !COMPILED) {
1414
1413
  */
1415
1414
  proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0';
1416
1415
  }
1417
- /**
1418
- * Generated by JsPbCodeGenerator.
1419
- * @param {Array=} opt_data Optional initial data array, typically from a
1420
- * server response, or constructed directly in Javascript. The array is used
1421
- * in place and becomes part of the constructed object. It is not cloned.
1422
- * If no data is provided, the constructed object will be empty, but still
1423
- * valid.
1424
- * @extends {jspb.Message}
1425
- * @constructor
1426
- */
1427
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds = function(opt_data) {
1428
- jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.repeatedFields_, null);
1429
- };
1430
- goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds, jspb.Message);
1431
- if (goog.DEBUG && !COMPILED) {
1432
- /**
1433
- * @public
1434
- * @override
1435
- */
1436
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds';
1437
- }
1438
1416
  /**
1439
1417
  * Generated by JsPbCodeGenerator.
1440
1418
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -13367,8 +13345,8 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEv
13367
13345
  */
13368
13346
  proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.serializeBinaryToWriter = function(message, writer) {
13369
13347
  var f = undefined;
13370
- f = message.getEpoch();
13371
- if (f !== 0) {
13348
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
13349
+ if (f != null) {
13372
13350
  writer.writeUint32(
13373
13351
  1,
13374
13352
  f
@@ -13405,7 +13383,25 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEv
13405
13383
  * @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0} returns this
13406
13384
  */
13407
13385
  proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.prototype.setEpoch = function(value) {
13408
- return jspb.Message.setProto3IntField(this, 1, value);
13386
+ return jspb.Message.setField(this, 1, value);
13387
+ };
13388
+
13389
+
13390
+ /**
13391
+ * Clears the field making it undefined.
13392
+ * @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0} returns this
13393
+ */
13394
+ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.prototype.clearEpoch = function() {
13395
+ return jspb.Message.setField(this, 1, undefined);
13396
+ };
13397
+
13398
+
13399
+ /**
13400
+ * Returns whether this field is set.
13401
+ * @return {boolean}
13402
+ */
13403
+ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.prototype.hasEpoch = function() {
13404
+ return jspb.Message.getField(this, 1) != null;
13409
13405
  };
13410
13406
 
13411
13407
 
@@ -14611,8 +14607,8 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.Get
14611
14607
  */
14612
14608
  proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.serializeBinaryToWriter = function(message, writer) {
14613
14609
  var f = undefined;
14614
- f = message.getEpoch();
14615
- if (f !== 0) {
14610
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
14611
+ if (f != null) {
14616
14612
  writer.writeUint32(
14617
14613
  1,
14618
14614
  f
@@ -14663,7 +14659,25 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.Get
14663
14659
  * @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0} returns this
14664
14660
  */
14665
14661
  proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.prototype.setEpoch = function(value) {
14666
- return jspb.Message.setProto3IntField(this, 1, value);
14662
+ return jspb.Message.setField(this, 1, value);
14663
+ };
14664
+
14665
+
14666
+ /**
14667
+ * Clears the field making it undefined.
14668
+ * @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0} returns this
14669
+ */
14670
+ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.prototype.clearEpoch = function() {
14671
+ return jspb.Message.setField(this, 1, undefined);
14672
+ };
14673
+
14674
+
14675
+ /**
14676
+ * Returns whether this field is set.
14677
+ * @return {boolean}
14678
+ */
14679
+ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.prototype.hasEpoch = function() {
14680
+ return jspb.Message.getField(this, 1) != null;
14667
14681
  };
14668
14682
 
14669
14683
 
@@ -15018,6 +15032,13 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.serializeBinaryToWr
15018
15032
 
15019
15033
 
15020
15034
 
15035
+ /**
15036
+ * List of repeated fields within this message type.
15037
+ * @private {!Array<number>}
15038
+ * @const
15039
+ */
15040
+ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.repeatedFields_ = [1];
15041
+
15021
15042
 
15022
15043
 
15023
15044
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -15049,7 +15070,7 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
15049
15070
  */
15050
15071
  proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.toObject = function(includeInstance, msg) {
15051
15072
  var f, obj = {
15052
- identitiesIds: (f = msg.getIdentitiesIds()) && proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.toObject(includeInstance, f),
15073
+ idsList: msg.getIdsList_asB64(),
15053
15074
  prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
15054
15075
  };
15055
15076
 
@@ -15088,9 +15109,8 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
15088
15109
  var field = reader.getFieldNumber();
15089
15110
  switch (field) {
15090
15111
  case 1:
15091
- var value = new proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds;
15092
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.deserializeBinaryFromReader);
15093
- msg.setIdentitiesIds(value);
15112
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
15113
+ msg.addIds(value);
15094
15114
  break;
15095
15115
  case 2:
15096
15116
  var value = /** @type {boolean} */ (reader.readBool());
@@ -15125,12 +15145,11 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
15125
15145
  */
15126
15146
  proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.serializeBinaryToWriter = function(message, writer) {
15127
15147
  var f = undefined;
15128
- f = message.getIdentitiesIds();
15129
- if (f != null) {
15130
- writer.writeMessage(
15148
+ f = message.getIdsList_asU8();
15149
+ if (f.length > 0) {
15150
+ writer.writeRepeatedBytes(
15131
15151
  1,
15132
- f,
15133
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.serializeBinaryToWriter
15152
+ f
15134
15153
  );
15135
15154
  }
15136
15155
  f = message.getProve();
@@ -15143,163 +15162,44 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
15143
15162
  };
15144
15163
 
15145
15164
 
15146
-
15147
- /**
15148
- * List of repeated fields within this message type.
15149
- * @private {!Array<number>}
15150
- * @const
15151
- */
15152
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.repeatedFields_ = [1];
15153
-
15154
-
15155
-
15156
- if (jspb.Message.GENERATE_TO_OBJECT) {
15157
- /**
15158
- * Creates an object representation of this proto.
15159
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
15160
- * Optional fields that are not set will be set to undefined.
15161
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15162
- * For the list of reserved names please see:
15163
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15164
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15165
- * JSPB instance for transitional soy proto support:
15166
- * http://goto/soy-param-migration
15167
- * @return {!Object}
15168
- */
15169
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.toObject = function(opt_includeInstance) {
15170
- return proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.toObject(opt_includeInstance, this);
15171
- };
15172
-
15173
-
15174
- /**
15175
- * Static version of the {@see toObject} method.
15176
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15177
- * the JSPB instance for transitional soy proto support:
15178
- * http://goto/soy-param-migration
15179
- * @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} msg The msg instance to transform.
15180
- * @return {!Object}
15181
- * @suppress {unusedLocalVariables} f is only used for nested messages
15182
- */
15183
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.toObject = function(includeInstance, msg) {
15184
- var f, obj = {
15185
- identitiesIdsList: msg.getIdentitiesIdsList_asB64()
15186
- };
15187
-
15188
- if (includeInstance) {
15189
- obj.$jspbMessageInstance = msg;
15190
- }
15191
- return obj;
15192
- };
15193
- }
15194
-
15195
-
15196
- /**
15197
- * Deserializes binary data (in protobuf wire format).
15198
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
15199
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds}
15200
- */
15201
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.deserializeBinary = function(bytes) {
15202
- var reader = new jspb.BinaryReader(bytes);
15203
- var msg = new proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds;
15204
- return proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.deserializeBinaryFromReader(msg, reader);
15205
- };
15206
-
15207
-
15208
- /**
15209
- * Deserializes binary data (in protobuf wire format) from the
15210
- * given reader into the given message object.
15211
- * @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} msg The message object to deserialize into.
15212
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15213
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds}
15214
- */
15215
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.deserializeBinaryFromReader = function(msg, reader) {
15216
- while (reader.nextField()) {
15217
- if (reader.isEndGroup()) {
15218
- break;
15219
- }
15220
- var field = reader.getFieldNumber();
15221
- switch (field) {
15222
- case 1:
15223
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
15224
- msg.addIdentitiesIds(value);
15225
- break;
15226
- default:
15227
- reader.skipField();
15228
- break;
15229
- }
15230
- }
15231
- return msg;
15232
- };
15233
-
15234
-
15235
- /**
15236
- * Serializes the message to binary data (in protobuf wire format).
15237
- * @return {!Uint8Array}
15238
- */
15239
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.serializeBinary = function() {
15240
- var writer = new jspb.BinaryWriter();
15241
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.serializeBinaryToWriter(this, writer);
15242
- return writer.getResultBuffer();
15243
- };
15244
-
15245
-
15246
- /**
15247
- * Serializes the given message to binary data (in protobuf wire
15248
- * format), writing to the given BinaryWriter.
15249
- * @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} message
15250
- * @param {!jspb.BinaryWriter} writer
15251
- * @suppress {unusedLocalVariables} f is only used for nested messages
15252
- */
15253
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.serializeBinaryToWriter = function(message, writer) {
15254
- var f = undefined;
15255
- f = message.getIdentitiesIdsList_asU8();
15256
- if (f.length > 0) {
15257
- writer.writeRepeatedBytes(
15258
- 1,
15259
- f
15260
- );
15261
- }
15262
- };
15263
-
15264
-
15265
15165
  /**
15266
- * repeated bytes identities_ids = 1;
15166
+ * repeated bytes ids = 1;
15267
15167
  * @return {!Array<string>}
15268
15168
  */
15269
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.getIdentitiesIdsList = function() {
15169
+ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdsList = function() {
15270
15170
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
15271
15171
  };
15272
15172
 
15273
15173
 
15274
15174
  /**
15275
- * repeated bytes identities_ids = 1;
15276
- * This is a type-conversion wrapper around `getIdentitiesIdsList()`
15175
+ * repeated bytes ids = 1;
15176
+ * This is a type-conversion wrapper around `getIdsList()`
15277
15177
  * @return {!Array<string>}
15278
15178
  */
15279
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.getIdentitiesIdsList_asB64 = function() {
15179
+ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdsList_asB64 = function() {
15280
15180
  return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
15281
- this.getIdentitiesIdsList()));
15181
+ this.getIdsList()));
15282
15182
  };
15283
15183
 
15284
15184
 
15285
15185
  /**
15286
- * repeated bytes identities_ids = 1;
15186
+ * repeated bytes ids = 1;
15287
15187
  * Note that Uint8Array is not supported on all browsers.
15288
15188
  * @see http://caniuse.com/Uint8Array
15289
- * This is a type-conversion wrapper around `getIdentitiesIdsList()`
15189
+ * This is a type-conversion wrapper around `getIdsList()`
15290
15190
  * @return {!Array<!Uint8Array>}
15291
15191
  */
15292
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.getIdentitiesIdsList_asU8 = function() {
15192
+ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdsList_asU8 = function() {
15293
15193
  return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
15294
- this.getIdentitiesIdsList()));
15194
+ this.getIdsList()));
15295
15195
  };
15296
15196
 
15297
15197
 
15298
15198
  /**
15299
15199
  * @param {!(Array<!Uint8Array>|Array<string>)} value
15300
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} returns this
15200
+ * @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
15301
15201
  */
15302
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.setIdentitiesIdsList = function(value) {
15202
+ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.setIdsList = function(value) {
15303
15203
  return jspb.Message.setField(this, 1, value || []);
15304
15204
  };
15305
15205
 
@@ -15307,56 +15207,19 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
15307
15207
  /**
15308
15208
  * @param {!(string|Uint8Array)} value
15309
15209
  * @param {number=} opt_index
15310
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} returns this
15210
+ * @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
15311
15211
  */
15312
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.addIdentitiesIds = function(value, opt_index) {
15212
+ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.addIds = function(value, opt_index) {
15313
15213
  return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
15314
15214
  };
15315
15215
 
15316
15216
 
15317
15217
  /**
15318
15218
  * Clears the list making it empty but non-null.
15319
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} returns this
15320
- */
15321
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.clearIdentitiesIdsList = function() {
15322
- return this.setIdentitiesIdsList([]);
15323
- };
15324
-
15325
-
15326
- /**
15327
- * optional GetIdentitiesBalancesByKnownIdentityIds identities_ids = 1;
15328
- * @return {?proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds}
15329
- */
15330
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdentitiesIds = function() {
15331
- return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} */ (
15332
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds, 1));
15333
- };
15334
-
15335
-
15336
- /**
15337
- * @param {?proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds|undefined} value
15338
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
15339
- */
15340
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.setIdentitiesIds = function(value) {
15341
- return jspb.Message.setWrapperField(this, 1, value);
15342
- };
15343
-
15344
-
15345
- /**
15346
- * Clears the message field making it undefined.
15347
15219
  * @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
15348
15220
  */
15349
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.clearIdentitiesIds = function() {
15350
- return this.setIdentitiesIds(undefined);
15351
- };
15352
-
15353
-
15354
- /**
15355
- * Returns whether this field is set.
15356
- * @return {boolean}
15357
- */
15358
- proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.hasIdentitiesIds = function() {
15359
- return jspb.Message.getField(this, 1) != null;
15221
+ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.clearIdsList = function() {
15222
+ return this.setIdsList([]);
15360
15223
  };
15361
15224
 
15362
15225
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashevo/dapi-grpc",
3
- "version": "1.3.0-dev.2",
3
+ "version": "1.3.0-dev.3",
4
4
  "description": "DAPI GRPC definition file and generated clients",
5
5
  "browser": "browser.js",
6
6
  "main": "node.js",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "homepage": "https://github.com/dashevo/dapi-grpc#readme",
47
47
  "dependencies": {
48
- "@dashevo/grpc-common": "1.3.0-dev.2",
48
+ "@dashevo/grpc-common": "1.3.0-dev.3",
49
49
  "@dashevo/protobufjs": "6.10.5",
50
50
  "@grpc/grpc-js": "1.4.4",
51
51
  "@improbable-eng/grpc-web": "^0.15.0",