@dashevo/dapi-grpc 3.0.0-dev.6 → 3.0.0-dev.8
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/build.rs +6 -2
- package/clients/drive/v0/nodejs/drive_pbjs.js +3168 -0
- package/clients/platform/v0/nodejs/platform_pbjs.js +3168 -0
- package/clients/platform/v0/nodejs/platform_protoc.js +3056 -145
- package/clients/platform/v0/web/platform_pb.d.ts +387 -0
- package/clients/platform/v0/web/platform_pb.js +3056 -145
- package/clients/platform/v0/web/platform_pb_service.d.ts +38 -0
- package/clients/platform/v0/web/platform_pb_service.js +80 -0
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +68 -0
- package/src/drive/client/org.dash.platform.dapi.v0.rs +289 -0
- package/src/drive/wasm/org.dash.platform.dapi.v0.rs +289 -0
- package/src/platform/client/org.dash.platform.dapi.v0.rs +303 -0
- package/src/platform/wasm/org.dash.platform.dapi.v0.rs +303 -0
|
@@ -21,12 +21,18 @@ var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_
|
|
|
21
21
|
goog.object.extend(proto, google_protobuf_struct_pb);
|
|
22
22
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
23
23
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
24
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.AddressBalanceChange', null, { proto });
|
|
25
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.AddressBalanceChange.OperationCase', null, { proto });
|
|
26
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries', null, { proto });
|
|
24
27
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.AddressInfoEntries', null, { proto });
|
|
25
28
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.AddressInfoEntry', null, { proto });
|
|
26
29
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.AllKeys', null, { proto });
|
|
27
30
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.BalanceAndNonce', null, { proto });
|
|
31
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges', null, { proto });
|
|
28
32
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.BroadcastStateTransitionRequest', null, { proto });
|
|
29
33
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.BroadcastStateTransitionResponse', null, { proto });
|
|
34
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries', null, { proto });
|
|
35
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges', null, { proto });
|
|
30
36
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressInfoRequest', null, { proto });
|
|
31
37
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0', null, { proto });
|
|
32
38
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.VersionCase', null, { proto });
|
|
@@ -394,6 +400,20 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVote
|
|
|
394
400
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal', null, { proto });
|
|
395
401
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals', null, { proto });
|
|
396
402
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.VersionCase', null, { proto });
|
|
403
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest', null, { proto });
|
|
404
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0', null, { proto });
|
|
405
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.VersionCase', null, { proto });
|
|
406
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse', null, { proto });
|
|
407
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0', null, { proto });
|
|
408
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.ResultCase', null, { proto });
|
|
409
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.VersionCase', null, { proto });
|
|
410
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest', null, { proto });
|
|
411
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0', null, { proto });
|
|
412
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.VersionCase', null, { proto });
|
|
413
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse', null, { proto });
|
|
414
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0', null, { proto });
|
|
415
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.ResultCase', null, { proto });
|
|
416
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.VersionCase', null, { proto });
|
|
397
417
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusRequest', null, { proto });
|
|
398
418
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusRequest.GetStatusRequestV0', null, { proto });
|
|
399
419
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusRequest.VersionCase', null, { proto });
|
|
@@ -6950,6 +6970,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
6950
6970
|
*/
|
|
6951
6971
|
proto.org.dash.platform.dapi.v0.AddressInfoEntries.displayName = 'proto.org.dash.platform.dapi.v0.AddressInfoEntries';
|
|
6952
6972
|
}
|
|
6973
|
+
/**
|
|
6974
|
+
* Generated by JsPbCodeGenerator.
|
|
6975
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
6976
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
6977
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
6978
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
6979
|
+
* valid.
|
|
6980
|
+
* @extends {jspb.Message}
|
|
6981
|
+
* @constructor
|
|
6982
|
+
*/
|
|
6983
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange = function(opt_data) {
|
|
6984
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.AddressBalanceChange.oneofGroups_);
|
|
6985
|
+
};
|
|
6986
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.AddressBalanceChange, jspb.Message);
|
|
6987
|
+
if (goog.DEBUG && !COMPILED) {
|
|
6988
|
+
/**
|
|
6989
|
+
* @public
|
|
6990
|
+
* @override
|
|
6991
|
+
*/
|
|
6992
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.displayName = 'proto.org.dash.platform.dapi.v0.AddressBalanceChange';
|
|
6993
|
+
}
|
|
6994
|
+
/**
|
|
6995
|
+
* Generated by JsPbCodeGenerator.
|
|
6996
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
6997
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
6998
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
6999
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7000
|
+
* valid.
|
|
7001
|
+
* @extends {jspb.Message}
|
|
7002
|
+
* @constructor
|
|
7003
|
+
*/
|
|
7004
|
+
proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges = function(opt_data) {
|
|
7005
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.repeatedFields_, null);
|
|
7006
|
+
};
|
|
7007
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges, jspb.Message);
|
|
7008
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7009
|
+
/**
|
|
7010
|
+
* @public
|
|
7011
|
+
* @override
|
|
7012
|
+
*/
|
|
7013
|
+
proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.displayName = 'proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges';
|
|
7014
|
+
}
|
|
7015
|
+
/**
|
|
7016
|
+
* Generated by JsPbCodeGenerator.
|
|
7017
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7018
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7019
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7020
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7021
|
+
* valid.
|
|
7022
|
+
* @extends {jspb.Message}
|
|
7023
|
+
* @constructor
|
|
7024
|
+
*/
|
|
7025
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries = function(opt_data) {
|
|
7026
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries.repeatedFields_, null);
|
|
7027
|
+
};
|
|
7028
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries, jspb.Message);
|
|
7029
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7030
|
+
/**
|
|
7031
|
+
* @public
|
|
7032
|
+
* @override
|
|
7033
|
+
*/
|
|
7034
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries.displayName = 'proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries';
|
|
7035
|
+
}
|
|
6953
7036
|
/**
|
|
6954
7037
|
* Generated by JsPbCodeGenerator.
|
|
6955
7038
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -7244,6 +7327,216 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
7244
7327
|
*/
|
|
7245
7328
|
proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0';
|
|
7246
7329
|
}
|
|
7330
|
+
/**
|
|
7331
|
+
* Generated by JsPbCodeGenerator.
|
|
7332
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7333
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7334
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7335
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7336
|
+
* valid.
|
|
7337
|
+
* @extends {jspb.Message}
|
|
7338
|
+
* @constructor
|
|
7339
|
+
*/
|
|
7340
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest = function(opt_data) {
|
|
7341
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.oneofGroups_);
|
|
7342
|
+
};
|
|
7343
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest, jspb.Message);
|
|
7344
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7345
|
+
/**
|
|
7346
|
+
* @public
|
|
7347
|
+
* @override
|
|
7348
|
+
*/
|
|
7349
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest';
|
|
7350
|
+
}
|
|
7351
|
+
/**
|
|
7352
|
+
* Generated by JsPbCodeGenerator.
|
|
7353
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7354
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7355
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7356
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7357
|
+
* valid.
|
|
7358
|
+
* @extends {jspb.Message}
|
|
7359
|
+
* @constructor
|
|
7360
|
+
*/
|
|
7361
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0 = function(opt_data) {
|
|
7362
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7363
|
+
};
|
|
7364
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0, jspb.Message);
|
|
7365
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7366
|
+
/**
|
|
7367
|
+
* @public
|
|
7368
|
+
* @override
|
|
7369
|
+
*/
|
|
7370
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0';
|
|
7371
|
+
}
|
|
7372
|
+
/**
|
|
7373
|
+
* Generated by JsPbCodeGenerator.
|
|
7374
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7375
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7376
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7377
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7378
|
+
* valid.
|
|
7379
|
+
* @extends {jspb.Message}
|
|
7380
|
+
* @constructor
|
|
7381
|
+
*/
|
|
7382
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse = function(opt_data) {
|
|
7383
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.oneofGroups_);
|
|
7384
|
+
};
|
|
7385
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse, jspb.Message);
|
|
7386
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7387
|
+
/**
|
|
7388
|
+
* @public
|
|
7389
|
+
* @override
|
|
7390
|
+
*/
|
|
7391
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse';
|
|
7392
|
+
}
|
|
7393
|
+
/**
|
|
7394
|
+
* Generated by JsPbCodeGenerator.
|
|
7395
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7396
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7397
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7398
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7399
|
+
* valid.
|
|
7400
|
+
* @extends {jspb.Message}
|
|
7401
|
+
* @constructor
|
|
7402
|
+
*/
|
|
7403
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0 = function(opt_data) {
|
|
7404
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.oneofGroups_);
|
|
7405
|
+
};
|
|
7406
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0, jspb.Message);
|
|
7407
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7408
|
+
/**
|
|
7409
|
+
* @public
|
|
7410
|
+
* @override
|
|
7411
|
+
*/
|
|
7412
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0';
|
|
7413
|
+
}
|
|
7414
|
+
/**
|
|
7415
|
+
* Generated by JsPbCodeGenerator.
|
|
7416
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7417
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7418
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7419
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7420
|
+
* valid.
|
|
7421
|
+
* @extends {jspb.Message}
|
|
7422
|
+
* @constructor
|
|
7423
|
+
*/
|
|
7424
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges = function(opt_data) {
|
|
7425
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.repeatedFields_, null);
|
|
7426
|
+
};
|
|
7427
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges, jspb.Message);
|
|
7428
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7429
|
+
/**
|
|
7430
|
+
* @public
|
|
7431
|
+
* @override
|
|
7432
|
+
*/
|
|
7433
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.displayName = 'proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges';
|
|
7434
|
+
}
|
|
7435
|
+
/**
|
|
7436
|
+
* Generated by JsPbCodeGenerator.
|
|
7437
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7438
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7439
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7440
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7441
|
+
* valid.
|
|
7442
|
+
* @extends {jspb.Message}
|
|
7443
|
+
* @constructor
|
|
7444
|
+
*/
|
|
7445
|
+
proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries = function(opt_data) {
|
|
7446
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries.repeatedFields_, null);
|
|
7447
|
+
};
|
|
7448
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries, jspb.Message);
|
|
7449
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7450
|
+
/**
|
|
7451
|
+
* @public
|
|
7452
|
+
* @override
|
|
7453
|
+
*/
|
|
7454
|
+
proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries.displayName = 'proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries';
|
|
7455
|
+
}
|
|
7456
|
+
/**
|
|
7457
|
+
* Generated by JsPbCodeGenerator.
|
|
7458
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7459
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7460
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7461
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7462
|
+
* valid.
|
|
7463
|
+
* @extends {jspb.Message}
|
|
7464
|
+
* @constructor
|
|
7465
|
+
*/
|
|
7466
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest = function(opt_data) {
|
|
7467
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.oneofGroups_);
|
|
7468
|
+
};
|
|
7469
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest, jspb.Message);
|
|
7470
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7471
|
+
/**
|
|
7472
|
+
* @public
|
|
7473
|
+
* @override
|
|
7474
|
+
*/
|
|
7475
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest';
|
|
7476
|
+
}
|
|
7477
|
+
/**
|
|
7478
|
+
* Generated by JsPbCodeGenerator.
|
|
7479
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7480
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7481
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7482
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7483
|
+
* valid.
|
|
7484
|
+
* @extends {jspb.Message}
|
|
7485
|
+
* @constructor
|
|
7486
|
+
*/
|
|
7487
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0 = function(opt_data) {
|
|
7488
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7489
|
+
};
|
|
7490
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0, jspb.Message);
|
|
7491
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7492
|
+
/**
|
|
7493
|
+
* @public
|
|
7494
|
+
* @override
|
|
7495
|
+
*/
|
|
7496
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0';
|
|
7497
|
+
}
|
|
7498
|
+
/**
|
|
7499
|
+
* Generated by JsPbCodeGenerator.
|
|
7500
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7501
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7502
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7503
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7504
|
+
* valid.
|
|
7505
|
+
* @extends {jspb.Message}
|
|
7506
|
+
* @constructor
|
|
7507
|
+
*/
|
|
7508
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse = function(opt_data) {
|
|
7509
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.oneofGroups_);
|
|
7510
|
+
};
|
|
7511
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse, jspb.Message);
|
|
7512
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7513
|
+
/**
|
|
7514
|
+
* @public
|
|
7515
|
+
* @override
|
|
7516
|
+
*/
|
|
7517
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse';
|
|
7518
|
+
}
|
|
7519
|
+
/**
|
|
7520
|
+
* Generated by JsPbCodeGenerator.
|
|
7521
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7522
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7523
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7524
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7525
|
+
* valid.
|
|
7526
|
+
* @extends {jspb.Message}
|
|
7527
|
+
* @constructor
|
|
7528
|
+
*/
|
|
7529
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0 = function(opt_data) {
|
|
7530
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.oneofGroups_);
|
|
7531
|
+
};
|
|
7532
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0, jspb.Message);
|
|
7533
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7534
|
+
/**
|
|
7535
|
+
* @public
|
|
7536
|
+
* @override
|
|
7537
|
+
*/
|
|
7538
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0';
|
|
7539
|
+
}
|
|
7247
7540
|
|
|
7248
7541
|
|
|
7249
7542
|
|
|
@@ -73464,21 +73757,22 @@ proto.org.dash.platform.dapi.v0.AddressInfoEntries.prototype.clearAddressInfoEnt
|
|
|
73464
73757
|
* @private {!Array<!Array<number>>}
|
|
73465
73758
|
* @const
|
|
73466
73759
|
*/
|
|
73467
|
-
proto.org.dash.platform.dapi.v0.
|
|
73760
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.oneofGroups_ = [[2,3]];
|
|
73468
73761
|
|
|
73469
73762
|
/**
|
|
73470
73763
|
* @enum {number}
|
|
73471
73764
|
*/
|
|
73472
|
-
proto.org.dash.platform.dapi.v0.
|
|
73473
|
-
|
|
73474
|
-
|
|
73765
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.OperationCase = {
|
|
73766
|
+
OPERATION_NOT_SET: 0,
|
|
73767
|
+
SET_BALANCE: 2,
|
|
73768
|
+
ADD_TO_BALANCE: 3
|
|
73475
73769
|
};
|
|
73476
73770
|
|
|
73477
73771
|
/**
|
|
73478
|
-
* @return {proto.org.dash.platform.dapi.v0.
|
|
73772
|
+
* @return {proto.org.dash.platform.dapi.v0.AddressBalanceChange.OperationCase}
|
|
73479
73773
|
*/
|
|
73480
|
-
proto.org.dash.platform.dapi.v0.
|
|
73481
|
-
return /** @type {proto.org.dash.platform.dapi.v0.
|
|
73774
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.prototype.getOperationCase = function() {
|
|
73775
|
+
return /** @type {proto.org.dash.platform.dapi.v0.AddressBalanceChange.OperationCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.AddressBalanceChange.oneofGroups_[0]));
|
|
73482
73776
|
};
|
|
73483
73777
|
|
|
73484
73778
|
|
|
@@ -73496,8 +73790,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
73496
73790
|
* http://goto/soy-param-migration
|
|
73497
73791
|
* @return {!Object}
|
|
73498
73792
|
*/
|
|
73499
|
-
proto.org.dash.platform.dapi.v0.
|
|
73500
|
-
return proto.org.dash.platform.dapi.v0.
|
|
73793
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.prototype.toObject = function(opt_includeInstance) {
|
|
73794
|
+
return proto.org.dash.platform.dapi.v0.AddressBalanceChange.toObject(opt_includeInstance, this);
|
|
73501
73795
|
};
|
|
73502
73796
|
|
|
73503
73797
|
|
|
@@ -73506,13 +73800,15 @@ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.prototype.toObject = func
|
|
|
73506
73800
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
73507
73801
|
* the JSPB instance for transitional soy proto support:
|
|
73508
73802
|
* http://goto/soy-param-migration
|
|
73509
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
73803
|
+
* @param {!proto.org.dash.platform.dapi.v0.AddressBalanceChange} msg The msg instance to transform.
|
|
73510
73804
|
* @return {!Object}
|
|
73511
73805
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
73512
73806
|
*/
|
|
73513
|
-
proto.org.dash.platform.dapi.v0.
|
|
73807
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.toObject = function(includeInstance, msg) {
|
|
73514
73808
|
var f, obj = {
|
|
73515
|
-
|
|
73809
|
+
address: msg.getAddress_asB64(),
|
|
73810
|
+
setBalance: jspb.Message.getFieldWithDefault(msg, 2, "0"),
|
|
73811
|
+
addToBalance: jspb.Message.getFieldWithDefault(msg, 3, "0")
|
|
73516
73812
|
};
|
|
73517
73813
|
|
|
73518
73814
|
if (includeInstance) {
|
|
@@ -73526,23 +73822,23 @@ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.toObject = function(inclu
|
|
|
73526
73822
|
/**
|
|
73527
73823
|
* Deserializes binary data (in protobuf wire format).
|
|
73528
73824
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
73529
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
73825
|
+
* @return {!proto.org.dash.platform.dapi.v0.AddressBalanceChange}
|
|
73530
73826
|
*/
|
|
73531
|
-
proto.org.dash.platform.dapi.v0.
|
|
73827
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.deserializeBinary = function(bytes) {
|
|
73532
73828
|
var reader = new jspb.BinaryReader(bytes);
|
|
73533
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
73534
|
-
return proto.org.dash.platform.dapi.v0.
|
|
73829
|
+
var msg = new proto.org.dash.platform.dapi.v0.AddressBalanceChange;
|
|
73830
|
+
return proto.org.dash.platform.dapi.v0.AddressBalanceChange.deserializeBinaryFromReader(msg, reader);
|
|
73535
73831
|
};
|
|
73536
73832
|
|
|
73537
73833
|
|
|
73538
73834
|
/**
|
|
73539
73835
|
* Deserializes binary data (in protobuf wire format) from the
|
|
73540
73836
|
* given reader into the given message object.
|
|
73541
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
73837
|
+
* @param {!proto.org.dash.platform.dapi.v0.AddressBalanceChange} msg The message object to deserialize into.
|
|
73542
73838
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
73543
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
73839
|
+
* @return {!proto.org.dash.platform.dapi.v0.AddressBalanceChange}
|
|
73544
73840
|
*/
|
|
73545
|
-
proto.org.dash.platform.dapi.v0.
|
|
73841
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.deserializeBinaryFromReader = function(msg, reader) {
|
|
73546
73842
|
while (reader.nextField()) {
|
|
73547
73843
|
if (reader.isEndGroup()) {
|
|
73548
73844
|
break;
|
|
@@ -73550,9 +73846,16 @@ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.deserializeBinaryFromRead
|
|
|
73550
73846
|
var field = reader.getFieldNumber();
|
|
73551
73847
|
switch (field) {
|
|
73552
73848
|
case 1:
|
|
73553
|
-
var value =
|
|
73554
|
-
|
|
73555
|
-
|
|
73849
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
73850
|
+
msg.setAddress(value);
|
|
73851
|
+
break;
|
|
73852
|
+
case 2:
|
|
73853
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
73854
|
+
msg.setSetBalance(value);
|
|
73855
|
+
break;
|
|
73856
|
+
case 3:
|
|
73857
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
73858
|
+
msg.setAddToBalance(value);
|
|
73556
73859
|
break;
|
|
73557
73860
|
default:
|
|
73558
73861
|
reader.skipField();
|
|
@@ -73567,9 +73870,9 @@ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.deserializeBinaryFromRead
|
|
|
73567
73870
|
* Serializes the message to binary data (in protobuf wire format).
|
|
73568
73871
|
* @return {!Uint8Array}
|
|
73569
73872
|
*/
|
|
73570
|
-
proto.org.dash.platform.dapi.v0.
|
|
73873
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.prototype.serializeBinary = function() {
|
|
73571
73874
|
var writer = new jspb.BinaryWriter();
|
|
73572
|
-
proto.org.dash.platform.dapi.v0.
|
|
73875
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.serializeBinaryToWriter(this, writer);
|
|
73573
73876
|
return writer.getResultBuffer();
|
|
73574
73877
|
};
|
|
73575
73878
|
|
|
@@ -73577,51 +73880,159 @@ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.prototype.serializeBinary
|
|
|
73577
73880
|
/**
|
|
73578
73881
|
* Serializes the given message to binary data (in protobuf wire
|
|
73579
73882
|
* format), writing to the given BinaryWriter.
|
|
73580
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
73883
|
+
* @param {!proto.org.dash.platform.dapi.v0.AddressBalanceChange} message
|
|
73581
73884
|
* @param {!jspb.BinaryWriter} writer
|
|
73582
73885
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
73583
73886
|
*/
|
|
73584
|
-
proto.org.dash.platform.dapi.v0.
|
|
73887
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.serializeBinaryToWriter = function(message, writer) {
|
|
73585
73888
|
var f = undefined;
|
|
73586
|
-
f = message.
|
|
73587
|
-
if (f
|
|
73588
|
-
writer.
|
|
73889
|
+
f = message.getAddress_asU8();
|
|
73890
|
+
if (f.length > 0) {
|
|
73891
|
+
writer.writeBytes(
|
|
73589
73892
|
1,
|
|
73590
|
-
f
|
|
73591
|
-
|
|
73893
|
+
f
|
|
73894
|
+
);
|
|
73895
|
+
}
|
|
73896
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
73897
|
+
if (f != null) {
|
|
73898
|
+
writer.writeUint64String(
|
|
73899
|
+
2,
|
|
73900
|
+
f
|
|
73901
|
+
);
|
|
73902
|
+
}
|
|
73903
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
73904
|
+
if (f != null) {
|
|
73905
|
+
writer.writeUint64String(
|
|
73906
|
+
3,
|
|
73907
|
+
f
|
|
73592
73908
|
);
|
|
73593
73909
|
}
|
|
73594
73910
|
};
|
|
73595
73911
|
|
|
73596
73912
|
|
|
73913
|
+
/**
|
|
73914
|
+
* optional bytes address = 1;
|
|
73915
|
+
* @return {string}
|
|
73916
|
+
*/
|
|
73917
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.prototype.getAddress = function() {
|
|
73918
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
73919
|
+
};
|
|
73920
|
+
|
|
73597
73921
|
|
|
73598
73922
|
/**
|
|
73599
|
-
*
|
|
73600
|
-
*
|
|
73601
|
-
*
|
|
73602
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
|
73603
|
-
* @private {!Array<!Array<number>>}
|
|
73604
|
-
* @const
|
|
73923
|
+
* optional bytes address = 1;
|
|
73924
|
+
* This is a type-conversion wrapper around `getAddress()`
|
|
73925
|
+
* @return {string}
|
|
73605
73926
|
*/
|
|
73606
|
-
proto.org.dash.platform.dapi.v0.
|
|
73927
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.prototype.getAddress_asB64 = function() {
|
|
73928
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
73929
|
+
this.getAddress()));
|
|
73930
|
+
};
|
|
73931
|
+
|
|
73607
73932
|
|
|
73608
73933
|
/**
|
|
73609
|
-
*
|
|
73934
|
+
* optional bytes address = 1;
|
|
73935
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
73936
|
+
* @see http://caniuse.com/Uint8Array
|
|
73937
|
+
* This is a type-conversion wrapper around `getAddress()`
|
|
73938
|
+
* @return {!Uint8Array}
|
|
73610
73939
|
*/
|
|
73611
|
-
proto.org.dash.platform.dapi.v0.
|
|
73612
|
-
|
|
73613
|
-
|
|
73614
|
-
PROOF: 2
|
|
73940
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.prototype.getAddress_asU8 = function() {
|
|
73941
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
73942
|
+
this.getAddress()));
|
|
73615
73943
|
};
|
|
73616
73944
|
|
|
73945
|
+
|
|
73617
73946
|
/**
|
|
73618
|
-
* @
|
|
73947
|
+
* @param {!(string|Uint8Array)} value
|
|
73948
|
+
* @return {!proto.org.dash.platform.dapi.v0.AddressBalanceChange} returns this
|
|
73619
73949
|
*/
|
|
73620
|
-
proto.org.dash.platform.dapi.v0.
|
|
73621
|
-
return
|
|
73950
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.prototype.setAddress = function(value) {
|
|
73951
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
73622
73952
|
};
|
|
73623
73953
|
|
|
73624
73954
|
|
|
73955
|
+
/**
|
|
73956
|
+
* optional uint64 set_balance = 2;
|
|
73957
|
+
* @return {string}
|
|
73958
|
+
*/
|
|
73959
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.prototype.getSetBalance = function() {
|
|
73960
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
|
|
73961
|
+
};
|
|
73962
|
+
|
|
73963
|
+
|
|
73964
|
+
/**
|
|
73965
|
+
* @param {string} value
|
|
73966
|
+
* @return {!proto.org.dash.platform.dapi.v0.AddressBalanceChange} returns this
|
|
73967
|
+
*/
|
|
73968
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.prototype.setSetBalance = function(value) {
|
|
73969
|
+
return jspb.Message.setOneofField(this, 2, proto.org.dash.platform.dapi.v0.AddressBalanceChange.oneofGroups_[0], value);
|
|
73970
|
+
};
|
|
73971
|
+
|
|
73972
|
+
|
|
73973
|
+
/**
|
|
73974
|
+
* Clears the field making it undefined.
|
|
73975
|
+
* @return {!proto.org.dash.platform.dapi.v0.AddressBalanceChange} returns this
|
|
73976
|
+
*/
|
|
73977
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.prototype.clearSetBalance = function() {
|
|
73978
|
+
return jspb.Message.setOneofField(this, 2, proto.org.dash.platform.dapi.v0.AddressBalanceChange.oneofGroups_[0], undefined);
|
|
73979
|
+
};
|
|
73980
|
+
|
|
73981
|
+
|
|
73982
|
+
/**
|
|
73983
|
+
* Returns whether this field is set.
|
|
73984
|
+
* @return {boolean}
|
|
73985
|
+
*/
|
|
73986
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.prototype.hasSetBalance = function() {
|
|
73987
|
+
return jspb.Message.getField(this, 2) != null;
|
|
73988
|
+
};
|
|
73989
|
+
|
|
73990
|
+
|
|
73991
|
+
/**
|
|
73992
|
+
* optional uint64 add_to_balance = 3;
|
|
73993
|
+
* @return {string}
|
|
73994
|
+
*/
|
|
73995
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.prototype.getAddToBalance = function() {
|
|
73996
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "0"));
|
|
73997
|
+
};
|
|
73998
|
+
|
|
73999
|
+
|
|
74000
|
+
/**
|
|
74001
|
+
* @param {string} value
|
|
74002
|
+
* @return {!proto.org.dash.platform.dapi.v0.AddressBalanceChange} returns this
|
|
74003
|
+
*/
|
|
74004
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.prototype.setAddToBalance = function(value) {
|
|
74005
|
+
return jspb.Message.setOneofField(this, 3, proto.org.dash.platform.dapi.v0.AddressBalanceChange.oneofGroups_[0], value);
|
|
74006
|
+
};
|
|
74007
|
+
|
|
74008
|
+
|
|
74009
|
+
/**
|
|
74010
|
+
* Clears the field making it undefined.
|
|
74011
|
+
* @return {!proto.org.dash.platform.dapi.v0.AddressBalanceChange} returns this
|
|
74012
|
+
*/
|
|
74013
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.prototype.clearAddToBalance = function() {
|
|
74014
|
+
return jspb.Message.setOneofField(this, 3, proto.org.dash.platform.dapi.v0.AddressBalanceChange.oneofGroups_[0], undefined);
|
|
74015
|
+
};
|
|
74016
|
+
|
|
74017
|
+
|
|
74018
|
+
/**
|
|
74019
|
+
* Returns whether this field is set.
|
|
74020
|
+
* @return {boolean}
|
|
74021
|
+
*/
|
|
74022
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.prototype.hasAddToBalance = function() {
|
|
74023
|
+
return jspb.Message.getField(this, 3) != null;
|
|
74024
|
+
};
|
|
74025
|
+
|
|
74026
|
+
|
|
74027
|
+
|
|
74028
|
+
/**
|
|
74029
|
+
* List of repeated fields within this message type.
|
|
74030
|
+
* @private {!Array<number>}
|
|
74031
|
+
* @const
|
|
74032
|
+
*/
|
|
74033
|
+
proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.repeatedFields_ = [2];
|
|
74034
|
+
|
|
74035
|
+
|
|
73625
74036
|
|
|
73626
74037
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
73627
74038
|
/**
|
|
@@ -73636,8 +74047,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
73636
74047
|
* http://goto/soy-param-migration
|
|
73637
74048
|
* @return {!Object}
|
|
73638
74049
|
*/
|
|
73639
|
-
proto.org.dash.platform.dapi.v0.
|
|
73640
|
-
return proto.org.dash.platform.dapi.v0.
|
|
74050
|
+
proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.prototype.toObject = function(opt_includeInstance) {
|
|
74051
|
+
return proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.toObject(opt_includeInstance, this);
|
|
73641
74052
|
};
|
|
73642
74053
|
|
|
73643
74054
|
|
|
@@ -73646,15 +74057,15 @@ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.
|
|
|
73646
74057
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
73647
74058
|
* the JSPB instance for transitional soy proto support:
|
|
73648
74059
|
* http://goto/soy-param-migration
|
|
73649
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
74060
|
+
* @param {!proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges} msg The msg instance to transform.
|
|
73650
74061
|
* @return {!Object}
|
|
73651
74062
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
73652
74063
|
*/
|
|
73653
|
-
proto.org.dash.platform.dapi.v0.
|
|
74064
|
+
proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.toObject = function(includeInstance, msg) {
|
|
73654
74065
|
var f, obj = {
|
|
73655
|
-
|
|
73656
|
-
|
|
73657
|
-
|
|
74066
|
+
blockHeight: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
74067
|
+
changesList: jspb.Message.toObjectList(msg.getChangesList(),
|
|
74068
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.toObject, includeInstance)
|
|
73658
74069
|
};
|
|
73659
74070
|
|
|
73660
74071
|
if (includeInstance) {
|
|
@@ -73668,23 +74079,23 @@ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.
|
|
|
73668
74079
|
/**
|
|
73669
74080
|
* Deserializes binary data (in protobuf wire format).
|
|
73670
74081
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
73671
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
74082
|
+
* @return {!proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges}
|
|
73672
74083
|
*/
|
|
73673
|
-
proto.org.dash.platform.dapi.v0.
|
|
74084
|
+
proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.deserializeBinary = function(bytes) {
|
|
73674
74085
|
var reader = new jspb.BinaryReader(bytes);
|
|
73675
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
73676
|
-
return proto.org.dash.platform.dapi.v0.
|
|
74086
|
+
var msg = new proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges;
|
|
74087
|
+
return proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.deserializeBinaryFromReader(msg, reader);
|
|
73677
74088
|
};
|
|
73678
74089
|
|
|
73679
74090
|
|
|
73680
74091
|
/**
|
|
73681
74092
|
* Deserializes binary data (in protobuf wire format) from the
|
|
73682
74093
|
* given reader into the given message object.
|
|
73683
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
74094
|
+
* @param {!proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges} msg The message object to deserialize into.
|
|
73684
74095
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
73685
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
74096
|
+
* @return {!proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges}
|
|
73686
74097
|
*/
|
|
73687
|
-
proto.org.dash.platform.dapi.v0.
|
|
74098
|
+
proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.deserializeBinaryFromReader = function(msg, reader) {
|
|
73688
74099
|
while (reader.nextField()) {
|
|
73689
74100
|
if (reader.isEndGroup()) {
|
|
73690
74101
|
break;
|
|
@@ -73692,19 +74103,13 @@ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.
|
|
|
73692
74103
|
var field = reader.getFieldNumber();
|
|
73693
74104
|
switch (field) {
|
|
73694
74105
|
case 1:
|
|
73695
|
-
var value =
|
|
73696
|
-
|
|
73697
|
-
msg.setAddressInfoEntry(value);
|
|
74106
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
74107
|
+
msg.setBlockHeight(value);
|
|
73698
74108
|
break;
|
|
73699
74109
|
case 2:
|
|
73700
|
-
var value = new proto.org.dash.platform.dapi.v0.
|
|
73701
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.
|
|
73702
|
-
msg.
|
|
73703
|
-
break;
|
|
73704
|
-
case 3:
|
|
73705
|
-
var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
|
|
73706
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
|
|
73707
|
-
msg.setMetadata(value);
|
|
74110
|
+
var value = new proto.org.dash.platform.dapi.v0.AddressBalanceChange;
|
|
74111
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.AddressBalanceChange.deserializeBinaryFromReader);
|
|
74112
|
+
msg.addChanges(value);
|
|
73708
74113
|
break;
|
|
73709
74114
|
default:
|
|
73710
74115
|
reader.skipField();
|
|
@@ -73719,9 +74124,9 @@ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.
|
|
|
73719
74124
|
* Serializes the message to binary data (in protobuf wire format).
|
|
73720
74125
|
* @return {!Uint8Array}
|
|
73721
74126
|
*/
|
|
73722
|
-
proto.org.dash.platform.dapi.v0.
|
|
74127
|
+
proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.prototype.serializeBinary = function() {
|
|
73723
74128
|
var writer = new jspb.BinaryWriter();
|
|
73724
|
-
proto.org.dash.platform.dapi.v0.
|
|
74129
|
+
proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.serializeBinaryToWriter(this, writer);
|
|
73725
74130
|
return writer.getResultBuffer();
|
|
73726
74131
|
};
|
|
73727
74132
|
|
|
@@ -73729,129 +74134,643 @@ proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.
|
|
|
73729
74134
|
/**
|
|
73730
74135
|
* Serializes the given message to binary data (in protobuf wire
|
|
73731
74136
|
* format), writing to the given BinaryWriter.
|
|
73732
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
74137
|
+
* @param {!proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges} message
|
|
73733
74138
|
* @param {!jspb.BinaryWriter} writer
|
|
73734
74139
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
73735
74140
|
*/
|
|
73736
|
-
proto.org.dash.platform.dapi.v0.
|
|
74141
|
+
proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.serializeBinaryToWriter = function(message, writer) {
|
|
73737
74142
|
var f = undefined;
|
|
73738
|
-
f = message.
|
|
73739
|
-
if (f
|
|
73740
|
-
writer.
|
|
74143
|
+
f = message.getBlockHeight();
|
|
74144
|
+
if (parseInt(f, 10) !== 0) {
|
|
74145
|
+
writer.writeUint64String(
|
|
73741
74146
|
1,
|
|
73742
|
-
f
|
|
73743
|
-
proto.org.dash.platform.dapi.v0.AddressInfoEntry.serializeBinaryToWriter
|
|
74147
|
+
f
|
|
73744
74148
|
);
|
|
73745
74149
|
}
|
|
73746
|
-
f = message.
|
|
73747
|
-
if (f
|
|
73748
|
-
writer.
|
|
74150
|
+
f = message.getChangesList();
|
|
74151
|
+
if (f.length > 0) {
|
|
74152
|
+
writer.writeRepeatedMessage(
|
|
73749
74153
|
2,
|
|
73750
74154
|
f,
|
|
73751
|
-
proto.org.dash.platform.dapi.v0.
|
|
73752
|
-
);
|
|
73753
|
-
}
|
|
73754
|
-
f = message.getMetadata();
|
|
73755
|
-
if (f != null) {
|
|
73756
|
-
writer.writeMessage(
|
|
73757
|
-
3,
|
|
73758
|
-
f,
|
|
73759
|
-
proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
|
|
74155
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.serializeBinaryToWriter
|
|
73760
74156
|
);
|
|
73761
74157
|
}
|
|
73762
74158
|
};
|
|
73763
74159
|
|
|
73764
74160
|
|
|
73765
74161
|
/**
|
|
73766
|
-
* optional
|
|
73767
|
-
* @return {
|
|
74162
|
+
* optional uint64 block_height = 1;
|
|
74163
|
+
* @return {string}
|
|
73768
74164
|
*/
|
|
73769
|
-
proto.org.dash.platform.dapi.v0.
|
|
73770
|
-
return /** @type{
|
|
73771
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.AddressInfoEntry, 1));
|
|
73772
|
-
};
|
|
73773
|
-
|
|
73774
|
-
|
|
73775
|
-
/**
|
|
73776
|
-
* @param {?proto.org.dash.platform.dapi.v0.AddressInfoEntry|undefined} value
|
|
73777
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0} returns this
|
|
73778
|
-
*/
|
|
73779
|
-
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.setAddressInfoEntry = function(value) {
|
|
73780
|
-
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.oneofGroups_[0], value);
|
|
74165
|
+
proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.prototype.getBlockHeight = function() {
|
|
74166
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "0"));
|
|
73781
74167
|
};
|
|
73782
74168
|
|
|
73783
74169
|
|
|
73784
74170
|
/**
|
|
73785
|
-
*
|
|
73786
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
74171
|
+
* @param {string} value
|
|
74172
|
+
* @return {!proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges} returns this
|
|
73787
74173
|
*/
|
|
73788
|
-
proto.org.dash.platform.dapi.v0.
|
|
73789
|
-
return
|
|
74174
|
+
proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.prototype.setBlockHeight = function(value) {
|
|
74175
|
+
return jspb.Message.setProto3StringIntField(this, 1, value);
|
|
73790
74176
|
};
|
|
73791
74177
|
|
|
73792
74178
|
|
|
73793
74179
|
/**
|
|
73794
|
-
*
|
|
73795
|
-
* @return {
|
|
74180
|
+
* repeated AddressBalanceChange changes = 2;
|
|
74181
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.AddressBalanceChange>}
|
|
73796
74182
|
*/
|
|
73797
|
-
proto.org.dash.platform.dapi.v0.
|
|
73798
|
-
return
|
|
74183
|
+
proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.prototype.getChangesList = function() {
|
|
74184
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.AddressBalanceChange>} */ (
|
|
74185
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.AddressBalanceChange, 2));
|
|
73799
74186
|
};
|
|
73800
74187
|
|
|
73801
74188
|
|
|
73802
74189
|
/**
|
|
73803
|
-
*
|
|
73804
|
-
* @return {
|
|
73805
|
-
|
|
73806
|
-
proto.org.dash.platform.dapi.v0.
|
|
73807
|
-
return
|
|
73808
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
|
|
74190
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.AddressBalanceChange>} value
|
|
74191
|
+
* @return {!proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges} returns this
|
|
74192
|
+
*/
|
|
74193
|
+
proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.prototype.setChangesList = function(value) {
|
|
74194
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
73809
74195
|
};
|
|
73810
74196
|
|
|
73811
74197
|
|
|
73812
74198
|
/**
|
|
73813
|
-
* @param {
|
|
73814
|
-
* @
|
|
73815
|
-
|
|
73816
|
-
|
|
73817
|
-
|
|
74199
|
+
* @param {!proto.org.dash.platform.dapi.v0.AddressBalanceChange=} opt_value
|
|
74200
|
+
* @param {number=} opt_index
|
|
74201
|
+
* @return {!proto.org.dash.platform.dapi.v0.AddressBalanceChange}
|
|
74202
|
+
*/
|
|
74203
|
+
proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.prototype.addChanges = function(opt_value, opt_index) {
|
|
74204
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.org.dash.platform.dapi.v0.AddressBalanceChange, opt_index);
|
|
73818
74205
|
};
|
|
73819
74206
|
|
|
73820
74207
|
|
|
73821
74208
|
/**
|
|
73822
|
-
* Clears the
|
|
73823
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
74209
|
+
* Clears the list making it empty but non-null.
|
|
74210
|
+
* @return {!proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges} returns this
|
|
73824
74211
|
*/
|
|
73825
|
-
proto.org.dash.platform.dapi.v0.
|
|
73826
|
-
return this.
|
|
74212
|
+
proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.prototype.clearChangesList = function() {
|
|
74213
|
+
return this.setChangesList([]);
|
|
73827
74214
|
};
|
|
73828
74215
|
|
|
73829
74216
|
|
|
74217
|
+
|
|
73830
74218
|
/**
|
|
73831
|
-
*
|
|
73832
|
-
* @
|
|
74219
|
+
* List of repeated fields within this message type.
|
|
74220
|
+
* @private {!Array<number>}
|
|
74221
|
+
* @const
|
|
73833
74222
|
*/
|
|
73834
|
-
proto.org.dash.platform.dapi.v0.
|
|
73835
|
-
return jspb.Message.getField(this, 2) != null;
|
|
73836
|
-
};
|
|
74223
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries.repeatedFields_ = [1];
|
|
73837
74224
|
|
|
73838
74225
|
|
|
74226
|
+
|
|
74227
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
73839
74228
|
/**
|
|
73840
|
-
*
|
|
73841
|
-
*
|
|
74229
|
+
* Creates an object representation of this proto.
|
|
74230
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
74231
|
+
* Optional fields that are not set will be set to undefined.
|
|
74232
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
74233
|
+
* For the list of reserved names please see:
|
|
74234
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
74235
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
74236
|
+
* JSPB instance for transitional soy proto support:
|
|
74237
|
+
* http://goto/soy-param-migration
|
|
74238
|
+
* @return {!Object}
|
|
73842
74239
|
*/
|
|
73843
|
-
proto.org.dash.platform.dapi.v0.
|
|
73844
|
-
return
|
|
73845
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
|
|
74240
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries.prototype.toObject = function(opt_includeInstance) {
|
|
74241
|
+
return proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries.toObject(opt_includeInstance, this);
|
|
73846
74242
|
};
|
|
73847
74243
|
|
|
73848
74244
|
|
|
73849
74245
|
/**
|
|
73850
|
-
* @
|
|
73851
|
-
* @
|
|
73852
|
-
|
|
73853
|
-
|
|
73854
|
-
|
|
74246
|
+
* Static version of the {@see toObject} method.
|
|
74247
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
74248
|
+
* the JSPB instance for transitional soy proto support:
|
|
74249
|
+
* http://goto/soy-param-migration
|
|
74250
|
+
* @param {!proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries} msg The msg instance to transform.
|
|
74251
|
+
* @return {!Object}
|
|
74252
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
74253
|
+
*/
|
|
74254
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries.toObject = function(includeInstance, msg) {
|
|
74255
|
+
var f, obj = {
|
|
74256
|
+
blockChangesList: jspb.Message.toObjectList(msg.getBlockChangesList(),
|
|
74257
|
+
proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.toObject, includeInstance)
|
|
74258
|
+
};
|
|
74259
|
+
|
|
74260
|
+
if (includeInstance) {
|
|
74261
|
+
obj.$jspbMessageInstance = msg;
|
|
74262
|
+
}
|
|
74263
|
+
return obj;
|
|
74264
|
+
};
|
|
74265
|
+
}
|
|
74266
|
+
|
|
74267
|
+
|
|
74268
|
+
/**
|
|
74269
|
+
* Deserializes binary data (in protobuf wire format).
|
|
74270
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
74271
|
+
* @return {!proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries}
|
|
74272
|
+
*/
|
|
74273
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries.deserializeBinary = function(bytes) {
|
|
74274
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
74275
|
+
var msg = new proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries;
|
|
74276
|
+
return proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries.deserializeBinaryFromReader(msg, reader);
|
|
74277
|
+
};
|
|
74278
|
+
|
|
74279
|
+
|
|
74280
|
+
/**
|
|
74281
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
74282
|
+
* given reader into the given message object.
|
|
74283
|
+
* @param {!proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries} msg The message object to deserialize into.
|
|
74284
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
74285
|
+
* @return {!proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries}
|
|
74286
|
+
*/
|
|
74287
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries.deserializeBinaryFromReader = function(msg, reader) {
|
|
74288
|
+
while (reader.nextField()) {
|
|
74289
|
+
if (reader.isEndGroup()) {
|
|
74290
|
+
break;
|
|
74291
|
+
}
|
|
74292
|
+
var field = reader.getFieldNumber();
|
|
74293
|
+
switch (field) {
|
|
74294
|
+
case 1:
|
|
74295
|
+
var value = new proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges;
|
|
74296
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.deserializeBinaryFromReader);
|
|
74297
|
+
msg.addBlockChanges(value);
|
|
74298
|
+
break;
|
|
74299
|
+
default:
|
|
74300
|
+
reader.skipField();
|
|
74301
|
+
break;
|
|
74302
|
+
}
|
|
74303
|
+
}
|
|
74304
|
+
return msg;
|
|
74305
|
+
};
|
|
74306
|
+
|
|
74307
|
+
|
|
74308
|
+
/**
|
|
74309
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
74310
|
+
* @return {!Uint8Array}
|
|
74311
|
+
*/
|
|
74312
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries.prototype.serializeBinary = function() {
|
|
74313
|
+
var writer = new jspb.BinaryWriter();
|
|
74314
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries.serializeBinaryToWriter(this, writer);
|
|
74315
|
+
return writer.getResultBuffer();
|
|
74316
|
+
};
|
|
74317
|
+
|
|
74318
|
+
|
|
74319
|
+
/**
|
|
74320
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
74321
|
+
* format), writing to the given BinaryWriter.
|
|
74322
|
+
* @param {!proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries} message
|
|
74323
|
+
* @param {!jspb.BinaryWriter} writer
|
|
74324
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
74325
|
+
*/
|
|
74326
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries.serializeBinaryToWriter = function(message, writer) {
|
|
74327
|
+
var f = undefined;
|
|
74328
|
+
f = message.getBlockChangesList();
|
|
74329
|
+
if (f.length > 0) {
|
|
74330
|
+
writer.writeRepeatedMessage(
|
|
74331
|
+
1,
|
|
74332
|
+
f,
|
|
74333
|
+
proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges.serializeBinaryToWriter
|
|
74334
|
+
);
|
|
74335
|
+
}
|
|
74336
|
+
};
|
|
74337
|
+
|
|
74338
|
+
|
|
74339
|
+
/**
|
|
74340
|
+
* repeated BlockAddressBalanceChanges block_changes = 1;
|
|
74341
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges>}
|
|
74342
|
+
*/
|
|
74343
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries.prototype.getBlockChangesList = function() {
|
|
74344
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges>} */ (
|
|
74345
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges, 1));
|
|
74346
|
+
};
|
|
74347
|
+
|
|
74348
|
+
|
|
74349
|
+
/**
|
|
74350
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges>} value
|
|
74351
|
+
* @return {!proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries} returns this
|
|
74352
|
+
*/
|
|
74353
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries.prototype.setBlockChangesList = function(value) {
|
|
74354
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
74355
|
+
};
|
|
74356
|
+
|
|
74357
|
+
|
|
74358
|
+
/**
|
|
74359
|
+
* @param {!proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges=} opt_value
|
|
74360
|
+
* @param {number=} opt_index
|
|
74361
|
+
* @return {!proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges}
|
|
74362
|
+
*/
|
|
74363
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries.prototype.addBlockChanges = function(opt_value, opt_index) {
|
|
74364
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.org.dash.platform.dapi.v0.BlockAddressBalanceChanges, opt_index);
|
|
74365
|
+
};
|
|
74366
|
+
|
|
74367
|
+
|
|
74368
|
+
/**
|
|
74369
|
+
* Clears the list making it empty but non-null.
|
|
74370
|
+
* @return {!proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries} returns this
|
|
74371
|
+
*/
|
|
74372
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries.prototype.clearBlockChangesList = function() {
|
|
74373
|
+
return this.setBlockChangesList([]);
|
|
74374
|
+
};
|
|
74375
|
+
|
|
74376
|
+
|
|
74377
|
+
|
|
74378
|
+
/**
|
|
74379
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
74380
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
74381
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
74382
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
74383
|
+
* @private {!Array<!Array<number>>}
|
|
74384
|
+
* @const
|
|
74385
|
+
*/
|
|
74386
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.oneofGroups_ = [[1]];
|
|
74387
|
+
|
|
74388
|
+
/**
|
|
74389
|
+
* @enum {number}
|
|
74390
|
+
*/
|
|
74391
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.VersionCase = {
|
|
74392
|
+
VERSION_NOT_SET: 0,
|
|
74393
|
+
V0: 1
|
|
74394
|
+
};
|
|
74395
|
+
|
|
74396
|
+
/**
|
|
74397
|
+
* @return {proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.VersionCase}
|
|
74398
|
+
*/
|
|
74399
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.prototype.getVersionCase = function() {
|
|
74400
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.oneofGroups_[0]));
|
|
74401
|
+
};
|
|
74402
|
+
|
|
74403
|
+
|
|
74404
|
+
|
|
74405
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
74406
|
+
/**
|
|
74407
|
+
* Creates an object representation of this proto.
|
|
74408
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
74409
|
+
* Optional fields that are not set will be set to undefined.
|
|
74410
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
74411
|
+
* For the list of reserved names please see:
|
|
74412
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
74413
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
74414
|
+
* JSPB instance for transitional soy proto support:
|
|
74415
|
+
* http://goto/soy-param-migration
|
|
74416
|
+
* @return {!Object}
|
|
74417
|
+
*/
|
|
74418
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.prototype.toObject = function(opt_includeInstance) {
|
|
74419
|
+
return proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.toObject(opt_includeInstance, this);
|
|
74420
|
+
};
|
|
74421
|
+
|
|
74422
|
+
|
|
74423
|
+
/**
|
|
74424
|
+
* Static version of the {@see toObject} method.
|
|
74425
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
74426
|
+
* the JSPB instance for transitional soy proto support:
|
|
74427
|
+
* http://goto/soy-param-migration
|
|
74428
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse} msg The msg instance to transform.
|
|
74429
|
+
* @return {!Object}
|
|
74430
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
74431
|
+
*/
|
|
74432
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.toObject = function(includeInstance, msg) {
|
|
74433
|
+
var f, obj = {
|
|
74434
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.toObject(includeInstance, f)
|
|
74435
|
+
};
|
|
74436
|
+
|
|
74437
|
+
if (includeInstance) {
|
|
74438
|
+
obj.$jspbMessageInstance = msg;
|
|
74439
|
+
}
|
|
74440
|
+
return obj;
|
|
74441
|
+
};
|
|
74442
|
+
}
|
|
74443
|
+
|
|
74444
|
+
|
|
74445
|
+
/**
|
|
74446
|
+
* Deserializes binary data (in protobuf wire format).
|
|
74447
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
74448
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse}
|
|
74449
|
+
*/
|
|
74450
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.deserializeBinary = function(bytes) {
|
|
74451
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
74452
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetAddressInfoResponse;
|
|
74453
|
+
return proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.deserializeBinaryFromReader(msg, reader);
|
|
74454
|
+
};
|
|
74455
|
+
|
|
74456
|
+
|
|
74457
|
+
/**
|
|
74458
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
74459
|
+
* given reader into the given message object.
|
|
74460
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse} msg The message object to deserialize into.
|
|
74461
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
74462
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse}
|
|
74463
|
+
*/
|
|
74464
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
74465
|
+
while (reader.nextField()) {
|
|
74466
|
+
if (reader.isEndGroup()) {
|
|
74467
|
+
break;
|
|
74468
|
+
}
|
|
74469
|
+
var field = reader.getFieldNumber();
|
|
74470
|
+
switch (field) {
|
|
74471
|
+
case 1:
|
|
74472
|
+
var value = new proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0;
|
|
74473
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.deserializeBinaryFromReader);
|
|
74474
|
+
msg.setV0(value);
|
|
74475
|
+
break;
|
|
74476
|
+
default:
|
|
74477
|
+
reader.skipField();
|
|
74478
|
+
break;
|
|
74479
|
+
}
|
|
74480
|
+
}
|
|
74481
|
+
return msg;
|
|
74482
|
+
};
|
|
74483
|
+
|
|
74484
|
+
|
|
74485
|
+
/**
|
|
74486
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
74487
|
+
* @return {!Uint8Array}
|
|
74488
|
+
*/
|
|
74489
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.prototype.serializeBinary = function() {
|
|
74490
|
+
var writer = new jspb.BinaryWriter();
|
|
74491
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.serializeBinaryToWriter(this, writer);
|
|
74492
|
+
return writer.getResultBuffer();
|
|
74493
|
+
};
|
|
74494
|
+
|
|
74495
|
+
|
|
74496
|
+
/**
|
|
74497
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
74498
|
+
* format), writing to the given BinaryWriter.
|
|
74499
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse} message
|
|
74500
|
+
* @param {!jspb.BinaryWriter} writer
|
|
74501
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
74502
|
+
*/
|
|
74503
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.serializeBinaryToWriter = function(message, writer) {
|
|
74504
|
+
var f = undefined;
|
|
74505
|
+
f = message.getV0();
|
|
74506
|
+
if (f != null) {
|
|
74507
|
+
writer.writeMessage(
|
|
74508
|
+
1,
|
|
74509
|
+
f,
|
|
74510
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.serializeBinaryToWriter
|
|
74511
|
+
);
|
|
74512
|
+
}
|
|
74513
|
+
};
|
|
74514
|
+
|
|
74515
|
+
|
|
74516
|
+
|
|
74517
|
+
/**
|
|
74518
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
74519
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
74520
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
74521
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
74522
|
+
* @private {!Array<!Array<number>>}
|
|
74523
|
+
* @const
|
|
74524
|
+
*/
|
|
74525
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.oneofGroups_ = [[1,2]];
|
|
74526
|
+
|
|
74527
|
+
/**
|
|
74528
|
+
* @enum {number}
|
|
74529
|
+
*/
|
|
74530
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.ResultCase = {
|
|
74531
|
+
RESULT_NOT_SET: 0,
|
|
74532
|
+
ADDRESS_INFO_ENTRY: 1,
|
|
74533
|
+
PROOF: 2
|
|
74534
|
+
};
|
|
74535
|
+
|
|
74536
|
+
/**
|
|
74537
|
+
* @return {proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.ResultCase}
|
|
74538
|
+
*/
|
|
74539
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.getResultCase = function() {
|
|
74540
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.oneofGroups_[0]));
|
|
74541
|
+
};
|
|
74542
|
+
|
|
74543
|
+
|
|
74544
|
+
|
|
74545
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
74546
|
+
/**
|
|
74547
|
+
* Creates an object representation of this proto.
|
|
74548
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
74549
|
+
* Optional fields that are not set will be set to undefined.
|
|
74550
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
74551
|
+
* For the list of reserved names please see:
|
|
74552
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
74553
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
74554
|
+
* JSPB instance for transitional soy proto support:
|
|
74555
|
+
* http://goto/soy-param-migration
|
|
74556
|
+
* @return {!Object}
|
|
74557
|
+
*/
|
|
74558
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.toObject = function(opt_includeInstance) {
|
|
74559
|
+
return proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.toObject(opt_includeInstance, this);
|
|
74560
|
+
};
|
|
74561
|
+
|
|
74562
|
+
|
|
74563
|
+
/**
|
|
74564
|
+
* Static version of the {@see toObject} method.
|
|
74565
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
74566
|
+
* the JSPB instance for transitional soy proto support:
|
|
74567
|
+
* http://goto/soy-param-migration
|
|
74568
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0} msg The msg instance to transform.
|
|
74569
|
+
* @return {!Object}
|
|
74570
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
74571
|
+
*/
|
|
74572
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.toObject = function(includeInstance, msg) {
|
|
74573
|
+
var f, obj = {
|
|
74574
|
+
addressInfoEntry: (f = msg.getAddressInfoEntry()) && proto.org.dash.platform.dapi.v0.AddressInfoEntry.toObject(includeInstance, f),
|
|
74575
|
+
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
74576
|
+
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
74577
|
+
};
|
|
74578
|
+
|
|
74579
|
+
if (includeInstance) {
|
|
74580
|
+
obj.$jspbMessageInstance = msg;
|
|
74581
|
+
}
|
|
74582
|
+
return obj;
|
|
74583
|
+
};
|
|
74584
|
+
}
|
|
74585
|
+
|
|
74586
|
+
|
|
74587
|
+
/**
|
|
74588
|
+
* Deserializes binary data (in protobuf wire format).
|
|
74589
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
74590
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0}
|
|
74591
|
+
*/
|
|
74592
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.deserializeBinary = function(bytes) {
|
|
74593
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
74594
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0;
|
|
74595
|
+
return proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.deserializeBinaryFromReader(msg, reader);
|
|
74596
|
+
};
|
|
74597
|
+
|
|
74598
|
+
|
|
74599
|
+
/**
|
|
74600
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
74601
|
+
* given reader into the given message object.
|
|
74602
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0} msg The message object to deserialize into.
|
|
74603
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
74604
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0}
|
|
74605
|
+
*/
|
|
74606
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
74607
|
+
while (reader.nextField()) {
|
|
74608
|
+
if (reader.isEndGroup()) {
|
|
74609
|
+
break;
|
|
74610
|
+
}
|
|
74611
|
+
var field = reader.getFieldNumber();
|
|
74612
|
+
switch (field) {
|
|
74613
|
+
case 1:
|
|
74614
|
+
var value = new proto.org.dash.platform.dapi.v0.AddressInfoEntry;
|
|
74615
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.AddressInfoEntry.deserializeBinaryFromReader);
|
|
74616
|
+
msg.setAddressInfoEntry(value);
|
|
74617
|
+
break;
|
|
74618
|
+
case 2:
|
|
74619
|
+
var value = new proto.org.dash.platform.dapi.v0.Proof;
|
|
74620
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
|
|
74621
|
+
msg.setProof(value);
|
|
74622
|
+
break;
|
|
74623
|
+
case 3:
|
|
74624
|
+
var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
|
|
74625
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
|
|
74626
|
+
msg.setMetadata(value);
|
|
74627
|
+
break;
|
|
74628
|
+
default:
|
|
74629
|
+
reader.skipField();
|
|
74630
|
+
break;
|
|
74631
|
+
}
|
|
74632
|
+
}
|
|
74633
|
+
return msg;
|
|
74634
|
+
};
|
|
74635
|
+
|
|
74636
|
+
|
|
74637
|
+
/**
|
|
74638
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
74639
|
+
* @return {!Uint8Array}
|
|
74640
|
+
*/
|
|
74641
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.serializeBinary = function() {
|
|
74642
|
+
var writer = new jspb.BinaryWriter();
|
|
74643
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.serializeBinaryToWriter(this, writer);
|
|
74644
|
+
return writer.getResultBuffer();
|
|
74645
|
+
};
|
|
74646
|
+
|
|
74647
|
+
|
|
74648
|
+
/**
|
|
74649
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
74650
|
+
* format), writing to the given BinaryWriter.
|
|
74651
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0} message
|
|
74652
|
+
* @param {!jspb.BinaryWriter} writer
|
|
74653
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
74654
|
+
*/
|
|
74655
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.serializeBinaryToWriter = function(message, writer) {
|
|
74656
|
+
var f = undefined;
|
|
74657
|
+
f = message.getAddressInfoEntry();
|
|
74658
|
+
if (f != null) {
|
|
74659
|
+
writer.writeMessage(
|
|
74660
|
+
1,
|
|
74661
|
+
f,
|
|
74662
|
+
proto.org.dash.platform.dapi.v0.AddressInfoEntry.serializeBinaryToWriter
|
|
74663
|
+
);
|
|
74664
|
+
}
|
|
74665
|
+
f = message.getProof();
|
|
74666
|
+
if (f != null) {
|
|
74667
|
+
writer.writeMessage(
|
|
74668
|
+
2,
|
|
74669
|
+
f,
|
|
74670
|
+
proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
|
|
74671
|
+
);
|
|
74672
|
+
}
|
|
74673
|
+
f = message.getMetadata();
|
|
74674
|
+
if (f != null) {
|
|
74675
|
+
writer.writeMessage(
|
|
74676
|
+
3,
|
|
74677
|
+
f,
|
|
74678
|
+
proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
|
|
74679
|
+
);
|
|
74680
|
+
}
|
|
74681
|
+
};
|
|
74682
|
+
|
|
74683
|
+
|
|
74684
|
+
/**
|
|
74685
|
+
* optional AddressInfoEntry address_info_entry = 1;
|
|
74686
|
+
* @return {?proto.org.dash.platform.dapi.v0.AddressInfoEntry}
|
|
74687
|
+
*/
|
|
74688
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.getAddressInfoEntry = function() {
|
|
74689
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.AddressInfoEntry} */ (
|
|
74690
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.AddressInfoEntry, 1));
|
|
74691
|
+
};
|
|
74692
|
+
|
|
74693
|
+
|
|
74694
|
+
/**
|
|
74695
|
+
* @param {?proto.org.dash.platform.dapi.v0.AddressInfoEntry|undefined} value
|
|
74696
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0} returns this
|
|
74697
|
+
*/
|
|
74698
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.setAddressInfoEntry = function(value) {
|
|
74699
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.oneofGroups_[0], value);
|
|
74700
|
+
};
|
|
74701
|
+
|
|
74702
|
+
|
|
74703
|
+
/**
|
|
74704
|
+
* Clears the message field making it undefined.
|
|
74705
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0} returns this
|
|
74706
|
+
*/
|
|
74707
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.clearAddressInfoEntry = function() {
|
|
74708
|
+
return this.setAddressInfoEntry(undefined);
|
|
74709
|
+
};
|
|
74710
|
+
|
|
74711
|
+
|
|
74712
|
+
/**
|
|
74713
|
+
* Returns whether this field is set.
|
|
74714
|
+
* @return {boolean}
|
|
74715
|
+
*/
|
|
74716
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.hasAddressInfoEntry = function() {
|
|
74717
|
+
return jspb.Message.getField(this, 1) != null;
|
|
74718
|
+
};
|
|
74719
|
+
|
|
74720
|
+
|
|
74721
|
+
/**
|
|
74722
|
+
* optional Proof proof = 2;
|
|
74723
|
+
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
74724
|
+
*/
|
|
74725
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.getProof = function() {
|
|
74726
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
|
|
74727
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
|
|
74728
|
+
};
|
|
74729
|
+
|
|
74730
|
+
|
|
74731
|
+
/**
|
|
74732
|
+
* @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
|
|
74733
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0} returns this
|
|
74734
|
+
*/
|
|
74735
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.setProof = function(value) {
|
|
74736
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.oneofGroups_[0], value);
|
|
74737
|
+
};
|
|
74738
|
+
|
|
74739
|
+
|
|
74740
|
+
/**
|
|
74741
|
+
* Clears the message field making it undefined.
|
|
74742
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0} returns this
|
|
74743
|
+
*/
|
|
74744
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.clearProof = function() {
|
|
74745
|
+
return this.setProof(undefined);
|
|
74746
|
+
};
|
|
74747
|
+
|
|
74748
|
+
|
|
74749
|
+
/**
|
|
74750
|
+
* Returns whether this field is set.
|
|
74751
|
+
* @return {boolean}
|
|
74752
|
+
*/
|
|
74753
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.hasProof = function() {
|
|
74754
|
+
return jspb.Message.getField(this, 2) != null;
|
|
74755
|
+
};
|
|
74756
|
+
|
|
74757
|
+
|
|
74758
|
+
/**
|
|
74759
|
+
* optional ResponseMetadata metadata = 3;
|
|
74760
|
+
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
|
|
74761
|
+
*/
|
|
74762
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.getMetadata = function() {
|
|
74763
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
|
|
74764
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
|
|
74765
|
+
};
|
|
74766
|
+
|
|
74767
|
+
|
|
74768
|
+
/**
|
|
74769
|
+
* @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
|
|
74770
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0} returns this
|
|
74771
|
+
*/
|
|
74772
|
+
proto.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0.prototype.setMetadata = function(value) {
|
|
74773
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
73855
74774
|
};
|
|
73856
74775
|
|
|
73857
74776
|
|
|
@@ -75578,7 +76497,8 @@ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranc
|
|
|
75578
76497
|
proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.toObject = function(includeInstance, msg) {
|
|
75579
76498
|
var f, obj = {
|
|
75580
76499
|
key: msg.getKey_asB64(),
|
|
75581
|
-
depth: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
76500
|
+
depth: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
76501
|
+
checkpointHeight: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
75582
76502
|
};
|
|
75583
76503
|
|
|
75584
76504
|
if (includeInstance) {
|
|
@@ -75623,6 +76543,10 @@ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranc
|
|
|
75623
76543
|
var value = /** @type {number} */ (reader.readUint32());
|
|
75624
76544
|
msg.setDepth(value);
|
|
75625
76545
|
break;
|
|
76546
|
+
case 3:
|
|
76547
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
76548
|
+
msg.setCheckpointHeight(value);
|
|
76549
|
+
break;
|
|
75626
76550
|
default:
|
|
75627
76551
|
reader.skipField();
|
|
75628
76552
|
break;
|
|
@@ -75666,6 +76590,13 @@ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranc
|
|
|
75666
76590
|
f
|
|
75667
76591
|
);
|
|
75668
76592
|
}
|
|
76593
|
+
f = message.getCheckpointHeight();
|
|
76594
|
+
if (f !== 0) {
|
|
76595
|
+
writer.writeUint64(
|
|
76596
|
+
3,
|
|
76597
|
+
f
|
|
76598
|
+
);
|
|
76599
|
+
}
|
|
75669
76600
|
};
|
|
75670
76601
|
|
|
75671
76602
|
|
|
@@ -75729,6 +76660,24 @@ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranc
|
|
|
75729
76660
|
};
|
|
75730
76661
|
|
|
75731
76662
|
|
|
76663
|
+
/**
|
|
76664
|
+
* optional uint64 checkpoint_height = 3;
|
|
76665
|
+
* @return {number}
|
|
76666
|
+
*/
|
|
76667
|
+
proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.prototype.getCheckpointHeight = function() {
|
|
76668
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
76669
|
+
};
|
|
76670
|
+
|
|
76671
|
+
|
|
76672
|
+
/**
|
|
76673
|
+
* @param {number} value
|
|
76674
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0} returns this
|
|
76675
|
+
*/
|
|
76676
|
+
proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.prototype.setCheckpointHeight = function(value) {
|
|
76677
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
76678
|
+
};
|
|
76679
|
+
|
|
76680
|
+
|
|
75732
76681
|
/**
|
|
75733
76682
|
* optional GetAddressesBranchStateRequestV0 v0 = 1;
|
|
75734
76683
|
* @return {?proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0}
|
|
@@ -76096,6 +77045,1968 @@ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.prototype.hasV0
|
|
|
76096
77045
|
};
|
|
76097
77046
|
|
|
76098
77047
|
|
|
77048
|
+
|
|
77049
|
+
/**
|
|
77050
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
77051
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
77052
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
77053
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
77054
|
+
* @private {!Array<!Array<number>>}
|
|
77055
|
+
* @const
|
|
77056
|
+
*/
|
|
77057
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.oneofGroups_ = [[1]];
|
|
77058
|
+
|
|
77059
|
+
/**
|
|
77060
|
+
* @enum {number}
|
|
77061
|
+
*/
|
|
77062
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.VersionCase = {
|
|
77063
|
+
VERSION_NOT_SET: 0,
|
|
77064
|
+
V0: 1
|
|
77065
|
+
};
|
|
77066
|
+
|
|
77067
|
+
/**
|
|
77068
|
+
* @return {proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.VersionCase}
|
|
77069
|
+
*/
|
|
77070
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.prototype.getVersionCase = function() {
|
|
77071
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.oneofGroups_[0]));
|
|
77072
|
+
};
|
|
77073
|
+
|
|
77074
|
+
|
|
77075
|
+
|
|
77076
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
77077
|
+
/**
|
|
77078
|
+
* Creates an object representation of this proto.
|
|
77079
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
77080
|
+
* Optional fields that are not set will be set to undefined.
|
|
77081
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
77082
|
+
* For the list of reserved names please see:
|
|
77083
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
77084
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
77085
|
+
* JSPB instance for transitional soy proto support:
|
|
77086
|
+
* http://goto/soy-param-migration
|
|
77087
|
+
* @return {!Object}
|
|
77088
|
+
*/
|
|
77089
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
77090
|
+
return proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.toObject(opt_includeInstance, this);
|
|
77091
|
+
};
|
|
77092
|
+
|
|
77093
|
+
|
|
77094
|
+
/**
|
|
77095
|
+
* Static version of the {@see toObject} method.
|
|
77096
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
77097
|
+
* the JSPB instance for transitional soy proto support:
|
|
77098
|
+
* http://goto/soy-param-migration
|
|
77099
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest} msg The msg instance to transform.
|
|
77100
|
+
* @return {!Object}
|
|
77101
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77102
|
+
*/
|
|
77103
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.toObject = function(includeInstance, msg) {
|
|
77104
|
+
var f, obj = {
|
|
77105
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0.toObject(includeInstance, f)
|
|
77106
|
+
};
|
|
77107
|
+
|
|
77108
|
+
if (includeInstance) {
|
|
77109
|
+
obj.$jspbMessageInstance = msg;
|
|
77110
|
+
}
|
|
77111
|
+
return obj;
|
|
77112
|
+
};
|
|
77113
|
+
}
|
|
77114
|
+
|
|
77115
|
+
|
|
77116
|
+
/**
|
|
77117
|
+
* Deserializes binary data (in protobuf wire format).
|
|
77118
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
77119
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest}
|
|
77120
|
+
*/
|
|
77121
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.deserializeBinary = function(bytes) {
|
|
77122
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
77123
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest;
|
|
77124
|
+
return proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.deserializeBinaryFromReader(msg, reader);
|
|
77125
|
+
};
|
|
77126
|
+
|
|
77127
|
+
|
|
77128
|
+
/**
|
|
77129
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
77130
|
+
* given reader into the given message object.
|
|
77131
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest} msg The message object to deserialize into.
|
|
77132
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
77133
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest}
|
|
77134
|
+
*/
|
|
77135
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
77136
|
+
while (reader.nextField()) {
|
|
77137
|
+
if (reader.isEndGroup()) {
|
|
77138
|
+
break;
|
|
77139
|
+
}
|
|
77140
|
+
var field = reader.getFieldNumber();
|
|
77141
|
+
switch (field) {
|
|
77142
|
+
case 1:
|
|
77143
|
+
var value = new proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0;
|
|
77144
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0.deserializeBinaryFromReader);
|
|
77145
|
+
msg.setV0(value);
|
|
77146
|
+
break;
|
|
77147
|
+
default:
|
|
77148
|
+
reader.skipField();
|
|
77149
|
+
break;
|
|
77150
|
+
}
|
|
77151
|
+
}
|
|
77152
|
+
return msg;
|
|
77153
|
+
};
|
|
77154
|
+
|
|
77155
|
+
|
|
77156
|
+
/**
|
|
77157
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
77158
|
+
* @return {!Uint8Array}
|
|
77159
|
+
*/
|
|
77160
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.prototype.serializeBinary = function() {
|
|
77161
|
+
var writer = new jspb.BinaryWriter();
|
|
77162
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.serializeBinaryToWriter(this, writer);
|
|
77163
|
+
return writer.getResultBuffer();
|
|
77164
|
+
};
|
|
77165
|
+
|
|
77166
|
+
|
|
77167
|
+
/**
|
|
77168
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
77169
|
+
* format), writing to the given BinaryWriter.
|
|
77170
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest} message
|
|
77171
|
+
* @param {!jspb.BinaryWriter} writer
|
|
77172
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77173
|
+
*/
|
|
77174
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
77175
|
+
var f = undefined;
|
|
77176
|
+
f = message.getV0();
|
|
77177
|
+
if (f != null) {
|
|
77178
|
+
writer.writeMessage(
|
|
77179
|
+
1,
|
|
77180
|
+
f,
|
|
77181
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0.serializeBinaryToWriter
|
|
77182
|
+
);
|
|
77183
|
+
}
|
|
77184
|
+
};
|
|
77185
|
+
|
|
77186
|
+
|
|
77187
|
+
|
|
77188
|
+
|
|
77189
|
+
|
|
77190
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
77191
|
+
/**
|
|
77192
|
+
* Creates an object representation of this proto.
|
|
77193
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
77194
|
+
* Optional fields that are not set will be set to undefined.
|
|
77195
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
77196
|
+
* For the list of reserved names please see:
|
|
77197
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
77198
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
77199
|
+
* JSPB instance for transitional soy proto support:
|
|
77200
|
+
* http://goto/soy-param-migration
|
|
77201
|
+
* @return {!Object}
|
|
77202
|
+
*/
|
|
77203
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0.prototype.toObject = function(opt_includeInstance) {
|
|
77204
|
+
return proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0.toObject(opt_includeInstance, this);
|
|
77205
|
+
};
|
|
77206
|
+
|
|
77207
|
+
|
|
77208
|
+
/**
|
|
77209
|
+
* Static version of the {@see toObject} method.
|
|
77210
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
77211
|
+
* the JSPB instance for transitional soy proto support:
|
|
77212
|
+
* http://goto/soy-param-migration
|
|
77213
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0} msg The msg instance to transform.
|
|
77214
|
+
* @return {!Object}
|
|
77215
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77216
|
+
*/
|
|
77217
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0.toObject = function(includeInstance, msg) {
|
|
77218
|
+
var f, obj = {
|
|
77219
|
+
startHeight: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
77220
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
77221
|
+
};
|
|
77222
|
+
|
|
77223
|
+
if (includeInstance) {
|
|
77224
|
+
obj.$jspbMessageInstance = msg;
|
|
77225
|
+
}
|
|
77226
|
+
return obj;
|
|
77227
|
+
};
|
|
77228
|
+
}
|
|
77229
|
+
|
|
77230
|
+
|
|
77231
|
+
/**
|
|
77232
|
+
* Deserializes binary data (in protobuf wire format).
|
|
77233
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
77234
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0}
|
|
77235
|
+
*/
|
|
77236
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0.deserializeBinary = function(bytes) {
|
|
77237
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
77238
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0;
|
|
77239
|
+
return proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0.deserializeBinaryFromReader(msg, reader);
|
|
77240
|
+
};
|
|
77241
|
+
|
|
77242
|
+
|
|
77243
|
+
/**
|
|
77244
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
77245
|
+
* given reader into the given message object.
|
|
77246
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0} msg The message object to deserialize into.
|
|
77247
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
77248
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0}
|
|
77249
|
+
*/
|
|
77250
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
77251
|
+
while (reader.nextField()) {
|
|
77252
|
+
if (reader.isEndGroup()) {
|
|
77253
|
+
break;
|
|
77254
|
+
}
|
|
77255
|
+
var field = reader.getFieldNumber();
|
|
77256
|
+
switch (field) {
|
|
77257
|
+
case 1:
|
|
77258
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
77259
|
+
msg.setStartHeight(value);
|
|
77260
|
+
break;
|
|
77261
|
+
case 2:
|
|
77262
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
77263
|
+
msg.setProve(value);
|
|
77264
|
+
break;
|
|
77265
|
+
default:
|
|
77266
|
+
reader.skipField();
|
|
77267
|
+
break;
|
|
77268
|
+
}
|
|
77269
|
+
}
|
|
77270
|
+
return msg;
|
|
77271
|
+
};
|
|
77272
|
+
|
|
77273
|
+
|
|
77274
|
+
/**
|
|
77275
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
77276
|
+
* @return {!Uint8Array}
|
|
77277
|
+
*/
|
|
77278
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0.prototype.serializeBinary = function() {
|
|
77279
|
+
var writer = new jspb.BinaryWriter();
|
|
77280
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0.serializeBinaryToWriter(this, writer);
|
|
77281
|
+
return writer.getResultBuffer();
|
|
77282
|
+
};
|
|
77283
|
+
|
|
77284
|
+
|
|
77285
|
+
/**
|
|
77286
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
77287
|
+
* format), writing to the given BinaryWriter.
|
|
77288
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0} message
|
|
77289
|
+
* @param {!jspb.BinaryWriter} writer
|
|
77290
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77291
|
+
*/
|
|
77292
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
77293
|
+
var f = undefined;
|
|
77294
|
+
f = message.getStartHeight();
|
|
77295
|
+
if (parseInt(f, 10) !== 0) {
|
|
77296
|
+
writer.writeUint64String(
|
|
77297
|
+
1,
|
|
77298
|
+
f
|
|
77299
|
+
);
|
|
77300
|
+
}
|
|
77301
|
+
f = message.getProve();
|
|
77302
|
+
if (f) {
|
|
77303
|
+
writer.writeBool(
|
|
77304
|
+
2,
|
|
77305
|
+
f
|
|
77306
|
+
);
|
|
77307
|
+
}
|
|
77308
|
+
};
|
|
77309
|
+
|
|
77310
|
+
|
|
77311
|
+
/**
|
|
77312
|
+
* optional uint64 start_height = 1;
|
|
77313
|
+
* @return {string}
|
|
77314
|
+
*/
|
|
77315
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0.prototype.getStartHeight = function() {
|
|
77316
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "0"));
|
|
77317
|
+
};
|
|
77318
|
+
|
|
77319
|
+
|
|
77320
|
+
/**
|
|
77321
|
+
* @param {string} value
|
|
77322
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0} returns this
|
|
77323
|
+
*/
|
|
77324
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0.prototype.setStartHeight = function(value) {
|
|
77325
|
+
return jspb.Message.setProto3StringIntField(this, 1, value);
|
|
77326
|
+
};
|
|
77327
|
+
|
|
77328
|
+
|
|
77329
|
+
/**
|
|
77330
|
+
* optional bool prove = 2;
|
|
77331
|
+
* @return {boolean}
|
|
77332
|
+
*/
|
|
77333
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0.prototype.getProve = function() {
|
|
77334
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
77335
|
+
};
|
|
77336
|
+
|
|
77337
|
+
|
|
77338
|
+
/**
|
|
77339
|
+
* @param {boolean} value
|
|
77340
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0} returns this
|
|
77341
|
+
*/
|
|
77342
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0.prototype.setProve = function(value) {
|
|
77343
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
77344
|
+
};
|
|
77345
|
+
|
|
77346
|
+
|
|
77347
|
+
/**
|
|
77348
|
+
* optional GetRecentAddressBalanceChangesRequestV0 v0 = 1;
|
|
77349
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0}
|
|
77350
|
+
*/
|
|
77351
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.prototype.getV0 = function() {
|
|
77352
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0} */ (
|
|
77353
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0, 1));
|
|
77354
|
+
};
|
|
77355
|
+
|
|
77356
|
+
|
|
77357
|
+
/**
|
|
77358
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0|undefined} value
|
|
77359
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest} returns this
|
|
77360
|
+
*/
|
|
77361
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.prototype.setV0 = function(value) {
|
|
77362
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.oneofGroups_[0], value);
|
|
77363
|
+
};
|
|
77364
|
+
|
|
77365
|
+
|
|
77366
|
+
/**
|
|
77367
|
+
* Clears the message field making it undefined.
|
|
77368
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest} returns this
|
|
77369
|
+
*/
|
|
77370
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.prototype.clearV0 = function() {
|
|
77371
|
+
return this.setV0(undefined);
|
|
77372
|
+
};
|
|
77373
|
+
|
|
77374
|
+
|
|
77375
|
+
/**
|
|
77376
|
+
* Returns whether this field is set.
|
|
77377
|
+
* @return {boolean}
|
|
77378
|
+
*/
|
|
77379
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.prototype.hasV0 = function() {
|
|
77380
|
+
return jspb.Message.getField(this, 1) != null;
|
|
77381
|
+
};
|
|
77382
|
+
|
|
77383
|
+
|
|
77384
|
+
|
|
77385
|
+
/**
|
|
77386
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
77387
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
77388
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
77389
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
77390
|
+
* @private {!Array<!Array<number>>}
|
|
77391
|
+
* @const
|
|
77392
|
+
*/
|
|
77393
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.oneofGroups_ = [[1]];
|
|
77394
|
+
|
|
77395
|
+
/**
|
|
77396
|
+
* @enum {number}
|
|
77397
|
+
*/
|
|
77398
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.VersionCase = {
|
|
77399
|
+
VERSION_NOT_SET: 0,
|
|
77400
|
+
V0: 1
|
|
77401
|
+
};
|
|
77402
|
+
|
|
77403
|
+
/**
|
|
77404
|
+
* @return {proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.VersionCase}
|
|
77405
|
+
*/
|
|
77406
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.prototype.getVersionCase = function() {
|
|
77407
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.oneofGroups_[0]));
|
|
77408
|
+
};
|
|
77409
|
+
|
|
77410
|
+
|
|
77411
|
+
|
|
77412
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
77413
|
+
/**
|
|
77414
|
+
* Creates an object representation of this proto.
|
|
77415
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
77416
|
+
* Optional fields that are not set will be set to undefined.
|
|
77417
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
77418
|
+
* For the list of reserved names please see:
|
|
77419
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
77420
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
77421
|
+
* JSPB instance for transitional soy proto support:
|
|
77422
|
+
* http://goto/soy-param-migration
|
|
77423
|
+
* @return {!Object}
|
|
77424
|
+
*/
|
|
77425
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
77426
|
+
return proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.toObject(opt_includeInstance, this);
|
|
77427
|
+
};
|
|
77428
|
+
|
|
77429
|
+
|
|
77430
|
+
/**
|
|
77431
|
+
* Static version of the {@see toObject} method.
|
|
77432
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
77433
|
+
* the JSPB instance for transitional soy proto support:
|
|
77434
|
+
* http://goto/soy-param-migration
|
|
77435
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse} msg The msg instance to transform.
|
|
77436
|
+
* @return {!Object}
|
|
77437
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77438
|
+
*/
|
|
77439
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.toObject = function(includeInstance, msg) {
|
|
77440
|
+
var f, obj = {
|
|
77441
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.toObject(includeInstance, f)
|
|
77442
|
+
};
|
|
77443
|
+
|
|
77444
|
+
if (includeInstance) {
|
|
77445
|
+
obj.$jspbMessageInstance = msg;
|
|
77446
|
+
}
|
|
77447
|
+
return obj;
|
|
77448
|
+
};
|
|
77449
|
+
}
|
|
77450
|
+
|
|
77451
|
+
|
|
77452
|
+
/**
|
|
77453
|
+
* Deserializes binary data (in protobuf wire format).
|
|
77454
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
77455
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse}
|
|
77456
|
+
*/
|
|
77457
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.deserializeBinary = function(bytes) {
|
|
77458
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
77459
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse;
|
|
77460
|
+
return proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.deserializeBinaryFromReader(msg, reader);
|
|
77461
|
+
};
|
|
77462
|
+
|
|
77463
|
+
|
|
77464
|
+
/**
|
|
77465
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
77466
|
+
* given reader into the given message object.
|
|
77467
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse} msg The message object to deserialize into.
|
|
77468
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
77469
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse}
|
|
77470
|
+
*/
|
|
77471
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
77472
|
+
while (reader.nextField()) {
|
|
77473
|
+
if (reader.isEndGroup()) {
|
|
77474
|
+
break;
|
|
77475
|
+
}
|
|
77476
|
+
var field = reader.getFieldNumber();
|
|
77477
|
+
switch (field) {
|
|
77478
|
+
case 1:
|
|
77479
|
+
var value = new proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0;
|
|
77480
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.deserializeBinaryFromReader);
|
|
77481
|
+
msg.setV0(value);
|
|
77482
|
+
break;
|
|
77483
|
+
default:
|
|
77484
|
+
reader.skipField();
|
|
77485
|
+
break;
|
|
77486
|
+
}
|
|
77487
|
+
}
|
|
77488
|
+
return msg;
|
|
77489
|
+
};
|
|
77490
|
+
|
|
77491
|
+
|
|
77492
|
+
/**
|
|
77493
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
77494
|
+
* @return {!Uint8Array}
|
|
77495
|
+
*/
|
|
77496
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.prototype.serializeBinary = function() {
|
|
77497
|
+
var writer = new jspb.BinaryWriter();
|
|
77498
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.serializeBinaryToWriter(this, writer);
|
|
77499
|
+
return writer.getResultBuffer();
|
|
77500
|
+
};
|
|
77501
|
+
|
|
77502
|
+
|
|
77503
|
+
/**
|
|
77504
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
77505
|
+
* format), writing to the given BinaryWriter.
|
|
77506
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse} message
|
|
77507
|
+
* @param {!jspb.BinaryWriter} writer
|
|
77508
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77509
|
+
*/
|
|
77510
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
77511
|
+
var f = undefined;
|
|
77512
|
+
f = message.getV0();
|
|
77513
|
+
if (f != null) {
|
|
77514
|
+
writer.writeMessage(
|
|
77515
|
+
1,
|
|
77516
|
+
f,
|
|
77517
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.serializeBinaryToWriter
|
|
77518
|
+
);
|
|
77519
|
+
}
|
|
77520
|
+
};
|
|
77521
|
+
|
|
77522
|
+
|
|
77523
|
+
|
|
77524
|
+
/**
|
|
77525
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
77526
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
77527
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
77528
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
77529
|
+
* @private {!Array<!Array<number>>}
|
|
77530
|
+
* @const
|
|
77531
|
+
*/
|
|
77532
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.oneofGroups_ = [[1,2]];
|
|
77533
|
+
|
|
77534
|
+
/**
|
|
77535
|
+
* @enum {number}
|
|
77536
|
+
*/
|
|
77537
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.ResultCase = {
|
|
77538
|
+
RESULT_NOT_SET: 0,
|
|
77539
|
+
ADDRESS_BALANCE_UPDATE_ENTRIES: 1,
|
|
77540
|
+
PROOF: 2
|
|
77541
|
+
};
|
|
77542
|
+
|
|
77543
|
+
/**
|
|
77544
|
+
* @return {proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.ResultCase}
|
|
77545
|
+
*/
|
|
77546
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.prototype.getResultCase = function() {
|
|
77547
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.oneofGroups_[0]));
|
|
77548
|
+
};
|
|
77549
|
+
|
|
77550
|
+
|
|
77551
|
+
|
|
77552
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
77553
|
+
/**
|
|
77554
|
+
* Creates an object representation of this proto.
|
|
77555
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
77556
|
+
* Optional fields that are not set will be set to undefined.
|
|
77557
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
77558
|
+
* For the list of reserved names please see:
|
|
77559
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
77560
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
77561
|
+
* JSPB instance for transitional soy proto support:
|
|
77562
|
+
* http://goto/soy-param-migration
|
|
77563
|
+
* @return {!Object}
|
|
77564
|
+
*/
|
|
77565
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.prototype.toObject = function(opt_includeInstance) {
|
|
77566
|
+
return proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.toObject(opt_includeInstance, this);
|
|
77567
|
+
};
|
|
77568
|
+
|
|
77569
|
+
|
|
77570
|
+
/**
|
|
77571
|
+
* Static version of the {@see toObject} method.
|
|
77572
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
77573
|
+
* the JSPB instance for transitional soy proto support:
|
|
77574
|
+
* http://goto/soy-param-migration
|
|
77575
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0} msg The msg instance to transform.
|
|
77576
|
+
* @return {!Object}
|
|
77577
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77578
|
+
*/
|
|
77579
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.toObject = function(includeInstance, msg) {
|
|
77580
|
+
var f, obj = {
|
|
77581
|
+
addressBalanceUpdateEntries: (f = msg.getAddressBalanceUpdateEntries()) && proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries.toObject(includeInstance, f),
|
|
77582
|
+
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
77583
|
+
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
77584
|
+
};
|
|
77585
|
+
|
|
77586
|
+
if (includeInstance) {
|
|
77587
|
+
obj.$jspbMessageInstance = msg;
|
|
77588
|
+
}
|
|
77589
|
+
return obj;
|
|
77590
|
+
};
|
|
77591
|
+
}
|
|
77592
|
+
|
|
77593
|
+
|
|
77594
|
+
/**
|
|
77595
|
+
* Deserializes binary data (in protobuf wire format).
|
|
77596
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
77597
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0}
|
|
77598
|
+
*/
|
|
77599
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.deserializeBinary = function(bytes) {
|
|
77600
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
77601
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0;
|
|
77602
|
+
return proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.deserializeBinaryFromReader(msg, reader);
|
|
77603
|
+
};
|
|
77604
|
+
|
|
77605
|
+
|
|
77606
|
+
/**
|
|
77607
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
77608
|
+
* given reader into the given message object.
|
|
77609
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0} msg The message object to deserialize into.
|
|
77610
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
77611
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0}
|
|
77612
|
+
*/
|
|
77613
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
77614
|
+
while (reader.nextField()) {
|
|
77615
|
+
if (reader.isEndGroup()) {
|
|
77616
|
+
break;
|
|
77617
|
+
}
|
|
77618
|
+
var field = reader.getFieldNumber();
|
|
77619
|
+
switch (field) {
|
|
77620
|
+
case 1:
|
|
77621
|
+
var value = new proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries;
|
|
77622
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries.deserializeBinaryFromReader);
|
|
77623
|
+
msg.setAddressBalanceUpdateEntries(value);
|
|
77624
|
+
break;
|
|
77625
|
+
case 2:
|
|
77626
|
+
var value = new proto.org.dash.platform.dapi.v0.Proof;
|
|
77627
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
|
|
77628
|
+
msg.setProof(value);
|
|
77629
|
+
break;
|
|
77630
|
+
case 3:
|
|
77631
|
+
var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
|
|
77632
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
|
|
77633
|
+
msg.setMetadata(value);
|
|
77634
|
+
break;
|
|
77635
|
+
default:
|
|
77636
|
+
reader.skipField();
|
|
77637
|
+
break;
|
|
77638
|
+
}
|
|
77639
|
+
}
|
|
77640
|
+
return msg;
|
|
77641
|
+
};
|
|
77642
|
+
|
|
77643
|
+
|
|
77644
|
+
/**
|
|
77645
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
77646
|
+
* @return {!Uint8Array}
|
|
77647
|
+
*/
|
|
77648
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.prototype.serializeBinary = function() {
|
|
77649
|
+
var writer = new jspb.BinaryWriter();
|
|
77650
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.serializeBinaryToWriter(this, writer);
|
|
77651
|
+
return writer.getResultBuffer();
|
|
77652
|
+
};
|
|
77653
|
+
|
|
77654
|
+
|
|
77655
|
+
/**
|
|
77656
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
77657
|
+
* format), writing to the given BinaryWriter.
|
|
77658
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0} message
|
|
77659
|
+
* @param {!jspb.BinaryWriter} writer
|
|
77660
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77661
|
+
*/
|
|
77662
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.serializeBinaryToWriter = function(message, writer) {
|
|
77663
|
+
var f = undefined;
|
|
77664
|
+
f = message.getAddressBalanceUpdateEntries();
|
|
77665
|
+
if (f != null) {
|
|
77666
|
+
writer.writeMessage(
|
|
77667
|
+
1,
|
|
77668
|
+
f,
|
|
77669
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries.serializeBinaryToWriter
|
|
77670
|
+
);
|
|
77671
|
+
}
|
|
77672
|
+
f = message.getProof();
|
|
77673
|
+
if (f != null) {
|
|
77674
|
+
writer.writeMessage(
|
|
77675
|
+
2,
|
|
77676
|
+
f,
|
|
77677
|
+
proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
|
|
77678
|
+
);
|
|
77679
|
+
}
|
|
77680
|
+
f = message.getMetadata();
|
|
77681
|
+
if (f != null) {
|
|
77682
|
+
writer.writeMessage(
|
|
77683
|
+
3,
|
|
77684
|
+
f,
|
|
77685
|
+
proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
|
|
77686
|
+
);
|
|
77687
|
+
}
|
|
77688
|
+
};
|
|
77689
|
+
|
|
77690
|
+
|
|
77691
|
+
/**
|
|
77692
|
+
* optional AddressBalanceUpdateEntries address_balance_update_entries = 1;
|
|
77693
|
+
* @return {?proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries}
|
|
77694
|
+
*/
|
|
77695
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.prototype.getAddressBalanceUpdateEntries = function() {
|
|
77696
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries} */ (
|
|
77697
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries, 1));
|
|
77698
|
+
};
|
|
77699
|
+
|
|
77700
|
+
|
|
77701
|
+
/**
|
|
77702
|
+
* @param {?proto.org.dash.platform.dapi.v0.AddressBalanceUpdateEntries|undefined} value
|
|
77703
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0} returns this
|
|
77704
|
+
*/
|
|
77705
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.prototype.setAddressBalanceUpdateEntries = function(value) {
|
|
77706
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.oneofGroups_[0], value);
|
|
77707
|
+
};
|
|
77708
|
+
|
|
77709
|
+
|
|
77710
|
+
/**
|
|
77711
|
+
* Clears the message field making it undefined.
|
|
77712
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0} returns this
|
|
77713
|
+
*/
|
|
77714
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.prototype.clearAddressBalanceUpdateEntries = function() {
|
|
77715
|
+
return this.setAddressBalanceUpdateEntries(undefined);
|
|
77716
|
+
};
|
|
77717
|
+
|
|
77718
|
+
|
|
77719
|
+
/**
|
|
77720
|
+
* Returns whether this field is set.
|
|
77721
|
+
* @return {boolean}
|
|
77722
|
+
*/
|
|
77723
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.prototype.hasAddressBalanceUpdateEntries = function() {
|
|
77724
|
+
return jspb.Message.getField(this, 1) != null;
|
|
77725
|
+
};
|
|
77726
|
+
|
|
77727
|
+
|
|
77728
|
+
/**
|
|
77729
|
+
* optional Proof proof = 2;
|
|
77730
|
+
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
77731
|
+
*/
|
|
77732
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.prototype.getProof = function() {
|
|
77733
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
|
|
77734
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
|
|
77735
|
+
};
|
|
77736
|
+
|
|
77737
|
+
|
|
77738
|
+
/**
|
|
77739
|
+
* @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
|
|
77740
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0} returns this
|
|
77741
|
+
*/
|
|
77742
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.prototype.setProof = function(value) {
|
|
77743
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.oneofGroups_[0], value);
|
|
77744
|
+
};
|
|
77745
|
+
|
|
77746
|
+
|
|
77747
|
+
/**
|
|
77748
|
+
* Clears the message field making it undefined.
|
|
77749
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0} returns this
|
|
77750
|
+
*/
|
|
77751
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.prototype.clearProof = function() {
|
|
77752
|
+
return this.setProof(undefined);
|
|
77753
|
+
};
|
|
77754
|
+
|
|
77755
|
+
|
|
77756
|
+
/**
|
|
77757
|
+
* Returns whether this field is set.
|
|
77758
|
+
* @return {boolean}
|
|
77759
|
+
*/
|
|
77760
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.prototype.hasProof = function() {
|
|
77761
|
+
return jspb.Message.getField(this, 2) != null;
|
|
77762
|
+
};
|
|
77763
|
+
|
|
77764
|
+
|
|
77765
|
+
/**
|
|
77766
|
+
* optional ResponseMetadata metadata = 3;
|
|
77767
|
+
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
|
|
77768
|
+
*/
|
|
77769
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.prototype.getMetadata = function() {
|
|
77770
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
|
|
77771
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
|
|
77772
|
+
};
|
|
77773
|
+
|
|
77774
|
+
|
|
77775
|
+
/**
|
|
77776
|
+
* @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
|
|
77777
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0} returns this
|
|
77778
|
+
*/
|
|
77779
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.prototype.setMetadata = function(value) {
|
|
77780
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
77781
|
+
};
|
|
77782
|
+
|
|
77783
|
+
|
|
77784
|
+
/**
|
|
77785
|
+
* Clears the message field making it undefined.
|
|
77786
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0} returns this
|
|
77787
|
+
*/
|
|
77788
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.prototype.clearMetadata = function() {
|
|
77789
|
+
return this.setMetadata(undefined);
|
|
77790
|
+
};
|
|
77791
|
+
|
|
77792
|
+
|
|
77793
|
+
/**
|
|
77794
|
+
* Returns whether this field is set.
|
|
77795
|
+
* @return {boolean}
|
|
77796
|
+
*/
|
|
77797
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0.prototype.hasMetadata = function() {
|
|
77798
|
+
return jspb.Message.getField(this, 3) != null;
|
|
77799
|
+
};
|
|
77800
|
+
|
|
77801
|
+
|
|
77802
|
+
/**
|
|
77803
|
+
* optional GetRecentAddressBalanceChangesResponseV0 v0 = 1;
|
|
77804
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0}
|
|
77805
|
+
*/
|
|
77806
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.prototype.getV0 = function() {
|
|
77807
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0} */ (
|
|
77808
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0, 1));
|
|
77809
|
+
};
|
|
77810
|
+
|
|
77811
|
+
|
|
77812
|
+
/**
|
|
77813
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0|undefined} value
|
|
77814
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse} returns this
|
|
77815
|
+
*/
|
|
77816
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.prototype.setV0 = function(value) {
|
|
77817
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.oneofGroups_[0], value);
|
|
77818
|
+
};
|
|
77819
|
+
|
|
77820
|
+
|
|
77821
|
+
/**
|
|
77822
|
+
* Clears the message field making it undefined.
|
|
77823
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse} returns this
|
|
77824
|
+
*/
|
|
77825
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.prototype.clearV0 = function() {
|
|
77826
|
+
return this.setV0(undefined);
|
|
77827
|
+
};
|
|
77828
|
+
|
|
77829
|
+
|
|
77830
|
+
/**
|
|
77831
|
+
* Returns whether this field is set.
|
|
77832
|
+
* @return {boolean}
|
|
77833
|
+
*/
|
|
77834
|
+
proto.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.prototype.hasV0 = function() {
|
|
77835
|
+
return jspb.Message.getField(this, 1) != null;
|
|
77836
|
+
};
|
|
77837
|
+
|
|
77838
|
+
|
|
77839
|
+
|
|
77840
|
+
/**
|
|
77841
|
+
* List of repeated fields within this message type.
|
|
77842
|
+
* @private {!Array<number>}
|
|
77843
|
+
* @const
|
|
77844
|
+
*/
|
|
77845
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.repeatedFields_ = [3];
|
|
77846
|
+
|
|
77847
|
+
|
|
77848
|
+
|
|
77849
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
77850
|
+
/**
|
|
77851
|
+
* Creates an object representation of this proto.
|
|
77852
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
77853
|
+
* Optional fields that are not set will be set to undefined.
|
|
77854
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
77855
|
+
* For the list of reserved names please see:
|
|
77856
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
77857
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
77858
|
+
* JSPB instance for transitional soy proto support:
|
|
77859
|
+
* http://goto/soy-param-migration
|
|
77860
|
+
* @return {!Object}
|
|
77861
|
+
*/
|
|
77862
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.prototype.toObject = function(opt_includeInstance) {
|
|
77863
|
+
return proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.toObject(opt_includeInstance, this);
|
|
77864
|
+
};
|
|
77865
|
+
|
|
77866
|
+
|
|
77867
|
+
/**
|
|
77868
|
+
* Static version of the {@see toObject} method.
|
|
77869
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
77870
|
+
* the JSPB instance for transitional soy proto support:
|
|
77871
|
+
* http://goto/soy-param-migration
|
|
77872
|
+
* @param {!proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges} msg The msg instance to transform.
|
|
77873
|
+
* @return {!Object}
|
|
77874
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77875
|
+
*/
|
|
77876
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.toObject = function(includeInstance, msg) {
|
|
77877
|
+
var f, obj = {
|
|
77878
|
+
startBlockHeight: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
77879
|
+
endBlockHeight: jspb.Message.getFieldWithDefault(msg, 2, "0"),
|
|
77880
|
+
changesList: jspb.Message.toObjectList(msg.getChangesList(),
|
|
77881
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.toObject, includeInstance)
|
|
77882
|
+
};
|
|
77883
|
+
|
|
77884
|
+
if (includeInstance) {
|
|
77885
|
+
obj.$jspbMessageInstance = msg;
|
|
77886
|
+
}
|
|
77887
|
+
return obj;
|
|
77888
|
+
};
|
|
77889
|
+
}
|
|
77890
|
+
|
|
77891
|
+
|
|
77892
|
+
/**
|
|
77893
|
+
* Deserializes binary data (in protobuf wire format).
|
|
77894
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
77895
|
+
* @return {!proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges}
|
|
77896
|
+
*/
|
|
77897
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.deserializeBinary = function(bytes) {
|
|
77898
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
77899
|
+
var msg = new proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges;
|
|
77900
|
+
return proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.deserializeBinaryFromReader(msg, reader);
|
|
77901
|
+
};
|
|
77902
|
+
|
|
77903
|
+
|
|
77904
|
+
/**
|
|
77905
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
77906
|
+
* given reader into the given message object.
|
|
77907
|
+
* @param {!proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges} msg The message object to deserialize into.
|
|
77908
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
77909
|
+
* @return {!proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges}
|
|
77910
|
+
*/
|
|
77911
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.deserializeBinaryFromReader = function(msg, reader) {
|
|
77912
|
+
while (reader.nextField()) {
|
|
77913
|
+
if (reader.isEndGroup()) {
|
|
77914
|
+
break;
|
|
77915
|
+
}
|
|
77916
|
+
var field = reader.getFieldNumber();
|
|
77917
|
+
switch (field) {
|
|
77918
|
+
case 1:
|
|
77919
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
77920
|
+
msg.setStartBlockHeight(value);
|
|
77921
|
+
break;
|
|
77922
|
+
case 2:
|
|
77923
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
77924
|
+
msg.setEndBlockHeight(value);
|
|
77925
|
+
break;
|
|
77926
|
+
case 3:
|
|
77927
|
+
var value = new proto.org.dash.platform.dapi.v0.AddressBalanceChange;
|
|
77928
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.AddressBalanceChange.deserializeBinaryFromReader);
|
|
77929
|
+
msg.addChanges(value);
|
|
77930
|
+
break;
|
|
77931
|
+
default:
|
|
77932
|
+
reader.skipField();
|
|
77933
|
+
break;
|
|
77934
|
+
}
|
|
77935
|
+
}
|
|
77936
|
+
return msg;
|
|
77937
|
+
};
|
|
77938
|
+
|
|
77939
|
+
|
|
77940
|
+
/**
|
|
77941
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
77942
|
+
* @return {!Uint8Array}
|
|
77943
|
+
*/
|
|
77944
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.prototype.serializeBinary = function() {
|
|
77945
|
+
var writer = new jspb.BinaryWriter();
|
|
77946
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.serializeBinaryToWriter(this, writer);
|
|
77947
|
+
return writer.getResultBuffer();
|
|
77948
|
+
};
|
|
77949
|
+
|
|
77950
|
+
|
|
77951
|
+
/**
|
|
77952
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
77953
|
+
* format), writing to the given BinaryWriter.
|
|
77954
|
+
* @param {!proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges} message
|
|
77955
|
+
* @param {!jspb.BinaryWriter} writer
|
|
77956
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77957
|
+
*/
|
|
77958
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.serializeBinaryToWriter = function(message, writer) {
|
|
77959
|
+
var f = undefined;
|
|
77960
|
+
f = message.getStartBlockHeight();
|
|
77961
|
+
if (parseInt(f, 10) !== 0) {
|
|
77962
|
+
writer.writeUint64String(
|
|
77963
|
+
1,
|
|
77964
|
+
f
|
|
77965
|
+
);
|
|
77966
|
+
}
|
|
77967
|
+
f = message.getEndBlockHeight();
|
|
77968
|
+
if (parseInt(f, 10) !== 0) {
|
|
77969
|
+
writer.writeUint64String(
|
|
77970
|
+
2,
|
|
77971
|
+
f
|
|
77972
|
+
);
|
|
77973
|
+
}
|
|
77974
|
+
f = message.getChangesList();
|
|
77975
|
+
if (f.length > 0) {
|
|
77976
|
+
writer.writeRepeatedMessage(
|
|
77977
|
+
3,
|
|
77978
|
+
f,
|
|
77979
|
+
proto.org.dash.platform.dapi.v0.AddressBalanceChange.serializeBinaryToWriter
|
|
77980
|
+
);
|
|
77981
|
+
}
|
|
77982
|
+
};
|
|
77983
|
+
|
|
77984
|
+
|
|
77985
|
+
/**
|
|
77986
|
+
* optional uint64 start_block_height = 1;
|
|
77987
|
+
* @return {string}
|
|
77988
|
+
*/
|
|
77989
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.prototype.getStartBlockHeight = function() {
|
|
77990
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "0"));
|
|
77991
|
+
};
|
|
77992
|
+
|
|
77993
|
+
|
|
77994
|
+
/**
|
|
77995
|
+
* @param {string} value
|
|
77996
|
+
* @return {!proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges} returns this
|
|
77997
|
+
*/
|
|
77998
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.prototype.setStartBlockHeight = function(value) {
|
|
77999
|
+
return jspb.Message.setProto3StringIntField(this, 1, value);
|
|
78000
|
+
};
|
|
78001
|
+
|
|
78002
|
+
|
|
78003
|
+
/**
|
|
78004
|
+
* optional uint64 end_block_height = 2;
|
|
78005
|
+
* @return {string}
|
|
78006
|
+
*/
|
|
78007
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.prototype.getEndBlockHeight = function() {
|
|
78008
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
|
|
78009
|
+
};
|
|
78010
|
+
|
|
78011
|
+
|
|
78012
|
+
/**
|
|
78013
|
+
* @param {string} value
|
|
78014
|
+
* @return {!proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges} returns this
|
|
78015
|
+
*/
|
|
78016
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.prototype.setEndBlockHeight = function(value) {
|
|
78017
|
+
return jspb.Message.setProto3StringIntField(this, 2, value);
|
|
78018
|
+
};
|
|
78019
|
+
|
|
78020
|
+
|
|
78021
|
+
/**
|
|
78022
|
+
* repeated AddressBalanceChange changes = 3;
|
|
78023
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.AddressBalanceChange>}
|
|
78024
|
+
*/
|
|
78025
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.prototype.getChangesList = function() {
|
|
78026
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.AddressBalanceChange>} */ (
|
|
78027
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.AddressBalanceChange, 3));
|
|
78028
|
+
};
|
|
78029
|
+
|
|
78030
|
+
|
|
78031
|
+
/**
|
|
78032
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.AddressBalanceChange>} value
|
|
78033
|
+
* @return {!proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges} returns this
|
|
78034
|
+
*/
|
|
78035
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.prototype.setChangesList = function(value) {
|
|
78036
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
78037
|
+
};
|
|
78038
|
+
|
|
78039
|
+
|
|
78040
|
+
/**
|
|
78041
|
+
* @param {!proto.org.dash.platform.dapi.v0.AddressBalanceChange=} opt_value
|
|
78042
|
+
* @param {number=} opt_index
|
|
78043
|
+
* @return {!proto.org.dash.platform.dapi.v0.AddressBalanceChange}
|
|
78044
|
+
*/
|
|
78045
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.prototype.addChanges = function(opt_value, opt_index) {
|
|
78046
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.org.dash.platform.dapi.v0.AddressBalanceChange, opt_index);
|
|
78047
|
+
};
|
|
78048
|
+
|
|
78049
|
+
|
|
78050
|
+
/**
|
|
78051
|
+
* Clears the list making it empty but non-null.
|
|
78052
|
+
* @return {!proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges} returns this
|
|
78053
|
+
*/
|
|
78054
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.prototype.clearChangesList = function() {
|
|
78055
|
+
return this.setChangesList([]);
|
|
78056
|
+
};
|
|
78057
|
+
|
|
78058
|
+
|
|
78059
|
+
|
|
78060
|
+
/**
|
|
78061
|
+
* List of repeated fields within this message type.
|
|
78062
|
+
* @private {!Array<number>}
|
|
78063
|
+
* @const
|
|
78064
|
+
*/
|
|
78065
|
+
proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries.repeatedFields_ = [1];
|
|
78066
|
+
|
|
78067
|
+
|
|
78068
|
+
|
|
78069
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
78070
|
+
/**
|
|
78071
|
+
* Creates an object representation of this proto.
|
|
78072
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
78073
|
+
* Optional fields that are not set will be set to undefined.
|
|
78074
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
78075
|
+
* For the list of reserved names please see:
|
|
78076
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
78077
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
78078
|
+
* JSPB instance for transitional soy proto support:
|
|
78079
|
+
* http://goto/soy-param-migration
|
|
78080
|
+
* @return {!Object}
|
|
78081
|
+
*/
|
|
78082
|
+
proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries.prototype.toObject = function(opt_includeInstance) {
|
|
78083
|
+
return proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries.toObject(opt_includeInstance, this);
|
|
78084
|
+
};
|
|
78085
|
+
|
|
78086
|
+
|
|
78087
|
+
/**
|
|
78088
|
+
* Static version of the {@see toObject} method.
|
|
78089
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
78090
|
+
* the JSPB instance for transitional soy proto support:
|
|
78091
|
+
* http://goto/soy-param-migration
|
|
78092
|
+
* @param {!proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries} msg The msg instance to transform.
|
|
78093
|
+
* @return {!Object}
|
|
78094
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
78095
|
+
*/
|
|
78096
|
+
proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries.toObject = function(includeInstance, msg) {
|
|
78097
|
+
var f, obj = {
|
|
78098
|
+
compactedBlockChangesList: jspb.Message.toObjectList(msg.getCompactedBlockChangesList(),
|
|
78099
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.toObject, includeInstance)
|
|
78100
|
+
};
|
|
78101
|
+
|
|
78102
|
+
if (includeInstance) {
|
|
78103
|
+
obj.$jspbMessageInstance = msg;
|
|
78104
|
+
}
|
|
78105
|
+
return obj;
|
|
78106
|
+
};
|
|
78107
|
+
}
|
|
78108
|
+
|
|
78109
|
+
|
|
78110
|
+
/**
|
|
78111
|
+
* Deserializes binary data (in protobuf wire format).
|
|
78112
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
78113
|
+
* @return {!proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries}
|
|
78114
|
+
*/
|
|
78115
|
+
proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries.deserializeBinary = function(bytes) {
|
|
78116
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
78117
|
+
var msg = new proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries;
|
|
78118
|
+
return proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries.deserializeBinaryFromReader(msg, reader);
|
|
78119
|
+
};
|
|
78120
|
+
|
|
78121
|
+
|
|
78122
|
+
/**
|
|
78123
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
78124
|
+
* given reader into the given message object.
|
|
78125
|
+
* @param {!proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries} msg The message object to deserialize into.
|
|
78126
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
78127
|
+
* @return {!proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries}
|
|
78128
|
+
*/
|
|
78129
|
+
proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries.deserializeBinaryFromReader = function(msg, reader) {
|
|
78130
|
+
while (reader.nextField()) {
|
|
78131
|
+
if (reader.isEndGroup()) {
|
|
78132
|
+
break;
|
|
78133
|
+
}
|
|
78134
|
+
var field = reader.getFieldNumber();
|
|
78135
|
+
switch (field) {
|
|
78136
|
+
case 1:
|
|
78137
|
+
var value = new proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges;
|
|
78138
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.deserializeBinaryFromReader);
|
|
78139
|
+
msg.addCompactedBlockChanges(value);
|
|
78140
|
+
break;
|
|
78141
|
+
default:
|
|
78142
|
+
reader.skipField();
|
|
78143
|
+
break;
|
|
78144
|
+
}
|
|
78145
|
+
}
|
|
78146
|
+
return msg;
|
|
78147
|
+
};
|
|
78148
|
+
|
|
78149
|
+
|
|
78150
|
+
/**
|
|
78151
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
78152
|
+
* @return {!Uint8Array}
|
|
78153
|
+
*/
|
|
78154
|
+
proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries.prototype.serializeBinary = function() {
|
|
78155
|
+
var writer = new jspb.BinaryWriter();
|
|
78156
|
+
proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries.serializeBinaryToWriter(this, writer);
|
|
78157
|
+
return writer.getResultBuffer();
|
|
78158
|
+
};
|
|
78159
|
+
|
|
78160
|
+
|
|
78161
|
+
/**
|
|
78162
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
78163
|
+
* format), writing to the given BinaryWriter.
|
|
78164
|
+
* @param {!proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries} message
|
|
78165
|
+
* @param {!jspb.BinaryWriter} writer
|
|
78166
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
78167
|
+
*/
|
|
78168
|
+
proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries.serializeBinaryToWriter = function(message, writer) {
|
|
78169
|
+
var f = undefined;
|
|
78170
|
+
f = message.getCompactedBlockChangesList();
|
|
78171
|
+
if (f.length > 0) {
|
|
78172
|
+
writer.writeRepeatedMessage(
|
|
78173
|
+
1,
|
|
78174
|
+
f,
|
|
78175
|
+
proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges.serializeBinaryToWriter
|
|
78176
|
+
);
|
|
78177
|
+
}
|
|
78178
|
+
};
|
|
78179
|
+
|
|
78180
|
+
|
|
78181
|
+
/**
|
|
78182
|
+
* repeated CompactedBlockAddressBalanceChanges compacted_block_changes = 1;
|
|
78183
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges>}
|
|
78184
|
+
*/
|
|
78185
|
+
proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries.prototype.getCompactedBlockChangesList = function() {
|
|
78186
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges>} */ (
|
|
78187
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges, 1));
|
|
78188
|
+
};
|
|
78189
|
+
|
|
78190
|
+
|
|
78191
|
+
/**
|
|
78192
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges>} value
|
|
78193
|
+
* @return {!proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries} returns this
|
|
78194
|
+
*/
|
|
78195
|
+
proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries.prototype.setCompactedBlockChangesList = function(value) {
|
|
78196
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
78197
|
+
};
|
|
78198
|
+
|
|
78199
|
+
|
|
78200
|
+
/**
|
|
78201
|
+
* @param {!proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges=} opt_value
|
|
78202
|
+
* @param {number=} opt_index
|
|
78203
|
+
* @return {!proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges}
|
|
78204
|
+
*/
|
|
78205
|
+
proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries.prototype.addCompactedBlockChanges = function(opt_value, opt_index) {
|
|
78206
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges, opt_index);
|
|
78207
|
+
};
|
|
78208
|
+
|
|
78209
|
+
|
|
78210
|
+
/**
|
|
78211
|
+
* Clears the list making it empty but non-null.
|
|
78212
|
+
* @return {!proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries} returns this
|
|
78213
|
+
*/
|
|
78214
|
+
proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries.prototype.clearCompactedBlockChangesList = function() {
|
|
78215
|
+
return this.setCompactedBlockChangesList([]);
|
|
78216
|
+
};
|
|
78217
|
+
|
|
78218
|
+
|
|
78219
|
+
|
|
78220
|
+
/**
|
|
78221
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
78222
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
78223
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
78224
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
78225
|
+
* @private {!Array<!Array<number>>}
|
|
78226
|
+
* @const
|
|
78227
|
+
*/
|
|
78228
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.oneofGroups_ = [[1]];
|
|
78229
|
+
|
|
78230
|
+
/**
|
|
78231
|
+
* @enum {number}
|
|
78232
|
+
*/
|
|
78233
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.VersionCase = {
|
|
78234
|
+
VERSION_NOT_SET: 0,
|
|
78235
|
+
V0: 1
|
|
78236
|
+
};
|
|
78237
|
+
|
|
78238
|
+
/**
|
|
78239
|
+
* @return {proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.VersionCase}
|
|
78240
|
+
*/
|
|
78241
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.prototype.getVersionCase = function() {
|
|
78242
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.oneofGroups_[0]));
|
|
78243
|
+
};
|
|
78244
|
+
|
|
78245
|
+
|
|
78246
|
+
|
|
78247
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
78248
|
+
/**
|
|
78249
|
+
* Creates an object representation of this proto.
|
|
78250
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
78251
|
+
* Optional fields that are not set will be set to undefined.
|
|
78252
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
78253
|
+
* For the list of reserved names please see:
|
|
78254
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
78255
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
78256
|
+
* JSPB instance for transitional soy proto support:
|
|
78257
|
+
* http://goto/soy-param-migration
|
|
78258
|
+
* @return {!Object}
|
|
78259
|
+
*/
|
|
78260
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
78261
|
+
return proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.toObject(opt_includeInstance, this);
|
|
78262
|
+
};
|
|
78263
|
+
|
|
78264
|
+
|
|
78265
|
+
/**
|
|
78266
|
+
* Static version of the {@see toObject} method.
|
|
78267
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
78268
|
+
* the JSPB instance for transitional soy proto support:
|
|
78269
|
+
* http://goto/soy-param-migration
|
|
78270
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest} msg The msg instance to transform.
|
|
78271
|
+
* @return {!Object}
|
|
78272
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
78273
|
+
*/
|
|
78274
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.toObject = function(includeInstance, msg) {
|
|
78275
|
+
var f, obj = {
|
|
78276
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0.toObject(includeInstance, f)
|
|
78277
|
+
};
|
|
78278
|
+
|
|
78279
|
+
if (includeInstance) {
|
|
78280
|
+
obj.$jspbMessageInstance = msg;
|
|
78281
|
+
}
|
|
78282
|
+
return obj;
|
|
78283
|
+
};
|
|
78284
|
+
}
|
|
78285
|
+
|
|
78286
|
+
|
|
78287
|
+
/**
|
|
78288
|
+
* Deserializes binary data (in protobuf wire format).
|
|
78289
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
78290
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest}
|
|
78291
|
+
*/
|
|
78292
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.deserializeBinary = function(bytes) {
|
|
78293
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
78294
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest;
|
|
78295
|
+
return proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.deserializeBinaryFromReader(msg, reader);
|
|
78296
|
+
};
|
|
78297
|
+
|
|
78298
|
+
|
|
78299
|
+
/**
|
|
78300
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
78301
|
+
* given reader into the given message object.
|
|
78302
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest} msg The message object to deserialize into.
|
|
78303
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
78304
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest}
|
|
78305
|
+
*/
|
|
78306
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
78307
|
+
while (reader.nextField()) {
|
|
78308
|
+
if (reader.isEndGroup()) {
|
|
78309
|
+
break;
|
|
78310
|
+
}
|
|
78311
|
+
var field = reader.getFieldNumber();
|
|
78312
|
+
switch (field) {
|
|
78313
|
+
case 1:
|
|
78314
|
+
var value = new proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0;
|
|
78315
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0.deserializeBinaryFromReader);
|
|
78316
|
+
msg.setV0(value);
|
|
78317
|
+
break;
|
|
78318
|
+
default:
|
|
78319
|
+
reader.skipField();
|
|
78320
|
+
break;
|
|
78321
|
+
}
|
|
78322
|
+
}
|
|
78323
|
+
return msg;
|
|
78324
|
+
};
|
|
78325
|
+
|
|
78326
|
+
|
|
78327
|
+
/**
|
|
78328
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
78329
|
+
* @return {!Uint8Array}
|
|
78330
|
+
*/
|
|
78331
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.prototype.serializeBinary = function() {
|
|
78332
|
+
var writer = new jspb.BinaryWriter();
|
|
78333
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.serializeBinaryToWriter(this, writer);
|
|
78334
|
+
return writer.getResultBuffer();
|
|
78335
|
+
};
|
|
78336
|
+
|
|
78337
|
+
|
|
78338
|
+
/**
|
|
78339
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
78340
|
+
* format), writing to the given BinaryWriter.
|
|
78341
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest} message
|
|
78342
|
+
* @param {!jspb.BinaryWriter} writer
|
|
78343
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
78344
|
+
*/
|
|
78345
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
78346
|
+
var f = undefined;
|
|
78347
|
+
f = message.getV0();
|
|
78348
|
+
if (f != null) {
|
|
78349
|
+
writer.writeMessage(
|
|
78350
|
+
1,
|
|
78351
|
+
f,
|
|
78352
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0.serializeBinaryToWriter
|
|
78353
|
+
);
|
|
78354
|
+
}
|
|
78355
|
+
};
|
|
78356
|
+
|
|
78357
|
+
|
|
78358
|
+
|
|
78359
|
+
|
|
78360
|
+
|
|
78361
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
78362
|
+
/**
|
|
78363
|
+
* Creates an object representation of this proto.
|
|
78364
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
78365
|
+
* Optional fields that are not set will be set to undefined.
|
|
78366
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
78367
|
+
* For the list of reserved names please see:
|
|
78368
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
78369
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
78370
|
+
* JSPB instance for transitional soy proto support:
|
|
78371
|
+
* http://goto/soy-param-migration
|
|
78372
|
+
* @return {!Object}
|
|
78373
|
+
*/
|
|
78374
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0.prototype.toObject = function(opt_includeInstance) {
|
|
78375
|
+
return proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0.toObject(opt_includeInstance, this);
|
|
78376
|
+
};
|
|
78377
|
+
|
|
78378
|
+
|
|
78379
|
+
/**
|
|
78380
|
+
* Static version of the {@see toObject} method.
|
|
78381
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
78382
|
+
* the JSPB instance for transitional soy proto support:
|
|
78383
|
+
* http://goto/soy-param-migration
|
|
78384
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0} msg The msg instance to transform.
|
|
78385
|
+
* @return {!Object}
|
|
78386
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
78387
|
+
*/
|
|
78388
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0.toObject = function(includeInstance, msg) {
|
|
78389
|
+
var f, obj = {
|
|
78390
|
+
startBlockHeight: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
78391
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
78392
|
+
};
|
|
78393
|
+
|
|
78394
|
+
if (includeInstance) {
|
|
78395
|
+
obj.$jspbMessageInstance = msg;
|
|
78396
|
+
}
|
|
78397
|
+
return obj;
|
|
78398
|
+
};
|
|
78399
|
+
}
|
|
78400
|
+
|
|
78401
|
+
|
|
78402
|
+
/**
|
|
78403
|
+
* Deserializes binary data (in protobuf wire format).
|
|
78404
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
78405
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0}
|
|
78406
|
+
*/
|
|
78407
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0.deserializeBinary = function(bytes) {
|
|
78408
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
78409
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0;
|
|
78410
|
+
return proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0.deserializeBinaryFromReader(msg, reader);
|
|
78411
|
+
};
|
|
78412
|
+
|
|
78413
|
+
|
|
78414
|
+
/**
|
|
78415
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
78416
|
+
* given reader into the given message object.
|
|
78417
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0} msg The message object to deserialize into.
|
|
78418
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
78419
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0}
|
|
78420
|
+
*/
|
|
78421
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
78422
|
+
while (reader.nextField()) {
|
|
78423
|
+
if (reader.isEndGroup()) {
|
|
78424
|
+
break;
|
|
78425
|
+
}
|
|
78426
|
+
var field = reader.getFieldNumber();
|
|
78427
|
+
switch (field) {
|
|
78428
|
+
case 1:
|
|
78429
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
78430
|
+
msg.setStartBlockHeight(value);
|
|
78431
|
+
break;
|
|
78432
|
+
case 2:
|
|
78433
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
78434
|
+
msg.setProve(value);
|
|
78435
|
+
break;
|
|
78436
|
+
default:
|
|
78437
|
+
reader.skipField();
|
|
78438
|
+
break;
|
|
78439
|
+
}
|
|
78440
|
+
}
|
|
78441
|
+
return msg;
|
|
78442
|
+
};
|
|
78443
|
+
|
|
78444
|
+
|
|
78445
|
+
/**
|
|
78446
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
78447
|
+
* @return {!Uint8Array}
|
|
78448
|
+
*/
|
|
78449
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0.prototype.serializeBinary = function() {
|
|
78450
|
+
var writer = new jspb.BinaryWriter();
|
|
78451
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0.serializeBinaryToWriter(this, writer);
|
|
78452
|
+
return writer.getResultBuffer();
|
|
78453
|
+
};
|
|
78454
|
+
|
|
78455
|
+
|
|
78456
|
+
/**
|
|
78457
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
78458
|
+
* format), writing to the given BinaryWriter.
|
|
78459
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0} message
|
|
78460
|
+
* @param {!jspb.BinaryWriter} writer
|
|
78461
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
78462
|
+
*/
|
|
78463
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
78464
|
+
var f = undefined;
|
|
78465
|
+
f = message.getStartBlockHeight();
|
|
78466
|
+
if (parseInt(f, 10) !== 0) {
|
|
78467
|
+
writer.writeUint64String(
|
|
78468
|
+
1,
|
|
78469
|
+
f
|
|
78470
|
+
);
|
|
78471
|
+
}
|
|
78472
|
+
f = message.getProve();
|
|
78473
|
+
if (f) {
|
|
78474
|
+
writer.writeBool(
|
|
78475
|
+
2,
|
|
78476
|
+
f
|
|
78477
|
+
);
|
|
78478
|
+
}
|
|
78479
|
+
};
|
|
78480
|
+
|
|
78481
|
+
|
|
78482
|
+
/**
|
|
78483
|
+
* optional uint64 start_block_height = 1;
|
|
78484
|
+
* @return {string}
|
|
78485
|
+
*/
|
|
78486
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0.prototype.getStartBlockHeight = function() {
|
|
78487
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "0"));
|
|
78488
|
+
};
|
|
78489
|
+
|
|
78490
|
+
|
|
78491
|
+
/**
|
|
78492
|
+
* @param {string} value
|
|
78493
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0} returns this
|
|
78494
|
+
*/
|
|
78495
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0.prototype.setStartBlockHeight = function(value) {
|
|
78496
|
+
return jspb.Message.setProto3StringIntField(this, 1, value);
|
|
78497
|
+
};
|
|
78498
|
+
|
|
78499
|
+
|
|
78500
|
+
/**
|
|
78501
|
+
* optional bool prove = 2;
|
|
78502
|
+
* @return {boolean}
|
|
78503
|
+
*/
|
|
78504
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0.prototype.getProve = function() {
|
|
78505
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
78506
|
+
};
|
|
78507
|
+
|
|
78508
|
+
|
|
78509
|
+
/**
|
|
78510
|
+
* @param {boolean} value
|
|
78511
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0} returns this
|
|
78512
|
+
*/
|
|
78513
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0.prototype.setProve = function(value) {
|
|
78514
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
78515
|
+
};
|
|
78516
|
+
|
|
78517
|
+
|
|
78518
|
+
/**
|
|
78519
|
+
* optional GetRecentCompactedAddressBalanceChangesRequestV0 v0 = 1;
|
|
78520
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0}
|
|
78521
|
+
*/
|
|
78522
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.prototype.getV0 = function() {
|
|
78523
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0} */ (
|
|
78524
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0, 1));
|
|
78525
|
+
};
|
|
78526
|
+
|
|
78527
|
+
|
|
78528
|
+
/**
|
|
78529
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0|undefined} value
|
|
78530
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest} returns this
|
|
78531
|
+
*/
|
|
78532
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.prototype.setV0 = function(value) {
|
|
78533
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.oneofGroups_[0], value);
|
|
78534
|
+
};
|
|
78535
|
+
|
|
78536
|
+
|
|
78537
|
+
/**
|
|
78538
|
+
* Clears the message field making it undefined.
|
|
78539
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest} returns this
|
|
78540
|
+
*/
|
|
78541
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.prototype.clearV0 = function() {
|
|
78542
|
+
return this.setV0(undefined);
|
|
78543
|
+
};
|
|
78544
|
+
|
|
78545
|
+
|
|
78546
|
+
/**
|
|
78547
|
+
* Returns whether this field is set.
|
|
78548
|
+
* @return {boolean}
|
|
78549
|
+
*/
|
|
78550
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.prototype.hasV0 = function() {
|
|
78551
|
+
return jspb.Message.getField(this, 1) != null;
|
|
78552
|
+
};
|
|
78553
|
+
|
|
78554
|
+
|
|
78555
|
+
|
|
78556
|
+
/**
|
|
78557
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
78558
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
78559
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
78560
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
78561
|
+
* @private {!Array<!Array<number>>}
|
|
78562
|
+
* @const
|
|
78563
|
+
*/
|
|
78564
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.oneofGroups_ = [[1]];
|
|
78565
|
+
|
|
78566
|
+
/**
|
|
78567
|
+
* @enum {number}
|
|
78568
|
+
*/
|
|
78569
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.VersionCase = {
|
|
78570
|
+
VERSION_NOT_SET: 0,
|
|
78571
|
+
V0: 1
|
|
78572
|
+
};
|
|
78573
|
+
|
|
78574
|
+
/**
|
|
78575
|
+
* @return {proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.VersionCase}
|
|
78576
|
+
*/
|
|
78577
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.prototype.getVersionCase = function() {
|
|
78578
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.oneofGroups_[0]));
|
|
78579
|
+
};
|
|
78580
|
+
|
|
78581
|
+
|
|
78582
|
+
|
|
78583
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
78584
|
+
/**
|
|
78585
|
+
* Creates an object representation of this proto.
|
|
78586
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
78587
|
+
* Optional fields that are not set will be set to undefined.
|
|
78588
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
78589
|
+
* For the list of reserved names please see:
|
|
78590
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
78591
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
78592
|
+
* JSPB instance for transitional soy proto support:
|
|
78593
|
+
* http://goto/soy-param-migration
|
|
78594
|
+
* @return {!Object}
|
|
78595
|
+
*/
|
|
78596
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
78597
|
+
return proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.toObject(opt_includeInstance, this);
|
|
78598
|
+
};
|
|
78599
|
+
|
|
78600
|
+
|
|
78601
|
+
/**
|
|
78602
|
+
* Static version of the {@see toObject} method.
|
|
78603
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
78604
|
+
* the JSPB instance for transitional soy proto support:
|
|
78605
|
+
* http://goto/soy-param-migration
|
|
78606
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse} msg The msg instance to transform.
|
|
78607
|
+
* @return {!Object}
|
|
78608
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
78609
|
+
*/
|
|
78610
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.toObject = function(includeInstance, msg) {
|
|
78611
|
+
var f, obj = {
|
|
78612
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.toObject(includeInstance, f)
|
|
78613
|
+
};
|
|
78614
|
+
|
|
78615
|
+
if (includeInstance) {
|
|
78616
|
+
obj.$jspbMessageInstance = msg;
|
|
78617
|
+
}
|
|
78618
|
+
return obj;
|
|
78619
|
+
};
|
|
78620
|
+
}
|
|
78621
|
+
|
|
78622
|
+
|
|
78623
|
+
/**
|
|
78624
|
+
* Deserializes binary data (in protobuf wire format).
|
|
78625
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
78626
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse}
|
|
78627
|
+
*/
|
|
78628
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.deserializeBinary = function(bytes) {
|
|
78629
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
78630
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse;
|
|
78631
|
+
return proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.deserializeBinaryFromReader(msg, reader);
|
|
78632
|
+
};
|
|
78633
|
+
|
|
78634
|
+
|
|
78635
|
+
/**
|
|
78636
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
78637
|
+
* given reader into the given message object.
|
|
78638
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse} msg The message object to deserialize into.
|
|
78639
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
78640
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse}
|
|
78641
|
+
*/
|
|
78642
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
78643
|
+
while (reader.nextField()) {
|
|
78644
|
+
if (reader.isEndGroup()) {
|
|
78645
|
+
break;
|
|
78646
|
+
}
|
|
78647
|
+
var field = reader.getFieldNumber();
|
|
78648
|
+
switch (field) {
|
|
78649
|
+
case 1:
|
|
78650
|
+
var value = new proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0;
|
|
78651
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.deserializeBinaryFromReader);
|
|
78652
|
+
msg.setV0(value);
|
|
78653
|
+
break;
|
|
78654
|
+
default:
|
|
78655
|
+
reader.skipField();
|
|
78656
|
+
break;
|
|
78657
|
+
}
|
|
78658
|
+
}
|
|
78659
|
+
return msg;
|
|
78660
|
+
};
|
|
78661
|
+
|
|
78662
|
+
|
|
78663
|
+
/**
|
|
78664
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
78665
|
+
* @return {!Uint8Array}
|
|
78666
|
+
*/
|
|
78667
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.prototype.serializeBinary = function() {
|
|
78668
|
+
var writer = new jspb.BinaryWriter();
|
|
78669
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.serializeBinaryToWriter(this, writer);
|
|
78670
|
+
return writer.getResultBuffer();
|
|
78671
|
+
};
|
|
78672
|
+
|
|
78673
|
+
|
|
78674
|
+
/**
|
|
78675
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
78676
|
+
* format), writing to the given BinaryWriter.
|
|
78677
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse} message
|
|
78678
|
+
* @param {!jspb.BinaryWriter} writer
|
|
78679
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
78680
|
+
*/
|
|
78681
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
78682
|
+
var f = undefined;
|
|
78683
|
+
f = message.getV0();
|
|
78684
|
+
if (f != null) {
|
|
78685
|
+
writer.writeMessage(
|
|
78686
|
+
1,
|
|
78687
|
+
f,
|
|
78688
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.serializeBinaryToWriter
|
|
78689
|
+
);
|
|
78690
|
+
}
|
|
78691
|
+
};
|
|
78692
|
+
|
|
78693
|
+
|
|
78694
|
+
|
|
78695
|
+
/**
|
|
78696
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
78697
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
78698
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
78699
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
78700
|
+
* @private {!Array<!Array<number>>}
|
|
78701
|
+
* @const
|
|
78702
|
+
*/
|
|
78703
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.oneofGroups_ = [[1,2]];
|
|
78704
|
+
|
|
78705
|
+
/**
|
|
78706
|
+
* @enum {number}
|
|
78707
|
+
*/
|
|
78708
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.ResultCase = {
|
|
78709
|
+
RESULT_NOT_SET: 0,
|
|
78710
|
+
COMPACTED_ADDRESS_BALANCE_UPDATE_ENTRIES: 1,
|
|
78711
|
+
PROOF: 2
|
|
78712
|
+
};
|
|
78713
|
+
|
|
78714
|
+
/**
|
|
78715
|
+
* @return {proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.ResultCase}
|
|
78716
|
+
*/
|
|
78717
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.prototype.getResultCase = function() {
|
|
78718
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.oneofGroups_[0]));
|
|
78719
|
+
};
|
|
78720
|
+
|
|
78721
|
+
|
|
78722
|
+
|
|
78723
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
78724
|
+
/**
|
|
78725
|
+
* Creates an object representation of this proto.
|
|
78726
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
78727
|
+
* Optional fields that are not set will be set to undefined.
|
|
78728
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
78729
|
+
* For the list of reserved names please see:
|
|
78730
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
78731
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
78732
|
+
* JSPB instance for transitional soy proto support:
|
|
78733
|
+
* http://goto/soy-param-migration
|
|
78734
|
+
* @return {!Object}
|
|
78735
|
+
*/
|
|
78736
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.prototype.toObject = function(opt_includeInstance) {
|
|
78737
|
+
return proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.toObject(opt_includeInstance, this);
|
|
78738
|
+
};
|
|
78739
|
+
|
|
78740
|
+
|
|
78741
|
+
/**
|
|
78742
|
+
* Static version of the {@see toObject} method.
|
|
78743
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
78744
|
+
* the JSPB instance for transitional soy proto support:
|
|
78745
|
+
* http://goto/soy-param-migration
|
|
78746
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0} msg The msg instance to transform.
|
|
78747
|
+
* @return {!Object}
|
|
78748
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
78749
|
+
*/
|
|
78750
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.toObject = function(includeInstance, msg) {
|
|
78751
|
+
var f, obj = {
|
|
78752
|
+
compactedAddressBalanceUpdateEntries: (f = msg.getCompactedAddressBalanceUpdateEntries()) && proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries.toObject(includeInstance, f),
|
|
78753
|
+
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
78754
|
+
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
78755
|
+
};
|
|
78756
|
+
|
|
78757
|
+
if (includeInstance) {
|
|
78758
|
+
obj.$jspbMessageInstance = msg;
|
|
78759
|
+
}
|
|
78760
|
+
return obj;
|
|
78761
|
+
};
|
|
78762
|
+
}
|
|
78763
|
+
|
|
78764
|
+
|
|
78765
|
+
/**
|
|
78766
|
+
* Deserializes binary data (in protobuf wire format).
|
|
78767
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
78768
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0}
|
|
78769
|
+
*/
|
|
78770
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.deserializeBinary = function(bytes) {
|
|
78771
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
78772
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0;
|
|
78773
|
+
return proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.deserializeBinaryFromReader(msg, reader);
|
|
78774
|
+
};
|
|
78775
|
+
|
|
78776
|
+
|
|
78777
|
+
/**
|
|
78778
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
78779
|
+
* given reader into the given message object.
|
|
78780
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0} msg The message object to deserialize into.
|
|
78781
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
78782
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0}
|
|
78783
|
+
*/
|
|
78784
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
78785
|
+
while (reader.nextField()) {
|
|
78786
|
+
if (reader.isEndGroup()) {
|
|
78787
|
+
break;
|
|
78788
|
+
}
|
|
78789
|
+
var field = reader.getFieldNumber();
|
|
78790
|
+
switch (field) {
|
|
78791
|
+
case 1:
|
|
78792
|
+
var value = new proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries;
|
|
78793
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries.deserializeBinaryFromReader);
|
|
78794
|
+
msg.setCompactedAddressBalanceUpdateEntries(value);
|
|
78795
|
+
break;
|
|
78796
|
+
case 2:
|
|
78797
|
+
var value = new proto.org.dash.platform.dapi.v0.Proof;
|
|
78798
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
|
|
78799
|
+
msg.setProof(value);
|
|
78800
|
+
break;
|
|
78801
|
+
case 3:
|
|
78802
|
+
var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
|
|
78803
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
|
|
78804
|
+
msg.setMetadata(value);
|
|
78805
|
+
break;
|
|
78806
|
+
default:
|
|
78807
|
+
reader.skipField();
|
|
78808
|
+
break;
|
|
78809
|
+
}
|
|
78810
|
+
}
|
|
78811
|
+
return msg;
|
|
78812
|
+
};
|
|
78813
|
+
|
|
78814
|
+
|
|
78815
|
+
/**
|
|
78816
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
78817
|
+
* @return {!Uint8Array}
|
|
78818
|
+
*/
|
|
78819
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.prototype.serializeBinary = function() {
|
|
78820
|
+
var writer = new jspb.BinaryWriter();
|
|
78821
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.serializeBinaryToWriter(this, writer);
|
|
78822
|
+
return writer.getResultBuffer();
|
|
78823
|
+
};
|
|
78824
|
+
|
|
78825
|
+
|
|
78826
|
+
/**
|
|
78827
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
78828
|
+
* format), writing to the given BinaryWriter.
|
|
78829
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0} message
|
|
78830
|
+
* @param {!jspb.BinaryWriter} writer
|
|
78831
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
78832
|
+
*/
|
|
78833
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.serializeBinaryToWriter = function(message, writer) {
|
|
78834
|
+
var f = undefined;
|
|
78835
|
+
f = message.getCompactedAddressBalanceUpdateEntries();
|
|
78836
|
+
if (f != null) {
|
|
78837
|
+
writer.writeMessage(
|
|
78838
|
+
1,
|
|
78839
|
+
f,
|
|
78840
|
+
proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries.serializeBinaryToWriter
|
|
78841
|
+
);
|
|
78842
|
+
}
|
|
78843
|
+
f = message.getProof();
|
|
78844
|
+
if (f != null) {
|
|
78845
|
+
writer.writeMessage(
|
|
78846
|
+
2,
|
|
78847
|
+
f,
|
|
78848
|
+
proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
|
|
78849
|
+
);
|
|
78850
|
+
}
|
|
78851
|
+
f = message.getMetadata();
|
|
78852
|
+
if (f != null) {
|
|
78853
|
+
writer.writeMessage(
|
|
78854
|
+
3,
|
|
78855
|
+
f,
|
|
78856
|
+
proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
|
|
78857
|
+
);
|
|
78858
|
+
}
|
|
78859
|
+
};
|
|
78860
|
+
|
|
78861
|
+
|
|
78862
|
+
/**
|
|
78863
|
+
* optional CompactedAddressBalanceUpdateEntries compacted_address_balance_update_entries = 1;
|
|
78864
|
+
* @return {?proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries}
|
|
78865
|
+
*/
|
|
78866
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.prototype.getCompactedAddressBalanceUpdateEntries = function() {
|
|
78867
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries} */ (
|
|
78868
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries, 1));
|
|
78869
|
+
};
|
|
78870
|
+
|
|
78871
|
+
|
|
78872
|
+
/**
|
|
78873
|
+
* @param {?proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntries|undefined} value
|
|
78874
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0} returns this
|
|
78875
|
+
*/
|
|
78876
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.prototype.setCompactedAddressBalanceUpdateEntries = function(value) {
|
|
78877
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.oneofGroups_[0], value);
|
|
78878
|
+
};
|
|
78879
|
+
|
|
78880
|
+
|
|
78881
|
+
/**
|
|
78882
|
+
* Clears the message field making it undefined.
|
|
78883
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0} returns this
|
|
78884
|
+
*/
|
|
78885
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.prototype.clearCompactedAddressBalanceUpdateEntries = function() {
|
|
78886
|
+
return this.setCompactedAddressBalanceUpdateEntries(undefined);
|
|
78887
|
+
};
|
|
78888
|
+
|
|
78889
|
+
|
|
78890
|
+
/**
|
|
78891
|
+
* Returns whether this field is set.
|
|
78892
|
+
* @return {boolean}
|
|
78893
|
+
*/
|
|
78894
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.prototype.hasCompactedAddressBalanceUpdateEntries = function() {
|
|
78895
|
+
return jspb.Message.getField(this, 1) != null;
|
|
78896
|
+
};
|
|
78897
|
+
|
|
78898
|
+
|
|
78899
|
+
/**
|
|
78900
|
+
* optional Proof proof = 2;
|
|
78901
|
+
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
78902
|
+
*/
|
|
78903
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.prototype.getProof = function() {
|
|
78904
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
|
|
78905
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
|
|
78906
|
+
};
|
|
78907
|
+
|
|
78908
|
+
|
|
78909
|
+
/**
|
|
78910
|
+
* @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
|
|
78911
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0} returns this
|
|
78912
|
+
*/
|
|
78913
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.prototype.setProof = function(value) {
|
|
78914
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.oneofGroups_[0], value);
|
|
78915
|
+
};
|
|
78916
|
+
|
|
78917
|
+
|
|
78918
|
+
/**
|
|
78919
|
+
* Clears the message field making it undefined.
|
|
78920
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0} returns this
|
|
78921
|
+
*/
|
|
78922
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.prototype.clearProof = function() {
|
|
78923
|
+
return this.setProof(undefined);
|
|
78924
|
+
};
|
|
78925
|
+
|
|
78926
|
+
|
|
78927
|
+
/**
|
|
78928
|
+
* Returns whether this field is set.
|
|
78929
|
+
* @return {boolean}
|
|
78930
|
+
*/
|
|
78931
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.prototype.hasProof = function() {
|
|
78932
|
+
return jspb.Message.getField(this, 2) != null;
|
|
78933
|
+
};
|
|
78934
|
+
|
|
78935
|
+
|
|
78936
|
+
/**
|
|
78937
|
+
* optional ResponseMetadata metadata = 3;
|
|
78938
|
+
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
|
|
78939
|
+
*/
|
|
78940
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.prototype.getMetadata = function() {
|
|
78941
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
|
|
78942
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
|
|
78943
|
+
};
|
|
78944
|
+
|
|
78945
|
+
|
|
78946
|
+
/**
|
|
78947
|
+
* @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
|
|
78948
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0} returns this
|
|
78949
|
+
*/
|
|
78950
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.prototype.setMetadata = function(value) {
|
|
78951
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
78952
|
+
};
|
|
78953
|
+
|
|
78954
|
+
|
|
78955
|
+
/**
|
|
78956
|
+
* Clears the message field making it undefined.
|
|
78957
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0} returns this
|
|
78958
|
+
*/
|
|
78959
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.prototype.clearMetadata = function() {
|
|
78960
|
+
return this.setMetadata(undefined);
|
|
78961
|
+
};
|
|
78962
|
+
|
|
78963
|
+
|
|
78964
|
+
/**
|
|
78965
|
+
* Returns whether this field is set.
|
|
78966
|
+
* @return {boolean}
|
|
78967
|
+
*/
|
|
78968
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0.prototype.hasMetadata = function() {
|
|
78969
|
+
return jspb.Message.getField(this, 3) != null;
|
|
78970
|
+
};
|
|
78971
|
+
|
|
78972
|
+
|
|
78973
|
+
/**
|
|
78974
|
+
* optional GetRecentCompactedAddressBalanceChangesResponseV0 v0 = 1;
|
|
78975
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0}
|
|
78976
|
+
*/
|
|
78977
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.prototype.getV0 = function() {
|
|
78978
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0} */ (
|
|
78979
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0, 1));
|
|
78980
|
+
};
|
|
78981
|
+
|
|
78982
|
+
|
|
78983
|
+
/**
|
|
78984
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0|undefined} value
|
|
78985
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse} returns this
|
|
78986
|
+
*/
|
|
78987
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.prototype.setV0 = function(value) {
|
|
78988
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.oneofGroups_[0], value);
|
|
78989
|
+
};
|
|
78990
|
+
|
|
78991
|
+
|
|
78992
|
+
/**
|
|
78993
|
+
* Clears the message field making it undefined.
|
|
78994
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse} returns this
|
|
78995
|
+
*/
|
|
78996
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.prototype.clearV0 = function() {
|
|
78997
|
+
return this.setV0(undefined);
|
|
78998
|
+
};
|
|
78999
|
+
|
|
79000
|
+
|
|
79001
|
+
/**
|
|
79002
|
+
* Returns whether this field is set.
|
|
79003
|
+
* @return {boolean}
|
|
79004
|
+
*/
|
|
79005
|
+
proto.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.prototype.hasV0 = function() {
|
|
79006
|
+
return jspb.Message.getField(this, 1) != null;
|
|
79007
|
+
};
|
|
79008
|
+
|
|
79009
|
+
|
|
76099
79010
|
/**
|
|
76100
79011
|
* @enum {number}
|
|
76101
79012
|
*/
|