@dashevo/dapi-grpc 1.3.0-dev.6 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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
|
|
4
|
+
version = "1.3.0"
|
|
5
5
|
authors = [
|
|
6
6
|
"Samuel Westrich <sam@dash.org>",
|
|
7
7
|
"Igor Markin <igor.markin@dash.org>",
|
|
@@ -42,7 +42,7 @@ tonic = { version = "0.11", features = [
|
|
|
42
42
|
serde = { version = "1.0.197", optional = true, features = ["derive"] }
|
|
43
43
|
serde_bytes = { version = "0.11.12", optional = true }
|
|
44
44
|
serde_json = { version = "1.0", optional = true }
|
|
45
|
-
tenderdash-proto = { git = "https://github.com/dashpay/rs-tenderdash-abci", version = "1.1.0", tag = "v1.1.0", default-features = false, features = [
|
|
45
|
+
tenderdash-proto = { git = "https://github.com/dashpay/rs-tenderdash-abci", version = "1.2.0+1.3.0", tag = "v1.2.0+1.3.0", default-features = false, features = [
|
|
46
46
|
"grpc",
|
|
47
47
|
] }
|
|
48
48
|
dapi-grpc-macros = { path = "../rs-dapi-grpc-macros" }
|
|
@@ -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 {
|
|
13457
|
+
* @property {org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.IGetIdentitiesBalancesByKnownIdentityIds|null} [identitiesIds] GetIdentitiesBalancesRequestV0 identitiesIds
|
|
13458
13458
|
* @property {boolean|null} [prove] GetIdentitiesBalancesRequestV0 prove
|
|
13459
13459
|
*/
|
|
13460
13460
|
|
|
@@ -13467,7 +13467,6 @@ $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 = [];
|
|
13471
13470
|
if (properties)
|
|
13472
13471
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
13473
13472
|
if (properties[keys[i]] != null)
|
|
@@ -13475,12 +13474,12 @@ $root.org = (function() {
|
|
|
13475
13474
|
}
|
|
13476
13475
|
|
|
13477
13476
|
/**
|
|
13478
|
-
* GetIdentitiesBalancesRequestV0
|
|
13479
|
-
* @member {
|
|
13477
|
+
* GetIdentitiesBalancesRequestV0 identitiesIds.
|
|
13478
|
+
* @member {org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.IGetIdentitiesBalancesByKnownIdentityIds|null|undefined} identitiesIds
|
|
13480
13479
|
* @memberof org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0
|
|
13481
13480
|
* @instance
|
|
13482
13481
|
*/
|
|
13483
|
-
GetIdentitiesBalancesRequestV0.prototype.
|
|
13482
|
+
GetIdentitiesBalancesRequestV0.prototype.identitiesIds = null;
|
|
13484
13483
|
|
|
13485
13484
|
/**
|
|
13486
13485
|
* GetIdentitiesBalancesRequestV0 prove.
|
|
@@ -13514,9 +13513,8 @@ $root.org = (function() {
|
|
|
13514
13513
|
GetIdentitiesBalancesRequestV0.encode = function encode(message, writer) {
|
|
13515
13514
|
if (!writer)
|
|
13516
13515
|
writer = $Writer.create();
|
|
13517
|
-
if (message.
|
|
13518
|
-
|
|
13519
|
-
writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.ids[i]);
|
|
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();
|
|
13520
13518
|
if (message.prove != null && Object.hasOwnProperty.call(message, "prove"))
|
|
13521
13519
|
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.prove);
|
|
13522
13520
|
return writer;
|
|
@@ -13554,9 +13552,7 @@ $root.org = (function() {
|
|
|
13554
13552
|
var tag = reader.uint32();
|
|
13555
13553
|
switch (tag >>> 3) {
|
|
13556
13554
|
case 1:
|
|
13557
|
-
|
|
13558
|
-
message.ids = [];
|
|
13559
|
-
message.ids.push(reader.bytes());
|
|
13555
|
+
message.identitiesIds = $root.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.decode(reader, reader.uint32());
|
|
13560
13556
|
break;
|
|
13561
13557
|
case 2:
|
|
13562
13558
|
message.prove = reader.bool();
|
|
@@ -13596,12 +13592,10 @@ $root.org = (function() {
|
|
|
13596
13592
|
GetIdentitiesBalancesRequestV0.verify = function verify(message) {
|
|
13597
13593
|
if (typeof message !== "object" || message === null)
|
|
13598
13594
|
return "object expected";
|
|
13599
|
-
if (message.
|
|
13600
|
-
|
|
13601
|
-
|
|
13602
|
-
|
|
13603
|
-
if (!(message.ids[i] && typeof message.ids[i].length === "number" || $util.isString(message.ids[i])))
|
|
13604
|
-
return "ids: buffer[] 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;
|
|
13605
13599
|
}
|
|
13606
13600
|
if (message.prove != null && message.hasOwnProperty("prove"))
|
|
13607
13601
|
if (typeof message.prove !== "boolean")
|
|
@@ -13621,15 +13615,10 @@ $root.org = (function() {
|
|
|
13621
13615
|
if (object instanceof $root.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0)
|
|
13622
13616
|
return object;
|
|
13623
13617
|
var message = new $root.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0();
|
|
13624
|
-
if (object.
|
|
13625
|
-
if (
|
|
13626
|
-
throw TypeError(".org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.
|
|
13627
|
-
message.
|
|
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];
|
|
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);
|
|
13633
13622
|
}
|
|
13634
13623
|
if (object.prove != null)
|
|
13635
13624
|
message.prove = Boolean(object.prove);
|
|
@@ -13649,15 +13638,12 @@ $root.org = (function() {
|
|
|
13649
13638
|
if (!options)
|
|
13650
13639
|
options = {};
|
|
13651
13640
|
var object = {};
|
|
13652
|
-
if (options.
|
|
13653
|
-
object.
|
|
13654
|
-
if (options.defaults)
|
|
13641
|
+
if (options.defaults) {
|
|
13642
|
+
object.identitiesIds = null;
|
|
13655
13643
|
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];
|
|
13660
13644
|
}
|
|
13645
|
+
if (message.identitiesIds != null && message.hasOwnProperty("identitiesIds"))
|
|
13646
|
+
object.identitiesIds = $root.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.toObject(message.identitiesIds, options);
|
|
13661
13647
|
if (message.prove != null && message.hasOwnProperty("prove"))
|
|
13662
13648
|
object.prove = message.prove;
|
|
13663
13649
|
return object;
|
|
@@ -13674,6 +13660,212 @@ $root.org = (function() {
|
|
|
13674
13660
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
13675
13661
|
};
|
|
13676
13662
|
|
|
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
|
+
|
|
13677
13869
|
return GetIdentitiesBalancesRequestV0;
|
|
13678
13870
|
})();
|
|
13679
13871
|
|
|
@@ -133,6 +133,7 @@ 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 });
|
|
136
137
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.VersionCase', null, { proto });
|
|
137
138
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse', null, { proto });
|
|
138
139
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0', null, { proto });
|
|
@@ -1403,7 +1404,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1403
1404
|
* @constructor
|
|
1404
1405
|
*/
|
|
1405
1406
|
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0 = function(opt_data) {
|
|
1406
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
1407
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1407
1408
|
};
|
|
1408
1409
|
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0, jspb.Message);
|
|
1409
1410
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1413,6 +1414,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1413
1414
|
*/
|
|
1414
1415
|
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0';
|
|
1415
1416
|
}
|
|
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
|
+
}
|
|
1416
1438
|
/**
|
|
1417
1439
|
* Generated by JsPbCodeGenerator.
|
|
1418
1440
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -13345,8 +13367,8 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEv
|
|
|
13345
13367
|
*/
|
|
13346
13368
|
proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
13347
13369
|
var f = undefined;
|
|
13348
|
-
f =
|
|
13349
|
-
if (f
|
|
13370
|
+
f = message.getEpoch();
|
|
13371
|
+
if (f !== 0) {
|
|
13350
13372
|
writer.writeUint32(
|
|
13351
13373
|
1,
|
|
13352
13374
|
f
|
|
@@ -13383,25 +13405,7 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEv
|
|
|
13383
13405
|
* @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0} returns this
|
|
13384
13406
|
*/
|
|
13385
13407
|
proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.prototype.setEpoch = function(value) {
|
|
13386
|
-
return jspb.Message.
|
|
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;
|
|
13408
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
13405
13409
|
};
|
|
13406
13410
|
|
|
13407
13411
|
|
|
@@ -14607,8 +14611,8 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.Get
|
|
|
14607
14611
|
*/
|
|
14608
14612
|
proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
14609
14613
|
var f = undefined;
|
|
14610
|
-
f =
|
|
14611
|
-
if (f
|
|
14614
|
+
f = message.getEpoch();
|
|
14615
|
+
if (f !== 0) {
|
|
14612
14616
|
writer.writeUint32(
|
|
14613
14617
|
1,
|
|
14614
14618
|
f
|
|
@@ -14659,25 +14663,7 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.Get
|
|
|
14659
14663
|
* @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0} returns this
|
|
14660
14664
|
*/
|
|
14661
14665
|
proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.prototype.setEpoch = function(value) {
|
|
14662
|
-
return jspb.Message.
|
|
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;
|
|
14666
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
14681
14667
|
};
|
|
14682
14668
|
|
|
14683
14669
|
|
|
@@ -15032,13 +15018,6 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.serializeBinaryToWr
|
|
|
15032
15018
|
|
|
15033
15019
|
|
|
15034
15020
|
|
|
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
|
-
|
|
15042
15021
|
|
|
15043
15022
|
|
|
15044
15023
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -15070,7 +15049,7 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15070
15049
|
*/
|
|
15071
15050
|
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.toObject = function(includeInstance, msg) {
|
|
15072
15051
|
var f, obj = {
|
|
15073
|
-
|
|
15052
|
+
identitiesIds: (f = msg.getIdentitiesIds()) && proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.toObject(includeInstance, f),
|
|
15074
15053
|
prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
15075
15054
|
};
|
|
15076
15055
|
|
|
@@ -15109,8 +15088,9 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15109
15088
|
var field = reader.getFieldNumber();
|
|
15110
15089
|
switch (field) {
|
|
15111
15090
|
case 1:
|
|
15112
|
-
var value =
|
|
15113
|
-
|
|
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);
|
|
15114
15094
|
break;
|
|
15115
15095
|
case 2:
|
|
15116
15096
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
@@ -15145,11 +15125,12 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15145
15125
|
*/
|
|
15146
15126
|
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
15147
15127
|
var f = undefined;
|
|
15148
|
-
f = message.
|
|
15149
|
-
if (f
|
|
15150
|
-
writer.
|
|
15128
|
+
f = message.getIdentitiesIds();
|
|
15129
|
+
if (f != null) {
|
|
15130
|
+
writer.writeMessage(
|
|
15151
15131
|
1,
|
|
15152
|
-
f
|
|
15132
|
+
f,
|
|
15133
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.serializeBinaryToWriter
|
|
15153
15134
|
);
|
|
15154
15135
|
}
|
|
15155
15136
|
f = message.getProve();
|
|
@@ -15162,44 +15143,163 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15162
15143
|
};
|
|
15163
15144
|
|
|
15164
15145
|
|
|
15146
|
+
|
|
15165
15147
|
/**
|
|
15166
|
-
* repeated
|
|
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
|
+
/**
|
|
15266
|
+
* repeated bytes identities_ids = 1;
|
|
15167
15267
|
* @return {!Array<string>}
|
|
15168
15268
|
*/
|
|
15169
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.
|
|
15269
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.getIdentitiesIdsList = function() {
|
|
15170
15270
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
15171
15271
|
};
|
|
15172
15272
|
|
|
15173
15273
|
|
|
15174
15274
|
/**
|
|
15175
|
-
* repeated bytes
|
|
15176
|
-
* This is a type-conversion wrapper around `
|
|
15275
|
+
* repeated bytes identities_ids = 1;
|
|
15276
|
+
* This is a type-conversion wrapper around `getIdentitiesIdsList()`
|
|
15177
15277
|
* @return {!Array<string>}
|
|
15178
15278
|
*/
|
|
15179
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.
|
|
15279
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.getIdentitiesIdsList_asB64 = function() {
|
|
15180
15280
|
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
|
|
15181
|
-
this.
|
|
15281
|
+
this.getIdentitiesIdsList()));
|
|
15182
15282
|
};
|
|
15183
15283
|
|
|
15184
15284
|
|
|
15185
15285
|
/**
|
|
15186
|
-
* repeated bytes
|
|
15286
|
+
* repeated bytes identities_ids = 1;
|
|
15187
15287
|
* Note that Uint8Array is not supported on all browsers.
|
|
15188
15288
|
* @see http://caniuse.com/Uint8Array
|
|
15189
|
-
* This is a type-conversion wrapper around `
|
|
15289
|
+
* This is a type-conversion wrapper around `getIdentitiesIdsList()`
|
|
15190
15290
|
* @return {!Array<!Uint8Array>}
|
|
15191
15291
|
*/
|
|
15192
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.
|
|
15292
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.getIdentitiesIdsList_asU8 = function() {
|
|
15193
15293
|
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
|
|
15194
|
-
this.
|
|
15294
|
+
this.getIdentitiesIdsList()));
|
|
15195
15295
|
};
|
|
15196
15296
|
|
|
15197
15297
|
|
|
15198
15298
|
/**
|
|
15199
15299
|
* @param {!(Array<!Uint8Array>|Array<string>)} value
|
|
15200
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
|
|
15300
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} returns this
|
|
15201
15301
|
*/
|
|
15202
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.
|
|
15302
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.setIdentitiesIdsList = function(value) {
|
|
15203
15303
|
return jspb.Message.setField(this, 1, value || []);
|
|
15204
15304
|
};
|
|
15205
15305
|
|
|
@@ -15207,19 +15307,56 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15207
15307
|
/**
|
|
15208
15308
|
* @param {!(string|Uint8Array)} value
|
|
15209
15309
|
* @param {number=} opt_index
|
|
15210
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
|
|
15310
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} returns this
|
|
15211
15311
|
*/
|
|
15212
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.
|
|
15312
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.addIdentitiesIds = function(value, opt_index) {
|
|
15213
15313
|
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
15214
15314
|
};
|
|
15215
15315
|
|
|
15216
15316
|
|
|
15217
15317
|
/**
|
|
15218
15318
|
* 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.
|
|
15219
15347
|
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
|
|
15220
15348
|
*/
|
|
15221
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.
|
|
15222
|
-
return this.
|
|
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;
|
|
15223
15360
|
};
|
|
15224
15361
|
|
|
15225
15362
|
|
|
@@ -1343,8 +1343,6 @@ export namespace GetEvonodesProposedEpochBlocksByIdsRequest {
|
|
|
1343
1343
|
}
|
|
1344
1344
|
|
|
1345
1345
|
export class GetEvonodesProposedEpochBlocksByIdsRequestV0 extends jspb.Message {
|
|
1346
|
-
hasEpoch(): boolean;
|
|
1347
|
-
clearEpoch(): void;
|
|
1348
1346
|
getEpoch(): number;
|
|
1349
1347
|
setEpoch(value: number): void;
|
|
1350
1348
|
|
|
@@ -1522,8 +1520,6 @@ export namespace GetEvonodesProposedEpochBlocksByRangeRequest {
|
|
|
1522
1520
|
}
|
|
1523
1521
|
|
|
1524
1522
|
export class GetEvonodesProposedEpochBlocksByRangeRequestV0 extends jspb.Message {
|
|
1525
|
-
hasEpoch(): boolean;
|
|
1526
|
-
clearEpoch(): void;
|
|
1527
1523
|
getEpoch(): number;
|
|
1528
1524
|
setEpoch(value: number): void;
|
|
1529
1525
|
|
|
@@ -1605,12 +1601,10 @@ export namespace GetIdentitiesBalancesRequest {
|
|
|
1605
1601
|
}
|
|
1606
1602
|
|
|
1607
1603
|
export class GetIdentitiesBalancesRequestV0 extends jspb.Message {
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
setIdsList(value: Array<Uint8Array | string>): void;
|
|
1613
|
-
addIds(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
1604
|
+
hasIdentitiesIds(): boolean;
|
|
1605
|
+
clearIdentitiesIds(): void;
|
|
1606
|
+
getIdentitiesIds(): GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds | undefined;
|
|
1607
|
+
setIdentitiesIds(value?: GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds): void;
|
|
1614
1608
|
|
|
1615
1609
|
getProve(): boolean;
|
|
1616
1610
|
setProve(value: boolean): void;
|
|
@@ -1627,9 +1621,33 @@ export namespace GetIdentitiesBalancesRequest {
|
|
|
1627
1621
|
|
|
1628
1622
|
export namespace GetIdentitiesBalancesRequestV0 {
|
|
1629
1623
|
export type AsObject = {
|
|
1630
|
-
|
|
1624
|
+
identitiesIds?: GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.AsObject,
|
|
1631
1625
|
prove: boolean,
|
|
1632
1626
|
}
|
|
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
|
+
}
|
|
1633
1651
|
}
|
|
1634
1652
|
|
|
1635
1653
|
export enum VersionCase {
|
|
@@ -133,6 +133,7 @@ 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 });
|
|
136
137
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.VersionCase', null, { proto });
|
|
137
138
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse', null, { proto });
|
|
138
139
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0', null, { proto });
|
|
@@ -1403,7 +1404,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1403
1404
|
* @constructor
|
|
1404
1405
|
*/
|
|
1405
1406
|
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0 = function(opt_data) {
|
|
1406
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
1407
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1407
1408
|
};
|
|
1408
1409
|
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0, jspb.Message);
|
|
1409
1410
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1413,6 +1414,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1413
1414
|
*/
|
|
1414
1415
|
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0';
|
|
1415
1416
|
}
|
|
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
|
+
}
|
|
1416
1438
|
/**
|
|
1417
1439
|
* Generated by JsPbCodeGenerator.
|
|
1418
1440
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -13345,8 +13367,8 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEv
|
|
|
13345
13367
|
*/
|
|
13346
13368
|
proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
13347
13369
|
var f = undefined;
|
|
13348
|
-
f =
|
|
13349
|
-
if (f
|
|
13370
|
+
f = message.getEpoch();
|
|
13371
|
+
if (f !== 0) {
|
|
13350
13372
|
writer.writeUint32(
|
|
13351
13373
|
1,
|
|
13352
13374
|
f
|
|
@@ -13383,25 +13405,7 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEv
|
|
|
13383
13405
|
* @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0} returns this
|
|
13384
13406
|
*/
|
|
13385
13407
|
proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.prototype.setEpoch = function(value) {
|
|
13386
|
-
return jspb.Message.
|
|
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;
|
|
13408
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
13405
13409
|
};
|
|
13406
13410
|
|
|
13407
13411
|
|
|
@@ -14607,8 +14611,8 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.Get
|
|
|
14607
14611
|
*/
|
|
14608
14612
|
proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
14609
14613
|
var f = undefined;
|
|
14610
|
-
f =
|
|
14611
|
-
if (f
|
|
14614
|
+
f = message.getEpoch();
|
|
14615
|
+
if (f !== 0) {
|
|
14612
14616
|
writer.writeUint32(
|
|
14613
14617
|
1,
|
|
14614
14618
|
f
|
|
@@ -14659,25 +14663,7 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.Get
|
|
|
14659
14663
|
* @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0} returns this
|
|
14660
14664
|
*/
|
|
14661
14665
|
proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.prototype.setEpoch = function(value) {
|
|
14662
|
-
return jspb.Message.
|
|
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;
|
|
14666
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
14681
14667
|
};
|
|
14682
14668
|
|
|
14683
14669
|
|
|
@@ -15032,13 +15018,6 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.serializeBinaryToWr
|
|
|
15032
15018
|
|
|
15033
15019
|
|
|
15034
15020
|
|
|
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
|
-
|
|
15042
15021
|
|
|
15043
15022
|
|
|
15044
15023
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -15070,7 +15049,7 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15070
15049
|
*/
|
|
15071
15050
|
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.toObject = function(includeInstance, msg) {
|
|
15072
15051
|
var f, obj = {
|
|
15073
|
-
|
|
15052
|
+
identitiesIds: (f = msg.getIdentitiesIds()) && proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.toObject(includeInstance, f),
|
|
15074
15053
|
prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
15075
15054
|
};
|
|
15076
15055
|
|
|
@@ -15109,8 +15088,9 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15109
15088
|
var field = reader.getFieldNumber();
|
|
15110
15089
|
switch (field) {
|
|
15111
15090
|
case 1:
|
|
15112
|
-
var value =
|
|
15113
|
-
|
|
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);
|
|
15114
15094
|
break;
|
|
15115
15095
|
case 2:
|
|
15116
15096
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
@@ -15145,11 +15125,12 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15145
15125
|
*/
|
|
15146
15126
|
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
15147
15127
|
var f = undefined;
|
|
15148
|
-
f = message.
|
|
15149
|
-
if (f
|
|
15150
|
-
writer.
|
|
15128
|
+
f = message.getIdentitiesIds();
|
|
15129
|
+
if (f != null) {
|
|
15130
|
+
writer.writeMessage(
|
|
15151
15131
|
1,
|
|
15152
|
-
f
|
|
15132
|
+
f,
|
|
15133
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.serializeBinaryToWriter
|
|
15153
15134
|
);
|
|
15154
15135
|
}
|
|
15155
15136
|
f = message.getProve();
|
|
@@ -15162,44 +15143,163 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15162
15143
|
};
|
|
15163
15144
|
|
|
15164
15145
|
|
|
15146
|
+
|
|
15165
15147
|
/**
|
|
15166
|
-
* repeated
|
|
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
|
+
/**
|
|
15266
|
+
* repeated bytes identities_ids = 1;
|
|
15167
15267
|
* @return {!Array<string>}
|
|
15168
15268
|
*/
|
|
15169
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.
|
|
15269
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.getIdentitiesIdsList = function() {
|
|
15170
15270
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
15171
15271
|
};
|
|
15172
15272
|
|
|
15173
15273
|
|
|
15174
15274
|
/**
|
|
15175
|
-
* repeated bytes
|
|
15176
|
-
* This is a type-conversion wrapper around `
|
|
15275
|
+
* repeated bytes identities_ids = 1;
|
|
15276
|
+
* This is a type-conversion wrapper around `getIdentitiesIdsList()`
|
|
15177
15277
|
* @return {!Array<string>}
|
|
15178
15278
|
*/
|
|
15179
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.
|
|
15279
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.getIdentitiesIdsList_asB64 = function() {
|
|
15180
15280
|
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
|
|
15181
|
-
this.
|
|
15281
|
+
this.getIdentitiesIdsList()));
|
|
15182
15282
|
};
|
|
15183
15283
|
|
|
15184
15284
|
|
|
15185
15285
|
/**
|
|
15186
|
-
* repeated bytes
|
|
15286
|
+
* repeated bytes identities_ids = 1;
|
|
15187
15287
|
* Note that Uint8Array is not supported on all browsers.
|
|
15188
15288
|
* @see http://caniuse.com/Uint8Array
|
|
15189
|
-
* This is a type-conversion wrapper around `
|
|
15289
|
+
* This is a type-conversion wrapper around `getIdentitiesIdsList()`
|
|
15190
15290
|
* @return {!Array<!Uint8Array>}
|
|
15191
15291
|
*/
|
|
15192
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.
|
|
15292
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.getIdentitiesIdsList_asU8 = function() {
|
|
15193
15293
|
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
|
|
15194
|
-
this.
|
|
15294
|
+
this.getIdentitiesIdsList()));
|
|
15195
15295
|
};
|
|
15196
15296
|
|
|
15197
15297
|
|
|
15198
15298
|
/**
|
|
15199
15299
|
* @param {!(Array<!Uint8Array>|Array<string>)} value
|
|
15200
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
|
|
15300
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} returns this
|
|
15201
15301
|
*/
|
|
15202
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.
|
|
15302
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.setIdentitiesIdsList = function(value) {
|
|
15203
15303
|
return jspb.Message.setField(this, 1, value || []);
|
|
15204
15304
|
};
|
|
15205
15305
|
|
|
@@ -15207,19 +15307,56 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15207
15307
|
/**
|
|
15208
15308
|
* @param {!(string|Uint8Array)} value
|
|
15209
15309
|
* @param {number=} opt_index
|
|
15210
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
|
|
15310
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} returns this
|
|
15211
15311
|
*/
|
|
15212
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.
|
|
15312
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.addIdentitiesIds = function(value, opt_index) {
|
|
15213
15313
|
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
15214
15314
|
};
|
|
15215
15315
|
|
|
15216
15316
|
|
|
15217
15317
|
/**
|
|
15218
15318
|
* 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.
|
|
15219
15347
|
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
|
|
15220
15348
|
*/
|
|
15221
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.
|
|
15222
|
-
return this.
|
|
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;
|
|
15223
15360
|
};
|
|
15224
15361
|
|
|
15225
15362
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dashevo/dapi-grpc",
|
|
3
|
-
"version": "1.3.0
|
|
3
|
+
"version": "1.3.0",
|
|
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
|
|
48
|
+
"@dashevo/grpc-common": "1.3.0",
|
|
49
49
|
"@dashevo/protobufjs": "6.10.5",
|
|
50
50
|
"@grpc/grpc-js": "1.4.4",
|
|
51
51
|
"@improbable-eng/grpc-web": "^0.15.0",
|