@dashevo/dapi-grpc 1.3.1 → 1.4.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cargo.toml +1 -1
- package/clients/platform/v0/nodejs/platform_pbjs.js +1524 -225
- package/clients/platform/v0/nodejs/platform_protoc.js +1564 -210
- package/clients/platform/v0/web/platform_pb.d.ts +199 -29
- package/clients/platform/v0/web/platform_pb.js +1564 -210
- package/clients/platform/v0/web/platform_pb_service.d.ts +19 -0
- package/clients/platform/v0/web/platform_pb_service.js +40 -0
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +31 -0
|
@@ -75,6 +75,14 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetContestedResourcesResponse
|
|
|
75
75
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetContestedResourcesResponse.GetContestedResourcesResponseV0.ContestedResourceValues', null, { proto });
|
|
76
76
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetContestedResourcesResponse.GetContestedResourcesResponseV0.ResultCase', null, { proto });
|
|
77
77
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetContestedResourcesResponse.VersionCase', null, { proto });
|
|
78
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest', null, { proto });
|
|
79
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0', null, { proto });
|
|
80
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.VersionCase', null, { proto });
|
|
81
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse', null, { proto });
|
|
82
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0', null, { proto });
|
|
83
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0', null, { proto });
|
|
84
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0', null, { proto });
|
|
85
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.VersionCase', null, { proto });
|
|
78
86
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest', null, { proto });
|
|
79
87
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.GetDataContractHistoryRequestV0', null, { proto });
|
|
80
88
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.VersionCase', null, { proto });
|
|
@@ -133,7 +141,6 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlock
|
|
|
133
141
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse.VersionCase', null, { proto });
|
|
134
142
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest', null, { proto });
|
|
135
143
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0', null, { proto });
|
|
136
|
-
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds', null, { proto });
|
|
137
144
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.VersionCase', null, { proto });
|
|
138
145
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse', null, { proto });
|
|
139
146
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0', null, { proto });
|
|
@@ -1404,7 +1411,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1404
1411
|
* @constructor
|
|
1405
1412
|
*/
|
|
1406
1413
|
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0 = function(opt_data) {
|
|
1407
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
1414
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.repeatedFields_, null);
|
|
1408
1415
|
};
|
|
1409
1416
|
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0, jspb.Message);
|
|
1410
1417
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1414,27 +1421,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1414
1421
|
*/
|
|
1415
1422
|
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0';
|
|
1416
1423
|
}
|
|
1417
|
-
/**
|
|
1418
|
-
* Generated by JsPbCodeGenerator.
|
|
1419
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1420
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1421
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1422
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1423
|
-
* valid.
|
|
1424
|
-
* @extends {jspb.Message}
|
|
1425
|
-
* @constructor
|
|
1426
|
-
*/
|
|
1427
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds = function(opt_data) {
|
|
1428
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.repeatedFields_, null);
|
|
1429
|
-
};
|
|
1430
|
-
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds, jspb.Message);
|
|
1431
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1432
|
-
/**
|
|
1433
|
-
* @public
|
|
1434
|
-
* @override
|
|
1435
|
-
*/
|
|
1436
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds';
|
|
1437
|
-
}
|
|
1438
1424
|
/**
|
|
1439
1425
|
* Generated by JsPbCodeGenerator.
|
|
1440
1426
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -4144,6 +4130,132 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4144
4130
|
*/
|
|
4145
4131
|
proto.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.StateSync.displayName = 'proto.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.StateSync';
|
|
4146
4132
|
}
|
|
4133
|
+
/**
|
|
4134
|
+
* Generated by JsPbCodeGenerator.
|
|
4135
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4136
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4137
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4138
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4139
|
+
* valid.
|
|
4140
|
+
* @extends {jspb.Message}
|
|
4141
|
+
* @constructor
|
|
4142
|
+
*/
|
|
4143
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest = function(opt_data) {
|
|
4144
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.oneofGroups_);
|
|
4145
|
+
};
|
|
4146
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest, jspb.Message);
|
|
4147
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4148
|
+
/**
|
|
4149
|
+
* @public
|
|
4150
|
+
* @override
|
|
4151
|
+
*/
|
|
4152
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest';
|
|
4153
|
+
}
|
|
4154
|
+
/**
|
|
4155
|
+
* Generated by JsPbCodeGenerator.
|
|
4156
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4157
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4158
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4159
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4160
|
+
* valid.
|
|
4161
|
+
* @extends {jspb.Message}
|
|
4162
|
+
* @constructor
|
|
4163
|
+
*/
|
|
4164
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0 = function(opt_data) {
|
|
4165
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4166
|
+
};
|
|
4167
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0, jspb.Message);
|
|
4168
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4169
|
+
/**
|
|
4170
|
+
* @public
|
|
4171
|
+
* @override
|
|
4172
|
+
*/
|
|
4173
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0';
|
|
4174
|
+
}
|
|
4175
|
+
/**
|
|
4176
|
+
* Generated by JsPbCodeGenerator.
|
|
4177
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4178
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4179
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4180
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4181
|
+
* valid.
|
|
4182
|
+
* @extends {jspb.Message}
|
|
4183
|
+
* @constructor
|
|
4184
|
+
*/
|
|
4185
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse = function(opt_data) {
|
|
4186
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.oneofGroups_);
|
|
4187
|
+
};
|
|
4188
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse, jspb.Message);
|
|
4189
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4190
|
+
/**
|
|
4191
|
+
* @public
|
|
4192
|
+
* @override
|
|
4193
|
+
*/
|
|
4194
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse';
|
|
4195
|
+
}
|
|
4196
|
+
/**
|
|
4197
|
+
* Generated by JsPbCodeGenerator.
|
|
4198
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4199
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4200
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4201
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4202
|
+
* valid.
|
|
4203
|
+
* @extends {jspb.Message}
|
|
4204
|
+
* @constructor
|
|
4205
|
+
*/
|
|
4206
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0 = function(opt_data) {
|
|
4207
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4208
|
+
};
|
|
4209
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0, jspb.Message);
|
|
4210
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4211
|
+
/**
|
|
4212
|
+
* @public
|
|
4213
|
+
* @override
|
|
4214
|
+
*/
|
|
4215
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.displayName = 'proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0';
|
|
4216
|
+
}
|
|
4217
|
+
/**
|
|
4218
|
+
* Generated by JsPbCodeGenerator.
|
|
4219
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4220
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4221
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4222
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4223
|
+
* valid.
|
|
4224
|
+
* @extends {jspb.Message}
|
|
4225
|
+
* @constructor
|
|
4226
|
+
*/
|
|
4227
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0 = function(opt_data) {
|
|
4228
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.repeatedFields_, null);
|
|
4229
|
+
};
|
|
4230
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0, jspb.Message);
|
|
4231
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4232
|
+
/**
|
|
4233
|
+
* @public
|
|
4234
|
+
* @override
|
|
4235
|
+
*/
|
|
4236
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.displayName = 'proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0';
|
|
4237
|
+
}
|
|
4238
|
+
/**
|
|
4239
|
+
* Generated by JsPbCodeGenerator.
|
|
4240
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4241
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4242
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4243
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4244
|
+
* valid.
|
|
4245
|
+
* @extends {jspb.Message}
|
|
4246
|
+
* @constructor
|
|
4247
|
+
*/
|
|
4248
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0 = function(opt_data) {
|
|
4249
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.repeatedFields_, null);
|
|
4250
|
+
};
|
|
4251
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0, jspb.Message);
|
|
4252
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4253
|
+
/**
|
|
4254
|
+
* @public
|
|
4255
|
+
* @override
|
|
4256
|
+
*/
|
|
4257
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0';
|
|
4258
|
+
}
|
|
4147
4259
|
|
|
4148
4260
|
|
|
4149
4261
|
|
|
@@ -13367,8 +13479,8 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEv
|
|
|
13367
13479
|
*/
|
|
13368
13480
|
proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
13369
13481
|
var f = undefined;
|
|
13370
|
-
f =
|
|
13371
|
-
if (f
|
|
13482
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
13483
|
+
if (f != null) {
|
|
13372
13484
|
writer.writeUint32(
|
|
13373
13485
|
1,
|
|
13374
13486
|
f
|
|
@@ -13405,7 +13517,25 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEv
|
|
|
13405
13517
|
* @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0} returns this
|
|
13406
13518
|
*/
|
|
13407
13519
|
proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.prototype.setEpoch = function(value) {
|
|
13408
|
-
return jspb.Message.
|
|
13520
|
+
return jspb.Message.setField(this, 1, value);
|
|
13521
|
+
};
|
|
13522
|
+
|
|
13523
|
+
|
|
13524
|
+
/**
|
|
13525
|
+
* Clears the field making it undefined.
|
|
13526
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0} returns this
|
|
13527
|
+
*/
|
|
13528
|
+
proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.prototype.clearEpoch = function() {
|
|
13529
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
13530
|
+
};
|
|
13531
|
+
|
|
13532
|
+
|
|
13533
|
+
/**
|
|
13534
|
+
* Returns whether this field is set.
|
|
13535
|
+
* @return {boolean}
|
|
13536
|
+
*/
|
|
13537
|
+
proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.prototype.hasEpoch = function() {
|
|
13538
|
+
return jspb.Message.getField(this, 1) != null;
|
|
13409
13539
|
};
|
|
13410
13540
|
|
|
13411
13541
|
|
|
@@ -14611,8 +14741,8 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.Get
|
|
|
14611
14741
|
*/
|
|
14612
14742
|
proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
14613
14743
|
var f = undefined;
|
|
14614
|
-
f =
|
|
14615
|
-
if (f
|
|
14744
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
14745
|
+
if (f != null) {
|
|
14616
14746
|
writer.writeUint32(
|
|
14617
14747
|
1,
|
|
14618
14748
|
f
|
|
@@ -14663,7 +14793,25 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.Get
|
|
|
14663
14793
|
* @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0} returns this
|
|
14664
14794
|
*/
|
|
14665
14795
|
proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.prototype.setEpoch = function(value) {
|
|
14666
|
-
return jspb.Message.
|
|
14796
|
+
return jspb.Message.setField(this, 1, value);
|
|
14797
|
+
};
|
|
14798
|
+
|
|
14799
|
+
|
|
14800
|
+
/**
|
|
14801
|
+
* Clears the field making it undefined.
|
|
14802
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0} returns this
|
|
14803
|
+
*/
|
|
14804
|
+
proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.prototype.clearEpoch = function() {
|
|
14805
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
14806
|
+
};
|
|
14807
|
+
|
|
14808
|
+
|
|
14809
|
+
/**
|
|
14810
|
+
* Returns whether this field is set.
|
|
14811
|
+
* @return {boolean}
|
|
14812
|
+
*/
|
|
14813
|
+
proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.prototype.hasEpoch = function() {
|
|
14814
|
+
return jspb.Message.getField(this, 1) != null;
|
|
14667
14815
|
};
|
|
14668
14816
|
|
|
14669
14817
|
|
|
@@ -15018,6 +15166,13 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.serializeBinaryToWr
|
|
|
15018
15166
|
|
|
15019
15167
|
|
|
15020
15168
|
|
|
15169
|
+
/**
|
|
15170
|
+
* List of repeated fields within this message type.
|
|
15171
|
+
* @private {!Array<number>}
|
|
15172
|
+
* @const
|
|
15173
|
+
*/
|
|
15174
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.repeatedFields_ = [1];
|
|
15175
|
+
|
|
15021
15176
|
|
|
15022
15177
|
|
|
15023
15178
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -15049,7 +15204,7 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15049
15204
|
*/
|
|
15050
15205
|
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.toObject = function(includeInstance, msg) {
|
|
15051
15206
|
var f, obj = {
|
|
15052
|
-
|
|
15207
|
+
idsList: msg.getIdsList_asB64(),
|
|
15053
15208
|
prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
15054
15209
|
};
|
|
15055
15210
|
|
|
@@ -15088,9 +15243,8 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15088
15243
|
var field = reader.getFieldNumber();
|
|
15089
15244
|
switch (field) {
|
|
15090
15245
|
case 1:
|
|
15091
|
-
var value =
|
|
15092
|
-
|
|
15093
|
-
msg.setIdentitiesIds(value);
|
|
15246
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
15247
|
+
msg.addIds(value);
|
|
15094
15248
|
break;
|
|
15095
15249
|
case 2:
|
|
15096
15250
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
@@ -15125,12 +15279,11 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15125
15279
|
*/
|
|
15126
15280
|
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
15127
15281
|
var f = undefined;
|
|
15128
|
-
f = message.
|
|
15129
|
-
if (f
|
|
15130
|
-
writer.
|
|
15282
|
+
f = message.getIdsList_asU8();
|
|
15283
|
+
if (f.length > 0) {
|
|
15284
|
+
writer.writeRepeatedBytes(
|
|
15131
15285
|
1,
|
|
15132
|
-
f
|
|
15133
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.serializeBinaryToWriter
|
|
15286
|
+
f
|
|
15134
15287
|
);
|
|
15135
15288
|
}
|
|
15136
15289
|
f = message.getProve();
|
|
@@ -15143,163 +15296,44 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15143
15296
|
};
|
|
15144
15297
|
|
|
15145
15298
|
|
|
15146
|
-
|
|
15147
|
-
/**
|
|
15148
|
-
* List of repeated fields within this message type.
|
|
15149
|
-
* @private {!Array<number>}
|
|
15150
|
-
* @const
|
|
15151
|
-
*/
|
|
15152
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.repeatedFields_ = [1];
|
|
15153
|
-
|
|
15154
|
-
|
|
15155
|
-
|
|
15156
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15157
|
-
/**
|
|
15158
|
-
* Creates an object representation of this proto.
|
|
15159
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15160
|
-
* Optional fields that are not set will be set to undefined.
|
|
15161
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15162
|
-
* For the list of reserved names please see:
|
|
15163
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15164
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15165
|
-
* JSPB instance for transitional soy proto support:
|
|
15166
|
-
* http://goto/soy-param-migration
|
|
15167
|
-
* @return {!Object}
|
|
15168
|
-
*/
|
|
15169
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.toObject = function(opt_includeInstance) {
|
|
15170
|
-
return proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.toObject(opt_includeInstance, this);
|
|
15171
|
-
};
|
|
15172
|
-
|
|
15173
|
-
|
|
15174
|
-
/**
|
|
15175
|
-
* Static version of the {@see toObject} method.
|
|
15176
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15177
|
-
* the JSPB instance for transitional soy proto support:
|
|
15178
|
-
* http://goto/soy-param-migration
|
|
15179
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} msg The msg instance to transform.
|
|
15180
|
-
* @return {!Object}
|
|
15181
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15182
|
-
*/
|
|
15183
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.toObject = function(includeInstance, msg) {
|
|
15184
|
-
var f, obj = {
|
|
15185
|
-
identitiesIdsList: msg.getIdentitiesIdsList_asB64()
|
|
15186
|
-
};
|
|
15187
|
-
|
|
15188
|
-
if (includeInstance) {
|
|
15189
|
-
obj.$jspbMessageInstance = msg;
|
|
15190
|
-
}
|
|
15191
|
-
return obj;
|
|
15192
|
-
};
|
|
15193
|
-
}
|
|
15194
|
-
|
|
15195
|
-
|
|
15196
|
-
/**
|
|
15197
|
-
* Deserializes binary data (in protobuf wire format).
|
|
15198
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15199
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds}
|
|
15200
|
-
*/
|
|
15201
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.deserializeBinary = function(bytes) {
|
|
15202
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
15203
|
-
var msg = new proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds;
|
|
15204
|
-
return proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.deserializeBinaryFromReader(msg, reader);
|
|
15205
|
-
};
|
|
15206
|
-
|
|
15207
|
-
|
|
15208
|
-
/**
|
|
15209
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
15210
|
-
* given reader into the given message object.
|
|
15211
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} msg The message object to deserialize into.
|
|
15212
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15213
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds}
|
|
15214
|
-
*/
|
|
15215
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.deserializeBinaryFromReader = function(msg, reader) {
|
|
15216
|
-
while (reader.nextField()) {
|
|
15217
|
-
if (reader.isEndGroup()) {
|
|
15218
|
-
break;
|
|
15219
|
-
}
|
|
15220
|
-
var field = reader.getFieldNumber();
|
|
15221
|
-
switch (field) {
|
|
15222
|
-
case 1:
|
|
15223
|
-
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
15224
|
-
msg.addIdentitiesIds(value);
|
|
15225
|
-
break;
|
|
15226
|
-
default:
|
|
15227
|
-
reader.skipField();
|
|
15228
|
-
break;
|
|
15229
|
-
}
|
|
15230
|
-
}
|
|
15231
|
-
return msg;
|
|
15232
|
-
};
|
|
15233
|
-
|
|
15234
|
-
|
|
15235
|
-
/**
|
|
15236
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
15237
|
-
* @return {!Uint8Array}
|
|
15238
|
-
*/
|
|
15239
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.serializeBinary = function() {
|
|
15240
|
-
var writer = new jspb.BinaryWriter();
|
|
15241
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.serializeBinaryToWriter(this, writer);
|
|
15242
|
-
return writer.getResultBuffer();
|
|
15243
|
-
};
|
|
15244
|
-
|
|
15245
|
-
|
|
15246
|
-
/**
|
|
15247
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
15248
|
-
* format), writing to the given BinaryWriter.
|
|
15249
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} message
|
|
15250
|
-
* @param {!jspb.BinaryWriter} writer
|
|
15251
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15252
|
-
*/
|
|
15253
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.serializeBinaryToWriter = function(message, writer) {
|
|
15254
|
-
var f = undefined;
|
|
15255
|
-
f = message.getIdentitiesIdsList_asU8();
|
|
15256
|
-
if (f.length > 0) {
|
|
15257
|
-
writer.writeRepeatedBytes(
|
|
15258
|
-
1,
|
|
15259
|
-
f
|
|
15260
|
-
);
|
|
15261
|
-
}
|
|
15262
|
-
};
|
|
15263
|
-
|
|
15264
|
-
|
|
15265
15299
|
/**
|
|
15266
|
-
* repeated bytes
|
|
15300
|
+
* repeated bytes ids = 1;
|
|
15267
15301
|
* @return {!Array<string>}
|
|
15268
15302
|
*/
|
|
15269
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.
|
|
15303
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdsList = function() {
|
|
15270
15304
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
15271
15305
|
};
|
|
15272
15306
|
|
|
15273
15307
|
|
|
15274
15308
|
/**
|
|
15275
|
-
* repeated bytes
|
|
15276
|
-
* This is a type-conversion wrapper around `
|
|
15309
|
+
* repeated bytes ids = 1;
|
|
15310
|
+
* This is a type-conversion wrapper around `getIdsList()`
|
|
15277
15311
|
* @return {!Array<string>}
|
|
15278
15312
|
*/
|
|
15279
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.
|
|
15313
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdsList_asB64 = function() {
|
|
15280
15314
|
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
|
|
15281
|
-
this.
|
|
15315
|
+
this.getIdsList()));
|
|
15282
15316
|
};
|
|
15283
15317
|
|
|
15284
15318
|
|
|
15285
15319
|
/**
|
|
15286
|
-
* repeated bytes
|
|
15320
|
+
* repeated bytes ids = 1;
|
|
15287
15321
|
* Note that Uint8Array is not supported on all browsers.
|
|
15288
15322
|
* @see http://caniuse.com/Uint8Array
|
|
15289
|
-
* This is a type-conversion wrapper around `
|
|
15323
|
+
* This is a type-conversion wrapper around `getIdsList()`
|
|
15290
15324
|
* @return {!Array<!Uint8Array>}
|
|
15291
15325
|
*/
|
|
15292
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.
|
|
15326
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdsList_asU8 = function() {
|
|
15293
15327
|
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
|
|
15294
|
-
this.
|
|
15328
|
+
this.getIdsList()));
|
|
15295
15329
|
};
|
|
15296
15330
|
|
|
15297
15331
|
|
|
15298
15332
|
/**
|
|
15299
15333
|
* @param {!(Array<!Uint8Array>|Array<string>)} value
|
|
15300
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0
|
|
15334
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
|
|
15301
15335
|
*/
|
|
15302
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.
|
|
15336
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.setIdsList = function(value) {
|
|
15303
15337
|
return jspb.Message.setField(this, 1, value || []);
|
|
15304
15338
|
};
|
|
15305
15339
|
|
|
@@ -15307,56 +15341,19 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalanc
|
|
|
15307
15341
|
/**
|
|
15308
15342
|
* @param {!(string|Uint8Array)} value
|
|
15309
15343
|
* @param {number=} opt_index
|
|
15310
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0
|
|
15344
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
|
|
15311
15345
|
*/
|
|
15312
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.
|
|
15346
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.addIds = function(value, opt_index) {
|
|
15313
15347
|
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
15314
15348
|
};
|
|
15315
15349
|
|
|
15316
15350
|
|
|
15317
15351
|
/**
|
|
15318
15352
|
* Clears the list making it empty but non-null.
|
|
15319
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} returns this
|
|
15320
|
-
*/
|
|
15321
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds.prototype.clearIdentitiesIdsList = function() {
|
|
15322
|
-
return this.setIdentitiesIdsList([]);
|
|
15323
|
-
};
|
|
15324
|
-
|
|
15325
|
-
|
|
15326
|
-
/**
|
|
15327
|
-
* optional GetIdentitiesBalancesByKnownIdentityIds identities_ids = 1;
|
|
15328
|
-
* @return {?proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds}
|
|
15329
|
-
*/
|
|
15330
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.getIdentitiesIds = function() {
|
|
15331
|
-
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds} */ (
|
|
15332
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds, 1));
|
|
15333
|
-
};
|
|
15334
|
-
|
|
15335
|
-
|
|
15336
|
-
/**
|
|
15337
|
-
* @param {?proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.GetIdentitiesBalancesByKnownIdentityIds|undefined} value
|
|
15338
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
|
|
15339
|
-
*/
|
|
15340
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.setIdentitiesIds = function(value) {
|
|
15341
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
15342
|
-
};
|
|
15343
|
-
|
|
15344
|
-
|
|
15345
|
-
/**
|
|
15346
|
-
* Clears the message field making it undefined.
|
|
15347
15353
|
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0} returns this
|
|
15348
15354
|
*/
|
|
15349
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.
|
|
15350
|
-
return this.
|
|
15351
|
-
};
|
|
15352
|
-
|
|
15353
|
-
|
|
15354
|
-
/**
|
|
15355
|
-
* Returns whether this field is set.
|
|
15356
|
-
* @return {boolean}
|
|
15357
|
-
*/
|
|
15358
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.hasIdentitiesIds = function() {
|
|
15359
|
-
return jspb.Message.getField(this, 1) != null;
|
|
15355
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0.prototype.clearIdsList = function() {
|
|
15356
|
+
return this.setIdsList([]);
|
|
15360
15357
|
};
|
|
15361
15358
|
|
|
15362
15359
|
|
|
@@ -44168,6 +44165,1363 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.hasV0 = function() {
|
|
|
44168
44165
|
};
|
|
44169
44166
|
|
|
44170
44167
|
|
|
44168
|
+
|
|
44169
|
+
/**
|
|
44170
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
44171
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
44172
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
44173
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
44174
|
+
* @private {!Array<!Array<number>>}
|
|
44175
|
+
* @const
|
|
44176
|
+
*/
|
|
44177
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.oneofGroups_ = [[1]];
|
|
44178
|
+
|
|
44179
|
+
/**
|
|
44180
|
+
* @enum {number}
|
|
44181
|
+
*/
|
|
44182
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.VersionCase = {
|
|
44183
|
+
VERSION_NOT_SET: 0,
|
|
44184
|
+
V0: 1
|
|
44185
|
+
};
|
|
44186
|
+
|
|
44187
|
+
/**
|
|
44188
|
+
* @return {proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.VersionCase}
|
|
44189
|
+
*/
|
|
44190
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.prototype.getVersionCase = function() {
|
|
44191
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.oneofGroups_[0]));
|
|
44192
|
+
};
|
|
44193
|
+
|
|
44194
|
+
|
|
44195
|
+
|
|
44196
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
44197
|
+
/**
|
|
44198
|
+
* Creates an object representation of this proto.
|
|
44199
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
44200
|
+
* Optional fields that are not set will be set to undefined.
|
|
44201
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
44202
|
+
* For the list of reserved names please see:
|
|
44203
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
44204
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
44205
|
+
* JSPB instance for transitional soy proto support:
|
|
44206
|
+
* http://goto/soy-param-migration
|
|
44207
|
+
* @return {!Object}
|
|
44208
|
+
*/
|
|
44209
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.prototype.toObject = function(opt_includeInstance) {
|
|
44210
|
+
return proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.toObject(opt_includeInstance, this);
|
|
44211
|
+
};
|
|
44212
|
+
|
|
44213
|
+
|
|
44214
|
+
/**
|
|
44215
|
+
* Static version of the {@see toObject} method.
|
|
44216
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
44217
|
+
* the JSPB instance for transitional soy proto support:
|
|
44218
|
+
* http://goto/soy-param-migration
|
|
44219
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest} msg The msg instance to transform.
|
|
44220
|
+
* @return {!Object}
|
|
44221
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44222
|
+
*/
|
|
44223
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.toObject = function(includeInstance, msg) {
|
|
44224
|
+
var f, obj = {
|
|
44225
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0.toObject(includeInstance, f)
|
|
44226
|
+
};
|
|
44227
|
+
|
|
44228
|
+
if (includeInstance) {
|
|
44229
|
+
obj.$jspbMessageInstance = msg;
|
|
44230
|
+
}
|
|
44231
|
+
return obj;
|
|
44232
|
+
};
|
|
44233
|
+
}
|
|
44234
|
+
|
|
44235
|
+
|
|
44236
|
+
/**
|
|
44237
|
+
* Deserializes binary data (in protobuf wire format).
|
|
44238
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
44239
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest}
|
|
44240
|
+
*/
|
|
44241
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.deserializeBinary = function(bytes) {
|
|
44242
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
44243
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest;
|
|
44244
|
+
return proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.deserializeBinaryFromReader(msg, reader);
|
|
44245
|
+
};
|
|
44246
|
+
|
|
44247
|
+
|
|
44248
|
+
/**
|
|
44249
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
44250
|
+
* given reader into the given message object.
|
|
44251
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest} msg The message object to deserialize into.
|
|
44252
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
44253
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest}
|
|
44254
|
+
*/
|
|
44255
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
44256
|
+
while (reader.nextField()) {
|
|
44257
|
+
if (reader.isEndGroup()) {
|
|
44258
|
+
break;
|
|
44259
|
+
}
|
|
44260
|
+
var field = reader.getFieldNumber();
|
|
44261
|
+
switch (field) {
|
|
44262
|
+
case 1:
|
|
44263
|
+
var value = new proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0;
|
|
44264
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0.deserializeBinaryFromReader);
|
|
44265
|
+
msg.setV0(value);
|
|
44266
|
+
break;
|
|
44267
|
+
default:
|
|
44268
|
+
reader.skipField();
|
|
44269
|
+
break;
|
|
44270
|
+
}
|
|
44271
|
+
}
|
|
44272
|
+
return msg;
|
|
44273
|
+
};
|
|
44274
|
+
|
|
44275
|
+
|
|
44276
|
+
/**
|
|
44277
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
44278
|
+
* @return {!Uint8Array}
|
|
44279
|
+
*/
|
|
44280
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.prototype.serializeBinary = function() {
|
|
44281
|
+
var writer = new jspb.BinaryWriter();
|
|
44282
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.serializeBinaryToWriter(this, writer);
|
|
44283
|
+
return writer.getResultBuffer();
|
|
44284
|
+
};
|
|
44285
|
+
|
|
44286
|
+
|
|
44287
|
+
/**
|
|
44288
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
44289
|
+
* format), writing to the given BinaryWriter.
|
|
44290
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest} message
|
|
44291
|
+
* @param {!jspb.BinaryWriter} writer
|
|
44292
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44293
|
+
*/
|
|
44294
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.serializeBinaryToWriter = function(message, writer) {
|
|
44295
|
+
var f = undefined;
|
|
44296
|
+
f = message.getV0();
|
|
44297
|
+
if (f != null) {
|
|
44298
|
+
writer.writeMessage(
|
|
44299
|
+
1,
|
|
44300
|
+
f,
|
|
44301
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0.serializeBinaryToWriter
|
|
44302
|
+
);
|
|
44303
|
+
}
|
|
44304
|
+
};
|
|
44305
|
+
|
|
44306
|
+
|
|
44307
|
+
|
|
44308
|
+
|
|
44309
|
+
|
|
44310
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
44311
|
+
/**
|
|
44312
|
+
* Creates an object representation of this proto.
|
|
44313
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
44314
|
+
* Optional fields that are not set will be set to undefined.
|
|
44315
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
44316
|
+
* For the list of reserved names please see:
|
|
44317
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
44318
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
44319
|
+
* JSPB instance for transitional soy proto support:
|
|
44320
|
+
* http://goto/soy-param-migration
|
|
44321
|
+
* @return {!Object}
|
|
44322
|
+
*/
|
|
44323
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0.prototype.toObject = function(opt_includeInstance) {
|
|
44324
|
+
return proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0.toObject(opt_includeInstance, this);
|
|
44325
|
+
};
|
|
44326
|
+
|
|
44327
|
+
|
|
44328
|
+
/**
|
|
44329
|
+
* Static version of the {@see toObject} method.
|
|
44330
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
44331
|
+
* the JSPB instance for transitional soy proto support:
|
|
44332
|
+
* http://goto/soy-param-migration
|
|
44333
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0} msg The msg instance to transform.
|
|
44334
|
+
* @return {!Object}
|
|
44335
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44336
|
+
*/
|
|
44337
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0.toObject = function(includeInstance, msg) {
|
|
44338
|
+
var f, obj = {
|
|
44339
|
+
|
|
44340
|
+
};
|
|
44341
|
+
|
|
44342
|
+
if (includeInstance) {
|
|
44343
|
+
obj.$jspbMessageInstance = msg;
|
|
44344
|
+
}
|
|
44345
|
+
return obj;
|
|
44346
|
+
};
|
|
44347
|
+
}
|
|
44348
|
+
|
|
44349
|
+
|
|
44350
|
+
/**
|
|
44351
|
+
* Deserializes binary data (in protobuf wire format).
|
|
44352
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
44353
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0}
|
|
44354
|
+
*/
|
|
44355
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0.deserializeBinary = function(bytes) {
|
|
44356
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
44357
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0;
|
|
44358
|
+
return proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0.deserializeBinaryFromReader(msg, reader);
|
|
44359
|
+
};
|
|
44360
|
+
|
|
44361
|
+
|
|
44362
|
+
/**
|
|
44363
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
44364
|
+
* given reader into the given message object.
|
|
44365
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0} msg The message object to deserialize into.
|
|
44366
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
44367
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0}
|
|
44368
|
+
*/
|
|
44369
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
44370
|
+
while (reader.nextField()) {
|
|
44371
|
+
if (reader.isEndGroup()) {
|
|
44372
|
+
break;
|
|
44373
|
+
}
|
|
44374
|
+
var field = reader.getFieldNumber();
|
|
44375
|
+
switch (field) {
|
|
44376
|
+
default:
|
|
44377
|
+
reader.skipField();
|
|
44378
|
+
break;
|
|
44379
|
+
}
|
|
44380
|
+
}
|
|
44381
|
+
return msg;
|
|
44382
|
+
};
|
|
44383
|
+
|
|
44384
|
+
|
|
44385
|
+
/**
|
|
44386
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
44387
|
+
* @return {!Uint8Array}
|
|
44388
|
+
*/
|
|
44389
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0.prototype.serializeBinary = function() {
|
|
44390
|
+
var writer = new jspb.BinaryWriter();
|
|
44391
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0.serializeBinaryToWriter(this, writer);
|
|
44392
|
+
return writer.getResultBuffer();
|
|
44393
|
+
};
|
|
44394
|
+
|
|
44395
|
+
|
|
44396
|
+
/**
|
|
44397
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
44398
|
+
* format), writing to the given BinaryWriter.
|
|
44399
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0} message
|
|
44400
|
+
* @param {!jspb.BinaryWriter} writer
|
|
44401
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44402
|
+
*/
|
|
44403
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
44404
|
+
var f = undefined;
|
|
44405
|
+
};
|
|
44406
|
+
|
|
44407
|
+
|
|
44408
|
+
/**
|
|
44409
|
+
* optional GetCurrentQuorumsInfoRequestV0 v0 = 1;
|
|
44410
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0}
|
|
44411
|
+
*/
|
|
44412
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.prototype.getV0 = function() {
|
|
44413
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0} */ (
|
|
44414
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0, 1));
|
|
44415
|
+
};
|
|
44416
|
+
|
|
44417
|
+
|
|
44418
|
+
/**
|
|
44419
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0|undefined} value
|
|
44420
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest} returns this
|
|
44421
|
+
*/
|
|
44422
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.prototype.setV0 = function(value) {
|
|
44423
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.oneofGroups_[0], value);
|
|
44424
|
+
};
|
|
44425
|
+
|
|
44426
|
+
|
|
44427
|
+
/**
|
|
44428
|
+
* Clears the message field making it undefined.
|
|
44429
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest} returns this
|
|
44430
|
+
*/
|
|
44431
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.prototype.clearV0 = function() {
|
|
44432
|
+
return this.setV0(undefined);
|
|
44433
|
+
};
|
|
44434
|
+
|
|
44435
|
+
|
|
44436
|
+
/**
|
|
44437
|
+
* Returns whether this field is set.
|
|
44438
|
+
* @return {boolean}
|
|
44439
|
+
*/
|
|
44440
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.prototype.hasV0 = function() {
|
|
44441
|
+
return jspb.Message.getField(this, 1) != null;
|
|
44442
|
+
};
|
|
44443
|
+
|
|
44444
|
+
|
|
44445
|
+
|
|
44446
|
+
/**
|
|
44447
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
44448
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
44449
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
44450
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
44451
|
+
* @private {!Array<!Array<number>>}
|
|
44452
|
+
* @const
|
|
44453
|
+
*/
|
|
44454
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.oneofGroups_ = [[1]];
|
|
44455
|
+
|
|
44456
|
+
/**
|
|
44457
|
+
* @enum {number}
|
|
44458
|
+
*/
|
|
44459
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.VersionCase = {
|
|
44460
|
+
VERSION_NOT_SET: 0,
|
|
44461
|
+
V0: 1
|
|
44462
|
+
};
|
|
44463
|
+
|
|
44464
|
+
/**
|
|
44465
|
+
* @return {proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.VersionCase}
|
|
44466
|
+
*/
|
|
44467
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.prototype.getVersionCase = function() {
|
|
44468
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.oneofGroups_[0]));
|
|
44469
|
+
};
|
|
44470
|
+
|
|
44471
|
+
|
|
44472
|
+
|
|
44473
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
44474
|
+
/**
|
|
44475
|
+
* Creates an object representation of this proto.
|
|
44476
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
44477
|
+
* Optional fields that are not set will be set to undefined.
|
|
44478
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
44479
|
+
* For the list of reserved names please see:
|
|
44480
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
44481
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
44482
|
+
* JSPB instance for transitional soy proto support:
|
|
44483
|
+
* http://goto/soy-param-migration
|
|
44484
|
+
* @return {!Object}
|
|
44485
|
+
*/
|
|
44486
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.prototype.toObject = function(opt_includeInstance) {
|
|
44487
|
+
return proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.toObject(opt_includeInstance, this);
|
|
44488
|
+
};
|
|
44489
|
+
|
|
44490
|
+
|
|
44491
|
+
/**
|
|
44492
|
+
* Static version of the {@see toObject} method.
|
|
44493
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
44494
|
+
* the JSPB instance for transitional soy proto support:
|
|
44495
|
+
* http://goto/soy-param-migration
|
|
44496
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse} msg The msg instance to transform.
|
|
44497
|
+
* @return {!Object}
|
|
44498
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44499
|
+
*/
|
|
44500
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.toObject = function(includeInstance, msg) {
|
|
44501
|
+
var f, obj = {
|
|
44502
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.toObject(includeInstance, f)
|
|
44503
|
+
};
|
|
44504
|
+
|
|
44505
|
+
if (includeInstance) {
|
|
44506
|
+
obj.$jspbMessageInstance = msg;
|
|
44507
|
+
}
|
|
44508
|
+
return obj;
|
|
44509
|
+
};
|
|
44510
|
+
}
|
|
44511
|
+
|
|
44512
|
+
|
|
44513
|
+
/**
|
|
44514
|
+
* Deserializes binary data (in protobuf wire format).
|
|
44515
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
44516
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse}
|
|
44517
|
+
*/
|
|
44518
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.deserializeBinary = function(bytes) {
|
|
44519
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
44520
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse;
|
|
44521
|
+
return proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.deserializeBinaryFromReader(msg, reader);
|
|
44522
|
+
};
|
|
44523
|
+
|
|
44524
|
+
|
|
44525
|
+
/**
|
|
44526
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
44527
|
+
* given reader into the given message object.
|
|
44528
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse} msg The message object to deserialize into.
|
|
44529
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
44530
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse}
|
|
44531
|
+
*/
|
|
44532
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
44533
|
+
while (reader.nextField()) {
|
|
44534
|
+
if (reader.isEndGroup()) {
|
|
44535
|
+
break;
|
|
44536
|
+
}
|
|
44537
|
+
var field = reader.getFieldNumber();
|
|
44538
|
+
switch (field) {
|
|
44539
|
+
case 1:
|
|
44540
|
+
var value = new proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0;
|
|
44541
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.deserializeBinaryFromReader);
|
|
44542
|
+
msg.setV0(value);
|
|
44543
|
+
break;
|
|
44544
|
+
default:
|
|
44545
|
+
reader.skipField();
|
|
44546
|
+
break;
|
|
44547
|
+
}
|
|
44548
|
+
}
|
|
44549
|
+
return msg;
|
|
44550
|
+
};
|
|
44551
|
+
|
|
44552
|
+
|
|
44553
|
+
/**
|
|
44554
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
44555
|
+
* @return {!Uint8Array}
|
|
44556
|
+
*/
|
|
44557
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.prototype.serializeBinary = function() {
|
|
44558
|
+
var writer = new jspb.BinaryWriter();
|
|
44559
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.serializeBinaryToWriter(this, writer);
|
|
44560
|
+
return writer.getResultBuffer();
|
|
44561
|
+
};
|
|
44562
|
+
|
|
44563
|
+
|
|
44564
|
+
/**
|
|
44565
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
44566
|
+
* format), writing to the given BinaryWriter.
|
|
44567
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse} message
|
|
44568
|
+
* @param {!jspb.BinaryWriter} writer
|
|
44569
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44570
|
+
*/
|
|
44571
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.serializeBinaryToWriter = function(message, writer) {
|
|
44572
|
+
var f = undefined;
|
|
44573
|
+
f = message.getV0();
|
|
44574
|
+
if (f != null) {
|
|
44575
|
+
writer.writeMessage(
|
|
44576
|
+
1,
|
|
44577
|
+
f,
|
|
44578
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.serializeBinaryToWriter
|
|
44579
|
+
);
|
|
44580
|
+
}
|
|
44581
|
+
};
|
|
44582
|
+
|
|
44583
|
+
|
|
44584
|
+
|
|
44585
|
+
|
|
44586
|
+
|
|
44587
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
44588
|
+
/**
|
|
44589
|
+
* Creates an object representation of this proto.
|
|
44590
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
44591
|
+
* Optional fields that are not set will be set to undefined.
|
|
44592
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
44593
|
+
* For the list of reserved names please see:
|
|
44594
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
44595
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
44596
|
+
* JSPB instance for transitional soy proto support:
|
|
44597
|
+
* http://goto/soy-param-migration
|
|
44598
|
+
* @return {!Object}
|
|
44599
|
+
*/
|
|
44600
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.prototype.toObject = function(opt_includeInstance) {
|
|
44601
|
+
return proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.toObject(opt_includeInstance, this);
|
|
44602
|
+
};
|
|
44603
|
+
|
|
44604
|
+
|
|
44605
|
+
/**
|
|
44606
|
+
* Static version of the {@see toObject} method.
|
|
44607
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
44608
|
+
* the JSPB instance for transitional soy proto support:
|
|
44609
|
+
* http://goto/soy-param-migration
|
|
44610
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0} msg The msg instance to transform.
|
|
44611
|
+
* @return {!Object}
|
|
44612
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44613
|
+
*/
|
|
44614
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.toObject = function(includeInstance, msg) {
|
|
44615
|
+
var f, obj = {
|
|
44616
|
+
proTxHash: msg.getProTxHash_asB64(),
|
|
44617
|
+
nodeIp: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
44618
|
+
isBanned: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
44619
|
+
};
|
|
44620
|
+
|
|
44621
|
+
if (includeInstance) {
|
|
44622
|
+
obj.$jspbMessageInstance = msg;
|
|
44623
|
+
}
|
|
44624
|
+
return obj;
|
|
44625
|
+
};
|
|
44626
|
+
}
|
|
44627
|
+
|
|
44628
|
+
|
|
44629
|
+
/**
|
|
44630
|
+
* Deserializes binary data (in protobuf wire format).
|
|
44631
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
44632
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0}
|
|
44633
|
+
*/
|
|
44634
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.deserializeBinary = function(bytes) {
|
|
44635
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
44636
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0;
|
|
44637
|
+
return proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.deserializeBinaryFromReader(msg, reader);
|
|
44638
|
+
};
|
|
44639
|
+
|
|
44640
|
+
|
|
44641
|
+
/**
|
|
44642
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
44643
|
+
* given reader into the given message object.
|
|
44644
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0} msg The message object to deserialize into.
|
|
44645
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
44646
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0}
|
|
44647
|
+
*/
|
|
44648
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
44649
|
+
while (reader.nextField()) {
|
|
44650
|
+
if (reader.isEndGroup()) {
|
|
44651
|
+
break;
|
|
44652
|
+
}
|
|
44653
|
+
var field = reader.getFieldNumber();
|
|
44654
|
+
switch (field) {
|
|
44655
|
+
case 1:
|
|
44656
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
44657
|
+
msg.setProTxHash(value);
|
|
44658
|
+
break;
|
|
44659
|
+
case 2:
|
|
44660
|
+
var value = /** @type {string} */ (reader.readString());
|
|
44661
|
+
msg.setNodeIp(value);
|
|
44662
|
+
break;
|
|
44663
|
+
case 3:
|
|
44664
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
44665
|
+
msg.setIsBanned(value);
|
|
44666
|
+
break;
|
|
44667
|
+
default:
|
|
44668
|
+
reader.skipField();
|
|
44669
|
+
break;
|
|
44670
|
+
}
|
|
44671
|
+
}
|
|
44672
|
+
return msg;
|
|
44673
|
+
};
|
|
44674
|
+
|
|
44675
|
+
|
|
44676
|
+
/**
|
|
44677
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
44678
|
+
* @return {!Uint8Array}
|
|
44679
|
+
*/
|
|
44680
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.prototype.serializeBinary = function() {
|
|
44681
|
+
var writer = new jspb.BinaryWriter();
|
|
44682
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.serializeBinaryToWriter(this, writer);
|
|
44683
|
+
return writer.getResultBuffer();
|
|
44684
|
+
};
|
|
44685
|
+
|
|
44686
|
+
|
|
44687
|
+
/**
|
|
44688
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
44689
|
+
* format), writing to the given BinaryWriter.
|
|
44690
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0} message
|
|
44691
|
+
* @param {!jspb.BinaryWriter} writer
|
|
44692
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44693
|
+
*/
|
|
44694
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.serializeBinaryToWriter = function(message, writer) {
|
|
44695
|
+
var f = undefined;
|
|
44696
|
+
f = message.getProTxHash_asU8();
|
|
44697
|
+
if (f.length > 0) {
|
|
44698
|
+
writer.writeBytes(
|
|
44699
|
+
1,
|
|
44700
|
+
f
|
|
44701
|
+
);
|
|
44702
|
+
}
|
|
44703
|
+
f = message.getNodeIp();
|
|
44704
|
+
if (f.length > 0) {
|
|
44705
|
+
writer.writeString(
|
|
44706
|
+
2,
|
|
44707
|
+
f
|
|
44708
|
+
);
|
|
44709
|
+
}
|
|
44710
|
+
f = message.getIsBanned();
|
|
44711
|
+
if (f) {
|
|
44712
|
+
writer.writeBool(
|
|
44713
|
+
3,
|
|
44714
|
+
f
|
|
44715
|
+
);
|
|
44716
|
+
}
|
|
44717
|
+
};
|
|
44718
|
+
|
|
44719
|
+
|
|
44720
|
+
/**
|
|
44721
|
+
* optional bytes pro_tx_hash = 1;
|
|
44722
|
+
* @return {string}
|
|
44723
|
+
*/
|
|
44724
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.prototype.getProTxHash = function() {
|
|
44725
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
44726
|
+
};
|
|
44727
|
+
|
|
44728
|
+
|
|
44729
|
+
/**
|
|
44730
|
+
* optional bytes pro_tx_hash = 1;
|
|
44731
|
+
* This is a type-conversion wrapper around `getProTxHash()`
|
|
44732
|
+
* @return {string}
|
|
44733
|
+
*/
|
|
44734
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.prototype.getProTxHash_asB64 = function() {
|
|
44735
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
44736
|
+
this.getProTxHash()));
|
|
44737
|
+
};
|
|
44738
|
+
|
|
44739
|
+
|
|
44740
|
+
/**
|
|
44741
|
+
* optional bytes pro_tx_hash = 1;
|
|
44742
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
44743
|
+
* @see http://caniuse.com/Uint8Array
|
|
44744
|
+
* This is a type-conversion wrapper around `getProTxHash()`
|
|
44745
|
+
* @return {!Uint8Array}
|
|
44746
|
+
*/
|
|
44747
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.prototype.getProTxHash_asU8 = function() {
|
|
44748
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
44749
|
+
this.getProTxHash()));
|
|
44750
|
+
};
|
|
44751
|
+
|
|
44752
|
+
|
|
44753
|
+
/**
|
|
44754
|
+
* @param {!(string|Uint8Array)} value
|
|
44755
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0} returns this
|
|
44756
|
+
*/
|
|
44757
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.prototype.setProTxHash = function(value) {
|
|
44758
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
44759
|
+
};
|
|
44760
|
+
|
|
44761
|
+
|
|
44762
|
+
/**
|
|
44763
|
+
* optional string node_ip = 2;
|
|
44764
|
+
* @return {string}
|
|
44765
|
+
*/
|
|
44766
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.prototype.getNodeIp = function() {
|
|
44767
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
44768
|
+
};
|
|
44769
|
+
|
|
44770
|
+
|
|
44771
|
+
/**
|
|
44772
|
+
* @param {string} value
|
|
44773
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0} returns this
|
|
44774
|
+
*/
|
|
44775
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.prototype.setNodeIp = function(value) {
|
|
44776
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
44777
|
+
};
|
|
44778
|
+
|
|
44779
|
+
|
|
44780
|
+
/**
|
|
44781
|
+
* optional bool is_banned = 3;
|
|
44782
|
+
* @return {boolean}
|
|
44783
|
+
*/
|
|
44784
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.prototype.getIsBanned = function() {
|
|
44785
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
44786
|
+
};
|
|
44787
|
+
|
|
44788
|
+
|
|
44789
|
+
/**
|
|
44790
|
+
* @param {boolean} value
|
|
44791
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0} returns this
|
|
44792
|
+
*/
|
|
44793
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.prototype.setIsBanned = function(value) {
|
|
44794
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
44795
|
+
};
|
|
44796
|
+
|
|
44797
|
+
|
|
44798
|
+
|
|
44799
|
+
/**
|
|
44800
|
+
* List of repeated fields within this message type.
|
|
44801
|
+
* @private {!Array<number>}
|
|
44802
|
+
* @const
|
|
44803
|
+
*/
|
|
44804
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.repeatedFields_ = [3];
|
|
44805
|
+
|
|
44806
|
+
|
|
44807
|
+
|
|
44808
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
44809
|
+
/**
|
|
44810
|
+
* Creates an object representation of this proto.
|
|
44811
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
44812
|
+
* Optional fields that are not set will be set to undefined.
|
|
44813
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
44814
|
+
* For the list of reserved names please see:
|
|
44815
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
44816
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
44817
|
+
* JSPB instance for transitional soy proto support:
|
|
44818
|
+
* http://goto/soy-param-migration
|
|
44819
|
+
* @return {!Object}
|
|
44820
|
+
*/
|
|
44821
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.prototype.toObject = function(opt_includeInstance) {
|
|
44822
|
+
return proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.toObject(opt_includeInstance, this);
|
|
44823
|
+
};
|
|
44824
|
+
|
|
44825
|
+
|
|
44826
|
+
/**
|
|
44827
|
+
* Static version of the {@see toObject} method.
|
|
44828
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
44829
|
+
* the JSPB instance for transitional soy proto support:
|
|
44830
|
+
* http://goto/soy-param-migration
|
|
44831
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0} msg The msg instance to transform.
|
|
44832
|
+
* @return {!Object}
|
|
44833
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44834
|
+
*/
|
|
44835
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.toObject = function(includeInstance, msg) {
|
|
44836
|
+
var f, obj = {
|
|
44837
|
+
quorumHash: msg.getQuorumHash_asB64(),
|
|
44838
|
+
coreHeight: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
44839
|
+
membersList: jspb.Message.toObjectList(msg.getMembersList(),
|
|
44840
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.toObject, includeInstance),
|
|
44841
|
+
thresholdPublicKey: msg.getThresholdPublicKey_asB64()
|
|
44842
|
+
};
|
|
44843
|
+
|
|
44844
|
+
if (includeInstance) {
|
|
44845
|
+
obj.$jspbMessageInstance = msg;
|
|
44846
|
+
}
|
|
44847
|
+
return obj;
|
|
44848
|
+
};
|
|
44849
|
+
}
|
|
44850
|
+
|
|
44851
|
+
|
|
44852
|
+
/**
|
|
44853
|
+
* Deserializes binary data (in protobuf wire format).
|
|
44854
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
44855
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0}
|
|
44856
|
+
*/
|
|
44857
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.deserializeBinary = function(bytes) {
|
|
44858
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
44859
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0;
|
|
44860
|
+
return proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.deserializeBinaryFromReader(msg, reader);
|
|
44861
|
+
};
|
|
44862
|
+
|
|
44863
|
+
|
|
44864
|
+
/**
|
|
44865
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
44866
|
+
* given reader into the given message object.
|
|
44867
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0} msg The message object to deserialize into.
|
|
44868
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
44869
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0}
|
|
44870
|
+
*/
|
|
44871
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
44872
|
+
while (reader.nextField()) {
|
|
44873
|
+
if (reader.isEndGroup()) {
|
|
44874
|
+
break;
|
|
44875
|
+
}
|
|
44876
|
+
var field = reader.getFieldNumber();
|
|
44877
|
+
switch (field) {
|
|
44878
|
+
case 1:
|
|
44879
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
44880
|
+
msg.setQuorumHash(value);
|
|
44881
|
+
break;
|
|
44882
|
+
case 2:
|
|
44883
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
44884
|
+
msg.setCoreHeight(value);
|
|
44885
|
+
break;
|
|
44886
|
+
case 3:
|
|
44887
|
+
var value = new proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0;
|
|
44888
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.deserializeBinaryFromReader);
|
|
44889
|
+
msg.addMembers(value);
|
|
44890
|
+
break;
|
|
44891
|
+
case 4:
|
|
44892
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
44893
|
+
msg.setThresholdPublicKey(value);
|
|
44894
|
+
break;
|
|
44895
|
+
default:
|
|
44896
|
+
reader.skipField();
|
|
44897
|
+
break;
|
|
44898
|
+
}
|
|
44899
|
+
}
|
|
44900
|
+
return msg;
|
|
44901
|
+
};
|
|
44902
|
+
|
|
44903
|
+
|
|
44904
|
+
/**
|
|
44905
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
44906
|
+
* @return {!Uint8Array}
|
|
44907
|
+
*/
|
|
44908
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.prototype.serializeBinary = function() {
|
|
44909
|
+
var writer = new jspb.BinaryWriter();
|
|
44910
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.serializeBinaryToWriter(this, writer);
|
|
44911
|
+
return writer.getResultBuffer();
|
|
44912
|
+
};
|
|
44913
|
+
|
|
44914
|
+
|
|
44915
|
+
/**
|
|
44916
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
44917
|
+
* format), writing to the given BinaryWriter.
|
|
44918
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0} message
|
|
44919
|
+
* @param {!jspb.BinaryWriter} writer
|
|
44920
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44921
|
+
*/
|
|
44922
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.serializeBinaryToWriter = function(message, writer) {
|
|
44923
|
+
var f = undefined;
|
|
44924
|
+
f = message.getQuorumHash_asU8();
|
|
44925
|
+
if (f.length > 0) {
|
|
44926
|
+
writer.writeBytes(
|
|
44927
|
+
1,
|
|
44928
|
+
f
|
|
44929
|
+
);
|
|
44930
|
+
}
|
|
44931
|
+
f = message.getCoreHeight();
|
|
44932
|
+
if (f !== 0) {
|
|
44933
|
+
writer.writeUint32(
|
|
44934
|
+
2,
|
|
44935
|
+
f
|
|
44936
|
+
);
|
|
44937
|
+
}
|
|
44938
|
+
f = message.getMembersList();
|
|
44939
|
+
if (f.length > 0) {
|
|
44940
|
+
writer.writeRepeatedMessage(
|
|
44941
|
+
3,
|
|
44942
|
+
f,
|
|
44943
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0.serializeBinaryToWriter
|
|
44944
|
+
);
|
|
44945
|
+
}
|
|
44946
|
+
f = message.getThresholdPublicKey_asU8();
|
|
44947
|
+
if (f.length > 0) {
|
|
44948
|
+
writer.writeBytes(
|
|
44949
|
+
4,
|
|
44950
|
+
f
|
|
44951
|
+
);
|
|
44952
|
+
}
|
|
44953
|
+
};
|
|
44954
|
+
|
|
44955
|
+
|
|
44956
|
+
/**
|
|
44957
|
+
* optional bytes quorum_hash = 1;
|
|
44958
|
+
* @return {string}
|
|
44959
|
+
*/
|
|
44960
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.prototype.getQuorumHash = function() {
|
|
44961
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
44962
|
+
};
|
|
44963
|
+
|
|
44964
|
+
|
|
44965
|
+
/**
|
|
44966
|
+
* optional bytes quorum_hash = 1;
|
|
44967
|
+
* This is a type-conversion wrapper around `getQuorumHash()`
|
|
44968
|
+
* @return {string}
|
|
44969
|
+
*/
|
|
44970
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.prototype.getQuorumHash_asB64 = function() {
|
|
44971
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
44972
|
+
this.getQuorumHash()));
|
|
44973
|
+
};
|
|
44974
|
+
|
|
44975
|
+
|
|
44976
|
+
/**
|
|
44977
|
+
* optional bytes quorum_hash = 1;
|
|
44978
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
44979
|
+
* @see http://caniuse.com/Uint8Array
|
|
44980
|
+
* This is a type-conversion wrapper around `getQuorumHash()`
|
|
44981
|
+
* @return {!Uint8Array}
|
|
44982
|
+
*/
|
|
44983
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.prototype.getQuorumHash_asU8 = function() {
|
|
44984
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
44985
|
+
this.getQuorumHash()));
|
|
44986
|
+
};
|
|
44987
|
+
|
|
44988
|
+
|
|
44989
|
+
/**
|
|
44990
|
+
* @param {!(string|Uint8Array)} value
|
|
44991
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0} returns this
|
|
44992
|
+
*/
|
|
44993
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.prototype.setQuorumHash = function(value) {
|
|
44994
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
44995
|
+
};
|
|
44996
|
+
|
|
44997
|
+
|
|
44998
|
+
/**
|
|
44999
|
+
* optional uint32 core_height = 2;
|
|
45000
|
+
* @return {number}
|
|
45001
|
+
*/
|
|
45002
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.prototype.getCoreHeight = function() {
|
|
45003
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
45004
|
+
};
|
|
45005
|
+
|
|
45006
|
+
|
|
45007
|
+
/**
|
|
45008
|
+
* @param {number} value
|
|
45009
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0} returns this
|
|
45010
|
+
*/
|
|
45011
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.prototype.setCoreHeight = function(value) {
|
|
45012
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
45013
|
+
};
|
|
45014
|
+
|
|
45015
|
+
|
|
45016
|
+
/**
|
|
45017
|
+
* repeated ValidatorV0 members = 3;
|
|
45018
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0>}
|
|
45019
|
+
*/
|
|
45020
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.prototype.getMembersList = function() {
|
|
45021
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0>} */ (
|
|
45022
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0, 3));
|
|
45023
|
+
};
|
|
45024
|
+
|
|
45025
|
+
|
|
45026
|
+
/**
|
|
45027
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0>} value
|
|
45028
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0} returns this
|
|
45029
|
+
*/
|
|
45030
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.prototype.setMembersList = function(value) {
|
|
45031
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
45032
|
+
};
|
|
45033
|
+
|
|
45034
|
+
|
|
45035
|
+
/**
|
|
45036
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0=} opt_value
|
|
45037
|
+
* @param {number=} opt_index
|
|
45038
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0}
|
|
45039
|
+
*/
|
|
45040
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.prototype.addMembers = function(opt_value, opt_index) {
|
|
45041
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0, opt_index);
|
|
45042
|
+
};
|
|
45043
|
+
|
|
45044
|
+
|
|
45045
|
+
/**
|
|
45046
|
+
* Clears the list making it empty but non-null.
|
|
45047
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0} returns this
|
|
45048
|
+
*/
|
|
45049
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.prototype.clearMembersList = function() {
|
|
45050
|
+
return this.setMembersList([]);
|
|
45051
|
+
};
|
|
45052
|
+
|
|
45053
|
+
|
|
45054
|
+
/**
|
|
45055
|
+
* optional bytes threshold_public_key = 4;
|
|
45056
|
+
* @return {string}
|
|
45057
|
+
*/
|
|
45058
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.prototype.getThresholdPublicKey = function() {
|
|
45059
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
45060
|
+
};
|
|
45061
|
+
|
|
45062
|
+
|
|
45063
|
+
/**
|
|
45064
|
+
* optional bytes threshold_public_key = 4;
|
|
45065
|
+
* This is a type-conversion wrapper around `getThresholdPublicKey()`
|
|
45066
|
+
* @return {string}
|
|
45067
|
+
*/
|
|
45068
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.prototype.getThresholdPublicKey_asB64 = function() {
|
|
45069
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
45070
|
+
this.getThresholdPublicKey()));
|
|
45071
|
+
};
|
|
45072
|
+
|
|
45073
|
+
|
|
45074
|
+
/**
|
|
45075
|
+
* optional bytes threshold_public_key = 4;
|
|
45076
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
45077
|
+
* @see http://caniuse.com/Uint8Array
|
|
45078
|
+
* This is a type-conversion wrapper around `getThresholdPublicKey()`
|
|
45079
|
+
* @return {!Uint8Array}
|
|
45080
|
+
*/
|
|
45081
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.prototype.getThresholdPublicKey_asU8 = function() {
|
|
45082
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
45083
|
+
this.getThresholdPublicKey()));
|
|
45084
|
+
};
|
|
45085
|
+
|
|
45086
|
+
|
|
45087
|
+
/**
|
|
45088
|
+
* @param {!(string|Uint8Array)} value
|
|
45089
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0} returns this
|
|
45090
|
+
*/
|
|
45091
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.prototype.setThresholdPublicKey = function(value) {
|
|
45092
|
+
return jspb.Message.setProto3BytesField(this, 4, value);
|
|
45093
|
+
};
|
|
45094
|
+
|
|
45095
|
+
|
|
45096
|
+
|
|
45097
|
+
/**
|
|
45098
|
+
* List of repeated fields within this message type.
|
|
45099
|
+
* @private {!Array<number>}
|
|
45100
|
+
* @const
|
|
45101
|
+
*/
|
|
45102
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.repeatedFields_ = [1,3];
|
|
45103
|
+
|
|
45104
|
+
|
|
45105
|
+
|
|
45106
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
45107
|
+
/**
|
|
45108
|
+
* Creates an object representation of this proto.
|
|
45109
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
45110
|
+
* Optional fields that are not set will be set to undefined.
|
|
45111
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
45112
|
+
* For the list of reserved names please see:
|
|
45113
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
45114
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
45115
|
+
* JSPB instance for transitional soy proto support:
|
|
45116
|
+
* http://goto/soy-param-migration
|
|
45117
|
+
* @return {!Object}
|
|
45118
|
+
*/
|
|
45119
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.toObject = function(opt_includeInstance) {
|
|
45120
|
+
return proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.toObject(opt_includeInstance, this);
|
|
45121
|
+
};
|
|
45122
|
+
|
|
45123
|
+
|
|
45124
|
+
/**
|
|
45125
|
+
* Static version of the {@see toObject} method.
|
|
45126
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
45127
|
+
* the JSPB instance for transitional soy proto support:
|
|
45128
|
+
* http://goto/soy-param-migration
|
|
45129
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0} msg The msg instance to transform.
|
|
45130
|
+
* @return {!Object}
|
|
45131
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45132
|
+
*/
|
|
45133
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.toObject = function(includeInstance, msg) {
|
|
45134
|
+
var f, obj = {
|
|
45135
|
+
quorumHashesList: msg.getQuorumHashesList_asB64(),
|
|
45136
|
+
currentQuorumHash: msg.getCurrentQuorumHash_asB64(),
|
|
45137
|
+
validatorSetsList: jspb.Message.toObjectList(msg.getValidatorSetsList(),
|
|
45138
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.toObject, includeInstance),
|
|
45139
|
+
lastBlockProposer: msg.getLastBlockProposer_asB64(),
|
|
45140
|
+
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
45141
|
+
};
|
|
45142
|
+
|
|
45143
|
+
if (includeInstance) {
|
|
45144
|
+
obj.$jspbMessageInstance = msg;
|
|
45145
|
+
}
|
|
45146
|
+
return obj;
|
|
45147
|
+
};
|
|
45148
|
+
}
|
|
45149
|
+
|
|
45150
|
+
|
|
45151
|
+
/**
|
|
45152
|
+
* Deserializes binary data (in protobuf wire format).
|
|
45153
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
45154
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0}
|
|
45155
|
+
*/
|
|
45156
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.deserializeBinary = function(bytes) {
|
|
45157
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
45158
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0;
|
|
45159
|
+
return proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.deserializeBinaryFromReader(msg, reader);
|
|
45160
|
+
};
|
|
45161
|
+
|
|
45162
|
+
|
|
45163
|
+
/**
|
|
45164
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
45165
|
+
* given reader into the given message object.
|
|
45166
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0} msg The message object to deserialize into.
|
|
45167
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
45168
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0}
|
|
45169
|
+
*/
|
|
45170
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
45171
|
+
while (reader.nextField()) {
|
|
45172
|
+
if (reader.isEndGroup()) {
|
|
45173
|
+
break;
|
|
45174
|
+
}
|
|
45175
|
+
var field = reader.getFieldNumber();
|
|
45176
|
+
switch (field) {
|
|
45177
|
+
case 1:
|
|
45178
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
45179
|
+
msg.addQuorumHashes(value);
|
|
45180
|
+
break;
|
|
45181
|
+
case 2:
|
|
45182
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
45183
|
+
msg.setCurrentQuorumHash(value);
|
|
45184
|
+
break;
|
|
45185
|
+
case 3:
|
|
45186
|
+
var value = new proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0;
|
|
45187
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.deserializeBinaryFromReader);
|
|
45188
|
+
msg.addValidatorSets(value);
|
|
45189
|
+
break;
|
|
45190
|
+
case 4:
|
|
45191
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
45192
|
+
msg.setLastBlockProposer(value);
|
|
45193
|
+
break;
|
|
45194
|
+
case 5:
|
|
45195
|
+
var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
|
|
45196
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
|
|
45197
|
+
msg.setMetadata(value);
|
|
45198
|
+
break;
|
|
45199
|
+
default:
|
|
45200
|
+
reader.skipField();
|
|
45201
|
+
break;
|
|
45202
|
+
}
|
|
45203
|
+
}
|
|
45204
|
+
return msg;
|
|
45205
|
+
};
|
|
45206
|
+
|
|
45207
|
+
|
|
45208
|
+
/**
|
|
45209
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
45210
|
+
* @return {!Uint8Array}
|
|
45211
|
+
*/
|
|
45212
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.serializeBinary = function() {
|
|
45213
|
+
var writer = new jspb.BinaryWriter();
|
|
45214
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.serializeBinaryToWriter(this, writer);
|
|
45215
|
+
return writer.getResultBuffer();
|
|
45216
|
+
};
|
|
45217
|
+
|
|
45218
|
+
|
|
45219
|
+
/**
|
|
45220
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
45221
|
+
* format), writing to the given BinaryWriter.
|
|
45222
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0} message
|
|
45223
|
+
* @param {!jspb.BinaryWriter} writer
|
|
45224
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45225
|
+
*/
|
|
45226
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.serializeBinaryToWriter = function(message, writer) {
|
|
45227
|
+
var f = undefined;
|
|
45228
|
+
f = message.getQuorumHashesList_asU8();
|
|
45229
|
+
if (f.length > 0) {
|
|
45230
|
+
writer.writeRepeatedBytes(
|
|
45231
|
+
1,
|
|
45232
|
+
f
|
|
45233
|
+
);
|
|
45234
|
+
}
|
|
45235
|
+
f = message.getCurrentQuorumHash_asU8();
|
|
45236
|
+
if (f.length > 0) {
|
|
45237
|
+
writer.writeBytes(
|
|
45238
|
+
2,
|
|
45239
|
+
f
|
|
45240
|
+
);
|
|
45241
|
+
}
|
|
45242
|
+
f = message.getValidatorSetsList();
|
|
45243
|
+
if (f.length > 0) {
|
|
45244
|
+
writer.writeRepeatedMessage(
|
|
45245
|
+
3,
|
|
45246
|
+
f,
|
|
45247
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0.serializeBinaryToWriter
|
|
45248
|
+
);
|
|
45249
|
+
}
|
|
45250
|
+
f = message.getLastBlockProposer_asU8();
|
|
45251
|
+
if (f.length > 0) {
|
|
45252
|
+
writer.writeBytes(
|
|
45253
|
+
4,
|
|
45254
|
+
f
|
|
45255
|
+
);
|
|
45256
|
+
}
|
|
45257
|
+
f = message.getMetadata();
|
|
45258
|
+
if (f != null) {
|
|
45259
|
+
writer.writeMessage(
|
|
45260
|
+
5,
|
|
45261
|
+
f,
|
|
45262
|
+
proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
|
|
45263
|
+
);
|
|
45264
|
+
}
|
|
45265
|
+
};
|
|
45266
|
+
|
|
45267
|
+
|
|
45268
|
+
/**
|
|
45269
|
+
* repeated bytes quorum_hashes = 1;
|
|
45270
|
+
* @return {!Array<string>}
|
|
45271
|
+
*/
|
|
45272
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.getQuorumHashesList = function() {
|
|
45273
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
45274
|
+
};
|
|
45275
|
+
|
|
45276
|
+
|
|
45277
|
+
/**
|
|
45278
|
+
* repeated bytes quorum_hashes = 1;
|
|
45279
|
+
* This is a type-conversion wrapper around `getQuorumHashesList()`
|
|
45280
|
+
* @return {!Array<string>}
|
|
45281
|
+
*/
|
|
45282
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.getQuorumHashesList_asB64 = function() {
|
|
45283
|
+
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
|
|
45284
|
+
this.getQuorumHashesList()));
|
|
45285
|
+
};
|
|
45286
|
+
|
|
45287
|
+
|
|
45288
|
+
/**
|
|
45289
|
+
* repeated bytes quorum_hashes = 1;
|
|
45290
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
45291
|
+
* @see http://caniuse.com/Uint8Array
|
|
45292
|
+
* This is a type-conversion wrapper around `getQuorumHashesList()`
|
|
45293
|
+
* @return {!Array<!Uint8Array>}
|
|
45294
|
+
*/
|
|
45295
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.getQuorumHashesList_asU8 = function() {
|
|
45296
|
+
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
|
|
45297
|
+
this.getQuorumHashesList()));
|
|
45298
|
+
};
|
|
45299
|
+
|
|
45300
|
+
|
|
45301
|
+
/**
|
|
45302
|
+
* @param {!(Array<!Uint8Array>|Array<string>)} value
|
|
45303
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0} returns this
|
|
45304
|
+
*/
|
|
45305
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.setQuorumHashesList = function(value) {
|
|
45306
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
45307
|
+
};
|
|
45308
|
+
|
|
45309
|
+
|
|
45310
|
+
/**
|
|
45311
|
+
* @param {!(string|Uint8Array)} value
|
|
45312
|
+
* @param {number=} opt_index
|
|
45313
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0} returns this
|
|
45314
|
+
*/
|
|
45315
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.addQuorumHashes = function(value, opt_index) {
|
|
45316
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
45317
|
+
};
|
|
45318
|
+
|
|
45319
|
+
|
|
45320
|
+
/**
|
|
45321
|
+
* Clears the list making it empty but non-null.
|
|
45322
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0} returns this
|
|
45323
|
+
*/
|
|
45324
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.clearQuorumHashesList = function() {
|
|
45325
|
+
return this.setQuorumHashesList([]);
|
|
45326
|
+
};
|
|
45327
|
+
|
|
45328
|
+
|
|
45329
|
+
/**
|
|
45330
|
+
* optional bytes current_quorum_hash = 2;
|
|
45331
|
+
* @return {string}
|
|
45332
|
+
*/
|
|
45333
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.getCurrentQuorumHash = function() {
|
|
45334
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
45335
|
+
};
|
|
45336
|
+
|
|
45337
|
+
|
|
45338
|
+
/**
|
|
45339
|
+
* optional bytes current_quorum_hash = 2;
|
|
45340
|
+
* This is a type-conversion wrapper around `getCurrentQuorumHash()`
|
|
45341
|
+
* @return {string}
|
|
45342
|
+
*/
|
|
45343
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.getCurrentQuorumHash_asB64 = function() {
|
|
45344
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
45345
|
+
this.getCurrentQuorumHash()));
|
|
45346
|
+
};
|
|
45347
|
+
|
|
45348
|
+
|
|
45349
|
+
/**
|
|
45350
|
+
* optional bytes current_quorum_hash = 2;
|
|
45351
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
45352
|
+
* @see http://caniuse.com/Uint8Array
|
|
45353
|
+
* This is a type-conversion wrapper around `getCurrentQuorumHash()`
|
|
45354
|
+
* @return {!Uint8Array}
|
|
45355
|
+
*/
|
|
45356
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.getCurrentQuorumHash_asU8 = function() {
|
|
45357
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
45358
|
+
this.getCurrentQuorumHash()));
|
|
45359
|
+
};
|
|
45360
|
+
|
|
45361
|
+
|
|
45362
|
+
/**
|
|
45363
|
+
* @param {!(string|Uint8Array)} value
|
|
45364
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0} returns this
|
|
45365
|
+
*/
|
|
45366
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.setCurrentQuorumHash = function(value) {
|
|
45367
|
+
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
45368
|
+
};
|
|
45369
|
+
|
|
45370
|
+
|
|
45371
|
+
/**
|
|
45372
|
+
* repeated ValidatorSetV0 validator_sets = 3;
|
|
45373
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0>}
|
|
45374
|
+
*/
|
|
45375
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.getValidatorSetsList = function() {
|
|
45376
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0>} */ (
|
|
45377
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0, 3));
|
|
45378
|
+
};
|
|
45379
|
+
|
|
45380
|
+
|
|
45381
|
+
/**
|
|
45382
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0>} value
|
|
45383
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0} returns this
|
|
45384
|
+
*/
|
|
45385
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.setValidatorSetsList = function(value) {
|
|
45386
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
45387
|
+
};
|
|
45388
|
+
|
|
45389
|
+
|
|
45390
|
+
/**
|
|
45391
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0=} opt_value
|
|
45392
|
+
* @param {number=} opt_index
|
|
45393
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0}
|
|
45394
|
+
*/
|
|
45395
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.addValidatorSets = function(opt_value, opt_index) {
|
|
45396
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0, opt_index);
|
|
45397
|
+
};
|
|
45398
|
+
|
|
45399
|
+
|
|
45400
|
+
/**
|
|
45401
|
+
* Clears the list making it empty but non-null.
|
|
45402
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0} returns this
|
|
45403
|
+
*/
|
|
45404
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.clearValidatorSetsList = function() {
|
|
45405
|
+
return this.setValidatorSetsList([]);
|
|
45406
|
+
};
|
|
45407
|
+
|
|
45408
|
+
|
|
45409
|
+
/**
|
|
45410
|
+
* optional bytes last_block_proposer = 4;
|
|
45411
|
+
* @return {string}
|
|
45412
|
+
*/
|
|
45413
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.getLastBlockProposer = function() {
|
|
45414
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
45415
|
+
};
|
|
45416
|
+
|
|
45417
|
+
|
|
45418
|
+
/**
|
|
45419
|
+
* optional bytes last_block_proposer = 4;
|
|
45420
|
+
* This is a type-conversion wrapper around `getLastBlockProposer()`
|
|
45421
|
+
* @return {string}
|
|
45422
|
+
*/
|
|
45423
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.getLastBlockProposer_asB64 = function() {
|
|
45424
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
45425
|
+
this.getLastBlockProposer()));
|
|
45426
|
+
};
|
|
45427
|
+
|
|
45428
|
+
|
|
45429
|
+
/**
|
|
45430
|
+
* optional bytes last_block_proposer = 4;
|
|
45431
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
45432
|
+
* @see http://caniuse.com/Uint8Array
|
|
45433
|
+
* This is a type-conversion wrapper around `getLastBlockProposer()`
|
|
45434
|
+
* @return {!Uint8Array}
|
|
45435
|
+
*/
|
|
45436
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.getLastBlockProposer_asU8 = function() {
|
|
45437
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
45438
|
+
this.getLastBlockProposer()));
|
|
45439
|
+
};
|
|
45440
|
+
|
|
45441
|
+
|
|
45442
|
+
/**
|
|
45443
|
+
* @param {!(string|Uint8Array)} value
|
|
45444
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0} returns this
|
|
45445
|
+
*/
|
|
45446
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.setLastBlockProposer = function(value) {
|
|
45447
|
+
return jspb.Message.setProto3BytesField(this, 4, value);
|
|
45448
|
+
};
|
|
45449
|
+
|
|
45450
|
+
|
|
45451
|
+
/**
|
|
45452
|
+
* optional ResponseMetadata metadata = 5;
|
|
45453
|
+
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
|
|
45454
|
+
*/
|
|
45455
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.getMetadata = function() {
|
|
45456
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
|
|
45457
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 5));
|
|
45458
|
+
};
|
|
45459
|
+
|
|
45460
|
+
|
|
45461
|
+
/**
|
|
45462
|
+
* @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
|
|
45463
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0} returns this
|
|
45464
|
+
*/
|
|
45465
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.setMetadata = function(value) {
|
|
45466
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
45467
|
+
};
|
|
45468
|
+
|
|
45469
|
+
|
|
45470
|
+
/**
|
|
45471
|
+
* Clears the message field making it undefined.
|
|
45472
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0} returns this
|
|
45473
|
+
*/
|
|
45474
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.clearMetadata = function() {
|
|
45475
|
+
return this.setMetadata(undefined);
|
|
45476
|
+
};
|
|
45477
|
+
|
|
45478
|
+
|
|
45479
|
+
/**
|
|
45480
|
+
* Returns whether this field is set.
|
|
45481
|
+
* @return {boolean}
|
|
45482
|
+
*/
|
|
45483
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0.prototype.hasMetadata = function() {
|
|
45484
|
+
return jspb.Message.getField(this, 5) != null;
|
|
45485
|
+
};
|
|
45486
|
+
|
|
45487
|
+
|
|
45488
|
+
/**
|
|
45489
|
+
* optional GetCurrentQuorumsInfoResponseV0 v0 = 1;
|
|
45490
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0}
|
|
45491
|
+
*/
|
|
45492
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.prototype.getV0 = function() {
|
|
45493
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0} */ (
|
|
45494
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0, 1));
|
|
45495
|
+
};
|
|
45496
|
+
|
|
45497
|
+
|
|
45498
|
+
/**
|
|
45499
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0|undefined} value
|
|
45500
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse} returns this
|
|
45501
|
+
*/
|
|
45502
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.prototype.setV0 = function(value) {
|
|
45503
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.oneofGroups_[0], value);
|
|
45504
|
+
};
|
|
45505
|
+
|
|
45506
|
+
|
|
45507
|
+
/**
|
|
45508
|
+
* Clears the message field making it undefined.
|
|
45509
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse} returns this
|
|
45510
|
+
*/
|
|
45511
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.prototype.clearV0 = function() {
|
|
45512
|
+
return this.setV0(undefined);
|
|
45513
|
+
};
|
|
45514
|
+
|
|
45515
|
+
|
|
45516
|
+
/**
|
|
45517
|
+
* Returns whether this field is set.
|
|
45518
|
+
* @return {boolean}
|
|
45519
|
+
*/
|
|
45520
|
+
proto.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.prototype.hasV0 = function() {
|
|
45521
|
+
return jspb.Message.getField(this, 1) != null;
|
|
45522
|
+
};
|
|
45523
|
+
|
|
45524
|
+
|
|
44171
45525
|
/**
|
|
44172
45526
|
* @enum {number}
|
|
44173
45527
|
*/
|