@dashevo/dapi-grpc 1.3.0-dev.1 → 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 +1 -1
- package/clients/platform/v0/nodejs/platform_pbjs.js +33 -225
- package/clients/platform/v0/nodejs/platform_protoc.js +31 -204
- package/clients/platform/v0/web/platform_pb.d.ts +7 -29
- package/clients/platform/v0/web/platform_pb.js +31 -204
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +1 -4
package/Cargo.toml
CHANGED
|
@@ -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 {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
|
|
13478
|
-
* @member {
|
|
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.
|
|
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.
|
|
13517
|
-
|
|
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.
|
|
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.
|
|
13596
|
-
|
|
13597
|
-
|
|
13598
|
-
|
|
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.
|
|
13619
|
-
if (
|
|
13620
|
-
throw TypeError(".org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.
|
|
13621
|
-
message.
|
|
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.
|
|
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,
|
|
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
|
|
@@ -15054,6 +15032,13 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.serializeBinaryToWr
|
|
|
15054
15032
|
|
|
15055
15033
|
|
|
15056
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
|
+
|
|
15057
15042
|
|
|
15058
15043
|
|
|
15059
15044
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -15085,7 +15070,7 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15085
15070
|
*/
|
|
15086
15071
|
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.toObject = function(includeInstance, msg) {
|
|
15087
15072
|
var f, obj = {
|
|
15088
|
-
|
|
15073
|
+
idsList: msg.getIdsList_asB64(),
|
|
15089
15074
|
prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
15090
15075
|
};
|
|
15091
15076
|
|
|
@@ -15124,9 +15109,8 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15124
15109
|
var field = reader.getFieldNumber();
|
|
15125
15110
|
switch (field) {
|
|
15126
15111
|
case 1:
|
|
15127
|
-
var value =
|
|
15128
|
-
|
|
15129
|
-
msg.setIdentitiesIds(value);
|
|
15112
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
15113
|
+
msg.addIds(value);
|
|
15130
15114
|
break;
|
|
15131
15115
|
case 2:
|
|
15132
15116
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
@@ -15161,12 +15145,11 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15161
15145
|
*/
|
|
15162
15146
|
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
15163
15147
|
var f = undefined;
|
|
15164
|
-
f = message.
|
|
15165
|
-
if (f
|
|
15166
|
-
writer.
|
|
15148
|
+
f = message.getIdsList_asU8();
|
|
15149
|
+
if (f.length > 0) {
|
|
15150
|
+
writer.writeRepeatedBytes(
|
|
15167
15151
|
1,
|
|
15168
|
-
f
|
|
15169
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.serializeBinaryToWriter
|
|
15152
|
+
f
|
|
15170
15153
|
);
|
|
15171
15154
|
}
|
|
15172
15155
|
f = message.getProve();
|
|
@@ -15179,163 +15162,44 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15179
15162
|
};
|
|
15180
15163
|
|
|
15181
15164
|
|
|
15182
|
-
|
|
15183
|
-
/**
|
|
15184
|
-
* List of repeated fields within this message type.
|
|
15185
|
-
* @private {!Array<number>}
|
|
15186
|
-
* @const
|
|
15187
|
-
*/
|
|
15188
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.repeatedFields_ = [1];
|
|
15189
|
-
|
|
15190
|
-
|
|
15191
|
-
|
|
15192
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15193
|
-
/**
|
|
15194
|
-
* Creates an object representation of this proto.
|
|
15195
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15196
|
-
* Optional fields that are not set will be set to undefined.
|
|
15197
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15198
|
-
* For the list of reserved names please see:
|
|
15199
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15200
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15201
|
-
* JSPB instance for transitional soy proto support:
|
|
15202
|
-
* http://goto/soy-param-migration
|
|
15203
|
-
* @return {!Object}
|
|
15204
|
-
*/
|
|
15205
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.toObject = function(opt_includeInstance) {
|
|
15206
|
-
return proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.toObject(opt_includeInstance, this);
|
|
15207
|
-
};
|
|
15208
|
-
|
|
15209
|
-
|
|
15210
|
-
/**
|
|
15211
|
-
* Static version of the {@see toObject} method.
|
|
15212
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15213
|
-
* the JSPB instance for transitional soy proto support:
|
|
15214
|
-
* http://goto/soy-param-migration
|
|
15215
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} msg The msg instance to transform.
|
|
15216
|
-
* @return {!Object}
|
|
15217
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15218
|
-
*/
|
|
15219
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.toObject = function(includeInstance, msg) {
|
|
15220
|
-
var f, obj = {
|
|
15221
|
-
identitiesIdsList: msg.getIdentitiesIdsList_asB64()
|
|
15222
|
-
};
|
|
15223
|
-
|
|
15224
|
-
if (includeInstance) {
|
|
15225
|
-
obj.$jspbMessageInstance = msg;
|
|
15226
|
-
}
|
|
15227
|
-
return obj;
|
|
15228
|
-
};
|
|
15229
|
-
}
|
|
15230
|
-
|
|
15231
|
-
|
|
15232
|
-
/**
|
|
15233
|
-
* Deserializes binary data (in protobuf wire format).
|
|
15234
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15235
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds}
|
|
15236
|
-
*/
|
|
15237
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.deserializeBinary = function(bytes) {
|
|
15238
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
15239
|
-
var msg = new proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds;
|
|
15240
|
-
return proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.deserializeBinaryFromReader(msg, reader);
|
|
15241
|
-
};
|
|
15242
|
-
|
|
15243
|
-
|
|
15244
|
-
/**
|
|
15245
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
15246
|
-
* given reader into the given message object.
|
|
15247
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} msg The message object to deserialize into.
|
|
15248
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15249
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds}
|
|
15250
|
-
*/
|
|
15251
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.deserializeBinaryFromReader = function(msg, reader) {
|
|
15252
|
-
while (reader.nextField()) {
|
|
15253
|
-
if (reader.isEndGroup()) {
|
|
15254
|
-
break;
|
|
15255
|
-
}
|
|
15256
|
-
var field = reader.getFieldNumber();
|
|
15257
|
-
switch (field) {
|
|
15258
|
-
case 1:
|
|
15259
|
-
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
15260
|
-
msg.addIdentitiesIds(value);
|
|
15261
|
-
break;
|
|
15262
|
-
default:
|
|
15263
|
-
reader.skipField();
|
|
15264
|
-
break;
|
|
15265
|
-
}
|
|
15266
|
-
}
|
|
15267
|
-
return msg;
|
|
15268
|
-
};
|
|
15269
|
-
|
|
15270
|
-
|
|
15271
|
-
/**
|
|
15272
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
15273
|
-
* @return {!Uint8Array}
|
|
15274
|
-
*/
|
|
15275
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.serializeBinary = function() {
|
|
15276
|
-
var writer = new jspb.BinaryWriter();
|
|
15277
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.serializeBinaryToWriter(this, writer);
|
|
15278
|
-
return writer.getResultBuffer();
|
|
15279
|
-
};
|
|
15280
|
-
|
|
15281
|
-
|
|
15282
|
-
/**
|
|
15283
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
15284
|
-
* format), writing to the given BinaryWriter.
|
|
15285
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} message
|
|
15286
|
-
* @param {!jspb.BinaryWriter} writer
|
|
15287
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15288
|
-
*/
|
|
15289
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.serializeBinaryToWriter = function(message, writer) {
|
|
15290
|
-
var f = undefined;
|
|
15291
|
-
f = message.getIdentitiesIdsList_asU8();
|
|
15292
|
-
if (f.length > 0) {
|
|
15293
|
-
writer.writeRepeatedBytes(
|
|
15294
|
-
1,
|
|
15295
|
-
f
|
|
15296
|
-
);
|
|
15297
|
-
}
|
|
15298
|
-
};
|
|
15299
|
-
|
|
15300
|
-
|
|
15301
15165
|
/**
|
|
15302
|
-
* repeated bytes
|
|
15166
|
+
* repeated bytes ids = 1;
|
|
15303
15167
|
* @return {!Array<string>}
|
|
15304
15168
|
*/
|
|
15305
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.
|
|
15169
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdsList = function() {
|
|
15306
15170
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
15307
15171
|
};
|
|
15308
15172
|
|
|
15309
15173
|
|
|
15310
15174
|
/**
|
|
15311
|
-
* repeated bytes
|
|
15312
|
-
* This is a type-conversion wrapper around `
|
|
15175
|
+
* repeated bytes ids = 1;
|
|
15176
|
+
* This is a type-conversion wrapper around `getIdsList()`
|
|
15313
15177
|
* @return {!Array<string>}
|
|
15314
15178
|
*/
|
|
15315
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.
|
|
15179
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdsList_asB64 = function() {
|
|
15316
15180
|
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
|
|
15317
|
-
this.
|
|
15181
|
+
this.getIdsList()));
|
|
15318
15182
|
};
|
|
15319
15183
|
|
|
15320
15184
|
|
|
15321
15185
|
/**
|
|
15322
|
-
* repeated bytes
|
|
15186
|
+
* repeated bytes ids = 1;
|
|
15323
15187
|
* Note that Uint8Array is not supported on all browsers.
|
|
15324
15188
|
* @see http://caniuse.com/Uint8Array
|
|
15325
|
-
* This is a type-conversion wrapper around `
|
|
15189
|
+
* This is a type-conversion wrapper around `getIdsList()`
|
|
15326
15190
|
* @return {!Array<!Uint8Array>}
|
|
15327
15191
|
*/
|
|
15328
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.
|
|
15192
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdsList_asU8 = function() {
|
|
15329
15193
|
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
|
|
15330
|
-
this.
|
|
15194
|
+
this.getIdsList()));
|
|
15331
15195
|
};
|
|
15332
15196
|
|
|
15333
15197
|
|
|
15334
15198
|
/**
|
|
15335
15199
|
* @param {!(Array<!Uint8Array>|Array<string>)} value
|
|
15336
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0
|
|
15200
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
|
|
15337
15201
|
*/
|
|
15338
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.
|
|
15202
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.setIdsList = function(value) {
|
|
15339
15203
|
return jspb.Message.setField(this, 1, value || []);
|
|
15340
15204
|
};
|
|
15341
15205
|
|
|
@@ -15343,56 +15207,19 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15343
15207
|
/**
|
|
15344
15208
|
* @param {!(string|Uint8Array)} value
|
|
15345
15209
|
* @param {number=} opt_index
|
|
15346
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0
|
|
15210
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
|
|
15347
15211
|
*/
|
|
15348
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.
|
|
15212
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.addIds = function(value, opt_index) {
|
|
15349
15213
|
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
15350
15214
|
};
|
|
15351
15215
|
|
|
15352
15216
|
|
|
15353
15217
|
/**
|
|
15354
15218
|
* Clears the list making it empty but non-null.
|
|
15355
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} returns this
|
|
15356
|
-
*/
|
|
15357
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.clearIdentitiesIdsList = function() {
|
|
15358
|
-
return this.setIdentitiesIdsList([]);
|
|
15359
|
-
};
|
|
15360
|
-
|
|
15361
|
-
|
|
15362
|
-
/**
|
|
15363
|
-
* optional GetIdentitiesBalancesByKnownIdentityIds identities_ids = 1;
|
|
15364
|
-
* @return {?proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds}
|
|
15365
|
-
*/
|
|
15366
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdentitiesIds = function() {
|
|
15367
|
-
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} */ (
|
|
15368
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds, 1));
|
|
15369
|
-
};
|
|
15370
|
-
|
|
15371
|
-
|
|
15372
|
-
/**
|
|
15373
|
-
* @param {?proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds|undefined} value
|
|
15374
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
|
|
15375
|
-
*/
|
|
15376
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.setIdentitiesIds = function(value) {
|
|
15377
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
15378
|
-
};
|
|
15379
|
-
|
|
15380
|
-
|
|
15381
|
-
/**
|
|
15382
|
-
* Clears the message field making it undefined.
|
|
15383
15219
|
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
|
|
15384
15220
|
*/
|
|
15385
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.
|
|
15386
|
-
return this.
|
|
15387
|
-
};
|
|
15388
|
-
|
|
15389
|
-
|
|
15390
|
-
/**
|
|
15391
|
-
* Returns whether this field is set.
|
|
15392
|
-
* @return {boolean}
|
|
15393
|
-
*/
|
|
15394
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.hasIdentitiesIds = function() {
|
|
15395
|
-
return jspb.Message.getField(this, 1) != null;
|
|
15221
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.clearIdsList = function() {
|
|
15222
|
+
return this.setIdsList([]);
|
|
15396
15223
|
};
|
|
15397
15224
|
|
|
15398
15225
|
|
|
@@ -1605,10 +1605,12 @@ export namespace GetIdentitiesBalancesRequest {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
|
|
1607
1607
|
export class GetIdentitiesBalancesRequestV0 extends jspb.Message {
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
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;
|
|
1612
1614
|
|
|
1613
1615
|
getProve(): boolean;
|
|
1614
1616
|
setProve(value: boolean): void;
|
|
@@ -1625,33 +1627,9 @@ export namespace GetIdentitiesBalancesRequest {
|
|
|
1625
1627
|
|
|
1626
1628
|
export namespace GetIdentitiesBalancesRequestV0 {
|
|
1627
1629
|
export type AsObject = {
|
|
1628
|
-
|
|
1630
|
+
idsList: Array<Uint8Array | string>,
|
|
1629
1631
|
prove: boolean,
|
|
1630
1632
|
}
|
|
1631
|
-
|
|
1632
|
-
export class GetIdentitiesBalancesByKnownIdentityIds extends jspb.Message {
|
|
1633
|
-
clearIdentitiesIdsList(): void;
|
|
1634
|
-
getIdentitiesIdsList(): Array<Uint8Array | string>;
|
|
1635
|
-
getIdentitiesIdsList_asU8(): Array<Uint8Array>;
|
|
1636
|
-
getIdentitiesIdsList_asB64(): Array<string>;
|
|
1637
|
-
setIdentitiesIdsList(value: Array<Uint8Array | string>): void;
|
|
1638
|
-
addIdentitiesIds(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
1639
|
-
|
|
1640
|
-
serializeBinary(): Uint8Array;
|
|
1641
|
-
toObject(includeInstance?: boolean): GetIdentitiesBalancesByKnownIdentityIds.AsObject;
|
|
1642
|
-
static toObject(includeInstance: boolean, msg: GetIdentitiesBalancesByKnownIdentityIds): GetIdentitiesBalancesByKnownIdentityIds.AsObject;
|
|
1643
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1644
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1645
|
-
static serializeBinaryToWriter(message: GetIdentitiesBalancesByKnownIdentityIds, writer: jspb.BinaryWriter): void;
|
|
1646
|
-
static deserializeBinary(bytes: Uint8Array): GetIdentitiesBalancesByKnownIdentityIds;
|
|
1647
|
-
static deserializeBinaryFromReader(message: GetIdentitiesBalancesByKnownIdentityIds, reader: jspb.BinaryReader): GetIdentitiesBalancesByKnownIdentityIds;
|
|
1648
|
-
}
|
|
1649
|
-
|
|
1650
|
-
export namespace GetIdentitiesBalancesByKnownIdentityIds {
|
|
1651
|
-
export type AsObject = {
|
|
1652
|
-
identitiesIdsList: Array<Uint8Array | string>,
|
|
1653
|
-
}
|
|
1654
|
-
}
|
|
1655
1633
|
}
|
|
1656
1634
|
|
|
1657
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,
|
|
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
|
|
@@ -15054,6 +15032,13 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.serializeBinaryToWr
|
|
|
15054
15032
|
|
|
15055
15033
|
|
|
15056
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
|
+
|
|
15057
15042
|
|
|
15058
15043
|
|
|
15059
15044
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -15085,7 +15070,7 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15085
15070
|
*/
|
|
15086
15071
|
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.toObject = function(includeInstance, msg) {
|
|
15087
15072
|
var f, obj = {
|
|
15088
|
-
|
|
15073
|
+
idsList: msg.getIdsList_asB64(),
|
|
15089
15074
|
prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
15090
15075
|
};
|
|
15091
15076
|
|
|
@@ -15124,9 +15109,8 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15124
15109
|
var field = reader.getFieldNumber();
|
|
15125
15110
|
switch (field) {
|
|
15126
15111
|
case 1:
|
|
15127
|
-
var value =
|
|
15128
|
-
|
|
15129
|
-
msg.setIdentitiesIds(value);
|
|
15112
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
15113
|
+
msg.addIds(value);
|
|
15130
15114
|
break;
|
|
15131
15115
|
case 2:
|
|
15132
15116
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
@@ -15161,12 +15145,11 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15161
15145
|
*/
|
|
15162
15146
|
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
15163
15147
|
var f = undefined;
|
|
15164
|
-
f = message.
|
|
15165
|
-
if (f
|
|
15166
|
-
writer.
|
|
15148
|
+
f = message.getIdsList_asU8();
|
|
15149
|
+
if (f.length > 0) {
|
|
15150
|
+
writer.writeRepeatedBytes(
|
|
15167
15151
|
1,
|
|
15168
|
-
f
|
|
15169
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.serializeBinaryToWriter
|
|
15152
|
+
f
|
|
15170
15153
|
);
|
|
15171
15154
|
}
|
|
15172
15155
|
f = message.getProve();
|
|
@@ -15179,163 +15162,44 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15179
15162
|
};
|
|
15180
15163
|
|
|
15181
15164
|
|
|
15182
|
-
|
|
15183
|
-
/**
|
|
15184
|
-
* List of repeated fields within this message type.
|
|
15185
|
-
* @private {!Array<number>}
|
|
15186
|
-
* @const
|
|
15187
|
-
*/
|
|
15188
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.repeatedFields_ = [1];
|
|
15189
|
-
|
|
15190
|
-
|
|
15191
|
-
|
|
15192
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15193
|
-
/**
|
|
15194
|
-
* Creates an object representation of this proto.
|
|
15195
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15196
|
-
* Optional fields that are not set will be set to undefined.
|
|
15197
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15198
|
-
* For the list of reserved names please see:
|
|
15199
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15200
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15201
|
-
* JSPB instance for transitional soy proto support:
|
|
15202
|
-
* http://goto/soy-param-migration
|
|
15203
|
-
* @return {!Object}
|
|
15204
|
-
*/
|
|
15205
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.toObject = function(opt_includeInstance) {
|
|
15206
|
-
return proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.toObject(opt_includeInstance, this);
|
|
15207
|
-
};
|
|
15208
|
-
|
|
15209
|
-
|
|
15210
|
-
/**
|
|
15211
|
-
* Static version of the {@see toObject} method.
|
|
15212
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15213
|
-
* the JSPB instance for transitional soy proto support:
|
|
15214
|
-
* http://goto/soy-param-migration
|
|
15215
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} msg The msg instance to transform.
|
|
15216
|
-
* @return {!Object}
|
|
15217
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15218
|
-
*/
|
|
15219
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.toObject = function(includeInstance, msg) {
|
|
15220
|
-
var f, obj = {
|
|
15221
|
-
identitiesIdsList: msg.getIdentitiesIdsList_asB64()
|
|
15222
|
-
};
|
|
15223
|
-
|
|
15224
|
-
if (includeInstance) {
|
|
15225
|
-
obj.$jspbMessageInstance = msg;
|
|
15226
|
-
}
|
|
15227
|
-
return obj;
|
|
15228
|
-
};
|
|
15229
|
-
}
|
|
15230
|
-
|
|
15231
|
-
|
|
15232
|
-
/**
|
|
15233
|
-
* Deserializes binary data (in protobuf wire format).
|
|
15234
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15235
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds}
|
|
15236
|
-
*/
|
|
15237
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.deserializeBinary = function(bytes) {
|
|
15238
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
15239
|
-
var msg = new proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds;
|
|
15240
|
-
return proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.deserializeBinaryFromReader(msg, reader);
|
|
15241
|
-
};
|
|
15242
|
-
|
|
15243
|
-
|
|
15244
|
-
/**
|
|
15245
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
15246
|
-
* given reader into the given message object.
|
|
15247
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} msg The message object to deserialize into.
|
|
15248
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15249
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds}
|
|
15250
|
-
*/
|
|
15251
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.deserializeBinaryFromReader = function(msg, reader) {
|
|
15252
|
-
while (reader.nextField()) {
|
|
15253
|
-
if (reader.isEndGroup()) {
|
|
15254
|
-
break;
|
|
15255
|
-
}
|
|
15256
|
-
var field = reader.getFieldNumber();
|
|
15257
|
-
switch (field) {
|
|
15258
|
-
case 1:
|
|
15259
|
-
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
15260
|
-
msg.addIdentitiesIds(value);
|
|
15261
|
-
break;
|
|
15262
|
-
default:
|
|
15263
|
-
reader.skipField();
|
|
15264
|
-
break;
|
|
15265
|
-
}
|
|
15266
|
-
}
|
|
15267
|
-
return msg;
|
|
15268
|
-
};
|
|
15269
|
-
|
|
15270
|
-
|
|
15271
|
-
/**
|
|
15272
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
15273
|
-
* @return {!Uint8Array}
|
|
15274
|
-
*/
|
|
15275
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.serializeBinary = function() {
|
|
15276
|
-
var writer = new jspb.BinaryWriter();
|
|
15277
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.serializeBinaryToWriter(this, writer);
|
|
15278
|
-
return writer.getResultBuffer();
|
|
15279
|
-
};
|
|
15280
|
-
|
|
15281
|
-
|
|
15282
|
-
/**
|
|
15283
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
15284
|
-
* format), writing to the given BinaryWriter.
|
|
15285
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} message
|
|
15286
|
-
* @param {!jspb.BinaryWriter} writer
|
|
15287
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15288
|
-
*/
|
|
15289
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.serializeBinaryToWriter = function(message, writer) {
|
|
15290
|
-
var f = undefined;
|
|
15291
|
-
f = message.getIdentitiesIdsList_asU8();
|
|
15292
|
-
if (f.length > 0) {
|
|
15293
|
-
writer.writeRepeatedBytes(
|
|
15294
|
-
1,
|
|
15295
|
-
f
|
|
15296
|
-
);
|
|
15297
|
-
}
|
|
15298
|
-
};
|
|
15299
|
-
|
|
15300
|
-
|
|
15301
15165
|
/**
|
|
15302
|
-
* repeated bytes
|
|
15166
|
+
* repeated bytes ids = 1;
|
|
15303
15167
|
* @return {!Array<string>}
|
|
15304
15168
|
*/
|
|
15305
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.
|
|
15169
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdsList = function() {
|
|
15306
15170
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
15307
15171
|
};
|
|
15308
15172
|
|
|
15309
15173
|
|
|
15310
15174
|
/**
|
|
15311
|
-
* repeated bytes
|
|
15312
|
-
* This is a type-conversion wrapper around `
|
|
15175
|
+
* repeated bytes ids = 1;
|
|
15176
|
+
* This is a type-conversion wrapper around `getIdsList()`
|
|
15313
15177
|
* @return {!Array<string>}
|
|
15314
15178
|
*/
|
|
15315
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.
|
|
15179
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdsList_asB64 = function() {
|
|
15316
15180
|
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
|
|
15317
|
-
this.
|
|
15181
|
+
this.getIdsList()));
|
|
15318
15182
|
};
|
|
15319
15183
|
|
|
15320
15184
|
|
|
15321
15185
|
/**
|
|
15322
|
-
* repeated bytes
|
|
15186
|
+
* repeated bytes ids = 1;
|
|
15323
15187
|
* Note that Uint8Array is not supported on all browsers.
|
|
15324
15188
|
* @see http://caniuse.com/Uint8Array
|
|
15325
|
-
* This is a type-conversion wrapper around `
|
|
15189
|
+
* This is a type-conversion wrapper around `getIdsList()`
|
|
15326
15190
|
* @return {!Array<!Uint8Array>}
|
|
15327
15191
|
*/
|
|
15328
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.
|
|
15192
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdsList_asU8 = function() {
|
|
15329
15193
|
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
|
|
15330
|
-
this.
|
|
15194
|
+
this.getIdsList()));
|
|
15331
15195
|
};
|
|
15332
15196
|
|
|
15333
15197
|
|
|
15334
15198
|
/**
|
|
15335
15199
|
* @param {!(Array<!Uint8Array>|Array<string>)} value
|
|
15336
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0
|
|
15200
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
|
|
15337
15201
|
*/
|
|
15338
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.
|
|
15202
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.setIdsList = function(value) {
|
|
15339
15203
|
return jspb.Message.setField(this, 1, value || []);
|
|
15340
15204
|
};
|
|
15341
15205
|
|
|
@@ -15343,56 +15207,19 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15343
15207
|
/**
|
|
15344
15208
|
* @param {!(string|Uint8Array)} value
|
|
15345
15209
|
* @param {number=} opt_index
|
|
15346
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0
|
|
15210
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
|
|
15347
15211
|
*/
|
|
15348
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.
|
|
15212
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.addIds = function(value, opt_index) {
|
|
15349
15213
|
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
15350
15214
|
};
|
|
15351
15215
|
|
|
15352
15216
|
|
|
15353
15217
|
/**
|
|
15354
15218
|
* Clears the list making it empty but non-null.
|
|
15355
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} returns this
|
|
15356
|
-
*/
|
|
15357
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.clearIdentitiesIdsList = function() {
|
|
15358
|
-
return this.setIdentitiesIdsList([]);
|
|
15359
|
-
};
|
|
15360
|
-
|
|
15361
|
-
|
|
15362
|
-
/**
|
|
15363
|
-
* optional GetIdentitiesBalancesByKnownIdentityIds identities_ids = 1;
|
|
15364
|
-
* @return {?proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds}
|
|
15365
|
-
*/
|
|
15366
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdentitiesIds = function() {
|
|
15367
|
-
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} */ (
|
|
15368
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds, 1));
|
|
15369
|
-
};
|
|
15370
|
-
|
|
15371
|
-
|
|
15372
|
-
/**
|
|
15373
|
-
* @param {?proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds|undefined} value
|
|
15374
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
|
|
15375
|
-
*/
|
|
15376
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.setIdentitiesIds = function(value) {
|
|
15377
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
15378
|
-
};
|
|
15379
|
-
|
|
15380
|
-
|
|
15381
|
-
/**
|
|
15382
|
-
* Clears the message field making it undefined.
|
|
15383
15219
|
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
|
|
15384
15220
|
*/
|
|
15385
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.
|
|
15386
|
-
return this.
|
|
15387
|
-
};
|
|
15388
|
-
|
|
15389
|
-
|
|
15390
|
-
/**
|
|
15391
|
-
* Returns whether this field is set.
|
|
15392
|
-
* @return {boolean}
|
|
15393
|
-
*/
|
|
15394
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.hasIdentitiesIds = function() {
|
|
15395
|
-
return jspb.Message.getField(this, 1) != null;
|
|
15221
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.clearIdsList = function() {
|
|
15222
|
+
return this.setIdsList([]);
|
|
15396
15223
|
};
|
|
15397
15224
|
|
|
15398
15225
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dashevo/dapi-grpc",
|
|
3
|
-
"version": "1.3.0-dev.
|
|
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.
|
|
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",
|
|
@@ -362,10 +362,7 @@ message GetEvonodesProposedEpochBlocksByRangeRequest {
|
|
|
362
362
|
|
|
363
363
|
message GetIdentitiesBalancesRequest {
|
|
364
364
|
message GetIdentitiesBalancesRequestV0 {
|
|
365
|
-
|
|
366
|
-
repeated bytes identities_ids = 1;
|
|
367
|
-
}
|
|
368
|
-
GetIdentitiesBalancesByKnownIdentityIds identities_ids = 1;
|
|
365
|
+
repeated bytes ids = 1;
|
|
369
366
|
bool prove = 2;
|
|
370
367
|
}
|
|
371
368
|
|